:root{font-family:ui-sans-serif,system-ui,sans-serif;color:#25213f;background:#f7f6fb;--purple:#6240c7;--line:#e4e0ef;--muted:#6c6682}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px max(24px,calc((100vw - 1180px)/2));background:#fff;border-bottom:1px solid var(--line)}header a{display:flex;align-items:baseline;gap:8px;font-weight:650;font-size:22px;text-decoration:none;color:#25213f;white-space:nowrap}header strong{display:inline-block;font-family:ui-rounded,'Arial Rounded MT Bold',system-ui,sans-serif;letter-spacing:-2px;font-weight:950;color:var(--purple);font-size:38px;transform:rotate(-7deg)}header>span{font-size:12px;color:var(--muted);background:#f5f2fb;padding:8px 12px;border-radius:30px}main{max-width:1180px;margin:0 auto;padding:40px 24px 64px}h1,h2,p{margin-top:0}h1{font-size:clamp(34px,5vw,64px);line-height:1.08;letter-spacing:-2.4px;margin-bottom:24px;font-weight:850}h2{font-size:26px;letter-spacing:-.7px;margin-bottom:10px}p{line-height:1.6}em{font-style:normal;color:var(--purple)}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.8px;color:var(--muted);margin-bottom:20px}.intro{font-size:19px;color:var(--muted);line-height:1.65}.muted,small{color:var(--muted);font-size:13px}.welcome{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:70px;padding:28px 0 58px}.welcome h1{font-size:clamp(40px,5.8vw,72px)}button,.button{display:inline-flex;justify-content:center;align-items:center;gap:16px;background:var(--purple);color:#fff;border:0;border-bottom:4px solid #43268e;border-radius:12px;padding:14px 22px;font:inherit;font-size:15px;font-weight:750;cursor:pointer;text-decoration:none;transition:transform .12s,background .12s}button:hover,.button:hover{background:#5230b4;transform:translateY(-2px)}button:active,.button:active{transform:translateY(1px)}button:disabled{cursor:default;transform:none}.secondary{background:#f4f1fc;color:#50349c;border-color:#ded4f4}.secondary:hover{background:#eae3f8}.join-card{position:relative;padding:36px;background:#ede6ff;border:1px solid #ded3fb;border-radius:24px;box-shadow:0 8px 0 #e3d9f7;overflow:hidden}.join-card h2{font-size:29px;max-width:270px}.join-card>p:not(.eyebrow){font-size:14px;color:#655982}.card-icon{display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:900;width:64px;height:64px;background:#d9c9ff;color:#5734b2;border-radius:18px;transform:rotate(8deg);margin-bottom:24px}.join-card .card-icon{position:absolute;right:26px;top:26px}.join-card .eyebrow{padding-right:65px;color:#60439d}label{display:block;font-size:13px;font-weight:650}input{display:block;width:100%;min-width:0;padding:14px 16px;border:1px solid #d5cee6;border-radius:10px;font:inherit;font-size:16px;background:#fff;color:#25213f;margin:8px 0 20px}input:focus{outline:3px solid #bea7fa;outline-offset:2px}.join-card input{text-align:center;font-size:28px;letter-spacing:7px;font-weight:800;height:70px}.join-card button,.name-card button{width:100%}.join-card small{display:block;text-align:center;margin-top:16px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 24px;scroll-margin-top:24px}.section-heading .eyebrow{margin-bottom:8px}.pill{display:inline-flex;border:1px solid #e0daed;border-radius:24px;padding:8px 14px;background:#fff;font-size:12px;font-weight:650;white-space:nowrap}.creator{background:#fff;border:1px solid var(--line);border-radius:22px;padding:30px}.creator-heading{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:24px}.creator-heading p{color:var(--muted);font-size:14px}.step-badge{background:#f2edf9;border-radius:14px;display:grid;place-items:center;width:54px;height:54px;color:#715b9c;font-weight:800;flex-shrink:0}fieldset{margin:28px 0;border:1px solid var(--line);border-radius:16px;background:#fcfbfe;padding:24px;min-width:0}legend{font-size:12px;font-weight:800;letter-spacing:.4px;padding:0 8px;color:#685786}.editor-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.editor-choice{display:flex;align-items:center;gap:10px;background:#f3f0fb;border-radius:10px;padding:10px}.editor-choice input[type=text]{margin:0;padding:10px;background:white}.editor-choice input[type=radio]{flex-shrink:0;width:20px;height:20px;margin:0;accent-color:var(--purple)}.editor-choice .answer-letter{flex-shrink:0;font-size:12px;width:26px;height:26px;background:#ded5f2;color:#58447b}.editor-choice:nth-child(2){background:#eef2ff}.editor-choice:nth-child(3){background:#fff2e9}.editor-choice:nth-child(4){background:#e9f5ef}fieldset>.muted{margin:14px 0 0}.actions{display:flex;gap:12px;flex-wrap:wrap}.editor-actions{justify-content:space-between}.game-top{display:flex;align-items:center;gap:20px;justify-content:space-between;color:var(--muted);font-size:13px;margin-bottom:34px}.game-top>span:nth-child(2){overflow-wrap:anywhere}.room-label{white-space:nowrap}.lobby-title{text-align:center}.lobby-title h1{font-size:48px}.room-card{background:#fff;border:1px solid var(--line);border-radius:22px;text-align:center;max-width:700px;margin:32px auto;padding:30px;box-shadow:0 6px 0 #e4dcf3}.room-card>.eyebrow{margin-bottom:4px}.code{font-size:clamp(48px,8vw,92px);line-height:1.2;letter-spacing:12px;font-weight:850;margin:12px 0 18px;color:#5033a3;font-variant-numeric:tabular-nums}.room-card>p{overflow-wrap:anywhere}.share-row{display:flex;gap:10px;align-items:center}.share-row input{margin:0;font-size:13px}.share-row button{white-space:nowrap}.players-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;margin-top:40px}.players-card h2{font-size:22px}.player-chips{display:flex;flex-wrap:wrap;gap:12px}.player-chips>span{border-radius:12px;padding:12px 20px;background:#f0eafa;border-bottom:3px solid #dacfec;font-weight:750}.player-chips>span:nth-child(3n+2){background:#e9f3ee;border-color:#cde0d5}.player-chips>span:nth-child(3n){background:#fff1e5;border-color:#ead8c8}.waiting{text-align:center;color:#544375;font-weight:600}.name-card,.finish-card{max-width:540px;margin:32px auto;background:white;border:1px solid var(--line);padding:40px;border-radius:24px;text-align:center;box-shadow:0 6px 0 #e4dcf3}.name-card .card-icon,.finish-card .card-icon{margin:0 auto 28px}.name-card h1,.finish-card h1{font-size:44px}.name-card p{color:var(--muted)}.name-card label{text-align:left}.question-stage{background:#fff;border:1px solid var(--line);border-radius:22px;padding:38px;text-align:center;min-height:230px;display:flex;flex-direction:column;justify-content:center}.question-stage h1{font-size:clamp(28px,4vw,50px);margin-bottom:0;overflow-wrap:anywhere}.question-stage .eyebrow{margin-bottom:20px}.answer-progress{display:flex;gap:16px;align-items:center;margin:24px 0;font-size:13px;font-weight:650;color:#65587c}progress{flex:1;min-width:30px;height:10px;border:0;border-radius:20px;overflow:hidden;background:#e5deef;accent-color:var(--purple)}progress::-webkit-progress-bar{background:#e5deef}progress::-webkit-progress-value{background:var(--purple);border-radius:20px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0 32px}.choice{display:flex;align-items:center;justify-content:flex-start;gap:20px;padding:26px;text-align:left;font-size:clamp(19px,2.5vw,28px);font-weight:750;min-height:130px;color:white;border:3px solid transparent;border-bottom-width:7px;border-radius:16px;overflow-wrap:anywhere}.choice:nth-child(4n+1){background:#a73158;border-bottom-color:#7f2041}.choice:nth-child(4n+2){background:#315bb8;border-bottom-color:#244188}.choice:nth-child(4n+3){background:#926010;border-bottom-color:#68430a}.choice:nth-child(4n+4){background:#217356;border-bottom-color:#174f3b}.answer-letter{display:inline-grid;place-items:center;flex-shrink:0;width:42px;height:42px;background:#ffffff24;border-radius:10px;font-size:20px;font-weight:800}.answer-text{min-width:0}.choice small{display:block;color:white;font-size:13px;margin-top:8px;font-weight:600}.choice.correct{outline:3px solid #25213f;outline-offset:4px}.choice.selected .answer-letter{background:#fff;color:#25213f}.choice:disabled{opacity:1}.round-actions{justify-content:space-between}.finish-card .button{margin-top:12px}body[data-screen=lobby],body[data-screen=join],body[data-screen=finished]{background:#f1ecfa}body[data-screen=question],body[data-screen=reveal]{background:#f0edf7}#error{color:#a52840;padding:0 24px;max-width:1180px;margin:16px auto;line-height:1.6}#error:empty{display:none}a{color:var(--purple)}button:focus-visible,a:focus-visible{outline:3px solid #9d75ed;outline-offset:5px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(min-width:1600px){body[data-screen=question] main,body[data-screen=reveal] main{max-width:1440px}.question-stage{min-height:320px}.choice{min-height:170px}}@media(max-width:750px){.welcome{grid-template-columns:1fr;gap:30px;padding-top:12px}.welcome h1{font-size:52px}.welcome>div{max-width:480px}.join-card{padding:28px}.section-heading{align-items:flex-start;flex-wrap:wrap}.creator{padding:20px}.editor-choices{grid-template-columns:1fr}.game-top{flex-wrap:wrap;gap:12px}.game-top>span:nth-child(2){order:3;width:100%}.room-label{margin-left:auto}.question-stage{padding:24px;min-height:190px}.choices{gap:12px}.choice{padding:18px 12px;gap:12px;font-size:20px}.answer-letter{width:30px;height:30px;font-size:15px}.answer-progress{gap:10px;font-size:11px}.room-card{padding:22px}.share-row{flex-wrap:wrap}.share-row button{width:100%}.name-card,.finish-card{padding:28px}.lobby-title h1{font-size:38px}}@media(max-width:440px){header{padding:16px 20px}header>span{font-size:10px;max-width:110px;text-align:center}main{padding:28px 18px 48px}.choices{grid-template-columns:1fr}.choice{min-height:82px}.editor-actions button{width:100%}fieldset{padding:16px}.join-card h2{max-width:200px;font-size:25px}.join-card .card-icon{width:48px;height:48px;font-size:25px;right:18px}.question-stage h1{letter-spacing:-1px}.room-card .code{letter-spacing:8px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}button,.button{transition:none}}
@media(max-width:440px){header{flex-wrap:wrap}}
body[data-screen=code]{background:#482294;min-height:100svh;position:relative;isolation:isolate}
body[data-screen=code]::before,body[data-screen=code]::after{content:"";position:fixed;z-index:-1;pointer-events:none;background:#ffffff05}
body[data-screen=code]::before{width:70vmin;height:70vmin;border-radius:50%;left:-25vmin;top:-25vmin}
body[data-screen=code]::after{width:75vmin;height:75vmin;right:-30vmin;bottom:-35vmin;transform:rotate(25deg)}
body[data-screen=code]>header{display:none}
body[data-screen=code] main{display:grid;place-items:center;max-width:none;min-height:100svh;padding:64px 24px 100px;position:relative;overflow:hidden}
.join-center{width:min(100%,320px);text-align:center}
.join-brand{display:flex;flex-direction:column;align-items:center;color:white;margin:0 0 30px;line-height:1.05;letter-spacing:-1px}
.join-brand span{font-size:25px;font-weight:650;letter-spacing:-.7px}
.join-brand strong{font-family:ui-rounded,'Arial Rounded MT Bold',system-ui,sans-serif;font-size:78px;font-weight:950;letter-spacing:-5px;transform:rotate(-6deg);display:block;margin-top:0;text-shadow:0 4px 0 #301564}
.code-entry{width:100%;background:white;border-radius:5px;padding:16px;box-shadow:0 3px 0 #32166e;text-align:center}
.code-entry input{width:100%;text-align:center;font-size:23px;font-weight:750;letter-spacing:1px;height:52px;margin:0 0 10px;border:2px solid #d3d3d3;border-radius:4px;color:#333}
.code-entry input::placeholder{color:#707070;opacity:1}
.code-entry button{width:100%;height:50px;background:#303030;border-bottom:4px solid #171717;border-radius:4px;font-size:20px;padding:8px 16px}
.code-entry button:hover{background:#202020;transform:none}
.code-entry button:focus-visible{outline-color:#ba9aff}
.join-hint{font-size:13px;color:#eee5ff;margin:22px 0 0;line-height:1.5}
.join-footer{position:absolute;bottom:24px;left:24px;right:24px;text-align:center;color:#eee5ff;font-size:12px;line-height:1.5}
.join-footer span{margin:0 8px}
.play-schoolday-login{display:inline-flex;align-items:center;justify-content:center;gap:10px;color:#fff;text-decoration:none;font-size:14px;font-weight:650;border:1px solid #ffffff70;border-radius:6px;padding:12px 16px;margin-top:26px;background:#ffffff0a}.play-schoolday-login:hover{background:#ffffff1c}.play-schoolday-login:focus-visible{outline:3px solid #d6c0ff;outline-offset:4px}
body[data-screen=code] #error:not(:empty){position:fixed;bottom:60px;left:20px;right:20px;background:white;border-radius:6px;padding:12px 16px;max-width:360px}
@media(max-height:520px){body[data-screen=code] main{padding-top:24px;padding-bottom:72px}.join-brand strong{font-size:56px}.join-brand{margin-bottom:20px}.join-hint{margin-top:14px}}
@font-face{font-family:'Fredoka';font-style:normal;font-weight:700;font-display:swap;src:url('./fredoka-bold.ttf') format('truetype')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url('./manrope-latin-600.woff2') format('woff2')}
/* Shared product identity: approved parent logo, upright playful product name. */
header a,.join-brand span,.host-small-brand,.student-waiting-brand{font-family:'Manrope',sans-serif;font-weight:600;letter-spacing:-.045em}
.host-small-brand b,.student-waiting-brand b{font-weight:700;letter-spacing:normal}
header strong,.join-brand strong{font-family:'Fredoka',ui-rounded,system-ui,sans-serif;font-weight:700;letter-spacing:-.035em}
body[data-screen=lobby][data-player=host]{background:#482294;color:#fff;min-height:100svh;isolation:isolate}
body[data-screen=lobby][data-player=host]::before,body[data-screen=lobby][data-player=host]::after{content:"";position:fixed;pointer-events:none;z-index:-1;background:#ffffff05}
body[data-screen=lobby][data-player=host]::before{width:100vmin;height:100vmin;left:-30vmin;top:-45vmin;border-radius:50%}
body[data-screen=lobby][data-player=host]::after{width:100vmin;height:100vmin;right:-30vmin;bottom:-50vmin;transform:rotate(25deg)}
body[data-screen=lobby][data-player=host]>header{display:none}
body[data-screen=lobby][data-player=host] main{max-width:none;padding:0}
.host-lobby{min-height:100svh}
.host-toolbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;min-height:60px;padding:8px 24px;background:#160c2ccc}
.host-quiz-title{font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.host-small-brand{font-size:15px;white-space:nowrap}.host-small-brand b{font-family:'Fredoka',ui-rounded,system-ui,sans-serif;font-size:27px;margin-left:4px}
.host-tools{display:flex;justify-content:flex-end;align-items:center;gap:20px;font-weight:750;font-size:18px}.participant-label{font-size:12px;font-weight:500}
.host-tools button{background:transparent;border:0;padding:4px 8px;font-size:28px;border-radius:4px}
.host-join-row{display:flex;justify-content:center;padding:24px}
.host-pin-banner{display:grid;grid-template-columns:1fr 1.1fr;width:min(100%,800px);background:#fff;color:#303030;border-radius:5px;box-shadow:0 4px 0 #0002;overflow:hidden}
.host-join-instructions{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;padding:18px 24px;border-right:4px solid #715299;font-size:20px;min-width:0}
.host-join-instructions strong{font-size:clamp(17px,2vw,24px);overflow-wrap:anywhere;max-width:100%}
.host-join-instructions button{color:#53318e;background:transparent;border:0;border-radius:3px;padding:4px 0;font-size:13px;text-decoration:underline}
.host-pin{display:flex;flex-direction:column;justify-content:center;padding:12px 24px;min-width:0}.host-pin>span{font-size:22px;font-weight:750}.host-pin>strong{font-size:clamp(40px,6vw,80px);font-weight:900;line-height:1.15;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-2px}
.host-lobby-center{position:relative;display:flex;justify-content:center;align-items:center;margin:38px 32px 0;min-height:125px}
.host-lobby-center .join-brand{margin:0}.host-start{position:absolute;right:0;top:16px;min-width:130px;background:white;color:#25213f;border:5px solid #251039;border-radius:8px;padding:12px 26px;font-size:17px}.host-start:hover{background:#eee5ff}
.host-participants{display:flex;justify-content:center;align-items:center;min-height:36svh;padding:40px 24px}
.host-waiting-label{font-size:clamp(23px,3vw,38px);line-height:1.3;margin:0;text-align:center;background:#351271a8;border-radius:5px;padding:8px 14px}
.host-name-list{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;max-width:1200px}.host-name-list>span{font-size:clamp(20px,2.5vw,30px);font-weight:750;padding:10px 22px;background:#351271a8;border-radius:5px;overflow-wrap:anywhere;max-width:100%}
body[data-screen=lobby][data-player=host] #error:not(:empty){background:white;border-radius:5px;padding:12px 20px;margin:16px 24px}
@media(max-width:650px){.host-toolbar{padding:10px 16px;grid-template-columns:1fr auto;gap:12px}.host-quiz-title{display:none}.host-small-brand{font-size:12px}.host-tools{gap:8px}.participant-label{font-size:10px}.host-join-row{padding:20px 16px}.host-pin-banner{grid-template-columns:1fr}.host-join-instructions{padding:14px 20px;border-right:0;border-bottom:3px solid #715299;font-size:16px}.host-pin{padding:14px 20px}.host-pin>strong{font-size:58px}.host-pin>span{font-size:18px}.host-lobby-center{margin:16px;flex-direction:column;gap:24px}.host-start{position:static}.host-lobby-center .join-brand strong{font-size:64px}.host-participants{min-height:180px;padding:24px 16px}}
/* Student-only pre-game lobby: the classroom display remains unchanged. */
body[data-screen=lobby][data-player=student]{background:#482294;color:#fff;min-height:100svh;isolation:isolate}
body[data-screen=lobby][data-player=student]::before,body[data-screen=lobby][data-player=student]::after{content:"";position:fixed;pointer-events:none;z-index:-1;background:#ffffff05}
body[data-screen=lobby][data-player=student]::before{width:90vmin;height:90vmin;border-radius:50%;left:-30vmin;top:-40vmin}
body[data-screen=lobby][data-player=student]::after{width:90vmin;height:90vmin;right:-30vmin;bottom:-40vmin;transform:rotate(25deg)}
body[data-screen=lobby][data-player=student]>header{display:none}
body[data-screen=lobby][data-player=student] main{max-width:none;padding:0;min-height:100svh}
.student-waiting{min-height:100svh;display:flex;flex-direction:column}
.student-waiting-message{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 24px 100px}
.student-waiting-message h1{font-size:clamp(40px,4vw,52px);letter-spacing:-1px;margin:0 0 28px;text-shadow:0 3px 0 #0003}
.student-waiting-message p{font-size:clamp(19px,2.2vw,28px);font-weight:750;margin:0 0 12px;line-height:1.4;text-shadow:0 2px 0 #0003}
.student-waiting-message>span{font-size:15px;color:#eee5ff}
.student-waiting-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:66px;padding:14px 20px max(14px,env(safe-area-inset-bottom));background:#35146d80}
.student-waiting-bar>strong{font-size:18px;overflow-wrap:anywhere;min-width:0}
.student-waiting-brand{font-size:13px;white-space:nowrap;color:#eee5ff}
.student-waiting-brand b{font-family:'Fredoka',ui-rounded,system-ui,sans-serif;font-size:22px;margin-left:4px}
body[data-screen=lobby][data-player=student] #error:not(:empty){position:fixed;bottom:76px;left:16px;right:16px;max-width:600px;background:#fff;color:#a52840;border-radius:6px;padding:12px 16px}
.join-brand{flex-direction:row;align-items:baseline;justify-content:center;gap:.22em;font-size:clamp(32px,8vw,40px);line-height:1.15;margin-bottom:32px;white-space:nowrap}
.join-brand span{display:block;width:auto;height:auto;background:none;color:inherit;font-family:'Manrope',sans-serif;font-weight:600;font-size:1em;letter-spacing:-.045em}
.join-brand strong,.host-lobby-center .join-brand strong{font-size:1em;line-height:inherit;letter-spacing:-.025em;transform:none;text-shadow:none;margin:0}
.host-lobby-center .join-brand{font-size:clamp(32px,5vw,56px)}
header a,.host-small-brand,.student-waiting-brand{display:inline-flex;align-items:baseline;gap:.22em;line-height:1.2}
header strong,.host-small-brand b,.student-waiting-brand b{font-family:'Fredoka',ui-rounded,system-ui,sans-serif;font-size:1em;font-weight:700;letter-spacing:-.025em;line-height:inherit;transform:none;text-shadow:none;margin:0}
@media(max-height:520px){.join-brand{margin-bottom:22px}}
.host-toolbar .host-small-brand{font-size:28px}
.host-participant-count{display:inline-flex;align-items:center;gap:8px;font-variant-numeric:tabular-nums}
.plump-users-icon{display:inline-block;width:24px;height:24px;background:currentColor;mask:url('./plump-users.svg') center/contain no-repeat;-webkit-mask:url('./plump-users.svg') center/contain no-repeat}
.host-join-row{gap:16px;align-items:stretch}
.host-qr{display:flex;align-items:center;justify-content:center;flex:0 0 160px;background:white;border-radius:5px;align-self:center;width:160px;height:160px}
.host-qr svg{display:block;width:100%;height:100%}
.host-qr{border-radius:20px;padding:8px;overflow:hidden;box-shadow:0 4px 0 #0002}
.host-pin-banner{border-radius:20px;box-shadow:0 4px 0 #0002}
.host-join-instructions{gap:8px;border-right:1px solid #e8e2f1;padding:20px 24px}
.host-join-label{font-size:22px;font-weight:750;letter-spacing:normal;text-transform:none;color:#303030}
.host-join-url{font-family:'Manrope',sans-serif;font-size:clamp(18px,1.8vw,24px);font-weight:600;letter-spacing:-.04em;text-decoration:none;color:#25213f;overflow-wrap:anywhere;line-height:1.35}
.host-join-url span{color:#6240c7}
.host-join-url:hover{text-decoration:underline;text-underline-offset:4px}
.host-join-help{font-size:12px;color:#756887;line-height:1.4}
.host-join-instructions button{padding:7px 11px;margin-top:3px;border-radius:7px;background:#f1ecfa;color:#53318e;font-size:12px;text-decoration:none}
.host-join-instructions button:hover{background:#e7ddf7;transform:none}
.host-join-instructions #copy{width:44px;height:44px;padding:11px;flex-shrink:0}
@media(max-width:650px){.host-join-instructions{border-right:0;border-bottom:1px solid #e8e2f1}}
@media(max-width:650px){.host-join-row{flex-wrap:wrap}.host-qr{flex-basis:144px;width:144px;height:144px}.host-toolbar .host-small-brand{font-size:20px}}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:200 800;font-display:swap;src:url('./bricolage-grotesque.ttf') format('truetype')}
header strong,.join-brand strong,.host-small-brand b,.student-waiting-brand b{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-optical-sizing:auto;letter-spacing:-.035em}
.host-pin-banner{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
.host-join-instructions{display:grid;grid-template-columns:minmax(0,1fr) 44px;column-gap:12px;row-gap:8px;align-content:center;align-items:center}
.host-join-label{grid-column:1/-1}
.host-join-url{display:block;min-width:0;width:100%;white-space:nowrap;overflow-wrap:normal;font-size:32px;line-height:1.3}
.host-join-instructions #copy{margin:0;grid-column:2;grid-row:2}
@media(max-width:800px){.host-pin-banner{grid-template-columns:minmax(0,1fr)}.host-join-instructions{border-right:0;border-bottom:1px solid #e8e2f1}}
@media(max-width:650px){.host-join-label{font-size:18px}}
body[data-screen=join]{background:#482294;color:white;min-height:100svh;position:relative;isolation:isolate}
body[data-screen=join]>header{display:none}
body[data-screen=join]::before,body[data-screen=join]::after{content:"";position:fixed;pointer-events:none;z-index:-1;background:#ffffff05}
body[data-screen=join]::before{width:70vmin;height:70vmin;border-radius:50%;left:-25vmin;top:-25vmin}
body[data-screen=join]::after{width:75vmin;height:75vmin;right:-30vmin;bottom:-35vmin;transform:rotate(25deg)}
body[data-screen=join] main{display:grid;place-items:center;max-width:none;min-height:100svh;padding:64px 24px 100px}
.name-entry .code-entry label{color:#303030;font-size:18px;font-weight:750;letter-spacing:normal;margin:2px 0 14px}
.name-entry .code-entry input{font-size:20px;letter-spacing:normal}
.name-room{font-size:13px;color:#eee5ff;margin:12px 0 0;line-height:1.5}
body[data-screen=join] #error:not(:empty){position:fixed;bottom:20px;left:20px;right:20px;background:white;border-radius:6px;padding:12px 16px;max-width:360px}
body[data-screen=create] main{max-width:1600px;padding:24px}
body[data-screen=create] .pe-shell{background:transparent;box-shadow:none;border:0;border-radius:0;margin:0;padding:0}
body[data-screen=create] .play-editor button{transform:none;border-bottom-width:1px}
body[data-screen=create] .play-editor input{margin:0}
.pe-standalone-note{font-size:12px;color:#746b87;margin:0 0 14px;line-height:1.5}
.play-icon{display:inline-block;flex-shrink:0;width:20px;height:20px;vertical-align:middle;background:currentColor;mask:var(--play-icon) center/contain no-repeat;-webkit-mask:var(--play-icon) center/contain no-repeat}
.icon-check-circle{--play-icon:url('./plump-check-circle.svg')}.icon-chevron-right{--play-icon:url('./plump-chevron-right.svg')}.icon-log-out{--play-icon:url('./plump-log-out.svg')}.icon-check{--play-icon:url('./plump-check.svg')}.icon-monitor{--play-icon:url('./plump-monitor.svg')}
.choice small .play-icon{width:14px;height:14px;margin-right:5px}
.answer-instruction{font-size:16px;font-weight:700;margin:18px 0 0;color:#6240c7}.choice.selected{box-shadow:inset 0 0 0 3px #fff}.choice[aria-pressed=true] .answer-letter{background:#fff;color:#25213f}
.icon-log-out{--play-icon:url('./plump-log-out-solid.png')}
/* Keep the live round in the same full-screen Play shell as the lobby. */
body:is([data-screen=preview],[data-screen=question],[data-screen=reveal],[data-screen=finished]){background:#482294;color:#fff;min-height:100svh;isolation:isolate}
body:is([data-screen=preview],[data-screen=question],[data-screen=reveal],[data-screen=finished])::before,body:is([data-screen=preview],[data-screen=question],[data-screen=reveal],[data-screen=finished])::after{content:"";position:fixed;pointer-events:none;z-index:-1;background:#ffffff05}
body:is([data-screen=preview],[data-screen=question],[data-screen=reveal],[data-screen=finished])::before{width:90vmin;height:90vmin;border-radius:50%;left:-30vmin;top:-40vmin}
body:is([data-screen=preview],[data-screen=question],[data-screen=reveal],[data-screen=finished])::after{width:90vmin;height:90vmin;right:-30vmin;bottom:-40vmin;transform:rotate(25deg)}
body:is([data-screen=preview],[data-screen=question],[data-screen=reveal],[data-screen=finished])>header{display:none}
body:is([data-screen=preview],[data-screen=question],[data-screen=reveal],[data-screen=finished]) main{max-width:none;padding:0}
.game-shell{min-height:100svh;display:flex;flex-direction:column}
.game-content{width:100%;max-width:1440px;margin:auto;padding:32px clamp(16px,3vw,48px);flex:1;display:flex;flex-direction:column;justify-content:center}
.game-shell .question-stage{color:#25213f;border:0;border-radius:16px;min-height:200px;padding:28px;box-shadow:0 5px 0 #29105540}
.game-shell .question-stage .eyebrow{font-size:15px;font-weight:700;letter-spacing:normal;color:#675783;margin-bottom:16px}
.game-shell .answer-progress{color:#f0e9ff;margin:24px 0 0}
.game-shell progress{accent-color:#d9c9ff;background:#ffffff25}
.game-shell progress::-webkit-progress-bar{background:#ffffff25}
.game-shell progress::-webkit-progress-value{background:#d9c9ff}
.game-shell progress::-moz-progress-bar{background:#d9c9ff}
.game-shell .choices{margin:24px 0;gap:16px}
.game-shell .choice{border-radius:12px;min-height:120px}
.game-shell .choice.correct{outline-color:#fff}
.game-shell .round-actions{align-items:center;gap:16px}
.game-shell .round-actions button{background:white;color:#352054;border-color:#d6c8e9;border-radius:8px}
.game-shell .round-actions .secondary{background:#35146d;color:white;border-color:#291052}
.game-shell .round-actions button:hover{background:#eee5ff;color:#352054}
.game-shell [role=status]{text-align:center;margin:0;min-height:26px;color:#f0e9ff}
.game-footer{margin-top:auto;background:#35146d;flex-wrap:wrap;gap:8px 24px}
.game-footer>span{font-size:14px;color:#eee5ff}
.game-shell .finish-card{color:#25213f;width:100%}
.round-counter{font-size:16px;white-space:nowrap;font-variant-numeric:tabular-nums}
.phase-countdown{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:750}
body[data-screen=reveal][data-player=student] .game-content{display:flex;flex-direction:column}
.student-result{height:100%;min-height:0;display:flex;flex-direction:column;text-align:center;gap:16px}
.student-result-message{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(8px,2dvh,20px)}
.student-result-message h1{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(36px,7dvh,72px);margin:0;letter-spacing:-.035em}
.student-result-message p{margin:0;font-size:clamp(16px,2.8dvh,26px)}
.student-result-message strong{font-size:18px;color:#eee5ff}
.result-mark{display:block;flex-shrink:0;width:clamp(64px,20dvh,180px);height:clamp(64px,20dvh,180px);background:#75ff99;mask:url('./plump-check-filled.svg') center/contain no-repeat}
.result-incorrect .result-mark{background:#ff8299;mask-image:url('./plump-x-filled.svg')}
@media(max-height:500px){.student-result{gap:6px}.student-result-message{gap:6px}.student-result-message h1{font-size:32px}.result-mark{width:60px;height:60px}.student-result-message p,.student-result-message strong{font-size:14px}}
.answer-symbol{display:block;width:70%;height:70%;background:currentColor}
.answer-symbol.shape-triangle{clip-path:polygon(50% 0,100% 100%,0 100%)}
.answer-symbol.shape-diamond{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.answer-symbol.shape-circle{border-radius:50%}
.answer-symbol.shape-square{border-radius:2px}
/* Bright answer colors and large, unboxed shape identifiers. */
.game-shell .choice:nth-child(4n+1){background:#e21b3c;border-bottom-color:#ac1230}
.game-shell .choice:nth-child(4n+2){background:#1368ce;border-bottom-color:#0d4996}
.game-shell .choice:nth-child(4n+3){background:#ffca28;border-bottom-color:#c49308;color:#302045}
.game-shell .choice:nth-child(4n+4){background:#158b45;border-bottom-color:#0e642f}
.game-shell .choice:nth-child(4n+3) small{color:#302045}
.game-shell .choice .answer-letter{width:30px;height:30px;background:transparent;color:#fff;border-radius:0}
.game-shell .choice .answer-symbol{width:100%;height:100%}
.game-shell .choice.selected{box-shadow:none;gap:6px}
.game-shell .choice .answer-text{flex:1}
.answer-selected-check{display:inline-grid;place-items:center;flex:0 0 28px;width:28px;height:28px;margin-left:auto;background:transparent;color:#75ff99}
.answer-selected-check .play-icon{width:26px;height:26px;--play-icon:url('./plump-check-filled.svg')}
@media(max-width:650px){.game-shell .choice .answer-letter{width:24px;height:24px}.answer-selected-check{flex-basis:24px;width:24px;height:24px}.answer-selected-check .play-icon{width:22px;height:22px}}
body[data-screen=question] .answer-progress .phase-countdown,body[data-screen=leaderboard] .standings-bottom .phase-countdown{display:grid;place-items:center;flex:0 0 auto;width:64px;height:64px;border-radius:50%;font-size:30px;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;color:#fff;background:radial-gradient(circle,#35146d 60%,transparent 62%),conic-gradient(#fff var(--time-left,100%),#ffffff30 0);box-shadow:0 3px 0 #291052}
body[data-screen=question] .answer-progress .phase-countdown.timer-urgent{background:radial-gradient(circle,#a73158 60%,transparent 62%),conic-gradient(#fff var(--time-left,100%),#ffffff30 0)}
@media(max-width:650px),(max-height:500px){body[data-screen=question] .answer-progress .phase-countdown,body[data-screen=leaderboard] .standings-bottom .phase-countdown{width:48px;height:48px;font-size:24px}}
body[data-screen=leaderboard]{background:#482294;color:#fff;isolation:isolate}
body[data-screen=leaderboard]>header{display:none}
body[data-screen=leaderboard] main{max-width:none;padding:0}
body:is([data-screen=leaderboard],[data-screen=finished]) .game-shell{height:100dvh;min-height:0}
body:is([data-screen=leaderboard],[data-screen=finished]) .host-toolbar{flex-shrink:0}
body:is([data-screen=leaderboard],[data-screen=finished]) .game-content{min-height:0;padding:clamp(8px,2dvh,24px) 16px}
body:is([data-screen=leaderboard],[data-screen=finished]) .game-footer{flex-shrink:0;min-height:44px;padding:10px 16px;flex-wrap:nowrap}
.standings{width:min(100%,960px);height:100%;min-height:0;margin:auto;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;gap:clamp(6px,1.5dvh,16px)}
.standings-heading{text-align:center}.standings-heading h1{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(26px,4.5dvh,48px);letter-spacing:-.035em;margin:0 0 4px}.standings-heading p{margin:0;color:#eee5ff;font-size:clamp(11px,1.8dvh,16px);line-height:1.3}
.standings-list{list-style:none;padding:0;margin:0;min-height:0;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:clamp(4px,1dvh,10px)}
.standings-list li{display:flex;align-items:center;gap:clamp(8px,2vw,20px);min-height:0;padding:4px clamp(10px,2vw,24px);background:#fff;color:#25213f;border-radius:10px;font-size:clamp(16px,2.8dvh,28px);border:3px solid transparent}
.standings-list li.is-you{border-color:#d1b1ff;background:#f2ebff}.standings-list strong{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.standings-list small{font-size:.65em;font-weight:600}.standings-rank{font-weight:850;min-width:1.6em;color:#6240c7}.standings-score{margin-left:auto;white-space:nowrap;font-weight:800;font-variant-numeric:tabular-nums}
.standings-paging{display:flex;justify-content:center;align-items:center;gap:16px;font-size:12px}.standings-paging button{padding:5px 12px;font-size:12px;border-radius:6px;background:#35146d;border:0;min-height:30px}.standings-paging button:disabled{opacity:.4}.standings-personal{margin:0;text-align:center;font-size:clamp(12px,1.8dvh,16px);line-height:1.3}.standings .round-actions{justify-content:center}.standings .round-actions .button{background:white;color:#352054;border-color:#d6c8e9;padding:8px 16px;border-radius:8px;font-size:14px}
@media(max-height:500px){.standings-heading h1{font-size:24px}.standings-heading p,.standings-paging>span{display:none}.standings-list li{font-size:16px;border-width:2px}.standings-paging button{min-height:24px;padding:3px 10px}.standings .round-actions .button{padding:5px 12px}.standings{gap:5px}}
body:is([data-screen=question],[data-screen=reveal],[data-screen=finished]) #error:not(:empty){position:fixed;bottom:80px;left:16px;right:16px;background:#fff;border-radius:8px;padding:12px 16px;box-shadow:0 3px 16px #0003;z-index:5}
@media(max-width:650px){.game-content{padding:20px 16px}.game-shell .question-stage{padding:24px 16px;min-height:170px}.game-shell .question-stage h1{font-size:28px;letter-spacing:-1px}.game-shell .choice{min-height:92px;font-size:20px}.game-shell .choices{gap:12px}.game-footer>strong{font-size:16px}.game-shell .round-actions button{padding:12px 14px;font-size:14px;gap:8px}}
@media(max-height:520px){body[data-screen=join] main{padding-top:24px;padding-bottom:64px}}
/* A round is one viewport: reserve the bars, then share the remaining space. */
body:is([data-screen=preview],[data-screen=question],[data-screen=reveal]) .game-shell{height:100dvh;min-height:0}
body:is([data-screen=preview],[data-screen=question],[data-screen=reveal]) .host-toolbar{flex-shrink:0;min-height:48px;padding-top:6px;padding-bottom:6px}
body:is([data-screen=preview],[data-screen=question],[data-screen=reveal]) .game-footer{flex-shrink:0;min-height:44px;padding:10px 16px max(10px,env(safe-area-inset-bottom));flex-wrap:nowrap}
body:is([data-screen=preview],[data-screen=question],[data-screen=reveal]) .game-footer strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:is([data-screen=preview],[data-screen=question],[data-screen=reveal]) .game-footer>span{white-space:nowrap;font-size:12px}
body:is([data-screen=question],[data-screen=reveal]) .game-content{min-height:0;margin:0 auto;padding:clamp(8px,2dvh,24px) clamp(12px,2vw,32px);display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;grid-template-rows:minmax(0,1fr) auto minmax(0,1.3fr) auto;gap:clamp(8px,1.8dvh,18px)}
.game-shell .question-stage{min-height:0;padding:clamp(8px,2dvh,24px);overflow:hidden;position:relative;isolation:isolate}
.game-shell .question-stage .eyebrow{margin:0 0 6px;font-size:clamp(11px,1.8dvh,15px);flex-shrink:0}
.game-shell .question-stage h1{min-height:0;font-size:clamp(32px,6dvh,72px);line-height:1.12;letter-spacing:-.035em}
.game-shell .answer-instruction{margin:6px 0 0;font-size:clamp(12px,1.8dvh,16px);flex-shrink:0}
.game-shell .answer-progress{margin:0;font-size:12px;justify-content:center}
body[data-screen=question][data-player=student] .game-content{grid-template-rows:minmax(0,1fr) auto minmax(0,1.3fr)}
.game-shell .choices{min-height:0;margin:0;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:clamp(8px,1.5dvh,16px)}
.game-shell .choice{min-height:0;padding:clamp(8px,1.8dvh,22px);gap:10px;font-size:clamp(16px,3dvh,28px);border-bottom-width:5px}
.game-shell .answer-text{max-height:100%;overflow-wrap:anywhere;line-height:1.2}
.game-shell .choice small{margin-top:4px;font-size:.65em;line-height:1.2}
.game-shell .answer-letter{width:30px;height:30px;font-size:16px}
.game-shell .round-actions{flex-wrap:nowrap;gap:8px}
.game-shell .round-actions button{padding:8px 12px;font-size:14px;gap:8px;min-height:40px}
.game-shell [role=status]{min-height:0;font-size:14px;line-height:1.3}
@media(max-height:500px){.game-shell .host-toolbar{min-height:36px}.game-shell .host-toolbar .host-small-brand{font-size:20px}.game-shell .game-footer{min-height:32px;padding-top:6px;padding-bottom:6px}.game-shell .answer-instruction{display:none}.game-shell .round-actions button{min-height:32px;padding:5px 10px}.game-shell .answer-letter{width:24px;height:24px;font-size:14px}}
/* A quiet, presentation-sized top five. The student's own rank stays visible. */
.standings{width:min(100%,1120px);grid-template-rows:auto minmax(0,1fr) auto auto;gap:clamp(8px,2dvh,24px)}
.standings-heading h1{font-size:clamp(32px,6dvh,64px);margin-bottom:6px}.standings-heading p{font-size:clamp(12px,2dvh,18px)}
.standings-list{gap:clamp(6px,1.4dvh,14px)}
.standings-list li{border:0;border-radius:5px;background:#35146d;color:#fff;font-size:clamp(20px,3.6dvh,38px);padding:4px clamp(12px,2.4vw,32px);box-shadow:0 3px 0 #24104a55}
.standings-list li.is-leading{background:#fff;color:#302045}.standings-list li.is-you{outline:3px solid #d6beff;outline-offset:-3px;background:#573195}.standings-list li.is-you.is-leading{background:#fff;color:#302045}
.standings-rank{color:inherit;opacity:.8}.standings-score{font-size:1.12em;letter-spacing:-.025em}.standings-list small{font-size:.55em}
.standings-list{overflow:clip;isolation:isolate;padding:3px;margin:-3px}.standings-list li{position:relative}.standings-score{position:relative}.score-gain{position:absolute;right:0;top:-.9em;color:inherit;opacity:0;font-weight:800}
.standings-bottom{display:flex;align-items:center;justify-content:center;gap:20px;min-height:40px}.standings-bottom button,.standings-bottom .button{background:#fff;color:#352054;border-radius:5px;border-bottom:3px solid #d6c8e9;padding:8px 16px;font-size:14px}.standings-personal:empty{display:none}
@media(max-height:500px){.standings{gap:6px}.standings-heading h1{font-size:28px}.standings-list li{font-size:18px}.standings-bottom{min-height:32px}.standings-bottom button,.standings-bottom .button{padding:5px 12px}}
body[data-screen=reveal][data-player=host] .game-content{grid-template-rows:minmax(0,.45fr) minmax(0,1fr) minmax(0,.5fr) auto;gap:clamp(8px,2dvh,20px);width:100%;max-width:1000px;margin:0 auto}
body[data-screen=reveal][data-player=host] .question-stage{background:transparent;box-shadow:none;padding:0 12px;border:0;min-height:0;color:#fff}
body[data-screen=reveal][data-player=host] .question-stage h1{font-size:clamp(22px,4dvh,40px);letter-spacing:-.025em}
.reveal-chart{display:grid;grid-template-columns:repeat(var(--bar-columns),minmax(0,1fr));gap:clamp(16px,3vw,40px);width:min(100%,560px);height:100%;max-height:240px;align-self:center;justify-self:center;min-height:0;padding:0 12px}
.reveal-column{display:grid;grid-template-rows:minmax(0,1fr) 34px;min-width:0;min-height:0;--bar-color:#e21b3c}
.reveal-column:nth-child(2),.reveal-answer:nth-child(2){--bar-color:#1368ce}.reveal-column:nth-child(3),.reveal-answer:nth-child(3){--bar-color:#ffca28}.reveal-column:nth-child(4),.reveal-answer:nth-child(4){--bar-color:#158b45}
.bar-plot{display:flex;align-items:flex-end;justify-content:center;min-height:0;padding-top:38px;border-bottom:1px solid #ffffff30}
.bar-fill{position:relative;width:min(100%,80px);height:max(3px,var(--bar-height))}
.bar-fill::before{content:"";position:absolute;inset:0;background:var(--bar-color);border-radius:4px 4px 0 0;transform-origin:bottom}
.chart-enter .bar-fill::before{animation:results-rise .45s ease-out both}
.bar-total{position:absolute;bottom:calc(100% + 8px);left:0;right:0;display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap}
.bar-count{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(20px,3.2dvh,30px);line-height:1;font-weight:800;font-variant-numeric:tabular-nums}
.chart-check,.chart-cross{display:block;width:28px;height:28px;flex:0 0 28px;background:currentColor;mask:url('./plump-check-filled.svg') center/contain no-repeat;-webkit-mask:url('./plump-check-filled.svg') center/contain no-repeat}
.chart-cross{mask-image:url('./plump-x-filled.svg');-webkit-mask-image:url('./plump-x-filled.svg')}
.bar-answer{display:flex;align-items:center;justify-content:center}
.bar-shape{width:20px;height:20px;background:#fff;color:#fff}
.bar-total .chart-check{width:20px;height:20px;flex-basis:20px}
.reveal-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:8px;min-height:0;height:100%;max-height:116px;align-self:start}
.reveal-answer{display:flex;align-items:center;gap:12px;padding:8px 14px;min-width:0;min-height:0;border-radius:8px;background:#ffffff0d;border:1px solid #ffffff12;border-left:4px solid var(--bar-color,#e21b3c);color:#fff}
.reveal-answer.is-correct{background:#ffffff18;border-top-color:#ffffff45;border-right-color:#ffffff45;border-bottom-color:#ffffff45}
.reveal-answer .answer-symbol{width:20px;height:20px;flex:0 0 20px;color:#fff;background:#fff}
.reveal-answer .chart-check{width:22px;height:22px;flex-basis:22px;color:#9bffc0}
.reveal-answer .chart-cross{display:none}
.reveal-answer-text{flex:1;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font-size:clamp(13px,2dvh,18px);line-height:1.2;font-weight:650}
.reveal-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}.reveal-bottom button:first-child{justify-self:start}.reveal-bottom button:last-child{justify-self:end}
.reveal-timer{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;font-family:'Bricolage Grotesque',sans-serif;font-size:28px;background:radial-gradient(circle,#35146d 60%,transparent 62%),conic-gradient(#fff var(--time-left,100%),#ffffff30 0)}
body[data-screen=preview] .game-content{min-height:0;display:flex;padding:clamp(16px,4vw,48px);width:100%;max-width:1200px;margin:auto}
.question-preview{flex:1;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:20px;text-align:center}
.preview-label{margin:0;font-size:16px;font-weight:650;color:#e0d3fa}
.question-preview .question-stage{min-height:0;background:#fff;border:0;box-shadow:0 4px 0 #29105233;padding:clamp(16px,4vw,40px);color:#25213f}
.question-preview .question-stage h1{max-height:100%;overflow:hidden;margin:0;font-size:clamp(30px,6vw,68px);line-height:1.15;letter-spacing:-.03em}
.preview-countdown{display:flex;justify-content:center;align-items:center;gap:14px;font-size:16px;font-weight:650}
@media(max-height:500px){.question-preview{gap:8px}.preview-label,.preview-countdown{font-size:13px}.question-preview .question-stage h1{font-size:32px}}
@keyframes results-rise{from{transform:scaleY(.02)}to{transform:scaleY(1)}}
.podium-stage{position:relative;isolation:isolate;overflow:clip;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:clamp(8px,2dvh,20px);height:100%;min-height:0;width:min(100%,1000px);margin:auto;text-align:center}
.podium-winners{display:flex;align-items:stretch;justify-content:center;gap:clamp(8px,2vw,24px);list-style:none;margin:0;padding:12px 8px 0;min-height:0}
.podium-place{order:var(--podium-order);display:flex;flex-direction:column;justify-content:flex-end;min-width:0;width:28%;max-width:240px;gap:14px}
.podium-person{display:flex;flex-direction:column;gap:8px;min-height:0}
.podium-person>strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font-size:clamp(15px,2.5vw,30px);line-height:1.15}
.podium-person .standings-score{margin:0;font-size:clamp(14px,2vw,24px);font-variant-numeric:tabular-nums;color:#eee5ff}
.podium-person .standings-score small{color:inherit;font-size:.6em}
.podium-step{display:grid;place-items:center;height:48%;min-height:30px;border-radius:12px 12px 0 0;background:#6a46bb;box-shadow:inset 0 3px 0 #ffffff30}
.podium-slot-1 .podium-step{height:65%;background:#ffca28;color:#302045}
.podium-slot-2 .podium-step{height:52%;background:#d5c6f0;color:#302045}
.podium-slot-3 .podium-step{height:40%;background:#9470c6}
.podium-rank{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(28px,8dvh,76px);font-weight:850}
.podium-runners{list-style:none;margin:0;padding:0 8px;display:grid;gap:6px}
.podium-runners li{display:flex;gap:12px;align-items:center;background:#ffffff0d;border-radius:6px;padding:8px 12px;font-size:14px;min-width:0}
.podium-runners strong{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.podium-runners li>span{white-space:nowrap}
.podium-confetti{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:3}
.podium-confetti i{position:absolute;top:0;width:7px;height:12px;border-radius:2px}
@media(prefers-reduced-motion:no-preference){.game-shell button.choice:active:not(:disabled){transform:scale(.98)}}
@media(max-height:500px){.podium-stage{gap:6px}.podium-stage .standings-heading h1{font-size:24px}.podium-stage .standings-heading p{display:none}.podium-place{gap:6px}.podium-person{gap:3px}.podium-person>strong{font-size:14px}.podium-person .standings-score{font-size:13px}.podium-rank{font-size:28px}.podium-runners li{padding:4px 8px;font-size:12px}.podium-winners{padding-top:4px}}
@media(prefers-reduced-motion:reduce){.chart-enter .bar-fill::before{animation:none}}
body[data-player=student] .student-result .phase-countdown{width:64px;height:64px;font-size:30px;font-weight:800;box-shadow:0 3px 0 #291052}
@media(max-height:550px),(max-width:650px){body[data-player=student] .student-result .phase-countdown{width:48px;height:48px;font-size:24px}}
@media(max-height:550px),(max-width:650px){.reveal-chart{gap:12px;padding:0 4px;width:min(100%,500px)}.reveal-column{grid-template-rows:minmax(0,1fr) 30px}.bar-plot{padding-top:30px}.bar-total{gap:5px;bottom:calc(100% + 5px)}.bar-count{font-size:22px}.bar-shape{width:18px;height:18px}.chart-check,.chart-cross{width:18px;height:18px;flex-basis:18px}.reveal-answer{gap:8px;padding:6px 8px}.reveal-answer .answer-symbol{width:18px;height:18px;flex-basis:18px}.reveal-answer-text{font-size:13px}.reveal-timer{width:44px;height:44px;font-size:24px}}
