/**
 * Этерион — эфирный HUD.
 * Голографический интерфейс оператора: циан, золото, угловатые панели.
 */

html.design-aetherion,
body.design-aetherion {
    --primary:        #3ee8ff;
    --primary-dark:   #1aa8c4;
    --primary-light:  #9af7ff;
    --secondary:      #e8c36a;
    --success:        #3dffb0;
    --warning:        #e8c36a;
    --danger:         #ff4d62;
    --info:           #3ee8ff;
    --accent:         #ff4d9a;
    --accent-light:   #ff7ab8;

    --gradient-primary:   linear-gradient(90deg, #3ee8ff, #7b5cff);
    --gradient-secondary: linear-gradient(135deg, #e8c36a, #3ee8ff);
    --gradient-success:   linear-gradient(135deg, #3dffb0, #3ee8ff);
    --gradient-accent:    linear-gradient(135deg, #ff4d9a, #7b5cff);

    --bg-primary:     #04050b;
    --bg-secondary:   #070b16;
    --bg-tertiary:    #091020;
    --bg-card:        rgba(9, 16, 32, 0.62);
    --bg-card-hover:  rgba(8, 14, 28, 0.86);

    --text-primary:   #e7f4ff;
    --text-secondary: #b7c8dc;
    --text-muted:     #7d8ea6;

    --line:        rgba(62, 232, 255, 0.28);
    --line-strong: rgba(232, 195, 106, 0.45);

    --shadow-sm:   0 4px 14px rgba(0,0,0,0.35);
    --shadow-md:   0 10px 28px rgba(0,0,0,0.4);
    --shadow-lg:   0 18px 50px rgba(0,0,0,0.45);
    --shadow-xl:   0 28px 70px rgba(0,0,0,0.55);
    --shadow-glow: 0 0 24px rgba(62,232,255,0.28);

    --radius-sm: 0;
    --radius-md: 2px;
    --radius-lg: 4px;
    --radius-xl: 6px;

    --font-ui: "Rajdhani", sans-serif;
    --font-display: "Orbitron", sans-serif;
    --font-mono: "Share Tech Mono", monospace;
    --sb-w: 168px;
}

html.design-aetherion.light-theme,
body.design-aetherion.light-theme {
    --bg-primary:     #e8f4ff;
    --bg-secondary:   #ffffff;
    --bg-tertiary:    #d5e8f6;
    --bg-card:        rgba(255,255,255,0.94);
    --bg-card-hover:  #edf7ff;
    --text-primary:   #071018;
    --text-secondary: #24384a;
    --text-muted:     #3d5568;
    --line:        rgba(10, 90, 110, 0.28);
    --line-strong: rgba(10, 90, 110, 0.48);
    --primary:        #0d738a;
    --primary-dark:   #0a5668;
    --primary-light:  #0a5c70;
    --secondary:      #8a6414;
    --shadow-sm:   0 4px 14px rgba(14, 40, 60, 0.08);
    --shadow-md:   0 10px 28px rgba(14, 40, 60, 0.10);
    --shadow-lg:   0 18px 50px rgba(14, 40, 60, 0.12);
    --shadow-xl:   0 28px 70px rgba(14, 40, 60, 0.16);
    --shadow-glow: 0 0 18px rgba(13, 115, 138, 0.16);
}

body.design-aetherion {
    background:
        radial-gradient(1200px 700px at 15% -10%, rgba(123,92,255,0.18), transparent 55%),
        radial-gradient(900px 600px at 90% 10%, rgba(62,232,255,0.12), transparent 50%),
        radial-gradient(800px 500px at 70% 100%, rgba(255,77,154,0.08), transparent 50%),
        var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-ui);
    font-size: 16px;
}
body.design-aetherion .logo,
body.design-aetherion .card-header h2,
body.design-aetherion .page-header h2,
body.design-aetherion .welcome-title-gradient,
body.design-aetherion.auth-page h1,
body.design-aetherion .stat-value {
    font-family: var(--font-display);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
body.design-aetherion .particles { display: none; }
body.design-aetherion::before { display: none; }

body.design-aetherion *::-webkit-scrollbar { width: 8px; }
body.design-aetherion *::-webkit-scrollbar-thumb { background: rgba(62,232,255,0.28); }

body.design-aetherion .lk-fx { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
body.design-aetherion .lk-fx__noise {
    position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.design-aetherion .lk-fx__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(62,232,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(62,232,255,0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 50% 40%, black 20%, transparent 78%);
}
body.design-aetherion .lk-fx__vignette {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 45%, transparent 40%, rgba(0,0,0,.55) 100%);
}
body.design-aetherion .lk-fx__orb { display: none; }
body.design-aetherion .lk-fx__constellation { display: none; }
body.design-aetherion .lk-fx__frame {
    position: fixed;
    width: 72px; height: 72px;
    z-index: 9;
    border: 1.5px solid rgba(62,232,255,0.45);
    pointer-events: none;
    display: block;
}
body.design-aetherion .lk-fx__frame--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
body.design-aetherion .lk-fx__frame--tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
body.design-aetherion .lk-fx__frame--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
body.design-aetherion .lk-fx__frame--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

@media (min-width: 900px) {
    body.design-aetherion:not(.lk-admin-page) .lk-sidebar {
        position: fixed;
        left: 18px; top: 90px; bottom: 18px;
        width: var(--sb-w);
        height: auto;
        max-height: none;
        border-radius: 0;
        margin: 0;
        overflow: hidden;
        z-index: 200;
        clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
    }
    body.design-aetherion:not(.lk-admin-page):has(.lk-sidebar) .header {
        margin-left: 0;
        width: 100%;
    }
    body.design-aetherion:not(.lk-admin-page):has(.lk-sidebar) main.main {
        margin-left: calc(var(--sb-w) + 28px);
        width: calc(100% - var(--sb-w) - 28px);
    }
    body.design-aetherion:not(.lk-admin-page) .lk-layout {
        display: block;
        padding-top: 12px;
        padding-bottom: 32px;
    }
    body.design-aetherion .main > .container { max-width: 1280px; }
}

body.design-aetherion .header {
    background: rgba(9,16,32,0.62);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    overflow: visible;
    z-index: 100;
}
body.design-aetherion .header::before,
body.design-aetherion .header::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
    z-index: 2;
    border-color: rgba(62, 232, 255, 0.45);
    border-style: solid;
}
body.design-aetherion .header::before {
    top: 0;
    left: 0;
    border-width: 1.5px 0 0 1.5px;
}
body.design-aetherion .header::after {
    top: 0;
    right: 0;
    border-width: 1.5px 1.5px 0 0;
}
body.design-aetherion .logo {
    font-size: 14px;
    letter-spacing: 0.28em;
    color: var(--primary-light);
    text-shadow: 0 0 16px rgba(62,232,255,0.45);
    background: none;
    -webkit-text-fill-color: unset;
    pointer-events: auto;
    position: relative;
    z-index: 6;
}
body.design-aetherion .lk-server-switcher {
    font-family: var(--font-mono);
    background: rgba(62,232,255,0.06);
    border: 1px solid var(--line);
    color: var(--primary-light);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
body.design-aetherion .header-balance,
body.design-aetherion .header-warehouse {
    height: 42px;
    padding: 0 12px !important;
    background: rgba(62,232,255,0.06) !important;
    border: 1px solid var(--line) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
body.design-aetherion .header-balance-val { color: var(--secondary); }
body.design-aetherion .user-avatar,
body.design-aetherion .user-avatar-placeholder {
    border: 1px solid var(--line);
    box-shadow: 0 0 14px rgba(62,232,255,0.3);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    pointer-events: auto;
}
body.design-aetherion .user-avatar-container {
    z-index: 50;
    pointer-events: auto;
    overflow: visible;
}
body.design-aetherion .header,
body.design-aetherion .header-content,
body.design-aetherion .user-info,
body.design-aetherion .user-avatar-wrap {
    overflow: visible !important;
}
body.design-aetherion .user-menu-popup {
    position: fixed !important;
    right: 8px;
    left: auto;
    background: rgba(8,14,28,0.96);
    border: 1px solid var(--line);
    clip-path: none !important;
    z-index: 2147483646 !important;
    pointer-events: auto !important;
}

body.design-aetherion .lk-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--line);
    box-shadow: none;
    backdrop-filter: blur(18px);
}
body.design-aetherion .sb-glow { display: none; }
body.design-aetherion .sb-brand {
    background: none;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    text-align: center;
    padding: 16px 8px 14px;
    gap: 8px;
}
body.design-aetherion .sb-brand-logo {
    width: 42px; height: 42px;
    background: none;
    box-shadow: none;
    border: 1.6px solid var(--primary);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    color: var(--primary);
}
body.design-aetherion .sb-brand-name {
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 0.18em;
    line-height: 1.3;
}
body.design-aetherion .sb-brand-tag {
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.14em;
    color: var(--primary);
}
body.design-aetherion .sb-brand,
body.design-aetherion .sb-footer { flex-shrink: 0; }
body.design-aetherion .sb-nav {
    padding: 8px 6px;
    gap: 4px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}
body.design-aetherion .sb-nav-label { display: none; }
body.design-aetherion .sb-item {
    flex-direction: column;
    flex-shrink: 0;
    gap: 4px;
    padding: 8px 6px;
    text-align: center;
    border-radius: 0;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    overflow: visible;
}
body.design-aetherion .sb-item-label {
    flex: none;
    width: 100%;
    white-space: normal;
    line-height: 1.15;
    overflow: visible;
}
body.design-aetherion .sb-item-icon {
    background: none;
    border: 0;
    width: 26px; height: 26px;
    padding: 0;
}
body.design-aetherion .sb-item:hover {
    color: var(--primary-light);
    background: rgba(62,232,255,0.08);
    border-color: var(--line);
    transform: none;
}
body.design-aetherion .sb-item.active {
    color: var(--secondary);
    background: rgba(62,232,255,0.08);
    border-color: var(--line);
    box-shadow: inset 0 0 18px rgba(62,232,255,0.08);
}
body.design-aetherion .sb-item.active::after { display: none; }
body.design-aetherion .sb-item.active .sb-item-icon { background: none; color: var(--secondary); }
body.design-aetherion .sb-item.sb-extra { display: flex; }
body.design-aetherion .sb-subgroup { display: none; }
body.design-aetherion .sb-external {
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    justify-content: center;
}
body.design-aetherion .sb-userchip {
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 1px solid var(--line);
    padding: 8px 6px;
    gap: 6px;
}
body.design-aetherion .sb-userchip-ava {
    margin: 0 auto;
    background: none;
    border: 1px solid var(--primary);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    color: var(--primary);
    font-family: var(--font-display);
}
body.design-aetherion .sb-userchip-pip { display: none; }

body.design-aetherion .main-nav {
    background: var(--bg-card);
    border: 1px solid var(--line);
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}
body.design-aetherion .nav-btn.active {
    color: var(--secondary);
    background: rgba(62,232,255,0.1);
}

body.design-aetherion .card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 0;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
}
body.design-aetherion .card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-glow);
    transform: none;
}
body.design-aetherion .card-header {
    background: linear-gradient(90deg, rgba(62,232,255,0.1), transparent);
    border-bottom: 1px solid var(--line);
}
body.design-aetherion .card-header h2 {
    font-size: 11px;
    color: var(--primary-light);
}
body.design-aetherion .card-header > svg { color: var(--primary); filter: drop-shadow(0 0 6px rgba(62,232,255,0.6)); }
body.design-aetherion .stat-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
body.design-aetherion .stat-value { color: var(--secondary); font-size: 20px; }
body.design-aetherion .list-item:hover { background: rgba(62,232,255,0.06); }
body.design-aetherion .account-login { color: var(--primary-light); font-family: var(--font-mono); }

body.design-aetherion .btn,
body.design-aetherion .btn-primary,
body.design-aetherion .welcome-btn-primary {
    background: var(--gradient-primary);
    color: #041018;
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    border: 0;
    border-radius: 0;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    box-shadow: var(--shadow-glow);
}
body.design-aetherion .btn[style*="#2eb85a"],
body.design-aetherion .btn[style*="2eb85a"] {
    background: var(--gradient-success) !important;
    color: #041018 !important;
}
body.design-aetherion .btn[style*="#6366f1"],
body.design-aetherion .btn[style*="6366f1"] {
    background: var(--gradient-primary) !important;
    color: #041018 !important;
}
body.design-aetherion .form-input,
body.design-aetherion .form-select,
body.design-aetherion input[type="text"],
body.design-aetherion input[type="password"],
body.design-aetherion input[type="email"],
body.design-aetherion input[type="number"] {
    background: rgba(62,232,255,0.05);
    border: 1px solid var(--line);
    border-radius: 0;
    color: var(--text-primary);
    font-family: var(--font-mono);
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
body.design-aetherion .form-input:focus,
body.design-aetherion input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(62,232,255,0.16);
    outline: none;
}

body.design-aetherion thead th {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--primary);
    border-bottom: 1px solid var(--line);
}
body.design-aetherion tbody tr:hover { background: rgba(62,232,255,0.06); }
body.design-aetherion .badge, body.design-aetherion .chip {
    background: rgba(62,232,255,0.1);
    color: var(--primary-light);
    border: 1px solid var(--line);
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 10px;
}
body.design-aetherion .wh-slot, body.design-aetherion .inventory-slot {
    background: rgba(8,14,28,0.8);
    border: 1px solid var(--line);
    border-radius: 0;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
body.design-aetherion .wh-slot:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 16px rgba(232,195,106,0.25);
}
body.design-aetherion .modal-content {
    background: rgba(8,14,28,0.96);
    border: 1px solid var(--line);
    border-radius: 0;
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

body.design-aetherion .welcome-main {
    background: rgba(9,16,32,0.7);
    border: 1px solid var(--line);
    clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}
body.design-aetherion .welcome-title-gradient {
    color: var(--primary-light);
    background: none;
    -webkit-text-fill-color: unset;
    text-shadow: 0 0 18px rgba(62,232,255,0.4);
}
body.design-aetherion .welcome-feature-card {
    background: rgba(62,232,255,0.05);
    border: 1px solid var(--line);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

body.design-aetherion.auth-page {
    background:
        radial-gradient(800px 500px at 50% 0%, rgba(62,232,255,0.12), transparent 50%),
        #04050b !important;
}
body.design-aetherion.auth-page .login-container,
body.design-aetherion.auth-page .register-container {
    background: rgba(9,16,32,0.86);
    border: 1px solid var(--line);
    border-radius: 0;
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    backdrop-filter: blur(18px);
    position: relative;
    z-index: 2;
}
body.design-aetherion.auth-page h1 {
    letter-spacing: 0.28em;
    color: var(--primary-light);
    background: none;
    -webkit-text-fill-color: unset;
    text-shadow: 0 0 18px rgba(62,232,255,0.45);
    font-size: 22px;
}
body.design-aetherion.auth-page .subtitle {
    font-family: var(--font-mono);
    color: var(--primary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 11px;
}
body.design-aetherion.auth-page label {
    font-family: var(--font-mono);
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 11px;
}
body.design-aetherion.auth-page input {
    background: rgba(62,232,255,0.05);
    border: 1px solid var(--line);
    color: var(--text-primary);
    border-radius: 0;
    font-family: var(--font-mono);
}
body.design-aetherion.auth-page .btn {
    background: var(--gradient-primary);
    color: #041018;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
body.design-aetherion.auth-page .link a { color: var(--secondary); }
body.design-aetherion.auth-page .auth-ghost {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #f0d48a;
    background:
        linear-gradient(180deg, rgba(232,195,106,0.10), rgba(232,195,106,0.03));
    border: 1px solid rgba(232, 195, 106, 0.42);
    border-radius: 0;
    box-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.12);
}
body.design-aetherion.auth-page .auth-ghost:hover {
    color: #fff6d6;
    background:
        linear-gradient(180deg, rgba(232,195,106,0.18), rgba(62,232,255,0.05));
    border-color: rgba(232, 195, 106, 0.78);
    box-shadow:
        inset 0 1px 0 rgba(255, 244, 214, 0.2),
        0 0 18px rgba(232, 195, 106, 0.16);
}

body.design-aetherion.light-theme .lk-sidebar {
    background: rgba(255,255,255,0.94);
}
body.design-aetherion.light-theme .header {
    background: rgba(255,255,255,0.9);
}
body.design-aetherion.light-theme .logo {
    color: var(--primary);
    text-shadow: none;
}
body.design-aetherion.light-theme .lk-fx__vignette {
    background: radial-gradient(circle at 50% 45%, transparent 55%, rgba(10,90,110,0.08) 100%);
}
body.design-aetherion.light-theme .lk-fx__noise { opacity: 0.03; }
body.design-aetherion.light-theme .user-menu-popup {
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--line);
    box-shadow: 0 18px 48px rgba(7, 16, 24, 0.16);
}
body.design-aetherion.light-theme .user-menu-username {
    color: var(--text-primary);
    border-bottom-color: var(--line);
}
body.design-aetherion.light-theme .user-menu-item {
    color: var(--text-primary);
}
body.design-aetherion.light-theme .user-menu-item:hover {
    background: rgba(13, 115, 138, 0.1);
    color: var(--text-primary);
}
body.design-aetherion.light-theme .user-menu-divider,
body.design-aetherion.light-theme .user-menu-divider:hover {
    background: var(--line);
}
body.design-aetherion.light-theme .card-header h2,
body.design-aetherion.light-theme .page-header h2,
body.design-aetherion.light-theme .welcome-title-gradient,
body.design-aetherion.light-theme .account-login,
body.design-aetherion.light-theme .badge,
body.design-aetherion.light-theme .chip {
    color: var(--primary-light);
    text-shadow: none;
    -webkit-text-fill-color: unset;
}
body.design-aetherion.light-theme .card-header h2 {
    font-size: 12px;
    font-weight: 700;
}
body.design-aetherion.light-theme .card-header {
    background: linear-gradient(90deg, rgba(13,115,138,0.1), transparent);
}
body.design-aetherion.light-theme .header-balance,
body.design-aetherion.light-theme .header-warehouse,
body.design-aetherion.light-theme .lk-server-switcher {
    background: rgba(13,115,138,0.08) !important;
    color: var(--text-primary);
}
body.design-aetherion.light-theme .header-balance-val {
    color: var(--secondary);
}
body.design-aetherion.light-theme .sb-item:hover {
    color: var(--primary);
    background: rgba(13,115,138,0.08);
}
body.design-aetherion.light-theme .form-input,
body.design-aetherion.light-theme .form-select,
body.design-aetherion.light-theme input[type="text"],
body.design-aetherion.light-theme input[type="password"],
body.design-aetherion.light-theme input[type="email"],
body.design-aetherion.light-theme input[type="number"] {
    background: #ffffff;
    color: var(--text-primary);
}
body.design-aetherion.light-theme input::placeholder {
    color: var(--text-muted);
    opacity: 1;
}
body.design-aetherion.light-theme .wh-slot,
body.design-aetherion.light-theme .inventory-slot {
    background: rgba(232, 244, 255, 0.95);
}
body.design-aetherion.light-theme .modal-content,
body.design-aetherion.light-theme .welcome-main {
    background: rgba(255,255,255,0.96);
}
body.design-aetherion.light-theme .welcome-feature-card {
    background: rgba(13,115,138,0.06);
}
body.design-aetherion.light-theme.auth-page {
    background:
        radial-gradient(800px 500px at 50% 0%, rgba(13,115,138,0.12), transparent 50%),
        var(--bg-primary) !important;
}
body.design-aetherion.light-theme.auth-page .login-container,
body.design-aetherion.light-theme.auth-page .register-container {
    background: rgba(255,255,255,0.94);
}
body.design-aetherion.light-theme.auth-page h1 {
    color: var(--primary);
    text-shadow: none;
}
body.design-aetherion.light-theme.auth-page label {
    color: var(--text-secondary);
}
body.design-aetherion.light-theme.auth-page input {
    background: #ffffff;
    color: var(--text-primary);
}
body.design-aetherion.light-theme.auth-page .auth-ghost {
    color: #8a6414;
    background: linear-gradient(180deg, rgba(138,100,20,0.08), rgba(138,100,20,0.03));
    border-color: rgba(138, 100, 20, 0.4);
    box-shadow: none;
}
body.design-aetherion.light-theme.auth-page .auth-ghost:hover {
    color: #6d4e0c;
    background: rgba(138, 100, 20, 0.1);
    border-color: rgba(138, 100, 20, 0.65);
    box-shadow: 0 0 0 3px rgba(138, 100, 20, 0.08);
}

/* Админка: нативный <select> в Windows рисует светлый список.
   HUD-чернила (#e7f4ff) на нём не читаются. Поля оставляем тёмными, option — тёмные на белом. */
body.design-aetherion.lk-admin-page .form-input,
body.design-aetherion.lk-admin-page .form-select,
body.design-aetherion.lk-admin-page textarea.form-input,
body.design-aetherion.lk-admin-page input[type="text"],
body.design-aetherion.lk-admin-page input[type="password"],
body.design-aetherion.lk-admin-page input[type="email"],
body.design-aetherion.lk-admin-page input[type="number"],
body.design-aetherion.lk-admin-page select {
    clip-path: none;
    border-radius: 10px;
    background: #0c1828;
    color: #e8f4ff;
    font-family: var(--font-ui);
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
}
body.design-aetherion.lk-admin-page .form-select option,
body.design-aetherion.lk-admin-page select option,
body.design-aetherion.lk-admin-page optgroup {
    color: #102030;
    background-color: #ffffff;
    font-family: var(--font-ui);
    font-size: 14px;
}
body.design-aetherion.lk-admin-page .form-select option:checked,
body.design-aetherion.lk-admin-page select option:checked,
body.design-aetherion.lk-admin-page .form-select option:hover,
body.design-aetherion.lk-admin-page select option:hover {
    color: #102030;
    background-color: #d7eef6;
}
body.design-aetherion.lk-admin-page .form-label,
body.design-aetherion.lk-admin-page label {
    color: #d7e8f5;
    font-family: var(--font-ui);
    letter-spacing: 0.02em;
    text-transform: none;
}
body.design-aetherion.lk-admin-page .card-header h2,
body.design-aetherion.lk-admin-page .page-header h2 {
    font-size: 15px;
    letter-spacing: 0.06em;
    color: #b9f4ff;
}
body.design-aetherion.lk-admin-page thead th {
    font-size: 12px;
    color: #9edff0;
}
body.design-aetherion.lk-admin-page .btn,
body.design-aetherion.lk-admin-page .btn-primary {
    clip-path: none;
    border-radius: 10px;
    font-family: var(--font-ui);
    font-size: 13px;
    letter-spacing: 0.04em;
}

@media (max-width: 899px) {
    body.design-aetherion .lk-fx__frame,
    body.design-aetherion .header::before,
    body.design-aetherion .header::after { display: none; }
    body.design-aetherion .lk-menu-btn,
    body.design-aetherion .lk-sidebar,
    body.design-aetherion .lk-sidebar-overlay,
    body.design-aetherion .sb-item.sb-extra,
    body.design-aetherion .sb-userchip { display: none !important; }
    body.design-aetherion:not(.lk-admin-page) .header,
    body.design-aetherion:not(.lk-admin-page) main.main {
        margin-left: 0 !important;
        width: 100% !important;
    }
    body.design-aetherion .lk-layout { display: block; padding: 8px 0 16px; }
    body.design-aetherion .header { padding: 10px 0; clip-path: none; }
    body.design-aetherion .logo { font-size: 16px; letter-spacing: 0.04em; text-transform: none; }
    body.design-aetherion .card,
    body.design-aetherion .stat-card,
    body.design-aetherion .main-nav,
    body.design-aetherion .btn,
    body.design-aetherion .btn-primary,
    body.design-aetherion .welcome-btn-primary,
    body.design-aetherion .form-input,
    body.design-aetherion .form-select,
    body.design-aetherion input,
    body.design-aetherion .welcome-main,
    body.design-aetherion .welcome-feature-card,
    body.design-aetherion .wh-slot,
    body.design-aetherion .inventory-slot,
    body.design-aetherion .modal-content,
    body.design-aetherion .header-balance,
    body.design-aetherion .header-warehouse,
    body.design-aetherion .lk-server-switcher {
        clip-path: none;
    }
    body.design-aetherion .card,
    body.design-aetherion .main-nav { border-radius: 14px; }
    body.design-aetherion .btn,
    body.design-aetherion .btn-primary { border-radius: 10px; }
    body.design-aetherion .form-input,
    body.design-aetherion .form-select,
    body.design-aetherion input { border-radius: 10px; }
}
