@charset "UTF-8";
:root {
  --primary: oklch(0.48 0.16 340); --primary-dark: oklch(0.36 0.14 340);
  --ink: oklch(0.27 0.034 325); --muted: oklch(0.48 0.028 325);
  --bg: oklch(1 0 0); --surface: oklch(0.975 0.008 340);
  --pink: oklch(0.95 0.034 340); --blue: oklch(0.94 0.035 230);
  --green: oklch(0.94 0.044 145); --orange: oklch(0.95 0.054 77);
  --lime: oklch(0.9 0.15 117); --line: oklch(0.89 0.012 330);
  --success: oklch(0.39 0.09 152); --error: oklch(0.43 0.14 32);
  font-family: 'Trebuchet MS', 'Microsoft YaHei', 'PingFang SC', system-ui, sans-serif;
  color: var(--ink); background: var(--bg); font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
button, input, select { font: inherit; }
button { cursor: pointer; color: inherit; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; opacity: .65; }
button, a, input, select { outline-offset: 5px; }
:focus-visible { outline: 3px solid var(--primary); }
button { transition: background .18s ease, transform .18s ease, border-color .18s ease; }
button:not(:disabled):active { transform: translateY(2px); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.35; }
h1 { font-size: 2rem; letter-spacing: -.02em; }
h2 { font-size: 1.4rem; } h3 { font-size: 1.1rem; }
p { text-wrap: pretty; }
svg { width: 24px; height: 24px; vertical-align: middle; flex: none; }
button svg { pointer-events: none; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -80px; left: 20px; background: white; z-index: 50; padding: 12px; }
.skip-link:focus { top: 8px; }
.header { max-width: 1200px; margin: auto; padding: 24px 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0; text-align: left; }
.brand-mark { height: 48px; width: 48px; background: var(--primary); color: white; border-radius: 14px; display: grid; place-items: center; font-size: 38px; line-height: 1; }
.brand-name { font-size: 1.12rem; font-weight: 800; display: block; }
.brand-sub { display: block; font-size: .78rem; letter-spacing: .09em; color: var(--muted); }
.parent-link { display: flex; gap: 8px; align-items: center; background: none; border: 1px solid var(--line); border-radius: 50px; padding: 10px 17px; font-size: .9rem; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lesson-plan { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 0 4px; margin-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--primary-dark); }
.lesson-plan span { white-space: nowrap; }
.session-timing { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; background: var(--pink); border-radius: 10px; padding: 10px 14px; font-size: .85rem; color: var(--primary-dark); }
.stage-time { text-align: right; font-size: .8rem; color: var(--muted); margin: 5px 0 18px; }
.practice-tip { background: var(--orange); border-radius: 10px; padding: 13px 16px; color: var(--ink); font-size: .9rem; margin-top: 16px; }
.example-sentence { background: var(--blue); padding: 18px; text-align: center; border-radius: 12px; }
.example-sentence > p:first-child { font-size: 1.4rem; font-weight: 700; }
.reading-picture { background: var(--surface); border-radius: 12px; margin: 18px 0 8px; padding: 10px; }
.audio-hint { display: flex; margin: auto; }
.word-choices .choice { min-height: 100px; }
.choice-word { font-size: 1.75rem; font-weight: 800; }
.dialogue-question { margin: 22px 0 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; }
.dialogue-question > span { font-size: .85rem; color: var(--muted); }
.dialogue-question > p[lang] { font-size: 1.45rem; font-weight: 700; }
.dialogue-audio { display: flex; flex-wrap: wrap; gap: 0 20px; }
.sentence-box .secondary { margin-top: 14px; }
input[type="range"] { accent-color: var(--primary); width: 100%; min-height: 36px; }
.nav { display: flex; max-width: 1124px; margin: 0 auto; border-bottom: 1px solid var(--line); gap: 36px; }
.nav button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 16px 6px; display: flex; gap: 9px; align-items: center; color: var(--muted); font-weight: 700; }
.nav button.active { color: var(--primary); border-color: var(--primary); }
.nav button:hover { color: var(--primary); }
.shell { max-width: 1200px; margin: auto; padding: 35px 38px 48px; }
.greeting { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.greeting p { color: var(--muted); margin-top: 8px; }
.date-tag { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; align-items: start; }
.adventure { background: var(--pink); border-radius: 16px; overflow: hidden; position: relative; padding: 30px; }
.adventure-top { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--primary-dark); }
.pill { padding: 4px 12px; border-radius: 50px; background: white; font-size: .85rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.adventure-content { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 233px; }
.adventure h2 { font-size: 2.1rem; margin: 16px 0 8px; }
.english-title { color: var(--primary-dark); font-size: 1.12rem; margin-bottom: 12px; }
.adventure .description { color: var(--muted); font-size: .95rem; max-width: 24ch; }
.animal-scene { position: relative; height: 230px; min-width: 0; }
.cutout { position: absolute; display: grid; place-items: center; border-radius: 50%; background: white; width: 104px; height: 104px; font-size: 65px; border: 3px solid var(--primary-dark); }
.cutout.one { left: 3%; top: 30px; transform: rotate(-12deg); }
.cutout.two { right: 0; top: 6px; transform: rotate(10deg); background: var(--orange); }
.cutout.three { right: 12%; bottom: 1px; transform: rotate(-7deg); background: var(--lime); }
.scene-spark { position: absolute; color: var(--primary); font-size: 34px; top: 145px; left: 8%; }
.primary, .secondary, .quiet { min-height: 50px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border-radius: 12px; padding: 12px 22px; font-weight: 700; border: 0; line-height: 1.5; }
.primary { background: var(--primary); color: white; }
.primary:hover { background: var(--primary-dark); }
.secondary { background: white; border: 1px solid var(--line); }
.secondary:hover { background: var(--surface); border-color: var(--primary); }
.quiet { background: var(--surface); }
.adventure .primary { width: 100%; justify-content: space-between; margin-top: 19px; }
.lesson-flow { display: flex; justify-content: space-between; gap: 8px; font-size: .87rem; margin-top: 21px; color: var(--primary-dark); }
.lesson-flow span { display: flex; align-items: center; gap: 6px; }
.small-icon { width: 19px; height: 19px; }
.side-title { display: flex; gap: 10px; align-items: center; margin-bottom: 17px; }
.week { display: flex; justify-content: space-between; gap: 4px; margin: 18px 0 12px; }
.day { display: grid; justify-items: center; gap: 6px; font-size: .77rem; color: var(--muted); }
.day-dot { width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.day.today .day-dot { border: 2px solid var(--primary); color: var(--primary); }
.day.done .day-dot { background: var(--primary); color: white; border-color: var(--primary); }
.note { color: var(--muted); font-size: .9rem; }
.side-divider { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.pocket { display: flex; align-items: center; gap: 16px; margin: 18px 0; }
.pocket-icon { background: var(--lime); width: 66px; height: 66px; border-radius: 16px; display: grid; place-items: center; font-size: 36px; }
.pocket strong { font-size: 1.8rem; margin-right: 4px; }
.text-link { border: none; background: none; color: var(--primary); padding: 8px 0; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.family-tip { background: var(--blue); padding: 18px; border-radius: 12px; font-size: .9rem; margin-top: 18px; }
.family-tip p { margin-top: 7px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 28px 0 16px; }
.mini-row { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 16px 18px; }
.mini-row > .emoji { font-size: 34px; }
.mini-row .grow { flex: 1; }
.mini-row .note { margin-top: 4px; font-size: .86rem; }
.mini-row:hover { border-color: var(--primary); background: var(--surface); }
.page-intro { margin-bottom: 28px; }
.page-intro p { margin-top: 10px; color: var(--muted); max-width: 60ch; }
.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.catalog-group + .catalog-group { margin-top: 38px; }
.catalog-link { margin-top: 28px; }
.dot-array { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 9px; width: 140px; max-width: 100%; }
.dot-array span { display: block; aspect-ratio: 1; border-radius: 50%; background: var(--primary); }
.theme { text-align: left; border: 1px solid var(--line); border-radius: 16px; background: white; padding: 0; overflow: hidden; }
.theme:hover { border-color: var(--primary); transform: translateY(-3px); }
.theme-art { height: 142px; display: flex; justify-content: space-between; align-items: center; padding: 24px; position: relative; }
.theme-art .pill { position: absolute; top: 10px; right: 10px; padding: 2px 8px; }
.theme-emoji { font-size: 70px; }
.theme-no { align-self: flex-start; font-size: .86rem; font-weight: 700; }
.theme-body { padding: 20px; }
.theme-body p { margin: 7px 0 14px; color: var(--muted); font-size: .92rem; }
.theme-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--primary); font-size: .85rem; font-weight: 700; }
.bg-pink { background: var(--pink); } .bg-blue { background: var(--blue); }
.bg-orange { background: var(--orange); } .bg-green { background: var(--green); }
.phonics-intro { padding: 24px; background: var(--orange); border-radius: 12px; margin-bottom: 24px; display: flex; gap: 24px; align-items: center; }
.letters { font-size: 2.5rem; font-weight: 800; white-space: nowrap; letter-spacing: .03em; }
.letters b { color: var(--primary); }
.phonics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.session { max-width: 820px; margin: auto; }
.session-top { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; }
.icon-btn { min-width: 46px; min-height: 46px; border: 1px solid var(--line); border-radius: 50%; background: white; display: grid; place-items: center; }
.session-top .progress-wrap { flex: 1; }
.progress-info { display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; margin-bottom: 8px; color: var(--muted); }
.progress { height: 9px; border-radius: 10px; background: var(--surface); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--primary); border-radius: inherit; transition: width .25s ease; }
.stage-label { display: flex; justify-content: center; align-items: center; gap: 7px; color: var(--primary); font-weight: 700; margin-bottom: 9px; }
.session h1 { text-align: center; font-size: 1.8rem; }
.session-subtitle { text-align: center; color: var(--muted); margin-top: 8px; }
.word-card { background: var(--surface); border-radius: 16px; padding: 22px; text-align: center; margin-top: 23px; min-height: 288px; }
.word-picture { font-family: 'Segoe UI Emoji', 'Apple Color Emoji', sans-serif; font-size: 104px; line-height: 1.35; min-height: 145px; display: flex; align-items: center; justify-content: center; }
.word-picture.count { font-family: inherit; font-size: 46px; color: var(--primary); letter-spacing: .08em; }
.word-english { font-size: 2.8rem; line-height: 1.2; font-weight: 800; margin: 12px 0 5px; }
.word-english .onset { color: var(--primary); }
.word-english .rime { text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 8px; text-decoration-thickness: 3px; }
.word-chinese { color: var(--muted); margin-top: 9px; }
.audio-actions { display: flex; justify-content: center; gap: 12px; margin: 20px 0; flex-wrap: wrap; }
.audio-status { min-height: 24px; text-align: center; color: var(--muted); font-size: .9rem; }
.session-next { width: 100%; margin-top: 16px; }
.word-dots { display: flex; justify-content: center; gap: 8px; margin: 18px 0 8px; }
.word-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.word-dots span.current { background: var(--primary); width: 22px; border-radius: 6px; }
.quiz-speaker { margin: 22px auto; display: flex; width: 180px; justify-content: center; }
.choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.choice { min-height: 160px; background: white; border: 2px solid var(--line); border-radius: 16px; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 16px; }
.choice .word-picture { font-size: 68px; min-height: 83px; }
.choice .word-picture.count { font-size: 32px; }
.choice:hover { background: var(--surface); border-color: var(--primary); }
.choice.correct { border-color: var(--success); background: var(--green); }
.choice.retry { border-color: var(--error); background: var(--orange); }
.choice-letter { font-size: 3.2rem; font-weight: 800; }
.feedback { min-height: 40px; margin-top: 18px; text-align: center; color: var(--primary); font-weight: 700; }
.sentence-box { background: var(--blue); padding: 30px 24px; text-align: center; border-radius: 16px; margin-top: 22px; }
.sentence-en { font-size: 1.9rem; line-height: 1.5; font-weight: 800; }
.sentence-zh { color: var(--muted); margin-top: 10px; }
.record-area { border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-top: 20px; text-align: center; }
.record-area p { margin: 10px 0; font-size: .9rem; color: var(--muted); }
.record-active { background: var(--error); color: white; }
audio { max-width: 100%; margin: 10px auto; display: block; }
.two-actions { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.two-actions > button { flex: 1; min-width: 180px; }
.finish { max-width: 680px; text-align: center; margin: auto; }
.finish-badge { display: grid; place-items: center; width: 148px; height: 148px; border-radius: 50%; background: var(--lime); margin: 6px auto 25px; font-size: 85px; border: 3px solid var(--ink); }
.finish h1 { margin-bottom: 10px; }
.finish > p { color: var(--muted); }
.mission { background: var(--blue); padding: 25px; border-radius: 16px; text-align: left; margin: 26px 0; }
.mission p { margin: 12px 0; }
.finish-words { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 22px 0; }
.finish-words span { padding: 7px 14px; border-radius: 30px; background: var(--surface); font-weight: 700; }
.collection { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.sticker { text-align: center; border: 1px solid var(--line); border-radius: 16px; padding: 25px 12px; }
.sticker-image { width: 90px; height: 90px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 50%; background: var(--lime); font-size: 55px; }
.sticker-empty .sticker-image { background: var(--surface); color: var(--muted); font-family: inherit; }
.sticker p { margin: 6px 0 8px; font-size: .85rem; color: var(--muted); }
.parent-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(250px,1fr); gap: 28px; align-items: start; }
.panel { background: var(--surface); border-radius: 16px; padding: 24px; margin-bottom: 22px; }
.panel h2 { margin-bottom: 14px; }
.panel p + p { margin-top: 10px; }
.metrics { display: flex; gap: 28px; margin: 18px 0; flex-wrap: wrap; }
.metrics strong { font-size: 2rem; display: block; color: var(--primary); }
.metrics span { font-size: .85rem; color: var(--muted); }
.history { list-style: none; margin: 0; padding: 0; }
.history li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.history li:last-child { border: 0; }
.history-top { display: flex; justify-content: space-between; gap: 12px; }
.history p { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.steps { padding-left: 24px; margin: 16px 0 0; }
.steps li { padding: 6px 0; }
.setting { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); min-height: 48px; width: 100%; }
.danger { color: var(--error); }
.empty { background: var(--surface); border-radius: 12px; padding: 25px; color: var(--muted); }
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); max-width: min(90vw,500px); background: var(--ink); color: white; padding: 14px 20px; border-radius: 12px; z-index: 30; }
.footnote { color: var(--muted); font-size: .8rem; text-align: center; margin-top: 30px; }
.diagram { width: 150px; height: 120px; display: inline-block; font-size: initial; }
.diagram svg { width: 150px; height: 120px; }
.mat-diagram { width: 150px; height: 80px; border: 6px solid var(--primary); border-radius: 8px; background: var(--orange); display: grid; place-items: center; }
.mat-diagram::after { content: ''; display: block; width: 105px; height: 42px; border: 3px solid var(--primary); border-radius: 5px; }
.saved-banner { margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--green); border-radius: 12px; padding: 14px 20px; }
.review-note { background: var(--green); padding: 14px 20px; border-radius: 12px; margin-bottom: 20px; }
@media (max-width: 1000px) {
  .home-grid { grid-template-columns: minmax(0,1fr) 235px; gap: 20px; }
  .header, .shell { padding-left: 26px; padding-right: 26px; }
  .nav { margin: 0 26px; }
  .adventure { padding: 22px; }
  .adventure-content { grid-template-columns: 1fr .8fr; }
  .cutout { width: 83px; height: 83px; font-size: 51px; }
  .animal-scene { height: 200px; }
  .cutout.one { top: 40px; left: 0; } .cutout.three { right: 5%; bottom: 0; }
  .adventure h2 { font-size: 1.8rem; }
}
@media (max-width: 720px) {
  .header { padding: 18px 20px; } .brand-mark { width: 40px; height: 40px; border-radius: 12px; font-size: 30px; }
  .brand-name { font-size: 1rem; } .brand-sub { font-size: .66rem; }
  .parent-link { font-size: .8rem; padding: 9px 11px; } .parent-link svg { width: 18px; height: 18px; }
  .header-tools { gap: 6px; } .header-tools .icon-btn { min-width: 40px; min-height: 40px; }
  .header-tools .parent-link svg { display: none; }
  .nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; background: white; margin: 0; border: 0; border-top: 1px solid var(--line); justify-content: space-around; gap: 0; padding-bottom: env(safe-area-inset-bottom); }
  .nav button { flex-direction: column; gap: 3px; padding: 9px 5px; border-bottom: 0; font-size: .76rem; min-width: 68px; }
  .nav button.active { background: var(--pink); border-radius: 12px; }
  .nav svg { width: 22px; height: 22px; }
  .shell { padding: 22px 20px 106px; }
  h1 { font-size: 1.65rem; } h2 { font-size: 1.25rem; }
  .greeting { margin-bottom: 22px; } .greeting p { font-size: .9rem; }
  .date-tag { display: none; }
  .home-grid { grid-template-columns: 1fr; }
  .adventure { padding: 20px; }
  .adventure-content { grid-template-columns: 1.05fr .8fr; min-height: 212px; }
  .adventure h2 { font-size: 1.7rem; }
  .english-title { font-size: 1rem; }
  .adventure .description { font-size: .85rem; }
  .cutout { width: 75px; height: 75px; font-size: 48px; border-width: 2px; }
  .cutout.one { top: 50px; left: 0; }
  .cutout.two { top: 7px; right: -7px; }
  .cutout.three { bottom: 0; right: 0; }
  .animal-scene { height: 192px; }
  .scene-spark { font-size: 26px; left: 2%; top: 146px; }
  .lesson-flow { font-size: .8rem; margin-top: 15px; }
  .home-side { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 6px; }
  .week { justify-content: flex-start; gap: 16px; }
  .day-dot { width: 32px; height: 32px; }
  .theme-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .theme-art { height: 120px; padding: 16px; }
  .theme-emoji { font-size: 54px; }
  .theme-body { padding: 15px; } .theme-body h2 { font-size: 1.05rem; }
  .theme-body p { font-size: .82rem; }
  .theme-bottom { font-size: .77rem; }
  .theme-bottom svg { width: 19px; height: 19px; }
  .phonics-intro { align-items: flex-start; gap: 14px; flex-direction: column; }
  .collection { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .parent-layout { grid-template-columns: 1fr; }
  .session h1 { font-size: 1.5rem; }
  .word-card { margin-top: 20px; min-height: 269px; padding: 18px; }
  .session-top { gap: 13px; }
  .word-picture { font-size: 90px; min-height: 130px; }
  .word-english { font-size: 2.6rem; }
  .choice { min-height: 139px; padding: 12px; }
  .choice .word-picture { min-height: 72px; font-size: 58px; }
  .sentence-en { font-size: 1.65rem; }
  .toast { bottom: 90px; }
  .session-mode .nav { display: none; }
  .session-mode .shell { padding-bottom: 30px; }
  .session-mode .header { padding-bottom: 4px; }
  .session-mode .parent-link { display: none; }
  .panel { padding: 20px; }
  .two-actions > button { min-width: 145px; }
}
@media (max-width: 480px) {
  .word-choices.long-words { grid-template-columns: 1fr; }
  .word-choices.long-words .choice { min-height: 70px; }
}
@media (max-width: 360px) {
  .shell, .header { padding-left: 14px; padding-right: 14px; }
  .brand-sub { letter-spacing: .025em; }
  .brand { gap: 8px; }
  .brand-name { font-size: .9rem; } .brand-sub { font-size: .6rem; }
  .parent-link { padding: 9px; }
  .parent-link svg { display: none; }
  .cutout { width: 65px; height: 65px; font-size: 42px; }
  .adventure { padding: 16px; }
  .adventure h2 { font-size: 1.5rem; }
  .week { gap: 12px; }
  .lesson-flow { font-size: .72rem; }
  .lesson-flow svg { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* Movement follows an action: a new word, a voice, an answer, or a new scene. */
.word-trail { display: flex; justify-content: center; gap: 9px; margin: 18px 0 6px; }
.word-trail span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--muted); font-size: .85rem; border: 1px solid var(--line); }
.word-trail span:nth-child(5) { margin-left: 10px; }
.word-trail .visited { background: var(--green); color: var(--success); }
.word-trail .current { background: var(--orange); border-color: var(--primary); font-size: 1.15rem; animation: arrive 320ms ease-out; }
.word-stage { position: relative; overflow: hidden; isolation: isolate; }
.word-stage .word-english, .word-stage .word-chinese { position: relative; z-index: 1; }
.word-kind { font-size: .82rem; color: var(--primary-dark); }
.picture-play { display: block; margin: 5px auto 0; padding: 0 32px; background: transparent; border: 0; border-radius: 16px; position: relative; }
.picture-play .word-picture { animation: arrive 360ms ease-out; }
.stage-ground { position: absolute; width: 240px; height: 120px; border-radius: 50%; background: var(--bg); opacity: .45; left: 50%; top: 98px; transform: translateX(-50%); z-index: -1; }
.object-drawing { width: 150px; height: 120px; }
.choice .object-drawing { width: 110px; height: 88px; }
.sound-dots { position: absolute; right: 0; top: 48%; display: flex; align-items: center; gap: 4px; opacity: 0; }
.sound-dots i { display: block; width: 5px; height: 18px; background: var(--primary); border-radius: 6px; }
.is-speaking .sound-dots { opacity: 1; }
.is-speaking .sound-dots i { animation: voice-bar 600ms ease-in-out infinite alternate; }
.is-speaking .sound-dots i:nth-child(2) { animation-delay: 160ms; }
.is-speaking .sound-dots i:nth-child(3) { animation-delay: 320ms; }
.is-speaking .picture-play .word-picture { animation: word-wave 850ms ease-in-out 2; }
.reward-stars { display: inline-block; color: var(--primary); font-size: 1.1rem; animation: star-arrive 600ms ease-out; }
.choice.correct { animation: arrive 250ms ease-out; }
.story-chapters { display: flex; gap: 8px; margin: 18px 0 8px; }
.story-chapters span { flex: 1; border-bottom: 3px solid var(--line); color: var(--muted); padding: 10px 6px; font-size: .9rem; }
.story-chapters .active { border-color: var(--primary); color: var(--primary-dark); font-weight: 700; }
.story-bubble { background: var(--blue); border-radius: 22px 22px 22px 4px; animation: scene-in 300ms ease-out; }
.story-answer { background: var(--pink); border-radius: 22px 22px 4px 22px; margin-top: 16px; padding: 18px; }
.role-label { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); text-align: left; }
.story-avatar { display: inline-grid; place-items: center; border-radius: 50%; background: white; width: 42px; height: 42px; font-size: 26px; flex-shrink: 0; }
.is-speaking:not(.answer-speaking) .story-bubble .story-avatar, .is-speaking.answer-speaking .story-answer .story-avatar { animation: word-wave 850ms ease-in-out 2; }
.story-answer .word-picture { min-height: 94px; font-size: 72px; }
.story-answer .object-drawing { width: 112px; height: 90px; }
.target-word { display: block; color: var(--primary-dark); font-weight: 700; margin-bottom: 12px; }
.target-word span { font-weight: 400; font-size: .9rem; }
.answer-reveal { animation: scene-in 280ms ease-out; }
.finish-badge { animation: star-arrive 600ms ease-out; }
.motion-setting { display: flex; align-items: center; gap: 10px; margin: 20px 0 8px; min-height: 44px; }
.motion-setting input { width: 22px; height: 22px; accent-color: var(--primary); }
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; transition: none !important; }
@keyframes arrive { from { transform: translateY(10px) scale(.95); opacity: .2; } to { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes scene-in { from { transform: translateX(-10px); opacity: .2; } to { transform: translateX(0); opacity: 1; } }
@keyframes word-wave { 0%,100% { transform: rotate(0); } 35% { transform: rotate(-5deg) translateY(-4px); } 70% { transform: rotate(5deg) translateY(-4px); } }
@keyframes voice-bar { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes star-arrive { from { transform: translateY(14px) scale(.7) rotate(-8deg); opacity: 0; } to { transform: translateY(0) scale(1) rotate(0); opacity: 1; } }
@media (max-width: 360px) { .word-trail { gap: 5px; } .word-trail span { width: 29px; height: 29px; } .word-trail span:nth-child(5) { margin-left: 5px; } }
