@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Russo+One&display=swap');
:root{color-scheme:dark;--ink:#f4f1ff;--muted:#bcb4d5;--lime:#d9f46b;--purple:#a882ef}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:Nunito,system-ui,sans-serif;background:#14132e url('/media/trick-v1/background.webp') center/cover fixed;min-height:100dvh}body:before{content:'';position:fixed;inset:0;background:linear-gradient(90deg,#11112980,#11112930,#11112980);z-index:-1}header{padding:20px 4vw;display:flex;gap:20px;align-items:center;border-bottom:1px solid #ffffff12;background:#12122d80}header a{font-family:'Russo One',sans-serif;font-size:24px;color:var(--lime);text-decoration:none}.edition{font-size:10px;font-weight:900;letter-spacing:2px;color:#c6bddb}#connection{margin-left:auto;font-size:12px;color:#f0c57d}main{max-width:1240px;margin:auto;padding:18px 28px 30px}.show-intro{text-align:center;margin:10px 0 30px}.eyebrow{font-size:11px;font-weight:900;letter-spacing:2px;color:var(--lime);margin:0 0 10px}h1{font-family:'Russo One',sans-serif;font-size:clamp(32px,5vw,62px);font-weight:400;line-height:1.15;margin:0}h1 em{font-style:normal;color:var(--lime)}.lead{font-size:16px;color:var(--muted);margin:12px 0}.show-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(360px,1.2fr);gap:30px;align-items:start}.host{position:sticky;top:24px}.host-stage{position:relative;overflow:hidden;border-radius:22px;border:1px solid #b394ea66;box-shadow:0 16px 50px #0006;aspect-ratio:752/416;background:#221d3e}.host video{width:100%;height:100%;object-fit:cover;display:block}.on-air{position:absolute;left:12px;top:12px;background:#141229c9;color:var(--lime);padding:6px 10px;border-radius:20px;font-size:9px;letter-spacing:1px;font-weight:900}.host-bubble{background:#2b2246ed;border:1px solid #8f73b95c;border-radius:0 18px 18px 18px;padding:18px 20px;margin:18px 0 0;position:relative}.host-bubble:before{content:'';position:absolute;top:-12px;left:24px;border-right:14px solid transparent;border-bottom:13px solid #2b2246}.host-bubble b{color:#d4b5ff;font-size:13px}.host-bubble p{font-size:18px;font-weight:800;line-height:1.4;margin:8px 0 0}.aside-note{font-size:12px;color:var(--muted);line-height:1.5;padding:0 14px}.game-panel{min-height:390px;background:#19182deb;border:1px solid #9f87c73b;border-radius:26px;padding:28px;box-shadow:0 18px 50px #0003;backdrop-filter:blur(10px)}h2{font-size:clamp(23px,3vw,32px);line-height:1.3;margin:0 0 16px;font-weight:900}.muted{color:var(--muted);line-height:1.6;font-size:15px}.error{color:#ffb3b3;margin:0 0 16px;white-space:pre-wrap}.error:empty{display:none}label{display:block;font-size:13px;font-weight:800;color:#cfc3e8;margin:16px 0 8px}input{width:100%;padding:14px 16px;border:1px solid #8d75b76b;background:#0e1028;color:white;border-radius:12px;font:inherit;font-size:17px;min-width:0}input:focus{outline:2px solid var(--purple);outline-offset:2px}button{font:inherit;font-size:15px;font-weight:900;background:var(--lime);color:#222634;padding:14px 20px;min-height:46px;border:1px solid transparent;border-radius:12px;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #b8abff;outline-offset:3px}button:disabled{opacity:.55;cursor:wait}form>button,#create,#ready,#again{margin-top:14px;width:100%}.secondary{background:#56416e66;border-color:#a28bc95e;color:#eee7fa}.ghost{background:transparent;border-color:#a28bc945;color:#cfc3e8}.small{padding:8px 12px;font-size:12px;min-height:36px}.inline{display:flex;gap:8px}.inline button{width:auto;margin:0;flex:none}.divider{text-align:center;color:var(--muted);font-size:12px;margin:18px 0}.rules{display:flex;flex-wrap:wrap;gap:12px;border-top:1px solid #ffffff15;margin-top:24px;padding-top:18px;color:#b8afce;font-size:12px}.room-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-bottom:1px solid #ffffff15;padding-bottom:16px;margin-bottom:20px}.room-top>div{flex:1}.room-top .eyebrow{display:block;margin-bottom:3px;font-size:9px}#code{font-size:21px;letter-spacing:3px}.round-meta{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;margin-bottom:20px}#clock{font-variant-numeric:tabular-nums}#solo{width:100%;margin-top:10px}.players{display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid #ffffff15;margin-top:24px;padding-top:16px}.player{border:1px solid #8d75b73b;background:#28223c;padding:7px 10px;border-radius:10px;font-size:12px}.player.offline{opacity:.5}.player.done{border-color:#c5e96766}.player.mine{box-shadow:inset 0 0 0 1px #bd9ae8}.back-link{display:inline-block;color:#c9b4ed;font-size:12px;margin-top:18px;text-decoration:none}.right-answer{border-left:3px solid var(--lime);padding:8px 12px;background:#c5e9670c;font-size:16px}.review-card{padding:16px;margin:10px 0;background:#2d2443;border:1px solid #a28bc93b;border-radius:15px}.review-card.current{border-color:#b9a0dd;box-shadow:0 0 25px #af8bdd12}.review-card.correct{border-left:4px solid var(--lime)}.review-card.wrong{border-left:4px solid #efa6bf}.review-card.skip{border-left:4px solid #90879f}.review-card b{font-size:17px}.review-card p{margin:8px 0;line-height:1.5}.review-card .submitted{color:#c8bbdc;font-size:14px;overflow-wrap:anywhere}.review-card .quip{font-weight:800}.result-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #ffffff15}.result-row strong{font-size:30px;color:var(--lime)}.result-row small{display:block;font-size:11px;color:var(--muted)}#invite-link{font-size:12px;overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}footer{text-align:center;font-size:12px;color:#aaa0be;margin:30px auto 0;max-width:700px;line-height:1.6}footer a,#nickname-form a{color:#d0b7f4}#nickname-form a{display:block;font-size:13px;margin-top:12px;text-align:center}
@media(max-width:760px){header{padding:14px 18px;gap:12px}header a{font-size:21px}.edition{font-size:8px;letter-spacing:1px}main{padding:16px}.show-intro{margin:8px 0 20px}.lead{font-size:14px;line-height:1.5}.show-layout{display:flex;flex-direction:column;gap:18px}.host{position:static;width:100%;display:grid;grid-template-columns:120px 1fr;gap:10px;align-items:center}.host-stage{aspect-ratio:1;border-radius:16px}.host video{object-fit:cover;object-position:center}.on-air{font-size:7px;padding:4px 6px;top:6px;left:6px;letter-spacing:0}.host-bubble{margin:0;padding:12px;border-radius:14px}.host-bubble:before{display:none}.host-bubble b{font-size:11px}.host-bubble p{font-size:14px;margin-top:4px}.aside-note{grid-column:1/-1;padding:0;margin:0;font-size:10px}.game-panel{width:100%;padding:20px;border-radius:20px;min-height:0}.rules{gap:10px;font-size:10px}.room-top{gap:5px}.room-top .small{font-size:11px;padding:7px 9px}h2{font-size:24px}.review-card{padding:12px}body{background-position:center;background-attachment:scroll}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.tv-view header,.tv-view footer,.tv-view .edition,.tv-view .aside-note,.tv-view #watch-link,.tv-view #leave,.tv-view #invite{display:none!important}.tv-view main{max-width:none;padding:2vh 4vw}.tv-view .show-intro{margin:0 0 2vh}.tv-view .show-intro h1{font-size:4vh}.tv-view .show-intro .eyebrow,.tv-view .show-intro .lead{display:none}.tv-view .show-layout{grid-template-columns:35% 1fr;gap:3vw}.tv-view .game-panel{max-height:65vh;overflow:auto;padding:3vh}.tv-view h2{font-size:3.7vh}.tv-view .host-bubble p{font-size:2.6vh}.tv-view .muted,.tv-view .review-card p{font-size:2.2vh}.tv-view .review-card b{font-size:2.7vh}.tv-view .player{font-size:1.7vh}.tv-view .room-top{margin-bottom:1vh;padding-bottom:1vh}.tv-view .round-meta{font-size:2vh}.tv-view .host{top:0}

.voice-control{margin-left:auto;white-space:nowrap}.voice-control[aria-pressed="false"]{opacity:.8}.voice-control.needs-gesture{outline:2px solid #ffcf73;outline-offset:2px}
@media(min-width:761px){
header #connection:empty{display:none}
body:not(.tv-view) main{max-width:none;width:100%;padding:18px clamp(24px,3vw,64px) 28px}
body:not(.tv-view) .show-intro{margin:4px 0 20px}
body:not(.tv-view) .show-layout{grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:clamp(20px,2.2vw,36px)}
body:not(.tv-view) .game-panel{min-width:0;padding:clamp(24px,2.2vw,40px);min-height:clamp(430px,calc(100dvh - 250px),760px)}
body:not(.tv-view) #question-text{font-size:clamp(30px,2.4vw,46px);line-height:1.3}
body:not(.tv-view) .host-bubble p{font-size:clamp(18px,1.4vw,25px)}
body:not(.tv-view) #answer{font-size:21px;min-height:58px}
body:not(.tv-view) #answer-button{font-size:18px;min-height:56px}
body:not(.tv-view) .review-card .quip{font-size:19px}
}
@media(max-width:760px){header{flex-wrap:wrap}header .voice-control{font-size:12px}header #connection{flex-basis:100%;text-align:right}header #connection:empty{display:none}}
