.tv-device #touch-controls,.tv-device .phone-note,.tv-device .keyboard-help,.tv-device .desktop-instructions,.tv-device .phone-instructions,.tv-device #fullscreen{display:none!important}
.tv-device *{backdrop-filter:none!important}
.tv-device header{inset:5vh 5vw auto}.tv-device .brand img{width:44px;height:44px}
.tv-device #intro{top:20%;left:6%;max-width:650px}.tv-device h1{font-size:76px;margin:18px 0}
.tv-device .intro-copy{font-size:18px;line-height:1.6;margin-bottom:20px}
.tv-device .primary,.tv-device .secondary{font-size:15px;min-height:52px;padding:13px 22px}
.tv-device #controller-status{font-size:17px;line-height:1.5;color:#ffdf8a;max-width:650px}
.tv-device button:focus,.tv-device select:focus,.tv-device summary:focus{outline:3px solid #ffe09a;outline-offset:4px;box-shadow:0 0 0 6px #18242b}
.tv-device .intro-features{display:none}.tv-device footer{bottom:6vh;font-size:12px}
.tv-device .mission{top:15vh;left:5vw;max-width:47vw;background:#142631e8;padding:10px 16px}
.tv-device .mission strong{font-size:17px}.tv-device .mission small{font-size:15px}.tv-device .mission>span{font-size:10px}
.tv-device .stats{top:15vh;right:5vw;gap:24px}.tv-device .stats span{font-size:11px}.tv-device .stats strong{font-size:32px}
.tv-device .map-widget{left:5vw;bottom:8vh;width:175px}.tv-device .map-widget strong{font-size:15px}.tv-device .map-widget button span{font-size:12px}
.tv-device .instruments{right:5vw;bottom:8vh}.tv-device .speed strong{font-size:65px}.tv-device #camera{font-size:12px}
.tv-device .panel{max-height:86vh;width:min(780px,88vw);padding:24px 34px;overflow:auto}
.tv-device .panel h2{font-size:38px;margin:12px 0}.tv-device .gamepad-instructions{font-size:15px!important;line-height:1.6!important}
.tv-device .quality,.tv-device #performance-status{font-size:15px}.tv-device .quality select{font-size:15px}
.tv-device #dispatch-caption{bottom:6vh;width:75vw;max-width:850px}.tv-device #dispatch-caption p{font-size:20px}.tv-device #dispatch-caption small{font-size:14px}
.tv-device #toast{font-size:17px;max-width:80vw}.tv-device #interact{font-size:18px;bottom:14vh}
.tv-device .credit{left:5vw;bottom:2vh;font-size:10px}.tv-device #world-hint{font-size:16px;bottom:6vh}
.tv-device .map-panel{max-height:90vh;overflow:auto}.tv-device .map-head h2{font-size:30px}.tv-device #full-map{height:48vh}
.tv-device #tv-help{display:block;font-size:15px;color:#ead1a1;line-height:1.55}.tv-device .vignette{opacity:.3}
#tv-help{display:none}

.tv-only{display:none}.tv-device .tv-only{display:block}

/* The TV is a display: pairing stays available without a local click. */
.tv-device #phone-pair.tv-persistent{position:absolute;inset:16vh 5vw auto auto;width:31vw;max-width:380px;padding:0;background:none;display:block;pointer-events:none}
.tv-device .tv-persistent .phone-pair-panel{width:100%;max-height:none;overflow:visible;padding:22px;background:#142631f5;border-color:#e8c06466;box-shadow:0 12px 40px #0005}
.tv-device .tv-persistent .eyebrow{justify-content:center;font-size:10px;line-height:1.5;margin:0}
.tv-device .tv-persistent h2{font-size:38px;margin:12px 0 16px}
.tv-device .tv-persistent #phone-qr{width:min(100%,32vh);padding:6px}
.tv-device .tv-persistent #phone-pair-status{font-size:16px;line-height:1.45;margin:14px 0 0;color:#ffe0a2}
.tv-device .tv-persistent .phone-pair-help{font-size:12px;line-height:1.5;margin:12px 0 0}
.tv-device .tv-persistent #phone-pair-close,.tv-device .tv-persistent #phone-new-qr,.tv-device .tv-persistent #phone-pair-link,.tv-device #phone-control,.tv-device #phone-control-pause{display:none!important}
.tv-device #intro{max-width:54vw}
.tv-device #intro .start-actions{flex-wrap:wrap}
.tv-device #intro .primary,.tv-device #intro .secondary{font-size:12px}
.tv-device #tv-help{font-size:18px;margin:22px 0 10px}
.tv-device #game[data-mode]:not([data-mode="intro"]) #phone-pair.tv-persistent{top:30vh;width:20vw;max-width:250px}
.tv-device #game[data-mode]:not([data-mode="intro"]) .tv-persistent .phone-pair-panel{padding:12px}
.tv-device #game[data-mode]:not([data-mode="intro"]) .tv-persistent h2,.tv-device #game[data-mode]:not([data-mode="intro"]) .tv-persistent .phone-pair-help,.tv-device #game[data-mode]:not([data-mode="intro"]) .tv-persistent .eyebrow{display:none}
.tv-device #game[data-mode]:not([data-mode="intro"]) .tv-persistent #phone-qr{width:min(100%,24vh)}
.tv-device #game[data-mode]:not([data-mode="intro"]) .tv-persistent #phone-pair-status{font-size:13px;margin-top:9px}
.tv-device #game[data-mode="paused"] #pause-screen,.tv-device #game[data-mode="result"] #result-screen{padding-right:29vw}
.tv-device #game[data-mode="paused"] #pause-screen .panel,.tv-device #game[data-mode="result"] #result-screen .panel{width:min(660px,64vw)}
.tv-device #game[data-controller="phone"] .gamepad-instructions{display:none!important}
.tv-device #game[data-controller="phone"] .phone-instructions{display:block!important;font-size:15px;line-height:1.55}
@media(max-height:620px){.tv-device h1{font-size:58px}.tv-device #intro{top:18%}.tv-device .intro-copy{font-size:15px;margin:12px 0}.tv-device #tv-help{font-size:15px;margin-top:14px}.tv-device #controller-status{font-size:14px}.tv-device .tv-persistent .phone-pair-panel{padding:16px}.tv-device .tv-persistent h2{font-size:29px;margin:8px 0}.tv-device .tv-persistent #phone-pair-status{font-size:14px}.tv-device .tv-persistent .phone-pair-help{font-size:10px}}
