:root {
  --bg:#f8f6ef; --paper:#fffdf8; --green:#294f43; --ink:#293c35;
  --muted:#6e7569; --line:#dedfd3; --yellow:#edce87; --peach:#f3e5d4;
  --sage:#e7eddf; --rose:#ead9d0; --blue:#e4ebea;
  --page-width:1240px; --page-gutter:28px; --gap:20px; --panel-pad:22px;
}
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; font-size:16px; font-weight:500; line-height:1.65; -webkit-font-smoothing:antialiased; }
button,input,select,textarea { font:inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; }
button { border:0; background:none; color:inherit; cursor:pointer; font-weight:600; }
button:disabled { opacity:.45; cursor:default; }
a { color:inherit; text-decoration:none; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid var(--focus); outline-offset:4px; }
[hidden] { display:none!important; }
svg { display:block; }
p,h1,h2,h3 { margin:0; text-wrap:pretty; overflow-wrap:anywhere; }
blockquote { overflow-wrap:anywhere; }
h1,h2,h3 { font-weight:700; line-height:1.35; }
p+p { margin-top:8px; }
button svg,.icon { width:20px; height:20px; flex-shrink:0; }
.skip { position:fixed; left:12px; top:-80px; background:var(--green); color:var(--paper); padding:12px; z-index:100; }
.skip:focus { top:10px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
/* Shared shell: align every page to the same useful content width. */
.site-header { max-width:calc(var(--page-width) + 2 * var(--page-gutter)); padding:16px var(--page-gutter); margin:auto; display:flex; align-items:center; justify-content:space-between; gap:20px; border-bottom:1px solid var(--line); }
.brand>.brand-logo { display:block; object-fit:contain; flex-shrink:0; }
.brand { display:flex; align-items:center; gap:10px; flex-shrink:0; }
.brand>svg,.brand>.brand-logo { width:35px; height:35px; }
.brand>span { font-size:17px; font-weight:700; letter-spacing:.02em; }
.brand small { display:block; font-size:10px; color:var(--muted); font-weight:500; letter-spacing:.1em; margin-top:1px; }
.site-header nav { display:flex; align-items:center; gap:30px; }
.site-header nav button { min-height:44px; font-size:14px; padding:6px 2px; color:var(--muted); position:relative; }
.site-header nav button.active { color:var(--green); font-weight:700; }
.site-header nav button.active:after { content:""; position:absolute; bottom:0; left:calc(50% - 8px); width:16px; height:3px; background:var(--green); border-radius:3px; }
.parent-button { display:flex; align-items:center; gap:8px; padding:8px 13px; min-height:44px; font-size:13px; border:1px solid #cbd1c3; border-radius:10px; }
.parent-button svg { width:17px; height:17px; }
.parent-button:hover { background:var(--sage); }
.site-header nav button:hover,.text-button:hover { color:var(--sea-deep); }
main { width:calc(100% - 2 * var(--page-gutter)); max-width:var(--page-width); margin:auto; padding:20px 0 24px; }
main>* { min-width:0; }
.site-footer { width:calc(100% - 2 * var(--page-gutter)); max-width:var(--page-width); margin:auto; padding:12px 0; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:16px; color:var(--muted); font-size:11px; }
.site-footer i { display:inline-block; width:3px; height:3px; border-radius:50%; background:#9ba38d; vertical-align:middle; margin:0 7px; }
.page-intro { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:18px; }
.page-intro h1 { font-size:25px; }
.page-intro p { margin-top:4px; color:var(--muted); font-size:13px; }
.route-tag { display:inline-flex; align-items:center; gap:8px; padding:6px 12px; min-height:36px; border:1px solid #d6ddca; border-radius:24px; font-size:12px; background:#eef1e7; color:var(--green); white-space:nowrap; }
.route-tag i { width:6px; height:6px; border-radius:50%; background:#879f6c; }
.eyebrow { color:var(--muted); font-size:11px; font-weight:600; letter-spacing:.1em; }
.primary,.secondary { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:44px; padding:10px 18px; border-radius:10px; font-size:14px; font-weight:600; }
.primary { background:var(--green); color:var(--paper); }
.primary:hover,.voice-english:hover { background:#396353; }
.primary svg { width:18px; height:18px; }
.primary span:last-child { margin-left:auto; }
.secondary { border:1px solid #c6cfc0; }
.secondary:hover,.voice-chinese:hover { background:var(--sage); }
.text-button { display:inline-flex; align-items:center; gap:7px; font-size:13px; min-height:44px; padding:4px 0; }
.text-button svg { width:17px; height:17px; }
.section-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin:18px 0 12px; }
.section-heading h2 { font-size:18px; }
.section-heading>p,.section-heading small { color:var(--muted); font-size:12px; }
/* Home: a compact editorial feature followed immediately by useful choices. */
.hero { display:grid; grid-template-columns:1.1fr 1fr; border-radius:22px; background:var(--sage); overflow:hidden; }
.hero-copy { padding:24px 16px 24px 30px; position:relative; z-index:1; }
.hero h2 { font:700 clamp(30px,2.7vw,38px)/1.3 "Songti SC","STSong",Georgia,serif; letter-spacing:.02em; margin:10px 0; }
.hero-copy>p:not(.eyebrow) { color:#586552; font-size:14px; line-height:1.6; max-width:390px; }
.hero-ctas { display:flex; align-items:center; flex-wrap:wrap; gap:18px; margin-top:14px; }
.hero-swap { margin:8px 0 0; }
.hero-art { display:flex; justify-content:center; align-items:center; position:relative; padding:4px 24px 12px; min-width:0; }
.hero-art>svg { width:100%; max-width:360px; max-height:270px; }
.art-caption { position:absolute; right:28px; bottom:15px; font:500 italic 16px Georgia,serif; color:#63755b; transform:rotate(-5deg); }
.flow-overview { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:12px 0 0; padding:12px 0 14px; border-bottom:1px solid var(--line); }
.flow-overview>div { display:flex; align-items:center; gap:11px; padding:0 16px; border-right:1px solid var(--line); }
.flow-overview>div:first-child { padding-left:0; }
.flow-overview>div:last-child { border:0; }
.step-number { display:flex; align-items:center; justify-content:center; flex-shrink:0; width:26px; height:26px; border:1px solid #c8d0bf; border-radius:50%; font:600 14px Georgia,serif; color:#64785d; }
.flow-overview b { display:block; font-size:13px; font-weight:700; }
.flow-overview p { color:var(--muted); font-size:12px; margin-top:1px; }
.low-friction-note { display:flex; align-items:center; gap:14px; margin:12px 0 0; padding:13px 16px; border:1px solid #dfe4d5; border-radius:12px; background:#f3f5ea; color:#596653; font-size:13px; }
.low-friction-note strong { color:var(--green); font-weight:700; }
.low-friction-note span { flex:1; }
.low-friction-note .text-button { white-space:nowrap; }
.home-lower { display:grid; grid-template-columns:minmax(0,1fr) 250px; gap:24px; align-items:end; }
.theme-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.theme-card { display:flex; flex-direction:column; align-items:stretch; padding:0; background:var(--paper); border:1px solid #e3e3d7; border-radius:14px; overflow:hidden; text-align:center; min-width:0; transition:border-color .15s,transform .15s; }
.theme-card:hover { border-color:#a1b18e; transform:translateY(-2px); }
.theme-picture { height:98px; display:flex; align-items:center; justify-content:center; background:var(--peach); }
.theme-picture svg { width:136px; height:100%; }
.theme-card:nth-child(2n) .theme-picture { background:var(--blue); }
.theme-card:nth-child(3n) .theme-picture { background:var(--sage); }
.theme-name { display:block; padding:10px 12px 0; font-size:14px; font-weight:700; }
.theme-desc { display:block; padding:2px 12px 11px; color:var(--muted); font-size:11px; }
.parent-note { padding:19px; background:#fff2e2; border:1px solid #ffe3c4; border-radius:16px; }
.parent-note>svg { width:22px; height:22px; color:#c0703a; float:left; margin:0 8px 0 0; }
.parent-note h3 { font-size:14px; margin-bottom:8px; }
.parent-note p { font-size:12px; line-height:1.75; color:#7d5c42; clear:both; }
.note-footer { margin-top:8px; font-size:11px; color:#9c7350; }
.word-cover { padding:10px; font:600 20px/1.3 Georgia,serif; color:var(--green); text-align:center; transform:rotate(-4deg); }
.word-cover span { display:block; }
.word-cover span:nth-child(2) { opacity:.75; }
/* Activity heading: breadcrumb and title, not three separately padded sections. */
.activity-breadcrumb { display:flex; align-items:center; gap:10px; min-height:30px; color:var(--muted); font-size:12px; }
.back { display:inline-flex; align-items:center; gap:7px; min-height:36px; padding:0; font-size:12px; color:var(--muted); }
.back svg { width:16px; height:16px; }
.page-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:6px 0 16px; }
.page-heading h1 { font:700 30px/1.3 "Songti SC","STSong",serif; letter-spacing:.02em; margin:0; }
.page-heading .eyebrow { margin-bottom:6px; }
.one-thing-note { margin:-4px 0 14px; color:var(--muted); font-size:12px; }
.flow-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; padding:4px; background:#eeeee3; border-radius:11px; margin-bottom:16px; }
.flow-tabs button { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:8px 12px; border-radius:8px; color:var(--muted); font-size:14px; }
.flow-tabs button em { font:600 13px Georgia,serif; }
.flow-tabs button.active { color:var(--green); background:var(--paper); font-weight:700; }
/* Preparation is one coherent board. Illustration supports the text, never sets its height. */
.preparation-board { display:grid; grid-template-columns:minmax(0,1fr) 280px; background:var(--paper); border:1px solid #e3e3d7; border-radius:18px; }
.preparation-content { padding:var(--panel-pad); min-width:0; }
.prep-summary h2,.observation-intro h2 { font-size:19px; margin:0 0 7px; }
.lead { font-size:14px; line-height:1.7; color:#596353; }
.material-list { margin:14px 0; padding:12px 14px; background:var(--bg); border-radius:10px; }
.material-list h3 { font-size:13px; margin-bottom:5px; }
.material-list p { font-size:14px; color:#596353; line-height:1.65; }
.steps-title { font-size:14px; margin:0 0 9px; }
.teaching-steps { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.teaching-steps li { display:flex; align-items:flex-start; gap:12px; }
.teaching-steps .step-number { width:24px; height:24px; font-size:13px; margin-top:1px; }
.teaching-steps p { font-size:14px; line-height:1.7; padding-top:0; }
.preparation-sidebar { margin:16px 0; padding:0 20px; border-left:1px solid var(--line); min-width:0; }
.sidebar-illustration { height:145px; display:flex; align-items:center; justify-content:center; margin-bottom:12px; background:var(--peach); border-radius:12px; }
.sidebar-illustration svg { width:100%; height:100%; max-width:210px; }
.support-copy h3 { font-size:14px; margin-bottom:7px; }
.support-copy p { font-size:13px; line-height:1.75; color:#5e6b56; }
.stop-copy { margin-top:10px; }
.sources { margin-top:10px; color:var(--muted); font-size:12px; line-height:1.75; }
.sources summary { cursor:pointer; padding:8px 0; min-height:36px; }
.sources a { color:var(--green); text-decoration:underline; text-underline-offset:3px; display:block; margin:10px 0 4px; }
.board-actions { grid-column:1/-1; border-top:1px solid var(--line); padding:12px 20px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
/* Play: put the object and expression side by side on wide screens. */
.activity-layout { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:var(--gap); align-items:start; }
.play-shell { min-width:0; padding:18px 24px; background:var(--paper); border:1px solid #e3e3d7; border-radius:18px; }
.play-meta { display:flex; align-items:center; justify-content:space-between; gap:14px; color:var(--muted); font-size:12px; }
.play-meta button { font-size:12px; min-height:36px; padding:0; white-space:nowrap; }
.play-stage { display:grid; grid-template-columns:minmax(150px,.85fr) minmax(0,1.15fr); align-items:center; gap:20px; margin:8px 0 14px; }
.object-art { height:215px; display:flex; justify-content:center; align-items:center; }
.object-art svg { width:100%; max-width:290px; height:100%; }
.expression-panel { min-width:0; text-align:center; }
.english-phrase { font:600 clamp(28px,2.6vw,38px)/1.3 Georgia,"Times New Roman",serif; color:var(--green); margin:0 0 20px; overflow-wrap:anywhere; }
.voice-buttons { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:9px; }
.voice-english,.voice-chinese { display:inline-flex; justify-content:center; align-items:center; gap:8px; min-height:46px; border-radius:10px; padding:10px 13px; font-size:13px; }
.voice-english { background:var(--green); color:var(--paper); }
.voice-chinese { border:1px solid #d8dbcf; }
.voice-buttons svg { width:18px; height:18px; }
.voice-buttons small { font-size:10px; padding-left:7px; border-left:1px solid #ffffff40; opacity:.85; }
.voice-chinese small { border-color:var(--line); }
.meaning { color:var(--muted); margin:4px 0 10px; font-size:14px; font-weight:400; line-height:1.4; }
.play-hint { font-size:13px; color:var(--muted); border-top:1px solid var(--line); padding-top:12px; margin:0; text-align:center; }
.phrase-pager { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-top:6px; }
.dots { display:flex; gap:7px; }
.dots span { width:6px; height:6px; border-radius:50%; background:#d6d9c9; }
.dots span.active { width:18px; border-radius:4px; background:var(--green); }
.practice-aside { padding:20px; background:var(--sage); border-radius:16px; min-width:0; }
.practice-aside h3 { font-size:17px; line-height:1.5; margin:0 0 10px; }
.practice-aside p { color:#5e6b56; font-size:13px; line-height:1.75; }
.offscreen { display:flex; align-items:flex-start; gap:10px; border-top:1px solid #cdd6c1; padding-top:13px; margin-top:14px; }
.offscreen>svg { width:21px; height:21px; flex-shrink:0; margin-top:2px; color:#7d8868; }
.offscreen p { font-size:12px; }
.practice-aside .text-button { margin-top:8px; font-size:12px; }
.context-mat { padding:18px 12px; background:var(--sage); border-radius:13px; text-align:center; }
.context-mat svg { width:32px; height:32px; margin:0 auto 10px; color:#859974; }
.context-mat p { font-size:14px; }
.context-mat small { display:block; font-size:12px; color:var(--muted); margin-top:8px; }
/* Observation: choices share a row instead of becoming three full-width sections. */
.paper-panel { padding:var(--panel-pad); border:1px solid #e3e3d7; border-radius:18px; background:var(--paper); min-width:0; }
.paper-panel h2 { font-size:20px; margin-bottom:9px; }
.observe-panel { max-width:none; }
.observation-layout { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:var(--gap); align-items:start; }
.observation-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; padding:18px 0; margin:14px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
fieldset { border:0; margin:0; padding:0; min-width:0; }
.form-section { margin:0; }
.form-section label,.form-section legend { display:block; margin-bottom:9px; font-size:13px; font-weight:600; }
.form-section small { display:block; font-size:12px; color:var(--muted); margin-top:4px; font-weight:500; }
.option-row { display:flex; flex-wrap:wrap; align-items:flex-start; gap:7px; }
.choice { padding:8px 10px; min-height:44px; border:1px solid #d7dbcd; border-radius:8px; font-size:12px; }
.choice[aria-pressed=true] { background:var(--sage); border-color:#8da27b; color:var(--green); }
textarea,select { width:100%; padding:11px 13px; border:1px solid #d5d9cb; border-radius:10px; background:var(--bg); color:var(--ink); font-size:14px; min-height:44px; }
textarea { resize:vertical; min-height:88px; line-height:1.65; }
textarea::placeholder { color:#7e8476; }
.action-row { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-top:14px; }
.observation-disclaimer { color:var(--muted); font-size:11px; margin-top:9px; }
.observation-guide { display:grid; gap:18px; padding:20px; background:var(--sage); border-radius:16px; }
.observation-guide h3 { font-size:14px; margin-bottom:7px; }
.observation-guide p { color:#5e6b56; font-size:13px; line-height:1.75; }
.observation-guide .sources { margin-top:0; }
.success-note { padding:14px 16px; background:var(--sage); border-radius:12px; margin:14px 0; }
.success-note h3 { font-size:15px; }
.success-note h3 svg { display:inline-block; vertical-align:middle; width:19px; height:19px; margin-right:5px; }
.success-note p { font-size:12px; margin-top:6px; }
/* Growth: small introduction, immediately followed by the actual observations. */
.growth-banner { display:grid; grid-template-columns:minmax(0,1fr) 170px; gap:24px; align-items:center; padding:22px 28px; margin-bottom:20px; background:var(--sage); border-radius:18px; }
.growth-banner h2 { font:700 27px/1.4 "Songti SC","STSong",serif; margin:7px 0 9px; }
.growth-banner p { color:#617058; font-size:13px; max-width:720px; }
.growth-banner>svg { width:170px; height:135px; }
.growth-layout { display:grid; grid-template-columns:minmax(0,1fr) 290px; align-items:start; gap:24px; }
.growth-section-heading { margin-top:0; }
.timeline { margin-top:8px; }
.timeline-entry { display:grid; grid-template-columns:48px minmax(0,1fr); gap:14px; padding-bottom:16px; position:relative; }
.timeline-entry:before { content:""; position:absolute; left:24px; top:45px; bottom:0; width:1px; background:#d8ddce; }
.timeline-entry:last-child:before { display:none; }
.date-block { padding-top:7px; text-align:center; }
.date-block strong { display:block; font:600 24px/1.2 Georgia,serif; color:var(--sea-deep); }
.date-block span { display:block; font-size:10px; color:var(--muted); margin-top:5px; }
.observation-card { padding:17px 20px; border:1px solid #e3e3d7; background:var(--paper); border-radius:14px; }
.observation-head { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:13px; margin-bottom:9px; }
.observation-head b { font-weight:700; }
.observation-card blockquote { margin:0 0 12px; font-size:14px; line-height:1.75; color:#41513e; }
.tag-row { display:flex; flex-wrap:wrap; gap:6px; }
.tag-row span { padding:3px 8px; font-size:11px; background:#e3f1f6; border-radius:7px; color:#2c6a86; }
.tag-row .warm { background:#ffeeda; color:#a5642e; }
.demo-label { display:inline-flex; gap:5px; align-items:center; padding:2px 7px; border:1px solid #d5d8ca; border-radius:5px; font-size:10px; color:var(--muted); white-space:nowrap; }
.timeline-disclaimer { color:var(--muted); font-size:12px; margin-left:62px; }
.portfolio { padding:20px; background:var(--paper); border:1px solid #e3e3d7; border-radius:16px; }
.portfolio h3 { font-size:16px; margin-bottom:10px; }
.portfolio p { font-size:12px; color:var(--muted); line-height:1.75; }
.empty-illustration { display:flex; justify-content:center; align-items:center; background:#f4f1e6; height:54px; border-radius:10px; margin:12px 0; }
.empty-illustration svg { width:30px; height:30px; color:#9a9b7f; }
.portfolio .secondary { width:100%; margin-top:12px; font-size:12px; }
.growth-side-note { font-size:12px; color:var(--muted); padding:16px 6px; }
.growth-side-note h3 { font-size:13px; margin-bottom:8px; }
/* Exploration has meaningful content to scroll; cards stay proportionate. */
.all-themes { grid-template-columns:repeat(6,minmax(0,1fr)); }
.explore-intro { color:var(--muted); font-size:14px; max-width:740px; margin-bottom:18px; }
.topic-dialog-list { display:grid; gap:10px; }
.topic-activities { margin-top:18px; }
.activity-choice { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:14px 16px; min-height:58px; background:var(--paper); border:1px solid var(--line); border-radius:11px; text-align:left; font-size:14px; }
.activity-choice small { display:block; color:var(--muted); font-size:12px; margin-top:4px; }
.chips { display:flex; flex-wrap:wrap; gap:8px; }
.chip { padding:5px 9px; border:1px solid var(--line); border-radius:7px; font-size:12px; }
.aside-art { background:var(--peach); border-radius:14px; padding:8px; }
.aside-art>svg { width:100%; height:155px; }
.aside-note { background:var(--sage); padding:18px; border-radius:14px; margin-top:14px; }
.aside-note h3 { font-size:14px; margin-bottom:7px; }
.aside-note p { font-size:13px; color:#5e6b56; }
.screen-enter { animation:enter .15s ease; }
@keyframes enter { from { opacity:.6; } to { opacity:1; } }
@media(min-width:1024px) and (max-height:800px) {
  .site-header { padding-top:10px; padding-bottom:10px; }
  main { padding-top:12px; padding-bottom:16px; }
  .page-intro { margin-bottom:12px; }
  .page-intro h1 { font-size:23px; }
  .hero-copy { padding:18px 14px 18px 26px; }
  .hero h2 { font-size:30px; margin:8px 0; }
  .hero-ctas { margin-top:10px; }
  .hero-art>svg { max-height:220px; }
  .flow-overview { padding:9px 0; margin-top:8px; }
  .flow-overview p { font-size:11px; }
  .section-heading { margin:13px 0 9px; }
  .theme-picture { height:72px; }
  .theme-name { padding-top:7px; }
  .theme-desc { padding-bottom:8px; }
  .parent-note { padding:15px 17px; }
  .parent-note .note-footer { margin-top:5px; }
  .page-heading { margin-bottom:12px; }
  .page-heading h1 { font-size:28px; }
  .flow-tabs { margin-bottom:12px; }
  .preparation-content { padding:18px 20px; }
  .material-list { padding:10px 12px; margin:12px 0; }
  .teaching-steps { gap:10px; }
  .teaching-steps p { line-height:1.65; }
  .sidebar-illustration { height:125px; }
  .board-actions { padding:10px 20px; }
  .object-art { height:180px; }
  .play-stage { margin-top:4px; margin-bottom:10px; }
  .observation-fields { padding:13px 0; margin:12px 0; gap:12px; }
  .growth-banner { padding:16px 24px; margin-bottom:15px; }
  .growth-banner h2 { font-size:25px; margin:5px 0 7px; }
  .growth-banner>svg { height:115px; }
  .site-footer { padding:9px 0; }
}
@media(max-width:1023px) {
  :root { --page-gutter:24px; --gap:16px; --panel-pad:20px; }
  .site-header { gap:16px; padding-top:13px; padding-bottom:13px; }
  .site-header nav { gap:18px; }
  .parent-button>span:last-child { display:none; }
  .parent-button { padding:8px; }
  .brand>span { font-size:16px; }
  main { padding-top:16px; }
  .home-lower { grid-template-columns:minmax(0,1fr) 210px; gap:16px; }
  .theme-grid { gap:9px; }
  .hero h2 { font-size:31px; }
  .hero-copy { padding-left:24px; }
  .hero-art { padding-right:12px; }
  .hero-ctas { gap:10px; }
  .hero-ctas .primary { padding:10px 14px; font-size:13px; }
  .theme-picture { height:85px; }
  .theme-name { font-size:13px; padding:8px 10px 0; }
  .theme-desc { font-size:10px; padding:2px 10px 9px; }
  .parent-note { padding:16px; }
  .parent-note h3 { font-size:13px; }
  .parent-note .note-footer { display:none; }
  .all-themes { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .preparation-board { grid-template-columns:minmax(0,1fr) 230px; }
  .preparation-sidebar { padding:0 16px; }
  .sidebar-illustration { height:120px; }
  .activity-layout,.observation-layout { grid-template-columns:minmax(0,1fr) 220px; }
  .play-shell { padding:16px 18px; }
  .play-stage { grid-template-columns:minmax(0,1fr); gap:8px; }
  .object-art { height:150px; }
  .english-phrase { font-size:31px; margin-bottom:15px; }
  .voice-english,.voice-chinese { font-size:12px; padding:10px; }
  .practice-aside { padding:18px; }
  .observation-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
  .observation-fields fieldset:first-child { grid-column:1/-1; }
  .growth-layout { grid-template-columns:minmax(0,1fr) 250px; gap:18px; }
  .growth-banner { padding:20px 24px; grid-template-columns:minmax(0,1fr) 135px; }
  .growth-banner>svg { width:135px; height:120px; }
  .growth-banner h2 { font-size:25px; }
}
@media(max-width:760px) {
  :root { --page-gutter:18px; --panel-pad:18px; }
  body { padding-bottom:72px; }
  .site-header { padding-top:12px; padding-bottom:12px; }
  .brand>svg,.brand>.brand-logo { width:32px; height:32px; }
  .brand>span { font-size:15px; }
  .brand small { font-size:9px; }
  .site-header nav { position:fixed; bottom:0; left:0; right:0; min-height:64px; padding:6px 14px max(7px,env(safe-area-inset-bottom)); background:var(--paper); border-top:1px solid var(--line); z-index:30; justify-content:space-around; gap:8px; }
  .site-header nav button { font-size:13px; padding:4px 12px; }
  .parent-button { border:0; min-width:40px; }
  .parent-button svg { width:21px; height:21px; }
  main { padding:16px 0 18px; }
  .page-intro { gap:10px; align-items:flex-start; margin-bottom:14px; }
  .page-intro h1 { font-size:21px; }
  .page-intro p { font-size:12px; }
  .route-tag { font-size:10px; min-height:32px; padding:5px 8px; gap:6px; }
  .hero { grid-template-columns:minmax(0,1fr) 160px; border-radius:18px; }
  .hero-copy { padding:20px 0 20px 20px; }
  .hero h2 { font-size:27px; }
  .hero-copy>p:not(.eyebrow) { font-size:12px; }
  .hero-art { padding:0 6px 10px; }
  .hero-art>svg { max-height:190px; }
  .art-caption { bottom:13px; right:11px; font-size:12px; }
  .hero-ctas { gap:8px; }
  .hero-ctas .text-button { font-size:12px; }
  .hero-ctas .primary { font-size:12px; padding:10px 12px; }
  .eyebrow { font-size:10px; }
  .flow-overview { gap:10px; margin-top:9px; padding:10px 0 12px; }
  .flow-overview>div { display:flex; align-items:flex-start; gap:7px; padding:0 8px 0 0; }
  .flow-overview .step-number { width:22px; height:22px; font-size:12px; }
  .flow-overview b { font-size:12px; }
  .flow-overview p { font-size:10px; line-height:1.5; margin-top:3px; }
  .low-friction-note { flex-wrap:wrap; gap:6px 10px; padding:11px 12px; font-size:11px; }
  .low-friction-note span { flex-basis:100%; order:3; }
  .low-friction-note .text-button { margin-left:auto; }
  .home-lower { grid-template-columns:minmax(0,1fr); gap:16px; }
  .theme-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; }
  .theme-picture { height:86px; }
  .theme-name { font-size:12px; padding:8px 9px 0; }
  .theme-desc { font-size:10px; padding:2px 9px 9px; }
  .section-heading { margin:17px 0 11px; }
  .section-heading h2 { font-size:17px; }
  .section-heading small { display:none; }
  .parent-note { padding:15px 17px; }
  .parent-note>svg { width:20px; height:20px; }
  .parent-note h3 { margin-bottom:5px; }
  .parent-note p { clear:none; font-size:12px; }
  .all-themes { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .activity-breadcrumb { min-height:28px; font-size:11px; gap:8px; }
  .back { min-height:32px; font-size:11px; }
  .page-heading { margin:5px 0 12px; gap:12px; }
  .page-heading h1 { font-size:26px; }
  .flow-tabs { margin-bottom:12px; padding:3px; }
  .flow-tabs button { min-height:44px; font-size:12px; padding:8px 5px; gap:6px; }
  .flow-tabs button em { font-size:12px; }
  .preparation-board { grid-template-columns:minmax(0,1fr); border-radius:15px; }
  .preparation-content { padding:18px; }
  .prep-summary h2,.observation-intro h2 { font-size:18px; }
  .lead { font-size:14px; }
  .material-list { margin:12px 0; padding:10px 12px; }
  .material-list p { font-size:13px; }
  .teaching-steps { gap:12px; }
  .teaching-steps li { gap:10px; }
  .teaching-steps p { font-size:14px; line-height:1.7; }
  .preparation-sidebar { margin:0 18px; padding:14px 0 0; border-left:0; border-top:1px solid var(--line); }
  .sidebar-illustration { display:none; }
  .support-copy h3 { font-size:13px; }
  .support-copy p { font-size:13px; }
  .board-actions { margin-top:10px; padding:10px 16px; gap:10px; }
  .board-actions .primary { font-size:12px; padding:10px 12px; }
  .board-actions .text-button { font-size:11px; }
  .board-actions svg { width:16px; height:16px; }
  .activity-layout,.observation-layout { grid-template-columns:minmax(0,1fr); gap:14px; }
  .play-shell { padding:15px 18px; }
  .play-stage { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:14px; margin:6px 0 12px; }
  .object-art { height:190px; }
  .english-phrase { font-size:28px; margin-bottom:14px; }
  .voice-buttons { gap:8px; }
  .voice-english,.voice-chinese { font-size:12px; min-height:44px; padding:10px 11px; gap:7px; }
  .voice-buttons small { font-size:10px; padding-left:6px; }
  .play-hint { font-size:12px; }
  .phrase-pager { margin-top:4px; }
  .practice-aside { padding:16px 18px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
  .practice-aside h3 { font-size:14px; margin-bottom:7px; }
  .practice-aside p { font-size:12px; }
  .practice-aside .offscreen { margin:0; padding:0 0 0 12px; border-top:0; border-left:1px solid #cdd6c1; }
  .practice-aside>.text-button { grid-column:1/-1; margin-top:0; }
  .context-mat { padding:16px 10px; }
  .context-mat p { font-size:13px; }
  .context-mat small { font-size:11px; }
  .observation-fields { grid-template-columns:repeat(3,minmax(0,1fr)); padding:14px 0; margin:12px 0; gap:12px; }
  .observation-fields fieldset:first-child { grid-column:auto; }
  .observation-guide { padding:17px 18px; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px; }
  .observation-guide .sources { grid-column:1/-1; }
  .action-row { gap:12px; }
  .action-row .primary { font-size:12px; padding:10px 12px; }
  .growth-banner { padding:18px 22px; grid-template-columns:minmax(0,1fr) 115px; gap:14px; margin-bottom:16px; }
  .growth-banner h2 { font-size:24px; }
  .growth-banner>svg { width:115px; height:115px; }
  .growth-banner p { font-size:12px; }
  .growth-layout { grid-template-columns:minmax(0,1fr); gap:16px; }
  .growth-layout>aside { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:18px; align-items:start; }
  .growth-side-note { padding:10px 0; }
  .growth-section-heading { margin-top:0; }
  .site-footer { display:flex; font-size:10px; padding:11px 0; flex-wrap:wrap; gap:3px 16px; }
  .word-cover { font-size:18px; padding:8px; }
}
@media(max-width:480px) {
  :root { --page-gutter:16px; --panel-pad:16px; }
  .brand>span { font-size:14px; }
  .page-intro { align-items:start; }
  .page-intro h1 { font-size:19px; }
  .page-intro p { max-width:210px; }
  .hero { grid-template-columns:minmax(0,1fr); }
  .hero-copy { padding:21px 22px 6px; }
  .hero h2 { font-size:29px; margin:8px 0; }
  .hero-art { height:154px; padding:0 16px 8px; }
  .hero-art>svg { max-height:165px; max-width:245px; }
  .art-caption { font-size:13px; right:22px; bottom:11px; }
  .hero-ctas { margin-top:12px; gap:16px; }
  .flow-overview>div { display:block; }
  .flow-overview .step-number { margin-bottom:6px; }
  .flow-overview p { max-width:95px; }
  .theme-grid,.all-themes { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .theme-picture { height:89px; }
  .theme-name { font-size:13px; }
  .theme-desc { font-size:10px; }
  .page-heading h1 { font-size:25px; }
  .page-heading .route-tag { max-width:135px; white-space:normal; text-align:left; line-height:1.5; flex-shrink:0; }
  .board-actions { display:grid; grid-template-columns:minmax(0,1fr); gap:4px; }
  .board-actions .text-button { justify-content:center; font-size:12px; }
  .board-actions .primary { width:100%; font-size:13px; }
  .play-stage { grid-template-columns:minmax(0,1fr); gap:4px; }
  .object-art { height:160px; }
  .english-phrase { font-size:30px; margin-bottom:15px; }
  .voice-buttons { gap:8px; }
  .voice-english,.voice-chinese { font-size:12px; padding:10px; }
  .voice-buttons svg { width:17px; height:17px; }
  .meaning { font-size:13px; }
  .practice-aside { display:block; }
  .practice-aside .offscreen { border-left:0; border-top:1px solid #cdd6c1; padding:10px 0 0; margin-top:12px; }
  .practice-aside>.text-button { margin-top:5px; }
  .context-mat { padding:18px; }
  .observation-fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .observation-fields fieldset:first-child { grid-column:1/-1; }
  .form-section label,.form-section legend { font-size:13px; }
  .choice { padding:8px 9px; font-size:12px; }
  .form-section small { font-size:11px; }
  .observation-guide { grid-template-columns:minmax(0,1fr); gap:14px; }
  .action-row { flex-wrap:wrap; }
  .action-row .primary { font-size:12px; }
  .growth-banner { grid-template-columns:minmax(0,1fr); padding:18px 20px; }
  .growth-banner>svg { display:none; }
  .growth-banner h2 { font-size:24px; }
  .growth-layout>aside { grid-template-columns:minmax(0,1fr); gap:8px; }
  .timeline-entry { grid-template-columns:35px minmax(0,1fr); gap:10px; padding-bottom:12px; }
  .timeline-entry:before { left:17px; }
  .date-block strong { font-size:22px; }
  .date-block span { font-size:9px; }
  .observation-card { padding:15px; }
  .observation-head { font-size:12px; }
  .observation-card blockquote { font-size:13px; }
  .tag-row span { font-size:10px; }
  .timeline-disclaimer { margin-left:45px; font-size:11px; }
  .demo-label { font-size:9px; }
  .portfolio { padding:18px; }
  .portfolio .empty-illustration { height:44px; }
  .site-footer>span { width:100%; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; } }

/* Only the two sound arcs animate; the speaker body and button stay still. */
.is-speaking .sound-wave-near { animation:voice-near 1s ease-in-out infinite; }
.is-speaking .sound-wave-far { animation:voice-far 1s ease-in-out infinite; }
@keyframes voice-near { 0%,100% { opacity:.15; } 24%,64% { opacity:1; } 84% { opacity:.3; } }
@keyframes voice-far { 0%,22%,100% { opacity:.15; } 48%,72% { opacity:1; } }
.audio-feedback { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:6px 12px; margin-top:12px; font-size:12px; color:#8c5039; }
.audio-feedback .text-button { font-size:12px; min-height:36px; text-decoration:underline; text-underline-offset:3px; }
.record-info { margin-top:10px; font-size:12px; color:var(--muted); }
#livePortfolio .btn { min-height:44px; padding:10px 14px; margin:8px 0; border:1px solid var(--line); border-radius:10px; }
#livePortfolio .blue { background:var(--green); color:var(--paper); }
#livePortfolio audio { width:100%; margin:8px 0; }
#livePortfolio .recording-item { border-top:1px solid var(--line); margin-top:14px; padding-top:12px; }
#livePortfolio .recording-item a { display:block; text-decoration:underline; }
@media(prefers-reduced-motion:reduce) { .is-speaking .sound-wave { animation:none!important; opacity:1; } .is-speaking .speaker-body { stroke-width:2; } }

/* Age and activity choices open directly below their trigger, without a modal. */
.settings-anchor { position:relative; flex-shrink:0; }
.settings-menu { position:absolute; top:calc(100% + 8px); right:0; z-index:60; width:min(320px,calc(100vw - 32px)); max-height:calc(100dvh - 160px); overflow-y:auto; padding:16px; background:var(--paper); border:1px solid var(--line); border-radius:16px; box-shadow:0 12px 32px #293c351c; text-align:left; }
.settings-menu h2 { font-size:17px; margin:0 0 12px; }
.settings-options+.settings-options { margin-top:12px; border-top:1px solid var(--line); padding-top:10px; }
.settings-options h3 { color:var(--muted); font-size:12px; margin:0 0 6px; }
.setting-option { width:100%; display:flex; justify-content:space-between; align-items:center; gap:12px; text-align:left; border-radius:9px; min-height:44px; padding:9px 10px; font-size:14px; }
.setting-option:hover { background:#f0f1e8; }
.setting-option[aria-pressed=true] { background:var(--sage); color:var(--green); }
.setting-option small { display:block; color:var(--muted); font-size:11px; font-weight:500; margin-top:2px; }
.setting-option i { font-style:normal; visibility:hidden; }
.route-option { position:relative; cursor:pointer; }
.route-option input { width:20px; height:20px; flex-shrink:0; margin:0; accent-color:var(--green); cursor:pointer; }
.route-option span { flex:1; }
.route-option:focus-within { outline:2px solid var(--focus); outline-offset:2px; }
.setting-option[aria-pressed=true] i { visibility:visible; }
.settings-explanation { color:var(--muted); font-size:11px; border-top:1px solid var(--line); padding-top:10px; margin-top:12px; }
@media(max-width:600px) { .settings-menu { width:min(300px,calc(100vw - 32px)); padding:14px; } }

/* 0–3: one photographic referent, clear boundaries, adult guidance in its own area. */
body[data-age="0-2"] { background:#fff; --bg:#fff; --ink:#192e24; --muted:#485b50; --line:#cbd3cd; }
body[data-age="0-2"] .hero { background:#fff; border:2px solid #cbd3cd; }
body[data-age="0-2"] .hero-copy>p:not(.eyebrow) { color:#354c3e; }
body[data-age="0-2"] .hero-art { padding:0; height:auto; }
.real-object-panel { width:100%; padding:16px 22px; background:#fff; text-align:center; border-left:1px solid #cbd3cd; }
.real-object-label { display:block; font-size:11px; color:#485b50; margin-bottom:8px; }
.real-object-photo { display:block; width:100%; height:180px; max-width:250px; margin:auto; object-fit:contain; }
.real-object-english { font:600 29px/1.2 Georgia,serif; color:#192e24; margin:8px 0 12px; }
.care-photo-actions { display:grid; grid-template-columns:44px auto 44px; align-items:center; justify-content:center; gap:12px; }
.care-photo-actions .text-button { justify-content:center; }
.care-photo-actions .audio-feedback { grid-column:1/-1; }
.real-object-note { margin-top:8px; font-size:11px; color:#485b50; }
.real-object-stage img { height:100%; width:100%; object-fit:contain; }
body[data-age="0-2"] .context-mat { border:1px solid var(--line); background:#fff; }
body[data-age="0-2"] .paper-panel { border:1px solid var(--line); background:#fff; }
body[data-age="0-2"] .growth-banner { grid-template-columns:1fr; background:#f5f7f4; }
.visual-notes { margin-top:16px; padding-top:10px; border-top:1px solid var(--line); font-size:12px; }
.visual-notes summary { cursor:pointer; min-height:44px; padding-block:10px; }
.visual-notes p { max-width:850px; margin-top:10px; color:var(--muted); }
.visual-notes a { text-decoration:underline; text-underline-offset:3px; }
@media(max-width:600px) {
 .real-object-panel { border-left:0; border-top:1px solid #cbd3cd; padding:14px; }
 .real-object-photo { height:160px; }
 .real-object-english { font-size:27px; }
 body[data-age="0-2"] .hero-art { height:auto; }
}
body[data-age="0-2"] .screen-enter { animation:none; }

/* Word-object association card: single illustrated object with its English word. */
.phrase-object { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; width:100%; height:100%; padding:8px 12px 6px; background:#fff; border-radius:16px; }
.phrase-object .realistic-fruit { flex:1 1 auto; min-height:0; height:auto; max-height:150px; width:auto; max-width:82%; object-fit:contain; }
.phrase-object-word { display:flex; align-items:baseline; gap:8px; line-height:1.2; margin:0; }
.phrase-object-word b { font-size:21px; letter-spacing:.3px; color:#2f3d33; }
.phrase-object-word span { font-size:13px; color:var(--muted); }
.phrase-object-hint { font-size:11px; color:var(--muted); text-align:center; }
.phrase-scene { padding:0; overflow:hidden; position:relative; background:#f3f1e4; }
.phrase-scene .realistic-scene { max-height:none; object-fit:cover; border-radius:0; }
.phrase-scene .phrase-object-hint { position:absolute; left:8px; right:8px; bottom:8px; margin:0; padding:5px 10px; background:rgba(255,255,253,.82); border-radius:9px; }
/* Real fruit and animal photography: retain natural shape, no drawing treatment. */
.realistic-fruit { display:block; width:100%; height:100%; max-height:220px; object-fit:contain; background:#fff; }
.realistic-fruit-group { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:center; gap:8px; width:100%; padding:14px; background:#fff; border-radius:16px; }
.realistic-fruit-group .realistic-fruit { height:140px; min-width:0; }
.realistic-animal { display:block; width:100%; height:100%; max-height:260px; object-fit:contain; background:#e7eddf; border-radius:10px; }
.realistic-scene { display:block; width:100%; height:100%; max-height:260px; object-fit:contain; background:#f3f1e4; border-radius:10px; }
.theme-picture .realistic-scene { object-fit:cover; object-position:center 45%; border-radius:0; max-height:none; }
.sidebar-illustration .realistic-scene,.aside-art .realistic-scene { max-height:210px; }
.theme-picture .realistic-animal { object-fit:cover; object-position:center 38%; border-radius:0; }
.theme-picture .realistic-fruit-group { padding:5px; gap:4px; height:100%; border-radius:0; }
.theme-picture .realistic-fruit { height:100%; max-height:80px; }
.sidebar-illustration>.realistic-fruit,.aside-art>.realistic-fruit { max-height:210px; }




@media(max-width:600px) {
 .realistic-fruit-group { padding:8px; }
 .realistic-fruit-group .realistic-fruit { height:105px; }
 .theme-picture .realistic-fruit { height:68px; }
}

/* Mobile-first refinement · 2026-11-18
   Consolidates the older breakpoint layers for phones and tablets. */
@media (max-width: 900px) {
  :root { --page-gutter: 20px; --gap: 14px; }
  .site-header { gap: 12px; }
  .site-header nav { gap: 12px; }
  .home-lower { grid-template-columns: 1fr; }
  .parent-note { margin-top: 2px; }
  .all-themes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .activity-layout, .observation-layout { grid-template-columns: 1fr 210px; }
  .preparation-board { grid-template-columns: 1fr 210px; }
}
@media (max-width: 680px) {
  :root { --page-gutter: 16px; --panel-pad: 16px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .site-header { min-height: 52px; padding: 9px 0; }
  .site-header nav { min-height: 62px; padding-bottom: max(7px, env(safe-area-inset-bottom)); }
  .site-header nav button { min-width: 64px; min-height: 44px; }
  .settings-anchor { margin-left: auto; }
  main { padding-top: 14px; padding-bottom: 18px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 18px 18px 8px; }
  .hero-art { min-height: 150px; height: auto; padding: 0 18px 10px; }
  .hero-art .realistic-fruit-group { width: min(100%, 360px); }
  .hero-art .realistic-fruit-group .realistic-fruit { height: 112px; }
  .hero-ctas { align-items: stretch; gap: 8px; }
  .hero-ctas .primary { width: 100%; justify-content: center; }
  .hero-ctas .text-button { min-height: 44px; }
  .theme-grid, .all-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .theme-card { min-width: 0; }
  .theme-picture { height: 94px; }
  .theme-picture .realistic-fruit-group { gap: 2px; }
  .theme-picture .realistic-fruit { height: 75px; }
  .theme-name, .theme-desc { overflow-wrap: anywhere; }
  .page-heading { align-items: flex-start; }
  .page-heading .route-tag { max-width: 145px; }
  .flow-tabs { position: sticky; top: 0; z-index: 8; background: var(--bg); }
  .preparation-board, .activity-layout, .observation-layout { grid-template-columns: 1fr; }
  .preparation-sidebar { border-top: 1px solid var(--line); border-left: 0; }
  .activity-layout > aside, .observation-layout > aside { order: 2; }
  .play-stage { grid-template-columns: 1fr; }
  .object-art { height: 180px; }
  .voice-buttons { display: grid; grid-template-columns: 1fr 1fr; }
  .voice-english, .voice-chinese { width: 100%; justify-content: center; }
  .observation-fields { grid-template-columns: 1fr 1fr; }
  .growth-layout { grid-template-columns: 1fr; }
  .growth-layout > aside { display: block; }

}
@media (max-width: 380px) {
  :root { --page-gutter: 12px; --panel-pad: 14px; }
  .brand > span { font-size: 13px; }
  .brand small { display: none; }
  .site-header nav button { min-width: 58px; padding-inline: 6px; font-size: 12px; }
  .route-tag { max-width: 126px; }
  .theme-picture { height: 82px; }
  .theme-name { font-size: 12px; }
  .theme-desc { font-size: 9px; }
  .voice-buttons { grid-template-columns: 1fr; }
  .flow-tabs button { font-size: 11px; }
}

/* Short-session and voice-state UI */
.session-resume { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 18px; margin-bottom:14px; border:1px solid #d6ddca; border-radius:14px; background:#f1f4e9; }
.session-resume h2 { font-size:17px; margin:3px 0; }
.session-resume p { color:var(--muted); font-size:12px; }
.session-resume .primary { flex:0 0 auto; }
.audio-status { color:var(--muted); font-size:11px; min-width:90px; text-align:center; }
@media(max-width:680px) {
 .phrase-object .realistic-fruit { max-height:100px; }
 .phrase-object-word b { font-size:17px; }
 .phrase-object-word span { font-size:11px; }
 .phrase-object-hint { font-size:10px; }
}
@media(max-width:680px) { .session-resume { display:grid; gap:10px; } .session-resume .primary { width:100%; justify-content:center; } .audio-status { min-width:0; text-align:left; } }

/* Unified optional practice and evidence panels, using the existing palette. */
.practice-summary { margin-bottom: 20px; }
.evidence-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:16px 0; }
.evidence-grid strong,.evidence-grid span { display:block; }
.evidence-grid strong { font-size:clamp(22px,4vw,32px); color:var(--green,#294f43); }
.practice-tabs { margin:12px 0; flex-wrap:wrap; }
.practice-picker { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:16px 0; font-weight:600; }
.practice-picker select { font:inherit; padding:12px; max-width:100%; background:#fffdf8; color:#293c35; border:1px solid #adb6a5; border-radius:12px; min-height:44px; }
.practice-panel { text-align:center; max-width:800px; margin:0 auto 16px; }
.letter-art.phonics-cover { font-size:clamp(20px, 3.4vw, 38px); }
.study-illustration { display:block; font-size:clamp(48px, 10vw, 84px); }
.study-letters { margin:12px auto; }
.study-letters summary { cursor:pointer; }
.spelling-panel { margin:16px auto 4px; padding:14px 12px; max-width:480px; border:1px solid var(--line); border-radius:16px; background:#fffdf8; }
.spelling-letters,.spelling-group { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:5px; }
.spelling-group { margin-block:5px; }
.spelling-letters button { min-width:44px; min-height:44px; border:1px solid var(--line); border-radius:8px; background:var(--sage); color:var(--green); font-size:24px; font-weight:750; }
.spelling-letters button:hover,.spelling-letters button.is-spelling { background:var(--green); color:var(--paper); }
.spelling-panel .secondary { display:inline-flex; align-items:center; gap:8px; margin-top:10px; }
.spelling-panel svg { width:18px; height:18px; }
.spelling-status { margin:10px 0 0; font-size:14px; }
.practice-object { font-size:clamp(72px,16vw,120px); line-height:1.3; }
.practice-answers { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin:20px 0; }
.practice-answers button { display:grid; justify-items:center; min-width:90px; min-height:88px; }
.practice-answers button span { font-size:40px; }
.letter-picker { justify-content:center; flex-wrap:wrap; margin:16px 0; }
.practice-panel .voice-buttons { justify-content:center; }
.backup-label { display:block; margin:12px 0; font-weight:600; }
.backup-label input { display:block; width:100%; min-height:44px; font:inherit; margin-top:8px; }
@media(max-width:560px) { .evidence-grid { grid-template-columns:1fr; gap:12px; }.evidence-grid>div { display:flex; align-items:baseline; gap:12px; }.practice-panel { padding:16px; }.practice-tabs .choice { flex:1 1 40%; } }

/* 0–3: life-theme library for caregivers; no large unrelated object hero. */
.care-today { display:flex; align-items:center; gap:18px; padding:20px; margin:0 0 24px; background:var(--sage); border:1px solid var(--line); border-radius:20px; }
.care-today>div { flex:1; min-width:0; }
.care-today h2 { font-size:24px; margin:4px 0; }
.care-today p:last-child { color:var(--muted); }
.care-today-mark,.care-theme-icon { display:grid; place-items:center; background:var(--paper); color:var(--green); border-radius:16px; flex-shrink:0; }
.care-today-mark { width:56px; height:56px; }
.care-today-mark svg,.care-theme-icon svg { width:28px; height:28px; }
.care-count { color:var(--muted); font-size:14px; }
.care-theme-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.care-theme-card { display:grid; grid-template-columns:48px 1fr; gap:12px; text-align:left; padding:20px; border:1px solid var(--line); border-radius:20px; background:var(--paper); min-width:0; transition:border-color .16s,background .16s; }
.care-theme-card:hover,.care-activity-card:hover { border-color:var(--green); background:var(--sage); }
.care-theme-picture { grid-column:1/-1; aspect-ratio:3/2; height:auto; border-radius:14px; overflow:hidden; background:var(--peach); }
.care-theme-picture .realistic-scene { width:100%; height:100%; object-fit:cover; object-position:center; }
.care-theme-icon { width:48px; height:48px; background:var(--sage); }
.care-theme-heading small { display:block; color:var(--muted); font-size:12px; }
.care-theme-heading strong { display:block; font-size:22px; }
.care-theme-card>p { grid-column:1/-1; font-weight:500; color:var(--muted); }
.care-theme-footer { display:flex; align-items:center; justify-content:space-between; gap:8px; grid-column:1/-1; padding-top:12px; border-top:1px solid var(--line); color:var(--green); font-size:13px; }
.care-gentle-note { display:flex; gap:8px; align-items:center; color:var(--muted); margin:20px 0; }
.care-gentle-note>svg { width:20px; height:20px; flex-shrink:0; }
.care-object-pocket,.care-guidance { border-top:1px solid var(--line); padding:14px 0; }
.care-object-pocket summary,.care-guidance>summary { cursor:pointer; font-weight:600; min-height:32px; }
.care-object-pocket summary>span { font-size:13px; color:var(--muted); margin-left:8px; }
.care-object-pocket .real-object-panel { max-width:360px; margin:16px auto 0; }
.care-activity-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.care-activity-card { text-align:left; display:flex; flex-direction:column; gap:10px; padding:20px; background:var(--paper); border:1px solid var(--line); border-radius:20px; min-width:0; }
.care-activity-card h2 { font-size:22px; }
.care-activity-card>p { color:var(--muted); font-weight:500; }
.care-activity-label { color:var(--green); font-size:13px; }
.care-activity-link { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:10px; }
@media(max-width:900px) { .care-theme-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) { .care-today { padding:16px; gap:12px; flex-wrap:wrap; }.care-today-mark { display:none; }.care-today h2 { font-size:21px; }.care-today .primary { width:100%; justify-content:center; }.care-theme-grid { gap:10px; }.care-theme-card { padding:14px; gap:8px; grid-template-columns:1fr; border-radius:16px; }.care-theme-heading strong { font-size:20px; }.care-theme-icon { width:40px; height:40px; }.care-theme-card>p { font-size:14px; }.care-theme-footer { font-size:12px; align-items:flex-start; }.care-theme-footer svg { width:16px; }.care-count { font-size:12px; }.care-activity-grid { grid-template-columns:1fr; }.care-gentle-note { align-items:flex-start; font-size:14px; } }

/* The listening area fills the space after removing its supplementary sidebar. */
.activity-layout.play-layout { grid-template-columns: minmax(0, 1fr); }

/* Theme cards use the full row after removing the companion note. */
.home-lower { grid-template-columns: minmax(0, 1fr); }

/* Growth: balanced records and compact tools, with one column on phones. */
.growth-dashboard { grid-template-columns:minmax(0,1fr); gap:18px; margin-top:20px; align-items:start; }
.growth-dashboard .growth-observations>.section-heading { margin:0 0 14px; }
.growth-dashboard .growth-tools { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
.growth-dashboard .backup-card { grid-column:1/-1; }
.growth-dashboard .growth-card { padding:20px; border:1px solid var(--line); border-radius:16px; background:var(--paper); min-width:0; }
.growth-card h3 { font-size:18px; margin:0 0 12px; }
.handbook-card .section-heading { margin:0 0 14px; align-items:center; }
.handbook-card .section-heading h3 { margin:0; }
.handbook-card .section-heading>span { font-size:13px; color:var(--muted); }
.export-formats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.export-formats .secondary { min-height:48px; padding:10px 4px; width:100%; }
.export-status { font-size:12px; color:var(--muted); margin:10px 0 0; }
.backup-card>summary { cursor:pointer; font-weight:700; font-size:15px; }
.backup-content { padding-top:14px; font-size:13px; line-height:1.65; }
.backup-content>p { margin:12px 0; color:var(--muted); }
.backup-content .backup-label { margin:14px 0; }
.observation-empty { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding:24px; }
.observation-empty h3 { margin:0; font-size:19px; }
.growth-dashboard .timeline { display:grid; gap:12px; }
.growth-dashboard .timeline .paper-panel { margin:0; }
.growth-dashboard #recordClip { min-height:48px; padding:10px 18px; border-radius:12px; background:var(--green); color:var(--paper); border:0; font:inherit; font-weight:700; cursor:pointer; }
.growth-dashboard #recordClip:disabled { opacity:.5; cursor:default; }
.growth-dashboard #recordClip:focus-visible { outline:3px solid var(--ink); outline-offset:3px; }
@media(max-width:900px){
 .growth-dashboard { grid-template-columns:minmax(0,1fr); gap:18px; }
 .growth-dashboard .growth-tools { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
 .growth-dashboard .backup-card { grid-column:1/-1; }
}
@media(max-width:600px){
 .growth-dashboard .growth-tools { grid-template-columns:minmax(0,1fr); }
 .growth-dashboard .growth-card { padding:16px; }
 .observation-empty { padding:18px; }
}

/* 4–6 routes remain visible and selectable from either age. */
#routeOptions { margin:4px 0 8px 20px; padding:0 0 0 12px; border-left:2px solid var(--line); }
#routeOptions .setting-option { margin-top:6px; }

.activity-progress { display:flex; flex-wrap:wrap; gap:4px 10px; align-items:center; margin-top:10px; font-size:12px; color:var(--muted); }
.activity-stars { display:flex; gap:5px; font-size:21px; color:#d5d8ce; line-height:1.2; }
.activity-stars .lit,.activity-completion.lit { color:#eda63d; }
.care-theme-footer .activity-progress { margin:0; }

/* Keep the selected age and route visible at every screen width. */
.parent-button>span:last-child { display:block; }
@media(max-width:760px){
 .site-header { gap:8px; }
 .parent-button { gap:6px; padding:8px; font-size:12px; }
 .parent-button>span:last-child { max-width:100px; line-height:1.35; text-align:left; }
 .parent-button svg { width:17px; height:17px; }
}

/* Playground extends the existing book-and-paper visual system. */
.fun-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.fun-card { position:relative; display:flex; flex-direction:column; align-items:stretch; text-align:left; border:1px solid var(--line); border-radius:18px; padding:16px; background:var(--paper); min-width:0; transition:background .15s,transform .15s; }
.fun-card:hover { background:#f0f3e9; }
.fun-card:where(:not([data-gallery-position])):hover { transform:translateY(-2px); }
.fun-card h2 { font-size:20px; margin:14px 0 8px; }
.fun-card p { font-size:13px; color:var(--muted); }
.fun-card>svg { align-self:flex-end; margin-top:12px; }
.fun-card-art { height:175px; display:flex; align-items:center; justify-content:center; border-radius:12px; overflow:hidden; background:var(--sage); }
.fun-card-art img,.fun-card-art svg { width:100%; height:100%; object-fit:contain; }
.fun-card-art .phrase-object { height:100%; padding:0; background:transparent; }
.fun-card-art .phrase-object-word { display:none; }
.fun-card-art .realistic-scene { max-height:none; }
.fun-card-art .story-cover { object-fit:cover; object-position:center 52%; }
.fun-gallery { max-width:1060px; margin:0 auto; }
.fun-gallery-wall {
  display:grid;
  place-items:center;
  grid-template-areas:"cards";
  min-height:clamp(230px,34vw,375px);
  padding:18px 0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:24px;
  background:radial-gradient(ellipse at 50% 0,var(--paper),transparent 74%),linear-gradient(100deg,var(--sage),var(--bg) 50%,var(--peach));
  perspective:880px;
  touch-action:pan-y pinch-zoom;
  user-select:none;
}
.fun-gallery-wall .fun-card {
  grid-area:cards;
  width:33%;
  padding:clamp(6px,1.2vw,14px);
  cursor:pointer;
  transform:translateX(var(--gallery-x,0)) translateZ(var(--gallery-depth,0px)) rotateY(var(--gallery-angle,0deg)) scale(var(--gallery-scale,1));
  transition:transform .46s cubic-bezier(.22,.75,.24,1),opacity .32s,background .16s;
}
.fun-gallery-wall [data-gallery-position="center"] { z-index:2; border-color:var(--green); box-shadow:0 8px 22px rgb(35 67 56 / .14); }
.fun-gallery-wall [data-gallery-position="left"],
.fun-gallery-wall [data-gallery-position="right"] { --gallery-depth:32px; --gallery-scale:.92; z-index:1; }
.fun-gallery-wall [data-gallery-position="left"] { --gallery-x:-94%; --gallery-angle:35deg; }
.fun-gallery-wall [data-gallery-position="right"] { --gallery-x:94%; --gallery-angle:-35deg; }
.fun-gallery-wall [data-gallery-position="away"] { --gallery-depth:-100px; --gallery-scale:.7; opacity:0; visibility:hidden; pointer-events:none; }
.fun-gallery-wall .fun-card-art { height:clamp(92px,17vw,184px); pointer-events:none; }
.fun-gallery-wall .fun-card img { -webkit-user-drag:none; }
.fun-gallery-wall .fun-card h2 { font-size:clamp(14px,2.2vw,21px); }
.fun-gallery-wall .fun-card p { font-size:clamp(11px,1.4vw,13px); }
.fun-gallery-wall .fun-card:focus-visible { outline:2px solid var(--green); outline-offset:3px; }
.fun-gallery-status { min-width:6em; text-align:center; color:var(--muted); font-size:13px; font-variant-numeric:tabular-nums; }
@media(max-width:600px){
 .fun-gallery-wall { min-height:240px; perspective:480px; }
 .fun-gallery-wall .fun-card { display:flex; width:46%; gap:0; padding:7px; border-radius:14px; }
 .fun-gallery-wall [data-gallery-position="left"],
 .fun-gallery-wall [data-gallery-position="right"] { --gallery-depth:13px; --gallery-scale:.78; }
 .fun-gallery-wall [data-gallery-position="left"] { --gallery-x:-74%; --gallery-angle:28deg; }
 .fun-gallery-wall [data-gallery-position="right"] { --gallery-x:74%; --gallery-angle:-28deg; }
 .fun-gallery-wall .fun-card p { margin-top:5px; }
 .fun-gallery-wall .fun-card:not([data-gallery-position="center"]) p { visibility:hidden; }
 .fun-gallery .topic-carousel-controls { gap:6px; }
}
@media(prefers-reduced-motion:reduce){ .fun-gallery-wall .fun-card { transition:none; } }
.letter-art { color:var(--green); font-size:88px; font-weight:750; line-height:1; }
.fun-completion { margin-top:auto; padding-top:16px; font-size:13px; color:var(--green); }
.fun-lesson,.fun-story,.fun-ending { margin-top:14px; padding:24px; text-align:center; }
.fun-lesson h1,.fun-story h1 { font-size:24px; }
.fun-lesson>.section-heading,.fun-story>.section-heading { margin:0 0 16px; text-align:left; }
.fun-letter { font-size:clamp(60px,12vw,108px); font-weight:700; line-height:1.3; margin:22px 0; color:var(--green); }
.fun-lesson .letter-picker { display:grid; grid-template-columns:repeat(13,minmax(0,1fr)); gap:6px; margin-top:20px; }
.fun-lesson .letter-picker button { min-height:44px; padding:6px; }
.fun-example-words { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:20px; }
.fun-instruction,.fun-materials { font-size:14px; margin:14px 0; color:var(--muted); }
.fun-answer-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; width:100%; max-width:600px; margin:18px auto; }
.fun-answer-grid>.choice { padding:12px; background:var(--paper); border:1px solid var(--line); border-radius:16px; min-height:64px; }
.fun-answer-grid .phrase-object { padding:0; background:transparent; }
.fun-answer-grid .phrase-object img { max-height:180px; }
.fun-answer-grid .phrase-object-word,.fun-sound-seed .phrase-object-word { display:none; }
.letter-answers .choice { font-size:64px; color:var(--green); }
.fun-sound-seed { display:grid; justify-items:center; gap:8px; max-width:220px; margin:12px auto; }
.fun-sound-seed>.phrase-object { height:120px; padding:0; background:transparent; }
.fun-sound-seed .phrase-object img { width:100%; height:100%; max-height:120px; object-fit:contain; }
.fun-sound-option { display:grid; grid-template-rows:clamp(96px,18vw,160px) auto auto auto; justify-items:center; align-items:center; gap:10px; min-width:0; border:1px solid var(--line); border-radius:14px; padding:12px; }
.fun-sound-option>.phrase-object { height:100%; min-height:0; }
.fun-sound-option .phrase-object img { flex:none; width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; }
.fun-sound-option>.voice-english { max-width:100%; min-height:44px; }
.fun-sound-word { margin:0; font-size:clamp(20px,3vw,26px); font-weight:750; line-height:1.2; color:var(--green); }
.fun-sound-option>.secondary { display:block; width:100%; min-height:44px; margin:0; }
.fun-story-text { margin:16px 0; font-size:17px; font-weight:650; }
.fun-story-stage { max-width:330px; margin:auto; }
.fun-story-stage .phrase-object img { max-height:260px; }
.fun-story-stage .phrase-object-word { display:none; }
.fun-story .english-phrase { font-size:clamp(24px,4vw,38px); margin:12px 0; }
.fun-status { color:var(--green); font-size:14px; min-height:24px; margin:12px 0; }
.fun-care-art { max-width:350px; margin:16px auto; }
.fun-care-art img { max-height:200px; object-fit:contain; }
.fun-ending { padding:32px 20px; }
.fun-ending h1 { font-size:25px; margin:12px 0; }
.fun-ending .primary { margin-top:20px; }
.fun-finish-star { color:#eda63d; font-size:52px; }
.fun-save-error { margin-top:16px; padding:14px; border:1px solid var(--line); background:var(--peach); border-radius:12px; }
.fun-growth-summary { margin-top:18px; }
.fun-bounce { animation:fun-delivery .65s ease-in-out; }
@keyframes fun-delivery { 50% { transform:translateY(-12px) rotate(-3deg); } }
@media(max-width:900px){ .fun-grid { gap:12px; } .fun-card-art { height:140px; } .fun-card { padding:12px; } .fun-card h2 { font-size:18px; } }
@media(max-width:600px){ .fun-grid { grid-template-columns:minmax(0,1fr); } .fun-card { display:grid; grid-template-columns:105px minmax(0,1fr); gap:4px 14px; } .fun-card-art { grid-row:1/4; height:110px; } .fun-card h2 { margin:8px 0 0; } .fun-card>svg { display:none; } .fun-completion { padding-top:6px; } .letter-art { font-size:55px; } .fun-lesson,.fun-story { padding:16px; } .fun-lesson .letter-picker { grid-template-columns:repeat(7,minmax(0,1fr)); } .fun-answer-grid { gap:10px; } .fun-answer-grid .phrase-object img { max-height:125px; } .fun-story-stage .phrase-object img { max-height:200px; } .fun-sound-option { padding:8px; } .fun-sound-option .voice-english { font-size:12px; } }
@media(prefers-reduced-motion:reduce){ .fun-bounce { animation:none; } .fun-card { transition:none; } }

#playgroundContent>.back { min-height:44px; }

.fun-story-dialogue { display:flex; align-items:center; justify-content:center; gap:14px; margin:14px auto; max-width:660px; text-align:left; }
.fun-story-dialogue>img { width:76px; height:76px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.fun-story-dialogue .fun-story-text { margin:0; }
@media(max-width:600px){ .fun-story-dialogue>img { width:58px; height:58px; } .fun-story-dialogue .fun-story-text { font-size:15px; } }

/* Theme activity selection: one compact header and one card per activity. */
.topic-overview { max-width:1040px; margin:0 auto; }
.topic-overview>.back { min-height:44px; margin-bottom:12px; }
.topic-overview-heading { display:grid; grid-template-columns:minmax(0,1fr) 240px; align-items:center; gap:28px; padding:20px 24px; background:var(--sage); border-radius:18px; }
.topic-overview-copy h1 { font-size:30px; font-weight:750; margin-bottom:10px; }
.topic-overview-copy p { max-width:34em; font-size:15px; color:var(--muted); }
.topic-overview-art { height:154px; overflow:hidden; border-radius:12px; }
.topic-overview-art>img { width:100%; height:100%; max-height:none; object-fit:cover; border-radius:0; }
.topic-overview-art>.realistic-fruit-group { height:100%; padding:8px; gap:4px; }
.topic-overview-art .realistic-fruit { height:100%; max-height:138px; }
.topic-overview .topic-activities { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:18px; }
.topic-overview .activity-choice { display:grid; grid-template-columns:30px minmax(0,1fr) 18px; align-items:start; gap:10px; padding:20px 16px; min-height:164px; border-radius:14px; }
.topic-activity-number { display:flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:50%; background:var(--sage); color:var(--green); font-size:14px; }
.topic-activity-copy { min-width:0; }
.topic-activity-copy b { display:block; font-size:17px; line-height:1.5; }
.topic-overview .activity-choice small { margin-top:8px; font-size:13px; line-height:1.6; }
.topic-overview .activity-choice .activity-completion { margin-top:16px; }
.topic-overview .activity-choice>svg { width:18px; height:18px; align-self:center; }
.topic-overview .activity-choice:hover { background:var(--sage); border-color:var(--green); }
@media(max-width:760px){
 .topic-overview-heading { grid-template-columns:minmax(0,1fr) 140px; gap:16px; padding:16px; }
 .topic-overview-art { height:114px; }
 .topic-overview-copy h1 { font-size:26px; }
 .topic-overview .topic-activities { grid-template-columns:minmax(0,1fr); gap:10px; margin-top:14px; }
 .topic-overview .activity-choice { min-height:112px; padding:16px; }
 .topic-overview .activity-choice .activity-completion { margin-top:8px; }
}
@media(max-width:440px){
 .topic-overview-heading { grid-template-columns:minmax(0,1fr) 96px; gap:12px; padding:14px; }
 .topic-overview-art { height:96px; }
 .topic-overview-copy h1 { font-size:23px; margin-bottom:6px; }
 .topic-overview-copy p { font-size:13px; }
 .topic-overview .activity-choice { gap:10px; padding:14px; }
 .topic-activity-copy b { font-size:16px; }
}
/* Body pilot: activity types, contextual actions, and short-session exit. */
.topic-activity-category { display:block; color:var(--green); font-size:12px; margin-bottom:5px; }
.topic-overview-copy .topic-scope { font-size:13px; margin-top:8px; }
.topic-simple { max-width:820px; }
.topic-simple .topic-overview-heading { grid-template-columns:minmax(0,1fr) clamp(76px,23vw,180px); }
.topic-simple .topic-overview-art { height:clamp(76px,20vw,126px); }
.topic-simple .topic-overview-art>.realistic-fruit-group { grid-template-rows:minmax(0,1fr); }
.topic-start { margin-top:14px; min-height:44px; }
.topic-more,.topic-intro { margin-top:12px; border:1px solid var(--line); border-radius:14px; background:var(--paper); }
.topic-more>summary,.topic-intro>summary { padding:12px 16px; min-height:44px; cursor:pointer; }
.topic-more>summary { color:var(--green); font-weight:750; }
.topic-intro>summary,.topic-intro>p { color:var(--muted); font-size:14px; }
.topic-intro>p { margin:0 16px 12px; }
.topic-more[open] { padding-bottom:12px; }
.topic-more>.secondary { margin:8px 12px 0; }
.topic-more>.teaching-pilot-entry,.topic-more>.fruit-short-session { margin:8px 12px; padding:12px 14px; background:var(--bg); border-radius:12px; gap:10px; }
.topic-more .teaching-pilot-entry h2,.topic-more .fruit-short-session h2 { font-size:17px; }
.topic-more .teaching-pilot-entry p,.topic-more .fruit-short-session p { margin:4px 0; font-size:14px; }
.topic-simple .topic-more .topic-activities { grid-template-columns:minmax(0,1fr); margin:12px 12px 0; gap:8px; }
.topic-simple .topic-more .activity-choice { display:grid; grid-template-columns:minmax(0,1fr) 18px; min-height:0; padding:12px 14px; text-align:left; }
.topic-simple .topic-more .activity-choice small { margin-top:4px; }
.topic-simple .topic-more .activity-choice>svg { margin:0; }
.body-review-entry { margin-top:12px; }
.theme-card[data-id="body"] .activity-stars { flex-wrap:wrap; font-size:18px; gap:3px; }
.body-action-art { position:relative; display:block; width:100%; max-width:340px; height:215px; margin:auto; padding:0; border-radius:16px; }
.body-action-art .phrase-object-word { display:none; }
.body-action-art .realistic-fruit { max-height:185px; }
.body-action-cue { font-size:15px; font-weight:650; color:var(--green); margin:0 0 12px; }
.body-session-actions { display:flex; justify-content:center; border-top:1px solid var(--line); margin-top:12px; padding-top:8px; }
.body-session-actions button { min-height:44px; }
.body-dirt { position:absolute; width:84px; height:90px; top:30%; left:calc(50% - 42px); pointer-events:none; }
.body-dirt i { position:absolute; width:14px; height:12px; border-radius:45%; background:var(--muted); opacity:.8; }
.body-dirt i:nth-child(2) { top:26px; left:40px; width:22px; }
.body-dirt i:nth-child(3) { top:52px; left:18px; }
.body-dirt i:nth-child(4) { top:14px; left:65px; width:9px; }
.body-action-art.is-demonstrating { animation:body-response .45s ease-out; }
@keyframes body-response { 50% { transform:scale(1.035); } }
@media(max-width:600px){ .body-action-art { height:180px; max-width:260px; } .body-action-art .realistic-fruit { max-height:155px; } .body-action-cue { font-size:14px; margin-bottom:8px; } }
@media(prefers-reduced-motion:reduce){ .body-action-art.is-demonstrating { animation:none; } }
.practice-body-option { display:block; width:100%; max-width:110px; height:100px; object-fit:contain; margin:0 auto 8px; }
/* Expanded themes share the same short-session controls and verified object images. */
.topic-review-entry { margin-top:12px; }
.theme-card .theme-picture { flex-shrink:0; }
.theme-card .activity-progress { flex-direction:column; align-items:center; justify-content:center; flex-wrap:nowrap; gap:6px; margin-top:auto; padding:10px 8px 12px; text-align:center; }
.theme-card .activity-stars { justify-content:center; flex-wrap:wrap; max-width:100%; font-size:18px; gap:3px; }
.learning-color-swatch { position:absolute; z-index:1; right:8%; top:8%; width:48px; height:48px; border:3px solid var(--paper); border-radius:50%; box-shadow:0 0 0 1px var(--line); }
.learning-shape-circle { position:absolute; z-index:1; right:8%; top:8%; width:48px; height:48px; border:5px solid var(--green); border-radius:50%; background:var(--paper); }
@media(max-width:600px){ .learning-color-swatch,.learning-shape-circle { width:40px; height:40px; } }
.task-cue{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:6px 12px;background:var(--paper);border:1px solid var(--line);border-radius:12px;font:inherit;font-weight:650;cursor:pointer;text-wrap:pretty}
.task-cue .icon{flex-shrink:0;width:20px;height:20px}.task-cue:hover{background:var(--sage)}.task-cue:focus-visible{outline:3px solid var(--green);outline-offset:3px}.task-cue:active{transform:translateY(1px)}
/* Story listening: one continuous narrative and a stable tray of all objects. */
.fun-game-groups{display:grid;grid-template-columns:170px minmax(0,1fr);gap:24px;align-items:start}
.fun-game-nav{display:flex;flex-direction:column;gap:8px;padding:8px;border:1px solid var(--line);border-radius:18px;background:var(--paper)}
.fun-game-nav button{min-height:52px;padding:12px;text-align:left;font-size:16px;font-weight:750;border:1px solid transparent;border-radius:12px;color:var(--green);background:transparent}
.fun-game-nav button:hover{background:var(--bg)}
.fun-game-nav button[aria-current="true"]{background:var(--green);color:var(--paper)}
.fun-game-nav button:focus-visible{outline:3px solid var(--muted);outline-offset:2px}
.fun-game-list{min-width:0}.fun-game-list>h2{font-size:22px;margin:4px 0 16px}.fun-game-list .fun-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.fun-game-groups{grid-template-columns:140px minmax(0,1fr);gap:16px}}
@media(max-width:600px){.fun-game-groups{grid-template-columns:94px minmax(0,1fr);gap:12px}.fun-game-nav{padding:5px;gap:5px;border-radius:14px}.fun-game-nav button{min-height:52px;padding:10px 6px;font-size:14px;text-align:center}.fun-game-list>h2{font-size:19px;margin:4px 0 12px}.fun-game-list .fun-grid{grid-template-columns:minmax(0,1fr)}.fun-game-list .fun-card{display:block;padding:12px}.fun-game-list .fun-card-art{height:110px}.fun-game-list .fun-card h2{font-size:18px;margin:10px 0 5px}.fun-game-list .fun-card p{font-size:13px}.fun-game-list .fun-completion{display:block}}
.narrative-story{max-width:850px;margin:auto}.narrative-scene{height:140px;overflow:hidden;margin:10px auto;max-width:330px}.narrative-scene img,.narrative-scene svg{width:100%;height:100%;object-fit:contain}
.narrative-lines{max-width:650px;margin:14px auto;font-family:Georgia,serif;line-height:1.55}.narrative-current{font-size:26px;font-weight:700;color:var(--green)}.narrative-past{font-size:17px;color:var(--muted);margin-bottom:6px}.narrative-blank{display:inline-block;min-width:65px;border-bottom:3px solid var(--green);text-align:center}
.narrative-objects{grid-template-columns:repeat(3,minmax(0,1fr));margin:14px auto}.narrative-objects .choice{min-width:0;padding:10px}.narrative-objects .phrase-object-word{display:none}.narrative-objects .phrase-object img{max-height:130px}.narrative-objects .is-filled{border-color:var(--green);background:var(--sage)}
@media(max-width:600px){.narrative-story{padding:16px}.narrative-scene{height:95px}.narrative-current{font-size:22px}.narrative-past{font-size:15px}.narrative-objects{gap:8px}.narrative-objects .choice{padding:5px}.narrative-objects .phrase-object img{max-height:95px}}
/* Functional balloon controls reuse approved object art and the existing palette. */
.balloon-game{max-width:900px;margin:auto;padding:18px}.balloon-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}.balloon-sky{position:relative;height:clamp(360px,56vh,510px);overflow:hidden;border-radius:20px;background:var(--blue);border:1px solid var(--line);isolation:isolate}.balloon-ceiling{position:absolute;top:5px;left:15px;right:15px;border-top:2px dashed var(--muted);opacity:.35}.balloon-lane{position:absolute;top:0;width:33.333%;padding:0 6px;will-change:transform;text-align:center}.word-balloon{position:relative;display:inline-block;max-width:180px;width:100%;min-height:155px;padding:0;border:0;vertical-align:top;touch-action:manipulation}.word-balloon:disabled{opacity:1;cursor:default}.balloon-face{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:140px;padding:16px 10px 20px;background:var(--paper);border:3px solid var(--green);border-radius:48% 48% 45% 45%;box-shadow:inset -7px -7px 0 var(--sage)}.color-1 .balloon-face{border-color:#ef8354;box-shadow:inset -7px -7px 0 var(--peach)}.color-2 .balloon-face{border-color:var(--muted);box-shadow:inset -7px -7px 0 var(--yellow)}.balloon-face:after{content:'';position:absolute;bottom:-10px;width:15px;height:12px;background:var(--green);clip-path:polygon(50% 0,100% 100%,0 100%)}.color-1 .balloon-face:after{background:#ef8354}.color-2 .balloon-face:after{background:var(--muted)}.balloon-string{display:block;width:1px;height:34px;background:var(--muted);margin:10px auto 0}.balloon-face .phrase-object{width:100%;height:auto;padding:4px;background:transparent}.balloon-face .phrase-object img{height:85px;max-width:100%;object-fit:contain}.balloon-face strong{font-size:20px;line-height:1.15;overflow-wrap:anywhere;margin-top:7px;color:var(--green)}.balloon-status{min-height:28px;margin-top:12px;font-weight:650}.balloon-recovery{text-align:center}.word-balloon.is-wrong .balloon-face{animation:balloon-shake .5s ease-in-out}.word-balloon.is-popped .balloon-face,.word-balloon.is-popped .balloon-string{animation:balloon-pop .35s ease-out forwards}.balloon-confetti{position:absolute;left:50%;top:45%;pointer-events:none}.balloon-confetti i{position:absolute;width:8px;height:13px;background:var(--green);transform:rotate(calc(var(--n)*22.5deg));animation:balloon-confetti .65s ease-out forwards}.balloon-confetti i:nth-child(3n){background:var(--yellow)}.balloon-confetti i:nth-child(3n + 1){background:#ef8354}
@keyframes balloon-shake{20%,60%{transform:translateX(-9px) rotate(-4deg)}40%,80%{transform:translateX(9px) rotate(4deg)}100%{transform:none}}
@keyframes balloon-pop{to{transform:scale(1.25);opacity:0}}
@keyframes balloon-confetti{to{transform:rotate(calc(var(--n)*22.5deg)) translateY(-95px) rotate(90deg);opacity:0}}
@media(max-width:600px){.balloon-game{padding:12px}.balloon-game h1{font-size:21px}.balloon-lane{padding:0 4px}.balloon-face{min-height:125px;padding:13px 5px 16px;border-width:2px}.balloon-face .phrase-object img{height:67px}.balloon-face strong{font-size:16px}.word-balloon{min-height:140px}.balloon-sky{height:clamp(340px,51vh,430px)}}
@media(prefers-reduced-motion:reduce){.word-balloon.is-wrong .balloon-face{animation:none;outline:3px solid var(--focus)}.balloon-confetti i{animation:none;display:none}.word-balloon.is-popped .balloon-face{animation:none;opacity:.3}}
/* A sunlit garden: quiet background layers, clear play area and tactile controls. */
.balloon-game{--sky-top:#bde3ee;--sky-bottom:#f5f2db;--hill-back:#c2d7b5;--hill-front:#96b793;--cloud:#fffef5;--sun:#f6d68b;background:var(--paper);border:1px solid var(--line);box-shadow:0 12px 35px #294f430d;border-radius:26px;padding:20px}.balloon-heading{align-items:center}.balloon-eyebrow{display:block;color:var(--muted);font-size:12px;font-weight:750;letter-spacing:2px;margin-bottom:3px}.balloon-heading h1{font-size:26px}.balloon-round{display:inline-flex;align-items:center;justify-content:center;min-width:64px;min-height:42px;border:1px solid var(--line);border-radius:24px;background:var(--sage);font-weight:750;color:var(--green)}.balloon-toolbar{gap:8px;margin:14px 0}.balloon-toolbar>button{min-height:44px;border-radius:14px}.balloon-toolbar>.text-button{padding:8px 13px;background:var(--bg);border:1px solid var(--line)}.balloon-toolbar>.balloon-music{margin-left:auto;display:inline-flex;gap:7px;align-items:center}.balloon-music[aria-pressed="false"]{color:var(--muted)}.balloon-sky{background:linear-gradient(180deg,var(--sky-top),var(--sky-bottom));border:1px solid #a9c7c8;border-radius:22px;box-shadow:inset 0 2px 6px #294f4310}.balloon-scenery{position:absolute;inset:0;pointer-events:none;overflow:hidden}.garden-sun{position:absolute;right:9%;top:8%;width:65px;height:65px;border-radius:50%;background:var(--sun);box-shadow:0 0 0 13px #fffdf83b,0 0 0 28px #fffdf81f}.garden-cloud{position:absolute;width:125px;height:30px;border-radius:50px;background:var(--cloud);opacity:.8;box-shadow:0 5px 12px #668b9010}.garden-cloud:before,.garden-cloud:after{content:'';position:absolute;bottom:6px;border-radius:50%;background:inherit}.garden-cloud:before{width:50px;height:50px;left:17px}.garden-cloud:after{width:64px;height:64px;left:48px}.cloud-one{left:6%;top:20%;transform:scale(.85)}.cloud-two{right:16%;top:39%;transform:scale(.6);opacity:.65}.garden-hill{position:absolute;width:115%;height:115px;border-radius:60% 75% 0 0 / 100% 100% 0 0;bottom:-25px}.hill-back{left:-20%;bottom:0;background:var(--hill-back);transform:rotate(5deg)}.hill-front{right:-30%;background:var(--hill-front);transform:rotate(-7deg)}.garden-flowers{position:absolute;bottom:7px;left:8%;width:7px;height:7px;border-radius:50%;background:var(--cloud);box-shadow:24px -10px var(--sun),58px 1px var(--cloud),110px -7px var(--sun),170px 0 var(--cloud),235px -14px var(--sun),310px -2px var(--cloud),380px -8px var(--sun),460px 3px var(--cloud),530px -14px var(--sun)}.balloon-ceiling{top:15px;left:20px;right:20px;border-color:#7d9b9b;opacity:.25}.balloon-lane{z-index:1}.balloon-face{border-width:2px;box-shadow:inset -8px -10px 0 #dce8d873,0 10px 12px #385a4820;background:linear-gradient(140deg,#fffef9,#f4f4dd);border-color:#628d79}.color-1 .balloon-face{background:linear-gradient(140deg,#fffef9,#fae7d7);box-shadow:inset -8px -10px 0 #f2d4bc6b,0 10px 12px #385a4820}.color-2 .balloon-face{background:linear-gradient(140deg,#fffef9,#e7ecf5);box-shadow:inset -8px -10px 0 #ccd8e76b,0 10px 12px #385a4820}.balloon-face:before{content:'';position:absolute;top:10px;left:20%;width:24px;height:9px;background:#ffffffb3;border-radius:50%;transform:rotate(-30deg)}.balloon-face strong{background:var(--paper);padding:4px 10px;border-radius:9px;box-shadow:0 2px 3px #294f430a}.balloon-string{background:#63857780}.balloon-status{padding:10px 14px;border-radius:12px;background:var(--bg);font-size:15px;margin-top:12px}.balloon-topics .fun-card{transition:transform .15s,box-shadow .15s}.balloon-topics .fun-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px #294f4314}
@media(max-width:600px){.balloon-game{padding:13px;border-radius:20px}.balloon-heading h1{font-size:22px}.balloon-eyebrow{font-size:10px}.balloon-toolbar{gap:6px}.balloon-toolbar>.text-button{font-size:12px;padding:8px}.balloon-toolbar>.balloon-music{margin-left:0}.balloon-sky{height:clamp(350px,52vh,450px)}.garden-sun{width:48px;height:48px}.garden-cloud{transform:scale(.6)}.cloud-two{transform:scale(.4)}.balloon-face strong{padding:4px 6px}.balloon-status{font-size:14px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.balloon-topics .fun-card{transition:none}.balloon-topics .fun-card:hover{transform:none}}

/* Latex balloons: continuous curved silhouette, soft reflected light and tied neck. */
.word-balloon{max-width:170px;min-height:0;background:transparent;box-shadow:none;border:0;border-radius:0;padding:0;filter:drop-shadow(3px 7px 5px #365e651c)}
.word-balloon .balloon-face{box-sizing:border-box;width:100%;aspect-ratio:200/260;min-height:0;border:0;border-radius:0;padding:22% 14% 24%;gap:4px;background:transparent var(--balloon-skin,url('/assets/balloons/latex-rose.svg')) center/100% 100% no-repeat;box-shadow:none}
.word-balloon .balloon-face:before,.word-balloon .balloon-face:after{content:none}
.word-balloon .balloon-face .phrase-object{flex:0 1 auto;min-height:0;width:100%;margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.word-balloon .balloon-face .phrase-object img{display:block;width:100%;height:clamp(46px,8vw,82px);margin:auto;object-fit:contain;filter:drop-shadow(0 2px 2px #452e2520)}
.word-balloon .balloon-face strong{flex:none;max-width:100%;margin:0;padding:2px 0;font-size:clamp(14px,2.6vw,20px);font-weight:800;line-height:1.15;letter-spacing:-.2px;color:#302d29;background:transparent;box-shadow:none;text-shadow:0 1px 2px #ffffff70}
.word-balloon .balloon-string{width:18px;height:38px;margin:-5px auto 0;background:transparent;border-left:1px solid #6b777b9c;border-radius:45% 0 0 45%;transform:translateX(8px) rotate(-5deg)}
.word-balloon:focus-visible{outline:3px solid var(--green);outline-offset:3px;border-radius:48%}
@media(max-width:600px){.balloon-lane{padding:0 3px}.word-balloon{max-width:138px}.word-balloon .balloon-face{padding:22% 14% 24%}.word-balloon .balloon-string{height:29px}.word-balloon .balloon-face strong{font-size:clamp(12px,3.7vw,18px)}}

/* Transparent artwork behaves like ink printed beneath the latex reflections. */
.word-balloon .balloon-face{isolation:isolate}
.word-balloon .balloon-face .phrase-object{position:relative;z-index:1;mix-blend-mode:multiply}
.word-balloon .balloon-face .phrase-object img{background:transparent;max-width:100%;max-height:none;filter:none;border-radius:0;box-shadow:none}
.word-balloon .balloon-face strong{position:relative;z-index:1;mix-blend-mode:multiply;text-shadow:none}
.word-balloon .balloon-face:before{content:'';display:block;position:absolute;z-index:2;pointer-events:none;inset:5% 6% 19%;width:auto;height:auto;transform:none;border-radius:48% 48% 46% 46%;background:radial-gradient(ellipse at 24% 20%,#ffffff47 0,transparent 35%),linear-gradient(110deg,transparent 55%,#234b5714 91%);mix-blend-mode:soft-light}

/* Growth journal: persistence first, participation and learning evidence distinct. */
[data-screen="growth"]{--growth-gold:#986b26;--growth-soft:#e8eddf}
.growth-hero{border:1px solid var(--line);border-radius:24px;padding:26px;background:linear-gradient(115deg,var(--sage),var(--paper));margin-bottom:20px}
.growth-hero-title{display:flex;justify-content:space-between;align-items:center;gap:16px}.growth-hero h1{font-size:30px;margin:5px 0 10px}.growth-hero p{margin:0;color:var(--green);font-weight:650}.growth-seal{width:72px;height:72px;display:grid;place-items:center;border:1px solid #bdc79e;border-radius:50%;color:var(--growth-gold);font-size:38px;background:var(--paper);flex-shrink:0}
.growth-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:24px}.growth-metric{display:flex;flex-direction:column;gap:5px;padding:16px;background:var(--paper);border-radius:15px;border:1px solid var(--line)}.growth-metric strong{font-size:clamp(22px,2.3vw,32px);line-height:1.25;color:var(--green);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.growth-metric span{font-size:14px;font-weight:750}.growth-metric small{font-size:12px;color:var(--muted);line-height:1.5}
.growth-surface{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:22px;margin-bottom:20px;min-width:0}.growth-surface h2{font-size:21px;margin:0}.growth-surface h3{font-size:16px}.growth-surface>.section-heading{margin-bottom:16px;gap:12px;flex-wrap:wrap}.growth-surface>.section-heading>span{font-size:13px;color:var(--muted)}
.growth-overview{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:20px;align-items:stretch}.growth-month{display:flex;align-items:center;gap:5px}.growth-month strong{font-size:14px;white-space:nowrap}.growth-month button{min-width:44px;min-height:44px;padding:0;font-size:26px;border:1px solid var(--line);background:var(--bg);border-radius:12px}.growth-month button:disabled{opacity:.35}
.growth-weekdays,.growth-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.growth-weekdays{font-size:12px;text-align:center;color:var(--muted);margin-bottom:7px}.growth-date{min-width:0;min-height:48px;border:1px solid transparent;border-radius:10px;padding:3px;background:var(--bg);font-weight:750;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.growth-date i{font-size:10px;line-height:10px;font-style:normal;color:var(--line)}.growth-date.has-learning{background:var(--growth-soft);color:var(--green)}.growth-date.has-learning i{color:var(--growth-gold)}.growth-date.is-today{border-color:var(--muted)}.growth-date[aria-pressed="true"]{background:var(--green);color:var(--paper)}.growth-date[aria-pressed="true"] i{color:var(--yellow)}.growth-date:disabled{opacity:.35}.growth-date:focus-visible,.growth-route button:focus-visible{outline:3px solid var(--muted);outline-offset:2px}
.growth-calendar-totals{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:14px 0;font-size:12px;color:var(--muted);border-bottom:1px solid var(--line)}.growth-calendar-totals b{color:var(--green)}.growth-day-detail{margin-top:14px}.growth-day-detail>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.growth-day-detail h3{margin:0}.growth-day-detail span{font-size:13px;color:var(--muted)}.growth-day-detail ul{display:flex;gap:7px;flex-wrap:wrap;list-style:none;padding:0;margin:12px 0 0}.growth-day-detail li{padding:5px 9px;background:var(--bg);font-size:13px;border-radius:8px}.growth-day-detail p{font-size:13px;color:var(--muted);margin:10px 0 0}
.growth-week-card{display:flex;flex-direction:column;background:linear-gradient(160deg,#fffaf0,var(--paper));position:relative}.growth-week-card h2{font-size:24px;line-height:1.5;margin:8px 0}.growth-week-card>p{font-size:13px;color:var(--muted);margin:4px 0 18px}.growth-week-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.growth-week-numbers>div{display:flex;flex-direction:column;gap:5px;text-align:center}.growth-week-numbers strong{font-size:34px;color:var(--green);line-height:1.2}.growth-week-numbers span{font-size:12px;font-weight:700;color:var(--muted)}.growth-week-footprint{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:24px 0}.growth-week-footprint span{display:grid;place-items:center;aspect-ratio:1;border:1px solid var(--line);border-radius:50%;font-size:12px;color:var(--muted)}.growth-week-footprint .lit{background:var(--green);color:var(--paper);border-color:var(--green)}.growth-week-card>.growth-week-note{font-size:15px;color:var(--green);line-height:1.8;overflow-wrap:anywhere;margin-bottom:18px}.growth-week-download{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}.growth-week-download button{flex:1;min-height:44px;font-size:13px}.growth-week-card .export-status{margin:8px 0 0;min-height:0}
.growth-route{display:flex;gap:4px;padding:4px;background:var(--bg);border-radius:12px}.growth-route button{min-height:44px;padding:8px 17px;border:0;background:transparent;border-radius:9px;font-weight:750}.growth-route button[aria-pressed="true"]{background:var(--green);color:var(--paper)}.growth-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.growth-topic{display:flex;gap:12px;align-items:center;padding:12px;border-radius:14px;background:var(--bg);min-width:0}.growth-topic-art{width:65px;height:70px;flex-shrink:0;overflow:hidden;border-radius:10px}.growth-topic-art>*{width:100%;height:100%;object-fit:cover}.growth-topic h3{font-size:15px;margin:0 0 6px}.growth-topic p{font-size:12px;color:var(--muted);margin:4px 0 0}.growth-topic-stars{display:flex;flex-wrap:wrap;gap:2px}.growth-topic-stars i{font-style:normal;color:#c4c9ba;font-size:14px}.growth-topic-stars i.lit{color:var(--growth-gold)}.growth-learning-link{display:inline-block;margin-top:15px;padding:10px 0;color:var(--green);font-size:14px;font-weight:750}
.growth-word-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.growth-word-tags>span{display:inline-block;padding:5px 9px;background:var(--growth-soft);color:var(--green);border-radius:9px;font-size:14px;overflow-wrap:anywhere}.growth-word-tags>small{color:var(--muted);font-size:12px}.growth-evidence .evidence-grid>div{min-width:0}.growth-more{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.growth-more summary{min-height:36px;cursor:pointer;font-size:13px;font-weight:750;color:var(--green)}.growth-more p{font-size:13px;line-height:1.8;color:var(--muted);margin:8px 0}.growth-more .growth-topic-grid{margin-top:12px}
.growth-evidence .evidence-grid>div{display:block}
.growth-week-card>.growth-week-note{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.growth-week-numbers strong{font-size:clamp(22px,3.4vw,34px);overflow-wrap:anywhere}

.helper-game{max-width:820px;margin:auto;padding:24px}.helper-game h1{font-size:25px;margin:5px 0}.helper-game .section-heading>span{font-weight:750;color:var(--muted)}.helper-dialogue{display:flex;align-items:center;gap:14px;margin:16px 0;padding:14px;background:var(--sage);border-radius:18px}.helper-dialogue img{width:64px;height:64px;object-fit:cover;border-radius:50%;flex-shrink:0}.helper-dialogue p{margin:0;font-weight:700;line-height:1.7}.helper-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.helper-options>button{min-width:0;padding:12px;border:2px solid var(--line);background:var(--paper);border-radius:18px;min-height:130px}.helper-options>button:hover:not(:disabled){border-color:var(--green);background:var(--sage)}.helper-options>button.is-picked{border-color:var(--green);background:var(--sage)}.helper-options .phrase-object{margin:0;background:transparent;padding:0;min-height:0}.helper-options .phrase-object img{height:130px;width:100%;max-height:130px;max-width:100%;object-fit:contain}.helper-options strong{display:block;font-size:18px;margin-top:8px;overflow-wrap:anywhere}.helper-reveal{max-width:210px;margin:12px auto}.helper-reveal .phrase-object{padding:0;background:transparent}.helper-reveal img{max-height:170px}.helper-game .english-phrase{text-align:center;margin:16px 0;font-size:clamp(23px,4vw,32px)}.helper-game>.primary{display:block;margin:14px auto 0;min-width:160px;min-height:48px}.helper-game .voice-buttons{justify-content:center;flex-wrap:wrap}.helper-game .fun-status{text-align:center}.helper-delivery{display:flex;flex-direction:column;align-items:center;gap:14px;margin:20px 0}.helper-delivery .phrase-object{width:180px;max-height:180px}.helper-delivery img{max-height:150px}.helper-wave{font-size:64px;color:var(--green)}.helper-roles{display:flex;justify-content:center;align-items:center;gap:16px;margin:14px 0}.helper-roles span{padding:10px 20px;border-radius:24px;font-size:14px;font-weight:750;background:var(--bg);color:var(--muted)}.helper-roles span.active{background:var(--green);color:var(--paper)}.helper-roles>span:nth-child(2){padding:0;background:transparent}.helper-game button:focus-visible{outline:3px solid var(--muted);outline-offset:3px}
@media(max-width:600px){.helper-game{padding:16px}.helper-game h1{font-size:22px}.helper-dialogue{padding:12px;gap:10px}.helper-dialogue img{width:48px;height:48px}.helper-dialogue p{font-size:14px}.helper-options{gap:8px}.helper-options>button{padding:8px;min-height:115px}.helper-options .phrase-object img{height:95px;max-height:95px}.helper-options strong{font-size:14px}.helper-game .voice-buttons button{font-size:13px;padding:9px;min-height:44px}.helper-roles span{padding:9px 18px}}
.growth-points>.section-heading>strong{color:var(--growth-gold);font-size:22px}.growth-badges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.growth-badges>div{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:16px 8px;border-radius:14px;background:var(--bg);color:var(--muted)}.growth-badges span{font-size:30px}.growth-badges b{font-size:14px}.growth-badges small{font-size:12px}.growth-badges .earned{background:#f6edd9;color:var(--growth-gold)}.growth-ledger{list-style:none;padding:0;margin:0}.growth-ledger li{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.growth-ledger small{display:block;margin-top:5px;color:var(--muted);font-size:12px}.growth-ledger b{color:var(--growth-gold)}
.growth-observation-fold>summary{cursor:pointer;font-size:20px;font-weight:750;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}.growth-observation-fold>summary span{font-size:13px;color:var(--muted)}.growth-observation-fold .timeline{margin-top:16px}.growth-observation-fold .timeline .paper-panel{box-shadow:none;background:var(--bg)}
@media(max-width:1000px){.growth-metrics{gap:9px}.growth-metric{padding:13px}.growth-overview{grid-template-columns:1fr 1fr;gap:16px}.growth-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-surface{padding:18px}.growth-month strong{font-size:12px}.growth-surface>.section-heading{gap:6px}}
@media(max-width:760px){.growth-hero{padding:20px;border-radius:20px}.growth-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}.growth-overview{grid-template-columns:minmax(0,1fr);gap:0}.growth-week-card{padding:22px}.growth-week-footprint{max-width:360px;width:100%;margin:18px 0}.growth-week-card>.growth-week-note{margin-bottom:16px}.growth-week-numbers{padding:14px 0}.growth-week-card h2{font-size:22px}.growth-hero h1{font-size:27px}.growth-seal{width:56px;height:56px;font-size:30px}.growth-hero-title .eyebrow{font-size:11px}.growth-hero p{font-size:14px}.growth-surface{margin-bottom:16px}.growth-badges{grid-template-columns:repeat(2,minmax(0,1fr))}.growth-evidence .evidence-grid{grid-template-columns:minmax(0,1fr)}.growth-evidence .evidence-grid>div{padding:14px}.growth-word-tags{margin-top:8px}.growth-topic-art{width:52px;height:60px}.growth-topic{gap:8px;padding:10px}.growth-topic h3{font-size:14px}.growth-topic-stars i{font-size:12px}}
@media(max-width:440px){.growth-hero{padding:16px}.growth-surface{padding:15px}.growth-metric{padding:12px}.growth-metric strong{font-size:24px}.growth-topic-grid{grid-template-columns:minmax(0,1fr)}.growth-topic-art{width:62px;height:62px}.growth-date{min-height:44px}.growth-calendar-grid,.growth-weekdays{gap:3px}.growth-calendar .section-heading{align-items:center}.growth-calendar h2{font-size:18px}.growth-month button{min-width:44px}.growth-month strong{font-size:12px}}

.helper-role-picker{max-width:820px;margin:auto;padding:24px}.helper-role-picker h1{margin:6px 0 22px;font-size:26px}.helper-role-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.helper-role-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:24px 20px;gap:12px;border:2px solid var(--line);border-radius:22px;background:var(--paper);color:var(--ink);cursor:pointer;min-width:0}.helper-role-card:hover{border-color:var(--green);background:var(--sage)}.helper-role-card:active{transform:translateY(1px)}.helper-role-card:focus-visible{outline:3px solid var(--green);outline-offset:4px}.helper-role-card img{border-radius:50%;object-fit:cover}.helper-role-you{display:grid;place-items:center;width:80px;height:80px;border-radius:50%;background:var(--sage);color:var(--green);font-size:32px;font-weight:800}.helper-role-card h2{font-size:24px;margin:0}.helper-role-card p{font-size:16px;font-weight:650;line-height:1.65;margin:0;text-wrap:pretty}.helper-role-card strong{margin-top:auto;padding-top:6px;color:var(--green);font-size:16px}.helper-role-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:12px 0}.helper-role-toolbar .back{margin:0;min-height:44px}.helper-role-toolbar strong{color:var(--green);font-size:15px}
@media(max-width:520px){.helper-role-picker{padding:16px}.helper-role-cards{grid-template-columns:minmax(0,1fr);gap:12px}.helper-role-card{display:grid;grid-template-columns:64px minmax(0,1fr);text-align:left;align-items:center;gap:6px 16px;padding:18px}.helper-role-card img,.helper-role-you{grid-row:1/4;width:64px;height:64px}.helper-role-card h2{font-size:22px}.helper-role-card p{font-size:15px}.helper-role-card strong{font-size:15px}}

/* Feedback stays centered on the chosen object, without moving the options. */
.narrative-objects .phrase-object,.sound-picture-choice .phrase-object{position:relative}.narrative-answer-mark{position:absolute;z-index:3;left:50%;top:50%;display:grid;place-items:center;width:clamp(48px,8vw,68px);height:clamp(48px,8vw,68px);border-radius:50%;transform:translate(-50%,-50%);background:#fffdf8f5;box-shadow:0 3px 16px #293c3533;border:3px solid currentColor;pointer-events:none;animation:narrative-mark-pop .24s ease-out}.narrative-answer-mark.is-correct{color:#247440}.narrative-answer-mark.is-incorrect{color:#c13737}.narrative-answer-mark svg{width:80%;height:80%;fill:none;stroke:currentColor;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.narrative-objects .choice:disabled{opacity:1}
@keyframes narrative-mark-pop{from{opacity:0;transform:translate(-50%,-50%) scale(.65)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@media(prefers-reduced-motion:reduce){.narrative-answer-mark{animation:none}}

.sound-comparison .fun-sound-option{grid-template-rows:clamp(96px,18vw,160px) auto auto}.sound-picture-choice{display:block;width:100%;height:100%;min-height:0;padding:0;border:2px solid transparent;border-radius:12px;background:transparent;cursor:pointer}.sound-picture-choice>.phrase-object{height:100%;min-height:0;margin:0;padding:0;pointer-events:none}.sound-picture-choice:hover:not(:disabled){border-color:var(--green);background:var(--sage)}.sound-picture-choice:focus-visible{outline:3px solid var(--green);outline-offset:3px}.sound-picture-choice:disabled{opacity:1;cursor:default}

.choice-feedback-target{position:relative;display:inline-grid;place-items:center;min-width:48px;min-height:48px}.choice-feedback-target>img{display:block}.helper-options .phrase-object,.practice-answers .choice,.phrase-object{position:relative}.word-balloon>.choice-feedback-mark{top:40%}.picnic-page .fruit-pick .choice-feedback-target{display:grid;width:100%}.helper-options .choice:disabled,.letter-answers .choice:disabled,.practice-answers .choice:disabled{opacity:1}

/* A theme-local shortcut; activity cards and progress remain independent. */
.fruit-short-session{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;margin:0 0 20px;border:1px solid #dfdbc9;border-radius:20px;background:#f4f6e9}
.fruit-short-session h2{font-size:20px;margin:0 0 5px;font-weight:800}
.fruit-short-session p{margin:0;font-weight:600}
.fruit-short-session .primary{flex-shrink:0;min-height:44px}
@media(max-width:560px){.fruit-short-session{padding:16px;align-items:stretch;flex-direction:column;gap:12px}.fruit-short-session .primary{width:100%;justify-content:center}}
/* A continuous picnic: shared progress, one focal task, automatic transitions. */
.fruit-journey-eyebrow{display:block;font-size:12px;font-weight:800;letter-spacing:.05em;color:var(--green);margin-bottom:5px}
.fruit-journey-path{display:flex;gap:12px;list-style:none;padding:0;margin:0 auto 18px;max-width:850px}
.fruit-journey-path li{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 6px;border-bottom:3px solid var(--line);color:var(--muted);font-size:14px;font-weight:700}
.fruit-journey-path li.current{border-color:var(--green);color:var(--green)}
.fruit-journey-path li.finished{border-color:#a9bda4;color:var(--green)}
.fruit-journey-path li button>span{display:grid;place-items:center;width:26px;height:26px;flex-shrink:0;border-radius:50%;background:var(--sage)}
.fruit-journey-path li.current button>span{background:var(--green);color:var(--paper)}
.fruit-recognition,.fruit-journey-summary,.fruit-journey-paused{max-width:850px;margin:0 auto;text-align:center}
.fruit-recognition .phrase-object{max-width:400px;margin:12px auto}
.fruit-recognition .phrase-object img{max-height:300px;object-fit:contain}
.fruit-recognition .voice-buttons{justify-content:center}
.fruit-journey-summary{padding:24px}
.fruit-summary-art{height:145px;max-width:230px;margin:auto;overflow:hidden}
.fruit-summary-art svg,.fruit-summary-art img{width:100%;height:100%;object-fit:contain}
.fruit-journey-summary h1{margin:12px 0 8px}
.fruit-session-results{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}
.fruit-session-results>div{padding:15px 8px;background:var(--sage);border-radius:14px}
.fruit-session-results b{display:block;font-size:26px;font-weight:800;color:var(--green)}
.fruit-session-results span{font-size:14px;font-weight:700}
.fruit-session-evidence{text-align:left;border-top:1px solid var(--line);padding:18px 0 22px}
.fruit-session-evidence h2{font-size:18px;margin-bottom:8px}
.fruit-session-evidence small{display:block;color:var(--muted);margin-top:8px;font-weight:600}
.fruit-journey-paused h1{margin-bottom:20px}
@media(max-width:560px){.fruit-journey-path{gap:5px;margin-bottom:12px}.fruit-journey-path li{gap:4px;font-size:12px;padding:8px 0}.fruit-journey-path li button>span{width:22px;height:22px}.fruit-recognition .phrase-object img{max-height:230px}.fruit-journey-summary{padding:18px 14px}.fruit-session-results{gap:6px}.fruit-session-results span{font-size:12px}.fruit-session-results b{font-size:23px}}

.fruit-word-picture>.phrase-object{height:310px;background:transparent;padding:8px 0 16px}
.fruit-word-picture>.phrase-object img{flex:1;max-width:90%;max-height:255px}
.fruit-recognition .phrase-object-word b{font-size:30px}
.fruit-word-evidence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.fruit-word-evidence>div{display:flex;flex-direction:column;padding:12px;background:var(--bg);border-radius:12px}
.fruit-word-evidence b{font-size:19px;color:var(--green)}
.fruit-word-evidence span{font-size:12px;font-weight:600}
@media(max-width:560px){.fruit-word-picture>.phrase-object{height:265px}.fruit-word-picture>.phrase-object img{max-height:210px}.fruit-word-evidence{grid-template-columns:1fr;gap:6px}.fruit-word-evidence>div{display:grid;grid-template-columns:70px 1fr;gap:2px 8px;padding:8px 10px}.fruit-word-evidence b{grid-row:span 2;align-self:center}}

.fruit-journey-navigation{max-width:850px;margin:auto}
.fruit-journey-stage-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}
.fruit-journey-stage-controls .fruit-stage-button{display:flex;align-items:center;justify-content:center;gap:10px;min-width:130px;min-height:54px;padding:10px 20px;border:2px solid var(--green);border-radius:14px;background:var(--paper);color:var(--green);font-size:19px;font-weight:800;box-shadow:0 3px 0 #294f4317}
.fruit-journey-stage-controls .fruit-stage-next{background:var(--green);color:var(--paper)}
.fruit-journey-stage-controls .fruit-stage-button svg{width:23px;height:23px}
.fruit-journey-stage-controls .fruit-stage-button:hover:not(:disabled){background:var(--sage)}
.fruit-journey-stage-controls .fruit-stage-next:hover:not(:disabled){background:#1f4036}
.fruit-journey-stage-controls .fruit-stage-button:disabled{opacity:.35;box-shadow:none}
.fruit-journey-path li{padding:0;min-width:0}
.fruit-journey-path li button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;padding:8px 4px;font-size:inherit;font-weight:inherit}
@media(max-width:560px){.fruit-journey-path li button{gap:4px;font-size:12px}.fruit-journey-stage-controls .fruit-stage-button{min-width:118px;min-height:50px;padding:9px 14px;font-size:18px}}

/* Page navigation stays beside the object at every viewport size. */
.fruit-word-stage{display:grid;grid-template-columns:92px minmax(0,1fr) 92px;gap:clamp(16px,3vw,32px);align-items:center;margin:12px 0 18px}
.fruit-word-picture{min-width:0}
.fruit-word-picture>.phrase-object{width:100%;margin:0 auto}
.fruit-page-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:84px;padding:12px 6px;border:2px solid #b7c6b0;border-radius:18px;background:var(--sage);color:var(--green);font-size:16px;font-weight:800;line-height:1.3;box-shadow:0 3px 0 #294f4310}
.fruit-page-button svg{width:28px;height:28px}
.fruit-page-button span{white-space:nowrap}
.fruit-page-next{border-color:var(--green);background:var(--green);color:var(--paper)}
.fruit-page-button:hover:not(:disabled){border-color:var(--green);background:#dce7d4}
.fruit-page-next:hover:not(:disabled){background:#1f4036}
.fruit-page-button:disabled{opacity:.3;box-shadow:none}
@media(max-width:560px){.fruit-word-stage{grid-template-columns:56px minmax(0,1fr) 56px;gap:8px;margin:10px 0 14px}.fruit-page-button{min-height:72px;padding:10px 3px;border-radius:14px;font-size:14px;gap:5px}.fruit-page-button svg{width:25px;height:25px}.fruit-word-picture .phrase-object-word b{font-size:25px}}

/* Caregiver pronunciation reference, adjacent to the word and allowed to wrap. */
.word-pronunciation-line{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:6px 12px;max-width:100%}
.word-pronunciation-line .english-phrase{margin-bottom:0}
.word-ipa,.phrase-object-word .word-ipa{font-family:"Arial","Helvetica Neue",sans-serif;font-size:17px;font-weight:600;line-height:1.4;color:#526358;font-style:normal;letter-spacing:normal;overflow-wrap:anywhere}
.phrase-object-word{justify-content:center;flex-wrap:wrap;max-width:100%;row-gap:4px}
.fruit-recognition .phrase-object-word .word-ipa{font-size:18px}
@media(max-width:560px){.word-ipa,.phrase-object-word .word-ipa,.fruit-recognition .phrase-object-word .word-ipa{font-size:16px}.fruit-recognition .phrase-object-word{column-gap:7px}.word-pronunciation-line{gap:4px 9px}}

/* Shared display-card alignment across learning, play and growth pages.
   Keep these rules after responsive layouts so cards stay centered on phones. */
.theme-card,.care-theme-card,.care-activity-card,.fun-card,
.helper-role-card,.growth-topic,.growth-metric,.growth-week-card,
.growth-badges>div,.evidence-grid>div,.observation-card,
.growth-observations .timeline>.paper-panel{ text-align:center; }

.care-theme-card{grid-template-columns:minmax(0,1fr);justify-items:center}
.care-theme-card>p,.care-theme-heading{width:100%}
.care-theme-card .care-theme-footer{width:100%;flex-direction:column;align-items:center;justify-content:center}
.care-theme-footer .activity-progress{flex-direction:column;align-items:center;justify-content:center;gap:6px}
.care-theme-footer .activity-stars{justify-content:center;flex-wrap:wrap}
.care-activity-card{align-items:center}
.care-activity-link{justify-content:center;gap:8px}

.fun-card,.fun-game-list .fun-card{display:flex;flex-direction:column;align-items:stretch}
.fun-card-art{flex-shrink:0;grid-row:auto}
.fun-card>svg{align-self:center}
.fun-card .fun-completion{display:block;text-align:center}
.helper-role-card{display:flex;flex-direction:column;align-items:center;text-align:center}
.helper-role-card img,.helper-role-card .helper-role-you{grid-row:auto;flex-shrink:0}

.topic-overview .activity-choice{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.topic-activity-copy{width:100%}
.topic-overview .activity-choice>svg{align-self:center;margin-top:auto}

.growth-topic{flex-direction:column;align-items:center;justify-content:center}
.growth-topic>div:last-child{width:100%;min-width:0}
.growth-topic-stars{justify-content:center}
.growth-metric{align-items:center}
.growth-week-card>.growth-week-footprint{align-self:center;width:100%;max-width:360px}
.growth-word-tags{justify-content:center}
.evidence-grid>div{justify-content:center}
.observation-head,.observation-card .tag-row{justify-content:center;flex-wrap:wrap}
.growth-card>h3,.handbook-card>.section-heading{text-align:center}
.handbook-card>.section-heading{flex-direction:column;justify-content:center;gap:6px}
.export-formats{justify-content:center}
.fruit-word-evidence>div{display:flex;flex-direction:column;align-items:center;text-align:center}
.fruit-word-evidence b{grid-row:auto}

/* Exact concept representations share the word-card slot without a misleading object. */
.concept-color{display:block;width:150px;height:150px;border-radius:28px;background:var(--concept-color);box-shadow:inset 0 0 0 2px #0000000a;margin:12px auto}
.concept-circle{display:block;width:145px;height:145px;border:6px solid #cf773b;border-radius:50%;background:#ffd46c;margin:12px auto}
.practice-object>img{display:block;max-width:240px;max-height:220px;width:100%;object-fit:contain;margin:auto}
.spatial-scene{position:relative;display:block;width:240px;max-width:100%;height:200px;margin:auto;isolation:isolate;background:#f8f3e4;border-radius:16px}
.spatial-container{position:absolute;left:20%;top:42%;width:60%;height:45%;border:3px solid #9e794b;border-radius:5px;background:#dec397;z-index:1}
.spatial-front{display:none}
.spatial-scene .spatial-object{position:absolute;width:62px;height:62px;object-fit:contain;left:calc(50% - 31px);top:14%;z-index:2;mix-blend-mode:multiply}
.container-table .spatial-container{height:12px;top:48%;border-radius:4px}
.container-table .spatial-container:before,.container-table .spatial-container:after{content:'';position:absolute;top:8px;width:7px;height:75px;background:#9e794b}
.container-table .spatial-container:before{left:8%}.container-table .spatial-container:after{right:8%}
.spatial-in .spatial-object{top:45%}.spatial-in .spatial-front{display:block;position:absolute;left:20%;top:65%;width:60%;height:22%;background:#c79d69;border:3px solid #9e794b;border-top:0;z-index:3}
.spatial-under .spatial-object{top:63%}.spatial-beside .spatial-object{top:62%;left:1%}
.spatial-beside .spatial-container{left:40%;width:52%}
.spatial-on .spatial-object{top:17%}
.phrase-object>.spatial-scene{flex:1 1 160px;min-height:160px}
.practice-answers .spatial-scene{width:200px}
@media(max-width:560px){.concept-color{width:115px;height:115px}.concept-circle{width:110px;height:110px}.spatial-scene{width:190px;height:180px}}
.topic-understanding-entry{display:flex;justify-content:center;margin:0 auto 18px;min-height:48px}
.spatial-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.spatial-answers>.choice{min-width:0;padding:10px;width:100%}
.spatial-answers .choice-feedback-target{display:block;width:100%}
.spatial-answers .spatial-scene{width:240px}
@media(max-width:440px){.spatial-answers{gap:8px}.spatial-answers>.choice{padding:5px}.spatial-answers .spatial-scene{height:165px}.spatial-answers .spatial-object{width:48px;height:48px;left:calc(50% - 24px)}.spatial-answers .spatial-beside .spatial-object{left:1%}}
.concept-door{display:block;position:relative;width:115px;height:160px;border:8px solid #ad8b61;background:#485e57;margin:10px auto;perspective:350px}
.concept-door i{display:block;position:absolute;inset:0;background:#c97042;transform-origin:left center;border:3px solid #874d33}
.concept-door i:after{content:'';position:absolute;right:8px;top:52%;width:9px;height:9px;border-radius:50%;background:#f4d57b}
.door-open i{transform:rotateY(-65deg)}

/* Same-noun comprehension: equal-size art, no numeric answer labels. */
.understanding-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
.understanding-options:has(> :nth-child(3)) { grid-template-columns:repeat(3,minmax(0,1fr)); }
.quantity-scene { display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;min-height:190px;width:100%; }
.quantity-scene img { width:70px;height:95px;object-fit:contain;flex:0 0 70px; }
.understanding-options .choice { min-width:0;padding:12px 6px; }
.understanding-task .fun-story-stage .quantity-scene { max-width:300px;margin:auto; }
@media(max-width:600px){
 .quantity-scene { min-height:150px;gap:4px; }
 .quantity-scene img { width:56px;height:72px;flex-basis:56px; }
 .understanding-options:has(> :nth-child(3)) { grid-template-columns:1fr; }
 .understanding-options:has(> :nth-child(3)) .quantity-scene { min-height:82px; }
}

.journey-task .journey-task-sentence { text-align:center;font-weight:700;text-wrap:pretty; }

/* Compare one visible attribute, using the same art and equal choice surfaces. */
.size-scene { display:flex;align-items:center;justify-content:center;width:100%;height:200px; }
.size-scene img { object-fit:contain;max-width:90%; }
.size-scene.size-big img { width:160px;height:160px; }
.size-scene.size-small img { width:72px;height:72px; }
.vertical-scene { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:220px; }
.vertical-scene img { width:88px;height:88px;object-fit:contain; }
.vertical-scene.target-below .vertical-target { order:2; }
.vertical-scene.target-below .vertical-anchor { order:1; }
.picture-count img { border:2px solid var(--line);border-radius:8px;padding:3px;background:var(--paper); }
.understanding-task .fun-story-stage>.size-scene { max-width:240px;margin:auto; }
@media(max-width:600px){
 .size-scene { height:170px; }
 .size-scene.size-big img { width:125px;height:125px; }
 .size-scene.size-small img { width:56px;height:56px; }
 .vertical-scene { min-height:190px;gap:8px; }
 .vertical-scene img { width:76px;height:76px; }
}

/* P2: dated examples first; totals remain available without competing cards. */
.growth-example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.growth-example-card{min-width:0;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--paper)}
.growth-example-card h3{font-size:18px;margin:0 0 12px}.growth-example-card ul{list-style:none;padding:0;margin:0}
.growth-example-card li+li{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}
.growth-example-card li b,.growth-example-card li span,.growth-example-card li small{display:block;overflow-wrap:anywhere}
.growth-example-card li b{font-size:18px;line-height:1.45;margin-bottom:6px;color:var(--green)}
.growth-example-card li span,.growth-example-card li small,.growth-example-card details{font-size:13px;line-height:1.65}
.growth-example-card li small,.growth-example-empty{color:var(--muted)}.growth-example-card details{margin-top:8px}
.growth-next-step{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px;font-weight:700}
.growth-statistics>summary{font-weight:750;cursor:pointer}.growth-statistics .growth-evidence{margin:16px 0 0;padding:0;border:0;box-shadow:none}
.narrative-content{display:grid;grid-template-columns:minmax(210px,1fr) minmax(0,1.2fr);align-items:center;gap:20px;margin:14px auto}
.narrative-content .narrative-scene{height:220px;margin:0}.narrative-content .narrative-lines{margin:0}
.narrative-history{margin:0 0 12px;font-size:14px}.narrative-history summary{font-weight:700;cursor:pointer;color:var(--muted)}
.picnic-story-scene{position:relative;width:100%;height:220px;overflow:hidden;isolation:isolate;border-radius:20px;background:linear-gradient(#edf4e4 0 67%,#dce4c6 67%);margin:auto}
.picnic-path{position:absolute;width:140%;height:40px;left:-20%;bottom:12px;background:#dac49a;transform:rotate(-8deg);border-radius:50%}
.picnic-character{position:absolute;z-index:2;bottom:30px;width:86px;height:130px}.picnic-rabbit{left:8%}.picnic-bear{right:7%;animation:story-arrive .4s ease-out}
.picnic-story-scene img{width:100%;height:100%;object-fit:contain;background:transparent;mix-blend-mode:multiply}
.picnic-bag{position:absolute;left:38%;bottom:38px;width:95px;height:83px;border:3px solid #9e794b;border-radius:12px 12px 22px 22px;background:#dec397;z-index:3}
.picnic-bag-handle{position:absolute;left:24px;top:-26px;width:42px;height:36px;border:5px solid #9e794b;border-radius:50%;z-index:-1}
.picnic-bag-fruit{display:flex;align-items:center;justify-content:center;height:65px;gap:2px}.picnic-bag-fruit img{width:38px;height:48px}
.picnic-story-pear{position:absolute;bottom:7px;left:62%;width:43px;height:48px;z-index:4;animation:story-drop .4s ease-out}
.scene-pear-found .picnic-story-pear,.scene-share-apple .picnic-story-pear{right:12%;left:auto;bottom:76px}
.picnic-shared-apple{position:absolute;left:47%;bottom:13px;width:55px;height:55px;z-index:5;background:var(--paper);border-radius:50%;animation:story-arrive .4s ease-out}
.scene-share-apple .bag-apple{visibility:hidden}.fruit-summary-art:has(.picnic-story-scene){height:auto;max-width:400px;margin:auto}
@keyframes story-arrive{from{opacity:.4;transform:translateX(12px)}to{opacity:1;transform:translateX(0)}}
@keyframes story-drop{from{transform:translateY(-45px)}to{transform:translateY(0)}}
@media(max-width:700px){.growth-example-grid{grid-template-columns:minmax(0,1fr)}.narrative-content{grid-template-columns:minmax(0,1fr);gap:12px}.narrative-content .narrative-scene,.picnic-story-scene{height:180px}.narrative-current{font-size:clamp(21px,5vw,28px)}.picnic-character{height:108px;width:72px}.picnic-bag{left:37%}}
@media(prefers-reduced-motion:reduce){.picnic-story-scene *{animation:none!important}}

.fun-ending>.picnic-story-scene{max-width:420px;margin-bottom:16px}

/* ===== Task-based home (V1.2 UI iteration): hero card, slim directory, week strip ===== */
.site-header nav button { display:flex; align-items:center; gap:6px; }
.site-header nav button svg { width:16px; height:16px; }
.parent-button { background:var(--green); color:var(--paper); border:1px solid var(--green); border-radius:999px; padding:8px 16px; font-size:13px; }
.parent-button:hover { background:#1f4036; }
.home-directory-heading { margin:24px 0 12px; }
.home-directory-heading h2 { font-size:18px; }
.daily-hero { margin-top:16px; max-width:520px; }
.hero-card { display:block; width:100%; text-align:left; background:var(--paper); border:1px solid #e3e3d7; border-radius:16px; overflow:hidden; padding:0; transition:border-color .15s,transform .15s; }
.hero-card:hover { border-color:#a1b18e; transform:translateY(-2px); }
.hero-media { position:relative; display:block; aspect-ratio:3/2; background:var(--sage); overflow:hidden; }
.hero-media img { width:100%; height:100%; object-fit:cover; display:block; }
.hero-badge { position:absolute; top:10px; left:10px; background:var(--green); color:var(--paper); border-radius:999px; padding:4px 12px; font-size:12px; font-weight:700; }
.hero-body { display:block; padding:14px 16px 16px; }
.hero-title { display:block; font-size:17px; font-weight:700; color:var(--ink); }
.hero-meta { display:block; font-size:13px; color:var(--muted); font-weight:500; margin:4px 0 12px; }
.hero-cta { display:flex; align-items:center; justify-content:center; gap:6px; background:var(--green); color:var(--paper); border-radius:12px; padding:12px; font-size:15px; font-weight:700; }
.hero-card:hover .hero-cta { background:#1f4036; }
.hero-cta svg { width:18px; height:18px; }
.hero-week { margin:10px 2px 0; font-size:12px; color:var(--muted); font-weight:500; }
.theme-card .theme-picture, .care-theme-card .care-theme-picture { position:relative; }
.theme-badge { position:absolute; top:8px; right:8px; margin:0; background:var(--paper); color:var(--green); border:1px solid var(--line); border-radius:999px; padding:3px 10px; font-size:12px; font-weight:700; text-align:center; }
.theme-badge.lit { background:var(--green); color:var(--paper); border-color:var(--green); }
/* Kid-friendly journey steps: 44px icon nodes with labels below. */
.fruit-journey-path li button { flex-direction:column; gap:6px; }
.fruit-journey-path li button>span { width:44px; height:44px; }
.fruit-journey-path li button>span svg { width:22px; height:22px; }
.fruit-journey-path li button small { font-size:12px; font-weight:600; }
@media(max-width:560px){
 .fruit-journey-path li button>span { width:36px; height:36px; }
 .fruit-journey-path li button>span svg { width:18px; height:18px; }
 .hero-title { font-size:16px; }
}
.hero-media .realistic-scene, .hero-media .realistic-animal { object-fit:cover; border-radius:0; max-height:none; height:100%; }
.hero-media .realistic-fruit-group { height:100%; padding:5px; gap:4px; border-radius:0; align-content:center; }
.hero-media .realistic-fruit-group .realistic-fruit { height:100%; max-height:none; object-fit:cover; }
.hero-media .realistic-fruit-group { grid-template-rows:minmax(0,1fr); }
.parent-button { white-space:nowrap; }
@media(max-width:560px){ .parent-button { padding:7px 12px; font-size:12px; } }
/* ===== 0-3 上滑即走（2026-11-21） ===== */
.play-topbar { display:flex; align-items:center; gap:12px; margin-bottom:4px; }
.play-topbar .dots { flex:1; }
.play-count { font-size:12px; color:var(--muted); white-space:nowrap; }
.care-help { width:34px; height:34px; min-height:34px; padding:0; border-radius:50%; border:1px solid var(--line); background:var(--paper); color:var(--muted); font-size:15px; }
.care-help:focus-visible { outline:3px solid var(--muted); outline-offset:2px; }
.care-pledge { grid-column:1/-1; margin:0; padding:0 20px 12px; font-size:12px; color:var(--muted); text-align:center; }
.stop-note { margin:12px 0 0; padding:10px 14px; background:#faeeda; border-radius:10px; font-size:14px; line-height:1.65; color:#633806; }
.stop-note b { color:#854f0b; }
/* ===== 乐园封面铺满 + 0-3 精选大卡（2026-11-21） ===== */
.fun-card-art img.realistic-scene,.fun-card-art img.realistic-animal { object-fit:cover; object-position:center; }

/* ===== 首次使用引导（2026-11-21） ===== */
.onboarding-overlay { position:fixed; inset:0; z-index:80; background:rgba(41,79,67,.5); display:flex; align-items:center; justify-content:center; padding:20px; }
.onboarding-card { background:var(--paper); border-radius:20px; padding:22px; width:100%; max-width:400px; max-height:calc(100vh - 40px); overflow:auto; text-align:center; }
.onboarding-art { height:150px; border-radius:14px; overflow:hidden; margin-bottom:14px; }
.onboarding-art img { width:100%; height:100%; object-fit:cover; display:block; }
.onboarding-card h2 { font-size:20px; margin:0 0 6px; }
.onb-lead { font-size:14px; color:#596353; margin:0 0 14px; line-height:1.7; }
.onb-points { text-align:left; list-style:none; margin:0 0 16px; padding:0; display:grid; gap:10px; counter-reset:onb; }
.onb-points li { display:flex; gap:10px; align-items:flex-start; font-size:14px; line-height:1.6; color:#3d4437; }
.onb-points li b { color:#294f43; }
.onb-points li::before { counter-increment:onb; content:counter(onb); flex:none; width:22px; height:22px; border-radius:50%; background:var(--sage); color:var(--green); font-size:12px; font-weight:750; display:flex; align-items:center; justify-content:center; margin-top:2px; }
.onboarding-card .primary { width:100%; min-height:48px; }
/* ===== 情景交流角色卡头像修复 + 全局图片兜底（2026-11-21） ===== */
.helper-role-card img { width:80px; height:80px; }
img { max-width:100%; height:auto; }
/* ===== 4-6 共玩：听觉按钮主操作化 + 选项放大（2026-11-21） ===== */
body:is([data-age="3-4"],[data-age="5-6"]) .voice-english { min-height:58px; padding:12px 24px; font-size:16px; font-weight:750; border-radius:14px; gap:10px; }
body:is([data-age="3-4"],[data-age="5-6"]) .voice-english svg { width:22px; height:22px; }
body:is([data-age="3-4"],[data-age="5-6"]) .voice-chinese { min-height:44px; padding:9px 14px; font-size:12px; color:var(--muted); border:1px dashed var(--line); background:transparent; }
body:is([data-age="3-4"],[data-age="5-6"]) .voice-chinese svg { width:16px; height:16px; }
body:is([data-age="3-4"],[data-age="5-6"]) .fun-answer-grid>.choice { padding:14px; }
body:is([data-age="3-4"],[data-age="5-6"]) .fun-answer-grid .phrase-object img { max-height:200px; }
body:is([data-age="3-4"],[data-age="5-6"]) .letter-answers .choice { font-size:76px; }
@media(max-width:600px){
 body:is([data-age="3-4"],[data-age="5-6"]) .fun-answer-grid .phrase-object img { max-height:150px; }
 body:is([data-age="3-4"],[data-age="5-6"]) .voice-english { min-height:54px; font-size:15px; }
}

/* Supported teaching: same paper, green, type and touch targets as the existing activities. */
.teaching-pilot-entry{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;margin:20px 0;border:1px solid var(--line);border-radius:20px;background:var(--sage)}
.teaching-pilot-entry h2{font-size:24px;margin:6px 0}.teaching-pilot-entry p{margin:8px 0;line-height:1.6}.teaching-pilot-entry button{flex-shrink:0}
.teaching-pilot{max-width:860px;margin:auto;padding:28px;text-align:center}.teaching-pilot h2{font-size:24px;margin:20px 0 12px}.teaching-pilot p{line-height:1.7;text-wrap:pretty}.teaching-pilot .english-phrase{margin:18px 0}.teaching-pilot .voice-buttons,.pilot-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:18px 0}.teaching-pilot button{min-height:48px}
.pilot-demo,.pilot-object,.pilot-handover{display:flex;justify-content:center;align-items:center;max-width:380px;min-height:180px;margin:20px auto;background:var(--sage);padding:18px;border-radius:18px}.pilot-demo>img,.pilot-object>img,.pilot-handover>img{max-height:210px;max-width:100%;object-fit:contain}.pilot-demo .spatial-scene{width:100%;height:220px}.pilot-position-options{grid-template-columns:repeat(2,minmax(0,1fr))}.pilot-position-options .choice{min-width:0;padding:12px}.pilot-position-options .spatial-scene{width:100%;height:210px}.pilot-observation,.pilot-boundary{margin:22px 0;padding:16px;border:1px solid var(--line);border-radius:14px;text-align:left}.pilot-observation-options{display:flex;flex-wrap:wrap;gap:10px}.pilot-boundary{color:var(--muted)}
@media(max-width:600px){.teaching-pilot-entry{flex-direction:column;align-items:stretch;padding:18px}.teaching-pilot{padding:18px}.teaching-pilot h2{font-size:21px}.pilot-position-options{gap:8px}.pilot-position-options .spatial-scene{height:160px}.pilot-actions>button{flex:1 1 160px}}

.pilot-layout-change .spatial-scene{transform:scale(.88) translateX(6px);background:var(--paper);border-radius:16px}

.pilot-flow-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:16px 0 20px}.pilot-flow-controls span{font-size:14px;color:var(--muted)}.teaching-pilot>button[data-pilot="next"]{display:block;margin:16px auto 0}.teaching-pilot .pilot-actions .text-button{font-size:15px}

.teaching-pilot-entry{flex-wrap:wrap}.teaching-variants{flex-basis:100%;width:100%}.teaching-variants summary{color:var(--muted);cursor:pointer}.teaching-variants button{margin:10px 12px 0 0}

.pilot-demo:has(.pilot-comparison){max-width:720px}.pilot-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:100%}.pilot-comparison figure{min-width:0;margin:0;padding:12px;background:var(--paper);border-radius:14px}.pilot-comparison figcaption{font-size:14px;color:var(--muted);margin-bottom:8px}.pilot-comparison .quantity-scene,.pilot-comparison .size-scene,.pilot-comparison .vertical-scene{height:180px}.pilot-position-options .quantity-scene{max-width:100%}

.fable-card { display: flex; min-height: 124px; justify-content: center; }
.fable-card h2 { margin-top: 0; }
.fable-card p { font-size: 15px; }
.fable-reader { max-width: 720px; margin-inline: auto; padding: clamp(20px, 5vw, 48px); }
.fable-reader h1 { margin: 0; }
.fable-subtitle { margin: 8px 0 0; font-size: 18px; color: var(--muted); }
.fable-narration { margin: 22px 0 0; }
.fable-narration button { min-height: 44px; }
.fable-controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.fable-controls button { min-height: 44px; }
.fable-controls [aria-pressed="true"] { color: var(--green); background: var(--sage); border-color: var(--green); }
.fable-pair { padding: 17px 0; border-block-start: 1px solid var(--line); }
.fable-text p { margin: 0; font-size: 17px; line-height: 1.8; overflow-wrap: break-word; }
.fable-text p[lang="en-US"] { font-size: clamp(20px, 3vw, 24px); }
.fable-text p:not([hidden]) + p:not([hidden]) { margin-top: 7px; }
.fable-moral { margin: 8px 0 18px; padding: 17px; border-radius: 14px; background: var(--sage); }
.fable-moral h2 { margin: 0 0 7px; font-size: 16px; }
.fable-source { font-size: 14px; color: var(--muted); }

.word-pronunciation-line:has(+ .meaning) .english-phrase,
.english-phrase:has(+ .meaning), .teaching-pilot .english-phrase:has(+ .meaning),
.fun-sound-word:has(+ .meaning), .narrative-current:has(+ .meaning),
.narrative-past:has(+ .meaning) { margin-bottom: 0; }
.helper-game .meaning { text-align:center; }
.teaching-pilot p.meaning { line-height:1.4; }
.fable-text p[lang="zh-CN"] { font-size:15px; line-height:1.5; }

.onboarding-card .setting-option { text-align:left; min-height:56px; }


.foundation-view{max-width:700px;margin:16px auto;text-align:center;position:relative}.foundation-view h1{margin:8px 0 0}.foundation-progress{position:absolute;right:28px;top:28px;color:var(--muted)}.foundation-visual{max-width:320px;height:240px;margin:22px auto 12px;display:grid;place-items:center}.foundation-visual .phrase-object{width:100%;height:100%}.foundation-visual .phrase-object img{max-height:220px}.foundation-cue{max-width:480px;margin:10px auto 16px;color:var(--muted);line-height:1.5}.foundation-view .primary{margin-top:18px;min-width:180px}
.foundation-emoji{font-size:88px;line-height:1}
.foundation-calendar {
  display:grid; place-items:center;
  width:min(128px,100%); min-height:90px;
  padding:8px; border:2px solid var(--line); border-top:14px solid var(--green);
  border-radius:14px; background:var(--paper); color:var(--green);
  font-size:clamp(24px,5vw,38px); font-weight:800;
}

.topic-carousel { margin:18px 0 28px; }
.topic-carousel h2 { margin:0 0 12px; font-size:20px; }
.topic-carousel-track {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.55fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(6px,1.6vw,22px);
  max-width:880px;
  margin:0 auto;
  padding:12px clamp(7px,2vw,24px);
  border-radius:20px;
  background:linear-gradient(130deg,var(--sage),var(--bg) 55%,var(--peach));
  perspective:850px;
  isolation:isolate;
  touch-action:pan-y pinch-zoom;
}
.topic-carousel-card {
  min-width:0;
  align-self:center;
  padding:0;
  overflow:hidden;
  text-align:left;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--paper);
}
.topic-carousel-card[data-position="current"] {
  z-index:1;
  border-color:var(--green);
  box-shadow:0 5px 14px rgb(35 67 56 / .14);
}
.topic-carousel-card[data-position="previous"] { transform:rotateY(14deg) scale(.95); }
.topic-carousel-card[data-position="next"] { transform:rotateY(-14deg) scale(.95); }
.topic-carousel-card:hover { border-color:var(--green); }
.topic-carousel-card:focus-visible,.topic-carousel-controls button:focus-visible {
  outline:2px solid var(--green);
  outline-offset:3px;
}
.topic-carousel-art {
  position:relative;
  display:block;
  height:clamp(85px,19vw,172px);
  overflow:hidden;
  background:var(--sage);
}
.topic-carousel-cover { display:grid; place-items:center; height:100%; pointer-events:none; }
.topic-carousel-cover img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
.topic-carousel-cover img.realistic-scene { object-fit:cover; }
.topic-carousel-cover .realistic-fruit-group {
  height:100%;
  grid-template-rows:minmax(0,1fr);
  gap:3px;
  padding:5px;
  border-radius:0;
}
.topic-carousel-cover .foundation-emoji { font-size:clamp(36px,6vw,64px); }
.topic-carousel-cover .foundation-calendar { width:min(110px,90%); min-height:0; font-size:clamp(15px,3vw,30px); }
.topic-carousel-badge {
  z-index:1;
  inset:7px 7px auto auto;
  padding:4px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--paper);
  color:var(--ink);
  font-size:12px;
  font-weight:800;
}
.topic-carousel-copy {
  display:flex;
  min-height:64px;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  padding:8px clamp(6px,1.5vw,16px);
}
.topic-carousel-copy b { color:var(--ink); font-size:clamp(13px,1.8vw,19px); }
.topic-carousel-copy em {
  display:flex;
  align-items:center;
  gap:4px;
  color:var(--green);
  font-size:12px;
  font-style:normal;
  font-weight:700;
}
.topic-carousel-copy svg,.topic-carousel-controls svg { width:16px; height:16px; flex:none; }
.topic-carousel-copy small,.topic-description { color:var(--muted); font-size:12px; line-height:1.45; }
.topic-description { min-height:2.9em; }
.topic-carousel-card:not([data-position="current"]) .topic-carousel-copy :is(em,small,.topic-description) { display:none; }
.topic-carousel-badge.lit { color:var(--paper); border-color:var(--green); background:var(--green); }
.topic-carousel-controls { display:flex; justify-content:center; align-items:center; gap:12px; margin-top:8px; }
.topic-carousel-controls button {
  display:flex;
  align-items:center;
  gap:5px;
  min-height:44px;
  padding:5px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--green);
  background:var(--paper);
  font-size:13px;
  font-weight:700;
}
.topic-carousel-controls button:hover { background:var(--sage); }
.topic-carousel-count { min-width:48px; text-align:center; color:var(--muted); font-size:13px; font-variant-numeric:tabular-nums; }
.topic-carousel-track[data-turn="forward"] { --slide-from:20%; --sweep-from:-100%; --sweep-to:100%; }
.topic-carousel-track[data-turn="backward"] { --slide-from:-20%; --sweep-from:100%; --sweep-to:-100%; }
.topic-carousel-track:not([data-turn=""]) [data-position="current"] {
  animation:topic-carousel-arrive .36s cubic-bezier(.2,.65,.25,1) both;
}
.topic-carousel-track:not([data-turn=""]) [data-position="current"] .topic-carousel-art::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(106deg,transparent 14%,var(--yellow) 45%,var(--rose) 61%,transparent 91%);
  pointer-events:none;
  animation:topic-carousel-sweep .5s ease-out both;
}
@keyframes topic-carousel-arrive {
  from { transform:translateX(var(--slide-from)) scale(.94); filter:saturate(.68); }
  to { transform:translateX(0) scale(1); filter:saturate(1); }
}
@keyframes topic-carousel-sweep {
  from { transform:translateX(var(--sweep-from)); opacity:0; }
  45% { opacity:.58; }
  to { transform:translateX(var(--sweep-to)); opacity:0; }
}
@media(max-width:560px) {
  .topic-carousel-track { grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr); }
  .topic-carousel-card { border-radius:12px; }
  .topic-carousel-card:not([data-position="current"]) .topic-carousel-copy { min-height:48px; }
  .topic-carousel-card:not([data-position="current"]) .topic-carousel-copy b { font-size:11px; }
  .topic-description { min-height:4.35em; }
  .topic-carousel-badge { inset:4px 4px auto auto; padding:2px 4px; font-size:10px; }
}
@media(prefers-reduced-motion:reduce) {
  .topic-carousel-track:not([data-turn=""]) [data-position="current"] { animation:none; }
  .topic-carousel-track:not([data-turn=""]) [data-position="current"] .topic-carousel-art::after { display:none; }
}

.foundation-step {
  display: grid;
  grid-template-columns: 112px minmax(180px, 320px) 112px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 680px;
  margin: 22px auto 10px;
}
.foundation-step .foundation-visual {
  width: 100%;
  height: 240px;
  margin: 0;
}
.foundation-nav {
  min-height: 56px;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 750;
  box-shadow: 0 3px 0 rgba(35, 67, 55, .08);
}
.foundation-nav svg { width: 20px; height: 20px; }
.foundation-nav-next { color: var(--green); }
.foundation-nav:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.foundation-finish { margin-top: 16px; }
.foundation-step.word-study-step {
  grid-template-columns: 112px minmax(0, 240px) 112px;
  margin: 8px auto 0;
}
.word-study-step .practice-object { min-width: 0; }
.word-study-finish { margin-top: 16px; }
@media (max-width: 600px) {
  .foundation-step {
    grid-template-columns: 72px minmax(120px, 1fr) 72px;
    gap: 6px;
    width: 100%;
  }
  .foundation-nav {
    min-height: 78px;
    padding: 8px 4px;
    flex-direction: column;
    font-size: 12px;
  }
  .foundation-step .foundation-visual { height: 190px; }
  .foundation-step .foundation-visual img { max-height: 180px; }
  .foundation-step.word-study-step {
    grid-template-columns: 62px minmax(0, 240px) 62px;
  }
  .word-study-step .foundation-nav { min-height: 58px; }
}

/* Ability-led course: the existing paper, green and image vocabulary. */
.ability-home { display:grid;gap:24px; }
.ability-home .page-intro { margin:0; }
.course-next { display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:24px;padding:32px; }
.course-next h2 { font-size:30px;margin:10px 0; }
.course-next p { color:var(--muted);margin-bottom:20px; }
.course-next .text-button { margin-left:12px; }
.course-next-art { height:220px;display:grid;place-items:center; }
.course-next-art img { max-height:210px;object-fit:contain; }
.course-stages { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px; }
.course-stage { text-align:left;border:2px solid transparent;padding:24px; }
.course-stage.selected { border-color:var(--green);background:var(--sage); }
.course-stage h2 { font-size:21px;margin:10px 0; }
.course-stage p { font-size:14px;color:var(--muted);min-height:48px; }
.course-stage-number { color:var(--sea-deep);font-size:24px; }
.course-stage>span:last-child { display:block;margin-top:12px;font-size:12px; }
.course-units { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px; }
.course-unit { padding:22px; }
.course-unit h3 { margin-bottom:12px; }
.course-lesson { width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:14px 4px;border-top:1px solid var(--line);min-height:64px; }
.course-lesson:hover { background:var(--sage); }
.course-lesson small { display:block;font-weight:400;color:var(--muted);font-size:12px; }
.course-lesson>svg { margin-left:auto;flex-shrink:0; }
.course-resource-actions { display:flex;flex-wrap:wrap;gap:12px;margin-bottom:22px; }
.resource-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0; }
.resource-grid button { text-align:left;white-space:normal; }
.resource-grid small { display:block;color:var(--muted);font-size:12px; }
#main[data-screen="library"]>.paper-panel { margin-top:20px; }
.course-player,.course-ending { max-width:920px;margin:0 auto;padding:28px;text-align:center; }
.course-player .section-heading { text-align:left; }
.course-player-title { font-size:18px;color:var(--muted);margin:8px 0; }
.course-player progress { width:100%;height:6px;accent-color:var(--green);margin:12px 0 22px; }
.course-player h2 { font-size:25px;margin:12px 0; }
.course-word-art,.course-partner { height:260px;display:grid;place-items:center; }
.course-word-art img,.course-partner img { height:250px;max-width:100%;object-fit:contain; }
.course-controls { display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:22px; }
.course-status { min-height:28px;margin-top:14px;color:var(--muted); }
.course-answer-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0; }
.course-answer-grid:has(>.choice:nth-child(2):last-child) { grid-template-columns:repeat(2,minmax(0,1fr));width:calc((200% - 18px)/3);margin-inline:auto; }
.course-answer-grid .choice { padding:18px;min-height:180px;display:grid;place-items:center;border:2px solid var(--line);border-radius:20px;background:var(--paper); }
.course-answer-grid .choice:hover:not(:disabled) { border-color:var(--green);background:var(--sage); }
.course-answer-grid img { height:155px;max-width:100%;object-fit:contain; }
.course-answer-grid .quantity-scene img { height:80px;max-width:70px; }
.course-model-scene { max-width:360px;min-height:230px;margin:auto;display:grid;place-items:center; }
.course-model-scene img { max-height:160px;object-fit:contain; }
.course-transcript { font-size:13px;color:var(--muted);margin:12px; }
.course-success { display:block;color:var(--green);font-size:56px; }
.course-feedback { min-height:300px;display:grid;justify-items:center;align-content:center;gap:12px; }
.course-feedback>img { height:170px;object-fit:contain; }
.course-feedback .quantity-scene img { height:100px; }
.course-ending h1 { margin:18px 0; }
.course-ending button { margin:18px 8px; }
.course-boundary { font-size:12px;color:var(--muted); }
.course-request-scene { display:flex;justify-content:center;align-items:center;gap:50px;height:240px; }
.course-request-scene img { width:180px;height:200px;object-fit:contain; }
.mission-slots { display:flex;justify-content:center;gap:14px;margin:20px; }
.mission-slots span { padding:10px 18px;background:var(--sage);border-radius:12px; }
.mission-layout-2 { direction:rtl; }
.course-motion { position:relative;height:270px;overflow:hidden;border-radius:20px;background:var(--sage);margin:20px auto;max-width:600px; }
.motion-object { position:absolute;left:12%;top:25px;width:140px;height:160px; }
.motion-object img,.motion-recipient img { width:100%;height:100%;object-fit:contain; }
.motion-recipient { position:absolute;right:8%;top:25px;width:130px;height:160px; }
.motion-route { position:absolute;left:8%;right:8%;bottom:65px;height:2px;background:#b1bda6; }
.motion-caption { position:absolute;bottom:18px;left:0;right:0; }
.is-moving.motion-go .motion-object,.is-moving.motion-walk .motion-object,.is-moving.motion-push .motion-object { animation:course-travel 3s ease-in-out infinite; }
.is-moving.motion-give .motion-object { animation:course-travel 3s ease-in-out infinite; }
.is-moving.motion-take .motion-object { animation:course-travel 3s ease-in-out infinite reverse; }
.is-moving.motion-swim .motion-object { animation:course-swim 3s ease-in-out infinite; }
.motion-stop .motion-route { background:#bb724e;height:5px;right:40%; }
.motion-wait .motion-object { opacity:.75; }
.motion-water { position:absolute;left:10%;top:12px;width:155px;height:150px;background:repeating-linear-gradient(110deg,transparent 0 20px,#7eafb955 20px 23px,transparent 23px 35px); }
.is-moving.motion-wash .motion-water { animation:course-water .8s linear infinite; }
.motion-swim .motion-route { height:65px;bottom:65px;background:#a5c8cb88;border-radius:50%; }
@keyframes course-travel { 0%,15% { transform:translateX(0); } 75%,100% { transform:translateX(210px); } }
@keyframes course-swim { 0%,100% { transform:translate(0,10px) rotate(-3deg); } 50% { transform:translate(190px,-10px) rotate(3deg); } }
@keyframes course-water { to { background-position:0 35px; } }
@media(max-width:760px) {
 .course-next { grid-template-columns:1fr; padding:22px;position:relative; }
 .course-next h2 { font-size:25px; }
 .course-next-art { height:150px;grid-row:1; }
 .course-next-art img { max-height:150px; }
 .course-next .text-button { display:block;margin:12px 0 0; }
 .course-stages { gap:8px; }
 .course-stage { padding:14px 10px; }
 .course-stage h2 { font-size:16px; }
 .course-stage p { display:none; }
 .course-stage-number { font-size:18px; }
 .course-units { grid-template-columns:1fr; }
 .resource-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .course-player { padding:18px 12px; }
 .course-player h2 { font-size:21px; }
 .course-answer-grid { gap:8px; }
 .course-answer-grid:has(>.choice:nth-child(2):last-child) { width:100%; }
 .course-answer-grid .choice { min-height:130px;padding:8px; }
 .course-answer-grid img { height:105px; }
 .course-answer-grid .quantity-scene img { height:55px;max-width:45px; }
 .course-controls { gap:8px; }
 .course-controls button { font-size:12px; }
 .course-request-scene { gap:20px; }
 .course-request-scene img { width:120px;height:160px; }
 .motion-object { width:95px; }
 .motion-recipient { width:90px; }
 @keyframes course-travel { 0%,15% { transform:translateX(0); } 75%,100% { transform:translateX(130px); } }
 @keyframes course-swim { 0%,100% { transform:translate(0,10px); } 50% { transform:translate(120px,-10px); } }
}
@media(prefers-reduced-motion:reduce) {
 .course-motion * { animation:none!important; }
 .motion-go .motion-object,.motion-give .motion-object,.motion-push .motion-object,.motion-swim .motion-object,.motion-walk .motion-object { left:auto;right:32%; }
 .motion-take .motion-object { left:12%; }
}
.course-unit>summary { cursor:pointer;font-size:19px;font-weight:700;min-height:48px; }
.course-unit>summary small { display:block;font-size:12px;font-weight:400;color:var(--muted);margin:6px 0 12px; }
.course-feedback .course-motion { width:100%; }
.course-feedback .course-motion .motion-object { animation-duration:1.2s; }

/* One continuous map: stage intent stays visible; light comes only from saved lessons. */
.ability-map { gap:24px; }
.map-intro { display:flex;justify-content:space-between;align-items:center;gap:30px; }
.map-intro h1 { font-size:clamp(23px,2.5vw,31px);max-width:760px;margin:8px 0; }
.map-intro p { color:var(--muted);font-size:14px; }
.map-total { flex-shrink:0;display:grid;text-align:right;color:var(--muted);font-size:12px; }
.map-total>strong { color:var(--green);font-size:40px;line-height:1.2; }
.map-total>strong span { color:var(--muted);font-size:20px;font-weight:500; }
.map-total small { margin-top:6px;font-size:11px; }
.map-stage-plan { gap:18px;position:relative; }
.map-stage-plan .course-stage { position:relative;display:block;border:1px solid var(--line);border-top:4px solid var(--line);border-radius:14px;background:var(--paper);padding:20px;text-align:left; }
.map-stage-plan .course-stage.selected { border-color:var(--line);border-top-color:var(--green);background:var(--paper); }
.map-stage-plan .course-stage:not(:last-child)::after { content:'→';position:absolute;right:-18px;top:42%;width:18px;text-align:center;color:var(--muted);z-index:1; }
.map-stage-plan .course-stage h2 { margin:6px 0 10px;font-size:23px; }
.map-stage-plan .course-stage p { display:block;min-height:0;font-size:14px;line-height:1.7;margin-bottom:12px; }
.map-stage-kicker { font-size:12px;color:var(--sea-deep);font-weight:600; }
.map-plan-learn { display:block;font-size:12px;color:var(--muted);line-height:1.7; }
.map-stage-plan .map-plan-result { display:flex;align-items:center;gap:7px;font-size:13px;color:var(--green);line-height:1.6;margin-top:12px; }
.map-plan-result svg { width:15px;height:15px;flex-shrink:0; }
.course-next.map-current { display:block;padding:22px 26px;border-left:0;border-radius:16px;background:var(--sage); }
.map-current h2 { font-size:22px;margin:7px 0; }
.map-current p { font-size:13px;margin-bottom:14px; }
.map-current .primary { min-height:44px; }
.map-section-heading { display:flex;justify-content:space-between;align-items:flex-end;gap:20px; }
.map-section-heading h2 { font-size:23px; }
.map-section-heading p { font-size:12px;color:var(--muted);margin-top:5px; }
.map-legend { display:flex;flex-wrap:wrap;gap:12px;flex-shrink:0;font-size:11px;color:var(--muted); }
.map-legend span { display:flex;align-items:center;gap:5px; }
.map-legend i { width:11px;height:11px;border-radius:50%;background:var(--line); }
.map-legend .legend-completed { background:var(--green); }
.map-legend .legend-current { background:var(--paper);border:3px solid var(--sea-deep); }
.map-legend .legend-started { background:linear-gradient(90deg,var(--green) 50%,var(--line) 50%); }
.learning-map { display:grid;gap:32px; }
.map-chapter { position:relative;border:1px solid var(--line);border-radius:22px;background:var(--paper);padding:24px 24px 16px; }
.map-chapter:not(:last-child)::after { content:'↓';position:absolute;bottom:-30px;left:calc(50% - 10px);width:20px;text-align:center;color:#9ba97b;font-size:23px;line-height:28px; }
.map-chapter-heading { display:flex;align-items:center;gap:16px;padding-bottom:12px; }
.map-chapter-number { font-size:34px;color:#9ba97b;font-weight:500;letter-spacing:-.04em; }
.map-chapter-heading h2 { font-size:23px; }
.map-chapter-heading p { font-size:13px;color:var(--muted);margin-top:4px; }
.map-chapter-progress { margin-left:auto;text-align:right;color:var(--green);font-size:12px;flex-shrink:0; }
.map-chapter-progress small { display:block;color:var(--muted);font-size:11px; }
.map-route { position:relative;isolation:isolate; }
.map-route-line { position:absolute;inset:0;width:100%;height:180px;z-index:-1;overflow:visible;pointer-events:none; }
.map-route-line path { fill:none;stroke:#dedfd3;stroke-width:3;stroke-dasharray:5 7;vector-effect:non-scaling-stroke; }
.map-route-line .is-lit { stroke:var(--green);stroke-dasharray:none;stroke-width:4; }
.map-route-mobile { display:none; }
.map-checkpoints { list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0; }
.map-checkpoint { min-width:0;padding-top:16px; }
.map-checkpoint:nth-child(even) { padding-top:48px; }
.map-checkpoint-button { width:100%;display:flex;flex-direction:column;align-items:center;text-align:center;padding:0 4px 14px;gap:0;min-height:174px; }
.map-beacon { width:64px;height:64px;display:grid;place-items:center;border-radius:50%;padding:5px;background:conic-gradient(var(--green) var(--map-progress),var(--line) 0); }
.map-beacon-core { display:grid;place-items:center;width:54px;height:54px;border:4px solid var(--paper);border-radius:50%;background:var(--sage);font-size:20px;color:var(--muted);font-weight:600; }
.map-beacon-core svg { width:25px;height:25px; }
.map-checkpoint-button>strong { font-size:13px;font-weight:600;line-height:1.5;margin-top:12px;max-width:100%; }
.map-node-status { font-size:11px;line-height:1.7;color:var(--muted);margin-top:3px; }
.map-checkpoint-button>small { font-size:11px;color:var(--muted); }
.state-upcoming .map-beacon-core { background:#f0f0e8;color:#93988a; }
.state-upcoming strong { color:var(--muted); }
.state-completed .map-beacon-core { background:var(--green);color:var(--paper); }
.state-completed .map-node-status { color:var(--green); }
.state-current .map-beacon { box-shadow:0 0 0 4px var(--paper),0 0 0 6px var(--sea-deep); }
.state-current .map-node-status { color:var(--sea-deep);font-weight:700; }
.map-checkpoint.is-selected .map-checkpoint-button>strong { text-decoration:underline;text-decoration-color:var(--sea-deep);text-underline-offset:4px; }
.map-checkpoint-button:hover .map-beacon { transform:translateY(-3px); }
.map-stage-example { padding:12px 0 0;border-top:1px solid var(--line);font-size:13px;color:var(--green); }
.map-stage-example>span { color:var(--muted);font-size:11px;margin-right:12px; }
.map-unit-detail { padding:26px; }
.map-unit-detail h2 { margin-top:4px;font-size:24px; }
.map-unit-goal { color:var(--muted);font-size:14px;margin:12px 0; }
.map-unit-actions { display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:18px 0; }
.map-lesson-fold>summary { cursor:pointer;font-size:14px;font-weight:600;padding:12px 0; }
.map-lesson-number { width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--sage);font-size:12px;flex-shrink:0; }
.map-lesson-number svg { width:17px;height:17px; }
.lesson-completed .map-lesson-number { background:var(--green);color:var(--paper); }
.lesson-next .map-lesson-number { outline:2px solid var(--sea-deep);outline-offset:2px; }
.map-completion-reward { display:flex;align-items:center;text-align:left;gap:16px;background:var(--sage);border-radius:16px;padding:20px;margin:22px auto;max-width:480px; }
.map-completion-reward>span { border-radius:50%;background:var(--green);color:var(--paper);padding:12px;display:grid;place-items:center; }
.map-completion-reward svg { width:24px;height:24px; }
.map-completion-reward p { font-size:13px;color:var(--muted);margin-top:4px; }
@media(max-width:680px) {
 .map-intro { align-items:flex-start;gap:12px; }
 .map-intro h1 { font-size:23px; }
 .map-intro p { font-size:12px; }
 .map-total { min-width:76px;font-size:10px; }
 .map-total>strong { font-size:30px; }
 .map-total>strong span { font-size:14px; }
 .map-total small { max-width:90px;font-size:10px; }
 .map-stage-plan { grid-template-columns:1fr;gap:12px; }
 .map-stage-plan .course-stage { padding:16px 18px; }
 .map-stage-plan .course-stage h2 { font-size:21px;margin:4px 0 7px; }
 .map-stage-plan .course-stage p { display:block;font-size:13px;margin-bottom:5px; }
 .map-stage-plan .course-stage:not(:last-child)::after { content:'↓';right:16px;top:auto;bottom:-14px;background:var(--bg);height:16px;line-height:16px; }
 .map-plan-learn { font-size:11px; }
 .map-stage-plan .map-plan-result { margin-top:7px;font-size:12px; }
 .course-next.map-current { padding:20px; }
 .map-current h2 { font-size:21px; }
 .map-section-heading { align-items:flex-start;flex-direction:column;gap:12px; }
 .map-legend { gap:14px; }
 .map-chapter { padding:18px 12px 14px; }
 .map-chapter-heading { gap:10px;align-items:flex-start; }
 .map-chapter-number { font-size:28px; }
 .map-chapter-heading h2 { font-size:21px; }
 .map-chapter-heading p { font-size:12px; }
 .map-chapter-progress { font-size:10px;max-width:80px; }
 .map-chapter-progress small { font-size:10px; }
 .map-route-desktop { display:none; }
 .map-route-mobile { display:block;height:540px; }
 .map-checkpoints { grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,180px); }
 .map-checkpoint:nth-child(n) { padding-top:16px; }
 .map-checkpoint:nth-child(1) { grid-column:1;grid-row:1; }
 .map-checkpoint:nth-child(2) { grid-column:2;grid-row:1; }
 .map-checkpoint:nth-child(3) { grid-column:2;grid-row:2; }
 .map-checkpoint:nth-child(4) { grid-column:1;grid-row:2; }
 .map-checkpoint:nth-child(5) { grid-column:1;grid-row:3; }
 .map-checkpoint:nth-child(6) { grid-column:2;grid-row:3; }
 .map-checkpoint-button>strong { font-size:14px; }
 .map-stage-example { font-size:12px; }
 .map-stage-example>span { display:block;margin-bottom:5px; }
 .map-unit-detail { padding:20px; }
 .map-unit-detail h2 { font-size:22px; }
}
@media(prefers-reduced-motion:reduce) { .map-checkpoint-button:hover .map-beacon { transform:none; } }
.map-stage-plan .course-stage>.map-plan-result { display:flex; }
/* Honest guest account state; authentication will be connected separately. */
.account-button { gap:9px; }
.account-avatar { display:grid;place-items:center;width:25px;height:25px;border:1px solid #ffffff70;border-radius:50%; }
.account-button .account-avatar svg { width:17px;height:17px; }
.account-menu { padding:22px; }
.account-profile { display:flex;align-items:center;gap:12px;margin-bottom:18px; }
.account-profile-avatar { display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--sage);color:var(--green);flex-shrink:0; }
.account-profile-avatar svg { width:25px;height:25px; }
.account-profile h2 { font-size:18px;margin:0; }
.account-profile p { color:var(--muted);font-size:12px;margin-top:3px; }
.account-description { font-size:14px; }
.account-storage-note { font-size:12px;color:var(--muted);margin-top:8px; }
.account-actions { display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px; }

/* Curriculum units have variable counts; the route follows reading order at every width. */
.map-checkpoints { grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 0;grid-template-rows:none; }
.map-checkpoint:nth-child(n) { padding-top:16px;grid-column:auto;grid-row:auto;position:relative; }
.map-checkpoint:not(:last-child)::after { content:'→';position:absolute;right:-6px;top:38px;color:var(--muted); }
.map-checkpoint:nth-child(4n)::after { content:none; }
.map-route { min-height:0; }
.course-meaning-card { display:flex;flex-direction:column;align-items:center;gap:14px;padding:20px;font-size:26px; }
.course-meaning-card>span { font-size:64px; }
.course-meaning-card .meaning-card-art { width:min(190px,100%); height:auto; max-height:190px; object-fit:contain; background:#fff; border-radius:12px; }
.course-number-card { display:inline-flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:150px;padding:20px; }
.course-number-card b { font-size:clamp(72px,10vw,120px);line-height:1.1;font-weight:650;color:var(--green);font-variant-numeric:lining-nums; }
@media(max-width:680px) {
 .map-checkpoints { grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none; }
 .map-checkpoint:nth-child(n) { grid-column:auto;grid-row:auto; }
 .map-checkpoint:nth-child(2n)::after { content:none; }
}

.map-chapter[data-map-stage="2"] .map-checkpoints,
.map-chapter[data-map-stage="3"] .map-checkpoints { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media(max-width:680px) {
 .map-chapter[data-map-stage="2"] .map-checkpoint:nth-child(2)::after,
 .map-chapter[data-map-stage="3"] .map-checkpoint:nth-child(2)::after { content:'→'; }
 .map-chapter[data-map-stage="2"] .map-checkpoint-button>strong,
 .map-chapter[data-map-stage="3"] .map-checkpoint-button>strong { font-size:12px; }
}

/* Phonics resource extension, using the existing paper and sage system. */
.phonics-overview { padding:24px; }
.phonics-overview ol { display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding-left:24px;margin:18px 0; }
.phonics-overview li { font-weight:600; }
.phonics-overview li span { display:block;color:var(--muted);font-size:13px;font-weight:400;margin-top:6px; }
.phonics-overview>p,.phonics-section .section-heading p,.phonics-sound-bank>p { color:var(--muted);font-size:14px; }
.phonics-section { margin:32px 0; }
.phonics-word-preview { display:block;color:var(--muted);font-size:14px;margin:6px 14px; }
.phonics-sound-bank { padding:24px;margin-top:32px; }
.phonics-sound-bank .chips { margin-top:18px;flex-wrap:wrap; }
@media(max-width:680px) { .phonics-overview ol { grid-template-columns:1fr;gap:14px; } .phonics-overview,.phonics-sound-bank { padding:20px; } }

/* Restore original topic covers in the selected unit and its lesson cards. */
.map-unit-hero { display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.5fr);gap:28px;align-items:center; }
.map-unit-cover { aspect-ratio:16/10;overflow:hidden;border-radius:18px;background:var(--sage); }
.map-unit-cover>img,.course-lesson-cover>img { display:block;width:100%;height:100%;object-fit:cover; }
.map-unit-copy { min-width:0; }
.course-cover-concepts { display:flex;width:100%;height:100%;align-items:center;justify-content:center;gap:10px;padding:16px; }
.course-cover-concepts>img { width:30%;height:100%;object-fit:contain;min-width:0; }
.course-cover-concepts .course-meaning-card { padding:4px;font-size:14px; }
.course-cover-concepts .course-meaning-card>span { font-size:34px; }
.course-cover-concepts .concept-color { width:64px;height:64px; }
.course-cover-concepts:has(> :is(.weekday-calendar-card,.course-number-card,.course-meaning-card)) {
 flex-wrap:wrap;
 align-content:center;
 gap:6px;
 padding:6px;
}
.course-cover-concepts > :is(.course-number-card,.course-meaning-card) {
 flex:none;
 width:min(60px,100%);
 min-height:34px;
 padding:2px;
 gap:1px;
 text-align:center;
}
.course-cover-concepts > .course-number-card b { font-size:28px; }
.course-cover-concepts > .course-meaning-card { font-size:12px;line-height:1.2;overflow-wrap:anywhere; }
.course-cover-concepts > .course-meaning-card > span { font-size:18px;line-height:1; }
.course-cover-concepts > .course-meaning-card > img.meaning-card-art { width:auto; max-height:44px; }
.course-cover-concepts > .spatial-scene {
 flex:none;
 width:min(72px,100%);
 height:42px;
 min-height:0;
}
.course-cover-concepts > .spatial-scene .spatial-object { width:32%;height:42%;left:34%; }
.course-cover-concepts > .spatial-beside .spatial-object { left:1%; }
.course-cover-concepts > .weekday-calendar-card {
 flex:none;
 width:min(60px,100%);
 min-height:34px;
 padding:4px 2px;
 border-top-width:6px;
 border-radius:8px;
 box-shadow:0 2px 0 #dce5da;
 font-size:14px;
 line-height:1.2;
 letter-spacing:normal;
 white-space:nowrap;
}
.course-cover-concepts > .weekday-calendar-card::before,
.course-cover-concepts > .weekday-calendar-card::after {
 top:-9px;
 width:3px;
 height:7px;
}
@media(max-width:680px) { .map-unit-hero { grid-template-columns:1fr;gap:20px; } }

.ability-unit-page { display:grid;gap:20px; }
.ability-unit-page>.back { justify-self:start; }

/* Grouped phoneme explorer, matching the established paper / forest palette. */
.phonics-sound-bank { padding:30px; }
.sound-bank-heading { display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px; }
.sound-bank-heading h2 { margin:5px 0 10px;font-size:26px; }
.sound-bank-heading p:not(.eyebrow) { color:var(--muted);font-size:14px;line-height:1.8; }
.sound-bank-count { flex-shrink:0;border:1px solid var(--line);padding:8px 14px;border-radius:24px;color:var(--green);font-size:12px; }
.sound-bank-layout { display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:32px;align-items:start; }
.sound-bank-groups { display:grid;gap:26px; }
.sound-group-heading { display:flex;gap:16px;align-items:baseline;margin-bottom:12px; }
.sound-group-heading h3 { font-size:16px;margin:0; }
.sound-group-heading p { color:var(--muted);font-size:12px;margin:0; }
.sound-card-grid { display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px; }
.sound-card { display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:120px;gap:6px;padding:14px 8px;border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--green);transition:background .15s,border-color .15s; }
.sound-card-letter { font-size:23px;font-weight:650;line-height:1.3; }
.sound-card-ipa { font-size:16px;color:var(--muted); }
.sound-card-play { display:flex;align-items:center;gap:4px;font-size:10px;color:var(--muted);margin-top:6px; }
.sound-card-play svg { width:13px;height:13px; }
.sound-card:hover { background:var(--sage);border-color:var(--green); }
.sound-card.is-selected { background:var(--sage);border:2px solid var(--green);padding:13px 7px; }
.sound-card.is-playing .sound-card-play { color:var(--green);font-weight:700; }
.sound-card:focus-visible { outline:3px solid var(--focus);outline-offset:3px; }
.sound-bank-detail { padding:26px 22px;border-radius:18px;background:var(--sage);position:sticky;top:90px; }
.sound-detail-symbol { display:grid;place-items:center;min-height:100px;font-size:54px;color:var(--green);font-weight:600; }
.sound-bank-detail h3 { font-size:17px;margin:16px 0 12px; }
.sound-bank-detail #phonicsSoundStatus { min-height:88px;font-size:14px;line-height:1.9;color:var(--ink); }
.sound-detail-actions { display:flex;flex-direction:column;align-items:stretch;gap:10px;margin:16px 0; }
.sound-detail-note { border-top:1px solid #284d3c25;padding-top:16px;color:var(--muted);font-size:12px;line-height:1.8; }
@media(max-width:1000px) { .sound-bank-layout { grid-template-columns:minmax(0,1fr) 230px;gap:20px; } .sound-card-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:680px) { .phonics-sound-bank { padding:20px; } .sound-bank-heading { align-items:flex-start; } .sound-bank-heading h2 { font-size:23px; } .sound-bank-count { padding:6px 9px; } .sound-bank-layout { display:flex;flex-direction:column-reverse; } .sound-bank-detail { position:static;width:100%;padding:18px; } .sound-detail-symbol { min-height:50px;font-size:40px; } .sound-bank-detail #phonicsSoundStatus { min-height:0; } .sound-card-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .sound-bank-groups { width:100%; } .sound-group-heading { display:block; } .sound-group-heading p { margin-top:5px; } }

.sound-source-note { margin-top:24px;border-top:1px solid var(--line);padding-top:16px;font-size:12px;color:var(--muted);line-height:1.8; }
.sound-source-note summary { cursor:pointer; }
.sound-source-note a { text-decoration:underline; }

/* Cover stations and one continuous serpentine trail. DOM order remains lesson order. */
.map-chapter { padding:28px 28px 18px;background:var(--paper); }
.map-chapter-heading { padding-bottom:20px; }
.map-route-cover { position:relative;isolation:isolate;margin:4px 0 10px; }
.map-chapter[data-map-stage] .map-route-cover .map-checkpoints { display:grid;position:relative;grid-template-columns:repeat(var(--route-columns),minmax(0,1fr));grid-template-rows:repeat(var(--route-desktop-rows),226px);gap:0; }
.map-chapter[data-map-stage] .map-route-cover .map-checkpoint:nth-child(n) { grid-column:var(--route-column);grid-row:var(--route-row);padding:18px 0 0;min-width:0; }
.map-chapter[data-map-stage] .map-route-cover .map-checkpoint:nth-child(n) { padding-top:calc(18px + var(--route-offset)); }
.map-chapter[data-map-stage] .map-route-cover .map-checkpoint::after { content:none; }
.map-route-cover .map-checkpoint-button { padding:0 8px;min-height:0;gap:0;position:relative; }
.cover-route-line { position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;overflow:visible; }
.cover-route-line path { fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round; }
.cover-route-base { stroke:#eee9da;stroke-width:12px; }
.cover-route-trail { stroke:#c6cbb7;stroke-width:2px;stroke-dasharray:3 8; }
.cover-route-trail.is-lit { stroke:var(--green);stroke-width:3px;stroke-dasharray:none; }
.cover-route-2 { display:none; }
.map-cover-wrap { width:min(100%,174px);display:block;position:relative;border-radius:22px;padding:5px;background:var(--paper);box-shadow:0 3px 10px #293c2e12;border:1px solid #d9dece; }
.map-cover-picture { display:block;aspect-ratio:3/2;overflow:hidden;border-radius:16px;background:var(--sage); }
.map-cover-picture>img { display:block;width:100%;height:100%;object-fit:cover; }
.map-cover-number { position:absolute;left:12px;top:12px;display:grid;place-items:center;min-width:25px;height:25px;padding:0 5px;border-radius:50%;background:var(--paper);font-size:11px;line-height:1;font-weight:650;color:var(--green);box-shadow:0 1px 4px #263d2920; }
.map-cover-number svg { width:14px;height:14px; }
.map-cover-progress { display:block;position:absolute;bottom:5px;left:18px;right:18px;height:4px;border-radius:8px;background:#eceee4;overflow:hidden;transform:translateY(50%); }
.map-cover-progress i { display:block;height:100%;border-radius:8px;background:var(--green); }
.map-route-cover .map-checkpoint-button>strong { color:var(--ink);font-size:14px;line-height:1.5;margin-top:13px;text-decoration:none; }
.map-cover-meta { display:flex;align-items:center;justify-content:center;gap:8px;margin-top:4px;background:var(--paper);border-radius:12px;padding:1px 6px; }
.map-cover-meta small,.map-route-cover .map-node-status { font-size:11px;margin:0;color:var(--muted); }
.map-cover-meta small { border-left:1px solid var(--line);padding-left:8px; }
.map-cover-current { position:absolute;z-index:1;left:50%;top:-15px;transform:translateX(-50%);padding:4px 10px;background:var(--sea-deep);color:#fff;border-radius:12px;font-size:10px;white-space:nowrap; }
.state-current .map-cover-wrap { border:2px solid var(--sea-deep);padding:4px;box-shadow:0 0 0 4px #0d577622,0 4px 14px #103a5922; }
.state-current .map-cover-meta .map-node-status { color:#9c622d;font-weight:650; }
.state-completed .map-cover-wrap { border-color:var(--green); }
.state-completed .map-cover-number { background:var(--green);color:var(--paper); }
.state-upcoming .map-cover-picture { opacity:.9; }
.map-route-cover .map-checkpoint-button:hover .map-cover-wrap { transform:translateY(-3px);box-shadow:0 6px 16px #263d2920; }
.map-route-cover .map-checkpoint-button:focus-visible { outline:3px solid var(--focus);outline-offset:4px;border-radius:18px; }
.map-cover-mosaic { display:flex;width:100%;height:100%;gap:3px; }
.map-cover-mosaic>span { display:block;flex:1;min-width:0;overflow:hidden; }
.map-cover-mosaic img { display:block;object-fit:cover;width:100%;height:100%; }
.map-cover-picture .course-cover-concepts { padding:10px;gap:5px; }
.map-cover-picture .course-cover-concepts:has(> :is(.weekday-calendar-card,.course-number-card,.course-meaning-card)) { gap:3px;padding:4px; }
.map-cover-picture .course-cover-concepts > .weekday-calendar-card {
 width:min(44px,100%);
 min-height:0;
 padding:1px;
 font-size:11px;
 border-top-width:4px;
 border-radius:5px;
}
.map-cover-picture .course-cover-concepts > .weekday-calendar-card::before,
.map-cover-picture .course-cover-concepts > .weekday-calendar-card::after { top:-6px;height:5px; }
.map-cover-picture .course-cover-concepts .concept-color { width:36px;height:44px; }
.map-cover-picture .course-cover-concepts > :is(.course-number-card,.course-meaning-card) {
 width:min(36px,100%);
 min-height:0;
 padding:0;
}
.map-cover-picture .course-cover-concepts .course-meaning-card { font-size:10px; }
.map-cover-picture .course-cover-concepts .course-meaning-card>span { font-size:12px; }
.map-cover-picture .course-cover-concepts > .spatial-scene { width:min(44px,100%);height:22px; }
.map-cover-picture .course-number-card b { font-size:16px; }
@media(max-width:680px) {
 .map-chapter { padding:22px 12px 14px; }
 .map-chapter-heading { flex-wrap:wrap;gap:10px; }
 .map-chapter-heading>div { flex:1;min-width:170px; }
 .map-chapter-progress { max-width:none;margin:0 0 6px 40px;text-align:left;display:flex;gap:10px;align-items:center; }
 .map-chapter[data-map-stage] .map-route-cover .map-checkpoints { grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--route-mobile-rows),210px); }
 .map-chapter[data-map-stage] .map-route-cover .map-checkpoint:nth-child(n) { grid-column:var(--route-mobile-column);grid-row:var(--route-mobile-row);padding-top:18px; }
 .map-chapter[data-map-stage] .map-route-cover .map-checkpoint:nth-child(n) { padding-top:calc(18px + var(--route-mobile-offset)); }
 .cover-route-4,.cover-route-3 { display:none; }
 .cover-route-2 { display:block; }
 .map-cover-wrap { width:min(100%,148px);border-radius:18px; }
 .map-cover-picture { border-radius:13px; }
 .map-chapter[data-map-stage] .map-route-cover .map-checkpoint-button>strong { font-size:13px; }
 .map-cover-meta { gap:5px; }
 .map-cover-meta small,.map-route-cover .map-node-status { font-size:10px; }
 .map-cover-meta small { padding-left:5px; }
}
@media(prefers-reduced-motion:reduce) { .map-route-cover .map-checkpoint-button:hover .map-cover-wrap { transform:none; } }

.map-chapter-heading:focus { outline:none; }

/* Stage-one island study: geography stays behind the real curriculum. */
.map-island { background:#fbfcf7;overflow:hidden; }
.island-welcome { display:flex;align-items:center;gap:14px;position:relative;margin:2px -28px 0;padding:20px 30px 26px;background:#e7f1ee; }
.island-welcome>span:first-child { display:inline-block;color:#557b70;font-size:13px;font-weight:600;letter-spacing:.12em; }
.island-welcome p { color:#7d978c;font-size:12px;margin:0; }
.island-welcome-mark { margin-left:auto;width:130px;height:56px;flex-shrink:0; }
.map-route-island { margin:0 -18px 0;padding:0;isolation:isolate;background:#e7f1ee;border-radius:0 0 26px 26px; }
.island-scenery { position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-2; }
.island-scenery path { vector-effect:non-scaling-stroke; }
.island-foam { fill:none;stroke:#f5faf5;stroke-width:22px; }
.island-sand { fill:#f5f2dc;stroke:#e8dfba;stroke-width:11px; }
.island-land { fill:#f3f2dc;stroke:#e9e7c8;stroke-width:1px; }
.island-scenery-2 { display:none; }
.map-route-island .cover-route-base { stroke:#e4d8b4;stroke-width:14px; }
.map-route-island .cover-route-trail { stroke:#b7b893; }
.map-route-island .cover-route-trail.is-lit { stroke:var(--green); }
.map-route-island .map-checkpoint-button>strong { display:inline-block;padding:1px 7px;background:#f4f3dfeb;border-radius:8px; }
.map-route-island .map-cover-meta { background:#f4f3dfe6; }
.island-arrival { display:flex;align-items:center;justify-content:center;gap:10px;padding:18px 12px 22px;color:#789184; }
.island-arrival>span { font-size:24px;color:#a3b28d; }
.island-arrival p { margin:0;font-size:12px; }
@media(max-width:680px) {
 .island-welcome { margin:4px -12px 0;padding:16px 20px 24px;gap:9px;flex-wrap:wrap; }
 .island-welcome>span:first-child { font-size:12px; }
 .island-welcome p { font-size:10px;max-width:210px; }
 .island-welcome-mark { width:80px;height:40px; }
 .map-route-island { margin:0 -6px; }
 .island-scenery-4,.island-scenery-3 { display:none; }
 .island-scenery-2 { display:block; }
 .island-arrival { padding:14px 0 18px;gap:6px; }
 .island-arrival p { font-size:10px; }
}

/* Three connected islands, with a shared coastline and distinct land tones. */
.map-island-2 .island-land { fill:#ebf0d9;stroke:#dce4c0; }
.map-island-2 .island-sand { fill:#ebf0d9;stroke:#e1d9b2; }
.map-island-2 .map-route-island .map-checkpoint-button>strong,
.map-island-2 .map-route-island .map-cover-meta { background:#edf2e0ed; }
.map-island-3 .island-land { fill:#f5ecd9;stroke:#e9dfc7; }
.map-island-3 .island-sand { fill:#f5ecd9;stroke:#e6d6b4; }
.map-island-3 .map-route-island .map-checkpoint-button>strong,
.map-island-3 .map-route-island .map-cover-meta { background:#f6eedfed; }
.map-island:not(:last-child)::after { content:none; }
.island-crossing { display:flex;align-items:center;justify-content:center;gap:18px;min-height:48px;padding:0 15%; }
.island-crossing-line { flex:1;border-top:2px dashed #b6cec3; }
.island-crossing-copy { color:#5e7c6d;text-align:center;font-size:13px; }
.island-crossing-copy small { display:block;color:var(--muted);font-size:11px;margin-top:5px; }
@media(max-width:680px) { .island-crossing { padding:0 12px;gap:10px; } .island-crossing-copy { font-size:12px; } .island-crossing-copy small { font-size:10px; } }

/* A compact journey overview, island postcards and one clear next lesson. */
.journey-intro { align-items:stretch;gap:32px;padding:8px 0 4px; }
.journey-title { display:flex;flex-direction:column;justify-content:center; }
.journey-intro .journey-title h1 { font-size:clamp(27px,3.1vw,38px);letter-spacing:.015em;margin:10px 0 14px;line-height:1.3; }
.journey-intro .journey-title>p:last-child { max-width:600px;font-size:14px;line-height:1.9; }
.journey-passport { min-width:200px;grid-template-columns:auto;justify-items:start;align-content:center;text-align:left;padding:18px 22px;border-radius:8px 18px 18px 8px;border:1px solid #d5ddcc;border-left:5px solid #d1d9c1;background:#f3f5e9;box-shadow:3px 3px 0 #e4e9da; }
.passport-label { display:flex;align-items:center;gap:7px;color:var(--green);font-size:11px;letter-spacing:.06em;margin-bottom:8px; }
.passport-label svg { width:15px;height:15px; }
.journey-passport>strong { font-size:34px; }
.journey-passport>strong span { font-size:17px; }
.journey-passport>span:not(.passport-label) { font-size:11px;margin-top:2px; }
.journey-passport progress { width:100%;height:5px;margin-top:12px;accent-color:var(--green);border:0;border-radius:8px;overflow:hidden; }
.journey-passport progress::-webkit-progress-bar { background:#dce3d3; }
.journey-passport progress::-webkit-progress-value { background:var(--green);border-radius:8px; }
.journey-passport small { margin-top:7px;font-size:10px; }
.journey-postcards { gap:24px;margin-top:4px; }
.map-stage-plan .stage-postcard { display:flex;flex-direction:column;border:1px solid var(--line);border-top:1px solid var(--line);border-radius:18px;padding:0;background:var(--paper);overflow:visible;transition:box-shadow .18s,border-color .18s; }
.map-stage-plan .stage-postcard.selected { border:1px solid #a3b79b;border-top:1px solid #a3b79b;background:var(--paper);box-shadow:0 4px 14px #284c3310; }
.map-stage-plan .stage-postcard:not(:last-child)::after { content:'';width:24px;right:-25px;top:64px;border-top:2px dashed #b4c9ba; }
.stage-postcard-art { display:block;width:100%;height:126px;overflow:hidden;border-radius:17px 17px 0 0;background:#e7f1ee; }
.stage-postcard-art>svg { width:100%;height:100%;display:block; }
.stage-postcard-copy { display:block;padding:18px 20px 15px;margin:0!important;width:100%; }
.stage-postcard-copy .map-stage-kicker { display:flex;align-items:center;gap:10px;font-size:11px;color:#748771; }
.stage-exploring,.stage-earned { margin-left:auto;padding:3px 8px;border-radius:12px;font-size:10px;white-space:nowrap; }
.stage-exploring { background:#f4e6cd;color:#9c6835; }
.stage-earned { background:var(--sage);color:var(--green); }
.map-stage-plan .stage-postcard h2 { font-size:22px;margin:10px 0 8px; }
.map-stage-plan .stage-postcard p { display:block;min-height:48px;font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 14px; }
.stage-postcard-footer { display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:11px;font-size:11px;color:var(--muted); }
.stage-postcard-footer>span:last-child { display:flex;align-items:center;gap:6px;color:var(--green); }
.stage-postcard-footer svg { width:14px;height:14px; }
.map-stage-plan .stage-postcard:hover { border-color:#8ea585;box-shadow:0 5px 16px #284c3314; }
.map-stage-plan .stage-postcard:focus-visible { outline:3px solid var(--focus);outline-offset:4px; }
.journey-plan-tools { display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-top:-10px;font-size:12px; }
.journey-plan-tools>.text-button { font-size:12px;display:flex;align-items:center;gap:8px;color:var(--muted); }
.journey-plan-tools svg { width:14px;height:14px; }
.journey-plan-details { flex:1; }
.journey-plan-details summary { display:flex;align-items:center;gap:6px;cursor:pointer;color:var(--muted);padding:6px 0;list-style:none; }
.journey-plan-details summary::before { content:'＋';color:var(--green);font-size:14px; }
.journey-plan-details[open] summary::before { content:'−'; }
.journey-plan-details>div { display:grid;gap:16px;padding:18px;margin-top:8px;border:1px solid var(--line);border-radius:14px;background:var(--paper); }
.journey-plan-details h3 { font-size:14px;margin:0 0 6px; }
.journey-plan-details p { color:var(--muted);font-size:12px;line-height:1.8;margin:3px 0; }
.journey-plan-details strong { display:block;margin-top:6px;font-size:12px;font-weight:500;color:var(--green); }
.course-next.map-current.journey-resume { position:relative;display:grid;grid-template-columns:220px minmax(0,1fr);gap:26px;padding:18px;border:1px solid #d9dfce;background:var(--paper);border-radius:20px;overflow:hidden; }
.journey-resume-cover { min-height:170px;border-radius:13px;overflow:hidden;background:var(--sage); }
.journey-resume-cover>img { display:block;width:100%;height:100%;max-height:190px;object-fit:cover; }
.journey-resume-cover>.island-welcome-mark { width:100%;height:170px; }
.journey-resume-cover .course-cover-concepts { height:170px; }
.journey-resume-copy { align-self:center;padding:5px 65px 5px 0; }
.journey-resume-copy>.eyebrow { color:#8a8f73;font-size:11px;line-height:1.7; }
.journey-resume-copy h2 { font-size:23px;line-height:1.5;margin:8px 0; }
.journey-resume-copy p { font-size:13px;line-height:1.8;margin:0 0 16px; }
.journey-resume-copy .primary { min-height:42px;font-size:13px; }
.journey-resume-marker { position:absolute;right:28px;top:28px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#f1f3e6;color:#a1af8b; }
.journey-resume-marker svg { width:22px;height:22px; }
@media(max-width:850px) {
 .journey-postcards { gap:14px; }
 .stage-postcard-copy { padding:14px; }
 .map-stage-plan .stage-postcard h2 { font-size:20px; }
 .stage-exploring { padding:3px 6px; }
 .map-stage-plan .stage-postcard:not(:last-child)::after { width:14px;right:-15px; }
}
@media(max-width:680px) {
 .journey-intro { gap:14px;align-items:center; }
 .journey-intro .journey-title h1 { font-size:25px;max-width:210px;margin:8px 0 10px; }
 .journey-intro .journey-title>p:last-child { font-size:12px;line-height:1.8; }
 .journey-passport { min-width:104px;width:104px;padding:13px 10px;border-left-width:3px; }
 .passport-label { font-size:9px;letter-spacing:0;gap:4px;margin-bottom:6px; }
 .passport-label svg { width:12px; }
 .journey-passport>strong { font-size:27px; }
 .journey-passport>strong span { font-size:13px; }
 .journey-passport>span:not(.passport-label),.journey-passport small { font-size:9px; }
 .journey-postcards { grid-template-columns:1fr;gap:12px; }
 .map-stage-plan .stage-postcard { flex-direction:row;overflow:hidden; }
 .stage-postcard-art { flex:0 0 106px;width:106px;height:auto;border-radius:17px 0 0 17px;display:grid;align-items:center; }
 .stage-postcard-art>svg { width:150px;max-width:none;height:100px;transform:translateX(-22px); }
 .stage-postcard-copy { padding:13px 14px;min-width:0; }
 .stage-postcard-copy .map-stage-kicker { font-size:10px;gap:5px; }
 .stage-exploring,.stage-earned { font-size:9px;padding:2px 5px; }
 .map-stage-plan .stage-postcard h2 { font-size:19px;margin:6px 0; }
 .map-stage-plan .stage-postcard p { min-height:0;font-size:11px;line-height:1.7;margin:0 0 9px; }
 .stage-postcard-footer { font-size:10px;padding-top:8px; }
 .map-stage-plan .stage-postcard:not(:last-child)::after { content:none; }
 .journey-plan-tools { flex-direction:column;gap:5px;margin-top:-6px; }
 .journey-plan-details { width:100%; }
 .journey-plan-tools>.text-button { font-size:11px; }
 .course-next.map-current.journey-resume { grid-template-columns:96px minmax(0,1fr);gap:14px;padding:14px; }
 .journey-resume-cover { min-height:125px; }
 .journey-resume-cover>img { height:100%;max-height:180px; }
 .journey-resume-copy { padding:0; }
 .journey-resume-copy h2 { font-size:17px;margin:6px 0; }
 .journey-resume-copy>.eyebrow { font-size:10px; }
 .journey-resume-copy p { font-size:11px;margin-bottom:10px; }
 .journey-resume-copy .primary { min-height:40px;font-size:12px; }
 .journey-resume-marker { display:none; }
}

/* Learning resources: illustrated theme shelf, matching the journey palette. */
.paper-panel.resource-shelf { padding:26px 0 8px;border:0;background:transparent;border-radius:0;box-shadow:none; }
.resource-shelf-heading { display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px; }
.resource-shelf-heading .eyebrow { font-size:11px;margin:0 0 8px;color:var(--muted); }
.resource-shelf-heading h2 { display:flex;align-items:center;gap:12px;font-size:25px;margin:0 0 10px; }
.resource-shelf-heading h2>span { padding:5px 10px;border-radius:20px;background:#e9eddf;font-size:12px;font-weight:500;color:var(--green); }
.resource-shelf-heading p:last-child { font-size:13px;line-height:1.8;margin:0;color:var(--muted); }
.resource-mode.chips { display:flex;flex-shrink:0;gap:4px;padding:5px;margin:0;border:1px solid #dce1d3;border-radius:14px;background:#efefe6; }
.resource-mode .choice { min-height:44px;padding:10px 17px;border:1px solid transparent;border-radius:10px;background:transparent;font-size:13px; }
.resource-mode .choice.selected { color:var(--green);background:var(--paper);border-color:#d3dcc7;box-shadow:0 2px 5px #354f3d08; }
.resource-grid.resource-theme-grid { gap:18px;margin:0; }
.resource-theme-card { display:grid;grid-template-columns:34% minmax(0,1fr);align-items:stretch;min-height:148px;padding:0;overflow:hidden;text-align:left;white-space:normal;background:var(--paper);border:1px solid #dce1d4;border-radius:17px;color:var(--ink);box-shadow:0 3px 10px #354f3d03;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.resource-theme-card:hover { transform:translateY(-3px);border-color:#9dab8a;box-shadow:0 7px 18px #354f3d0d; }
.resource-theme-card:focus-visible { outline:3px solid var(--green);outline-offset:4px; }
.resource-theme-card:active { transform:translateY(0); }
.resource-theme-cover { display:block;min-width:0;overflow:hidden;background:#e8eddf; }
.resource-theme-cover img { display:block;width:100%;height:100%;min-height:148px;object-fit:cover; }
.resource-theme-copy { display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;padding:19px 16px; }
.resource-theme-copy strong { font-size:17px;font-weight:650;line-height:1.5;text-wrap:pretty; }
.resource-theme-copy small { margin-top:8px;font-size:12px;line-height:1.6;color:var(--muted); }
.resource-theme-enter { display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;margin-top:17px;color:var(--green);font-size:11px; }
.resource-theme-enter svg { width:16px;height:16px; }
@media(max-width:1000px) and (min-width:681px) { .resource-grid.resource-theme-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:680px) {
 .paper-panel.resource-shelf { padding-top:18px; }
 .resource-shelf-heading { align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:18px; }
 .resource-shelf-heading h2 { font-size:22px; }
 .resource-shelf-heading p:last-child { font-size:12px; }
 .resource-mode.chips { width:100%; }
 .resource-mode .choice { flex:1; }
 .resource-grid.resource-theme-grid { grid-template-columns:1fr;gap:12px; }
 .resource-theme-card { grid-template-columns:108px minmax(0,1fr);min-height:130px;border-radius:15px; }
 .resource-theme-cover img { min-height:130px; }
 .resource-theme-copy { padding:15px 18px; }
 .resource-theme-copy strong { font-size:17px; }
 .resource-theme-enter { margin-top:12px; }
}
@media(prefers-reduced-motion:reduce) { .resource-theme-card { transition:none; } .resource-theme-card:hover { transform:none; } }

/* Shared resource heading: modules switch below this persistent navigation. */
.resource-intro { margin-bottom:24px; }
.resource-module-tabs { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px;margin:0 0 26px;border:1px solid #dce1d4;border-radius:17px;background:#eeefe6; }
.resource-module-tab { display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;padding:12px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--muted);font:inherit;font-size:15px;cursor:pointer; }
.resource-module-tab>svg { width:20px;height:20px;flex-shrink:0; }
.resource-module-tab.selected { color:var(--green);background:var(--paper);border-color:#d2dcc7;box-shadow:0 2px 5px #354f3d08; }
.resource-module-tab:hover { color:var(--green);background:#fffdf880; }
.resource-module-tab.selected:hover { background:var(--paper); }
.resource-module-tab:focus-visible { outline:3px solid var(--green);outline-offset:2px; }
.resource-module-content { min-width:0; }
.resource-module-content>.phonics-parent-back,
.resource-module-content>#practiceContent>.practice-parent-back,
.resource-module-content>#playgroundContent>.back[data-page] { display:none; }
.resource-module-content .page-intro h1 { font-size:24px; }
.resource-module-content .resource-shelf { padding-top:4px; }
@media(max-width:680px) {
 .resource-module-tabs { margin-bottom:22px;border-radius:15px;gap:4px;padding:5px; }
 .resource-module-tab { justify-content:flex-start;gap:8px;min-height:52px;padding:10px;font-size:13px; }
 .resource-module-tab>svg { width:17px;height:17px; }
 .resource-module-content .page-intro h1 { font-size:21px; }
}
/* Sound and practice islands reuse the homepage's three landmark illustrations. */
.resource-island-hero { display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center;gap:30px;margin:0 0 25px;padding:26px 32px;background:#eaf0e5;border:1px solid #d9e1d0;border-radius:23px;overflow:hidden; }
.resource-island-hero .eyebrow { font-size:11px;color:#748471;margin-bottom:10px; }
.resource-island-hero h1 { font-size:28px;margin-bottom:12px; }
.resource-island-hero p:not(.eyebrow) { font-size:14px;line-height:1.9;color:var(--muted);max-width:620px; }
.island-hero-note { display:inline-block;margin-top:16px;font-size:12px;color:var(--green); }
.resource-island-art { padding:9px;background:#f8f7e9;border:1px solid #d7ddcb;border-radius:50% 48% 44% 46%;overflow:hidden;transform:rotate(-3deg); }
.resource-island-art .stage-postcard-art { display:block;height:auto;border:0; }
.resource-island-art .stage-postcard-art>svg { width:100%;height:auto; }
.phonics-island-hero { background:#e7efed; }
.phonics-overview.paper-panel { background:transparent;border:0;box-shadow:none;padding:10px 0 18px; }
.phonics-overview h2 { font-size:18px; }
.phonics-overview ol { list-style:none;counter-reset:stop;gap:28px;padding:0;margin:20px 0 16px; }
.phonics-overview li { counter-increment:stop;position:relative;padding:18px 18px 18px 62px;background:var(--paper);border:1px solid var(--line);border-radius:16px;font-size:15px; }
.phonics-overview li:before { content:counter(stop,decimal-leading-zero);position:absolute;left:16px;top:19px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e8eddf;color:var(--green);font-size:12px; }
.phonics-overview li:not(:last-child):after { content:'';position:absolute;top:50%;left:100%;width:30px;border-top:2px dashed #bdcbb9; }
.phonics-overview>p { font-size:12px; }
.phonics-learning-island { position:relative;padding:28px 32px 34px;border:1px solid #d7e2d6;border-radius:48px 30px 42px 28px;background:#edf1e4;box-shadow:0 0 0 7px #e8efec; margin:30px 7px 42px; }
.phonics-learning-island-2 { background:#edf0dc;border-color:#d9ddc4; }
.phonics-learning-island-3 { background:#f3ecdf;border-color:#e4d7c4; }
.phonics-learning-island>.section-heading { align-items:center;margin-bottom:24px; }
.island-section-label { display:block;font-size:11px;letter-spacing:.08em;color:#738268;margin-bottom:9px; }
.phonics-learning-island h2 { font-size:22px; }
.phonics-learning-island .section-heading p { margin-top:9px;font-size:13px; }
.phonics-section-art { flex:0 0 160px;overflow:hidden;opacity:.9; }
.phonics-section-art .stage-postcard-art { background:transparent;height:auto;border:0; }
.phonics-section-art svg { width:100%;height:auto; }
.phonics-learning-island .theme-grid { grid-template-columns:repeat(5,minmax(0,1fr));gap:15px; }
.phonics-learning-island .theme-card { background:var(--paper);border:1px solid #d5dcc9;border-radius:17px;padding:14px;text-align:left;box-shadow:0 3px 5px #3d593006; }
.phonics-learning-island .theme-card:hover { border-color:#92a885;box-shadow:0 5px 12px #3d593010; }
.phonics-learning-island .theme-picture { height:auto;min-height:72px;background:transparent;border-radius:12px;margin-bottom:12px; }
.phonics-learning-island .phonics-cover { font-size:30px;background:#f0f1e6;border-radius:12px;padding:15px 8px;min-height:72px; }
.phonics-learning-island .theme-name { font-size:16px; }
.phonics-learning-island .word-study-count { font-size:11px;line-height:1.7; }
.resource-module-content .phonics-sound-bank { border-radius:26px;background:#fffdf7;border-color:#dce1d1; }
.resource-module-content #practiceContent { padding-bottom:14px; }
.resource-module-content .practice-picker { display:flex;align-items:center;gap:14px;max-width:860px;margin:0 auto 18px;font-size:13px; }
.resource-module-content .practice-picker select { flex:1;min-width:0;background:var(--paper);border-radius:13px; }
.resource-module-content .practice-panel { position:relative;max-width:860px;padding:28px;border-radius:32px 23px 36px 23px;border:1px solid #d6ddc9;box-shadow:0 0 0 7px #e6eeea;background:var(--paper);margin:9px auto 24px; }
.practice-welcome-sound { display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#edf1e3;color:var(--green);margin:0 auto 18px; }
.practice-welcome-sound svg { width:28px;height:28px; }
@media(max-width:1000px) { .phonics-learning-island .theme-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:680px) {
 .resource-island-hero { grid-template-columns:minmax(0,1fr) 100px;gap:12px;padding:20px 16px;border-radius:20px; }
 .resource-island-hero h1 { font-size:23px; }
 .resource-island-hero .eyebrow { font-size:10px;line-height:1.8; }
 .resource-island-hero p:not(.eyebrow) { font-size:12px; }
 .resource-island-art { padding:3px;align-self:start;margin-top:25px; }
 .island-hero-note { font-size:11px;line-height:1.8; }
 .phonics-overview li:not(:last-child):after { left:32px;top:100%;height:16px;width:0;border-left:2px dashed #bdcbb9;border-top:0; }
 .phonics-overview ol { gap:14px; }
 .phonics-learning-island { padding:22px 15px 25px;border-radius:30px 22px;margin:24px 5px 35px;box-shadow:0 0 0 5px #e8efec; }
 .phonics-learning-island h2 { font-size:19px; }
 .phonics-learning-island .section-heading p { font-size:12px; }
 .phonics-section-art { flex-basis:74px; }
 .phonics-learning-island .theme-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
 .phonics-learning-island .theme-card { padding:11px; }
 .phonics-learning-island .phonics-cover { font-size:25px; }
 .resource-module-content .practice-panel { padding:20px 13px;margin-left:5px;margin-right:5px;box-shadow:0 0 0 5px #e6eeea;border-radius:25px; }
 .resource-module-content .practice-picker { flex-direction:column;align-items:stretch;gap:7px; }
}
/* Replace the long OS select with an airy, grouped activity panel. */
.practice-activity-picker { max-width:860px;margin:0 auto 24px;border:1px solid #d5decc;border-radius:18px;background:var(--paper); }
.practice-activity-picker>summary { display:flex;align-items:center;justify-content:space-between;gap:24px;padding:19px 23px;cursor:pointer;list-style:none; }
.practice-activity-picker summary::-webkit-details-marker { display:none; }
.activity-picker-label { display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted);font-weight:400; }
.activity-picker-label strong { font-size:18px;line-height:1.6;color:var(--ink);font-weight:650; }
.activity-picker-toggle { display:flex;align-items:center;gap:12px;flex-shrink:0;color:var(--green);font-size:13px; }
.activity-picker-toggle svg { width:18px;height:18px;transform:rotate(90deg); }
.practice-activity-picker[open] .activity-picker-toggle svg { transform:rotate(-90deg); }
.activity-picker-content { padding:24px;border-top:1px solid var(--line);background:#f5f6ee;border-radius:0 0 18px 18px; }
.activity-picker-heading { display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px; }
.activity-picker-heading h2 { font-size:20px;line-height:1.5;margin-bottom:8px; }
.activity-picker-heading p { font-size:13px;line-height:1.8;color:var(--muted); }
.activity-picker-search { flex:0 1 250px;min-width:0; }
.activity-picker-search input { width:100%;min-height:46px;border:1px solid #ccd7c4;border-radius:12px;padding:10px 14px;background:var(--paper);color:var(--ink);font-size:14px; }
.activity-picker-groups { display:grid;gap:12px; }
.activity-picker-group { background:var(--paper);border:1px solid #dde3d5;border-radius:14px;overflow:hidden; }
.activity-picker-group>summary { display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:17px 18px;font-size:15px;font-weight:650; }
.activity-picker-group>summary:after { content:'＋';margin-left:auto;color:#7b8e71;font-weight:400;font-size:18px; }
.activity-picker-group[open]>summary:after { content:'−'; }
.activity-picker-group>summary small { color:var(--muted);font-size:12px;font-weight:400; }
.activity-picker-options { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 16px 17px; }
.activity-picker-option { display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:93px;border:1px solid #dce2d3;border-radius:12px;padding:16px 18px;background:#fafbf5;text-align:left; }
.activity-picker-option>span:first-child { min-width:0; }
.activity-picker-option strong { display:block;font-size:16px;line-height:1.6;font-weight:600; }
.activity-picker-option small { display:block;margin-top:9px;font-size:12px;color:var(--muted);font-weight:400;line-height:1.8; }
.activity-picker-status { display:flex;align-items:center;flex-shrink:0;color:var(--green);font-size:11px; }
.activity-picker-status svg { width:17px;height:17px; }
.activity-picker-option.selected { background:#eaf0df;border-color:#9eaf8d; }
.activity-picker-option:hover { border-color:#95a884;background:#f0f3e6; }
.activity-picker-empty { padding:24px 0;color:var(--muted);font-size:14px;text-align:center; }
@media(max-width:680px) {
 .practice-activity-picker>summary { padding:16px;gap:14px; }
 .activity-picker-label strong { font-size:17px; }
 .activity-picker-toggle { font-size:12px;gap:5px; }
 .activity-picker-content { padding:17px 12px; }
 .activity-picker-heading { flex-direction:column;align-items:stretch;gap:15px;margin-bottom:20px; }
 .activity-picker-heading h2 { font-size:18px; }
 .activity-picker-search { flex:auto; }
 .activity-picker-options { grid-template-columns:1fr;padding:0 10px 12px;gap:10px; }
 .activity-picker-option { padding:15px;min-height:88px; }
 .activity-picker-group>summary { padding:16px 14px; }
}

/* Main navigation: three illustrated island destinations. */
.site-header nav.island-main-nav { gap:12px; }
.site-header .island-main-nav button { display:flex;align-items:center;justify-content:center;gap:2px;min-width:150px;min-height:66px;padding:6px 17px 9px 6px;border:1px solid transparent;border-radius:40% 38% 30% 32% / 60% 55% 42% 40%;font-size:15px;transition:background .18s ease,border-color .18s ease; }
.site-header .island-main-nav button.active { background:#edf1e4;border-color:#d9e1ce;color:var(--green); }
.site-header .island-main-nav button.active:after { content:none; }
.site-header .island-main-nav button:hover { color:var(--green);background:#f0f2e8; }
.nav-island-art { display:block;width:68px;height:42px;flex-shrink:0; }
.nav-island-art .stage-postcard-art { display:block;background:transparent;border:0;height:100%;overflow:visible; }
.site-header .island-main-nav .nav-island-art .stage-postcard-art>svg { display:block;width:100%;max-width:none;height:100%;overflow:visible;transform:none; }
.site-header .island-main-nav .nav-island-art svg svg { width:170px;height:86px; }
.nav-island-art svg>rect { fill:transparent; }
.nav-island-title { position:relative;z-index:1;white-space:nowrap;letter-spacing:.04em; }
.nav-island-wave { position:absolute;bottom:5px;left:31%;right:20%;height:5px;border-bottom:1px solid #b5ccbd;border-radius:0 0 50% 50%;opacity:0; }
.active .nav-island-wave { opacity:1; }
@media(min-width:761px) and (max-width:1000px) {
 .site-header nav.island-main-nav { gap:5px; }
 .site-header .island-main-nav button { min-width:130px;padding-right:12px;font-size:13px; }
 .nav-island-art { width:53px;height:35px; }
}
@media(max-width:760px) {
 body:has(.island-main-nav) { padding-bottom:calc(85px + env(safe-area-inset-bottom)); }
 .site-header nav.island-main-nav { gap:10px;min-height:78px;padding:5px 12px max(7px,env(safe-area-inset-bottom)); }
 .site-header .island-main-nav button { flex:1;flex-direction:column;gap:0;min-width:0;min-height:65px;padding:1px 7px 8px;font-size:12px;border-radius:35% 38% 27% 30% / 45% 48% 30% 30%; }
 .nav-island-art { width:68px;height:31px; }
 .nav-island-title { line-height:1.8; }
 .nav-island-wave { bottom:5px;left:30%;right:30%; }
}
@media(prefers-reduced-motion:reduce) { .site-header .island-main-nav button { transition:none; } }

.account-nickname { border-top:1px solid var(--line);margin-top:16px;padding-top:16px; }
.account-nickname>label { display:block;font-size:13px;font-weight:650;margin-bottom:9px; }
.account-nickname>div { display:flex;align-items:center;gap:8px; }
.account-nickname input { min-width:0;flex:1;width:100%;min-height:44px;padding:9px 12px;border:1px solid #ccd7c4;border-radius:10px;background:var(--paper);font-size:14px;color:var(--ink); }
.account-nickname button { min-height:44px;flex-shrink:0;padding:8px 14px; }
.account-nickname small { display:block;font-size:11px;color:var(--muted);line-height:1.8;margin-top:9px; }
.account-nickname [role="status"] { font-size:12px;color:var(--green); }
.settings-anchor:has(> .account-button) { min-width:0;flex-shrink:1; }
.account-button { min-width:0;max-width:100%; }
.account-button .account-avatar { flex-shrink:0; }
.account-button>span:last-child { min-width:0;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.account-profile p { overflow-wrap:anywhere; }
.journey-title h1,.growth-hero h1 { overflow-wrap:anywhere; }

/* Completed lesson: a quiet island celebration with one short confetti shower. */
.course-ending.island-completion { position:relative;isolation:isolate;overflow:hidden;max-width:920px;padding:30px 45px 26px;border-radius:32px;background:#fffdf7;border:1px solid #dce2cf; }
.island-completion>.eyebrow { position:relative;z-index:1;color:#809173;font-size:11px;letter-spacing:.08em; }
.completion-island-scene { position:relative;width:320px;max-width:100%;margin:18px auto 20px; }
.completion-island-scene .stage-postcard-art { width:100%;height:140px;background:transparent;border:0;border-radius:50%;overflow:hidden; }
.completion-island-scene .stage-postcard-art>svg { width:100%;height:100%;transform:none; }
.completion-medal { position:absolute;left:calc(50% - 26px);bottom:-11px;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#ecd496;color:var(--green);border:5px solid #fffdf7;box-shadow:0 0 0 1px #ddc58d; }
.completion-medal svg { width:25px;height:25px; }
.completion-spark { position:absolute;color:#b8a16a;line-height:1;font-size:26px; }
.spark-one { top:20px;left:20px;transform:rotate(-12deg); }
.spark-two { right:12px;top:58px;font-size:35px;color:#99ae8a; }
.island-completion h1 { font-size:clamp(28px,4vw,36px);line-height:1.4;margin:25px 0 10px; }
.completion-cheer { font-size:14px;line-height:1.9;color:#718166; }
.completion-lesson { font-size:15px;line-height:1.8;margin:12px auto 0;max-width:620px;color:var(--ink); }
.map-completion-reward.completion-progress { max-width:550px;gap:17px;margin:24px auto;padding:21px 24px;background:#ecf1e2;border:1px solid #dfe5d0;border-radius:20px; }
.completion-progress>div { flex:1;min-width:0; }
.completion-progress strong { font-size:17px; }
.completion-progress progress { display:block;width:100%;height:6px;margin-top:13px;accent-color:#789967;border:0;border-radius:8px;overflow:hidden; }
.completion-progress progress::-webkit-progress-bar { background:#d8e0ce;border-radius:8px; }
.completion-progress progress::-webkit-progress-value { background:#88a473;border-radius:8px; }
.completion-actions { display:flex;justify-content:center;align-items:stretch;gap:12px;margin-top:28px; }
.island-completion .completion-actions button { margin:0;min-height:48px;padding:12px 20px;border-radius:14px;white-space:normal;line-height:1.7; }
.completion-actions .primary { display:flex;justify-content:center;align-items:center;gap:12px;max-width:560px; }
.completion-actions .secondary { flex-shrink:0; }
.completion-record { margin:22px auto 0;max-width:620px;color:var(--muted);font-size:12px;line-height:1.9; }
.completion-record summary { cursor:pointer;min-height:32px; }
.completion-record p { margin-top:10px; }
.completion-confetti { position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2; }
.completion-confetti i { position:absolute;top:-24px;left:var(--x);width:9px;height:14px;border-radius:2px;background:var(--color);opacity:0;animation:island-confetti-fall var(--fall) var(--delay) ease-in forwards; }
.completion-confetti i:nth-child(3n) { width:8px;height:8px;border-radius:50%; }
.completion-confetti i:nth-child(4n) { width:6px;height:16px; }
@keyframes island-confetti-fall { 0% { opacity:0;transform:translate(0,-20px) rotate(0); } 8% { opacity:.85; } 75% { opacity:.75; } 100% { opacity:0;transform:translate(var(--drift),700px) rotate(var(--turn)); } }
@media(max-width:680px) {
 .course-ending.island-completion { padding:25px 18px 20px;border-radius:25px; }
 .completion-island-scene { width:260px;margin:14px auto 22px; }
 .completion-island-scene .stage-postcard-art { height:115px; }
 .completion-cheer { font-size:12px; }
 .completion-lesson { font-size:14px;margin-top:12px; }
 .map-completion-reward.completion-progress { padding:17px 14px;gap:12px; }
 .completion-progress strong { font-size:15px; }
 .completion-progress>span { padding:9px; }
 .completion-actions { flex-direction:column;gap:10px;margin-top:22px; }
 .island-completion .completion-actions button { font-size:13px;min-height:48px; }
}
@media(prefers-reduced-motion:reduce) { .completion-confetti { display:none; } }

.map-checkpoint.state-locked .map-checkpoint-button { opacity:1;cursor:not-allowed; }
.map-checkpoint.state-locked .map-cover-picture { filter:grayscale(.65);opacity:.52; }
.map-checkpoint.state-locked .map-cover-wrap { border-color:#d7d9ce;box-shadow:none; }
.map-checkpoint.state-locked strong,.map-checkpoint.state-locked .map-cover-meta { color:#8c9283; }
.map-checkpoint.state-locked .map-cover-number { background:#e9ecdf;color:#838e78; }

.map-cover-lock { position:absolute;right:-5px;top:-5px;display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#f7f8ef;border:1px solid #d5ddcb; }
.map-cover-lock svg { width:11px;height:11px; }
/* Growth handbook: the same coast, landmarks and paper as the learning map. */
.growth-hero.growth-island-hero { position:relative;overflow:hidden;background:#eaf0e5;border-color:#d7dfcb;border-radius:32px 24px 35px 24px;padding:30px;margin-bottom:28px; }
.growth-island-hero .growth-hero-title { gap:28px; }
.growth-island-hero .growth-hero-title>div:first-child { flex:1;min-width:0; }
.growth-island-hero .growth-hero-title .eyebrow { font-size:11px;color:#7f8b70;letter-spacing:.07em; }
.growth-island-hero h1 { font-size:32px;line-height:1.4;margin:11px 0 13px; }
.growth-island-hero .growth-hero-title p { font-size:14px;line-height:1.9;font-weight:500; }
.growth-personal-island { width:270px;flex-shrink:0;padding:5px;background:#f8f7e9;border-radius:48% 53% 46% 50%;overflow:hidden; }
.growth-personal-island .stage-postcard-art { display:block;width:100%;height:110px;border:0;background:transparent; }
.growth-personal-island .stage-postcard-art>svg { width:100%;height:100%;max-width:none;transform:none; }
.growth-island-hero .growth-metrics { gap:16px;margin-top:28px; }
.growth-island-hero .growth-metric { position:relative;padding:21px 22px 25px;gap:9px;border-color:#d9dfce;border-radius:20px;background:#fffdf7; }
.growth-island-hero .growth-metric:after { content:'';position:absolute;bottom:10px;left:22px;width:36px;height:4px;border-bottom:2px solid #c3d7ca;border-radius:50%; }
.growth-island-hero .growth-metric strong { font-size:32px; }
.growth-island-hero .growth-metric span { font-size:13px; }
.growth-island-hero .growth-metric small { font-size:11px;line-height:1.8; }
.growth-island-log { margin:0 0 30px;padding:0; }
.growth-island-log>.section-heading { align-items:center;margin-bottom:20px;gap:20px; }
.growth-island-log .section-heading h2 { font-size:23px;margin-top:8px; }
.growth-island-log .section-heading .eyebrow { color:#7d8c70;font-size:11px; }
.growth-island-log .section-heading .text-button { display:flex;align-items:center;gap:8px;font-size:12px;min-height:44px; }
.growth-stage-islands { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px; }
.growth-stage-island { position:relative;border:1px solid #dce3d3;border-radius:22px;overflow:hidden;background:var(--paper); }
.growth-stage-island:not(:last-child):after { content:'';position:absolute;left:100%;top:65px;width:24px;border-bottom:2px dashed #bfd0bb; }
.growth-stage-art { height:115px;background:#e9f0ed;overflow:hidden; }
.growth-stage-art .stage-postcard-art { width:100%;height:100%;border:0;background:transparent; }
.growth-stage-art .stage-postcard-art>svg { width:100%;height:100%;max-width:none;transform:none; }
.growth-stage-copy { padding:20px 24px 24px; }
.growth-stage-copy .eyebrow { font-size:11px;color:#7f8c72; }
.growth-stage-copy h3 { font-size:20px;margin:9px 0 20px; }
.growth-stage-count { display:flex;align-items:baseline;gap:8px; }
.growth-stage-count strong { font-size:34px;line-height:1.2;color:var(--green);font-variant-numeric:tabular-nums; }
.growth-stage-count>span { font-size:12px;color:var(--muted); }
.growth-stage-copy progress { display:block;width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;accent-color:#8da776;margin-top:17px; }
.growth-stage-copy progress::-webkit-progress-bar { background:#e5e9dc;border-radius:8px; }
.growth-stage-copy progress::-webkit-progress-value { background:#8da776;border-radius:8px; }
.growth-stage-copy>p { margin-top:11px;font-size:11px;color:var(--muted); }
.growth-course-note { font-size:12px;color:var(--muted);margin-top:16px;line-height:1.9; }
.growth-course-note summary { min-height:35px;cursor:pointer; }
.growth-course-note p { max-width:760px; }
main[data-screen="growth"] .growth-surface { border-color:#dce2d2;border-radius:24px;background:#fffdf7; }
main[data-screen="growth"] .growth-real-evidence { padding:27px;border-radius:30px 22px 28px 22px;box-shadow:0 0 0 5px #e9efea; margin:8px 5px 30px; }
main[data-screen="growth"] .growth-real-evidence .evidence-grid { gap:16px;margin-top:22px; }
main[data-screen="growth"] .growth-real-evidence .evidence-grid>div { border-color:#dce3d3;border-radius:17px;background:#f5f6ed;padding:20px; }
main[data-screen="growth"] .growth-calendar { background:#f7f7eb; }
main[data-screen="growth"] .growth-week-card { background:#edf3ee; }
main[data-screen="growth"] .growth-week-footprint .lit { background:#dbe7d0;border-color:#b5c5a0;color:var(--green); }
main[data-screen="growth"] .growth-date.has-learning { background:#e4ecd8;border-color:#c6d5b8; }
main[data-screen="growth"] .growth-points { background:#f6f1df;border-color:#e4ddc5; }
main[data-screen="growth"] .growth-topic { border-radius:16px;background:var(--paper); }
main[data-screen="growth"] .growth-card { border-radius:20px;border-color:#dce2d2; }
@media(max-width:760px) {
 .growth-hero.growth-island-hero { padding:23px 18px;border-radius:25px;margin-bottom:25px; }
 .growth-island-hero .growth-hero-title { gap:12px;align-items:flex-start; }
 .growth-personal-island { width:105px;margin-top:14px;padding:2px; }
 .growth-personal-island .stage-postcard-art { height:62px; }
 .growth-island-hero h1 { font-size:25px; }
 .growth-island-hero .growth-hero-title p { font-size:12px; }
 .growth-island-hero .growth-metrics { gap:10px;margin-top:22px; }
 .growth-island-hero .growth-metric { padding:16px 13px 23px;border-radius:16px; }
 .growth-island-hero .growth-metric strong { font-size:27px; }
 .growth-island-hero .growth-metric:after { left:14px; }
 .growth-stage-islands { grid-template-columns:1fr;gap:14px; }
 .growth-stage-island { display:grid;grid-template-columns:108px minmax(0,1fr);border-radius:19px; }
 .growth-stage-art { height:100%;min-height:176px;display:flex;align-items:center; }
 .growth-stage-art .stage-postcard-art { height:auto; }
 .growth-stage-art .stage-postcard-art>svg { height:auto; }
 .growth-stage-copy { padding:18px; }
 .growth-stage-copy h3 { font-size:18px;margin:6px 0 14px; }
 .growth-stage-count strong { font-size:28px; }
 .growth-stage-count>span { font-size:11px; }
 .growth-stage-copy progress { margin-top:11px; }
 .growth-island-log>.section-heading { align-items:flex-start;gap:12px; }
 .growth-island-log .section-heading h2 { font-size:21px; }
 .growth-island-log .section-heading .text-button { font-size:11px;max-width:130px;white-space:nowrap; }
 main[data-screen="growth"] .growth-real-evidence { padding:20px 14px; }
 main[data-screen="growth"] .growth-real-evidence .evidence-grid>div { padding:17px; }
}

.growth-layout.growth-tools-only { display:block; }
.growth-tools-only .growth-tools { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start; }
@media(max-width:760px) { .growth-tools-only .growth-tools { grid-template-columns:1fr;gap:14px; } }

/* Alphabet station: orderly navigation and a focused letter/example spread. */
.letter-study { text-align:left;position:relative; }
.letter-study-heading { display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px; }
.letter-study-heading .eyebrow { display:block;font-size:11px;color:#7c8d70;margin-bottom:8px; }
.letter-study-heading h2 { font-size:21px;line-height:1.5;color:var(--green);letter-spacing:.01em; }
.letter-study-count { flex-shrink:0;padding:6px 12px;border:1px solid #dce3d0;border-radius:20px;background:#f3f5e9;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums; }
.letter-study .letter-picker { display:grid;grid-template-columns:repeat(13,minmax(0,1fr));gap:7px;margin:0 0 26px;padding:0 0 24px;border-bottom:1px solid #e2e7d9; }
.letter-study .letter-picker .choice { display:grid;place-items:center;min-width:0;min-height:46px;padding:5px;border:1px solid #d9e0cf;border-radius:11px;background:#fffdf8;font-size:16px; }
.letter-study .letter-picker [aria-pressed="true"] { color:var(--paper);background:var(--green);border-color:var(--green);box-shadow:0 3px 0 #c9d7bd; }
.letter-study .letter-picker .choice:hover:not([aria-pressed="true"]) { background:#eef2e4;border-color:#a5b796; }
.letter-study-content { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch; }
.letter-display { position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:27px 20px 32px;border:1px solid #d7e1ce;border-radius:29px 22px 30px 22px;background:linear-gradient(145deg,#f1f5e9 0%,#e7efdf 100%);min-height:255px;box-shadow:inset 0 1px 0 #ffffffb8,0 8px 20px #78947a12; }
.letter-display:after { content:'';position:absolute;bottom:12px;left:25%;right:25%;height:6px;border-bottom:2px solid #c5d7cb;border-radius:50%;pointer-events:none; }
.letter-display-label { font-size:11px;color:#7b8b70;letter-spacing:.1em; }
.letter-display .english-phrase { display:flex;align-items:baseline;justify-content:center;gap:13px;font-size:84px;line-height:1.3;margin:12px 0 20px; }
.letter-display .english-phrase span:last-child { color:#8caa7b; }
.letter-display .voice-english { margin:0;min-height:46px;padding:11px 18px;border-radius:13px;font-size:13px; }
.letter-example-panel { display:flex;flex-direction:column;justify-content:center;min-width:0;padding:8px 0; }
.letter-example-heading { margin-bottom:18px; }
.letter-example-heading h3 { font-size:17px;margin-bottom:7px; }
.letter-example-heading p { font-size:12px;color:var(--muted);line-height:1.8; }
.letter-example-list { display:grid;gap:12px; }
.letter-example { display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:83px;padding:15px 18px;border:1px solid #dce2d2;border-radius:15px;background:linear-gradient(135deg,#fbfcf6,#f3f7ec);text-align:left;box-shadow:0 5px 14px #78947a0d; }
.letter-example strong { display:block;font-size:23px;line-height:1.3;color:var(--green);font-weight:600; }
.letter-example small { display:block;margin-top:8px;font-size:13px;line-height:1.6;color:var(--muted);font-weight:400; }
.letter-example-sound { display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;border-radius:50%;background:#e9efdf;color:var(--green); }
.letter-example-sound svg { width:18px;height:18px; }
.letter-example:hover { border-color:#a3b78e;background:#f0f4e7; }
.letter-game-actions { display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:14px;margin:30px 0 4px;padding:20px 12px 0;border-top:1px solid #e2e7d9;position:relative; }
.letter-game-actions:before { content:'继续练习';position:absolute;top:-9px;left:50%;padding:0 10px;background:var(--paper);color:#7c8d70;font-size:11px;letter-spacing:.08em;transform:translateX(-50%); }
.letter-game-actions button { min-width:190px;min-height:48px;padding:11px 18px;border:1px solid #bccdb8;border-radius:15px;background:#f7faf1;color:var(--green);box-shadow:0 3px 0 #d7e3d1;transition:transform .18s ease,box-shadow .18s ease,background .18s ease; }
.letter-game-actions button:hover { background:#edf4e6;transform:translateY(-2px);box-shadow:0 5px 0 #d0dfcb; }
.letter-game-actions button:active { transform:translateY(1px);box-shadow:0 1px 0 #d0dfcb; }
@media(max-width:1000px) and (min-width:681px) { .letter-study .letter-picker { grid-template-columns:repeat(10,minmax(0,1fr)); } }
@media(max-width:680px) {
 .letter-study-heading { gap:10px;margin-bottom:17px; }
 .letter-study-heading h2 { font-size:18px; }
 .letter-study-count { font-size:11px;padding:5px 9px; }
 .letter-study .letter-picker { grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-bottom:20px;padding-bottom:20px; }
 .letter-study .letter-picker .choice { min-height:44px;font-size:15px;border-radius:10px; }
 .letter-study-content { grid-template-columns:1fr;gap:20px; }
 .letter-display { min-height:220px;padding:23px 15px 29px; }
 .letter-display .english-phrase { font-size:76px;margin:10px 0 17px; }
 .letter-example-panel { padding:0; }
 .letter-example-heading { margin-bottom:13px; }
 .letter-example { min-height:79px;padding:14px 16px; }
 .letter-game-actions { gap:10px;margin-top:26px;padding:18px 0 0; }
 .letter-game-actions button { flex:1 1 0;min-width:0;padding-inline:12px;font-size:13px; }
}
@media(max-width:380px) { .letter-study .letter-picker { grid-template-columns:repeat(5,minmax(0,1fr)); } }

/* Fable reading: a paper storybook sheltered by a watercolor-like island coast. */
.fable-reading-scene { position:relative;isolation:isolate;overflow:hidden;padding:38px 65px 45px;border:1px solid #dce5d4;border-radius:36px;background:linear-gradient(180deg,#e9f1eb 0,#f0f2e2 430px,#edf1e6 100%); }
.fable-island-backdrop { position:absolute;z-index:-1;left:0;top:0;width:100%;height:580px;pointer-events:none; }
.fable-reading-scene .fable-reader { position:relative;max-width:790px;margin:0 auto;padding:0 38px 28px;background:#fffdf7;border:1px solid #dce1ce;border-radius:20px;box-shadow:0 7px 24px #526b4910;overflow:hidden; }
.fable-title-page { position:relative;margin:0 -38px;padding:31px 38px 28px;background:#f3f0de;border-bottom:1px solid #e4dfc7; }
.fable-title-page:after { content:'';position:absolute;bottom:-1px;left:0;right:0;height:8px;background:linear-gradient(135deg,transparent 5px,#fffdf7 0) 0 0/12px 10px repeat-x;pointer-events:none; }
.fable-reading-kicker { display:block;font-size:11px;letter-spacing:.1em;color:#89916f;margin-bottom:14px; }
.fable-title-page h1 { font-size:32px;line-height:1.4;color:var(--green);max-width:650px; }
.fable-title-page .fable-subtitle { font-size:17px;line-height:1.7;margin-top:8px;color:#7e866e; }
.fable-reading-tools { display:flex;flex-direction:column;align-items:flex-start;gap:15px;margin:23px 0 9px;padding-bottom:21px;border-bottom:1px solid #e1e5d5; }
.fable-reader .fable-narration { justify-content:flex-start;margin:0;gap:10px; }
.fable-narration button { border-radius:13px;padding:11px 18px;font-size:13px; }
.fable-reader .fable-controls { gap:8px;margin:0;padding:4px;border-radius:12px;background:#f0f2e7; }
.fable-controls button { min-height:38px;padding:6px 12px;font-size:12px;border:1px solid transparent;border-radius:9px;background:transparent; }
.fable-controls [aria-pressed="true"] { background:var(--paper);border-color:#d5deca; }
.fable-reader .fable-text { counter-reset:story-paragraph; }
.fable-reader .fable-pair { position:relative;counter-increment:story-paragraph;padding:24px 0 24px 34px;border:0;border-bottom:1px dashed #e1e4d5; }
.fable-reader .fable-pair:before { content:counter(story-paragraph,decimal-leading-zero);position:absolute;left:0;top:30px;color:#a4af95;font-size:10px;font-variant-numeric:tabular-nums; }
.fable-reader .fable-text p[lang="en-US"] { font-size:21px;line-height:1.85;font-weight:500;letter-spacing:.005em;color:#30483d; }
.fable-reader .fable-text p[lang="zh-CN"] { font-size:14px;line-height:1.95;color:#6f7665;font-weight:400; }
.fable-reader .fable-text p:not([hidden])+p:not([hidden]) { margin-top:13px; }
.fable-reader .fable-moral { padding:22px 24px;margin:25px 0 24px;border:1px solid #dbe1c9;background:#edf2e2;border-radius:18px 14px 20px 14px; }
.fable-moral h2 { font-size:15px;color:#697f55;margin-bottom:12px; }
.fable-reader .fable-source { font-size:11px;line-height:1.8;color:#9a9d8a;margin-top:21px; }
@media(max-width:760px) {
 .fable-reading-scene { padding:24px 16px 28px;border-radius:25px; }
 .fable-island-backdrop { width:150%;left:-25%;opacity:.75; }
 .fable-reading-scene .fable-reader { padding:0 21px 23px;border-radius:16px; }
 .fable-title-page { margin:0 -21px;padding:25px 21px 24px; }
 .fable-title-page h1 { font-size:27px; }
 .fable-title-page .fable-subtitle { font-size:14px;line-height:1.8; }
 .fable-reading-kicker { font-size:10px; }
 .fable-reader .fable-reading-tools { margin-top:20px;gap:13px;padding-bottom:18px; }
 .fable-reader .fable-narration { gap:8px; }
 .fable-narration button { padding:10px 12px;font-size:12px;min-height:44px; }
 .fable-reader .fable-pair { padding:21px 0 21px 22px; }
 .fable-reader .fable-pair:before { top:27px;font-size:9px; }
 .fable-reader .fable-text p[lang="en-US"] { font-size:18px;line-height:1.85; }
 .fable-reader .fable-text p[lang="zh-CN"] { font-size:13px;line-height:1.9; }
 .fable-reader .fable-moral { padding:18px 15px; }
}

@media(max-width:760px) { .fable-reader .fable-narration { display:grid;grid-template-columns:1fr;width:100%; } .fable-reader .fable-narration button { width:100%;white-space:nowrap;justify-content:center; } }
/* Word cards: the object sits between two reachable page controls. */
.word-card-carousel { display:grid;grid-template-columns:86px minmax(0,1fr) 86px;align-items:center;gap:22px;max-width:650px;margin:16px auto 22px; }
.word-card-island { padding:18px;border-radius:42% 43% 35% 37% / 48% 45% 34% 37%;background:#f2f4e9;min-width:0; }
.word-card-carousel .practice-object { display:grid;place-items:center;min-width:0;margin:0 auto;max-width:100%; }
.word-card-carousel .practice-object img { display:block;max-width:100%;width:auto;height:225px;object-fit:contain;border-radius:18px; }
.word-card-nav { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:82px;min-width:44px;padding:12px 8px;border:1px solid #d5dfcb;border-radius:20px;background:#f4f6ea;color:var(--green);font-size:12px; }
.word-card-nav svg { width:24px;height:24px; }
.word-card-next { background:#e7efdd;border-color:#b7c7a7; }
.word-card-nav:hover:not(:disabled) { background:#e4ecd8;border-color:#9db48b; }
.word-card-nav:disabled { opacity:.35; }
.word-card-autoplay { margin-top:20px; }
.word-card-autoplay button { min-height:44px;font-size:13px; }
.word-card-autoplay p { margin-top:6px;font-size:12px;line-height:1.8;color:var(--muted); }
@media(max-width:680px) {
 .word-card-carousel { grid-template-columns:48px minmax(0,1fr) 48px;gap:8px;margin:15px auto 20px; }
 .word-card-island { padding:10px 6px; }
 .word-card-carousel .practice-object img { height:175px;width:100%; }
 .word-card-nav { min-height:73px;padding:10px 3px;gap:7px;border-radius:15px;font-size:10px; }
 .word-card-nav svg { width:21px;height:21px; }
 .word-card-autoplay p { font-size:11px; }
}

/* Practice carousel covers. */
.practice-dock-scene { position:relative;display:block;width:100%;height:112px;margin:0 0 4px;border-radius:16px;background:#edf5f1;overflow:hidden; }
.practice-dock-scene>svg { display:block;width:100%;height:100%; }
.practice-dock-emblem { position:absolute;left:50%;top:23px;transform:translateX(-50%) rotate(-5deg);display:grid;place-items:center;min-width:48px;height:40px;padding:0 10px;background:#fffdf5;border:1px solid #d5dfcf;border-radius:12px;box-shadow:0 3px 0 #bdcdb180;font-size:23px;font-weight:700;color:var(--green); }
.practice-dock-emblem svg { width:26px;height:26px; }
.practice-mode-card[data-value="quiz"] .practice-dock-scene { background:#e9f1f4; }
.practice-mode-card[data-value="sentence"] .practice-dock-scene { background:#eef0e4; }
.practice-mode-card[data-value="sentence"] .practice-dock-emblem { font-size:17px;transform:translateX(-50%) rotate(4deg);border-radius:12px 12px 12px 3px; }
@media(max-width:700px) {
 .practice-dock-scene { height:90px;border-radius:12px; }
 .practice-dock-emblem { top:18px;min-width:40px;height:34px;font-size:21px; }
}
.practice-dock-scene>.stage-postcard-art { display:block;width:100%;height:100%;margin:0; }
.practice-dock-scene>.stage-postcard-art>svg { display:block;width:100%;height:100%; }

/* Resource collections share the island-cover vocabulary. */
.resource-collection { margin-top:18px;padding:20px 24px; }
.resource-collection-heading { display:flex;align-items:center;gap:18px;list-style:none;padding:0;cursor:pointer; }
.resource-collection-heading::-webkit-details-marker { display:none; }
.resource-collection-island { display:block;flex:0 0 96px; }
.resource-collection-island .stage-postcard-art { display:block;width:100%;height:64px;overflow:hidden;border-radius:12px; }
.resource-collection-island svg { display:block;width:100%;height:100%; }
.resource-collection-title { display:block;flex:1;min-width:0; }
.resource-collection-title .eyebrow { display:block;font-size:11px;color:var(--muted);margin:0 0 8px; }
.resource-shelf-heading h2 { margin:0 0 8px;font-size:25px;line-height:1.35;color:var(--green); }
.resource-collection-title h2 { margin:0 0 6px;font-size:20px;font-weight:600;line-height:1.4;letter-spacing:normal;color:var(--green); }
.resource-collection-title small { display:block;font-size:13px;color:var(--muted);font-weight:400;line-height:1.7; }
.resource-collection-toggle { display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;background:#edf2e5;color:var(--green); }
.resource-collection-toggle svg { width:16px;height:16px;transform:rotate(90deg); }
.resource-collection[open] .resource-collection-toggle svg { transform:rotate(-90deg); }
.resource-collection-heading:focus-visible { outline:3px solid var(--green);outline-offset:5px;border-radius:12px; }
.resource-collection .resource-theme-grid { margin-top:20px;padding-top:20px;border-top:1px solid #dce4d7; }
.resource-collection-note { font-size:13px;line-height:1.8;color:var(--muted);margin:20px 0 0; }
.resource-collection-card .resource-theme-cover { position:relative;border-radius:0 0 35% 0;background:#edf2e5; }
.resource-collection-card .resource-theme-cover:after { content:'';position:absolute;left:8%;right:8%;bottom:7px;height:7px;border-bottom:2px solid #b5d0c6;border-radius:50%;pointer-events:none; }
.resource-collection-card .resource-theme-cover img { object-fit:cover; }
.resource-collection-card[data-action="resource-words"] .resource-theme-cover img { object-fit:contain;background:#f7f7ee; }
.resource-collection-card .resource-theme-cover .concept-number { display:grid;place-items:center;min-height:148px;font-size:58px; }
.resource-collection-card .resource-theme-cover .foundation-calendar { max-width:100%; }
.resource-collection .text-button { margin-top:20px; }
@media(max-width:680px) {
 .resource-collection { padding:16px;margin-top:14px; }
 .resource-collection-heading { gap:12px; }
 .resource-collection-island { flex-basis:60px; }
 .resource-collection-island .stage-postcard-art { height:46px;border-radius:9px; }
 .resource-shelf-heading h2 { font-size:22px; }
 .resource-collection-title h2 { font-size:17px;margin-bottom:4px; }
 .resource-collection-title .eyebrow { font-size:10px; }
 .resource-collection-title small { font-size:11px; }
 .resource-collection-toggle { flex-basis:28px;height:28px; }
 .resource-collection .resource-theme-grid { margin-top:18px; }
 .resource-collection-card .resource-theme-cover .concept-number { min-height:130px;font-size:48px; }
}
.resource-collection-card .resource-theme-cover { display:grid;place-items:center; }
.resource-collection-card .resource-theme-cover img { grid-area:1/1;width:100%;height:100%; }
.resource-collection-card .resource-theme-cover .foundation-emoji { display:grid;place-items:center;font-size:52px;min-height:130px; }
.resource-collection-card .resource-theme-cover .foundation-calendar { display:grid;place-items:center;min-height:130px;padding:12px;text-align:center;font-size:23px;line-height:1.4; }
.resource-collection-card .resource-theme-cover .foundation-numeral { font-size:56px; }

/* Weekdays use their full names rather than number emoji. */
.weekday-calendar-card { display:grid;place-items:center;position:relative;box-sizing:border-box;width:min(230px,100%);min-height:170px;padding:28px 14px 20px;border:2px solid #d4dec9;border-top:22px solid var(--green);border-radius:20px;background:#fffdf3;box-shadow:0 6px 0 #dce5da;color:var(--green);font-size:clamp(26px,4vw,48px);font-weight:700;line-height:1.4;letter-spacing:.05em; }
.weekday-calendar-card:before,.weekday-calendar-card:after { content:'';position:absolute;top:-30px;width:8px;height:22px;border-radius:8px;background:#a9bb98; }
.weekday-calendar-card:before { left:22%; }
.weekday-calendar-card:after { right:22%; }
.resource-collection-card .weekday-calendar-card { min-height:100px;width:94%;font-size:23px;border-top-width:14px;margin:14px 0;box-shadow:none; }
.resource-collection-card .weekday-calendar-card:before,.resource-collection-card .weekday-calendar-card:after { top:-21px;height:16px;width:6px; }
@media(max-width:680px) { .word-study-step .weekday-calendar-card { min-height:130px;font-size:26px;padding:22px 8px 14px;border-top-width:17px; } }

/* Resource modules use island signposts. */
.resource-module-tabs { gap:14px;padding:0;border:0;border-radius:0;background:transparent;margin-bottom:30px; }
.resource-module-tab { position:relative;isolation:isolate;overflow:hidden;justify-content:flex-start;gap:14px;min-width:0;min-height:118px;padding:16px 18px 20px;border:1px solid #d6e0d1;border-radius:22px;background:#fffdf8;color:var(--ink);box-shadow:0 4px 0 #dce5da66;transition:border-color .18s,background .18s,box-shadow .18s; }
.resource-tab-island { display:block;position:relative;flex:0 0 100px;height:76px;border-radius:16px;background:#e7f1ee;overflow:hidden; }
.resource-tab-island .stage-postcard-art { display:block;width:100%;height:100%; }
.resource-module-tab .resource-tab-island .stage-postcard-art>svg { display:block;width:100%;height:100%; }
.resource-tab-symbol { position:absolute;right:5px;top:5px;display:grid;place-items:center;width:25px;height:25px;background:#fffdf5e8;border:1px solid #d5dfce;border-radius:9px;color:var(--green); }
.resource-module-tab .resource-tab-symbol>svg { width:15px;height:15px; }
.resource-tab-title { position:relative;z-index:1;font-size:17px;font-weight:650;line-height:1.7;text-align:left;text-wrap:pretty; }
.resource-tab-shore { position:absolute;left:18px;right:18px;bottom:10px;height:9px;border-bottom:2px solid #c4dbd0;border-radius:50%;pointer-events:none; }
.resource-module-tab.selected { border-color:#7e9d75;background:#f1f5e9;color:var(--green);box-shadow:0 4px 0 #9bb58b; }
.resource-module-tab.selected .resource-tab-shore { border-color:#93b5a6;border-bottom-width:3px; }
.resource-module-tab:hover,.resource-module-tab.selected:hover { color:var(--green);background:#f4f7ed;border-color:#819c73; }
.resource-module-tab:focus-visible { outline:3px solid var(--green);outline-offset:4px; }
@media(min-width:681px) and (max-width:1150px) {
 .resource-module-tab { gap:10px;padding:14px 12px 20px; }
 .resource-tab-island { flex-basis:72px;height:64px; }
 .resource-tab-title { font-size:15px; }
}
@media(max-width:680px) {
 .resource-module-tabs { gap:12px;padding:0;margin-bottom:24px; }
 .resource-module-tab { flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:124px;padding:14px 10px 22px;border-radius:20px; }
 .resource-tab-island { flex:none;width:110px;max-width:100%;height:68px; }
 .resource-tab-title { font-size:clamp(12px,3.5vw,15px);line-height:1.45;text-align:center; }
 .resource-tab-shore { left:14px;right:14px;bottom:9px; }
}
@media(prefers-reduced-motion:reduce) { .resource-module-tab { transition:none; } }

/* One explanation, one visible goal per phonics card. */
.phonics-overview.phonics-guide { padding:30px;border:1px solid #d4e1d6;border-radius:28px;background:#f0f5ed;margin:28px 0 36px; }
.phonics-guide-heading { display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px; }
.phonics-guide-heading .eyebrow { margin:0 0 9px;color:var(--green);font-size:12px; }
.phonics-guide h1 { margin:0 0 12px;font-size:clamp(24px,2.6vw,34px);line-height:1.4; }
.phonics-guide-heading p:last-child { margin:0;color:var(--muted);font-size:14px;line-height:1.8; }
.phonics-guide-island { flex:0 0 180px; }
.phonics-guide-island .stage-postcard-art { display:block;width:100%; }
.phonics-guide-island>.stage-postcard-art>svg { display:block;width:100%;height:auto; }
.phonics-guide h2 { margin:0;font-size:16px;font-weight:600; }
.phonics-guide ol { gap:18px;margin:18px 0 0; }
.phonics-guide li { padding:18px 16px 18px 60px;font-size:16px; }
.phonics-guide li:not(:last-child):after { width:20px; }
.phonics-guide li>strong { display:block;line-height:1.6; }
.phonics-guide li>span { font-size:12px;line-height:1.8; }
.phonics-guide li>.phonics-guide-example { margin:12px 0 8px;font-size:30px;font-weight:650;line-height:1.3;letter-spacing:.08em;color:var(--green); }
.phonics-guide li>.phonics-guide-try { font-size:20px;letter-spacing:0;line-height:1.95; }
.phonics-practice-details { margin-top:22px;border-top:1px solid #d5e0d1;padding-top:16px;color:var(--muted);font-size:12px;line-height:1.8; }
.phonics-practice-details summary { cursor:pointer;min-height:28px; }
.phonics-practice-details ul { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;padding:0; }
.phonics-practice-details ul li { padding:14px;background:#fffdf7;border-radius:12px;font-size:13px; }
.phonics-practice-details li span,.phonics-practice-details li small { display:block;font-size:12px;font-weight:400; }
.phonics-learning-island .phonics-simple-card { display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:22px 18px; }
.phonics-card-target { display:grid;place-items:center;min-height:68px;font-size:46px;font-weight:650;line-height:1.3;color:var(--green); }
.phonics-simple-card .theme-name { margin:0;font-size:16px;text-align:center;line-height:1.5; }
.phonics-card-example { display:block;margin:0;text-align:center;font-size:26px;line-height:1.7;letter-spacing:.06em;color:var(--muted); }
.phonics-card-example mark { padding:2px 4px;border-radius:7px;background:#dfead5;color:var(--green);font-weight:700; }
.phonics-card-enter { display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding-top:14px;border-top:1px solid #dce4d4;font-size:12px;color:var(--green); }
.phonics-card-enter svg { width:16px;height:16px; }
@media(max-width:680px) {
 .phonics-overview.phonics-guide { padding:22px 18px;margin:22px 0 28px;border-radius:22px; }
 .phonics-guide-heading { gap:12px;align-items:flex-start;margin-bottom:20px; }
 .phonics-guide-island { flex-basis:72px;margin-top:8px; }
 .phonics-guide h1 { font-size:23px; }
 .phonics-guide-heading p:last-child { font-size:13px; }
 .phonics-guide h2 { font-size:14px; }
 .phonics-guide ol { grid-template-columns:1fr;gap:12px; }
 .phonics-guide li:not(:last-child):after { display:none; }
 .phonics-guide li>.phonics-guide-example { font-size:26px;margin:5px 0; }
 .phonics-guide li>.phonics-guide-try { font-size:19px;line-height:1.8; }
 .phonics-practice-details ul { grid-template-columns:1fr; }
 .phonics-learning-island .phonics-simple-card { padding:18px 14px;gap:10px; }
 .phonics-card-target { min-height:54px;font-size:38px; }
 .phonics-card-example { font-size:24px; }
}
.phonics-practice-details li:before,.phonics-practice-details li:after { display:none; }

/* Activity modes live beside the heading and reveal their own themes. */
.resource-shelf .resource-shelf-heading { flex-direction:row;align-items:center;gap:20px;margin-bottom:0; }
.resource-shelf-heading>div:first-child { flex:1;min-width:0; }
.resource-shelf .resource-shelf-heading h2 { margin-bottom:0; }
.resource-activity-description { margin:12px 0 0;color:var(--muted);font-size:13px;line-height:1.8; }
#resource-activity-themes { margin-top:24px; }
#resource-activity-themes[hidden] { display:none; }
.resource-island-modes.chips { display:flex;width:auto;flex:0 0 auto;gap:12px;padding:0;margin:0;border:0;background:transparent; }
.resource-island-modes .choice { display:flex;flex:0 0 auto;align-items:center;gap:12px;min-width:0;min-height:76px;padding:10px 16px;border:1px solid #d5dfcd;border-radius:16px;background:#fffdf7;text-align:left;box-shadow:0 3px 0 #dce5da66;white-space:normal; }
.resource-mode-island { display:block;flex:0 0 76px;height:48px;overflow:hidden;border-radius:10px;background:#e7f1ee; }
.resource-mode-island .stage-postcard-art { display:block;width:100%;height:100%; }
.resource-mode-island>.stage-postcard-art>svg { display:block;width:100%;height:100%; }
.resource-mode-copy { display:flex;min-width:0;flex-direction:column;gap:4px; }
.resource-mode-copy strong { font-size:17px;line-height:1.4;font-weight:650;color:var(--green); }
.resource-mode-copy small { font-size:11px;line-height:1.6;color:var(--muted);font-weight:400;text-wrap:pretty; }
.resource-mode-check { display:grid;place-items:center;flex:0 0 24px;height:24px;border:1px solid #d8e1cf;border-radius:50%;color:var(--green); }
.resource-mode-check>svg { width:13px;height:13px; }
.resource-island-modes .choice.selected { border-color:#7d9a6f;background:#eef4e5;box-shadow:0 3px 0 #9fb88f; }
.resource-island-modes .selected .resource-mode-check { border-color:var(--green);background:var(--green);color:#fffdf5; }
.resource-island-modes .choice:hover { border-color:#7d9a6f;background:#f4f7ed; }
.resource-island-modes .choice:focus-visible { outline:3px solid var(--green);outline-offset:4px; }
@media(max-width:1000px) {
 .resource-mode-copy small,.resource-mode-check { display:none; }
 .resource-island-modes .choice { gap:8px;min-height:60px;padding:8px 12px; }
 .resource-mode-island { flex-basis:54px;height:38px; }
}
@media(max-width:680px) {
 .resource-shelf .resource-shelf-heading { gap:8px; }
 .resource-shelf .resource-shelf-heading .eyebrow { display:none; }
 .resource-shelf .resource-shelf-heading h2 { flex-wrap:wrap;gap:5px;font-size:20px; }
 .resource-shelf .resource-shelf-heading h2>span { font-size:10px;padding:2px 6px; }
 .resource-island-modes.chips { gap:6px; }
 .resource-island-modes .choice { flex-direction:row;align-items:center;gap:5px;min-height:48px;padding:7px 8px;border-radius:12px; }
 .resource-mode-island { flex:0 0 28px;width:28px;height:28px;border-radius:7px; }
 .resource-mode-copy strong { font-size:13px;white-space:nowrap; }
 .resource-activity-description { font-size:12px; }
 #resource-activity-themes { margin-top:18px; }
}

/* Parent handbook: current course, today's learning, recent work. */
.growth-simple-hero { padding:24px 30px;margin-bottom:22px; }
.growth-simple-hero .growth-hero-title { min-height:100px; }
.growth-simple-hero h1 { font-size:30px;margin-bottom:10px; }
.growth-simple-hero .growth-personal-island { flex:0 0 170px;max-width:170px; }
.growth-simple-hero .growth-hero-title p { font-size:14px;line-height:1.8; }
.growth-island-log { padding:26px;margin-bottom:22px; }
.growth-island-log .section-heading h2,.growth-today h2,.growth-recent h2 { margin:0;font-size:23px;line-height:1.4; }
.growth-course-current { display:flex;flex-direction:column;gap:8px;margin:20px 0;padding:20px 22px;border-radius:18px;background:#eaf2e5;border:1px solid #d2dfc7; }
.growth-course-current>span { font-size:12px;color:var(--muted); }
.growth-course-current>strong { font-size:23px;line-height:1.5;color:var(--green); }
.growth-course-current>small { font-size:13px;line-height:1.7;color:var(--muted); }
.growth-island-log .growth-stage-island { display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px;align-items:center;padding:16px;border-radius:18px; }
.growth-island-log .growth-stage-art { width:80px;min-height:0;height:78px; }
.growth-island-log .growth-stage-art>.stage-postcard-art { height:100%; }
.growth-island-log .growth-stage-art>.stage-postcard-art>svg { height:100%;width:100%; }
.growth-island-log .growth-stage-copy { padding:0; }
.growth-island-log .growth-stage-copy h3 { font-size:15px;margin:7px 0;line-height:1.5; }
.growth-island-log .growth-stage-count { margin:8px 0;gap:5px;flex-wrap:wrap; }
.growth-island-log .growth-stage-count strong { font-size:25px; }
.growth-island-log .growth-stage-count span,.growth-island-log .growth-stage-copy>p { font-size:11px;line-height:1.6; }
.growth-island-log .growth-stage-copy .eyebrow { font-size:10px; }
.growth-today,.growth-recent { margin-bottom:22px;padding:26px; }
.growth-today .section-heading>span { font-size:12px;color:var(--muted); }
.growth-today .eyebrow,.growth-recent .eyebrow { font-size:11px;color:var(--muted);margin:0 0 8px; }
.growth-today-metrics { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0; }
.growth-today-metrics>div { display:flex;flex-direction:column;gap:8px;padding:18px;background:#f2f5ec;border-radius:16px; }
.growth-today-metrics strong { font-size:26px;line-height:1.4;color:var(--green); }
.growth-today-metrics span { font-size:12px;color:var(--muted); }
.growth-today-list { list-style:none;padding:0;margin:0;display:grid;gap:12px; }
.growth-today-list li { display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.6; }
.growth-today-list svg { width:19px;height:19px;flex-shrink:0;color:var(--green); }
.growth-learning-list { padding:0;margin:18px 0 0;list-style:none; }
.growth-learning-list>li { display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:14px;padding:18px 0;border-bottom:1px solid #e2e7db; }
.growth-learning-list>li:last-child { border-bottom:0; }
.growth-record-icon { display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#e8f0df;color:var(--green); }
.growth-record-icon svg { width:18px;height:18px; }
.growth-learning-list strong { display:block;font-size:16px;line-height:1.6; }
.growth-learning-list small { display:block;margin-top:4px;font-size:12px;line-height:1.6;color:var(--muted); }
.growth-learning-list time { font-size:12px;color:var(--muted);line-height:2; }
.growth-learning-words { display:flex;flex-wrap:wrap;gap:7px;margin-top:10px; }
.growth-learning-words:empty { display:none; }
.growth-learning-words>span { padding:5px 9px;font-size:13px;line-height:1.4;background:#f1f3e9;color:var(--green);border-radius:8px; }
.growth-simple-note,.growth-brief-empty { font-size:13px;line-height:1.9;color:var(--muted); }
.growth-brief-empty { margin:22px 0 0;padding:18px;background:#f6f6ef;border-radius:14px; }
.growth-detail-fold { margin:18px 0;padding:20px 24px; }
.growth-detail-fold>summary { cursor:pointer;font-size:16px;font-weight:600;line-height:1.8;color:var(--green); }
.growth-detail-fold>summary>span { margin-left:14px;font-size:12px;font-weight:400;color:var(--muted); }
.growth-detail-content { padding-top:20px; }
.growth-more-records { padding-top:12px;font-size:13px;color:var(--green); }
.growth-more-records>summary { cursor:pointer;min-height:32px; }
.growth-detail-fold .growth-tools-only { margin-top:20px; }
@media(max-width:800px) {
 .growth-island-log .growth-stage-islands { grid-template-columns:1fr;gap:12px; }
 .growth-island-log .growth-stage-island { grid-template-columns:100px minmax(0,1fr); }
 .growth-island-log .growth-stage-art { width:100px; }
}
@media(max-width:680px) {
 .growth-simple-hero,.growth-island-log,.growth-today,.growth-recent { padding:20px; }
 .growth-simple-hero h1 { font-size:25px; }
 .growth-simple-hero .growth-personal-island { flex-basis:90px;max-width:90px; }
 .growth-course-current { padding:16px; }
 .growth-course-current>strong { font-size:20px; }
 .growth-today .section-heading { align-items:flex-start;gap:10px; }
 .growth-today-metrics { gap:8px;margin:18px 0; }
 .growth-today-metrics>div { padding:12px 10px; }
 .growth-today-metrics strong { font-size:19px; }
 .growth-today-metrics span { font-size:11px;line-height:1.7; }
 .growth-learning-list>li { grid-template-columns:30px minmax(0,1fr) auto;gap:10px; }
 .growth-record-icon { width:30px;height:30px;border-radius:10px; }
 .growth-learning-list strong { font-size:14px; }
 .growth-learning-list time { font-size:11px; }
 .growth-detail-fold { padding:18px; }
 .growth-detail-fold>summary>span { display:block;margin-left:18px; }
}
.growth-record-phrases { margin-top:12px;display:grid;gap:8px; }
.growth-record-phrases p { margin:0;padding:10px 12px;background:#f3f5ed;border-radius:10px; }
.growth-record-phrases p>span { font-size:14px;color:var(--green);line-height:1.6; }
.growth-record-phrases p>small { font-size:12px;line-height:1.7; }

/* The speaker arcs carry playback feedback; the lesson keeps its content first. */
.course-controls .voice-english.is-speaking:disabled { opacity:1; }
.course-player .course-status.sr-only { margin:0;min-height:0; }
@media(max-width:680px) {
 main[data-screen="course"] { padding-top:8px; }
 .course-player.paper-panel { padding:14px 12px 16px;border-radius:20px; }
 .course-player>.section-heading { margin-bottom:6px;gap:8px;align-items:center; }
 .course-player>.section-heading .back { min-height:44px;padding:6px 0;font-size:13px;margin:0; }
 .course-player>.section-heading>span { font-size:13px;white-space:nowrap; }
 .course-player>.eyebrow { display:none; }
 .course-player-title { margin:4px 0 8px;font-size:14px;line-height:1.5;font-weight:600;text-wrap:pretty; }
 .course-player>progress { display:block;margin:7px 0 12px;height:4px; }
 .course-player>h2 { font-size:18px;line-height:1.5;margin:8px 0 12px; }
 .course-player .course-word-art { height:clamp(150px,29svh,230px);margin:0; }
 .course-player .course-word-art img { height:100%;max-height:clamp(150px,29svh,230px);width:100%;object-fit:contain; }
 .course-player>.english-phrase { font-size:clamp(28px,8vw,38px);line-height:1.35;margin:10px 0 4px; }
 .course-player>.word-ipa { font-size:15px;line-height:1.5; }
 .course-player>.meaning { font-size:15px;line-height:1.5;margin:5px 0 10px; }
 .course-player .course-controls { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr);gap:7px;margin-top:12px; }
 .course-player .course-controls button { min-width:0;min-height:44px;padding:10px 6px;font-size:12px;line-height:1.4;border-radius:13px; }
 .course-player .course-controls svg { width:20px;height:20px;flex-shrink:0; }
 .course-player .course-controls [data-course="help"] { font-size:11px; }
 .course-player .course-status:not(.sr-only) { margin:12px 0 0;min-height:0;font-size:13px;line-height:1.7; }
 .course-player .course-answer-grid { margin:12px 0; }
 .course-player .course-transcript { margin:8px 0;font-size:12px; }
 .course-player .course-model-scene { min-height:160px; }
 .course-player .course-request-scene { margin:12px 0; }
}
@media(max-width:680px) and (max-height:700px) {
 .course-player .course-word-art,.course-player .course-word-art img { height:150px;max-height:150px; }
 .course-player>.english-phrase { font-size:30px;margin-top:7px; }
 .course-player .course-controls { margin-top:8px; }
}
.course-record-note { margin:12px 0 0;font-size:12px;color:var(--muted);line-height:1.7; }
.course-record-note>summary { cursor:pointer; }
@media(max-width:680px) { .course-player>.section-heading { margin-top:0; } .course-record-note { margin-top:8px; } }

/* Game categories sit above the content as three island destinations. */
.fun-game-groups { display:block; }
.fun-game-nav { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0;margin-bottom:26px;border:0;border-radius:0;background:transparent; }
.fun-game-nav button { position:relative;display:flex;align-items:center;justify-content:center;gap:16px;min-width:0;min-height:112px;padding:16px 20px 22px;overflow:hidden;border:1px solid #d5dfce;border-radius:22px;background:#fffdf8;color:var(--green);font-weight:650;box-shadow:0 3px 0 #dce5da66; }
.fun-nav-island { display:block;position:relative;flex:0 0 106px;height:70px;overflow:hidden;border-radius:14px;background:#e7f1ee; }
.fun-nav-island .stage-postcard-art { display:block;width:100%;height:100%; }
.fun-nav-island>.stage-postcard-art>svg { display:block;width:100%;height:100%; }
.fun-nav-symbol { position:absolute;right:4px;top:4px;display:grid;place-items:center;width:24px;height:24px;border:1px solid #d4dfcb;border-radius:8px;background:#fffdf4e8;color:var(--green); }
.fun-nav-symbol>svg { width:14px;height:14px; }
.fun-nav-label { font-size:19px;line-height:1.5;text-wrap:pretty; }
.fun-nav-shore { position:absolute;left:18px;right:18px;bottom:9px;height:8px;border-bottom:2px solid #c1d8cc;border-radius:50%;pointer-events:none; }
.fun-game-nav button[aria-current="true"] { background:#eef4e5;color:var(--green);border-color:#7f9b70;box-shadow:0 4px 0 #9fb68e; }
.fun-game-nav button[aria-current="true"] .fun-nav-shore { border-bottom:3px solid #8eac9b; }
.fun-game-nav button:hover { background:#f3f7ed;border-color:#8da580; }
.fun-game-nav button:focus-visible { outline:3px solid var(--green);outline-offset:4px; }
@media(max-width:900px) {
 .fun-game-nav button { gap:10px;padding:12px 14px 20px; }
 .fun-nav-island { flex-basis:78px;height:62px; }
 .fun-nav-label { font-size:16px; }
}
@media(max-width:600px) {
 .fun-game-nav { gap:9px;margin-bottom:22px; }
 .fun-game-nav button { flex-direction:column;gap:8px;min-height:106px;padding:10px 6px 18px;border-radius:17px; }
 .fun-nav-island { flex:none;width:78px;max-width:100%;height:52px;border-radius:10px; }
 .fun-nav-symbol { width:20px;height:20px;border-radius:7px; }
 .fun-nav-symbol>svg { width:12px;height:12px; }
 .fun-nav-label { font-size:13px;line-height:1.5;white-space:nowrap; }
 .fun-nav-shore { left:10px;right:10px;bottom:7px;height:6px; }
 .fun-game-list>h2 { margin:0 0 14px;font-size:19px; }
}

/* Primary navigation is a deep-green harbour, distinct from content tabs. */
.site-header nav.island-main-nav { gap:6px;padding:6px;border:1px solid #466b5b;border-radius:24px;background:var(--green);box-shadow:0 5px 16px #294f431a; }
.site-header .island-main-nav button { position:relative;min-height:64px;border:1px solid transparent;border-radius:18px;color:#e7eddf;font-weight:650; }
.site-header .island-main-nav button:not(.active) .nav-island-art { filter:saturate(1.25) contrast(1.08); }
.site-header .island-main-nav button.active { background:var(--paper);border-color:var(--yellow);color:var(--green);box-shadow:0 2px 5px #142f2926; }
.site-header .island-main-nav button.active:before { content:'';position:absolute;top:8px;right:9px;width:6px;height:6px;border-radius:50%;background:#b68b3e; }
.site-header .island-main-nav button:hover { color:var(--paper);background:#3d6354; }
.site-header .island-main-nav button.active:hover { color:var(--green);background:#f8f4e5; }
.site-header .island-main-nav button:focus-visible { outline:3px solid var(--yellow);outline-offset:2px; }
.site-header .island-main-nav .nav-island-title { font-weight:650; }
.site-header .island-main-nav button.active .nav-island-title { font-weight:750; }
.site-header .island-main-nav .nav-island-wave { left:31%;right:20%;border-bottom-color:#bc9b56;border-bottom-width:2px; }
@media(max-width:760px) {
 .site-header nav.island-main-nav { gap:8px;min-height:78px;padding:6px 12px max(7px,env(safe-area-inset-bottom));border-width:1px 0 0;border-color:#8da48b;border-radius:22px 22px 0 0;box-shadow:0 -5px 20px #294f4326; }
 .site-header .island-main-nav button { flex:1;min-width:0;min-height:64px;padding:3px 6px 9px;border-radius:17px;gap:1px; }
 .site-header .island-main-nav .nav-island-art { width:64px;height:29px; }
 .site-header .island-main-nav .nav-island-title { font-size:13px;line-height:1.6;letter-spacing:.03em; }
 .site-header .island-main-nav .nav-island-wave { left:28%;right:28%;bottom:5px;height:4px; }
 .site-header .island-main-nav button.active:before { top:7px;right:8px;width:5px;height:5px; }
}

/* A short visible journey: stage, learning block, theme, lesson. */
.learning-block-map .map-chapter[hidden] { display:none; }
.learning-block-map .map-chapter { margin:0;padding:24px;border-radius:26px; }
.learning-block-map .map-chapter-heading { margin-bottom:22px; }
.learning-block-map .map-chapter-heading h2 { font-size:23px;line-height:1.5; }
.learning-block-map .map-chapter-heading p { font-size:13px;line-height:1.8; }
.map-block-list { display:grid;gap:14px; }
.map-learning-block { background:var(--paper);border:1px solid #d6dfce;border-radius:20px;overflow:hidden; }
.map-learning-block>.map-block-header { display:flex;align-items:center;gap:14px;min-height:82px;padding:17px 20px; }
.map-learning-block>summary { display:flex;align-items:center;gap:14px;min-height:82px;padding:17px 20px;list-style:none;cursor:pointer; }
.map-learning-block>summary::-webkit-details-marker { display:none; }
.map-learning-block>summary:focus-visible { outline:3px solid var(--green);outline-offset:-4px;border-radius:18px; }
.map-block-number { display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:13px;background:#eaf0df;color:var(--green);font-size:14px;font-weight:700; }
.map-block-number svg { width:19px;height:19px; }
.map-block-heading { display:flex;flex:1;min-width:0;flex-direction:column;gap:5px; }
.map-block-heading h3 { margin:0;font-weight:700; }
.map-block-heading strong,.map-block-heading h3 { font-size:19px;line-height:1.5;color:var(--green);text-wrap:pretty; }
.map-block-heading small { font-size:12px;line-height:1.6;color:var(--muted);font-weight:400; }
.map-block-state { font-size:12px;color:var(--muted);white-space:nowrap; }
.block-current { border-color:#9eb58b;box-shadow:0 3px 0 #cad8bd; }
.block-current>summary,.block-current>.map-block-header { background:#edf4e5; }
.block-current .map-block-number { background:var(--green);color:var(--paper); }
.block-current .map-block-state { color:var(--green);font-weight:650; }
.block-completed .map-block-number { background:#e1ecda; }
.map-block-chevron { color:var(--green); }
.map-block-chevron svg { display:block;width:18px;height:18px;transform:rotate(90deg); }
.map-learning-block[open] .map-block-chevron svg { transform:rotate(-90deg); }
.map-block-body { padding:4px 20px 20px; }
.map-block-intro { font-size:14px;line-height:1.8;color:var(--muted);margin:14px 0 20px; }
.map-block-lock-note { font-size:12px;line-height:1.7;color:var(--muted);padding:10px 12px;border-radius:10px;background:#f4f4eb; }
.learning-block-map .map-block-route { margin:4px 0 0;border-radius:18px;overflow:hidden; }
.map-block-outcome { margin-top:18px;padding:14px 16px;border-radius:14px;background:#f3f5ec; }
.map-block-outcome>span { font-size:11px;font-weight:650;color:var(--green); }
.map-block-outcome>p { margin:6px 0 0;font-size:13px;line-height:1.8;color:var(--muted); }
.map-block-single,.map-block-extra-list { list-style:none;padding:0;margin:0; }
.map-block-single .map-checkpoint { padding:0; }
.map-block-single .map-checkpoint-button { width:100%;display:grid;grid-template-columns:130px minmax(0,1fr);grid-template-rows:auto auto;gap:7px 20px;align-items:center;text-align:left;padding:18px;border:1px solid #dae2d1;border-radius:16px;background:#f8faf2; }
.map-block-single .map-cover-wrap { grid-row:1/3;width:130px; }
.map-block-single .map-checkpoint-button>strong { grid-column:2;align-self:end;font-size:18px;margin:0;color:var(--green);line-height:1.6; }
.map-block-single .map-cover-meta { grid-column:2;align-self:start;justify-content:flex-start;margin:0;padding:0;background:transparent; }
.map-block-more { margin-top:16px;border-top:1px solid #e0e6d7;padding-top:12px;font-size:12px;color:var(--green); }
.map-block-more>summary { cursor:pointer;min-height:32px;line-height:2; }
.map-block-extra-list { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:16px; }
.map-block-extra-list .map-checkpoint { padding:0; }
.map-block-extra-list .map-checkpoint-button { width:100%;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px;border-radius:14px;background:#f5f7ef; }
.map-block-extra-list .map-checkpoint-button>strong { margin-top:5px;font-size:13px;line-height:1.6; }
.map-block-extra-list .map-cover-meta { flex-wrap:wrap;gap:5px; }
.course-complete-catalog { margin:24px 0;padding:20px 24px;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--green);font-size:14px; }
.course-complete-catalog summary { cursor:pointer;min-height:30px;line-height:1.8; }
.course-complete-catalog p,.course-complete-catalog li { font-size:13px;line-height:1.9;color:var(--muted); }
.course-complete-catalog h3 { margin:20px 0 12px;font-size:17px; }
.course-complete-catalog section details { padding:12px 0;border-top:1px solid var(--line); }
.course-complete-catalog h4 { margin:14px 0 4px;font-size:14px; }
.course-complete-catalog ol { margin:6px 0;padding-left:22px; }
.completion-block-achievement { margin:16px auto;max-width:560px;padding:16px;border-radius:16px;background:#eaf2df;color:var(--green); }
.completion-block-achievement p { margin:6px 0 0;font-size:13px;line-height:1.8; }
@media(max-width:680px) {
 .journey-postcards { grid-template-columns:repeat(3,minmax(0,1fr));gap:9px; }
 .map-stage-plan .stage-postcard { flex-direction:column;min-width:0; }
 .journey-postcards .stage-postcard-art { flex:none;width:100%;height:53px;border-radius:16px 16px 0 0; }
 .journey-postcards .stage-postcard-art>svg { width:100%;height:53px;max-width:100%;transform:none; }
 .journey-postcards .stage-postcard-copy { padding:9px 8px 12px; }
 .journey-postcards .stage-postcard-copy .map-stage-kicker { font-size:10px;flex-wrap:wrap;gap:3px; }
 .journey-postcards .stage-postcard h2 { font-size:14px;line-height:1.5;margin:6px 0; }
 .journey-postcards .stage-postcard p { display:none; }
 .journey-postcards .stage-exploring,.journey-postcards .stage-earned { display:none; }
 .journey-postcards .stage-postcard-footer { font-size:10px;line-height:1.7;padding-top:6px; }
 .journey-postcards .stage-postcard-footer>span:last-child { display:none; }
 .journey-plan-tools { flex-direction:row;align-items:center;gap:10px;margin-top:0; }
 .journey-plan-tools .journey-plan-details { flex:1;min-width:0; }
 .journey-plan-tools>.text-button { white-space:nowrap; }
 .course-next.map-current.journey-resume { margin-bottom:22px; }
 .map-block-section-heading { margin-top:14px; }
 .map-block-section-heading h2 { font-size:21px; }
 .map-block-section-heading p { font-size:12px; }
 .learning-block-map .map-chapter { padding:18px 12px;border-radius:22px; }
 .learning-block-map .map-chapter-heading { gap:10px;margin-bottom:16px; }
 .learning-block-map .map-chapter-heading h2 { font-size:18px; }
 .learning-block-map .map-chapter-heading p { font-size:12px; }
 .learning-block-map .map-chapter-progress { margin:0 0 0 40px;font-size:11px; }
 .map-block-list { gap:12px; }
 .map-learning-block>summary,.map-learning-block>.map-block-header { min-height:78px;padding:14px 12px;gap:10px; }
 .map-block-number { width:30px;height:32px;border-radius:10px;font-size:12px; }
 .map-block-heading strong,.map-block-heading h3 { font-size:16px; }
 .map-block-heading small { font-size:11px; }
 .map-block-state { font-size:10px; }
 .map-block-chevron svg { width:14px;height:14px; }
 .map-block-body { padding:0 10px 14px; }
 .map-block-intro { margin:13px 2px 18px;font-size:12px; }
 .map-block-single .map-checkpoint-button { grid-template-columns:96px minmax(0,1fr);gap:5px 13px;padding:14px 10px; }
 .map-block-single .map-cover-wrap { width:96px; }
 .map-block-single .map-checkpoint-button>strong { font-size:15px; }
 .map-block-extra-list { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
 .map-block-extra-list .map-checkpoint-button { padding:10px 7px; }
 .map-block-outcome { padding:12px;margin-top:12px; }
 .map-block-outcome>p { font-size:12px; }
 .course-complete-catalog { padding:16px;margin-top:18px; }
}
.map-block-single .map-checkpoint-button { min-height:0; }
.map-block-single .map-checkpoint-button>strong { text-decoration:none; }

/* Concise product copy: headings and controls take precedence over introductions. */
.resource-intro.page-intro { margin:0 0 16px; }
.resource-intro.page-intro h1 { margin:0; }
.journey-intro .journey-title h1 { margin:0; }
.journey-passport { padding-top:18px;padding-bottom:18px; }
.map-block-section-heading { margin-top:22px;margin-bottom:14px; }
.word-card-autoplay p:empty,.fun-status:empty { display:none; }
.growth-hero.growth-simple-hero { padding:18px 24px; }
.growth-simple-hero .growth-hero-title { min-height:0;align-items:center; }
.growth-simple-hero h1 { margin:0; }
.growth-simple-hero .growth-personal-island { flex-basis:112px;max-width:112px;margin-top:0; }
.sound-bank-heading { margin-bottom:18px; }
.sound-bank-heading h2 { margin:0; }
@media(max-width:680px) {
 .resource-intro.page-intro { margin-bottom:12px; }
 .growth-hero.growth-simple-hero { padding:16px 20px; }
 .growth-simple-hero .growth-personal-island { flex-basis:76px;max-width:76px; }
 .journey-passport { padding-top:14px;padding-bottom:14px; }
}

/* Plain text activity selectors beside the section heading. */
.resource-island-modes .choice { justify-content:center;min-height:44px;padding:10px 20px;gap:0;font-size:16px;line-height:1.4;font-weight:600;text-align:center;white-space:nowrap;border-radius:12px; }
@media(max-width:680px) {
 .resource-island-modes .choice { min-height:42px;padding:9px 12px;font-size:14px;border-radius:10px; }
}

/* Parent report: a weekly postcard and a cumulative keepsake. */
.growth-parent-report { display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;margin:0 0 22px; }
.report-week,.report-total { min-width:0;padding:26px;border:1px solid #dbe2d3;border-radius:22px;background:#fffdf6; }
.report-total { background:#eaf0e4; }
.report-heading { display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px; }
.report-heading h2 { margin:0;color:var(--green);font-size:22px;font-weight:650; }
.report-heading time { color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums; }
.report-total-star { color:#ae8745;font-size:24px; }
.report-metrics { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-bottom:22px;border-bottom:1px solid #dbe2d3; }
.report-metrics>div,.report-harvest>div { display:flex;flex-direction:column;gap:9px;min-width:0; }
.report-metrics strong { font-size:clamp(20px,2.1vw,29px);font-weight:650;line-height:1.4;color:var(--green);font-variant-numeric:tabular-nums;text-wrap:balance; }
.report-metrics span,.report-harvest span { color:var(--muted);font-size:12px;line-height:1.5; }
.report-week h3 { margin:22px 0 14px;font-size:15px;font-weight:600; }
.report-content-list { list-style:none;padding:0;margin:0;display:grid;gap:10px; }
.report-content-list li { font-size:14px;line-height:1.6;overflow-wrap:anywhere; }
.report-content-list li::before { content:'·';color:#ae8745;margin-right:10px;font-weight:700; }
.report-more-content { margin-top:14px;font-size:12px;color:var(--muted); }
.report-more-content summary { cursor:pointer; }
.report-more-content ul { padding-left:18px;line-height:1.8; }
.report-word-samples { display:flex;flex-wrap:wrap;gap:7px;margin-top:18px; }
.report-word-samples span { padding:5px 9px;border-radius:8px;background:#f0f0df;font-size:12px;color:var(--green);overflow-wrap:anywhere; }
.report-phrase-samples { margin-top:14px; }
.report-phrase-samples p { display:flex;flex-direction:column;gap:3px;font-size:14px;line-height:1.6;margin:10px 0 0; }
.report-phrase-samples small { color:var(--muted);font-size:12px; }
.report-harvest { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px; }
.report-harvest strong { font-size:30px;font-weight:600;line-height:1.2;color:var(--green);font-variant-numeric:tabular-nums; }
.report-empty { font-size:13px;color:var(--muted);margin:0; }
.report-share-actions { grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:10px; }
.report-share-actions .primary { min-height:48px;padding:12px 30px; }
#reportShareStatus { font-size:13px;color:var(--muted);margin:0; }
#reportShareStatus:empty { display:none; }
.growth-all-details { border-top:1px solid #dce2d7;margin-top:22px;padding-top:18px; }
.growth-all-details>summary { cursor:pointer;font-size:14px;color:var(--muted);padding:10px 0; }
.growth-all-details[open]>summary { margin-bottom:16px; }
.report-poster-overlay { position:fixed;inset:0;z-index:200;background:#193a31b8;display:flex;justify-content:center;align-items:center;padding:24px;overscroll-behavior:contain; }
.report-poster-dialog { width:430px;max-width:100%;max-height:92dvh;overflow:auto;background:#f8f6ef;border-radius:20px;padding:18px;box-shadow:0 20px 80px #0f251d66; }
.report-poster-toolbar { display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px; }
.report-poster-toolbar strong { font-size:16px;color:var(--green); }
.report-poster-dialog img { display:block;width:100%;height:auto;border-radius:12px; }
.report-poster-dialog>p { margin:12px 0;color:var(--muted);font-size:12px;text-align:center; }
.report-poster-dialog>.primary { display:flex;justify-content:center;width:100%; }
@media(max-width:760px) {
 .growth-parent-report { grid-template-columns:1fr;gap:14px; }
 .report-week,.report-total { padding:20px;border-radius:18px; }
 .report-heading { margin-bottom:20px; }
 .report-heading h2 { font-size:20px; }
 .report-metrics { gap:10px;padding-bottom:18px; }
 .report-metrics strong { font-size:19px; }
 .report-metrics span,.report-harvest span { font-size:11px; }
 .report-harvest { gap:10px;margin-top:20px; }
 .report-harvest strong { font-size:26px; }
 .report-share-actions .primary { width:100%; }
 .report-poster-overlay { padding:12px; }
 .report-poster-dialog { padding:12px;border-radius:16px; }
}

/* Small, earned rewards share the existing green and gold palette. */
.completion-points { display:flex;flex-direction:column;gap:7px;align-items:center;margin:18px auto;padding:14px 22px;width:fit-content;max-width:100%;border:1px solid #e1d2a6;border-radius:16px;background:#f5efd9; }
.completion-points strong { font-size:24px;line-height:1.3;color:#88662e;font-weight:650; }
.completion-points span { font-size:12px;line-height:1.7;color:#7d775d;text-wrap:pretty; }
.points-toast { position:fixed;z-index:190;left:50%;bottom:105px;transform:translateX(-50%);padding:12px 22px;border:1px solid #d6c898;border-radius:30px;background:#fff9e8;box-shadow:0 8px 26px #35514420;color:#80602a;font-size:16px;font-weight:600;pointer-events:none;white-space:nowrap; }
.report-badges { display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;padding-top:18px;border-top:1px solid #d6dfcc; }
.report-badges>span { display:inline-flex;align-items:center;gap:6px;border:1px solid #dfd3a9;border-radius:20px;background:#f7f0d7;color:#80602a;padding:7px 11px;font-size:12px; }
.report-badges svg { width:14px;height:14px; }
.practice-review-points { color:#88662e;font-size:14px; }
@media(max-width:680px) {
 .completion-points { padding:12px 16px; }
 .completion-points strong { font-size:22px; }
 .completion-points span { font-size:11px; }
 .points-toast { bottom:105px;font-size:14px; }
}
.report-points-details { margin-top:20px;color:var(--muted);font-size:12px; }
.report-points-details summary { cursor:pointer;min-height:28px;line-height:1.6; }
.report-points-details p { line-height:1.8;margin:10px 0; }
.report-points-details ul { list-style:none;margin:12px 0 0;padding:0; }
.report-points-details li { display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 0;border-top:1px solid #d6dfcc;line-height:1.6; }
.report-points-details li span { min-width:0;overflow-wrap:anywhere; }
.report-points-details li small { display:block;font-size:10px;color:var(--muted); }
.report-points-details li b { color:#80602a;white-space:nowrap; }

/* Preview chrome frames the exported keepsake instead of becoming part of it. */
.report-poster-overlay { background:#16372de0;backdrop-filter:blur(5px);padding:20px; }
.report-poster-dialog { display:flex;flex-direction:column;width:480px;max-height:94dvh;padding:0;border-radius:22px;background:#fdfbf3;box-shadow:0 24px 100px #0d281f66;overflow:hidden; }
.report-poster-toolbar { flex:0 0 auto;margin:0;padding:14px 20px;border-bottom:1px solid #dbe1d4; }
.report-poster-toolbar strong { font-size:15px;font-weight:600; }
.report-poster-toolbar .text-button { min-height:32px;font-size:13px;padding:4px 8px; }
.report-poster-canvas { flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px;background:#e5ece3; }
.report-poster-dialog .report-poster-canvas img { display:block;width:100%;height:auto;border-radius:14px;box-shadow:0 6px 24px #45684e20; }
.report-poster-actions { flex:0 0 auto;padding:10px 20px 16px;border-top:1px solid #dbe1d4;background:#fdfbf3; }
.report-poster-actions p { font-size:11px;color:var(--muted);margin:0 0 8px;text-align:center;line-height:1.5; }
.report-poster-actions .primary { width:100%;min-height:44px;justify-content:center;font-size:14px; }
@media(max-width:680px) {
 .report-poster-overlay { padding:10px; }
 .report-poster-dialog { max-height:94dvh;border-radius:18px; }
 .report-poster-toolbar { padding:10px 14px; }
 .report-poster-canvas { padding:10px; }
 .report-poster-actions { padding:9px 14px 12px; }
}

/* The map can follow a guided route or open all themes for exploration. */
.map-block-section-heading { display:flex;align-items:center;justify-content:space-between;gap:16px; }
.map-mode-switch { display:flex;gap:4px;padding:4px;background:#e8ecdf;border:1px solid #d6dfce;border-radius:14px;flex-shrink:0; }
.map-mode-switch button { padding:10px 20px;min-height:44px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);font:inherit;font-size:14px;line-height:1.4;cursor:pointer; }
.map-mode-switch button.selected { color:var(--green);font-weight:600;border-color:#d0d9bd;background:#fffdf2;box-shadow:0 2px 5px #34523d0c; }
.map-mode-switch button:hover { color:var(--green); }
.map-mode-switch button:focus-visible { outline:3px solid var(--green);outline-offset:2px; }
@media(max-width:680px) {
 .map-block-section-heading { gap:8px; }
 .map-mode-switch { padding:3px;gap:2px;border-radius:12px; }
 .map-mode-switch button { min-height:40px;padding:8px 10px;font-size:13px;border-radius:8px; }
}

/* Everyday conversation: watch a short exchange, then take a supported turn. */
.conversation-context { margin:8px 0 16px;color:var(--muted);font-size:14px; }
.conversation-scene { position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:760px;margin:0 auto 18px;padding:20px;border-radius:24px;background:var(--sage); }
.conversation-character { display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0; }
.conversation-avatar { height:110px;width:120px;display:grid;place-items:center; }
.conversation-avatar img { max-width:100%;height:100%;object-fit:contain;border-radius:16px; }
.conversation-role { font-size:12px;color:var(--muted); }
.conversation-bubble { width:100%;flex:1;display:flex;flex-direction:column;justify-content:center;gap:10px;padding:16px;background:var(--paper);border:2px solid transparent;border-radius:20px;transition:border-color .2s,box-shadow .2s; }
.conversation-bubble p { margin:0;font-size:clamp(20px,2.4vw,30px);line-height:1.45;color:var(--green);text-wrap:pretty; }
.conversation-bubble small { color:var(--muted);font-size:13px;line-height:1.6; }
.conversation-character.is-speaking .conversation-bubble { border-color:var(--green);box-shadow:0 3px 0 var(--line); }
.conversation-shared-bubble { grid-column:1/-1;justify-self:center;max-width:520px;text-align:center; }
.conversation-shared-scene .conversation-character.is-speaking .conversation-avatar { border-radius:16px;outline:2px solid var(--green);outline-offset:4px; }
.conversation-object { position:absolute;top:50px;left:calc(50% - 24px);height:48px;width:48px;transition:transform .45s; }
.conversation-object img { width:100%;height:100%;object-fit:contain; }
.conversation-object.is-delivered { transform:translateX(55px); }
.conversation-action { min-height:48px; }
.scene-morning { background:var(--cream,var(--sage)); }
.scene-night { background:var(--mist,var(--sage)); }
@media(max-width:680px){
 .conversation-context { font-size:12px;margin:6px 0 12px; }
 .conversation-scene { gap:10px;padding:12px 8px;border-radius:18px; }
 .conversation-avatar { height:80px;width:84px; }
 .conversation-bubble { padding:12px 8px;border-radius:14px;gap:8px; }
 .conversation-bubble p { font-size:19px; }
 .conversation-bubble small { font-size:12px; }
 .conversation-object { top:36px;width:34px;height:34px;left:calc(50% - 17px); }
 .conversation-object.is-delivered { transform:translateX(26px); }
}
@media(prefers-reduced-motion:reduce){.conversation-bubble,.conversation-object{transition:none;}}

.scene-calendar .conversation-object {
 inset-inline:0;
 margin-inline:auto;
 width:clamp(68px,13vw,88px);
 height:auto;
}

/* Stage navigation stays compact so the learning map remains the main content. */
.journey-postcards { gap:16px; }
.journey-postcards .stage-postcard-copy { min-width:0;padding:13px 15px; }
.journey-postcards .stage-postcard h2 { font-size:19px;line-height:1.45;margin:5px 0 7px; }
.journey-postcards .stage-postcard p { min-height:0;font-size:12px;line-height:1.65;margin:0 0 10px; }
.journey-postcards .stage-postcard-footer { padding-top:8px;font-size:10px;line-height:1.6; }
.journey-postcards .stage-postcard:not(:last-child)::after { width:16px;right:-17px;top:50%;height:0; }
@media(min-width:1000px){
 .map-stage-plan.journey-postcards .stage-postcard { display:grid;grid-template-columns:88px minmax(0,1fr);align-items:stretch;overflow:hidden; }
 .journey-postcards .stage-postcard-art { display:flex;align-items:center;justify-content:center;width:88px;height:auto;min-height:0;border-radius:17px 0 0 17px; }
 .journey-postcards .stage-postcard-art>svg { width:120px;max-width:none;height:auto;flex-shrink:0;transform:none; }
 .journey-postcards .stage-postcard-copy .map-stage-kicker { flex-wrap:wrap;gap:4px 8px; }
 .journey-postcards .stage-exploring,.journey-postcards .stage-earned { font-size:9px;padding:2px 6px; }
 .journey-postcards .stage-postcard:not(:last-child)::after { content:none; }
}
@media(min-width:681px) and (max-width:999px){
 .journey-postcards .stage-postcard-art { height:56px; }
 .journey-postcards .stage-postcard-art>svg { height:56px; }
 .journey-postcards .stage-postcard-copy { padding:10px 12px; }
 .journey-postcards .stage-postcard h2 { font-size:18px; }
 .journey-postcards .stage-postcard-footer { flex-wrap:wrap;gap:4px 8px; }
}
@media(max-width:680px){
 .journey-postcards { gap:8px; }
 .journey-postcards .stage-postcard-art,.journey-postcards .stage-postcard-art>svg { height:40px; }
 .journey-postcards .stage-postcard-copy { padding:8px 7px 9px; }
 .journey-postcards .stage-postcard h2 { font-size:14px;margin:4px 0; }
 .journey-postcards .stage-postcard p { display:none; }
 .journey-postcards .stage-postcard-footer { padding-top:5px; }
}

/* One concise course-progress card, sized to the page heading. */
.journey-intro { align-items:center;gap:20px; }
.journey-intro .journey-title h1 { font-size:clamp(26px,2.6vw,34px); }
.journey-passport.journey-progress { display:block;flex:0 1 260px;min-width:220px;width:260px;max-width:300px;padding:12px 16px;border:1px solid var(--line);border-radius:14px;background:var(--paper);box-shadow:none; }
.journey-progress-row { display:flex;align-items:center;justify-content:space-between;gap:16px; }
.journey-progress .passport-label { margin:0;font-size:12px;letter-spacing:0; }
.journey-progress-row strong { color:var(--green);font-size:20px;line-height:1.2;white-space:nowrap; }
.journey-progress-row strong span { color:var(--muted);font-size:12px;font-weight:400; }
.journey-passport.journey-progress progress { display:block;margin:8px 0 0;height:5px; }
@media(max-width:680px){
 .journey-intro { flex-direction:column;align-items:stretch;gap:10px;padding-top:0; }
 .journey-intro .journey-title h1 { max-width:none;font-size:23px; }
 .journey-passport.journey-progress { flex:none;min-width:0;width:100%;max-width:none;padding:10px 12px;border-radius:12px; }
 .journey-progress-row strong { font-size:18px; }
}
/* Optional same-page weather scene; controls never gate the next page. */
.weather-window{max-width:560px;margin:0 auto 16px;border:5px solid #f5e8c9;border-radius:28px;background:#d9f0f4;overflow:hidden;box-shadow:0 5px 0 #d5c8a8}
.weather-landscape{height:112px;position:relative;overflow:hidden;background:linear-gradient(#bde9f6,#edf9f2)}
.weather-sun{position:absolute;width:48px;height:48px;border-radius:50%;background:#f8d46c;top:16px;right:24%;box-shadow:0 0 0 9px #f8d46c33}
.weather-cloud{position:absolute;left:24%;top:26px;width:96px;height:32px;background:#fff;border-radius:40px;box-shadow:18px -13px 0 -2px #fff}
.weather-island{position:absolute;bottom:-24px;left:15%;width:70%;height:58px;background:#9abc8e;border:8px solid #eedbb3;border-radius:50%}
.weather-rainy .weather-landscape{background:linear-gradient(#9db7ce,#dfedf0)}.weather-rainy .weather-sun{opacity:0}.weather-rainy .weather-cloud{background:#d9e3eb;box-shadow:18px -13px 0 -2px #d9e3eb}
.weather-rainy .weather-rain{position:absolute;inset:62px 20% 0;background:repeating-linear-gradient(110deg,transparent 0 20px,#7da9c6 21px 23px,transparent 24px 38px);animation:weather-rainfall .7s linear infinite}
.weather-switch{display:flex;justify-content:center;gap:12px;padding:8px}.weather-switch button{min-height:40px;padding:6px 20px}.weather-switch [aria-pressed=true]{background:#296e63;color:white;border-color:#296e63}
@keyframes weather-rainfall{to{background-position:-14px 25px}}
@media(max-width:600px){.weather-landscape{height:86px}.weather-window{margin-bottom:10px;border-width:4px}.weather-window+.conversation-context{margin:8px 0}.weather-window~.conversation-scene{margin-block:8px}}
@media(prefers-reduced-motion:reduce){.weather-rainy .weather-rain{animation:none}}
.phonics-prerequisite{font-size:13px;line-height:1.6;color:#647b70;display:block;margin:4px 0 10px;white-space:normal}.phonics-learning-path{color:#54796d;font-size:14px;line-height:1.7;text-align:center;margin:12px 0 20px}.offline-settings{border-top:1px solid #dbe3db;padding-top:12px;margin-top:12px}.offline-settings label{display:flex;align-items:center;gap:10px;margin:12px 0}.offline-settings select{min-width:0;max-width:210px;padding:8px;border:1px solid #becdc1;border-radius:10px;background:#fffdf5;color:#244f43}.offline-settings [role=status]{font-size:13px;line-height:1.5}

.phonics-gallery .fun-card { text-align:center; }
.phonics-gallery [data-gallery-position="left"] { --gallery-x:-86%; }
.phonics-gallery [data-gallery-position="right"] { --gallery-x:86%; }
.phonics-gallery .letter-art { font-size:clamp(38px,7vw,88px); }
.phonics-gallery [data-topic-index="1"] .fun-card-art { background:var(--peach); }
.phonics-gallery-title { margin:14px 0 6px;font-size:clamp(15px,2.2vw,21px); }
.phonics-gallery-description { color:var(--muted);font-size:clamp(11px,1.4vw,13px); }
.phonics-gallery .fun-card > svg { align-self:center;width:20px;height:20px;margin-top:14px;transform:rotate(90deg); }
.phonics-gallery .fun-card[aria-expanded="true"] > svg { transform:rotate(-90deg); }
.phonics-topic-panel { max-width:1060px;margin:24px auto 0; }
@media(max-width:600px) {
 .phonics-gallery [data-gallery-position="left"] { --gallery-x:-63%; }
 .phonics-gallery [data-gallery-position="right"] { --gallery-x:63%; }
 .phonics-gallery .fun-card:not([data-gallery-position="center"]) .phonics-gallery-description { visibility:hidden; }
 .phonics-gallery .fun-gallery-status { font-size:12px; }
 .phonics-gallery .topic-carousel-controls button { padding-inline:10px; }
}

.phonics-gallery [data-topic-index="2"] .fun-card-art { background:#e5eee9; }
.phonics-gallery .phonics-reader-cover { font-size:clamp(19px,4.5vw,56px);letter-spacing:-.025em; }
.phonics-reader { max-width:680px;margin-inline:auto;padding:clamp(16px,4vw,30px);text-align:center; }
.phonics-reader h2 { margin:0;color:var(--green);font-size:clamp(20px,4vw,27px); }
.phonics-reader-tip { margin:8px 0 16px;color:var(--muted);font-size:14px;line-height:1.6; }
.phonics-reader-page { padding:clamp(16px,4vw,30px);border:1px solid var(--line);border-radius:20px;background:var(--sage); }
.phonics-reader-prompt { margin:0;color:var(--muted);font-size:14px; }
.phonics-reader-line { margin:8px 0 0;color:var(--green);font-size:clamp(36px,8vw,64px);font-weight:700;line-height:1.2; }
.phonics-reader-line button { padding:0;border:0;border-bottom:2px dashed currentColor;background:transparent;color:inherit;font:inherit;cursor:pointer; }
.phonics-reader-line button:focus-visible { outline:2px solid var(--green);outline-offset:5px;border-radius:4px; }
.phonics-reader-sounds { display:flex;justify-content:center;gap:8px;margin:14px 0 0; }
.phonics-reader-sounds span { min-width:38px;padding:5px 8px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--green);font-size:20px;font-weight:700; }
.phonics-reader-sounds .is-playing { background:var(--green);color:white; }
.phonics-reader-actions { display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:16px; }
.phonics-reader-actions button { min-height:44px; }
.phonics-reader-status { margin:8px 0 0;color:var(--muted);font-size:14px; }
.phonics-reader-status:empty { display:none; }
.phonics-reader figure { margin:16px auto 0; }
.phonics-reader figure img { display:block;width:min(65%,250px);height:auto;margin:auto;border-radius:14px; }
.phonics-reader figcaption { margin-top:8px;color:var(--green);font-size:15px; }

.practice-menu { max-width:760px;margin:0 auto 16px; }
.practice-mode-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,2vw,20px); }
.practice-mode-card {
  display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;
  padding:clamp(8px,2vw,16px);border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--green);
  box-shadow:0 3px 0 #dce5da66;text-align:center;
}
.practice-mode-card:hover,.practice-mode-card[aria-pressed="true"] { border-color:#7e9d75;background:#f1f5e9; }
.practice-mode-card:focus-visible { outline:2px solid var(--green);outline-offset:3px; }
.practice-mode-card .practice-dock-scene { margin:0; }
.practice-mode-card .practice-dock-emblem { top:50%;transform:translate(-50%,-50%) rotate(-5deg); }
.practice-mode-card[data-value="sentence"] .practice-dock-emblem { transform:translate(-50%,-50%) rotate(4deg); }
.practice-mode-title { margin-top:4px;font-size:clamp(16px,2.2vw,21px); }
.practice-mode-hint { color:var(--muted);font-size:clamp(12px,1.5vw,14px);font-weight:400;text-wrap:pretty; }
.practice-mode-card > svg { width:18px;height:18px;margin-top:auto; }
.practice-shortcuts { display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-top:8px; }
.practice-shortcuts button { min-height:44px;font-size:13px; }
.practice-shortcuts [aria-pressed="true"] { text-decoration:underline;text-underline-offset:4px; }

.resource-theme-gallery { margin-top:20px; }
.resource-gallery-card { text-align:center; }
.resource-gallery-card strong { margin:12px 0 5px;font-size:clamp(14px,2.1vw,21px);line-height:1.35;text-wrap:pretty; }
.resource-gallery-note { color:var(--muted);font-size:clamp(11px,1.4vw,13px); }
.resource-gallery-card > svg { align-self:center;width:18px;height:18px;margin-top:10px;transform:rotate(90deg); }
.resource-gallery-card[aria-expanded="true"] > svg { transform:rotate(-90deg); }
.resource-gallery-card .fun-card-art > .stage-postcard-art { display:block;width:100%;height:100%; }
.resource-gallery-card .fun-card-art svg { display:block; }
.resource-word-library { display:grid;gap:16px;margin-top:16px; }
.resource-foundation-shortcut { padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:var(--paper); }
.resource-foundation-shortcut summary { min-height:44px;padding-block:9px;cursor:pointer;color:var(--green);font-weight:650; }
.resource-word-library .resource-foundation-shortcut .resource-theme-grid { margin-top:10px; }
.resource-collection[data-collection] > .resource-theme-grid { margin:0;padding:0;border:0; }
@media(max-width:600px) {
 .resource-theme-gallery [data-gallery-position="left"] { --gallery-x:-63%; }
 .resource-theme-gallery [data-gallery-position="right"] { --gallery-x:63%; }
 .resource-gallery-card:not([data-gallery-position="center"]) .resource-gallery-note { visibility:hidden; }
 .resource-theme-gallery .fun-gallery-status { min-width:0;font-size:12px; }
 .resource-theme-gallery .topic-carousel-controls button { padding-inline:9px; }
}

.meal-open { display:block;margin:14px auto; }
.meal-activity { margin:12px auto;max-width:560px;padding:14px 18px;border:1px solid var(--line);border-radius:20px;background:var(--sage);text-align:center; }
.meal-picnic { background:#f4edda; }
.meal-activity h3 { margin:0 0 8px; }
.meal-activity p { margin:8px 0;font-size:14px; }
.meal-options { display:flex;justify-content:center;gap:12px;margin:8px auto; }
.meal-options button { width:min(39%,140px);padding:6px;min-height:62px;background:var(--paper); }
.meal-options img,.meal-tray img { display:block;width:100%;height:clamp(54px,13vw,92px);object-fit:contain; }
.meal-tray { display:grid;justify-items:center;gap:4px;width:min(100%,224px);margin:8px auto;padding:8px 16px;border:2px solid #c6b290;border-radius:24px;background:var(--paper);color:var(--green); }
.meal-tray img { width:88px; }
.meal-tray-message { display:flex;align-items:center;justify-content:center;gap:8px; }
.meal-correct-mark {
 display:grid;place-items:center;flex:none;width:24px;height:24px;
 border-radius:50%;background:#e4f1e5;color:#267143;
}
.meal-correct-mark svg { display:block;width:16px;height:16px; }
.meal-status:empty { display:none; }
.phonics-reader-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px; }
.phonics-reader-heading span { color:var(--muted);font-variant-numeric:tabular-nums; }
.phonics-reader-illustration { display:flex;justify-content:center;align-items:center;gap:10px; }
.phonics-reader figure .phonics-reader-illustration img { width:min(44%,190px);margin:0;object-fit:contain; }
.phonics-reader .topic-carousel-controls { margin-top:16px; }

.meal-picnic-view { display:grid;position:relative;overflow:hidden;min-height:72px;border-radius:13px; }
.meal-picnic-view img { grid-area:1/1;width:100%;height:88px;object-fit:cover;object-position:center; }
.meal-picnic-view h3 { grid-area:1/1;align-self:end;justify-self:start;margin:8px;padding:4px 10px;border-radius:20px;background:var(--paper);color:var(--green); }
.report-dialogue-evidence { display:flex;flex-wrap:wrap;gap:8px 14px;margin:10px 0;color:var(--green);font-size:14px; }

.meal-options .meal-option-card {
 display:grid;grid-template-columns:minmax(0,1fr);width:min(44%,140px);min-width:0;overflow:hidden;
 border:1px solid var(--line);border-radius:12px;background:var(--paper);
}
.meal-options .meal-option-card > button { width:100%;min-width:0;border:0;border-radius:0;box-shadow:none; }
.meal-options .meal-option-card > button:focus-visible { outline:2px solid var(--green);outline-offset:-3px; }
.meal-options .meal-option-card > .meal-option-audio {
 display:grid;justify-items:center;gap:3px;padding:4px 3px 8px;min-height:44px;
}
.meal-option-word { max-width:100%;font-size:clamp(14px,3.5vw,20px);font-weight:650;overflow-wrap:anywhere; }
.meal-option-pronunciation { display:flex;justify-content:center;align-items:center;gap:4px; }
.meal-option-pronunciation svg { flex:none;width:14px;height:14px; }
.meal-option-pronunciation .word-ipa { min-width:0;margin:0;font-size:12px;overflow-wrap:anywhere; }

.conversation-option-art {
 display:grid;place-items:center;height:clamp(54px,13vw,92px);
 font-size:clamp(24px,6vw,42px);line-height:1;
}
.conversation-option-img {
 display:block;height:clamp(120px,30vw,190px);width:auto;max-width:100%;
 object-fit:cover;border-radius:12px;margin:0 auto;
}
.meal-option-card .meal-option-word { text-wrap:balance;line-height:1.25; }
.scene-review .meal-options .spatial-scene,
.meal-option-card .spatial-scene,
.meal-tray .spatial-scene { width:100%;max-width:140px;min-height:88px;height:88px; }
.scene-review .meal-options .spatial-scene .spatial-object,
.meal-option-card .spatial-scene .spatial-object,
.meal-tray .spatial-scene .spatial-object { width:40%;height:auto; }
.scene-calendar .conversation-object .weekday-calendar-card,
.scene-review .meal-options .weekday-calendar-card,
.meal-option-card .weekday-calendar-card,
.meal-tray .weekday-calendar-card {
 width:min(100%,104px);
 min-height:52px;
 margin-inline:auto;
 padding:6px 4px;
 border-top-width:8px;
 border-radius:10px;
 box-shadow:0 3px 0 #dce5da;
 font-size:clamp(14px,3.6vw,20px);
 line-height:1.2;
 letter-spacing:normal;
 white-space:nowrap;
}
.scene-calendar .conversation-object .weekday-calendar-card {
 min-height:40px;
 font-size:clamp(14px,3vw,17px);
}
:is(.scene-calendar .conversation-object,.scene-review .meal-options,.meal-option-card,.meal-tray) .weekday-calendar-card::before,
:is(.scene-calendar .conversation-object,.scene-review .meal-options,.meal-option-card,.meal-tray) .weekday-calendar-card::after {
 top:-11px;
 width:4px;
 height:9px;
}

.scene-review-park-weather { background:var(--sage); }
.scene-review-school-gate { background:#e6eff3; }
.scene-review-drawing-table { background:#f3ecdd; }
.scene-review-symbol {
 grid-area:1/1;justify-self:center;align-self:center;font-size:44px;
}
.scene-review .meal-options .choice { min-height:80px; }

/* Care activity navigation stays visible as the primary next action. */
.care-phrase-pager { margin-top:20px;padding-top:16px;border-top:1px solid #dfe7d8;gap:14px; }
.care-pager-button { display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:132px;min-height:48px;padding:11px 17px;border:1px solid #b8cdb9;border-radius:16px;background:#f7faf1;color:var(--green);font-size:14px;font-weight:700;box-shadow:0 3px 0 #d9e5d2;transition:transform .18s ease,background .18s ease,box-shadow .18s ease; }
.care-pager-button svg { width:18px;height:18px;flex-shrink:0; }
.care-pager-button:focus-visible { outline:2px solid var(--green);outline-offset:3px; }
.care-pager-button:hover:not(:disabled) { background:#e9f2e5;transform:translateY(-2px);box-shadow:0 5px 0 #d0dfca; }
.care-pager-button:active:not(:disabled) { transform:translateY(1px);box-shadow:0 1px 0 #d0dfca; }
.care-pager-button:disabled { opacity:.42;box-shadow:none; }
.care-pager-next { background:var(--green);color:var(--paper);border-color:var(--green); }
.care-pager-next:hover:not(:disabled) { background:#386b5c; }
@media(max-width:600px) {
 .care-phrase-pager { margin-top:16px;padding-top:13px;gap:8px; }
 .care-pager-button { min-width:0;flex:1;min-height:46px;padding:10px 11px;font-size:13px; }
}

.care-scene-book { max-width:760px;margin-inline:auto; }
.care-scene-listen { min-height:44px;margin-bottom:12px; }
.care-scene-opening {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:18px;
  margin-bottom:18px;
}
.care-scene-opening .object-art { height:180px;margin:0; }
.care-scene-setting,.care-scene-ending {
  margin:0;
  padding:12px 15px;
  border-radius:12px;
  background:#eef3e7;
  color:var(--green);
  font-size:14px;
  line-height:1.65;
  text-wrap:pretty;
}
.care-scene-script { display:grid;gap:12px;margin:0 0 14px;padding:0;list-style:none; }
.care-scene-script li { display:grid;gap:7px;padding:12px;border:1px solid var(--line);border-radius:14px; }
.care-scene-action { margin:0;color:var(--muted);font-size:13px;line-height:1.6;text-wrap:pretty; }
.care-scene-line {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:8px 12px;
  border-radius:11px;
  background:#e8f1ed;
}
.care-scene-child { background:#f7efe2; }
.care-scene-copy { min-width:0; }
.care-scene-speaker { color:var(--green);font-size:12px;font-weight:700; }
.care-scene-english { margin:0;color:var(--green);font-size:clamp(18px,3vw,24px);font-weight:650;overflow-wrap:anywhere; }
.care-scene-copy .meaning { margin:2px 0 0; }
.care-scene-line .voice-english { flex:0 0 44px;width:44px;min-height:44px;padding:0; }
.care-scene-line .voice-english svg { width:20px;height:20px; }
.care-scene-footer { display:flex;justify-content:center;margin-top:16px; }
.care-scene-footer .primary { min-height:44px; }
@media(max-width:560px) {
  .care-scene-opening { grid-template-columns:1fr;gap:10px; }
  .care-scene-opening .object-art { height:144px; }
  .care-scene-book .care-scene-setting { padding:10px 12px; }
}

.resource-theme-gallery #resource-card-practice > svg { transform:none; }

.practice-sentence-pager { border-top:1px solid var(--line);padding-top:14px; }
.practice-sentence-pager svg { width:18px;height:18px;flex:none; }

.sentence-topic-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.sentence-topic-grid .resource-theme-card { min-height:104px; }
.sentence-topic-grid .resource-theme-cover img { min-height:104px; }
.sentence-topic-grid .resource-theme-card[aria-current="true"] { border-color:#7e9d75;background:#f1f5e9; }
@media(max-width:560px) {
 .sentence-topic-grid { grid-template-columns:1fr; }
}

/* Balloon garden visual refresh (2026-11-27): print edge fading, readable labels, living scenery. */
/* 印花径向渐隐：消除 multiply 混合下残留的方形纸底边缘 */
.word-balloon .balloon-face .phrase-object img{-webkit-mask-image:radial-gradient(ellipse 58% 55% at 50% 46%,#000 55%,transparent 82%);mask-image:radial-gradient(ellipse 58% 55% at 50% 46%,#000 55%,transparent 82%);filter:saturate(1.1) contrast(1.05)}
/* 单词改为白色胶囊标签，音标收成浅色小胶囊，彩色气球上保持清晰可读 */
.word-balloon .balloon-face strong{mix-blend-mode:normal;background:rgba(255,254,247,.84);box-shadow:0 2px 5px rgba(48,45,41,.16),inset 0 -1px 0 rgba(48,45,41,.05);padding:3px 13px;border-radius:999px;color:#33302b;text-shadow:none}
.word-balloon .balloon-face .word-ipa{mix-blend-mode:normal;font-size:clamp(10px,1.9vw,13px);color:rgba(51,48,43,.78);background:rgba(255,254,247,.52);padding:1px 9px;border-radius:999px}
/* 天空顶部柔光，让气球起点更聚焦 */
.balloon-sky:after{content:'';position:absolute;top:-38%;left:50%;width:72%;height:118%;transform:translateX(-50%) rotate(-6deg);background:radial-gradient(ellipse at center,#fffdf057,transparent 62%);pointer-events:none}
/* 云朵缓漂（translate 属性不干扰原有 scale） */
.garden-cloud{animation:balloon-drift 84s ease-in-out infinite alternate}
.cloud-two{animation-duration:112s;animation-direction:alternate-reverse}
.cloud-three{left:46%;top:11%;transform:scale(.5);opacity:.55;animation-duration:96s}
@keyframes balloon-drift{from{translate:-14px 0}to{translate:16px 0}}
/* 两只掠过的飞鸟 */
.garden-bird{position:absolute;width:22px;height:8px}
.garden-bird:before,.garden-bird:after{content:'';position:absolute;top:0;width:10px;height:7px;border:2px solid #6f8f95;border-bottom:0;border-radius:11px 11px 0 0}
.garden-bird:before{left:1px;transform:rotate(-15deg)}
.garden-bird:after{right:1px;transform:rotate(15deg)}
.bird-one{left:13%;top:13%;opacity:.65;animation:bird-float 7s ease-in-out infinite alternate}
.bird-two{left:22%;top:21%;transform:scale(.68);opacity:.45;animation:bird-float 9s ease-in-out infinite alternate-reverse}
@keyframes bird-float{from{translate:0 0}to{translate:11px -7px}}
/* 太阳呼吸光晕 */
.garden-sun{animation:sun-pulse 6s ease-in-out infinite alternate}
@keyframes sun-pulse{from{box-shadow:0 0 0 13px #fffdf83b,0 0 0 28px #fffdf81f}to{box-shadow:0 0 0 17px #fffdf842,0 0 0 34px #fffdf824}}
/* 草丛与第二排小花，地面更有层次 */
.garden-grass{position:absolute;bottom:-2px;left:3%;width:94%;height:16px;background-image:radial-gradient(9px 9px at 0 100%,#7fa876 58%,transparent 60%),radial-gradient(7px 7px at 26px 100%,#93b98a 58%,transparent 60%),radial-gradient(8px 8px at 52px 100%,#7fa876 58%,transparent 60%);background-size:78px 16px;background-repeat:repeat-x;opacity:.9}
.garden-flowers.flowers-two{left:auto;right:6%;bottom:13px;width:7px;height:7px;background:var(--sun);box-shadow:26px 6px #e8a7b8,60px -2px var(--cloud),118px 4px #e8a7b8,180px -6px var(--sun),246px 2px #e8a7b8,318px -4px var(--cloud),392px 5px var(--sun)}
/* 状态条与面板同源的暖纸渐变 */
.balloon-status{background:linear-gradient(180deg,#fffef9,#f2f6e8);border:1px solid #dbe6d3;box-shadow:0 2px 6px rgba(41,79,67,.06)}
@media(max-width:600px){.cloud-three{top:9%}.garden-bird{width:17px;height:6px}.garden-bird:before,.garden-bird:after{width:8px;height:5px}.garden-grass{height:12px;background-size:62px 12px}}
@media(prefers-reduced-motion:reduce){.garden-cloud,.garden-bird,.garden-sun{animation:none}.balloon-sky:after{content:none}}
