/* Authored light appearance for the main site. Every rule is light-only;
   the original page styles remain the source of truth for the dark theme. */
html[data-theme="light"] {
    color-scheme: light;
    --bg-body: #f6f7fa;
    --bg-main: #f6f7fa;
    --bg-card: #fff;
    --bg-overlay: rgba(255, 255, 255, .97);
    --border-color: #dfe3ec;
    --text-main: #1b2232;
    --text-primary: #1b2232;
    --text-secondary: #4d596d;
    --text-muted: #616d80;
    --accent: #7042c1;
    --accent-hover: #59309e;
    --accent-glow: rgba(112, 66, 193, .12);
    --success: #14734c;
    --danger: #bd344a;
    --info: #245dad;
    --warning: #915b13;
    --glass-bg: #fff;
    --glass-border: #dfe3ec;
    --glass-shadow: 0 8px 28px rgba(35, 45, 68, .06);
    --glass-inner-bg: #f1f3f8;
    --glass-inner-border: #e4e7ef;
    --lt-ink: var(--text-main);
    --lt-ink-2: #303b50;
    --lt-ink-3: #435066;
    --lt-ink-4: var(--text-secondary);
    --lt-ink-5: var(--text-muted);
    --lt-card: #fff;
    --lt-line: var(--border-color);
    --lt-line-soft: #e9ecf2;
    --lt-line-strong: #cbd2df;
    --lt-hover: #eef0f7;
    --lt-bar: rgba(255, 255, 255, .97);
    --lt-shadow: 0 12px 36px rgba(35, 45, 68, .07);
    --lt-shadow-raised: 0 20px 52px rgba(35, 45, 68, .12);
    --lt-violet-soft: #eee8f8;
    --lt-gold: #805c24;
    --lt-gold-soft: #f5efdf;
    --lx-ink: var(--bg-main);
    --lx-panel: #fff;
    --lx-brass: var(--lt-gold);
    --lx-brass2: #76531e;
    --lx-ivory: var(--text-main);
    --lx-muted: var(--text-secondary);
    --lx-line: var(--border-color);
    --archive-bg: #f7f6f2;
    --archive-panel: #fff;
    --archive-panel-strong: #fff;
    --archive-line: #e1dfd5;
    --archive-line-strong: #c4b690;
    --archive-gold: #805c24;
    --archive-gold-soft: #f5efdf;
    --archive-ivory: #272a31;
    --archive-muted: #626573;
    --archive-silver: #525f75;
    --comment-heading: var(--text-main);
    --comment-text: var(--text-secondary);
    --comment-meta: var(--text-muted);
    --comment-icon: var(--text-secondary);
    --comment-bg: #fff;
    --comment-card-bg: #fff;
    --comment-border: var(--border-color);
    --comment-border-focus: #b7a2d7;
    --comment-border-focus-shadow: #eee8f8;
    --comment-input-text: var(--text-main);
    --comment-placeholder: var(--text-muted);
    --comment-tab-active-text: var(--accent);
    --comment-tab-active-bg: #eee8f8;
    --comment-tool-bg: #f0f2f7;
    --comment-link: var(--accent);
    --comment-link-hover: var(--accent-hover);
    --comment-attachment-bg: #f1f3f8;
    --comment-spoiler-bg: #e5e8f0;
    --comment-warning: #915b13;
    --comment-danger: var(--danger);
    --comment-vignette-start: rgba(255,255,255,0);
    --comment-vignette-end: #fff;
    scrollbar-color: #b8c0d0 var(--bg-main);
}

