*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fffdf6;color:#173f48;font-family:"Trebuchet MS",Arial,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:4px solid #f6954b;outline-offset:5px}button:disabled{cursor:default}button{color:inherit}button:active:not(:disabled){transform:translateY(2px)}a{color:inherit}h1,h2,h3,p{margin:0}button svg{pointer-events:none}.shell{max-width:1180px;margin:auto;padding:0 32px}.topbar{background:#fffefb;border-bottom:1px solid #e8ece3}.top-inner{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;line-height:1.05;background:none;border:0;text-align:left}.brand-icon{font-size:39px;transform:rotate(-12deg)}.brand strong{font-size:25px;letter-spacing:-1px;display:block}.brand small{font-size:10px;letter-spacing:2.5px;font-weight:bold;color:#537079;display:block;margin-top:7px}.brand .abc{color:#087e8d}.brand .dolphin{color:#e46f4e}.nav{display:flex;gap:7px}.nav button,.sound{border:0;background:transparent;border-radius:14px;min-height:46px;padding:12px 16px;font-weight:bold;font-size:14px;display:flex;align-items:center;gap:8px}.nav button.active{background:#e6f5ee;color:#087365}.nav svg,.sound svg{width:19px;height:19px}.head-actions{display:flex;gap:8px;align-items:center}.star-count{display:flex;align-items:center;gap:8px;background:#fff1c9;border:1px solid #f5e4b3;border-radius:99px;padding:9px 14px;font-weight:bold;font-size:15px;white-space:nowrap}.sound{border:1px solid #dce9e5;padding:11px}.page{padding-top:26px;padding-bottom:45px}.intro-line{display:flex;align-items:center;gap:8px;font-size:13px;color:#547078;margin-bottom:20px}.live-dot{width:7px;height:7px;background:#2f9b79;border-radius:50%}.hero{border-radius:28px;background:#dcf3ed;display:grid;grid-template-columns:1fr 1.1fr;min-height:350px;overflow:hidden;position:relative}.hero-copy{padding:42px 0 38px 40px;z-index:1}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:bold;color:#167b73;text-transform:uppercase;margin-bottom:17px}.hero h1{font-size:clamp(35px,4vw,49px);line-height:1.12;letter-spacing:-1.8px;max-width:420px}.hero h1 span{color:#087f8f}.hero p{max-width:350px;font-size:16px;line-height:1.7;color:#47696b;margin:17px 0 24px}.primary{border:0;border-bottom:4px solid #06606c;border-radius:15px;background:#087e8d;color:white;font-weight:bold;padding:15px 23px;font-size:16px;min-height:54px;display:inline-flex;align-items:center;justify-content:center;gap:16px;text-decoration:none}.primary svg,.secondary svg{width:20px;height:20px}.hero-note{display:block;margin-top:13px;font-size:12px;color:#52736c}.ocean-art{width:100%;height:100%;min-height:350px;align-self:end}.art-float{animation:bob 5s ease-in-out infinite;transform-origin:center}.section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:34px 0 19px}.section-title h2{font-size:24px;letter-spacing:-.6px}.section-title p{color:#6b7f80;font-size:13px}.activity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.lesson-card{border:1px solid #e0e6db;border-radius:22px;padding:0;background:white;text-align:left;overflow:hidden;transition:transform .2s,box-shadow .2s;position:relative}.lesson-card:hover{transform:translateY(-4px);box-shadow:0 12px 22px #1c56620c}.card-art{height:145px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.card-art svg{width:100%;height:100%}.card-art.letters{background:#e9f2dd}.card-art.counting{background:#e6eafa}.card-art.colors{background:#fde8dc}.card-art.shapes{background:#dcf0f2}.lesson-body{padding:20px}.lesson-meta{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;font-weight:bold;color:#76867e;margin-bottom:8px}.lesson-body h3{font-size:19px;letter-spacing:-.4px}.lesson-body p{font-size:12px;color:#63777a;margin-top:7px;line-height:1.5}.lesson-bottom{margin-top:19px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#54736e}.play-circle{border-radius:100%;width:32px;height:32px;display:grid;place-items:center;background:#f0f6f1;color:#147c6b;font-size:18px}.complete-mark{position:absolute;right:11px;top:11px;border-radius:100%;background:#147b65;color:white;width:26px;height:26px;display:grid;place-items:center;font-size:14px}.journey{background:#fff5dc;border:1px solid #efead6;border-radius:22px;padding:23px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:26px}.journey-copy{display:flex;gap:17px;align-items:center}.journey-icon{width:54px;height:54px;border-radius:17px;background:#ffebba;font-size:29px;display:grid;place-items:center;flex-shrink:0}.journey h3{font-size:18px;margin-bottom:5px}.journey p{font-size:13px;color:#756f56}.steps{display:flex;gap:14px}.step{width:43px;height:43px;border:2px dashed #d7cfae;border-radius:100%;display:grid;place-items:center;background:#fffdf4;font-weight:bold;color:#9f9470}.step.done{border:2px solid #1a8b75;background:#1a8b75;color:white}.foot{border-top:1px solid #ecebe1;padding:21px 0;font-size:12px;color:#75847f;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.foot a{font-weight:bold;text-underline-offset:3px}.back{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;font-weight:bold;font-size:14px;padding:12px 0;margin-bottom:14px}.back svg{width:18px;height:18px}.game-panel{max-width:780px;margin:0 auto;background:white;border:1px solid #dce7df;border-radius:26px;padding:27px;text-align:center}.game-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:bold;color:#57777a}.progress{height:9px;background:#edf3ef;border-radius:20px;margin:17px 0 27px;overflow:hidden}.progress div{height:100%;border-radius:20px;background:#43a991;transition:width .3s}.question-top{display:flex;justify-content:center;align-items:center;gap:12px}.question-top h1{font-size:27px;letter-spacing:-.5px}.listen{background:#e8f5f2;border:0;border-radius:100%;width:43px;height:43px;display:grid;place-items:center;flex-shrink:0}.listen svg{width:21px;height:21px}.question-help{font-size:14px;color:#59787c;margin:10px 0 20px;line-height:1.5}.question-visual{min-height:180px;background:#eef8f3;border-radius:20px;display:flex;align-items:center;justify-content:center;gap:15px;margin-bottom:23px;padding:20px}.big-letter{font-size:96px;font-weight:bold;line-height:1;color:#177d87}.little-letter{font-size:48px;color:#6c9e94;margin-left:15px}.fish-school{max-width:340px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:15px}.fish-school svg{width:83px;height:57px}.shape-visual svg{width:145px;height:145px}.color-target{font-size:31px;font-weight:bold;color:#173f48}.answers{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.answer{border:2px solid #dce7df;border-bottom:5px solid #dce7df;border-radius:18px;background:white;font-size:38px;font-weight:bold;min-height:90px;padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.answer:hover:not(:disabled){border-color:#60b5a7;background:#f7fcfa}.answer.correct{border-color:#268871;background:#e4f6eb}.answer.wrong{border-style:dashed;border-color:#cca37d;background:#fff9f2}.answer svg{width:55px;height:55px}.swatch{height:48px;width:55px;border-radius:14px;border:2px solid #173f4810}.answer-label{font-size:13px}.feedback{min-height:61px;display:flex;align-items:center;justify-content:center;font-size:16px;line-height:1.5;padding:12px}.feedback.good{color:#16765a;font-weight:bold}.next-wrap{min-height:56px}.secondary{border:1px solid #cadfd7;border-radius:14px;background:#f7fbf8;padding:14px 20px;font-weight:bold;min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:10px}.finish{text-align:center;padding:35px 20px}.finish-emoji{font-size:80px;display:block;margin:8px 0 25px}.finish h1{font-size:35px;letter-spacing:-1px}.finish p{color:#58777a;line-height:1.7;margin:15px auto 25px;max-width:420px}.finish-buttons{display:flex;justify-content:center;gap:13px;flex-wrap:wrap}.stickers-head{text-align:center;margin:25px 0 35px}.stickers-head h1{font-size:35px;letter-spacing:-1px}.stickers-head p{margin-top:14px;color:#607a7b}.sticker-card{text-align:center;border:1px solid #e0e6db;background:white;border-radius:23px;padding:35px 15px}.sticker-card .sticker-icon{font-size:65px;display:block;margin-bottom:22px;filter:grayscale(1);opacity:.2}.sticker-card.earned{background:#eff8ed;border-color:#b7d8c4}.sticker-card.earned .sticker-icon{filter:none;opacity:1}.sticker-card h2{font-size:18px;margin-bottom:9px}.sticker-card p{color:#667a77;font-size:13px;line-height:1.5;margin-bottom:20px}.parent-panel{max-width:780px;margin:auto;background:white;border:1px solid #dce7df;border-radius:24px;padding:32px}.parent-panel h1{font-size:30px;letter-spacing:-1px}.parent-panel>p{font-size:15px;line-height:1.7;color:#57777a;margin:15px 0 24px}.parent-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 0;border-top:1px solid #e6eee7}.parent-row strong{font-size:15px}.parent-row small{display:block;color:#607a7b;margin-top:4px}.parent-row>span{font-size:13px;color:#537b6f;white-space:nowrap}.parent-note{background:#f0f7f3;border-radius:16px;padding:18px;font-size:13px;line-height:1.7;color:#50746b}.reset-area{margin-top:25px}.reset-area p{font-size:14px;line-height:1.6;margin:12px 0}.storage-note{font-size:12px;color:#7e5b36;margin:15px 0}.reset-area .secondary{color:#934c35}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(max-width:900px){.shell{padding:0 22px}.top-inner{min-height:80px;gap:10px}.nav button{padding:12px 10px}.nav button span{display:none}.hero-copy{padding:32px 0 32px 28px}.hero h1{font-size:38px}.hero p{font-size:15px}.lesson-body{padding:16px}.lesson-body h3{font-size:17px}.activity-grid{gap:12px}.journey{padding:20px}.steps{gap:8px}}
@media(max-width:640px){.shell{padding:0 18px}.top-inner{min-height:76px;flex-wrap:wrap;padding-top:13px;padding-bottom:0;gap:12px}.brand-icon{font-size:31px}.brand strong{font-size:23px}.brand small{font-size:9px}.head-actions{margin-left:auto}.star-count{font-size:13px;padding:8px 11px}.sound{padding:9px;min-height:40px}.nav{order:3;width:100%;justify-content:space-around;border-top:1px solid #edf0e6;margin-top:1px}.nav button{font-size:12px;padding:12px 10px;min-height:45px;border-radius:10px 10px 0 0;flex:1;justify-content:center}.nav button span{display:inline}.nav svg{width:16px;height:16px}.page{padding-top:21px}.intro-line{font-size:11px;margin-bottom:16px}.hero{grid-template-columns:1fr;min-height:0;border-radius:23px}.hero-copy{padding:27px 26px 0}.eyebrow{font-size:10px;margin-bottom:13px}.hero h1{font-size:37px;max-width:310px}.hero p{font-size:14px;max-width:300px;margin:13px 0 19px}.primary{padding:13px 20px;font-size:15px}.hero-note{margin-top:10px;font-size:11px}.ocean-art{min-height:0;height:220px;width:100%;margin-top:-6px}.section-title{margin-top:28px;align-items:center}.section-title h2{font-size:21px}.section-title p{font-size:11px;max-width:90px;text-align:right;line-height:1.4}.activity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-art{height:118px}.lesson-body{padding:15px}.lesson-meta{font-size:9px;letter-spacing:1px}.lesson-body h3{font-size:17px}.lesson-body p{font-size:11px;min-height:33px}.lesson-bottom{margin-top:10px;font-size:11px}.journey{display:block;padding:20px 18px}.journey h3{font-size:17px}.journey p{font-size:12px;line-height:1.5}.steps{margin:18px 0 0 70px;justify-content:space-between;gap:7px}.step{width:36px;height:36px}.foot{font-size:11px;line-height:1.5;gap:9px}.question-top h1{font-size:23px}.game-panel{padding:20px 15px;border-radius:21px}.question-help{font-size:13px}.game-top{font-size:11px}.question-visual{min-height:155px;padding:18px;gap:10px}.big-letter{font-size:80px}.fish-school svg{width:65px;height:46px}.answers{gap:10px}.answer{font-size:31px;min-height:84px;padding:10px}.answer svg{width:43px;height:43px}.feedback{font-size:14px;min-height:70px}.color-target{font-size:27px}.parent-panel{padding:23px 18px}.parent-panel h1{font-size:27px}.parent-row{font-size:13px}.parent-row strong{font-size:13px}.parent-row small{font-size:11px}.parent-row>span{font-size:11px}.finish h1,.stickers-head h1{font-size:29px}.finish p{font-size:14px}.sticker-card{padding:26px 12px}.sticker-card h2{font-size:16px}.sticker-card p{font-size:12px}.sticker-card .secondary{font-size:12px;padding:10px 12px}.sticker-card .sticker-icon{font-size:56px}}

/* Keep the lesson controls reachable while the extra menus are tucked away. */
.screen-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;max-width:780px;margin:0 auto 14px;min-height:46px}
.clean-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;min-height:46px;padding:11px 14px;border:1px solid #b7d8d1;border-radius:13px;background:#e8f5f2;color:#126d72;font-size:13px;font-weight:bold}
.clean-toggle svg{width:19px;height:19px}
.clean-screen .topbar,.clean-screen .footer-shell{display:none}
.clean-screen .page{padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(14px,env(safe-area-inset-bottom))}
.clean-screen .screen-tools{justify-content:flex-end;margin-bottom:10px;position:sticky;top:0;z-index:2;pointer-events:none}
.clean-screen .clean-toggle{pointer-events:auto;background:#fffefb;box-shadow:0 2px 8px #173f4810}
.clean-screen .game-panel{padding:20px}
.clean-screen .progress{margin:12px 0 17px}
.clean-screen .question-help{margin:8px 0 14px}
.clean-screen .question-visual{min-height:140px;margin-bottom:16px}
.clean-screen .feedback{min-height:52px;padding:8px}
.listen{min-width:46px;min-height:46px}
@media(max-width:640px){
  .screen-tools{gap:8px}.clean-toggle{padding:10px 12px;font-size:12px}
  .clean-screen .page{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}
  .clean-screen .game-panel{padding:16px 12px}.clean-screen .question-visual{min-height:125px;padding:12px}
  .clean-screen .shape-visual svg{width:110px;height:110px}.clean-screen .question-top h1{font-size:22px}
  .clean-screen .answer{min-height:84px}.clean-screen .feedback{font-size:14px}
}
@media(max-width:360px){.brand strong{font-size:21px}.brand small{letter-spacing:1.5px}.top-inner{column-gap:6px}.head-actions{gap:5px}.star-count{padding:8px}.sound{min-height:44px;min-width:44px}}
@media(orientation:landscape) and (max-height:520px) and (min-width:600px){
  .clean-screen .page{padding-top:max(6px,env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom))}
  .clean-screen .screen-tools{margin-bottom:6px}
  .clean-screen .game-panel:not(.finish){display:grid;grid-template-columns:minmax(130px,.75fr) minmax(0,1.5fr);grid-template-areas:"meta meta" "progress progress" "visual question" "visual help" "visual answers" "feedback next";gap:6px 16px;padding:12px 16px}
  .clean-screen .game-top{grid-area:meta;font-size:11px}.clean-screen .progress{grid-area:progress;margin:2px 0 4px;height:5px}
  .clean-screen .question-top{grid-area:question}.clean-screen .question-top h1{font-size:21px}.clean-screen .question-help{grid-area:help;font-size:12px;margin:0}
  .clean-screen .question-visual{grid-area:visual;min-height:0;margin:0;padding:10px}.clean-screen .big-letter{font-size:72px}.clean-screen .little-letter{font-size:40px}
  .clean-screen .shape-visual svg{width:100px;height:100px}.clean-screen .fish-school{gap:6px}.clean-screen .fish-school svg{width:58px;height:40px}
  .clean-screen .answers{grid-area:answers;gap:10px}.clean-screen .answer{min-height:76px;padding:7px;font-size:30px;gap:3px}.clean-screen .answer svg{width:40px;height:40px}.clean-screen .swatch{height:34px;width:44px}
  .clean-screen .feedback{grid-area:feedback;font-size:12px;min-height:50px;padding:0}.clean-screen .next-wrap{grid-area:next;min-height:50px;display:flex;justify-content:flex-end;align-items:center}.clean-screen .next-wrap .primary{min-height:46px;padding:10px 16px;font-size:14px}
}

/* Narration and touch polish; preserve a single Clean screen toolbar control. */
.hero-buttons{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.voice-preview{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:48px;border:1px solid #a9cdc5;border-radius:14px;padding:11px 14px;background:#f9fffc;color:#176e72;font-size:13px;font-weight:bold}
.voice-preview svg{width:19px;height:19px}
.narration-note{max-width:780px;margin:16px auto 0;font-size:13px;line-height:1.5;color:#795136;text-align:center;padding:10px 14px;background:#fff3dd;border-radius:12px}
.narration-note:empty{display:none}
[data-narration="speaking"] .listen,[data-narration="speaking"] .voice-preview{box-shadow:0 0 0 4px #72cbb344;border-color:#48a99a}
[data-narration="loading"] .listen,[data-narration="loading"] .voice-preview{opacity:.7}
.earned-stars{color:#db9a19;font-size:30px;letter-spacing:4px;margin:0 0 20px}
.answer.correct{animation:answer-pop .2s ease-out}.answer:disabled{opacity:1}
@keyframes answer-pop{50%{transform:scale(1.035)}100%{transform:scale(1)}}
@media(max-width:640px){.hero-buttons{gap:10px}.voice-preview{font-size:12px;padding:10px 12px}.nav button{white-space:nowrap}.parent-row{flex-wrap:wrap;gap:8px}.parent-row>span{white-space:normal}}
@media(max-width:360px){.nav button{padding:12px 5px;gap:5px;font-size:11px}.hero-copy{padding-left:20px;padding-right:20px}.hero-buttons{gap:8px}.hero-buttons .primary{padding-left:15px;padding-right:15px}}
@media(prefers-reduced-motion:reduce){.answer.correct{animation:none}}
@media(orientation:landscape) and (max-height:520px) and (min-width:600px){
  .clean-screen .finish{padding:12px 16px}
  .clean-screen .finish-emoji{font-size:38px;margin:0 0 3px;line-height:1}
  .clean-screen .earned-stars{font-size:18px;margin:3px 0}
  .clean-screen .finish .eyebrow{font-size:10px;margin:5px 0}
  .clean-screen .finish h1{font-size:24px;line-height:1.2;margin:5px 0}
  .clean-screen .finish p{font-size:12px;line-height:1.4;margin:6px auto 10px;max-width:520px}
  .clean-screen .finish-buttons button{min-height:44px;padding:8px 16px;font-size:13px}
}
