@font-face{font-family:QuizSans;src:local('Avenir Next'),local('Nunito Sans'),local('Trebuchet MS');font-display:swap}
:root{--paper:#f8f6f1;--ink:#292638;--muted:#77747f;--line:#e5e1d9;--purple:#6747cc;--purple-dark:#5134ab;--lilac:#eee8fb;--green:#187047;--red:#ab4544;--round:18px;font-family:QuizSans,'Trebuchet MS',Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9673ed;outline-offset:4px}button,input,select{transition:background .15s,box-shadow .15s,transform .15s}button:active:not(:disabled){transform:translateY(1px)}button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topbar{height:102px;max-width:1536px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 48px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;align-items:center;text-decoration:none;color:inherit}.brand-icon{width:50px;height:54px;display:grid;place-items:center;background:var(--purple);border-radius:15px;transform:rotate(-5deg)}.brand-icon svg{width:36px;fill:none;stroke:#ffe7a5;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.brand-eyebrow{font-size:10px;letter-spacing:2.1px;font-weight:800;display:block;margin-bottom:4px}.brand-title{font-size:24px;font-weight:800;letter-spacing:-1px}.brand-dot{color:var(--purple)}.header-right{display:flex;gap:26px;align-items:center}.header-note{font-size:12px;color:#6e6976}.tiny-star{font-size:19px;color:var(--purple);margin-right:5px}.icon-button{border:1px solid var(--line);background:transparent;border-radius:10px;width:37px;height:37px;display:grid;place-items:center}.icon-button:hover{background:white}main{max-width:1536px;margin:0 auto;padding:42px 48px 36px;min-height:calc(100vh - 166px)}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:31px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.7px;display:flex;gap:8px;align-items:center;color:var(--purple)}.eyebrow>span:empty{width:6px;height:6px;background:var(--purple);border-radius:50%}h1{font-size:43px;line-height:1.15;letter-spacing:-1.9px;margin:10px 0 10px;font-weight:800}h1>span{color:var(--purple)}.intro p{margin:0;font-size:14px;color:#77717c;line-height:1.6}.intro-stamp{margin-right:14px;width:95px;height:95px;border-radius:50%;border:1px solid #cfc4dd;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transform:rotate(12deg);color:var(--purple);background:#f1ecf9}.intro-stamp span{font-size:9px;letter-spacing:2px;font-weight:bold}.intro-stamp svg{width:34px;height:34px;fill:#d6c8f5;stroke:var(--purple);stroke-width:1.3}.setup-layout{display:grid;grid-template-columns:316px minmax(0,1fr);gap:30px;align-items:start}.panel{border:1px solid var(--line);border-radius:var(--round);background:white}.setup-panel{padding:23px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}h2{font-size:18px;letter-spacing:-.5px;margin:0;font-weight:800}.step-dot{font-size:10px;color:var(--purple);background:var(--lilac);width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-weight:800}.control-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.control-row>label:first-child{font-size:13px;font-weight:700;line-height:1.4}.control-row label>span:not(.switch span):not(.sr-only){display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:3px}.stepper{border:1px solid var(--line);border-radius:9px;height:39px;display:flex;align-items:center;overflow:hidden;background:#faf9f6;flex-shrink:0}.stepper button{height:100%;width:30px;border:0;background:transparent;font-size:18px}.stepper button:hover:not(:disabled){background:var(--lilac)}.stepper input{appearance:textfield;width:32px;min-width:0;border:0;text-align:center;background:transparent;font-size:15px;font-weight:800;color:var(--ink);outline-offset:-3px}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.section-rule{height:1px;background:var(--line);margin:20px 0}.timer-row{margin-bottom:15px}.timer-row>label{display:flex;align-items:center;gap:7px}.inline-icon{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.switch{display:inline-flex!important;position:relative;width:35px;height:21px;flex-shrink:0;cursor:pointer}.switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.switch>span:not(.sr-only){display:block;width:35px;height:21px;border-radius:20px;background:#ccc8d1;margin:0!important;pointer-events:none;transition:background .2s}.switch>span:not(.sr-only):after{content:'';display:block;width:15px;height:15px;border-radius:50%;background:white;position:absolute;left:3px;top:3px;transition:transform .2s;box-shadow:0 1px 3px #0002}.switch input:checked+span{background:var(--purple)}.switch input:checked+span:after{transform:translateX(14px)}.switch input:focus-visible+span{outline:3px solid #9673ed;outline-offset:3px}.timer-control{display:flex;align-items:center;gap:17px}input[type=range]{flex:1;min-width:0;accent-color:var(--purple);height:5px;cursor:pointer}.minutes-display{border:1px solid var(--line);border-radius:8px;padding:8px;display:flex;align-items:center;gap:4px;background:#faf9f6}.minutes-display input{width:22px;appearance:textfield;border:0;background:transparent;text-align:center;font-size:13px;font-weight:800;color:var(--ink)}.minutes-display span{font-size:10px;color:var(--muted)}.sound-label{display:flex;align-items:center;gap:7px;margin-bottom:16px}.sound-label h3{font-size:13px;margin:0}.control-row.compact{margin-bottom:16px}.control-row.compact>label:first-child{font-size:11px;font-weight:400}.field-label{font-size:10px;color:var(--muted);display:block;margin-bottom:7px}select{border:1px solid var(--line);border-radius:8px;background:#fbfaf8;color:var(--ink);font-size:11px;padding:11px 8px;width:100%}.button{display:inline-flex;justify-content:center;align-items:center;gap:12px;border-radius:10px;min-height:45px;padding:12px 19px;font-size:12px;font-weight:700;border:1px solid transparent;white-space:nowrap}.primary{color:white;background:var(--purple);box-shadow:0 3px 0 #4c329a}.primary:hover{background:var(--purple-dark)}.secondary{background:white;border-color:var(--line)}.secondary:hover{background:var(--lilac)}.start-button{margin-top:25px;width:100%;justify-content:space-between;font-size:14px;min-height:48px}.setup-footnote{display:flex;align-items:center;justify-content:center;font-size:10px;color:var(--muted);gap:5px;margin:15px 0 0}.setup-footnote svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6}.board-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:3px 0 20px}.muted{color:var(--muted);font-size:9px;letter-spacing:1.5px}.board-heading h2{margin-top:7px;font-size:23px;letter-spacing:-.8px}.small-badge{font-size:10px;background:#efede7;border:1px solid #e4e0d8;border-radius:6px;padding:7px 10px;color:#6b6671;white-space:nowrap}.points-strip{display:flex;gap:16px;align-items:center;border:1px solid #e5decf;background:#f2eee5;border-radius:12px;padding:14px 17px;margin-bottom:20px;min-height:73px}.points-title{display:flex;align-items:center;gap:10px;flex-shrink:0}.point-spark{width:27px;height:27px;display:grid;place-items:center;background:#e6deca;border-radius:8px;font-size:21px}.points-title strong{font-size:10px;line-height:1.5}.point-bands{display:flex;flex:1;gap:18px;justify-content:center}.point-band{font-size:10px;text-align:center;white-space:nowrap}.point-band span{display:block;font-size:9px;color:#7f7668;margin-bottom:4px}.point-band strong{font-size:14px}.point-band strong small{font-size:9px;font-weight:400}.text-button{border:0;background:none;padding:7px 0;font-size:10px;color:var(--purple);white-space:nowrap}.text-button span{margin-left:6px}.points-editor{padding:14px 16px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#f7f2ff}.points-editor>p{width:100%;font-size:11px;margin:0 0 3px;color:#6f6184}.band-editor label{display:block;margin-bottom:6px;font-size:10px}.band-editor .stepper{background:white}.team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.team-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:white;position:relative}.team-card-head{background:var(--team-tint);display:flex;align-items:center;gap:10px;padding:15px 17px;border-bottom:1px solid var(--team-border)}.team-icon{width:30px;height:30px;background:var(--team-color);border-radius:9px;color:white;display:grid;place-items:center;flex-shrink:0;font-size:15px;font-weight:bold}.team-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.team-name{font-size:14px;font-weight:800;letter-spacing:-.2px;min-width:0;flex:1}.team-name-input{width:100%;background:none;border:1px solid transparent;border-radius:5px;font-size:14px;font-weight:800;color:var(--ink);padding:5px 3px;min-width:0;outline-offset:0}.team-name-input:hover{background:#ffffff70;border-color:var(--team-border)}.name-pencil{width:11px;height:11px;fill:none;stroke:#8e8798;stroke-width:1.6;flex-shrink:0}.team-name-text{overflow-wrap:anywhere;line-height:1.2}.card-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:16px}.question-tile{border:1px solid #e5e0da;border-radius:8px;background:#faf9f6;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;height:53px;position:relative;color:#5d5767;padding:4px 1px}.question-tile .q-number{font-size:17px;font-weight:700;line-height:1.2}.question-tile .q-points{font-size:8px;color:#97909c;margin-top:3px}.preview-grid .question-tile{height:43px;cursor:default}.preview-grid .question-tile .q-number{font-size:14px}.preview-grid .question-tile .q-points{font-size:7px;margin-top:2px}.preview-grid .card-grid{gap:7px;padding:14px}.preview-grid .team-card-head{padding:10px 14px}.tile-status{position:absolute;right:5px;top:3px;font-size:12px;line-height:1;font-weight:800}.question-tile:not(:disabled):hover{border-color:var(--team-color);background:var(--team-tint);box-shadow:0 0 0 1px var(--team-color)}.question-tile.correct{background:#e5f3e9;border-color:#88bea0;color:var(--green)}.question-tile.correct .q-points{color:#387451}.question-tile.incorrect{background:#fbe9e6;border-color:#dfaaa1;color:var(--red)}.question-tile.incorrect .q-points{color:#a36a61}.card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 16px 13px;font-size:9px;color:#87808d}.locked-icon{display:flex;align-items:center;gap:4px}.locked-icon svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.5}.preview-note{font-size:10px;line-height:1.6;color:#87808a;display:flex;align-items:flex-start;justify-content:center;gap:6px;margin-top:18px}.preview-note svg{width:13px;height:13px;flex-shrink:0;fill:none;stroke:var(--purple);stroke-width:1.5;margin-top:1px}.site-footer{border-top:1px solid var(--line);max-width:1440px;margin:0 auto;padding:22px 48px;display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#948c98;gap:20px}.site-footer>span:last-child{font-size:8px;letter-spacing:1px}.site-footer b{font-weight:800;color:#6d6576;margin-left:5px}.game-toolbar{display:flex;align-items:center;gap:32px;justify-content:space-between;margin:0 0 28px}.game-heading h1{font-size:34px;margin:10px 0 0}.timer-widget{display:flex;gap:13px;align-items:center;background:white;border:1px solid var(--line);border-radius:15px;padding:12px 23px;min-width:195px}.timer-widget svg{width:48px;height:48px;fill:none;stroke:#e9e2f6;stroke-width:3;transform:rotate(-90deg)}#timer-ring{stroke:var(--purple);stroke-dasharray:125.66;stroke-dashoffset:0;stroke-linecap:round;transition:stroke-dashoffset .5s}.timer-widget div{display:flex;flex-direction:column;gap:1px}.timer-widget span{font-size:8px;letter-spacing:1px;color:var(--muted);font-weight:700}.timer-widget strong{font-size:31px;letter-spacing:-1px;font-variant-numeric:tabular-nums;line-height:1.1}.timer-widget.last-minute{background:#fff4de;border-color:#e5ca91}.timer-widget.last-minute #timer-ring{stroke:#c28515}.timer-widget.last-ten{background:#f0e7ff;border-color:#b79add;box-shadow:0 0 0 4px #e5daf366}.timer-widget.last-ten strong{color:var(--purple)}.game-actions{display:flex;gap:10px}.game-info{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 0;margin-bottom:23px;font-size:11px;color:#817988}.game-info p{display:flex;align-items:center;gap:8px;margin:0;flex-wrap:wrap}.game-info strong{font-weight:400;margin-right:4px}.legend{font-weight:700}.correct-legend{color:var(--green)}.wrong-legend{color:var(--red)}.legend-arrow{color:#b8b1be}.game-info-right{display:flex;gap:18px;align-items:center;flex-shrink:0}.sound-button{display:flex;gap:6px;align-items:center;border:0;background:none;padding:6px;color:var(--purple);font-size:11px}.sound-button svg{width:16px;height:16px}.game-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:24px}.hidden-score-note{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.hidden-score-note svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5}.mini-points{display:flex;gap:17px;font-size:10px;color:var(--muted)}.mini-points b{color:var(--ink)}#game-grid.many-teams{grid-template-columns:repeat(3,minmax(0,1fr))}#game-grid.many-teams .card-grid{gap:6px;padding:13px}#game-grid.many-teams .question-tile{height:49px}.paused-board .card-grid{opacity:.3;filter:blur(3px);pointer-events:none}.paused-board .team-card:after{content:'Quiz paused';position:absolute;top:55%;left:50%;transform:translate(-50%,-50%);font-size:13px;font-weight:800;background:white;border:1px solid var(--line);padding:9px 17px;border-radius:10px;white-space:nowrap;box-shadow:0 3px 18px #2926380c}
.results-screen{max-width:860px;margin:auto;position:relative}.results-intro{text-align:center;padding:10px 0 27px;position:relative;z-index:1}.results-intro>.eyebrow{justify-content:center}.trophy-wrap{display:flex;justify-content:center;align-items:center;gap:35px;margin:24px 0 17px;color:var(--purple)}.trophy-wrap svg{width:78px;height:78px;fill:#ffdc87;stroke:#b07f25;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transform:rotate(-5deg)}.trophy-wrap>span:first-child{font-size:32px;transform:rotate(12deg);color:#cab8ee}.trophy-wrap>span:last-child{font-size:46px;color:#cab8ee}.results-intro h1{font-size:42px;margin-bottom:10px}.results-intro>p{margin:0 0 17px;color:var(--purple);font-weight:800;font-size:28px;line-height:1.3;overflow-wrap:anywhere}.result-summary{background:#ece7f7;padding:7px 13px;border-radius:7px;font-size:11px;color:#6f5d8e}.leaderboard{padding:7px 25px;position:relative;z-index:1}.leaderboard-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 0 20px;border-bottom:1px solid var(--line)}.leaderboard-heading h2{font-size:16px}.leaderboard-heading>span{font-size:10px;color:var(--muted)}.ranking-row{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}.ranking-row:last-child{border:0}.rank-number{width:28px;font-size:19px;flex-shrink:0;text-align:center;font-weight:800;color:#8c8395}.ranking-row.winner .rank-number{color:#aa7920}.ranking-row .team-icon{height:37px;width:37px;border-radius:11px}.rank-team{flex:1;min-width:0}.rank-name{font-size:14px;font-weight:800;display:block;overflow-wrap:anywhere}.rank-meta{font-size:9px;color:var(--muted);margin-top:5px;display:block}.rank-progress{height:5px;background:#eeebe5;flex:1;max-width:180px;border-radius:5px;overflow:hidden}.rank-progress>span{display:block;height:100%;background:var(--team-color);border-radius:5px;animation:grow .8s ease both;transform-origin:left}.rank-score{width:65px;text-align:right;font-size:26px;font-weight:800}.rank-score small{font-size:10px;color:var(--muted);font-weight:400;margin-left:3px}.results-actions{display:flex;justify-content:center;gap:12px;margin-top:26px;position:relative;z-index:1}.results-footer{text-align:center;font-size:11px;color:var(--muted);margin:25px 0 12px}.confetti{position:absolute;top:25px;left:0;width:100%;height:300px;pointer-events:none;overflow:hidden}.confetti i{position:absolute;width:7px;height:12px;border-radius:1px;animation:confetti-fall 2s ease-out both;opacity:0}@keyframes grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes confetti-fall{0%{transform:translateY(-30px) rotate(0);opacity:0}15%{opacity:1}100%{transform:translateY(280px) rotate(300deg);opacity:0}}dialog{border:1px solid var(--line);border-radius:20px;padding:30px;max-width:430px;width:calc(100% - 40px);color:var(--ink);box-shadow:0 20px 80px #21182b30}dialog::backdrop{background:#25203366;backdrop-filter:blur(4px)}.dialog-icon{width:44px;height:44px;display:grid;place-items:center;font-size:29px;background:var(--lilac);color:var(--purple);border-radius:13px;margin-bottom:20px}dialog h2{font-size:23px}dialog p{font-size:13px;line-height:1.7;color:var(--muted);margin:12px 0 23px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end}
@media(min-width:1500px){.setup-layout{grid-template-columns:340px minmax(0,1fr);gap:40px}.setup-panel{padding:26px}.preview-grid .question-tile{height:48px}.preview-grid .card-grid{gap:9px;padding:17px}.preview-grid .team-card-head{padding:13px 17px}}
@media(max-width:1150px){.topbar{padding:0 30px}main{padding:32px 30px}.setup-layout{grid-template-columns:287px minmax(0,1fr);gap:22px}.setup-panel{padding:20px}.point-bands{gap:12px}.points-strip{gap:10px;padding:12px}.points-title strong{font-size:9px}.point-spark{display:none}.small-badge{font-size:9px;padding:6px}.board-heading h2{font-size:20px}.preview-grid .card-grid{gap:5px;padding:11px}.preview-grid .team-card-head{padding:10px}.team-name-input{font-size:13px}.preview-grid .team-icon{width:26px;height:26px;border-radius:8px}.game-toolbar{gap:18px}.game-actions .button{padding:12px}.game-heading h1{font-size:29px}.timer-widget{min-width:170px;padding:10px 16px}.team-grid{gap:15px}}
@media(max-width:950px){.header-note{display:none}.points-title{display:none}.points-strip{padding:13px}.point-bands{justify-content:flex-start;gap:15px}.preview-grid{grid-template-columns:1fr}.preview-grid .card-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.preview-grid .question-tile{height:40px}.preview-grid .team-card-head{padding:10px 13px}#game-grid.many-teams{grid-template-columns:repeat(2,minmax(0,1fr))}.game-info{align-items:flex-start}.game-info-right{flex-direction:column;align-items:flex-end;gap:4px}.game-toolbar{flex-wrap:wrap}.game-heading{flex:1}.timer-widget{margin-left:auto}.game-actions{width:100%;justify-content:flex-end;margin-top:-4px}.intro-stamp{width:80px;height:80px}.game-bottom{align-items:flex-start}.mini-points{gap:9px;flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:650px){.topbar{height:85px;padding:0 21px}.brand-title{font-size:21px}.brand-icon{width:40px;height:43px;border-radius:12px}.brand-icon svg{width:30px}.brand-eyebrow{font-size:8px;letter-spacing:1.5px}.brand{gap:10px}main{padding:27px 20px}.intro{margin-bottom:24px}.intro h1{font-size:34px;letter-spacing:-1.4px}.intro p{font-size:12px;max-width:260px}.intro-stamp{display:none}.eyebrow{font-size:9px}.setup-layout{grid-template-columns:1fr;gap:29px}.setup-panel{padding:22px}.panel-heading{margin-bottom:20px}.control-row{margin-bottom:17px}.section-rule{margin:18px 0}.timer-control{gap:20px}.start-button{margin-top:22px}.preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.preview-grid .card-grid{gap:4px;padding:9px}.preview-grid .question-tile{height:36px;border-radius:5px}.preview-grid .question-tile .q-number{font-size:12px}.preview-grid .question-tile .q-points{font-size:6px}.preview-grid .team-card-head{gap:5px;padding:9px}.preview-grid .team-name-input{font-size:11px;padding:3px}.preview-grid .team-icon{width:21px;height:23px;border-radius:6px}.preview-grid .team-icon svg{width:14px}.preview-grid .name-pencil{display:none}.team-card{border-radius:11px}.board-heading h2{font-size:21px}.points-strip{margin-bottom:15px}.point-bands{gap:13px}.point-band strong{font-size:13px}.point-band span{font-size:8px}.card-foot{font-size:8px;padding:0 10px 11px}.site-footer{padding:21px;gap:20px}.site-footer>span:first-child{max-width:160px;line-height:1.6}.site-footer>span:last-child{font-size:7px;letter-spacing:.7px}.game-toolbar{gap:12px;margin-bottom:19px}.game-heading h1{font-size:27px}.timer-widget{padding:8px 12px;min-width:139px;gap:8px}.timer-widget svg{width:34px;height:34px}.timer-widget span{font-size:6px}.timer-widget strong{font-size:27px}.game-actions{justify-content:space-between;margin-top:9px}.game-actions .button{flex:1}.game-info{font-size:10px;padding:12px 0;gap:8px}.game-info p{gap:5px}.game-info p strong{width:100%;margin-bottom:3px}.game-info-right{font-size:9px;min-width:94px}.team-grid,#game-grid.many-teams{grid-template-columns:1fr}.game-bottom{flex-direction:column;align-items:center}.mini-points{justify-content:center}.question-tile{height:57px}.team-card-head{padding:14px}.results-intro h1{font-size:33px}.results-intro>p{font-size:24px}.leaderboard{padding:3px 16px}.ranking-row{gap:10px}.rank-progress{display:none}.rank-number{width:22px;font-size:17px}.rank-score{font-size:24px;width:62px}.rank-name{font-size:13px}.leaderboard-heading h2{font-size:14px}.leaderboard-heading>span{font-size:9px}.results-actions{flex-direction:column}.results-actions .button{width:100%}.results-intro{padding-top:2px}.trophy-wrap{margin-top:22px}.leaderboard-heading{gap:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.confetti{display:none}}

/* Keep every team's questions inside the whiteboard viewport while playing. */
body.is-playing{height:100vh;height:100dvh;overflow:hidden;display:flex;flex-direction:column}
.is-playing .topbar{height:52px;min-height:52px;flex:0 0 52px;max-width:none;width:100%;padding:0 14px}
.is-playing .brand{gap:9px}.is-playing .brand-icon{width:30px;height:32px;border-radius:9px}.is-playing .brand-icon svg{width:23px}.is-playing .brand-title{font-size:18px;letter-spacing:-.6px}.is-playing .brand-eyebrow{font-size:7px;letter-spacing:1.4px;margin-bottom:2px}.is-playing .header-note{display:none}.is-playing .icon-button{width:32px;height:32px}
.is-playing main{flex:1;min-height:0;max-width:none;width:100%;margin:0;padding:8px 12px 10px;display:flex;overflow:hidden}
.is-playing #game-screen{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;width:100%;gap:8px}
.is-playing .site-footer,.is-playing .game-bottom{display:none}
.is-playing .game-toolbar{flex:0 0 auto;min-height:50px;margin:0;gap:20px;flex-wrap:nowrap;justify-content:space-between}
.is-playing .game-heading{flex:1;min-width:0}.is-playing .game-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.is-playing .game-heading h1{font-size:24px;margin:5px 0 0;letter-spacing:-.8px;white-space:nowrap}
.is-playing .timer-widget{min-width:148px;padding:5px 13px;gap:8px;border-radius:11px;margin:0}.is-playing .timer-widget svg{width:35px;height:35px}.is-playing .timer-widget strong{font-size:26px}.is-playing .timer-widget span{font-size:7px}
.is-playing .game-actions{width:auto;margin:0;gap:8px;flex-shrink:0}.is-playing .game-actions .button{min-height:39px;padding:8px 13px;flex:none;font-size:11px}.is-playing .game-actions svg{width:17px;height:17px}
.is-playing .game-info{flex:0 0 auto;margin:0;padding:5px 0;min-height:34px;gap:8px;align-items:center;font-size:10px}.is-playing .game-info p{gap:6px}.is-playing .game-info p strong{width:auto;margin:0 3px 0 0}.is-playing .game-info-right{flex-direction:row;align-items:center;gap:15px}.is-playing .sound-button{font-size:10px;min-height:28px;padding:4px 6px;gap:5px}.is-playing .score-toggle{border:1px solid #ddd2f4;border-radius:7px;padding:4px 8px;background:#f0eafa}.is-playing .score-toggle[aria-pressed=true]{background:var(--purple);color:white;border-color:var(--purple)}
.is-playing #game-grid{flex:1 1 0;min-width:0;min-height:0;overflow:hidden;grid-template-columns:repeat(var(--board-columns,2),minmax(0,1fr));grid-template-rows:repeat(var(--board-rows,2),minmax(0,1fr));gap:var(--board-gap,8px);align-content:stretch}
.is-playing #game-grid .team-card{display:flex;flex-direction:column;min-height:0;min-width:0;border-radius:10px}
.is-playing #game-grid .team-card-head{height:var(--card-header,30px);min-height:0;flex:0 0 var(--card-header,30px);padding:2px var(--card-padding,5px);gap:6px;overflow:hidden}
.is-playing #game-grid .team-icon{width:clamp(14px,calc(var(--card-header,30px) - 10px),28px);height:clamp(14px,calc(var(--card-header,30px) - 10px),28px);border-radius:5px}.is-playing #game-grid .team-icon svg{width:70%;height:70%}
.is-playing #game-grid .team-name{font-size:var(--name-font,13px);line-height:1.15;min-width:0}.is-playing #game-grid .team-name-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.3}
.is-playing #game-grid .live-score{display:flex;align-items:baseline;gap:3px;flex-shrink:0;white-space:nowrap;color:var(--team-color);padding-left:3px;font-variant-numeric:tabular-nums}.is-playing #game-grid .live-score strong{font-size:calc(var(--name-font,13px) + 4px);line-height:1}.is-playing #game-grid .live-score small{font-size:clamp(7px,calc(var(--name-font,13px) - 5px),10px)}.is-playing #game-grid .live-score.score-is-hidden{color:#8d8198}.is-playing #game-grid .live-score>svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6}
.is-playing #game-grid .card-grid{flex:1;min-width:0;min-height:0;padding:var(--card-padding,5px);gap:var(--tile-gap,3px);grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(var(--question-rows,4),minmax(0,1fr))}
.is-playing #game-grid .question-tile{height:auto;min-height:0;min-width:0;padding:1px;border-radius:5px;touch-action:manipulation;overflow:hidden}.is-playing #game-grid .question-tile .q-number{font-size:var(--question-font,16px);line-height:1.1}.is-playing #game-grid .question-tile .q-points{font-size:var(--points-font,7px);line-height:1;margin-top:2px;color:#716a78}.is-playing #game-grid .tile-status{font-size:clamp(8px,calc(var(--question-font,16px) * .6),14px);right:3px;top:2px}.is-playing #game-grid .card-foot{display:none}.is-playing #game-grid.compact-tiles .q-points{display:none}.is-playing #game-grid .question-tile:focus-visible{outline-offset:-3px}.is-playing #game-grid.paused-board .team-card:after{font-size:var(--name-font,13px);padding:5px 9px;max-width:90%}
.score-setup-row{margin-bottom:0}.score-setup-row>label:first-child{font-size:12px}
@media(max-width:700px){.is-playing .game-toolbar{gap:8px}.is-playing .game-heading h1{font-size:18px}.is-playing .game-heading .eyebrow{font-size:7px;letter-spacing:.5px}.is-playing .timer-widget{min-width:109px;padding:5px 8px;gap:5px}.is-playing .timer-widget svg{width:27px;height:27px}.is-playing .timer-widget strong{font-size:22px}.is-playing .timer-widget span{font-size:6px}.is-playing .game-actions .button{padding:7px 9px;font-size:10px;gap:5px}.is-playing .game-actions svg{width:13px;height:13px}.is-playing .game-info-right{gap:5px}.is-playing #marked-count{display:none}.is-playing .game-info p{font-size:9px;gap:4px}.is-playing .game-info p strong{display:none}.is-playing .sound-button{font-size:9px;padding:4px}.is-playing .sound-button svg{width:13px;height:13px}}
@media(max-width:480px){.is-playing .game-toolbar{flex-wrap:wrap;gap:6px}.is-playing .game-heading{flex:1}.is-playing .timer-widget{min-width:115px}.is-playing .game-actions{width:100%;gap:8px}.is-playing .game-actions .button{flex:1;min-height:32px}.is-playing .game-info{gap:4px}.is-playing .game-info p{gap:3px;font-size:8px}.is-playing .game-info-right{gap:3px}.is-playing .score-toggle{padding:4px}.is-playing main{padding:6px}.is-playing #game-screen{gap:6px}}
