:root {
    --bg: #0f172a;
    --surface: #1e293b;
    --surface2: #263348;
    --accent: #38bdf8;
    --accent-hover: #7dd3fc;
    --accent-glow: rgba(56, 189, 248, 0.2);
    --red: #f43f5e;
    --green: #22c55e;
    --orange: #f59e0b;
    --purple: #a78bfa;
    --muted: #94a3b8;
    --text: #f1f5f9;

    /* Shared semantics (questions, team orange, chrome) */
    --question: #f59e0b;
    --team2: #fb923c;
    --team2-bg: rgba(249, 115, 22, 0.12);
    --team2-bg-active: rgba(249, 115, 22, 0.15);
    --team2-border: rgba(249, 115, 22, 0.4);

    --top-bar-height: 64px;
    --content-offset-top: calc(var(--top-bar-height) + 16px);

    --overlay-bg: rgba(10, 17, 35, 0.9);
    --overlay-blur: 18px;

    --border-hairline: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-default: rgba(255, 255, 255, 0.1);

    /* Card surfaces: draw popup, hand, deck gallery (shared tints) */
    --card-chrome-tint-curse: rgba(167, 139, 250, 0.14);
    --card-chrome-tint-bonus: rgba(34, 197, 94, 0.12);
    --card-chrome-tint-extra: rgba(245, 158, 11, 0.1);
    --card-chrome-tint-unknown: rgba(148, 163, 184, 0.06);

    /* Radius scale */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 28px;
    --r-pill: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.5);

    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

html {
    color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
