/* =====================================================================
   Pennant · design tokens
   Community sports clubs. Light is "Match day"; dark is "Night game".
   --green is the one accent (buttons, links, the chosen team, the ladder leader, the roster).
   --gold is club gold, for fills only (the hoops under the lit words, badges, the voucher, filled roster slots); text on it is ink. --gold-ink is its text colour.
   --ok marks wins and confirmed slots; --alert marks invalid fields, losses and safety notes.
   ===================================================================== */
:root {
  color-scheme: light;
  --paper: #f4f4ef;
  --card: #ffffff;
  --well: #e8e8e1;
  --line: #d6d6cc;
  --ink: #0f1a2e;
  --ink-2: #343d4f;
  --muted: #586174;
  --green: #0f6b3a;
  --green-2: #0b5530;
  --on-green: #ffffff;
  --green-soft: #dff0e5;
  --gold: #f2c12e;
  --gold-soft: #fbf0cc;
  --gold-ink: #7a5a00;
  --ok: #0f6b3a;
  --alert: #b3261e;
  --focus: #0f6b3a;
  --shadow-card: 0 1px 2px rgba(15, 26, 46, 0.06), 0 16px 32px -24px rgba(15, 26, 46, 0.45);
  --shadow-lift: 0 28px 56px -28px rgba(15, 26, 46, 0.5);

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Hind", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Share Tech Mono", ui-monospace, Menlo, monospace;

  --fs-h1: clamp(52px, 7.4vw, 116px);
  --fs-h2: clamp(38px, 4.6vw, 66px);
  --fs-h3: 22px;
  --fs-lead: clamp(17.5px, 1.35vw, 20.5px);
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-label: 12px;

  --wrap: 1200px;
  --gutter: max(20px, 4vw);
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 40px; --s-7: 64px; --s-8: 104px;

  --r-s: 4px;
  --r-m: 8px;
  --r-l: 14px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --d-fast: 150ms;
  --d: 300ms;
  --d-slow: 900ms;
}

/* ---------- Night game ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0d1220;
    --card: #151b2b;
    --well: #111726;
    --line: #283146;
    --ink: #eef1f6;
    --ink-2: #cdd3de;
    --muted: #9ba3b3;
    --green: #7fd6a0;
    --green-2: #a6e4bd;
    --on-green: #052713;
    --green-soft: #13281d;
    --gold: #f2c12e;
    --gold-soft: #2a2410;
    --gold-ink: #f2c12e;
    --ok: #7fd6a0;
    --alert: #ff9a90;
    --focus: #7fd6a0;
    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 16px 34px -20px rgba(0, 0, 0, 0.85);
    --shadow-lift: 0 30px 60px -26px rgba(0, 0, 0, 0.9);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0d1220;
  --card: #151b2b;
  --well: #111726;
  --line: #283146;
  --ink: #eef1f6;
  --ink-2: #cdd3de;
  --muted: #9ba3b3;
  --green: #7fd6a0;
  --green-2: #a6e4bd;
  --on-green: #052713;
  --green-soft: #13281d;
  --gold: #f2c12e;
  --gold-soft: #2a2410;
  --gold-ink: #f2c12e;
  --ok: #7fd6a0;
  --alert: #ff9a90;
  --focus: #7fd6a0;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 16px 34px -20px rgba(0, 0, 0, 0.85);
  --shadow-lift: 0 30px 60px -26px rgba(0, 0, 0, 0.9);
}
