:root {
    color-scheme: dark;
    --theme-bg: #0f1115;
    --theme-text: #e6eaf2;
    --theme-surface: #1b2436;
    --theme-surface-alt: #161b24;
    --theme-surface-muted: #2d3a57;
    --theme-surface-soft: #24314a;
    --theme-surface-glass: rgba(27, 36, 54, 0.92);
    --theme-surface-border: #3b465f;

    --theme-border: #3b465f;
    --theme-border-strong: #4e5f84;
    --theme-input-border: #6076a8;

    --theme-accent: #60a5fa;
    --theme-accent-hover: #3b82f6;
    --theme-accent-strong: #7fb6ff;
    --theme-on-accent: #fff;
    --theme-accent-strong-text: #0a1322;

    --theme-success: #16a34a;
    --theme-danger: #ff4d4d;
    --theme-on-success: #fff;
    --theme-on-danger: #fff;

    --theme-warning-bg: #442222;
    --theme-warning-border: #663333;
    --theme-warning-text: #ffb3b3;

    --theme-modal-bg: #1e1e1e;
    --theme-overlay-soft: rgba(0, 0, 0, 0.55);
    --theme-overlay: rgba(0, 0, 0, 0.6);
    --theme-overlay-strong: rgba(0, 0, 0, 0.75);

    --theme-popover-bg: #1b2436;
    --theme-popover-border: #6076a8;
    --theme-popover-hover-bg: #3a4a70;
    --theme-popover-hover-border: #8fa8dd;
    --theme-popover-shadow: rgba(0, 0, 0, 0.45);

    --theme-focus-glow: rgba(96, 165, 250, 0.45);
    --theme-focus-ring: rgba(96, 165, 250, 0.22);

    --theme-muted: #c7cfda;
    --theme-text-muted: #c6ced8;
    --theme-text-dim: #d7dfec;
    --theme-text-subtle: #d9e2ef;

    --theme-tile-hover: #3a4a70;
    --theme-secondary-hover: #4a5f8c;
    --theme-value-missing: #ff7b72;

    --theme-players-box-bg: rgba(17, 25, 40, 0.45);
    --theme-status-green-bg: #2c2325;
    --theme-status-blue-bg: #514145;

    --theme-score-option-bg: #2d3a57;
    --theme-score-option-text: #e6eeff;
    --theme-score-option-active-text: #fff;

    --theme-bracket-card-shadow: rgba(0, 0, 0, 0.25);
    --theme-bracket-card-shadow-hover: rgba(0, 0, 0, 0.35);
    --theme-bracket-accent: #4a8dff;
    --theme-bracket-table-active: #ffb74d;
    --theme-bracket-table-active-bg: #3b2a16;
    --theme-bracket-table-active-text: #ffc779;

    --tm-cup-live-color: #82addf;
    --tm-cup-suggested-color: #c79b70;
    --tm-cup-finished-color: #8d98ae;

    --tm-start-row-odd: #2f2a1a;
    --tm-start-row-even: #1b2d47;
    --tm-start-row-odd-accent: #e2ad44;
    --tm-start-row-even-accent: #70a9ff;
    --tm-start-top1: #4c3f19;
    --tm-start-top2: #304264;
    --tm-start-top3: #4a3528;

    --theme-link-box-bg: var(--theme-surface-glass);
    --theme-link-box-border: var(--theme-border);
    --theme-main-card-bg: var(--theme-surface-glass);
    --theme-main-card-border: var(--theme-border);
    --theme-sub-card-bg: var(--theme-surface-soft);
    --theme-sub-card-border: var(--theme-border);

    --theme-list-item-odd-bg-from: #24324a;
    --theme-list-item-odd-bg-to: #1c2638;
    --theme-list-item-even-bg-from: #334768;
    --theme-list-item-even-bg-to: #2a3b57;
    --theme-list-item-odd-border: #5f77a3;
    --theme-list-item-even-border: #8aa7df;
    --theme-list-item-meta-even-bg: #2f4361;
    --theme-list-item-meta-even-border: #7f9dd3;

    --site-menu-layer: 120000;
    --site-menu-shell-bg-from: rgba(22, 29, 44, 0.965);
    --site-menu-shell-bg-to: rgba(16, 23, 36, 0.965);
    --site-menu-panel-bg-from: rgba(24, 33, 50, 0.988);
    --site-menu-panel-bg-to: rgba(18, 27, 42, 0.988);
    --site-menu-link-bg: rgba(31, 43, 65, 0.95);
    --site-menu-link-hover-bg: #3a4a70;
    --site-menu-link-border: #6178a9;
    --site-menu-shell-blur: 22px;
    --site-menu-panel-blur: 34px;
}

