/* YunoPuck design tokens: the neutral palette. A picked team replaces the colors (page, cards, text, links,
   accents) via team_themes.theme_css() on <html data-team="...">; contrast is checked in tests/test_team_themes.py. */
:root {
  /* surfaces */
  --boards: #0B1622;          /* page */
  --surface: #152536;         /* cards, nav */
  --surface-2: #1C3046;       /* raised: inputs, hover */
  --head-top: var(--surface);  /* top of the page-header gradient */
  --line: rgba(244, 247, 250, 0.10);
  --line-strong: rgba(244, 247, 250, 0.22);

  /* the nav band and its hem stripes: a team's color block once one is picked (D28); here the rink's red and blue lines */
  --band: #0B1622;
  --band-ink: #FFFFFF;
  --band-muted: #CED0D3;
  --band-mark: #E4002B;
  --stripe-1: #E4002B;
  --stripe-2: #4DA3FF;

  /* text */
  --ice: #F4F7FA;             /* 17:1 on boards */
  --muted: #9AA8BA;           /* 7.5:1 on boards, 6.4:1 on surface */

  /* fixed signal colors (not team-themed) */
  --goal-red: #E4002B;        /* shapes and large text only on dark: 3.8:1 */
  --goal-red-text: #FF5468;   /* red text on dark: 5.8:1 */
  --blue-line-light: #4DA3FF; /* links and focus on dark: 6.9:1 */
  --link: var(--blue-line-light);  /* links and focus: the team's color once a team is picked */
  --win: #3DDC97;
  --loss: #FF7A85;

  /* type */
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-xs: 0.8125rem;   /* 13px: labels only */
  --text-sm: 0.875rem;
  --text-md: 1rem;        /* 16px body */
  --text-lg: 1.25rem;
  --text-xl: 1.75rem;
  --text-2xl: 2.5rem;
  --text-3xl: clamp(2.5rem, 6vw, 4.5rem);

  /* spacing (8px grid) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;

  /* shape and motion */
  --radius: 4px;
  --radius-lg: 8px;
  --focus-ring: var(--link);
  --nav-h: 64px;               /* sticky nav; also the scroll offset for anchors and focus */
  --fast: 150ms;
  --base: 250ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --max: 1200px;

  /* old names used by page-specific CSS, mapped onto the new palette */
  --bg-primary: var(--boards);
  --bg-card: var(--surface);
  --text-primary: var(--ice);
  --text-secondary: var(--muted);
  --border: var(--line);
  --shadow-sm: none;
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* Motion is opt-in: every rule that moves something sits in @media (prefers-reduced-motion: no-preference)
   in the stylesheet that uses it, so there is no global rule that zeroes durations. */
