/* Color-only layer: original light design, layout and brand gradients are preserved. */
html[data-vibe-mode="dark"] { color-scheme: dark; background: #0d1320; }
html[data-vibe-mode="dark"] body.vibe-site {
    color-scheme: dark;
    --vibe-bg: #0d1320; --vibe-bg-soft: #101827; --vibe-surface: #172132; --vibe-surface-strong: #202d43;
    --vibe-text: #edf3ff; --vibe-muted: #aab7cc; --vibe-line: #33415a;
    --vibe-page-bg: #0d1320; --vibe-page-surface: #172132; --vibe-page-surface-soft: #202d43;
    --vibe-page-text: #edf3ff; --vibe-page-muted: #aab7cc; --vibe-page-line: #33415a;
    --vibe-page-blue: #9db8ff; --vibe-page-blue-dark: #a9beff;
    --primary-text: #edf3ff; --heading-text: #edf3ff; --page-title: #edf3ff; --lecture-text: #a9beff;
    --secondary-btn-bg: #24324b; --secondary-btn-color: #edf3ff;
    --footer-bg: #090f1b; --footer-heading-text: #edf3ff; --footer-links: #b6c3d9;
    background: #0d1320 !important; color: #edf3ff;
}
html[data-vibe-mode="dark"] body.vibe-site #main { background: #0d1320 !important; color: #edf3ff; }
html[data-vibe-mode="dark"] body.vibe-site .mood-radios { background: #101a2b !important; }
html[data-vibe-mode="dark"] body.vibe-site .mood-radios h2 { color: #edf3ff !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.element-post,.element-post .bio,.artist-navbar-wpr) { background: #172132 !important; border-color: #354760 !important; color: #d5deee !important; }
html[data-vibe-mode="dark"] body.vibe-site .element-post > .details { color: #d5deee !important; }
html[data-vibe-mode="dark"] body.vibe-site .element-post :is(p,li,span,h2,h3,h4,strong) { color: inherit !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.element-post a,.artist-navbar-wpr a) { color: #b7caff !important; }
html[data-vibe-mode="dark"] body.vibe-site .vibe-artist-search-control { background: #202e45 !important; border-color: #7183a8 !important; overflow: hidden; }
html[data-vibe-mode="dark"] body.vibe-site .vibe-artist-search { background: transparent !important; }
html[data-vibe-mode="dark"] body.vibe-site #vibe-artist-search-input { background: transparent !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.home-sliders,.home-sliders-wpr,.home-slider-section,.vibe-home-block--white) { background: #0d1320 !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-home-block--white > .container-fluid,.vibe-home-block--white > .highlight-block) { background: #0d1320 !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.highlight-block,.home-featured-artists,.vibe-home-block--color) { background: linear-gradient(125deg,#182c50,#253866) !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.block-header-title,.page-header-block .title,.mood-radios-title,.home-featured-artists h2) { color: #edf3ff !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.element-list,.home-podcast-list .item,.home-latest-videos-list,.home-news-list,.home-news-featured,.custom-select-links,.custom-select-selected.open,.card) { background: #172132 !important; border-color: #33415a !important; color: #edf3ff !important; box-shadow: 0 14px 40px #03071224; }
html[data-vibe-mode="dark"] body.vibe-site :is(.element-list .title,.home-podcast-list .title,.home-podcast-list .author,.home-latest-videos-list .title,.home-news-list .title,.home-news-featured .title,.custom-select-link a,.card-title) { color: #edf3ff !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.element-list .date,.element-list .venue,.home-news-list .date,.home-podcast-list .date,.home-latest-videos-list .date,.home-news-featured .date,.text-muted) { color: #b0bed4 !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.element-list .category,.home-news-list .category,.home-podcast-list .category) { color: #a9beff !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.btn-action:not(.contrast),.button-secondary,.page-link) { background: #253450 !important; border-color: #3b5074 !important; color: #edf3ff !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.page-item.active .page-link,.btn-action:not(.contrast):hover) { background: #425cb7 !important; color: #fff !important; }
html[data-vibe-mode="dark"] body.vibe-site .element-list-latest :is(.button,.button-contrast) { background: #edf2ff !important; color: #304b97 !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.post-content,.article-content,.news-content,.artist-description,.biography,.content-text,.lecture,.card-body) { color: #d5deee !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.post-content,.article-content,.news-content,.artist-description,.biography,.content-text,.lecture) :is(p,li,span,h2,h3,h4,strong) { color: inherit !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.post-content,.article-content,.news-content,.artist-description,.biography,.content-text,.lecture) a { color: #abc1ff !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),textarea,select,.form-control) { background-color: #101a2c !important; border-color: #40516e !important; color: #edf3ff !important; color-scheme: dark; }
html[data-vibe-mode="dark"] body.vibe-site :is(input,textarea)::placeholder { color: #a4b2c9 !important; opacity: 1; }
html[data-vibe-mode="dark"] body.vibe-site :is(.form-label,.form-check-label,label) { color: #d7e0f1; }
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-artist-search-field,.vibe-artist-search-shell) { background: #172132 !important; border-color: #40516e !important; color: #edf3ff !important; }
html[data-vibe-mode="dark"] body.vibe-site footer { background: #090f1b !important; color: #b6c3d9 !important; }
html[data-vibe-mode="dark"] body.vibe-site footer :is(a,p,li) { color: #b6c3d9 !important; }
html[data-vibe-mode="dark"] body.vibe-site footer :is(h3,h4,strong) { color: #edf3ff !important; }
/* Preference rail and its six-language panel. */
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-preference-dock,.vibe-language-menu) { background: #172132f5; border-color: #40516e; color: #d6e2ff; }
html[data-vibe-mode="dark"] .vibe-preference-dock > button:is(:hover,[aria-expanded="true"]),
html[data-vibe-mode="dark"] .vibe-language-menu [role="menuitemradio"]:is(:hover,:focus-visible,[aria-checked="true"]) { background: #293b5e; color: #fff; }
html[data-vibe-mode="dark"] :is(.vibe-language-option-code,.vibe-language-check) { color: #b3c6ff; }
html[data-vibe-mode="dark"] .vibe-language-caption { color: #b0bed4; }
html[data-vibe-mode="dark"] .vibe-preference-dock .vibe-theme-button { border-color: #33415a; }
/* Dialogs inherit the active theme rather than remaining bright white. */
html[data-vibe-mode="dark"] body.vibe-site :is(.modal-content,.dedication-box,.vibe-global-search-dialog,.vibe-chat-panel) { background: #141e30 !important; color: #edf3ff !important; border-color: #354760 !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.modal-body,.modal-footer,.vibe-global-search-results,.vibe-global-search-footer,.vibe-chat-messages,.vibe-chat-join,.vibe-chat-composer,.vibe-chat-community-note,.vibe-chat-welcome,.vibe-chat-emoji-picker) { background-color: #141e30 !important; border-color: #354760 !important; color: #c4d0e4 !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-global-search-heading h2,.modal-title,.vibe-chat-heading h2,.vibe-global-search-result-copy strong,.vibe-chat-welcome strong,.vibe-chat-message-meta strong) { color: #edf3ff !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-global-search-summary,.vibe-global-search-state,.vibe-chat-empty,.vibe-chat-composer-meta,.modal-content .form-text,.vibe-global-search-result-copy small) { color: #adbbd2 !important; }
html[data-vibe-mode="dark"] body.vibe-site .vibe-chat-community-note { background: #1e2d45 !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-chat-community-note strong,.vibe-chat-community-note small,.vibe-chat-empty strong,.vibe-chat-empty span) { color: #c9d7ee !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-global-search-field,.vibe-global-search-result,.vibe-chat-message-content,.vibe-global-search-filters button) { background: #202e45 !important; border-color: #3c4d69 !important; color: #edf3ff !important; }
html[data-vibe-mode="dark"] body.vibe-site .vibe-global-search-field input { background: transparent !important; }
html[data-vibe-mode="dark"] body.vibe-site .vibe-global-search-result-copy > span { color: #b4c2d8 !important; }
html[data-vibe-mode="dark"] body.vibe-site .vibe-global-search-heading > div > span { color: #a9beff !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-global-search-filters button.is-active,.vibe-global-search-result:hover,.vibe-chat-message.is-mine .vibe-chat-message-content) { background: #2d4573 !important; }
/* Existing floating player colors remain unchanged; its library switches theme. */
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-player-popover,.vibe-player-library) { background: #172132 !important; border-color: #40516e; color: #edf3ff; }
html[data-vibe-mode="dark"] body.vibe-site .vibe-library-heading { background: linear-gradient(120deg,#233452,#302c50); }
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-library-heading strong,.vibe-library-track-link strong,.vibe-library-radio-play strong,.vibe-library-empty strong,.vibe-player-panel-heading strong,.vibe-player-history-item strong) { color: #edf3ff !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-library-heading span,.vibe-library-track-link small,.vibe-library-track-link time,.vibe-library-radio-play small,.vibe-library-hint,.vibe-library-empty span,.vibe-library-storage-note,.vibe-player-favorites-count,.vibe-player-history-item small) { color: #b3c0d6 !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-library-tabs,.vibe-library-storage-note,.vibe-player-library .vibe-player-favorite-item) { border-color: #35435c !important; }
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-library-radio,.vibe-library-radio.is-preferred,.vibe-player-station-option) { background: #202e45; color: #edf3ff; border-color: #45567c; }
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-library-save-track,.vibe-library-tabs button[aria-selected="true"]) { background: #2b3e64; color: #c2d2ff; border-color: #506797; }
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-library-tabs button,.vibe-library-close,.vibe-library-radio-save,.vibe-library-radio-play,.vibe-library-radio-save[aria-pressed="true"]) { color: #bcccf1; }
html[data-vibe-mode="dark"] body.vibe-site .vibe-player-history-item { background-color: transparent; border-color: #35435c; }
html[data-vibe-mode="dark"] body.vibe-site :is(.vibe-player-station-option strong,.vibe-player-station-option small) { color: #d8e3f6; }
