/* Load last. Text/surface pairings only; media and logo treatments are untouched. */
:root[data-atmosphere-theme="light"] { --text-primary:#0e0e0e; --text-muted:#55555b; --text-pink:#ac2055; --text-blue:#006c94; }
:root[data-atmosphere-theme="dark"] { --text-primary:#f3f3f5; --text-muted:#c1c1ca; --text-pink:#ff84b0; --text-blue:#68d4ff; }
:root[data-atmosphere-theme] :is(.project p,.shoot-film-copy > p,.shoot-reference-copy > p,.film-card p,.selected-work-grid p) { color:var(--text-muted); }
:root[data-atmosphere-theme] :is(.shoot-type span,.shoot-reference-copy > p > span,.shoot-status,.shoot-jumps span,.credit .via,.film-credit,.film-number,.caption,.media-page figcaption,.archive-entry-format,.archive-inventory,.about-experience .timeline p:first-of-type,.about-qualifications .timeline p) { color:var(--text-muted); }
:root[data-atmosphere-theme] :is(.logo b,.navlinks a.active,.navlinks a:hover) { color:var(--text-pink); }
:root[data-atmosphere-theme] .menu { color:var(--text-primary); }
:root[data-atmosphere-theme] :is(.btn.primary,.archive-view-switch button[aria-pressed="true"]) { color:var(--paper); }
:root[data-atmosphere-theme="dark"] :is(.film-card,.view-toggle,body.archive-grid-view .archive-links a) { background:#222225; color:var(--text-primary); }
:root[data-atmosphere-theme="dark"] .archive-entry:hover { background:#29292e; }
:root[data-atmosphere-theme] :is(.footer,.ticker,.tag,.archive-poster,.project-next,.btn.hot,.youtube-thumb span,.view-toggle button.active) { color:#0e0e0e; }
:root[data-atmosphere-theme] .view-toggle button:not(.active) { color:var(--text-primary); }
:root[data-atmosphere-theme] .shoot-runtime { background:#111; color:#fff; }
:root[data-atmosphere-theme] .shoot-thumbnail:hover .shoot-watch { color:#0e0e0e; }
:root[data-atmosphere-theme] :is(.film-card:hover,.archive-view-switch button:hover,.credential-link:hover) { color:#0e0e0e; }
/* Reversed stage variables belong to the background owner. Use explicit text tokens. */
:root[data-atmosphere-theme] :is(.cinema-room .section-head p,.cinema-stage .selected-work-grid > .card p,.about-hobbies ul) { color:var(--text-muted); }
:root[data-atmosphere-theme] :is(.lens-tabs button[aria-selected="true"],.lens-role,.cinema-seek button[aria-current="true"],.world-links a.is-current,.world-links a:hover) { color:var(--text-pink); }
:root[data-atmosphere-theme] .producer-feature h3 { color:var(--text-blue); }
:root[data-atmosphere-theme="light"] .about-hobbies h3 { color:var(--text-primary); }
:root[data-atmosphere-theme] :is(.arrival-glyph:first-child,.arrival-glyph:last-child,.arrival-heading p strong) { color:var(--text-pink); }
:root[data-atmosphere-theme] .band .section-head p { color:var(--text-muted); }
:root[data-atmosphere-theme] .work-tile .overlay { color:#f3f3f5; }
:root[data-atmosphere-theme="dark"] .btn.primary { color:#18181b; }
:root[data-atmosphere-theme] .cinema-stage .selected-work-grid > .card .tag { color:var(--text-primary); }
:root[data-atmosphere-theme] body:has(.about-lens) .mini-cards .tag { color:var(--text-primary); }
