/* 只覆盖真实电视模式；不用新版尺寸函数、Grid或gap作为布局条件。 */
html.force-tv body { height:100vh; overflow:hidden; background:#1d4fa3; }
html.force-tv body .tv-shell { display:block; position:relative; width:100%; height:100vh; min-height:0; overflow:hidden; background:#1d4fa3; color:#fff; }
html.force-tv body .tv-wrap { display:block; position:absolute; top:2.5vh; right:2vw; bottom:17vh; left:2vw; padding:0; margin:0; min-height:0; }
html.force-tv body .tv-left { display:block; position:absolute; top:0; bottom:0; left:0; width:32%; padding:0; margin:0; background:#fff; border-radius:16px; box-shadow:none; text-align:center; }
html.force-tv body .tv-logo { position:absolute; top:5%; left:50%; width:42%; height:auto; max-width:170px; max-height:100px; object-fit:contain; transform:translateX(-50%); }
html.force-tv body .tv-qr-title { position:absolute; top:24%; left:0; width:100%; margin:0; color:#153c7b; font-size:22px; font-size:2.2vw; line-height:1.35; }
html.force-tv body .tv-qr { position:absolute; top:35%; left:14%; width:72%; height:auto; max-width:none; border:0; border-radius:0; box-shadow:none; }
html.force-tv body .tv-qr-help { position:absolute; right:7%; bottom:4%; left:7%; margin:0; color:#607087; font-size:13px; font-size:1.25vw; line-height:1.5; text-align:center; }
html.force-tv body .tv-right { display:block; position:absolute; top:0; right:0; bottom:0; width:65%; min-height:0; }
html.force-tv body .tv-now { display:block; position:absolute; top:0; right:0; left:0; height:55%; min-height:0; text-align:center; }
html.force-tv body .tv-hint { position:absolute; top:0; left:0; width:100%; margin:0; color:#fff; font-size:22px; font-size:2.2vw; line-height:1.35; letter-spacing:2px; }
html.force-tv body .tv-number { display:block; position:absolute; top:13%; left:0; width:100%; height:65%; margin:0; padding:0; color:#fff; font-size:140px; font-size:14.5vw; font-weight:700; line-height:1.05; letter-spacing:0; text-shadow:none; white-space:normal; word-wrap:break-word; overflow-wrap:break-word; word-break:break-all; overflow-x:hidden; overflow-y:auto; }
html.force-tv body .tv-called-list { display:block; position:absolute; top:79%; left:0; width:100%; height:11%; max-height:none; margin:0; overflow:auto; text-align:center; }
html.force-tv body .tv-called-pill { display:inline-block; margin:0 4px 4px; padding:3px 8px; border:1px solid rgba(255,255,255,.5); border-radius:6px; font-size:13px; font-size:1.1vw; line-height:1.35; }
html.force-tv body .tv-waiting { position:absolute; right:0; bottom:0; left:0; margin:0; font-size:16px; font-size:1.5vw; line-height:1.3; color:#fff; }
html.force-tv body .tv-queue { display:block; position:absolute; top:59%; right:0; bottom:0; left:0; height:auto; min-height:0; padding:12px 16px; background:#fff; color:#14243b; border:1px solid #fff; border-radius:16px; }
html.force-tv body .tv-queue-head { display:block; margin:0 0 8px; color:#153c7b; font-size:16px; font-size:1.4vw; line-height:1.35; letter-spacing:0; }
html.force-tv body .tv-queue-head span:last-child { float:right; margin-left:10px; color:#607087; font-size:12px; font-size:1vw; line-height:1.6; }
html.force-tv body .tv-queue-list { display:block; position:absolute; top:42px; right:16px; bottom:10px; left:16px; margin:0; overflow:auto; }
html.force-tv body .tv-queue-columns { display:block; width:100%; }
html.force-tv body .tv-queue-columns:after { content:""; display:block; clear:both; }
html.force-tv body .tv-queue-group { float:left; width:31%; min-width:0; margin-right:3.5%; }
html.force-tv body .tv-queue-group:last-child { margin-right:0; }
html.force-tv body .tv-queue-group h3 { margin:0 0 5px; font-size:14px; font-size:1.15vw; line-height:1.4; color:#1d4fa3; }
html.force-tv body .tv-queue-group .tv-queue-row { display:block; margin:0; padding:6px 0; font-size:16px; font-size:1.4vw; line-height:1.4; border-top:1px solid #d8e2f0; background:transparent; border-radius:0; }
html.force-tv body .tv-queue-group .tv-queue-num { display:inline-block; width:72%; min-width:0; color:#1d4fa3; font-weight:700; letter-spacing:0; word-wrap:break-word; word-break:break-all; vertical-align:top; }
html.force-tv body .tv-queue-group .tv-queue-party { display:inline-block; width:26%; margin:0; color:#607087; font-size:13px; font-size:1vw; text-align:right; vertical-align:top; }
html.force-tv body .tv-footer { display:block; position:absolute; right:2vw; bottom:1vh; left:2vw; height:14vh; min-height:68px; padding:0; margin:0; border-top:1px solid rgba(255,255,255,.25); color:#fff; font-size:13px; font-size:1.15vw; line-height:1.4; }
html.force-tv body #tvNoticeText, html.force-tv body #tvPassRule { position:absolute; top:8%; height:39%; width:48%; margin:0; overflow:auto; white-space:normal; word-wrap:break-word; word-break:break-all; color:#fff; }
html.force-tv body #tvNoticeText { left:0; }
html.force-tv body #tvPassRule { right:0; }
html.force-tv body .tv-spacer { display:none; }
html.force-tv body #tvClock { position:absolute; left:0; top:59%; width:9%; line-height:1.5; }
html.force-tv body #tvVoiceStatus { display:block; position:absolute; left:11%; top:56%; width:67%; height:42%; max-width:none; margin:0; padding-right:10px; color:#fff; font-size:12px; font-size:1.05vw; line-height:1.45; overflow:auto; white-space:normal; word-wrap:break-word; }
html.force-tv body #tvGestureHint { display:block; position:absolute; top:54%; right:0; width:20%; min-height:30px; margin:0; padding:6px 8px; color:#fff; background:transparent; border:1px solid rgba(255,255,255,.6); border-radius:8px; font-size:13px; font-size:1.1vw; line-height:1.35; cursor:pointer; text-align:center; }
@media (max-width:1100px) {
  html.force-tv body .tv-qr-help, html.force-tv body .tv-called-pill, html.force-tv body .tv-queue-group h3, html.force-tv body .tv-queue-group .tv-queue-party, html.force-tv body .tv-footer { font-size:13px; }
  html.force-tv body .tv-queue-head span:last-child, html.force-tv body #tvVoiceStatus { font-size:12px; }
  html.force-tv body #tvGestureHint { font-size:13px; }
}
