:root{--ink:#233b34;--green:#21654b;--lime:#ddf188;--cream:#f8f7ef;--muted:#6c7b71;--line:#dce1d6;--font:'Nunito',sans-serif;--round:'Fredoka','Nunito',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:17px/1.55 var(--font);-webkit-font-smoothing:antialiased}button,a,input{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:800 15px var(--font);cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #1264b2;outline-offset:5px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--round);font-weight:500;line-height:1.12}h1{font-size:clamp(40px,5.2vw,69px);letter-spacing:-1.7px}h2{font-size:36px;letter-spacing:-.6px}h3{font-size:25px}p+p{margin-top:15px}.header{border-bottom:1px solid var(--line);background:#fbfaf5}.header-inner{max-width:1240px;margin:auto;padding:22px 38px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:9px;font:500 22px/.85 var(--round);letter-spacing:-.5px}.brand-mark{font:58px/.8 var(--round);color:var(--green)}.brand-second{display:block}.brand-dot{color:#ed9b65}.header nav{display:flex;gap:10px;align-items:center}.header nav a{font-weight:800;font-size:14px;padding:10px 17px;border-radius:30px;color:#64756a}.header nav a.active{background:#e8eddc;color:var(--green)}.nav-star{color:#d5913a;margin-left:3px}.teacher-tag{display:flex;gap:8px;align-items:center;font-size:14px;font-weight:900;background:#fff;border:1px solid var(--line);padding:7px 12px 7px 7px;border-radius:30px;white-space:nowrap}.teacher-avatar{background:#ffdb9a;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-family:var(--round)}.tag-spark{color:#ca8b29;font-size:16px;margin-left:8px}main{max-width:1240px;margin:auto;padding:35px 38px 55px;min-height:76vh}.eyebrow{font-size:11px;letter-spacing:1.9px;font-weight:900;color:var(--green)}.pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #cdd7bf;border-radius:30px;padding:5px 12px;font-size:11px;font-weight:900;letter-spacing:1.4px}.hero{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center;padding:22px 0 36px}.hero-copy{padding:12px 0}.hero h1{margin:21px 0 20px;max-width:600px}.hero h1 em{font-style:normal;color:var(--green);position:relative}.hero h1 em:after{content:'';position:absolute;height:5px;left:0;right:0;bottom:-4px;background:#d9e99e;border-radius:100%}.hero p{max-width:410px;font-size:16px;line-height:1.8;color:#637268}.hero-actions{display:flex;gap:13px;align-items:center;margin-top:27px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;border:1px solid var(--green);background:var(--green);color:white;border-radius:14px;padding:14px 23px;font-weight:800;font-size:14px;min-height:49px;transition:transform .15s,box-shadow .15s}.button:hover{transform:translateY(-2px);box-shadow:0 5px 0 #153f2520}.button.secondary{color:var(--ink);background:transparent;border-color:#c8d1c1}.button.light{background:var(--lime);color:var(--ink);border-color:var(--lime)}.tiny-note{font-size:12px;color:var(--muted);display:flex;gap:7px;align-items:center;margin-top:18px}.tiny-note span{color:var(--green)}.hero-art{position:relative;aspect-ratio:1.15;width:100%;max-width:560px;margin:auto}.hero-art svg{width:100%;height:100%}.art-label{position:absolute;border:1px solid #dbe0d2;border-radius:12px;padding:9px 13px;background:#fffef8;box-shadow:0 4px 0 #264e3810;font-size:12px;font-weight:800;display:flex;gap:8px;align-items:center;transform:rotate(-5deg);left:1%;top:19%}.art-label.bottom{top:auto;bottom:14%;left:auto;right:0;transform:rotate(4deg)}.label-icon{font-size:22px}.journey-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:18px 0 23px}.journey-heading h2{font-size:29px;margin-top:6px}.journey-heading p{font-size:13px;color:var(--muted)}.progress-box{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:900;color:var(--green)}.progress-track{width:112px;background:#e2e6d8;height:7px;border-radius:20px;overflow:hidden}.progress-fill{height:100%;background:var(--green);border-radius:20px;transition:width .4s}.path-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.path-card{border:1px solid #d7dfcf;border-radius:23px;padding:24px;background:#edf0e2;position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:267px;transition:transform .2s}.path-card:hover{transform:translateY(-4px)}.path-card.peach{background:#fbe9dc;border-color:#eadbce}.path-card.yellow{background:#f7efcd;border-color:#e6debb}.card-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:900;color:#64725e}.step-number{width:29px;height:29px;border:1px solid #bac9ad;border-radius:50%;display:grid;place-items:center;font-family:var(--round);font-size:15px}.card-illustration{position:absolute;right:23px;top:49px;font-size:54px;transform:rotate(7deg);filter:drop-shadow(0 5px 0 #365b2210)}.path-card h3{margin-top:38px;margin-bottom:10px;font-size:27px}.path-card p{font-size:13px;max-width:210px;color:#627060;line-height:1.7;margin-bottom:19px}.card-link{font-size:13px;font-weight:900;display:flex;justify-content:space-between;margin-top:auto}.card-link span{background:#ffffff77;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;font-size:16px}.tip-strip{margin-top:25px;border:1px dashed #bfcfb4;border-radius:16px;padding:16px 22px;display:flex;align-items:center;gap:16px;font-size:13px}.tip-strip .tip-icon{font-size:27px}.tip-strip strong{display:block;font-size:14px}.tip-strip p{color:var(--muted)}.tip-strip .readiness{margin-left:auto;font-size:11px;font-weight:900;letter-spacing:1px;color:var(--green);white-space:nowrap}footer{max-width:1164px;margin:auto;border-top:1px solid var(--line);padding:22px 0 27px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);gap:16px}.footer-brand{font-weight:900;color:var(--green);font-size:13px}.text-button{background:none;border:0;padding:7px 0;font-size:12px;color:var(--green);text-decoration:underline;text-underline-offset:4px}.page-top{margin:8px 0 28px;display:flex;align-items:center;justify-content:space-between;gap:15px}.page-top h1{font-size:46px;margin:8px 0 12px}.page-top p{color:var(--muted);font-size:16px}.back-link{font-size:12px;font-weight:900;display:inline-block;margin-bottom:12px;color:var(--green)}.section-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.word-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.word-card{background:#fffef8;border:1px solid var(--line);border-radius:22px;padding:24px;position:relative}.word-card.learned{border-color:#7caa75;background:#f0f5e5}.word-picture{font-size:50px;display:block;margin-bottom:13px;line-height:1.2}.word-card h2{font-size:29px;margin-bottom:10px}.word-card p{font-size:15px}.word-card .example{background:#eef2e5;border-radius:10px;padding:11px;margin:15px 0;font-size:14px}.word-bottom{display:flex;justify-content:space-between;gap:8px;align-items:center}.sound-button{background:#fff;border:1px solid #ccd7c4;padding:10px 13px;border-radius:10px;min-height:44px}.mark-button{background:var(--lime);border:0;padding:10px 13px;border-radius:10px;font-size:12px;min-height:44px}.soft-panel{border:1px solid var(--line);border-radius:20px;background:#eef2e3;padding:25px;margin-top:24px}.soft-panel h3{margin-bottom:10px}.soft-panel p{font-size:15px}.story-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.story-card{background:#fffef8;border:1px solid var(--line);border-radius:25px;overflow:hidden}.story-illustration{height:200px;display:flex;align-items:center;justify-content:center;gap:35px;background:#e3edce;font-size:75px;position:relative}.story-illustration:before{content:'☀';font-size:56px;position:absolute;left:25px;top:7px;color:#dfb049}.story-text{padding:28px 33px}.story-text h2{font-size:31px;margin:9px 0 20px}.story-lines{font-size:22px;line-height:1.8}.story-lines mark{background:#edf3c6;color:var(--green);padding:0 4px;border-radius:4px}.story-nav{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:28px;border-top:1px solid var(--line);padding-top:20px}.story-nav .button{padding:12px 17px}.story-dots{display:flex;gap:5px}.story-dots span{width:8px;height:8px;border-radius:50%;background:#d5dfcc}.story-dots span.active{background:var(--green);width:22px;border-radius:7px}.reading-aside{display:flex;flex-direction:column;gap:17px}.reading-aside .soft-panel{margin:0;padding:23px}.reading-aside .eyebrow{margin-bottom:10px}.choice-list{display:flex;flex-direction:column;gap:10px;margin-top:17px}.choice{background:#fffef8;border:1px solid #cad5c3;text-align:left;border-radius:12px;padding:13px;font-size:14px;min-height:49px}.choice.correct{background:#dcf0b5;border-color:#78a54a}.choice.wrong{background:#fff0df;border-color:#d4a16e}.feedback{font-size:14px;font-weight:800;margin-top:13px;min-height:23px;color:var(--green)}.clue-box{margin-top:22px;padding:16px;border-left:3px solid #9eb765;background:#f2f4e7;font-size:14px}.story-complete{text-align:center;padding:40px 25px}.story-complete .big-emoji{font-size:70px}.story-complete h2{margin:20px 0}.story-complete p{max-width:500px;margin:auto}.game-intro{display:grid;grid-template-columns:1.1fr 1fr;gap:35px;background:#e8efda;border:1px solid #cddcbd;border-radius:26px;padding:35px;align-items:center}.game-intro h2{font-size:42px;margin:12px 0 18px}.game-intro p{font-size:16px}.controls-guide{display:grid;gap:14px;background:#fffdf2;border:1px solid #dce0c9;border-radius:19px;padding:25px;font-size:14px}.guide-row{display:flex;gap:15px;align-items:center}.key{background:#f1f1e6;border:1px solid #cdd4bf;border-bottom:3px solid #b9c6ad;border-radius:8px;padding:6px 10px;font-size:14px;font-weight:900;white-space:nowrap}.game-shell{background:#fffef8;border:1px solid #ced9c3;border-radius:23px;padding:22px;position:relative}.game-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;font-weight:900;margin-bottom:14px}.game-meta .progress-track{width:150px}.game-question{display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center;background:#f1f3e7;border-radius:14px;padding:17px 20px;margin-bottom:14px}.game-passage{font-size:16px;font-weight:600;margin-bottom:6px}.game-question h2{font-family:var(--font);font-size:20px;font-weight:900;line-height:1.45;letter-spacing:0}.question-type{font-size:10px;letter-spacing:1.1px;color:var(--green);font-weight:900;margin-bottom:5px}.game-world{width:100%;aspect-ratio:960/385;position:relative;overflow:hidden;border-radius:15px;background:#d9eff0;touch-action:none;isolation:isolate}.game-world svg.landscape{position:absolute;width:100%;height:100%}.answer-block{position:absolute;top:39%;height:21%;width:24%;border:2px solid #bc8d32;border-bottom:5px solid #a57927;background:#ffdf81;border-radius:12px;text-align:center;padding:4px 8px;font:800 clamp(10px,1.7vw,18px)/1.3 var(--font);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;z-index:2;box-shadow:inset 0 4px 0 #ffffff66}.answer-block small{font-size:9px;letter-spacing:1px;opacity:.6}.answer-block.hit{background:#d3ed93;border-color:#689743}.answer-block.miss{background:#ffd1a6;border-color:#ba7846}.answer-block:focus-visible{outline-offset:1px}.player{position:absolute;width:5%;height:15.58%;left:0;top:0;z-index:3;will-change:transform;pointer-events:none}.player svg{width:100%;height:100%;overflow:visible}.game-tip{position:absolute;bottom:20%;left:0;right:0;text-align:center;font-size:clamp(8px,1.1vw,12px);color:#537054;font-weight:800;pointer-events:none}.game-control-row{display:flex;justify-content:space-between;align-items:center;margin-top:16px;gap:15px}.move-controls{display:flex;gap:10px}.control{min-width:65px;height:53px;border-radius:13px;background:#eaf0dc;border:1px solid #b9c9a6;border-bottom:4px solid #a6b995;font-size:24px;touch-action:none;user-select:none;-webkit-user-select:none}.control.jump{background:var(--green);color:#fff;border-color:#134b35;font-size:15px;min-width:125px}.control:active{transform:translateY(2px);border-bottom-width:2px}.game-help{font-size:12px;color:var(--muted)}.game-feedback{margin-top:15px;border-radius:14px;padding:16px;background:#e9f2d9;display:flex;justify-content:space-between;align-items:center;gap:18px}.game-feedback p{font-size:14px}.game-feedback strong{display:block;font-size:18px;margin-bottom:4px}.game-feedback.retry{background:#fff0dc}.game-feedback .button{white-space:nowrap}.result-card{background:#ecf2df;border:1px solid #cbd9bd;border-radius:25px;padding:37px;text-align:center}.result-card h2{font-size:42px;margin:8px 0 15px}.result-score{font:500 70px var(--round);color:var(--green);margin:10px 0}.result-score small{font-size:26px}.result-stats{display:flex;justify-content:center;gap:30px;margin:23px 0;font-size:14px}.result-stats strong{display:block;font:500 27px var(--round)}.result-card .section-actions{justify-content:center}.review-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px;text-align:left}.review-item{border:1px solid var(--line);padding:18px;border-radius:15px;background:#fffef8;font-size:14px}.review-item strong{display:block;margin-bottom:7px}.review-item .eyebrow{font-size:9px}.habit-picker{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.habit-picker button{border:1px solid #bacdab;padding:12px;border-radius:12px;background:#fffef7}.habit-picker button.selected{background:var(--lime);border-color:#77984e}.skip{position:absolute;left:15px;top:-60px;background:white;z-index:99;padding:10px}.skip:focus{top:10px}dialog{max-width:630px;width:calc(100% - 32px);border:1px solid #becbb6;border-radius:23px;padding:29px;color:var(--ink);background:var(--cream);max-height:85vh}dialog::backdrop{background:#163c32aa;backdrop-filter:blur(4px)}dialog h2{font-size:33px;margin:14px 0 22px}dialog p{font-size:14px}.dialog-top{display:flex;align-items:center;justify-content:space-between}.icon-button{border:1px solid #cfd8c3;background:white;border-radius:50%;width:38px;height:38px}#resetProgress{margin-top:22px;font-size:12px}.status{font-size:13px;color:var(--green);font-weight:800}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:99;background:var(--green);color:white;padding:12px 20px;border-radius:15px;font-weight:800;font-size:14px;box-shadow:0 4px 20px #163c3233}.pause-cover{position:absolute;inset:0;background:#f8f7efef;z-index:10;display:grid;place-content:center;text-align:center;border-radius:23px;gap:20px;padding:25px}.pause-cover h2{font-size:38px}.game-paused .player{visibility:hidden}@media(min-width:1400px){main{padding-top:40px}.hero{padding-top:20px;padding-bottom:45px}}@media(max-width:900px){.header-inner{padding:20px 25px}.header nav{gap:0}.header nav a{padding:9px 12px}.hero h1{font-size:52px}.hero-art{aspect-ratio:1}.path-card{padding:20px}.card-illustration{font-size:42px;right:18px;top:56px}.path-card h3{font-size:25px}.story-layout{grid-template-columns:minmax(0,1fr) 260px}main{padding:28px 25px 40px}footer{margin:0 25px}.game-help{display:none}.word-card{padding:20px}.word-bottom{align-items:stretch;flex-direction:column}}@media(max-width:650px){body{font-size:16px}.header-inner{padding:14px 20px 11px;flex-wrap:wrap;gap:15px}.brand{font-size:20px}.brand-mark{font-size:48px}.teacher-tag{margin-left:auto;font-size:12px;padding:5px 10px 5px 5px}.teacher-avatar{width:26px;height:26px}.tag-spark{margin-left:0}.header nav{order:3;width:100%;justify-content:space-between;border-top:1px solid #e5e8dc;padding-top:9px}.header nav a{font-size:12px;padding:8px 13px}.hero{grid-template-columns:1fr;gap:0;padding:5px 0 15px}.hero h1{font-size:49px;max-width:400px;margin-top:17px}.hero-copy{padding-top:4px}.hero p{font-size:15px;max-width:360px}.hero-actions{margin-top:22px}.hero-art{max-width:370px;aspect-ratio:1.2;margin-top:5px}.art-label{font-size:10px;padding:6px 10px}.hero-actions .button{padding:13px 19px}.tiny-note{margin-top:14px;font-size:11px}main{padding:22px 20px 35px}.journey-heading{margin-top:7px;align-items:flex-start}.journey-heading h2{font-size:27px}.journey-heading p{font-size:12px}.progress-box{flex-direction:column;gap:6px;align-items:flex-end;padding-top:5px;white-space:nowrap;font-size:10px}.progress-track{width:65px}.path-grid{grid-template-columns:1fr;gap:13px}.path-card{min-height:206px;padding:20px 23px}.path-card h3{margin-top:20px;margin-bottom:8px}.path-card p{max-width:70%;margin-bottom:8px}.card-illustration{font-size:61px;top:65px;right:27px}.card-link{max-width:100%}.card-link span{margin-top:-8px}.tip-strip{padding:15px;gap:12px}.tip-strip p{font-size:12px}.tip-strip .readiness{display:none}footer{margin:0 20px;flex-wrap:wrap;gap:10px;font-size:10px}footer>span{display:none}.page-top{margin:0 0 23px;align-items:flex-start}.page-top h1{font-size:37px}.page-top p{font-size:14px}.page-top>.status{font-size:11px;white-space:nowrap;padding-top:20px}.word-grid{grid-template-columns:1fr 1fr;gap:12px}.word-card{padding:18px 14px;border-radius:18px}.word-card h2{font-size:26px}.word-card p{font-size:13px}.word-card .example{font-size:13px;padding:9px}.word-picture{font-size:40px}.word-bottom{gap:8px}.sound-button{font-size:12px}.mark-button{font-size:11px}.story-layout{grid-template-columns:1fr}.story-illustration{height:155px;font-size:62px}.story-text{padding:23px 20px}.story-text h2{font-size:28px}.story-lines{font-size:20px}.reading-aside{display:grid;grid-template-columns:1fr}.story-nav{gap:6px}.story-nav .button{font-size:12px;padding:11px}.game-intro{grid-template-columns:1fr;padding:24px;gap:24px}.game-intro h2{font-size:36px}.game-intro p{font-size:14px}.controls-guide{padding:20px;font-size:13px}.game-shell{padding:12px;border-radius:18px;margin:0 -9px}.game-meta{font-size:10px;gap:6px}.game-meta .progress-track{width:65px}.game-question{padding:12px;gap:8px}.game-passage{font-size:14px}.game-question h2{font-size:17px}.game-question .sound-button{padding:8px;min-width:40px}.question-type{font-size:9px}.game-world{aspect-ratio:960/650;min-height:240px}.game-world svg.landscape{height:100%}.answer-block{font-size:clamp(11px,3vw,17px);border-width:1px;border-bottom-width:4px;border-radius:8px;width:28%;padding:4px}.answer-block small{font-size:7px}.player{width:7.5%;height:15.58%}.game-tip{font-size:8px;padding:0 15px}.game-control-row{margin-top:13px}.control{height:54px;min-width:62px}.control.jump{min-width:118px}.game-feedback{padding:13px;gap:10px;align-items:flex-start;flex-direction:column}.game-feedback .button{width:100%}.game-feedback p{font-size:13px}.result-card{padding:26px 18px}.result-card h2{font-size:34px}.result-stats{gap:23px;font-size:12px}.review-list{grid-template-columns:1fr}.soft-panel{padding:20px}.game-intro .section-actions .button{width:100%}.game-control-row .move-controls{gap:8px}.story-nav .story-dots{gap:4px}.sound-button{min-height:44px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.path-card:hover,.button:hover{transform:none}}
