:root{color-scheme:light}
.theme-toggle{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #d2d5c9;background:#e8e7df;border-radius:20px;cursor:pointer;flex-shrink:0;min-width:59px;height:31px;color:#838976}
.theme-toggle>.icon{width:25px;height:23px;padding:4px;border-radius:50%;transition:background .2s,color .2s,box-shadow .2s}
[data-theme=light] .theme-toggle>.theme-sun{color:#8b523b;background:#fffdf7;box-shadow:0 1px 4px #353c2220}
:root[data-theme=dark]{color-scheme:dark;--bg:#181b17;--panel:#242922;--text:#e4e8dc;--muted:#a0a995;--line:#363e31;--green:#da8b6e;--accent:#da8b6e}
[data-theme=dark] body.independent-layout{background:var(--bg);color:var(--text)}
[data-theme=dark] .global-header{border-color:var(--line)}
[data-theme=dark] .global-header .brand img{filter:brightness(0) invert(.92)}
[data-theme=dark] .desktop-nav a{color:#9ba58f}[data-theme=dark] .desktop-nav a.active{color:#e0e8d4}
[data-theme=dark] .global-search,[data-theme=dark] .global-search input,[data-theme=dark] .global-search input::placeholder{color:#a9b19f}
[data-theme=dark] .account,[data-theme=dark] .theme-toggle{background:#252c21;border-color:#434d39;color:#9eae8e}
[data-theme=dark] .account .icon,[data-theme=dark] .top-actions .icon-button,[data-theme=dark] .sleep-timer{color:#adbc9c}
[data-theme=dark] .theme-toggle>.theme-moon{background:#4d5a40;color:#e4edd9;box-shadow:0 1px 4px #0003}
[data-theme=dark] .account:hover,[data-theme=dark] .sleep-timer:hover,[data-theme=dark] .sleep-timer.active,[data-theme=dark] .top-actions .icon-button:hover{background:#323c29;border-color:#536344;color:#dfebce}
[data-theme=dark] .listening-room,[data-theme=dark] .room-editorial,[data-theme=dark] .mood-filters,[data-theme=dark] .page-footer{border-color:var(--line)}
[data-theme=dark] .room-copy h1{color:#e4e8dd}[data-theme=dark] .room-copy h1 em{color:#9fa98f}
[data-theme=dark] .room-description,[data-theme=dark] .room-actions>a,[data-theme=dark] .room-eyebrow,[data-theme=dark] .room-footnote,[data-theme=dark] .room-footnote>span:last-child,[data-theme=dark] .record-caption,[data-theme=dark] .record-info p,[data-theme=dark] .section-kicker,[data-theme=dark] .section-heading .section-kicker,[data-theme=dark] .text-link,[data-theme=dark] .mood-chip,[data-theme=dark] .music-card>p,[data-theme=dark] .music-card>.card-label,[data-theme=dark] .room-editorial p:not(.section-kicker),[data-theme=dark] .artist-card p,[data-theme=dark] .demo-banner,[data-theme=dark] .page-footer{color:#a3ae96}
[data-theme=dark] .room-record{background:#282e24;box-shadow:0 12px 30px #0002}
[data-theme=dark] .record-info h2,[data-theme=dark] .section-heading h2,[data-theme=dark] .music-card h3,[data-theme=dark] .artist-card h3{color:#dbe6ce}
[data-theme=dark] .record-play{border-color:#62734e;color:#c4d5ac}[data-theme=dark] .record-play:hover{background:#3c492f}
[data-theme=dark] .mood-chip[aria-pressed=true]{color:#e2a488}[data-theme=dark] .mood-chip[aria-pressed=true]:after{background:#cf9374}
[data-theme=dark] .room-actions .button,[data-theme=dark] .button.primary{background:#c17456;color:#fff9ed}[data-theme=dark] .button.primary:hover{background:#d18160}
[data-theme=dark] .card-play{background:#d8e2cc;color:#35452a}
[data-theme=dark] .editorial-number{color:#515c44}[data-theme=dark] .room-editorial h2{color:#cadab8}
[data-theme=dark] .editorial-listen{background:#2b3524;border-color:#425337;color:#c4d6b1}[data-theme=dark] .editorial-listen span{color:#d0dfbf}[data-theme=dark] .editorial-listen small{color:#a1b18e}
[data-theme=dark] .track-row{border-color:var(--line)}[data-theme=dark] .track-row:hover{background:#262f20}
[data-theme=dark] .track-name{color:#d2e0c0}[data-theme=dark] .track-artist,[data-theme=dark] .track-album,[data-theme=dark] .track-time,[data-theme=dark] .track-num,[data-theme=dark] .unavailable{color:#a0ad90}
[data-theme=dark] .track-row .icon-button{color:#9fb487}[data-theme=dark] .track-row .icon-button:hover{background:#38472a;color:#d5e7c0}
[data-theme=dark] .player{background:#10160e;box-shadow:0 8px 35px #0005;border:1px solid #3d4a32}
[data-theme=dark] .queue-panel,[data-theme=dark] .track-details:not([hidden]),[data-theme=dark] dialog{background:#272f20;border-color:#4a5c39;color:#d1e3bd}
[data-theme=dark] .queue-item{color:#c9dcb4;border-color:#425332}[data-theme=dark] .queue-item small{color:#a3b78e}
[data-theme=dark] .context-title h2,[data-theme=dark] .details-heading strong,[data-theme=dark] .sound-passport h3,[data-theme=dark] .context-artist h3{color:#cde4b7}
[data-theme=dark] .track-details .context-title a:not(h2 a),[data-theme=dark] .sound-passport>div,[data-theme=dark] .sound-passport .section-kicker,[data-theme=dark] .track-details .sound-passport>p:last-child:not(:first-child),[data-theme=dark] .context-artist a p,[data-theme=dark] .context-tip,[data-theme=dark] .context-tip small{color:#a7bc90}
[data-theme=dark] .sound-passport,[data-theme=dark] .context-artist{background:#344529}
[data-theme=dark] .page-title,[data-theme=dark] .detail-hero h1,[data-theme=dark] .form-card h2,[data-theme=dark] .empty h2{color:#d2e6bd}
[data-theme=dark] .lead,[data-theme=dark] .page-intro .eyebrow,[data-theme=dark] .detail-hero p,[data-theme=dark] .form-card label,[data-theme=dark] dialog label,[data-theme=dark] .empty p{color:#a9bc94}
[data-theme=dark] .form-card,[data-theme=dark] .search-field,[data-theme=dark] .empty,[data-theme=dark] .stat{background:#252f1f;border-color:#495b37;color:#a7be8d}
[data-theme=dark] .form-card input,[data-theme=dark] .form-card select,[data-theme=dark] .form-card textarea,[data-theme=dark] dialog input{background:#1c2417;border-color:#516440;color:#d6e9c4}
[data-theme=dark] .search-field input{color:#d2e6bc}[data-theme=dark] .button{background:#3b4d2e;color:#d2e7c0}[data-theme=dark] .tabs a{border-color:#4c623b;color:#b4cd9c}[data-theme=dark] .tabs a.active{background:#445c33;color:#e0f1ce}
[data-theme=dark] #fullscreen-player,[data-theme=dark] #fs-artist,[data-theme=dark] #fs-time,[data-theme=dark] .fs-volume-label,[data-theme=dark] .close-dialog{color:#bfd7a5}
[data-theme=dark] #toast{background:#3a502b;color:#e1f4cf;box-shadow:0 7px 30px #0003}
[data-theme=dark] .mobile-nav{background:#181b17;border-color:#38432e}[data-theme=dark] .mobile-nav a{color:#9bab8b}[data-theme=dark] .mobile-nav a.active{color:#e3a384}
@media(max-width:760px){.theme-toggle{min-width:49px;height:29px;padding:2px;gap:0}.theme-toggle>.icon{width:22px;height:23px}.global-header .top-actions{gap:1px}.global-search{min-width:0}.global-search input{min-width:0}}
@media(prefers-reduced-motion:reduce){.theme-toggle>.icon{transition:none}}
