/* Ancient Canopy — canopy green and gold on dark loam */
[data-theme="naya"] {
    /* Background surfaces */
    --bg-color: #101310;
    --bg-gradient: linear-gradient(135deg, #101310 0%, #171b16 50%, #101310 100%);
    --panel-bg: #171b16f2;
    --panel-bg-opaque: #171b16;
    --card-bg: #171b16cc;
    --list-bg: #171b1699;
    --entry-bg: #212720cc;
    --entry-hover-bg: #2b322ae6;
    --canvas-bg: rgba(16, 19, 16, 0.86);
    --bg-secondary: #171b16;
    --bg-tertiary: #101310;
    --bg-primary: #101310;
    --hero-scrim: #000000;
    --border-primary: #303830;
    --text-accent: #9be3aa;

    /* Text */
    --text-color: #ebf1ea;
    --text-primary: #ebf1ea;
    --text-muted: #93a08f;
    --text-secondary: #b1bdad;

    /* Accent */
    --accent-color: #7ed491;
    --color-accent: #7ed491;
    --accent-primary: #7ed491;
    --accent-gradient: linear-gradient(135deg, #7ed491 0%, #3fae63 55%, #e0b45a 100%);
    --accent-glow: #7ed49133;
    --accent-hover: #7ed49166;
    --accent-bg: #7ed4911a;
    --accent-bg-hover: #7ed49133;
    --accent-light: #b8f0c2;
    --highlight: #7ed49133;

    /* Borders */
    --border-color: #303830cc;
    --border-hover: #7ed491;
    --glass-border: #30383099;

    /* Inputs and forms */
    --input-bg: #101310;
    --input-border: #303830;
    --select-option-bg: #171b16;
    --widget-bg: color-mix(in srgb, var(--bg-color) 86%, transparent);

    /* Buttons */
    --button-bg: #212720;
    --button-border: #eaffe81a;
    --button-text: #d3dccf;
    --button-primary-text: #0b1a0e;

    /* Tabs */
    --tab-bg: #212720;
    --tab-text: #b1bdad;
    --tab-active-text: #f3f9f2;

    /* Scrollbars */
    --scrollbar-track: #3038304d;
    --scrollbar-thumb: #303830;
    --scrollbar-thumb-hover: #3d473b;

    /* Deck group headers */
    --deck-header-bg: linear-gradient(to right, rgba(126, 212, 145, 0.15), transparent);
    --deck-header-border: #7ed4914d;
    --deck-header-text: var(--accent-color);

    /* Popups and modals */
    --popup-bg: #171b16;
    --popup-border: #303830;
    --popup-shadow: #050805cc;
    --popup-section-border: #303830;

    /* Charts and stats */
    --chart-bg: #171b1699;
    --chart-title-color: #93a08f;

    /* Dividers and collapse controls */
    --divider-border: #303830;
    --divider-btn-bg: #212720;
    --divider-btn-text: #b1bdad;

    /* Scanning and loading */
    --scanning-bg: #101310fa;
    --scanning-text: #ebf1ea;

    /* PRO gates */
    --pro-overlay-bg: #101310d9;
    --pro-overlay-border: #7ed49166;
    --pro-text: #93a08f;

    /* Chips and tags */
    --chip-bg: #7ed491;
    --chip-text: #0b1a0e;
    --chip-or-bg: #60c8e8;
    --chip-or-text: #0b1a0e;
    --chip-exclude-bg: #f0705f;
    --chip-exclude-text: #ffffff;
    --tag-bg: #212720;
    --tag-text: #ebf1ea;
    --tag-border: #303830;
    --favorite-color: #e0b45a;
    --favorite-bg: #e0b45a33;

    /* Card type colors */
    --type-creature: #7ed491;
    --type-land: #c48a3f;
    --type-instant: #60c8e8;
    --type-sorcery: #f0705f;
    --type-enchantment: #c4a3ff;
    --type-artifact: #a8b0a3;
    --type-planeswalker: #e0b45a;
    --type-other: #7b857a;

    /* 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: #7ed491;
    --success-bg: #7ed4911a;
    --success-border: #7ed4914d;
    --success-bg-hover: #7ed49133;

    /* Semantic: danger */
    --danger-color: #f0705f;
    --danger: #f0705f;
    --error-color: #f0705f;
    --danger-bg: #f0705f1a;
    --danger-border: #f0705f66;
    --error-border: #f0705f66;
    --danger-bg-hover: #f0705f33;

    /* Semantic: warning */
    --warning-color: #e0b45a;
    --warning-bg: #e0b45a1a;
    --warning-border: #e0b45a4d;

    /* Semantic: info */
    --info-color: #60c8e8;
    --info-bg: #60c8e81a;
    --info-border: #60c8e84d;
    --info-bg-hover: #60c8e833;

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

    /* Functional curve (cast timing) */
    --fc-sweet-spot: #2dd4c4;
    --fc-less-value: #e0b45a;
    --fc-reactive: #f0705f;
    --fc-face: #c58bf2;

    /* Accent as RGB triplets, for rgba() */
    --accent-rgb: 126, 212, 145;
    --color-accent-rgb: 126, 212, 145;

    /* Overlays and banners */
    --overlay-bg: #050805b3;
    --impersonation-bg: linear-gradient(135deg, #e0b45a, #3fae63);

    /* 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;
}
