:root{--ink:#244b44;--green:#237d64;--mint:#eaf6f1;--orange:#ffb54f;--muted:#788c85;--line:#dfebe4;--cream:#fffdf6}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:ui-rounded,"Arial Rounded MT Bold","PingFang SC","Microsoft YaHei",sans-serif}button{font:inherit;color:inherit;cursor:pointer;border:0}button:focus-visible{outline:4px solid #efa832;outline-offset:4px}button:disabled{cursor:default;opacity:.5}button{transition:transform .15s,background .2s}button:not(:disabled):active{transform:scale(.97)}.shell{min-height:100vh;display:grid;grid-template-columns:220px 1fr}.sidebar{padding:38px 24px;background:#f0f7ed;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:32px}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:900;letter-spacing:1px}.logo{background:#35846b;width:42px;height:44px;border-radius:14px;display:grid;place-items:center;color:white;font-size:27px;box-shadow:0 4px 0 #cde2cb}.brand small{display:block;font-size:9px;letter-spacing:3px;margin-top:5px;color:#6f8c75}.nav{display:flex;flex-direction:column;gap:12px}.nav button{background:transparent;text-align:left;padding:16px 18px;border-radius:15px;font-weight:700;font-size:15px}.nav button.active{background:#dcecdc;color:#276f57}.nav span{font-size:20px;display:inline-block;width:32px}.side-note{margin-top:auto;padding:20px 16px;background:#e5efdd;border-radius:20px;font-size:12px;line-height:1.9}.side-note strong{font-size:15px;display:block}.side-note .tiny-bear{height:92px}.main{padding:30px 42px;max-width:1500px;width:100%;margin:auto}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:16px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:#739386;text-transform:uppercase}.topbar h1{font-size:27px;margin:9px 0 0;letter-spacing:1px}.profile{display:flex;align-items:center;gap:12px;font-size:13px}.avatar{width:44px;height:44px;background:#ffdfa0;border:3px solid white;border-radius:50%;display:grid;place-items:center;font-size:25px}.quiet{background:white;border:1px solid var(--line);border-radius:12px;padding:11px 15px;font-size:13px}.hero{position:relative;min-height:300px;border-radius:28px;overflow:hidden;background:#dceded;display:grid;grid-template-columns:47% 53%;border:1px solid #d4e8e0}.hero-copy{padding:37px 0 35px 34px;z-index:1}.pill{display:inline-flex;align-items:center;gap:7px;background:#ffffffbb;border-radius:30px;padding:7px 12px;font-size:11px;font-weight:700;color:#458272}.hero h2{font-size:37px;line-height:1.3;margin:18px 0 12px;letter-spacing:.5px}.hero p{font-size:14px;color:#637f78;margin:0 0 23px;line-height:1.8}.primary{padding:15px 27px;background:var(--green);color:white;font-weight:800;border-radius:15px;box-shadow:0 5px 0 #165c49;min-height:52px}.primary.orange{background:#ffbf59;color:#704718;box-shadow:0 5px 0 #e59a30}.hero-art{align-self:stretch;min-width:0;position:relative}.hero-art svg{height:100%;width:110%;position:absolute;right:0;bottom:0}.hero-art .bubble{position:absolute;right:35px;top:33px;background:#fffef4;padding:13px 18px;border-radius:18px 18px 18px 3px;font-size:16px;font-weight:800;transform:rotate(5deg);box-shadow:0 6px 0 #c5ddd277}.status-strip{display:flex;align-items:center;gap:23px;padding:22px 8px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.status-strip strong{font-size:17px;color:var(--ink);margin-right:6px}.status-strip .dot{width:5px;height:5px;border-radius:50%;background:#c4d9ce}.section-title{display:flex;justify-content:space-between;align-items:end;margin:29px 0 20px}.section-title h2{font-size:22px;margin:0}.section-title p{font-size:12px;color:var(--muted);margin:7px 0 0}.tabs{display:flex;gap:5px;background:#edf2e9;padding:4px;border-radius:12px}.tabs button{padding:9px 17px;font-size:12px;border-radius:9px;background:transparent}.tabs button.selected{background:white;box-shadow:0 2px 5px #244b4410;font-weight:800}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.card{text-align:left;overflow:hidden;background:white;border:1px solid var(--line);border-radius:19px;padding:0;min-width:0}.card.available{border:2px solid #5c9e7c;box-shadow:0 7px 20px #2863430c}.card-art{height:124px;display:grid;place-items:center;position:relative;background:var(--card-bg,#f7ead8)}.card-art .symbol{font-size:57px;filter:drop-shadow(0 6px 2px #4e4e3419)}.card-art .number{position:absolute;left:12px;top:12px;font-size:10px;letter-spacing:1px;color:#617269}.tag{position:absolute;right:9px;top:9px;font-size:10px;background:#ffffffd9;padding:5px 8px;border-radius:8px}.tag.live{background:#2d8467;color:white}.card-text{padding:15px}.card-text h3{font-size:15px;margin:0 0 5px}.card-text p{margin:0;color:var(--muted);font-size:11px}.card-text footer{margin-top:14px;display:flex;justify-content:space-between;font-size:10px;color:#839087}.empty{padding:70px 20px;text-align:center;background:#f1f5eb;border-radius:24px}.empty h2{font-size:25px}.page-footer{display:flex;justify-content:space-between;padding-top:28px;font-size:10px;color:#8ba096}.lesson{background:#f5f8ed;min-height:100vh;padding:22px 36px;display:flex;flex-direction:column}.lesson-header{display:flex;align-items:center;gap:22px;max-width:1200px;width:100%;margin:auto}.round{width:48px;height:48px;border-radius:16px;background:white;box-shadow:0 3px 0 #dce6d7;font-size:22px;flex-shrink:0}.lesson-title{font-size:14px;white-space:nowrap}.lesson-title small{display:block;color:#8a9b90;font-size:10px;margin-top:4px}.steps{display:flex;align-items:center;gap:7px;flex:1;justify-content:center}.step{background:#e6eddf;border-radius:12px;padding:11px 17px;font-size:12px;color:#8d9e90}.step.current{background:#d3e8d8;color:#2b7f5b;font-weight:800}.step.done{color:#30835f}.lesson-counter{font-size:12px;color:#81978a}.stage{max-width:1200px;width:100%;margin:24px auto 0;flex:1;min-height:510px;border-radius:30px;position:relative;background:linear-gradient(180deg,#d4ecf0 0%,#e7f4e6 66%,#cae3bb 66%);border:4px solid white;box-shadow:0 12px 32px #405f3010;overflow:hidden;display:flex;flex-direction:column}.stage:before{content:"";position:absolute;width:460px;height:180px;border-radius:50%;background:#fff6ce88;top:-90px;left:40%;filter:blur(12px)}.stage:after{content:"";position:absolute;width:140%;height:210px;border-radius:50%;background:#b8d5a04a;bottom:-150px;left:-20%;pointer-events:none}.scene-top{position:relative;z-index:2;text-align:center;padding:26px 20px 10px}.scene-top .eyebrow{color:#5a9684}.scene-top h1{font-size:31px;margin:10px 0 7px}.scene-top p{font-size:14px;color:#6c8676;margin:0}.scene-main{display:flex;justify-content:center;align-items:center;gap:40px;flex:1;min-height:320px;padding:15px 30px;z-index:1;position:relative}.milo-wrap{width:235px;position:relative;flex-shrink:0}.milo-wrap svg{width:100%;filter:drop-shadow(0 12px 8px #55723220)}.milo-label{font-size:12px;text-align:center;font-weight:800;color:#638361;margin-top:-8px}.speech{position:absolute;left:-10px;top:-5px;background:#fffcf1;border-radius:17px 17px 4px 17px;padding:12px;font-size:13px;box-shadow:0 5px 0 #cfdfc9;max-width:190px;z-index:2}.activity{min-width:0;display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;max-width:680px}.fruit-btn{background:#fffdf0;width:185px;min-height:195px;border-radius:25px;border:3px solid white;box-shadow:0 8px 0 #a8c5a9;padding:12px 15px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;font-size:22px;font-weight:800;touch-action:none}.fruit-btn svg{width:135px;height:130px;pointer-events:none}.fruit-btn:hover{background:#fff7d7;transform:translateY(-3px)}.fruit-btn.selected{border-color:#e9a837;background:#fff1c5}.fruit-btn small{font-size:11px;color:#7c947c;font-weight:400;margin-top:6px}.fruit-btn.success{background:#d9efc9;border-color:#85b376}.fruit-btn.wiggle{animation:wiggle .5s}.basket{background:repeating-linear-gradient(0deg,#ce9254 0px,#ce9254 8px,#dba563 9px,#dba563 18px);border:5px solid #bc7c40;box-shadow:0 8px 0 #5a834922;border-radius:15px 15px 36px 36px;width:230px;min-height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:20px;color:#fff9eb;text-shadow:0 1px 1px #855021;position:relative;padding:15px}.basket:before{content:"";position:absolute;width:140px;height:70px;border:11px solid #bb8048;border-bottom:0;border-radius:65px 65px 0 0;top:-64px;z-index:-1}.basket small{font-size:12px;margin-top:9px}.game-area{gap:35px}.game-area .fruit-btn{width:140px;min-height:155px}.game-area .fruit-btn svg{width:95px;height:95px}.basket.target{outline:5px dashed #fff6ce;outline-offset:9px}.scene-bottom{position:relative;z-index:3;background:#ffffffbb;border-top:1px solid #ffffff;display:flex;align-items:center;justify-content:space-between;padding:18px 26px;gap:16px;min-height:91px}.feedback{font-size:15px;color:#4b7561;display:flex;align-items:center;gap:12px;line-height:1.6}.feedback-icon{width:35px;height:35px;display:grid;place-items:center;background:#dfedd9;border-radius:50%;flex-shrink:0}.tools{display:flex;gap:10px;align-items:center}.secondary{background:white;padding:13px 19px;border-radius:13px;border:1px solid #d6e4d1;min-height:48px;font-size:13px}.subtle{font-size:12px;color:#708a76;background:transparent;text-decoration:underline;text-underline-offset:4px;padding:12px}.below{max-width:1200px;width:100%;margin:16px auto 0;display:flex;justify-content:space-between;align-items:center;color:#7d9380;font-size:11px}.record-panel{display:flex;flex-direction:column;align-items:center;gap:16px}.record-panel .fruit-btn{min-height:172px;width:200px}.mic{border-radius:50%;width:66px;height:66px;background:#eea44a;color:white;box-shadow:0 5px 0 #c38138;font-size:26px}.mic.recording{background:#df7666;animation:pulse 1s infinite}.record-tools{display:flex;gap:10px;align-items:center}.record-note{font-size:11px;max-width:270px;line-height:1.6;text-align:center;color:#60806a}.intro-card{background:#fffef0cc;border:3px solid white;border-radius:24px;padding:25px;max-width:400px}.intro-card h2{font-size:27px;margin:0 0 12px}.intro-card p{color:#6c8269;font-size:14px;line-height:1.8;margin:0}.intro-fruits{display:flex;justify-content:center;gap:10px;margin:10px 0}.intro-fruits svg{width:110px;height:110px}.trophy{font-size:72px;text-align:center}.report{display:grid;grid-template-columns:1fr 1fr;gap:20px}.report-box{padding:28px;background:white;border:1px solid var(--line);border-radius:22px;line-height:1.9}.report-box h2{margin:0 0 15px;font-size:19px}.report-box strong.big{font-size:45px}.progressbar{height:8px;background:#e4ece1;border-radius:8px;overflow:hidden;margin:20px 0}.progressbar i{display:block;height:100%;background:#62a27a}.badge-row{display:flex;gap:15px;margin-top:25px}.badge{background:#fff2cf;border-radius:20px;padding:20px;text-align:center;min-width:120px}.badge span{display:block;font-size:40px}.muted{color:var(--muted);font-size:13px}dialog{border:none;border-radius:24px;padding:30px;max-width:580px;width:calc(100% - 36px);color:var(--ink);box-shadow:0 20px 80px #16372733}dialog::backdrop{background:#16372770;backdrop-filter:blur(4px)}dialog h2{font-size:22px;margin:0 0 18px}dialog p,dialog li{font-size:14px;line-height:1.9}dialog ul{padding-left:20px}dialog .actions{display:flex;gap:12px;justify-content:flex-end;margin-top:25px}.notice{padding:13px;background:#fff4d7;border-radius:12px;font-size:12px;line-height:1.8}.toast{opacity:1}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#254c43;color:white;padding:14px 24px;border-radius:15px;z-index:20;box-shadow:0 6px 20px #244b4430;pointer-events:none;opacity:0;transition:opacity .2s;font-size:14px;max-width:90vw}#toast.show{opacity:1}.floating{animation:float 4s ease-in-out infinite}.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden}.confetti i{position:absolute;top:-15px;width:10px;height:16px;animation:fall 3s ease-in forwards}.glow{filter:drop-shadow(0 0 13px #ffe49b)}@keyframes float{50%{transform:translateY(-9px)}}@keyframes wiggle{25%{transform:rotate(-5deg)}75%{transform:rotate(5deg)}}@keyframes pulse{50%{box-shadow:0 0 0 12px #df766633}}@keyframes fall{to{transform:translateY(620px) rotate(500deg)}}@media(min-width:1500px){.main{padding:40px 60px}.hero{min-height:345px}.card-art{height:145px}}@media(max-width:1100px){.shell{grid-template-columns:170px 1fr}.sidebar{padding:30px 16px}.brand{font-size:19px}.main{padding:25px}.cards{gap:12px}.card-text{padding:12px}.hero h2{font-size:30px}.hero-copy{padding:30px 0 30px 24px}.hero-art .bubble{right:15px;font-size:12px}.milo-wrap{width:180px}.scene-main{gap:23px}.step{padding:10px}.lesson{padding:18px}.fruit-btn{width:165px}.game-area .fruit-btn{width:125px}.basket{width:180px}.game-area{gap:20px}}@media(max-width:740px){.shell{grid-template-columns:1fr}.sidebar{padding:16px 20px;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;border-right:0;border-bottom:1px solid var(--line)}.side-note,.brand small{display:none}.nav{flex-direction:row;gap:0}.nav button{padding:10px;font-size:0}.nav span{font-size:21px;width:auto}.main{padding:20px}.profile .quiet{display:none}.hero{grid-template-columns:55% 45%;min-height:290px}.hero h2{font-size:25px}.hero-copy{padding:25px 0 25px 20px}.hero-art svg{width:160%;right:-55px}.hero-art .bubble{display:none}.cards{grid-template-columns:repeat(2,1fr)}.section-title{align-items:start;gap:15px}.tabs button{padding:8px 12px}.status-strip{gap:12px;font-size:10px}.status-strip strong{font-size:14px}.topbar h1{font-size:23px}.lesson{padding:12px}.steps{gap:4px}.step{font-size:10px;padding:9px 6px}.lesson-title,.lesson-counter{display:none}.lesson-header{gap:10px}.stage{min-height:620px;margin-top:16px}.scene-top h1{font-size:25px}.scene-main{flex-direction:column;gap:10px;padding:5px 14px 24px}.milo-wrap{width:110px;align-self:flex-start;height:85px;margin-left:20px}.milo-wrap svg{height:100px}.milo-label{display:none}.speech{left:105px;top:10px;min-width:170px}.activity{gap:15px;width:100%}.fruit-btn{width:140px;min-height:165px}.fruit-btn svg{width:110px;height:100px}.scene-bottom{padding:14px;flex-wrap:wrap;justify-content:center}.feedback{font-size:13px;width:100%}.tools{margin-left:auto}.game-area{gap:15px}.game-area .fruit-btn{width:110px;min-height:140px}.basket{margin-top:50px;width:210px;min-height:100px}.intro-card{padding:20px}.report{grid-template-columns:1fr}.page-footer{gap:10px}.record-panel{gap:12px}.below{font-size:10px}.hero p{font-size:12px}.primary{padding:14px 20px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.tiny-bear svg{width:100%;height:100%}

/* Classroom instructions: one title, replay attached to bottom prompt. */
.scene-top{padding:26px 20px 10px}.scene-top h1{margin:8px 0}
.instruction-speaker{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;padding:10px;border-radius:50%;background:#deedda;color:#34785a;box-shadow:0 3px 0 #c5dbc1}
.instruction-speaker:hover{background:#cfe5c9}.instruction-speaker svg{width:25px;height:25px}.scene-bottom .feedback{min-width:0;flex:1}.scene-bottom .tools{flex-shrink:0}
@media(max-width:740px){.scene-bottom .feedback{flex-basis:100%}}

.teacher-window{position:absolute;right:20px;top:16px;width:142px;background:#fffef7;border:3px solid white;border-radius:19px;overflow:hidden;box-shadow:0 5px 18px #3157481c;transition:box-shadow .2s}
.teacher-window img{display:block;width:100%;height:126px;object-fit:cover;object-position:center 30%}.teacher-controls{display:flex;align-items:center;justify-content:space-between;padding:3px 8px 3px 12px;font-size:12px;font-weight:700}.teacher-controls button{background:#e8f1df;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}.teacher-controls svg{width:21px;height:21px}.teacher-window.speaking{box-shadow:0 0 0 4px #f4c65f,0 6px 22px #31574826}
.scene-top{min-height:191px;padding:42px 182px 20px}.scene-top h1{font-size:29px}.guide-target{animation:guide 1.5s ease-in-out 3!important}@keyframes guide{50%{box-shadow:0 0 0 7px #edbd5277;filter:brightness(1.06)}}
@media(max-width:740px){.teacher-window{width:108px;right:10px;top:10px;border-radius:15px}.teacher-window img{height:96px}.teacher-controls{padding:2px 5px 2px 8px;font-size:11px}.teacher-controls button{width:32px;height:32px}.scene-top{padding:38px 130px 12px 16px;min-height:157px;text-align:left}.scene-top h1{font-size:22px}.feedback{font-size:15px}}

.greeting-panel{display:flex;flex-direction:column;align-items:center;gap:17px;background:#fffef0cc;border:3px solid white;border-radius:26px;padding:22px 35px;min-width:290px}.greeting-panel h2{margin:0;font-size:32px}.hello-wave{font-size:65px;transform-origin:70% 75%}.waving{animation:hello-wave .45s ease-in-out 4}.wave-button{font-size:18px;min-height:58px}.greeting-panel .record-note{font-size:13px}@keyframes hello-wave{25%{transform:rotate(-14deg)}75%{transform:rotate(14deg)}}

.star-reward{text-align:center;min-width:105px}.star-reward[hidden]{display:none}.star-icons{white-space:nowrap;color:#b6c5ae;font-size:28px;letter-spacing:2px;line-height:1.1}.star-icons .earned{color:#e9ae25;text-shadow:0 2px 0 #fff4b8;display:inline-block;animation:star-pop .45s ease-out}.star-icons .earned:nth-child(2){animation-delay:.1s}.star-icons .earned:nth-child(3){animation-delay:.2s}.star-reward small{font-size:10px;color:#73856c}.star-summary{margin-top:15px;padding:13px 16px;border-radius:15px;background:#fff4d5;text-align:center}.star-summary>strong{display:block;color:#a57515;font-size:27px}.star-summary>span{font-size:12px}.star-summary>small{display:block;font-size:10px;color:#8d846b;margin-top:8px}.star-page-list{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:9px}.star-page-list span{font-size:10px;color:#93856a}.star-page-list b{color:#bd911e}@keyframes star-pop{from{transform:scale(.25);opacity:0}to{transform:scale(1);opacity:1}}@media(max-width:740px){.star-reward{min-width:100px}.scene-bottom .tools{gap:15px}}

/* Speaking-only sculpted stars, directly above the interactive fruit. */
.record-panel .star-reward{display:flex;justify-content:center;align-items:center;gap:6px;min-height:52px;width:156px;max-width:100%;flex-wrap:nowrap;margin:0 0 2px}.record-panel .star-reward[hidden]{display:none}.puffy-star{width:48px;height:48px;flex:0 0 auto;overflow:visible;filter:drop-shadow(0 5px 3px #b9873033)}.puffy-star.earned{animation:star-pop .5s cubic-bezier(.2,1.6,.5,1)}.puffy-star:nth-child(2){animation-delay:.12s}.puffy-star:nth-child(3){animation-delay:.24s}.speaking-summary{margin-top:15px}.summary-row{display:flex;align-items:center;justify-content:center;gap:12px}.summary-fruit svg{width:46px;height:46px}.summary-stars{display:flex;gap:5px}.summary-stars .puffy-star{width:35px;height:35px}.game-area{position:relative;padding-top:105px}.game-feedback{position:absolute;top:0;left:50%;transform:translateX(-50%);height:90px;display:flex;align-items:center;justify-content:center;pointer-events:none}.game-feedback:empty{display:none}.check-symbol,.retry-symbol{display:grid;place-items:center;width:82px;height:82px;border-radius:50%;font-size:55px;font-weight:900;background:#e4f5d9;color:#2b975b;border:4px solid white;box-shadow:0 5px 0 #b1cda3;animation:star-pop .4s ease-out}.retry-symbol{background:#ffedc9;color:#d38e21;box-shadow:0 5px 0 #e4c48f;animation:wiggle .5s}.celebration-symbol{font-size:83px;filter:drop-shadow(0 7px 3px #88622322);animation:star-pop .65s cubic-bezier(.2,1.6,.5,1)}.excellent .celebration-symbol{font-size:96px}.sparkle{position:absolute;color:#efb92d;font-size:42px;animation:star-pop .6s ease-out}.sparkle.left{left:-58px;top:0}.sparkle.right{right:-58px;bottom:0}@media(max-width:740px){.record-panel .star-reward{min-height:46px;width:140px;gap:4px}.record-panel .puffy-star{width:44px;height:44px}.game-area{padding-top:102px}}

.record-panel{max-width:100%;min-width:0}.record-panel .star-reward .puffy-star{display:block;min-width:0}.summary-stars{flex-wrap:nowrap}

/* Recognizable microphone, with distinct stop state. */
.mic{display:grid;place-items:center;width:70px;height:70px;padding:10px;background:linear-gradient(155deg,#ffd16e,#eda344);border:2px solid #ffde91;box-shadow:0 5px 0 #c48630,0 7px 13px #a2742220}.mic .mic-icon{display:block;width:43px;height:43px;pointer-events:none;filter:drop-shadow(0 2px 1px #935e2033)}.mic.recording{background:linear-gradient(155deg,#ef9580,#dc685e);border-color:#ffc8b7}

/* Spoken instructions remain accessible without adding visible reading load. */
.voice-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}

/* Three-layer lesson navigation: course map, section cover, activity. */
.current-section{flex:1;text-align:center;font-size:22px;font-weight:800}.lesson-header{justify-content:space-between}.page-prev{flex-shrink:0}.scene-bottom .feedback{justify-content:center}.course-entry,.section-intro{min-height:100vh;background:radial-gradient(ellipse at 50% 0%,#fff8d9,transparent 65%),linear-gradient(155deg,#def2e9,#dcefe6 55%,#cee6d5);padding:25px 38px;color:#28594b}.entry-header{display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;max-width:1200px;margin:0 auto}.entry-header .round{justify-self:start}.entry-header .quiet{justify-self:end}.entry-heading{text-align:center;font-size:24px;font-weight:800}.entry-intro{display:flex;align-items:center;justify-content:center;gap:32px;height:220px;margin:8px auto 0}.entry-bear{width:175px;height:210px}.entry-bear svg{height:100%;width:100%}.entry-intro h1{font-size:39px;margin:0}.entry-fruits{display:flex;justify-content:center}.entry-fruits svg{width:83px;height:83px}.chapter-map{display:flex;align-items:center;justify-content:center;gap:80px;max-width:900px;margin:15px auto 30px;position:relative}.chapter-map:before{content:'';position:absolute;left:12%;right:12%;top:86px;border-top:5px dashed #8db7a170}.chapter-node{position:relative;background:none;display:flex;align-items:center;flex-direction:column;gap:17px;z-index:1;padding:0 10px}.chapter-picture{width:163px;height:163px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#ffffff66,transparent),var(--chapter-color);border:7px solid #fffcdf;box-shadow:0 8px 0 #a1bca144,0 12px 25px #356c4420;position:relative}.chapter-picture>svg{width:90px;height:90px;filter:drop-shadow(0 5px 1px #39564322)}.chapter-name{font-size:21px;font-weight:800;background:#ffdf83;padding:9px 23px;border-radius:25px;box-shadow:0 4px 0 #d8b763}.chapter-status{position:absolute;right:-2px;bottom:0;width:37px;height:37px;border-radius:50%;background:#f7fff0;border:3px solid white;display:grid;place-items:center;font-weight:900;color:#4b8560}.chapter-node.locked{opacity:.62}.chapter-node.locked .chapter-picture{filter:saturate(.35)}.entry-footer{text-align:center;margin:32px 0 15px}.entry-footer .primary{min-width:190px}.section-intro{display:flex;flex-direction:column}.section-intro .entry-header{width:100%}.section-intro-main{flex:1;min-height:420px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px}.section-hero-icon{width:220px;height:220px;border:10px solid #fffbe6;border-radius:50%;background:linear-gradient(140deg,#ffffff66,transparent),var(--chapter-color);display:grid;place-items:center;box-shadow:0 12px 0 #93b19a44,0 22px 40px #48704c22}.section-hero-icon svg{width:135px;height:135px;filter:drop-shadow(0 5px 1px #36534322)}.section-intro-main h1{font-size:35px;margin:0}.intro-navigation{display:flex;justify-content:space-between;align-items:center;max-width:1200px;width:100%;margin:20px auto}.intro-navigation .primary{min-width:100px;font-size:24px}@media(max-width:740px){.course-entry,.section-intro{padding:18px}.entry-heading{font-size:20px}.entry-header .quiet{font-size:11px;padding:10px}.entry-intro{height:190px;gap:10px}.entry-bear{width:130px;height:170px}.entry-intro h1{font-size:27px}.chapter-map{gap:8px;margin-top:30px}.chapter-picture{width:94px;height:94px;border-width:5px}.chapter-picture>svg{width:56px;height:56px}.chapter-name{font-size:16px;padding:8px 14px}.chapter-node{padding:0;gap:14px}.chapter-status{width:27px;height:27px;font-size:13px}.chapter-map:before{top:48px}.current-section{font-size:18px}.scene-bottom .feedback{flex-basis:auto;width:auto}.page-prev{font-size:12px;padding:12px}.scene-bottom .tools{margin-left:0}.scene-bottom{justify-content:space-between}.section-intro-main{min-height:380px}}@media(max-height:650px) and (min-width:741px){.entry-intro{height:165px}.entry-bear{height:160px}.chapter-picture{width:130px;height:130px}.chapter-map{margin:5px auto 12px}.chapter-map:before{top:65px}.entry-footer{margin:20px}.section-intro-main{min-height:300px}.section-hero-icon{width:170px;height:170px}.section-hero-icon svg{width:105px;height:105px}}

/* Sequential course map: completed sections stay open for review. */
.chapter-node.current .chapter-picture{animation:chapter-pulse 2s ease-in-out infinite;box-shadow:0 0 0 7px #fff7d7,0 12px 30px #b99a4933}
@keyframes chapter-pulse{0%,100%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.045);filter:brightness(1.09)}}
.course-complete{text-align:center;font-size:48px;margin:12px auto 24px}
@media(prefers-reduced-motion:reduce){.chapter-node.current .chapter-picture{animation:none}}

.fruit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(100%,450px)}
.fruit-grid .fruit-btn{width:100%;min-width:0;padding:8px 15px}.fruit-grid .fruit-btn svg{width:105px;height:105px}.fruit-grid .fruit-btn span{font-size:21px}
.speaking-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.summary-fruit{padding:0;background:transparent;flex-shrink:0}.summary-row{min-width:0}.summary-stars{display:flex;flex-wrap:nowrap}
@media(max-width:740px){.entry-fruits svg{width:48px;height:60px}.fruit-grid{gap:8px}.fruit-grid .fruit-btn svg{width:85px;height:85px}.speaking-summary{gap:6px}}
.game-area .fruit-grid{width:300px;flex:0 1 300px}.game-area .fruit-grid .fruit-btn{width:100%;min-height:125px}.game-area .fruit-grid .fruit-btn svg{width:85px;height:85px}
@media(max-width:740px){.game-area .fruit-grid{width:260px;flex-basis:260px}.game-area .fruit-grid .fruit-btn{min-height:115px}.game-area .fruit-grid .fruit-btn svg{width:75px;height:75px}}

#basket-fruit svg{width:64px;height:64px}#basket-fruit{display:block;animation:pop .3s ease-out}.basket:has(#basket-fruit){padding-top:5px;padding-bottom:5px}

.game-area{width:min(100%,720px);max-width:720px}.game-scene{width:100%;display:flex;align-items:center;justify-content:space-around;gap:26px;padding:24px;border-radius:28px;min-height:330px;border:3px solid #ffffffa8}.scene-garden{background:linear-gradient(#dceedd 70%,#b7d3a3 70%)}.scene-kitchen{background:repeating-linear-gradient(90deg,#f6eee2 0 48px,#efe4d4 48px 50px)}.scene-market{background:linear-gradient(#ffe8c4,#efd1a1)}.scene-picnic{background:repeating-conic-gradient(#f3e1d4 0% 25%,#fff4e5 0% 50%) 0/40px 40px}.game-scene.target-left{flex-direction:row-reverse}.game-scene.target-bottom{flex-direction:column;gap:14px}.drop-prop{position:relative;flex:0 0 210px;width:210px;height:180px;background:transparent;padding:0;border-radius:25px;outline:3px dashed #ffffff99;outline-offset:7px}.drop-prop>svg{width:100%;height:100%;filter:drop-shadow(0 8px 4px #634b3825)}.target-bottom .drop-prop{flex:0 0 105px;height:105px;width:230px}.game-area .target-bottom .fruit-grid{display:flex;width:100%;flex:0 0 auto;gap:10px}.game-area .target-bottom .fruit-btn{flex:1;min-width:0;min-height:90px;padding:5px}.game-area .target-bottom .fruit-btn svg{width:70px;height:80px}#basket-fruit{position:absolute;inset:30% 28% 10%;display:grid;place-items:center;pointer-events:none}#basket-fruit svg{width:85px;height:85px}.target-bottom #basket-fruit{inset:0 28% 10%}.drop-prop:has(#basket-fruit){outline-color:#62ac77}
@media(max-width:740px){.game-scene{padding:14px;gap:18px;min-height:260px}.drop-prop{flex-basis:130px;width:130px;height:125px}.game-area .game-scene .fruit-grid{flex-basis:210px;width:210px}.game-area .target-bottom .fruit-grid{flex-basis:auto;width:100%}.game-area .target-bottom .fruit-btn svg{width:50px;height:65px}#basket-fruit svg{width:65px;height:65px}}

.lesson-word-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:min(100%,540px)}.lesson-word-card{background:#fffdf3;border:2px solid #e7edce;border-radius:24px;padding:12px 22px;box-shadow:0 5px 0 #ccdbc244;text-align:center}.lesson-word-card button{background:transparent;display:flex;align-items:center;flex-direction:column;width:100%;padding:0}.lesson-word-card button>svg{width:115px;height:115px}.lesson-word-card strong{font-size:27px;line-height:1.2;color:#315d4e}.lesson-word-stars{display:flex;justify-content:center;gap:7px;margin-top:10px}.lesson-word-stars .puffy-star{width:36px;height:36px;flex-shrink:0}@media(max-width:740px){.lesson-word-summary{gap:12px}.lesson-word-card{padding:10px 14px}.lesson-word-card button>svg{width:95px;height:95px}.lesson-word-card strong{font-size:23px}.lesson-word-stars .puffy-star{width:29px;height:29px}}
/* Greeting lessons reuse the classroom shell and its established controls. */
.greeting-catalog-title{text-align:center;margin:36px auto 28px}.greeting-catalog-title h1{font-size:36px;margin:0 0 10px}.greeting-catalog-title p{color:#628174}.greeting-course-list{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.greeting-course-card{position:relative;background:#fffdf4;text-align:left;border:2px solid #dce8d6;border-radius:25px;padding:16px 18px 25px;box-shadow:0 7px 0 #adc5a344}.greeting-course-card>svg{width:100%;height:auto;border-radius:18px}.greeting-course-card .pill{margin-top:12px;background:#e8f2d8}.greeting-course-card h2{font-size:23px;margin:14px 0 8px}.greeting-course-card p{font-size:13px;line-height:1.8;color:#6c8076;padding-right:15px}.greeting-course-arrow{position:absolute;right:20px;bottom:16px;font-size:26px;color:#489074}.greetings-lesson .greeting-activity{flex:1;max-width:790px;width:100%}.expression-card{display:flex;flex-direction:column;align-items:center;gap:12px;background:#fffdf3;border:3px solid #e2eacb;border-radius:24px;padding:12px 16px 16px;box-shadow:0 5px 0 #bdcfa533;min-width:0;width:280px}.expression-card>svg{width:100%;max-height:200px;display:block}.expression-card strong{font-size:27px;line-height:1.2;color:#315d4e}.expression-card.success{border-color:#75b496;background:#f4ffed}.greeting-speaking{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%}.greeting-speaking .expression-card{width:240px;padding:8px 14px 12px}.greeting-speaking .expression-card>svg{height:145px}.greeting-stars{display:flex;justify-content:center;gap:8px;min-height:36px}.greeting-stars .puffy-star{width:38px;height:38px;flex-shrink:0}.greeting-choice-area{width:100%;position:relative}.greeting-options{display:flex;justify-content:center;gap:16px;width:100%}.greeting-options .expression-card{flex:1;width:auto;max-width:260px;padding:10px}.greeting-options .expression-card strong{font-size:23px}.greeting-game{padding:96px 20px 22px;border-radius:28px;background:linear-gradient(140deg,var(--scene-color),#fffdf3);border:3px solid #fffdf3}.greeting-game .game-feedback{top:2px}.greeting-story{max-width:235px;margin:0 auto 12px}.greeting-story>svg{display:block;width:100%;height:145px}.greeting-game .greeting-options .expression-card>svg{max-height:105px}.greeting-game .greeting-options .expression-card strong{font-size:21px}.greeting-recap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:100%}.greeting-recap-item{min-width:0}.greeting-recap .expression-card{width:100%;padding:8px 10px 14px}.greeting-recap .expression-card strong{font-size:21px}.greeting-recap .expression-card>svg{height:115px}.greeting-recap .greeting-stars{margin-top:9px}.greeting-recap.six-words .expression-card>svg{height:85px}.greeting-recap.six-words .expression-card strong{font-size:19px}.greeting-recap.six-words .greeting-stars .puffy-star{width:27px;height:27px}.greeting-report{margin-top:24px}.greeting-report-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.greeting-report-link{padding:18px;background:#edf5e8;border-radius:16px;text-align:left;display:flex;flex-direction:column;gap:10px}.greeting-report-link>span{font-size:13px;color:#6b8575}.greeting-best{font-size:12px;line-height:1.9;color:#7f6b35}.greetings-lesson .scene-main{gap:24px}.greetings-lesson .milo-wrap{max-width:160px}.greetings-lesson .scene-bottom{justify-content:space-between}
@media(max-width:900px){.greetings-lesson .milo-wrap{max-width:110px}.greeting-course-list{gap:13px}.greeting-course-card{padding:12px}.greeting-course-card h2{font-size:19px}.greeting-options .expression-card strong{font-size:20px}.greeting-game{padding-left:12px;padding-right:12px}.greeting-recap{gap:9px}.greeting-recap .expression-card strong{font-size:18px}}
@media(max-width:740px){.greeting-course-list{grid-template-columns:1fr;max-width:440px}.greeting-course-card>svg{height:150px}.greeting-course-card p{margin-bottom:8px}.greetings-lesson .milo-wrap{display:none}.greeting-options{gap:9px}.greeting-options .expression-card{padding:6px}.greeting-options .expression-card strong{font-size:18px}.greeting-recap{grid-template-columns:repeat(2,minmax(0,1fr))}.greeting-stars .puffy-star{width:30px;height:30px}.greeting-game .greeting-options .expression-card strong{font-size:17px}.greeting-report-list{grid-template-columns:1fr}.greeting-game .greeting-options .expression-card>svg{max-height:90px}.greeting-story>svg{height:125px}.greeting-speaking .expression-card>svg{height:125px}.greeting-catalog-title h1{font-size:30px}}

.topic-course-group{margin:24px 0 35px}.topic-group-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 16px}.topic-group-heading h2{font-size:21px;margin:0}.topic-group-heading>span{font-size:12px;color:#789083}.topic-course-group .cards{grid-template-columns:repeat(3,minmax(0,1fr))}.lesson-cover{height:185px;padding:33px 15px 5px}.lesson-cover>svg{width:100%;height:145px}.fruit-course-art{display:grid;grid-template-columns:repeat(2,1fr);width:170px;margin:auto}.fruit-course-art svg{width:77px;height:77px}.fruit-lesson-cover{padding-top:24px}.lesson-course-card .card-text p{min-height:38px;line-height:1.5}.review-label{background:#eee3f4;color:#806098;padding:4px 9px;border-radius:12px}.upcoming-topics{margin-top:30px;border-top:1px solid var(--line);padding-top:22px}.upcoming-topics h2{font-size:18px}.upcoming-topics>div{display:flex;flex-wrap:wrap;gap:10px}.upcoming-topics span{padding:10px 15px;background:#f0f3e9;border-radius:14px;color:#7b8b7e;font-size:13px}.upcoming-topics p{font-size:12px;color:#88968b}@media(max-width:1000px){.topic-course-group .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.topic-course-group .cards{grid-template-columns:1fr}.topic-group-heading h2{font-size:19px}}
.toy-game-panel{position:relative;padding-top:100px;width:100%}.toy-game-panel .game-feedback{top:0}.toy-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:285px;flex:0 1 285px}.toy-drag-card{width:100%;padding:6px;touch-action:none;user-select:none;position:relative;cursor:grab}.toy-drag-card.selected{border-color:#edb647;box-shadow:0 0 0 4px #ffeab2}.toy-drag-card>svg{height:108px}.toy-game-panel .target-bottom .toy-options{display:flex;width:100%;flex-basis:auto}.toy-game-panel .target-bottom .toy-drag-card{flex:1}.toy-placed{position:absolute;inset:24% 25% 5%;display:grid;place-items:center;pointer-events:none}.toy-placed>svg{width:100px;height:75px}.toy-placed>svg>rect{fill:transparent}.target-bottom .toy-placed{inset:0 25% 5%}.greeting-recap.eight-words{grid-template-columns:repeat(4,minmax(0,1fr))}.greeting-recap.eight-words .expression-card{padding:6px}.greeting-recap.eight-words .expression-card strong{font-size:17px}.greeting-recap.eight-words .expression-card>svg{height:80px}.greeting-recap.eight-words .greeting-stars .puffy-star{width:25px;height:25px}@media(max-width:740px){.toy-options{width:200px;flex-basis:200px;gap:8px}.toy-drag-card>svg{height:80px}.toy-game-panel .target-bottom .toy-options{flex-basis:auto;width:100%}.toy-placed>svg{width:75px;height:60px}.greeting-recap.eight-words{grid-template-columns:repeat(2,minmax(0,1fr))}.toy-game-panel .game-scene{padding:12px;gap:14px}}

/* Advanced directory: one vertically scrollable page, with stage anchors. */
.adv-hero{display:flex;align-items:center;justify-content:space-between;background:#e7eedf;border:1px solid #d7e3cf;border-radius:30px;padding:32px 38px;gap:24px;overflow:hidden}.adv-hero h2{font-size:38px;line-height:1.35;margin:18px 0;color:#315e4d}.adv-hero p{color:#667c6a;line-height:1.8}.adv-counts{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.adv-counts span{font-size:12px;background:#fff9e7;padding:8px 12px;border-radius:20px}.adv-hero-bear{position:relative;flex:0 0 220px;width:220px}.adv-hero-bear svg{width:100%;height:230px}.adv-hero-bear>span{display:block;text-align:center;background:#fffaf0;border-radius:18px;padding:10px;color:#55755d}.adv-stage-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 30px}.adv-stage-nav button{text-align:left;padding:16px 18px;border:1px solid #dbe6d8;background:#fffdf5;border-radius:18px;font-size:18px}.adv-stage-nav small{display:block;font-size:12px;margin-top:8px;color:#718273}.adv-stage{scroll-margin-top:20px;margin:30px 0 55px}.adv-stage-heading{display:flex;gap:18px;align-items:center;background:var(--stage-color);border-radius:22px;padding:22px 26px}.adv-stage-heading>span{font-size:40px}.adv-stage-heading small{letter-spacing:2px;color:#657e6c}.adv-stage-heading h2{font-size:25px;margin:6px 0}.adv-stage-heading p{margin:0;color:#697b6c;font-size:13px}.adv-bridge{font-size:12px;color:#819181;margin:8px 0 0}.adv-stage .topic-group-heading h3{margin:0;font-size:19px}.adv-card-art{position:relative;height:165px;display:grid;place-items:center;padding:32px 12px 4px}.adv-card-art>svg{width:100%;height:125px}.adv-topic-icon{font-size:54px;opacity:.65}.adv-planned{cursor:default;opacity:.76}.adv-planned:hover{transform:none;box-shadow:none}.adv-planned .card-text{background:#fafbf5}.adv-endnote{text-align:center;font-size:13px;color:#7e8b7a;padding:20px}.adv-task{position:relative;width:100%;padding:100px 20px 25px;border-radius:28px;background:#e5eedf}.adv-scene-label{text-align:center;color:#607662;font-size:18px;margin-bottom:24px}.adv-meeting-1{background:#f5e7ce}.adv-task .game-feedback{top:0}.adv-task .expression-card{max-width:260px}.adv-question-object{width:190px;margin:0 auto 18px}.adv-question-object svg{width:100%;height:125px}.adv-answer-task{background:#f5ead5}.adv-answer-options{display:flex;justify-content:center;gap:16px}.adv-answer-option{display:flex;align-items:center;border:2px solid #d9e2c7;border-radius:20px;background:#fffdf5;overflow:hidden;flex:1;max-width:195px}.adv-listen{background:transparent;padding:14px;flex:1;color:#52765e}.adv-listen>span{font-size:35px;display:block}.adv-listen small{font-size:12px}.adv-choose{background:#cbe1ba;font-size:26px;align-self:stretch;min-width:48px}.adv-choose.success{background:#78b789}.school-1{background:#f1e5d6}.school-2{background:#e2ebf3}.advanced-lesson .expression-card strong{font-size:22px}.advanced-lesson .scene-top h1{font-size:26px}.advanced-lesson .greeting-activity{min-width:0}.advanced-lesson .greeting-options .expression-card>svg{max-height:160px}
@media(max-width:900px){.adv-hero{padding:25px}.adv-hero h2{font-size:30px}.adv-hero-bear{flex-basis:160px}.adv-stage-nav button{padding:13px;font-size:16px}.advanced-lesson .scene-top h1{font-size:22px}}
@media(max-width:600px){.adv-hero-bear{display:none}.adv-hero{padding:24px}.adv-stage-nav{gap:6px}.adv-stage-nav small{font-size:10px}.adv-stage-heading{padding:18px}.adv-stage-heading h2{font-size:21px}.adv-answer-options{gap:8px}.adv-listen{padding:9px}.adv-choose{min-width:42px}.adv-task{padding:95px 12px 20px}}

/* Interactive birthday/family stories: large touch targets and animated completion. */
.party-game{position:relative;width:100%;background:#fff1d6;border:3px solid #fffaf1;border-radius:28px;padding:105px 20px 18px;overflow:visible;isolation:isolate}.party-game .game-feedback{top:0}.party-bunting{position:absolute;top:75px;left:4%;width:92%;height:45px;pointer-events:none;z-index:-1}.party-title{text-align:center;color:#6a7e64;font-size:18px;margin:12px 0 20px}.party-board{display:flex;gap:22px;align-items:center;justify-content:space-around}.party-reverse{flex-direction:row-reverse}.party-choices{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;width:330px;flex:1 1 330px}.party-piece{background:#fffdf5;border:3px solid #e4dfbc;border-radius:21px;padding:4px;width:140px;max-width:46%;touch-action:none;user-select:none;position:relative;cursor:grab;box-shadow:0 5px 0 #c7c9a94a;transition:border-color .2s}.party-piece svg{width:100%;height:104px;display:block;pointer-events:none}.party-piece.selected{border-color:#e9ae4a;box-shadow:0 0 0 5px #f6d98b66}.party-piece:focus-visible,.party-destination:focus-visible{outline:4px solid #d29830;outline-offset:5px}.party-piece:disabled{opacity:.6;cursor:default}.party-piece.success{opacity:1;border-color:#7da982}.party-destination{flex:0 1 205px;min-width:140px;max-width:240px;position:relative;background:#ffffff60;border:3px dashed #a8bea0;border-radius:25px;padding:8px}.party-destination>svg{display:block;width:100%;height:180px}.party-slot{position:absolute;inset:20px 20px 45px;display:flex;align-items:center;justify-content:center;pointer-events:none}.party-slot>span{font-size:38px;color:#7fa58d}.party-slot svg{width:100%;height:100%;filter:drop-shadow(0 5px 3px #4f684526)}.party-slot.filled{animation:party-arrive .5s ease-out}.party-birthday .party-slot{inset:-5px 20px 65px}.party-gifts .party-slot{inset:5px 22px 45px}.party-album{background:#f1e5d6}.party-picnic{background:linear-gradient(#e8f2dc 72%,#c9dfb1 72%)}.party-welcome{background:#e6edf7}.party-gifts{background:#f7e2df}.party-destination.waiting{border-color:#e8b757;background:#fff7d7}.party-complete .party-destination{border-style:solid;border-color:#80ab7d}.party-complete .party-title{color:#3f7d53}.party-progress{display:flex;justify-content:center;gap:8px;margin-top:20px}.party-progress i{width:8px;height:8px;border-radius:50%;background:#cdd2bd}.party-progress i.visited{background:#87af8b}.party-progress i.here{background:#e7ae54;box-shadow:0 0 0 3px #fff8dc}.party-below{flex-direction:column;gap:14px}.party-below .party-choices{flex:0 0 auto;width:100%;flex-wrap:nowrap}.party-below .party-piece{width:145px;max-width:30%}.party-below .party-destination{flex:0 0 auto;width:205px;height:105px}.party-below .party-destination>svg{height:90px}.party-below .party-slot{inset:0 42px 15px}.party-flame{animation:candle-glow 1.6s ease-in-out infinite;transform-box:fill-box;transform-origin:50% 100%}@keyframes candle-glow{50%{opacity:.72;transform:scale(.9,1.08)}}@keyframes party-arrive{0%{opacity:0;transform:translateY(-20px) scale(.7)}70%{transform:scale(1.06)}100%{opacity:1;transform:scale(1)}}
@media(max-width:900px){.party-board{gap:15px}.party-game{padding-left:13px;padding-right:13px}.party-piece{width:120px}.party-piece svg{height:90px}.party-destination{flex-basis:165px;min-width:125px}.party-destination>svg{height:150px}}
@media(max-width:600px){.party-piece{padding:2px}.party-piece svg{height:80px}.party-choices{gap:9px}.party-title{font-size:16px}.party-destination{min-width:105px}.party-destination>svg{height:135px}.party-slot{inset:20px 10px 35px}}
@media(prefers-reduced-motion:reduce){.party-flame,.party-slot.filled{animation:none}}

/* Consistent and prominent course learning status. */
.learning-status{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:2px solid #fff;border-radius:999px;font-size:13px;font-weight:750;line-height:1.3;padding:8px 13px;box-shadow:0 3px 9px #274c362b;white-space:nowrap;letter-spacing:.3px}.tag.learning-status{top:10px;right:10px;z-index:2}.learning-status.status-complete{background:#23764c;color:#fff}.learning-status.status-progress{background:#b9540e;color:#fff}.learning-status.status-pending{background:#2768b5;color:#fff}.status-progress:before{content:'◐';font-size:15px}.status-pending:before{content:'○';font-size:15px}.greeting-report-link>.learning-status{align-self:flex-start;font-size:13px;color:#fff}.lesson-cover{padding-top:43px}.adv-card-art{padding-top:43px}

/* Toy short sentences: shop, personal shelf, and outdoor play. */
.toy-story{background:#f3e9d3;padding-top:100px}.toy-awning{height:23px;position:absolute;top:79px;left:0;right:0;background:repeating-linear-gradient(90deg,#8bb7a4 0 28px,#fff6e1 28px 56px);border-radius:0 0 12px 12px;opacity:.8;pointer-events:none}.toy-story-heading{display:flex;align-items:center;justify-content:center;gap:18px;min-height:65px;margin-bottom:10px;color:#537462;font-size:20px}.toy-speaker{display:flex;align-items:center;gap:5px;font-size:12px;background:#fffbed;border-radius:30px;padding:0 12px 0 0}.toy-speaker svg{width:60px;height:53px;border-radius:50%}.toy-shop-shelves{border-bottom:10px solid #c7a27a;border-radius:6px;padding-bottom:8px}.toy-reveal{width:160px;min-width:100px;height:150px;display:grid;place-items:center;border:3px dashed #c8b991;border-radius:50%;background:#fff8e7}.toy-reveal>span{font-size:50px;color:#dfb66b;display:block;width:100%;text-align:center}.toy-reveal svg{width:100%;height:130px}.toy-reveal .filled{animation:party-arrive .5s ease-out}.toy-story .party-piece:disabled{opacity:.8}.toy-story-shelf{background:#e5edf6}.toy-story-toybox{background:#e9e3f0}.toy-story-park{background:linear-gradient(#e4f0df 75%,#c2d8a6 75%)}.toy-story-wagon{background:linear-gradient(#e3edf0 75%,#dce3c3 75%)}.toy-story-park .toy-awning,.toy-story-wagon .toy-awning{background:radial-gradient(ellipse,#fefbf1 60%,transparent 65%);height:25px;left:20%;right:20%;border-radius:50%}.toy-story-counter .party-slot{inset:-6px 20px 80px}.toy-story-shelf .party-slot{inset:24px 38px 70px}.toy-story-toybox .party-slot,.toy-story-wagon .party-slot{inset:5px 30px 65px}.toy-story-park .party-slot{inset:15px 30px 30px}.toy-story .party-below .party-slot{inset:0 45px 18px}.toy-story .party-below .toy-reveal{height:95px;width:150px}.toy-story .party-below .toy-reveal svg{height:90px}.toy-story.party-complete .toy-reveal{border-color:#79a682;background:#edf8df}.toy-story .party-piece svg{border-radius:15px}
@media(max-width:740px){.toy-story-heading{font-size:17px;gap:10px}.toy-reveal{width:120px;height:120px}.toy-reveal svg{height:105px}}
@media(prefers-reduced-motion:reduce){.toy-reveal .filled{animation:none}}

.paint-workshop{background:#e9eddf}.paint-workshop-title{text-align:center;color:#62745b;font-size:20px;margin:12px 0 20px}.paint-pot{border-radius:25px}.paint-canvas{padding:9px;border:8px solid #c8a076;background:#fff9e8;box-shadow:0 8px 0 #a7886933}.paint-canvas svg{display:block;width:100%;height:145px}.paint-plus{position:absolute;right:8px;bottom:8px;width:32px;height:32px;background:#f4d993;border-radius:50%;font-size:25px;color:#71836a}.painted .paint-plus{display:none}.painted #paint-result{display:block;animation:paint-reveal .45s ease-out}.painted .paint-canvas{border-color:#87aa7c}.painted-delivery{background:#f3e9d7}.painted-shop{background:#e4edf1}.painted-slot{inset:0 24px 66px}.painted-shop .painted-slot{inset:10px 24px 30px}.party-below .painted-slot{inset:0 42px 12px}.party-below .paint-canvas{height:115px;width:190px}.party-below .paint-canvas svg{height:89px}.greeting-recap.nine-words{grid-template-columns:repeat(3,minmax(0,1fr))}.greeting-recap.nine-words .expression-card>svg{height:72px}.greeting-recap.nine-words .expression-card strong{font-size:16px}.greeting-recap.nine-words .greeting-stars .puffy-star{width:23px;height:23px}@keyframes paint-reveal{from{opacity:.3;transform:scale(.92)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.painted #paint-result{animation:none}}

/* Treasure trail and body photo discovery. */
.color-quest{background:linear-gradient(#e5efdc 70%,#d3e3b5 70%)}.quest-trail{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:12px 0 22px}.quest-trail span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff9e7;color:#687c56;font-weight:700}.quest-trail .found{background:#427a4c;color:white}.quest-trail .current{outline:3px solid #d6a23a;outline-offset:3px}.quest-chest .party-slot{inset:5px 24px 45px}.color-quest.party-complete .quest-chest{background:#fff3be;box-shadow:0 0 25px #e8c45980}.body-mirror{background:#f4e6dc}.body-robot{background:#e0edf1}.body-display{background:#fff9ec}.body-robot .body-display>svg{height:220px}.body-robot .party-slot{inset:100px 40px 35px}.body-discovery .party-piece svg{height:135px}.body-discovery.party-complete .body-display{box-shadow:0 0 0 6px #a7c98a66}.body-discovery .party-title{font-size:18px}@media(max-width:600px){.body-discovery .party-piece svg{height:108px}.body-robot .body-display>svg{height:175px}.body-robot .party-slot{inset:84px 17px 32px}.quest-trail{gap:6px}.quest-trail span{width:23px;height:23px}}
