.onf-header .searchbox{width:min(245px,22vw)}

/* Identidad compartida y legibilidad de secciones en manga y anime. */
.brand-name{font-family:'Orbitron',Manrope,sans-serif!important;letter-spacing:.075em}
.brand-name .brand-onf{color:#fff}
.brand-name .brand-hentai{color:var(--pink)}
.onf-header .nav-section-icon{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.section-heading h2,.anime-section-head h2,.catalog-page-heading h1,.anime-heading h1{font-family:'Orbitron',Manrope,sans-serif;letter-spacing:.015em}
.section-heading h2,.anime-section-head h2{font-size:clamp(1.05rem,1.15vw,1.32rem);line-height:1.3}

/* En escritorio da una escala ligeramente más cómoda, similar al 110% del navegador. */
@media(min-width:1100px){html{font-size:115%}}

.mobile-bottom-nav{display:none}
@media(max-width:620px){
  body{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
  .onf-header{height:64px;justify-content:space-between;gap:8px;padding-inline:14px}
  .onf-header .brand{flex:0 0 auto}
  .onf-header .brand-logo{width:46px;height:46px}
  .onf-header .brand-name{font-size:.66rem;letter-spacing:.035em}
  .onf-header .primary-nav,.onf-header .upload-button,.onf-header .account-link,.onf-header .profile-chip{display:none}
  .onf-header .top-actions{gap:7px;margin-left:auto}
  .onf-header .searchbox{width:36px;height:36px}
  .onf-header .cover-toggle{width:34px;height:34px}
  .mobile-bottom-nav{position:fixed;inset:auto 0 0;z-index:10020;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:64px;padding:6px 7px calc(6px + env(safe-area-inset-bottom));border-top:1px solid #ffffff12;background:rgba(13,12,17,.96);backdrop-filter:blur(20px);box-shadow:0 -10px 28px #0005}
  .mobile-nav-item{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:3px 2px;border:0;border-radius:11px;background:transparent;color:#96919d;font:600 .62rem/1.1 'DM Sans',sans-serif;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
  .mobile-nav-item svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
  .mobile-nav-item.active{color:#ff3b83}
  .mobile-nav-item.active svg{filter:drop-shadow(0 0 5px #ff176e55)}
  .mobile-nav-item:focus-visible{outline:2px solid #ff4b8d;outline-offset:-2px}
  .section-heading h2,.anime-section-head h2{font-size:1rem;letter-spacing:0}
  .catalog-page-heading h1{font-size:clamp(1.8rem,8vw,2.25rem)}
}
@media(max-width:380px){
  .onf-header .brand-logo{width:42px;height:42px}
  .onf-header .brand-name{display:inline-block;font-size:.58rem}
  .onf-header .cover-toggle{display:none}
  .mobile-nav-item{font-size:.58rem}
}
.onf-header .searchbox input{min-width:0}
.upload-button{display:grid;place-items:center;color:#f4eff7}
.upload-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.upload-button:hover{border-color:#ff176e;color:#ff4b8d;background:#ff176e12}
.profile-chip{display:flex;align-items:center;gap:8px;max-width:180px;padding:4px 9px 4px 4px;border:1px solid #ffffff16;border-radius:999px;background:#ffffff08;color:#f4eff7;font-size:.72rem}
.profile-chip img,.profile-chip>span{width:30px;height:30px;flex:0 0 30px;border-radius:50%;object-fit:cover;background:#ff176e22;display:grid;place-items:center;color:#ff77a3;font-weight:800}
.profile-chip b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-chip:hover{border-color:#ff176e75}
.hero-shell{min-height:540px;grid-template-columns:minmax(0,1.1fr) minmax(280px,.72fr);gap:clamp(28px,6vw,88px);padding-top:58px;padding-bottom:52px}
.hero-content h1{max-width:650px}
.hero-feature{display:flex;flex-direction:column;width:min(100%,350px);justify-self:center;overflow:hidden;border:1px solid #ffffff22;border-radius:20px;background:#111116;box-shadow:0 24px 70px #0009;transition:transform .22s,border-color .22s}
.hero-feature:hover{transform:translateY(-4px);border-color:#ff176e85}
.feature-cover{height:auto;aspect-ratio:5/6;position:relative}
.feature-cover img{object-fit:cover;object-position:center 22%}
.feature-cover-shade{background:linear-gradient(0deg,#0d0c11a8,transparent 55%)}
.feature-label{top:14px;left:14px;bottom:auto;padding:7px 10px;border:1px solid #ffffff33;border-radius:999px;background:#09090dcc;font-size:.63rem;letter-spacing:.08em;text-transform:uppercase}
.feature-caption{align-items:flex-end;gap:14px;padding:17px 18px 18px}
.feature-caption h2{margin:4px 0 5px;font-size:1.05rem;line-height:1.25}
.feature-episode{display:block;color:#a9a2ae;font-size:.71rem}
.feature-cta{display:flex;align-items:center;gap:7px;flex:0 0 auto;color:#ff4b8d;font-size:.7rem;font-weight:800;white-space:nowrap}
.feature-cta span{font-size:1.05rem}
.hero-footnote{display:none}
.anime-episode-row{grid-template-columns:minmax(0,1fr) auto}
.anime-episode-row-inner{min-width:0;display:flex;align-items:center;gap:12px;overflow:hidden}
.episode-play{flex:0 0 38px}
.episode-meta{display:block;min-width:0;overflow:hidden}
.anime-episode-row .hentai-seen-toggle{min-width:116px;max-width:150px;padding:9px 12px}
.chapter-row{display:flex;align-items:center;gap:18px}
.chapter-row-link{min-width:0;display:flex;flex:1;align-items:center;justify-content:space-between;gap:18px}
.chapter-row .hentai-seen-toggle{flex:0 0 auto}
.reader-context{position:sticky;top:74px;z-index:15;display:flex;align-items:center;gap:15px;padding:9px max(22px,calc((100vw - 1160px)/2));background:#111015;border-bottom:1px solid #ffffff10;color:#c9c3cd}
.reader-context .reader-manga-link{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.77rem}
.reader-context .reader-chapter-label{color:#8f8995;font-size:.68rem;white-space:nowrap}
.reader-context .reader-top-actions{display:flex;gap:8px;margin-left:auto}
.profile-wrap{max-width:1160px;min-height:70vh;margin:0 auto;padding:44px 28px 80px}
.profile-hero{position:relative;isolation:isolate;display:flex;align-items:center;gap:22px;min-height:220px;overflow:hidden;padding:30px;border:1px solid #ffffff14;border-radius:22px;background:linear-gradient(100deg,#17131c,#100f14)}
.profile-hero:before{position:absolute;z-index:-2;inset:0;content:"";background-image:var(--profile-cover);background-position:center 40%;background-size:cover;opacity:.19;filter:blur(2px)}
.profile-hero:after{position:absolute;z-index:-1;inset:0;content:"";background:linear-gradient(90deg,#100e14ed,#100e14ad 68%,#100e14e8)}
.profile-avatar{width:104px;height:104px;flex:0 0 104px;overflow:hidden;border:3px solid #ff176e;border-radius:50%;background:#ff176e20;box-shadow:0 0 35px #ff176e30}
.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-avatar span{display:grid;width:100%;height:100%;place-items:center;color:#ff77a3;font-size:2.6rem;font-weight:900}
.profile-intro{min-width:0;flex:1}.profile-intro h1{margin:4px 0 6px;font:800 clamp(1.6rem,4vw,2.5rem)/1.1 Manrope,sans-serif}.profile-intro p{max-width:640px;margin:0 0 8px;color:#c4bdc9}.profile-intro small{color:#908995;font-size:.68rem}
.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 42px}.profile-stats article{display:grid;gap:3px;padding:18px;border:1px solid #ffffff12;border-radius:15px;background:#111116}.profile-stats b{font:800 1.4rem Manrope,sans-serif;color:#ff4b8d}.profile-stats span{color:#a7a0ac;font-size:.7rem}
.profile-section{margin-top:35px}.profile-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.profile-section h2{margin:3px 0;font:800 1.45rem Manrope,sans-serif}.profile-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.profile-work{display:flex;align-items:center;gap:12px;min-width:0;padding:11px;border:1px solid #ffffff12;border-radius:13px;background:#111116}.profile-work:hover{border-color:#ff176e70}.profile-work img{width:55px;height:70px;flex:0 0 55px;object-fit:cover;border-radius:8px;background:#201b24}.profile-work span{display:grid;gap:5px;min-width:0}.profile-work b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.76rem}.profile-work small{color:#96909b;font-size:.63rem}
.profile-empty{display:grid;justify-items:start;gap:6px;padding:26px;border:1px dashed #ffffff25;border-radius:15px;background:#111116}.profile-empty strong{font-size:.88rem}.profile-empty span{color:#9e97a3;font-size:.72rem}.profile-empty a{margin-top:7px;color:#ff4b8d;font-size:.73rem;font-weight:800}
.profile-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:32px}.profile-shortcuts a{display:grid;gap:6px;padding:19px;border:1px solid #ffffff12;border-radius:15px;background:#111116}.profile-shortcuts a:hover{border-color:#ff176e70}.profile-shortcuts a>span{color:#ff4b8d;font-size:1.2rem}.profile-shortcuts b{font-size:.79rem}.profile-shortcuts small{color:#96909b;font-size:.65rem}
.publisher-body{background:radial-gradient(ellipse at 75% 5%,#ff176e0c,transparent 35%),#09090d}.publisher-body .topbar{margin-bottom:0}.publisher-body .publisher-wrap{max-width:1160px;margin:0 auto;padding:38px 26px 76px}
.publisher-denied{display:grid;justify-items:start;gap:10px;margin-top:25px;padding:30px;border:1px solid #ffffff14;border-radius:18px;background:linear-gradient(130deg,#17131c,#100f14)}.publisher-denied h2{margin:0;font:800 clamp(1.3rem,3vw,1.8rem)/1.15 Manrope,sans-serif}.publisher-denied p{max-width:650px;margin:0;color:#aaa4af;font-size:.82rem;line-height:1.7}.publisher-denied>div{display:flex;flex-wrap:wrap;gap:9px;margin-top:7px}.publisher-denied-icon{display:grid;width:42px;height:42px;place-items:center;border:1px solid #ff176e55;border-radius:13px;background:#ff176e15;color:#ff4b8d;font-size:1.3rem}
.hero-feature{transition:opacity .28s ease,transform .28s ease}.hero-feature.is-changing{opacity:.48;transform:translateY(3px)}.anime-hero-shell{margin:0 -32px 42px;padding-left:max(32px,calc((100vw - 1320px)/2));padding-right:max(32px,calc((100vw - 1320px)/2))}.anime-hero-shell .hero-content em{color:#ff176e;font-style:normal}.anime-hero-feature .feature-cover{aspect-ratio:5/6}.anime-hero-feature .feature-cover img{object-position:center 24%}.anime-hero-shell.is-changing .anime-hero-feature{opacity:.48;transform:translateY(3px)}
@media(max-width:900px){.onf-header .searchbox{width:38px;padding:0 10px}.onf-header .searchbox input{opacity:0}.onf-header .searchbox:focus-within{position:absolute;left:16px;right:185px;z-index:3;width:auto;background:#111116}.onf-header .searchbox:focus-within input{opacity:1}.profile-chip b{display:none}.profile-work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.hero-shell{min-height:0;grid-template-columns:1fr;gap:24px;padding:38px 20px 36px}.hero-feature{width:min(100%,280px);justify-self:end;margin:0 5px 0 0}.feature-cover{aspect-ratio:5/6}.feature-caption{padding:13px}.feature-caption h2{font-size:.88rem}.feature-episode{font-size:.61rem}.hero-stats{margin-top:20px}.onf-header{gap:7px;padding-inline:10px}.onf-header .brand{gap:5px}.onf-header .brand-logo{width:28px;height:28px}.onf-header .brand-name{font-size:.59rem;letter-spacing:.06em}.onf-header .primary-nav{margin-left:auto;margin-right:0}.onf-header .nav-link{padding-inline:6px;font-size:.59rem}.onf-header .nav-link.active:after{left:6px;right:6px}.onf-header .top-actions{gap:5px}.onf-header .searchbox{width:30px;height:33px;padding:0 6px}.onf-header .upload-button,.onf-header .cover-toggle{width:31px;height:31px}.onf-header .account-link{padding:6px 7px;font-size:.58rem}.onf-header .account-link-primary{display:none}.profile-wrap{padding:24px 14px 55px}.profile-hero{align-items:flex-start;flex-wrap:wrap;gap:13px;padding:19px}.profile-avatar{width:68px;height:68px;flex-basis:68px}.profile-intro{flex-basis:calc(100% - 86px)}.profile-intro p{font-size:.7rem}.profile-hero>.button{width:100%}.profile-stats{gap:7px;margin-bottom:30px}.profile-stats article{padding:12px 9px}.profile-stats b{font-size:1.05rem}.profile-stats span{font-size:.58rem}.profile-work-grid{grid-template-columns:1fr}.profile-shortcuts{grid-template-columns:1fr}.profile-section-head{align-items:flex-start}.reader-context{top:61px;gap:8px;padding:8px 12px}.reader-context .reader-chapter-label{font-size:.61rem}.anime-episode-row{grid-template-columns:minmax(0,1fr);gap:9px;padding:10px}.anime-episode-row .hentai-seen-toggle{width:100%;max-width:none}.chapter-row{align-items:flex-start;flex-direction:column;gap:10px}.chapter-row .hentai-seen-toggle{width:100%}.chapter-row-link{width:100%}}
@media(max-width:380px){.onf-header .brand-name{display:none}.onf-header .primary-nav .anime-link{display:inline-flex}.onf-header .nav-link{font-size:.55rem}.onf-header .account-link{font-size:.54rem}.onf-header .cover-toggle{display:none}}
@media(max-width:620px){.anime-hero-shell{margin:0 -15px 32px;padding:38px 20px 36px}}
.publisher-scan-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:25px 0;padding:20px 23px;border:1px solid #ffffff14;border-radius:16px;background:linear-gradient(110deg,#17131c,#111015)}.publisher-scan-bar h2{margin:3px 0 5px;font:800 1.1rem Manrope,sans-serif}.scan-status{color:#ffb255;font-size:.68rem}.scan-status.verified{color:#65d9a0}.scan-switcher{display:grid;gap:5px;color:#a49daa;font-size:.66rem}.scan-switcher select{min-width:190px;min-height:39px;padding:0 12px;border:1px solid #ffffff1b;border-radius:9px;background:#0d0c11;color:#f5f4f7}.publisher-create-scan{margin:20px 0 28px}.publisher-scan-works{margin:35px 0 20px}.publisher-scan-works h2{margin:3px 0;font:800 1.4rem Manrope,sans-serif}.publisher-scan-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.publisher-scan-work{display:flex;align-items:center;gap:12px;min-width:0;padding:10px;border:1px solid #ffffff12;border-radius:13px;background:#111116;color:#f5f4f7;text-align:left;cursor:pointer}.publisher-scan-work:hover,.publisher-work-option:hover{border-color:#ff176e70;background:#ff176e0c}.publisher-scan-work img,.publisher-work-option img{width:43px;height:56px;flex:0 0 43px;object-fit:cover;border-radius:7px;background:#211a23}.publisher-scan-work>span{display:grid;gap:4px;min-width:0;flex:1}.publisher-scan-work b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.73rem}.publisher-scan-work small{color:#97909c;font-size:.61rem}.publisher-scan-work>strong{color:#ff4b8d;font-size:.65rem;white-space:nowrap}.publisher-work-picker{position:relative}.publisher-work-picker>input[type=search]{width:100%;min-height:43px;padding:0 12px;border:1px solid #ffffff20;border-radius:10px;background:#0c0b10;color:#f5f4f7}.publisher-work-picker>input[type=search]:focus{border-color:#ff176e;outline:none}.publisher-work-results{position:absolute;z-index:20;top:calc(100% + 5px);left:0;right:0;max-height:270px;overflow:auto;padding:5px;border:1px solid #ffffff1b;border-radius:11px;background:#17151c;box-shadow:0 16px 36px #0009}.publisher-work-option{display:flex;align-items:center;gap:10px;width:100%;padding:7px;border:1px solid transparent;border-radius:8px;background:transparent;color:#f5f4f7;text-align:left;cursor:pointer}.publisher-work-option span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.71rem}.publisher-search-empty{margin:0;padding:14px;color:#aaa4af;font-size:.72rem}.publisher-work-selected{margin-top:7px;padding:9px 11px;border:1px solid #ff176e45;border-radius:9px;background:#ff176e0e;color:#ff8bb2;font-size:.7rem}.publisher-hint{color:#9e97a3;font-size:.66rem}@media(max-width:620px){.publisher-scan-bar{align-items:flex-start;flex-direction:column;padding:16px}.scan-switcher,.scan-switcher select{width:100%}.publisher-scan-work-grid{grid-template-columns:1fr}.publisher-scan-work>strong{font-size:.58rem}}
/* Shared ONFMangas-style feature carousel for Manga Hentai and Anime Hentai. */
.onf-cover-slider{position:relative;width:100%;height:500px;overflow:hidden;margin:0 auto 42px;background:#0a090d;isolation:isolate}
.onf-cover-track,.onf-cover-slide{position:absolute;inset:0}
.onf-cover-slide{z-index:0;opacity:0;visibility:hidden;transition:opacity .8s ease,visibility .8s}
.onf-cover-slide.is-active{z-index:1;opacity:1;visibility:visible}
.onf-cover-background{position:absolute;inset:-12px;width:calc(100% + 24px);height:calc(100% + 24px);object-fit:cover;object-position:center 34%;filter:blur(3px) brightness(.43);transform:scale(1.04)}
.onf-cover-overlay{position:absolute;inset:0;display:flex;align-items:center;background:linear-gradient(90deg,#050508 0%,rgba(5,5,8,.84) 38%,rgba(5,5,8,.48) 72%,rgba(5,5,8,.18) 100%),linear-gradient(0deg,rgba(5,5,8,.42),transparent 50%)}
.onf-cover-content{display:flex;align-items:center;gap:32px;width:min(1320px,calc(100% - 64px));margin:0 auto}
.onf-cover-thumb{display:block;width:140px;min-width:140px;aspect-ratio:2/3;object-fit:cover;border:1px solid #ffffff22;border-radius:12px;background:#17151c;box-shadow:0 18px 44px #0008}
.onf-cover-text{flex:1;min-width:0;max-width:740px}
.onf-cover-tag{display:inline-flex;align-items:center;min-height:24px;margin-bottom:12px;padding:4px 10px;border:1px solid #ffffff32;border-radius:999px;background:#08080dcc;color:#fff;font-size:.61rem;font-weight:800;letter-spacing:.1em}
.onf-cover-title{display:-webkit-box;overflow:hidden;margin:0;color:#fbf9fc;font:800 clamp(1.9rem,4vw,3rem)/1.08 Manrope,sans-serif;letter-spacing:-.055em;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.onf-cover-description{display:-webkit-box;overflow:hidden;max-width:650px;margin:12px 0 17px;color:#d0cbd4;font-size:.9rem;line-height:1.6;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.onf-cover-meta{display:block;overflow:hidden;margin:0 0 20px;color:#aaa4af;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}
.onf-cover-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:0 18px;border:1px solid #fff;border-radius:9px;background:#f6f4f7;color:#111015;font-size:.75rem;font-weight:800;transition:background .2s,transform .2s}
.onf-cover-button:hover{transform:translateY(-2px);background:#fff}.onf-cover-button svg{width:14px;height:14px;fill:currentColor}
.onf-cover-loading{width:100%;height:100%;background:linear-gradient(90deg,#111015,#1b141c,#111015);animation:cover-loading 1.5s ease-in-out infinite alternate}
@keyframes cover-loading{to{opacity:.55}}
@media(max-width:768px){.onf-cover-slider{height:300px;margin-bottom:32px}.onf-cover-content{width:calc(100% - 32px);gap:16px}.onf-cover-thumb{width:85px;min-width:85px;border-radius:9px}.onf-cover-tag{min-height:20px;margin-bottom:7px;padding:3px 8px;font-size:.51rem}.onf-cover-title{font-size:clamp(1.2rem,5vw,1.8rem);line-height:1.1}.onf-cover-description{margin:7px 0 8px;font-size:.69rem;line-height:1.4;-webkit-line-clamp:3}.onf-cover-meta{margin-bottom:10px;font-size:.59rem}.onf-cover-button{min-height:35px;padding:0 12px;border-radius:8px;font-size:.65rem}.onf-cover-overlay{background:linear-gradient(90deg,#050508 0%,rgba(5,5,8,.82) 40%,rgba(5,5,8,.45) 100%),linear-gradient(0deg,rgba(5,5,8,.45),transparent 55%)}}
@media(max-width:400px){.onf-cover-slider{height:275px}.onf-cover-content{width:calc(100% - 24px);gap:12px}.onf-cover-thumb{width:68px;min-width:68px}.onf-cover-description{-webkit-line-clamp:2;font-size:.65rem}.onf-cover-title{font-size:1.2rem}.onf-cover-tag{font-size:.47rem}.onf-cover-meta{font-size:.55rem}}
@media(prefers-reduced-motion:reduce){.onf-cover-slide,.onf-cover-button{transition:none}.onf-cover-loading{animation:none}}

.onf-header .primary-nav .nav-link{gap:8px}

/* Acerca la primera seccion a la portada destacada de anime. */
.anime-page #anime-cover-slider{margin-bottom:18px}.anime-page #anime-cover-slider+.anime-wrap{padding-top:18px}@media(max-width:768px){.anime-page #anime-cover-slider{margin-bottom:10px}.anime-page #anime-cover-slider+.anime-wrap{padding-top:10px}}

/* Tamaños móviles compartidos; se aplican después de las reglas heredadas. */
@media(max-width:620px){
  .onf-header{height:66px;padding-inline:14px;gap:10px}
  .onf-header .brand{gap:8px;flex-shrink:0}
  .onf-header .brand-logo{width:42px;height:42px;flex:0 0 42px;object-fit:contain}
  .onf-header .brand-name{display:inline-block;font-size:15px;letter-spacing:.025em;line-height:1.2}
  .onf-header .brand-onf{color:#fff}
  .onf-header .brand-hentai{color:var(--pink)}
  .onf-header .top-actions{gap:8px}
  .onf-header .searchbox,.onf-header .cover-toggle{width:38px;height:38px}
  .onf-cover-content{width:calc(100% - 32px);gap:16px}
  .onf-cover-thumb{width:88px;min-width:88px}
  .onf-cover-title{font-size:22px;line-height:1.15}
  .onf-cover-description{font-size:14px;line-height:1.5;-webkit-line-clamp:3}
  .onf-cover-tag{font-size:10px;padding:4px 9px}
  .onf-cover-meta{font-size:11px}
  .onf-cover-button{min-height:46px;padding-inline:22px;font-size:14px}
  .section-heading h2,.anime-section-head h2{font-size:18px}
  .card-title,.anime-card h2{font-size:14px;line-height:1.35}
  .card-meta,.anime-card p{font-size:11px}
}
@media(max-width:360px){
  .onf-header{padding-inline:10px}
  .onf-header .brand-name{font-size:13px}
  .onf-header .brand-logo{width:38px;height:38px;flex-basis:38px}
  .onf-cover-thumb{width:78px;min-width:78px}
  .onf-cover-title{font-size:20px}
}
/* Pantalla completa del lector: conserva únicamente sus controles flotantes. */
.reader-body.reader-fullscreen .onf-header,
.reader-body.reader-fullscreen .mobile-bottom-nav,
.reader-body.reader-fullscreen .reader-context,
.reader-body.reader-fullscreen .reader-controls,
.reader-body.reader-fullscreen .site-footer,
.reader-body.reader-fullscreen .community-shell{display:none!important}
.reader-body.reader-fullscreen{padding-top:0;padding-bottom:0}
.reader-body.reader-fullscreen .reader-wrap{margin-top:0;padding-top:0}
html:fullscreen{scroll-padding-top:0}
html:fullscreen .reader-body .onf-header,
html:fullscreen .reader-body .mobile-bottom-nav,
html:fullscreen .reader-body .reader-context{display:none!important}
/* El lector mantiene su propia navegación y libera espacio para las páginas. */
.reader-body .onf-header,.reader-body .mobile-bottom-nav{display:none!important}
.reader-body{padding-bottom:0}.reader-body .reader-context{top:0}

/* Preparación visual de páginas antes de publicar. */
.publisher-image-picker{padding:18px;border:1px dashed #ff4b8d88;border-radius:12px;background:#ff176e09;cursor:pointer}
.publisher-image-picker small{color:#aaa1af;font-size:12px}
.publisher-page-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0}
.publisher-page-tools .button{min-height:36px;padding:0 10px;font-size:12px}
.publisher-page-tools>span{color:#beb6c5;font-size:12px}
.publisher-page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:650px;overflow:auto}
.publisher-page-card{min-width:0;padding:8px;border:1px solid #ffffff18;border-radius:10px;background:#0e0c12;cursor:grab}
.publisher-page-card>img{width:100%;height:150px;object-fit:contain;display:block;background:#08070a;border-radius:6px}
.publisher-page-name{display:block;margin:6px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#b5acbd}
.publisher-page-card>label{display:flex;align-items:center;gap:5px;font-size:12px}
.publisher-page-card input{width:65px;min-height:32px;padding:4px 6px}
.publisher-page-actions{display:flex;gap:4px;margin-top:7px}
.publisher-page-actions button{min-height:36px;flex:1;padding:4px;border:1px solid #ffffff20;border-radius:6px;background:#ffffff08;color:#eee;font-size:11px;cursor:pointer}
.publisher-page-actions button:disabled{opacity:.3;cursor:default}
.publisher-page-error{color:#ff87af;font-size:13px;min-height:20px}
#chapter-images-panel[hidden],#chapter-zip-panel[hidden]{display:none!important}
@media(max-width:620px){.publisher-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.publisher-page-card>img{height:160px}.publisher-page-actions button{min-height:42px}}
@media(max-width:820px){
 .mobile-bottom-nav{display:grid!important;position:fixed!important;inset:auto 0 0!important;width:100%!important;z-index:2147483000!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;grid-template-columns:repeat(5,minmax(0,1fr));min-height:64px;padding:6px 7px calc(6px + env(safe-area-inset-bottom));}
 .mobile-bottom-nav .mobile-nav-item{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:3px 2px;color:#96919d;font:600 .62rem/1.1 'DM Sans',sans-serif;text-decoration:none;}
 .mobile-bottom-nav .mobile-nav-item svg{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 .mobile-bottom-nav .mobile-nav-item.active{color:#ff3b83}
}

/* Buscador móvil: icono compacto; al enfocar, se oculta la marca para dar espacio al campo. */
@media(max-width:560px){.topbar.onf-header{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;column-gap:10px}.topbar.onf-header>.brand{min-width:0;transition:opacity .16s,visibility .16s}.topbar.onf-header>.top-actions{width:36px;min-width:36px;justify-self:end;margin:0;gap:0}.topbar.onf-header .brand-name{font-size:.78rem;letter-spacing:.045em}.topbar.onf-header .cover-toggle{display:none}.topbar.onf-header .searchbox{position:static;width:36px;min-width:36px;height:36px;padding:0 9px;border:0;border-radius:10px;background:transparent;box-shadow:none;transition:background .18s,border-color .18s}.topbar.onf-header .searchbox input{width:0;min-width:0;padding:0;opacity:0;font-size:16px;transition:opacity .15s}.topbar.onf-header:has(.searchbox:focus-within)>.brand{opacity:0;visibility:hidden;pointer-events:none}.topbar.onf-header .searchbox:focus-within{position:absolute;top:12px;right:13px;left:auto;z-index:3;width:calc(100vw - 26px);height:38px;padding:0 11px;border:1px solid #ff176e88;border-radius:10px;background:#111116;box-shadow:0 8px 24px #0008}.topbar.onf-header .searchbox:focus-within input{width:100%;min-width:0;opacity:1}.topbar.onf-header .searchbox input::placeholder{color:#85818b}}
@media(max-width:380px){.topbar.onf-header{column-gap:7px}.topbar.onf-header .brand-name{font-size:.74rem}.topbar.onf-header .searchbox:focus-within{width:calc(100vw - 20px);right:10px}}
