:root{--paper:#f8f5ee;--ink:#243d35;--muted:#6b746c;--line:#dcded3;--red:#ed5a54;--blue:#367cda;--yellow:#f5ca50;--green:#57a77a;--card:#fffef9;--shadow:0 14px 0 -5px #203c3512;font-family:ui-rounded,'Arial Rounded MT Bold','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{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible{outline:4px solid #986be7;outline-offset:5px}a{color:inherit}h1,h2,h3,p{margin:0}button{color:inherit}.wrap{max-width:1320px;margin:auto;padding:28px 48px}.header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:56px}.brand{text-decoration:none;display:inline-flex;align-items:center;gap:10px;font-size:30px;font-weight:1000;letter-spacing:-1.8px}.brand-icon{display:grid;grid-template-columns:repeat(2,11px);gap:3px;transform:rotate(-10deg)}.brand-icon i{height:11px;border-radius:3px;background:var(--red)}.brand-icon i:nth-child(2){background:var(--blue)}.brand-icon i:nth-child(3){background:var(--yellow)}.brand-icon i:nth-child(4){background:var(--green)}.nav{display:flex;gap:12px;align-items:center}.link,.plain{background:none;border:0;color:var(--muted);font-weight:bold;font-size:14px;padding:12px;text-decoration:none}.outline{border:1px solid var(--line);border-radius:12px;padding:11px 17px;background:transparent;font-weight:bold;font-size:14px}.eyebrow{font:700 12px/1.4 Arial,sans-serif;letter-spacing:2px;text-transform:uppercase;color:var(--muted);display:flex;gap:8px;align-items:center}.dot{width:8px;height:8px;background:var(--green);border-radius:100%;display:inline-block}.hero{display:grid;grid-template-columns:1.15fr 1fr;gap:64px;align-items:center;padding-bottom:54px}.hero h1{font-size:clamp(52px,6vw,85px);line-height:1.02;letter-spacing:-5px;margin:20px 0 24px;font-weight:1000}.hero h1 span{color:#ca684a}.hero p{font:18px/1.7 'Trebuchet MS',sans-serif;color:var(--muted);max-width:460px}.mini-steps{display:flex;gap:20px;margin-top:27px;font-size:12px;font-weight:bold}.mini-steps span{display:flex;align-items:center;gap:7px}.mini-steps b{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:23px;height:23px;font-size:11px}.peek{position:relative;transform:rotate(3deg);max-width:440px;width:100%;justify-self:center}.peek-panel{border:2px solid var(--ink);border-radius:25px;background:var(--card);padding:26px;box-shadow:10px 12px 0 #dce7d6}.peek-top{font-size:10px;letter-spacing:2px;display:flex;justify-content:space-between;color:var(--muted);font-weight:bold}.peek h3{font-size:27px;line-height:1.3;margin:26px 0}.peek .answer{font-size:26px;padding:20px 12px;border-radius:12px;min-height:75px}.peek .answers{gap:10px}.peek .shape{width:16px;height:16px}.peek-note{position:absolute;bottom:-22px;right:-24px;background:var(--yellow);border:1.5px solid var(--ink);padding:12px 18px;font-size:14px;font-weight:bold;transform:rotate(-6deg);border-radius:10px}.spark{font-size:48px;color:#e5ae38}.peek-spark{position:absolute;top:-30px;right:-20px;transform:rotate(15deg)}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding-top:28px;border-top:1px solid var(--line);margin-bottom:20px}.section-head h2{font-size:26px;letter-spacing:-1px}.small{font:14px/1.6 'Trebuchet MS',sans-serif;color:var(--muted)}.pack{display:grid;grid-template-columns:84px 1fr auto;align-items:center;gap:24px;padding:26px;border:1.5px solid var(--ink);border-radius:20px;background:var(--card);box-shadow:var(--shadow)}.book-art{width:78px;height:88px;background:#dbe7ce;border-radius:15px;position:relative;display:grid;place-items:center}.book-art:before{content:'a b c';background:var(--yellow);padding:21px 9px;border:2px solid var(--ink);border-left-width:7px;border-radius:5px;transform:rotate(-9deg);font-size:20px;letter-spacing:1px;font-weight:bold;box-shadow:4px 4px 0 #adc291}.pack h3{font-size:25px;letter-spacing:-.6px;margin:9px 0}.tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.tag{font:700 11px Arial,sans-serif;padding:6px 9px;background:#edf1e8;border-radius:5px}.primary{background:var(--ink);color:#fffdf5;border:0;border-radius:12px;padding:18px 24px;font-weight:bold;font-size:16px;display:inline-flex;gap:20px;align-items:center;justify-content:center;box-shadow:0 4px 0 #112a22}.primary:hover{background:#35564a}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #112a22}.mode{display:flex;flex-direction:column;gap:10px;align-items:stretch}.mode select{border:1px solid var(--line);padding:9px 10px;border-radius:8px;background:var(--paper);font-size:12px;color:var(--ink)}.foot{display:flex;justify-content:space-between;gap:20px;margin-top:32px;font-size:12px;color:var(--muted);line-height:1.8}.hint{background:#eaf0e3;border-radius:10px;padding:12px 16px;font-size:13px;line-height:1.6;margin-top:24px}.center{text-align:center}.lobby{display:grid;grid-template-columns:1fr 380px;gap:70px;align-items:center;min-height:66vh}.lobby h1{font-size:clamp(42px,5vw,70px);letter-spacing:-3px;line-height:1.08;margin:18px 0 20px}.lobby p{font-size:19px;line-height:1.6;color:var(--muted)}.lobby ol{padding-left:22px;margin:28px 0;font-size:18px;line-height:2}.qr-card{background:white;border:1.5px solid var(--ink);border-radius:24px;padding:26px;text-align:center;box-shadow:var(--shadow)}.qr{width:270px;max-width:100%;aspect-ratio:1;margin:8px auto 14px}.qr svg{width:100%;height:100%;display:block}.code{font-size:38px;font-weight:bold;letter-spacing:7px;margin:8px 0}.qr-card a{font-size:13px;word-break:break-all}.connected{background:#e4eedc;padding:14px;border-radius:12px;margin-top:18px;font-size:14px;font-weight:bold}.lobby .primary{margin-top:10px;min-width:220px}.game-wrap{padding:24px 44px;max-width:1600px;margin:auto;min-height:100dvh;display:flex;flex-direction:column}.game-wrap .header{margin-bottom:25px}.game-meta{display:flex;justify-content:space-between;align-items:center;font-size:15px;color:var(--muted);gap:12px}.dots{display:flex;gap:8px}.q-dot{width:10px;height:10px;border-radius:50%;background:#d9dccf}.q-dot.done{background:var(--green)}.q-dot.current{background:var(--ink);outline:3px solid #d5ddcf}.question{font-size:clamp(32px,4.3vw,70px);line-height:1.15;letter-spacing:-2px;max-width:1300px;text-align:center;margin:30px auto;min-height:16vh;display:grid;place-items:center;font-weight:900}.answers{display:grid;grid-template-columns:1fr 1fr;gap:18px}.answer{display:flex;align-items:center;justify-content:center;gap:24px;font-size:clamp(32px,5vw,78px);font-weight:900;padding:24px;border-radius:20px;border:0;min-height:clamp(110px,19vh,220px);color:white;position:relative;transition:transform .15s,opacity .2s;box-shadow:inset 0 -7px 0 #00000012}.red{background:var(--red)}.blue{background:var(--blue)}.yellow{background:var(--yellow);color:#27342c}.green{background:var(--green);color:#102d20}.shape{width:27px;height:27px;display:inline-block;background:currentColor;flex-shrink:0}.shape.circle{border-radius:50%}.shape.diamond{transform:rotate(45deg);width:23px;height:23px}.shape.triangle{clip-path:polygon(50% 0,100% 100%,0 100%)}.shape.square{border-radius:3px}.answer .shape{position:absolute;left:25px;opacity:.9}.answer.winner{outline:5px solid var(--ink);outline-offset:4px}.answer.dim{opacity:.33}.answer.selected:after{content:'✓';position:absolute;right:22px;font-size:30px}.under-game{display:flex;justify-content:space-between;align-items:center;margin-top:22px;min-height:35px;font-size:16px}.feedback{font-size:24px;font-weight:bold}.timer-track{height:5px;background:#dce1d4;border-radius:10px;margin-top:20px;overflow:hidden}.timer-fill{height:100%;width:100%;background:var(--ink);transition:width .1s linear}.countdown{display:grid;place-items:center;min-height:65vh;text-align:center}.countdown h1{font-size:42px;letter-spacing:-2px}.count-number{font-size:160px;line-height:1.2;font-weight:1000;color:#cd6949}.join-page{max-width:450px;margin:5vh auto;padding:24px}.join-page .brand{margin-bottom:60px}.join-page h1{font-size:42px;letter-spacing:-2px;margin-bottom:15px}.join-page p{line-height:1.7;color:var(--muted)}input{width:100%;padding:18px;border:1.5px solid var(--ink);border-radius:12px;background:white;color:var(--ink);font-size:22px;margin:22px 0 14px}input.code-input{text-transform:uppercase;letter-spacing:8px;text-align:center;font-size:32px}.join-page .primary{width:100%}label{font-size:14px;font-weight:bold}.controller{height:100dvh;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));display:flex;flex-direction:column;background:#162c25;color:#fffdf5}.controller-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;gap:10px;padding:4px 5px 16px}.controller .brand{font-size:24px}.controller .brand-icon{grid-template-columns:repeat(2,8px);gap:2px}.controller .brand-icon i{height:8px;border-radius:2px}.pads{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:12px;flex:1;min-height:0}.pad{border:0;border-radius:20px;display:grid;place-items:center;touch-action:manipulation;user-select:none;-webkit-user-select:none;box-shadow:inset 0 -7px 0 #0002;transition:filter .15s,transform .1s;color:white}.pad.green{color:#123123}.pad.yellow{color:#27342c}.pad .shape{width:56px;height:56px}.pad .diamond{width:46px;height:46px}.pad:active:not(:disabled){transform:scale(.96)}.pad:disabled{opacity:1;filter:saturate(.45) brightness(.65)}.pad.chosen{filter:none;outline:4px solid white;outline-offset:-10px}.controller-bottom{padding:16px 8px 5px;text-align:center;min-height:62px;display:grid;place-items:center;font-size:15px;color:#d6e1d5}.remote-wait{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:20px;padding:20px}.remote-wait h1{font-size:38px;letter-spacing:-1px}.remote-wait p{color:#c6d5c8;line-height:1.6;max-width:320px}.remote-wait .primary{background:var(--yellow);color:var(--ink);width:100%;max-width:330px}.remote-wait .spark{font-size:75px}.result-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start;max-width:1150px;margin:20px auto}.result-hero h1{font-size:65px;letter-spacing:-3px;line-height:1.1;margin:15px 0}.score-big{font-size:94px;font-weight:bold;letter-spacing:-5px;line-height:1.3}.score-big small{font-size:32px;letter-spacing:-1px;color:var(--muted)}.stats{display:flex;gap:30px;margin:12px 0 26px}.stats b{display:block;font-size:25px}.stats span{font-size:12px;color:var(--muted)}.board{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:24px}.board h2{font-size:25px;letter-spacing:-1px}.board-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:15px}.board-tabs{display:flex;gap:5px}.board-tabs button{border:0;background:transparent;padding:7px 10px;border-radius:7px;font-size:12px;color:var(--muted)}.board-tabs .active{background:#e6eddc;color:var(--ink);font-weight:bold}table{border-collapse:collapse;width:100%;font-size:15px}td,th{text-align:left;padding:13px 5px;border-bottom:1px solid #e7e9e0}th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}td:first-child{width:30px;font-size:12px;color:var(--muted)}td:nth-child(2){font-weight:bold}td:last-child,th:last-child{text-align:right}tr:last-child td{border-bottom:0}.empty{padding:35px 10px;text-align:center;line-height:1.8;color:var(--muted)}.review{margin:35px auto;max-width:1150px;border-top:1px solid var(--line);padding-top:20px}.review summary{cursor:pointer;font-weight:bold}.review-row{display:flex;justify-content:space-between;gap:24px;padding:13px 0;border-bottom:1px solid var(--line);font-size:14px}.review-row b{white-space:nowrap}.remote-result{width:100%;max-width:400px;margin:auto;text-align:center}.remote-result h1{font-size:38px;margin:15px 0}.remote-result .score-big{font-size:76px}.remote-result label{display:block;text-align:left;margin-top:20px}.remote-result input{margin-top:8px}.remote-result .primary{background:var(--yellow);color:var(--ink);width:100%}.remote-result .small{color:#c6d5c8}.remote-result form{margin-top:15px}.form-error{font-size:13px;color:#f9ae9d;line-height:1.6;min-height:20px}.loading{display:grid;place-content:center;min-height:100vh;text-align:center;gap:16px}.loading p{font-weight:bold}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:14px 20px;background:#243d35;color:#fff;border:1px solid #ffffff44;border-radius:12px;max-width:min(90vw,600px);font-size:14px;line-height:1.5;z-index:100;box-shadow:0 6px 25px #0002}[hidden]{display:none!important}.connection-bad{background:var(--red)!important}.top-actions{display:flex;gap:10px}.tv-status{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.subtle-link{font-size:12px;color:var(--muted);background:none;border:0;text-decoration:underline;margin-top:20px;padding:8px}.celebrate{font-size:60px}.no-motion *{animation:none!important}
@media(min-width:1800px){.game-wrap{max-width:1800px;padding:40px 60px}.question{font-size:80px}.answer{font-size:86px;min-height:23vh}.under-game{font-size:23px}.feedback{font-size:32px}}
@media(max-width:900px){.wrap{padding:24px}.header{margin-bottom:35px}.hero{gap:30px}.hero h1{letter-spacing:-3px}.hero p{font-size:16px}.mini-steps{gap:10px;flex-wrap:wrap}.peek{max-width:350px}.peek-panel{padding:20px}.peek h3{font-size:22px}.peek-note{right:-8px}.pack{grid-template-columns:65px 1fr;gap:20px}.book-art{width:65px}.mode{grid-column:1/-1;flex-direction:row}.mode>*{flex:1}.lobby{grid-template-columns:1fr 320px;gap:30px}.qr{width:240px}.result-layout{gap:30px}.game-wrap{padding:20px}.question{min-height:15vh}.answer{font-size:44px;gap:15px}.answer .shape{left:15px;width:20px;height:20px}.answer.selected:after{right:12px;font-size:23px}.under-game{font-size:13px}.feedback{font-size:20px}}
@media(max-width:600px){.wrap{padding:20px}.header{margin-bottom:30px}.header .link{display:none}.brand{font-size:27px}.hero{grid-template-columns:1fr;padding-bottom:55px;gap:45px}.hero h1{font-size:60px;letter-spacing:-3.5px;margin-top:16px}.hero p{max-width:360px}.peek{max-width:320px}.peek-panel{padding:20px}.peek h3{margin:20px 0;font-size:21px}.peek .answer{font-size:23px;padding:17px 10px}.peek-note{font-size:12px;bottom:-18px}.section-head h2{font-size:24px}.section-head .small{font-size:12px}.pack{padding:20px;gap:18px}.pack h3{font-size:23px}.pack p{font-size:13px}.pack .eyebrow{font-size:10px}.mode{flex-direction:column}.mode select{padding:12px}.foot{display:block;font-size:11px}.foot span{display:block;margin-bottom:8px}.lobby{grid-template-columns:1fr;gap:25px}.lobby h1{font-size:44px}.lobby p,.lobby ol{font-size:16px}.lobby ol{margin:18px 0}.qr-card{max-width:350px;width:100%;margin:auto}.qr{width:220px}.game-wrap{padding:16px}.game-wrap .header{margin-bottom:20px}.game-wrap .brand{font-size:24px}.top-actions .outline{font-size:11px;padding:9px}.tv-status{display:none}.game-meta{font-size:12px}.dots{gap:5px}.q-dot{width:7px;height:7px}.question{font-size:32px;letter-spacing:-1px;margin:25px auto;min-height:18vh}.answers{gap:12px}.answer{font-size:30px;min-height:20vh;padding:18px 30px;border-radius:15px}.answer .shape{left:12px;width:12px;height:12px}.answer.selected:after{font-size:17px;right:9px}.under-game{flex-wrap:wrap;gap:10px}.feedback{font-size:18px}.result-layout{grid-template-columns:1fr;gap:32px;margin-top:0}.result-hero h1{font-size:48px}.score-big{font-size:80px}.review-row{font-size:12px}.board{padding:20px}.countdown h1{font-size:32px}.count-number{font-size:130px}.board-title{flex-wrap:wrap}}
@media(max-height:500px){.controller-top{padding-bottom:8px}.controller-bottom{min-height:38px;padding:7px}.pad{border-radius:13px}.pad .shape{width:35px;height:35px}.pad .diamond{width:29px;height:29px}.remote-wait{gap:10px}.remote-wait .spark{display:none}.remote-wait h1{font-size:26px}.remote-result{padding:10px}.remote-result h1{font-size:24px;margin:0}.remote-result .score-big{font-size:40px}.remote-result .celebrate{display:none}.remote-result form{margin:0}.remote-result input{padding:10px;font-size:18px;margin:5px 0}.remote-result label{margin-top:5px}.remote-result .primary{padding:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.answer.selected:after{content:'×'}.answer.winner:after{content:'✓';position:absolute;right:22px;font-size:30px}
@media(max-width:600px){.answer.winner:after{right:9px;font-size:17px}}
