:root {
  --ink: #29304a;
  --muted: #717a94;
  --cream: #fff9ed;
  --card: rgba(255, 255, 255, .9);
  --orange: #ff8a4c;
  --yellow: #ffd756;
  --mint: #6ed5b6;
  --purple: #8d7cf0;
  --blue: #5eb9ed;
  --coral: #fa7780;
  --line: #eae5d9;
  --shadow: 0 12px 30px rgba(83, 77, 103, .10);
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--cream); }
body { margin: 0; color: var(--ink); font-family: "Noto Sans SC", system-ui, sans-serif; min-height: 100vh; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; color: inherit; }
.sky-shape { position: fixed; z-index: -2; pointer-events: none; border-radius: 999px; opacity: .45; filter: blur(1px); }
.sky-shape--one { width: 25rem; height: 25rem; top: -11rem; left: -8rem; background: #d9f8ed; }
.sky-shape--two { width: 20rem; height: 20rem; right: -8rem; top: 22rem; background: #fde3ac; }
.app-shell { max-width: 1180px; padding: 24px 24px 48px; margin: auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--type-ui, system-ui); font-size: 1.45rem; font-weight: 700; letter-spacing: .01em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 15px 15px 15px 5px; font-size: 1.6rem; background: linear-gradient(145deg, var(--yellow), #ffb566); box-shadow: 0 5px 0 #e99849; }
.desktop-nav { display: flex; align-items: center; gap: 7px; padding: 5px; background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.8); border-radius: 99px; }
.desktop-nav button { padding: 8px 15px; border-radius: 999px; color: var(--muted); background: transparent; font-size: .9rem; transition: .2s; }
.desktop-nav button:hover, .desktop-nav button.active { color: var(--ink); background: white; box-shadow: 0 2px 8px rgba(70, 66, 90, .09); }
.record-chip { display: flex; align-items: center; gap: 9px; padding: 6px 10px 6px 7px; background: white; border-radius: 99px; box-shadow: 0 3px 12px rgba(73,68,91,.09); font-size: .86rem; font-weight: 700; white-space: nowrap; }
.record-chip b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fee7cf; font-size: 1.15rem; }
.page-heading { margin: 0 0 21px; font-family: var(--type-ui, system-ui); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; color: #9a7650; font-weight: 700; font-size: .82rem; margin-bottom: 9px; }
.page-subtitle { color: var(--muted); margin: 7px 0 0; font-size: .94rem; }
.card { background: var(--card); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); border-radius: 25px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 17px; border-radius: 14px; font-weight: 700; transition: transform .18s, box-shadow .18s, opacity .18s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 15px rgba(60,53,86,.13); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: white; }
.btn--orange { background: var(--orange); color: white; }
.btn--soft { background: #fff2e7; color: #c45d28; }
.btn--outline { background: white; border: 1.5px solid var(--line); color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.icon-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: white; border: 1px solid var(--line); font-size: 1.35rem; transition: .18s; }
.icon-btn:hover { transform: scale(1.05); background: #fff5d9; }
.stat-pill { display: inline-flex; gap: 7px; align-items: center; padding: 7px 11px; background: white; border-radius: 99px; color: #676c80; font-size: .8rem; font-weight: 700; }
.progress-track { overflow: hidden; height: 9px; border-radius: 99px; background: #edf0ee; }
.progress-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mint), #a2e6b8); }
.home-hero { display: grid; grid-template-columns: 1.22fr .78fr; gap: 20px; }
.hero-card { position: relative; overflow: hidden; min-height: 302px; padding: clamp(26px, 4vw, 44px); color: white; background: linear-gradient(135deg, #6453ca, #9189f2); }
.hero-card::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -96px; bottom: -150px; background: rgba(255,255,255,.13); }
.hero-card h1 { position: relative; z-index: 1; margin: 0; font-family: var(--type-ui, system-ui); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.06; max-width: 475px; }
.hero-card p { position: relative; z-index: 1; margin: 16px 0 22px; opacity: .92; max-width: 440px; }
.hero-card .btn { position: relative; z-index: 1; background: white; color: #5c4fc0; }
.hero-decoration { position: absolute; right: 26px; top: 26px; font-size: 5rem; transform: rotate(10deg); filter: drop-shadow(0 9px 4px rgba(45,34,105,.16)); }
.hero-decoration small { display: block; font-size: 3.8rem; position: absolute; left: -37px; top: 50px; }
.daily-card { padding: 25px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, #fff, #fff8e4); }
.daily-card h3 { margin: 0; font-family: var(--type-ui, system-ui); font-size: 1.32rem; }
.daily-goal { display: flex; gap: 16px; align-items: center; margin: 22px 0; }
.ring { --percent: 80; display: grid; place-items: center; width: 89px; height: 89px; flex: none; border-radius: 50%; background: conic-gradient(var(--orange) calc(var(--percent) * 1%), #f1eadb 0); position: relative; }
.ring::after { content: ""; position: absolute; inset: 9px; background: #fffaf0; border-radius: inherit; }
.ring strong { z-index: 1; font-family: var(--type-ui, system-ui); font-size: 1.35rem; }
.daily-goal p { color: var(--muted); line-height: 1.6; font-size: .86rem; margin: 0; }
.daily-goal p b { color: var(--ink); }
.section-row { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-top: 35px; margin-bottom: 14px; }
.section-row h2 { font-family: var(--type-ui, system-ui); font-size: 1.45rem; margin: 0; }
.text-link { color: #6b5cce; background: none; font-weight: 700; padding: 5px 0; }
.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.task-card { padding: 20px; min-height: 192px; display: flex; flex-direction: column; align-items: flex-start; transition: transform .2s; }
.task-card:hover { transform: translateY(-4px); }
.task-emoji { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 13px; border-radius: 18px; font-size: 1.9rem; background: #f5f2ff; }
.task-card:nth-child(2) .task-emoji { background: #eafbf5; }.task-card:nth-child(3) .task-emoji { background: #fff2e8; }
.task-card h3 { font-size: 1.08rem; margin: 0 0 6px; }.task-card p { color: var(--muted); font-size: .84rem; margin: 0 0 12px; flex: 1; line-height: 1.5; }.task-card .btn { font-size: .84rem; padding: 9px 12px; }
.reward-strip { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 15px; margin-top: 24px; }
.reward-box { display: flex; align-items: center; gap: 13px; padding: 15px 18px; box-shadow: none; background: rgba(255,255,255,.68); }
.reward-box > span { font-size: 1.65rem; }.reward-box strong { display: block; font-size: .92rem; }.reward-box small { color: var(--muted); font-size: .78rem; }
.path-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.path-intro .card { padding: 13px 17px; color: #567a68; font-size: .85rem; box-shadow: none; }
.path { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.path::before { content: ""; position: absolute; left: 10%; right: 10%; top: 95px; z-index: -1; border-top: 5px dashed #e4ded0; }
.stage-card { padding: 19px 17px 17px; min-height: 268px; background: rgba(255,255,255,.76); transition: transform .18s; }.stage-card:hover { transform: translateY(-5px); }.stage-card.locked { opacity: .62; }
.stage-emoji { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 22px; background: #e8f8f0; font-size: 2.2rem; margin-bottom: 15px; }.stage-card.yellow .stage-emoji { background: #fff4c8; }.stage-card.purple .stage-emoji { background: #eeeaff; }.stage-card.coral .stage-emoji { background: #ffebe8; }.stage-card.blue .stage-emoji { background: #e4f5ff; }
.stage-number { color: var(--muted); font-size: .75rem; font-weight: 700; }.stage-card h3 { margin: 5px 0; font-size: 1.05rem; }.stage-card p { color: var(--muted); font-size: .8rem; line-height: 1.55; margin: 0 0 15px; min-height: 60px; }.stage-card footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: .75rem; color: var(--muted); }.stage-card footer button { padding: 5px 0; color: #6253c7; background: none; font-weight: 700; }
.course-layout { display: grid; grid-template-columns: 295px 1fr; gap: 20px; }.course-side { padding: 22px; align-self: start; position: sticky; top: 15px; }.course-cover { font-size: 4.5rem; padding: 24px 0 18px; text-align: center; }.course-side h2 { margin: 0 0 8px; font-family: var(--type-ui, system-ui); }.course-side p { color: var(--muted); font-size: .84rem; line-height: 1.55; }.course-steps { display: grid; gap: 8px; margin-top: 17px; }.course-step { width: 100%; text-align: left; display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 13px; background: transparent; font-size: .85rem; }.course-step.active { background: #f0edff; color: #5c50bd; font-weight: 700; }.course-step .dot { width: 9px; height: 9px; background: #d9d9e0; border-radius: 50%; }.course-step.done .dot { background: var(--mint); }.course-step.active .dot { background: var(--purple); }
.lesson-content { padding: 27px; }.lesson-switcher { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }.lesson-switcher button { padding: 8px 12px; background: white; border: 1px solid var(--line); border-radius: 12px; font-size: .8rem; }.lesson-switcher button.active { color: white; background: var(--ink); border-color: var(--ink); }
.word-panel { display: grid; grid-template-columns: .75fr 1.25fr; gap: 26px; align-items: center; min-height: 330px; }.flashcard { aspect-ratio: 1; display: grid; place-items: center; border-radius: 30px; background: linear-gradient(145deg, #f4edff, #e3f8f0); font-size: min(11vw, 7rem); box-shadow: inset 0 0 0 9px rgba(255,255,255,.5); }.word-info h1 { margin: 5px 0 8px; font-family: var(--type-ui, system-ui); font-size: clamp(2.1rem, 4vw, 3.4rem); }.word-info .phrase { color: #665c85; font-family: var(--type-ui, system-ui); font-size: 1.25rem; margin: 0 0 17px; }.phoneme-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }.phoneme { padding: 7px 10px; background: #fff2d1; border-radius: 10px; color: #a96b24; font-weight: 700; }.now-playing { display: inline-flex; gap: 6px; align-items: center; padding: 7px 10px; margin: 6px 0 15px; color: #53726a; background: #edfbf6; border-radius: 10px; font-size: .8rem; }
.practice-panel { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 19px; margin-top: 22px; }.practice-main { padding: 25px; }.practice-main h2 { margin: 0 0 7px; font-family: var(--type-ui, system-ui); }.practice-main > p { color: var(--muted); font-size: .88rem; margin: 0 0 20px; }.practice-actions { display: flex; gap: 10px; flex-wrap: wrap; }.record-btn { min-width: 155px; background: #ff6f77; color: white; }.record-btn.recording { animation: pulse 1s infinite; background: #d54b61; }.attempt-box { padding: 22px; background: #f7f5ff; box-shadow: none; }.attempt-box h3 { margin: 0 0 15px; font-size: .94rem; }.attempt-meter { display: flex; gap: 8px; }.attempt-dot { height: 8px; flex: 1; border-radius: 99px; background: #ded9ed; }.attempt-dot.filled { background: var(--purple); }.attempt-box p { margin: 14px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.feedback { margin-top: 17px; padding: 13px 14px; border-radius: 14px; display: flex; align-items: start; gap: 9px; background: #fff4de; color: #8c641d; font-size: .88rem; line-height: 1.55; }.feedback.success { color: #27795e; background: #e9f9f1; }.feedback b { white-space: nowrap; }
.score-row { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; }.score-badge { display: grid; place-items: center; width: 47px; height: 47px; flex: none; border-radius: 50%; color: white; background: var(--orange); font-family: var(--type-ui, system-ui); font-size: 1.1rem; }.score-row span { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.story-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 21px; }.story-cover { min-height: 430px; padding: 35px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(150deg, #80d8ce, #7cacf2); color: white; overflow: hidden; position: relative; }.story-cover::before { content: ""; position: absolute; width: 280px; height: 280px; right: -120px; bottom: -100px; border-radius: 50%; background: rgba(255,255,255,.19); }.story-cover > * { position: relative; }.story-cover .cover-emoji { font-size: 5.5rem; letter-spacing: 3px; }.story-cover h1 { margin: 8px 0; font-family: var(--type-ui, system-ui); font-size: 2.35rem; }.story-cover p { opacity: .9; margin: 0; }.story-pages { padding: 22px; }.story-pages h2 { margin: 0 0 17px; font-family: var(--type-ui, system-ui); }.sentence-card { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; padding: 13px 10px; border-bottom: 1px dashed var(--line); }.sentence-card:last-child { border-bottom: 0; }.story-icon { font-size: 1.7rem; }.sentence-text { font-family: var(--type-ui, system-ui); font-size: 1.06rem; }.sentence-text mark { padding: 1px 4px; background: #fff0ad; border-radius: 5px; color: inherit; }.story-foot { margin-top: 13px; padding: 14px; border-radius: 14px; background: #fff8e8; color: #91733c; font-size: .83rem; }
.passage-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }.passage-head h1 { margin: 0; font-family: var(--type-ui, system-ui); font-size: 2.35rem; }.passage-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }.reader { padding: clamp(24px, 4vw, 45px); }.reader-line { font-family: var(--type-ui, system-ui); font-size: clamp(1.16rem, 2.25vw, 1.55rem); line-height: 1.7; margin: 0 0 8px; padding: 6px 10px; border-radius: 10px; transition: .18s; }.reader-line:hover { background: #fff6d8; }.reader-line.active { background: #eeeafd; color: #5542bf; }.reader mark { background: #dff8ee; border-radius: 4px; padding: 0 3px; }.passage-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 27px; }.passage-panel { padding: 21px; align-self: start; }.passage-panel h3 { margin: 0 0 13px; font-size: 1rem; }.mode-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: #f2f0eb; border-radius: 12px; margin-bottom: 18px; }.mode-toggle button { padding: 8px; border-radius: 9px; background: transparent; color: var(--muted); font-size: .8rem; }.mode-toggle button.active { color: var(--ink); background: white; font-weight: 700; box-shadow: 0 2px 7px rgba(50,50,60,.08); }.key-list { display: grid; gap: 8px; }.key-word { display: flex; justify-content: space-between; padding: 9px 10px; border-radius: 10px; background: #fff8eb; font-family: var(--type-ui, system-ui); }.key-word span { color: #9c8559; font-family: "Noto Sans SC", sans-serif; font-size: .74rem; }.privacy-note { display: flex; align-items: start; gap: 7px; padding: 10px; margin-top: 14px; background: #eefaf5; color: #467766; border-radius: 11px; font-size: .75rem; line-height: 1.5; }
.record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }.record-intro { padding: 28px; background: linear-gradient(135deg, #ffefbc, #ffd871); min-height: 200px; }.record-intro h1 { margin: 5px 0 7px; font-family: var(--type-ui, system-ui); font-size: 2.15rem; }.record-intro p { margin: 0; color: #6d5a30; }.record-intro .stat-pill { margin-top: 24px; color: #7a5928; }.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }.record-stat { padding: 19px; }.record-stat span { color: var(--muted); font-size: .8rem; }.record-stat strong { display: block; margin-top: 5px; font-family: var(--type-ui, system-ui); font-size: 1.9rem; }.record-stat small { color: #4a9d7d; font-size: .75rem; }.record-card { padding: 24px; }.record-card h2 { margin: 0 0 17px; font-family: var(--type-ui, system-ui); font-size: 1.27rem; }.record-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:14px; }.stage-progress-row { display: grid; grid-template-columns: 78px 1fr 34px; gap: 10px; align-items: center; margin: 12px 0; font-size: .8rem; }.stage-progress-row span:last-child { text-align: right; color: var(--muted); }.mistake-list { display: grid; gap: 10px; }.mistake-item { display: flex; align-items: center; justify-content: space-between; padding: 12px; border-radius: 12px; background: #fff8ed; }.mistake-item b { font-family: var(--type-ui, system-ui); }.mistake-item small { color: #a37b3f; }.calendar { display: grid; grid-template-columns: repeat(7,1fr); gap: 7px; }.calendar > span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 9px; background: #f1f0ec; color: #a8a7ad; font-size: .75rem; }.calendar > span.done { color: #357c65; background: #dff6e9; }.calendar > span.today { color: white; background: var(--orange); font-weight: 700; }
.toast { position: fixed; z-index: 5; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(100px); padding: 12px 17px; border-radius: 99px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: .87rem; transition: .3s; }.toast.show { transform: translateX(-50%) translateY(0); }.confetti { position: fixed; pointer-events: none; z-index: 8; font-size: 1.8rem; animation: fly .9s ease-out forwards; }
.learning-workspace { display: grid; grid-template-columns: 315px minmax(0, 1fr); gap: 20px; align-items: start; }
.learning-directory { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; padding: 13px; box-shadow: 0 10px 24px rgba(83,77,103,.08); }
.directory-top { display: flex; justify-content: space-between; align-items: center; padding: 9px 8px 13px; border-bottom: 1px solid var(--line); font-size: .83rem; color: var(--muted); }.directory-top span { color: var(--ink); font-weight: 800; }.directory-top b { font-size: .72rem; font-weight: 700; }
.stage-tree { padding-top: 7px; }.directory-stage { width: 100%; display: grid; grid-template-columns: 34px minmax(0,1fr) 15px; gap: 8px; text-align: left; align-items: center; padding: 10px 8px; background: transparent; border-radius: 12px; }.directory-stage:hover { background: #f7f5ff; }.directory-stage.selected { color: #5646bb; background: #eeeaff; }.directory-stage > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #f7f4ed; font-size: 1rem; }.directory-stage.selected > span { background: white; }.directory-stage b, .directory-stage small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.directory-stage b { font-size:.82rem; }.directory-stage small { margin-top:2px; color:var(--muted); font-size:.69rem; }.directory-stage i { font-style:normal; font-size:1rem; }.unit-tree { margin: 0 0 7px 17px; padding: 2px 0 3px 13px; border-left: 2px solid #e4ddff; }.directory-unit { width:100%; display:grid; grid-template-columns:14px minmax(0,1fr); gap:7px; text-align:left; align-items:start; padding:8px 6px; background:transparent; border-radius:10px; }.directory-unit:hover, .directory-unit.selected { background:#fff7e7; }.directory-unit > span { width:14px; color:#5bb594; font-size:.76rem; text-align:center; }.directory-unit b, .directory-unit small { display:block; }.directory-unit b { font-size:.76rem; }.directory-unit small { margin-top:2px; color:var(--muted); font-size:.67rem; line-height:1.35; }.directory-review { display:grid; gap:4px; margin-top:11px; padding:12px; border-radius:13px; background:#eaf9f3; color:#487264; font-size:.72rem; }.directory-review b { font-size:.8rem; }.directory-review small { color:#719589; }
.learning-canvas { display:grid; gap:15px; }.curriculum-header { display:flex; justify-content:space-between; gap:20px; align-items:end; padding:23px 26px; }.curriculum-header h2 { margin:3px 0 5px; font-family:var(--type-ui, system-ui); font-size:1.7rem; }.curriculum-header p { margin:0; color:var(--muted); line-height:1.55; font-size:.88rem; max-width:630px; }.unit-meta { display:grid; gap:6px; flex:none; color:#6e6596; font-size:.75rem; text-align:right; }.unit-meta span { padding:6px 9px; border-radius:8px; background:#f3f0ff; }
.audio-origin { padding:0 6px; color:#829189; font-size:.69rem; line-height:1.45; }
.one-learning-box { overflow:hidden; border:2px solid #ede7ff; background:linear-gradient(180deg,#ffffff 0%,#fffcf4 100%); }.learning-box-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 19px; background:#f7f4ff; border-bottom:1px solid #e9e2fb; }.voice-instruction { display:flex; align-items:center; gap:10px; }.instruction-icon { display:grid; place-items:center; flex:none; width:45px; height:45px; border-radius:15px; background:#6654cb; color:white; font-size:1.55rem; box-shadow:0 4px 0 #5141b5; }.instruction-icon:active { transform:translateY(3px); box-shadow:0 1px 0 #5141b5; }.voice-instruction b, .voice-instruction span { display:block; }.voice-instruction b { font-size:.9rem; }.voice-instruction span { margin-top:2px; color:var(--muted); font-size:.73rem; }.box-steps { display:flex; gap:6px; }.box-steps button { width:30px; height:30px; border-radius:10px; background:#e6e1ef; font-size:.9rem; }.box-steps button.active { background:#ffc95c; box-shadow:0 3px 0 #dfa139; }.song-panel { margin:17px 18px 0; padding:17px; border-radius:19px; background:linear-gradient(135deg,#fff2c9,#ffdea2); }.song-top { display:flex; align-items:center; gap:13px; }.song-note { display:grid; place-items:center; width:58px; height:58px; flex:none; border-radius:20px; background:white; font-size:2.1rem; }.song-panel h3 { margin:1px 0 4px; font-family:var(--type-ui, system-ui); font-size:1.25rem; }.song-panel p { margin:0; color:#755d34; font-family:var(--type-ui, system-ui); font-size:.84rem; line-height:1.45; }.big-listen { display:grid; place-items:center; flex:none; width:50px; height:50px; margin-left:auto; border-radius:17px; background:#fff; color:#d1832b; font-size:1.4rem; box-shadow:0 3px 0 #e4b86f; }.song-targets { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }.song-targets span { padding:5px 8px; border-radius:8px; background:rgba(255,255,255,.65); color:#7a6137; font-size:.72rem; font-weight:700; }.song-panel small { display:block; margin-top:10px; color:#8f7444; font-size:.67rem; }.word-mission { padding:21px 19px 16px; }.mission-copy { display:flex; flex-direction:column; align-items:flex-start; }.mission-copy h3 { margin:3px 0 4px; font-family:var(--type-ui, system-ui); font-size:1.35rem; }.mission-copy p { margin:0; color:var(--muted); font-size:.82rem; line-height:1.55; }.word-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:9px; margin-top:15px; }.word-card { min-height:94px; display:grid; place-items:center; align-content:center; gap:5px; border:1px solid #eee8dc; border-radius:16px; background:#fff; transition:transform .16s,background .16s; }.word-card:hover { background:#f3f0ff; transform:translateY(-3px); }.word-card.featured { border:2px solid #998bf3; background:#f4f1ff; }.word-card span { font-size:2rem; }.word-card small { color:#74798a; font-family:var(--type-ui, system-ui); font-size:.7rem; }.box-actions { display:flex; align-items:center; gap:10px; padding:15px 19px; background:#fff; border-top:1px dashed var(--line); }.learning-action { min-width:77px; display:grid; place-items:center; gap:2px; padding:9px 10px; border-radius:15px; color:#4c5064; background:#f3f2f7; box-shadow:0 3px 0 #dad8e3; }.learning-action:hover { transform:translateY(-2px); }.learning-action span { font-size:1.45rem; }.learning-action b { font-size:.72rem; }.learning-action--listen { background:#e2f4ff; box-shadow:0 3px 0 #acd9ed; }.learning-action--choose { background:#fff1c6; box-shadow:0 3px 0 #eccb72; }.learning-action--speak { background:#ffe7e5; box-shadow:0 3px 0 #efafa9; }.learning-action--again { background:#e9f8ed; box-shadow:0 3px 0 #afddbb; }.learning-action--model { margin-left:auto; background:#eeeaff; box-shadow:0 3px 0 #c8bff0; }.box-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px 19px; background:#fffbf1; color:#7f745d; font-size:.75rem; }.story-mission { background:linear-gradient(140deg,#eafaf6,#fff); }
.learning-cycle { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }.learning-cycle > div { min-height:74px; padding:13px; border-radius:17px; background:rgba(255,255,255,.68); border:1px solid rgba(255,255,255,.9); }.learning-cycle b { display:block; color:#5d50ba; font-size:.8rem; }.learning-cycle span { display:block; margin-top:6px; color:var(--muted); font-size:.73rem; line-height:1.4; }.current-lesson { overflow:hidden; }.current-lesson .word-panel { padding:27px; }.human-voice-badge { display:inline-flex; align-items:center; gap:5px; margin:2px 0 15px; padding:7px 10px; border-radius:9px; background:#eaf9f3; color:#357763; font-size:.76rem; font-weight:700; }.stage-activity { display:grid; grid-template-columns:100px minmax(0,1fr); align-items:center; gap:20px; min-height:212px; padding:28px; }.activity-emoji { display:grid; place-items:center; width:94px; height:94px; border-radius:28px; background:linear-gradient(145deg,#eee9ff,#e6f7f0); font-size:3.7rem; }.stage-activity h2 { margin:5px 0; font-family:var(--type-ui, system-ui); font-size:1.55rem; }.stage-activity p { color:var(--muted); font-size:.88rem; line-height:1.55; max-width:510px; margin:0 0 14px; }.mastery-card { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:16px 20px; background:linear-gradient(135deg,#fff9e8,#fff); box-shadow:none; }.mastery-card b { font-size:.91rem; }.mastery-card p { color:var(--muted); font-size:.8rem; margin:3px 0 0; line-height:1.45; }.chant-card, .method-card { padding:20px; box-shadow:none; }.chant-card h3, .method-card h3 { margin:0 0 5px; font-family:var(--type-ui, system-ui); font-size:1.1rem; }.chant-card p { color:var(--muted); font-size:.8rem; margin:0 0 12px; }.rhythm-list { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }.method-list { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:13px; }.method-list > div { padding:11px; border-radius:12px; background:#f7f5ff; }.method-list b { display:block; color:#5146aa; font-size:.8rem; }.method-list span { display:block; color:var(--muted); font-size:.73rem; line-height:1.5; margin-top:3px; }
.clean-workspace { margin-top: 2px; }.clean-canvas { min-height: calc(100vh - 125px); display:grid; place-items:start center; }.clean-workspace .learning-directory { border-radius:22px; }.clean-workspace .directory-unit { padding-block:9px; }.clean-workspace .directory-unit b { font-size:.78rem; }.focus-learning-box { width:min(100%, 700px); min-height:520px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:42px 28px; text-align:center; overflow:hidden; border:2px solid #eee9ff; background:linear-gradient(155deg,#fff 0%,#fffdf5 100%); }.word-progress { display:flex; justify-content:center; gap:8px; min-height:9px; margin-bottom:28px; }.word-progress i { display:block; width:9px; height:9px; border-radius:50%; background:#e4e1db; }.word-progress i.active { width:28px; border-radius:99px; background:#9182ef; }.word-progress i.done { background:#68cfad; }.single-word-picture { display:grid; place-items:center; width:min(48vw,190px); aspect-ratio:1; border-radius:34px; background:linear-gradient(145deg,#ede9ff,#e4f8ef); box-shadow:inset 0 0 0 8px rgba(255,255,255,.62),0 12px 25px rgba(103,91,164,.12); transition:transform .16s; }.single-word-picture:hover { transform:scale(1.04); }.single-word-picture span { font-size:clamp(5rem,12vw,8.2rem); }.word-learning h1 { margin:23px 0 24px; font-family:var(--type-ui, system-ui); font-size:clamp(2.2rem,6vw,4rem); letter-spacing:.02em; }.focus-controls { display:flex; align-items:center; gap:17px; }.focus-listen, .focus-record { display:grid; place-items:center; width:74px; height:74px; border-radius:25px; font-size:2rem; transition:transform .16s,box-shadow .16s; }.focus-listen { color:#357a9d; background:#e4f6ff; box-shadow:0 5px 0 #b4deed; }.focus-record { color:#bf5259; background:#ffe8e6; box-shadow:0 5px 0 #edb4ae; }.focus-listen:hover, .focus-record:hover { transform:translateY(-3px); }.focus-listen:active, .focus-record:active { transform:translateY(3px); box-shadow:0 2px 0 transparent; }.focus-record.recording { animation:pulse 1s infinite; background:#f78a91; color:#fff; }.audio-wait { margin-top:16px; color:#af9f7d; font-size:.85rem; }.word-feedback { width:min(100%,480px); display:flex; align-items:center; gap:10px; margin-top:24px; padding:12px 14px 12px 16px; border-radius:17px; color:#9a6a27; background:#fff4dd; text-align:left; font-size:.86rem; line-height:1.45; }.word-feedback.success { color:#28795f; background:#e9f9f1; }.word-feedback b { font-size:1.25rem; }.word-feedback span { flex:1; }.word-feedback button { display:grid; place-items:center; width:48px; height:48px; flex:none; border-radius:15px; color:inherit; background:rgba(255,255,255,.78); box-shadow:0 3px 0 rgba(98,95,90,.12); font-size:1.55rem; }.song-learning { background:linear-gradient(155deg,#fff8dc 0%,#fff 75%); }.song-art { display:grid; place-items:center; width:150px; height:150px; border-radius:45px; color:#d18027; background:#fff; box-shadow:0 10px 0 #f1c56d,0 18px 30px rgba(173,127,47,.14); font-size:5.5rem; transition:transform .16s; }.song-art:hover { transform:translateY(-4px) rotate(-4deg); }.song-art--small { width:110px; height:110px; border-radius:34px; font-size:4rem; }.song-learning h1 { margin:34px 0 12px; font-family:var(--type-ui, system-ui); font-size:clamp(2rem,5vw,3.3rem); }.song-learning .song-line { max-width:550px; margin:25px 0 30px; color:#6e5733; font-size:clamp(1.45rem,4vw,2.45rem); line-height:1.33; }.song-learning p { display:grid; gap:5px; margin:0 0 30px; color:#7a6540; font-family:var(--type-ui, system-ui); font-size:clamp(1rem,2.1vw,1.25rem); line-height:1.45; }.unit-finished { min-height:430px; background:linear-gradient(150deg,#fff8dc,#effcf5); }.unit-finished > span { font-size:8rem; filter:drop-shadow(0 7px 0 #efc359); }.unit-finished button { display:grid; place-items:center; width:67px; height:67px; margin-top:30px; border-radius:23px; color:white; background:#6453ca; box-shadow:0 5px 0 #4d3eb6; font-size:2rem; }
.word-card-picture { position:relative; overflow:hidden; }.word-card-picture:before { content:""; position:absolute; inset:auto -18% -32% 28%; width:92%; aspect-ratio:1; border-radius:50%; background:rgba(255,255,255,.6); }.word-card-picture span { position:relative; z-index:1; }.word-card-picture small { position:absolute; z-index:2; bottom:16px; padding:5px 9px; border-radius:99px; color:#5d5680; background:rgba(255,255,255,.88); font-size:.62rem; font-weight:800; letter-spacing:.05em; text-transform:uppercase; }.word-learning h1 { max-width:min(100%,570px); margin-bottom:8px; overflow-wrap:anywhere; font-size:clamp(1.65rem,5vw,3.6rem); }.word-card-context { max-width:480px; margin:0 0 20px; color:#756f81; font-family:var(--type-ui, system-ui); font-size:clamp(.96rem,2vw,1.13rem); }
.directory-groups { margin:3px 0 9px 17px; padding-left:11px; border-left:2px solid #e4ddff; }.directory-group { margin:5px 0; border-radius:13px; overflow:hidden; background:#fcfbff; }.directory-group summary { display:grid; grid-template-columns:24px minmax(0,1fr) auto; align-items:center; gap:7px; padding:9px 8px; cursor:pointer; list-style:none; color:#4f4770; }.directory-group summary::-webkit-details-marker { display:none; }.directory-group summary > span { display:grid; place-items:center; width:23px; height:23px; border-radius:8px; background:#f2efff; font-size:.82rem; }.directory-group summary b { font-size:.77rem; }.directory-group summary i { min-width:22px; padding:2px 5px; border-radius:99px; color:#8b82a5; background:#f0edf7; font-size:.65rem; font-style:normal; text-align:center; }.directory-group[open] summary { color:#5748b9; background:#f0edff; }.directory-group .unit-tree { margin:0; padding:3px 6px 7px; border:0; }.directory-group--scenes { background:#f8fbf6; }.directory-group--scenes[open] summary { color:#3f7353; background:#e9f6e9; }.scene-tree { max-height:365px; overflow:auto; padding:5px 6px 8px; }.scene-series-tree { max-height:420px; overflow:auto; padding:4px 6px 8px; }.scene-series { margin:5px 0; overflow:hidden; border:1px solid #e7efea; border-radius:11px; background:#fff; }.scene-series summary { display:grid; grid-template-columns:28px minmax(0,1fr) auto; align-items:center; gap:7px; padding:8px; cursor:pointer; list-style:none; color:#4f745b; }.scene-series summary::-webkit-details-marker { display:none; }.scene-series summary > span { display:grid; place-items:center; width:24px; height:20px; border-radius:7px; color:#4c8065; background:#e9f6e9; font-size:.65rem; font-weight:800; }.scene-series summary b { font-size:.72rem; }.scene-series summary i { min-width:20px; padding:2px 5px; border-radius:99px; color:#6f8f7d; background:#edf6f0; font-size:.62rem; font-style:normal; text-align:center; }.scene-series[open] summary { background:#f2fbf4; }.scene-series .scene-tree { max-height:none; padding:3px 5px 6px; }.directory-scene { width:100%; display:grid; grid-template-columns:45px minmax(0,1fr); align-items:center; gap:8px; padding:6px; border-radius:11px; background:transparent; text-align:left; }.directory-scene:hover, .directory-scene.selected { background:#fff5d9; }.directory-scene-thumb { display:block; width:44px; height:32px; border-radius:8px; background-image:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,207,103,.14)),var(--thumb-image); background-size:cover,var(--thumb-zoom,500% 500%); background-position:center,var(--thumb-position); box-shadow:inset 0 0 0 2px rgba(255,255,255,.7); }.directory-scene b { display:block; color:#5d655d; font-size:.69rem; }.directory-scene small { display:block; overflow:hidden; margin-top:1px; color:#819080; font-size:.64rem; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
.card-navigator { display:flex; align-items:center; justify-content:space-between; width:min(100%,460px); margin-top:auto; padding-top:26px; color:#8a8397; font-family:var(--type-ui, system-ui); font-size:.82rem; }.card-navigator button { display:grid; place-items:center; width:48px; height:44px; border-radius:15px; color:#5c50bd; background:#f0edff; box-shadow:0 3px 0 #d9d2f5; font-size:1.55rem; }.card-navigator button:hover:not(:disabled) { transform:translateY(-2px); }.card-navigator button:disabled { color:#c8c3d1; background:#f4f2f6; box-shadow:none; cursor:default; }
.letter-learning { background:linear-gradient(155deg,#fff9dd,#fff 72%); }.letter-count { align-self:flex-start; margin-bottom:18px; padding:6px 11px; border-radius:99px; color:#7d6f98; background:#f3efff; font-family:var(--type-ui, system-ui); font-size:.83rem; }.letter-shape-card { display:flex; align-items:baseline; justify-content:center; gap:16px; width:min(100%,330px); aspect-ratio:1.35; border-radius:42px; color:#4f45a7; background:linear-gradient(145deg,#f0ecff,#fff); box-shadow:inset 0 0 0 8px rgba(255,255,255,.72),0 12px 26px rgba(103,91,164,.13); }.letter-shape-card strong { font-family:var(--type-ui, system-ui); font-size:clamp(6rem,17vw,10rem); line-height:.8; }.letter-shape-card em { color:#9c8bea; font-family:var(--type-ui, system-ui); font-size:clamp(3.5rem,10vw,5.5rem); font-style:normal; }.letter-learning .focus-controls { margin-top:28px; }
.letter-group-strip { display:flex; justify-content:center; gap:9px; margin:-5px 0 16px; }.letter-group-strip i { display:grid; place-items:center; width:32px; height:32px; border-radius:11px; color:#897d9b; background:#f2f0f6; font-family:var(--type-ui, system-ui); font-size:.85rem; font-style:normal; font-weight:800; }.letter-group-strip i.active { color:#5144aa; background:#e7e1ff; box-shadow:0 3px 0 #ccc1f4; }.letter-group-strip i.done { color:#24775d; background:#e5f8ed; }.letter-quiz { justify-content:center; }.letter-quiz-listen { display:grid; place-items:center; width:100px; height:100px; margin:3px 0 25px; border-radius:34px; color:#3d7b9a; background:#e4f6ff; box-shadow:0 7px 0 #b7dfed; font-size:3rem; }.letter-quiz-listen:active { transform:translateY(4px); box-shadow:0 3px 0 #b7dfed; }.letter-quiz-options { display:grid; grid-template-columns:repeat(4,minmax(60px,1fr)); gap:10px; width:min(100%,460px); }.letter-quiz-options button { display:grid; place-items:center; min-height:94px; border-radius:24px; color:#5044aa; background:#fff; box-shadow:inset 0 0 0 2px #e8e1ff,0 5px 0 #ddd5f4; transition:transform .16s; }.letter-quiz-options button:hover:not(:disabled) { transform:translateY(-3px); }.letter-quiz-options button:disabled { opacity:.7; }.letter-quiz-options strong { font-family:var(--type-ui, system-ui); font-size:2.35rem; line-height:1; }.letter-quiz-options em { margin-top:3px; color:#9a8be0; font-family:var(--type-ui, system-ui); font-size:1.3rem; font-style:normal; }
.phonics-focus-learning { background:linear-gradient(155deg,#f4f0ff,#fff 72%); }.phonics-pair { display:grid; grid-template-columns:1.2fr .8fr; gap:15px; width:min(100%,480px); }.phonics-letter-only, .phonics-sound-only { display:flex; align-items:center; justify-content:space-between; min-height:155px; padding:22px 25px; border-radius:32px; text-align:left; transition:transform .16s; }.phonics-letter-only { color:#5044aa; background:#fff; box-shadow:inset 0 0 0 2px #e7e0ff,0 10px 22px rgba(101,86,177,.12); }.phonics-sound-only { color:#39786a; background:#e9faf3; box-shadow:inset 0 0 0 2px #d0f0e2,0 10px 22px rgba(61,128,105,.1); }.phonics-letter-only:hover, .phonics-sound-only:hover { transform:translateY(-3px); }.phonics-letter-only strong { font-family:var(--type-ui, system-ui); font-size:clamp(2.2rem,7vw,4rem); }.phonics-sound-only strong { font-family:var(--type-ui, system-ui); font-size:clamp(1.8rem,5vw,3rem); }.phonics-letter-only span, .phonics-sound-only span { font-size:1.35rem; }.phonics-focus-learning .focus-controls { margin-top:27px; }
.phonics-letter-only small,.phonics-sound-only small { display:block; margin-bottom:7px; font-size:.7rem; font-weight:800; letter-spacing:.06em; }.phonics-sound-only em { display:block; margin-top:6px; color:#5b8a7c; font-size:.72rem; font-style:normal; }.phonics-card-controls { display:grid; gap:9px; }.phonics-card-controls button { display:grid; place-items:center; width:44px; height:44px; border-radius:15px; color:#4e4498; background:#f0edff; box-shadow:0 3px 0 rgba(85,72,168,.16); font-size:1.15rem; }.phonics-sound-only .phonics-card-controls button { color:#337a68; background:#fff; box-shadow:0 3px 0 rgba(47,111,90,.14); }.phonics-card-controls button.recording { color:#fff; background:#f47882; animation:pulse 1s infinite; }.phonics-example-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:13px; width:min(100%,480px); margin-top:16px; padding:13px 18px; border-radius:19px; color:#735b38; background:#fff8df; box-shadow:inset 0 0 0 1px #f5e2aa; text-align:left; }.phonics-example-card span { color:#9b8054; font-size:.73rem; font-weight:800; }.phonics-example-card b { color:#514126; font-family:var(--type-ui, system-ui); font-size:1.35rem; }.phonics-example-card i { display:grid; place-items:center; width:35px; height:35px; border-radius:12px; background:#fff; font-style:normal; }
.phonics-sound-only { position:relative; align-items:center; }
.phonics-family-heading { display:flex; align-items:center; gap:8px; margin:-8px 0 14px; padding:7px 11px; border-radius:12px; color:#5548ae; background:#f0edff; font-family:var(--type-ui, system-ui); font-size:.85rem; }.phonics-family-heading span { color:#4b8d7b; }
.phonics-family-heading em { margin-left:auto; color:#9b7b44; font-size:.78rem; font-style:normal; }.phonics-pair--single { grid-template-columns:1fr; width:min(100%,360px); }.phonics-pair--single .phonics-letter-only { min-height:185px; justify-content:center; gap:24px; text-align:center; }.phonics-phase-progress { display:flex; justify-content:center; gap:8px; margin:-4px 0 16px; }.phonics-phase-progress i { width:25px; height:6px; border-radius:8px; background:#e8e3f4; }.phonics-phase-progress i.active { background:#8677e8; }.phonics-phase-progress i.done { background:#69b99b; }.phonics-sound-stage { display:grid; grid-template-columns:1fr auto; align-items:center; min-height:185px; padding:24px 28px; border-radius:32px; color:#39786a; background:#e9faf3; box-shadow:inset 0 0 0 2px #d0f0e2,0 10px 22px rgba(61,128,105,.1); text-align:left; transition:transform .16s; }.phonics-sound-stage:hover { transform:translateY(-3px); }.phonics-sound-stage strong { font-family:var(--type-ui, system-ui); font-size:clamp(2rem,7vw,4rem); }.phonics-sound-stage b { grid-column:1; margin-top:6px; color:#39786a; font-family:var(--type-ui, system-ui); font-size:1.25rem; font-weight:800; }.phonics-sound-stage b i, .phonics-stress-symbol { color:#d56956; font-style:normal; }.phonics-sound-stage b mark, .phonics-practice-word mark { padding:0 .08em; border-radius:.16em; color:#284d45; background:#ffe293; }.phonics-sound-stage > span { grid-column:2; grid-row:1 / span 2; font-size:1.5rem; }.phonics-practice-word { color:#384c8c; }.phonics-practice-word .phonics-stress-symbol { display:inline-block; margin-right:.05em; font-size:.58em; vertical-align:top; }
.phonics-intro-card { position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:18px; width:min(100%,420px); min-height:218px; padding:29px 31px; overflow:hidden; border:0; border-radius:38px; color:#fff; background:linear-gradient(145deg,#695bd4,#9a85f2 56%,#c8b8ff); box-shadow:inset 0 0 0 7px rgba(255,255,255,.2),0 13px 27px rgba(86,70,174,.23); text-align:left; transition:transform .16s,box-shadow .16s; }.phonics-intro-card:before { content:""; position:absolute; right:-20px; bottom:-38px; width:150px; height:150px; border:22px solid rgba(255,255,255,.13); border-radius:50%; }.phonics-intro-card:hover { transform:translateY(-3px); box-shadow:inset 0 0 0 7px rgba(255,255,255,.25),0 17px 31px rgba(86,70,174,.27); }.phonics-intro-letter,.phonics-intro-sound,.phonics-intro-play { position:relative; z-index:1; }.phonics-intro-letter { display:block; min-width:0; }.phonics-intro-letter strong { display:block; font-family:var(--type-ui, system-ui); font-size:clamp(3.4rem,10vw,5.8rem); line-height:.95; letter-spacing:.04em; text-shadow:0 3px 11px rgba(49,37,119,.28); }.phonics-intro-sound { display:inline-flex; align-items:center; justify-content:center; min-width:104px; min-height:74px; padding:11px 16px; border-radius:23px; color:#5646b5; background:rgba(255,255,255,.94); box-shadow:0 5px 0 rgba(67,51,156,.22); font-family:var(--type-ui, system-ui); font-size:clamp(1.45rem,4vw,2.25rem); font-weight:800; }.phonics-intro-play { position:absolute; right:26px; bottom:22px; display:grid; place-items:center; width:43px; height:43px; border-radius:50%; background:rgba(255,255,255,.23); font-size:1.3rem; }
/* 顶部进度既显示当前位置，也可直接点按进入对应卡片；视觉点小，实际点击范围更大。 */
.word-progress > button { position:relative; display:grid; place-items:center; width:25px; height:27px; padding:0; border:0; border-radius:9px; background:transparent; box-shadow:none; cursor:pointer; }.word-progress > button:before { content:""; display:block; width:9px; height:9px; border-radius:50%; background:#e4e1db; transition:transform .16s,background .16s; }.word-progress > button.active:before { width:25px; border-radius:99px; background:#9182ef; }.word-progress > button.done:before { background:#68cfad; }.word-progress > button:hover:before { transform:scale(1.12); background:#7868dc; }.word-progress > button.done:hover:before { background:#45a783; }
.letter-group-strip > button { display:grid; place-items:center; width:36px; height:36px; padding:0; border:0; border-radius:12px; color:#897d9b; background:#f2f0f6; box-shadow:none; font-family:var(--type-ui, system-ui); font-size:.9rem; font-weight:800; cursor:pointer; transition:transform .16s,background .16s; }.letter-group-strip > button.active { color:#5144aa; background:#e7e1ff; box-shadow:0 3px 0 #ccc1f4; }.letter-group-strip > button.done { color:#24775d; background:#e5f8ed; }.letter-group-strip > button:hover { transform:translateY(-2px); }
.letter-group-strip { flex-wrap:wrap; width:min(100%,440px); }
.phonics-phase-progress > button { display:grid; place-items:center; width:38px; height:26px; padding:0; border:0; border-radius:9px; background:transparent; box-shadow:none; cursor:pointer; }.phonics-phase-progress > button:before { content:""; display:block; width:25px; height:6px; border-radius:8px; background:#e8e3f4; transition:transform .16s,background .16s; }.phonics-phase-progress > button.active:before { background:#8677e8; }.phonics-phase-progress > button.done:before { background:#69b99b; }.phonics-phase-progress > button:hover:before { transform:scale(1.12); background:#7868dc; }.phonics-phase-progress > button.done:hover:before { background:#4fae8d; }
.word-progress > button:focus-visible,.letter-group-strip > button:focus-visible,.phonics-phase-progress > button:focus-visible { outline:3px solid #5c50bd; outline-offset:2px; }
.audio-status { display:inline-flex; align-items:center; width:max-content; max-width:100%; margin:-8px 0 14px; padding:5px 9px; border-radius:99px; font-size:.72rem; font-weight:800; line-height:1.2; }.audio-status--human { color:#2f735f; background:#e8f8ef; }.audio-status--compatibility { color:#856d45; background:#fff3d8; }.phonics-audit-note { width:min(100%,480px); margin:12px 0 0; color:#6b7c78; font-size:.76rem; line-height:1.55; text-align:left; }.recording-session-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px; width:min(100%,520px); margin:15px 0 4px; padding:11px 13px; border-radius:16px; color:#7b4f56; background:#fff1f0; font-size:.78rem; font-weight:700; }.recording-session-actions span { flex:1 1 170px; text-align:left; }.recording-session-actions button { padding:8px 10px; border-radius:11px; color:#7b4f56; background:#fff; box-shadow:0 2px 0 rgba(160,90,95,.16); font:inherit; }.recording-session-actions button:last-child { color:#7c7087; background:#f5f2f6; }
.story-focus-illustration { position:relative; z-index:1; display:grid; place-items:center; width:100%; height:100%; padding:12px; font-size:clamp(4rem,13vw,7rem); line-height:1; text-shadow:0 4px 0 rgba(255,255,255,.55); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(213,75,97,.45); } 50% { box-shadow: 0 0 0 12px rgba(213,75,97,0); } }
@keyframes fly { 0% { transform: translate(var(--x), var(--y)) scale(.7); opacity: 1; } 100% { transform: translate(calc(var(--x) + var(--tx)), calc(var(--y) - 140px)) rotate(50deg) scale(1.1); opacity: 0; } }
.spelling-learning { justify-content:flex-start; min-height:570px; padding-top:28px; background:linear-gradient(155deg,#f6f2ff 0%,#fffdf5 76%); }.spelling-head { display:flex; align-items:center; justify-content:space-between; width:min(100%,500px); margin:0 0 12px; color:#5c50bb; font-size:.82rem; font-weight:800; }.spelling-head span { padding:6px 10px; border-radius:99px; background:#eee9ff; }.spelling-head b { color:#6f8e80; }.spelling-rule { max-width:100%; margin:0 0 13px; }.spelling-rule span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.spelling-progress { flex-wrap:wrap; max-width:500px; margin-bottom:13px; }.spelling-picture { width:min(38vw,142px); margin:3px 0 9px; border-radius:29px; }.spell-main { display:flex; flex-direction:column; align-items:center; min-height:145px; }.spell-main.listen { justify-content:center; }.spell-word-shown { display:grid; gap:3px; margin:0 0 9px; }.spell-word-shown span { color:#897d9a; font-size:.75rem; font-weight:800; }.spell-word-shown strong { color:#443a84; font-family:var(--type-ui, system-ui); font-size:clamp(2.1rem,7vw,3.45rem); letter-spacing:.05em; }.spell-prompt { margin:0 0 11px; color:#6c7080; font-size:.88rem; }.spell-listen-orb { display:grid; place-items:center; width:128px; height:128px; margin:5px 0 11px; border-radius:44px; color:#3d7b9a; background:#e3f5ff; box-shadow:0 8px 0 #b5ddec,0 18px 32px rgba(63,122,154,.12); font-size:3.8rem; }.spell-listen-orb:active { transform:translateY(4px); box-shadow:0 4px 0 #b5ddec,0 12px 26px rgba(63,122,154,.12); }.spell-meaning { margin:2px 0 11px; color:#7a6446; font-family:var(--type-ui, system-ui); font-size:1.05rem; }.spell-input-wrap { position:relative; width:min(100%,520px); margin:6px 0 12px; padding:11px 12px; border-radius:22px; background:#fff; box-shadow:inset 0 0 0 2px #e7e0ff,0 6px 16px rgba(78,64,156,.08); scroll-margin-bottom:42vh; cursor:text; }.spell-input-wrap:focus-within { box-shadow:inset 0 0 0 3px #9b8bf1,0 7px 18px rgba(78,64,156,.13); }.spell-slots { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }.spell-slot { display:grid; place-items:center; width:clamp(33px,7vw,48px); height:clamp(42px,8vw,57px); border-bottom:4px solid #d8d2e7; color:#5147a4; font-family:var(--type-ui, system-ui); font-size:clamp(1.45rem,4vw,2rem); line-height:1; text-transform:lowercase; transition:background .12s,color .12s,transform .12s,border .12s; }.spell-slot.filled { border-color:#67bd98; color:#27755b; background:#e8f8ee; }.spell-slot.error { border-color:#ef7377; color:#b9424d; background:#fff0ef; transform:translateY(-3px); }.spell-native-input { position:absolute; inset:0; width:100%; height:100%; margin:0; border:0; outline:0; opacity:.001; cursor:text; }.spell-native-input:disabled { cursor:default; }.spell-actions { display:flex; align-items:center; justify-content:center; gap:10px; min-height:58px; }.spell-actions .focus-listen { width:58px; height:58px; border-radius:20px; font-size:1.55rem; }.spell-review-button { min-height:45px; padding:10px 14px; border-radius:15px; color:#775932; background:#fff0c8; box-shadow:0 3px 0 #e6c477; font:inherit; font-size:.8rem; font-weight:800; }.spell-record { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 14px; margin-top:12px; color:#817990; font-size:.74rem; }.spell-record b { color:#5548a7; }.spell-bottom { display:flex; align-items:center; justify-content:space-between; width:min(100%,500px); min-height:42px; margin-top:9px; }.spell-bottom .btn { min-height:39px; padding:8px 15px; font-size:.82rem; }.spell-entry-link { margin:18px 0 0; padding:8px 12px; border-radius:13px; color:#574aa9; background:#f0edff; font-size:.78rem; font-weight:800; }.unit-finished-actions { display:flex; align-items:center; gap:14px; margin-top:18px; }.unit-finished-actions .btn { width:auto; height:auto; margin:0; padding:10px 14px; color:#574aa9; background:#f0edff; box-shadow:0 3px 0 #d5cdf4; font-size:.82rem; }.unit-finished-actions > button:not(.btn) { margin:0; }.spelling-summary { display:flex; flex-wrap:wrap; gap:8px; margin:-3px 0 14px; }.spelling-summary span { padding:7px 9px; border-radius:11px; color:#746b89; background:#f6f3ff; font-size:.75rem; }.spelling-summary b { color:#5548a7; }.spelling-mistake { gap:10px; }.spelling-mistake > div { min-width:0; }.spelling-mistake small { display:block; margin-top:3px; line-height:1.35; }
@media (max-width: 880px) { .desktop-nav { display: none; }.home-hero, .course-layout, .story-layout, .passage-layout, .learning-workspace { grid-template-columns: 1fr; }.learning-directory { position:static; max-height:340px; }.task-grid { grid-template-columns: repeat(3,1fr); }.path { grid-template-columns: 1fr; }.path::before { display: none; }.stage-card { min-height: auto; display: grid; grid-template-columns: 72px 1fr; column-gap: 14px; }.stage-emoji { grid-row: span 3; }.stage-card footer { grid-column: 2; }.course-side { position: static; }.course-steps { grid-template-columns: repeat(3, 1fr); }.word-panel, .practice-panel { grid-template-columns: 1fr; }.flashcard { max-width: 240px; }.story-cover { min-height: 270px; }.passage-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.passage-panel h3, .privacy-note { grid-column: span 2; }.word-grid { grid-template-columns:repeat(3,1fr); } }
.story-learning { background:linear-gradient(155deg,#f5fcff 0%,#fff 78%); }.story-mini-cover { display:grid; place-items:center; width:86px; height:86px; margin-bottom:15px; border-radius:28px; background:#e6f7f8; font-size:3rem; }.story-unit-title { margin:0 0 16px; color:#4f8790; font-weight:800; }.story-line { max-width:560px; margin:0 0 30px; color:#31565e; font-family:var(--type-ui, system-ui); font-size:clamp(1.45rem,4vw,2.45rem); line-height:1.35; }.passage-learning { justify-content:flex-start; min-height:520px; padding-top:32px; background:linear-gradient(155deg,#f3f8ff 0%,#fff 76%); }.passage-learning .story-mini-cover { margin-bottom:8px; background:#e8efff; }.passage-unit-copy { width:min(100%,580px); margin:4px 0 25px; padding:18px 20px; border-radius:22px; color:#40556e; background:rgba(255,255,255,.76); text-align:left; box-shadow:inset 0 0 0 1px #e7edf8; font-size:clamp(.96rem,2.2vw,1.12rem); line-height:1.66; }.passage-unit-copy p { margin:0 0 10px; }.passage-unit-copy p:last-child { margin-bottom:0; }.word-progress span { align-self:center; color:#857a95; font-size:.8rem; font-weight:800; }.scene-directory { margin-top:8px; border-top:1px dashed #dfd9e9; }.scene-learning { justify-content:flex-start; min-height:560px; padding-top:24px; background:linear-gradient(150deg,#eefaf1,#fffaf0 72%); }.scene-head { display:flex; align-items:center; justify-content:space-between; width:min(100%,590px); margin-bottom:12px; color:#53775e; font-size:.82rem; }.scene-head b { color:#506153; font-size:.94rem; }.scene-art { position:relative; width:min(100%,590px); aspect-ratio:1.6; overflow:hidden; border-radius:32px; background:linear-gradient(165deg,#9ee0ff 0 43%,#dff7c9 43% 100%); box-shadow:inset 0 0 0 7px rgba(255,255,255,.56),0 10px 22px rgba(76,125,84,.12); }.scene-art:before { content:""; position:absolute; left:-7%; right:-7%; bottom:18%; height:26%; border-radius:50%; background:#b9e89b; transform:rotate(-3deg); }.scene-cover { position:absolute; right:8%; bottom:8%; z-index:1; font-size:clamp(2.6rem,7vw,4.3rem); letter-spacing:.12em; }.scene-spot { position:absolute; z-index:2; left:var(--x); top:var(--y); display:grid; place-items:center; width:58px; height:58px; border:0; border-radius:22px; background:rgba(255,255,255,.82); box-shadow:0 5px 0 rgba(62,111,68,.22); font-size:2.15rem; transform:translate(-50%,-50%); }.scene-spot:disabled { opacity:.57; }.scene-spot.active { animation:sceneGlow 1.15s infinite; background:#fff8b9; }.scene-label { margin:18px 0 21px; color:#3d6547; font-family:var(--type-ui, system-ui); font-size:clamp(1.45rem,4vw,2.45rem); line-height:1.22; } @keyframes sceneGlow { 50% { transform:translate(-50%,-50%) scale(1.12); box-shadow:0 0 0 9px rgba(253,205,91,.34),0 5px 0 rgba(62,111,68,.22); } }
.site-footer { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:34px; padding:18px 4px 2px; color:var(--muted); font-size:.76rem; }.legal-links { display:flex; flex-wrap:wrap; gap:8px 14px; }.legal-links button { padding:0; color:#776c9e; background:transparent; text-decoration:underline; text-underline-offset:3px; font-size:inherit; }.legal-links button:hover { color:#5542bb; }.legal-overlay { position:fixed; z-index:50; inset:0; display:grid; place-items:center; padding:22px; background:rgba(30,40,55,.45); backdrop-filter:blur(4px); }.legal-dialog { position:relative; width:min(100%,680px); max-height:min(82vh,760px); overflow:auto; padding:clamp(26px,5vw,44px); border:2px solid #eee9ff; box-shadow:0 22px 55px rgba(28,38,54,.24); }.legal-dialog h1 { margin:7px 0 22px; color:#443b72; font-family:var(--type-ui, system-ui); font-size:clamp(1.8rem,5vw,2.7rem); }.legal-close { position:absolute; top:15px; right:15px; display:grid; place-items:center; width:38px; height:38px; border-radius:13px; color:#72668e; background:#f4f1ff; font-size:1.6rem; }.legal-copy { color:#56606d; font-size:.95rem; line-height:1.85; }.legal-copy p { margin:0 0 15px; }.legal-copy a { color:#5c4dc0; text-decoration:underline; text-underline-offset:3px; }.access-shell { min-height:100vh; display:grid; place-items:center; padding:24px; background:radial-gradient(circle at 13% 13%,#e5f8ec 0 15%,transparent 16%),radial-gradient(circle at 87% 82%,#fff0bf 0 16%,transparent 17%),linear-gradient(145deg,#fffdf5,#f5f1ff); }.access-card { width:min(100%,650px); padding:clamp(30px,7vw,58px); border:2px solid rgba(255,255,255,.82); background:rgba(255,255,255,.9); text-align:center; box-shadow:0 22px 55px rgba(68,54,107,.15); }.access-mark { display:grid; place-items:center; width:72px; height:72px; margin:0 auto 18px; border-radius:25px; background:linear-gradient(145deg,#ffeab2,#f5b972); box-shadow:0 7px 0 #e8a963; font-size:2.2rem; }.access-card h1 { margin:9px 0 13px; color:#443b72; font-family:var(--type-ui, system-ui); font-size:clamp(2rem,5vw,3rem); }.access-card > p { max-width:510px; margin:0 auto; color:#5f6670; line-height:1.75; }.access-actions { display:grid; justify-items:center; gap:16px; margin:27px 0 17px; }.access-actions .btn { max-width:480px; padding:14px 18px; line-height:1.45; }.access-note { margin-top:23px !important; padding:12px 14px; border-radius:15px; background:#f6f4fc; color:#77708c !important; font-size:.8rem; text-align:left; }.legal-links--gate { justify-content:center; margin-top:22px; }.record-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:14px; }
@media (max-width: 600px) { .app-shell { padding: 16px 15px 34px; }.topbar { margin-bottom: 22px; }.brand { font-size: 1.2rem; }.brand-mark { width: 36px; height: 36px; }.record-chip { padding-right: 7px; }.record-chip span { display: none; }.home-hero { gap: 14px; }.hero-card { min-height: 280px; }.hero-decoration { font-size: 4rem; right: 18px; }.task-grid { grid-template-columns: 1fr; }.task-card { min-height: 140px; }.reward-strip, .record-grid { grid-template-columns: 1fr; }.course-steps { grid-template-columns: 1fr 1fr; }.course-step:last-child { grid-column: span 2; }.lesson-content, .story-pages { padding: 19px; }.word-panel { gap: 15px; }.flashcard { max-width: 180px; }.practice-main { padding: 20px; }.passage-head { align-items: start; flex-direction: column; gap: 8px; }.passage-panel { grid-template-columns: 1fr; }.passage-panel h3, .privacy-note { grid-column: auto; }.reader { padding: 18px; }.stat-grid { grid-template-columns: repeat(2,1fr); }.stage-card { grid-template-columns: 54px 1fr; }.stage-emoji { width: 52px; height: 52px; font-size: 1.7rem; border-radius: 17px; }.curriculum-header, .mastery-card { align-items:start; flex-direction:column; }.unit-meta { text-align:left; }.learning-cycle, .method-list { grid-template-columns:1fr 1fr; }.stage-activity { grid-template-columns:1fr; }.activity-emoji { width:68px; height:68px; font-size:2.5rem; border-radius:20px; }.learning-box-head { align-items:start; flex-direction:column; }.box-steps { width:100%; justify-content:space-between; }.word-grid { grid-template-columns:repeat(3,1fr); }.word-card { min-height:82px; }.box-actions { overflow-x:auto; }.learning-action { min-width:63px; }.song-panel { margin:12px 12px 0; }.word-mission { padding:17px 12px 13px; }.box-footer { padding:12px; }.focus-learning-box { min-height:420px; padding:28px 18px; }.single-word-picture { width:min(56vw,170px); }.focus-listen, .focus-record { width:68px; height:68px; }.song-art { width:120px; height:120px; border-radius:36px; font-size:4.5rem; }.song-learning h1 { margin-top:28px; }.song-learning p { margin-bottom:24px; }.site-footer { align-items:flex-start; flex-direction:column; }.access-shell { padding:15px; }.access-card { padding:30px 22px; }.legal-overlay { padding:12px; }.legal-dialog { max-height:88vh; padding:30px 22px; } }

.age-choices .btn { width:min(100%, 22rem); min-height:44px; white-space:normal; }
.self-reading-note { margin:10px 0 16px; color:var(--muted); font-size:.88rem; }
.self-reading-next, .self-reading-exit { margin-top:14px; min-height:44px; }

#save-status:not([hidden]) { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:.5rem; padding:.45rem 1rem; background:#f1edfe; color:#433875; font-size:.86rem; position:relative; z-index:2; }
#save-status button { text-decoration:underline; min-height:32px; }
.auth-form:not([hidden]) { display:grid; gap:12px; text-align:left; margin:18px 0; }
.auth-form label:not([hidden]) { display:grid; gap:5px; margin:8px 0; }
.auth-form input:not([type="checkbox"]), .auth-form select { width:100%; padding:.7rem; border:1px solid #bdb3d6; border-radius:9px; background:#fff; font:inherit; }
#recovery-code { overflow-wrap:anywhere; user-select:all; }

#auth[hidden], .access-card nav[hidden] { display:none; }

.extra-lesson-picture { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.reader-line:has(.extra-lesson-picture) { display: flex; align-items: center; gap: 12px; }
.reader-line .extra-lesson-picture { width: clamp(72px, 14vw, 112px); height: auto; flex: none; }
