@font-face{font-family:Island;src:local('Avenir Next');font-display:swap}
:root{--ink:#2d493e;--muted:#63766c;--green:#356653;--green-dark:#244f3e;--cream:#faf8f1;--yellow:#efd28b;--line:#e0e7dc;--paper:#fffef8;--orange:#df8750;--radius:26px;font-family:Island,'Trebuchet MS','PingFang SC','Microsoft YaHei',sans-serif;color:var(--ink);background:var(--cream);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.65}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b96734;outline-offset:5px}button:not(:disabled):active{transform:translateY(2px)}a{color:inherit}h1,h2,h3,p{margin:0}button{border:0}button svg{flex-shrink:0}.icon{width:24px;height:24px;vertical-align:middle;display:inline-block;flex-shrink:0}.art{display:block;width:100%;height:100%;overflow:visible}.site-header{height:106px;max-width:1180px;margin:auto;padding:0 40px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:800;font-size:21px;letter-spacing:.3px}.brand img{width:47px;height:47px}.brand small{display:block;font-size:10px;letter-spacing:2.2px;color:#819087;font-weight:600;margin-top:4px}.header-tag{margin-left:auto;font-size:13px;color:var(--muted);letter-spacing:2px}.icon-button{background:var(--paper);border:1px solid var(--line);border-radius:50%;width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.home{max-width:1180px;margin:auto;padding:0 40px 52px}.hero{position:relative;min-height:420px;border-radius:32px;overflow:hidden;background:#e7f1ec}.scenery{position:absolute;inset:0;width:100%;height:100%}.hero-copy{position:relative;z-index:2;padding:47px 43px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:var(--muted);display:block}.eyebrow i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#6c9478;margin-right:8px}.hero h1{font-size:46px;line-height:1.35;letter-spacing:1px;margin-top:20px;font-weight:800}.hero h1 span{position:relative;z-index:1}.hero h1 span:after{content:'';position:absolute;left:1px;right:1px;bottom:2px;height:12px;background:#edd594;z-index:-1;border-radius:3px}.hero p{margin:18px 0 25px;font-size:14px;color:#566d5e}.primary{min-height:58px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:15px 25px;background:var(--green);color:white;font-size:17px;border-radius:18px;box-shadow:0 5px 0 #244d3d;transition:background .15s}.primary:hover{background:var(--green-dark)}.primary .icon{width:21px;height:21px}.primary:disabled{box-shadow:none}.hero-note{display:block;margin:15px 0 0 10px;font-size:11px;color:#5a705d;letter-spacing:1px}.hero-fox{position:absolute;right:110px;bottom:38px;width:235px;height:250px;z-index:1}.speech-bubble{position:absolute;top:-17px;left:34px;background:#fffcef;padding:12px 15px;border-radius:16px 16px 16px 3px;font-size:13px;white-space:nowrap;transform:rotate(-4deg)}.scene-label{position:absolute;bottom:24px;right:63px;font-size:10px;letter-spacing:1px;color:#496849}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:36px 0 25px}.section-head h2{font-size:23px;margin-top:8px}.quiet{font-size:12px;line-height:1.7;color:var(--muted)}.lesson-trail{display:flex;gap:12px;position:relative}.lesson-stop{padding:15px 8px 18px;flex:1;background:transparent;display:flex;align-items:center;flex-direction:column;min-width:0;border-radius:24px}.lesson-stop:hover{background:#f0f1e5}.stop-art{display:block;position:relative;border:7px solid #fffdf6;border-radius:50%;background:#f0ddbb;width:118px;height:118px;box-shadow:0 3px 0 #e7e6d9;margin-bottom:19px}.stop-art .character-art{width:90px;height:90px;margin:8px auto}.stop-art b{position:absolute;right:-3px;bottom:-7px;border-radius:50%;background:var(--green);color:white;font-size:13px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border:3px solid var(--cream)}.stop-art b .icon{width:16px}.lesson-stop strong{font-size:16px}.lesson-stop small{font-size:12px;color:var(--muted);margin-top:7px}.lesson-status{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--green);margin-top:13px}.lesson-status .icon{width:13px;height:13px}.together-note{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:30px;font-size:12px;color:#79897c}.together-note .icon{width:18px;height:18px}.character-art{position:relative;width:100%;height:100%}.wave-lines{position:absolute;left:2%;top:5%;font-size:54px;transform:rotate(-30deg);color:#507d69}.bye .fox-arm{transform-origin:80px 145px;animation:wave .65s ease-in-out infinite alternate}.hello .fox-arm,.hero-fox .fox-arm{transform-origin:80px 145px;animation:wave 1.7s ease-in-out infinite alternate}.fox-body{transform-origin:120px 216px}.hero-fox .fox-body{animation:breathe 3s ease-in-out infinite}.classroom{min-height:100dvh;background:#f5f6ed;padding:26px 28px 40px}.classroom-top{display:flex;align-items:center;gap:23px;max-width:980px;margin:auto}.progress-track{height:10px;flex:1;background:#e0e7d9;border-radius:10px;overflow:hidden}.progress-track i{display:block;height:100%;background:#84ac7c;border-radius:10px;transition:width .4s}.classroom-name{font-size:13px;color:#677966}.lesson-stage{max-width:900px;margin:25px auto 0;display:flex;flex-direction:column;align-items:center;text-align:center;min-height:630px;border-radius:35px;background:#fffdf7;padding:35px 28px 32px;position:relative;overflow:hidden}.lesson-stage h1{font-size:32px;margin:12px 0 20px;line-height:1.4}.story-character{height:200px;width:200px}.story-text{font-size:17px;line-height:1.9;max-width:500px;color:#627062}.sound-pill{margin:22px 0;display:flex;gap:10px;align-items:center;padding:12px 18px;border-radius:25px;background:#eef2e5;font-size:13px;min-height:48px}.big-word{width:230px;height:230px;border:2px dashed #d9e1cb;border-radius:34px;background:#f4f5e6;position:relative;padding:20px}.big-word:hover{background:#edf0d9}.word-sound{position:absolute;bottom:9px;right:9px;background:white;width:40px;height:40px;border-radius:50%;display:grid;place-items:center}.english-word{font-size:39px;letter-spacing:1px;margin-top:14px}.word-zh{font-size:16px;color:var(--muted);margin:4px 0 22px}.listen-button{display:flex;align-items:center;gap:13px;border-radius:24px;background:#eed392;padding:18px 27px;font-size:20px;color:#614d28;min-height:66px;margin:7px 0 32px}.listen-button .icon{width:30px;height:30px}.choices{display:flex;gap:25px;justify-content:center;max-width:100%;flex-wrap:wrap}.choice{background:#f4f5ea;border:3px solid #e8ebdd;border-radius:28px;padding:18px;width:210px;min-height:230px;transition:border-color .2s,background .2s}.choice .art,.choice .character-art{width:160px;height:160px;margin:auto}.choice span{display:block;font-size:16px;margin-top:10px}.choice:hover{border-color:#8ca983}.choice.correct{border-color:#649769;background:#e7f2df}.feedback{height:45px;font-size:16px;color:#70806b;margin-top:25px}.feedback.right{color:#387343}.feedback.wrong{color:#976027}.done-fox{width:195px;height:195px;position:relative}.big-star{position:absolute;right:-15px;top:2px;animation:float 2s ease-in-out infinite}.big-star .icon{width:63px;height:63px;fill:#efd27e;stroke:#cb9f4c}.offline-task{display:flex;align-items:center;gap:16px;text-align:left;border-radius:22px;background:#f1f3e6;padding:20px;margin:25px 0;max-width:580px}.offline-task> .icon{width:33px;height:33px;color:#709172}.offline-task p{font-size:14px;line-height:1.8;margin-top:6px;color:#627360}.done .quiet{margin-top:20px}#toast{position:fixed;left:50%;bottom:95px;transform:translateX(-50%);background:#2d493e;color:white;border-radius:16px;padding:14px 23px;max-width:90%;font-size:14px;z-index:100;display:none}#audio-status:not(:empty){position:fixed;bottom:10px;left:50%;transform:translateX(-50%);background:#fff5db;color:#715a31;border:1px solid #e2c999;padding:12px 16px;border-radius:15px;z-index:100;width:max-content;max-width:92%;font-size:13px}.speaking .listen-button .icon{animation:breathe .7s ease-in-out infinite}.speaking .word-sound{background:#efd797}
@keyframes wave{from{transform:rotate(-8deg)}to{transform:rotate(12deg)}}@keyframes breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}@keyframes float{50%{transform:translateY(-8px) rotate(8deg)}}
@media(min-width:1300px){.site-header{height:115px}.hero{min-height:437px}.hero-copy{padding:49px}.hero-fox{right:133px;width:255px;height:268px}}
@media(max-width:850px){.site-header{padding:0 25px;height:88px}.home{padding:0 25px 38px}.hero h1{font-size:37px}.hero-copy{padding:32px}.hero-fox{right:25px;bottom:31px;width:190px;height:214px}.hero{min-height:396px}.hero p{font-size:12px}.scene-label{right:26px;bottom:17px}.stop-art{width:94px;height:94px}.stop-art .character-art{width:75px;height:75px;margin:4px auto}.lesson-trail{gap:3px;flex-wrap:wrap}.lesson-stop{flex:1 1 30%}.header-tag{font-size:10px}.section-head .quiet{display:none}}
@media(max-width:560px){.site-header{height:84px;padding:0 20px;gap:12px}.brand{font-size:16px;gap:8px}.brand img{width:39px;height:39px}.brand small{font-size:8px;letter-spacing:1.3px}.header-tag{display:none}.site-header>.icon-button{margin-left:auto}.home{padding:0 16px 34px}.hero{min-height:506px;border-radius:25px}.hero-copy{padding:29px 26px}.hero .eyebrow{font-size:9px;letter-spacing:1px}.hero h1{font-size:35px;margin-top:18px;line-height:1.3}.hero p{font-size:12px;max-width:175px;line-height:1.8;margin-top:14px}.hero-fox{width:160px;height:175px;right:18px;bottom:86px}.hero .primary{position:absolute;top:385px;left:26px;right:26px;padding:15px 13px;font-size:16px;gap:8px}.hero-note{position:absolute;top:454px;left:0;right:0;text-align:center;margin:0;font-size:10px}.scene-label{bottom:17px;right:0;left:0;text-align:center;font-size:9px;display:none}.speech-bubble{font-size:10px;top:-4px;left:6px;padding:9px 10px}.hero .scenery{width:170%;left:-62%;max-width:none}.section-head{margin:29px 5px 15px}.section-head h2{font-size:21px}.eyebrow{font-size:9px}.lesson-trail{gap:5px}.lesson-stop{flex:1 1 30%;padding:11px 1px 17px}.stop-art{width:86px;height:86px;border-width:5px;margin-bottom:15px}.stop-art .character-art{width:71px;height:71px;margin:2px auto}.lesson-stop strong{font-size:13px}.lesson-stop small{font-size:10px}.lesson-status{font-size:10px}.together-note{font-size:10px;margin-top:17px}.classroom{padding:17px 12px 25px}.classroom-top{gap:12px}.classroom-top .icon-button{width:44px;height:44px}.classroom-name{display:none}.lesson-stage{margin-top:20px;padding:26px 15px;min-height:610px;border-radius:25px}.lesson-stage h1{font-size:25px}.story-text{font-size:16px}.story-character{width:183px;height:183px}.big-word{width:218px;height:218px}.choices{gap:12px;width:100%}.choice{width:calc(50% - 7px);min-height:172px;border-radius:23px;padding:8px}.choice .art,.choice .character-art{width:100%;height:123px;max-width:130px}.choice span{font-size:14px}.listen-button{font-size:17px}.feedback{font-size:14px}.offline-task{padding:16px 12px;gap:10px}.offline-task> .icon{display:none}.offline-task p{font-size:13px}.offline-task .icon-button{width:44px;height:44px}.done .primary{width:80%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.bottom-nav{position:sticky;bottom:0;z-index:20;display:flex;justify-content:center;gap:60px;border-top:1px solid var(--line);background:#faf8f1f7;padding:10px 20px calc(10px + env(safe-area-inset-bottom));backdrop-filter:blur(15px)}.bottom-nav button{display:flex;align-items:center;gap:10px;background:none;padding:12px 20px;min-height:48px;border-radius:17px;color:#758072;font-size:13px}.bottom-nav button[aria-current=page]{background:#e8eddf;color:#375c43;font-weight:700}.locked{filter:saturate(.5);opacity:.6}.locked .stop-art b{background:#879486}.locked .lesson-status{font-size:10px}.review-banner{width:100%;border:1px solid #dce4d5;background:#eef2e5;border-radius:22px;display:flex;align-items:center;gap:20px;text-align:left;padding:19px 25px;margin:22px 0 0}.review-banner span{flex:1}.review-banner strong{font-size:15px}.review-banner small{display:block;font-size:12px;color:var(--muted);margin-top:7px}.rest-note{margin-top:20px;text-align:center;font-size:13px;line-height:1.7;color:#78653d}.wordbook{min-height:calc(100dvh - 190px)}.wordbook h1{font-size:28px;margin-top:14px}.word-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.word-card{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:18px;display:flex;flex-direction:column;align-items:center;gap:9px}.word-card>.art,.word-card>.character-art{height:135px;width:135px}.word-card strong{font-size:24px}.word-card>span{font-size:13px;color:var(--muted);display:flex;gap:10px;align-items:center}.word-card .icon{width:19px}.empty-picture{max-width:500px;margin:40px auto;text-align:center;display:flex;align-items:center;flex-direction:column}.empty-picture>.fox{width:210px;height:210px}.empty-picture p{font-size:14px;color:var(--muted);line-height:1.8;margin:18px}.empty-picture .primary{font-size:16px}.action-jump .fox{animation:jump 1.3s ease-in-out infinite}.action-clap .fox-arm{transform-origin:87px 149px;animation:clap .8s ease-in-out infinite}.clap-hands{position:absolute;left:35%;top:50%;width:40%;animation:breathe .4s infinite}.clap-hands svg{width:100%}.stop-sign{position:absolute;right:7%;top:34%;background:#d68a65;color:white;width:38px;height:38px;border-radius:50%;font-weight:900;display:grid;place-items:center;font-size:25px}.theme-colors .correct .art{animation:fly .95s ease-in both}.theme-picnic .correct .art{animation:collect .95s ease-in both}.theme-animals .choice:hover .art{animation:breathe .6s ease-in-out}.stop-art>.art,.stop-art>.character-art{width:88%;height:88%;margin:6%}.stop-art .action-jump{animation:none}.speaking .fox-body{animation:breathe .8s ease-in-out infinite}@keyframes jump{0%,100%{transform:translateY(0)}40%{transform:translateY(-19px)}70%{transform:translateY(0) scaleY(.94)}}@keyframes clap{50%{transform:rotate(43deg)}}@keyframes fly{to{transform:translateY(-120px);opacity:0}}@keyframes collect{to{transform:translateY(20px) scale(.2);opacity:.1}}
@media(max-width:850px){.word-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:560px){.bottom-nav{gap:10px;padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}.bottom-nav button{flex-direction:column;gap:5px;flex:1;padding:9px 10px;font-size:11px}.bottom-nav .icon{width:23px;height:23px}.word-grid{grid-template-columns:repeat(2,1fr);gap:12px}.word-card{padding:15px 10px}.word-card>.art,.word-card>.character-art{height:110px;width:110px}.word-card strong{font-size:23px}.review-banner{padding:16px;gap:12px}.review-banner strong{font-size:13px}.review-banner small{font-size:10px}.choices:has(> :nth-child(3)) .choice{width:calc(33.333% - 8px);min-height:140px;padding:6px}.choices:has(> :nth-child(3)) .choice .art,.choices:has(> :nth-child(3)) .choice .character-art{height:87px}.choices:has(> :nth-child(3)){gap:10px}.choices:has(> :nth-child(3)) .choice span{font-size:12px}.clap-hands{top:50%}.stop-sign{width:24px;height:24px;font-size:14px}}
.star-wallet{display:flex;align-items:center;gap:7px;border:1px solid #eddfb5;background:#faf0d0;min-height:44px;padding:8px 14px;border-radius:20px;font-weight:800;font-size:17px;white-space:nowrap}.star-wallet .icon{fill:#e9c45f;stroke:#b18d35;width:22px;height:22px}.earned-stars{padding:10px 22px 14px;margin:-5px 0 17px;background:#fcf0cb;border-radius:20px;font-size:25px;font-weight:800;color:#8a682c}.earned-stars .icon{fill:#e7c35b;stroke:#b48a32}.earned-stars small{display:block;font-size:11px;font-weight:400;margin-top:6px}@media(max-width:560px){.site-header{gap:8px;padding:0 16px}.brand{font-size:14px}.brand small{font-size:7px}.brand img{width:34px;height:34px}.star-wallet{margin-left:auto;padding:7px 10px;font-size:14px}.site-header>.icon-button{margin-left:0;width:44px;height:44px}.star-wallet .icon{width:18px;height:18px}}
.parent-entry{display:block;margin:23px auto 0;min-height:44px;padding:10px 24px;background:transparent;color:#6b7668;text-decoration:underline;text-underline-offset:4px;font-size:12px}.parent-page{max-width:1100px;margin:auto;padding:35px 40px 65px}.plain-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:transparent;padding:10px 15px;border-radius:13px;font-size:13px}.plain-button:hover{background:#eaf0e3}.pin-card{max-width:430px;margin:45px auto;border:1px solid var(--line);border-radius:30px;padding:34px;background:var(--paper);text-align:center}.pin-card>.icon{width:42px;height:42px;margin-bottom:20px}.pin-card h1{font-size:24px}.pin-card>p{font-size:13px;line-height:1.8;margin:18px 0}.pin-card .primary{width:100%;font-size:16px}label{display:flex;flex-direction:column;gap:8px;text-align:left;font-size:13px;font-weight:600}input:not([type=checkbox]),select{width:100%;border:1px solid #ccd8c5;border-radius:12px;background:#fffefa;min-height:46px;padding:10px 13px;color:var(--ink);min-width:0}#pin-form label{margin-top:18px}#pin-form input{text-align:center;letter-spacing:15px;font-size:24px}#pin-form .primary{margin-top:10px}.form-error{color:#a14731;font-size:13px;min-height:23px;line-height:1.6;margin:10px 0}.parent-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.parent-top h1{font-size:27px;margin-top:10px}.parent-intro{margin:20px 0;color:var(--muted);font-size:14px;line-height:1.7}.parent-stats{display:grid;grid-template-columns:repeat(4,1fr);background:#e8eedf;border-radius:25px;padding:26px 20px;gap:15px;text-align:center}.parent-stats strong{font-size:29px;display:block}.parent-stats span{font-size:12px;display:block;margin-top:8px;color:var(--muted)}.parent-section{padding:27px 0;border-bottom:1px solid var(--line)}.parent-section h2,.rewards-page h2{font-size:19px;margin-bottom:18px}.parent-section>.quiet{margin-bottom:15px}.parent-section .section-head{margin:0 0 15px}.parent-section .section-head h2{margin:0 0 8px}.gift-form{display:grid;grid-template-columns:minmax(120px,1fr) 100px 75px 95px;align-items:end;gap:16px;padding:12px 0}.check-label{flex-direction:row;align-items:center;height:46px;gap:8px;font-weight:400}.check-label input{width:20px;height:20px;accent-color:var(--green)}.small-button{min-height:46px;padding:11px 16px;border-radius:14px;background:#e0ead8;border:1px solid #cfddc4;font-size:13px;display:inline-flex;align-items:center;gap:8px;justify-content:center}.small-button:hover{background:#d2e2c8}.small-button:disabled{background:#ecede3;color:#7d836f;border-color:#e5e6dc}.new-gift{margin-top:12px;border-top:1px dashed #d8dfce;padding-top:20px}.order-row{display:flex;align-items:center;gap:17px;padding:17px 0;border-bottom:1px solid #e5e9dc}.order-row>div:first-of-type{flex:1;min-width:0}.order-row strong{font-size:15px;overflow-wrap:anywhere}.order-row p{font-size:12px;margin-top:8px;color:var(--muted);line-height:1.6}.gift-icon{width:45px;height:45px;display:grid;place-items:center;background:#efe4c3;border-radius:15px;flex-shrink:0}.row-actions{display:flex;gap:10px;flex-wrap:wrap}.practice-list{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:17px}.practice-list>span{border:1px solid var(--line);padding:10px 16px;border-radius:14px;background:var(--paper)}.practice-list strong{display:block;font-size:16px}.practice-list small{display:block;margin-top:6px;font-size:11px;color:var(--muted)}.ledger-list>div{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e9ecdf;padding:12px 0;gap:20px;font-size:13px}.ledger-list small{display:block;font-size:10px;margin-top:6px;color:var(--muted)}.ledger-list strong{font-size:18px}.positive{color:#47834b}#settings-form{display:flex;gap:20px;align-items:end}#settings-form label{flex:1;max-width:430px}.rewards-page{min-height:calc(100dvh - 195px)}.rewards-heading{display:flex;align-items:center;justify-content:space-between;background:#edf0df;border-radius:28px;padding:30px 35px;margin-bottom:33px;gap:20px}.rewards-heading h1{font-size:30px;margin:15px 0}.rewards-heading p{font-size:14px;color:var(--muted)}.star-jar{width:128px;min-height:135px;background:#fbf4d9;border:3px solid #dfd4a5;border-radius:23px 23px 37px 37px;display:flex;align-items:center;flex-direction:column;padding:16px;flex-shrink:0}.star-jar .icon{width:29px;height:29px;fill:#e9c767;stroke:#b68c37}.star-jar strong{font-size:32px;margin:6px}.star-jar span{font-size:11px;color:#837047}.gift-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.gift-card{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:25px 20px;text-align:center;display:flex;align-items:center;flex-direction:column}.gift-picture{display:grid;place-items:center;width:85px;height:85px;background:#f6e9c8;border-radius:50%;margin-bottom:18px;color:#a68b4d}.gift-picture .icon{width:44px;height:44px}.gift-card h3{font-size:17px;line-height:1.7;overflow-wrap:anywhere}.gift-card p{margin:13px 0 20px;font-size:13px;color:#8d723c}.gift-card p .icon{width:17px;height:17px;fill:#eacc78}.gift-card .small-button{width:100%;margin-top:auto}.gift-empty{grid-column:1/-1;text-align:center;padding:35px;background:#f0f1e7;border-radius:24px;color:var(--muted);font-size:14px;line-height:1.9}.gift-empty>.icon{width:48px;height:48px;margin-bottom:18px}.my-orders{margin-top:35px}
@media(max-width:700px){.parent-page{padding:24px 18px 45px}.parent-top{align-items:flex-start}.parent-top h1{font-size:22px}.parent-top .plain-button{font-size:11px;padding:8px}.parent-stats{grid-template-columns:repeat(2,1fr);gap:25px}.gift-form{grid-template-columns:minmax(100px,1fr) 95px;gap:12px}.gift-form .small-button{grid-column:2}.order-row{flex-wrap:wrap;gap:10px}.row-actions{margin-left:55px}.parent-section h2,.rewards-page h2{font-size:17px}.rewards-heading{padding:23px 21px}.rewards-heading .eyebrow{font-size:8px;letter-spacing:1px}.rewards-heading h1{font-size:22px}.rewards-heading p{font-size:11px;line-height:1.8}.star-jar{width:95px;min-height:120px;padding:12px}.star-jar strong{font-size:26px}.gift-grid{grid-template-columns:repeat(2,1fr);gap:12px}.gift-card{padding:19px 12px}.gift-card h3{font-size:14px}.gift-card .small-button{font-size:12px}.pin-card{padding:27px;margin-top:20px}.bottom-nav{gap:3px}.parent-intro{font-size:13px}}
.file-label{position:relative;cursor:pointer;overflow:hidden;font-weight:400}.file-label input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.file-label:focus-within{outline:3px solid #b96734;outline-offset:4px}
.speaking-entry{display:flex;align-items:center;gap:10px;background:#f4ecd4;border:1px solid #e5d8ab;border-radius:17px;padding:12px 20px;min-height:48px;margin:-7px 0 20px;font-size:14px}.speaking-entry small{font-size:10px;opacity:.75}.speaking-dialog{border:0;border-radius:30px;padding:30px 28px;width:min(480px,calc(100% - 28px));max-height:calc(100dvh - 36px);overflow:auto;color:var(--ink);background:var(--paper);text-align:center}.speaking-dialog::backdrop{background:#233e35a6;backdrop-filter:blur(4px)}.voice-close{position:absolute;right:13px;top:13px;width:39px;height:39px}.speaking-dialog>.eyebrow{margin-top:9px}.voice-picture{width:125px;height:125px;margin:15px auto 0}.speaking-dialog h2{font-size:33px}.speaking-dialog .sound-pill{margin:13px auto}.voice-result{background:#f0f3e7;border-radius:20px;padding:17px;margin-bottom:17px;min-height:100px}.voice-result[data-status=match]{background:#e6efdb}.voice-message{font-size:15px;line-height:1.8}.voice-hint{font-size:12px;color:var(--muted);line-height:1.8;margin-top:8px}.speaking-dialog>.primary{font-size:16px;width:100%;min-height:54px}.speaking-dialog>.plain-button{display:flex;margin:12px auto 0}.speaking-dialog [hidden]{display:none!important}.voice-limit{font-size:11px;color:var(--muted);line-height:1.7;margin:16px 0 10px}.voice-privacy{font-size:10px;color:var(--muted);line-height:1.8}.voice-upload{position:relative;overflow:hidden;cursor:pointer;font-weight:400}.voice-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.voice-dots{display:flex;align-items:center;justify-content:center;gap:4px;height:25px;margin-bottom:8px}.voice-dots i{width:5px;height:8px;border-radius:4px;background:#7eab84}.voice-dots i:nth-child(2n){height:16px}.voice-dots i:nth-child(3){height:23px}.recording .voice-dots i{animation:breathe .3s ease-in-out infinite alternate}.recording .primary{background:#ae623f}.speaking-dialog .voice-result[data-status=unclear] .voice-dots i{background:#b5a277}@media(max-width:560px){.speaking-dialog{padding:30px 19px 20px}.voice-picture{width:110px;height:110px}.speaking-dialog .voice-message{font-size:14px}.speaking-dialog>.primary{font-size:15px}}
.character-art .hello-door{position:absolute;width:36%;height:66%;left:0;top:9%;opacity:.9}.character-art.hello>.fox{position:relative;transform:translateX(7%);z-index:1}.character-art .bye-path{position:absolute;width:95%;height:23%;bottom:-6%;left:6%}.character-art.bye>.fox{position:relative;transform:scale(.88);animation:leaving 2.5s ease-in-out infinite alternate;z-index:1}.character-art.bye .fox-arm{animation:wave .65s ease-in-out infinite alternate}@keyframes leaving{from{transform:translateX(-3%) scale(.88)}to{transform:translateX(10%) scale(.82)}}
/* Context-first lessons: pictures do the explaining; text stays optional. */
.scene-lesson{max-width:980px;padding:28px 30px;min-height:640px}.scene-lesson h1{font-size:30px;margin:10px 0 17px}.storyboard{position:relative;isolation:isolate;width:100%;height:310px;overflow:hidden;border:1px solid #d4e4cd;border-radius:28px;background:#e3f0e9}.scene-sky{position:absolute;inset:0 0 27%;z-index:-2;background:linear-gradient(#e1f0ec,#f2f7e8)}.scene-sun{position:absolute;top:23px;right:12%;width:55px;height:55px;border-radius:50%;background:#f5d58e;box-shadow:0 0 0 12px #f9e7b933}.scene-cloud{position:absolute;width:85px;height:23px;border-radius:35px;background:#fffdf6;top:40px;left:16%}.scene-cloud:before{content:'';position:absolute;width:40px;height:30px;border-radius:50%;background:inherit;bottom:0;left:23px}.scene-cloud.second{left:64%;top:85px;transform:scale(.6)}.scene-hills{position:absolute;z-index:-1;left:-10%;bottom:5%;width:80%;height:120px;background:#b8d4ad;border-radius:60% 80% 0 0;transform:rotate(5deg)}.scene-hills:after{content:'';position:absolute;left:60%;width:95%;height:135px;background:#c7deb7;border-radius:70% 60% 0 0;transform:rotate(-8deg)}.scene-ground{position:absolute;z-index:-1;bottom:0;width:100%;height:57px;background:#a8c797;border-radius:50% 40% 0 0}.scene-items{position:absolute;inset:22px 0 42px;display:flex;justify-content:center;align-items:center;gap:22px;margin:0;max-width:none}.scene-object{position:relative;width:214px;height:220px;padding:10px;background:transparent;border:3px solid transparent;border-radius:28px;min-height:0;flex:0 1 214px}.scene-object>.art,.scene-object>.character-art{width:100%;height:100%;margin:auto}.scene-object:has(.scene-sound){border:2px dashed #749d724d;background:#fffcef42}.scene-object:has(.scene-sound):hover{background:#fffcef88}.scene-object.choice{background:#fffcf3b8;border-color:#fffdf38c;box-shadow:0 5px 0 #60874a12}.scene-object.choice:hover{border-color:#8aab73;background:#fffff0}.scene-object.demonstrated{border-color:#60844b;box-shadow:0 0 0 5px #e6efd9,0 7px 0 #60874a12}.scene-object.correct{border-color:#668957;background:#eff7dd}.scene-sound,.demo-marker{position:absolute;right:5px;bottom:4px;border-radius:50%;width:40px;height:40px;background:#fffcf2;display:grid;place-items:center}.scene-object .scene-sound,.scene-object .demo-marker{display:grid;margin:0}.demo-marker{top:-13px;right:-6px;width:35px;height:35px;background:#426a4d;color:#fff9da;bottom:auto}.demo-marker .icon{width:21px;height:21px}.scene-caption{position:absolute;bottom:12px;left:10px;right:10px;display:block;font-size:14px;color:#38583b;background:#f9f8e3d4;border-radius:17px;padding:7px 12px;margin:auto;width:fit-content;max-width:calc(100% - 20px)}.scene-toolbar{display:flex;align-items:center;justify-content:center;gap:22px;width:100%;margin:19px 0 12px}.scene-toolbar .sound-pill{margin:0}.scene-toolbar .primary{font-size:16px;min-height:53px}.participation-note{font-size:12px;color:#6f806c;line-height:1.7}.scene-story{font-size:17px;margin-top:20px;color:#526b4b}.scene-taskbar{display:flex;align-items:center;justify-content:center;gap:18px;margin:0 0 17px;flex-wrap:wrap}.scene-taskbar .listen-button{margin:0;padding:13px 23px;font-size:18px;min-height:54px;border-radius:20px}.scene-help{display:flex;align-items:center;gap:8px;font-size:13px;min-height:48px;padding:10px 14px;border-radius:17px;background:#f2ead3}.scene-lesson .feedback{height:auto;min-height:24px;font-size:15px;margin:17px 0 11px;line-height:1.7}.round-pips{display:flex;gap:8px;justify-content:center}.round-pips i{width:9px;height:9px;border-radius:50%;background:#e3e8d8}.round-pips .filled{background:#759963}.scene-companion{position:absolute;left:10px;bottom:9px;width:83px;height:88px;pointer-events:none}.scene-cottage{position:absolute;left:19%;top:65px;width:110px;height:128px;background:#f4e2b7;border-radius:12px;opacity:.7;z-index:-1}.cottage-roof{position:absolute;left:-18px;top:-35px;width:148px;height:75px;background:#c88864;clip-path:polygon(50% 0,100% 70%,95% 78%,50% 13%,5% 78%,0 70%)}.cottage-window{position:absolute;right:16px;top:26px;width:31px;height:35px;border-radius:9px;background:#9dbba4;border:4px solid #ffefcc}.scene-hello .scene-items{inset:17px 0 37px}.scene-hello.mode-story .scene-object{width:235px;height:245px;flex-basis:235px}.scene-hello.activated .hello .fox-arm{animation:wave .5s ease-in-out 4 alternate}.scene-hello.mode-game .scene-cottage{opacity:.35}.optional-speaking .speaking-entry{margin:4px 0 9px;background:transparent;border:1px solid #dedfcb;font-size:12px;min-height:44px;padding:8px 15px}.optional-speaking .speaking-entry .icon{width:19px;height:19px}.grownup-note{font-size:11px;color:#71806c;margin-top:13px;max-width:450px;line-height:1.8}.grownup-note summary{min-height:35px;padding:8px;cursor:pointer}.grownup-note p{background:#f0f2e7;padding:12px;border-radius:12px}.scene-lesson.done .offline-task{max-width:640px}
@media(max-width:560px){.scene-lesson{padding:23px 13px;min-height:0}.scene-lesson h1{font-size:23px;margin:9px 0 15px}.storyboard{height:285px;border-radius:22px}.scene-items{gap:10px;inset:32px 9px 45px}.scene-object{width:185px;height:209px;padding:7px;flex-basis:185px}.scene-choices .scene-object.choice{width:calc(50% - 5px);height:164px;min-height:0;padding:5px;flex:1}.scene-choices .scene-object.choice>.art,.scene-choices .scene-object.choice>.character-art{height:140px;width:100%;max-width:none}.scene-choices:has(> :nth-child(3)){gap:9px}.scene-choices:has(> :nth-child(3)) .scene-object.choice{width:calc(33.333% - 6px);height:126px;min-height:0;padding:3px}.scene-choices:has(> :nth-child(3)) .scene-object.choice>.art,.scene-choices:has(> :nth-child(3)) .scene-object.choice>.character-art{height:105px;width:100%}.scene-object.choice .demo-marker{width:28px;height:28px;top:-15px;right:-5px;margin:0}.scene-object.choice .demo-marker .icon{width:17px;height:17px}.scene-cottage{left:9%;top:55px;transform:scale(.85)}.scene-caption{font-size:12px;bottom:12px}.scene-toolbar{gap:12px;margin:16px 0 12px}.scene-toolbar .primary{font-size:14px;padding:12px 15px;gap:8px}.scene-toolbar .sound-pill{font-size:12px;padding:10px 12px;gap:7px}.scene-story{font-size:15px;margin-top:16px}.scene-taskbar{gap:10px}.scene-taskbar .listen-button{font-size:16px;padding:11px 18px}.scene-taskbar .listen-button .icon{width:25px;height:25px}.scene-help{font-size:12px;padding:11px}.scene-help .icon{width:19px}.scene-lesson .feedback{font-size:13px}.scene-hello.mode-story .scene-object{width:215px;height:233px}.scene-companion{width:66px;height:70px;left:7px;bottom:6px}}
@media(prefers-reduced-motion:reduce){.storyboard *, .storyboard *:before,.storyboard *:after{animation:none!important;transition:none!important}}
/* Picnic: the same fruit sound is connected to packing a real-looking basket. */
.scene-picnic .scene-items{inset:10px 0 72px}.scene-picnic .scene-object{width:192px;height:196px;flex-basis:192px}.scene-picnic .scene-ground{background:#b8cda1;height:72px}.picnic-blanket{position:absolute;left:22%;right:14%;height:63px;bottom:16px;background:repeating-linear-gradient(0deg,#f2dca866 0 16px,#ffeed377 16px 32px),repeating-linear-gradient(90deg,#dca38388 0 20px,#ffefd5 20px 40px);transform:skewX(-15deg);border-radius:50% 40% 20% 15%}.picnic-basket{position:absolute;right:16%;bottom:31px;width:117px;height:88px;z-index:2}.picnic-basket>svg{width:100%;height:100%;position:relative;z-index:2}.basket-fruit{position:absolute;z-index:1;width:59px;height:59px;top:-14px;left:32px;transform:rotate(12deg)}.scene-prop{pointer-events:none}.scene-picnic.mode-learn.activated .scene-object>.art,.scene-picnic.mode-game .correct>.art{animation:pack-fruit .75s ease-in both}.scene-picnic.mode-learn .scene-caption{bottom:7px;z-index:3}.scene-picnic .scene-companion{left:16%;bottom:20px}.scene-picnic.mode-story .scene-object{transform:rotate(-8deg)}@keyframes pack-fruit{60%{transform:translate(45px,25px) scale(.68)}100%{transform:translate(110px,66px) scale(.22);opacity:0}}
@media(max-width:560px){.scene-picnic .scene-items{inset:5px 9px 92px}.scene-picnic .scene-object{height:185px;flex-basis:170px}.picnic-basket{right:13%;bottom:36px;width:91px;height:70px}.basket-fruit{width:47px;height:47px;left:23px;top:-10px}.scene-picnic .scene-companion{left:13%;bottom:30px}.picnic-blanket{left:18%;right:10%;bottom:30px;height:46px}}
@media(prefers-reduced-motion:reduce){.scene-picnic.activated .scene-object>.art,.scene-picnic .correct>.art{animation:none!important;opacity:1}}
/* A small celebration gives the familiar colour words a purpose. */
.scene-colors{background:#e2f0ee}.scene-colors .scene-sky{background:linear-gradient(#dceef0,#edf5e8)}.scene-colors .scene-ground{height:45px}.scene-colors .scene-object>.art{animation:balloon-sway 3s ease-in-out infinite alternate;transform-origin:50% 90%}.scene-colors.activated .scene-object>.art{animation:balloon-release 1.3s ease-in-out}.scene-colors.mode-game .correct>.art{animation:balloon-release 1s ease-in both}.party-garland{position:absolute;top:5px;left:6%;right:6%;height:40px;border-top:2px solid #9d9b76;border-radius:0 0 50% 50%;display:flex;justify-content:space-around;transform:rotate(-3deg);opacity:.7}.party-garland i{width:22px;height:30px;background:#d89579;clip-path:polygon(0 0,100% 0,50% 100%)}.party-garland i:nth-child(2n){background:#85b6b9}.party-garland i:nth-child(3){background:#e0c775}.sky-sparkles{position:absolute;left:0;right:0;top:0;height:100%;pointer-events:none}.sky-sparkles i{position:absolute;left:23%;top:31%;width:12px;height:12px;background:#e8bf66;clip-path:polygon(50% 0,60% 38%,100% 50%,60% 60%,50% 100%,38% 60%,0 50%,38% 38%)}.sky-sparkles i:nth-child(2){left:74%;top:25%;background:#739f9e}.sky-sparkles i:nth-child(3){left:83%;top:50%;background:#df9078}.scene-colors .scene-items{inset:31px 15px 44px}.scene-colors .scene-object{height:207px;width:200px;flex-basis:200px}@keyframes balloon-sway{from{transform:rotate(-4deg)}to{transform:rotate(4deg) translateY(-5px)}}@keyframes balloon-release{0%{transform:translateY(0) rotate(-3deg);opacity:1}80%,100%{transform:translateY(-200px) rotate(9deg) scale(.55);opacity:0}}
@media(max-width:560px){.scene-colors .scene-items{inset:33px 10px 43px}.scene-colors.mode-learn .scene-object{height:193px;flex-basis:168px}.party-garland{left:3%;right:3%}.party-garland i{width:17px;height:23px}}
@media(prefers-reduced-motion:reduce){.scene-colors .scene-object>.art{animation:none!important;opacity:1}}
/* Absolute scene choices derive their width from both insets, not legacy 100%. */
.scene-items.choices{width:auto;max-width:none}
/* Friends peek out from bushes; recognition stays tied to the animal picture. */
.scene-animals .scene-sky{background:linear-gradient(#e2eee0,#f1f3dc)}.scene-animals .scene-hills{background:#9abb8f}.scene-animals .scene-ground{background:#a4bd8a;height:66px}.forest-tree{position:absolute;left:-22px;top:-32px;width:104px;height:240px;z-index:-1}.forest-tree:before{content:'';position:absolute;left:43px;top:0;width:17px;height:236px;background:#b8a075;border-radius:12px}.forest-tree i{position:absolute;left:0;top:0;width:105px;height:120px;background:#7d9c74;border-radius:50%;box-shadow:25px 17px 0 #90ae7a,-10px 57px 0 #90ae7a}.forest-tree.right{left:auto;right:-36px;transform:scale(.9);top:-7px;opacity:.8}.scene-object .bush-cover{position:absolute;left:0;right:0;bottom:7px;width:100%;height:87px;display:block;margin:0;pointer-events:none;transition:transform .45s ease,opacity .45s;z-index:1}.bush-cover svg{width:100%;height:100%}.scene-animals.mode-learn .bush-cover{bottom:20px;height:126px}.scene-animals.activated .bush-cover,.scene-animals .correct .bush-cover{transform:translateY(27px) scaleY(.7);opacity:.75}.scene-animals.activated .scene-object>.art{animation:friend-peek .7s ease-out}.scene-animals .scene-sound,.scene-animals .demo-marker{z-index:2}.scene-animals .scene-prop{position:absolute;inset:0;z-index:-1}.scene-animals .scene-items{inset:28px 12px 48px}.scene-animals .scene-caption{z-index:3}.scene-animals .scene-companion{bottom:6px;left:10px}.scene-animals.mode-game .scene-object{overflow:visible}.scene-animals.mode-game .bush-cover{height:70px;bottom:0;opacity:.8}@keyframes friend-peek{0%{transform:translateY(12px) scale(.9)}65%{transform:translateY(-12px) rotate(-5deg)}100%{transform:none}}
@media(max-width:560px){.scene-animals .scene-items{inset:32px 10px 57px}.scene-animals.mode-game .bush-cover{height:44px;bottom:0}.scene-animals.mode-learn .bush-cover{height:121px;bottom:15px}.scene-animals .forest-tree{opacity:.7}.scene-animals .scene-object .bush-cover{margin:0}.scene-animals.mode-game .bush-cover svg{height:44px}.scene-animals.activated .bush-cover{transform:translateY(22px) scaleY(.7)}}
@media(prefers-reduced-motion:reduce){.scene-animals .bush-cover{transition:none!important}.scene-animals.activated .scene-object>.art{animation:none!important}}
/* Sharing portions explains one, two and three without written numerals. */
.scene-numbers .scene-sky{background:linear-gradient(#f3ead9,#f5f0dd)}.scene-numbers .scene-hills{background:#d1d7ad;opacity:.8}.scene-numbers .scene-ground{background:#c1cca1;height:58px}.scene-numbers .scene-items{inset:5px 17px 90px}.scene-numbers .scene-object{height:192px;width:197px;flex-basis:197px}.sharing-table{position:absolute;width:210px;height:28px;left:50%;transform:translateX(-50%);bottom:46px;background:#bd956b;border-radius:50% 50% 8px 8px;box-shadow:0 6px 0 #9f7d55}.sharing-table:before,.sharing-table:after{content:'';position:absolute;width:9px;height:26px;background:#9f7d55;top:22px;left:17px}.sharing-table:after{left:auto;right:17px}.sharing-plate{position:absolute;width:92px;height:35px;left:60px;bottom:12px}.sharing-plate>svg{width:100%;height:100%}.sharing-plate.served{width:76px;height:76px;left:67px;bottom:4px}.sharing-friend{position:absolute;width:65px;height:67px;right:17%;bottom:52px}.scene-numbers .scene-companion{left:15%;bottom:32px}.scene-numbers.activated .scene-object>.art{animation:share-cookies .8s ease-in-out}.scene-numbers.mode-game .correct>.art{animation:share-cookies .8s ease-in both}.scene-numbers .scene-caption{bottom:7px;z-index:3}@keyframes share-cookies{0%{transform:none;opacity:1}85%,100%{transform:translateY(75px) scale(.25);opacity:0}}
@media(max-width:560px){.scene-numbers .scene-items{inset:4px 9px 100px}.scene-numbers.mode-learn .scene-object{height:185px;flex-basis:177px}.sharing-table{width:170px;bottom:46px}.sharing-plate{left:42px}.sharing-plate.served{left:50px}.sharing-friend{right:6%;bottom:48px;width:54px;height:55px}.scene-numbers .scene-companion{left:4%;bottom:40px;width:58px;height:61px}}
@media(prefers-reduced-motion:reduce){.scene-numbers.activated .scene-object>.art,.scene-numbers .correct>.art{animation:none!important;opacity:1}}
/* The Stop response really freezes the animated demonstrations. */
.scene-actions .scene-sky{background:linear-gradient(#e5f0e5,#f5f6e7)}.scene-actions .scene-items{inset:25px 12px 47px;z-index:1}.scene-actions .scene-object{height:231px;flex-basis:220px}.action-stage{position:absolute;left:9%;right:9%;bottom:34px;height:63px;background:#d7e0b4;border:3px solid #c3d1a2;border-radius:50%;display:flex;align-items:center;justify-content:center;gap:35px}.action-stage i{width:12px;height:6px;border-radius:50%;background:#c0cd9e}.scene-actions .action-stop .fox,.scene-actions .action-stop .fox-arm{animation:none}.scene-actions .action-stop .fox-arm{transform:rotate(-10deg);transform-origin:86px 148px}.scene-actions:has(.correct .action-stop) .fox,.scene-actions:has(.correct .action-stop) .fox-arm,.scene-actions:has(.correct .action-stop) .clap-hands{animation-play-state:paused!important}.scene-actions.mode-game .action-stage{bottom:31px}.scene-actions.activated .action-clap .fox-arm{animation-duration:.55s}.scene-actions .scene-prop{z-index:0}.scene-actions .scene-caption{z-index:2}
@media(max-width:560px){.scene-actions .scene-items{inset:24px 10px 47px}.scene-actions.mode-learn .scene-object{height:208px;flex-basis:195px}.action-stage{left:5%;right:5%;height:47px;bottom:37px}.scene-actions.mode-game .action-stage{bottom:32px}.scene-actions .action-stop .stop-sign{width:23px;height:23px;line-height:23px;font-size:14px}}
@media(prefers-reduced-motion:reduce){.scene-actions *, .scene-actions *:before,.scene-actions *:after{animation:none!important;transition:none!important}}
.word-caption{display:grid;grid-template-columns:1fr 28px;align-items:center;gap:5px 16px;min-width:155px;max-width:100%;margin:15px auto 4px;padding:12px 24px;background:#f5efd9;border:1px solid #e4dbbc;border-radius:20px}.word-caption .english-word{font-size:32px;line-height:1.2;margin:0;letter-spacing:.6px}.word-meaning{font-size:14px;color:var(--muted)}.word-caption>.icon{grid-column:2;grid-row:1/3;width:23px;height:23px}.speaking .word-caption{background:#f3df9b;box-shadow:0 0 0 3px #e7bd6244}.formal-entry{margin-top:24px;padding:26px 30px;border:1px solid #c8d9c0;background:#eaf0df;border-radius:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.formal-entry h2{margin:8px 0;font-size:24px}.formal-entry p{font-size:13px;color:var(--muted)}
.course-catalog{max-width:1160px;margin:auto;padding:24px 28px 55px}.course-catalog-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted)}.course-heading{padding:30px 0}.course-heading h1{font-size:34px;margin:10px 0}.course-heading p{font-size:15px;margin:14px 0;color:var(--muted)}.course-heading small{font-size:12px;color:var(--muted)}.stage-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stage-tabs button{padding:20px 17px;text-align:left;border-radius:20px;background:#f0f1e7;border:2px solid transparent;min-height:100px}.stage-tabs button[aria-selected=true]{background:#e5eedb;border-color:#628b63}.stage-tabs strong{font-size:18px;display:block}.stage-tabs span{font-size:12px;line-height:1.8;display:block;margin-top:10px;color:var(--muted)}.course-path-note{font-size:12px;line-height:1.8;margin:19px 0;color:var(--muted)}.course-unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.course-unit{border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--paper)}.unit-cover{display:flex;align-items:center;gap:18px;padding:20px;background:var(--unit-color)}.unit-cover>.art,.unit-cover>.character-art{width:84px;height:84px;flex-shrink:0}.unit-cover small{font-size:10px;letter-spacing:1px}.unit-cover h2{font-size:21px;margin:5px 0}.unit-cover p{font-size:11px;color:var(--muted)}.unit-lessons{padding:6px 14px}.unit-lessons article{display:flex;align-items:center;border-bottom:1px solid var(--line);gap:8px}.unit-lessons article:last-child{border:0}.course-start{min-height:82px;min-width:0;flex:1;display:flex;align-items:center;gap:12px;text-align:left;background:transparent;padding:15px 0}.course-start>span:nth-child(2){flex:1;min-width:0}.course-start strong{font-size:14px;line-height:1.6;display:block}.course-start small{font-size:10px;display:block;color:var(--muted);margin-top:5px}.course-start>.icon{width:16px}.course-number{width:28px;height:28px;border-radius:50%;background:#e8eddf;display:grid;place-items:center;font-size:12px;flex-shrink:0}.course-number .icon{width:17px}.course-preview{min-width:58px;min-height:44px;padding:8px 10px;border-radius:12px;background:#f2eddc;font-size:11px}.course-empty{padding:30px;background:#f0f3e9;grid-column:1/-1;border-radius:20px;line-height:1.8}
.formal-stage{max-width:900px}.formal-stage h1{font-size:29px}.course-scene{position:relative;isolation:isolate;background:var(--scene-color,#e1ebd9);width:100%;max-width:700px;height:305px;border-radius:27px;overflow:hidden}.course-backdrop{position:absolute;inset:0;pointer-events:none;z-index:-1}.course-hill{position:absolute;width:130%;height:170px;background:#a9c69b;left:-15%;bottom:-90px;border-radius:50%}.course-sun{position:absolute;right:7%;top:24px;width:58px;height:58px;border-radius:50%;background:#f4d789}.course-cloud{position:absolute;width:88px;height:24px;border-radius:30px;background:#fffbed;left:8%;top:50px}.room-window{position:absolute;right:8%;top:25px;width:70px;height:78px;border:7px solid #bfba95;background:#e7f2e5;border-radius:32px 32px 0 0}.room-window:before{content:'';position:absolute;left:50%;height:100%;border-left:4px solid #bfba95}.room-rug{position:absolute;left:10%;right:10%;bottom:-20px;height:115px;background:#ccd6b1;border-radius:50%}.course-companion{position:absolute;width:78px;height:84px;bottom:28px;left:15px}.course-destination{position:absolute;right:18px;bottom:28px;font-size:55px}.course-scene-items{position:absolute;inset:12px 18px 48px;display:flex;align-items:center;justify-content:center;gap:12px}.course-object{position:relative;width:200px;height:220px;min-width:0;border:2px dashed #e6eddb;border-radius:28px;background:#fffdf6a8;padding:10px}.course-object>.art,.course-object>.character-art{width:100%;height:100%}.course-scene[data-mode=game] .course-object{width:175px;height:180px;flex:1}.course-object-sound{position:absolute;right:10px;bottom:10px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#fffbed}.scene-invitation{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);max-width:94%;white-space:nowrap;border-radius:18px;padding:7px 12px;background:#fff9e4d9;font-size:12px}.course-leaf{position:absolute;top:-9px;right:-4px;background:#71915c;color:white;border-radius:50%;padding:6px;display:grid;place-items:center}.course-leaf .icon{width:21px;height:21px}.course-object.demonstrated{border:3px solid #708e5c;box-shadow:0 0 0 3px #c2d1a677}.course-object.is-correct{background:#f6e6af;border-color:#b99847}.course-bush{position:absolute;bottom:-8px;left:0;right:0;font-size:74px;font-style:normal;line-height:1;transition:transform .4s}.activated .course-bush{transform:translateY(34px)}.activated .course-object>.art{animation:course-pop .6s ease-out}.delivered .is-correct>.art{animation:course-deliver .65s ease-in both}.activity-float.activated .course-object>.art{animation:balloon-release 1.2s ease-out}.course-story{max-width:660px;font-size:15px;line-height:1.9;color:var(--muted);margin:18px 0 0}.course-controls{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin:23px 0 17px}.course-controls .speaking-entry{margin:0}.course-feedback{font-size:16px;line-height:1.8;min-height:34px;margin-top:18px}.formal-stage .scene-taskbar{margin-bottom:15px}.dialogue-stage{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:16px;width:100%;max-width:650px;background:#e9efde;border-radius:25px;padding:22px}.dialogue-character{width:105px;height:125px}.dialogue-bubble{text-align:left;min-width:0;background:#fffef5;padding:18px;border-radius:20px}.dialogue-bubble>small{font-size:12px;color:var(--muted)}.dialogue-bubble strong{font-size:25px;display:block;margin:12px 0;line-height:1.5}.dialogue-bubble p{font-size:14px;line-height:1.8;color:var(--muted)}.dialogue-bubble .sound-pill{margin:14px 0 0}.dialogue-picture{grid-column:1/-1;width:100px;height:100px;margin:auto}.phrase-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:22px 0}.phrase-chips button{display:flex;align-items:center;gap:10px;padding:13px 18px;border-radius:15px;background:#f3ecd7;text-align:left;max-width:100%}.phrase-chips span{font-size:15px;line-height:1.6}.phrase-chips small{display:block;font-size:12px;color:var(--muted)}.formal-stage>.quiet{margin:12px 0 20px}.sound-examples{display:flex;gap:16px;justify-content:center;margin:23px 0}.sound-examples button{width:130px;padding:12px;border:1px solid var(--line);border-radius:20px;background:#edf1e1}.sound-examples .art,.sound-examples .character-art{width:100px;height:100px}.sound-examples strong{font-size:20px;display:block;margin:10px 0}.sound-letter{font-size:46px;letter-spacing:8px;font-weight:700;margin:8px 0 25px}.preview-banner{text-align:center;font-size:12px;color:var(--muted);margin:20px 0 0}.course-motion{transform-origin:center;animation:course-pop 1.7s ease-in-out infinite alternate}.motion-stop,.motion-stand{animation:none}.motion-walk,.motion-run{animation:course-walk 1s ease-in-out infinite alternate}.body-spot{animation:breathe 1.4s ease-in-out infinite}.formal-stage .offline-task .icon-button{flex-shrink:0}
@keyframes course-pop{0%{transform:scale(.85) translateY(6px)}65%{transform:scale(1.05) translateY(-5px)}100%{transform:none}}@keyframes course-deliver{to{transform:translate(35px,57px) scale(.5);opacity:.5}}@keyframes course-walk{to{transform:translateX(18px) rotate(3deg)}}
@media(max-width:650px){.formal-entry{padding:22px;flex-direction:column;align-items:stretch}.formal-entry h2{font-size:22px}.formal-entry .primary{font-size:16px}.course-catalog{padding:16px 15px 35px}.course-heading h1{font-size:28px}.stage-tabs{gap:7px}.stage-tabs button{padding:13px 9px;min-height:84px}.stage-tabs strong{font-size:13px;line-height:1.7}.stage-tabs span{font-size:10px;margin-top:6px}.course-unit-grid{grid-template-columns:1fr;gap:18px}.course-heading p{font-size:13px}.formal-stage{padding:25px 13px}.formal-stage h1{font-size:23px}.course-scene{height:280px;border-radius:22px}.course-scene-items{inset:18px 9px 62px;gap:6px}.course-scene[data-mode=game] .course-object{height:140px;padding:3px;border-radius:20px}.course-object{width:175px;height:190px}.course-companion{width:61px;height:68px;left:9px;bottom:29px}.course-destination{font-size:43px;right:9px}.scene-invitation{font-size:10px;white-space:normal;width:max-content}.course-story{font-size:13px}.word-caption .english-word{font-size:30px}.course-controls{gap:12px}.course-controls .primary{font-size:15px}.dialogue-stage{grid-template-columns:62px minmax(0,1fr);padding:13px;gap:9px}.dialogue-character{width:64px;height:85px}.dialogue-bubble{padding:13px}.dialogue-bubble strong{font-size:20px}.dialogue-bubble p{font-size:12px}.dialogue-bubble .sound-pill{font-size:11px;padding:10px}.sound-examples{gap:9px}.sound-examples button{width:105px;padding:10px 5px}.sound-examples .art,.sound-examples .character-art{width:85px;height:85px}.course-feedback{font-size:14px}.phrase-chips span{font-size:13px}}
@media(prefers-reduced-motion:reduce){.course-scene *, .course-motion,.body-spot{animation:none!important;transition:none!important}}
.microphone-check{padding:13px 15px;margin:0 0 18px;background:#eef1e4;border-radius:17px;text-align:left}.microphone-check label{font-size:11px}.microphone-check select{min-height:42px;background:#fffdf5;font-size:12px}.voice-device-note{font-size:10px;line-height:1.7;color:var(--muted);margin:7px 0}.voice-meter{width:100%;height:17px;display:block;accent-color:#5b8f69}.voice-signal{font-size:11px;line-height:1.7;margin-top:6px;color:#566c54}.voice-transcript{font-size:19px;font-weight:700;line-height:1.6;margin-top:11px;color:#315e49}.voice-result[data-status=recognized]{background:#e4efdb}.voice-result[data-status=different]{background:#f7ead9}.speaking-dialog.recording .voice-result{outline:2px solid #90ad7b}

/* Put the six playable stories on the map; previews are separate from progress. */
.stories-update{margin-top:22px;padding:20px 24px;display:flex;align-items:center;gap:20px;background:#f3ecd7;border:1px solid #e8ddbd;border-radius:22px}.update-art{display:flex;flex-shrink:0;align-items:center;width:108px}.update-art>.art{width:58px;height:64px}.update-art>.art+svg{margin-left:-8px}.stories-update strong{font-size:18px}.stories-update p{font-size:13px;line-height:1.8;margin-top:7px}.stories-update small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.stories-update .small-button{margin-left:auto;white-space:nowrap;background:var(--paper)}
.journey{scroll-margin-top:20px}.lesson-island{flex:1;min-width:0;display:flex;flex-direction:column;align-items:stretch}.lesson-island .lesson-stop{width:100%;flex:1}.lesson-stop .story-place{font-size:10px;letter-spacing:1px;color:var(--muted);margin-bottom:7px}.lesson-stop strong{line-height:1.6;font-size:15px}.lesson-stop small{line-height:1.7;min-height:40px}.story-preview-button{min-height:46px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dce4d4;border-radius:14px;padding:10px 7px;font-size:12px;background:#eef2e6}.story-preview-button:hover{background:#e2ead8}.story-preview-button .icon{width:17px;height:17px}.map-explainer{font-size:12px;line-height:1.8;color:var(--muted);margin:20px 0;text-align:center}
.story-preview-page{max-width:950px;margin:auto;padding:0 28px 40px}.preview-top{display:flex;align-items:center;justify-content:space-between;margin:0 0 20px;gap:10px}.preview-top .icon{transform:rotate(180deg);width:18px;height:18px}.preview-top>span{font-size:12px;color:var(--muted)}.preview-content{background:var(--paper);border:1px solid var(--line);border-radius:30px;padding:26px 30px;display:flex;flex-direction:column;align-items:center;text-align:center}.preview-title{font-size:12px;letter-spacing:3px;color:var(--muted);font-weight:500}.preview-content h2{font-size:28px;line-height:1.5;margin:10px 0}.preview-intro{font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:18px}.preview-picks{display:flex;justify-content:center;gap:12px;margin:18px 0 0}.preview-picks>button{min-width:78px;min-height:82px;padding:8px 10px;border:2px solid transparent;border-radius:17px;background:#f1f2e7;display:flex;align-items:center;flex-direction:column;gap:5px}.preview-picks>button[aria-pressed=true]{border-color:var(--green);background:#e7efdd}.preview-picks .art,.preview-picks .character-art{width:48px;height:48px}.preview-picks span{font-size:11px}.preview-content>.sound-pill{margin:18px 0}.preview-grownup{width:100%;max-width:660px;text-align:left;font-size:13px;line-height:1.9;background:#f7f6ed;border-radius:16px;padding:12px 17px}.preview-grownup summary{cursor:pointer;min-height:36px;display:list-item;align-content:center}.preview-grownup p{margin:10px 0;color:var(--muted)}.preview-grownup small{font-size:11px;color:var(--muted)}.preview-footer{margin-top:22px}.preview-footer .quiet{margin-top:14px}.preview-locked{font-size:13px;line-height:1.8;color:var(--muted)}
@media(max-width:1050px){.lesson-trail{flex-wrap:wrap;gap:14px}.lesson-island{flex:1 1 28%}.lesson-island .lesson-stop{padding:15px 8px}.lesson-stop small{min-height:22px}}
@media(max-width:560px){.stories-update{padding:17px 16px;gap:12px;flex-wrap:wrap}.update-art{width:59px;position:relative;height:63px}.update-art>.art{width:39px;height:44px;position:absolute;left:0;top:0}.update-art>.art+svg{margin:0;left:26px;top:22px}.stories-update>div{flex:1;min-width:0}.stories-update strong{font-size:15px}.stories-update p{font-size:11px}.stories-update small{font-size:10px;line-height:1.8}.stories-update .small-button{width:100%;margin:0}.lesson-trail{gap:12px}.lesson-island{flex:1 1 43%}.lesson-stop strong{font-size:14px}.lesson-stop small{min-height:38px;font-size:11px}.story-preview-button{font-size:11px}.map-explainer{font-size:11px}.story-preview-page{padding:0 14px 30px}.preview-top{gap:6px;margin-bottom:12px}.preview-top>span{font-size:10px}.preview-top .plain-button{padding:8px 5px;font-size:12px}.preview-content{padding:22px 12px;border-radius:24px}.preview-content h2{font-size:23px}.preview-intro{font-size:12px}.preview-picks{gap:10px}.preview-picks>button{min-width:70px}.preview-grownup{font-size:12px;padding:12px}.preview-footer .quiet{font-size:11px}}

/* Friendship lessons use a continuous scene instead of a second set of word cards. */
.legacy-stories{margin-top:28px;border:1px solid var(--line);border-radius:20px;background:#f5f5ed;padding:15px 22px}.legacy-stories>summary{cursor:pointer;font-size:15px;min-height:44px;align-content:center;color:var(--muted)}.legacy-note{font-size:12px;line-height:1.8;color:var(--muted);margin:8px 0}.legacy-stories .stories-update{margin-top:10px}.legacy-stories .journey{margin-top:25px}
.friendship-world{position:relative;width:100%;height:100%;overflow:hidden;isolation:isolate;background:#e7eddf}.friendship-sky{position:absolute;inset:0;background:linear-gradient(#e0edf0,#f1f0dc)}.friendship-sky i{position:absolute;right:10%;top:20px;width:45px;height:45px;border-radius:50%;background:#f4d986}.friendship-ground{position:absolute;bottom:-40px;left:-10%;width:120%;height:135px;border-radius:50%;background:#b8cca5}.friendship-house{position:absolute;left:42%;top:22px;width:140px;height:230px;background:#f2e0b7;border-radius:70px 70px 3px 3px}.friendship-roof{position:absolute;top:-12px;left:-10%;width:120%;height:60px;clip-path:polygon(50% 0,100% 100%,0 100%);background:#c88460}.friendship-door{position:absolute;left:30%;top:75px;width:56%;height:155px;background:#5d7866;border-radius:45px 45px 0 0;perspective:180px}.friendship-door i{position:absolute;inset:0;border-radius:inherit;background:#a4b78f;border:4px solid #899f78;transform-origin:left center;transition:transform 1s}.friendship-door i:after{content:'';position:absolute;right:9px;top:55%;width:8px;height:8px;border-radius:50%;background:#f5d68c}.story-active .friendship-door i{transform:rotateY(-75deg)}.story-visitor,.story-host{position:absolute;width:137px;height:166px;bottom:22px}.story-visitor{left:13%;z-index:2}.story-host{right:13%;z-index:1}.friend-bear,.story-host>.fox{width:100%;height:100%}.story-host .fox-body{animation:none}.story-host .fox-arm{animation:none}.story-active .story-host .fox-arm{animation:wave .8s ease-in-out 2}.story-active .bear-arm{transform-origin:65px 148px;animation:friend-wave .8s ease-in-out 2}.friend-scene-arrive.story-active .story-visitor,.friend-scene-tent.story-active .story-visitor{animation:friend-arrive 1.3s ease-out both}.friend-scene-depart .story-visitor{left:35%}.friend-scene-depart.story-active .story-visitor{animation:friend-leave 1.3s ease-in both}.friend-scene-depart .friendship-ground:before{content:'';position:absolute;bottom:40px;left:0;width:65%;height:36px;border-radius:50%;background:#eadbbb}.story-speech{position:absolute;top:18px;left:14%;max-width:65%;padding:8px 18px;background:#fffdf2;border-radius:18px 18px 18px 2px;font-size:23px;font-weight:700;line-height:1.5;z-index:3;box-shadow:0 3px 0 #b9c6a822}.story-connection{position:absolute;right:35%;top:65px;color:#c16d52;font-size:34px;animation:friend-heart 1.4s ease-out both}.friendship-touch.course-object{width:100%;height:100%;border:0;background:transparent;border-radius:0;padding:0}.friendship-tap{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;background:#fff9e6dd;border-radius:20px;padding:7px 14px}.friendship-tap>.icon{width:18px;height:18px}.story-ball{position:absolute;left:54%;bottom:43px;width:43px;height:43px;border-radius:50%;background:#e0af64;border:3px solid #b98446;z-index:3;overflow:hidden}.story-ball:before{content:'';position:absolute;left:40%;height:100%;border-left:6px solid #faf0cf;transform:rotate(25deg)}.story-ball:after{content:'';position:absolute;top:40%;width:100%;border-top:6px solid #faf0cf;transform:rotate(25deg)}.story-bench{position:absolute;left:12%;bottom:27px;width:82px;height:25px;background:#a28464;border-radius:9px;border-bottom:8px solid #715f4f}.story-outcome-yes.story-active .story-ball{animation:friend-roll 1.3s ease-out both}.story-outcome-no.story-active .story-ball{animation:friend-put-away 1.3s ease-out both}.story-outcome-yes.story-active .bear-head{transform-origin:100px 155px;animation:friend-nod .4s ease-in-out 3}.story-outcome-no.story-active .bear-head{transform-origin:100px 130px;animation:friend-shake .35s ease-in-out 3}.story-book{position:absolute;bottom:40px;left:47%;display:flex;z-index:3;transform:rotate(-8deg)}.story-book i{height:65px;width:41px;background:#fff0c5;border:5px solid #7a9e92;border-radius:4px}.story-book i+ i{transform-origin:left;transform:rotateY(-75deg);transition:transform .8s}.story-outcome-yes.story-active .story-book i+i{transform:rotateY(0)}.story-easel{position:absolute;left:46%;bottom:32px;width:85px;height:120px;border-left:7px solid #a17d58;border-right:7px solid #a17d58;transform:rotate(3deg)}.story-paper{position:absolute;inset:0 -12px 29px;background:#fff9e9;border:5px solid #b59168;display:grid;place-items:center}.story-paper span{font-size:55px;color:#d78671;opacity:0;transform:scale(.4)}.story-active .story-paper span{animation:friend-flower 1.3s ease-out both}.story-brush{position:absolute;right:33%;bottom:93px;height:75px;width:9px;background:#b99453;border-radius:5px;transform:rotate(32deg);z-index:4}.story-brush i{position:absolute;top:-9px;left:-3px;width:15px;height:24px;background:#758f99;border-radius:70% 70% 20% 20%}.story-active .story-brush{animation:friend-brush 1.3s ease-out both}.friendship-tent{position:absolute;left:40%;bottom:31px;width:150px;height:165px;clip-path:polygon(50% 0,100% 100%,0 100%);background:#e8c68c}.friendship-tent i{position:absolute;inset:60px 40px 0;background:#b09065;clip-path:polygon(50% 0,100% 100%,0 100%)}.story-active .friendship-tent i{background:#6d896d}.mission-count{display:flex;gap:9px;margin-bottom:16px}.mission-count i{width:25px;height:7px;border-radius:8px;background:#dae2cf}.mission-count .current{background:#d8b367}.mission-count .complete{background:#75946d}.mission-instruction{font-size:15px;line-height:1.8;margin:18px 0 7px;max-width:650px}.mission-choices{display:flex;justify-content:center;gap:14px;margin:17px 0 0;width:100%;max-width:600px}.mission-choices button{flex:1;min-width:0;max-width:170px;border:2px solid #d7deca;border-radius:21px;background:#fff9e8;padding:10px;display:flex;align-items:center;flex-direction:column}.mission-choices .art,.mission-choices .character-art{width:76px;height:76px}.mission-choices span{font-size:21px;font-weight:600}.mission-choices small{display:block;font-size:12px;margin-top:4px;font-weight:400;color:var(--muted)}.mission-feedback{font-size:14px;line-height:1.8;min-height:45px;margin-top:16px;color:#4d765b}
@keyframes friend-wave{50%{transform:rotate(30deg)}}@keyframes friend-arrive{from{transform:translateX(-30px)}to{transform:translateX(32px)}}@keyframes friend-leave{to{transform:translateX(-130px) scale(.8);opacity:.45}}@keyframes friend-heart{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(-8px)}}@keyframes friend-roll{to{transform:translateX(-100px) rotate(-180deg)}}@keyframes friend-put-away{to{transform:translate(65px,10px) scale(.5);opacity:.45}}@keyframes friend-nod{50%{transform:translateY(6px)}}@keyframes friend-shake{25%{transform:rotate(-9deg)}75%{transform:rotate(9deg)}}@keyframes friend-brush{to{transform:translateX(-105px) rotate(-28deg)}}@keyframes friend-flower{70%,100%{opacity:1;transform:scale(1)}}
@media(max-width:650px){.legacy-stories{padding:10px 12px}.story-visitor,.story-host{width:99px;height:131px;bottom:28px}.story-visitor{left:6%}.story-host{right:5%}.friendship-house{left:40%;width:104px;height:206px;top:22px}.friendship-door{height:133px;top:74px}.friendship-tent{left:35%;width:125px;height:146px;bottom:39px}.story-speech{font-size:19px;left:7%;top:19px}.story-easel{left:42%;width:65px;height:105px;bottom:39px}.story-brush{right:27%;bottom:111px;height:59px}.story-book{left:42%;bottom:57px}.story-book i{height:54px;width:32px}.mission-instruction{font-size:13px}.mission-choices{gap:8px}.mission-choices button{padding:7px}.mission-choices .art,.mission-choices .character-art{width:65px;height:65px}.mission-choices span{font-size:18px}.mission-feedback{font-size:12px}.friendship-tap{font-size:10px;padding:7px 10px}.story-connection{right:37%}}
@media(prefers-reduced-motion:reduce){.friendship-world *{animation:none!important;transition:none!important}.story-active .friendship-door i{transform:rotateY(-75deg)}.story-active .story-paper span{opacity:1;transform:none}.story-outcome-yes.story-active .story-ball{transform:translateX(-65px)}.story-outcome-no.story-active .story-ball{transform:translateX(40px) scale(.5)}.story-active .story-brush{transform:translateX(-55px) rotate(-28deg)}}

.party-world{position:relative;width:100%;height:100%;overflow:hidden;background:linear-gradient(#dfecef,#f2f1dd);isolation:isolate}.party-ground{position:absolute;left:-10%;width:120%;height:100px;bottom:-30px;background:#b5cba3;border-radius:50%}.party-rack{position:absolute;left:26%;right:14%;top:72px;bottom:40px;border:9px solid #b49371;border-bottom:0;border-radius:70px 70px 0 0}.party-rack i{position:absolute;left:0;right:0;top:65px;border-top:3px dashed #c7a37c}.party-host{position:absolute;left:3%;bottom:15px;width:105px;height:122px}.hung-balloons{position:absolute;left:25%;right:13%;top:45px;height:205px;display:flex;gap:0;justify-content:center}.hung-balloon{width:33%;min-width:0;max-width:120px;height:170px;align-self:flex-start}.hung-balloon>.art{width:100%;height:100%}.hung-balloon:nth-child(even){margin-top:17px}.hung-balloon.just-hung{animation:tie-balloon 1.2s ease-out both}.waiting-balloon{position:absolute;width:145px;height:195px;left:42%;bottom:27px}.waiting-balloon>.art{width:100%;height:100%}.party-line{position:absolute;left:8%;top:17px;font-size:22px;font-weight:700;border-radius:16px;padding:8px 15px;background:#fffcef;z-index:2}.party-basket{position:absolute;right:22%;bottom:30px;border:5px solid #a57f52;border-radius:6px 6px 20px 20px;background:repeating-linear-gradient(0deg,#dcbf86 0 7px,#c8a66d 7px 10px);width:95px;height:66px;font-size:34px;padding:0 10px}.party-setting-basket .party-rack{border-width:6px;left:55%;right:23%;top:145px;bottom:60px;border-radius:70% 70% 0 0}.party-flowers{position:absolute;right:18%;bottom:21px;font-size:33px}.party-setting-evening{background:linear-gradient(#808eac,#d9bfa7)}.party-lights{position:absolute;left:23%;top:16px;color:#fff0ad;font-size:30px;letter-spacing:5px}.party-setting-evening .party-line{font-size:16px;top:auto;bottom:14px;left:6%;padding:5px 12px}.party-setting-evening .party-host{bottom:39px}.party-setting-evening .party-rack{top:45px}.party-setting-evening .hung-balloons{top:43px}
@keyframes tie-balloon{from{transform:translateY(80px) scale(.85)}65%{transform:translateY(-10px) rotate(-5deg)}to{transform:none}}
@media(max-width:650px){.party-rack{left:28%;right:9%;top:77px;border-width:7px}.party-host{width:83px;height:105px;left:0;bottom:20px}.hung-balloons{left:28%;right:7%;top:59px;height:165px}.hung-balloon{height:140px}.waiting-balloon{width:123px;height:178px;left:43%;bottom:30px}.party-line{font-size:18px;left:6%;padding:7px 12px}.party-flowers{right:11%;font-size:25px;bottom:29px}.party-basket{right:18%;bottom:33px;width:82px;height:60px}.party-lights{font-size:23px;left:23%;top:24px;letter-spacing:0}}
@media(prefers-reduced-motion:reduce){.party-world *{animation:none!important;transition:none!important}}

.count-world{position:relative;width:100%;height:100%;overflow:hidden;background:#f0e8d7;isolation:isolate}.count-backdrop{position:absolute;inset:0;background:linear-gradient(#e4ecdd,#f3edda)}.count-table{position:absolute;left:8%;right:8%;bottom:26px;height:105px;border-radius:40px 40px 16px 16px;background:repeating-linear-gradient(0deg,#d8b38a 0 8px,#d2aa7d 8px 10px);border-bottom:15px solid #ad845f;transform:perspective(300px) rotateX(15deg)}.count-friend{position:absolute;width:116px;height:133px;left:13%;bottom:116px}.count-friend>.art{width:100%;height:100%}.count-plate-holder{position:absolute;left:32%;right:15%;height:157px;bottom:22px}.cookie-plate{width:100%;height:100%}.count-order{position:absolute;top:20px;right:13%;max-width:62%;background:#fffbed;border-radius:17px 17px 17px 2px;padding:9px 17px;font-size:22px;font-weight:700;line-height:1.6}.count-thankyou{position:absolute;top:65px;left:29%;font-size:32px;color:#c47f5f;animation:friend-heart 1.3s ease-in both}.count-world.story-active .count-plate-holder{animation:serve-cookies 1.3s ease-in-out both}.count-learning .story-active .count-plate-holder{animation:none}.count-learning .story-active .count-cookie{animation:cookie-reveal .55s ease-out both;animation-delay:calc(var(--cookie-index)*.18s)}.count-setting-long-table .count-table{left:1%;right:1%;height:115px}.count-setting-long-table .count-friend{left:18%}.count-setting-picnic .count-backdrop{background:linear-gradient(#d9eae8 0 50%,#bdd09e 50%)}.count-setting-picnic .count-table{background:repeating-conic-gradient(#eee2c8 0% 25%,#d3a28b 0% 50%) 50%/36px 36px;border:5px solid #ead2b1;left:7%;right:7%;bottom:16px;border-radius:10px}.cookie-shop-awning{position:absolute;left:0;right:0;top:0;display:flex;height:30px}.cookie-shop-awning i{flex:1;border-radius:0 0 18px 18px;background:#83a49a}.cookie-shop-awning i:nth-child(even){background:#f5e7ba}.count-setting-shop .count-order{top:37px}.count-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;max-width:460px;margin-top:17px}.count-controls button{min-height:52px;font-size:15px;padding:10px;border-radius:16px;background:#f0e7cf}.count-controls button:nth-child(2){background:#f0dca7}.count-controls button>span{font-size:24px}.count-controls>.primary{grid-column:1/-1;background:var(--green);color:white}.count-current{font-size:20px;font-weight:600;margin-top:15px;color:#5b7658}
@keyframes serve-cookies{to{transform:translate(-60px,-47px) scale(.75)}}@keyframes cookie-reveal{from{opacity:0}to{opacity:1}}
@media(max-width:650px){.count-friend{width:98px;height:110px;left:6%;bottom:119px}.count-table{left:4%;right:4%;bottom:35px}.count-plate-holder{left:23%;right:6%;height:137px;bottom:39px}.count-order{right:7%;top:24px;font-size:18px;padding:8px 12px;max-width:65%}.count-controls button{font-size:13px}.count-thankyou{left:31%;top:85px}.count-current{font-size:18px}}
@media(prefers-reduced-motion:reduce){.count-world *{animation:none!important;transition:none!important}.count-world.story-active .count-plate-holder{transform:translate(-35px,-30px) scale(.8)}.count-learning .story-active .count-plate-holder{transform:none}}

/* Warm picture-book films and shared characters. */
.storybook-home{background:linear-gradient(90deg,#fff8e7ed 0%,#fff8e7db 33%,#fff8e700 70%),url('/art/storybook/cottage.webp') center 58%/cover}.hero-fox{width:252px;height:285px;bottom:24px}.hero-copy{z-index:2}.picturebook-fox .fox-arm{animation:none!important;transform:none}.hello .picturebook-fox .fox-body,.bye .picturebook-fox .fox-body{transform-origin:50% 94%;animation:storybook-greet 1.3s ease-in-out 2 alternate}.storybook-prop{object-fit:contain}.request-brush{position:absolute;height:40%;width:20%;object-fit:contain;top:51%;left:44%;transform:rotate(25deg)}.decision-mark{position:absolute;right:2%;top:6%;font-size:36px;color:#4d895f;background:#fff8e7;border-radius:50%;width:44px;height:44px;line-height:44px}.decision-no .decision-mark{color:#bd7647}.decision-yes>.art{animation:storybook-nod .7s ease-in-out 2}.decision-no>.art{animation:storybook-shake .6s ease-in-out 2}
.film-stage.course-scene{height:auto;min-height:0;aspect-ratio:16/9;background:#e4dec6;width:100%;border-radius:23px;isolation:isolate;overflow:hidden}.film-world.mission-world{width:100%;height:100%;position:relative;background:#fff8e7}.story-film{display:block;width:100%;height:100%;object-fit:contain;background:#fff8e7}.film-play,.film-touch.course-object{position:absolute;bottom:37px;left:50%;transform:translateX(-50%);width:max-content;height:auto;min-height:44px;padding:10px 18px;border:2px solid #fff8e7;border-radius:24px;background:#315746ed;color:#fff8e7;font-size:15px;display:flex;gap:8px;align-items:center;box-shadow:0 3px 12px #183a2630;max-width:90%;white-space:nowrap;z-index:2}.film-play:active,.film-touch.course-object:active{transform:translateX(-50%) translateY(2px)}.film-world.is-playing .film-play,.film-world.is-playing .film-touch{opacity:0;pointer-events:none}.film-world:focus-within .film-play,.film-world:focus-within .film-touch{outline-offset:2px}.film-status{font-size:12px;line-height:1.6;color:#60765e;min-height:0;margin-top:7px}.film-status:empty{display:none}.film-learning+.film-status{max-width:700px}.formal-stage:has(.film-stage){max-width:960px}.formal-stage:has(.film-stage) .course-story{margin-top:15px}.film-stage~.word-caption{margin-top:12px}.formal-stage:has(.film-stage) .sound-pill{margin:12px 0}.stage-tabs{grid-template-columns:repeat(3,minmax(0,1fr));max-width:960px;gap:12px}.stage-tabs button{min-width:0;min-height:80px;padding:14px 16px}.stage-tabs span{margin-top:4px}
@media(max-width:650px){.stage-tabs{gap:8px}.stage-tabs button{padding:12px 8px}.stage-tabs strong{font-size:12px;line-height:1.5}.stage-tabs span{font-size:11px;line-height:1.6}}
.friendship-world{background:url('/art/storybook/cottage.webp') center 58%/cover}.friend-scene-ball,.friend-scene-book,.friend-scene-tent{background-image:url('/art/storybook/garden.webp')}.friend-scene-brush,.friend-scene-paint-arrive{background-image:url('/art/storybook/studio.webp')}.friendship-sky,.friendship-ground,.friendship-house,.friendship-tent{display:none}.story-visitor,.story-host{bottom:20px;width:145px;height:196px}.story-visitor{left:12%}.story-host{right:9%}.story-ball{background:none;border:0;width:62px;height:62px;overflow:visible}.story-ball:before,.story-ball:after{display:none}.story-ball img,.story-book img,.story-easel>img,.story-brush>img{width:100%;height:100%;object-fit:contain}.story-book{width:100px;height:74px;left:43%;bottom:34px;display:block}.story-easel{left:42%;width:115px;height:168px;bottom:25px;border:0;transform:none}.story-paper{inset:18px 13px 70px;background:none;border:0}.story-paper span{font-size:40px}.story-brush{background:none;width:28px;height:94px;right:31%;bottom:95px}.story-connection{top:65px;text-shadow:0 2px 2px #fff8e7}.party-world{background:url('/art/storybook/garden.webp') center/cover}.party-setting-gate{background-image:url('/art/storybook/cottage.webp')}.party-setting-evening{background:linear-gradient(#45425530,#ba8c4a18),url('/art/storybook/garden.webp') center/cover}.party-ground,.party-flowers{display:none}.party-host{width:126px;height:163px;bottom:14px;left:2%}.party-rack{border-color:#a87649;border-width:7px;box-shadow:2px 0 2px #5b401633}.count-backdrop{background:url('/art/storybook/kitchen.webp') center/cover}.count-table{background:linear-gradient(8deg,#bd8756,#e8bd83);border-bottom-color:#966637}.count-friend{width:145px;height:155px;bottom:99px;left:9%}.count-order{box-shadow:0 3px 6px #54351520}.count-friend .art{filter:drop-shadow(0 5px 4px #54351520)}
@keyframes storybook-greet{from{transform:rotate(-2deg)}to{transform:rotate(3deg)}}@keyframes storybook-nod{50%{transform:translateY(4px) rotate(3deg)}}@keyframes storybook-shake{25%{transform:rotate(-4deg)}75%{transform:rotate(4deg)}}
@media(max-width:650px){.film-stage.course-scene{border-radius:16px}.film-play,.film-touch.course-object{font-size:12px;bottom:30px;padding:7px 12px;min-height:40px}.film-play .icon,.film-touch .icon{width:18px;height:18px}.story-visitor,.story-host{width:114px;height:154px;bottom:26px}.story-visitor{left:1%}.story-host{right:1%}.story-easel{left:36%;width:100px;height:150px;bottom:32px}.story-brush{right:28%;height:76px;bottom:105px}.party-host{width:102px;height:137px;left:0}.count-friend{width:128px;height:139px;left:8%;bottom:102px}.hero-fox{width:160px;height:198px;right:13px;bottom:28px}.decision-mark{font-size:25px;width:31px;height:31px;line-height:31px}.film-stage~.word-caption .english-word{font-size:33px}}
@media(prefers-reduced-motion:reduce){.picturebook-fox *,.decision-yes>.art,.decision-no>.art{animation:none!important}}
.film-play,.film-touch.course-object{bottom:auto;top:50%;transform:translate(-50%,-50%)}.film-world.has-started .film-play,.film-world.has-started .film-touch{display:none}.film-toolbar{display:flex;align-items:center;gap:13px;width:100%;margin-top:8px;padding:0 4px}.film-toolbar button{background:#e7edde;color:#315746;border-radius:13px;min-height:44px;min-width:64px;padding:8px 12px;font-size:13px}.film-toolbar input{flex:1;min-width:0;accent-color:#527b58;min-height:44px;cursor:pointer}.film-toolbar+.film-status{margin-top:3px}.film-play:active,.film-touch.course-object:active{transform:translate(-50%,-50%) translateY(2px)}
.film-play:not(:disabled):active,.film-touch.course-object:not(:disabled):active{transform:translate(-50%,-50%) translateY(2px)}

/* Life-theme missions use the same tangible picture-book characters as the films. */
.picturebook-world{position:relative;width:100%;height:100%;background-size:cover;background-position:center;overflow:hidden}
.picturebook-guide{position:absolute;width:30%;height:65%;bottom:7%;left:2%}.picturebook-guide .art{width:100%;height:100%}
.picturebook-target{position:absolute;left:41%;bottom:8%;width:43%;height:67%;transition:transform .6s ease}.picturebook-target>.art{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 4px #4c382322)}
.picturebook-line{position:absolute;top:6%;right:6%;background:#fff8e7ef;padding:8px 16px;border-radius:20px;font-size:clamp(20px,4vw,32px);font-weight:750;color:#315746}
.picturebook-bush{position:absolute;width:53%;height:61%;object-fit:contain;left:36%;bottom:-4%;transition:transform .6s ease}.story-active .picturebook-bush{transform:translateY(75%)}
.picturebook-result{position:absolute;bottom:2%;left:0;right:0;text-align:center;font-size:14px;color:#315746;background:#fff8e7e8;padding:5px}
.story-active .picturebook-target{animation:picturebook-hello .65s ease 2 alternate}.scene-fly.story-active .picturebook-target{animation:picturebook-fly 1.4s ease both}.scene-hop.story-active .picturebook-target{animation:picturebook-hop .5s ease 3}.scene-swim.story-active .picturebook-target{animation:picturebook-swim 1s ease 2 alternate}
@keyframes picturebook-hello{to{transform:rotate(4deg) translateY(-6px)}}@keyframes picturebook-fly{from{transform:translate(28%,-35%)}to{transform:translate(0,0)}}@keyframes picturebook-hop{50%{transform:translateY(-22px)}}@keyframes picturebook-swim{to{transform:translateX(12px)}}
.theme-forest .course-backdrop{background:url('/art/storybook/garden.webp') center/cover}.theme-forest .course-backdrop>i,.theme-forest .course-destination{display:none}.theme-forest .course-bush{display:none}
@media(prefers-reduced-motion:reduce){.story-active .picturebook-target{animation:none}.picturebook-bush{transition:none}}
.picturebook-container{position:absolute;width:49%;height:33%;object-fit:contain;left:39%;bottom:6%}.scene-basket .picturebook-target,.scene-plate .picturebook-target{height:48%;bottom:29%;width:37%;left:45%}.scene-basket.story-active .picturebook-target,.scene-plate.story-active .picturebook-target{animation:picturebook-deliver .8s ease both}@keyframes picturebook-deliver{to{transform:translateY(30%) scale(.72)}}
.theme-picnic .course-backdrop{background:url('/art/storybook/garden.webp') center/cover}.theme-picnic .course-backdrop>i,.theme-picnic .course-destination{display:none}
.picturebook-fruit-plate{position:absolute;width:47%;height:20%;left:40%;bottom:10%;border-radius:50%;background:radial-gradient(ellipse,#f8edcd 52%,#fffaf0 56%,#ccb990 68%,#fffaf0 74%);box-shadow:0 6px 4px #59352133}
.theme-playroom .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-playroom .course-backdrop>i,.theme-playroom .course-destination{display:none}.scene-putaway .picturebook-target{height:50%;bottom:25%}.scene-putaway.story-active .picturebook-target{animation:picturebook-deliver .8s ease both}.scene-roll.story-active .picturebook-target{animation:picturebook-roll .8s ease both}.scene-drive.story-active .picturebook-target{animation:picturebook-drive .8s ease both}.scene-build.story-active .picturebook-target{animation:picturebook-build .8s ease both}@keyframes picturebook-roll{from{transform:translateX(-100px) rotate(-100deg)}to{transform:translateX(0) rotate(0)}}@keyframes picturebook-drive{from{transform:translateX(80px)}}@keyframes picturebook-build{from{transform:translateY(-45px) scale(.6)}to{transform:translateY(0) scale(1)}}
.theme-body .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-body .course-backdrop>i,.theme-body .course-destination{display:none}.scene-body .picturebook-target{height:77%;bottom:5%;width:42%;left:40%}.scene-body .picturebook-line{font-size:clamp(17px,4vw,28px)}.scene-body.story-active .picturebook-target{animation:picturebook-body .6s ease both}@keyframes picturebook-body{from{opacity:.2;transform:scale(.94)}to{opacity:1;transform:scale(1)}}
.body-detail{position:relative;overflow:hidden;background:#fff7e5;border:3px solid #e7c993;border-radius:18px}.body-detail img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:cover!important}.picturebook-target>.body-detail{height:70%;margin-top:25%}
.theme-family .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-family .course-backdrop>i,.theme-family .course-destination{display:none}.picturebook-album{position:absolute;left:25%;bottom:7%;width:73%;height:67%;object-fit:contain}.picturebook-narrator{position:absolute;left:66%;bottom:22%;width:21%;height:46%;object-fit:contain}.scene-album .picturebook-target{width:24%;height:48%;left:36%;bottom:20%}.picturebook-hidden{opacity:0}.scene-album.story-active .picturebook-target{animation:picturebook-photo .65s ease both}.scene-album .picturebook-line{font-size:clamp(17px,4vw,28px)}@keyframes picturebook-photo{from{transform:translateY(-35px) rotate(-6deg);opacity:0}to{transform:translateY(0) rotate(0);opacity:1}}

.theme-breakfast .course-backdrop{background:url('/art/storybook/kitchen.webp') center/cover}.theme-breakfast .course-backdrop>i,.theme-breakfast .course-destination{display:none}

.theme-motion .course-backdrop{background:url('/art/storybook/garden.webp') center/cover}.theme-motion .course-backdrop>i,.theme-motion .course-destination{display:none}.scene-motion-jump.story-active .picturebook-target{animation:picturebook-hop .5s ease 3}.scene-motion-stop.story-active .picturebook-target{animation:none!important}.scene-motion-sit .picturebook-target{height:55%;bottom:8%}.scene-motion-stand .picturebook-target{height:70%}

.theme-feelings .course-backdrop{background:url('/art/storybook/cottage.webp') center/cover}.theme-feelings .course-backdrop>i,.theme-feelings .course-destination{display:none}.picturebook-world[class*=scene-feel-] .picturebook-target{left:32%;height:72%;width:44%;animation:none}.picturebook-support{position:absolute;width:20%;height:27%;right:3%;bottom:9%;object-fit:contain;animation:picturebook-care .35s ease both}.scene-feel-tired .picturebook-target{height:60%!important}.picturebook-world[class*=scene-feel-] .picturebook-line{font-size:clamp(17px,4vw,28px)}@keyframes picturebook-care{from{opacity:0;transform:translateX(25px)}to{opacity:1;transform:translateX(0)}}@media(prefers-reduced-motion:reduce){.picturebook-support{animation:none}}

.theme-courtesy .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-courtesy .course-backdrop>i,.theme-courtesy .course-destination{display:none}.picturebook-world[class*=scene-courtesy-] .picturebook-target{left:30%;width:45%;height:69%;animation:none}.scene-courtesy-sorry .picturebook-target{height:55%!important}.scene-courtesy-help .picturebook-support{width:26%;height:59%;right:0}.scene-courtesy-look .picturebook-support,.scene-courtesy-listen .picturebook-support{bottom:auto;top:25%;right:4%;width:21%;height:26%}.picturebook-world[class*=scene-courtesy-] .picturebook-line{font-size:clamp(17px,4vw,28px)}

.scene-wardrobe.story-active .picturebook-target{animation:picturebook-body .45s ease both}.scene-wardrobe .picturebook-line{font-size:clamp(17px,4vw,28px)}

/* Weather cues move separately from the complete storybook scene. */
.picturebook-world[class*=scene-weather-] .picturebook-target{left:30%;width:65%;height:72%;animation:none}.picturebook-world[class*=scene-weather-] .picturebook-line{font-size:clamp(17px,4vw,28px)}.weather-particles{position:absolute;left:44%;top:30%;width:40%;height:45%;overflow:hidden;pointer-events:none}.weather-particles i{position:absolute;left:calc(var(--n)*17%);top:-12%;width:4px;height:14px;background:#72b9dc;border-radius:50%;animation:weather-fall 1.25s linear infinite;animation-delay:calc(var(--n)*-.2s)}.weather-snowy i{width:7px;height:7px;background:white;box-shadow:0 0 2px #6ca1bf}.weather-windy i{width:25px;height:20px;background:none;top:calc(var(--n)*16%);left:-10%;animation:weather-drift 2s ease-in-out infinite;animation-delay:calc(var(--n)*-.3s)}.weather-windy img{width:100%;height:100%;object-fit:contain}@keyframes weather-fall{to{transform:translate(10px,140px)}}@keyframes weather-drift{to{transform:translate(180px,10px) rotate(100deg)}}@media(prefers-reduced-motion:reduce){.weather-particles i{animation:none;top:calc(10% + var(--n)*12%)}}

.picturebook-world[class*=scene-room-] .picturebook-target{animation:none}.picturebook-world[class*=scene-room-] .picturebook-line{font-size:clamp(17px,4vw,28px)}.scene-room-box.story-active .picturebook-target,.scene-room-lamp.story-active .picturebook-target{animation:picturebook-care .35s ease both}

.theme-room .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-room .course-backdrop>i,.theme-room .course-destination{display:none}

.theme-menu .course-backdrop{background:url('/art/storybook/garden.webp') center/cover}.theme-menu .course-backdrop>i,.theme-menu .course-destination{display:none}.picturebook-world[class*=scene-menu-] .picturebook-line{font-size:clamp(17px,4vw,28px)}.scene-menu-serve.story-active .picturebook-target,.scene-menu-choice.story-active .picturebook-target{animation:picturebook-care .35s ease both}.scene-menu-decline.story-active .picturebook-target{animation:menu-aside .7s ease both}@keyframes menu-aside{to{transform:translateX(35%) scale(.85)}}@media(prefers-reduced-motion:reduce){.scene-menu-decline.story-active .picturebook-target{animation:none;transform:translateX(35%) scale(.85)}}

.theme-farm .course-backdrop{background:url('/art/storybook/garden.webp') center/cover}.theme-farm .course-backdrop>i,.theme-farm .course-destination{display:none}.picturebook-world[class*=scene-farm-] .picturebook-line{font-size:clamp(17px,4vw,28px)}.scene-farm-walk.story-active .picturebook-target{animation:picturebook-drive .7s ease both}.picturebook-pond{position:absolute;left:34%;width:64%;height:40%;bottom:7%;object-fit:contain}.scene-farm-pond .picturebook-target{height:50%;width:34%;left:48%;bottom:22%}.scene-farm-pond.story-active .picturebook-target{height:38%;bottom:22%;animation:farm-swim 1.2s ease both}@keyframes farm-swim{from{transform:translateX(-30px)}to{transform:translateX(20px)}}@media(prefers-reduced-motion:reduce){.scene-farm-pond.story-active .picturebook-target{animation:none}}

.picturebook-hay{position:absolute;left:32%;bottom:7%;width:26%;height:28%;object-fit:contain}

.theme-travel .course-backdrop{background:url('/art/storybook/garden.webp') center/cover}.theme-travel .course-backdrop>i,.theme-travel .course-destination{display:none}.picturebook-world[class*=scene-travel-] .picturebook-line{font-size:clamp(17px,4vw,28px)}.picturebook-travel-ground{position:absolute;left:30%;bottom:5%;width:67%;height:27%;object-fit:contain}.scene-travel-boat .picturebook-target{bottom:18%;height:49%}.scene-travel-bus .picturebook-target,.scene-travel-bike .picturebook-target{bottom:18%;height:55%}.scene-travel-plane .picturebook-travel-ground{bottom:23%;height:24%;width:45%;left:36%}.scene-travel-plane .picturebook-target{bottom:33%;height:42%}.scene-travel-bus.story-active .picturebook-target,.scene-travel-train.story-active .picturebook-target,.scene-travel-bike.story-active .picturebook-target{animation:travel-drive 1s ease both}.scene-travel-boat.story-active .picturebook-target{animation:travel-drive 1.3s ease both}.scene-travel-plane.story-active .picturebook-target{animation:travel-fly 1.3s ease both}.scene-travel-walk.story-active .picturebook-target{animation:travel-walk 1.3s linear both}.scene-travel-run.story-active .picturebook-target{animation:travel-run .65s ease-out both}@keyframes travel-drive{from{transform:translateX(-45px)}to{transform:translateX(0)}}@keyframes travel-fly{from{transform:translate(-35px,20px)}to{transform:translate(20px,-12px)}}@keyframes travel-walk{from{transform:translateX(-20px)}to{transform:translateX(15px)}}@keyframes travel-run{from{transform:translateX(-45px)}to{transform:translateX(25px)}}@media(prefers-reduced-motion:reduce){.picturebook-world[class*=scene-travel-] .picturebook-target{animation:none}}

.picturebook-road{position:absolute;left:31%;bottom:17%;width:65%;height:10%;border-radius:50%;background:#8b938c;box-shadow:0 3px 0 #747963}.picturebook-road:after{content:"";position:absolute;left:5%;right:5%;top:49%;height:2px;background:repeating-linear-gradient(90deg,#fff0bd 0 18px,transparent 18px 30px)}.picturebook-road.travel-rails{height:6%;border-radius:0;background:repeating-linear-gradient(90deg,#946944 0 6px,transparent 6px 18px);border-top:3px solid #a2a6a3;border-bottom:3px solid #a2a6a3;box-shadow:none}.picturebook-road.travel-rails:after{display:none}.scene-travel-train .picturebook-target{bottom:18%;height:55%}

.scene-travel-boat .picturebook-travel-ground{object-fit:fill}
/* Align the vehicle silhouettes with the road and water on narrow viewports. */
.scene-travel-bus .picturebook-target,.scene-travel-bike .picturebook-target,.scene-travel-train .picturebook-target{bottom:14%}
.scene-travel-boat .picturebook-target{bottom:12%}

.theme-park .course-backdrop{background:url('/art/storybook/garden.webp') center/cover}.theme-park .course-backdrop>i,.theme-park .course-destination{display:none}.park-swing-demo{position:relative;width:100%;height:100%}.park-swing-demo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.park-swing-pendulum{transform-origin:50% 13%}.story-active .park-swing-pendulum{animation:park-swing 1.1s ease-in-out 2 alternate}.park-visitor{position:absolute;width:21%;height:26%;object-fit:contain;left:34%;top:0%;animation:park-slide 1.15s ease-in-out both}.scene-park-leaf.story-active .picturebook-target{animation:park-leaf 1.1s ease both}.scene-park-slide .picturebook-target,.scene-park-swing .picturebook-target{bottom:10%;height:60%}.scene-park-grass .picturebook-target,.scene-park-rock .picturebook-target{bottom:11%;height:38%}@keyframes park-swing{from{transform:rotate(-10deg)}to{transform:rotate(10deg)}}@keyframes park-slide{from{transform:translate(0,0)}to{transform:translate(210%,250%)}}@keyframes park-leaf{from{transform:translate(-20px,-40px) rotate(-25deg)}to{transform:translate(12px,10px) rotate(15deg)}}@media(prefers-reduced-motion:reduce){.story-active .park-swing-pendulum,.park-visitor,.scene-park-leaf.story-active .picturebook-target{animation:none}}

/* Same-object comparison makes big/small independent of color or identity. */
.theme-shapes .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-shapes .course-backdrop>i,.theme-shapes .course-destination{display:none}.size-pair{display:flex;align-items:flex-end;justify-content:center;gap:6%;width:100%;height:100%;padding:6%}.size-pair .size-ball{object-fit:contain;max-width:none;filter:drop-shadow(0 4px 3px #59402133)}.size-pair .size-small{width:30%;height:40%}.size-pair .size-big{width:62%;height:80%}.size-pair .size-selected{filter:drop-shadow(0 0 6px #fff4b0) drop-shadow(0 0 3px #ba9142)}.story-active .size-selected{animation:shape-notice .65s ease-in-out 2 alternate;transform-origin:50% 100%}.picturebook-world[class*=scene-shape-] .picturebook-target{bottom:13%;height:57%}.picturebook-world[class*=scene-shape-]:not(.scene-shape-big):not(.scene-shape-small).story-active .picturebook-target{animation:picturebook-care .6s ease both}@keyframes shape-notice{to{transform:translateY(-7px)}}@media(prefers-reduced-motion:reduce){.story-active .size-selected{animation:none}}
.size-pair{position:relative}.size-pair .size-ball{object-position:center bottom}.size-cue{position:absolute;color:#315746;font-size:23px;line-height:1}.size-pair .cue-small{left:18%;bottom:46%}.size-pair .cue-big{left:66%;bottom:86%}
.apple-plate{width:100%;height:100%}.count-world[data-item=apple] .count-plate-holder{left:25%;right:5%;height:57%;bottom:10%}.count-world[data-item=apple] .count-friend{left:2%;bottom:36%;width:26%;height:39%}.count-world[data-item=apple] .count-order{font-size:clamp(17px,3.6vw,25px);max-width:75%;right:5%}.count-controls button>img{width:24px;height:25px;vertical-align:middle;object-fit:contain}.theme-numbers .course-backdrop{background:url('/art/storybook/kitchen.webp') center/cover}.theme-numbers .course-backdrop>i,.theme-numbers .course-destination{display:none}.count-learning .story-active .count-apple{animation:cookie-reveal .3s ease-out both;animation-delay:calc(var(--cookie-index)*.18s)}
/* Keep larger orders clear of the friend's face and speech during delivery. */
.count-world[data-item=apple] .count-plate-holder{left:29%;right:4%}.count-world[data-item=apple].story-active .count-plate-holder{animation:serve-apples 1.1s ease both}.count-world[data-item=apple] .count-thankyou{left:13%;top:19%}.count-world[data-item=apple].count-setting-picnic .count-backdrop{background:url('/art/storybook/garden.webp') center/cover}@keyframes serve-apples{to{transform:translate(-8px,-5px) scale(.97)}}@media(prefers-reduced-motion:reduce){.count-world[data-item=apple].story-active .count-plate-holder{animation:none;transform:translate(-8px,-5px) scale(.97)}}

.position-demo{position:relative;width:100%;height:100%;aspect-ratio:1}.position-demo img{position:absolute;object-fit:contain}.position-box{left:15%;top:30%;width:70%;height:70%}.position-ball{width:21%;height:21%;object-fit:contain}.position-in .position-ball{left:39%;top:44%}.position-behind .position-ball{left:67%;top:60%}.position-near .position-box{left:5%;top:34%;width:64%;height:64%}.position-near .position-ball{left:74%;top:76%}.position-chair{left:17.5%;top:12.5%;width:62.5%;height:86%}.position-on .position-ball{left:46%;top:34%;width:21%;height:21%}.position-under .position-ball{left:51%;top:79%;width:18.5%;height:18.5%}.position-demo .chest-before,.position-demo .chest-after{inset:0;width:100%;height:100%;object-fit:contain}.position-demo .chest-after{opacity:0}
.theme-positions .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-positions .course-backdrop>i,.theme-positions .course-destination{display:none}.picturebook-world[class*=scene-position-] .picturebook-target{width:63%;height:64%;left:34%;bottom:11%;aspect-ratio:1}.picturebook-world[class*=scene-position-] .picturebook-line{font-size:clamp(17px,3.8vw,25px)}.story-active .position-demo .chest-before{animation:chest-before .7s ease both}.story-active .position-demo .chest-after{animation:chest-after .7s ease both}@keyframes chest-before{to{opacity:0}}@keyframes chest-after{to{opacity:1}}@media(prefers-reduced-motion:reduce){.story-active .position-demo .chest-before{animation:none;opacity:0}.story-active .position-demo .chest-after{animation:none;opacity:1}}
.picturebook-world[class*=scene-position-] .picturebook-target{width:auto;height:64%;left:37%;aspect-ratio:1}
.story-active .position-in .position-ball{animation:position-drop .9s ease both}.story-active .position-on .position-ball{animation:position-onto .9s ease both}.story-active .position-under .position-ball,.story-active .position-behind .position-ball,.story-active .position-near .position-ball{animation:position-roll .9s ease both}@keyframes position-drop{from{transform:translateY(-45px)}}@keyframes position-onto{from{transform:translateY(-25px)}}@keyframes position-roll{from{transform:translateX(28px) rotate(-120deg)}}@media(prefers-reduced-motion:reduce){.story-active .position-demo .position-ball{animation:none}}

.theme-routine .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-routine .course-backdrop>i,.theme-routine .course-destination{display:none}.picturebook-world[class*=scene-routine-] .picturebook-target{bottom:11%;height:63%;width:62%;left:34%}.scene-routine-sleep .picturebook-target{height:55%;width:69%;left:29%}.story-active .routine-action{animation:picturebook-care .35s ease both}.picturebook-world[class*=scene-routine-] .picturebook-line{font-size:clamp(17px,3.9vw,25px)}

/* L3 introductions use complete picture-book people and school vignettes. */
.theme-school .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-school .course-backdrop>i,.theme-school .course-destination{display:none}.picturebook-world[class*=scene-school-] .picturebook-target{bottom:12%;height:62%;width:64%;left:32%}.picturebook-world[class*=scene-school-] .picturebook-line{font-size:clamp(17px,3.9vw,25px)}.picturebook-world[class*=scene-school-] .picturebook-target img{object-position:center bottom}

.theme-day .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-day .course-backdrop>i,.theme-day .course-destination{display:none}.picturebook-world[class*=scene-day-] .picturebook-target{bottom:13%;height:57%;width:59%;left:37%}.picturebook-world[class*=scene-day-] .picturebook-line{font-size:clamp(16px,3.6vw,24px)}

.theme-home .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-home .course-backdrop>i,.theme-home .course-destination{display:none}.picturebook-world[class*=scene-home-] .picturebook-target{bottom:13%;height:60%;width:65%;left:31%}.picturebook-world[class*=scene-home-] .picturebook-line{font-size:clamp(16px,3.6vw,24px)}

/* shop-scene-shared:start */
.shop-demo{position:relative;width:100%;height:100%;aspect-ratio:4/3}.shop-demo img{position:absolute;object-fit:contain;object-position:center bottom}.shop-buyer{left:4%;bottom:0;width:40%;height:78%}.shop-seller{left:48%;bottom:0;width:50%;height:91%}.shop-coin{left:38%;top:52%;width:7%;height:9%}.shop-apple{left:64%;top:44%;width:12%;height:13%}.shop-focus{position:absolute;font-size:23px;line-height:1;color:#315746;text-shadow:0 1px #fff8e7,1px 0 #fff8e7,-1px 0 #fff8e7}.shop-demo[data-shop-focus=buy] .shop-focus{left:18%;top:10%}.shop-demo[data-shop-focus=sell] .shop-focus{left:77%;top:0}
/* shop-scene-shared:end */
.theme-shop .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-shop .course-backdrop>i,.theme-shop .course-destination{display:none}.picturebook-world[class*=scene-shop-] .picturebook-line{font-size:clamp(16px,3.6vw,24px)}.picturebook-world[class*=scene-shop-] .picturebook-target{bottom:13%;height:58%;width:64%;left:32%}.scene-shop-buy .picturebook-target,.scene-shop-sell .picturebook-target{width:68%!important;height:auto!important;aspect-ratio:4/3;left:30%!important;bottom:13%!important;animation:none!important}.story-active .shop-coin{animation:shop-pay .35s ease both}.story-active .shop-apple{animation:shop-give .4s .3s ease both}@keyframes shop-pay{to{left:52%;top:44%}}@keyframes shop-give{to{left:36%;top:45%}}@media(prefers-reduced-motion:reduce){.story-active .shop-coin{animation:none;left:52%;top:44%}.story-active .shop-apple{animation:none;left:36%;top:45%}}

.theme-safari .course-backdrop{background:url('/art/storybook/garden.webp') center/cover}.theme-safari .course-backdrop>i,.theme-safari .course-destination{display:none}.picturebook-world[class*=scene-safari-] .picturebook-target{bottom:13%;height:61%;width:63%;left:33%}.picturebook-world[class*=scene-safari-] .picturebook-line{font-size:clamp(16px,3.6vw,24px)}.scene-safari-monkey.story-active .picturebook-target{animation:picturebook-hop .45s ease 2}.scene-safari-snake .picturebook-target{height:42%}

.theme-birthday .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-birthday .course-backdrop>i,.theme-birthday .course-destination{display:none}.picturebook-world[class*=scene-birthday-] .picturebook-target{bottom:13%;height:59%;width:64%;left:32%}.picturebook-world[class*=scene-birthday-] .picturebook-line{font-size:clamp(16px,3.6vw,24px)}.scene-birthday-dance.story-active .picturebook-target{transform-origin:50% 95%;animation:birthday-dance .25s ease-in-out 4 alternate}.scene-birthday-balloon.story-active .picturebook-target{animation:birthday-float .6s ease-in-out 2 alternate}@keyframes birthday-dance{from{transform:rotate(-6deg) translateX(-5px)}to{transform:rotate(6deg) translateX(5px)}}@keyframes birthday-float{to{transform:translateY(-10px) rotate(3deg)}}@media(prefers-reduced-motion:reduce){.scene-birthday-dance.story-active .picturebook-target,.scene-birthday-balloon.story-active .picturebook-target{animation:none}}

/* hygiene-scene-shared:start */
.hygiene-demo{position:relative;width:100%;height:100%}.hygiene-demo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.hygiene-after{opacity:0}
/* hygiene-scene-shared:end */
.theme-health .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-health .course-backdrop>i,.theme-health .course-destination{display:none}.picturebook-world[class*=scene-health-] .picturebook-target{bottom:13%;height:58%;width:64%;left:32%}.picturebook-world[class*=scene-health-] .picturebook-line{font-size:clamp(16px,3.6vw,24px)}.story-active .hygiene-before{animation:hygiene-before .65s ease both}.story-active .hygiene-after{animation:hygiene-after .65s ease both}@keyframes hygiene-before{to{opacity:0}}@keyframes hygiene-after{to{opacity:1}}@media(prefers-reduced-motion:reduce){.story-active .hygiene-before{animation:none;opacity:0}.story-active .hygiene-after{animation:none;opacity:1}}

/* direction-scene-shared:start */
.direction-demo{position:relative;width:100%;height:100%;aspect-ratio:4/3}.direction-demo img{position:absolute;object-fit:contain;object-position:center bottom}.direction-path{left:0;bottom:0;width:100%;height:45%}.direction-walker{left:39%;bottom:14%;width:22%;height:70%}.direction-arrow{position:absolute;left:17%;top:0;width:17%;height:14%}.direction-demo[data-direction=right] .direction-arrow{left:66%}
/* direction-scene-shared:end */
.theme-city .course-backdrop{background:url('/art/storybook/garden.webp') center/cover}.theme-city .course-backdrop>i,.theme-city .course-destination{display:none}.picturebook-world[class*=scene-city-] .picturebook-target{bottom:13%;height:59%;width:65%;left:31%}.picturebook-world[class*=scene-city-] .picturebook-line{font-size:clamp(16px,3.6vw,24px)}.scene-city-left .picturebook-target,.scene-city-right .picturebook-target{left:29%!important;width:70%!important;height:auto!important;aspect-ratio:4/3;animation:none!important}.story-active .direction-walker{animation:direction-walk .8s ease both}@keyframes direction-walk{to{transform:translateX(var(--direction-shift))}}@media(prefers-reduced-motion:reduce){.story-active .direction-walker{animation:none;transform:translateX(var(--direction-shift))}}

.theme-care .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-care .course-backdrop>i,.theme-care .course-destination{display:none}.picturebook-world[class*=scene-care-] .picturebook-target{bottom:13%;height:61%;width:65%;left:31%;animation:none}.picturebook-world[class*=scene-care-] .picturebook-line{font-size:clamp(16px,3.6vw,24px)}

/* ability-scene-shared:start */
.ability-demo{position:relative;width:100%;height:100%;aspect-ratio:4/3}.ability-demo img{position:absolute;object-fit:contain;object-position:center bottom}.ability-water{left:5%;bottom:0;width:90%;height:48%}.ability-duck{left:26%;bottom:14%;width:37%;height:50%}.ability-rider{left:15%;bottom:4%;width:70%;height:88%;transform-origin:50% 92%}.ability-kicker{left:5%;bottom:0;width:52%;height:87%}.ability-thrower{left:3%;bottom:0;width:37%;height:82%}.ability-catcher{left:62%;bottom:0;width:37%;height:82%}.ability-ball{left:var(--ball-x);top:var(--ball-y);width:9%;height:12%;object-position:center!important}.ability-focus{background:#fff8e7;border-radius:50%;width:29px;height:28px;text-align:center;padding-top:2px;position:absolute;top:5%;left:18%;font-size:23px;line-height:1;color:#315746;text-shadow:0 2px #fff8e7,2px 0 #fff8e7,-2px 0 #fff8e7}.ability-demo[data-ability=catch] .ability-focus{left:79%}
/* ability-scene-shared:end */
.theme-ability .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-ability .course-backdrop>i,.theme-ability .course-destination{display:none}.picturebook-world[class*=scene-ability-] .picturebook-target{left:29%!important;bottom:13%;width:70%!important;height:auto!important;aspect-ratio:4/3;animation:none!important}.picturebook-world[class*=scene-ability-] .picturebook-line{font-size:clamp(16px,3.5vw,24px)}.story-active .ability-ball{animation:ability-pass .8s ease both}.story-active .ability-duck{animation:ability-swim 1s ease both}.story-active .ability-rider{animation:ability-rock .35s ease-in-out 3 alternate}@keyframes ability-pass{0%{left:var(--ball-x);top:var(--ball-y)}50%{left:var(--ball-mid-x);top:var(--ball-mid-y)}100%{left:var(--ball-end-x);top:var(--ball-end-y)}}@keyframes ability-swim{to{transform:translateX(35%)}}@keyframes ability-rock{to{transform:rotate(4deg)}}@media(prefers-reduced-motion:reduce){.story-active .ability-ball{animation:none;left:var(--ball-end-x);top:var(--ball-end-y)}.story-active .ability-duck{animation:none;transform:translateX(35%)}.story-active .ability-rider{animation:none}}

/* sequence-scene-shared:start */
.story-sequence{position:relative;width:100%;height:100%;aspect-ratio:4/3;background:#fff8e7;border-radius:16px;padding:6px}.sequence-hero{position:absolute;left:7%;top:3%;width:86%;height:65%}.sequence-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.sequence-after{opacity:0}.sequence-grid{position:absolute;left:3%;bottom:3%;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;width:94%;height:27%}.sequence-card{position:relative;min-width:0;min-height:0;border:3px solid #d3c6a8;border-radius:8px;background:#fff8e7;padding:3px}.sequence-card img{width:100%;height:100%;object-fit:contain}.sequence-card.sequence-selected{border-color:#315746;background:#eef0d9}.sequence-number{position:absolute;left:0;top:0;min-width:21px;height:21px;line-height:21px;border-radius:50%;background:#315746;color:#fff8e7;text-align:center;font-size:16px;font-weight:700}.sequence-replay{position:absolute;right:4px;top:4px;border:2px solid #315746;background:#fff8e7;color:#315746;width:31px;height:31px;line-height:26px;text-align:center;font-size:27px;border-radius:50%;font-family:Arial,sans-serif}
/* sequence-scene-shared:end */
.theme-sequence .course-backdrop{background:url('/art/storybook/studio.webp') center/cover}.theme-sequence .course-backdrop>i,.theme-sequence .course-destination{display:none}.picturebook-world[class*=scene-sequence-] .picturebook-target{left:30%!important;bottom:13%;width:68%!important;height:auto!important;aspect-ratio:4/3;animation:none!important}.picturebook-world[class*=scene-sequence-] .picturebook-line{font-size:clamp(16px,3.5vw,24px)}.story-active [data-sequence=again-word] [data-step="0"]{animation:sequence-restart .7s ease both}.story-active [data-sequence=again-word] [data-step="3"]{animation:sequence-end .7s ease both}.story-active .sequence-replay{animation:sequence-turn .7s ease both}@keyframes sequence-restart{to{border-color:#315746;background:#eef0d9}}@keyframes sequence-end{to{border-color:#d3c6a8;background:#fff8e7}}@keyframes sequence-turn{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.story-active [data-sequence=again-word] [data-step="0"]{animation:none;border-color:#315746;background:#eef0d9}.story-active [data-sequence=again-word] [data-step="3"]{animation:none;border-color:#d3c6a8;background:#fff8e7}.story-active .sequence-replay{animation:none}}

.story-active [data-sequence=again-word] .sequence-before{animation:sequence-fade-out .7s ease both}.story-active .sequence-after{animation:sequence-fade-in .7s ease both}@keyframes sequence-fade-out{to{opacity:0}}@keyframes sequence-fade-in{to{opacity:1}}@media(prefers-reduced-motion:reduce){.story-active [data-sequence=again-word] .sequence-before{animation:none;opacity:0}.story-active .sequence-after{animation:none;opacity:1}}
/* Family accounts: the same warm island palette with readable forms. */
.auth-loading{padding:15vh 24px;text-align:center;line-height:2}.auth-loading button{margin-top:24px}
.auth-page{min-height:100dvh;max-width:1100px;margin:auto;padding:64px 40px;display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.auth-welcome{padding:12px 16px}.auth-fox{display:block;width:190px;height:210px;object-fit:contain;margin:0 0 22px}.auth-welcome h1{font-size:36px;line-height:1.5;margin:15px 0}.auth-welcome p{font-size:17px;line-height:1.9;color:var(--muted)}.auth-note{display:block;margin-top:28px;font-size:12px;color:var(--muted)}
.auth-card{background:var(--paper);border:1px solid var(--line);border-radius:28px;padding:34px;box-shadow:0 14px 45px #26493608;min-width:0}.auth-card h2{font-size:26px;margin-bottom:10px}.auth-card>p{font-size:14px;line-height:1.8;color:var(--muted)}.auth-card form,.account-details form{display:grid;gap:17px;margin-top:22px}.auth-card label,.family-panel label{display:grid;gap:8px;font-size:14px;font-weight:600}.auth-card input,.family-panel input,.family-panel select{min-width:0;width:100%;border:1px solid #cbd8c9;border-radius:12px;background:white;padding:13px 14px;min-height:48px;font-size:16px;color:var(--ink)}.auth-card .primary{width:100%;font-size:16px}.auth-role{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#eef1e8;padding:5px;border-radius:16px;margin:23px 0}.auth-role button{min-height:50px;border-radius:12px;background:transparent;font-size:14px}.auth-role button[aria-pressed=true]{background:white;color:var(--green);box-shadow:0 2px 6px #244f3e12;font-weight:700}.auth-role .icon{width:18px;margin-right:4px}.auth-switch{margin:22px auto 14px;display:block;text-align:center;min-height:44px;font-size:14px}.auth-card .form-error:empty,.account-grid .form-error:empty{display:none}.auth-card .quiet{font-size:12px}.password-card{max-width:520px;margin:auto}
.account-bar{max-width:1180px;margin:auto;padding:14px 40px;display:flex;align-items:center;gap:16px;font-size:13px;border-bottom:1px solid var(--line);flex-wrap:wrap}.account-bar>span:first-child{margin-right:auto;min-width:0;overflow-wrap:anywhere}.account-bar small{display:block;color:var(--muted);margin-top:4px}.account-bar .plain-button,.account-bar .small-button{font-size:12px;min-height:40px}.sync-status{font-size:11px;color:var(--muted);max-width:440px}.sync-status button{margin-left:8px;border-radius:8px;padding:8px 10px;background:#efd28b;font-size:12px}
.family-page{max-width:1080px;margin:30px auto 0;padding:0 35px}.family-panel{background:#f0f3e9;border:1px solid var(--line);padding:28px;border-radius:24px}.family-heading h2{margin:10px 0;font-size:25px}.family-heading p,.family-empty{color:var(--muted);font-size:14px;line-height:1.8}.family-empty{margin:22px 0}.child-selector{max-width:440px;margin:22px 0}.account-details{border-top:1px solid #dce4d4;margin-top:17px;padding-top:8px}.account-details summary{min-height:48px;display:list-item;cursor:pointer;padding:14px 0;font-size:14px;font-weight:600}.account-details form{max-width:520px;margin-bottom:18px}.account-details .account-grid{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.account-grid .form-error{grid-column:1/-1}.account-grid .primary{font-size:14px;min-height:48px}.legacy-migration{margin-top:20px;background:#fff8e4;padding:20px;border-radius:16px;font-size:14px}.legacy-migration p{margin:10px 0 15px;color:var(--muted);line-height:1.8;font-size:12px}
@media(max-width:760px){.auth-page{gap:24px;padding:28px 20px;grid-template-columns:1fr;max-width:560px}.auth-welcome{position:relative;padding:0 100px 0 4px}.auth-fox{position:absolute;right:0;top:-8px;width:95px;height:120px;margin:0}.auth-welcome h1{font-size:23px;line-height:1.45;margin:10px 0}.auth-welcome h1 br,.auth-welcome p br{display:none}.auth-welcome p{font-size:13px;line-height:1.7}.auth-welcome .eyebrow{font-size:9px}.auth-note{display:none}.auth-card{padding:26px 23px;border-radius:24px}.account-bar{padding:9px 20px;gap:8px}.account-bar .sync-status{order:4;width:100%;max-width:none}.family-page{padding:0 16px;margin-top:22px}.family-panel{padding:21px 17px}.account-details .account-grid{grid-template-columns:1fr}.family-heading h2{font-size:22px}}
@media(max-width:760px){.auth-welcome h1{font-size:21px}.auth-welcome h1 br{display:block}}
