/* Design-Tokens: Queen-Look – heraldisch, Gold/Creme auf Schwarz, Pop-Art-Farbblöcke, Kupferstich.
   Hintergründe bleiben schlicht (keine Körnung, kein Rauschen); Details sitzen auf den Elementen. */
/* Schriften (lokal, OFL): League Gothic – schmale Holzlettern-Plakatschrift für Zahlen und Beschriftungen;
   IM Fell English SC – Bleisatz-Versalien für Überschriften; IM Fell English – Fließtext. Leicht unregelmäßig gedruckt. */
@font-face { font-family: 'League Gothic'; src: url(../fonts/league-gothic.woff2) format('woff2'); font-weight: 400; font-display: swap; }
/* Ziffern in Überschriften/Text aus League Gothic (IM Fell hat Mediävalziffern: „01“ sähe aus wie „oi“) */
@font-face { font-family: 'Fell Digits'; src: url(../fonts/league-gothic.woff2) format('woff2'); font-weight: 400; unicode-range: U+0030-0039; font-display: swap; }
@font-face { font-family: 'IM Fell English SC'; src: url(../fonts/fell-sc.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IM Fell English'; src: url(../fonts/fell.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IM Fell English'; src: url(../fonts/fell-i.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* Grundtöne */
  --ink: #0b0a08; --coal: #12100d; --panel: #1a1713; --panel2: #231f19; --panel3: #2e2820;
  --line: #3a3229; --line2: #5b4f3e;
  --cream: #f3e9d2; --cream2: #d9c9a3; --muted: #a89d87; --dim: #6f6656;
  /* Pop-Art-Palette */
  --red: #e5402c; --red-d: #a92a1b; --gold: #d4a63a; --gold-l: #ecc96a;
  --blue: #2f6fe4; --blue-d: #1d4aa3; --yellow: #ffd23f; --green: #1f9a4c; --violet: #8b5cf6;
  /* Spielerfarben */
  --p0: var(--red); --p1: var(--blue); --p2: var(--yellow); --p3: var(--green); --p4: var(--violet); --p5: var(--cream);
  /* Schrift */
  --f-num: 'League Gothic', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --f-display: 'Fell Digits', 'IM Fell English SC', 'Iowan Old Style', 'Times New Roman', serif;
  --f-text: 'Fell Digits', 'IM Fell English', 'Iowan Old Style', Georgia, serif;
  /* Ecken */
  --r-btn: 6px; --r-panel: 10px;
  /* Safe Areas */
  --sat: env(safe-area-inset-top); --sab: env(safe-area-inset-bottom);
  --sal: env(safe-area-inset-left); --sar: env(safe-area-inset-right);
  /* Texturen (flache SVG-Muster) */
  --tex-halftone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Ccircle cx='2.25' cy='2.25' r='1.6' fill='%23000' fill-opacity='.3'/%3E%3Ccircle cx='6.75' cy='6.75' r='1.6' fill='%23000' fill-opacity='.3'/%3E%3C/svg%3E");
  --tex-halftone-lg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Ccircle cx='4' cy='4' r='3' fill='%23000' fill-opacity='.22'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%23000' fill-opacity='.22'/%3E%3C/svg%3E");
  --tex-hatch-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M-1 7L7 -1M-1 1L1 -1M5 7L7 5' stroke='%23d4a63a' stroke-opacity='.5' stroke-width='1'/%3E%3C/svg%3E");
  --tex-engrave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='5'%3E%3Cpath d='M-1 6L6 -1M-1 1L1 -1M4 6L6 4' stroke='%230b0a08' stroke-opacity='.42' stroke-width='.9'/%3E%3C/svg%3E");
  /* Abgeschaltete Texturen des Stein-Stils (Variablen bleiben, damit alte Regeln nichts zeichnen) */
  --tex-grain: none; --tex-stone: none; --tex-cracks: none;
  /* Feine Goldlinie mit Punkten statt Zebra */
  --tex-zebra: repeating-linear-gradient(90deg, var(--gold) 0 2px, transparent 2px 8px);
  --teal: var(--gold); --teal-d: #8d6b1f;
  /* Comic-Farben für Momente (Queen-Pop-Art statt Neon) */
  --mg-pink: #e5402c; --mg-cyan: #2f6fe4; --mg-violet: #8b5cf6; --mg-gold: #ffd23f;
  --tex-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='7'%3E%3Cpath d='M0 0L7 7M7 0L0 7' stroke='%23d4a63a' stroke-opacity='.18' stroke-width='.8'/%3E%3C/svg%3E");
  /* Handgezogene Linie (für Labels, Trenner) und gealtertes Papier (nur auf Elementen) */
  --hand-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='8'%3E%3Cpath d='M1 4.4 C18 3.1 34 5.3 52 4 S88 2.9 106 4.6 S140 5.2 159 3.7' fill='none' stroke='%23d4a63a' stroke-width='1.3' stroke-linecap='round'/%3E%3Cpath d='M8 6.6 C40 5.9 70 7.1 120 6.2' fill='none' stroke='%23d4a63a' stroke-opacity='.45' stroke-width='.6'/%3E%3C/svg%3E");
  --paper-age: radial-gradient(ellipse 60% 45% at 12% 10%, rgba(140,98,38,.2), transparent 70%), radial-gradient(ellipse 50% 40% at 92% 94%, rgba(140,98,38,.24), transparent 70%), radial-gradient(ellipse 30% 22% at 70% 18%, rgba(255,250,235,.35), transparent 70%);
  color-scheme: dark;
}
