/* ==========================================================================
   Shared theme for standalone pages (duel invites, 404): the homepage's
   dark palette as design tokens plus a minimal reset. Pages add their own
   component styles on top.
   ========================================================================== */
:root {
  --bg: #0f172a;
  --bg-elev: #172033;
  --bg-sunken: #0b1222;
  --text: #e2e8f0;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.28);
  --accent: #5eead4;
  --accent-soft: rgba(45, 212, 191, 0.1);
  --glow-1: rgba(29, 78, 216, 0.22);
  --glow-2: rgba(45, 212, 191, 0.12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px -8px rgba(2, 12, 27, 0.7);
  --shadow-lg: inset 0 1px 0 0 rgba(148, 163, 184, 0.08), 0 24px 48px -16px rgba(2, 12, 27, 0.8);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(94, 234, 212, 0.3); color: #fff; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
