:root {
    --ink: #192023;
    --muted: #69716f;
    --paper: #ffffff;
    --canvas: #f5f7f4;
    --line: #dfe5dc;
    --accent: #c9f45a;
    --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 16px/1.65 system-ui, -apple-system, 'Microsoft YaHei', sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: #457216; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #51801c; outline-offset: 4px; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.3; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.04em; }
h2 { font-size: 1.6rem; letter-spacing: -.035em; }
h3 { font-size: 1.05rem; }
.container { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-top { display: flex; align-items: center; gap: 24px; min-height: 88px; }
.brand, .brand > a { display: inline-flex; align-items: center; gap: 10px; font-size: 1.65rem; font-weight: 900; letter-spacing: -.05em; white-space: nowrap; }
.brand img { flex: 0 0 44px; }
.brand-note { color: var(--muted); font-size: .875rem; border-left: 1px solid var(--line); padding-left: 24px; }
.mobile-entry { margin-left: auto; font-size: .875rem; font-weight: 650; }
.nav { display: flex; align-items: stretch; gap: 24px; overflow-x: auto; scrollbar-width: thin; }
.nav a { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; font-size: .875rem; font-weight: 650; padding: 17px 0; border-bottom: 3px solid transparent; }
.nav a[aria-current='page'] { border-bottom-color: #6c941a; }
.icon { width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; }
main { padding-top: 30px; padding-bottom: 64px; }
.hero { position: relative; overflow: hidden; border-radius: 22px; background: #162527; color: white; }
.hero-slide { position: relative; min-height: 460px; }
.hero-slide:not(:first-child) { display: none; }
.hero.is-ready .hero-slide { display: none; }
.hero.is-ready .hero-slide.active { display: block; }
.hero-art { width: 67%; position: absolute; right: 0; top: 0; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; background: #31434a; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,#142123 10%,rgba(20,33,35,.94) 34%,rgba(20,33,35,.26) 75%); }
.hero-copy { position: relative; padding: 44px 48px 88px; width: 57%; }
.eyebrow { display: block; font-size: .875rem; font-weight: 750; letter-spacing: .1em; margin-bottom: 12px; }
.hero .eyebrow { color: var(--accent); }
.hero-tag { color: #d4ddd4; font-size: .875rem; margin: 22px 0 12px; }
.hero h2 { font-size: clamp(2rem,3.7vw,3.3rem); letter-spacing: -.055em; }
.hero-intro { color: #d6ddda; margin-top: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 21px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; font-size: .875rem; text-align: center; }
.primary { background: var(--accent); color: #203009; }
.primary:hover { background: #b9e84a; color: #203009; }
.ghost { background: rgba(255,255,255,.12); color: white; border-color: rgba(255,255,255,.3); }
.ghost:hover { color: white; background: rgba(255,255,255,.22); }
.outline { border-color: var(--line); background: var(--paper); color: var(--ink); }
.slider-controls { position: absolute; bottom: 24px; right: 28px; display: flex; align-items: center; gap: 10px; }
.slider-controls button { background: #ffffff18; color: white; border: 1px solid #ffffff55; border-radius: 50%; min-width: 34px; height: 34px; font-size: .875rem; }
.slider-controls [data-slide-pause] { border-radius: 18px; padding-inline: 12px; }
.dots { display: flex; gap: 7px; }
.dots button { min-width: 9px; width: 9px; height: 9px; padding: 0; overflow: hidden; color: transparent; background: #fff7; border: 0; }
.dots button[aria-pressed='true'] { background: var(--accent); width: 25px; border-radius: 9px; }
.quick-paths { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 20px; }
.quick-paths a { position: relative; background: var(--paper); padding: 21px; border: 1px solid var(--line); border-radius: 12px; }
.quick-paths strong, .quick-paths span { display: block; }
.quick-paths span { color: var(--muted); font-size: .875rem; margin-top: 4px; padding-right: 12px; }
.quick-paths b { position: absolute; right: 18px; top: 18px; }
.shelf, .rank-section, .editor-band, .about-band, .mobile-banner { margin-top: 52px; }
.section-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 22px; }
.section-heading h2 { display: flex; align-items: center; gap: 10px; }
.section-heading > a, .muted { color: var(--muted); font-size: .875rem; }
.comic-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 20px; }
.comic-card { min-width: 0; display: flex; flex-direction: column; }
.cover-wrap { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 2 / 3; background: #dde4dc; }
.cover { width: 100%; height: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .3s; }
.cover-link:hover .cover { transform: scale(1.045); }
.status { position: absolute; left: 9px; bottom: 9px; padding: 3px 8px; background: #12231dcc; color: white; font-size: .75rem; border-radius: 5px; }
.card-copy { padding-top: 13px; flex: 1; }
.card-copy h3 { min-height: 2.75em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.genre { font-size: .875rem; color: #52674d; margin: 4px 0; }
.author { color: var(--muted); font-size: .8125rem; }
.latest-chapter { display: block; font-size: .8125rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 6px; }
.synopsis { font-size: .875rem; color: var(--muted); margin-top: 12px; height: 4.95em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.editor-band { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; padding: 36px; background: #e7eddf; border-radius: var(--radius); align-items: center; }
.editor-band h2 { font-size: 2.3rem; max-width: 420px; }
.editor-band p { color: #52604e; margin: 18px 0; max-width: 430px; }
.featured-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; max-width: 420px; justify-self: end; width: 100%; }
.tinted { background: #edf1e9; padding: 28px; border-radius: var(--radius); }
.ranking-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); list-style: none; padding: 0; margin: 24px 0 0; gap: 0 34px; }
.ranking-list li { display: flex; align-items: center; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.rank-number { font-size: 2rem; font-weight: 850; color: #768d51; font-style: italic; }
.ranking-list li:nth-child(-n+3) .rank-number { color: #203e10; }
.ranking-list p { font-size: .8125rem; color: var(--muted); margin-top: 5px; }
.ranking-list li > a { margin-left: auto; font-size: .8125rem; white-space: nowrap; }
.about-band { border-top: 1px solid var(--line); padding-top: 40px; max-width: 850px; }
.about-band p { margin: 20px 0; color: #52604e; }
.mobile-banner { display: flex; align-items: center; justify-content: space-between; gap: 35px; background: #1d2925; color: white; border-radius: var(--radius); padding: 40px 46px; }
.mobile-banner p { max-width: 690px; color: #c5cec9; margin-top: 15px; }
.mobile-banner img { flex-shrink: 0; border-radius: 22px; }
.site-footer { background: #e9eee5; border-top: 1px solid var(--line); padding: 42px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.2fr .8fr; gap: 64px; }
.footer-grid section p { font-size: .875rem; color: var(--muted); margin-top: 16px; max-width: 480px; }
.footer-grid nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-content: start; font-size: .875rem; }
.footer-grid nav:last-child { grid-template-columns: 1fr; }
.copyright { font-size: .8125rem; color: var(--muted); border-top: 1px solid #d1d9cb; padding-top: 20px; margin-top: 30px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; font-size: .875rem; color: var(--muted); margin-bottom: 26px; }
.page-intro { max-width: 810px; margin: 20px 0 32px; }
.page-intro p { color: var(--muted); margin-top: 20px; }
.category-spotlight { display: grid; grid-template-columns: 1fr 1.2fr; border-radius: 18px; overflow: hidden; background: #e6eddf; }
.spotlight-art { width: 100%; height: 320px; object-fit: cover; }
.category-spotlight > div { padding: 30px; align-self: center; }
.category-spotlight p { margin: 16px 0 20px; color: #52604e; }
.filters { display: flex; flex-wrap: wrap; gap: 16px; background: var(--paper); padding: 20px; border: 1px solid var(--line); border-radius: 12px; }
.filters label { display: flex; flex-direction: column; gap: 6px; font-size: .875rem; }
input, select { min-width: 0; max-width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--ink); }
.genre-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.genre-links a { padding: 5px 12px; border-radius: 7px; font-size: .875rem; background: var(--paper); }
.genre-links a[aria-current='page'] { background: var(--accent); }
.catalog-end { color: var(--muted); font-size: .875rem; margin: 28px 0 16px; }
.detail-hero { display: grid; grid-template-columns: 260px 1fr; gap: 42px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.detail-cover { width: 100%; aspect-ratio: 2/3; height: auto; object-fit: cover; background: #dde4dc; border-radius: 12px; }
.alias { color: var(--muted); margin-top: 10px; font-size: .875rem; }
.book-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 23px 0; font-size: .875rem; }
.book-meta > div { display: flex; gap: 14px; }
.book-meta dt { color: var(--muted); flex-shrink: 0; }
.book-meta dd { margin: 0; }
.detail-intro { max-width: 790px; }
.detail-hero .muted { margin-top: 14px; }
.chapter-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.chapter-grid a { padding: 21px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.chapter-grid span, .chapter-grid strong, .chapter-grid small { display: block; }
.chapter-grid span, .chapter-grid small { font-size: .8125rem; color: var(--muted); }
.chapter-grid strong { margin: 6px 0 10px; }
.story-gallery { margin-top: 45px; }
.story-gallery > div { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 20px; }
.gallery-art { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; height: auto; background: #dde4dc; border-radius: 12px; }
figcaption { color: var(--muted); font-size: .8125rem; margin-top: 7px; }
.three .comic-grid { grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 760px; }
.shelf + .button { margin-top: 35px; }
.prose { max-width: 800px; padding: 30px 0; min-height: 450px; }
.prose h2 { margin-top: 28px; }
.prose p { margin: 24px 0; }
.skip-link { position: absolute; top: -100px; z-index: 100; padding: 10px; background: var(--accent); }
.skip-link:focus { top: 5px; }
.image-error { color: #3b4c3c; background: #dce4d7; object-fit: contain; font-size: .875rem; }
.image-retry { display: block; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 5px 10px; border-radius: 5px; font-size: .8125rem; margin-top: 5px; }
.cover-wrap .image-retry { position: absolute; inset: auto 8px 40px; margin: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
