/* A sample of a Club's theme: black, white and one yellow. Lotus Ltd is the owner's design-partner club. This is a made-up sample in its colours, with no logo or artwork of theirs, and a real Club theme needs the Club's agreement (D-13).

   The first two blocks are what every variation of the theme shares. Each
   variation then sets what is tapped and what a notice looks like.

   Six colours are states, and no two of them may look alike:
   - action: what can be tapped, and "you"
   - live: a microphone is open. Purple, and never red or orange.
   - notice: something to read
   - alert: trouble, and nothing else. Lost, a breakdown, ending a Drive.
   - go: connected, rolling, here
   - gather: gathering and regrouping, a teal (round 54)

   The lead has a colour too, pink, which none of the six uses.

   Each `--g4-on-*` is the text colour for the fill of the same name, and is
   a property of that fill: change one and theme-contrast.test.js fails
   until the other is retuned. The values come from the design canvas,
   round five (docs/design/handoff-requests/). */

[data-theme="lotus-ltd"][data-mode="dark"] {
  color-scheme: dark;
  --g4-bg: #0b0b0b;
  --g4-surface: #1c1c1c;
  --g4-surface-sunk: #141414;
  --g4-text: #ffffff;
  --g4-text-muted: #b8b8b8;
  --g4-border: #333333;
  --g4-border-strong: #808080;
  --g4-pip-edge: transparent;   /* A lit pip's edge (round 39): none on a dark page, where the path colours hold 3:1 */

  --g4-live: #a666ff;            /* a microphone is open */
  --g4-on-live: #1c0a3d;
  --g4-alert: #ff5a4d;           /* trouble, and nothing else */
  --g4-on-alert: #1c0500;
  --g4-danger-text: #ff5a4d;
  --g4-go: #3ddc84;              /* connected, rolling, here */
  --g4-on-go: #04170d;
  --g4-gather: #00eddb;          /* gathering and regrouping: teal, never go, action or notice (round 54) */
  --g4-on-gather: #04201c;
  --g4-role-lead: #f5189f;       /* the lead, and nobody else */
  --g4-on-role-lead: #14050d;
  --g4-brand-lead: #f5189f;      /* the logo's lead capsule on a page: the brand, never on a map (round 56) */
  --g4-brand-accent: #ff5cc4;    /* the brand's moments only: the welcome page and first steps (round 60, Q151 A) */
  --g4-on-brand-accent: #2a0019;
  --g4-brand-edge: #eef3fa;      /* the centre button's disc edge: light on a dark bar */
  --g4-favorite: #ff8fab;       /* a favorite's heart: a soft rose, never the lead's pink; on the map only as a mark's badge (round 38) */
  --g4-selected: #ff66e8;       /* the mark picked on the Map: a hot-pink ring, never a fill, never the lead's (round 38) */
  /* A group's roles on its Members page (design round 37): the owner teal, an admin sky blue, a moderator lilac. Text on the page, never a state and never on the map. */
  --g4-group-owner: #4fe0cf;
  --g4-group-admin: #8fb4ff;
  --g4-group-moderator: #c9b6ff;
  --g4-role-driver: #ffffff;
  --g4-on-role-driver: #0b0b0b;
  --g4-stale: #8f8f8f;           /* Last seen: never a live colour */
  --g4-on-stale: #0b0b0b;

  --g4-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 28px rgba(0, 0, 0, 0.45);
}

[data-theme="lotus-ltd"][data-mode="light"] {
  color-scheme: light;
  --g4-bg: #ffffff;
  --g4-surface: #f2f2f2;
  --g4-surface-sunk: #e9e9e9;
  --g4-text: #0b0b0b;
  --g4-text-muted: #4a4a4a;
  --g4-border: #d0d0d0;
  --g4-border-strong: #767676;
  --g4-pip-edge: #0b0b0b;   /* A lit pip's edge (round 39): dark, so a pale path colour holds 3:1 here */

  --g4-live: #5a1ee6;            /* a microphone is open */
  --g4-on-live: #ffffff;
  --g4-alert: #c81e14;           /* trouble, and nothing else */
  --g4-on-alert: #ffffff;
  --g4-danger-text: #c81e14;
  --g4-go: #0a7a3e;              /* connected, rolling, here */
  --g4-on-go: #ffffff;
  --g4-gather: #19827a;          /* gathering and regrouping: teal, never go, action or notice (round 54) */
  --g4-on-gather: #ffffff;
  --g4-role-lead: #c9107f;       /* the lead, and nobody else */
  --g4-on-role-lead: #ffffff;
  --g4-brand-lead: #c9107f;      /* the logo's lead capsule on a page: the brand, never on a map (round 56) */
  --g4-brand-accent: #c9107f;    /* the brand's moments only: the welcome page and first steps (round 60, Q151 A) */
  --g4-on-brand-accent: #ffffff;
  --g4-brand-edge: #0b1220;      /* the centre button's disc edge: the disc's own dark on a light bar */
  --g4-favorite: #d43d6e;       /* a favorite's heart: a soft rose, never the lead's pink; on the map only as a mark's badge (round 38) */
  --g4-selected: #b0189c;       /* the mark picked on the Map: a hot-pink ring, never a fill, never the lead's (round 38) */
  /* A group's roles: the same three, deep enough to read on light paper. */
  --g4-group-owner: #0b6b66;
  --g4-group-admin: #2a55b8;
  --g4-group-moderator: #5d4f80;
  --g4-role-driver: #0b0b0b;
  --g4-on-role-driver: #ffffff;
  --g4-stale: #666666;           /* Last seen: never a live colour */
  --g4-on-stale: #ffffff;

  --g4-shadow: 0 1px 2px rgba(12, 22, 38, 0.1), 0 8px 22px rgba(12, 22, 38, 0.1);
}

/* Club colours. Yellow to tap on black. */
[data-theme="lotus-ltd"][data-variant="classic"][data-mode="dark"] {
  --g4-action: #fdef00;          /* what can be tapped, and "you" */
  --g4-on-action: #141400;
  --g4-notice: #ffffff;          /* something to read */
  --g4-on-notice: #111111;
  --g4-warn-text: #ffffff;
  --g4-link: #fdef00;
  --g4-focus: #fdef00;
  /* Area colours (owner, 2026-11-22): the Club's go is a deeper green on
     light paper, so Drives turns a darker leaf there. */
  --g4-area-drives: #8ee06a;
}

[data-theme="lotus-ltd"][data-variant="classic"][data-mode="light"] {
  --g4-action: #0b0b0b;          /* what can be tapped, and "you" */
  --g4-on-action: #fdef00;
  --g4-notice: #0a5c9e;          /* something to read */
  --g4-on-notice: #ffffff;
  --g4-warn-text: #0a5c9e;
  --g4-link: #0b0b0b;
  --g4-focus: #0b0b0b;
  --g4-area-drives: #336b14;
}
