@font-face{font-family:Nunito;font-style:normal;font-weight:500;font-display:swap;src:url('./nunito-500.ttf') format('truetype')}
@font-face{font-family:Nunito;font-style:normal;font-weight:700;font-display:swap;src:url('./nunito-700.ttf') format('truetype')}
@font-face{font-family:Nunito;font-style:normal;font-weight:900;font-display:swap;src:url('./nunito-900.ttf') format('truetype')}
:root{font-family:Nunito,'Segoe UI',sans-serif;color:#243348;background:#ecf1fa;--blue:#3263ed;--green:#0f9c72;--yellow:#ffd145;--line:#dce4f0;font-synthesis:none}
*{box-sizing:border-box;letter-spacing:0}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{height:100dvh;display:grid;grid-template-rows:68px 46px minmax(0,1fr)}button,input,select{font:inherit}button,input,select,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{border:0;cursor:pointer;background:none;color:inherit;transition:transform .16s,background .16s}button:active:not(:disabled){transform:translateY(2px)}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,.import-button:focus-within{outline:3px solid #f3a22c;outline-offset:3px}a{text-decoration:none;color:inherit}h1,h2,h3,p{margin:0}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}.lucide{height:20px;width:20px;flex-shrink:0;stroke-width:2.3;pointer-events:none}.topbar{display:flex;align-items:center;gap:20px;width:min(1320px,calc(100% - 48px));margin:auto;height:100%}.brand{display:flex;align-items:center;gap:9px;margin-right:auto}.brand>span{display:grid}.brand strong{font-size:31px;line-height:1;font-weight:900}.brand-dot{color:#f15a54}.brand small{font-size:8px;font-weight:900;color:#677a95;margin-top:4px}.brand img{width:40px;height:40px}.player{display:flex;align-items:center;gap:9px}.level-badge{background:#dce7ff;border:2px solid white;color:var(--blue);width:36px;height:36px;display:grid;place-items:center;font-size:21px;font-weight:900;border-radius:7px;transform:rotate(-5deg)}.level-info{width:158px}.level-info strong{font-size:10px;display:block;margin-bottom:5px}.xp-track{height:6px;border-radius:3px;background:#d6e0f1;overflow:hidden}.xp-track>span{height:100%;display:block;background:var(--blue);transition:width .5s}.wallet{display:flex;align-items:center;gap:7px;min-width:85px;border-radius:7px;padding:7px 12px;background:#ffecaa;box-shadow:0 3px #e3bd4c}.wallet strong{font-size:21px;font-weight:900}.icon-button{width:37px;height:37px;display:grid;place-items:center;background:white;border:1px solid #d8e0ed;border-radius:6px}.icon-button:hover{background:#dce7ff}#sound{width:auto;min-width:90px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:900}#sound[data-audio-state=running]{color:#147b61;background:#e0f7ec;border-color:#b7e6d4}.navigation{background:white;border-block:1px solid var(--line)}.nav-inner{height:100%;width:min(1320px,calc(100% - 48px));margin:auto;display:flex;gap:27px;align-items:center}.nav-tab{height:100%;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:900;position:relative;color:#71849a;white-space:nowrap}.nav-tab.active{color:var(--blue)}.nav-tab.active:after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--blue)}.nav-tab>span{font-size:9px;padding:2px 5px;background:#eef2fc;border-radius:3px}.fullscreen-button{margin-left:auto;width:31px;height:31px;border:0}
main{width:min(1320px,calc(100% - 48px));margin:0 auto;min-height:0;overflow:hidden}.view{height:100%;overflow:auto;scrollbar-width:thin;padding-bottom:20px}#play-view{display:grid;grid-template-rows:72px minmax(0,1fr);overflow:hidden;padding-bottom:16px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:24px 0}.page-heading h1{font-size:29px;line-height:1.15;font-weight:900}.eyebrow{font-size:9px;font-weight:900;color:#17886d;margin-bottom:5px}.subtitle{font-size:12px;line-height:1.5;color:#748398;margin-top:7px}#play-view>.page-heading{margin:0}#play-view h1{font-size:24px}.streak{display:flex;align-items:center;gap:9px;background:#fff0cd;border:1px solid #f2d08c;border-radius:7px;padding:7px 13px}.streak>.lucide{color:#ed7a34;width:24px;height:24px}.streak span{display:grid;text-align:center}.streak b{font-size:20px;line-height:1.1;font-weight:900}.streak small{font-size:7px;font-weight:900;color:#9c7840}.streak>strong{border-left:1px solid #ebcf94;padding-left:12px;margin-left:3px;font-size:22px;color:#c57923}.streak.hot{background:#ffdd65;box-shadow:0 3px #e2b844}.streak.hot>.lucide{fill:#ffa23b;color:#d86624}.mobile-switch{display:none}.adventure-layout{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(330px,1.05fr);gap:26px;min-height:0}.trainer{height:100%;min-height:0;background:white;display:grid;grid-template-rows:50px minmax(0,1fr) 48px;border-radius:8px;border:1px solid #d9e1ef;box-shadow:0 5px #d9e2f2;overflow:hidden;position:relative}.mode-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:6px;background:#e3ebf9}.mode-switch button{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:5px;font-size:12px;font-weight:900;color:#66809e}.mode-switch button b{font-size:23px;line-height:20px}.mode-switch button.selected{background:var(--blue);color:white;box-shadow:0 3px #2247b9}.mode-switch button:hover:not(.selected){background:#d3dff7}.exercise-body{padding:14px 28px 8px;min-height:0;display:grid;grid-template-rows:26px 28px minmax(0,1fr) 30px}.exercise-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.exercise-top>span{font-size:10px;font-weight:900;color:#7890ae}.select-wrap{position:relative;display:flex}.select-wrap select{appearance:none;cursor:pointer;max-width:180px;border:0;border-radius:4px;background:#edf2fb;color:#506b94;padding:5px 27px 5px 9px;font-size:11px;font-weight:700}.select-wrap>.lucide{width:13px;height:13px;position:absolute;right:8px;top:8px;pointer-events:none}.reward-label{display:flex;align-items:center;justify-content:center;gap:6px;color:#a8791c;font-size:11px;font-weight:900}.reward-label>.lucide{height:15px;width:15px}#answer-form{display:grid;grid-template-rows:minmax(64px,1fr) 76px 34px 48px;gap:5px;min-height:0}.problem{display:flex;align-items:center;justify-content:center;gap:19px;min-height:0}.number{font-size:76px;font-weight:900;line-height:1;color:#2c4363; font-variant-numeric:tabular-nums}.operator{font-size:40px;font-weight:900;color:#839cbb}.answer-wrap{display:flex;align-items:center;justify-content:center}.answer-wrap input{width:160px;height:72px;background:#eef4ff;border:3px solid #a8bff1;border-bottom:6px solid #8ca8e9;border-radius:8px;color:var(--blue);font-size:43px;text-align:center;font-weight:900;caret-color:var(--blue)}.answer-wrap input::placeholder{color:#a0b9ed}.answer-wrap input:focus{background:#e4edff;border-color:#547feb}.feedback{min-height:0;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;line-height:1.2;color:#7b8da5}.feedback.correct{font-weight:900;color:var(--green)}.feedback.wrong{color:#bd673c}.primary{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:43px;padding:10px 15px;border-radius:6px;background:var(--blue);box-shadow:0 4px #2347b0;color:white;font-size:16px;font-weight:900}.primary:hover{background:#2054df}.primary.success{background:#11a477;box-shadow:0 4px #0c7657}.hint-button{display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px;color:#7791b0;font-weight:700;min-height:26px}.hint-button .lucide{width:14px;height:14px}.round-progress{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 12px;padding:8px 26px;background:#edf4ff;border-top:1px solid #e0e9f7}.round-progress>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;font-weight:900}.round-progress b{color:var(--blue)}.round-dots{display:flex;grid-column:1;gap:5px;align-self:start}.round-dots span{height:7px;flex:1;background:#d3deef;border-radius:2px}.round-dots span.filled{background:#5584eb}.round-dots span:last-child{background:#ffcc46}.round-progress small{grid-column:2;grid-row:1/3;font-size:9px;color:#6b82a4;width:82px;line-height:1.5}.keypad{display:none}
.construction{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto 24px;min-height:0;padding:2px 18px 0;background:#def4ec;border-radius:8px;position:relative;overflow:hidden}.construction-heading{display:flex;justify-content:space-between;align-items:center;padding:17px 0 0;gap:12px}.construction-heading h2{font-size:23px;font-weight:900}.construction-heading .eyebrow{color:#28846a;font-size:10px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 0;font-size:11px;font-weight:900;color:#5b7792;cursor:pointer}.text-button:hover{color:var(--blue)}.text-button .lucide{width:15px;height:15px}.world{width:100%;height:100%;min-height:0;position:relative;overflow:hidden}.world>svg{width:100%;height:100%;display:block}.world .model-part{transform-origin:270px 300px}.world.constructing .model-part{animation:assemble .65s both;animation-delay:var(--delay)}.world.launching .model-part{animation:launch 2.5s ease-in-out}.world.reward-pulse>svg{animation:model-bounce .65s}.model-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:0 0 12px}.model-step{display:flex;align-items:center;gap:6px;color:#5e8375;font-size:10px;font-weight:900;border-bottom:3px solid #baded1;padding:7px 0}.model-step b{width:23px;height:23px;border:1px solid #a1caba;border-radius:5px;display:grid;place-items:center;flex-shrink:0;background:#edfff7}.model-step.done{border-color:#13a071;color:#087653}.model-step.done b{background:#10a477;color:white;border-color:#10a477}.model-step.next{color:#157957;border-color:#e2b531}.model-step.next b{background:#ffdc68;border-color:#e7be4b}.model-step .lucide{width:14px;height:14px}.build-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #c1e0d3;padding-top:12px}.model-tag{font-size:8px;font-weight:900;color:#729486}.build-controls h3{font-size:12px;line-height:1.4;margin:4px 0 5px}.build-track{display:none}.build-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:45px;padding:10px 14px;background:#ffce46;border-radius:6px;box-shadow:0 4px #dba625;font-size:12px;font-weight:900;white-space:nowrap}.build-button>.lucide{width:17px;height:17px}.build-button:disabled{background:#cadfd5;box-shadow:0 3px #b7cfc4;color:#6a8b7a}.build-button:disabled img{filter:grayscale(.8);opacity:.5}.build-button:not(:disabled){animation:build-ready 2.5s infinite}.build-note{display:flex;align-items:center;justify-content:flex-end;font-size:10px;color:#527c6a}.construction.can-build{background:#d4f2e3}.section-count{font-size:12px;font-weight:900;color:#6b809c}
.column-mode #answer-form{grid-template-rows:minmax(165px,1fr) 32px 48px}.column-problem{display:grid;gap:3px;--cell:48px;justify-content:center;max-height:100%}.column-row{display:grid;grid-template-columns:23px repeat(var(--digits),var(--cell));gap:4px;align-items:center;text-align:center;font-size:33px;line-height:1.1;font-weight:900;min-height:34px}.column-row .operator{font-size:28px}.column-row.column-labels{font-size:9px;min-height:12px;color:#8295ae}.column-row.carry-row{min-height:22px}.carry-input{height:22px;width:27px;justify-self:center;padding:0;text-align:center;border:1px solid #ccd9ec;background:#f5f8ff;border-radius:4px;color:#6384b2;font-size:13px}.column-row.result{border-top:2px solid #829ebf;padding-top:6px}.digit-input{min-width:0;width:100%;height:47px;padding:0;border:2px solid #a8c0f0;border-bottom-width:4px;border-radius:5px;background:#edf3ff;color:var(--blue);text-align:center;font-size:30px;font-weight:900}.digit-input::placeholder{color:#9eb9ec}.digit-input:focus{border-color:#4678e4;outline:none;background:#dce9ff}.digit-input.invalid{border-color:#e0a36a;background:#fff0dc}.digit-input.valid{border-color:#52b596;background:#e0f8eb;color:#12885e}
.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.model-card{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden}.model-preview{position:relative;background:#e0f1f0;height:190px}.model-card:nth-child(2n) .model-preview{background:#fff0d6}.model-card:nth-child(3n) .model-preview{background:#e6ecfe}.model-preview>svg{width:100%;height:100%}.model-state{position:absolute;top:12px;left:12px;font-size:9px;font-weight:900;background:#fff;padding:5px;border-radius:4px;color:#628196}.complete .model-state{color:var(--green)}.model-details{padding:16px}.model-details h2{font-size:19px;line-height:1.2;margin-top:4px}.model-details p{font-size:11px;color:#7b8a9d;margin:9px 0 12px}.model-details button{width:100%;padding:10px;font-size:12px;font-weight:900;color:var(--blue);background:#edf2ff;border-radius:5px;display:flex;align-items:center;justify-content:center;gap:7px}.model-details button .lucide{width:17px;height:17px}.stats{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line);padding:20px 0;margin-bottom:22px}.stat{text-align:center}.stat strong{display:block;font-size:32px;font-weight:900;color:var(--blue)}.stat span{font-size:11px;color:#75859a}.achievement-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.achievement{background:#f8faff;border:1px solid #dce4f3;border-radius:8px;padding:20px 12px;text-align:center}.achievement.unlocked{background:#fff6d9;border-color:#e5c973}.achievement-symbol{height:52px;width:52px;margin:0 auto 15px;border-radius:50%;display:grid;place-items:center;background:#e5ecf7;color:#94a7c3}.achievement-symbol .lucide{height:25px;width:25px}.unlocked .achievement-symbol{background:#ffdf70;color:#b67b20}.achievement h2{font-size:14px}.achievement p{font-size:11px;color:#7d8b9f;margin-top:7px;min-height:29px}.achievement small{font-size:9px;display:block;margin-top:12px;color:#8391a7;font-weight:900}.unlocked small{color:#977225}.save-controls{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}.save-controls>span{font-size:11px;color:#75859a;flex:1}.quests{max-width:850px;margin:25px auto}.quest-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:18px}.quest-heading h2{display:flex;align-items:center;gap:8px;font-size:18px}.quest-heading>span{font-size:10px;color:#7890ab}.quest{display:flex;align-items:center;gap:17px;padding:25px 0;border-bottom:1px solid var(--line)}.quest-icon{height:50px;width:50px;background:#dce7ff;color:#537ada;border-radius:7px;display:grid;place-items:center}.quest:nth-child(2) .quest-icon{background:#daf1e7;color:#28a47a}.quest:nth-child(3) .quest-icon{background:#ffe6c7;color:#df9546}.quest-info{flex:1;min-width:0}.quest-info h3{font-size:16px}.quest-info p{font-size:12px;color:#7b8ba1;margin:5px 0}.quest-progress{height:6px;background:#d8e2f2;border-radius:3px;overflow:hidden;margin-top:10px}.quest-progress span{display:block;height:100%;background:#6092eb}.quest-reward{text-align:center;font-size:12px;min-width:85px;display:grid;gap:5px;color:#7189a4}.quest-reward b{color:#ad852c}.claim-button{background:#ffd457;color:#71581c;padding:12px;border-radius:5px;font-size:12px;font-weight:900}
dialog{position:fixed;max-height:calc(100dvh - 28px);overflow:auto;width:min(420px,calc(100% - 28px));border:0;border-radius:8px;background:white;color:#2a3e58;box-shadow:0 25px 90px #10234144;padding:28px;text-align:center}dialog::backdrop{background:#152d4c99;backdrop-filter:blur(3px)}dialog>.icon-button{position:absolute;right:10px;top:10px;border:0;background:#edf2f9;width:31px;height:31px}.dialog-art{height:150px;width:190px;margin:0 auto 12px}.dialog-art>svg{width:100%;height:100%}dialog .eyebrow{color:#b8881d}dialog h2{font-size:26px;font-weight:900}dialog>p:not(.eyebrow){font-size:13px;line-height:1.6;color:#71839a;margin:12px 0 21px}.dialog-star{height:150px;display:grid;place-items:center}.dialog-star .lucide{width:100px;height:100px;fill:#ffe47b;stroke:#e5ad22}.hint{padding:16px;margin:15px 0;background:#fff6d7;border-radius:6px;font-size:13px;line-height:1.6;text-align:left;color:#74603b}.hint-dots{display:grid;gap:4px;margin:12px auto;width:max-content}.hint-dots span{width:11px;height:11px;border-radius:2px;background:#e9b435;box-shadow:inset 0 -2px #bd8a1e}.hint-step{padding:9px 0;border-bottom:1px solid #ecdba8}.hint-step:first-letter{text-transform:uppercase}.hint button{color:#826222;text-decoration:underline;margin-top:12px;font-weight:900}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);background:#25415a;color:white;border-radius:7px;font-weight:900;font-size:13px;padding:13px 20px;max-width:calc(100% - 28px);opacity:0;pointer-events:none;z-index:60;transition:opacity .2s,transform .2s;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}
.particles{position:fixed;inset:0;overflow:hidden;z-index:100;pointer-events:none}.particle{position:absolute;width:18px;height:13px;background:var(--color);border:1px solid #ffffff55;border-radius:2px;box-shadow:inset 0 -4px #0002;animation:confetti 1.3s cubic-bezier(.12,.5,.4,1) forwards}.particle:before{content:'';position:absolute;top:-4px;left:4px;width:8px;height:4px;background:inherit;border-radius:2px 2px 0 0}.flying-brick{position:fixed;z-index:110;width:42px;height:42px;pointer-events:none;animation:fly 1s cubic-bezier(.4,-.25,.3,1) both}.victory{position:fixed;inset:0;z-index:90;pointer-events:none;display:grid;place-items:center;visibility:hidden;isolation:isolate}.victory.active{visibility:visible}.victory-content{text-align:center;transform:scale(0);color:white;text-shadow:0 4px 0 #2349a4,2px 0 #2349a4,-2px 0 #2349a4}.victory.active .victory-content{animation:victory-pop 1.55s both}.victory-content>span{display:block;font-size:19px;font-weight:900;transform:rotate(-5deg);color:#fff7b7}.victory-content>strong{display:block;font-size:86px;font-weight:900;line-height:1.15}.victory-loot{display:flex;justify-content:center;align-items:center;gap:10px}.victory-loot img{width:74px;height:74px;filter:drop-shadow(0 5px #193b8333)}.victory-loot b{font-size:80px;line-height:1.1;color:#ffe274}.victory-content>small{display:block;font-size:14px;font-weight:900;margin-top:8px}.victory-rays{position:absolute;inset:0;background:#254b7977;z-index:-1;opacity:0}.victory.active .victory-rays{animation:victory-shade 1.55s both}.reward-ring{position:absolute;width:65px;height:65px;border:9px solid #ffd846;border-radius:50%;animation:reward-ring .8s forwards;box-shadow:0 0 0 8px #ffffff44}.trainer.celebrating{animation:trainer-impact .55s}.wallet.pop{animation:pop .65s}.shake{animation:shake .25s}
@keyframes victory-pop{0%{transform:scale(.15) rotate(-12deg);opacity:0}18%{transform:scale(1.12) rotate(3deg);opacity:1}30%,74%{transform:scale(1) rotate(-3deg);opacity:1}100%{transform:scale(.75) translateY(-70px);opacity:0}}@keyframes victory-shade{0%,100%{opacity:0}18%,74%{opacity:1}}@keyframes confetti{0%{opacity:1;transform:translate(0,0) rotate(0)}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--rot))}}@keyframes reward-ring{to{transform:translate(-50%,-50%) scale(5);opacity:0}}@keyframes fly{0%{opacity:0;transform:translate(0,0) scale(.4)}20%{opacity:1;transform:translate(var(--sx),-70px) scale(1.3)}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.5) rotate(45deg)}}@keyframes trainer-impact{25%{transform:scale(.985);box-shadow:0 0 0 8px #ffda6688}60%{transform:scale(1.008);box-shadow:0 0 0 3px #fff0b766}}@keyframes model-bounce{40%{transform:translateY(-18px) rotate(-3deg)}70%{transform:translateY(5px) rotate(2deg)}}@keyframes assemble{0%{transform:translateY(-70px) rotate(-7deg);opacity:0}70%{transform:translateY(5px) rotate(2deg);opacity:1}100%{transform:none;opacity:1}}@keyframes launch{35%{transform:translateY(-20px)}58%{transform:translateY(-400px);opacity:0}65%{transform:translateY(100px);opacity:0}100%{transform:none;opacity:1}}@keyframes pop{45%{transform:scale(1.2) rotate(-5deg)}}@keyframes build-ready{50%{box-shadow:0 4px #dba625,0 0 0 4px #ffcf4630}}@keyframes shake{25%,75%{translate:-5px 0}50%{translate:5px 0}}
@media(min-width:1550px) and (min-height:850px){.number{font-size:92px}.answer-wrap input{height:80px;width:180px;font-size:48px}#answer-form{grid-template-rows:minmax(90px,1fr) 90px 36px 52px}.column-mode #answer-form{grid-template-rows:minmax(180px,1fr) 36px 52px}.column-row{font-size:40px;min-height:42px}.column-row.result .digit-input{height:57px;font-size:38px}.column-problem{--cell:58px}.construction-heading h2{font-size:27px}}
@media(max-width:950px){.topbar,main,.nav-inner{width:calc(100% - 32px)}.level-info{width:120px}.level-info strong{font-size:9px}.adventure-layout{gap:16px;grid-template-columns:minmax(290px,1fr) minmax(280px,1fr)}.exercise-body{padding-inline:20px}.number{font-size:64px}.construction{padding-inline:14px}.construction-heading h2{font-size:19px}.model-step{font-size:8px;gap:4px}.model-step b{width:21px;height:21px}.build-controls{flex-wrap:wrap;gap:7px}.build-button{margin-left:auto}.build-note{font-size:9px}.mode-switch button{font-size:10px}.achievement-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-height:700px) and (min-width:721px){body{grid-template-rows:56px 40px minmax(0,1fr)}#play-view{grid-template-rows:52px minmax(0,1fr);padding-bottom:12px}#play-view>.page-heading .eyebrow{display:none}.trainer{grid-template-rows:44px minmax(0,1fr) 39px}.exercise-body{padding:8px 20px 4px;grid-template-rows:23px 20px minmax(0,1fr) 25px}#answer-form{grid-template-rows:minmax(43px,1fr) 57px 24px 41px;gap:3px}.number{font-size:58px}.answer-wrap input{height:53px;font-size:34px}.primary{min-height:38px;font-size:14px;padding:8px}.column-mode #answer-form{grid-template-rows:minmax(145px,1fr) 24px 41px}.column-problem{gap:1px;--cell:39px}.column-row{min-height:27px;font-size:27px}.column-row.result{padding-top:3px}.digit-input{height:37px;font-size:26px}.column-row.carry-row{min-height:18px}.carry-input{height:18px;font-size:11px}.round-progress{padding:5px 20px}.round-dots span{height:5px}.construction-heading{padding-top:11px}.construction-heading h2{font-size:20px}.model-steps{margin-bottom:7px}.model-step{padding-block:5px}.build-controls{padding-top:8px}.build-button{min-height:38px;font-size:11px}.model-tag{display:none}}
@media(max-width:720px){body{grid-template-rows:56px 42px minmax(0,1fr)}.topbar,main,.nav-inner{width:calc(100% - 24px)}.topbar{gap:9px}.brand{gap:5px}.brand img{width:30px;height:30px}.brand strong{font-size:25px}.brand small{display:none}.player{gap:0}.level-info{display:none}.level-badge{width:26px;height:26px;font-size:16px;border-radius:5px}.wallet{gap:3px;min-width:62px;padding:5px 8px}.wallet strong{font-size:18px}.wallet img{width:23px;height:23px}#sound{width:33px;height:33px;min-width:33px}#sound .sound-label{display:none}.nav-inner{gap:8px;justify-content:space-between}.nav-tab{font-size:10px;gap:4px}.nav-tab>.lucide{width:15px;height:15px}.nav-tab>span{font-size:8px;padding:2px 3px}.fullscreen-button{display:none}#play-view{grid-template-rows:47px 35px minmax(0,1fr);padding-bottom:12px}#play-view h1{font-size:19px}#play-view .eyebrow{display:none}.streak{padding:4px 8px;gap:5px}.streak b{font-size:17px}.streak small{font-size:6px}.streak>.lucide{width:19px;height:19px}.streak>strong{padding-left:8px;font-size:17px}.mobile-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-items:start}.mobile-switch button{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:900;color:#6685a3;border-bottom:3px solid transparent;padding:4px 5px 6px}.mobile-switch button.active{border-color:#3b6be8;color:#2c59c6}.mobile-switch .lucide{width:15px;height:15px}.mobile-switch span{background:#ffce45;color:#79501e;padding:0 5px;border-radius:3px}.adventure-layout{display:block;position:relative;height:100%}.trainer{width:100%;grid-template-rows:44px minmax(0,1fr) 38px}.construction{display:none;height:100%;width:100%;grid-template-rows:auto minmax(0,1fr) auto auto 26px;padding-inline:18px}.build-panel .construction{display:grid}.build-panel .trainer{display:none}.construction-heading{padding-top:12px}.construction-heading h2{font-size:23px}.world{max-height:none}.model-step{font-size:10px}.model-step b{height:25px;width:25px}.build-controls{flex-wrap:nowrap;padding-top:12px}.build-controls h3{font-size:12px}.build-button{font-size:12px;min-height:43px;padding:9px 11px}.build-note{font-size:10px}.exercise-body{padding:8px 18px 3px;grid-template-rows:24px 20px minmax(0,1fr) 27px}#answer-form{grid-template-rows:minmax(48px,1fr) 55px 26px 82px 43px;gap:4px}.number{font-size:58px}.problem{gap:14px}.operator{font-size:31px}.answer-wrap input{height:52px;width:140px;font-size:34px}.feedback{font-size:10px;line-height:1.25}.primary{min-height:40px;padding:8px;font-size:14px}.keypad{display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:5px}.keypad button{background:#e6edf9;border-radius:5px;border-bottom:3px solid #ccd9ed;font-size:22px;font-weight:900;color:#385b87;display:grid;place-items:center;min-width:0;padding:0}.keypad button:hover{background:#d5e4fc}.keypad button:active{background:#ffde75}.keypad .lucide{width:20px;height:20px}.keypad button:last-child,.keypad button:nth-child(6){background:#fff1d5;color:#997535;border-bottom-color:#e5d4ad}.round-progress{padding:5px 18px;gap:4px 10px}.round-progress small{font-size:8px;width:70px;line-height:1.2}.round-progress>div:first-child{font-size:9px}.round-dots{gap:4px}.round-dots span{height:5px}.hint-button{font-size:10px;min-height:22px}.column-mode .exercise-body{grid-template-rows:24px 0 minmax(0,1fr) 27px}.column-mode .reward-label{visibility:hidden}.column-mode #answer-form{grid-template-rows:minmax(135px,1fr) 24px 82px 43px}.column-problem{--cell:42px;gap:2px}.column-row{min-height:29px;font-size:29px;gap:4px}.column-row.column-labels{min-height:11px;font-size:8px}.column-row.carry-row{min-height:20px}.carry-input{height:20px;font-size:12px}.column-row.result{padding-top:4px}.digit-input{height:39px;font-size:28px}.page-heading{margin:22px 0 18px}.page-heading h1{font-size:25px}.subtitle{font-size:11px}.section-count{max-width:70px;text-align:right;font-size:10px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.model-preview{height:150px}.model-details{padding:12px}.model-details h2{font-size:15px;min-height:37px}.model-tag{font-size:7px}.model-details p{font-size:9px;min-height:25px;margin:7px 0}.model-details button{font-size:10px;padding:9px 3px;gap:4px}.model-state{font-size:8px;top:8px;left:8px}.stats{padding:14px 0;grid-template-columns:repeat(2,1fr);gap:16px}.stat strong{font-size:28px}.achievement-grid{gap:10px}.achievement{padding:17px 9px}.achievement h2{font-size:13px}.achievement p{font-size:10px;min-height:38px}.save-controls{gap:10px}.save-controls>span{flex:1 0 100%;line-height:1.5}.quest-heading{align-items:start}.quest-heading h2{font-size:15px}.quest-heading>span{font-size:8px;max-width:80px;text-align:right;line-height:1.5}.quest{gap:10px;padding:22px 0}.quest-info h3{font-size:13px}.quest-info p{font-size:10px}.quest-icon{width:36px;height:36px}.quest-reward{min-width:66px;font-size:10px}.claim-button{font-size:10px;padding:8px}.victory-content>strong{font-size:62px}.victory-content>span{font-size:16px}.victory-loot b{font-size:65px}.victory-loot img{width:62px;height:62px}.toast{bottom:14px;font-size:11px;padding:12px 16px}}
@media(max-width:720px) and (max-height:620px){#play-view{grid-template-rows:37px 31px minmax(0,1fr);padding-bottom:8px}#play-view h1{font-size:17px}.mobile-switch button{padding:3px 3px 4px;font-size:10px}.trainer{grid-template-rows:39px minmax(0,1fr) 30px}.mode-switch button{font-size:10px;gap:4px}.mode-switch button b{font-size:19px}.exercise-body{padding:5px 16px 2px;grid-template-rows:21px 16px minmax(0,1fr) 22px}.reward-label{font-size:9px}#answer-form{grid-template-rows:minmax(38px,1fr) 44px 24px 69px 36px;gap:3px}.number{font-size:48px}.answer-wrap input{height:42px;font-size:29px;width:120px}.primary{min-height:34px;font-size:13px;padding:5px}.column-mode .exercise-body{grid-template-rows:21px 0 minmax(0,1fr) 22px}.column-mode #answer-form{grid-template-rows:minmax(112px,1fr) 23px 69px 36px}.column-problem{gap:0;--cell:36px}.column-row{min-height:24px;font-size:25px}.column-row.column-labels{min-height:10px}.column-row.carry-row{min-height:17px}.carry-input{height:17px}.column-row.result{padding-top:3px}.digit-input{height:33px;font-size:24px}.round-progress{padding:4px 16px}.round-progress small{font-size:7px}.round-progress>div:first-child{font-size:8px}.round-dots span{height:4px}.keypad button{font-size:19px}.select-wrap select{font-size:10px;padding-block:3px}.select-wrap>.lucide{top:5px}.exercise-top>span{font-size:8px}.hint-button{font-size:9px}.construction-heading h2{font-size:20px}.construction-heading{padding-top:9px}.model-steps{margin-bottom:6px}.model-step{font-size:8px;padding-block:5px}.build-controls{padding-top:7px}.build-controls h3{font-size:10px}.model-tag{display:none}}
@media(max-width:350px){.nav-tab{font-size:9px;gap:3px}.nav-tab>span{display:none}.nav-tab>.lucide{width:13px;height:13px}.topbar{gap:7px}.brand strong{font-size:23px}.brand img{width:25px;height:25px}.wallet{min-width:57px}.level-badge{width:24px;height:24px}.model-step{font-size:8px}.model-step b{width:21px;height:21px}.build-controls h3{font-size:10px}.build-button{font-size:10px;gap:4px}.model-details h2{font-size:14px}}
#effects[aria-pressed=true]{color:#ad7d18;background:#fff1be;border-color:#e9d090}
html:not(.full-effects) *,html:not(.full-effects) *::before,html:not(.full-effects) *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html:not(.full-effects) .particles,html:not(.full-effects) .flying-brick{display:none}
html:not(.full-effects) .victory.active .victory-content{transform:none;opacity:1}
html:not(.full-effects) .victory.active .victory-rays{opacity:1}
@media(max-width:720px){#effects{width:31px;height:33px;flex-shrink:0}.topbar{gap:7px}}
@media(max-width:350px){.player{display:none}}
@media(max-width:720px){.construction #model-status{display:block;font-size:8px}}
@media(max-height:540px) and (min-width:721px){body{grid-template-rows:44px 34px minmax(0,1fr)}#play-view{grid-template-rows:38px minmax(0,1fr);padding-bottom:9px}.brand img{width:30px;height:30px}.brand strong{font-size:25px}.brand small{display:none}.streak{padding:3px 9px}.streak b{font-size:16px}.streak>strong{font-size:17px}#play-view h1{font-size:20px}.trainer{grid-template-rows:36px minmax(0,1fr) 32px}.mode-switch{padding:4px}.mode-switch button{font-size:10px}.exercise-body{grid-template-rows:20px 0 minmax(0,1fr) 22px;padding:4px 18px}.reward-label{visibility:hidden}.column-mode #answer-form{grid-template-rows:minmax(124px,1fr) 22px 36px}#answer-form{grid-template-rows:minmax(34px,1fr) 45px 22px 36px}.number{font-size:49px}.answer-wrap input{height:43px;font-size:29px}.column-row{min-height:23px;font-size:24px}.column-row.carry-row{min-height:17px}.carry-input{height:17px}.digit-input{height:33px;font-size:24px}.primary{min-height:34px}.round-progress{padding-block:3px}.round-progress small{font-size:7px}.round-progress>div:first-child{font-size:8px}.construction-heading h2{font-size:18px}.construction-heading .eyebrow{font-size:8px}.model-step{font-size:9px;padding-block:3px}.model-step b{height:20px;width:20px}.build-controls h3{font-size:10px}.build-button{min-height:34px;padding:6px 10px}}
