:root,
[data-theme="dark"] {
    /* ===============================
       Discord Dark — 1:1 приближенно
       =============================== */

    /* --- Фоны --- */
    --background-primary: #313338;
    --background-primary-hover: #3a3c43;
    --background-lighting: #393a41;
    --background-secondary: #2b2d31;
    --background-tertiary: #1e1f22;
    --background-accent: #404249;
    --background-floating: #111214;
    --light-card: #3f4048;
    --light-panel: #36373e;
    /* --- Алиасы --- */
    --bg-dark: #313338;
    --bg-sidebar: #2b2d31;
    --bg-panel: #2b2d31;
    --bg-hover: #3a3c43;
    --background-search-input: #28292e;

    /* --- Текст --- */
    --header-primary: #f2f3f5;
    --text-primary: #dbdee1;
    --text-normal: #dbdee1;
    --text-secondary: #b5bac1;
    --text-muted: #949ba4;
    --text-mutedv2: #949ba4;
    --text-mutedv3: #a9adb2;
    --img-muted: #b5bac1;

    /* --- Бренд / интерактив --- */
    --accent: #5865f2;
    --brand: #5865f2;
    --brand-hover: #4752c4;
    --brand-experiment: #5865f2;
    --brand-experiment-560: #4752c4;
    --brand-transperent: #3e459154;

    --highlight-color: rgba(88, 101, 242, 0.3);
    --selected: rgba(79, 84, 92, 0.32);

    /* --- Hover / active модификаторы --- */
    --background-modifier-hover: rgba(79, 84, 92, 0.16);
    --background-modifier-hover-muted: rgba(79, 84, 92, 0.08);
    --background-modifier-accent: rgba(79, 84, 92, 0.48);
    --outline: #3f4147;
    --light-outline: #46474c;

    /* --- Статусы --- */
    --success: #3ba55d;
    --sucess-muted: rgba(59, 165, 93, 0.15);

    --status-danger: #ed4245;
    --status-danger-muted: rgba(237, 66, 69, 0.15);
    --status-warning: #faa81a;

    --danger: #ed4245;
    --danger-hover: #c03537;
    --danger-active: #a1282a;

    --online: #3ba55d;
    --idle: #faa81a;
    --dnd: #ed4245;
    --offline: #80848e;

    /* --- Шрифты --- */
    --font-main: "Segoe UI", Arial, sans-serif;
    --font-code: "gg mono", "Source Code Pro", Consolas,
        "Andale Mono WT", "Andale Mono", "Lucida Console",
        "Lucida Sans Typewriter", "DejaVu Sans Mono",
        "Bitstream Vera Sans Mono", "Liberation Mono",
        "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;

    /* --- Тени --- */
    --shadow-low:
        0 1px 0 rgba(4, 4, 5, 0.2),
        0 1.5px 0 rgba(6, 6, 7, 0.05),
        0 2px 0 rgba(4, 4, 5, 0.05);

    --shadow-context-menu: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-tooltip: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] {
    --bg-dark: #ffffff;
    --bg-sidebar: #f2f3f5;
    --bg-panel: #ffffff;
    --bg-hover: #e3e5e8;
    --text-primary: #303038;
    --text-secondary: #4e5058;
    --accent: #5865f2;
    --background-primary: #ffffff;
    --background-primary-hover: #f8f9f9;
    --background-secondary: #f2f3f5;
    --background-tertiary: #e3e5e8;
    --background-accent: #e6e8ea;
    --background-lighting: #f2f3f5;
    /* Изменено с #393a41 на светлый аналог */
    --background-modifier-hover: rgba(138, 142, 148, 0.16);
    --background-modifier-hover-muted: rgba(138, 142, 148, 0.5);
    --background-modifier-accent: rgba(138, 142, 148, 0.48);
    --background-floating: #ffffff;
    --brand-experiment: #5865f2;
    --brand-experiment-560: #4752c4;
    --status-danger: #d93f42;
    --danger-hover: #c03537;
    --danger-active: #a1282a;
    --status-danger-muted: rgba(217, 63, 66, 0.1);
    --status-warning: #e69600;
    --text-normal: #2e3338;
    --text-muted: #747f8d;
    --text-mutedv2: #5c626b;
    --text-mutedv3: #4c5158;
    --img-muted: #5c626b;
    --background-search-input: #e3e5e8;
    --brand: #5865f2;
    --brand-hover: #4752c4;
    --brand-transperent: rgba(88, 101, 242, 0.15);
    /* Добавлено */
    --selected: #e3e5e8;
    --success: #248046;
    --sucess-muted: rgba(36, 128, 70, 0.1);
    /* Исправлено с #24804613 на rgba */
    --outline: #cdd3de;
    --light-outline: #b5bac1;
    /* Добавлено */
    --danger: #d93f42;
    --online: #23a55a;
    --idle: #f0b232;
    --dnd: #f23f43;
    --offline: #80848e;
    --highlight-color: rgba(88, 101, 242, 0.2);
    --shadow-low: 0 1px 0 rgba(0, 0, 0, 0.05);
    --shadow-context-menu: 0px 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-tooltip: 0px 4px 12px rgba(0, 0, 0, 0.1);
    /* Добавлено */
    --header-primary: #383841;
    --font-main: "Segoe UI", Arial, sans-serif;
    /* Добавлено */
    --font-code: "gg mono", "Source Code Pro", Consolas,
        /* Добавлено */
        "Andale Mono WT", "Andale Mono", "Lucida Console",
        "Lucida Sans Typewriter", "DejaVu Sans Mono",
        "Bitstream Vera Sans Mono", "Liberation Mono",
        "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
    --light-card: #f2f3f5;
    /* Добавлено (аналог #3f4048 из темной) */
    --light-panel: #ffffff;
    /* Добавлено (аналог #36373e из темной) */
}