:root {
  color-scheme: light;
  --ink: #18221f;
  --muted: #68746f;
  --paper: #f8f7f2;
  --card: #fffefa;
  --line: #dce2dc;
  --green: #2c6e58;
  --green-dark: #205341;
  --coral: #d9654e;
}

* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.shell { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 52px 0 40px; }
.topbar { display: flex; justify-content: space-between; align-items: end; margin-bottom: 34px; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(36px, 7vw, 58px); font-weight: 400; letter-spacing: -.04em; }
.counter { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.card { padding: clamp(24px, 5vw, 46px); border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: 0 20px 60px rgba(36, 59, 48, .07); }
.card-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.tag { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.status { color: var(--muted); font-size: 13px; }
h2 { margin: 26px 0 22px; font-size: 18px; font-weight: 500; }
.prompt { padding: 24px 0 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prompt p { margin: 0 0 16px; font-family: Georgia, serif; font-size: clamp(25px, 4vw, 34px); line-height: 1.35; letter-spacing: -.02em; }
.prompt p.chinese { margin-bottom: 0; color: #53645d; font-family: "Noto Serif SC", "Microsoft YaHei", serif; font-size: clamp(21px, 3.5vw, 28px); }
.controls { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
button { border: 0; font: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .42; }
.record-button { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 999px; color: white; background: var(--green); font-weight: 700; transition: background .2s, transform .2s; }
.record-button:hover:not(:disabled) { background: var(--green-dark); transform: translateY(-1px); }
.record-button.recording { background: var(--coral); }
.mic-icon { display: grid; place-items: center; width: 21px; height: 21px; border: 2px solid currentColor; border-radius: 50%; font-size: 9px; }
.timer { color: var(--muted); font-variant-numeric: tabular-nums; }
.level { margin-top: 24px; }
.level-heading { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 700; }
.level-track { height: 8px; margin-top: 9px; overflow: hidden; border-radius: 99px; background: #e8ece8; }
.level-fill { width: 0%; height: 100%; border-radius: inherit; background: var(--green); transition: width .08s linear, background .2s; }
.level-fill.active { background: var(--coral); }
.level-note { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.hint, .saved { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.navigation { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; }
.next-actions { display: flex; gap: 10px; }
.primary, .secondary { padding: 13px 18px; border-radius: 10px; font-weight: 700; }
.primary { color: white; background: var(--green); }
.secondary { color: var(--ink); background: transparent; border: 1px solid var(--line); }
.saved { min-height: 20px; color: var(--green); text-align: center; }
@media (max-width: 520px) { .shell { width: min(100% - 28px, 760px); padding-top: 30px; } .topbar { margin-bottom: 24px; } .card-heading { align-items: flex-start; flex-direction: column; gap: 7px; } .navigation, .next-actions { flex-direction: column-reverse; } .primary, .secondary { width: 100%; } }
