:root{color:#294e43;font-synthesis:none;--ink:#294e43;--accent:#578f77;--soft:#e7eedc;--line:#dbe2d1;--paper:#fffdf6;--shadow:0 14px 40px #3b554414;background:#f8f7f0;font-family:ui-rounded,Avenir Next,PingFang SC,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.48}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline-offset:4px;outline:3px solid #e4b34d}button{background:0 0;border:0;min-height:44px}a{color:inherit;text-decoration:none}.shell{max-width:1380px;margin:auto;padding:0 36px 24px}.topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;height:94px;display:flex}.brand{align-items:center;gap:13px;font-size:20px;font-weight:800;display:flex}.brand .art{background:var(--soft);border-radius:15px;width:45px;height:45px;padding:5px}.brand small{letter-spacing:2px;margin-top:3px;font-size:10px;display:block}.top-actions{align-items:center;gap:9px;display:flex}.icon-btn{border:1px solid var(--line);background:var(--paper);border-radius:50%;width:44px;height:44px}.pill{border:1px solid var(--line);white-space:nowrap;border-radius:99px;padding:8px 13px;font-size:11px}.tag{letter-spacing:3px;color:#7f9487;text-transform:uppercase;font-size:10px;font-weight:700}.hero{grid-template-columns:.85fr 1.15fr;align-items:center;gap:58px;padding:48px 0 40px;display:grid}.hero h1{letter-spacing:-3px;margin:18px 0 20px;font-size:clamp(36px,4.8vw,65px);font-weight:850;line-height:1.18}.hero h1 em{color:var(--accent);font-style:normal}.intro{color:#78887c;max-width:410px;font-size:14px;line-height:1.9}.primary{background:var(--ink);color:#fffdf1;border-radius:13px;justify-content:center;align-items:center;gap:24px;min-height:53px;padding:15px 25px;font-weight:750;display:inline-flex;box-shadow:0 4px #163c3130}.secondary{border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:12px 18px}.primary:hover{filter:brightness(1.1);transform:translateY(-1px)}.hero-actions{flex-wrap:wrap;gap:12px;margin:26px 0 18px;display:flex}.chips{color:#71816e;flex-wrap:wrap;gap:18px;font-size:11px;display:flex}.scene-frame{min-height:450px;box-shadow:var(--shadow);background:#e4eddb;border:8px solid #f0eee0;border-radius:34px;position:relative;overflow:hidden}.scene-frame svg.world{width:100%;height:100%;display:block}.scene-caption{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffcf0dc;border-radius:17px;justify-content:space-between;align-items:center;padding:15px 20px;font-size:12px;display:flex;position:absolute;bottom:20px;left:24px;right:24px}.feature-grid{grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:32px;display:grid}.feature{background:var(--paper);border:1px solid var(--line);border-radius:18px;align-items:center;gap:15px;padding:22px;display:flex}.feature .art{width:50px}.feature h3{margin:0 0 6px;font-size:14px}.feature p{color:#899181;margin:0;font-size:12px;line-height:1.6}.section-head{justify-content:space-between;align-items:center;gap:15px;margin:28px 0 18px;display:flex}.section-head h2{letter-spacing:-1px;margin:0;font-size:25px}.section-head small{color:#7e8e80}.cards{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.chapter{border:1px solid var(--line);background:var(--paper);text-align:left;border-radius:20px;padding:24px}.chapter.active{border:2px solid var(--accent);background:var(--soft)}.chapter h3{margin:10px 0;font-size:19px}.chapter p{color:#7f8d7a;font-size:12px;line-height:1.7}.chapter .art{width:68px;height:68px}.chapter .status{margin-top:16px;font-size:11px;display:block}.footer{border-top:1px solid var(--line);color:#85907f;justify-content:space-between;gap:12px;margin-top:30px;padding-top:20px;font-size:10px;display:flex}.workspace{grid-template-columns:minmax(0,1fr) 310px;gap:24px;margin-top:25px;display:grid}.panel{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:23px}.panel h2{margin:9px 0 12px;font-size:23px}.panel h3{margin:10px 0;font-size:17px}.panel p{color:#7a877b;font-size:13px;line-height:1.8}.playfield{background:#e6eddd;border-radius:24px;min-height:430px;position:relative;overflow:hidden}.hud{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:15px;display:flex}.hud .stat{background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:9px 14px;font-size:12px}.hud .stat b{padding-right:5px;font-size:17px}.hud .spacer{flex:1}.hud button{border:1px solid var(--line);background:var(--paper);border-radius:11px;padding:8px 13px}.speech{background:var(--paper);border:1px solid var(--line);border-radius:17px;align-items:center;gap:13px;padding:17px 20px;display:flex;box-shadow:0 5px #36544008}.speech .avatar{flex:none;width:65px}.speech h2,.speech h3{margin:0 0 5px;font-size:clamp(19px,2.1vw,28px);line-height:1.35}.speech p{color:#7b8a77;margin:0;font-size:12px}.speech .text{flex:1;min-width:0}.say{background:var(--soft);border-radius:50%;min-width:44px;height:44px}.help{color:#7d8a78;margin:12px 0;font-size:12px;line-height:1.7}.choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0;display:grid}.choice{background:var(--paper);border:2px solid var(--line);border-radius:15px;min-height:78px;padding:15px;font-weight:700;transition:transform .15s,border-color .15s}.choice:hover{border-color:var(--accent);transform:translateY(-4px)}.choice .art{width:78px;margin:0 auto 7px;display:block}.choice.chosen{border-color:var(--accent);background:var(--soft)}.word-tokens{flex-wrap:wrap;justify-content:center;gap:10px;min-height:64px;display:flex}.token{background:var(--paper);border:1px solid var(--line);box-shadow:0 4px 0 var(--line);border-radius:12px;min-width:45px;padding:12px 18px;font-weight:700}.token:hover{transform:translateY(-2px)}.sentence-slot{background:#fffdf577;border:2px dashed #bccab7;border-radius:15px;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;min-height:75px;margin:20px 0;padding:13px;display:flex}.sentence-slot .token{background:var(--soft);box-shadow:none}.feedback{color:#3f7355;background:#dfeedd;border:1px solid #b2cda9;border-radius:16px;margin:15px 0;padding:17px 19px;font-size:14px;line-height:1.7;animation:.28s pop}.feedback.error{color:#95694c;background:#faece0;border-color:#e7cab3}.feedback b{font-size:16px;display:block}.feedback button{margin-top:10px}.toast{color:#a07453;min-height:21px;font-size:12px;line-height:1.7}.muted{opacity:.6}.modal-backdrop{z-index:30;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#203b395d;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:var(--paper);border:1px solid var(--line);width:min(510px,100%);max-height:85vh;box-shadow:var(--shadow);border-radius:25px;padding:30px;overflow:auto}.modal h2{margin-top:6px;font-size:28px}.modal p{color:#7b8675;font-size:14px;line-height:1.8}.modal .art{width:90px}.modal-actions{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.progressbar{background:#dce5d5;border-radius:99px;height:7px;overflow:hidden}.progressbar i{background:var(--accent);height:100%;transition:width .4s;display:block}.summary-stat{border-bottom:1px solid var(--line);align-items:center;gap:13px;padding:13px 0;display:flex}.summary-stat:last-child{border-bottom:0}.summary-stat b{font-size:25px}.summary-stat small{color:#86917e;font-size:11px}.review-list{gap:10px;display:grid}.review-row{border:1px solid var(--line);background:var(--paper);text-align:left;border-radius:14px;padding:13px 15px}.review-row small{color:#87917e;font-size:11px;line-height:1.8;display:block}.confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.confetti i{background:var(--accent);width:6px;height:10px;transform:rotate(calc(var(--i) * 30deg));animation:.7s ease-out both spark;position:absolute;top:50%;left:50%}.badge{background:#f1deb1;border-radius:99px;padding:7px 12px;font-size:11px}.record-controls{flex-wrap:wrap;gap:8px;display:flex}.record-controls button{font-size:12px}.big-end{text-align:center;padding:36px}.big-end .art{width:120px}.big-end h2{font-size:32px}.demo-note{letter-spacing:1px;color:#8d9889;margin-top:20px;font-size:10px}.hide{display:none!important}@keyframes pop{0%{opacity:.5;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes bob{50%{transform:translateY(-6px)}}@keyframes spark{to{translate:calc((var(--i) - 6) * 16px) -140px;opacity:0;rotate:160deg}}@keyframes entrance{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.float{animation:3s ease-in-out infinite bob}.enter{animation:.35s entrance}.mobile-only{display:none}@media (width<=1000px){.shell{padding:0 22px 22px}.hero{gap:28px}.hero h1{font-size:46px}.scene-frame{min-height:370px}.workspace{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr 1fr;gap:16px;display:grid}.sidebar .panel{margin:0}.cards{gap:10px}.chapter{padding:18px}}@media (width<=600px){.shell{padding:0 15px 20px}.topbar{height:75px}.brand{gap:8px;font-size:16px}.brand .art{width:39px;height:39px}.brand small{font-size:8px}.top-actions .pill{display:none}.hero{flex-direction:column;align-items:stretch;gap:26px;padding:30px 0 25px;display:flex}.hero h1{letter-spacing:-2px;max-width:330px;font-size:42px}.intro{font-size:13px}.scene-frame{border-width:5px;border-radius:25px;min-height:310px}.feature-grid{grid-template-columns:1fr}.feature{padding:15px}.cards{grid-template-columns:1fr}.chapter{align-items:center;gap:16px;display:flex}.chapter .art{flex:none;width:56px}.chapter h3{margin:3px 0;font-size:18px}.chapter p{margin:0}.chapter .status{margin-top:5px}.workspace{gap:16px;margin-top:18px}.sidebar{display:block}.sidebar .panel{margin-bottom:14px}.panel{padding:18px}.speech{gap:9px;padding:13px}.speech .avatar{width:45px}.speech h2{font-size:20px}.choices{gap:8px}.choice{overflow-wrap:anywhere;padding:10px 6px;font-size:13px}.choice .art{width:62px}.token{padding:10px 13px}.footer{flex-direction:column;font-size:9px}.playfield{min-height:330px}.hud .stat{padding:7px 9px;font-size:10px}.hud .stat b{font-size:15px}.hud button{padding:7px 10px}.modal{padding:22px}.modal h2{font-size:24px}.mobile-only{display:block}.section-head h2{font-size:22px}.section-head small{font-size:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.forest-world{width:100%;height:440px;position:relative}.forest-world .world{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.forest-object{background:#fffcf0d9;border:2px solid #ffffff86;border-radius:18px;min-width:90px;padding:5px 13px 9px;transition:scale .15s;position:absolute;transform:translate(-50%,-50%);box-shadow:0 6px #58735018}.forest-object:hover{scale:1.07}.forest-object:disabled{opacity:1;cursor:default}.forest-object .art{width:65px;display:block}.forest-object span{font-size:11px;display:block}.walker{text-align:center;transition:left .45s,top .45s;position:absolute;transform:translate(-50%,-50%)}.walker .art{filter:drop-shadow(0 8px 2px #294e4322);width:95px}.walker span{letter-spacing:2px;margin-top:-5px;font-size:10px;display:block}.avatar-pick{gap:10px;margin-top:24px;display:flex}.avatar-pick button{border:1px solid var(--line);background:var(--paper);border-radius:16px;padding:4px}.avatar-pick button.selected{background:var(--soft);border-color:var(--accent)}.avatar-pick .art{width:48px;height:48px}.bag{background:var(--paper);border:1px solid var(--line);border-radius:17px;flex-wrap:wrap;align-items:center;gap:12px;margin:15px 0;padding:14px;display:flex}.bag span{font-size:12px}.bag>button:not(.primary){background:var(--soft);border-radius:12px}.bag .art{width:43px;height:43px}.bag .primary{margin-left:auto}.celebrate{animation:1s infinite bob}@media (width<=600px){.forest-world{height:330px}.forest-object{min-width:68px;padding:3px 7px 5px}.forest-object .art{width:52px}.forest-object span{font-size:10px}.walker .art{width:75px}.bag .primary{padding:12px 15px}.bag{gap:8px}.bag .art{width:34px}}.walker{animation:.38s ease-out both walk-to}@keyframes walk-to{0%{left:var(--from-x);top:var(--from-y)}}@media (prefers-reduced-motion:reduce){.walker{animation:none}}
