/* "Советский терминал" — phosphor amber/green on graphite, terminal font.
   Reuses the same design language as the SovTimeUI Swift app's "Soviet
   terminal" system (docs/06-themes-skins.md 6.3) for cross-app consistency. */
:root {
  --bg: #101410;
  --fg: #33ff66;
  --muted: #23a047;
  --accent: #ffb347;
  --border: #2a3a2a;
  --surface: #161c16;
  --font-body: var(--font-mono);
  --badge-draft: #555;
  --badge-proposed: #ffb347;
  --badge-canon: #33ff66;
  --badge-fiction: #ff6699;
}

body { text-shadow: 0 0 2px currentColor; }
.site-header, .site-footer { border-color: var(--border); }
a { text-decoration: underline; }
.badge { color: #101410; text-shadow: none; }

/* Faint phosphor-green hammer-and-sickle watermark on the header — a CRT
   terminal "boot logo" ghosted into the background, not a loud graphic. */
.site-header {
  background-image: url("../../img/soviet/flag.f19803035d68.svg");
  background-repeat: no-repeat;
  background-position: right -30px center;
  background-size: 140px auto;
  background-blend-mode: luminosity;
  position: relative;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--surface);
  opacity: 0.88;
  z-index: 0;
}
.site-header nav { position: relative; z-index: 1; }

/* Map tiles/legend need explicit light backing even in the dark theme. */
.map-widget { background: #dfe6df; border-color: var(--border); }
