/* Shared design tokens (owner: Claude). Modules use these variables; never hard-code colours. */
:root, [data-theme="night"] {
  --bg: #000; --surface: #111; --surface-2: #1a1a1a; --ink: #f2eee6; --ink-2: #cfcac0; --muted: #8a867e;
  --line: #2a2a2a; --accent: #f2eee6; --on-accent: #000; --scrim: rgba(0,0,0,.6); --glass: rgba(10,10,10,.72);
  --danger: #d77b6a;
  --bar: rgba(30,30,32,.55); --bar-edge: rgba(255,255,255,.14); --bar-pill: rgba(255,255,255,.12);
}
[data-theme="paper"] {
  --bg: #f5efe3; --surface: #fbf7ef; --surface-2: #efe7d8; --ink: #1f1b16; --ink-2: #3d362d; --muted: #8c8172;
  --line: #e2d9c8; --accent: #1f1b16; --on-accent: #f5efe3; --scrim: rgba(40,30,20,.35); --glass: rgba(245,239,227,.78);
  --danger: #a5452f;
  --bar: rgba(255,252,246,.6); --bar-edge: rgba(255,255,255,.8); --bar-pill: rgba(31,27,22,.08);
}
:root {
  --serif: "EB Garamond", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
  --verse-size: clamp(24px, 6.4vw, 38px);      /* text-size setting scales this via --text-scale */
  --text-scale: 1;
  --r-sm: 10px; --r: 14px; --r-lg: 18px;
  --tabbar-h: 70px;                               /* floating bar 56px + 10px gap below + 4px air */
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.32,.72,0,1);
  --saved: #d4b062;                               /* saved-verse ticks on the rail: muted gold, the only other colour */
  --fire: #ff8a2a;                                /* streak days: orange fire */
  --ice: #d6ecf7;                                 /* streak freeze: icy white */
  --like: #ff3b5c;                                /* the one colour: a liked heart, as on Instagram */
  --app-w: 520px;                                 /* app column width on laptops */
}
