:root {
  --bg: #F7FAFA; --surface: #FFFFFF; --alt: #EEF3F3; --line: #E1E8E9;
  --ink: #1D2A30; --ink2: #5B6A70; --teal: #0B6E6A; --coral: #FFA594; --coralSoft: #FFEEEA; --rec: #C2415A;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.45 -apple-system, "Segoe UI", Roboto, sans-serif; }
main { max-width: 480px; margin: 0 auto; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); min-height: 100vh; display: flex; flex-direction: column; gap: 16px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.logo { height: 30px; }
.pill { background: var(--alt); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--ink2); }
h1 { font-size: 26px; line-height: 1.2; margin: 4px 0 0; }
.center { flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; gap: 8px; }
.card { background: var(--surface); border-radius: 22px; padding: 16px 18px; box-shadow: 0 6px 20px rgba(29, 42, 48, 0.08); }
.kicker { margin: 0 0 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); font-weight: 600; }
.story { margin: 0; font-size: 21px; line-height: 1.45; }
.meter { height: 44px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.meter i { width: 4px; border-radius: 2px; background: var(--line); height: 6px; transition: height .08s; }
.meter.on i { background: var(--teal); }
.status { text-align: center; margin: 0; min-height: 1.4em; font-weight: 600; }
.status.rec { color: var(--rec); }
.controls { display: flex; align-items: center; justify-content: center; gap: 22px; }
button { font: inherit; cursor: pointer; }
.round { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 22px; }
.round:disabled { opacity: .35; }
.rec { width: 96px; height: 96px; border-radius: 50%; border: 0; background: var(--coral); box-shadow: 0 0 0 10px var(--coralSoft); display: grid; place-items: center; }
.rec .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--rec); }
.rec.on .dot { border-radius: 8px; background: var(--ink); }
.primary { width: 100%; min-height: 58px; border: 0; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 700; font-size: 18px; }
.primary:disabled { opacity: .4; }
.link { background: none; border: 0; color: var(--ink2); text-decoration: underline; align-self: center; min-height: 44px; }
.privacy { margin-top: auto; text-align: center; font-size: 13px; color: var(--ink2); }
#record { display: flex; flex-direction: column; gap: 14px; }
.controls { margin: 14px 0 10px; }
