/* The site's colors, type and dark scrollbars (docs/DESIGN.md). Every page family loads this first: the tool
   pages before base.css, the public pages before site.css. Overlays don't: streamers theme those. */
/* Country flags: Windows has no flag emoji and shows the two letters instead ("US"), so flag characters come
   from Twemoji Country Flags (public/fonts, CC-BY 4.0). unicode-range keeps it to flags, and browsers only fetch
   it on a page that shows one. */
@font-face {
  font-family: 'Twemoji Country Flags';
  src: url('/fonts/TwemojiCountryFlags.woff2') format('woff2');
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
  font-display: swap;
}
:root {
  --bg: #0e0e10; --panel: #18181b; --panel2: #1f1f23; --line: #2f2f35; --line-strong: #3f3f48;
  --text: #efeff1; --soft: #d6d6dc; --muted: #a0a0ab; --faint: #6e6e78;
  --accent: #006c90; --accent-hover: #1f8fb8; --link: #5ec3e6;
  --ok: #2ecc71; --warn: #f1c40f; --err: #e74c3c;
  --ok-text: #7be3a4; --warn-text: #ffd38a; --err-text: #ff8a80;
  --ok-bg: #143823; --warn-bg: #3a2f10; --err-bg: #3a1517;
  --radius: 8px; --radius-card: 12px;
  --font: 'Twemoji Country Flags', Inter, 'Segoe UI', system-ui, sans-serif;
  --mono: Consolas, 'Cascadia Mono', Menlo, monospace;
}

/* Dark scrollbars: newer browsers and OBS (Chromium 121+) use scrollbar-color; older OBS docks use the
   -webkit- rules. color-scheme also makes form controls and their popups dark. */
:root { color-scheme: dark; scrollbar-color: var(--line-strong) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border: 2px solid transparent; border-radius: 6px; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: #55555f; }
