html[data-vace-theme="light"] { color-scheme: light; }
html[data-vace-theme="dark"] {
    color-scheme: dark;
    --vace-dark-page: #111524;
    --vace-dark-surface: #1a2033;
    --vace-dark-muted: #b7c3da;
}

.vace-theme-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 38px;
    min-height: 38px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #d3ddf2;
    font: inherit;
    cursor: pointer;
}

.vace-theme-toggle:hover { color: #fff; background: #bac9ee22; }
.vace-theme-toggle:focus-visible { outline: 2px solid #78b9ff; outline-offset: 2px; }
.vace-theme-toggle .vace-theme-moon, .vace-theme-label, .vace-theme-track { display: none; }
html[data-vace-theme="dark"] .vace-theme-toggle .vace-theme-sun { display: none; }
html[data-vace-theme="dark"] .vace-theme-toggle .vace-theme-moon { display: inline-block; }

@media (min-width: 48rem) {
    html[data-vace-theme] .vace-theme-toggle--header { display: inline-flex; }
}

@media (max-width: 47.99rem) {
    html[data-vace-theme] .vace-theme-toggle--mobile {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        gap: .65rem;
        margin-top: .2rem;
        padding-inline: .75rem;
        text-align: left;
        font-size: .82rem;
        font-weight: 750;
    }

    .vace-theme-toggle--mobile .vace-theme-label { display: inline; }
    .vace-theme-toggle--mobile .vace-theme-track {
        display: inline-flex;
        align-items: center;
        width: 34px;
        height: 19px;
        margin-inline-start: auto;
        padding-inline: 3px;
        border: 1px solid currentColor;
        border-radius: 12px;
        color: #9eaccb;
    }
    .vace-theme-track::after {
        content: "";
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: currentColor;
    }
    .vace-theme-toggle[aria-pressed="true"] .vace-theme-track {
        justify-content: flex-end;
        color: #11213f;
        background: #9cc9ff;
        border-color: #9cc9ff;
    }
}

html[data-vace-theme] .vace-theme-toggle--standalone {
    display: inline-flex;
    position: absolute;
    top: 1rem;
    right: 1rem;
    border-color: #a0b2d24d;
}

/* Shared surfaces */
html[data-vace-theme="dark"] body.vace-design { background: var(--vace-dark-page); color: #edf2ff; }
html[data-vace-theme="dark"] .vace-design .site-main { --vace-ink: #edf2ff; --vace-line: #45516a; --vace-blue: #a4c7ff; }
html[data-vace-theme="dark"] .vace-design .tv-footer { background: #101320; }

html[data-vace-theme="light"] .site-floating-header {
    background: #fcfdfffa;
    border-color: #8ca3c84d;
    box-shadow: 0 7px 25px #0e162a30;
}
html[data-vace-theme="light"] .site-floating-header .site-brand span { color: #192647; }
html[data-vace-theme="light"] .site-floating-header .site-brand img { filter: drop-shadow(0 1px 2px #17244266); }
html[data-vace-theme="light"] .site-floating-header :is(nav>a,.site-mobile-menu-link) { color: #39496b !important; }
html[data-vace-theme="light"] .site-floating-header :is(nav>a:hover,nav>a[aria-current="page"],.site-mobile-menu-link.is-active) {
    color: #153a7e !important;
    background: #e4edfc !important;
}
html[data-vace-theme="light"] .site-floating-header .site-desktop-nav a[aria-current="page"] > span { background: #417bce; box-shadow: none; }
html[data-vace-theme="light"] .site-floating-header :is(.site-nav-action,.site-account-trigger,.site-mobile-menu-button,.tv-notification-trigger,.vace-theme-toggle),
html[data-vace-theme="light"] .vace-theme-toggle--standalone { color: #354c77; }
html[data-vace-theme="light"] .site-floating-header :is(.site-nav-action:hover,.site-nav-action.is-active,.site-account-trigger:hover,.site-mobile-menu-button:hover,.tv-notification-trigger:hover,.vace-theme-toggle:hover),
html[data-vace-theme="light"] .vace-theme-toggle--standalone:hover { background: #e4edfc; color: #163d83; }
html[data-vace-theme="light"] .site-floating-header .site-mobile-menu-button > span { background: #354c77; }
html[data-vace-theme="light"] .site-floating-header :is(.site-account-trigger span,.site-account-trigger i) { color: #263d66; }
html[data-vace-theme="light"] .site-floating-header :is(.site-mobile-menu,.site-mobile-menu-actions,.site-account-dropdown > form,.site-nav-command-group) { border-color: #c7d5eb; }
html[data-vace-theme="light"] .site-floating-header .site-account-dropdown,
html[data-vace-theme="light"] .site-floating-header .tv-notification-popover {
    color: #172442;
    background: #fff;
    border-color: #c7d5eb;
    box-shadow: 0 9px 30px #152b5a26;
}
html[data-vace-theme="light"] .site-floating-header :is(.site-account-dropdown,.tv-notification-popover) :is(strong,h2,h3) { color: #172442; }
html[data-vace-theme="light"] .site-floating-header :is(.site-account-dropdown,.tv-notification-popover) :is(small,p) { color: #4a5b79; }
html[data-vace-theme="light"] .site-floating-header :is(.site-account-dropdown a,.site-account-dropdown button,.tv-notification-popover a,.tv-notification-popover button) { color: #314d7b; }
html[data-vace-theme="light"] .site-floating-header .site-account-dropdown :is(a:hover,button:hover,a.is-active) { background: #e7eefb; color: #123b81; }
html[data-vace-theme="light"] .site-floating-header .site-account-dropdown .site-account-logout { color: #a52c3b; }
html[data-vace-theme="light"] .site-floating-header .vace-theme-track { color: #586d94; }
@media (min-width: 48rem) and (max-width: 65rem) {
    .vace-theme-toggle--header { width: 32px; }
    .site-floating-header:has(.site-nav-command-group) .site-desktop-nav > a { padding-inline: .43rem; }
}
@media (max-width: 39.99rem) {
    html[data-vace-theme] .cookie-consent-panel { inset-inline: .75rem; width: auto; transform: none; }
}

/* The illustrated hero retains its lighting in both modes. */
html[data-vace-theme="dark"] .vace-design.vace-home .site-main { color: #edf2ff; background: var(--vace-dark-page); }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-landing { background: #1b2545; }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-feature-band { background: #151c2d; }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-mode--wool { --mode-surface: #302956; --mode-ink: #efeaff; }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-mode--murder { --mode-surface: #412832; --mode-ink: #ffe3d4; }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-mode::before { background: #ffffff19; }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-headline { background: var(--vace-dark-surface); border-color: #394764; }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-headline-copy > p:first-child { color: #a4c7ff; }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-headline-summary { color: var(--vace-dark-muted); }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-community-band { background: #171d35; }
html[data-vace-theme="light"] .vace-design.vace-home .vace-community-band { background: #e4ebfa; color: #172442; }
html[data-vace-theme="light"] .vace-design.vace-home .vace-discord-meta { color: #273e6a; }
html[data-vace-theme="light"] .vace-design.vace-home .vace-discord-meta span { color: #273e6a; }
html[data-vace-theme="light"] .vace-design.vace-home .vace-discord-meta img { background: #5865f2; border-radius: 4px; padding: 3px; box-sizing: content-box; }
html[data-vace-theme="light"] .vace-design.vace-home .vace-discord :is(p,small) { color: #465777; }

html[data-vace-theme="dark"] .vace-design.vace-careers .site-main { color: #edf2ff; background: var(--vace-dark-page); }
html[data-vace-theme="dark"] .vace-design.vace-careers .apply-page .apply-area-navigation,
html[data-vace-theme="dark"] .vace-design.vace-careers .apply-page .apply-detail-view {
    background: var(--vace-dark-surface) !important;
    border-color: #45516a !important;
}
html[data-vace-theme="dark"] .vace-design.vace-careers .apply-page :is(.apply-area-navigation button,.apply-area-navigation-head span,.apply-area-navigation-head small,.apply-detail-header p,.apply-detail-footer p,.apply-values-grid span,.apply-requirement-list span,.apply-position-content,.apply-phase-track > div span) {
    color: #c6d3e9;
}
html[data-vace-theme="dark"] .vace-design.vace-careers .apply-page :is(.apply-area-navigation button>i,.apply-detail-eyebrow,.apply-phase-track>i,.apply-values-grid i,.apply-phase-track div i) { color: #a5c7ff; }
html[data-vace-theme="dark"] .vace-design.vace-careers .apply-page :is(.apply-area-navigation button:hover,.apply-phase-track > div > i) { background: #2e4168; border-color: #52698c; }
html[data-vace-theme="dark"] .vace-design.vace-careers .apply-page :is(.apply-values-grid,.apply-phase-track) > div {
    color: #e9f1ff;
    background: #222c44;
    border-color: #405177;
}
html[data-vace-theme="dark"] .vace-design.vace-careers .apply-page .apply-values-grid strong { color: #f0f5ff; }
html[data-vace-theme="dark"] .vace-design.vace-careers .apply-page .apply-detail-section { border-color: #45516a; }

/* Account surfaces and dialogs keep usable contrast in light mode. */
html[data-vace-theme="light"] .vace-theme-auth .auth-standalone { color: #172442; background: #eef3fb; }
html[data-vace-theme="light"] .vace-theme-auth .auth-standalone > a { color: #263d66; }
html[data-vace-theme="light"] .tv-public-clean :is(.auth-card.auth-modal-panel,.auth-standalone-card,.cookie-consent-panel,.cookie-consent-card) {
    background: #fff;
    color: #172442;
    border-color: #cdd9ed;
    box-shadow: 0 12px 32px #1c34522e;
}
html[data-vace-theme="light"] .tv-public-clean :is(.auth-card.auth-modal-panel,.auth-standalone-card,.cookie-consent-panel) :is(h1,h2,h3,label,.auth-brand-name) { color: #192d53; }
html[data-vace-theme="light"] .tv-public-clean :is(.auth-card.auth-modal-panel,.auth-standalone-card,.cookie-consent-panel) :is(p,small,.text-gray-600,.text-gray-700,.text-gray-900,.auth-brand-area,.auth-divider) { color: #475b7b; }
html[data-vace-theme="light"] .tv-public-clean .auth-modal-panel :is(.auth-mini-link,.auth-switch-copy button,.auth-mode-switch,.auth-modal-close) { color: #224e9c; }
html[data-vace-theme="light"] .tv-public-clean :is(.auth-modal-panel.auth-card .auth-input,.auth-modal-panel.auth-card .auth-token-input,.auth-standalone-card input:not([type="checkbox"])) {
    color: #162a4e;
    background: #f1f5fb !important;
    border-color: #b9c9e6 !important;
}
html[data-vace-theme="light"] .tv-public-clean .auth-modal-panel .auth-input::placeholder { color: #64799e; }
html[data-vace-theme="light"] .tv-public-clean .auth-modal-panel :is(.auth-mode-tabs,.auth-mode-tabs button,.auth-link-step) { color: #405777; background: #eff4fc; border-color: #cbd9ed; }
html[data-vace-theme="light"] .tv-public-clean .auth-modal-panel .auth-mode-tabs button.is-active { color: #164684 !important; background: #dce8fc !important; border-color: #c3d6f0 !important; }
html[data-vace-theme="light"] .tv-public-clean .auth-modal-panel .auth-submit-button.auth-login-submit { color: #fff; background: #2853a9; border-color: #2853a9; }
html[data-vace-theme="light"] .tv-public-clean .auth-modal-panel .auth-submit-button.auth-login-submit:hover { background: #214588; }
html[data-vace-theme="light"] .tv-public-clean .cookie-consent-panel :is(a,.cookie-consent-link) { color: #36567d; }
html[data-vace-theme="light"] .tv-public-clean :is(.cookie-consent-primary,.cookie-consent-secondary,.cookie-consent-save) { color: #243f70; background: #eaf0fb; border-color: #c6d4eb; }
html[data-vace-theme="light"] .tv-public-clean :is(.cookie-consent-primary,.cookie-consent-secondary,.cookie-consent-save):hover { background: #dbe8fc; }
html[data-vace-theme="light"] .tv-public-clean .cookie-consent-panel .cookie-consent-option { color: #334e78; background: #ecf2fc; border-color: #c6d4eb; }

html[data-vace-theme="light"] .vace-design .imprint-simple-page { background: #edf2fb; color: #172442; }
html[data-vace-theme="light"] .vace-design .imprint-simple-page h1 { color: #172442; }
html[data-vace-theme="light"] .vace-design .imprint-simple-page .imprint-simple-card { color: #384b6c; background: #fff; border-color: #cbd9e9; box-shadow: none; }
html[data-vace-theme="light"] .vace-design .imprint-simple-card :is(h2,h3,strong) { color: #192d53; }
html[data-vace-theme="light"] .vace-design .imprint-simple-card :is(p,li) { color: #435675; }
html[data-vace-theme="light"] .vace-design .imprint-simple-card a { color: #2256ac; }

html[data-vace-theme="dark"] .vace-theme-app > div { background: #141a29; color: #edf2ff; }
html[data-vace-theme="dark"] .vace-theme-app > div > header { background: #1c263d; color: #edf2ff; }

.vace-theme-toggle--header { border-color: #9db4df38; }
html[data-vace-theme="light"] .vace-theme-toggle--header { border-color: #94aacf7d; }
@media (max-width: 47.99rem) {
    html[data-vace-theme] .site-floating-header .site-mobile-menu {
        max-height: calc(100dvh - 6.25rem);
        overflow-y: auto;
        overscroll-behavior-y: contain;
    }
}

html[data-vace-theme="light"] .tv-public-clean .auth-modal-panel .auth-discord-button {
    color: #fff;
    background: #5865f2;
    border-color: #5865f2;
}
html[data-vace-theme="light"] .tv-public-clean .auth-modal-panel .auth-discord-button:hover { background: #4653d8; border-color: #4653d8; }
html[data-vace-theme="light"] .tv-public-clean .auth-modal-panel .auth-discord-button :is(span,i) { color: #fff; }
html[data-vace-theme="light"] .tv-public-clean .auth-modal-panel .auth-input-wrap > i { color: #4d668e; }

/* News and Wiki */
html[data-vace-theme="dark"] .vace-design .vace-editorial {
    --vace-ed-paper: var(--vace-dark-page, #101528);
    --vace-ed-ink: #edf2ff;
    --vace-ed-muted: var(--vace-dark-muted, #b6c4df);
    --vace-ed-line: #34425e;
    --vace-ed-link: #a0c5ff;
    --vace-ed-surface: var(--vace-dark-surface, #171f36);
    --vace-ed-subtle: #222e49;
    --vace-ed-selected: #2e446c;
    color-scheme: dark;
}

html[data-vace-theme="dark"] .vace-editorial :is(.vace-ed-top-story,.vace-ed-story,.vace-ed-wiki-tile,.vace-ed-related .news-editorial-related-item) {
    background: var(--vace-ed-surface);
}
html[data-vace-theme="dark"] .vace-editorial :is(.vace-ed-story-image,.vace-ed-wiki-symbol,.vace-ed-search) {
    color: var(--vace-ed-link);
    background: var(--vace-ed-subtle);
}
html[data-vace-theme="dark"] .vace-editorial :is(.vace-ed-search > i,.vace-ed-wiki-arrow,.wiki-article-info-header i,.wiki-modern-nav-category i,.news-detail-facts dt i) {
    color: var(--vace-ed-link);
}
html[data-vace-theme="dark"] .vace-editorial .vace-ed-search #wiki-search {
    color: var(--vace-ed-ink) !important;
    background: var(--vace-ed-subtle) !important;
    color-scheme: dark;
}
html[data-vace-theme="dark"] .vace-editorial .vace-ed-topics > a > span { color: var(--vace-ed-muted); }
html[data-vace-theme="dark"] .vace-editorial .vace-ed-topics > a:is(:hover,[aria-current]),
html[data-vace-theme="dark"] .vace-editorial .wiki-modern-nav-inner :is(a:hover,a.is-active) {
    color: #e2edff;
    background: var(--vace-ed-selected);
}
html[data-vace-theme="dark"] .vace-editorial .site-pagination a { background: var(--vace-ed-surface) !important; }
html[data-vace-theme="dark"] .vace-editorial .site-pagination span[aria-current=page] span {
    color: #e2edff !important;
    background: var(--vace-ed-selected) !important;
}
html[data-vace-theme="dark"] .vace-design .vace-editorial .news-detail-grid :is(.news-article-shell,.news-community-panel,.news-meta-card),
html[data-vace-theme="dark"] .vace-design .vace-editorial .wiki-library-reader {
    background: var(--vace-ed-surface) !important;
}
html[data-vace-theme="dark"] .vace-editorial .article-content { color: #d6e0f1; }
html[data-vace-theme="dark"] .vace-editorial .article-content :is(pre,blockquote,th) {
    color: var(--vace-ed-ink);
    background: var(--vace-ed-subtle);
    border-color: var(--vace-ed-line);
}
html[data-vace-theme="dark"] .vace-editorial :is(.news-detail-copy-link,.news-comments-login,.news-comment-composer,.wiki-article-info-header button,.wiki-helpful-button,.wiki-modern-prev-next a,.wiki-modern-nav-mobile) {
    color: var(--vace-ed-ink);
    background: var(--vace-ed-subtle);
    border-color: var(--vace-ed-line);
}
html[data-vace-theme="dark"] .vace-editorial :is(.news-detail-copy-link,.wiki-helpful-button,.wiki-modern-prev-next a):hover {
    color: #e2edff;
    background: var(--vace-ed-selected);
}
html[data-vace-theme="dark"] .vace-design .vace-editorial .news-detail-meta-card .news-like-wide {
    color: var(--vace-ed-ink) !important;
    background: var(--vace-ed-subtle) !important;
    border-color: var(--vace-ed-line) !important;
}
html[data-vace-theme="dark"] .vace-design .vace-editorial .news-detail-meta-card .news-like-wide:hover {
    color: #e2edff !important;
    background: var(--vace-ed-selected) !important;
}
html[data-vace-theme="dark"] .vace-design .vace-editorial .news-detail-meta-card .news-like-wide.is-liked {
    color: #fac5da !important;
    background: #472539 !important;
    border-color: #78506a !important;
}
html[data-vace-theme="dark"] .vace-editorial :is(.news-like-wide strong,.news-comments-total,.news-detail-topics a) {
    color: #e2edff;
    background: var(--vace-ed-selected);
}
html[data-vace-theme="dark"] .vace-editorial .news-like-wide.is-liked strong {
    color: #fac5da;
    background: #66324e;
}
html[data-vace-theme="dark"] .vace-design .vace-editorial .news-comment-composer textarea {
    color: var(--vace-ed-ink) !important;
    background: var(--vace-ed-surface) !important;
}

/* Team and player rankings */
html[data-vace-theme="dark"] .vace-design .vace-community {
    --vc-paper: var(--vace-dark-page, #101528);
    --vc-ink: #edf2ff;
    --vc-muted: var(--vace-dark-muted, #b6c4df);
    --vc-blue: #a0c5ff;
    --vc-line: #34425e;
    --vc-surface: var(--vace-dark-surface, #171f36);
    --vc-subtle: #222e49;
    --vc-selected: #2e446c;
    color-scheme: dark;
}
html[data-vace-theme="dark"] .vace-design .vace-community :is(
    .vc-team-search,.vc-person,.vc-stats-mode,.vc-stats-leader,.vc-stats-empty,
    .vc-stats-table-wrap,.vc-stats-mobile-player,.vc-compare-table-wrap,.vc-matchup-swap,.vc-matchup-tab
) { background: var(--vc-surface); }

html[data-vace-theme="dark"] .vace-design .vace-community :is(
    .vc-team-filter,.vc-team-filter span,.vc-team-search button,.vc-person-arrow,
    .vc-stats-profile-arrow,.vc-stats-rank,.vc-stats-periods a,.vc-stats-mobile-player .vc-stats-player > i
) { color: var(--vc-muted); }

html[data-vace-theme="dark"] .vace-design .vc-team-filter:hover,
html[data-vace-theme="dark"] .vace-design .vc-stats-mode:hover,
html[data-vace-theme="dark"] .vace-design :is(.vc-matchup-swap,.vc-matchup-tab):hover {
    background: var(--vc-subtle);
}
html[data-vace-theme="dark"] .vace-design .vc-team-filter.is-active,
html[data-vace-theme="dark"] .vace-design .vc-stats-mode.is-active,
html[data-vace-theme="dark"] .vace-design :is(.vc-stats-periods a:is(:hover,.is-active),.vc-matchup-tab.is-active) {
    color: #e2edff;
    background: var(--vc-selected);
}
html[data-vace-theme="dark"] .vace-design .vc-team-search { border-color: var(--vc-line); }
html[data-vace-theme="dark"] .vace-design .vc-team-search input::placeholder { color: var(--vc-muted); }
html[data-vace-theme="dark"] .vace-design .vc-team-section-title > i {
    color: color-mix(in srgb, var(--team-color) 45%, #e6ecff);
    background: color-mix(in srgb, var(--team-color) 24%, var(--vc-surface));
}
html[data-vace-theme="dark"] .vace-design .vc-person:hover {
    border-color: color-mix(in srgb, var(--team-color) 60%, var(--vc-line));
    background: color-mix(in srgb, var(--team-color) 13%, var(--vc-surface));
}
html[data-vace-theme="dark"] .vace-design .vc-person-role {
    color: color-mix(in srgb, var(--team-color) 47%, #edf2ff);
}
html[data-vace-theme="dark"] .vace-design .vc-person-avatar img { background: var(--vc-subtle); }
html[data-vace-theme="dark"] .vace-design .vc-person-online,
html[data-vace-theme="dark"] .vace-design .vc-stats-player-avatar span { border-color: var(--vc-surface); background: #45d6a0; }
html[data-vace-theme="dark"] .vace-design .vc-person-info .is-online { color: #8cf0c5; }
html[data-vace-theme="dark"] .vace-design .vc-stats-mode { color: var(--vc-ink); }
html[data-vace-theme="dark"] .vace-design .vc-stats-mode i,
html[data-vace-theme="dark"] .vace-design .vc-stats-leader-avatar i { color: var(--vc-gold); }
html[data-vace-theme="dark"] .vace-design :is(.vc-stats-own,.vc-matchup-player,.vc-compare-empty-icon) {
    color: var(--vc-ink);
    border-color: var(--vc-line);
    background: var(--vc-subtle);
}
html[data-vace-theme="dark"] .vace-design .vc-stats-own:hover { border-color: var(--vc-blue); }
html[data-vace-theme="dark"] .vace-design .vc-stats-leader-score strong { color: #bfd2f3; }
html[data-vace-theme="dark"] .vace-design .vc-stats-leader.vc-stats-place-1 {
    background: #302833;
    border-inline-color: #7a6346;
}
html[data-vace-theme="dark"] .vace-design .vc-stats-place-1 .vc-stats-leader-score strong { color: #ffda80; }
html[data-vace-theme="dark"] .vace-design .vc-stats-place-3 .vc-stats-leader-score strong { color: #f5ceb4; }
html[data-vace-theme="dark"] .vace-design :is(.vc-stats-table,.vc-compare-table) thead {
    color: #dde8ff;
    background: var(--vc-selected);
}
html[data-vace-theme="dark"] .vace-design :is(.vc-stats-table,.vc-compare-table) tbody > tr:nth-child(even) {
    background: var(--vc-subtle);
}
html[data-vace-theme="dark"] .vace-design .vc-stats-primary { color: var(--vc-blue); }
html[data-vace-theme="dark"] .vace-design .vc-matchup-player.vc-matchup-player-right { border-color: #735d49; background: #302833; }
html[data-vace-theme="dark"] .vace-design .vc-matchup-swap { border-color: var(--vc-line); }
html[data-vace-theme="dark"] .vace-design .vc-compare-table .is-winner { color: #8cf0c5; }
html[data-vace-theme="dark"] .vace-design .vc-matchup-placement.is-best-rank { color: #ffda80; }
html[data-vace-theme="dark"] .vace-design .vc-matchup-unavailable { color: #ffc0ca; background: #462634; }

/* Dashboard light mode. Artwork, profile covers and game dialogs keep their own palettes. */
html[data-vace-theme="light"] body.vace-design:has(.vace-work-shell),
html[data-vace-theme="light"] body.vace-design .vace-player .profile-content,
html[data-vace-theme="light"] body.vace-design .shop-modern-body {
    --workspace-bg: #f2f5f8;
    --workspace-surface: #fff;
    --workspace-soft: #e8eef8;
    --workspace-hover: #eaf1fa;
    --workspace-line: #d4dfeb;
    --workspace-strong-line: #a7b8d0;
    --workspace-text: #172442;
    --workspace-muted: #52647e;
    --workspace-accent: #2753ad;
    --public-bg: var(--workspace-bg);
    --public-surface: var(--workspace-surface);
    --public-surface-soft: var(--workspace-soft);
    --public-text: var(--workspace-text);
    --public-muted: var(--workspace-muted);
    --public-line: var(--workspace-line);
    --public-line-strong: var(--workspace-strong-line);
    --public-accent: var(--workspace-accent);
    --public-accent-hover: #1d428c;
    background-color: var(--workspace-bg);
    color: var(--workspace-text);
}

html[data-vace-theme="light"] .vace-design .vace-player .profile-content {
    --pt-bg: var(--workspace-bg);
    --pt-panel: var(--workspace-surface);
    --pt-soft: var(--workspace-soft);
    --pt-line: var(--workspace-line);
    --pt-text: var(--workspace-text);
    --pt-muted: var(--workspace-muted);
    --pt-surface: var(--pt-panel);
    --profile-link-color: color-mix(in srgb, var(--profile-accent, #2753ad) 46%, #152345);
    --public-accent: var(--profile-link-color);
    background-color: var(--pt-bg);
}

html[data-vace-theme="light"] .vace-design .vace-player[data-theme="midnight"] .profile-content {
    --workspace-bg: #edf2fa;
    --workspace-soft: #e4ecf8;
}

html[data-vace-theme="light"] .vace-design .vace-player[data-theme="forest"] .profile-content {
    --workspace-bg: #eff5f0;
    --workspace-soft: #e3efe6;
    --workspace-line: #cedfd1;
}

html[data-vace-theme="light"] .vace-design .vace-player[data-theme="copper"] .profile-content {
    --workspace-bg: #faf3ed;
    --workspace-soft: #f2e7db;
    --workspace-line: #e4d7ca;
}

html[data-vace-theme="light"] .vace-design .vace-player[data-theme="amethyst"] .profile-content {
    --workspace-bg: #f5eff9;
    --workspace-soft: #eee5f6;
    --workspace-line: #ddd1e8;
}

html[data-vace-theme="light"] .vace-design .vace-player[data-surface="glass"] .profile-content {
    --pt-surface: color-mix(in srgb, var(--pt-panel) 87%, transparent);
}

html[data-vace-theme="light"] #top.vace-design .vace-player .profile-tabs .profile-tab.is-active {
    color: var(--profile-link-color) !important;
    border-bottom-color: var(--profile-link-color) !important;
}

html[data-vace-theme="light"] #top.vace-design .vace-player .profile-content :is(.profile-tab.is-active .profile-tab-icon, .account-button, .applications-modern-open, .friends-search-icon, .profile-stats-period.is-active, .profile-friends-page.is-active, .profile-ticket-page.is-active) {
    color: var(--profile-link-color) !important;
}

html[data-vace-theme="light"] #top.vace-design .vace-player .profile-content :is(.overview-metrics, .profile-overview-panel, .profile-playtime-card, .overview-profile-heatmap, .profile-reward-card, .profile-reward-empty, .account-panel, .account-login-detail, .friends-disclosure, .profile-friend-card, .profile-friends-empty, .applications-modern-entry, .profile-stats-card, .profile-stats-summary, .profile-ticket-container, .profile-ticket-desktop, .profile-ticket-mobile-card, .ps-game, .ps-summary, .stats-game-card, .stats-summary, .stats-personal-mode, .site-panel, .site-card):not(:where(dialog *, [role="dialog"] *)) {
    background: var(--pt-surface) !important;
    border-color: var(--pt-line) !important;
    box-shadow: none !important;
}

html[data-vace-theme="light"] #top.vace-design .vace-player .profile-content :is(.account-panel-head, .account-panel-footer, .account-detail-body, .friends-directory-head, .profile-ticket-heading, .profile-ticket-filters, .profile-stats-periods):not(:where(dialog *, [role="dialog"] *)) {
    background: var(--pt-soft) !important;
    border-color: var(--pt-line) !important;
}

html[data-vace-theme="light"] .vace-design .vace-player .profile-content :is(.site-heading, .profile-friend-name, .profile-overview-connection strong, .overview-metric strong, .overview-metrics strong, .profile-playtime-card strong, .profile-ticket-name, .applications-modern-entry h3, .account-panel h2, .account-panel h3, .profile-stats-card strong, .profile-stats-summary strong, .ps-summary strong, .ps-game h3):not(:where(dialog *, [role="dialog"] *)) {
    color: var(--pt-text);
}

html[data-vace-theme="light"] .vace-design .vace-player .profile-content :is(.site-kicker, .profile-playtime-card-caption, .profile-activity-legend, .profile-activity-weekdays, .profile-activity-month, .ph-weekday, .ph-month, .ph-legend, .profile-overview-connection small, .profile-ticket-muted, .applications-modern-entry p, .applications-modern-entry time, .profile-stats-period, .profile-friends-page, .profile-ticket-page):not(:where(dialog *, [role="dialog"] *)) {
    color: var(--pt-muted);
}

html[data-vace-theme="light"] .vace-design .vace-player .profile-content :is(.ph-level-0, .profile-activity-cell:not([data-level])) {
    background: var(--pt-soft);
    border-color: var(--pt-line);
}

html[data-vace-theme="light"] #top.vace-design .vace-player .profile-content :is(.overview-profile-heatmap, .profile-activity-chart) :is(.ph-level-1, .ph-level-2, .ph-level-3, .ph-level-4) {
    --profile-accent: var(--profile-link-color);
}

html[data-vace-theme="light"] .vace-design .vace-player .profile-content :is(dialog, [role="dialog"]) {
    color-scheme: dark;
}

/* Shared administration, recruiting, moderation and logging palette. */
html[data-vace-theme="light"] .vace-design .vace-work-shell {
    --vace-work-line: var(--workspace-line);
    --vace-work-active: var(--workspace-accent);
}

html[data-vace-theme="light"] .vace-design .vace-work-shell .vace-work-mark {
    border-color: var(--workspace-line);
    background: var(--workspace-soft);
}

html[data-vace-theme="light"] #top.vace-design .vace-work-shell .vace-work-rail a.mod-nav-link {
    color: var(--workspace-muted) !important;
}

html[data-vace-theme="light"] #top.vace-design .vace-work-shell .vace-work-rail a.mod-nav-link:hover {
    background: var(--workspace-hover) !important;
}

html[data-vace-theme="light"] #top.vace-design .vace-work-shell .vace-work-rail a.mod-nav-link:is(.mod-nav-link-active, [aria-current="page"]) {
    color: var(--workspace-accent) !important;
    border-color: var(--workspace-line) !important;
    background: var(--workspace-soft) !important;
}

html[data-vace-theme="light"] #top.vace-design .vace-work-shell :is(.mod-quick-link, .mod-user-row, .ticket-mod-stat, .ticket-support-kpis, .ticket-support-volume, .ticket-support-ratings, .admin-dashboard-workspace, .player-file-intro > div, .player-file-stats > div, .recruiting-filter, .recruiting-list-surface, .recruiting-position-card, .log-card, .log-player-panel, .log-events, .log-table-panel, .mod-delete-modal, .ticket-admin-thread, .ticket-composer, .ticket-message):not(:where(.mod-page-head *, .mod-dashboard-hero *)) {
    background: var(--workspace-surface) !important;
    border-color: var(--workspace-line) !important;
    box-shadow: none !important;
}

html[data-vace-theme="light"] #top.vace-design .vace-work-shell :is(.log-search-fields, .log-search-filter, .log-filters, .log-filter-panel, .log-event-chip, .ticket-composer-toolbar, .ticket-composer-editor, .ticket-rich-content, .mod-table th, .ticket-statistics-periods, .admin-user-action) {
    background: var(--workspace-soft);
    border-color: var(--workspace-line);
    color: var(--workspace-text);
}

html[data-vace-theme="light"] .vace-design .vace-work-shell :is(.mod-title, .log-title, .log-hero h1, .log-hero h2, .log-section-title, .mod-table td, .ticket-mod-stat strong, .ticket-mod-row strong, .ticket-support-kpis strong, .ticket-mod-section-head h2, .ticket-message-meta strong, .ticket-rich-content, .recruiting-applicant-name strong, .recruiting-position-card strong, .recruiting-list-heading h2, .recruiting-status-strip strong, .admin-dashboard-workspace strong, .admin-dashboard-users strong, .ticket-stat-primary) {
    color: var(--workspace-text);
}

html[data-vace-theme="light"] .vace-design .vace-work-shell :is(.mod-subtitle, .mod-field-hint, .log-subtitle, .log-hero p, .log-stat small, .log-stat-label, .log-table time, .ticket-number, .ticket-mod-stat small, .ticket-mod-row small, .ticket-composer-hint, .ticket-message-meta time, .ticket-overview-category, .recruiting-applicant-email, .recruiting-applicant-name small, .recruiting-application-meta time, .recruiting-position-card small, .recruiting-status-strip > a, .recruiting-status-strip > span, .admin-dashboard-empty, .admin-dashboard-users small, .admin-dashboard-workspace small, .admin-user-email, .admin-dashboard-status, .ticket-statistics-note) {
    color: var(--workspace-muted);
}

html[data-vace-theme="light"] .vace-design .vace-work-shell :is(.mod-table th, .mod-table td, .ticket-mod-section-head, .ticket-mod-row, .recruiting-application-row, .log-table th, .log-table td) {
    border-color: var(--workspace-line);
}

html[data-vace-theme="light"] .vace-design .vace-work-shell :is(.ticket-mod-row:hover, .recruiting-modern-applications .recruiting-application-row:hover, .recruiting-modern-positions .recruiting-position-card:hover, .mod-table tbody tr:hover, .admin-dashboard-workspace:hover) {
    background: var(--workspace-hover) !important;
}

/* Keep image-backed toolbar heroes legible where individual sections use them. */
html[data-vace-theme="light"] .vace-design .vace-work-shell :is(.moderation-dashboard-hero, .log-hero) {
    color: #fff;
    --workspace-text: #f5f8ff;
    --workspace-muted: #d3ddf2;
    --public-text: var(--workspace-text);
    --public-muted: var(--workspace-muted);
}

/* Shared inputs and action labels outside the custom profile/game dialogs. */
html[data-vace-theme="light"] #top.vace-design :is(.vace-work-shell, .vace-player .profile-content, .shop-modern-body) :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="file"], [type="hidden"]), select, textarea):not(:where(dialog *, [role="dialog"] *)) {
    background-color: var(--workspace-surface) !important;
    border-color: var(--workspace-strong-line) !important;
    color: var(--workspace-text) !important;
    box-shadow: none !important;
}

html[data-vace-theme="light"] .vace-design :is(.vace-work-shell, .vace-player .profile-content, .shop-modern-body) :is(input, textarea):not(:where(dialog *, [role="dialog"] *))::placeholder {
    color: var(--workspace-muted);
    opacity: 1;
}

html[data-vace-theme="light"] .vace-design :is(.vace-work-shell, .vace-player .profile-content, .shop-modern-body) :is(.site-btn-primary, .ticket-submit):not(:where(dialog *, [role="dialog"] *)) {
    color: #fff !important;
}

html[data-vace-theme="light"] #top.vace-design :is(.vace-work-shell, .vace-player .profile-content, .shop-modern-body) .site-btn-secondary:not(:where(dialog *, [role="dialog"] *)) {
    color: #172442 !important;
    border-color: var(--workspace-line) !important;
    background: var(--workspace-soft) !important;
}

html[data-vace-theme="light"] .vace-design :is(.vace-work-shell, .vace-player .profile-content, .shop-modern-body) :is(.site-btn-secondary:hover, .site-btn-secondary:focus-visible):not(:where(dialog *, [role="dialog"] *)) {
    color: var(--workspace-accent);
}

html[data-vace-theme="light"] .vace-design :is(.vace-work-shell, .vace-player .profile-content) :is(.text-white, [class~="text-white/90"], [class~="text-white/85"], [class~="text-white/80"]):not(:where(dialog *, [role="dialog"] *, .site-btn-primary, .site-btn-danger)) {
    color: var(--workspace-text);
}

html[data-vace-theme="light"] .vace-design :is(.vace-work-shell, .vace-player .profile-content) :is([class~="text-white/75"], [class~="text-white/70"], [class~="text-white/65"], [class~="text-white/60"], [class~="text-white/55"], [class~="text-white/50"], [class~="text-white/45"], [class~="text-white/40"], [class~="text-white/35"], [class~="text-white/30"]):not(:where(dialog *, [role="dialog"] *)) {
    color: var(--workspace-muted);
}

html[data-vace-theme="light"] .vace-design :is(.vace-work-shell, .vace-player .profile-content) :is([class~="border-white/10"], [class~="border-white/15"], [class~="border-white/20"]):not(:where(dialog *, [role="dialog"] *)) {
    border-color: var(--workspace-line);
}

html[data-vace-theme="light"] .vace-design :is(.vace-work-shell, .vace-player .profile-content) :is(.ticket-status, .ticket-priority, .mod-badge) {
    color: var(--workspace-muted);
    background-color: var(--workspace-soft);
    border-color: var(--workspace-line);
}

html[data-vace-theme="light"] .vace-design :is(.vace-work-shell, .vace-player .profile-content) .ticket-department {
    color: color-mix(in srgb, var(--department-color, #2753ad) 43%, #182643);
    background-color: color-mix(in srgb, var(--department-color, #2753ad) 13%, #fff);
    border-color: color-mix(in srgb, var(--department-color, #2753ad) 33%, #fff);
}

html[data-vace-theme="light"] .vace-design :is(.vace-work-shell, .vace-player .profile-content) :is(.ticket-status, .mod-badge):is(.is-open, .is-application-interview) {
    color: #174987;
    background-color: #e7f2ff;
    border-color: #bad1ee;
}

html[data-vace-theme="light"] .vace-design :is(.vace-work-shell, .vace-player .profile-content) .ticket-status.is-in_progress {
    color: #613899;
    background-color: #f1eafb;
    border-color: #dfcdf6;
}

html[data-vace-theme="light"] .vace-design :is(.vace-work-shell, .vace-player .profile-content) :is(.ticket-status, .ticket-priority, .mod-badge):is(.is-waiting_user, .is-application-pending, .is-high, .mod-badge-warning) {
    color: #774900;
    background-color: #fff2d6;
    border-color: #ebd5a5;
}

html[data-vace-theme="light"] .vace-design :is(.vace-work-shell, .vace-player .profile-content) :is(.ticket-status, .mod-badge):is(.is-resolved, .is-application-accepted, .is-closure-successful, .mod-badge-success) {
    color: #225e3f;
    background-color: #e4f2e9;
    border-color: #bfdcc9;
}

html[data-vace-theme="light"] .vace-design :is(.vace-work-shell, .vace-player .profile-content) :is(.ticket-status, .ticket-priority, .mod-badge):is(.is-application-rejected, .is-closure-unsuccessful, .is-urgent, .mod-badge-danger) {
    color: #8d293a;
    background-color: #fbe9ed;
    border-color: #e9c2ca;
}

/* Store content follows the theme while retaining its account identity hero. */
html[data-vace-theme="light"] .vace-design .shop-modern-body :is(.shop-modern-controls, .shop-product-card, .shop-modern-empty) {
    background: var(--workspace-surface);
    border-color: var(--workspace-line);
    box-shadow: none;
}

html[data-vace-theme="light"] .vace-design .shop-modern-body :is(.shop-modern-search, .shop-product-image) {
    background: var(--workspace-soft);
    border-color: var(--workspace-line);
}

html[data-vace-theme="light"] .vace-design .shop-modern-body :is(.shop-category-head h2, .shop-product-copy h3, .shop-product-footer strong) {
    color: var(--workspace-text);
}

html[data-vace-theme="light"] .vace-design .shop-modern-body :is(.shop-modern-controls-label, .shop-category-list button, .shop-product-copy p, .shop-product-copy > span, .shop-product-footer small, .shop-category-head p, .shop-category-head span) {
    color: var(--workspace-muted);
}

html[data-vace-theme="light"] .vace-design .shop-modern-body .shop-category-list button.is-active {
    color: var(--workspace-accent);
    background: var(--workspace-soft);
    border-color: var(--workspace-line);
}

html[data-vace-theme="light"] .vace-design .vace-work-shell :is(.ticket-support-insights-head h2, .ticket-support-subhead strong, .ticket-support-rating-list strong, .ticket-mod-queues strong, .ticket-assignee-readonly strong, .log-stat strong, .log-search-heading h2, .log-panel-head h2, .log-player-result strong, .log-feed-copy strong, .log-event-heading h3, .log-distribution-item strong, .log-wallet strong, .admin-workspace-group h2, .ticket-mod-sidebar-brand strong) {
    color: var(--workspace-text);
}

html[data-vace-theme="light"] .vace-design .vace-work-shell :is(.ticket-support-subhead > span, .ticket-support-rating-list span, .ticket-support-kpis small, .ticket-mod-section-head > a, .ticket-composer-toolbar button, .ticket-assignee-readonly, .log-stat > div > span, .log-search-heading p, .log-panel-head p, .log-player-result small, .log-feed-copy small, .log-feed-row time, .log-distribution-item, .log-distribution-note, .log-category-tabs > a, .log-category-tabs > a span, .log-event-source, .log-event-reason, .log-event-meta :is(time, small, strong), .log-pagination, .log-empty, .log-empty strong, .log-sidebar-note, .log-sidebar-note strong) {
    color: var(--workspace-muted);
}

html[data-vace-theme="light"] .vace-design .vace-work-shell :is(.log-category-tabs > a.is-active, .log-text-action, .log-empty a, .log-pagination nav > a.is-current) {
    color: var(--workspace-accent);
}

html[data-vace-theme="light"] .vace-design .vace-work-shell .log-category-badge {
    color: var(--workspace-muted);
    border-color: var(--workspace-line);
}

html[data-vace-theme="light"] .vace-design .vace-work-shell .log-category-badge.is-economy { color: #774900; }
html[data-vace-theme="light"] .vace-design .vace-work-shell .log-category-badge.is-connection { color: #174987; }
html[data-vace-theme="light"] .vace-design .vace-work-shell .log-category-badge.is-moderation { color: #8d293a; }

html[data-vace-theme="light"] .vace-design .vace-work-shell .ticket-message-meta > span { color: #225e3f; }
html[data-vace-theme="light"] .vace-design .vace-work-shell .ticket-message-meta > span.is-discord { color: #454fa0; }
html[data-vace-theme="light"] .vace-design .vace-work-shell .log-money-change .is-positive { color: #225e3f; }
html[data-vace-theme="light"] .vace-design .vace-work-shell .log-money-change .is-negative { color: #8d293a; }

html[data-vace-theme="light"] .vace-design .vace-player .profile-content :is(.profile-reward-empty strong, .overview-section-head h2, .overview-metrics dd, .overview-pending strong, .profile-activity-summary strong, .profile-playtime-card-head h2, .friends-disclosure summary strong, .friends-directory-head h2, .friends-online-heading strong) {
    color: var(--pt-text);
}

html[data-vace-theme="light"] .vace-design .vace-player .profile-content :is(.profile-reward-empty p, .overview-section-head > span, .overview-metrics dt, .overview-empty-note, .profile-activity-summary > span, .profile-activity-footer p, .profile-activity-legend span, .profile-playtime-card-head p, .profile-playtime-card-status > span, .friends-disclosure-count, .friends-total, .friends-scope-tools > button, .profile-friends-sort > span, .friend-card-status) {
    color: var(--pt-muted);
}

html[data-vace-theme="light"] .vace-design .vace-player .profile-content :is(.friends-directory-head h2 > span, .overview-pending a) { color: var(--profile-link-color); }
html[data-vace-theme="light"] .vace-design .vace-player .profile-content :is(.profile-tab-online-count, .friend-card-status.is-online, .profile-reward-state.is-complete) { color: #225e3f; }

html[data-vace-theme="light"] .vace-design .vace-player .profile-content :is(.pc-dialog, .rl-dialog, .daily-wheel-dialog) {
    --public-bg: #141825;
    --public-surface: #202537;
    --public-surface-soft: #1a1f30;
    --public-text: #f2f5fc;
    --public-muted: #b4bfd3;
    --public-line: #b7c8f125;
    --public-line-strong: #b7c8f13b;
    --public-accent: #38bdf8;
    --public-accent-hover: #7dd3fc;
}

html[data-vace-theme="light"] .vace-design .vace-work-shell :is(.player-file-dashboard-search strong, .admin-dashboard-status h2, .admin-dashboard-recruiting strong) {
    color: var(--workspace-text);
}

html[data-vace-theme="light"] .vace-design .vace-player .profile-content .profile-overview-connection > div > span {
    color: var(--pt-muted);
}

/* A neutral palette for the light appearance. Game and brand accents stay local to their components. */
html[data-vace-theme="light"] {
    --vace-light-canvas: #f3f2ef;
    --vace-light-surface: #faf9f6;
    --vace-light-soft: #eeede9;
    --vace-light-line: #dedcd6;
    --vace-light-control: #a7a5a0;
    --vace-light-ink: #232426;
    --vace-light-muted: #565760;
    --vace-light-hover: #e7e6e1;
    --vace-light-shadow: 0 8px 26px #23201a15;
}

html[data-vace-theme="light"] :is(body.vace-design, body.vace-theme-auth, body.vace-theme-app) {
    --vace-paper: var(--vace-light-canvas);
    --vace-ink: var(--vace-light-ink);
    --vace-line: var(--vace-light-line);
    background-color: var(--vace-light-canvas);
}

html[data-vace-theme="light"] .site-floating-header {
    background: color-mix(in srgb, var(--vace-light-canvas) 94%, transparent);
    border-color: #b7b3a959;
    box-shadow: var(--vace-light-shadow);
}
html[data-vace-theme="light"] .site-floating-header .site-brand span { color: var(--vace-light-ink); }
html[data-vace-theme="light"] .site-floating-header :is(nav>a,.site-mobile-menu-link) { color: #41434b !important; }
html[data-vace-theme="light"] .site-floating-header :is(nav>a:hover,nav>a[aria-current="page"],.site-mobile-menu-link.is-active) {
    color: #1c3c78 !important;
    background: #e7e9ec !important;
}
html[data-vace-theme="light"] .site-floating-header :is(.site-nav-action,.site-account-trigger,.site-mobile-menu-button,.tv-notification-trigger,.vace-theme-toggle),
html[data-vace-theme="light"] .vace-theme-toggle--standalone { color: #464951; }
html[data-vace-theme="light"] .site-floating-header .site-mobile-menu-button > span { background: #464951; }
html[data-vace-theme="light"] .site-floating-header .site-account-trigger :is(span,i) { color: var(--vace-light-ink); }
html[data-vace-theme="light"] .site-floating-header :is(.site-mobile-menu,.site-mobile-menu-actions,.site-account-dropdown > form,.site-nav-command-group,.vace-theme-toggle--header) { border-color: var(--vace-light-line); }
html[data-vace-theme="light"] .site-floating-header :is(.site-account-dropdown,.tv-notification-popover) {
    color: var(--vace-light-ink);
    background: var(--vace-light-surface);
    border-color: var(--vace-light-line);
    box-shadow: var(--vace-light-shadow);
}
html[data-vace-theme="light"] .site-floating-header :is(.site-account-dropdown,.tv-notification-popover) :is(strong,h2,h3) { color: var(--vace-light-ink); }
html[data-vace-theme="light"] .site-floating-header :is(.site-account-dropdown,.tv-notification-popover) :is(p,small) { color: var(--vace-light-muted); }

/* Homepage. Keep the hero fade matched to the following strip. */
html[data-vace-theme="light"] .vace-design.vace-home .vace-landing { --vace-landing-edge: #171b24; }
html[data-vace-theme="light"] .vace-design.vace-home :is(.vace-feature-band,.vace-community-band) { background: var(--vace-light-soft); color: var(--vace-light-ink); }
html[data-vace-theme="light"] .vace-design.vace-home .vace-headline { background: var(--vace-light-surface); }
html[data-vace-theme="light"] .vace-design.vace-home .vace-headline-summary,
html[data-vace-theme="light"] .vace-design.vace-home .vace-discord :is(p,small) { color: var(--vace-light-muted); }

/* Reading, directories, and rankings. */
html[data-vace-theme="light"] .vace-design .vace-editorial {
    --vace-ed-paper: var(--vace-light-canvas);
    --vace-ed-ink: var(--vace-light-ink);
    --vace-ed-muted: var(--vace-light-muted);
    --vace-ed-line: var(--vace-light-line);
}
html[data-vace-theme="light"] .vace-design .vace-community {
    --vc-paper: var(--vace-light-canvas);
    --vc-ink: var(--vace-light-ink);
    --vc-muted: var(--vace-light-muted);
    --vc-line: var(--vace-light-line);
}
html[data-vace-theme="light"] .vace-design .vace-editorial :is(.vace-ed-top-story,.vace-ed-story,.vace-ed-wiki-tile,.news-editorial-related-item) { background: var(--vace-light-surface); }
html[data-vace-theme="light"] .vace-design .vace-editorial :is(.news-detail-grid .news-article-shell,.news-detail-grid .news-community-panel,.news-detail-grid .news-meta-card,.wiki-library-reader,.site-pagination a,.news-comment-composer textarea) {
    background: var(--vace-light-surface) !important;
}
html[data-vace-theme="light"] .vace-design .vace-editorial .vace-ed-search {
    background: var(--vace-light-surface);
    border: 1px solid var(--vace-light-control);
}
html[data-vace-theme="light"] .vace-design .vace-editorial .vace-ed-search #wiki-search { background: var(--vace-light-surface) !important; }
html[data-vace-theme="light"] .vace-design .vace-editorial :is(.vace-ed-story-image,.vace-ed-wiki-symbol,.article-content pre,.article-content blockquote) {
    background: var(--vace-light-soft);
    border-color: var(--vace-light-line);
}
html[data-vace-theme="light"] .vace-design .vace-community :is(.vc-team-search,.vc-person,.vc-stats-table-wrap,.vc-compare-table-wrap,.vc-stats-empty,.vc-matchup-swap,.vc-stats-mobile-player,.vc-stats-mode:not(.is-active),.vc-stats-leader:not(.vc-stats-place-1),.vc-matchup-tab:not(.is-active)) {
    background: var(--vace-light-surface);
}
html[data-vace-theme="light"] .vace-design .vace-community .vc-team-search { border-color: var(--vace-light-control); }
html[data-vace-theme="light"] .vace-design .vace-community :is(.vc-stats-table,.vc-compare-table) thead { background-color: var(--vace-light-soft); }

/* Workspaces use shared variables so personalized profiles can still tint their own surfaces. */
html[data-vace-theme="light"] body.vace-design:has(.vace-work-shell),
html[data-vace-theme="light"] body.vace-design .vace-player .profile-content,
html[data-vace-theme="light"] body.vace-design .shop-modern-body {
    --workspace-bg: var(--vace-light-canvas);
    --workspace-surface: var(--vace-light-surface);
    --workspace-soft: var(--vace-light-soft);
    --workspace-hover: var(--vace-light-hover);
    --workspace-line: var(--vace-light-line);
    --workspace-strong-line: var(--vace-light-control);
    --workspace-text: var(--vace-light-ink);
    --workspace-muted: var(--vace-light-muted);
}

html[data-vace-theme="light"] .vace-design.vace-careers .apply-page :is(.apply-area-navigation,.apply-detail-view) {
    background: var(--vace-light-surface) !important;
    border-color: var(--vace-light-line) !important;
}
html[data-vace-theme="light"] .vace-design.vace-careers .apply-page :is(.apply-values-grid,.apply-phase-track) > div {
    background: var(--vace-light-soft);
    border-color: var(--vace-light-line);
}
html[data-vace-theme="light"] .vace-design.vace-careers .apply-page :is(.apply-detail-header p,.apply-detail-footer p,.apply-values-grid span,.apply-requirement-list span,.apply-position-content) { color: var(--vace-light-muted); }

html[data-vace-theme="light"] :is(.vace-theme-auth .auth-standalone,.vace-design .imprint-simple-page,.vace-theme-app > div) {
    background: var(--vace-light-canvas);
    color: var(--vace-light-ink);
}
html[data-vace-theme="light"] .tv-public-clean :is(.auth-card.auth-modal-panel,.auth-standalone-card,.cookie-consent-panel,.cookie-consent-card),
html[data-vace-theme="light"] .vace-design .imprint-simple-page .imprint-simple-card,
html[data-vace-theme="light"] .vace-theme-app > div > header {
    background: var(--vace-light-surface);
    border-color: var(--vace-light-line);
    box-shadow: var(--vace-light-shadow);
}
html[data-vace-theme="light"] .tv-public-clean :is(.auth-card.auth-modal-panel,.auth-standalone-card,.cookie-consent-panel) :is(h1,h2,h3,label,.auth-brand-name),
html[data-vace-theme="light"] .vace-design .imprint-simple-page :is(h1,h2,h3,strong) { color: var(--vace-light-ink); }
html[data-vace-theme="light"] .tv-public-clean :is(.auth-card.auth-modal-panel,.auth-standalone-card,.cookie-consent-panel) :is(p,small,.auth-brand-area,.auth-divider),
html[data-vace-theme="light"] .vace-design .imprint-simple-card :is(p,li) { color: var(--vace-light-muted); }
html[data-vace-theme="light"] .tv-public-clean :is(.auth-modal-panel.auth-card .auth-input,.auth-modal-panel.auth-card .auth-token-input,.auth-standalone-card input:not([type="checkbox"])) {
    color: var(--vace-light-ink);
    background: var(--vace-light-soft) !important;
    border-color: var(--vace-light-control) !important;
}
html[data-vace-theme="light"] .tv-public-clean .auth-modal-panel .auth-input::placeholder { color: var(--vace-light-muted); }
html[data-vace-theme="light"] .tv-public-clean .auth-modal-panel :is(.auth-mode-tabs,.auth-mode-tabs button,.auth-link-step),
html[data-vace-theme="light"] .tv-public-clean :is(.cookie-consent-primary,.cookie-consent-secondary,.cookie-consent-save,.cookie-consent-panel .cookie-consent-option) {
    background: var(--vace-light-soft);
    border-color: var(--vace-light-line);
}

/* Dark tones sampled from the Laby reference. */
html[data-vace-theme="dark"] {
    --vace-dark-page: #0e111b;
    --vace-dark-surface: #161a25;
    --vace-dark-soft: #1e2330;
    --vace-dark-elevated: #282d3c;
    --vace-dark-line: #2f3545;
    --vace-dark-ink: #f1f1f2;
    --vace-dark-muted: #aab0be;
}
html[data-vace-theme="dark"] body.vace-design {
    --public-bg: var(--vace-dark-page);
    --public-surface: var(--vace-dark-surface);
    --public-surface-soft: var(--vace-dark-soft);
    --public-line: var(--vace-dark-line);
    --public-line-strong: #485062;
    --public-text: var(--vace-dark-ink);
    --public-muted: var(--vace-dark-muted);
    background-color: var(--vace-dark-page);
    color: var(--vace-dark-ink);
}
html[data-vace-theme="dark"] .vace-design .site-main {
    --vace-ink: var(--vace-dark-ink);
    --vace-line: var(--vace-dark-line);
}
html[data-vace-theme="dark"] .site-floating-header {
    background: color-mix(in srgb, var(--vace-dark-surface) 93%, transparent);
    border-color: var(--vace-dark-line);
    box-shadow: 0 7px 25px #07091065;
}
html[data-vace-theme="dark"] .site-floating-header :is(nav>a,.site-mobile-menu-link) { color: var(--vace-dark-muted) !important; }
html[data-vace-theme="dark"] .site-floating-header :is(nav>a:hover,nav>a[aria-current="page"],.site-mobile-menu-link.is-active) {
    background: var(--vace-dark-elevated) !important;
    color: var(--vace-dark-ink) !important;
}
html[data-vace-theme="dark"] .site-floating-header :is(.vace-theme-toggle,.site-account-dropdown > form,.site-mobile-menu-actions) { border-color: var(--vace-dark-line); }
html[data-vace-theme="dark"] .site-floating-header .vace-theme-toggle :is(.vace-theme-sun,.vace-theme-moon),
html[data-vace-theme="dark"] .site-floating-header :is(.site-account-trigger,.tv-notification-trigger) { color: var(--vace-dark-ink); }
html[data-vace-theme="dark"] .site-floating-header :is(.site-account-dropdown,.tv-notification-popover) {
    background: var(--vace-dark-surface);
    border-color: var(--vace-dark-line);
    color: var(--vace-dark-ink);
    box-shadow: 0 10px 24px #080a10a1;
}
html[data-vace-theme="dark"] .site-floating-header .site-account-dropdown-links a:hover { background: var(--vace-dark-soft); }
html[data-vace-theme="dark"] .vace-design .tv-footer {
    color: var(--vace-dark-ink);
    background: var(--vace-dark-page);
    border-color: var(--vace-dark-line);
}
html[data-vace-theme="dark"] .vace-design .tv-footer :is(p,small,.tv-footer-bottom,nav a) { color: var(--vace-dark-muted); }
html[data-vace-theme="dark"] .vace-design .tv-footer :is(.tv-footer-bottom,.tv-footer-connect button) { border-color: var(--vace-dark-line); }
html[data-vace-theme="dark"] .vace-design .tv-footer-connect button { background: var(--vace-dark-surface); }

html[data-vace-theme="dark"] .vace-design.vace-home .site-main { color: var(--vace-dark-ink); background: var(--vace-dark-page); }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-landing {
    --vace-landing-edge: var(--vace-dark-surface);
    background: var(--vace-dark-surface);
}
html[data-vace-theme="dark"] .vace-design.vace-home .vace-landing::before {
    background:
        linear-gradient(to top, var(--vace-landing-edge), color-mix(in srgb, var(--vace-landing-edge) 57%, transparent) 2rem, transparent 6.5rem),
        linear-gradient(180deg, #0e111b59, transparent 26%, transparent 57%, #0e111bc9 95%),
        radial-gradient(ellipse at 10% 47%, #0e111beb 6%, #0e111ba3 30%, #0e111b22 57%, transparent 73%);
}
html[data-vace-theme="dark"] .vace-design.vace-home :is(.vace-feature-band,.vace-community-band) { background: var(--vace-dark-surface); }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-landing-link {
    color: var(--vace-dark-ink);
    background: color-mix(in srgb, var(--vace-dark-surface) 95%, transparent);
    border-color: var(--vace-dark-line);
}
html[data-vace-theme="dark"] .vace-design.vace-home .vace-landing-link:hover { background: var(--vace-dark-elevated); border-color: #535b71; }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-landing-link small,
html[data-vace-theme="dark"] .vace-design.vace-home .vace-discord :is(p,small) { color: var(--vace-dark-muted); }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-landmark-caption { background: #161a25dd; }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-hero-trailer { background: #161a2588; box-shadow: 0 12px 30px #080a1044; }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-hero-trailer .home-hero-media-frame { background: var(--vace-dark-surface); }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-hero-consent .consent-media-placeholder {
    background: linear-gradient(0deg,#0e111beb,#161a258f), url('/images/profile/panorama.png') center 56% / cover no-repeat;
}
html[data-vace-theme="dark"] .vace-design.vace-home .vace-hero-consent .consent-media-primary {
    background: var(--vace-dark-elevated);
    border-color: #566077;
}
html[data-vace-theme="dark"] .vace-design.vace-home .vace-hero-consent :is(.consent-media-primary,.consent-media-secondary):hover { background: #3a4155; }
html[data-vace-theme="dark"] .vace-design.vace-home .vace-headline { border-color: var(--vace-dark-line); }
@media (max-width: 760px) {
    html[data-vace-theme="dark"] .vace-design.vace-home .vace-landing::before {
        background:
            linear-gradient(to top, var(--vace-landing-edge), transparent 3.8rem),
            linear-gradient(180deg, #0e111b2b, transparent 13%, #0e111bbe 36%, var(--vace-dark-surface) 84%);
    }
}

html[data-vace-theme="dark"] .vace-design.vace-careers :is(.site-main,.vace-careers-hero) { background: var(--vace-dark-page); }
html[data-vace-theme="dark"] .vace-design.vace-careers .vace-careers-hero .site-lede { color: var(--vace-dark-muted); }
html[data-vace-theme="dark"] .vace-design.vace-careers .apply-page :is(.apply-area-navigation,.apply-detail-view) {
    background: var(--vace-dark-surface) !important;
    border-color: var(--vace-dark-line) !important;
}
html[data-vace-theme="dark"] .vace-design.vace-careers .apply-page :is(.apply-values-grid,.apply-phase-track) > div {
    background: var(--vace-dark-soft);
    border-color: var(--vace-dark-line);
}
html[data-vace-theme="dark"] .vace-design.vace-careers .apply-page .apply-area-navigation button.is-active {
    background: var(--vace-dark-elevated) !important;
    border-color: #515b72 !important;
}
html[data-vace-theme="dark"] .vace-design.vace-careers .apply-page :is(.apply-area-navigation button:hover,.apply-phase-track > div > i) {
    background: var(--vace-dark-elevated);
    border-color: var(--vace-dark-line);
}
html[data-vace-theme="dark"] .vace-design.vace-careers .apply-page .apply-detail-section { border-color: var(--vace-dark-line); }

html[data-vace-theme="dark"] :is(.vace-theme-auth .auth-standalone,.vace-theme-app > div,.vace-design .imprint-simple-page) { background: var(--vace-dark-page); }
html[data-vace-theme="dark"] .tv-public-clean :is(.auth-card.auth-modal-panel,.auth-standalone-card,.cookie-consent-panel,.cookie-consent-card),
html[data-vace-theme="dark"] .vace-theme-app > div > header,
html[data-vace-theme="dark"] .vace-design .imprint-simple-page .imprint-simple-card {
    color: var(--vace-dark-ink);
    background: var(--vace-dark-surface);
    border-color: var(--vace-dark-line);
}
html[data-vace-theme="dark"] .tv-public-clean :is(.cookie-consent-primary,.cookie-consent-secondary,.cookie-consent-save) { background: var(--vace-dark-elevated); }
html[data-vace-theme="dark"] .tv-public-clean .cookie-consent-panel .cookie-consent-option { background: var(--vace-dark-soft); border-color: var(--vace-dark-line); }

/* Editorial and ranking surfaces follow the shared dark palette. */
html[data-vace-theme="dark"] .vace-design .vace-editorial {
    --vace-ed-paper: var(--vace-dark-page);
    --vace-ed-ink: var(--vace-dark-ink);
    --vace-ed-muted: var(--vace-dark-muted);
    --vace-ed-line: var(--vace-dark-line);
    --vace-ed-surface: var(--vace-dark-surface);
    --vace-ed-subtle: var(--vace-dark-soft);
    --vace-ed-selected: var(--vace-dark-elevated);
}

html[data-vace-theme="dark"] .vace-editorial .vace-ed-mast {
    color: var(--vace-ed-ink);
    background: var(--vace-ed-surface);
}

html[data-vace-theme="dark"] .vace-editorial :is(.vace-ed-mast h1, .news-detail-byline strong) {
    color: var(--vace-ed-ink);
}

html[data-vace-theme="dark"] .vace-editorial :is(.vace-ed-index-heading > p, .vace-ed-heading-copy > .site-lede, .news-detail-byline, .article-content) {
    color: var(--vace-ed-muted);
}

html[data-vace-theme="dark"] .vace-editorial :is(.vace-ed-wiki-tile:hover, .news-editorial-related-item:hover) {
    border-color: var(--vace-dark-elevated);
}

html[data-vace-theme="dark"] .vace-editorial :is(.vace-ed-search, .wiki-modern-nav-mobile) {
    border: 1px solid var(--vace-ed-line);
}

html[data-vace-theme="dark"] .vace-editorial :is(.vace-ed-topics > a:is(:hover, [aria-current]), .wiki-modern-nav-inner :is(a:hover, a.is-active)) {
    color: var(--vace-ed-ink);
}

html[data-vace-theme="dark"] .vace-design .vace-community {
    --vc-night: var(--vace-dark-surface);
    --vc-paper: var(--vace-dark-page);
    --vc-ink: var(--vace-dark-ink);
    --vc-muted: var(--vace-dark-muted);
    --vc-line: var(--vace-dark-line);
    --vc-surface: var(--vace-dark-surface);
    --vc-subtle: var(--vace-dark-soft);
    --vc-selected: var(--vace-dark-elevated);
}

html[data-vace-theme="dark"] .vace-design .vace-community :is(.vc-intro-copy h1, .vc-team-people, .vc-stats-search > label, .vc-compare-search label span) {
    color: var(--vc-ink);
}

html[data-vace-theme="dark"] .vace-design .vace-community :is(.vc-intro-copy p, .vc-stats-search-row),
html[data-vace-theme="dark"] .vace-design .vace-community :is(.vc-stats-search, .vc-compare-search) input::placeholder {
    color: var(--vc-muted);
}

html[data-vace-theme="dark"] .vace-design .vace-community :is(.vc-avatar-stack img, .vc-stats-search-row, .vc-compare-search input:not([type="hidden"])) {
    background: var(--vc-subtle);
    border-color: var(--vc-line);
}

html[data-vace-theme="dark"] .vace-design .vace-community .vc-stats-search-row input[type="search"],
html[data-vace-theme="dark"] .vace-design .vace-community .vc-compare-search input[type="search"] {
    color: var(--vc-ink);
}

html[data-vace-theme="dark"] .vace-design .vace-community :is(.vc-stats-mode:is(:hover, .is-active), .vc-matchup-tab.is-active, .vc-matchup-player:not(.vc-matchup-player-right):hover) {
    border-color: #667082;
}

html[data-vace-theme="dark"] .vace-design .vace-community :is(.vc-team-filter.is-active, .vc-stats-mode.is-active, .vc-stats-periods a:is(:hover, .is-active), .vc-matchup-tab.is-active) {
    color: var(--vc-ink);
}

html[data-vace-theme="dark"] .vace-design .vace-community :is(.vc-stats-table, .vc-compare-table) thead {
    color: var(--vc-ink);
}

html[data-vace-theme="dark"] .vace-design .vace-community .vc-stats-leader:not(.vc-stats-place-1, .vc-stats-place-3) .vc-stats-leader-score strong {
    color: var(--vc-ink);
}

/* Administration, recruitment, moderation, ticketing and logging. */
html[data-vace-theme="dark"] body.vace-design:has(.vace-work-shell) {
    --public-bg: var(--vace-dark-page);
    --public-surface: var(--vace-dark-surface);
    --public-surface-soft: var(--vace-dark-soft);
    --public-line: var(--vace-dark-line);
    --public-line-strong: var(--vace-dark-elevated);
    --public-text: var(--vace-dark-ink);
    --public-muted: var(--vace-dark-muted);
}

html[data-vace-theme="dark"] .vace-design .vace-work-shell {
    --vace-work-line: var(--vace-dark-line);
    --vace-work-active: var(--vace-dark-ink);
}

html[data-vace-theme="dark"] .vace-design .vace-work-shell .vace-work-mark {
    border-color: var(--vace-dark-line);
    background-color: var(--vace-dark-soft);
}

html[data-vace-theme="dark"] .vace-design .vace-work-shell .vace-work-toggle:is(:hover, [aria-expanded="true"]) {
    border-color: var(--vace-dark-muted);
}

html[data-vace-theme="dark"] #top.vace-design .vace-work-rail a.mod-nav-link {
    color: var(--vace-dark-muted) !important;
}

html[data-vace-theme="dark"] #top.vace-design .vace-work-rail a.mod-nav-link:hover {
    background: var(--vace-dark-soft) !important;
    color: var(--vace-dark-ink) !important;
}

html[data-vace-theme="dark"] #top.vace-design .vace-work-rail a.mod-nav-link:is(.mod-nav-link-active, [aria-current="page"]) {
    border-color: var(--vace-dark-line) !important;
    background: var(--vace-dark-elevated) !important;
    color: var(--vace-dark-ink) !important;
}

html[data-vace-theme="dark"] #top.vace-design .vace-work-shell :is(.mod-quick-link, .mod-user-row, .ticket-support-kpis, .ticket-support-volume, .ticket-support-ratings, .admin-dashboard-workspace, .player-file-intro > div, .player-file-stats > div, .recruiting-filter, .recruiting-list-surface, .recruiting-position-card, .log-card, .log-player-panel, .log-events, .log-table-panel, .ticket-admin-thread, .ticket-composer) {
    background-color: var(--vace-dark-surface) !important;
    border-color: var(--vace-dark-line) !important;
}

html[data-vace-theme="dark"] #top.vace-design .vace-work-shell :is(.mod-quick-link, .mod-user-row, .admin-dashboard-workspace, .recruiting-position-card):hover {
    background: var(--vace-dark-soft) !important;
}

html[data-vace-theme="dark"] .vace-design .vace-work-shell :is(.log-search-fields, .log-search-filter, .log-filters, .log-filter-panel, .ticket-composer-toolbar, .ticket-composer-editor, .mod-table th, .ticket-statistics-periods, .admin-user-action) {
    background-color: var(--vace-dark-soft);
    border-color: var(--vace-dark-line);
}

html[data-vace-theme="dark"] .vace-design .vace-work-shell :is(.log-search-heading p, .log-panel-head p:not(.mod-eyebrow), .log-player-result small, .log-feed-row time, .log-distribution-note, .log-event-source, .log-pagination, .ticket-mod-row small, .ticket-statistics-note) {
    color: var(--vace-dark-muted);
}

/* Follow the site palette for the default profile. Explicit personal palettes still use their own variables. */
html[data-vace-theme="dark"] body.vace-design .vace-player[data-theme="default"] {
    --pt-bg: var(--vace-dark-page);
    --pt-panel: var(--vace-dark-surface);
    --pt-soft: var(--vace-dark-soft);
    --pt-line: var(--vace-dark-line);
    --pt-text: var(--vace-dark-ink);
    --pt-muted: var(--vace-dark-muted);
    --public-line-strong: var(--vace-dark-elevated);
}

html[data-vace-theme="dark"] #top.vace-design .vace-player[data-theme="default"] .profile-content :is(.overview-metrics, .overview-profile-heatmap, .profile-playtime-card, .profile-reward-card, .account-panel, .account-login-detail, .friends-disclosure, .profile-friend-card, .applications-modern-entry, .profile-stats-card, .profile-stats-summary, .profile-ticket-container, .profile-ticket-mobile-card, .ps-game, .ps-summary, .stats-game-card, .site-panel, .site-card):not(:where(dialog *, [role="dialog"] *)) {
    background: var(--pt-surface) !important;
    border-color: var(--pt-line) !important;
}

html[data-vace-theme="dark"] #top.vace-design .vace-player[data-theme="default"] .profile-content :is(.account-panel-head, .account-panel-footer, .friends-directory-head, .profile-ticket-heading, .profile-ticket-filters, .profile-stats-periods):not(:where(dialog *, [role="dialog"] *)) {
    background-color: var(--pt-soft);
    border-color: var(--pt-line);
}

/* Keep the reward games on their own dark palette. */
html[data-vace-theme="dark"] .vace-design .vace-player[data-theme="default"] :is(.pc-dialog, .rl-dialog, .daily-wheel-dialog) {
    --public-bg: #141825;
    --public-surface: #202537;
    --public-surface-soft: #1a1f30;
    --public-text: #f2f5fc;
    --public-muted: #b4bfd3;
    --public-line: #b7c8f125;
    --public-line-strong: #b7c8f13b;
}

/* Store panels use the same surface hierarchy as the other tools. */
html[data-vace-theme="dark"] .vace-design.vace-shop .shop-modern-hero {
    background-color: var(--vace-dark-surface);
}

html[data-vace-theme="dark"] .vace-design.vace-shop .shop-modern-body {
    --public-bg: var(--vace-dark-page);
    --public-surface: var(--vace-dark-surface);
    --public-surface-soft: var(--vace-dark-soft);
    --public-text: var(--vace-dark-ink);
    --public-muted: var(--vace-dark-muted);
    --public-line: var(--vace-dark-line);
    background: var(--public-bg);
}

html[data-vace-theme="dark"] .vace-design.vace-shop :is(.shop-account-card, .shop-modern-controls, .shop-product-card, .shop-modern-empty) {
    background-color: var(--vace-dark-surface);
    border-color: var(--vace-dark-line);
}

html[data-vace-theme="dark"] .vace-design.vace-shop :is(.shop-modern-search, .shop-product-image) {
    background-color: var(--vace-dark-soft);
    border-color: var(--vace-dark-line);
}

html[data-vace-theme="dark"] .vace-design.vace-shop .shop-category-list button.is-active {
    background-color: var(--vace-dark-elevated);
    border-color: var(--vace-dark-line);
    color: var(--vace-dark-ink);
}
