/* Keep the alternate theme readable across the complete interface. */
body.light .sidebar-widget,body.light .detail-shell,body.light .filter-panel,body.light .filter-toggle,body.light .sort-select,body.light .search-suggestions,body.light .genre-drawer,body.light .age-card,body.light .toast{background:var(--surface);color:var(--ink);border-color:var(--line)}
body.light .widget-title,body.light .chip,body.light .genre-cloud button,body.light .sort-select select,body.light .catalog-heading>p{background:var(--surface-2);color:var(--ink);border-color:var(--line)}
body.light .genre-drawer button:hover,body.light .chapter-item:hover,body.light .rank-list button:hover,body.light .mini-list button:hover{background:var(--surface-2);color:var(--ink)}
body.light .reading-banner{background:linear-gradient(135deg,#fff1f6,#f2e5ff);border-color:var(--line)}
body.light .hero-copy>p,body.light .speech-card small{color:#815c72}
body.light .speech-card{background:#fff;color:var(--ink);border-color:var(--line)}
.reader-toolbar select:focus-visible{outline-color:#ff80b5}
.reader{scroll-padding-top:130px;overflow-anchor:auto}
.reader-page{overflow-anchor:auto}
.reader-page img[hidden]{display:none!important}
.detail-shell .detail-cover{background-position:center top}
@media(max-width:650px){.catalog-heading .section-icon{display:none}.catalog-heading>div:first-child{gap:0}.catalog-tools .sort-select{min-width:0}.catalog-tools .sort-select select{min-width:0;width:100%}.catalog-tools{gap:8px}.catalog-tools .filter-toggle{flex:0 0 auto}.catalog-tools .sort-select{flex:1}.story-info h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}.reader-bar{padding-inline:12px}.reader-bar div{max-width:68%}}
