/* ============================================================
   GTEC theme — the one place the league's colours are set.

   Every GTEC page used to declare its own :root block, so the palette
   lived in 27 copies and a season change meant editing all of them.
   The copies all agreed, which was luck rather than design. They are
   gone now: each page links this file and declares only the tokens that
   are genuinely its own (a sidebar width, an input background).

   TO CHANGE THE SEASON COLOURS, edit the block below and nothing else.

   The -rgb triplets exist because CSS cannot pull the channels back out
   of a hex value. Anywhere the design needs the colour at partial
   opacity, write rgba(var(--gold-rgb), 0.35) rather than spelling the
   numbers out, or that rule stops following the season.

   Canvas code cannot read CSS variables, so gtec-theme.js reads these
   same tokens once at load and hands them to JavaScript as
   window.GTEC_THEME. That keeps this file the single source of truth:
   do not copy a value into a script.
   ============================================================ */

:root {
    /* ---- Season 1 colours: the blue-black ground and gold ---------
       Ground steps run darkest to lightest: the page itself, cards on
       it, raised surfaces on those, and one more for the admin
       sidebar.

       An oxblood ground was tried and pulled back out again. If it is
       picked up later, the values were:
           --bg #1a0609  --bg-1 #270b12  --bg-2 #35121c  --bg-3 #431a25
           --bg-rgb 26,6,9  --bg-1-rgb 39,11,18  --bg-2-rgb 53,18,28
           --text #f6edef  --muted #bda3a8  --border rgba(255,255,255,0.10)
       and the manifest and the two app icons in this folder carry the
       same colours by hand, so they move with it. */
    --bg:     #050608;
    --bg-1:   #0a0e15;
    --bg-2:   #11161f;
    --bg-3:   #171d27;

    --bg-rgb:    5, 6, 8;
    --bg-1-rgb:  10, 14, 21;
    --bg-2-rgb:  17, 22, 31;

    --text:   #f1f5f9;
    --muted:  #94a3b8;
    --border: rgba(255, 255, 255, 0.08);

    /* The accent, unchanged from season 1. */
    --gold:      #ffd166;
    --gold-deep: #c79a3a;
    --gold-rgb:  255, 209, 102;

    /* Semantic colours, which are not branding and do not follow the
       season. Red in particular has to keep meaning "something is
       wrong" rather than "this is GTEC". */
    --green: #22c55e;
    --red:   #ef4444;
    --cyan:  #0ea5e9;

    /* Podium metals. Not branding either: they mean first, second and
       third wherever they appear. */
    --silver: #cbd5e1;
    --bronze: #cd7f32;
}
