/* The Blind Eternities — violet on near-black slate */
[data-theme="void"] {
    /* Background surfaces */
    --bg-color: #0f0e14;
    --bg-gradient: linear-gradient(135deg, #0f0e14 0%, #16141f 50%, #0f0e14 100%);
    --panel-bg: #171520f2;
    --panel-bg-opaque: #171520;
    --card-bg: #171520cc;
    --list-bg: #17152099;
    --entry-bg: #211e2ccc;
    --entry-hover-bg: #2b2739e6;
    --canvas-bg: rgba(15, 14, 20, 0.86);
    --bg-secondary: #171520;
    --bg-tertiary: #0f0e14;
    --bg-primary: #0f0e14;
    --hero-scrim: #000000;
    --border-primary: #302b40;
    --text-accent: #c4b0ff;

    /* Text */
    --text-color: #ece8f7;
    --text-primary: #ece8f7;
    --text-muted: #9d95b8;
    --text-secondary: #b9b1cf;

    /* Accent */
    --accent-color: #a98bff;
    --color-accent: #a98bff;
    --accent-primary: #a98bff;
    --accent-gradient: linear-gradient(135deg, #a98bff 0%, #7c5cf0 50%, #c4b0ff 100%);
    --accent-glow: #a98bff33;
    --accent-hover: #a98bff66;
    --accent-bg: #a98bff1a;
    --accent-bg-hover: #a98bff33;
    --accent-light: #cdbcff;
    --highlight: #a98bff33;

    /* Borders */
    --border-color: #302b40cc;
    --border-hover: #a98bff;
    --glass-border: #302b4099;

    /* Inputs and forms */
    --input-bg: #0f0e14;
    --input-border: #302b40;
    --select-option-bg: #171520;
    --widget-bg: color-mix(in srgb, var(--bg-color) 86%, transparent);

    /* Buttons */
    --button-bg: #211e2c;
    --button-border: #efe8ff1a;
    --button-text: #d8d1ea;
    --button-primary-text: #120a2a;

    /* Tabs */
    --tab-bg: #211e2c;
    --tab-text: #b9b1cf;
    --tab-active-text: #f5f2ff;

    /* Scrollbars */
    --scrollbar-track: #302b404d;
    --scrollbar-thumb: #302b40;
    --scrollbar-thumb-hover: #3d3752;

    /* Deck group headers */
    --deck-header-bg: linear-gradient(to right, rgba(169, 139, 255, 0.15), transparent);
    --deck-header-border: #a98bff4d;
    --deck-header-text: var(--accent-color);

    /* Popups and modals */
    --popup-bg: #171520;
    --popup-border: #302b40;
    --popup-shadow: #050408cc;
    --popup-section-border: #302b40;

    /* Charts and stats */
    --chart-bg: #17152099;
    --chart-title-color: #9d95b8;

    /* Dividers and collapse controls */
    --divider-border: #302b40;
    --divider-btn-bg: #211e2c;
    --divider-btn-text: #b9b1cf;

    /* Scanning and loading */
    --scanning-bg: #0f0e14fa;
    --scanning-text: #ece8f7;

    /* PRO gates */
    --pro-overlay-bg: #0f0e14d9;
    --pro-overlay-border: #a98bff66;
    --pro-text: #9d95b8;

    /* Chips and tags */
    --chip-bg: #a98bff;
    --chip-text: #120a2a;
    --chip-or-bg: #38bdf8;
    --chip-or-text: #120a2a;
    --chip-exclude-bg: #f87171;
    --chip-exclude-text: #ffffff;
    --tag-bg: #211e2c;
    --tag-text: #ece8f7;
    --tag-border: #302b40;
    --favorite-color: #fbbf24;
    --favorite-bg: #fbbf2433;

    /* Card type colors */
    --type-creature: #4ade80;
    --type-land: #c48a3f;
    --type-instant: #7dd3fc;
    --type-sorcery: #f472b6;
    --type-enchantment: #c4b0ff;
    --type-artifact: #a3a3b8;
    --type-planeswalker: #fbbf24;
    --type-other: #7a7590;

    /* MTG mana colors (canonical, never themed) */
    --mtg-white-mana: #F0EFD8;
    --mtg-blue-mana: #4a90d9;
    --mtg-black-mana: #20242a;
    --mtg-red-mana: #e05c4b;
    --mtg-green-mana: #5cb85c;
    --mtg-generic-mana: #706e6eff;
    --mtg-multicolor: #CFB53B;
    --mtg-gold: #E69F00;

    /* Drawn over a live camera picture (the card scanner's outlines, badges and readout).
       The picture is not themed, so neither are these: light ink on a dark scrim reads
       over any table. */
    --on-media-ink: #ffffff;
    --on-media-scrim: #000000;

    /* MTG rarity colors (canonical) */
    --rarity-common: #373737;
    --rarity-uncommon: #BBC5D5;
    --rarity-rare: #FFE182;
    --rarity-mythic: #FF9550;
    --rarity-special: #A77BD6;
    --rarity-bonus: #5CC8C0;

    /* MTG archetype colors (canonical) */
    --archetype-aggro: #e74c3c;
    --archetype-tribal: #e67e22;
    --archetype-protection: #1abc9c;
    --archetype-control: #3498db;
    --archetype-ramp: #27ae60;
    --archetype-draw: #f39c12;
    --archetype-combo: #9b59b6;
    --archetype-balanced: #2ecc71;

    /* Semantic: success */
    --success-color: #4ade80;
    --success-bg: #4ade801a;
    --success-border: #4ade804d;
    --success-bg-hover: #4ade8033;

    /* Semantic: danger */
    --danger-color: #f87171;
    --danger: #f87171;
    --error-color: #f87171;
    --danger-bg: #f871711a;
    --danger-border: #f8717166;
    --error-border: #f8717166;
    --danger-bg-hover: #f8717133;

    /* Semantic: warning */
    --warning-color: #fbbf24;
    --warning-bg: #fbbf241a;
    --warning-border: #fbbf244d;

    /* Semantic: info */
    --info-color: #38bdf8;
    --info-bg: #38bdf81a;
    --info-border: #38bdf84d;
    --info-bg-hover: #38bdf833;

    /* Social */
    --discord-color: #5865F2;

    /* Functional curve (cast timing) */
    --fc-sweet-spot: #2dd4c4;
    --fc-less-value: #c4b0ff;
    --fc-reactive: #f472b6;
    --fc-face: #a78bfa;

    /* Accent as RGB triplets, for rgba() */
    --accent-rgb: 169, 139, 255;
    --color-accent-rgb: 169, 139, 255;

    /* Overlays and banners */
    --overlay-bg: #050408b3;
    --impersonation-bg: linear-gradient(135deg, #7c5cf0, #a98bff);

    /* Effects */
    --glass-blur: blur(12px);

    /* Breakpoints and chrome sizes (identical in every theme) */
    --mobile-width: 768px;
    --tablet-width: 1024px;
    --desktop-width: 1440px;
    --header-height: 60px;
    --mobile-header-height: 50px;
}
