/* Theme: Default (neon green & pink on black)
   Every colour the app uses. Pick the active theme in templates/page.php.
   Soft tints and glows are worked out from these in app.css. */
:root {
    /* Base */
    --bg: #0B0B0D;                        /* page background (a step up from black, 11-20) */
    --surface: #18181B;                   /* cards, panels, scoreboard */
    --surface-2: #222226;                 /* raised surfaces, inputs, buttons */
    --tabbar-bg: #111114;                 /* tab bar (Movies, Live TV, the Profile avatar) */
    --border: #313137;                    /* borders and dividers */
    --out: #050506;                       /* a computer from 1280 wide: around the page's column (app.css, 11-20) */
    --panel: #121215;                     /* and the column itself, a lighter panel */
    --border-hover: #3A4150;              /* border on hover */
    --text: #EDEDED;                      /* main text */
    --text-dim: #8F8F8F;                  /* secondary text */
    --text-soft: #A8A8A8;                 /* Show History link */
    --text-placeholder: #5C6472;          /* input placeholders */

    /* Heads side */
    --heads: #39FF88;                     /* Heads colour: score, glows, history circles */
    --heads-ink: #04140A;                 /* text on a Heads-coloured fill */

    /* Tails side */
    --tails: #FF3EC8;                     /* Tails colour */
    --tails-ink: #1A0512;                 /* text on a Tails-coloured fill */
    --tails-tag-text: #FFFFFF;            /* "Tails" tag text in How we got here.. */

    /* Mode accents (buttons, toggles, focus rings) */
    --accent-shuffle: var(--heads);       /* Shuffle mode */
    --accent-shuffle-ink: var(--heads-ink);
    --accent-1v1: var(--tails);           /* 1v1 mode */
    --accent-1v1-ink: var(--tails-ink);

    /* Gold (selection & wins) */
    --gold: #FFC53D;                      /* selected cards, Set up / Start Match, match circles */
    --gold-ink: #1F1600;                  /* text on gold */
    --dice-won: #F2C14E;                  /* library dice for a movie that has won */
    --focus: #FFC53D;                     /* the Google TV remote's focus ring (app.css "Google TV"; not --gold, which Movies turns green) */

    /* Medal (9+ rating ring) */
    --medal-1: #F2D08A;
    --medal-2: #FFF1C9;
    --medal-3: #D9A441;
    --medal-shine: rgba(255, 250, 235, 0.95);

    /* Rating stars */
    --rating-gold: #FFCB3D;               /* stars for a 10 */

    /* Spinning winner border */
    --spin-1: var(--heads);
    --spin-2: var(--tails);

    /* Coin (titles without a poster) */
    --coin-heads-face: #0D2618;           /* Heads coin fill */
    --coin-heads-rim: var(--heads);       /* Heads coin rim and groove */
    --coin-heads-text: #E3FFEE;           /* title on the Heads coin */
    --coin-tails-face: #2A0B21;           /* Tails coin fill */
    --coin-tails-rim: var(--tails);       /* Tails coin rim and groove */
    --coin-tails-text: #FFE5F7;           /* title on the Tails coin */
    --coin-shadow: rgba(255, 255, 255, 0.14); /* soft spot under the coin/poster (shrinks while it spins) */

    /* Watch Together: a player's status dot */
    --watch-ok: #39FF88;                  /* in sync */
    --watch-wait: #FFC53D;                /* loading, catching up, buffering */
    --watch-bad: #E5484D;                 /* not responding, not following, left the movie */
    --ring-wait: #FF8A3D;                 /* the face ring on the player's line: buffering or catching up (red = --watch-bad, none = in sync) */
    --video-bg: #000000;                  /* behind the movie in Flippy's own player (letterbox bars) */
    --video-text: #F2F2F2;                /* "Loading the movie…" over the player (on the black video either way) */
    --video-shade: rgba(0, 0, 0, 0.55);   /* behind that text, over a paused picture */
    --video-track: rgba(255, 255, 255, 0.25); /* the spinner's ring */

    /* Danger & confirm */
    --danger: #E5484D;                    /* Delete */
    --danger-hover: #C93A3F;
    --danger-ink: #FFFFFF;
    --error-text: #FF3EC8;                /* a form's error line */

    /* Icons */
    --icon: #8A8A8A;                      /* favourite heart (off) */
    --icon-hover: #C8C8C8;
    --favorite: #FF3B5C;                  /* favourite heart (on) */

    /* Low-rating sad face */
    --sad-bg: #1C1C1C;
    --sad-ring: #333333;
    --sad-face: #6E6E6E;

    /* Overlays & effects */
    --overlay-ink: #FFFFFF;               /* faint lines/fills over surfaces (rating track, watched pill, dial) */
    --shadow: #000000;                    /* drop shadows */
    --backdrop: rgba(0, 0, 0, 0.7);       /* behind dialogs */
    --card-overlay: rgba(8, 8, 8, 0.84);  /* inside rating rings */
    --badge-bg: rgba(8, 8, 8, 0.86);      /* rating badge */
    --dial-backdrop: rgba(5, 5, 5, 0.6);  /* behind the rating dial */
    --knob: #FFFFFF;                      /* rating dial knob */
    --confetti-extra: #FFFFFF;            /* confetti besides the two side colours */
    --popcorn: #FFF6E0;                  /* popcorn kernels (win celebration) */
    --popcorn-butter: #F2C14E;           /* butter spot on each kernel */
    --popcorn-edge: rgba(0, 0, 0, 0.35); /* kernel outline, so they show on light screens */
    --marquee-on: var(--gold);          /* lit bulbs around the final pick's card */
    --marquee-off: rgba(255, 255, 255, 0.16); /* unlit bulbs */
    --glow: 1;                            /* glow strength (0 = none, 1 = normal, 2 = double) */
    --splash: #FFFFFF;                    /* the white wash and stars as Start movie lands, and its shimmer's light */

    /* Rig the game: the rigged winner's stamp, spinning border and fireworks, by who rigged it */
    --rig-starter: var(--heads);          /* the room's starter rigged it */
    --rig-starter-deep: #0F6B37;            /* the border's second colour */
    --rig-other: var(--tails);            /* anyone else rigged it */
    --rig-other-deep: #7A1660;              /* the border's second colour */
    --rig-static: rgba(255, 255, 255, 0.16); /* the glitch's scan lines */
    --rig-stamp-bg: rgba(0, 0, 0, 0.55);     /* behind the RIGGED stamp */

    /* Live TV: Flippy's own tile for a channel with no logo (its colour picked from its name), and behind a real logo */
    --tile-0: #2F6B8F; --tile-1: #8A4B2F; --tile-2: #5B4A8F; --tile-3: #2F7A5E;
    --tile-4: #8F3B55; --tile-5: #7A6A2A; --tile-6: #3E5C8F; --tile-7: #6A3E7A;
    --tile-ink: #FFFFFF;                     /* the name on a tile */
    --tile-num-bg: rgba(0, 0, 0, 0.35);      /* behind a tile's number in its corner */
    --logo-backdrop: #E9E9E9;                /* behind a real logo (a dark or see-through one shows) */
    --logo-backdrop-dark: var(--surface-2);  /* behind a bright one (a white logo would vanish on the light one) */
}
