/* Design tokens of the comic style (play-test round 3, E; owner 2026-11-14:
   "Comic überall"): a dark night-blue page with halftone dots, ink lines,
   hard shadows and poster colours. It replaces style C "Hallen-Atmosphäre"
   and keeps its token names, so every component follows. Text pairs keep a
   contrast of at least 4.5 : 1 against --bg and every --surface token (also
   --surface-hover); the paper tokens are the newspaper sheet. */
:root {
  /* page and panels: night blue */
  --bg: #121826;
  --surface: #1c2538;
  --surface-2: #26324a;
  --surface-hover: #2f3d5a; /* hover and selection: every text token stays 4.5 : 1 */
  --border: #34425f;
  --border-strong: #4a5c80;
  --field-border: #6f86b0; /* edge of form fields: 3 : 1 against --bg */
  --scrim: rgba(5, 7, 11, .75);

  /* comic ink: outlines and hard shadows */
  --ink: #05070b;
  --line: 3px;
  --line-thin: 2px;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --dots: rgba(255, 255, 255, .045); /* halftone of the page */

  /* text */
  --text: #fbf6e9;
  --text-muted: #b9c6dc;
  --text-on-accent: #121826;

  /* scoreboard ("video cube") */
  --led: #ff9f1a;
  --led-bg: #0a0d14;
  --led-frame: #05070b;
  --led-dim: #6b4a1c;
  --led-grid: rgba(255, 159, 26, .06); /* dot raster of the board */

  /* warning lamps */
  --lamp-ok: #4be394;
  --lamp-warn: #ff6b78;
  --lamp-off: #3a4a6a;

  /* highlighted own row in tables */
  --row-own: rgba(255, 210, 63, .10);

  /* table zones: marked by colour and by text */
  --zone-direct: #4be394;
  --zone-playoff: #5ad1ff;
  --zone-playdown: #ffd23f;
  --zone-relegation: #ff6b78;
  --zone-promotion: #4be394;

  /* line icons */
  --icon: #5ad1ff;
  --glow: #3fa9ff;

  /* actions and states: comic yellow */
  --accent: #ffd23f;
  --accent-hover: #ffe07a;
  --danger: #ff6b78;
  --danger-text: #ff8f99;
  --ok-text: #4be394;
  --warn-text: #ffc04d;
  --focus: #5ad1ff;

  /* poster colours of the comic (tags, bursts) */
  --comic-yellow: #ffd23f;
  --comic-cyan: #5ad1ff;
  --comic-red: #ff6b78;
  --comic-green: #4be394;

  /* the newspaper sheet */
  --paper: #f3e8cf;
  --paper-2: #eadcbc;
  --paper-own: #f9e7a6;
  --paper-ink: #1d1a15;
  --paper-muted: #574b3b;
  --paper-red: #a3221b;
  --paper-on-red: #fff7ec;
  --paper-rule: #b8a682;
  --paper-dots: rgba(80, 60, 30, .07);
  --bubble: #fffdf5; /* speech bubbles: --paper-ink on it */

  /* form curves: own team yellow, opponent white */
  /* hall: the kinds of seats (ui/hallmap.js, the block list); this theme is dark only */
  --kind-standing: #c2891f;
  --kind-seated: #3a7fb5;
  --kind-vip: #8a5fc4;
  --curve-own: #ffd23f;
  --curve-other: #ffffff;

  /* type (fonts.css), sizes */
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Bangers", "Impact", "Arial Black", sans-serif;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-mast: "UnifrakturMaguntia", "Old English Text MT", Georgia, serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Consolas", "Courier New", monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --gap: 12px;
  --gutter: 16px;
  --touch: 44px;
  --max-width: 1280px;
  /* the comic has no neon: the glow is off unless switched on (Gemischtes) */
  --glow-icon: none;
  --glow-led: 0 0 6px rgba(255, 159, 26, .45);
}

/* the glow switched off on this device (Gemischtes, settings.js) */
[data-glow=off] {
  --glow-icon: none;
  --glow-led: none;
}
