/* Bartender — design tokens.
   The room is an after-hours bar: near-black surfaces, brass hairlines and a single warm lamp.
   Every colour and every duration in the app comes from here, so the mood and the motion scale
   stay consistent and can be re-tuned in one place. */
:root{
  color-scheme:only dark;

  --font-display:'Playfair Display',Georgia,'Times New Roman',serif;
  --font-body:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --font-jp:'Shippori Mincho','Noto Serif JP',serif;

  /* room: dark, slightly blue-shifted, with warmth only near the lamp */
  --bg-0:#06080b;
  --bg-1:#0b0e13;
  --surface:rgba(255,255,255,.04);
  --card-a:#161b22;
  --card-b:#0f1319;
  --line:rgba(255,255,255,.085);
  --line-2:rgba(255,255,255,.05);
  --brass-line:rgba(201,161,92,.30);

  --ink:#e9e2d6;
  --ink-2:#a8a396;
  --ink-3:#79808c;

  --amber:#e0a044;
  --amber-lt:#f2c87c;
  --amber-dk:#a96b1c;
  --brass:#c9a15c;
  --blue:#7cc0d4;
  --mint:#6fc9a9;
  --violet:#a794d6;
  --up:#6fc9a9;
  --down:#d4819e;
  /* destructive confirm: the armed fill reads as a warning red, warmer than --down so the two never read alike */
  --danger:#d9382e;
  --danger-dk:#8a1815;

  --glow-warm:rgba(224,160,68,.20);
  --glow-cool:rgba(124,192,212,.16);
  --shadow-1:0 8px 24px rgba(0,0,0,.5);
  --shadow-2:0 22px 54px rgba(0,0,0,.62);
  --lift-2:0 12px 32px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.06);

  /* drink categories; the JS builds var(--c-*) from its category map, so these are referenced by name only */
  --c-shot:var(--amber);
  --c-built:var(--blue);
  --c-shaken:var(--violet);
  --on-amber:#1c1305;     /* text on a bright fill */
  --on-danger:#fff4f2;    /* text on the red fill */

  --r-md:10px;
  --r-lg:14px;
  --r-xl:20px;
  --r-pill:999px;

  /* One calm motion scale for the whole app. Amplitudes stay small and durations long:
     movement should be noticed only when you look for it. */
  --t-2:.3s;
  --t-3:.55s;
  /* the menu tab swap: the tab labels, the tab highlight, the rows and the menu note all change on this
     one clock, so a tab click reads as a single motion rather than as four separate ones */
  --t-swap:.34s;
  --ease:cubic-bezier(.22,.61,.36,1);
  --ease-soft:cubic-bezier(.4,0,.2,1);
  --ease-out:cubic-bezier(.16,1,.3,1);
  --lift:1.012;           /* hover lift, barely there */
  --ring:8px;             /* how far a ready card breathes */
}

@media (prefers-reduced-motion:reduce){
  :root{--t-2:0s;--t-3:0s}
}
