@import url('/fonts.css');
:root{--ink:#253047;--cream:#fdf8f1;--mint:#65c6bc;--purple:#7866b5;--muted:#6a7282;--line:#ebe4d9}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Nunito,ui-rounded,'Arial Rounded MT Bold',system-ui,sans-serif}button,input,select{font:inherit}button{cursor:pointer;border:0;color:inherit;min-height:48px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:4px solid #7866b5;outline-offset:4px}button:disabled{cursor:default;opacity:.6}button:not(:disabled):active{transform:translateY(2px)}.shell{max-width:1280px;margin:auto;padding:0 40px 40px}header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 0}.logo{font-size:23px;font-weight:900;letter-spacing:-1px;display:flex;gap:11px;align-items:center;background:none;text-align:left}.logo small{display:block;letter-spacing:2px;font-size:10px;color:var(--muted);text-transform:uppercase;margin-top:2px}.logo-icon{width:43px;height:43px;background:var(--mint);border-radius:16px;display:grid;place-items:center;font-size:25px}.header-actions{display:flex;gap:10px}.pill,.ghost{background:white;border:1px solid var(--line);border-radius:16px;padding:10px 18px;font-weight:750}.pill{background:#fff0cb;border:0}.nav{display:flex;gap:10px;padding:5px 0 23px}.nav button{background:transparent;border-radius:15px;padding:11px 20px;font-weight:800;color:var(--muted)}.nav button.active{background:#e2eee7;color:#305c53}.hero{display:grid;grid-template-columns:1.05fr 1fr;min-height:385px;background:#dcefe5;border-radius:32px;overflow:hidden;position:relative}.hero-copy{padding:40px 0 40px 40px;position:relative;z-index:2}.eyebrow{text-transform:uppercase;font-size:11px;font-weight:900;letter-spacing:2px;color:#497565}.hero h1{font-size:clamp(32px,4vw,51px);line-height:1.07;letter-spacing:-1.7px;margin:15px 0}.hero p{font-size:16px;line-height:1.6;max-width:380px;color:#526e65}.primary{background:#735cb0;color:white;border-radius:17px;padding:16px 25px;font-weight:850;box-shadow:0 5px 0 #574388}.primary small{font-size:12px;font-weight:500;opacity:.8}.hero .primary{margin-top:9px}.scene{position:relative;min-height:330px;overflow:hidden}.hill{position:absolute;border-radius:50%;background:#aed5b7;width:650px;height:230px;bottom:-130px;left:-60px}.hill.back{background:#bfdfc5;bottom:-80px;left:40px}.hero .animal{width:260px;position:absolute;bottom:18px;left:40px;z-index:2;animation:sway 5s ease-in-out infinite}.hero .animal.small{width:150px;left:245px;bottom:30px;animation-delay:-2s}.sun{position:absolute;width:64px;height:64px;background:#ffce7e;border-radius:50%;top:40px;right:65px;box-shadow:0 0 0 12px #ffce7e33}.cloud{position:absolute;top:48px;left:48px;width:92px;height:27px;background:#fff9;border-radius:30px}.cloud:before{content:'';position:absolute;width:46px;height:40px;left:22px;top:-19px;border-radius:50%;background:#fff9}.flower{position:absolute;font-size:34px;bottom:28px;right:25px;z-index:3}.speech{position:absolute;right:38px;top:126px;background:white;border-radius:20px 20px 20px 3px;padding:15px 22px;font-size:22px;font-weight:850;transform:rotate(5deg);z-index:4}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:31px 0 18px}.section-head h2{font-size:23px;margin:0;letter-spacing:-.5px}.subtle{font-size:13px;color:var(--muted)}.worlds{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.world{text-align:left;border-radius:24px;background:white;border:1px solid var(--line);padding:0;overflow:hidden;transition:transform .2s,box-shadow .2s}.world:hover{transform:translateY(-4px);box-shadow:0 8px 25px #2530470b}.world-art{height:125px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.world-art .animal{width:120px;height:126px;transform:translateY(12px)}.world-art .decor{font-size:62px;line-height:1;margin-left:20px}.world-info{padding:19px 20px}.world-info h3{margin:0 0 5px;font-size:18px}.world-info p{margin:0;color:var(--muted);font-size:13px}.world-bottom{display:flex;justify-content:space-between;margin-top:17px;font-size:12px;font-weight:800;color:#5e7464}.progress{height:6px;border-radius:6px;background:#ebeae4;overflow:hidden;margin-top:9px}.progress>span{display:block;height:100%;background:var(--mint);border-radius:6px}.bottom-tip{margin-top:25px;padding:17px 22px;border:1px dashed #ceccbc;border-radius:17px;display:flex;justify-content:space-between;gap:20px;font-size:13px;color:var(--muted)}.back{background:transparent;padding:8px 0;font-weight:800}.lesson-list{display:grid;gap:14px;margin-top:20px}.lesson-card{background:white;border:1px solid var(--line);padding:23px;border-radius:22px;display:flex;align-items:center;gap:20px;text-align:left}.lesson-number{width:54px;height:54px;background:#eee7fa;border-radius:18px;display:grid;place-items:center;font-size:23px;font-weight:900;flex:none}.lesson-card h3{margin:0 0 5px}.lesson-card p{margin:0;color:var(--muted)}.lesson-card .arrow{margin-left:auto;font-size:24px}.center{text-align:center}.intro{max-width:800px;margin:10px auto}.intro .animal{width:185px;height:190px}.intro h1{font-size:34px;margin:0 0 12px}.intro>p{line-height:1.6;color:var(--muted);max-width:590px;margin:10px auto 25px}.vocabulary{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:20px 0 28px}.word-chip{background:white;border:1px solid var(--line);padding:15px;border-radius:18px;min-width:115px}.word-chip .symbol{font-size:35px;display:block}.word-chip b{display:block;margin-top:7px}.word-chip small{display:block;color:var(--muted);margin:4px 0}.game-header{display:flex;gap:20px;align-items:center;max-width:900px;margin:auto}.game-header .progress{flex:1;margin:0;height:12px}.game{max-width:900px;margin:20px auto}.game-prompt{display:flex;align-items:center;justify-content:center;gap:20px;min-height:150px}.game-prompt .animal{width:125px;height:135px;flex:none}.bubble{background:white;border:1px solid var(--line);border-radius:25px;padding:20px 25px;min-width:220px;max-width:570px}.bubble h1{font-size:27px;margin:6px 0}.bubble p{margin:7px 0;color:var(--muted)}.audio{background:#e3f1ee;border-radius:14px;padding:10px 17px;font-weight:800;color:#275c54}.hint{background:none;color:#65518f;text-decoration:underline;margin-top:10px}.playfield{background:#e4f0e4;border-radius:28px;min-height:290px;padding:35px;position:relative;overflow:hidden}.playfield.find{background:radial-gradient(ellipse at 10% 100%,#b8d7ad 0 25%,transparent 26%),radial-gradient(ellipse at 100% 100%,#c0dda8 0 20%,transparent 21%),#dceee6}.choices{display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;position:relative;z-index:1}.choice{background:#fffdf6;border:3px solid white;border-radius:24px;padding:20px;min-width:130px;min-height:135px;box-shadow:0 5px 0 #b9c9b9;transition:transform .15s}.choice:hover{transform:translateY(-5px)}.choice.selected{border-color:#7866b5;background:#ece5fa}.choice .symbol{font-size:65px;display:block}.choice .label{display:block;font-size:15px;margin-top:7px;font-weight:800}.choice.wrong{animation:wiggle .3s}.ball{width:67px;height:67px;border-radius:50%;margin:4px auto;background:var(--ball);box-shadow:inset -9px -10px 0 #0002,inset 10px 8px 0 #fff4;display:block;border:3px solid #fff8}.dropzone{display:flex;align-items:center;justify-content:center;gap:10px;margin:28px auto 0;border:3px dashed #91b3a0;background:#fff7;border-radius:22px;max-width:420px;min-height:82px;padding:15px;font-size:18px;font-weight:800}.dropzone .animal{width:90px;height:95px;margin:-15px 0}.feedback{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 4px}.feedback p{font-weight:750;margin:0}.success{color:#226c54}.pairs{display:grid;grid-template-columns:1fr 1fr;gap:15px;max-width:540px;margin:auto}.pair{border:2px solid white;background:#fffdf6;border-radius:18px;padding:12px;min-height:75px;font-size:27px;box-shadow:0 3px 0 #b9c9b9}.pair.selected{border-color:#7866b5;background:#ece5fa}.pair.matched{opacity:.45;box-shadow:none;background:#bbdfc9}.pair small{font-size:14px}.notice{background:#fff0cb;border-radius:16px;padding:15px 20px;line-height:1.6;margin:20px 0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.stat{padding:22px;background:white;border-radius:20px;border:1px solid var(--line)}.stat strong{font-size:32px;display:block}.panel{padding:25px;background:white;border-radius:24px;border:1px solid var(--line);margin:20px 0}.parent-row{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:15px;padding:15px 0;border-bottom:1px solid var(--line);align-items:center}.parent-row:last-child{border:0}.parent-row small{color:var(--muted);display:block;margin-top:5px}.parent-row select,input,select{border:1px solid #bdb8c8;border-radius:12px;padding:12px;background:white;min-height:48px;max-width:100%}.settings{display:grid;gap:20px;max-width:650px;margin:25px auto}.settings label{display:flex;align-items:center;justify-content:space-between;gap:20px}.collection{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.friend{background:white;border:1px solid var(--line);border-radius:24px;text-align:center;padding:15px}.friend .animal{width:145px;height:160px}.friend h3{margin:0 0 8px}.friend p{font-size:13px;color:var(--muted)}.form{max-width:430px;margin:35px auto;display:grid;gap:18px}.form label{display:grid;gap:8px}.celebration{font-size:70px;margin:10px}.finish{max-width:620px;margin:15px auto;text-align:center}.finish .animal{height:200px}.finish h1{font-size:38px;margin:8px}.finish p{line-height:1.6;color:var(--muted)}.actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:24px 0}footer{font-size:12px;color:var(--muted);margin:30px 0 0;display:flex;justify-content:space-between;gap:15px}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#253047;color:white;padding:13px 20px;border-radius:14px;z-index:10;max-width:90%;display:none}#toast.show{display:block}.reduced *{animation:none!important;transition:none!important}@keyframes sway{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg) translateY(-5px)}}@keyframes wiggle{25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-width:800px){.shell{padding:0 22px 30px}.hero-copy{padding:30px 0 30px 28px}.hero .animal{width:205px;left:0}.hero .animal.small{width:120px;left:145px}.speech{right:20px;top:112px;font-size:18px}.worlds{grid-template-columns:repeat(2,1fr)}.hero h1{font-size:37px}.parent-row{grid-template-columns:1fr 1fr}.parent-row select{grid-column:1/-1}.collection{grid-template-columns:repeat(2,1fr)}}@media(max-width:540px){.shell{padding:0 16px 25px}header{padding:15px 0}.logo{font-size:19px}.logo small{font-size:8px}.logo-icon{width:35px;height:35px;border-radius:12px;font-size:21px}.header-actions{gap:6px}.header-actions .ghost{padding:9px 11px;font-size:12px}.pill{padding:10px;font-size:13px}.nav{gap:3px;justify-content:space-between;padding-bottom:15px}.nav button{padding:10px 9px;font-size:13px}.hero{grid-template-columns:1fr;min-height:0;border-radius:25px}.hero-copy{padding:25px 25px 5px}.hero h1{font-size:37px;margin:10px 0}.hero p{font-size:14px;margin:12px 0}.hero .primary{padding:14px 22px}.scene{min-height:215px}.hero .animal{width:175px;left:48px;bottom:0}.hero .animal.small{width:110px;left:205px;bottom:15px}.sun{width:45px;height:45px;top:15px;right:45px}.cloud{top:36px;left:20px;width:60px}.speech{top:32px;right:110px;font-size:17px;padding:10px 17px}.worlds{gap:12px}.world-art{height:100px}.world-art .animal{width:93px;height:105px}.world-art .decor{font-size:38px;margin-left:0}.world-info{padding:14px}.world-info h3{font-size:15px}.world-info p{font-size:11px;min-height:28px}.world-bottom{font-size:10px;margin-top:10px}.section-head h2{font-size:21px}.section-head .subtle{font-size:11px}.bottom-tip{display:block;font-size:12px;line-height:1.6}.bottom-tip span{display:block}.game-prompt{gap:5px}.game-prompt .animal{width:80px;height:100px}.bubble{min-width:0;flex:1;padding:15px}.bubble h1{font-size:21px}.bubble p{font-size:13px}.playfield{padding:22px 12px;min-height:240px}.choices{gap:12px}.choice{min-width:85px;min-height:105px;padding:12px;flex:1;max-width:150px;border-radius:18px}.choice .symbol{font-size:43px}.ball{width:48px;height:48px}.feedback{align-items:flex-start;font-size:14px}.feedback .primary{padding:13px 19px;flex:none}.stats{gap:8px}.stat{padding:14px;font-size:12px}.stat strong{font-size:25px}.panel{padding:18px}.parent-row{font-size:13px}.lesson-card{padding:17px;gap:12px}.lesson-card h3{font-size:17px}.lesson-card p{font-size:12px}.lesson-number{width:44px;height:44px}.intro h1{font-size:28px}.intro .animal{height:150px}.friend .animal{width:120px;height:130px}footer{font-size:10px}.settings label{font-size:14px}.word-chip{min-width:95px;padding:12px}.word-chip b{font-size:14px}}
.text-link{background:none;padding:5px;min-height:32px;color:#65518f;text-decoration:underline;font-size:inherit}.landing-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:20px;padding:32px 0 20px;align-items:center}.landing-copy h1{font-size:clamp(40px,4.7vw,62px);line-height:1.08;letter-spacing:-2.4px;margin:20px 0}.landing-copy h1 em{font-style:normal;color:#4c9d8e}.landing-copy>p{font-size:17px;line-height:1.75;max-width:540px;color:#647068}.left{justify-content:flex-start}.trust{display:flex;gap:19px;flex-wrap:wrap;font-size:12px;color:#5b7265;margin-top:25px}.landing-scene{height:455px;background:#dcefe5;border-radius:47% 47% 35% 35%;isolation:isolate}.landing-scene .lead{width:250px;position:absolute;bottom:50px;left:65px;z-index:3;animation:sway 6s ease-in-out infinite}.landing-scene .second{width:165px;position:absolute;bottom:41px;right:-2px;z-index:4;animation:sway 7s ease-in-out infinite}.landing-scene .third{width:125px;position:absolute;bottom:95px;left:-5px;z-index:2}.landing-scene .speech{right:45px;top:125px}.landing-scene .sun{right:80px}.scene-label{position:absolute;bottom:23px;left:0;right:0;text-align:center;font-size:12px;color:#486b57;z-index:5}.floating-leaf{position:absolute;left:26px;bottom:36px;font-size:35px;animation:sway 4s infinite}.promise-strip{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px 0;margin-top:35px}.promise-strip div{text-align:center;border-right:1px solid var(--line)}.promise-strip div:last-child{border:0}.promise-strip b{font-size:32px;display:block}.promise-strip span{font-size:12px;color:var(--muted)}.marketing-section{margin:72px 0}.marketing-section>h2{font-size:34px;letter-spacing:-1px;margin:14px 0 25px}.feature-grid,.growth-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.feature-grid article{background:white;padding:27px;border-radius:24px;border:1px solid var(--line)}.feature-grid p,.growth-grid p,.parent-promo p{font-size:15px;color:var(--muted);line-height:1.75}.feature-icon{font-size:35px}.feature-grid h3{font-size:20px}.try-section{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;background:#ece6f6;border-radius:30px;padding:35px}.try-section .animal{width:115px;float:left;margin-right:15px}.try-section h2{font-size:26px;margin:10px 0 20px;letter-spacing:-.5px}.try-section p{font-size:13px;color:#6d6081}.try-balls{display:flex;gap:20px;flex-wrap:wrap;justify-content:center}.demo-ball{background:white;padding:20px;border-radius:25px;box-shadow:0 5px 0 #cdc0e1}.demo-ball.found{background:#c8e4d1}.try-balls p{width:100%;text-align:center;min-height:36px}.section-description{max-width:700px;line-height:1.7;color:var(--muted);margin-bottom:25px}.growth-grid article{border:1px solid var(--line);padding:25px;border-radius:23px}.growth-grid article.current{background:#e3eee4;border-color:#b6d7be}.growth-grid article>span{font-size:10px;font-weight:900;letter-spacing:1.2px;color:#65796d}.growth-grid h3{font-size:22px}.parent-promo{background:#f5ead7;border-radius:30px;padding:40px;display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.parent-promo h2{font-size:35px;letter-spacing:-1px}.sample-report{background:white;border:1px solid #fff;border-radius:23px;padding:25px;box-shadow:0 15px 35px #53432d0a;transform:rotate(2deg)}.sample-badge{font-size:10px;color:#8b7c66;text-transform:uppercase;letter-spacing:1px}.sample-report>div{padding:15px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:8px;font-size:14px}.sample-report b{font-size:12px;color:#58796a}.sample-report p{font-size:12px}.faq details{border-bottom:1px solid var(--line);padding:20px 0}.faq summary{cursor:pointer;font-size:18px;font-weight:750}.faq details p{line-height:1.75;color:var(--muted);max-width:850px}.final-cta{text-align:center;background:#dcefe5;padding:45px 20px;border-radius:30px}.final-cta>span{font-size:40px}.final-cta h2{font-size:32px;margin:15px}.final-cta p{color:#5d776a}.final-cta .primary{margin:10px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;max-width:1000px;margin:auto}.auth-copy .animal{width:230px}.auth-copy h1{font-size:38px;letter-spacing:-1px}.auth-copy p{line-height:1.7;color:var(--muted)}.auth-layout .form{margin:0 auto}.provider{background:#fff;border:1px solid var(--line);border-radius:13px;padding:13px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:15px}.provider.telegram{color:#24789e;background:#eef8fc;border-color:#d6eaf2}.divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}.divider:before,.divider:after{content:'';flex:1;height:1px;background:var(--line)}.form .consent{display:block;font-size:12px;line-height:1.7;color:var(--muted)}.consent input{min-height:0;vertical-align:middle}.error{color:#a14e45;font-size:13px;margin:0;line-height:1.5}@media(max-width:800px){.landing-hero{grid-template-columns:1fr 1fr}.landing-copy h1{font-size:44px}.landing-scene{height:380px}.landing-scene .lead{width:210px;left:25px}.landing-scene .second{width:125px;right:-15px}.landing-scene .third{width:100px;left:-15px}.landing-scene .speech{font-size:18px;right:20px}.landing-copy .actions{gap:15px}.feature-grid,.growth-grid{gap:12px}.feature-grid article,.growth-grid article{padding:19px}.parent-promo{gap:25px;padding:28px}.auth-layout{gap:25px}}@media(max-width:540px){.landing-hero{grid-template-columns:1fr;padding-top:15px;gap:0}.landing-copy h1{font-size:43px;letter-spacing:-1.9px}.landing-copy>p{font-size:15px;line-height:1.65}.landing-copy .actions{margin:20px 0}.landing-copy .primary{width:100%}.landing-copy .ghost{width:100%}.trust{justify-content:space-between;font-size:10px;gap:6px;margin-top:20px}.landing-scene{height:280px;margin-top:25px;border-radius:35px}.landing-scene .lead{width:185px;left:70px;bottom:30px}.landing-scene .second{width:125px;right:5px;bottom:25px}.landing-scene .third{width:100px;left:8px;bottom:60px}.landing-scene .speech{top:42px;right:43px}.landing-scene .sun{top:20px;right:28px}.scene-label{bottom:12px;font-size:10px}.promise-strip{grid-template-columns:repeat(2,1fr);row-gap:22px;padding:22px 0;margin-top:25px}.promise-strip div:nth-child(2){border:0}.promise-strip b{font-size:27px}.marketing-section{margin:43px 0}.marketing-section>h2{font-size:28px}.feature-grid,.growth-grid{grid-template-columns:1fr}.feature-grid article{padding:22px}.feature-grid h3{margin:10px 0}.feature-grid p{margin-bottom:0}.try-section{grid-template-columns:1fr;padding:24px 18px;gap:10px}.try-section .animal{width:85px}.try-section h2{font-size:22px}.try-section .eyebrow{font-size:9px}.demo-ball{padding:17px}.try-balls{gap:16px}.try-balls .ball{width:53px;height:53px}.growth-grid p{margin-bottom:0}.parent-promo{grid-template-columns:1fr;padding:25px;gap:25px}.parent-promo h2{font-size:29px}.sample-report{transform:none;padding:22px}.faq summary{font-size:16px}.final-cta{padding:30px 18px}.final-cta h2{font-size:27px}.auth-layout{grid-template-columns:1fr;gap:0}.auth-copy .animal{width:110px;float:right}.auth-copy h1{font-size:28px}.auth-copy p{font-size:14px}.auth-layout .panel{padding:22px}}
.stage-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:25px}.stage-picker button{border:1px solid var(--line);background:white;border-radius:18px;text-align:left;padding:17px;display:grid;gap:7px}.stage-picker button.active{background:#eee7fa;border-color:#b9a9d8}.stage-picker span{font-size:24px}.stage-picker small{font-size:11px;color:var(--muted);line-height:1.5}.reading-panel{padding:22px 28px;background:#fff;border:1px solid var(--line);border-radius:22px;margin:0 0 20px}.reading-panel p{font-size:21px;line-height:1.7}.text-choice{display:block;font-size:18px;line-height:1.55;max-width:210px}.sentence-line{min-height:90px;background:#fff9;padding:18px;border-radius:18px;display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:center;color:#67796c}.word-bank{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:25px 0}.token{border-radius:13px;background:white;padding:12px 18px;font-size:20px;font-weight:750;box-shadow:0 3px 0 #bdd2bd}.token.selected{background:#e9e0f6;color:#58467c}.gap-sentence{font-size:25px;line-height:1.6;text-align:center}.writing{display:grid;gap:20px;max-width:600px;margin:auto}.writing label{display:grid;gap:12px}.writing input{width:100%;font-size:20px}.teacher-card{background:#ebe3f6;padding:25px;border-radius:24px;display:flex;gap:20px;align-items:center;margin-top:25px}.teacher-card .animal{width:110px;flex:none}.teacher-card h3{margin:0 0 10px}.teacher-card p{font-size:14px;line-height:1.6;color:var(--muted)}@media(max-width:540px){.stage-picker{grid-template-columns:repeat(2,1fr);gap:8px}.stage-picker button{padding:13px}.reading-panel{padding:18px}.reading-panel p{font-size:18px}.text-choice{font-size:15px;max-width:none}.choices:has(.text-choice){flex-direction:column}.choices:has(.text-choice) .choice{width:100%;max-width:none;min-height:65px}.token{font-size:17px;padding:11px 13px}.gap-sentence{font-size:21px}.teacher-card{gap:10px;padding:18px}.teacher-card .animal{width:75px}}
.teacher-view{max-width:950px;margin:auto}.topic-label{display:flex;gap:15px;align-items:center;color:var(--muted)}.topic-label select{flex:1}.tutor-scene{display:flex;gap:25px;align-items:center;margin:30px 0}.tutor-scene>.animal{width:200px;flex:none}.tutor-bubble{border:1px solid var(--line);background:white;border-radius:26px;padding:25px;flex:1;line-height:1.7}.tutor-english{font-size:24px;line-height:1.5;font-weight:750}.tutor-feedback{background:#e3eee4;border-radius:13px;padding:12px;margin-top:15px;font-size:14px}.teacher-options{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.teacher-options button{background:#eee7fa;border-color:#d1c4e8}.teacher-input{display:flex;gap:12px;margin-top:10px}.teacher-input input{flex:1;min-width:0}.thinking{color:#7866b5;animation:sway 3s ease-in-out infinite}.consent{line-height:1.6}.consent input{min-height:0;width:20px;height:20px;vertical-align:middle;margin-right:10px}@media(max-width:540px){.nav button{font-size:12px;padding:10px 5px}.tutor-scene{gap:5px;align-items:flex-start}.tutor-scene>.animal{width:65px}.tutor-bubble{padding:18px}.tutor-english{font-size:20px}.teacher-input{flex-direction:column}.topic-label{display:block}.topic-label select{width:100%;margin-top:10px}.teacher-options{flex-direction:column}.teacher-options button{text-align:left}}
/* Small, predictable celebrations: no flashing, countdowns or lost streaks. */
.daily-panel{margin:30px 0;padding:26px;border:1px solid #dce8de;border-radius:28px;background:#f1f7ed}.quest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.quest{display:flex;gap:13px;background:#fff;border-radius:20px;padding:18px;align-items:flex-start}.quest>span{font-size:28px}.quest h3{font-size:16px;margin:0 0 6px}.quest p{font-size:13px;line-height:1.5;margin:0 0 10px}.quest small{font-size:12px;color:#486657}.quest.done{background:#dff0df}.quest.done>span{color:#366944}.garden{font-weight:700;color:#46664f;font-size:14px}.badge-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:25px 0 45px}.badge{border:2px dashed #e0dfd7;border-radius:24px;padding:22px 14px;text-align:center;background:#f5f4ef}.badge>span{font-size:38px;filter:grayscale(1);opacity:.55}.badge h3{font-size:16px;margin:12px 0 6px}.badge p{font-size:13px;line-height:1.5}.badge.earned{border:2px solid #e4ce8b;background:#fffae8}.badge.earned>span{filter:none;opacity:1}.badge small{font-size:12px}.badge-reveal{background:#fff4d8;padding:20px;border-radius:24px;margin:20px auto;max-width:500px}.badge-reveal>span{font-size:40px}.celebration span{display:inline-block;animation:reward-pop .65s ease-out both}.celebration span:nth-child(2){animation-delay:.15s}.reward-pop{animation:reward-pop .5s ease-out}@keyframes reward-pop{0%{transform:translateY(10px) scale(.92);opacity:.3}65%{transform:translateY(-3px) scale(1.04)}100%{transform:none;opacity:1}}
body[data-stage="2"] .hero,body[data-stage="3"] .hero{background:#e9edf8}body[data-stage="3"] .hero h1{font-size:clamp(32px,4.2vw,58px)}body[data-stage="3"] .speech{animation:none}body[data-stage="3"] .scene .sun{background:#e3c46c}body[data-stage="3"] .scene .hill{background:#acbecf}
@media(max-width:760px){.quest-grid{grid-template-columns:1fr}.badge-grid{grid-template-columns:repeat(2,1fr)}.daily-panel{padding:18px}.daily-panel .section-head{display:block}.garden{display:block;margin:12px 0}.badge{padding:18px 10px}}
@media(prefers-reduced-motion:reduce){.reward-pop,.celebration span{animation:none!important}}.reduced .reward-pop,.reduced .celebration span{animation:none!important}

/* Mobile QA: keep controls readable and feedback within reach. */
header .logo{min-width:0}.header-actions{flex-shrink:0;align-items:center}.pill{white-space:nowrap}.tutor-bubble,.section-head>div,.teacher-card>div{min-width:0;overflow-wrap:anywhere}input,select{font-size:16px}.form input{width:100%;min-width:0}.form input[type=checkbox]{width:20px}.text-link,.hint{min-height:44px}#toast{width:max-content;max-width:calc(100vw - 32px);bottom:max(22px,env(safe-area-inset-bottom));box-sizing:border-box}.section-head{flex-wrap:wrap}.teacher-options button{overflow-wrap:anywhere}.form label,.settings label{min-width:0}
@media(max-width:540px){header{gap:8px;flex-wrap:wrap}.logo{gap:7px;font-size:18px}.logo small{letter-spacing:.7px;font-size:7px}.logo-icon{flex-shrink:0}.header-actions .ghost{max-width:105px}.pill{padding:8px}.auth-copy{display:none}.auth-layout .panel{margin-top:10px}.nav button{min-height:48px}.game .feedback{position:sticky;bottom:0;background:var(--cream);z-index:3;border-top:1px solid var(--line);padding:12px 4px max(12px,env(safe-area-inset-bottom));align-items:center}.tutor-scene{flex-direction:column;gap:8px}.tutor-scene>.animal{height:75px;align-self:center}.tutor-bubble{width:100%}.settings label{flex-wrap:wrap;gap:10px}.teacher-card{flex-direction:column;align-items:flex-start}.teacher-card .animal{height:80px}.teacher-card .primary{width:100%}.parent-row{overflow-wrap:anywhere}.finish h1{font-size:30px}}
@media(max-width:360px){header .logo small{display:none}.logo-icon{display:none}.header-actions .ghost{max-width:90px}.nav button{font-size:11px;padding:8px 3px}.worlds{grid-template-columns:1fr}}

.collection{grid-template-columns:repeat(3,minmax(0,1fr))}.friend{min-width:0;overflow-wrap:anywhere}.friend .animal{max-width:100%}.badge-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.badge{min-width:0;overflow-wrap:anywhere}@media(max-width:800px){.collection{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.logo small{display:none}.header-actions{margin-left:auto}.logo{font-size:16px}.logo-icon{width:29px;height:29px}.friend{padding:12px}.friend .ghost{padding:10px;max-width:100%}}

.speech-status{position:fixed;z-index:10000;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:min(90vw,520px);padding:12px 18px;border-radius:18px;background:#173b63;color:white;box-shadow:0 6px 30px #1236;font:600 15px/1.4 inherit}.speech-status[hidden]{display:none}.speech-status:disabled{opacity:.95}
