@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(./nunito-latin-400-normal-CA33qtOw.woff2) format("woff2"),url(./nunito-latin-400-normal-nExtXIcZ.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(./nunito-latin-600-normal-BupoeBnc.woff2) format("woff2"),url(./nunito-latin-600-normal-BIldxhQs.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(./nunito-latin-700-normal-CGDVIs8t.woff2) format("woff2"),url(./nunito-latin-700-normal-C5gyHyFo.woff) format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(./nunito-latin-800-normal-BQmuGLSm.woff2) format("woff2"),url(./nunito-latin-800-normal-DGg9yqR-.woff) format("woff")}@font-face{font-family:"Baloo 2";font-style:normal;font-display:swap;font-weight:600;src:url(./baloo-2-latin-600-normal-DAziwwGU.woff2) format("woff2"),url(./baloo-2-latin-600-normal-UkHUskCM.woff) format("woff")}@font-face{font-family:"Baloo 2";font-style:normal;font-display:swap;font-weight:700;src:url(./baloo-2-latin-700-normal-DpwkDI0o.woff2) format("woff2"),url(./baloo-2-latin-700-normal-BEjgkRac.woff) format("woff")}:root{font-family:Nunito,system-ui,sans-serif;color:#294b38;background:#f8f9f2;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#294b38;--deep:#214b34;--green:#3f8054;--green-dark:#2f7147;--muted:#7b8d78;--paper:#f8f9f2;--line:#e4eadc;--yellow:#f3c35e;--white:#fff;--shadow:0 12px 35px rgba(50,85,52,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f2ae48;outline-offset:3px}button:disabled{cursor:not-allowed}button,select{border:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:"Baloo 2",Nunito,sans-serif;line-height:1.1;letter-spacing:-.03em}p{line-height:1.6}img{display:block;max-width:100%}.icon{width:20px;height:20px;flex:none;display:inline-block}.loading-shell{min-height:100vh;display:grid;place-items:center;color:var(--green);font-weight:800}.topbar{height:82px;background:#fff;border-bottom:1px solid #edf0e8;position:relative;z-index:20}.topbar-inner{height:100%;max-width:1400px;margin:auto;padding:0 38px;display:flex;align-items:center;gap:45px}.brand{border:0;background:none;padding:0;display:flex;align-items:center;text-align:left;gap:11px;color:var(--deep);white-space:nowrap}.brand-mark{height:42px;width:42px;display:grid;place-items:center;background:#4d8e60;border-radius:14px;box-shadow:inset 0 -3px #1e582e24;color:#fff}.brand-mark .icon{width:25px;height:25px}.brand-text{display:flex;flex-direction:column;gap:1px}.brand-text strong{font-family:"Baloo 2",sans-serif;font-size:20px;line-height:1;letter-spacing:.015em}.brand-text i{font-style:normal;color:#e4a33e;font-size:13px}.brand-text small{font-size:9px;font-weight:900;letter-spacing:.18em;color:#91a28b}.topnav{display:flex;align-items:center;gap:34px;height:100%;margin-left:auto}.nav-link{align-self:stretch;background:none;color:#879481;font-weight:800;font-size:13px;padding:2px 0 0;position:relative}.nav-link:hover,.nav-link.active{color:#3f8054}.nav-link.active:after{content:"";position:absolute;height:3px;bottom:0;left:0;right:0;border-radius:3px;background:#6cad74}.top-actions{display:flex;align-items:center;gap:18px}.icon-btn{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f3f6ee;color:#6f8b71;padding:0}.icon-btn:hover{background:#e9f1e4;color:#376b48}.teacher-link{display:flex;align-items:center;gap:8px;padding:11px 15px;background:#fff;border:1px solid #e2eadf;border-radius:11px;color:#4e7456;font-size:12px;font-weight:900;white-space:nowrap}.teacher-link .icon{width:17px;height:17px}.teacher-link:hover{background:#f4f8f1}.home-page,.page-container{width:min(1320px,calc(100% - 76px));margin:0 auto}.home-page{padding-top:34px}.hero{min-height:472px;display:grid;grid-template-columns:43% 57%;background:#eef5e7;border-radius:28px;overflow:hidden;position:relative}.hero-copy{padding:61px 20px 44px 55px;position:relative;z-index:2}.eyebrow{font-size:10px;font-weight:900;letter-spacing:.17em;color:#79a47b;text-transform:uppercase}.hero-eyebrow{display:inline-flex;gap:7px;align-items:center;background:#e4efdd;color:#6e9e6e;border:1px solid #d8e9d0;padding:8px 11px;border-radius:30px;letter-spacing:.12em}.tiny-sun{font-size:13px;color:#e5a94f}.hero h1{font-size:clamp(42px,4.4vw,65px);line-height:1.05;letter-spacing:-.045em;color:#244c35;margin-top:19px}.hero h1 em{font-style:normal;color:#609b5e}.hero-copy>p{font-size:16px;color:#71856e;max-width:400px;margin-top:17px;line-height:1.75}.hero-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:25px}.btn{border-radius:12px;padding:13px 19px;min-height:48px;display:inline-flex;justify-content:center;align-items:center;gap:10px;font-weight:900;font-size:13px;transition:transform .18s,background .18s,box-shadow .18s;text-decoration:none;line-height:1.2}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn-primary{background:#3f8054;color:#fff;box-shadow:0 4px #316e45,0 9px 16px #37774926}.btn-primary:hover:not(:disabled){background:#347349}.btn-primary:disabled{background:#c9d8c7;box-shadow:none;color:#f6faf3}.btn-lg{min-height:54px;padding:15px 21px}.btn .icon{width:17px;height:17px}.btn-plain{background:transparent;color:#62826a;padding-left:7px;padding-right:7px}.play-circle{display:inline-grid;place-items:center;width:32px;height:32px;background:#fff;border-radius:50%;font-size:10px;color:#6d9c72;box-shadow:0 2px 9px #dfeadb}.btn-outline{background:#fff;border:1px solid #dbe6d9;color:#5d7d62;box-shadow:none}.btn-outline:hover{background:#f6faf3}.btn-soft{background:#eaf4e7;color:#438454}.btn-help{background:#fff8e8;border:1px solid #f3e2ba;color:#b38135;position:relative}.btn-help small{margin-left:auto;opacity:.7}.btn-small{min-height:38px;padding:9px 13px;font-size:12px}.wide{width:100%}.hero-note{display:flex;align-items:center;gap:12px;margin-top:35px;color:#8a9b83;font-size:11px;font-weight:800}.avatar-stack{display:flex;padding-left:1px}.avatar-stack b{width:29px;height:29px;margin-left:-3px;border-radius:50%;background:#fbdca6;border:2px solid #eef5e7;display:grid;place-items:center;font-size:15px}.avatar-stack b:nth-child(2){background:#faeaa5}.avatar-stack b:nth-child(3){background:#d7e9bc}.hero-art{height:100%;min-height:472px;position:relative;overflow:hidden}.hero-art img{width:100%;height:100%;position:absolute;object-fit:cover;object-position:62% center}.hero-art:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#eef5e7 0%,rgba(238,245,231,.58) 9%,transparent 29%);pointer-events:none}.art-badge{position:absolute;z-index:2;bottom:35px;right:28px;display:flex;gap:10px;align-items:center;padding:11px 15px;background:#fffff8ed;border:1px solid rgba(255,255,255,.9);border-radius:13px;box-shadow:0 10px 22px #364b3420}.art-badge>span{font-size:23px}.art-badge div{display:flex;flex-direction:column;gap:2px}.art-badge strong{font-size:11px;color:#446d4a}.art-badge small{font-size:9px;color:#91a38b}.art-sparkle{position:absolute;z-index:2;right:35%;top:11%;font-size:35px;color:#fff9cb;text-shadow:0 3px 20px #fff}.home-meta{display:flex;justify-content:center;gap:70px;padding:23px 0;color:#91a08c;font-size:12px;font-weight:800;border-bottom:1px solid #e9eee4}.home-meta span{display:flex;align-items:center;gap:8px}.home-meta b{font-size:19px;color:#8db280}.journey-section{padding:45px 0 23px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.section-heading h2{font-size:31px;margin-top:8px}.section-heading p{font-size:13px;color:#97a391;margin-top:7px}.text-button{padding:7px 0;background:none;color:#62936b;font-weight:900;font-size:12px;display:inline-flex;gap:8px;align-items:center;white-space:nowrap}.text-button .icon{width:16px;height:16px}.preview-levels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:24px}.preview-card{background:#fff;border:1px solid #e8eee5;border-radius:16px;padding:15px 12px;display:flex;align-items:center;gap:10px;text-align:left;box-shadow:0 4px 14px #44603d06;color:var(--ink);min-height:85px}.preview-card:hover{border-color:#b6d3b2;transform:translateY(-2px)}.preview-icon,.level-illustration{background:var(--tile);display:grid;place-items:center;flex:none}.preview-icon{height:47px;width:47px;border-radius:14px;font-size:23px}.preview-copy{display:flex;min-width:0;flex-direction:column;gap:2px}.preview-copy small{font-size:8px;color:#a9b7a3;letter-spacing:.1em;font-weight:900}.preview-copy strong{font-size:11px;line-height:1.25}.preview-copy em{font-size:10px;font-style:normal;color:#a0ada0;line-height:1.25}.preview-arrow{font-size:15px;color:#b1c3af;margin-left:auto;align-self:start}.teacher-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f1f6eb;border:1px solid #e5eee0;border-radius:16px;margin-top:20px;padding:18px 23px}.teacher-strip>div{display:flex;align-items:center;gap:14px}.strip-icon{display:grid;place-items:center;height:42px;width:42px;border-radius:12px;background:#deecd8;color:#6a9b6d;font-size:24px}.teacher-strip strong{font-size:13px}.teacher-strip p{font-size:11px;color:#90a18c;margin-top:2px}.footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:35px 0;color:#a4b1a0;font-size:10px}.footer button{background:none;color:#91a58f;font-weight:800}.footer b{color:#719873}.settings-fab{position:fixed;bottom:20px;right:20px;z-index:19;border-radius:50%;width:45px;height:45px;display:grid;place-items:center;color:#64876b;background:#fff;box-shadow:0 5px 20px #3f5e3b22;border:1px solid #e4ede0}.settings-fab:hover{background:#edf5ea}.settings-fab .icon{width:19px;height:19px}.map-page{padding:39px 0 70px}.map-title-row,.teacher-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.map-title-row h1,.teacher-heading h1{font-size:40px;margin-top:7px}.map-title-row h1 span{font-family:sans-serif;font-size:22px;color:#e6b457}.map-title-row p,.teacher-heading p{font-size:13px;color:#93a08d;margin-top:4px}.player-chip{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e7eee3;border-radius:13px;padding:8px 10px}.player-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#f5e2c5;font-size:22px}.player-chip div{display:flex;flex-direction:column;min-width:55px}.player-chip small{font-size:8px;font-weight:900;letter-spacing:.13em;color:#b1bcae}.player-chip strong{font-size:13px}.player-chip button{background:none;color:#91ad90;font-size:20px}.map-hero{margin-top:23px;height:230px;border-radius:22px;overflow:hidden;position:relative;background:#8cb866}.map-hero img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center 55%}.map-hero:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,rgba(30,80,46,.88),rgba(44,97,50,.54) 39%,transparent 75%)}.map-hero-content{position:absolute;z-index:1;left:33px;top:29px;color:#fff}.map-pill{display:inline-block;border-radius:20px;padding:7px 11px;background:#ffffff25;font-size:9px;font-weight:900;letter-spacing:.12em}.map-hero h2{font-size:36px;margin-top:12px;line-height:1.05}.map-hero p{font-size:11px;max-width:315px;margin-top:8px;color:#edf6df}.map-stats{position:absolute;z-index:1;right:22px;bottom:18px;display:flex;gap:8px}.map-stats>span{background:#fffdf0ed;border:1px solid #fff8;min-width:82px;border-radius:11px;padding:9px 12px;font-size:15px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:1px 5px}.map-stats strong{font-size:15px;color:#486b49}.map-stats small{grid-column:2;font-size:9px;color:#99a693;font-weight:800}.map-section-head{margin-top:35px}.map-section-head h2{font-size:27px}.map-hint{font-size:11px;color:#a0ad9c}.level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:19px}.level-card{text-align:left;background:#fff;border:1px solid #e5ece1;border-radius:17px;padding:18px;color:var(--ink);box-shadow:0 5px 18px #41644509;transition:transform .16s,border .16s}.level-card:not(:disabled):hover{transform:translateY(-3px);border-color:#a9cba7;box-shadow:0 10px 25px #41644513}.level-card.locked{background:#f8faf5;opacity:.66}.level-card-top,.level-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px}.level-num,.level-state{font-size:9px;font-weight:900;letter-spacing:.1em}.level-num{color:#a3b39c}.level-state{color:#82ac82;font-size:8px;display:flex;align-items:center;gap:3px}.level-state .icon{width:11px;height:11px}.locked .level-state{color:#a8b3a6}.level-middle{display:flex;align-items:center;gap:14px;margin:19px 0}.level-illustration{width:66px;height:66px;border-radius:18px;font-size:33px}.locked .level-illustration{filter:grayscale(.45)}.level-middle h3{font-size:19px;line-height:1.12}.level-middle p{font-size:11px;color:#99a697;margin-top:4px}.level-card-bottom{border-top:1px solid #eff3ec;padding-top:13px;color:#a6b2a2;font-size:10px;font-weight:800}.level-card-bottom b{color:#78a47e}.little-star{color:#e8b853}.map-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:26px;color:#91a28d;font-size:12px;font-weight:700}.game-page{padding:25px 0 70px}.game-topline{display:flex;align-items:center;gap:22px}.back-link{background:none;color:#76937b;display:inline-flex;align-items:center;gap:8px;padding:8px 0;font-size:12px;font-weight:900;white-space:nowrap}.back-link .icon{width:17px;height:17px}.game-progress{width:min(385px,42vw);margin-left:auto}.game-progress>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:10px;color:#a0ad9d;font-weight:800}.game-progress strong{font-size:9px;letter-spacing:.12em;color:#82a984}.progress-track{height:7px;border-radius:10px;background:#e5ecdf;overflow:hidden}.progress-track span{display:block;height:100%;background:#83bc76;border-radius:10px;transition:width .3s}.game-top-chip{padding:9px 12px;border-radius:10px;background:#fff8e8;color:#ba9653;font-size:11px;white-space:nowrap;font-weight:800}.game-top-chip b{font-size:13px}.game-heading{display:flex;justify-content:space-between;align-items:end;margin:26px 0 18px}.game-heading h1{font-size:35px;margin-top:6px}.game-player{font-size:11px;color:#819681;font-weight:900;padding:8px 12px;background:#edf3e9;border-radius:20px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:20px;align-items:start}.stage-column{min-width:0}.question-card{display:flex;gap:14px;align-items:center;background:#fff;border:1px solid #e6ece2;border-radius:16px;padding:16px 18px;margin-bottom:13px;box-shadow:0 4px 16px #3c5c3b06}.question-no{display:grid;place-items:center;width:38px;height:38px;flex:none;background:#e7f2e4;border-radius:12px;color:#6d9e70;font-family:"Baloo 2";font-size:20px;font-weight:700}.question-card>div:nth-child(2){min-width:0;flex:1}.question-card small,.guide-card small{display:block;font-size:9px;letter-spacing:.13em;color:#aac1a6;font-weight:900;margin-bottom:4px}.question-card h2{font-family:Nunito,sans-serif;letter-spacing:0;line-height:1.45;font-size:15px;font-weight:900;color:#3b5d43}.read-button{flex:none;width:36px;height:36px;border-radius:10px}.read-button .icon{width:17px;height:17px}.canvas-shell{height:470px;border-radius:20px;overflow:hidden;position:relative;background:#e7f3e8;border:1px solid #dfeadd}.canvas-shell canvas{display:block;width:100%;height:100%;touch-action:none}.canvas-caption{position:absolute;top:16px;left:18px;z-index:2;color:#719475;font-weight:900;letter-spacing:.12em;font-size:9px;pointer-events:none}.canvas-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#83b87a;margin-right:5px}.caption-sep{color:#c1d2be;margin:0 4px}.canvas-chip{position:absolute;bottom:16px;left:17px;z-index:2;background:#fffcf1ef;border:1px solid #ffffff;border-radius:11px;padding:9px 12px;font-size:11px;color:#88a083;font-weight:900;box-shadow:0 4px 15px #6e8b6d20;pointer-events:none}.canvas-chip strong{font-size:14px;color:#4f8058;margin-left:5px}.webgl-fallback{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:40px;text-align:center;font-weight:800;color:#6e9271}.webgl-fallback[hidden]{display:none}.groups-panel{background:#fff;border:1px solid #e6ece1;border-radius:16px;margin-top:12px;padding:16px 18px}.groups-panel.is-hidden{display:none}.group-controls-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.group-controls-head>div{display:flex;flex-direction:column;gap:3px}.group-controls-head strong{font-size:12px}.group-controls-head small{font-size:10px;color:#a0aea0}.subtle-link{background:none;color:#82a68a;font-size:10px;font-weight:900}.group-controls-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.group-control{display:flex;align-items:center;gap:9px;background:#f6f9f3;border:1px solid #e9f0e6;border-radius:10px;padding:6px 7px 6px 10px}.group-name{font-size:10px;font-weight:900;color:#78967d}.group-control>div{display:flex;align-items:center;gap:7px}.group-control button,.array-controls button{width:29px;height:29px;border-radius:8px;background:#fff;color:#75a57d;font-size:18px;font-weight:800;display:grid;place-items:center;line-height:1}.group-control button:disabled{color:#c9d4c7;background:#f3f6f1}.group-control strong{font-size:12px;min-width:10px;text-align:center}.stage-tip{margin-top:14px;font-size:11px;color:#9ba99a}.stage-tip span{color:#e7ba65;font-size:17px;padding-right:5px}.mission-panel{background:#fff;border:1px solid #e5ece1;border-radius:18px;overflow:hidden;box-shadow:0 7px 25px #41644508}.guide-card{background:#f2f7ec;display:flex;gap:12px;padding:19px 18px;border-bottom:1px solid #e7f0e1}.guide-face{width:54px;height:54px;flex:none;border:3px solid #fff;border-radius:50%;overflow:hidden;background:#e5d0a4}.guide-face img{width:140px;max-width:none;height:80px;object-fit:cover;object-position:center;transform:translate(-72px,-13px)}.guide-card strong{font-family:"Baloo 2";font-size:17px;line-height:1.1;display:block}.guide-card p{font-size:11px;color:#809a7c;line-height:1.45;margin-top:5px}.activity-area{padding:19px}.activity-info span{font-size:9px;letter-spacing:.13em;font-weight:900;color:#a3b59d}.activity-info p{font-size:12px;color:#728b70;margin:7px 0 16px;line-height:1.55}.input-label{display:block;color:#789377;font-weight:900;font-size:11px;margin:14px 0 7px}.answer-box{display:flex;align-items:center;border:1.5px solid #e4ecdf;border-radius:11px;background:#fafcf8;padding:4px 11px;min-height:48px}.answer-box:focus-within{border-color:#91c296}.answer-box input{width:100%;border:0;outline:0;background:transparent;color:#3e7650;font-weight:900;font-size:21px;min-width:0}.answer-box span{font-size:10px;color:#a6b7a1;font-weight:900}.answer-large{min-height:53px}.answer-large input{font-size:25px}.answer-box input::-webkit-inner-spin-button,.fact-cards input::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.jump-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.jump-stats>div{background:#f3f8f0;border-radius:11px;padding:10px}.jump-stats small{display:block;font-size:8px;color:#a4b7a0;font-weight:900;letter-spacing:.08em}.jump-stats strong{font-family:"Baloo 2";font-size:26px;color:#6f9e73}.jump-stats+.btn{font-size:12px}.array-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.array-controls>div{background:#f6f9f3;border-radius:10px;padding:9px}.array-controls small{display:block;font-size:8px;font-weight:900;letter-spacing:.1em;color:#a5b5a1;margin-bottom:6px}.array-controls span{display:flex;align-items:center;justify-content:space-between}.array-controls b{font-size:14px;color:#628e68}.array-total{font-size:10px;color:#95a890;margin:9px 0}.fact-cards{display:grid;grid-template-columns:1fr 1fr;gap:6px}.fact-cards label{display:flex;align-items:center;justify-content:center;gap:3px;background:#f9faf6;border:1px solid #edf1e9;border-radius:8px;padding:6px 4px;font-weight:900;font-size:10px;color:#759176;white-space:nowrap}.fact-cards input{width:30px;height:32px;border:1px solid #dce9d9;border-radius:7px;text-align:center;color:#528b5b;font-weight:900;background:#fff;min-width:0}.tiny-note{font-size:10px!important;line-height:1.5!important;color:#a3b09f!important;margin-top:8px}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:12px}.keypad button{height:35px;border-radius:9px;background:#f3f7f0;color:#6f9574;font-weight:900;font-size:14px}.keypad button:hover{background:#e8f1e4}.keypad .key-small{font-size:9px}.feedback{display:none;margin-top:13px;padding:11px 12px;border-radius:10px;background:#fff6e5;border:1px solid #fae9c5;color:#ac874b;font-size:11px;font-weight:800;line-height:1.45}.feedback.visible{display:block}.mission-actions{display:flex;flex-direction:column;gap:9px;margin-top:18px}.mission-actions .btn{font-size:12px}.kind-reminder{font-size:10px!important;color:#a5b6a0!important;text-align:center;margin-top:15px}.model-btn{font-size:11px!important}.timer{background:#fff2e4;color:#b0804b}.modal-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#20392678;display:flex;align-items:center;justify-content:center;padding:20px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-card{position:relative;background:#fff;border-radius:23px;padding:31px;width:min(440px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;box-shadow:0 24px 70px #223b2a3b}.modal-close{position:absolute;right:16px;top:16px;width:34px;height:34px}.modal-close .icon{width:16px;height:16px}.modal-icon,.intro-icon,.result-modal-icon{width:59px;height:59px;border-radius:18px;background:#edf5e8;display:grid;place-items:center;font-size:30px;margin-bottom:17px}.intro-icon{background:var(--tile);width:68px;height:68px;font-size:34px}.result-modal-icon{margin:0 auto 16px;background:#fff3d4}.modal-card h2{font-size:29px;margin:8px 0}.modal-card>p{color:#91a28e;font-size:12px;line-height:1.6}.modal-label{display:block;font-size:11px;font-weight:900;color:#718f73;margin:17px 0 7px}.text-input,.teacher-settings input:not([type=checkbox]),.teacher-settings select{width:100%;border:1.5px solid #e0eadc;border-radius:10px;padding:12px 13px;min-height:47px;background:#fbfdf9;color:#3f6c49;font-weight:800;outline:0}.text-input:focus{border-color:#8dbd8f}.text-input::placeholder{color:#c4d1c0}.avatar-options{display:flex;gap:8px}.avatar-options button{width:52px;height:49px;border-radius:12px;background:#f5f8f1;border:2px solid transparent;font-size:23px}.avatar-options button.selected{border-color:#7eae7b;background:#eaf5e7}.form-error{color:#bb6d54;font-size:11px;font-weight:800;margin-top:7px;min-height:0}.modal-primary{margin-top:20px}.intro-dialog{background:#f4f8f0;border-radius:12px;padding:13px 14px;color:#799478!important;margin-top:12px}.intro-steps{display:flex;gap:7px;margin-top:16px}.intro-steps>div{display:flex;flex:1;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:11px 4px;border-radius:11px;background:#fafbf7}.intro-steps b{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#e5f1e2;color:#77a67a;font-size:11px}.intro-steps span{font-size:9px;color:#8da18a;font-weight:900}.result-modal{text-align:center}.result-modal .stars{display:flex;justify-content:center;gap:6px;font-size:35px;color:#e7eee3;margin-top:11px}.stars .lit{color:#f2c25f;text-shadow:0 2px 0 #e7aa42}.math-card{margin-top:16px;border-radius:14px;background:#f1f7ee;border:1px solid #e3efde;padding:16px}.math-card small{font-size:9px;letter-spacing:.12em;color:#a2b99d;font-weight:900}.math-card p{font-size:11px;color:#83a181;margin-top:8px}.math-card strong{font-family:"Baloo 2";font-size:29px;color:#4b8756}.how-list{display:flex;flex-direction:column;gap:12px;margin-top:20px}.how-list>div{display:flex;align-items:center;gap:12px}.how-list>div>b{height:34px;width:34px;flex:none;border-radius:11px;display:grid;place-items:center;background:#edf5e9;color:#86af84;font-size:11px}.how-list>div span{display:flex;flex-direction:column;gap:2px}.how-list strong{font-size:12px}.how-list small{color:#9baa98;font-size:10px}.settings-list{margin-top:14px;display:grid;gap:11px}.settings-list>label:not(.switch-line){display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:12px;font-size:11px;font-weight:900;color:#769276}.settings-list input[type=range]{accent-color:#79ad7c;width:100%}.switch-line{display:flex!important;align-items:center;gap:8px;font-size:11px!important;font-weight:800;color:#789079}.switch-line input{accent-color:#6ba275;width:18px;height:18px}.about-box{background:#f4f8f1;padding:15px;border-radius:12px;margin-top:15px}.about-box strong{font-size:12px}.about-box p{font-size:11px;color:#8ba087;margin-top:5px}.result-page{padding:45px 0 70px}.result-card{max-width:710px;margin:auto;text-align:center;background:#fff;border:1px solid #e5eee2;border-radius:24px;padding:36px 30px;box-shadow:var(--shadow)}.result-confetti{color:#e9c66c;font-size:18px;letter-spacing:1em}.result-emblem{width:90px;height:90px;border-radius:27px;background:#fff4d7;display:grid;place-items:center;font-size:47px;margin:10px auto 20px}.result-card h1{font-size:37px;margin-top:8px}.result-card>p{color:#91a38d;font-size:13px;margin:9px auto 0;max-width:430px}.result-stats{display:flex;justify-content:center;gap:8px;margin:24px auto}.result-stats>div{min-width:140px;background:#f5f9f2;border-radius:12px;padding:13px}.result-stats strong{display:block;font-family:"Baloo 2";font-size:25px;color:#6b9f70}.result-stats small{font-size:8px;letter-spacing:.1em;color:#a0b39b;font-weight:900}.unlock-message{color:#7aa67a!important;font-weight:900}.result-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:22px}.shop-card{max-width:710px;margin:17px auto 0;padding:23px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#eef5e9;border:1px solid #e1eddc;border-radius:18px}.shop-card h2{font-size:22px;margin-top:6px}.shop-card p{font-size:11px;color:#93a58d;margin-top:4px}.shop-items{display:flex;gap:7px}.shop-items button{background:#fff;border:1px solid #e1ebdd;border-radius:10px;padding:8px;min-width:78px;display:flex;flex-direction:column;align-items:center;gap:2px}.shop-items button span{font-size:23px}.shop-items button b{font-size:10px;color:#67896b}.shop-items button small{font-size:9px;color:#d6ac54;font-weight:900}.shop-items button:disabled{opacity:.65}.teacher-page{padding:28px 0 70px}.teacher-heading{margin:18px 0 24px}.privacy-pill{background:#eaf4e7;color:#7fa985;font-size:10px;font-weight:900;border-radius:20px;padding:10px 13px}.teacher-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.teacher-stats>div{background:#fff;border:1px solid #e7eee4;border-radius:15px;padding:18px;display:grid;grid-template-columns:44px 1fr;column-gap:10px}.teacher-stats>div>span{grid-row:span 2;width:42px;height:42px;display:grid;place-items:center;background:#edf5e8;border-radius:12px;font-size:20px}.teacher-stats strong{font-family:"Baloo 2";font-size:25px;line-height:1;color:#699b70}.teacher-stats small{font-size:9px;color:#a9b7a5;letter-spacing:.1em;font-weight:900}.teacher-grid{display:grid;grid-template-columns:2fr 1fr;gap:15px;margin-top:15px}.teacher-box{background:#fff;border:1px solid #e5ece1;border-radius:17px;padding:21px}.box-heading{display:flex;justify-content:space-between;gap:15px;align-items:start}.box-heading h2{font-size:21px}.box-heading p{font-size:11px;color:#a0ad9b;margin-top:3px}.table-scroll{overflow-x:auto;margin-top:20px}table{border-collapse:collapse;width:100%;font-size:11px;text-align:left}th{font-size:9px;color:#a4b6a0;letter-spacing:.08em;padding:11px;border-bottom:1px solid #ecf1e9}td{padding:12px 11px;border-bottom:1px solid #f0f4ed;color:#78917a}.table-action,.danger-link{background:none;color:#c48878;font-size:10px;font-weight:900}.empty-table{text-align:center;padding:35px;color:#acb9a8}.backup-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:16px}.file-button{cursor:pointer}.insights-box h3{font-family:Nunito;font-size:11px;letter-spacing:0;margin:21px 0 8px}.insight-list>div{display:flex;justify-content:space-between;font-size:11px;color:#91a68c;padding:8px 0;border-bottom:1px solid #f0f3ed}.insight-list b{color:#719977}.insight-list p{font-size:11px;color:#abb9a6}.teacher-settings{margin-top:15px}.teacher-settings-grid{display:grid;grid-template-columns:1fr 1fr 1.3fr 1.2fr auto;align-items:end;gap:13px;margin-top:17px}.teacher-settings-grid>label:not(.switch-line){font-size:10px;color:#91a58d;font-weight:900}.teacher-settings input:not([type=checkbox]),.teacher-settings select{font-size:11px;margin-top:6px;min-height:39px;padding:9px}.teacher-settings .switch-line{min-height:39px}.toast{position:fixed;z-index:150;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;transition:.2s;background:#315940;color:#fff;border-radius:12px;padding:12px 17px;font-size:12px;font-weight:800;box-shadow:0 10px 25px #1e482f32;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translate(-50%)}.high-contrast{--ink:#153c25;--muted:#375e3d}.high-contrast p,.high-contrast small{color:#456449!important}.large-text{font-size:18px}.large-text p,.large-text button,.large-text label{font-size:1.04em}.reduced-motion *,.reduced-motion *:before,.reduced-motion *:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}@media (max-width:1100px){.topbar-inner{gap:24px}.topnav{gap:20px}.hero-copy{padding-left:40px}.hero h1{font-size:50px}.preview-levels{grid-template-columns:repeat(3,1fr)}.game-layout{grid-template-columns:minmax(0,1fr) 300px}.canvas-shell{height:430px}.teacher-settings-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:760px){.topbar{height:68px}.topbar-inner{padding:0 20px;gap:12px}.brand-mark{width:38px;height:38px;border-radius:12px}.brand-text strong{font-size:18px}.brand-text small{font-size:8px}.topnav{display:none}.top-actions{margin-left:auto;gap:8px}.teacher-link{padding:10px}.teacher-link span{display:none}.icon-btn{width:38px;height:38px}.home-page,.page-container{width:calc(100% - 32px)}.home-page{padding-top:16px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:30px 25px 23px}.hero h1{font-size:clamp(39px,9vw,53px);margin-top:14px}.hero-copy>p{font-size:14px;margin-top:10px}.hero-actions{margin-top:17px}.hero-note{margin-top:20px}.hero-art{min-height:260px;height:260px;order:2}.hero-art:after{background:linear-gradient(180deg,#eef5e7,transparent 24%)}.art-badge{bottom:17px;right:15px}.home-meta{gap:12px;justify-content:space-between;padding:17px 0}.home-meta span{font-size:9px;line-height:1.3}.home-meta b{font-size:15px}.journey-section{padding-top:32px}.section-heading h2{font-size:26px}.section-heading p{font-size:11px}.preview-levels{grid-template-columns:repeat(2,1fr);gap:8px}.preview-card{padding:11px 9px;min-height:72px}.preview-icon{width:42px;height:42px;font-size:21px}.preview-arrow{display:none}.teacher-strip{padding:14px}.teacher-strip p{font-size:10px}.teacher-strip .btn{font-size:10px;padding:10px;white-space:nowrap}.footer{flex-wrap:wrap;gap:12px}.footer>span:last-child{display:none}.map-page{padding-top:27px}.map-title-row h1,.teacher-heading h1{font-size:31px}.map-title-row p,.teacher-heading p{font-size:11px}.player-chip{padding:6px}.player-avatar{width:33px;height:33px}.map-hero{height:210px}.map-hero-content{left:20px;top:25px}.map-hero h2{font-size:31px}.map-hero p{font-size:10px;max-width:220px}.map-stats{right:10px;bottom:10px}.map-stats>span{min-width:68px;padding:7px}.map-section-head{align-items:start}.map-section-head h2{font-size:23px}.map-hint{max-width:140px;text-align:right;font-size:9px}.level-grid{grid-template-columns:repeat(2,1fr);gap:9px}.level-card{padding:13px}.level-middle{gap:9px;margin:14px 0}.level-illustration{width:52px;height:52px;font-size:26px;border-radius:14px}.level-middle h3{font-size:16px}.level-middle p{font-size:10px}.level-card-bottom{font-size:9px}.game-page{padding-top:13px}.game-topline{gap:10px}.game-progress{width:auto;flex:1}.game-top-chip span{display:none}.game-top-chip{padding:8px}.game-heading{margin:18px 0 13px}.game-heading h1{font-size:29px}.game-layout{grid-template-columns:1fr;gap:12px}.question-card{padding:13px;gap:10px}.question-card h2{font-size:13px}.canvas-shell{height:380px}.mission-panel{order:2}.guide-card{padding:14px}.activity-area{padding:16px}.mission-actions{display:grid;grid-template-columns:1fr 1fr}.mission-actions .check-button{grid-column:auto}.keypad button{height:42px}.teacher-grid{grid-template-columns:1fr}.teacher-stats{gap:7px}.teacher-stats>div{padding:12px;grid-template-columns:30px 1fr;column-gap:7px}.teacher-stats>div>span{width:30px;height:30px;font-size:15px}.teacher-stats strong{font-size:21px}.teacher-stats small{font-size:8px}.teacher-heading{align-items:start}.privacy-pill{font-size:9px}.teacher-settings-grid{grid-template-columns:1fr 1fr}.shop-card{flex-direction:column;align-items:start}.result-page{padding-top:25px}.result-card h1{font-size:30px}.settings-fab{bottom:12px;right:12px;width:40px;height:40px}}@media (max-width:440px){.hero-actions{gap:6px}.hero-actions .btn{font-size:12px;padding-left:13px;padding-right:13px}.hero-art{height:220px;min-height:220px}.section-heading>.text-button{font-size:10px}.home-meta span{font-size:8px}.level-grid{grid-template-columns:1fr}.level-card{padding:13px 16px}.level-middle{margin:11px 0}.map-hint{display:none}.canvas-shell{height:320px}.game-player{display:none}.game-top-chip{font-size:10px}.group-controls-grid{gap:5px}.group-control{gap:5px;padding-left:7px}.group-name{font-size:9px}.group-control button{width:27px;height:27px}.mission-actions{grid-template-columns:1fr}.result-stats>div{min-width:0;flex:1}.result-card{padding:28px 18px}.teacher-heading{display:block}.privacy-pill{display:inline-block;margin-top:12px}.teacher-settings-grid{grid-template-columns:1fr}.teacher-settings .switch-line{min-height:26px}.modal-card{padding:26px}}.question-card h2{font-size:18px;line-height:1.4}.guide-card p{font-size:13px;line-height:1.5}.activity-info p{font-size:15px;color:#607d61}.group-controls-head strong{font-size:14px}.group-controls-head small,.stage-tip,.group-name{font-size:12px}.group-control button,.array-controls button{width:42px;height:42px}.group-control strong,.mission-actions .btn{font-size:14px}.feedback{font-size:13px}.keypad button{height:42px}@media (max-width:760px){.question-card h2{font-size:16px}.activity-info p{font-size:14px}.group-control button,.array-controls button{width:44px;height:44px}.group-name{font-size:11px}.keypad button{height:44px}}.house-preview{margin-top:9px;border-radius:10px;background:#fff9e9;padding:7px 10px;font-size:20px;letter-spacing:3px;display:inline-block}@media (max-width:500px){.group-controls-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.group-control{flex-direction:column;align-items:stretch;gap:3px;padding:6px}.group-control .group-name{text-align:center}.group-control>div{justify-content:center}}
