/* Readable light palette; playback and poster overlays keep their own contrast. */
body[data-theme="light"] { --color-bg:#f5f7fb; --color-surface:#fff; --color-surface-2:#edf1f7; --color-text:#182235; --color-muted:#526075; --color-line:#d6deea; --color-glass:rgba(255,255,255,.96); }
body[data-theme="light"] .ambient-backdrop { opacity:.22; }
body[data-theme="light"] .site-header { background:rgba(255,255,255,.97)!important; border-bottom:1px solid #d6deea; box-shadow:0 3px 18px #18223508; }
body[data-theme="light"] .nav__logo-text-img { filter:brightness(0) saturate(100%)!important; }
body[data-theme="light"] .nav__search { background:#f1f4f8!important; border:1px solid #cbd5e1!important; box-shadow:none!important; }
body[data-theme="light"] .nav__search input { color:#182235!important; }
body[data-theme="light"] .nav__search input::placeholder { color:#5d687a!important; }
body[data-theme="light"] .nav-tab { color:#334155!important; background:#f3f5f9!important; border:1px solid #dce3ed!important; }
body[data-theme="light"] .nav-tab:hover,body[data-theme="light"] .nav-tab.is-active { background:#fff3c4!important; color:#634700!important; border-color:#cfaa36!important; }
body[data-theme="light"] .section .eyebrow,body[data-theme="light"] .text-link,body[data-theme="light"] .industry__eyebrow { color:#856000!important; }
body[data-theme="light"] .continue-card { background:#fff!important; border:1px solid #d5ddea!important; box-shadow:0 3px 12px #18223508; }
body[data-theme="light"] .continue-card__title { color:#182235!important; }
body[data-theme="light"] .continue-card__meta { color:#536176!important; }
body[data-theme="light"] .continue-resume-badge { background:#fff0e8!important; color:#a63b1b!important; }
body[data-theme="light"] .movie-card__title,body[data-theme="light"] .movie-card__body h3 { color:#182235!important; }
body[data-theme="light"] .movie-card__meta,body[data-theme="light"] .section__description { color:#526075!important; }
body[data-theme="light"] .header-more-btn,body[data-theme="light"] .clear-history-btn,body[data-theme="light"] .round-button { color:#334155!important; background:#fff!important; border-color:#cbd5e1!important; }
body[data-theme="light"] .header-more-dropdown,body[data-theme="light"] #nav-auth-container .nav__user-dropdown { background:#fff!important; color:#182235!important; border-color:#d6deea!important; box-shadow:0 14px 40px #18223524!important; }
body[data-theme="light"] .header-more-item,body[data-theme="light"] .header-more-title,body[data-theme="light"] #nav-auth-container .user-dropdown__item { color:#253247!important; }
body[data-theme="light"] .header-more-sub,body[data-theme="light"] #nav-auth-container .user-dropdown__email { color:#5d687a!important; }
body[data-theme="light"] .header-more-item:hover,body[data-theme="light"] #nav-auth-container .user-dropdown__item:hover { background:#f0f4f9!important; }
body[data-theme="light"] .header-more-divider,body[data-theme="light"] #nav-auth-container .user-dropdown__divider { background:#e2e8f0!important; border-color:#e2e8f0!important; }
body[data-theme="light"] #nav-auth-container .user-dropdown__badge { color:#775600!important; background:#fff5d1!important; border-color:#e5cc7b!important; }
body[data-theme="light"] #nav-auth-container .user-dropdown__item--danger { color:#b42332!important; }
body[data-theme="light"] .header-nav-subtitle-btn,body[data-theme="light"] .nav__signin-btn { color:#725200!important; background:#fff7d9!important; border-color:#c8a52f!important; }
body[data-theme="light"] #header-nav-download-btn { color:#086344!important; background:#e8f7ef!important; border-color:#9dd5b8!important; }
body[data-theme="light"] .search-dropdown { background:#fff!important; color:#182235!important; border-color:#d6deea!important; }
body[data-theme="light"] .header-more-badge.badge-gold {color:#765400!important;background:#fff3c4!important;border-color:#d7ba61!important;}
body[data-theme="light"] .header-more-badge.badge-green {color:#086344!important;background:#e5f5ec!important;border-color:#9ccdb0!important;}
body[data-theme="light"] .header-more-badge.badge-blue {color:#175e94!important;background:#e6f2fc!important;border-color:#aacde8!important;}
/* Pearl nebula: two compositor-friendly decorative layers, no external images. */
.pearl-nebula { display:none; }
body[data-theme="light"] .ambient-backdrop { opacity:0!important; }
body[data-theme="light"] .pearl-nebula { display:block; position:fixed; inset:0; overflow:hidden; pointer-events:none; z-index:0; background:#f7f9fd; }
.pearl-nebula__cloud { position:absolute; inset:-10%; background:radial-gradient(ellipse at 18% 28%,#aad8f479,transparent 46%),radial-gradient(ellipse at 83% 35%,#d7c8ef70,transparent 43%),radial-gradient(ellipse at 62% 85%,#bcebe45c,transparent 43%),radial-gradient(ellipse at 44% 12%,#f5dfaa50,transparent 32%); animation:pearl-cloud-drift 34s ease-in-out infinite alternate; }
.pearl-nebula__stars { position:absolute; inset:-5%; opacity:.65; background-image:radial-gradient(circle at 12% 23%,#779dbb99 0 1px,transparent 2px),radial-gradient(circle at 76% 68%,#d1a84caa 0 1.2px,transparent 2.5px),radial-gradient(circle at 38% 83%,#ffffff 0 1.6px,transparent 3px),radial-gradient(circle at 91% 17%,#99a8c488 0 .8px,transparent 2px); background-size:310px 290px,470px 390px,380px 340px,530px 430px; animation:pearl-star-drift 45s linear infinite alternate; }
@keyframes pearl-cloud-drift { from{transform:translate3d(-1%,-1%,0) scale(1)}to{transform:translate3d(2%,2%,0) scale(1.06)} }
@keyframes pearl-star-drift { from{transform:translate3d(0,0,0);opacity:.45}to{transform:translate3d(14px,-22px,0);opacity:.8} }
@media(max-width:767px) { .pearl-nebula__cloud { inset:0; animation:none; } .pearl-nebula__stars { animation-duration:60s; opacity:.45; } }
@media(prefers-reduced-motion:reduce) { .pearl-nebula__cloud,.pearl-nebula__stars { animation:none!important; } }
