/* Design tokens: colours, sizes. Everything else uses these. */

/* Liner — dark-only music player */
:root {
  --bg: #0b0c10;
  --bg-2: #111318;
  --panel: #15171d;
  --raise: #1c1f27;
  --line: #262a34;
  --text: #ecedf0;
  --text-2: #a4a8b4;
  --dim: #868a9c;          /* 5.7:1 on --bg, 4.8:1 on --raise (WCAG AA) */
  --track: #5c6274;        /* slider track: 3.1:1 on the bar (WCAG non-text) */
  --accent: #f5a524;
  --accent-ink: #1a1200;
  --danger: #ff6b6b;
  /* corners: small (badges, rows, inputs), the default (cards, panels), large (sheets, big panels); pills and circles
     stay 999px / 50% */
  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 14px;
  /* type: nine sizes (the art placeholder's initial, the sign-in title, the hero's fluid title and fields at 16 px,
     which iOS would otherwise zoom into, are left as they are) */
  --fs-2xs: 10px;   /* badges, the Sound keys */
  --fs-xs: 11px;    /* small caps labels */
  --fs-s: 12px;     /* help and meta lines */
  --fs-m: 13px;     /* secondary text, buttons in panels */
  --fs-base: 14px;  /* body */
  --fs-l: 15px;     /* lead lines */
  --fs-xl: 18px;    /* section and tile titles */
  --fs-2xl: 24px;   /* big numbers, sub-page titles */
  --fs-3xl: 30px;   /* page titles */
  --nav-w: 220px;
  --bar-h: 84px;
  --line-strong: #3a3f4c; /* hovered or emphasised borders */
  --raise-hover: #222631; /* a raised control under the pointer */
  --pop: #1d2029;         /* menus, toasts, banners */
  --pop-line: #2f3440;
  --pop-hover: #2a2e39;
  --tint-1: #1b1d26;
  --tint-2: #0b0c10;
  /* the device's own interface font (San Francisco on Apple devices): nothing to download, works with no internet */
  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

@media (max-width: 760px) {
  :root { --nav-w: 0px; }
}
