/* ONF: temas compartidos. Las reglas claras solo se activan por eleccion del usuario. */
.onf-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:38px;min-height:38px;padding:8px;border:1px solid rgba(255,255,255,.15);border-radius:12px;background:rgba(255,255,255,.05);color:#ece8ee;font:600 13px/1.4 'Poppins',sans-serif;cursor:pointer;flex-shrink:0}
.onf-theme-toggle:hover{border-color:#ff0062;color:#ff0062}
.onf-theme-toggle:focus-visible{outline:3px solid #ff0062;outline-offset:3px}
.onf-theme-toggle svg{width:20px;height:20px;flex:0 0 20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.onf-theme-toggle .onf-theme-moon{display:none}
html[data-onf-theme="light"] .onf-theme-toggle .onf-theme-sun{display:none}
html[data-onf-theme="light"] .onf-theme-toggle .onf-theme-moon{display:block}
.onf-theme-toggle--drawer{width:100%;justify-content:flex-start;margin:18px 0 8px;padding:12px 14px;min-height:46px}
html[data-onf-theme="light"],html[data-onf-theme="light"] body{
 color-scheme:light;--bg-body:#fff!important;--bg-main:#fff!important;--bg-dark:#fff!important;--bg:#fff!important;--bg-color:#fff!important;--background:#fff!important;
 --bg-card:#fff!important;--bg-panel:#fff!important;--card-bg:#fff!important;--surface:#fff!important;--bg-card-hover:#fff0f6!important;--bg-input:#faf8fa!important;--bg-input-focus:#fff!important;
 --text-main:#24212b!important;--text:#24212b!important;--text-color:#24212b!important;--text-primary:#24212b!important;--text-secondary:#645b69!important;--text-muted:#6b606e!important;--muted:#6b606e!important;
 --border-color:#eadfe6!important;--border:#eadfe6!important;--accent:#ff0062!important;--accent-hover:#d40051!important;--primary:#ff0062!important;--gradient-overlay:linear-gradient(to top,rgba(18,10,18,.9),transparent)!important;
 background:#fff!important;color:#24212b!important
}
html[data-onf-theme="light"] body::before,html[data-onf-theme="light"] body::after{background:none!important}
html[data-onf-theme="light"] :is(h1,h2,h3,h4,h5,h6,.section-title,.manga-title,.stat-number,.comment-username,.comment-text,.com-user,.com-texto,.project-title,.profile-bio,.auth-title,.more-panel-link strong,.more-panel-feature-link strong,.top-rank-title,.list-title,.scan-nombre,.scan-card-name,.prem-price){color:#24212b!important}
html[data-onf-theme="light"] :is(.onf-header,.mobile-bottom-nav,.mobile-top-bar,.dash-header,.sidebar,.onf-mobile-drawer,.nav-more-menu,.user-dropdown-menu,.nav-search-dropdown,.mobile-profile-menu,.mobile-search-overlay,.search-overlay,.notif-panel,.notif-dropdown,.notif-body,.notif-header,.search-modal,.chat-panel,.chat-header,.chat-input-wrap,.emoji-picker,.sd-panel,.sd-header,.sd-body){background:#fff!important;color:#24212b!important;border-color:#eadfe6!important;box-shadow:0 8px 30px rgba(75,24,48,.08)!important}
html[data-onf-theme="light"] :is(.logo,.logo span,.desktop-nav .nav-link,.nav-more-btn,.drawer-primary a,.drawer-grid a,.user-dropdown-menu a,.drawer-label,.nav-icon-link,.nav-avatar-btn,.btn-notif,.drawer-close,.mobile-nav-item,.search-form-desktop,.search-form-mobile,.drawer-search,.nav-search-ico,.comment-action-btn,.comment-btn-cancel,.btn-text,.mobile-profile-menu a){color:#645b69!important}
html[data-onf-theme="light"] :is(.logo b,.logo span b,.nav-link.active,.drawer-primary a.active,.mobile-nav-item.active,.more-panel-label,.more-panel-catalog-link,.author-link,.genre-tag:hover,.comment-username a:hover){color:#e00057!important}
html[data-onf-theme="light"] .onf-burger span{background:#24212b!important}
html[data-onf-theme="light"] :is(.onf-theme-toggle,.nav-icon-link,.btn-notif,.search-form-desktop,.search-form-mobile,.drawer-search,.more-panel-icon,.more-panel-genre,.genre-tag,.top-tab-btn,.pop-style-toggle,.page-btn,.btn-page,.scan-panel-tab,.views-range-tabs,.list-row,.form-input,.member-search,.member-role-select,.btn-lib,.btn-share,.btn-edit-new,.orden-campo select,.filter-chip,.filter-btn,.format-toolbar,.fmt-btn){background:#faf6f8!important;color:#514554!important;border-color:#eadfe6!important;box-shadow:none!important}
html[data-onf-theme="light"] :is(.manga-hero,.manga-description,.manga-stats-bar,.manga-scan-participants-panel,.chapter-content-inner,.comment-thread,.comment-form-container,.comment-section,.profile-hero,.profile-body,.stat-card,.list-card,.scan-card,.project-gallery-card,.scan-impact-card,.views-chart-card,.no-group-state,.modal-content,.modal-box,.confirm-modal,.share-modal,.prem-card,.prem-hero,.games-card,.game-card,.auth-form-wrap,.auth-form,.chapter-controls,.top-tabs-section,.top-rank-row,.scan-fila,.scan-row,.com-item,.com-form,.discord-banner,.app-dl,.onf-originales-section){background:#fff!important;color:#24212b!important;border-color:#eadfe6!important;box-shadow:0 5px 22px rgba(75,24,48,.045)!important}
html[data-onf-theme="light"] :is(.scans-invite,.anime-cta,.more-panel-premium,.nav-more-menu .more-panel-premium,.auth-brand){background:linear-gradient(125deg,#fff1f7,#fff 80%)!important;border-color:#f4bfd4!important;color:#24212b!important;box-shadow:none!important}
html[data-onf-theme="light"] :is(.scans-invite__eyebrow,.scans-invite__art,.anime-cta-eyebrow,.anime-cta-icon,.more-panel-premium-title,.more-panel-premium-cta,.prem-kicker,.prem-api-kicker,.more-panel-premium svg){color:#d40051!important}
html[data-onf-theme="light"] :is(.more-panel-premium-title,.more-panel-premium p,.more-panel-benefits,.scans-invite p,.anime-cta-text,.app-dl-body p,.prem-note,.prem-terms,.manga-meta,.chapter-date,.ch-date,.comment-date,.comment-section-title-count,.stat-label,.profile-info p,.auth-subtitle,.auth-footer,.auth-options,.brand-hero p,.scan-caps-lbl,.scan-datos,.top-users-subtitle,.scan-card-desc,.scan-card-stats,.chapter-header,.onf-ranking-enlace){color:#6b606e!important}
html[data-onf-theme="light"] :is(.chapter-content-inner,.chapter-group,.top-rank-row,.scan-fila,.list-row,.notif-item,.more-panel-link,.more-panel-feature-link):hover{background:#fff0f6!important}
html[data-onf-theme="light"] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="color"]),textarea,select){background-color:#faf8fa!important;color:#24212b!important;border-color:#d9cbd5!important;caret-color:#e00057}
html[data-onf-theme="light"] :is(input,textarea)::placeholder{color:#7c7080!important;opacity:1}
html[data-onf-theme="light"] :is(input,textarea,select):focus{border-color:#ff0062!important;outline-color:#ff0062}
html[data-onf-theme="light"] :is(input[type="checkbox"],input[type="radio"],input[type="range"]){accent-color:#ff0062}
html[data-onf-theme="light"] :is(.btn-primary,.btn-netflix,.btn-submit,.comment-submit-btn,.com-btn-enviar,.btn-create-list,.prem-cta,.premium-download-btn,.scans-invite__button,.nav-btn-register,.btn-follow,.btn-add-member,.sidebar-action.primary){background:#ff0062!important;color:#fff!important;border-color:#ff0062!important}
html[data-onf-theme="light"] :is(.page-btn.active,.btn-page.active,.top-tab-btn.active,.scan-panel-tab.active,.views-range-tabs button.active,.genre-tag.active,.filter-chip.active){background:#ff0062!important;color:#fff!important;border-color:#ff0062!important}
html[data-onf-theme="light"] :is(.onf-theme-toggle,.nav-btn-login,.onf-settings-btn):hover{background:#fff0f6!important;color:#d40051!important;border-color:#ff0062!important}
html[data-onf-theme="light"] :is(.comment-replies,.section-header,.section-header-perfil,.tabs-wrapper,.chapter-group,.sidebar-actions,.dropdown-divider,.more-panel-section,.notif-item,.chat-header){border-color:#eadfe6!important}
html[data-onf-theme="light"] .comment-replies{border-left-color:#ef8db6!important}
html[data-onf-theme="light"] :is(.hero-slider,.hero-slide,.hero-content,.hero-inner,.recent-overlay,.card-overlay,.list-bg){color:#fff}
html[data-onf-theme="light"] :is(.hero-slider,.hero-slide,.hero-content,.hero-inner,.recent-overlay,.card-overlay,.list-bg) :is(h1,h2,h3,h4,p,.manga-title,.hero-title,.hero-desc,.hero-meta,.list-title){color:#fff!important}
html[data-onf-theme="light"] :is(.hero-btn,.hero-btn-primary){background:#ff0062!important;color:#fff!important}
html[data-onf-theme="light"] .card-cover{box-shadow:0 3px 12px rgba(50,25,42,.1)!important}
html[data-onf-theme="light"] :is(.card-badge,.trend-hot-badge,.badge-type-abs,.notif-badge,.profile-role-badge,.onf-av-gen){color:#fff!important}
html[data-onf-theme="light"] :is(.premium-footer,.site-footer,footer){background:#faf7f9!important;color:#645b69!important;border-color:#eadfe6!important}
html[data-onf-theme="light"] :is(.bg-glow,.bg-glow-2){opacity:.2}
html[data-onf-theme="light"] #cookieConsentBanner{background:rgba(255,255,255,.98)!important;color:#514554!important;border-color:#eadfe6!important}
html[data-onf-theme="light"] :is(.modal-overlay,.confirm-modal-overlay,.sidebar-overlay,.onf-drawer-backdrop){background:rgba(37,19,31,.3)!important}
html[data-onf-theme="light"] :is(.onf-originales-section::before,.profile-cover-new::after){opacity:.15!important}
html[data-onf-theme="light"] .theme-link{color:#d40051!important}
@media(max-width:768px){.onf-theme-toggle--desktop{display:none}.onf-theme-toggle--drawer{font-size:14px}.onf-theme-toggle--drawer svg{width:20px;height:20px}}
/* Ajustes de contraste: ficha, capitulos y estados completos de notificaciones. */
html[data-onf-theme="light"] .manga-hero{background:linear-gradient(180deg,#fff4f8 0%,#fff 85%)!important}
html[data-onf-theme="light"] .manga-backdrop{display:none!important}
html[data-onf-theme="light"] :is(.ch-num,.scan-name,.scan-name-text,.scan-name-group,.read-label,.mal-alt-titulo,.mal-mini-val,.stat-item strong,.notif-title,.notif-cap-tag,.notif-response-text,.brand-feature-text strong,.brand-logo,.brand-logo span,.auth-form-logo,.app-dl-body h2){color:#24212b!important}
html[data-onf-theme="light"] :is(.ch-date,.mal-alt-lang,.mal-mini-label,.stat-item span:not(.stat-icon),.notif-panel-sub,.notif-subtitle,.notif-pend-tag,.notif-meta,.notif-origin,.notif-empty small,.notif-error small,.brand-feature-text p,.auth-options,.input-group label,label,.scan-read-status,.chapter-info-note){color:#685b6c!important}
html[data-onf-theme="light"] :is(.mal-mini-stat,.mal-alt-desktop,.mal-alt-mobile,.joint-group-link,.alt-mas,.genre-more,.notif-close,.notif-clear-all,.notif-retry){background:#faf5f8!important;border-color:#e4d5df!important;color:#514554!important}
html[data-onf-theme="light"] :is(.chapter-header,.chapter-group,.chapter-content,.chapter-content-inner,.scan-row-wrapper,.joint-details){background:#fff!important;border-color:#e7dce4!important;color:#24212b!important}
html[data-onf-theme="light"] .chapter-group.expanded .chapter-header,html[data-onf-theme="light"] .chapter-header:hover{background:#fff0f6!important}
html[data-onf-theme="light"] .chapter-group.is-read .ch-num{color:#746777!important}
html[data-onf-theme="light"] .chapter-group.is-read .chapter-header{opacity:1!important}
html[data-onf-theme="light"] .notif-panel-header{background:#fff!important;border-color:#eadfe6!important}
html[data-onf-theme="light"] .notif-item{background:#fff!important}
html[data-onf-theme="light"] .notif-item.unread{background:#fff0f6!important;border-color:#f1c5d9!important}
html[data-onf-theme="light"] .notif-item:hover{background:#fce7f0!important}
html[data-onf-theme="light"] .notif-panel .notif-kind,html[data-onf-theme="light"] .notif-item.unread .notif-kind{background:#ffe0ed!important;color:#b00045!important;border-color:#f1abc8!important}
html[data-onf-theme="light"] .notif-cap-tag{background:#f2e7ee!important}
html[data-onf-theme="light"] :is(.notif-delete-btn,.notif-clear-all,.notif-close,.notif-retry,.notif-empty p,.notif-error p){color:#68526b!important}
html[data-onf-theme="light"] :is(.notif-skel-cover,.notif-skel-line){background:linear-gradient(100deg,#f0e8ed 20%,#e5d9e2 42%,#f0e8ed 64%)!important}
html[data-onf-theme="light"] :is(.onf-orig-cta,.adult-zone-strip,.pop-ver-mas-cover,.genre-promo-section,.ad-banner-strip){background:linear-gradient(120deg,#fff1f7,#fff)!important;border-color:#efbfd4!important;color:#24212b!important}
html[data-onf-theme="light"] :is(.onf-orig-cta,.adult-zone-strip,.pop-ver-mas-cover,.ad-banner-strip) :is(h2,h3,p,strong,[style*="color:white"],[style*="color: white"]){color:#24212b!important}
html[data-onf-theme="light"] :is(.nav-btn-login,.auth-brand .brand-logo,.brand-feature-text strong){color:#514554!important}
html[data-onf-theme="light"] .auth-form .btn-submit{color:#fff!important}
html[data-onf-theme="light"] .onf-radio-panel{background:#fff!important;border-color:#eadfe6!important;color:#24212b!important}
html[data-onf-theme="light"] :is(.orp-item,.orp-header,.orp-footer,.orp-tabs,.orp-station-name,.orp-station-meta){color:#514554!important;background-color:#fff!important;border-color:#eadfe6!important}
html[data-onf-theme="light"]{--onf-pop-more-bg:linear-gradient(145deg,#fff0f6,#fff)}
html[data-onf-theme="light"] :is(.manga-hero .manga-title,.manga-hero h1){text-shadow:none!important}
html[data-onf-theme="light"] .stat-item{color:#685b6c!important}
html[data-onf-theme="light"] .stat-item b{color:#24212b!important}
html[data-onf-theme="light"] .manga-poster{box-shadow:0 8px 24px rgba(70,25,48,.13)!important}
html[data-onf-theme="light"] .hero-overlay{background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.91) 48%,rgba(255,255,255,.45))!important}
html[data-onf-theme="light"] .hero-slide::before{filter:blur(3px) brightness(1.12)!important}
html[data-onf-theme="light"] .hero-slider :is(.hero-title,.hero-desc,.hero-meta){color:#24212b!important;text-shadow:none!important}
html[data-onf-theme="light"] .hero-slider .hero-desc{color:#625569!important}
@media(min-width:769px) and (max-width:1500px){
 html[data-onf-theme="light"] .onf-header .container{column-gap:20px}
 html[data-onf-theme="light"] .onf-header .logo{flex-shrink:0}
 html[data-onf-theme="light"] .onf-header .desktop-nav{gap:8px}
 html[data-onf-theme="light"] .onf-header .desktop-page-links{gap:12px}
 html[data-onf-theme="light"] .onf-header .nav-search-container{flex-shrink:1;min-width:135px}
 html[data-onf-theme="light"] .onf-header .search-form-desktop{margin-left:0;margin-right:0}
}
/* Cabecera, menus y pie oscuros con el contenido del sitio en claro. */
html[data-onf-theme="light"] :is(.onf-header,.mobile-bottom-nav,.onf-mobile-drawer,.nav-more-menu,.user-dropdown-menu,.mobile-profile-menu,.nav-search-dropdown,.mobile-search-overlay){background:#0b0b0f!important;color:#f5f1f6!important;border-color:#30232d!important;box-shadow:0 6px 24px rgba(0,0,0,.14)!important;color-scheme:dark}
html[data-onf-theme="light"] :is(.onf-header,.mobile-bottom-nav,.onf-mobile-drawer,.nav-more-menu,.user-dropdown-menu,.mobile-profile-menu) :is(.logo,.logo span,.nav-link,.nav-more-btn,.nav-avatar-btn,.nav-icon-link,.nav-btn-login,.drawer-label,.drawer-close,.drawer-primary a,.drawer-grid a,.drawer-brand-link,.mobile-nav-item,a,button,h2,h3,strong){color:#eee8f0!important}
html[data-onf-theme="light"] :is(.onf-header,.mobile-bottom-nav,.onf-mobile-drawer,.nav-more-menu) :is(.logo b,.logo span b,.nav-link.active,.mobile-nav-item.active,.drawer-primary a.active,.nav-link-hentai,.more-panel-heading,.more-panel-catalog-link){color:#ff4b94!important}
html[data-onf-theme="light"] .onf-header .nav-link-anime{color:#ff9900!important}
html[data-onf-theme="light"] :is(.user-dropdown-menu,.mobile-profile-menu) a{color:#eee8f0!important}
html[data-onf-theme="light"] :is(.onf-header,.onf-mobile-drawer) :is(.onf-theme-toggle,.onf-settings-btn,.btn-notif,.nav-icon-link,.search-form-desktop,.search-form-mobile,.drawer-search){background:#19141b!important;border-color:#392d38!important;color:#d9cedd!important}
html[data-onf-theme="light"] :is(.onf-header,.onf-mobile-drawer,.mobile-search-overlay) :is(input,textarea){background:#19141b!important;border-color:#392d38!important;color:#f5f1f6!important}
html[data-onf-theme="light"] :is(.onf-header,.onf-mobile-drawer,.mobile-search-overlay) input::placeholder{color:#b9aebb!important}
html[data-onf-theme="light"] .onf-burger span{background:#f5f1f6!important}
html[data-onf-theme="light"] .nav-more-menu :is(.more-panel-icon,.more-panel-genre){background:#211920!important;color:#e5dce9!important;border-color:#3a2b36!important}
html[data-onf-theme="light"] .nav-more-menu :is(.more-panel-link small,.more-panel-feature-link small,.more-panel-benefits,.more-panel-premium p){color:#c4b8ca!important}
html[data-onf-theme="light"] .nav-more-menu .more-panel-premium{background:linear-gradient(135deg,#29101e,#130e14)!important;color:#fff!important;border-color:#68304b!important}
html[data-onf-theme="light"] .nav-more-menu .more-panel-premium-cta{color:#ff66a2!important}
html[data-onf-theme="light"] .nav-more-menu .more-panel-section{border-color:#33232e!important}
html[data-onf-theme="light"] .nav-more-menu :is(.more-panel-link,.more-panel-feature-link):hover,html[data-onf-theme="light"] .user-dropdown-menu a:hover{background:#2b1522!important}
html[data-onf-theme="light"] :is(.premium-footer,.site-footer,footer){background:#0b0b0f!important;color:#c7bdcc!important;border-color:#33232e!important;box-shadow:none!important;color-scheme:dark}
html[data-onf-theme="light"] :is(.premium-footer,.site-footer,footer) :is(h1,h2,h3,h4,strong,b,.footer-title,.footer-brand,.logo,.logo span){color:#f5f1f6!important}
html[data-onf-theme="light"] :is(.premium-footer,.site-footer,footer) :is(p,small,.footer-rights,.footer-dev,.footer-desc){color:#bdb0c4!important}
/* Calendario blanco; el dia actual se distingue en magenta. */
html[data-onf-theme="light"] .emision-section{background:#fff!important;border-color:#e6dce3!important;box-shadow:0 5px 24px rgba(65,22,44,.06)!important}
html[data-onf-theme="light"] :is(.emision-heading,.emision-col-head){border-color:#eadfe6!important}
html[data-onf-theme="light"] .emision-col{background:#faf7f9!important;border-color:#e6dce3!important;box-shadow:none!important}
html[data-onf-theme="light"] .emision-col.today{background:#fff0f6!important;border-color:#ed78a7!important;box-shadow:0 0 0 1px rgba(255,0,98,.1)!important}
html[data-onf-theme="light"] .emision-item{background:#fff!important;color:#24212b!important;border-color:#f1e7ed!important}
html[data-onf-theme="light"] :is(.emision-day-name,.emision-item-title){color:#24212b!important}
html[data-onf-theme="light"] :is(.emision-hint,.emision-col-empty){color:#6b5d70!important}
html[data-onf-theme="light"] :is(.emision-col-count,.emision-col.today .emision-col-count,.emision-col-hoy){background:#ffe0ec!important;color:#a90043!important;border-color:#f0afca!important}
html[data-onf-theme="light"] :is(.emision-kicker,.emision-heading-icon){color:#ca004e!important}
/* Nombres de la comunidad y bloque Explora por genero. */
html[data-onf-theme="light"] :is(.user-top-name,.user-top-name a,.user-top-card a,.top-user-name){color:#24212b!important}
html[data-onf-theme="light"] :is(.generos-promo-strip,.genre-promo-strip){background:linear-gradient(100deg,#fff1f7,#fff)!important;border-color:#edc4d6!important;box-shadow:0 4px 20px rgba(65,22,44,.05)!important}
html[data-onf-theme="light"] .gps-bg{opacity:.06!important;filter:blur(10px) brightness(1.4)!important}
html[data-onf-theme="light"] .gps-overlay{background:linear-gradient(90deg,#fff4f9 0%,rgba(255,255,255,.88) 75%,rgba(255,255,255,.65))!important}
html[data-onf-theme="light"] .gps-title{color:#24212b!important;text-shadow:none!important}
html[data-onf-theme="light"] .gps-title span{color:#c9004e!important;-webkit-text-fill-color:#c9004e!important;background:none!important}
html[data-onf-theme="light"] :is(.gps-sub,.gps-genre-label){color:#6b5d70!important}
html[data-onf-theme="light"] :is(.gps-genre-name,.gps-badge-genre){color:#a90043!important}
html[data-onf-theme="light"] .gps-badge{background:#ffe0ec!important;color:#a90043!important;border-color:#f0afca!important}
html[data-onf-theme="light"] .gps-dot{background:#dbc4d0!important}
html[data-onf-theme="light"] .gps-dot.active{background:#ff0062!important}
html[data-onf-theme="light"] .gps-btn{background:#ff0062!important;color:#fff!important}
html[data-onf-theme="light"] .pop-ver-mas-card :is(.pop-more-cta,.manga-title){color:#d40051!important}
html[data-onf-theme="light"] .top-nombre{color:#24212b!important}
html[data-onf-theme="light"] :is(.top-sub,.top-puntos){color:#6b5d70!important}
html[data-onf-theme="light"] .top-puntos b{color:#d40051!important}
/* Campos del menu negro: prioridad sobre el tema claro de los formularios. */
html[data-onf-theme="light"] #navSearchForm input,
html[data-onf-theme="light"] #navSearchInput,
html[data-onf-theme="light"] #onfMobileDrawer input,
html[data-onf-theme="light"] #mobileSearchOverlay input,
html[data-onf-theme="light"] #mobileSearchInput{
 background:transparent!important;color:#f5f1f6!important;border:0!important;box-shadow:none!important;caret-color:#ff4b94!important
}
html[data-onf-theme="light"] #navSearchInput::placeholder,
html[data-onf-theme="light"] #onfMobileDrawer input::placeholder,
html[data-onf-theme="light"] #mobileSearchOverlay input::placeholder{color:#b9aebb!important}
/* Generos: filtros, contadores y tarjetas. */
html[data-onf-theme="light"] :is(.generos-hero-sub b,.genre-active-label,.genre-big-name,.genero-manga-titulo){color:#24212b!important}
html[data-onf-theme="light"] .genre-chip{background:#fff5f9!important;color:#57475e!important;border-color:#e8ccda!important;box-shadow:none!important}
html[data-onf-theme="light"] .genre-chip .chip-count{background:#f0e2eb!important;color:#68516e!important}
html[data-onf-theme="light"] .genre-chip:hover{background:#ffe8f2!important;color:#b00045!important;border-color:#ff8db8!important}
html[data-onf-theme="light"] .genre-chip.active{background:#ff0062!important;color:#fff!important;border-color:#ff0062!important}
html[data-onf-theme="light"] .genre-chip.active .chip-count{background:rgba(255,255,255,.23)!important;color:#fff!important}
html[data-onf-theme="light"] :is(.genre-big-card,.generos-toolbar){background:#fff!important;border-color:#eadfe6!important;color:#24212b!important}
html[data-onf-theme="light"] .genre-big-count{color:#6b5d70!important}
/* Tendencias y Populares: podios claros y titulos legibles. */
html[data-onf-theme="light"] :is(.podium-card,.pop-podium-card,.pop-card){background:#fff!important;color:#24212b!important;border-color:#e4d5df!important;box-shadow:0 5px 20px rgba(60,20,42,.07)!important}
html[data-onf-theme="light"] :is(.podium-card.gold,.pop-podium-card.gold){border-color:#ddbc58!important;background:#fffdf7!important}
html[data-onf-theme="light"] :is(.podium-name,.pop-podium-name,.pop-name,.ranking-name,.ranking-title,.trends-meta b){color:#24212b!important}
html[data-onf-theme="light"] :is(.trends-meta,.podium-score,.pop-score){background:#fff0f6!important;border-color:#f1c6d9!important;color:#b00045!important}
html[data-onf-theme="light"] :is(.trends-subtitle,.ranking-meta,.pop-meta){color:#685b6c!important}
html[data-onf-theme="light"] :is(.rank-number,.ranking-position){background:#fff0f6!important;border-color:#f1c6d9!important;color:#bb0049!important;box-shadow:0 3px 10px rgba(70,20,45,.09)!important}
/* Destacados: capa de marca magenta en lugar de neblina blanca. */
html[data-onf-theme="light"] .hero-overlay{background:linear-gradient(90deg,rgba(159,0,61,.98) 0%,rgba(211,0,82,.93) 43%,rgba(255,0,98,.46) 100%)!important}
html[data-onf-theme="light"] .hero-slide::before{filter:blur(3px) brightness(.95)!important}
html[data-onf-theme="light"] .hero-slider .hero-content :is(h1,h2,h3,p,.hero-title,.hero-desc,.hero-meta){color:#fff!important;text-shadow:none!important}
html[data-onf-theme="light"] .hero-slider :is(.hero-btn,.hero-btn-primary){background:#fff!important;color:#c0004b!important;border-color:#fff!important}
/* Capitulos recientes: contadores, filtros y titulos legibles. */
html[data-onf-theme="light"] .recent-stats{background:#fff0f6!important;border-color:#edcedd!important;color:#685b6c!important}
html[data-onf-theme="light"] .recent-stats b{color:#24212b!important}
html[data-onf-theme="light"] .recent-subtitle{color:#685b6c!important}
html[data-onf-theme="light"] .time-filters{background:#fff!important;border-color:#eadfe6!important}
html[data-onf-theme="light"] .time-filter-btn{background:#fff4f8!important;color:#57475e!important;border-color:#e8ccda!important;box-shadow:none!important}
html[data-onf-theme="light"] .time-filter-btn.active{background:#ff0062!important;color:#fff!important;border-color:#ff0062!important}
html[data-onf-theme="light"] .recent-info-title{color:#24212b!important}
html[data-onf-theme="light"] .recent-info-meta{color:#6b5d70!important}
/* Destacados: acento rosa tenue, sin saturar la ilustracion. */
html[data-onf-theme="light"] .hero-overlay{background:linear-gradient(90deg,rgba(255,239,246,.97) 0%,rgba(255,243,248,.82) 46%,rgba(255,0,98,.10) 100%)!important}
html[data-onf-theme="light"] .hero-slide::before{filter:blur(2px) brightness(1.03)!important}
html[data-onf-theme="light"] .hero-slider .hero-content :is(h1,h2,h3,p,.hero-title,.hero-desc,.hero-meta){color:#29212b!important;text-shadow:none!important}
html[data-onf-theme="light"] .hero-slider .hero-content .hero-desc{color:#655669!important}
html[data-onf-theme="light"] .hero-slider :is(.hero-btn,.hero-btn-primary){background:#ff0062!important;color:#fff!important;border-color:#ff0062!important}
/* Superficies y textos de las demas paginas publicas. */
html[data-onf-theme="light"],html[data-onf-theme="light"] body{--card:#fff!important;--panel:#fff!important;--bg2:#faf7f9!important;--line:#eadfe6!important;--txt:#24212b!important}
html[data-onf-theme="light"] :is(.games-feature,.games-footer,.games-update,.ps-hero,.ps-card,.ot-noticia,.ot-sug,.recluta-box,.comunidad-box,.scan-card-dir,.gl-card,.rk-p){background:#fff!important;color:#24212b!important;border-color:#eadfe6!important;box-shadow:0 5px 20px rgba(65,22,44,.06)!important}
html[data-onf-theme="light"] :is(.games-feature,.games-footer,.games-update,.ps-hero,.ps-card,.ot-noticia,.ot-sug,.recluta-box,.comunidad-box,.scan-card-dir) :is(p,li,strong,b,.txt,.nom,.titulo,.nombre){color:#514554!important}
html[data-onf-theme="light"] :is(.games-hero p,.prem-hero p,.prem-list li,.prem-list li>span:last-child,.ps-lead,.ps-intro,.ps-subtitle){color:#685b6c!important}
html[data-onf-theme="light"] .games-meta span{background:#faf3f7!important;border-color:#e7cedc!important;color:#514554!important}
html[data-onf-theme="light"] :is(.games-meta strong,.games-footer strong){color:#24212b!important}
html[data-onf-theme="light"] .games-download{color:#fff!important;background:#ff0062!important}
html[data-onf-theme="light"] .ps-btn.secondary{background:#fff1f7!important;border-color:#ecc4d6!important;color:#514554!important}
html[data-onf-theme="light"] .ps-btn.primary{background:#ff0062!important;color:#fff!important}
html[data-onf-theme="light"] .recluta-velo{background:linear-gradient(110deg,rgba(255,255,255,.96),rgba(255,241,247,.92))!important}
html[data-onf-theme="light"] :is(.recluta-titulo,.recluta-texto,.red-card .nom,.recluta-quien .nom){color:#24212b!important}
html[data-onf-theme="light"] .total-badge{background:#ffe5ef!important;color:#b00045!important;border-color:#edbfd2!important}
html[data-onf-theme="light"] :is(.gl-stats,.gl-tab,.gl-section-count){background:#fff1f7!important;border-color:#edcedd!important;color:#685b6c!important}
html[data-onf-theme="light"] :is(.gl-stats b,.gl-info .gl-name){color:#24212b!important}
html[data-onf-theme="light"] .gl-tab.active{background:#ff0062!important;color:#fff!important;border-color:#ff0062!important}
html[data-onf-theme="light"] :is(.manga-scan-participant-name,.share-modal-close-btn,.scan-pill){color:#514554!important}
html[data-onf-theme="light"] .scan-pill{background:#faf5f8!important;border-color:#e5d2df!important}
html[data-onf-theme="light"] .profile-role-badge{background:#ffe3ef!important;color:#ac0044!important;border-color:#efbad0!important}
html[data-onf-theme="light"] .profile-role-badge span{color:inherit!important}
html[data-onf-theme="light"] .auth-form a{color:#be004b!important}
html[data-onf-theme="light"] .recluta-box span{color:#514554!important}
html[data-onf-theme="light"] .recluta-box :is(.badge,.onf-av-gen){color:#fff!important}
html[data-onf-theme="light"] :is(.games-intro p,.games-description,.games-subtitle,.games-host-note){color:#685b6c!important}
html[data-onf-theme="light"] .error-container{box-sizing:border-box!important;width:min(100%,600px)!important;max-width:100%!important}
html[data-onf-theme="light"] .bg-element{max-width:100vw!important;pointer-events:none}
html[data-onf-theme="light"] .gl-subtitle b{color:#24212b!important}

/* Personalizacion: controles y textos legibles en tema claro. */
html[data-onf-theme="light"] #onfSettingsDrawer :is(.sd-section-title,.sd-row-label,.sd-custom-color label,.sd-footer p){color:#605365!important}
html[data-onf-theme="light"] #onfSettingsDrawer :is(.sd-row,.sd-color-grid,.sd-custom-color){background:#faf6f9!important;border-color:#e7dae3!important}
html[data-onf-theme="light"] #onfSettingsDrawer :is(.sd-row-label svg,.sd-close){color:#68576e!important}
html[data-onf-theme="light"] #onfSettingsDrawer .sd-footer{background:#fff!important;border-color:#e7dae3!important}
html[data-onf-theme="light"] #onfSettingsDrawer .sd-reset{background:#faf6f9!important;border-color:#e7dae3!important;color:#55445c!important}
html[data-onf-theme="light"] #onfSettingsDrawer .sd-color-swatch.selected{border-color:#332237!important}
html[data-onf-theme="light"] #onfSettingsDrawer .sd-toggle-track{background:#cabcca}
.onf-appearance-control{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;margin-bottom:20px;border:1px solid #57404e;border-radius:12px}
.onf-appearance-control button{font:inherit;font-weight:600;padding:9px 14px;border-radius:9px;border:1px solid #ff0062;background:#ff0062;color:#fff;cursor:pointer}
html[data-onf-theme="light"] .onf-appearance-control{background:#faf6f9;color:#302334;border-color:#e7dae3}
.onf-appearance-dialog{width:min(360px,calc(100vw - 32px));box-sizing:border-box;padding:24px;border:1px solid #57404e;border-radius:18px;background:#151017;color:#f4edf5}
.onf-appearance-dialog::backdrop{background:rgba(0,0,0,.5)}
.onf-appearance-dialog h2{font-size:19px;margin:0 0 20px}
.onf-appearance-dialog>button{float:right;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}
html[data-onf-theme="light"] .onf-appearance-dialog{background:#fff;color:#302334;border-color:#e7dae3}

html[data-onf-theme="light"] #onfSettingsDrawer .sd-toggle input:checked + .sd-toggle-track{background:var(--accent,#ff0062)!important}

/* Footer claro y contraste de autores en comentarios. */
html[data-onf-theme="light"] :is(.comment-username,.comment-username a,.comment-author,.comment-author a,.comment-user,.comment-user a){color:#29232e!important}
html[data-onf-theme="light"] :is(.premium-footer,.site-footer,footer){background:#f7f7f8!important;color:#60606a!important;border-color:#e1e1e5!important;color-scheme:light}
html[data-onf-theme="light"] :is(.premium-footer,.site-footer,footer) :is(h1,h2,h3,h4,strong,b,.footer-title,.footer-brand,.logo,.logo span){color:#32323a!important}
html[data-onf-theme="light"] :is(.premium-footer,.site-footer,footer) :is(p,a,small,.footer-rights,.footer-dev,.footer-desc,.pie-copy){color:#65656f!important}
html[data-onf-theme="light"] footer a:hover{color:#bc0049!important}

/* Botones sociales del footer: contraste sobre colores de marca. */
html[data-onf-theme="light"] footer.premium-footer .footer-social a{color:#fff!important;box-shadow:0 3px 9px rgba(35,42,70,.12)!important;min-height:44px;box-sizing:border-box;justify-content:center}
html[data-onf-theme="light"] footer.premium-footer .footer-social a[href*="discord.gg"]{background:#4752c4!important}
html[data-onf-theme="light"] footer.premium-footer .footer-social a[href*="facebook.com"]{background:#0866cc!important}
html[data-onf-theme="light"] footer.premium-footer .footer-social a svg{color:#fff!important;fill:currentColor!important;flex-shrink:0}
html[data-onf-theme="light"] footer.premium-footer .footer-social a:focus-visible{outline:3px solid #ff0062;outline-offset:4px}
html[data-onf-theme="light"] footer .footer-credits{border-color:#dedee3!important}
@media(max-width:480px){footer.premium-footer .footer-social{gap:10px!important}footer.premium-footer .footer-social a{flex:1 1 240px;max-width:320px}}

