/* 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;
   Cinzel – römische Versalien für Überschriften und Namen; 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; }
/* Cinzel (OFL): römische Versalien mit Keilserifen wie auf alten Rock-Plakaten; Kleinbuchstaben als Kapitälchen. Nur der fette Schnitt,
   als 400 eingetragen, damit alle Überschriften ihn ohne künstliches Fett nutzen. */
@font-face { font-family: 'Cinzel'; src: url(../fonts/cinzel.woff2) format('woff2'); font-weight: 400; font-display: swap; }
/* Bodoni Moda (OFL, variabel mit opsz-Achse): nur für die Titan-501 auf der 501-Kachel */
@font-face { font-family: 'Bodoni Moda'; src: url(../fonts/bodoni-moda.woff2) format('woff2'); font-weight: 400 900; font-display: block; }
@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: #090909; --coal: #0f0f0f; --panel: #171717; --panel2: #202020; --panel3: #292929;
  --line: #323232; --line2: #4a4a52;
  --cream: #eef0f3; --cream2: #c4c8cf; --muted: #9a9ea6; --dim: #686b72;
  /* Pop-Art-Palette */
  --red: #b3243f; --red-d: #6b1226; --gold: #cfd3d9; --gold-l: #f2f4f7;
  --blue: #c8ccd0; --blue-d: #8e959c; --yellow: #eef1f6; --green: #1f9a4c; --violet: #c8ccd0;
  /* Spielerfarben */
  --p0: #b3243f; --p1: #c8ccd0; --p2: #cfd3d9; --p3: var(--cream); --p4: #a8743a; --p5: #e8b07a;
  /* Schrift */
  --f-num: 'League Gothic', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --f-display: 'Fell Digits', 'Cinzel', '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: #8a8e96;
  /* Comic-Farben für Momente (Queen-Pop-Art statt Neon) */
  --mg-pink: #b3243f; --mg-cyan: #c8ccd0; --mg-violet: #c8ccd0; --mg-gold: #eef1f6;
  --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(104,106,111,.2), transparent 70%), radial-gradient(ellipse 50% 40% at 92% 94%, rgba(104,106,111,.24), transparent 70%), radial-gradient(ellipse 30% 22% at 70% 18%, rgba(255,250,235,.35), transparent 70%);
  color-scheme: dark;
}
