/* Shared appearance preference. Playback always retains a dark cinema canvas. */
:root{color-scheme:dark;--premiere-gold:#e5be7a;--premiere-red:#ee234b;--theme-bg:#0c0d12;--theme-panel:#171921;--theme-raised:#20232d;--theme-text:#f6f3ef;--theme-muted:#afb0bd;--theme-line:#ffffff20}
:root[data-theme="light"]{color-scheme:light;--premiere-gold:#92611e;--theme-bg:#f5f3ef;--theme-panel:#fff;--theme-raised:#ece9e3;--theme-text:#20232d;--theme-muted:#5c6170;--theme-line:#252a3529}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-width:44px;min-height:44px;padding:9px 13px;border:1px solid var(--theme-line);border-radius:100px;background:var(--theme-panel);color:var(--theme-text);font-family:inherit;font-size:13px;font-weight:600;line-height:1.2;cursor:pointer;white-space:nowrap;flex-shrink:0}
.theme-toggle>span:first-child{font:22px/1 Georgia,serif;color:var(--premiere-gold)}
.theme-toggle:hover{border-color:var(--premiere-gold);background:var(--theme-raised)}
.theme-toggle:focus-visible{outline:3px solid var(--premiere-gold);outline-offset:3px}
html[data-theme="light"] body{--bg:var(--theme-bg);--side:#fff;--panel:#fff;--surface:#fff;--text:var(--theme-text);--muted:var(--theme-muted);--line:var(--theme-line);background:var(--theme-bg);color:var(--theme-text)}
html[data-theme="light"] :is(.site-header,.topbar){background:#fffffff2;border-color:var(--theme-line)}
html[data-theme="light"] :is(.site-brand,.brand-logo,.mobile-brand){filter:brightness(.38) saturate(1.3)}
html[data-theme="light"] :is(.main-navigation,.header-actions,.footer-links,.account-link,.catalog-account-shortcut,.footer-wordmark){color:var(--theme-text)}
html[data-theme="light"] :is(.auth-card,.profile-card,.subscription-card,.checkout-card,.checkout-payment,.welcome-panel,.experience-card,.pricing-card,.plan-card,.faq details,.policy-dialog,.personal-list-dialog,.account-card,.security-card,.admin-card,.admin-panel,.admin-section,.team-panel,.team-card,.reseller-card){background:var(--theme-panel);color:var(--theme-text);border-color:var(--theme-line);box-shadow:0 8px 30px #28211906}
html[data-theme="light"] :is(.field,.profile-card p,.auth-foot a,.inline-link,.forgot-link,.account-heading p,.subscription-card>p,.experience-card p,.pricing-equivalent,.pricing-payment,.plan-description){color:var(--theme-muted)}
html[data-theme="light"] :is(.field input,.field textarea,.field select,.home-search-form input,.home-search-form>div,.btn.outline,.btn.quiet,.button.secondary){background:var(--theme-panel);color:var(--theme-text);border-color:var(--theme-line)}
html[data-theme="light"] :is(.home-title,.home-title h3,.rail-heading h3,.network-wordmark,.home-category-card,.home-content-nav a,.catalog-cta,.text-link,.channel-chip,.rail-arrow){color:var(--theme-text)}
html[data-theme="light"] :is(.home-content-nav a,.channel-chip,.rail-arrow,.home-category-card,.home-browse-panel,.home-search-results){background:var(--theme-panel);border-color:var(--theme-line)}
html[data-theme="light"] :is(.overline,.experience-kicker,.status-label,.pricing-duration){color:#9c3750}
html[data-theme="light"] .pricing-price{color:var(--theme-text)}
html[data-theme="light"] .site-footer{background:transparent;color:var(--theme-muted)}
/* The hero and artwork overlays intentionally remain a dark projection surface. */
html[data-theme="light"] :is(.home-hero,.hero,.home-saga-poster,.home-network-tile){color:#fff;--text:#fff;--muted:#d1d0d7}
html[data-theme="light"] :is(.home-hero,.hero) :is(h1,h2,p,.overline,.btn.quiet,.hero-caption){color:#fff}
html[data-theme="light"] :is(.home-hero,.hero) .btn.quiet{background:#ffffff17;border-color:#ffffff50}
html[data-theme="light"] :is(.media-dialog,.player-dialog,.details-dialog){color-scheme:dark;--text:#f6f3ef;--muted:#afb0bd;--panel:#171921;--line:#ffffff20}
@media(max-width:680px){.theme-toggle{padding:9px;width:44px}.theme-toggle-label{display:none}.header-actions{gap:8px}.header-actions .theme-toggle{margin:0}}
html[data-theme="light"] .workspace-main{--ws-panel:#fff;--ws-line:var(--theme-line);--ws-muted:var(--theme-muted)}
html[data-theme="light"] .workspace-main :is(.admin-metric,.analytics-metric,.analytics-card,.admin-toolbar,.analytics-filters,.admin-table,.admin-table th,.operations-card,.recovery-card,.resale-card,.playback-transfer,.operations-summary article,.resale-metrics article,.recovery-secondary details,.recovery-progress,.resale-panel,.operations-note,.account-access-card,.account-snapshot article,.account-security-card,.device-card,.notice-card,.order-list,.account-empty,.empty-notices,#noticePreferences){background:var(--theme-panel);color:var(--theme-text);border-color:var(--theme-line)}
html[data-theme="light"] .workspace-main :is(p,small,label,summary,.workspace-breadcrumb,.workspace-sidebar-note,.workspace-nav-label,.analytics-refresh,.metrics-note,.account-renew-link,.account-joined){color:var(--theme-muted)}
html[data-theme="light"] .workspace-main :is(strong,h1,h2,h3,h4,.workspace-sidebar-note>a,.workspace-breadcrumb a){color:var(--theme-text)}
html[data-theme="light"] .workspace-main :is(input:not([type="checkbox"]),select,textarea){color:var(--theme-text);background:var(--theme-panel);border-color:var(--theme-line)}
html[data-theme="light"] .workspace-nav :is(a,button){color:var(--theme-muted)}
html[data-theme="light"] .workspace-main :is(.workspace-nav .active,.workspace-nav [aria-current],.operations-tabs button.active,.resale-tabs button.active){background:#c12d4814;color:#9d2c46;border-color:#b9304a40}
html[data-theme="light"] .workspace-main :is(.operations-tabs button,.resale-tabs button,.admin-badge,.workspace-identity){background:var(--theme-raised);color:var(--theme-text);border-color:var(--theme-line)}
html[data-theme="light"] .workspace-main :is(.admin-badge.active,.account-access-status.active,.device-current,.order-status.paid){background:#23795015;color:#256045;border-color:#23795040}
html[data-theme="light"] .admin-dialog{background:var(--theme-panel);color:var(--theme-text);border-color:var(--theme-line)}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

@media(max-width:1100px){.header-actions .theme-toggle{width:44px;padding:9px}.header-actions .theme-toggle-label{display:none}}
