/* Manga Livre — visual editorial. Mantém a estrutura e as interações existentes. */
:root {
  --sr-bg:#0c1017;--sr-bg-soft:#121822;--sr-panel:#171f2a;--sr-panel-2:#1c2632;
  --sr-panel-3:#223040;--sr-border:#303d4c;--sr-border-soft:rgba(255,255,255,.10);
  --sr-text:#f6f4ee;--sr-muted:#adb8c6;--sr-pink:#eab568;--sr-pink-2:#f4ca86;
  --sr-purple:#c8865e;--sr-blue:#9cc9cc;--sr-radius:16px;
  --sr-shadow:0 16px 36px rgba(0,0,0,.18);--sr-max:1280px;
  --background:#0c1017;--card-bg:#171f2a;--text:#f6f4ee;
  --text-secondary:#adb8c6;--border:#303d4c;--tag-bg:#222d39;
  --primary:#eab568;--primary-hover:#f4ca86;--accent:#c8865e;--secondary:#9cc9cc;
  --button-bg:#eab568;--button-hover:#f4ca86;
}
html {scroll-behavior:smooth;background:#0c1017}
body,body.home {background:#0c1017!important;color:var(--sr-text)}
body,button,input,select,textarea {font-family:Inter,system-ui,sans-serif}
:where(a,button,input,select,textarea):focus-visible {outline:3px solid #f4ca86!important;outline-offset:3px}
button,a {touch-action:manipulation}
.site-header,body.home .site-header {background:rgba(12,16,23,.96)!important;border-bottom:1px solid #303d4c!important;box-shadow:0 8px 30px rgba(0,0,0,.13)!important}
.header-container,body.home .header-container {max-width:1320px!important;padding-inline:24px!important;min-height:70px}
.site-title,.site-title a,body.home .site-title {color:#f5c782!important;-webkit-text-fill-color:#f5c782!important;letter-spacing:-.045em!important;font-weight:850!important;font-size:clamp(1.2rem,2vw,1.55rem)!important}
.site-branding {min-width:0}
.nav-menu li a,body.home .nav-menu li a {color:#d0d8df!important;font-size:.92rem!important;font-weight:600!important}
.nav-menu li a:hover,.nav-menu li.current-menu-item>a {color:#f5c782!important}
.search-toggle,.user-menu-toggle,.mobile-menu-toggle {min-width:44px;min-height:44px;border-radius:12px!important;background:#1b2530!important;border:1px solid #394655!important;color:#f6f4ee!important}
.search-toggle:hover,.user-menu-toggle:hover,.mobile-menu-toggle:hover {background:#263443!important;border-color:#eab568!important}
.search-dropdown-content,.login-dropdown-content,.user-dropdown-content,.mobile-menu {background:#17202a!important;border:1px solid #364452!important;border-radius:18px!important;color:#f6f4ee!important;box-shadow:0 25px 80px rgba(0,0,0,.42)!important}
.search-field,input[type=search],input[type=text],input[type=email],input[type=password],select,textarea {background:#101721!important;color:#f6f4ee!important;border:1px solid #425061!important;min-height:44px}
input::placeholder,textarea::placeholder {color:#aeb9c6;opacity:1}
.home-featured-slider {margin:22px auto 36px;max-width:1280px;border-radius:24px;overflow:hidden;border:1px solid #344252;background:#171f2a;box-shadow:0 20px 54px rgba(0,0,0,.21)}
.home-featured {min-height:440px;border:0;background:#17202b}
.home-featured::before {background-image:linear-gradient(90deg,#141d29 2%,rgba(20,29,41,.94) 42%,rgba(20,29,41,.73) 100%),var(--hero-bg);filter:none;background-position:center 35%}
.home-featured::after {background:linear-gradient(0deg,rgba(12,16,23,.45),transparent 50%)}
.home-featured-inner {min-height:440px;max-width:1120px;grid-template-columns:235px minmax(0,1fr);gap:44px;padding:48px 35px}
.home-featured-cover {width:235px;height:330px;border-radius:15px;border:1px solid rgba(255,255,255,.22);box-shadow:0 24px 45px rgba(0,0,0,.34)}
.home-featured-title,.home-featured-copy h1 {font-size:clamp(2rem,4vw,3.7rem)!important;line-height:1.07!important;letter-spacing:-.045em!important;text-transform:none!important;font-weight:850!important}
.home-featured-copy>p {font-size:1rem!important;line-height:1.7!important;color:#d2d9df!important;max-width:650px}
.home-featured-meta {color:#c8d1dc;font-size:.79rem;letter-spacing:.035em}
.home-featured-pills span {color:#e5e9ea!important;background:#23303a!important;border-color:#415160!important}
.home-btn,.home-section-head>a,.home-vip-strip>a {min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px!important;padding:10px 18px;font-size:.86rem!important;font-weight:750!important}
.home-btn-primary,.home-vip-strip>a,.search-submit-btn,.apply-filters-btn,.button-primary,.start-reading-btn {background:#eab568!important;color:#16202a!important;border:1px solid #eab568!important;box-shadow:none!important}
.home-btn-primary:hover,.home-vip-strip>a:hover,.start-reading-btn:hover {background:#f4ca86!important;color:#101721!important}
.home-btn:not(.home-btn-primary) {background:#263442!important;border-color:#566473!important;color:#f7f5ee!important}
.home-hero-arrow {background:rgba(17,24,34,.88);border-color:#5b6672;color:#fff}
.home-hero-dots button.is-active,.home-hero-progress span {background:#eab568}
.home-section,.home-vip-strip {max-width:1280px}
.home-section {margin-bottom:44px}
.home-section-head {margin-bottom:19px;gap:12px}
.home-section-head h2 {font-size:clamp(1.25rem,2vw,1.65rem)!important;letter-spacing:-.035em;color:#f6f4ee!important}
.home-section-head h2 span {color:#eab568}
.home-section-head p {font-size:.86rem;color:#b4bfca}
.home-section-head>a {background:#1d2934;color:#f5eee1!important;border-color:#475767}
.home-popular-track,.home-latest-grid {grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
.home-manga-card,.manga-card,.related-grid .manga-card,.search-results-grid .manga-card {background:#171f2a!important;border:1px solid #303e4c!important;border-radius:15px!important;box-shadow:none!important;overflow:hidden}
.home-manga-card:hover,.manga-card:hover {transform:translateY(-4px);border-color:#eab568!important;box-shadow:0 14px 30px rgba(0,0,0,.22)!important}
.home-manga-cover {aspect-ratio:2/2.9;background:#25313d}
.home-card-body {padding:13px 11px 12px}
.home-card-body h3 {font-size:.88rem!important;line-height:1.4;min-height:2.7em;margin-bottom:10px}
.home-card-body h3 a,.manga-card-title a {color:#f5f2eb!important}
.home-card-chapters>a {min-height:34px;border-radius:8px;background:#202b37;border-color:#344657;color:#e1e6e9;font-size:.74rem;padding:7px 9px}
.home-card-chapters>a:first-child {border-color:#736047}
.home-card-chapters small,.new-tag {background:#dba867!important;color:#17202a!important}
.home-rating-badge,.home-type-badge {font-size:.65rem;padding:7px 9px;background:rgba(17,25,34,.9);border-color:#54606d;color:#f6d69b}
.home-vip-strip {border-radius:15px;background:#1c2833;border-color:#3e4d5c;box-shadow:none}
.home-seo-panel {background:#141c26;border-top:1px solid #344251}
.home-seo-panel p,.home-genre-pills a {font-size:.86rem;color:#b6c0ca}
.home-genre-pills a {padding:8px 12px;background:#202b37;border-color:#3c4a59}
.page-header,.search-header,body.single-manga .manga-header {background:#19232e!important;border-color:#3b4a58!important;box-shadow:none!important;border-radius:18px!important}
body.single-manga .manga-header:after {background:none}
body.single-manga .manga-synopsis,body.single-manga .manga-meta-grid,body.single-manga .manga-tags,body.single-manga .manga-chapters,body.single-manga .related-manga {background:#19232e!important;border-color:#394959!important}
body.single-manga .manga-title {line-height:1.15!important;letter-spacing:-.035em!important}
body.single-manga .synopsis-content {color:#c6d0d9!important;font-size:1rem;line-height:1.8!important}
body.single-manga .manga-tag {background:#263541!important;border-color:#4a5a68!important;color:#e1e8e9!important}
body.single-manga .favorite-btn,body.single-manga .share-btn {background:#263442!important;border-color:#526171!important;color:#f5f2eb!important;min-height:44px}
body.single-manga .chapter-item,body.single-manga .chapter-grid-item {background:#202c38!important;border-color:#3d4e5d!important;border-radius:12px!important}
body.single-manga .chapter-item:hover,body.single-manga .chapter-grid-item:hover {border-color:#eab568!important}
body.single-chapter .chapter-reader,body.single-chapter .chapter-images {background:#090c11!important}
body.single-chapter .chapter-title-bar {background:#19232e!important;color:#f6f4ee!important;border-color:#394959!important}
body.single-chapter .chapter-nav-btn {background:#23313d!important;border:1px solid #495968!important;color:#f6f4ee!important;min-height:44px}
body.single-chapter .chapter-nav-btn:hover {border-color:#eab568!important;color:#f4ca86!important}
.pagination .current,.home-latest-pagination .is-current {background:#eab568!important;color:#15202a!important;border-color:#eab568!important;box-shadow:none}
.pagination a,.home-latest-pagination a {background:#202b37!important;color:#e6e9eb!important;border-color:#425160!important}
.site-footer,body.home .site-footer {background:#111922!important;border-top:1px solid #344252!important}
@media(max-width:1200px) {
 .home-featured-slider,.home-section,.home-vip-strip {max-width:calc(100% - 40px)}
 .home-popular-track,.home-latest-grid {grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:900px) {
 .home-popular-track,.home-latest-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
 .home-featured-inner {grid-template-columns:165px minmax(0,1fr);gap:24px;min-height:350px;padding:28px 44px}
 .home-featured-cover {width:165px;height:235px}
}
@media(max-width:680px) {
 .header-container,body.home .header-container {padding-inline:15px!important}
 .home-featured-slider {max-width:calc(100% - 24px);margin:14px auto 26px;border-radius:17px}
 .home-featured {min-height:335px}
 .home-featured-inner {max-width:none;padding:23px 18px 54px;min-height:335px;display:block;overflow:hidden}
 .home-featured-cover {float:left;width:108px;height:155px;margin:2px 15px 10px 0;border-radius:10px}
 .home-featured-title,.home-featured-copy h1 {font-size:1.45rem!important;line-height:1.13!important;padding-top:0!important}
 .home-featured-meta {font-size:.66rem;line-height:1.5}
 .home-featured-copy>p {clear:both;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:.82rem!important;line-height:1.55!important;margin:10px 0}
 .home-featured-pills {display:none}
 .home-featured-actions {clear:both;gap:8px}
 .home-btn {padding:8px 12px;font-size:.75rem!important;min-height:40px}
 .home-hero-arrow {bottom:8px;top:auto;width:34px;height:34px}
 .home-section,.home-vip-strip {max-width:calc(100% - 24px)}
 .home-section {margin-bottom:32px}
 .home-section-head h2 {font-size:1.2rem!important}
 .home-popular-track {display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;padding-bottom:10px}
 .home-popular-track .home-manga-card {flex:0 0 152px;scroll-snap-align:start}
 .home-latest-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 .home-card-body h3 {font-size:.8rem!important}
 .home-card-chapters>a {font-size:.68rem}
 .home-vip-strip {padding:12px}
 body.single-manga .manga-header {padding:18px!important}
 body.single-manga .manga-title {font-size:clamp(1.5rem,7vw,2rem)!important}
 .home-seo-panel {padding:27px 16px}
}
@media(max-width:360px) {.home-featured-cover {width:88px;height:128px}.home-featured-title {font-size:1.22rem!important}.home-btn {padding-inline:9px}}
@media(prefers-reduced-motion:reduce) {html {scroll-behavior:auto}.home-manga-card,.manga-card,.home-featured-slide {transition:none!important}}
