/* Hollow Dive's colours, dark and light. They dress the panels, the HUD, the menus, the landing page and /live; the
 * canvas is drawn the same in both themes. The fleet nav sets data-theme on <html> (tenshin_nav.js). Dark is the
 * default. Each rival crew has its own colour (bots.yaml: rust orange, cold blue, sick green). */
:root, :root[data-theme="dark"] {
  --hd-bg: #0c1013;
  --hd-panel: rgba(16, 22, 26, 0.94);
  --hd-panel-2: #1c272b;
  --hd-line: #2f3d42;
  --hd-ink: #e3ecee;
  --hd-ink-2: #8fa2a8;
  --hd-accent: #e0b24a;
  --hd-cool: #5fc4d4;
  --hd-danger: #ff6b57;
  --hd-good: #6fdc8c;
  --hd-btn: #24343a;
  --hd-btn-ink: #f2f6f7;
  --hd-main: #e0b24a;
  --hd-main-ink: #1a1305;
  --hd-crew-cutters: #f08a4b;
  --hd-crew-bell: #7fb2ff;
  --hd-crew-choir: #a8d65a;
  --hd-canvas: #07080b;                 /* the canvas is drawn the same in both themes */
}
:root[data-theme="light"] {
  --hd-bg: #e9eef0;
  --hd-panel: rgba(250, 251, 252, 0.96);
  --hd-panel-2: #ffffff;
  --hd-line: #c4ced2;
  --hd-ink: #172126;
  --hd-ink-2: #4f6066;
  --hd-accent: #8a5f00;
  --hd-cool: #126877;
  --hd-danger: #b3261e;
  --hd-good: #1e7a3c;
  --hd-btn: #dde5e8;
  --hd-btn-ink: #10181b;
  --hd-main: #9a6f0e;
  --hd-main-ink: #ffffff;
  --hd-crew-cutters: #b2501a;
  --hd-crew-bell: #2458a8;
  --hd-crew-choir: #4f7a12;
  --hd-canvas: #07080b;
}
/* The engine kit (tenshin_kit.css) draws the Controls and Settings windows and the yes/no boxes in these colours. */
:root {
  --tn-bg: var(--hd-bg); --tn-panel: var(--hd-panel-2); --tn-ink: var(--hd-ink); --tn-muted: var(--hd-ink-2);
  --tn-edge: var(--hd-line); --tn-accent: var(--hd-main); --tn-on-accent: var(--hd-main-ink); --tn-danger: var(--hd-danger);
  --tn-on-danger: var(--hd-main-ink); --tn-good: var(--hd-good);
  --tn-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --tn-font-ui: var(--tn-font);
}
:root[data-theme="light"] { --tn-on-danger: #ffffff; }