html[data-theme="light"] ::selection { background: #e4d9f6; color: #31204e; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: #b8c0d0 !important; }
html[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: #8c98ad !important; }
html[data-theme="light"] :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
html[data-theme="light"] :is(input, textarea, select) { accent-color: var(--accent); caret-color: var(--accent); }
html[data-theme="light"] :is(input, textarea)::placeholder { color: var(--text-muted); opacity: 1; }
html[data-theme="light"] :is(.glass-panel, .glass-card) { backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-theme="light"] :is(.shadow-lg, .shadow-xl, .shadow-2xl) { --tw-shadow: var(--lt-shadow); }
html[data-theme="light"] :is(.navbar, .mobile-bottom-nav) { color: var(--text-main); }
html[data-theme="light"] :is(.mobile-drawer-panel, .notification-dropdown, .dropdown-menu, .search-results) {
    background: var(--bg-card); color: var(--text-main); border-color: var(--border-color); box-shadow: var(--lt-shadow-raised);
}
html[data-theme="light"] :is(.btn-primary, .btn-read, .btn-login-nav, .premium-btn) {
    background: var(--accent); color: #fff; text-shadow: none; box-shadow: 0 4px 12px rgba(112, 66, 193, .16);
}
html[data-theme="light"] :is(.btn-primary, .btn-read, .btn-login-nav, .premium-btn):hover { background: var(--accent-hover); color: #fff; }
html[data-theme="light"] #notif-badge { background: var(--danger); color: #fff; }
html[data-theme="light"] #cookie-notice { background: rgba(255,255,255,.98) !important; color: var(--text-main) !important; border-color: var(--border-color) !important; box-shadow: 0 -8px 30px rgba(35,45,68,.09) !important; }
html[data-theme="light"] #cookie-preferences-modal { background: rgba(35,45,68,.4) !important; }
html[data-theme="light"] .driver-popover { background: #fff !important; color: var(--text-main) !important; border-color: var(--border-color) !important; box-shadow: var(--lt-shadow-raised) !important; backdrop-filter: none !important; }
html[data-theme="light"] :is(.driver-popover-title, .driver-popover-description) { color: var(--text-main) !important; }
html[data-theme="light"] :is(.driver-popover-footer, .driver-popover-close-btn, .driver-popover-progress-text) { color: var(--text-muted) !important; }
html[data-theme="light"] :is(.driver-popover-next-btn, .driver-popover-prev-btn) { background: var(--lt-violet-soft) !important; color: var(--accent) !important; border-color: #d6c9e9 !important; text-shadow: none !important; }
html[data-theme="light"] .driver-popover-arrow { border-color: transparent !important; }
html[data-theme="light"] .driver-popover-arrow-side-left { border-left-color: #fff !important; }
html[data-theme="light"] .driver-popover-arrow-side-right { border-right-color: #fff !important; }
html[data-theme="light"] .driver-popover-arrow-side-top { border-top-color: #fff !important; }
html[data-theme="light"] .driver-popover-arrow-side-bottom { border-bottom-color: #fff !important; }
html[data-theme="light"] #nz-ann-overlay { background: rgba(35,45,68,.4); }
html[data-theme="light"] #nz-ann-card { background: #fff; border-color: var(--border-color); box-shadow: var(--lt-shadow-raised); }
html[data-theme="light"] #nz-ann-title { color: var(--text-main); text-shadow: none; }
html[data-theme="light"] #nz-ann-body-text { color: var(--text-secondary); }
html[data-theme="light"] #nz-ann-body-text :is(p,li,blockquote,em) { color: var(--text-secondary); }
html[data-theme="light"] #nz-ann-body-text blockquote { background: var(--lt-violet-soft); border-color: #c5b1e1; }
html[data-theme="light"] #nz-ann-body-text :is(pre,code) { background: #f1f3f8; color: var(--text-main); border-color: var(--border-color); }
html[data-theme="light"] #nz-ann-body-text :is(h1,h2,h3,strong,b) { color: var(--text-main); }
html[data-theme="light"] #nz-ann-body-text a,
html[data-theme="light"] #nz-ann-body-text li::marker { color: var(--accent); }
html[data-theme="light"] :is(#nz-ann-close, #nz-ann-dismiss-btn) { background: #f1f3f8; color: var(--text-secondary); border-color: var(--border-color); }
html[data-theme="light"] #nz-ann-cta { background: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(112,66,193,.15); }
html[data-theme="light"] #nz-ann-badge { color: var(--accent); background: var(--lt-violet-soft); border-color: #d6c9e9; }
html[data-theme="light"] :is(.nz-crosspromo-card, .nz-reader-retention, .nz-nexa-preview, .nz-profile-universes) { background: #fff; color: var(--text-main); border-color: var(--border-color); box-shadow: var(--lt-shadow); }
html[data-theme="light"] :is(.nz-crosspromo-title, .nz-nexa-preview-title, .nz-profile-universes h3) { color: var(--text-main); }
html[data-theme="light"] :is(.nz-crosspromo-meta, .nz-community-profile-seen, .nz-community-empty) { color: var(--text-secondary); }
html[data-theme="light"] :is(.nz-crosspromo-kicker, .nz-crosspromo-btn, .nz-reader-retention-kicker) { color: var(--accent); }
html[data-theme="light"] :is(.nz-nexa-score, .nz-profile-universe small) { color: var(--lt-gold); }
html[data-theme="light"] .nz-community-empty { background: #f4f5f9; border-color: var(--border-color); }

/* Home: daylight paper, physical covers, ink hierarchy and quiet depth. */
html[data-theme="light"] :is(.home-page, .nhx-experience) {
    --nhx-canvas: var(--bg-main);
    --nhx-canvas-soft: #eef0f6;
    --nhx-surface: #fff;
    --nhx-surface-solid: #fff;
    --nhx-ink: var(--text-main);
    --nhx-muted: var(--text-secondary);
    --nhx-faint: var(--text-muted);
    --nhx-line: var(--border-color);
    --nhx-line-strong: #cbd2df;
    --nhx-accent: var(--accent);
    --nhx-accent-soft: var(--lt-violet-soft);
    --nhx-paper: #e6e0d6;
    background: var(--bg-main);
    color: var(--text-main);
}
html[data-theme="light"] .hero-section { background: #fbfaff !important; margin-bottom: 0; }
html[data-theme="light"] .hero-bg-blur { filter: blur(32px) saturate(1.1) brightness(1.15); opacity: .14; }
html[data-theme="light"] .hero-section .hero-gradient-overlay {
    background: linear-gradient(90deg, #fcfbff 8%, rgba(252,251,255,.96) 52%, rgba(248,245,255,.86));
}
html[data-theme="light"] :is(.hero-title, .section-title) { color: var(--text-main); text-shadow: none; }
html[data-theme="light"] :is(.hero-desc, .hero-seo-subtitle) { color: var(--text-secondary); }
html[data-theme="light"] .hero-desc :is(strong, b) { color: var(--text-main); }
html[data-theme="light"] .hero-tag { background: var(--lt-violet-soft); color: var(--accent); box-shadow: none; }
html[data-theme="light"] .hero-btn { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(112,66,193,.14); }
html[data-theme="light"] .hero-btn + .hero-btn { background: #fff !important; color: var(--text-main) !important; border-color: var(--border-color) !important; }
html[data-theme="light"] .hero-btn:hover { box-shadow: var(--lt-shadow-raised); }
html[data-theme="light"] .hero-poster-card { box-shadow: 0 22px 40px rgba(35,45,68,.18); }
html[data-theme="light"] :is(.nhx-reading-primary, .nhx-reading-secondary, .nhx-popular-surface, .nhx-popular-mobile-card,
    .nhx-collection-panel, .nhx-shelf-book, .nhx-shelf-empty, .nhx-shelf-loading, .nhx-comment-journal, .nhx-community-strip) {
    background: var(--bg-card); border-color: var(--border-color); box-shadow: var(--lt-shadow);
}
html[data-theme="light"] :is(.nhx-reading-primary, .nhx-shelf-book--lead) {
    background: linear-gradient(120deg, #fff 40%, #f0e6ff);
}
html[data-theme="light"] :is(.nhx-reading-primary, .nhx-reading-secondary, .nhx-popular-card, .nhx-shelf-book):hover {
    border-color: #baaad9; box-shadow: var(--lt-shadow-raised);
}
html[data-theme="light"] :is(.nhx-reading-primary::before, .nhx-reading-primary::after, .nhx-reading-secondary::after,
    .nhx-popular-surface::before, .nhx-popular-surface::after, .nhx-collection-panel::before,
    .nhx-collection-atmosphere::after, .nhx-comment-page::before, .nhx-personal-shelf::before,
    .nhx-weather-layer::before, .nhx-weather-layer::after) { opacity: .12; }
html[data-theme="light"] .nhx-book-reflection { opacity: .12; }
html[data-theme="light"] :is(.nhx-reading-cover, .nhx-reading-cover-shell, .nhx-popular-cover, .nhx-book-cover-shell,
    .nhx-shelf-cover-wrap, .nhx-mobile-popular-cover) { box-shadow: 0 12px 24px rgba(35,45,68,.16); }
html[data-theme="light"] :is(.nhx-cover-placeholder, .nhx-secondary-placeholder) { background: #e8e4ef; color: var(--accent); }
html[data-theme="light"] :is(.nhx-rank-number, .nhx-fragment, .nhx-rank-sigil) { color: #a997bd; text-shadow: none; }
html[data-theme="light"] .nhx-stone-facet { background: #dfe2ec; }
html[data-theme="light"] :is(.nhx-popular-meta, .nhx-mobile-popular-copy > span, .nhx-reading-excerpt,
    .nhx-shelf-summary, .nhx-shelf-reason, .nhx-comment-copy > p, .nhx-community-main p,
    .nhx-footer-brand p, .nhx-footer-nav a) { color: var(--text-secondary); }
html[data-theme="light"] :is(.nhx-popular-label, .nhx-page-kicker, .nhx-kicker, .nhx-shelf-intro > span,
    .nhx-shelf-copy > small, .nhx-shelf-open, .nhx-comment-page-label, .nhx-comment-context small,
    .nhx-mobile-popular-copy small, .nhx-collection-link, .nhx-collection-link-label,
    .nhx-comment-open, .nhx-shelf-reason b, .nhx-reading-excerpt .nhx-wave-word) { color: var(--accent); text-shadow: none; }
html[data-theme="light"] :is(.nhx-shelf-call, .nhx-shelf-foot, .nhx-comment-user, .nhx-comment-copy time,
    .nhx-comment-number, .nhx-route-note, .nhx-support-links > span) { color: var(--text-muted); }
html[data-theme="light"] :is(.nhx-reading-progress, .nhx-secondary-progress, .nhx-collection-rail-progress) { background: #e4ddec; }
html[data-theme="light"] :is(.nhx-reading-progress > span, .nhx-secondary-progress > i, .nhx-collection-rail-progress i) { background: var(--accent); }
html[data-theme="light"] :is(.nhx-shelf-tags i, .nhx-collection-rail-button, .nhx-community-icon) { background: var(--lt-violet-soft); color: var(--accent); border-color: #d6c9e9; }
html[data-theme="light"] :is(.nhx-shelf-open i, .nhx-community-button, .nhx-discovery-button) { background: var(--accent); color: #fff; border-color: var(--accent); }
html[data-theme="light"] .nhx-discovery-route { background: #f0ebf8; border-color: #d9cdea; }
html[data-theme="light"] :is(.nhx-discovery-origin small, .nhx-discovery-arrival small) { color: var(--text-secondary); }
html[data-theme="light"] .nhx-comment-page--right { background: #f4f5f9; }
html[data-theme="light"] .nhx-comment-entry { border-color: var(--border-color); }
html[data-theme="light"] .nhx-comment-entry:hover { background: #f0ecf7; }
html[data-theme="light"] :is(.nhx-personal-shelf, .nhx-shelf-empty, .nhx-shelf-loading) { background: #fff; border-color: var(--border-color); }
html[data-theme="light"] :is(.nhx-discovery-arrival strong, .nhx-comment-context strong) { color: var(--text-main); }
html[data-theme="light"] :is(.nhx-comment-journal-head > span, .nhx-comment-page-label i, .nhx-comment-open span) { color: var(--accent); }
html[data-theme="light"] :is(.nhx-support-links > span, .nhx-support-links a) { color: var(--text-secondary); }
html[data-theme="light"] .nhx-support-links { background: #f1f2f7; }
html[data-theme="light"] .nhx-support-links a { background: #fff; }
html[data-theme="light"] :is(.nhx-reading-excerpt, .nhx-shelf-summary, .nhx-comment-copy) em { color: inherit !important; }
html[data-theme="light"] .nhx-comment-spread::after { background: linear-gradient(90deg,#e4e3ed,transparent 70%); opacity: .35; }
html[data-theme="light"] .nhx-footer { background: #eef0f6; border-color: var(--border-color); }
html[data-theme="light"] .nhx-footer-socials a { color: var(--text-secondary); background: #fff; border-color: var(--border-color); }
html[data-theme="light"] .nhx-footer-bottom { color: var(--text-muted); border-color: var(--border-color); }
html[data-theme="light"] :is(.nhx-footer-nav strong, .nhx-footer-brand > strong) { color: var(--text-main); }
html[data-theme="light"] :is(.nhx-ambient, .nhx-eco-ambient, .nhx-chaos-stage::before) { opacity: .16; }

/* Color belongs to the paper and its edges, rather than a gray overlay. */
html[data-theme="light"] .nhx-index { background: linear-gradient(145deg,#e9dcff,#d1b5f4); border-color: #ae88db; color: #4d2b7b; }
html[data-theme="light"] .nhx-reading-primary { border-color: #cbb5e8; box-shadow: 0 14px 36px rgba(83,51,130,.1); }
html[data-theme="light"] .nhx-reading-spine { background: linear-gradient(180deg,#8050c4,#57318c); color: #fff; box-shadow: 3px 8px 18px rgba(87,49,140,.16); }
html[data-theme="light"] .nhx-reading-spine span { color: #fff; }
html[data-theme="light"] .nhx-reading-secondary { background: #fff; border-color: #d4c3e9; }
html[data-theme="light"] .nhx-reading-secondary::after { background: #d3b5f0; opacity: .55; }
html[data-theme="light"] :is(.nhx-continue-action, .nhx-reading-percent) { color: #583393; }

html[data-theme="light"] .nhx-popular-card { --rank-ink: color-mix(in srgb,var(--series-color, #8050c4) 40%,#322048); }
html[data-theme="light"] .nhx-popular-cluster .nhx-popular-surface { background: transparent; border: 0; box-shadow: none; }
html[data-theme="light"] .nhx-popular-cluster .nhx-popular-surface::before {
    opacity: 1;
    background: linear-gradient(145deg,color-mix(in srgb,var(--series-color) 20%,#fff),color-mix(in srgb,var(--series-color) 6%,#fff) 76%);
    border-color: color-mix(in srgb,var(--series-color) 42%,#fff);
    box-shadow: 0 18px 40px rgba(62,43,91,.1);
    backdrop-filter: none;
}
html[data-theme="light"] .nhx-popular-cluster .nhx-popular-surface::after { opacity: .65; }
html[data-theme="light"] .nhx-cover-echo { opacity: .72; background: color-mix(in srgb,var(--series-color) 26%,#fff); box-shadow: none; }
html[data-theme="light"] .nhx-card-shard { background: color-mix(in srgb,var(--series-color) 32%,#fff); border-color: color-mix(in srgb,var(--series-color) 58%,#fff); }
html[data-theme="light"] .nhx-rank-sigil { background: color-mix(in srgb,var(--series-color) 48%,#fff); border-color: color-mix(in srgb,var(--series-color) 62%,#fff); color: #302038; box-shadow: none; }
html[data-theme="light"] .nhx-popular-card :is(.nhx-popular-label, .nhx-popular-open, .nhx-popular-meta i) { color: var(--rank-ink); }
html[data-theme="light"] .nhx-popular-mobile-card { background: color-mix(in srgb,var(--series-color) 7%,#fff); border-color: color-mix(in srgb,var(--series-color) 35%,#fff); }

html[data-theme="light"] .nhx-personal-shelf { background: linear-gradient(135deg,#fff,#f6efff); border-color: #d4bdec; }
html[data-theme="light"] .nhx-shelf-intro { border-color: #deceee; }
html[data-theme="light"] .nhx-shelf-book { background: #fff; border-color: #daccE9; }
html[data-theme="light"] .nhx-shelf-book--lead { background: linear-gradient(135deg,#fff 50%,#f2e8ff); border-color: #c8afe6; }
html[data-theme="light"] .nhx-shelf-book::before { background: #9870c8; opacity: 1; }
html[data-theme="light"] .nhx-shelf-tags i { background: #eee1ff; border-color: #d7bfed; color: #583393; }
html[data-theme="light"] .nhx-shelf-reason { border-color: #e1d2f0; }
html[data-theme="light"] .nhx-shelf-call { color: #745692; }
html[data-theme="light"] .nhx-shelf-foot button { background: #eee1ff; color: #583393; border-color: #ccb2e6; }

html[data-theme="light"] .nhx-collection-panel {
    --collection-ink: color-mix(in srgb,var(--collection-color, #8050c4) 38%,#342344);
    background: linear-gradient(120deg,#fff 8%,color-mix(in srgb,var(--collection-color) 14%,#fff));
    border-color: color-mix(in srgb,var(--collection-color) 45%,#fff);
    box-shadow: 0 14px 34px rgba(65,46,92,.08);
    backdrop-filter: none;
}
html[data-theme="light"] .nhx-collection-atmosphere { opacity: .18; }
html[data-theme="light"] .nhx-collection-atmosphere::after { background: linear-gradient(90deg,rgba(255,255,255,.9),rgba(255,255,255,.55)); opacity: 1; }
html[data-theme="light"] .nhx-collection-panel::before { background: none; }
html[data-theme="light"] .nhx-collection-cut { background: color-mix(in srgb,var(--collection-color) 30%,#fff); border-color: color-mix(in srgb,var(--collection-color) 60%,#fff); }
html[data-theme="light"] .nhx-collection-number { color: var(--collection-ink); }
html[data-theme="light"] .nhx-collection-book > strong { color: var(--text-main); text-shadow: none; }
html[data-theme="light"] .nhx-collection-link { background: color-mix(in srgb,var(--collection-color) 12%,#fff); border-color: color-mix(in srgb,var(--collection-color) 50%,#fff); }
html[data-theme="light"] .nhx-collection-link .nhx-collection-link-label { color: var(--collection-ink) !important; }
html[data-theme="light"] .nhx-collection-link .nhx-collection-link-icon { background: color-mix(in srgb,var(--collection-color) 26%,#fff); color: var(--collection-ink); border-color: color-mix(in srgb,var(--collection-color) 50%,#fff); }

/* Ecosystem showcases keep their product accents on white display surfaces. */
html[data-theme="light"] .anizon-showcase-section { --eco-accent: #176889; --eco-soft: #e7f3f8; --anizon-border: #cfdee8; --anizon-card-bg: #fff; }
html[data-theme="light"] .comizon-showcase-section { --eco-accent: #a64e1b; --eco-soft: #fff0e5; --comizon-border: #e8d8cb; --comizon-card-bg: #fff; }
html[data-theme="light"] .voice-showcase-section { --eco-accent: #885b1b; --eco-soft: #f8f0df; --voice-border: #e5dcc7; --voice-card-bg: #fff; }
html[data-theme="light"] .orizon-showcase-section { --eco-accent: #805c24; --eco-soft: #f5efdf; --orizon-border-gold: #d9caab; }
html[data-theme="light"] .zonnews-showcase-section { --eco-accent: #b33440; --eco-soft: #fbecef; --zonnews-border: #ead3d9; --zonnews-card-bg: #fff; }
html[data-theme="light"] :is(.anizon-showcase-section, .comizon-showcase-section, .voice-showcase-section, .orizon-showcase-section, .zonnews-showcase-section) {
    background: transparent; color: var(--text-main);
}
html[data-theme="light"] :is(.anizon-card, .comizon-card, .voice-card, .orizon-card, .zonnews-card) {
    background: #fff; border-color: var(--border-color); box-shadow: var(--lt-shadow);
}
html[data-theme="light"] :is(.anizon-body, .comizon-body, .voice-body, .zonnews-body) {
    background: color-mix(in srgb,var(--eco-soft) 28%,#fff);
    color: var(--text-main);
    border-top: 1px solid color-mix(in srgb,var(--eco-accent) 18%,#fff);
}
html[data-theme="light"] :is(.anizon-card, .comizon-card, .voice-card, .orizon-card, .zonnews-card):is(:hover,:focus-visible)
    :is(.anizon-card-title, .comizon-card-title, .voice-card-title, .orizon-card-title, .zonnews-card-title) { color: var(--eco-accent); }
html[data-theme="light"] .anizon-play-overlay { background: transparent; }
html[data-theme="light"] :is(.anizon-card, .comizon-card, .voice-card, .orizon-card, .zonnews-card):hover { border-color: var(--eco-accent); box-shadow: var(--lt-shadow-raised); }
html[data-theme="light"] :is(.anizon-card-title, .comizon-card-title, .voice-card-title, .orizon-card-title, .zonnews-card-title) { color: var(--text-main); }
html[data-theme="light"] :is(.anizon-card-synopsis, .comizon-card-synopsis, .voice-card-synopsis, .orizon-card-synopsis, .zonnews-card-summary,
    .anizon-studio, .orizon-author-name, .voice-series-name, .anizon-meta-row, .zonnews-date) { color: var(--text-secondary); }
html[data-theme="light"] :is(.anizon-studio, .voice-series-name) { color: var(--eco-accent); }
html[data-theme="light"] :is(.nhx-eco-index, .nhx-eco-tab-btn, .comizon-read-link, .voice-listen-link, .orizon-enter-cta,
    .orizon-rating-stat, .orizon-author-row i) { color: var(--eco-accent); }
html[data-theme="light"] :is(.nhx-eco-kicker-badge, .nhx-eco-tabs, .nhx-eco-shuffle-btn, .orizon-pill-baroque) { background: var(--eco-soft); color: var(--eco-accent); border-color: var(--border-color); }
html[data-theme="light"] .nhx-eco-tab-btn.is-active { background: #fff; color: var(--eco-accent); box-shadow: 0 2px 8px rgba(35,45,68,.08); }
html[data-theme="light"] .nhx-eco-portal-btn { background: var(--eco-accent); color: #fff; border-color: var(--eco-accent); box-shadow: none; }
html[data-theme="light"] :is(.anizon-poster-empty, .comizon-cover-fallback, .voice-cover-fallback, .orizon-cover-empty, .zonnews-image-empty) { background: var(--eco-soft); color: var(--eco-accent); }
html[data-theme="light"] :is(.voice-fallback-title, .comizon-fallback-title, .orizon-cover-empty span) { color: var(--eco-accent); }
html[data-theme="light"] :is(.voice-fallback-bg-text, .comizon-fallback-bg-text) { color: var(--eco-accent); opacity: .08; }
html[data-theme="light"] .voice-badge-format { background: #6f4a18; color: #fff; }
html[data-theme="light"] .zonnews-cat-pill { background: #a93140; color: #fff; }
html[data-theme="light"] :is(.comizon-card-footer, .voice-card-footer, .orizon-action-row, .zonnews-card-footer) { border-color: var(--border-color); color: var(--text-secondary); }
html[data-theme="light"] .zonapi-home-discovery { background: #fff; border-color: var(--border-color); box-shadow: var(--lt-shadow); }
html[data-theme="light"] .zonapi-home-discovery-content h3 { color: var(--text-main); }
html[data-theme="light"] .zonapi-home-discovery-content p { color: var(--text-secondary); }
html[data-theme="light"] :is(.zonapi-home-discovery-icon, .zonapi-home-code-badge) { background: #f7edef; border-color: #ead9de; color: #a43143; }
html[data-theme="light"] .zonapi-home-discovery-content h3 > span:first-child > span { color: #a43143 !important; }
html[data-theme="light"] .zonapi-home-discovery .zon-badge-accent { background: #f7edef; color: #a43143; border-color: #ead9de; }

/* Catalog, popular/latest lists, chapters and the ranking lounge. */
html[data-theme="light"] :is(.hero-panel, .explore-controls, .novzon-leaderboard-page) { background: var(--bg-main); color: var(--text-main); }
html[data-theme="light"] .hero-panel { background: #fff; border-color: var(--border-color); box-shadow: var(--lt-shadow); }
html[data-theme="light"] :is(.hero-search-box, .search-input-explore, .sort-dropdown, .filter-btn, .search-box) { background: #f3f4f9; color: var(--text-main); border-color: var(--border-color); }
html[data-theme="light"] :is(.hero-search-input, .hero-search-input::placeholder, .explore-author) { color: var(--text-secondary); }
html[data-theme="light"] :is(.explore-card, .novel-card) { background: #fff; border-color: var(--border-color); box-shadow: var(--lt-shadow); }
html[data-theme="light"] :is(.explore-card, .novel-card):hover { border-color: #b8a6d5; box-shadow: var(--lt-shadow-raised); }
html[data-theme="light"] .explore-title { color: var(--text-main); }
html[data-theme="light"] :is(.explore-tag, .filter-btn.active, .category-toggle-link) { color: var(--accent); background: var(--lt-violet-soft); }
html[data-theme="light"] .advanced-filter-panel { background: #f4f5f9; border-color: var(--border-color); box-shadow: none; backdrop-filter: none; }
html[data-theme="light"] .advanced-filter-panel summary { background: var(--lt-violet-soft); color: var(--accent); border-color: #d6c9e9; box-shadow: none; }
html[data-theme="light"] .advanced-filter-panel[open] summary { background: #e7dff3; }
html[data-theme="light"] .advanced-filter-field { color: var(--text-secondary); }
html[data-theme="light"] .advanced-filter-field :is(input,select,option) { background: #fff; border-color: var(--border-color); color: var(--text-main); }
html[data-theme="light"] :is(.filter-clear, .hero-search-kbd) { background: #f0f2f7; color: var(--text-secondary); border-color: var(--border-color); box-shadow: none; }
html[data-theme="light"] .filter-clear:hover { background: var(--lt-violet-soft); color: var(--accent); }
html[data-theme="light"] .filter-submit { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(112,66,193,.14); }
html[data-theme="light"] .explore-status-badge { background: rgba(255,255,255,.96) !important; color: var(--text-main) !important; border: 1px solid var(--border-color); }
html[data-theme="light"] [aria-current="page"] { color: var(--accent) !important; background: var(--lt-violet-soft) !important; box-shadow: none !important; }
html[data-theme="light"] .explore-pagination [aria-current="page"].text-white { color: var(--accent) !important; }
html[data-theme="light"] :is(.hero-panel, .novzon-leaderboard-page) :is(.text-amber-200, .text-amber-300, .text-yellow-300) { color: var(--lt-gold); }
html[data-theme="light"] .novzon-leaderboard-page :is(.bg-black\/20, .bg-black\/30, .bg-black\/40, .bg-white\/5) { background: #fff; }
html[data-theme="light"] .novzon-leaderboard-page :is(.text-white, .text-gray-100, .text-gray-200) { color: var(--text-main); }
html[data-theme="light"] .novzon-leaderboard-page :is(.bg-amber-400, .bg-amber-500) { color: #33250d; }
html[data-theme="light"] .novzon-leaderboard-page #tour-tabs a { background: #fff !important; color: var(--text-secondary) !important; border: 1px solid var(--border-color); box-shadow: none !important; }
html[data-theme="light"] .novzon-leaderboard-page #tour-tabs a[aria-current="page"] { background: var(--accent) !important; color: #fff !important; border-color: var(--accent); }
html[data-theme="light"] .novzon-leaderboard-page .leaderboard-period-tabs a { color: var(--text-secondary) !important; border-color: var(--border-color) !important; box-shadow: none !important; }
html[data-theme="light"] .novzon-leaderboard-page .leaderboard-period-tabs a[aria-current="page"] { background: var(--lt-violet-soft) !important; color: var(--accent) !important; }
html[data-theme="light"] .novzon-leaderboard-page .leaderboard-rest { background: #fff !important; border-color: var(--border-color); backdrop-filter: none !important; }
html[data-theme="light"] .novzon-leaderboard-page #tour-header { background: none; color: var(--text-main); -webkit-text-fill-color: currentColor; }

/* Series and novel detail: distinct page, panels and reading controls. */
html[data-theme="light"] .universe-shell {
    --lounge-ink: var(--bg-main); --lounge-panel: #fff; --lounge-line: var(--border-color);
    --lounge-ivory: var(--text-main); --lounge-muted: var(--text-secondary); --lounge-brass: var(--accent);
}
html[data-theme="light"] :is(.universe-hero, .nexa-series-panel) { background: linear-gradient(115deg,#fff,#f0edf8); border-color: var(--border-color); box-shadow: var(--lt-shadow); }
html[data-theme="light"] .universe-hero::before { opacity: .1; }
html[data-theme="light"] :is(.universe-kicker, .nexa-series-kicker, .nexa-series-title, .nexa-series-score) { color: var(--accent); }
html[data-theme="light"] :is(.lounge-stat, .guide-panel, .latest-release, .volume-card, .review-item, .chapters-grid,
    .volume-navigation-banner, .novel-tabs-bar, .nexa-series-thread, .epic-review-card) { background: #fff; color: var(--text-main); border-color: var(--border-color); box-shadow: var(--lt-shadow); }
html[data-theme="light"] :is(.guide-copy, .novel-desc, .review-text, .nexa-series-subtitle, .nexa-series-meta, .nexa-series-empty) { color: var(--text-secondary); }
html[data-theme="light"] :is(.primary-action, .btn-read) { background: var(--accent) !important; color: #fff !important; }
html[data-theme="light"] .universe-shell .primary-action { background: #7042c1 !important; border-color: #7042c1; box-shadow: 0 6px 16px rgba(112,66,193,.18); }
html[data-theme="light"] .universe-shell .primary-action :is(i,.action-title,.action-sub) { color: #fff !important; }
html[data-theme="light"] .universe-shell .primary-action:hover { background: #59309e !important; border-color: #59309e; box-shadow: 0 8px 20px rgba(112,66,193,.22); }
html[data-theme="light"] :is(.secondary-action, .vol-nav-btn, .btn-fav, .btn-library, .nexa-series-btn) { background: #f0edf7 !important; color: var(--accent) !important; border-color: #d6c9e9; box-shadow: none; }
html[data-theme="light"] :is(.secondary-action, .vol-nav-btn, .btn-fav, .btn-library, .nexa-series-btn):hover { background: #e7dff3 !important; color: var(--accent-hover) !important; }
html[data-theme="light"] :is(.theme-chip, .nexa-series-chip) { background: var(--lt-violet-soft); color: var(--accent); border-color: #d6c9e9; }
html[data-theme="light"] :is(.state-completed, .btn-library.active) { color: #14734c !important; }
html[data-theme="light"] .state-reading { color: var(--lt-gold); }
html[data-theme="light"] .state-unread { color: var(--text-muted); }
html[data-theme="light"] :is(.progress-track, .chapter-item) { background: #f1f3f8; border-color: var(--border-color); }
html[data-theme="light"] .chapter-item:hover { background: #eee8f8; border-color: #cbb9e4; box-shadow: 0 4px 12px rgba(35,45,68,.06); }
html[data-theme="light"] :is(.review-form textarea, #libraryForm select, #libraryForm textarea, #libraryForm input[name="progress"]) { background: #f7f8fb; color: var(--text-main); border-color: var(--border-color); }
html[data-theme="light"] .novel-detail-banner .bg-gradient-to-b { background-image: linear-gradient(to bottom,rgba(246,247,250,.15),rgba(246,247,250,.7) 50%,var(--bg-main)); }
html[data-theme="light"] :is(.novel-info, .novel-title, .lounge-stat strong) { color: var(--text-main); text-shadow: none; }
html[data-theme="light"] .novel-cover { background: #e8eaf0 !important; color: var(--text-secondary); box-shadow: 0 16px 32px rgba(35,45,68,.15); }
html[data-theme="light"] .universe-cover { background: #e8eaf0; color: var(--text-secondary); border-color: var(--border-color); box-shadow: 0 16px 32px rgba(35,45,68,.15); }
html[data-theme="light"] .volume-cover { background: #e8eaf0; }
html[data-theme="light"] .volume-cover > div { color: var(--text-secondary) !important; }
html[data-theme="light"] :is(.volume-order, .volume-views) { background: rgba(255,255,255,.96); color: var(--text-main) !important; border-color: var(--border-color); }
html[data-theme="light"] .latest-release a { color: var(--accent) !important; }
html[data-theme="light"] :is(.comment-composer,.comment-login-panel,.comment-card) { box-shadow: var(--lt-shadow); }
html[data-theme="light"] .comments-v1 :is(.bg-blue-500,.bg-purple-500) { background: #255b9c; color: #fff; }
html[data-theme="light"] :is(.novel-info p, .novel-desc p, .novel-desc li) { color: var(--text-secondary); }
html[data-theme="light"] :is(.comment-score, .comment-reply-btn) { color: var(--text-secondary); }
html[data-theme="light"] :is(.comment-reply-btn, .comment-replies-toggle) { background: #eee8f8; border-color: #d6c9e9; }
html[data-theme="light"] :is(.comment-replies-toggle, .comment-reply-btn:hover) { color: var(--accent); }
html[data-theme="light"] :is(.comment-author-avatar, .avatar-frame-wrapper) .bg-blue-500 { background: #255b9c; color: #fff; }
html[data-theme="light"] .epic-review-content .bg-blue-500 { background: #255b9c; color: #fff; }
html[data-theme="light"] .tab-trigger.active { color: var(--accent) !important; }
html[data-theme="light"] .premium-lightbox { background: rgba(236,239,246,.98); color: var(--text-main); }
html[data-theme="light"] .lightbox-caption { color: var(--text-main); text-shadow: none; }
html[data-theme="light"] .lightbox-close { background: #fff; color: var(--text-main); border-color: var(--border-color); }
html[data-theme="light"] .lightbox-img { box-shadow: var(--lt-shadow-raised); }

/* Requests: status has a readable foreground as well as its own surface. */
html[data-theme="light"] .request-card-premium { background: #fff; border-color: var(--border-color); box-shadow: var(--lt-shadow); }
html[data-theme="light"] .request-card-premium:hover { border-color: #bfaddc; box-shadow: var(--lt-shadow-raised); }
html[data-theme="light"] .status-badge { box-shadow: none; }
html[data-theme="light"] .status-pending { color: #85551a; background: #fbf0dc; border-color: #e9d5ae; }
html[data-theme="light"] .status-accepted { color: #176643; background: #e5f4eb; border-color: #bfdccb; }
html[data-theme="light"] .status-completed { color: #255b9c; background: #e7effb; border-color: #c6d7ef; }
html[data-theme="light"] .status-rejected { color: #a63144; background: #fbe9ed; border-color: #edcbd3; }

/* Legacy profile: site appearance and cosmetic artwork are independent. */
html[data-theme="light"] .profile-wrapper {
    --bg-dark: var(--bg-main); --card-bg: #fff; --glass-bg: #fff; --glass-border: var(--border-color);
    --text-main: #1b2232; --text-primary: #1b2232; --text-secondary: #4d596d; --text-muted: #616d80;
    --profile-accent: #7042c1; --profile-accent-rgb: 112,66,193;
    --profile-accent-soft: #eee8f8; --profile-accent-border: #d6c9e9;
    background: var(--bg-main) !important; color: var(--text-main); color-scheme: light;
}
html[data-theme="light"] .profile-wrapper.accent-cyan { --profile-accent: #096b82; --profile-accent-rgb: 9,107,130; }
html[data-theme="light"] .profile-wrapper.accent-rose { --profile-accent: #af3554; --profile-accent-rgb: 175,53,84; }
html[data-theme="light"] .profile-wrapper.accent-amber { --profile-accent: #865b14; --profile-accent-rgb: 134,91,20; }
html[data-theme="light"] .profile-wrapper.accent-emerald { --profile-accent: #16704e; --profile-accent-rgb: 22,112,78; }
html[data-theme="light"] .profile-wrapper .profile-banner { background-color: #eef0f7; background-blend-mode: screen; }
html[data-theme="light"] .profile-wrapper .profile-banner::after { background: linear-gradient(to top,var(--bg-main),rgba(246,247,250,.2)); }
html[data-theme="light"] .profile-wrapper :is(.glass-panel, .profile-canvas-module, .profile-canvas-toolbar,
    .academy-skill-panel, .academy-portfolio-panel, .nx-profile-panel) { background: #fff !important; border-color: var(--border-color) !important; color: var(--text-main); box-shadow: var(--lt-shadow); backdrop-filter: none; }
html[data-theme="light"] .profile-wrapper :is(.profile-canvas-filter, .profile-canvas-edit, .academy-unified-stats div,
    .nx-profile-stats div, .nx-profile-rank, .nx-profile-activity-grid a, .nx-profile-badges div) { background: #f1f3f8; color: var(--text-secondary); border-color: var(--border-color); }
html[data-theme="light"] .profile-wrapper :is(.profile-canvas-filter.is-active, .profile-canvas-filter:hover, .profile-canvas-edit) { background: var(--profile-accent-soft); color: var(--profile-accent); }
html[data-theme="light"] .profile-wrapper :is(.profile-module-kicker, .profile-module-link, .nx-profile-section h4 i,
    .academy-certified, .academy-profile-empty a) { color: var(--profile-accent); }
html[data-theme="light"] .profile-wrapper :is(.academy-rank-copy > strong, .academy-unified-stats strong,
    .academy-skill-panel h4, .academy-portfolio-panel h4, .academy-portfolio-panel > a strong,
    .academy-profile-empty strong, .nx-profile-head h3, .nx-profile-stats strong, .nx-profile-activity-grid strong) { color: var(--text-main); }
html[data-theme="light"] .profile-wrapper :is(.academy-rank-copy > span, .academy-unified-stats span, .academy-skill-row > span,
    .academy-empty-portfolio, .academy-profile-empty, .nx-profile-head p, .nx-profile-empty, .nx-profile-progress small,
    .nx-profile-activity-grid a > span, .nx-profile-section h4, .nx-profile-forums small) { color: var(--text-secondary); }
html[data-theme="light"] .profile-wrapper :is(.academy-progress-track, .academy-skill-row > div, .nx-profile-progress-track) { background: #e5e8ef; }
html[data-theme="light"] .profile-wrapper .status-segment { box-shadow: none; text-shadow: none; }
html[data-theme="light"] .profile-wrapper .status-count { color: var(--text-main) !important; }
html[data-theme="light"] .profile-wrapper :is(.text-yellow-400, .text-yellow-500\/80) { color: var(--lt-gold) !important; }
html[data-theme="light"] .profile-wrapper :is(.text-indigo-300, .text-indigo-400) { color: #4c4c99 !important; }
html[data-theme="light"] .profile-wrapper .text-cyan-200 { color: #096b82 !important; }
html[data-theme="light"] .profile-wrapper .bg-yellow-900\/20 { background: #f8f0df !important; border-color: #e4d2aa !important; box-shadow: none !important; }
html[data-theme="light"] .profile-wrapper .bg-indigo-900\/20 { background: #eeeef8 !important; border-color: #d5d3e9 !important; box-shadow: none !important; }
html[data-theme="light"] .profile-wrapper :is(.nx-profile-kicker, .nx-profile-rank small, .nx-profile-progress strong) { color: var(--profile-accent); }
html[data-theme="light"] .profile-wrapper .nx-profile-badges strong { color: var(--text-main); }
html[data-theme="light"] .profile-wrapper .nx-profile-rank strong { color: var(--text-main); }
html[data-theme="light"] .profile-wrapper .academy-skill-row > strong { color: var(--text-main); }
html[data-theme="light"] .profile-name-effect { text-shadow: none; -webkit-text-fill-color: currentColor; }
html[data-theme="light"] .profile-canvas-editor-backdrop { background: rgba(35,45,68,.35); }
html[data-theme="light"] .profile-canvas-editor { background: #fff; color: var(--text-main); border-color: var(--border-color); box-shadow: var(--lt-shadow-raised); }
html[data-theme="light"] :is(.profile-editor-head, .profile-editor-actions, .profile-editor-module) { border-color: var(--border-color); }
html[data-theme="light"] :is(.profile-editor-head h2, .profile-editor-section h3, .profile-editor-module strong) { color: var(--text-main); }
html[data-theme="light"] :is(.profile-editor-head p, .profile-editor-hint, .profile-editor-module span, .profile-editor-fields label) { color: var(--text-secondary); }
html[data-theme="light"] :is(.profile-preset, .profile-editor-module, .profile-editor-fields select) { background: #f4f5f9; border-color: var(--border-color); color: var(--text-main); }

/* ZON Market: a white gallery with warm brass details and real artifact art. */
html[data-theme="light"] .archive-shell {
    --archive-bg: #f7f6f2; --archive-panel: #fff; --archive-panel-strong: #fff;
    --archive-line: #e1dfd5; --archive-line-strong: #c4b690; --archive-gold: #805c24;
    --archive-gold-soft: #f5efdf; --archive-ivory: #272a31; --archive-muted: #626573; --archive-silver: #525f75;
    background: var(--archive-bg); color: var(--archive-ivory); color-scheme: light;
}
html[data-theme="light"] :is(.archive-hero, .archive-ledger, .archive-featured, .archive-seasonal,
    .archive-progress-panel, .archive-artifact-panel, .archive-empty, .archive-stats-footer, .archive-modal-panel) {
    background: #fff; border-color: var(--archive-line); color: var(--archive-ivory); box-shadow: var(--lt-shadow);
}
html[data-theme="light"] .archive-hero { background: linear-gradient(120deg,#fff 40%,#f5efdf); }
html[data-theme="light"] :is(.archive-hero::before, .archive-hero::after, .archive-artifact-panel::before) { border-color: #ddcea8; opacity: .25; }
html[data-theme="light"] :is(.archive-constellation-nav a, .archive-seasonal a, .archive-state, .archive-artifact-meta) { background: var(--archive-gold-soft); color: var(--archive-gold); border-color: #e0d3b5; }
html[data-theme="light"] .archive-state.muted { background: #eff1f5; color: var(--archive-muted); }
html[data-theme="light"] :is(.archive-artifact-display, .archive-modal-display) { background: #f1f2f7; border-color: var(--archive-line); }
html[data-theme="light"] :is(.archive-artifact-display::before, .archive-modal-display::before) { opacity: .1; }
html[data-theme="light"] .archive-title-artifact.profile-title-badge { background: #30263e; color: #fff; }
html[data-theme="light"] .archive-title-artifact.profile-title-badge span { color: #fff; }
html[data-theme="light"] :is(.archive-theme-artifact, .archive-signature-artifact, .archive-profile-fx-artifact) > strong { color: var(--archive-ivory); }
html[data-theme="light"] :is(.archive-theme-artifact, .archive-signature-artifact, .archive-profile-fx-artifact) { background: #fff; border-color: var(--archive-line); }
html[data-theme="light"] .archive-name-artifact { background: #293244; }
html[data-theme="light"] .archive-name-artifact span { color: #e2e8f0; }
html[data-theme="light"] :is(.archive-museum-label div, .archive-modal-meta-item, .archive-stat-cell) { background: #f8f7f3; border-color: var(--archive-line); }
html[data-theme="light"] .archive-action { color: var(--archive-gold); background: var(--archive-gold-soft); border-color: #c8b58a; box-shadow: none; }
html[data-theme="light"] .archive-action:hover:not(:disabled) { background: #e9dfc8; color: #62451c; }
html[data-theme="light"] .archive-artifact-panel:hover { border-color: #bca77d; box-shadow: var(--lt-shadow-raised); }
html[data-theme="light"] .archive-artifact-panel.rarity-rare .archive-artifact-meta { color: #21617b; background: #e7f1f5; }
html[data-theme="light"] .archive-artifact-panel.rarity-epic .archive-artifact-meta { color: #7042a3; background: #f0e8f7; }
html[data-theme="light"] .archive-artifact-panel.rarity-mythic .archive-artifact-meta { color: #a53068; background: #f9e9f0; }
html[data-theme="light"] .archive-modal-backdrop { background: rgba(35,40,55,.4); color-scheme: light; }
html[data-theme="light"] .archive-modal-close { background: #f0f1f5; color: var(--archive-ivory); border-color: var(--archive-line); }
html[data-theme="light"] .archive-modal-curator { background: var(--archive-gold-soft); border-color: #e0d3b5; }
html[data-theme="light"] .archive-completion-crown { color: var(--archive-gold); text-shadow: none; }

/* Shared previews are rendered in a portal outside the page container. */
html[data-theme="light"] .novel-hover-preview .novel-hover-preview__surface { background: #fff; border-color: #d6c9e9; box-shadow: var(--lt-shadow-raised); backdrop-filter: none; }
html[data-theme="light"] .novel-hover-preview :is(.novel-hover-preview__title, .novel-hover-preview__surface) { color: var(--text-main); }
html[data-theme="light"] .novel-hover-preview :is(.novel-hover-preview__description, .novel-hover-preview__meta) { color: var(--text-secondary); }
html[data-theme="light"] .novel-hover-preview :is(.novel-hover-preview__author, .novel-hover-preview__tag, .novel-hover-preview__meta-item) { background: #f1f3f8; color: var(--text-secondary); border-color: var(--border-color); }
html[data-theme="light"] .novel-hover-preview :is(.novel-hover-preview__eyebrow, .novel-hover-preview__action) { color: var(--accent); text-shadow: none; }
html[data-theme="light"] .novel-hover-preview .novel-hover-preview__surface::before { opacity: .25; }

@media (max-width: 767px) {
    html[data-theme="light"] .hero-section .hero-gradient-overlay { background: linear-gradient(180deg,rgba(252,251,255,.94),#f8f6ff); }
    html[data-theme="light"] :is(.nhx-reading-primary, .nhx-shelf-book, .nhx-popular-mobile-card) { box-shadow: 0 4px 16px rgba(35,45,68,.05); }
}

@media (max-width: 900px) {
    /* The existing mobile performance rules pin these surfaces with !important. */
    html[data-theme="light"] .nhx-eco-tabs { background: var(--eco-soft) !important; }
    html[data-theme="light"] :is(.anizon-card, .comizon-card, .orizon-card, .zonnews-card) {
        background: #fff !important; box-shadow: 0 4px 16px rgba(35,45,68,.06) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* The source motion rule hides the cover together with its glare. */
    html[data-theme="light"] .hero-poster-card { opacity: 1 !important; }
}
