
/* MangaVerse v7.2 — search, adult controls and card refinement */

:root{
 --mv72-line:#e6e8ea;
 --mv72-soft:#f7f8f9;
 --mv72-text:#24272b;
 --mv72-muted:#7a8087;
 --mv72-accent:var(--mva-accent,#f28a00);
 --mv72-accent-soft:#fff6eb;
 --mv72-dark:#1f2328;
 --mv72-radius:8px;
 --mv72-radius-sm:6px;
}

/* Header tools */
.mva-header-inner{
 display:grid;
 grid-template-columns:64px 1fr auto;
 align-items:center;
 gap:12px;
}
.mva-header-tools{
 display:flex;
 align-items:center;
 justify-content:flex-end;
 gap:8px;
}
.mva-header-adult-form{margin:0}
.mva-head-adult-btn{
 min-width:46px;
 height:46px;
 padding:0 10px;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 border:1px solid var(--mv72-line);
 border-radius:999px;
 background:#fff;
 color:var(--mv72-text);
 cursor:pointer;
 transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;
}
.mva-head-adult-btn:hover{border-color:#d6a15a;background:#fffaf3}
.mva-head-adult-btn.is-on{
 border-color:var(--mv72-accent);
 background:var(--mv72-accent-soft);
 color:#9a5a00;
 box-shadow:0 0 0 3px rgba(242,138,0,.10);
}
.mva-head-adult-pill{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 font-size:12px;
 line-height:1;
 font-weight:800;
 letter-spacing:.02em;
}
.mva-icon-btn{
 min-width:46px;
 min-height:46px;
 border-radius:999px;
}
.mva-icon-btn svg{
 width:20px;
 height:20px;
 flex:0 0 20px;
}

/* Search modal */
.mva-searchpanel{
 padding:20px 16px;
 backdrop-filter:blur(5px);
}
.mva-searchbox{
 width:min(760px,100%);
 margin:38px auto 0;
 overflow:hidden;
 border:1px solid var(--mv72-line);
 border-radius:16px;
 background:#fff;
 box-shadow:0 32px 80px rgba(15,18,24,.22);
}
.mva-search-head{
 min-height:78px;
 padding:0 18px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 border-bottom:1px solid var(--mv72-line);
}
.mva-search-title{
 color:var(--mv72-text);
 font-size:32px;
 line-height:1;
 letter-spacing:-.04em;
 font-weight:850;
}
#mvaSearchClose{
 width:46px;
 height:46px;
 border:1px solid var(--mv72-line);
 border-radius:999px;
 background:#fafafa;
 color:#555b62;
 font-size:24px;
 line-height:1;
}
#mvaSearchClose:hover{background:#f2f3f4;color:#1f2328}
.mva-find-form{
 display:grid;
 grid-template-columns:minmax(0,1fr) 128px;
 gap:10px;
 padding:16px 18px 14px;
 border-bottom:1px solid var(--mv72-line);
}
.mva-find-form input{
 width:100%;
 min-width:0;
 height:56px;
 padding:0 16px;
 border:1px solid #dadde1;
 border-radius:12px;
 background:#fff;
 color:var(--mv72-text);
 font-size:17px;
 outline:none;
 box-shadow:none;
}
.mva-find-form input:focus{
 border-color:var(--mv72-accent);
 box-shadow:0 0 0 3px rgba(242,138,0,.12);
}
.mva-search-submit{
 min-height:56px;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:9px;
 border:0;
 border-radius:12px;
 background:var(--mv72-dark);
 color:#fff;
 font-size:15px;
 font-weight:800;
 cursor:pointer;
}
.mva-search-submit:hover{background:#111418}
.mva-search-submit svg{
 width:18px;
 height:18px;
 stroke:currentColor;
 fill:none;
 stroke-width:2;
}
.mva-search-submit-text{display:inline-block}
.mva-search-recent,
.mva-search-keywords{
 padding:14px 18px;
}
.mva-search-recent .mva-search-recent-head,
.mva-search-keywords h3{
 margin:0 0 10px;
 color:#8a9097;
 font-size:11px;
 font-weight:800;
 letter-spacing:.08em;
 text-transform:uppercase;
}
.mva-search-keywords .mva-menu-chips a,
.mva-search-recent button,
#mvaSearchRecentItems a{
 border-radius:999px;
}
.mva-search-results{
 max-height:min(50vh,520px);
 overflow:auto;
 padding:0 10px 10px;
}
.mva-search-result{
 margin-top:8px;
 padding:10px;
 border:1px solid transparent;
 border-radius:12px;
 background:#fafafa;
}
.mva-search-result:hover{border-color:var(--mv72-line);background:#fff}
.mva-search-result img{
 width:54px;
 height:74px;
 border-radius:8px;
 border:1px solid var(--mv72-line);
}
.mva-search-result strong{font-size:14px}
.mva-search-result small{font-size:11px;color:var(--mv72-muted)}
.mva-search-all{
 margin-top:10px;
 border-radius:10px;
}

/* Drawer and content preference */
.mva-menu-panel{
 background:#fff;
 box-shadow:22px 0 60px rgba(18,22,28,.18);
}
.mva-menu-header{
 padding-bottom:14px;
 border-bottom:1px solid var(--mv72-line);
}
.mva-find-titles-card button{
 min-height:72px;
 padding:0 16px;
 display:flex;
 align-items:center;
 gap:14px;
 border:1px solid var(--mv72-line);
 border-radius:12px;
 background:#fff;
 box-shadow:none;
}
.mva-find-titles-card button svg{width:20px;height:20px}
.mva-find-titles-card button span{
 display:flex;
 flex-direction:column;
 align-items:flex-start;
}
.mva-find-titles-card button strong{
 color:var(--mv72-text);
 font-size:16px;
 line-height:1.2;
}
.mva-find-titles-card button small{
 margin-top:2px;
 color:var(--mv72-muted);
 font-size:12px;
 line-height:1.35;
}
.mva-content-preference{
 padding:16px 14px;
 border:1px solid var(--mv72-line);
 border-radius:14px;
 background:var(--mv72-soft);
}
.mva-content-preference h3{
 margin:0 0 8px;
 color:var(--mv72-text);
 font-size:13px;
 font-weight:850;
 text-transform:none;
 letter-spacing:0;
}
.mva-content-pref-note{
 margin:0 0 12px;
 color:var(--mv72-muted);
 font-size:12px;
 line-height:1.45;
}
.mva-adult-toggle-row{
 min-height:72px;
 padding:14px;
 border:1px solid var(--mv72-line);
 border-radius:12px;
 background:#fff;
}
.mva-adult-toggle-copy strong{
 display:block;
 color:var(--mv72-text);
 font-size:16px;
 margin-bottom:3px;
}
.mva-adult-toggle-copy small{
 color:var(--mv72-muted);
 font-size:12px;
 line-height:1.4;
}
.mva-adult-pref-actions{
 display:grid;
 grid-template-columns:1fr;
 gap:10px;
 margin-top:12px;
}
.mva-adult-hub-link,
.mva-age-reset-form button{
 min-height:44px;
 padding:0 14px;
 display:flex;
 align-items:center;
 justify-content:space-between;
 border:1px solid var(--mv72-line);
 border-radius:10px;
 background:#fff;
 color:var(--mv72-text);
 font-size:13px;
 font-weight:700;
 text-decoration:none;
}
.mva-adult-hub-link:hover,
.mva-age-reset-form button:hover{
 border-color:#d1d6db;
 background:#fcfcfc;
}
.mva-age-reset-form{margin:0}
.mva-age-reset-form button{
 width:100%;
 justify-content:center;
 color:#585f67;
}
.mva-age-reset-form button.is-working{
 opacity:.72;
 pointer-events:none;
}
.mva-switch{
 width:48px;
 height:28px;
 border-radius:999px;
 background:#d9dde1;
}
.mva-switch i{
 width:22px;
 height:22px;
 top:3px;
 left:3px;
 border-radius:50%;
}
.mva-switch.is-on{background:var(--mv72-accent)}
.mva-switch.is-on i{left:23px}

/* Home 18+ CTA */
.mva-home-adult-callout{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:18px;
 padding:20px 22px;
 border:1px solid #f0d4ac;
 border-radius:16px;
 background:linear-gradient(135deg,#fffaf3 0%,#fff 100%);
}
.mva-home-adult-copy{
 flex:1 1 auto;
 min-width:0;
}
.mva-home-adult-kicker{
 display:inline-flex;
 align-items:center;
 min-height:24px;
 padding:0 9px;
 border-radius:999px;
 background:#fff0d9;
 color:#a56500;
 font-size:11px;
 font-weight:800;
 letter-spacing:.04em;
 text-transform:uppercase;
}
.mva-home-adult-copy h2{
 margin:10px 0 7px;
 font-size:24px;
 line-height:1.15;
 letter-spacing:-.03em;
 font-weight:850;
 color:var(--mv72-text);
}
.mva-home-adult-copy p{
 margin:0;
 color:#6f757c;
 font-size:14px;
 line-height:1.6;
}
.mva-home-adult-form{margin:0}
.mva-home-adult-btn{
 min-height:48px;
 padding:0 18px;
 border:0;
 border-radius:12px;
 background:var(--mv72-dark);
 color:#fff;
 font-size:14px;
 font-weight:800;
 cursor:pointer;
 white-space:nowrap;
}
.mva-home-adult-btn:hover{background:#101318}

/* Card metadata refinement */
.r18-title-card-body{padding-top:10px}
.mva-book-title{
 min-height:36px;
 font-size:14px;
 line-height:1.38;
}
.mva-book-meta{
 margin-top:5px;
 font-size:11px;
 color:#8b9197;
}
.r18-title-card-foot{
 margin-top:6px;
 min-height:20px;
}
.r18-card-latest{
 display:block;
 color:#646a70;
 font-size:11px;
 line-height:1.4;
}
.r18-card-latest strong{
 color:#2e3237;
 font-weight:800;
}

/* Home and sections */
.mva-section-head h2{font-size:24px}
.mva-section-head>a{font-size:11px}
.r18-feature-cta{
 border-radius:10px;
 background:#1f2328;
}
.r18-feature-cta:hover{background:#111418}
.mva-update-status b{font-weight:800}
.mva-hosting-note p{font-size:10px}

/* Mobile */
@media(max-width:720px){
 .mva-header-inner{
  grid-template-columns:52px 1fr auto;
  gap:8px;
 }
 .mva-header-tools{gap:6px}
 .mva-head-adult-btn,.mva-icon-btn{
  min-width:40px;
  width:40px;
  height:40px;
  padding:0;
 }
 .mva-head-adult-pill{font-size:10px}
 .mva-searchpanel{padding:14px 12px}
 .mva-searchbox{
  margin-top:14px;
  border-radius:14px;
 }
 .mva-search-head{
  min-height:64px;
  padding:0 14px;
 }
 .mva-search-title{font-size:24px}
 .mva-find-form{
  grid-template-columns:minmax(0,1fr) 56px;
  padding:12px 14px;
 }
 .mva-find-form input{
  height:48px;
  padding:0 14px;
  font-size:15px;
 }
 .mva-search-submit{
  min-height:48px;
  padding:0;
  border-radius:12px;
 }
 .mva-search-submit-text{display:none}
 .mva-search-results{padding:0 8px 8px}
 .mva-search-result{padding:9px}
 .mva-search-result img{
  width:48px;
  height:66px;
 }
 .mva-home-adult-callout{
  flex-direction:column;
  align-items:flex-start;
  padding:18px;
 }
 .mva-home-adult-copy h2{font-size:20px}
 .mva-home-adult-copy p{font-size:13px}
 .mva-home-adult-btn{
  width:100%;
  min-width:0;
 }
 .mva-book-title{
  min-height:30px;
  font-size:12px;
 }
 .mva-book-meta,
 .r18-card-latest{font-size:9.5px}
 .mva-content-preference{
  padding:14px 12px;
  border-radius:12px;
 }
}
