/* Clean Retro: selected mockup 3. Functional controls overlay an original transparent frame asset. */
:root{--tv-ratio:1.76190476}
.tv-cabinet{position:relative;isolation:auto;aspect-ratio:1665 / 945;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
.tv-cabinet:before{content:'';position:absolute;inset:0;background:url('/activities/tv-quiz/clean-retro-tv-v1.png') center/100% 100% no-repeat;pointer-events:none;z-index:4}
.tv-cabinet:after{display:none!important}
.tv-controls{position:absolute;inset:0;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;pointer-events:none;z-index:5}
.tv-tuning{position:absolute;left:70.5%;top:12.3%;width:23.5%;height:16.8%;display:grid;grid-template-columns:1fr 1fr;gap:0;background:none;border:0;padding:0;pointer-events:none}
.tv-dial{position:relative;width:auto;height:auto;display:grid;place-items:center;background:none;border:0;border-radius:0;box-shadow:none}
.tv-dial:after,.tv-dial:before{display:none!important}
.tv-time,.tv-question-number{display:flex;align-items:center;justify-content:center;white-space:nowrap;font:600 clamp(17px,2.1vw,29px)/1.05 system-ui;color:#f1e5cd;text-shadow:0 1px 2px #000;letter-spacing:-.04em}
.tv-dial small{position:absolute;left:0;right:0;bottom:-32%;text-align:center;font:600 clamp(9px,.9vw,12px)/1 system-ui;letter-spacing:.06em;color:#25211b}
.tv-time #timer{display:block!important;position:static!important;min-width:0!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:inherit!important;font:inherit!important}
body[data-screen="host"][data-phase="question"],.solo-tv.question-active{background:radial-gradient(ellipse at 50% 40%,#3e3429,#171714 82%)}
body[data-screen="host"][data-phase="question"] main{max-width:none;padding:40px 16px 8px}
body[data-screen="host"][data-phase="question"] main>.brand{display:flex!important;position:absolute;top:10px;left:16px;width:auto;margin:0;padding:0;border:0;gap:7px}
body[data-screen="host"][data-phase="question"] main>.brand .brand-name{font-size:20px}body[data-screen="host"][data-phase="question"] main>.brand .brand-wave{display:none}
body[data-screen="host"][data-phase="question"] footer,body[data-screen="host"][data-phase="question"] #play-screen>.top.hero,body[data-screen="host"][data-phase="question"] #play-screen aside{display:none!important}
body[data-screen="host"][data-phase="question"] #play-screen>.grid{display:block!important;width:min(1300px,calc((100svh - 130px)*var(--tv-ratio)));max-width:100%;padding:0!important;margin:0 auto;border:0!important;background:none!important;box-shadow:none!important;position:relative}
body[data-screen="host"][data-phase="question"] #play-screen>.grid:after{display:none!important}
body[data-screen="host"][data-phase="question"] .grid>section.tv-cabinet{display:block!important;width:100%;height:auto;min-height:0;margin:0;aspect-ratio:1665/945}
body[data-screen="host"][data-phase="question"] #prompt{margin:0 auto 7px!important;max-width:1100px;padding:0 60px;text-align:center;font-size:clamp(18px,1.7vw,25px)!important;line-height:1.2;color:#ece7dc;font-weight:600}
body[data-screen="host"][data-phase="question"] #video-wrap{position:absolute!important;left:8.8%;top:10.4%;width:57.5%!important;height:69.4%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;aspect-ratio:auto;border:0!important;border-radius:12% / 11%!important;box-shadow:none!important;margin:0!important;background:#030503;z-index:1;overflow:hidden}
body[data-screen="host"][data-phase="question"] #host-options{position:absolute;left:70.6%;top:37.4%;width:23.3%;height:44.8%;display:grid!important;grid-template-columns:1fr!important;grid-template-rows:repeat(4,minmax(0,1fr));gap:8px;padding:0!important;margin:0!important;max-width:none!important;background:none!important;border:0!important;box-shadow:none!important}
body[data-screen="host"][data-phase="question"] #host-options .option{display:flex;align-items:center;justify-content:center;min-height:0;padding:6px 9px;border:2px solid #ffffff35;border-radius:9px;font-size:clamp(15px,1.45vw,22px);line-height:1.12;text-align:center;box-shadow:inset 0 2px 3px #fff4,inset 0 -3px 5px #0004,0 2px 3px #0009;overflow-wrap:anywhere}
body[data-screen="host"][data-phase="question"] #host-options .letter{display:none}
body[data-screen="host"][data-phase="question"] .tv-cabinet>.top,body[data-screen="host"][data-phase="question"] #progress,body[data-screen="host"][data-phase="question"] #connection,body[data-screen="host"][data-phase="question"] #preview{display:none!important}
body[data-screen="host"][data-phase="question"] #status{margin:2px auto 0!important;text-align:center;color:#c6bdac;font-size:11px}
body[data-screen="host"][data-phase="question"] .player-settings{position:static!important;max-width:900px;margin:3px auto 0!important;padding:0!important;font-size:11px;color:#b6ad9e;background:none!important;text-align:center}
body[data-screen="host"][data-phase="question"] .cover-settings{display:none}
body[data-screen="host"][data-phase="question"] .tv-cabinet>#next,body[data-screen="host"][data-phase="question"] .tv-cabinet>#new-quiz{display:none!important}
body[data-screen="host"][data-phase="question"] .player-settings:not([open])>:not(summary){display:none!important}
body[data-screen="host"][data-phase="question"] #error:empty{display:none!important}
body[data-screen="host"][data-phase="question"] #video-note{position:absolute;left:10%;right:33%;bottom:6%;font-size:11px;text-align:center;z-index:5;color:#f6e4b7}
.solo-tv.question-active main{max-width:none;padding:40px 16px 8px}
.solo-tv.question-active h1{font-size:clamp(18px,1.7vw,25px)!important;font-weight:600;line-height:1.2;margin:0 auto 7px!important;padding:0 50px;color:#ece7dc}
.solo-tv.question-active .tv-cabinet{display:block;order:1;width:min(1300px,calc((100svh - 185px)*var(--tv-ratio)));max-width:100%;height:auto;margin:0 auto;aspect-ratio:1665/945;align-self:center}
.solo-tv .tv-screen{position:absolute;left:8.8%;top:10.4%;width:57.5%;height:69.4%;background:none;border:0;box-shadow:none;padding:0;z-index:0}
.solo-tv.question-active .tv-screen .video-slot{position:relative;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;margin:0;border:0;border-radius:12% / 11%;visibility:hidden}
.solo-tv .persistent-video{border:0!important;border-radius:12% / 11%!important;overflow:hidden;background:#030503}
.solo-tv.question-active .tv-controls>.choices{position:absolute;left:70.6%;top:37.4%;width:23.3%;height:44.8%;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(4,minmax(0,1fr));gap:8px;padding:0;margin:0;min-width:0}
.solo-tv.question-active .tv-controls .choices button{min-height:0;padding:6px 9px;font-size:clamp(15px,1.45vw,22px);line-height:1.12;border:2px solid #ffffff35;border-radius:9px;text-align:center;pointer-events:auto;box-shadow:inset 0 2px 3px #fff4,inset 0 -3px 5px #0004,0 2px 3px #0009;overflow-wrap:anywhere}
.solo-tv.question-active .stats{order:8;margin:3px auto 0;width:min(1100px,90%);justify-content:center;font-size:12px;min-height:18px}.solo-tv.question-active .stats>span:first-child,.solo-tv.question-active .mobile-progress>span:first-child,.solo-tv.question-active .mobile-timer{display:none}
.solo-tv.question-active #skip-clip{order:3;margin:3px auto;padding:6px 12px;font-size:11px;min-height:29px}
.solo-tv.question-active #sound-enable{position:relative;z-index:7}
@media(max-width:900px){.tv-time,.tv-question-number{font-size:clamp(13px,2vw,22px)}.tv-dial small{font-size:clamp(7px,.85vw,10px)}body[data-screen="host"][data-phase="question"] #host-options .option,.solo-tv.question-active .tv-controls .choices button{font-size:clamp(12px,1.6vw,18px);padding:5px 7px}body[data-screen="host"][data-phase="question"] #host-options,.solo-tv.question-active .tv-controls>.choices{gap:5px}}
@media(max-width:600px){.solo-tv.question-active main{padding:38px 8px 8px}.solo-tv.question-active h1{font-size:15px!important;padding:0 16px;margin-bottom:6px!important}.solo-tv.question-active .tv-cabinet{width:100%;max-width:100%;height:auto}.tv-time,.tv-question-number{font-size:clamp(9px,2.65vw,15px)}.tv-dial small{font-size:clamp(5px,1.45vw,8px);bottom:-30%}.solo-tv.question-active #app>.choices{order:2;display:grid;grid-template-columns:1fr 1fr;width:100%;margin:2px auto 0;gap:7px}.solo-tv.question-active #app>.choices button{font-size:13px!important;min-height:58px;padding:8px;line-height:1.15;border-radius:8px}.solo-tv.question-active .mobile-progress{justify-content:center;margin:3px auto 0}.solo-tv.question-active .stats{display:none}.solo-tv.question-active #skip-clip{margin-top:7px}body[data-screen="host"][data-phase="question"] #prompt{padding:0 12px;font-size:17px!important}body[data-screen="host"][data-phase="question"] #host-options .option{font-size:11px;padding:3px;line-height:1.1;border-radius:5px}body[data-screen="host"][data-phase="question"] #host-options{gap:3px}}

/* Fill the available height; typography follows the TV rather than the browser width. */
.tv-cabinet{container-type:inline-size}
body[data-screen="host"][data-phase="question"] main{padding-top:29px}
body[data-screen="host"][data-phase="question"] #prompt{font-size:clamp(17px,1.5vw,23px)!important;margin-bottom:3px!important}
body[data-screen="host"][data-phase="question"] #play-screen>.grid{width:min(1800px,calc((100svh - 92px)*var(--tv-ratio)))}
.solo-tv.question-active main{padding-top:29px;padding-bottom:2px}
.solo-tv.question-active h1{font-size:clamp(17px,1.5vw,23px)!important;margin-bottom:3px!important}
.solo-tv.question-active .tv-cabinet{width:min(1800px,calc((100svh - 85px)*var(--tv-ratio)))}
.tv-time,.tv-question-number{font-size:clamp(10px,2.05cqw,29px);font-weight:600}
.tv-dial small{font-size:clamp(7px,.85cqw,12px)}
body[data-screen="host"][data-phase="question"] #host-options .option,.solo-tv.question-active .tv-controls .choices button{font-size:clamp(11px,1.8cqw,25px);line-height:1.08;padding:3px 7px;white-space:normal;overflow-wrap:anywhere;word-break:normal;overflow:hidden;text-wrap:pretty;min-width:0;min-height:0}
body[data-screen="host"][data-phase="question"] #host-options,.solo-tv.question-active .tv-controls>.choices{gap:clamp(4px,.55cqw,9px)}
.solo-tv.question-active .stats{margin-top:0;min-height:16px}
.solo-tv.question-active #sound-enable{order:3;display:block;margin:3px auto;min-height:28px;padding:6px 12px;font-size:12px;align-self:center}
.solo-tv.question-active #app:has(#sound-enable) .tv-cabinet{width:min(1800px,calc((100svh - 115px)*var(--tv-ratio)))}
@media(max-width:600px){.solo-tv.question-active main{padding-top:37px}.solo-tv.question-active h1{font-size:15px!important}.solo-tv.question-active .tv-cabinet{width:100%}.tv-time,.tv-question-number{font-size:clamp(9px,2.2cqw,14px)}.tv-dial small{font-size:clamp(5px,1.3cqw,8px)}.solo-tv.question-active #app>.choices button{overflow-wrap:anywhere;overflow:hidden}.solo-tv.question-active .mobile-progress{margin-top:5px}}

/* Crop the unused feet from the existing frame; keep the screen and controls aligned. */
:root{--tv-ratio:1.972748815}
.tv-cabinet,body[data-screen="host"][data-phase="question"] .grid>section.tv-cabinet,.solo-tv.question-active .tv-cabinet{aspect-ratio:1665/844;overflow:hidden}
.tv-cabinet:before{bottom:auto;height:111.9668246%}
.tv-tuning{top:13.7719194%;height:18.8104265%}
.solo-tv .tv-screen{top:11.6445498%;height:77.7052133%}
body[data-screen="host"][data-phase="question"] #video-wrap{top:11.6445498%;height:77.7052133%!important}
body[data-screen="host"][data-phase="question"] #host-options,.solo-tv.question-active .tv-controls>.choices{top:41.8755924%;height:50.1611374%}
body[data-screen="host"][data-phase="question"] main,.solo-tv.question-active main{padding-top:18px}
body[data-screen="host"][data-phase="question"] #prompt,.solo-tv.question-active h1{font-size:clamp(17px,1.4vw,21px)!important;line-height:1.15;margin-bottom:3px!important}
body[data-screen="host"][data-phase="question"] #play-screen>.grid{width:min(2200px,calc((100svh - 47px)*var(--tv-ratio)))}
.solo-tv.question-active .tv-cabinet{width:min(2200px,calc((100svh - 61px)*var(--tv-ratio)))}
.solo-tv.question-active #app:has(#sound-enable) .tv-cabinet{width:min(2200px,calc((100svh - 94px)*var(--tv-ratio)))}
body[data-screen="host"][data-phase="question"] #video-note:empty{display:none}
body[data-screen="host"][data-phase="question"] #title-cover,.solo-tv .persistent-video .title-cover{height:30%;background:#171b16;color:#f1e5cd;font-weight:800;letter-spacing:0;pointer-events:none}
body[data-screen="host"][data-phase="question"] #title-cover span{color:#ce47ef}
@media(max-width:600px){.solo-tv.question-active main{padding-top:37px}.solo-tv.question-active h1{font-size:15px!important}.solo-tv.question-active .tv-cabinet,.solo-tv.question-active #app:has(#sound-enable) .tv-cabinet{width:100%}}
