:root{font-family:Trebuchet MS,Arial,sans-serif;color:#27224b;background:#f8f4eb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 9% 10%,#ffe5aa 0 12%,transparent 12.2%),radial-gradient(circle at 92% 90%,#d9d2ff 0 13%,transparent 13.2%),#f8f4eb}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:4px solid #ffad31;outline-offset:3px}.shell{width:min(1320px,96vw);margin:auto;min-height:100vh;display:flex;flex-direction:column;padding:24px 0 32px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{display:flex;align-items:center;gap:12px;font-weight:1000;letter-spacing:.02em;color:#392a82;font-size:clamp(20px,2vw,28px)}.brand-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:17px;background:#ffcb57;box-shadow:0 4px 0 #e2a62a;font-size:27px}.pill{border:2px solid #d5cbed;background:#fff;border-radius:100px;padding:9px 16px;font-size:14px;font-weight:900;color:#504484}.hero{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:40px;flex:1;padding:30px 0}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:14px;font-weight:1000;color:#ef6e46;margin:0 0 15px}.hero h1,.big-title{font-size:clamp(50px,7vw,104px);line-height:.96;letter-spacing:-.06em;color:#392a82;margin:0}.hero h1 span{color:#f07852}.hero-copy{font-size:clamp(18px,1.8vw,24px);line-height:1.45;max-width:600px;margin:27px 0;color:#575071}.card{background:#fff;border:2px solid #e7def2;border-radius:32px;box-shadow:0 12px 0 #e7def2;padding:clamp(22px,3vw,38px)}.setup-card h2,.card h2{margin:0 0 10px;font-size:clamp(25px,2.4vw,34px);color:#392a82}.helper{color:#6d6585;font-size:16px;line-height:1.45}.field{display:block;font-size:14px;font-weight:900;color:#504484;margin:24px 0 8px;text-transform:uppercase;letter-spacing:.08em}.name-input{border:2px solid #cdc2e9;background:#fcfaff;border-radius:16px;padding:17px 20px;width:100%;font-size:23px;font-weight:800;color:#392a82}.btn{border:0;border-radius:18px;min-height:58px;padding:14px 24px;font-weight:1000;font-size:18px;transition:transform .15s,box-shadow .15s}.btn:hover{transform:translateY(-2px)}.btn:active{transform:translateY(3px)}.btn-primary{color:#fff;background:#6b4cdb;box-shadow:0 6px 0 #432ca0}.btn-primary:active{box-shadow:0 3px 0 #432ca0}.btn-secondary{color:#45339a;background:#ebe5ff;box-shadow:0 5px 0 #d1c4f7}.btn-wide{width:100%;margin-top:22px}.subject-list{display:grid;gap:11px;margin-top:24px}.subject-mini{display:flex;align-items:center;gap:13px;font-weight:900;font-size:17px}.subject-mini .emoji{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--tint);font-size:22px}.home-foot{text-align:center;color:#706987;font-size:14px;margin-top:20px}.game-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 20px}.game-head h1{font-size:clamp(30px,3.5vw,48px);margin:3px 0;color:#392a82;letter-spacing:-.04em}.game-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.question-card{min-height:520px;display:flex;flex-direction:column}.question-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:17px;font-weight:900;color:#645b82}.question-number{background:#f4eeff;padding:9px 16px;border-radius:100px}.prompt{font-size:clamp(31px,3.4vw,51px);line-height:1.14;letter-spacing:-.035em;margin:34px 0 30px;color:#2e2757}.answers{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:auto}.answer{min-height:86px;background:#f8f5ff;border:3px solid #e2d9f6;border-radius:20px;display:flex;align-items:center;gap:16px;text-align:left;padding:16px 19px;color:#332c5f;font-weight:900;font-size:clamp(18px,1.6vw,23px);transition:.14s}.answer:hover:not(:disabled){background:#eee7ff;border-color:#a98fed;transform:translateY(-2px)}.answer:disabled{cursor:default}.answer b{flex:none;display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#e9e0ff;color:#694bc3}.answer.correct{background:#dff9df;border-color:#72ca83}.answer.correct b{background:#49b665;color:#fff}.answer.wrong{background:#ffe7e2;border-color:#ed9c8d}.answer.wrong b{background:#e47665;color:#fff}.feedback{margin-top:18px;min-height:30px;font-size:20px;font-weight:900}.feedback.good{color:#267e3e}.feedback.bad{color:#bf5744}.side{display:grid;gap:18px}.timer-card{text-align:center;background:#392a82;color:white;border:0;box-shadow:0 9px 0 #271b69}.timer-card .label{font-size:15px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#dcd4ff}.clock{font-size:clamp(55px,6vw,77px);font-variant-numeric:tabular-nums;font-weight:1000;line-height:1.1;margin:12px 0}.clock.urgent{color:#ffb87c}.track{height:13px;border-radius:30px;background:#6252aa;overflow:hidden}.fill{height:100%;background:#ffcb57;border-radius:30px;transition:width 1s linear}.score-card{text-align:center}.score-number{font-size:66px;line-height:1;font-weight:1000;color:#f07852;margin:15px 0 6px}.progress{display:flex;gap:9px;justify-content:center;margin-top:20px}.dot{width:34px;height:12px;border-radius:20px;background:#e1d9ee}.dot.done{background:#70cc8b}.dot.active{background:#f5b84c}.round-start{max-width:850px;margin:auto;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.round-icon{display:grid;place-items:center;width:130px;height:130px;border-radius:37px;background:var(--tint);font-size:72px;transform:rotate(-7deg);box-shadow:0 12px 0 #e6dcf4;margin-bottom:35px}.round-start .big-title{font-size:clamp(48px,7vw,91px)}.round-start p{font-size:clamp(20px,2vw,26px);line-height:1.45;color:#645b82;max-width:670px}.round-start .btn{min-width:270px;margin-top:20px}.round-badges{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:15px}.round-badges .pill{font-size:16px}.result-wrap{width:min(980px,100%);margin:45px auto;text-align:center}.result-wrap .big-title{font-size:clamp(48px,6vw,78px)}.result-wrap>p{font-size:21px;color:#645b82}.result-score{font-size:clamp(76px,11vw,130px);font-weight:1000;color:#f07852;line-height:1;margin:12px 0}.result-score small{font-size:24px;color:#6e648b}.result-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:30px 0}.result-item{border-radius:20px;padding:19px 10px;background:#f8f4ff}.result-item .emoji{font-size:31px}.result-item b{display:block;color:#392a82;margin:9px 0;font-size:16px}.result-item strong{font-size:24px;color:#ef7854}.result-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}.result-actions .btn{min-width:220px}.leaderboard{margin-top:24px;text-align:left}.leaderboard h3{margin:0 0 12px;color:#392a82}.leader-row{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #eee8f7;padding:11px 0;font-weight:800}.leader-row span:last-child{color:#ef7854}.footer{display:flex;justify-content:space-between;gap:15px;color:#79718e;font-size:14px;margin-top:auto;padding-top:25px}.footer button{background:none;border:0;color:#6b4cdb;text-decoration:underline;font-weight:800}.skip{width:100%;background:transparent;border:2px solid #d7cdeb;color:#64588b;border-radius:14px;padding:11px;font-weight:900}.skip:hover{background:#f3efff}.muted{color:#6e6587}.hidden{display:none!important}@media(max-width:850px){.hero,.game-grid{grid-template-columns:1fr}.hero{gap:20px}.game-head{margin-top:20px}.side{grid-template-columns:1fr 1fr}.question-card{min-height:450px}.result-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:560px){.shell{width:min(100% - 28px,1320px)}.topbar .pill{display:none}.hero{padding:30px 0}.hero h1{font-size:58px}.card{border-radius:24px;padding:22px}.question-card{min-height:0}.answers{grid-template-columns:1fr}.answer{min-height:67px}.side{grid-template-columns:1fr 1fr}.clock{font-size:45px}.score-number{font-size:47px}.game-head{align-items:flex-start}.game-head .pill{font-size:11px}.prompt{margin:25px 0}.result-grid{grid-template-columns:repeat(2,1fr)}.footer span:last-child{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}@media print{body{background:#fff}.topbar,.footer,.result-actions{display:none}.shell{min-height:0}.result-wrap{margin:0 auto}.card{box-shadow:none}}
.task-label{font-size:15px;letter-spacing:.13em;font-weight:1000;color:#ef7854;margin:14px 0 8px}.workshop,.math-game,.lab-game,.compass-game,.pixel-game{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:350px}.game-clue{font-size:clamp(24px,2.5vw,35px);font-weight:900;color:#392a82;margin:8px 0 30px}.word-slots,.tile-row{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.word-slots span{display:grid;place-items:center;width:clamp(42px,5vw,66px);height:clamp(52px,5.8vw,75px);border-bottom:5px solid #6b4cdb;background:#f5f0ff;border-radius:12px 12px 4px 4px;font-size:clamp(28px,3vw,39px);font-weight:1000;color:#392a82}.tile-row{margin:28px 0}.letter-tile,.number-tile{border:0;background:#ffcf67;box-shadow:0 6px 0 #dfa939;border-radius:15px;width:clamp(46px,5vw,65px);height:clamp(52px,5vw,67px);font-weight:1000;font-size:clamp(24px,2.8vw,36px);color:#4b347c}.letter-tile:hover,.number-tile:hover{transform:translateY(-2px)}.letter-tile.used{opacity:.25;box-shadow:none}.workshop .skip,.math-game .skip{max-width:240px}.target-number{display:grid;place-items:center;background:#e1f7e8;border:4px solid #78d09b;border-radius:27px;width:120px;height:110px;font-size:64px;font-weight:1000;color:#276b47}.math-total{font-size:22px;font-weight:800;color:#5a527a}.number-grid{display:grid;grid-template-columns:repeat(3,75px);gap:13px;margin:5px 0 25px}.number-tile{width:75px;height:70px;background:#cceee2;box-shadow:0 5px 0 #92d8bf;color:#246d54}.number-tile.chosen{opacity:.3;box-shadow:none}.lab-item{background:#dcecff;border:4px solid #7fb9eb;border-radius:28px;padding:24px 45px;min-width:min(390px,100%);font-size:clamp(31px,3.4vw,48px);font-weight:1000;text-transform:capitalize;color:#2b558d;box-shadow:0 8px 0 #b0d5f5;margin:20px 0}.lab-game .muted{font-size:20px;font-weight:800}.bins{display:flex;gap:15px;justify-content:center;width:100%;margin-top:15px}.bin{flex:1;max-width:205px;min-height:125px;border:3px solid #e2d9f6;border-radius:21px;background:#f6f0ff;font-weight:1000;font-size:23px;color:#45339a}.bin span{display:block;font-size:41px;margin-bottom:6px}.bin:hover{transform:translateY(-3px);background:#eee5ff}.map-grid{display:grid;grid-template-columns:repeat(5,55px);gap:5px;background:#c9e6d3;padding:7px;border-radius:20px;margin-top:10px}.map-cell{display:grid;place-items:center;width:55px;height:55px;border-radius:10px;background:#ecf9ec;font-size:31px}.map-cell.wall{background:#c8d5ce}.map-cell.treasure{background:#ffecaa}.map-cell.explorer{background:#d6c7ff}.compass-controls{display:grid;justify-items:center;margin-top:17px}.compass-controls>div{display:flex;gap:11px;margin-top:9px}.compass-controls button{border:0;background:#eadfff;color:#473091;border-radius:13px;box-shadow:0 4px 0 #c8b8ef;min-width:65px;min-height:49px;font-size:28px;font-weight:1000}.compass-controls button small{font-size:13px}.compass-controls button:hover{background:#d6c4ff}.compass-game .muted{font-size:15px;margin:12px 0 0}.pixel-panels{display:flex;justify-content:center;gap:clamp(25px,5vw,80px);flex-wrap:wrap;margin:5px 0 20px}.pixel-panels p{font-size:18px;font-weight:1000;color:#5c4d91;margin:6px 0 10px}.pixel-grid{display:grid;grid-template-columns:repeat(5,38px);gap:3px;background:#d1c4ee;padding:7px;border-radius:14px}.pixel-grid span,.pixel-grid button{border:0;width:38px;height:38px;border-radius:5px;background:#fff}.pixel-grid .on{background:#6d4ed6}.pixel-grid.editable button:hover{outline:3px solid #ffbe4f}.check-pixels{min-width:240px}.question-card .feedback{margin-top:12px;text-align:center}.question-card .question-meta{align-self:stretch}@media(max-width:560px){.question-meta{font-size:13px}.question-number{white-space:nowrap}.workshop,.math-game,.lab-game,.compass-game,.pixel-game{min-height:290px}.word-slots span{width:39px;height:49px}.letter-tile{width:44px;height:48px}.tile-row{gap:7px}.bins{gap:6px}.bin{font-size:16px;min-height:90px}.bin span{font-size:29px}.pixel-grid{grid-template-columns:repeat(5,27px)}.pixel-grid span,.pixel-grid button{width:27px;height:27px}.map-grid{grid-template-columns:repeat(5,42px)}.map-cell{width:42px;height:42px;font-size:25px}}
