:root{font-family:Inter,system-ui,Arial,sans-serif;font-synthesis:none;color:#f7f7ff;background:#090c28}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 50% 0,#233678,#0c1237 45%,#050714 100%);min-height:100vh}button,input{font:inherit}button{cursor:pointer;font-weight:850;border:0;transition:filter .12s,transform .12s}button:active:not(:disabled){transform:scale(.98)}button:hover:not(:disabled){filter:brightness(1.16)}button:disabled{opacity:.27;cursor:not-allowed}button.primary{background:#f7c55a;color:#171732;border-radius:10px;padding:15px 22px;letter-spacing:.035em}button.secondary{background:#34488c;color:white;border:1px solid #879af8;border-radius:10px;padding:13px}button.large{font-size:1.2rem}.site{margin:auto;padding:20px;max-width:1500px}.television{min-height:100vh}.phone-shell{max-width:670px;margin:auto}.brand{font-weight:1000;font-size:clamp(1.5rem,3vw,3.5rem);letter-spacing:.07em;text-align:center;text-shadow:0 3px 15px #02031d}.brand>span:not(.brandstar){color:#ffd56e}.brandstar{font-size:.6em;color:#f6ca67}.topline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.topline .brand{font-size:clamp(1.3rem,2.8vw,2.7rem)}.code,.pill{background:#293d86;border:1px solid #748cf5;padding:8px 14px;border-radius:60px;font-weight:800}.pill{display:inline-block;font-size:.9rem}.intro{text-align:center;padding:clamp(5vh,10vw,14vh) 0 1rem}.intro .brand{font-size:clamp(2.7rem,7vw,6.7rem)}.intro>p{font-size:1.25rem;color:#becbe8}.panel{background:#111b4aee;border:1px solid #6678c7;border-radius:16px;padding:22px;margin:20px 0;box-shadow:0 14px 34px #0007}.intro-card{max-width:640px;margin:40px auto}.intro-card p,.panel p{line-height:1.5;color:#c6d3f2}.headline{font-size:clamp(2rem,4vw,4rem)}.lobby{text-align:center}.qr-layout{display:flex;justify-content:center;align-items:center;gap:25px;flex-wrap:wrap;margin:26px auto}.qr{width:220px;height:220px;background:#fff;border:8px solid #fff;border-radius:12px}.shortcode{font-size:3.4rem;letter-spacing:.18em;font-weight:900;color:#f9d176}.tinyurl{overflow-wrap:anywhere;max-width:400px;margin:10px 0;color:#bfe9ff}.controls{display:flex;gap:14px;align-items:center;justify-content:center;flex-wrap:wrap;margin:14px}.switch{display:flex;align-items:center;gap:8px;cursor:pointer}.switch input{width:18px;height:18px;accent-color:#facd67}.scoreboard{display:flex;justify-content:center;gap:15px;margin:20px auto 25px;flex-wrap:wrap}.score{background:linear-gradient(135deg,#203582,#131d56);border:2px solid #5c75b7;border-radius:12px;min-width:190px;padding:12px 27px;text-align:center}.score.onturn{border-color:#ffd566;box-shadow:0 0 20px #ffcf6a60}.score-name{display:block;font-weight:850;letter-spacing:.02em}.score strong{display:block;font-family:Georgia,serif;font-size:clamp(1.5rem,2.7vw,2.7rem);margin:5px;color:#f6d16b}.score small{font-size:.7rem;letter-spacing:.07em;color:#8895b2}.score small.connected{color:#78edbb}.round-label{text-align:center;letter-spacing:.2em;font-weight:800;margin:12px 0 20px;color:#e3ebff}.game-board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;max-width:1360px;margin:0 auto}.category-cell,.value-cell{display:flex;align-items:center;justify-content:center;text-align:center;min-width:0;border:2px solid #617ce8;background:#102b9c;box-shadow:inset 0 0 30px #08105577;border-radius:4px}.category-cell{min-height:88px;padding:6px;font-size:clamp(.6rem,1.5vw,1.25rem);font-weight:950;text-shadow:1px 2px #0008}.value-cell{min-height:clamp(70px,9.5vw,130px);font-family:Georgia,serif;font-weight:bold;font-size:clamp(1.25rem,3.5vw,3.2rem);color:#ffce51;text-shadow:2px 2px #000;white-space:nowrap}.value-cell.spent{background:#080f45;border-color:#182c73;box-shadow:none}.clue-frame{min-height:45vh;background:linear-gradient(140deg,#1237b9,#101a70);border:3px solid #8aa8ff;border-radius:12px;margin:25px auto;padding:clamp(22px,5vw,80px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;text-align:center}.clue-frame h1{font-family:Georgia,serif;font-size:clamp(1.6rem,4vw,4rem);line-height:1.25;margin:0;max-width:1250px}.eyebrow{color:#fbd37b;letter-spacing:.12em;font-weight:900;text-transform:uppercase}.statusline{font-size:clamp(1.1rem,2vw,1.8rem);font-weight:850;text-align:center;margin:22px;background:#1c306f;border-radius:12px;padding:20px}.statusline.active{background:#126b5d}.statusline.wrong,.wrong{color:#ff9a9d}.timer{color:#ffdb70;font-weight:950}.result-panel,.final-card{background:linear-gradient(140deg,#132f9c,#0c155b);min-height:50vh;padding:clamp(30px,5vw,80px);border:2px solid #7797f8;border-radius:12px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;gap:5px;margin:20px auto}.result-panel h1,.final-card h1{font-size:clamp(2rem,5vw,4rem);color:#ffde80;margin:15px}.result-panel h2,.final-card h2{font-size:clamp(1.2rem,2.3vw,2.4rem)}.result-caption,.final-title{font-weight:950;letter-spacing:.2em;color:#99b8f9}.celebration h1{font-size:clamp(2.4rem,6vw,6rem)}.final-scores{font-size:clamp(1.3rem,3vw,3rem)}.final-scores p{margin:7px}.final-scores b{color:#ffdb79}.mobile{padding:14px}.mobile-head{display:flex;flex-direction:column;gap:10px;text-align:center}.mobile .brand{font-size:1.6rem}.phone-shell>h2{text-align:center}.phone-clue{background:#152c8b;border:2px solid #7e9efe;border-radius:12px;text-align:center;padding:17px;margin:15px 0}.phone-clue h2{font-size:1.25rem;line-height:1.4}.phone-shell .panel{margin:15px 0}.mobile .game-board{gap:3px}.mobile .category-cell{min-height:59px;padding:2px;font-size:clamp(.42rem,2.2vw,.7rem);line-height:1.1;overflow-wrap:anywhere}.mobile .value-cell{min-height:60px;font-size:clamp(.8rem,3.4vw,1.4rem);padding:1px}.buzzer{display:block;width:min(73vw,320px);height:min(73vw,320px);border-radius:50%;font-size:clamp(2rem,9vw,3.5rem);font-weight:1000;color:#fff;margin:22px auto;background:radial-gradient(circle at 30% 22%,#ff8c7b,#ec263b 65%,#9e0018);border:10px solid #f9ada4;box-shadow:0 13px #750915,0 22px 36px #000b;text-shadow:0 2px 4px #000a}.buzzer:disabled{filter:grayscale(1)}.center{text-align:center}.phone-shell label{display:block;font-weight:850;margin:12px 0}.input{display:block;width:100%;border-radius:8px;padding:14px;background:#fff;color:#0e173b;border:2px solid #9babee;font-size:1.15rem;margin:10px 0}.phone-shell .primary{width:100%;margin-top:12px}.answerbox{padding:8px}.answer-controls{display:flex;gap:10px;align-items:stretch}.answer-controls button{flex:1}.answer-controls .primary{margin-top:0}.hint{font-size:.8rem;color:#b3c5f0;line-height:1.5}.success{color:#78efbd!important}.errorbanner{background:#86304c;color:white;padding:12px 15px;border-radius:8px;margin-bottom:14px;display:flex;justify-content:space-between;align-items:center}.errorbanner button{background:transparent;color:#fff;font-size:1.6rem}.qr-layout button{background:#354983;color:white;padding:12px;border-radius:8px}@media(min-width:900px){.television .clue-frame{min-height:54vh}}@media(max-width:550px){.mobile{padding:9px}.phone-shell .panel{padding:15px}.score{min-width:130px;padding:7px}.answer-controls{flex-wrap:wrap}.answer-controls button{min-width:45%;font-size:.86rem}.mobile .category-cell{font-size:.52rem}}

/* TV full-screen & viewport-fit mode (also works when the TV browser does not support native fullscreen). */
.tv-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.tv-fullscreen-button{background:#18265d;color:#fff;border:1px solid #96a9ff;border-radius:9px;padding:10px 14px;font-size:clamp(.76rem,1vw,1rem);letter-spacing:.04em;white-space:nowrap}
.tv-fullscreen-button:focus-visible{outline:3px solid #ffd871;outline-offset:3px}
.intro-fullscreen{display:flex;justify-content:center;margin:22px 0}
.wager-curtain .wager-icon{font-size:clamp(1.7rem,4.5vw,4.8rem);color:#ffe084;font-weight:950;text-shadow:0 4px 8px #050b3d}
.wager-curtain p{font-size:clamp(1.1rem,2vw,1.7rem);margin:20px 0 0;color:#d9e5ff}
.tv-fit,.tv-fit body{overflow:hidden;height:100%;}
.tv-fit .television{width:100%;max-width:none;height:100dvh;min-height:0;overflow:auto;padding:clamp(6px,1vh,13px) clamp(8px,1vw,22px)}
.tv-fit .television:has(.game-board){display:flex;flex-direction:column;overflow:hidden}
.tv-fit .topline{flex-shrink:0;min-height:42px}
.tv-fit .brand{font-size:clamp(1rem,2.5vw,2.2rem)}
.tv-fit .tv-toolbar .code{font-size:clamp(.65rem,1.15vw,.9rem);padding:5px 11px}
.tv-fit .tv-fullscreen-button{font-size:clamp(.7rem,1vw,.9rem);padding:6px 10px}
.tv-fit .scoreboard{flex-shrink:0;margin:clamp(2px,.55vh,8px) auto;gap:clamp(4px,1vw,10px)}
.tv-fit .score{min-width:min(22vw,220px);padding:5px 10px;border-width:1px}
.tv-fit .score strong{font-size:clamp(1.1rem,2.8vh,2rem);margin:1px 0}
.tv-fit .score small{font-size:clamp(.55rem,1.15vh,.75rem)}
.tv-fit .round-label{flex-shrink:0;margin:clamp(1px,.5vh,6px) 0;font-size:clamp(.7rem,1.6vh,1.1rem)}
.tv-fit .game-board{flex:1;min-height:0;max-height:none;width:100%;max-width:none;grid-template-rows:minmax(0,1.07fr) repeat(5,minmax(0,1fr));gap:clamp(2px,.5vh,6px)}
.tv-fit .category-cell,.tv-fit .value-cell{min-height:0;border-width:clamp(1px,.2vw,2px);line-height:1.08}
.tv-fit .category-cell{font-size:clamp(.63rem,1.36vw,1.45rem)}
.tv-fit .value-cell{font-size:clamp(1rem,3.35vw,3rem)}
.tv-fit .clue-frame{min-height:min(62vh,600px);margin:clamp(6px,1vh,16px) auto;padding:clamp(18px,4vw,55px)}
.tv-fit .statusline{margin:8px 0;padding:clamp(8px,2vh,18px)}
.tv-fit .final-card,.tv-fit .result-panel{min-height:60vh;margin:clamp(6px,1vh,16px) auto}
@media(max-height:540px){.tv-fit .score{padding:2px 8px}.tv-fit .score-name{font-size:.75rem}.tv-fit .score small{display:none}.tv-fit .topline{min-height:32px}.tv-fit .category-cell{font-size:clamp(.55rem,1.6vw,.95rem)}}
