@font-face{font-family:Baloo;src:url('assets/fonts/baloo-700.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:DM;src:url('assets/fonts/dm-sans-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:DM;src:url('assets/fonts/dm-sans-700.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--ink:#233d33;--green:#245c42;--green-dark:#19442f;--paper:#faf9f4;--muted:#6b786e;--line:#e5e7dd;--gold:#f5c762;--round:Baloo,'Trebuchet MS',sans-serif;--body:DM,'Segoe UI',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.6 var(--body);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-decoration:none}button,a,input,select{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #6a50a0}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.1}h1,h2,h3,.display{font-family:var(--round);font-weight:700}h1{font-size:clamp(36px,4vw,56px);letter-spacing:-1.7px}h2{font-size:29px;letter-spacing:-.5px}h3{font-size:23px}small{font-size:12px}.icon{width:21px;height:21px;display:inline-block;vertical-align:middle;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.app-shell{display:flex;min-height:100vh}.sidebar{width:238px;flex:none;padding:37px 23px 24px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;background:#f2f3e9;border-right:1px solid #e4e6d8;z-index:5}.brand{display:flex;align-items:center;gap:12px;line-height:.83;font-family:var(--round);font-size:36px;letter-spacing:-1.7px;width:max-content}.brand>span:last-child{display:block}.brand-king{display:block}.brand-dot{color:#b98626}.brand-crown{font-family:Georgia,serif;width:55px;height:65px;display:grid;place-items:center;background:#f8d479;border-radius:20px 20px 24px 24px;transform:rotate(-6deg);font-size:43px;box-shadow:0 4px 0 #e8bd5a}.brand-caption{font-size:8px;letter-spacing:1.6px;font-weight:700;margin-top:21px;color:#7d8472}.sidebar nav{display:grid;gap:9px;margin-top:40px}.sidebar nav a,.sidebar-bottom>a{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:700;padding:13px 14px;border-radius:12px;color:#707a6d}.sidebar nav a:hover,.sidebar-bottom>a:hover{background:#e7ebdd}.sidebar a[aria-current=page]{background:var(--green)!important;color:white!important;box-shadow:0 3px 0 #164b35}.side-note{margin-top:auto;padding:25px 17px 22px;position:relative;border:1px solid #d9dfc7;border-radius:16px;background:#e9eddb}.side-note strong{display:block;font-family:var(--round);font-size:20px;line-height:1.2;width:135px}.side-note p{margin-top:10px;font-size:12px;color:#66745e;line-height:1.65}.side-spark{display:block;color:#af912e;margin-bottom:8px}.little-sprout{position:absolute;bottom:18px;right:15px;font-size:32px;color:#608851;transform:rotate(16deg)}.sidebar-bottom{padding-top:28px}.sidebar-bottom>a{padding-left:9px;font-size:12px}.sidebar-bottom small{font-size:10px;color:#818879;display:block;margin:20px 0 0 10px}.main-shell{margin-left:238px;min-width:0;flex:1}.topbar{height:86px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 44px;background:#fffefa}.topbar-title{font-size:12px;color:#6a746a}.topbar-right{display:flex;align-items:center;gap:18px}.stat-pill{display:flex;align-items:center;gap:8px;background:#f8f0d8;border:1px solid #ecdfb9;border-radius:30px;padding:6px 13px;font-size:12px}.stat-pill .icon{color:#b68429;width:17px}.stat-pill b{font-size:15px}.stat-pill>span:last-child{color:#8c7950}.icon-button{width:38px;height:38px;border:1px solid #e0e4d9;background:transparent;border-radius:50%;display:grid;place-items:center}.icon-button:hover{background:#edf0e5}.avatar{height:39px;width:39px;display:grid;place-items:center;border-radius:50%;background:#e4eadb;color:#456b45;font-size:28px}main{max-width:1370px;margin:auto;padding:34px 44px 35px;outline:none!important}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;text-transform:uppercase;color:#6e805d;display:flex;align-items:center;gap:8px}.eyebrow .icon{width:15px;height:15px}.hero{display:grid;grid-template-columns:1.05fr 1fr;background:#e9efdd;border:1px solid #dce4cc;border-radius:24px;overflow:hidden;min-height:307px;position:relative}.hero-copy{padding:31px 0 31px 34px;position:relative;z-index:1}.hero h1{margin:11px 0 10px;line-height:1.02}.hero h1 span{color:#53824b}.hero p{font-size:13px;max-width:310px;color:#64735c;line-height:1.65}.hero-actions{display:flex;align-items:center;gap:16px;margin-top:20px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:11px;padding:12px 20px;min-height:46px;border:1px solid transparent;border-radius:11px;background:var(--green);color:white;font-size:13px;font-weight:700;box-shadow:0 4px 0 var(--green-dark);transition:transform .15s,box-shadow .15s}.button:hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--green-dark)}.button:active{transform:translateY(2px);box-shadow:0 1px 0 var(--green-dark)}.button.secondary{background:#fffef8;color:var(--ink);border-color:#d7ddce;box-shadow:0 3px 0 #d7ddce}.button.soft{background:#eaf0e1;color:var(--green);box-shadow:none}.button.gold{background:#f4cf75;color:#5e491b;border-color:#e3bb5d;box-shadow:0 4px 0 #d7ad4b}.button:disabled{opacity:.55;transform:none!important;box-shadow:none}.text-button{background:none;border:0;padding:10px 0;color:var(--green);font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:4px}.hero-note{font-size:10px;color:#738164;display:flex;align-items:center;gap:6px}.hero-note .icon{width:13px;height:13px}.hero-art{width:100%;height:100%;min-height:300px;overflow:visible;align-self:end}.hero-art svg{display:block;width:100%;height:100%}.hero-art .cloud{animation:drift 10s ease-in-out infinite alternate}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:29px 0 17px;gap:15px}.section-heading h2{font-size:27px}.section-heading p{font-size:12px;color:var(--muted);margin-top:3px}.progress-caption{font-size:11px;color:#7a806f;white-space:nowrap;display:flex;gap:7px;align-items:center}.progress-caption b{color:#4c6343}.world-map{height:365px;position:relative;border:1px solid #e0e4d4;border-radius:21px;background:#f0f2e6;overflow:hidden;isolation:isolate}.map-pattern{position:absolute;inset:0;background-image:radial-gradient(#a1b58a33 .8px,transparent .8px);background-size:13px 13px;opacity:.5;z-index:-1}.map-route{width:100%;height:100%;position:absolute;inset:0;pointer-events:none}.world-node{position:absolute;transform:translate(-50%,-50%);width:16%;text-align:center;z-index:2}.node-button{display:flex;flex-direction:column;align-items:center;border:0;background:none;width:100%;padding:8px 0;position:relative}.node-island{width:65px;height:65px;display:grid;place-items:center;background:#e1e6d7;border:4px solid #f9faf3;border-radius:22px;box-shadow:0 5px 0 #c5ceba,0 7px 12px #4257340c;font-family:var(--round);font-size:32px;color:#85917a;position:relative;transition:transform .15s}.node-button:hover .node-island{transform:translateY(-5px)}.world-node.active .node-island{background:#668c58;color:white;box-shadow:0 5px 0 #41683b,0 0 0 6px #dae6c8}.world-node.done .node-island{background:#f4d787;border-color:#fff5d7;color:#705922;box-shadow:0 5px 0 #d5b768}.node-button strong{font-size:11px;margin-top:9px;color:#71806a;line-height:1.2}.world-node.active strong,.world-node.done strong{color:var(--ink)}.node-button small{font-size:9px;color:#8a9280;margin-top:3px}.node-lock{position:absolute;right:-7px;bottom:-5px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#f7f8f0;border:1px solid #d9dfd0}.node-lock .icon{width:12px;height:12px;color:#8e9a83}.node-stars{position:absolute;top:-17px;left:0;right:0;color:#a87614;font-size:19px}.you-label{font-size:8px!important;letter-spacing:.8px;text-transform:uppercase;color:#fff!important;background:#466d3e;padding:3px 7px;border-radius:20px;position:absolute;top:-21px;white-space:nowrap}.map-decoration{position:absolute;pointer-events:none;font-size:25px;color:#a8b68e}.map-decoration.d1{left:29%;top:40%;transform:rotate(-20deg)}.map-decoration.d2{right:5%;top:50%;font-size:36px}.map-decoration.d3{left:5%;bottom:11%;font-size:27px}.map-decoration.d4{right:34%;bottom:9%;font-size:20px}.bottom-cards{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-top:20px}.info-card{display:flex;align-items:center;gap:17px;padding:19px 22px;background:#fffefa;border:1px solid var(--line);border-radius:15px;text-align:left;color:var(--ink);width:100%}.info-card:hover{border-color:#acb99b}.info-card-icon{display:grid;place-items:center;background:#eee8f4;border-radius:12px;width:45px;height:48px;color:#8a72a0;flex:none}.info-card:nth-child(2) .info-card-icon{background:#faeed4;color:#b08a38}.info-card h3{font-size:19px}.info-card p{font-size:11px;color:#7a8071;margin-top:4px}.info-card>.icon{margin-left:auto;width:18px}.app-footer{padding:0 44px 22px;display:flex;justify-content:space-between;gap:14px;color:#8b9182;font-size:10px;max-width:1370px;margin:auto}.app-footer span span{color:#568154}.page-heading{margin:8px 0 27px}.page-heading h1{margin-top:7px;font-size:44px}.page-heading p{margin-top:8px;color:#6d7b68;max-width:610px;font-size:14px}.practice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.practice-card{background:#fffefa;border:1px solid var(--line);padding:22px;border-radius:18px;position:relative;overflow:hidden}.table-badge{width:49px;height:49px;border-radius:15px;background:color-mix(in srgb,var(--world-color) 20%,white);color:var(--world-color);font-family:var(--round);font-size:26px;display:grid;place-items:center;margin-bottom:14px}.practice-card h2{font-size:24px}.practice-card p{font-size:12px;min-height:40px;color:var(--muted);margin:8px 0 16px}.card-actions{display:flex;gap:10px;align-items:center}.card-actions .button{padding:9px 14px;font-size:11px;min-height:38px}.review-banner{display:flex;align-items:center;justify-content:space-between;background:#eee8f5;border:1px solid #ded4e8;border-radius:17px;padding:24px;gap:20px;margin-bottom:24px}.review-banner h2{font-size:24px}.review-banner p{font-size:12px;color:#766682;margin-top:5px}.pill{border-radius:20px;background:#e8efdf;color:#60754e;font-size:10px;font-weight:700;padding:4px 10px}.lesson-dialog{border:1px solid #d8dfca;border-radius:24px;padding:0;max-width:760px;width:calc(100% - 28px);max-height:92dvh;background:#fffef8;color:var(--ink);box-shadow:0 25px 100px #15372033}.lesson-dialog::backdrop,.confirm-dialog::backdrop{background:#15302680;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:20px 26px;border-bottom:1px solid var(--line)}.dialog-head span{font-size:11px;font-weight:700;color:#748168}.lesson-content{padding:25px 30px}.lesson-content h2{font-size:33px;margin-top:5px}.lesson-content>p{font-size:14px;color:#6b7862;margin:10px 0 18px;max-width:610px}.lesson-demo{display:grid;grid-template-columns:1fr 1fr;gap:20px;background:#f1f4e9;border:1px solid #dfe5d2;border-radius:16px;padding:20px}.lesson-demo h3{font-size:21px}.lesson-demo label{display:block;font-size:11px;font-weight:700;margin:10px 0 8px}.lesson-demo select{padding:7px;border:1px solid #cbd5bd;border-radius:8px;background:white}.lesson-equation{font-family:var(--round);font-size:29px;color:#3f6b3c}.group-array{display:grid;gap:4px;align-content:center;min-height:100px}.array-row{display:flex;align-items:center;gap:4px;opacity:.25;transition:opacity .15s;flex-wrap:nowrap}.array-row.counted{opacity:1}.array-dot{display:block;width:16px;height:16px;background:#8eae72;border-radius:5px;border:1px solid #709654;flex-shrink:0}.array-row:nth-child(n+6) .array-dot{background:#e5b860;border-color:#ca9c46}.array-row small{font-weight:700;color:#4f7041;margin-left:5px;font-size:10px}.count-description{font-size:11px;color:#697c59;margin:9px 0}.count-button{font-size:11px;padding:8px 12px;min-height:36px}.strategy-card{margin-top:18px;border-left:3px solid #e1b557;padding:4px 0 4px 15px}.strategy-card strong{display:block;font-size:12px}.strategy-card p{font-size:13px;color:#718065;margin-top:5px}.strategy-steps{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.strategy-steps span{background:#f3eedf;padding:5px 9px;border-radius:8px;font-size:12px;font-weight:700}.lesson-foot{padding:20px 30px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.lesson-foot small{max-width:290px;color:#79836d;font-size:11px}.lesson-listen{margin-top:14px}.game-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.game-top>div{display:flex;align-items:center;gap:12px}.back-button{display:flex;align-items:center;gap:6px;border:0;background:none;font-size:12px;color:#6e7c61;padding:7px}.game-progress{width:170px;height:8px;border-radius:20px;background:#e1e7d7;overflow:hidden}.game-progress>span{display:block;background:#7a9c5a;height:100%;transition:width .4s}.game-count{font-size:11px;color:#68785d}.game-layout{display:grid;grid-template-columns:.88fr 1.12fr;gap:23px;align-items:start}.journey-panel{background:#eaf0df;border:1px solid #dae4ca;border-radius:21px;overflow:hidden;position:relative}.journey-panel>header{padding:23px 25px 0}.journey-panel h2{font-size:28px;margin:7px 0}.journey-panel p{font-size:12px;color:#788168}.journey-art{position:relative;height:240px;overflow:hidden;background:linear-gradient(0deg,#c4d8ac 0 24%,#dde9c9 24% 29%,transparent 29%)}.journey-art:before{content:'';position:absolute;width:400px;height:200px;border-radius:50%;background:#d3e2bf;left:-160px;bottom:-90px}.journey-art:after{content:'';position:absolute;width:300px;height:220px;border-radius:50%;background:#bfd3a7;right:-180px;bottom:-140px}.journey-dragon{position:absolute;width:135px;bottom:25px;left:calc(5% + var(--journey-progress)*.5%);transition:left .6s ease-in-out;z-index:2}.journey-dragon svg{width:100%;height:auto;display:block}.journey-chest{position:absolute;right:20px;bottom:47px;font-size:42px;filter:drop-shadow(0 3px 0 #be994a);z-index:1}.journey-cloud{position:absolute;left:35px;top:30px;width:80px;height:24px;background:#fffaf0;border-radius:50px;opacity:.8}.journey-cloud:after{content:'';position:absolute;background:inherit;width:40px;height:40px;bottom:0;left:20px;border-radius:50%}.journey-sun{position:absolute;right:40px;top:20px;border-radius:50%;width:48px;height:48px;background:#efd481}.journey-steps{display:flex;gap:5px;justify-content:center;padding:18px 20px;background:#f3f5ea;border-top:1px solid #d9e3cd}.journey-step{width:25px;height:12px;background:#d9e3c9;border-radius:5px;border-bottom:3px solid #c4d0b5;transition:background .3s}.journey-step.done{background:#e6ba60;border-color:#c49a45}.buddy-note{display:flex;gap:10px;padding:18px 22px;background:#fcfcf4;border-top:1px solid #dfe6d3;font-size:12px;color:#69785f}.buddy-note .icon{color:#b49342;width:18px}.question-card{background:#fffefb;border:1px solid #dfe4d5;border-radius:21px;padding:27px;min-width:0;box-shadow:0 5px 0 #eeeee4}.question-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.question-meta .eyebrow{font-size:9px;letter-spacing:1.3px}.question-card .problem{font:700 clamp(44px,5vw,67px)/1.2 var(--round);letter-spacing:1px;text-align:center;margin:24px 0 7px;color:#284832}.question-story{font-size:13px;text-align:center;color:#708064;min-height:42px;margin-bottom:17px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:13px}.answer{height:69px;background:#f6f7ef;border:2px solid #dde4d3;border-radius:13px;font:700 30px/1 var(--round);box-shadow:0 4px 0 #d7dfcc;transition:transform .15s,background .15s;position:relative}.answer:hover:not(:disabled){background:#edf2e2;border-color:#8baa6e;transform:translateY(-2px)}.answer small{position:absolute;top:8px;left:10px;font:10px var(--body);color:#9aab89}.answer.wrong{background:#fff1dd;border-color:#e1bc7a;box-shadow:0 3px 0 #debe88;color:#9e773d}.answer.correct{background:#e1edce;border-color:#87a863;box-shadow:0 3px 0 #749954}.answer:disabled:not(.wrong):not(.correct){opacity:.5}.feedback{margin-top:20px;background:#f4f5ed;border-radius:11px;padding:12px 14px;font-size:12px;color:#6d7d61;min-height:45px}.feedback.success{background:#e8f1db;color:#496c35}.feedback.try{background:#fff1da;color:#8b672b}.question-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px}.question-actions .text-button{font-size:11px}.hint-panel{margin-top:16px;background:#f5f2e8;border:1px solid #e8dfc7;border-radius:12px;padding:15px}.hint-panel h3{font-size:19px}.hint-panel .group-array{margin:12px 0}.hint-panel>p{font-size:12px;color:#787454}.hint-panel .array-dot{width:13px;height:13px;border-radius:4px}.type-form{display:flex;gap:10px;margin-top:17px}.type-form input{min-width:0;width:100%;text-align:center;font:700 32px var(--round);border-radius:12px;border:2px solid #ccd8bf;background:#fafcf6;padding:8px}.type-form input:disabled{opacity:.6}.keyboard-note{font-size:10px;text-align:center;margin-top:14px;color:#8b957f}.result-panel{max-width:730px;margin:16px auto;text-align:center;padding:38px;background:#f0f3e6;border:1px solid #dce4cd;border-radius:24px}.result-dragon{width:150px;margin:0 auto 10px}.result-panel h1{font-size:44px}.result-panel>p{font-size:14px;color:#708064;margin:12px auto;max-width:480px}.result-stats{display:flex;gap:12px;justify-content:center;margin:25px 0}.result-stat{padding:18px;background:#fffdf5;border:1px solid #e5e6d5;border-radius:15px;min-width:130px}.result-stat strong{display:block;font:700 29px var(--round);line-height:1.2}.result-stat span{font-size:11px;color:#7b816e}.result-actions{display:flex;justify-content:center;gap:13px;flex-wrap:wrap}.result-tip{padding-top:20px;font-size:11px!important}.treasure-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.treasure-item{text-align:center;background:#fffdf7;border:1px solid var(--line);border-radius:18px;padding:23px 18px}.treasure-item .dragon{width:120px;height:140px;max-width:100%;margin:0 auto 10px}.treasure-item h2{font-size:23px}.treasure-item p{font-size:11px;color:#76836a;margin:8px 0 17px;min-height:34px}.treasure-item .button{font-size:12px;padding:10px 13px;width:100%}.treasure-item.selected{border:2px solid #94ac7a;background:#f0f4e5}.collection{padding:25px;border:1px solid var(--line);border-radius:18px;background:#fffdf7;margin-top:26px}.collection h2{font-size:26px}.collection>p{font-size:12px;color:var(--muted);margin:7px 0 20px}.crown-collection{display:grid;grid-template-columns:repeat(10,1fr);gap:8px}.crown-badge{text-align:center;color:#a4ac98;border-radius:12px;background:#f1f2e9;padding:10px 3px}.crown-badge.earned{color:#a87e28;background:#fff0c9}.crown-badge strong{font-size:29px;display:block;line-height:1.3}.crown-badge span{font-size:10px}.parent-note{padding:22px;background:#eaf0e1;border:1px solid #dbe4cf;border-radius:16px;font-size:13px;line-height:1.8;margin-bottom:23px}.parent-note strong{display:block;margin-bottom:6px}.parent-note a{color:var(--green);text-decoration:underline}.parent-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:23px}.parent-summary>div{padding:21px;background:#fffdf8;border:1px solid var(--line);border-radius:15px}.parent-summary strong{display:block;font:700 33px var(--round)}.parent-summary span{font-size:12px;color:var(--muted)}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:15px;background:#fffdf8}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px;text-align:left}th,td{padding:15px 20px;border-bottom:1px solid #edf0e5}th{background:#eff2e7;color:#6d7a63;font-size:10px;letter-spacing:.4px}tr:last-child td{border-bottom:0}.parent-actions{margin-top:25px;display:flex;gap:15px;flex-wrap:wrap}.data-note{font-size:11px;color:#7b8670;margin:15px 0;max-width:700px}.review-tags{display:flex;gap:9px;flex-wrap:wrap}.review-tags button{background:#eee8f5;border:1px solid #dfd3ec;border-radius:10px;padding:8px 14px;color:#7d6293;font-weight:700}.empty-state{padding:30px;text-align:center;color:#7d8b72;font-size:13px}.confirm-dialog{padding:28px;border:0;border-radius:18px;background:#fffdf6;color:var(--ink);max-width:460px;width:calc(100% - 30px)}.confirm-dialog p{margin:13px 0 23px;font-size:14px;color:#6d7e60}.confirm-actions{display:flex;gap:13px;justify-content:flex-end}.toast{position:fixed;bottom:27px;left:calc(50% + 119px);transform:translateX(-50%) translateY(100px);padding:13px 22px;border-radius:15px;background:#245c42;color:white;box-shadow:0 5px 25px #153b2933;z-index:20;transition:transform .25s;font-size:13px;max-width:90vw;text-align:center}.toast.visible{transform:translateX(-50%) translateY(0)}.confetti{position:fixed;inset:0;pointer-events:none;z-index:30;overflow:hidden}.confetti i{position:absolute;top:-20px;width:9px;height:15px;border-radius:3px;animation:fall 2s ease-in forwards}.skip-link{position:fixed;top:-80px;left:15px;padding:10px;background:#fff;color:var(--green);z-index:100}.skip-link:focus{top:12px}.noscript{position:fixed;inset:30% 20%;padding:30px;background:white;z-index:100}.dragon{display:block}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@keyframes drift{to{transform:translateX(15px)}}@keyframes fall{to{transform:translateY(105vh) rotate(540deg)}}
@media(min-width:1500px){.hero{min-height:345px}.hero-copy{padding:40px}.hero h1{font-size:62px}.hero p{font-size:14px}.world-map{height:400px}.node-island{width:73px;height:73px;font-size:36px}.node-button strong{font-size:12px}}
@media(max-width:1150px){.sidebar{width:202px;padding:30px 16px}.brand{font-size:32px}.brand-caption{font-size:7px}.sidebar nav a{font-size:11px;padding:12px 10px;gap:8px}.main-shell{margin-left:202px}.topbar{padding:0 28px}main{padding:26px 28px}.hero-copy{padding:27px 0 27px 25px}.hero h1{font-size:44px}.hero p{font-size:12px}.hero-art{min-height:280px}.hero-actions{gap:10px}.hero-note{display:none}.node-button strong{font-size:10px}.app-footer{padding:0 28px 22px}.toast{left:calc(50% + 101px)}.game-layout{grid-template-columns:.8fr 1.2fr}.question-card{padding:22px}.treasure-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.sidebar{width:85px;padding:25px 10px;align-items:center}.brand>span:last-child,.brand-caption,.side-note,.sidebar-bottom small{display:none}.brand{gap:0}.brand-crown{width:47px;height:55px;font-size:36px}.sidebar nav{width:100%;margin-top:35px}.sidebar nav a,.sidebar-bottom>a{font-size:0;justify-content:center;padding:15px;gap:0}.sidebar nav a .icon,.sidebar-bottom .icon{width:24px;height:24px}.sidebar-bottom{margin-top:auto;width:100%}.main-shell{margin-left:85px}.toast{left:calc(50% + 42px)}.topbar-title{font-size:11px}.hero h1{font-size:40px}.hero p{font-size:12px}.hero{grid-template-columns:1.1fr 1fr}.hero-art{min-height:260px}.hero-copy{padding:24px 0 24px 24px}.hero-actions .button{padding:11px 14px;font-size:12px}.eyebrow{font-size:9px}.practice-grid{grid-template-columns:repeat(2,1fr)}.bottom-cards{gap:12px}.info-card{padding:15px;gap:11px}.info-card h3{font-size:18px}.info-card p{font-size:10px}.info-card-icon{width:35px;height:39px}.game-layout{grid-template-columns:1fr}.journey-panel{display:grid;grid-template-columns:1fr 1fr}.journey-panel>header{padding:23px}.journey-art{height:175px}.journey-dragon{width:110px;bottom:14px}.journey-steps{grid-column:1/-1;padding:12px}.buddy-note{display:none}.journey-panel h2{font-size:26px}.question-card{max-width:640px;width:100%;margin:auto}.crown-collection{grid-template-columns:repeat(5,1fr)}.app-footer{font-size:9px}.question-card .problem{margin-top:17px}.answer{height:66px}}
@media(max-width:620px){.sidebar{inset:auto 0 0;width:100%;height:68px;padding:6px 8px;flex-direction:row;background:#f8f9f0;border-top:1px solid #dce2cf;border-right:0;box-shadow:0 -4px 20px #344a2110}.sidebar .brand{display:none}.sidebar nav{margin:0;display:flex;flex:1;gap:3px}.sidebar nav a{flex:1;padding:12px 6px;border-radius:10px}.sidebar-bottom{margin:0;width:57px;padding:0}.sidebar-bottom>a{padding:12px 5px}.main-shell{margin-left:0;padding-bottom:68px}.topbar{height:66px;padding:0 20px}.topbar-title{font-size:11px;font-weight:700;max-width:130px;line-height:1.4}.topbar-right{gap:10px}.avatar{display:none}.stat-pill{padding:5px 10px;font-size:10px;gap:6px}.stat-pill>span:last-child{display:none}.icon-button{width:34px;height:34px}main{padding:20px 16px 27px}.hero{grid-template-columns:1fr;min-height:0;border-radius:20px}.hero-copy{padding:25px 25px 0}.hero h1{font-size:43px;margin-top:10px;line-height:.99}.hero p{font-size:12px;max-width:260px}.hero-actions{margin-top:17px}.hero-note{display:flex;font-size:9px}.hero-art{min-height:0;height:175px;margin-top:-10px;margin-left:40px;width:calc(100% - 35px);pointer-events:none}.hero-art svg{width:100%;height:100%;object-fit:contain}.hero-copy .eyebrow{font-size:8px;letter-spacing:1.5px}.section-heading{margin-top:24px;align-items:center}.section-heading h2{font-size:25px}.section-heading p{font-size:11px}.progress-caption{font-size:10px}.progress-caption .icon{display:none}.world-map{height:720px}.node-island{width:64px;height:64px}.world-node{width:42%}.node-button strong{font-size:12px}.node-button small{font-size:10px}.map-route.desktop{display:none}.map-route.mobile{display:block}.world-node:nth-of-type(1){left:26%!important;top:11%!important}.world-node:nth-of-type(2){left:74%!important;top:11%!important}.world-node:nth-of-type(3){left:74%!important;top:30%!important}.world-node:nth-of-type(4){left:26%!important;top:30%!important}.world-node:nth-of-type(5){left:26%!important;top:49%!important}.world-node:nth-of-type(6){left:74%!important;top:49%!important}.world-node:nth-of-type(7){left:74%!important;top:68%!important}.world-node:nth-of-type(8){left:26%!important;top:68%!important}.world-node:nth-of-type(9){left:26%!important;top:87%!important}.world-node:nth-of-type(10){left:74%!important;top:87%!important}.bottom-cards{grid-template-columns:1fr}.info-card{padding:18px}.info-card h3{font-size:21px}.info-card p{font-size:11px}.info-card-icon{width:42px;height:43px}.app-footer{padding:0 20px 20px;display:block;line-height:2;font-size:9px}.app-footer>span{display:block}.toast{left:50%;bottom:85px;width:max-content}.page-heading h1{font-size:37px}.page-heading p{font-size:13px}.practice-grid{gap:12px}.practice-card{padding:17px}.practice-card h2{font-size:23px}.practice-card p{font-size:11px;min-height:47px}.card-actions{flex-wrap:wrap;gap:5px}.card-actions .text-button{padding:9px 4px}.table-badge{width:43px;height:43px;font-size:24px}.review-banner{padding:20px;flex-wrap:wrap;gap:14px}.review-banner h2{font-size:24px}.lesson-content{padding:22px 20px}.lesson-content h2{font-size:28px}.lesson-content>p{font-size:13px}.lesson-demo{grid-template-columns:1fr;gap:10px;padding:16px}.lesson-demo .group-array{justify-content:center}.lesson-foot{padding:19px 20px;align-items:stretch;flex-direction:column}.lesson-foot small{max-width:none}.dialog-head{padding:15px 20px}.game-top{gap:10px}.game-top>div{gap:8px}.game-progress{width:80px}.game-count{font-size:10px}.back-button{font-size:11px;padding:6px 0}.journey-panel>header{padding:18px 0 10px 18px}.journey-panel h2{font-size:24px}.journey-panel p{font-size:10px}.journey-panel .eyebrow{font-size:8px}.journey-art{height:150px}.journey-dragon{width:94px;bottom:12px}.journey-chest{font-size:32px;right:7px;bottom:28px}.journey-sun{width:36px;height:36px;right:16px;top:15px}.journey-cloud{left:13px;top:42px;width:60px;height:16px}.journey-cloud:after{width:27px;height:27px;left:14px}.game-layout{gap:16px}.question-card{padding:20px}.question-card .problem{font-size:53px}.question-story{font-size:12px}.answer{height:62px}.question-actions{gap:7px}.question-actions .text-button{font-size:10px}.question-actions .button{font-size:12px;padding:10px 13px}.result-panel{padding:28px 18px}.result-panel h1{font-size:36px}.result-stats{gap:8px}.result-stat{min-width:0;flex:1;padding:14px 8px}.result-stat strong{font-size:28px}.result-stat span{font-size:10px}.result-actions{flex-direction:column}.treasure-grid{gap:13px}.treasure-item{padding:20px 12px}.treasure-item h2{font-size:21px}.treasure-item .dragon{width:110px;height:120px}.collection{padding:20px}.parent-summary{gap:9px}.parent-summary>div{padding:14px 9px}.parent-summary strong{font-size:28px}.parent-summary span{font-size:10px}.parent-note{font-size:12px;padding:18px}th,td{padding:13px}.parent-actions .button{font-size:11px;padding:11px 14px}.keyboard-note{display:none}}
@media(min-width:621px){.map-route.mobile{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}}
