/*
 * Vinyl TV design tokens: the single source of truth (mirrored in tokens.json for the TV app; a
 * test keeps the two in step). "Liquid glass": warm off-white ink, never pure white, over
 * translucent glass. Components (components.css) and pages use only these.
 */
:root {
  /* Colour */
  --base: #0a0809;
  --ink: #f4efe6;
  --ink-body: rgb(244 239 230 / .9);
  --ink-dim: rgb(244 239 230 / .68);
  --ink-faint: rgb(244 239 230 / .55);
  --glass: rgb(255 250 242 / .075);
  --glass-strong: rgb(255 250 242 / .12);
  --glass-hover: rgb(255 250 242 / .18);
  --glass-fallback: rgb(30 26 26 / .86);
  --well: rgb(0 0 0 / .26);
  --well-shadow: inset 0 1px 2px rgb(0 0 0 / .35), inset 0 0 0 1px rgb(255 255 255 / .06);
  --hairline: rgb(255 255 255 / .08);
  --edge-hi: rgb(255 255 255 / .3);
  --edge-lo: rgb(255 255 255 / .05);
  --selected: rgb(248 242 232 / .92);
  --selected-ink: #17120f;
  --focus: #ffd9a0;
  --warn: #f0a99a;
  --vinyl-default: #0b0b0c;

  /* Glass */
  --blur: blur(28px) saturate(170%);
  --bar-blur: blur(24px) saturate(170%);

  /* Radii */
  --radius: 26px;
  --radius-field: 16px;
  --radius-small: 12px;
  --radius-tile: 10px;

  /* Spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;

  /* Layout */
  --page-max: 1200px;
  --gutter: 16px;
  --bar-h: 64px;
  --control-h: 44px;

  /* Type */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-label: .75rem;
  --fs-small: .875rem;
  --fs-body: 1rem;
  --fs-lead: 1.125rem;
  --fs-title: clamp(1.5rem, 6vw, 1.75rem);
  --fs-display: clamp(2rem, 7vw, 3.25rem);
  --fw-medium: 550;
  --fw-strong: 650;
  --fw-display: 700;

  /* Shadows */
  --shadow-card: 0 30px 70px -24px rgb(0 0 0 / .6), inset 0 1px 0 rgb(255 255 255 / .1);
  --shadow-control: inset 0 1px 0 rgb(255 255 255 / .2), inset 0 0 0 1px rgb(255 255 255 / .08);
  --shadow-art: 0 18px 36px -16px rgb(0 0 0 / .75), 0 0 0 1px rgb(255 255 255 / .06);

  /* Motion */
  --ease: cubic-bezier(.22, .8, .24, 1);
  --spring: cubic-bezier(.3, 1.3, .4, 1);
  --t-press: .1s;
  --t-fast: .2s;
  --t-base: .3s;
  --t-slow: .7s;

  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }
