
/* MangaVerse v7.4 — Minimal theme-matched refinement */

:root{
 --mv74-line:#e7e8ea;
 --mv74-soft:#fafafa;
 --mv74-text:#2b2e32;
 --mv74-muted:#858a90;
 --mv74-accent:var(--mva-accent,#f28a00);
}

/* Keep the header visually quiet. */
.mva-header-tools{gap:4px}
.mva-head-adult-toggle{
 min-height:36px;
 padding:0 8px;
 gap:6px;
 border:0;
 border-radius:5px;
 background:transparent;
 box-shadow:none;
 color:#555a60;
}
.mva-head-adult-toggle:hover{background:#f7f7f7;border:0}
.mva-head-adult-toggle.is-on{
 border:0;
 background:#fff8ef;
 box-shadow:none;
}
.mva-head-adult-label{
 font-size:9px;
 font-weight:800;
 color:#666b71;
}
.mva-head-adult-toggle.is-on .mva-head-adult-label{color:#925600}
.mva-head-adult-track{
 width:28px;
 height:16px;
 flex-basis:28px;
 background:#d7dadd;
 box-shadow:none;
}
.mva-head-adult-track i{
 top:2px;
 left:2px;
 width:12px;
 height:12px;
 box-shadow:0 1px 2px rgba(0,0,0,.18);
}
.mva-head-adult-toggle.is-on .mva-head-adult-track{background:var(--mv74-accent)}
.mva-head-adult-toggle.is-on .mva-head-adult-track i{transform:translateX(12px)}

/* Search: same white/gray language as the rest of the theme. */
.mva-searchpanel{background:rgba(30,32,35,.42);backdrop-filter:blur(3px)}
.mva-searchbox{
 width:min(680px,calc(100% - 28px));
 margin:46px auto 0;
 border:1px solid var(--mv74-line);
 border-radius:6px;
 box-shadow:0 18px 50px rgba(20,23,27,.14);
}
.mva-search-head{
 min-height:58px;
 padding:0 14px;
 border-bottom:1px solid var(--mv74-line);
}
.mva-search-title{
 font-size:18px;
 line-height:1.2;
 font-weight:800;
 letter-spacing:-.2px;
}
#mvaSearchClose{
 width:34px;
 height:34px;
 border:0;
 border-radius:5px;
 background:#f5f5f5;
 font-size:20px;
}
.mva-find-form{
 grid-template-columns:minmax(0,1fr) 44px;
 gap:7px;
 padding:12px 14px;
 border-bottom:1px solid var(--mv74-line);
}
.mva-find-form input{
 height:42px;
 padding:0 12px;
 border:1px solid #d9dcdf;
 border-radius:4px;
 font-size:12px;
}
.mva-find-form input:focus{
 border-color:var(--mv74-accent);
 box-shadow:0 0 0 2px rgba(242,138,0,.08);
}
.mva-search-submit{
 min-width:44px;
 min-height:42px;
 padding:0;
 border-radius:4px;
 background:#292c30;
}
.mva-search-submit-text{display:none}
.mva-search-submit-icon,
.mva-search-submit-icon svg{
 display:block;
 width:17px;
 height:17px;
}
.mva-search-recent,.mva-search-keywords{padding:10px 14px}
.mva-search-result{
 margin-top:5px;
 padding:8px;
 border:0;
 border-radius:4px;
 background:#fafafa;
}
.mva-search-result:hover{background:#f5f5f5}
.mva-search-result img{
 width:44px;
 height:60px;
 border-radius:3px;
}
.mva-search-result strong{font-size:11px}
.mva-search-result small{font-size:9px}

/* Drawer 18+ preference: compact, no card-inside-card feeling. */
.mva-content-preference{
 margin:0;
 padding:14px;
 border:0;
 border-top:1px solid var(--mv74-line);
 border-radius:0;
 background:#fff;
}
.mva-content-preference h3{
 margin:0 0 4px;
 font-size:9px;
 color:#8a8f95;
 text-transform:uppercase;
 letter-spacing:.08em;
}
.mva-content-pref-note{
 margin:0 0 10px;
 max-width:310px;
 color:#8a8f95;
 font-size:9px;
 line-height:1.5;
}
.mva-adult-toggle-row{
 min-height:48px;
 padding:8px 10px;
 border:1px solid var(--mv74-line);
 border-radius:5px;
 background:#fff;
}
.mva-adult-toggle-copy strong{font-size:11px}
.mva-adult-toggle-copy small{
 margin-top:2px;
 font-size:8.5px;
 color:#92969b;
}
.mva-switch{
 width:36px;
 height:20px;
 flex-basis:36px;
}
.mva-switch i{
 top:2px;
 left:2px;
 width:16px;
 height:16px;
}
.mva-switch.is-on i{transform:translateX(16px)}
.mva-adult-pref-actions{margin-top:7px;gap:6px}
.mva-adult-hub-link,
.mva-age-reset-form button{
 min-height:34px;
 padding:0 9px;
 border:1px solid var(--mv74-line);
 border-radius:4px;
 background:#fff;
 color:#656a70;
 font-size:9px;
 font-weight:700;
}
.mva-age-reset-form button:hover,
.mva-adult-hub-link:hover{background:#f8f8f8}

/* Home 18+ prompt: a subtle notice, not a promotional banner. */
.mva-home-adult-cta{padding-top:18px;padding-bottom:18px}
.mva-home-adult-callout{
 min-height:58px;
 padding:10px 12px;
 gap:14px;
 border:1px solid var(--mv74-line);
 border-radius:5px;
 background:#fafafa;
 box-shadow:none;
}
.mva-home-adult-kicker{display:none}
.mva-home-adult-copy h2{
 margin:0 0 2px;
 font-size:11px;
 line-height:1.35;
 font-weight:800;
 letter-spacing:0;
 color:#42474d;
}
.mva-home-adult-copy p{
 margin:0;
 max-width:none;
 color:#8a8f95;
 font-size:9px;
 line-height:1.45;
}
.mva-home-adult-btn{
 min-height:34px;
 padding:0 11px;
 border:1px solid #d9dcdf;
 border-radius:4px;
 background:#fff;
 color:#40454a;
 font-size:9px;
 font-weight:750;
}
.mva-home-adult-btn:hover{
 border-color:#bfc4c8;
 background:#f5f5f5;
}

/* Cards: chapter information is just metadata. */
.r18-title-card-foot{
 margin-top:4px;
 min-height:15px;
}
.r18-card-latest{
 display:block;
 color:#8d9298;
 font-size:8.5px;
 line-height:1.3;
}
.r18-card-latest strong{
 color:#686d73;
 font-size:8.5px;
 font-weight:750;
}
.mva-book-meta{margin-top:3px}

/* Keep the orange accent reserved for active/selected states. */
.mva-badge{background:rgba(33,36,40,.82)}
.mva-sort-links a.active,
.mva-filter-group a.active{background:#2c2f33;border-color:#2c2f33}
.mva-bottom-nav-inner>a.active{color:var(--mv74-accent)}

@media(max-width:720px){
 .mva-head-adult-toggle{
  min-height:34px;
  padding:0 6px;
  gap:5px;
 }
 .mva-head-adult-label{font-size:8px}
 .mva-searchbox{
  width:calc(100% - 20px);
  margin-top:10px;
  border-radius:6px;
 }
 .mva-search-head{min-height:54px}
 .mva-search-title{font-size:16px}
 .mva-find-form{
  grid-template-columns:minmax(0,1fr) 42px;
  padding:10px;
 }
 .mva-find-form input{height:40px;font-size:11px}
 .mva-search-submit{min-height:40px;min-width:42px}
 .mva-content-preference{padding:12px}
 .mva-home-adult-callout{
  flex-direction:row;
  align-items:center;
  padding:10px;
 }
 .mva-home-adult-copy p{display:none}
 .mva-home-adult-btn{
  width:auto;
  white-space:nowrap;
 }
}
