/* TG CUP — sport themes (2026-10-04).
   ------------------------------------------------------------------
   Every Tailwind colour token (js/tailwind-config.js) is an RGB triplet
   read from a CSS variable, so a whole page re-themes by changing ONE
   attribute: <html data-sport="fball">. GC.loadConfig() sets it from the
   selected sport (config.json → sports[].theme).

   Add a new sport theme by copying the [data-sport="fball"] block below,
   renaming it (e.g. [data-sport="bball"]) and changing the values.
   :root holds the defaults (= football / "Athletic Tournament System"),
   so a sport without its own block still renders correctly. */

:root,
:root[data-sport="fball"] {
  /* Brand — "Kinetic Red" */
  --c-primary: 229 25 39;              /* #E51927 */
  --c-on-primary: 255 255 255;
  --c-primary-container: 185 28 28;    /* #B91C1C (darker red, gradients/hover) */
  --c-on-primary-container: 255 228 230;
  --c-primary-fixed: 254 226 226;      /* #FEE2E2 soft red tint */
  --c-primary-fixed-dim: 252 165 165;
  --c-on-primary-fixed: 69 10 10;
  --c-inverse-primary: 252 165 165;

  /* Structure — "Deep Pitch Slate" */
  --c-secondary: 15 23 42;             /* #0F172A */
  --c-on-secondary: 255 255 255;
  --c-secondary-container: 30 41 59;   /* #1E293B */
  --c-on-secondary-container: 255 255 255;
  --c-secondary-fixed: 241 245 249;
  --c-secondary-fixed-dim: 203 213 225;

  /* Qualification / positive */
  --c-tertiary: 5 150 105;             /* #059669 */
  --c-on-tertiary: 255 255 255;
  --c-tertiary-container: 4 120 87;    /* #047857 */
  --c-on-tertiary-container: 209 250 229;

  /* Info / bracket paths — "Precision Blue" */
  --c-info: 37 99 235;                 /* #2563EB */
  /* Gold (1st place, awards) */
  --c-gold: 217 119 6;                 /* #D97706 */

  --c-error: 185 28 28;
  --c-on-error: 255 255 255;
  --c-error-container: 254 226 226;
  --c-on-error-container: 127 29 29;

  /* Surfaces */
  --c-background: 248 250 252;         /* #F8FAFC */
  --c-on-background: 15 23 42;
  --c-surface: 255 255 255;
  --c-surface-bright: 255 255 255;
  --c-surface-dim: 226 232 240;
  --c-surface-container-lowest: 255 255 255;
  --c-surface-container-low: 248 250 252;
  --c-surface-container: 241 245 249;  /* #F1F5F9 */
  --c-surface-container-high: 226 232 240;   /* #E2E8F0 */
  --c-surface-container-highest: 203 213 225;
  --c-surface-variant: 241 245 249;
  --c-on-surface: 15 23 42;
  --c-on-surface-variant: 71 85 105;   /* #475569 */
  --c-inverse-surface: 15 23 42;
  --c-inverse-on-surface: 248 250 252;
  --c-outline: 100 116 139;            /* #64748B */
  --c-outline-variant: 226 232 240;    /* #E2E8F0 */
  --c-surface-tint: 229 25 39;
}

/* Example of a second sport (kept commented until it exists):
:root[data-sport="bball"] {
  --c-primary: 234 88 12;
  --c-primary-container: 194 65 12;
  ...
}
*/
