:root {
    --ink: #152237;
    --muted: #657083;
    --paper: #f5f7fa;
    --line: #dfe4eb;
    --yellow: #f6db47;
    --blue: #325fd5;
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button, .button { border-radius: 8px; }
button { background: white; color: var(--ink); border: 1px solid var(--line); padding: 8px 14px; }
button:hover { border-color: var(--ink); }
:focus-visible { outline: 3px solid #336cff; outline-offset: 4px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.3; }
h2 { font-size: 26px; line-height: 1.4; }
h3 { font-size: 18px; line-height: 1.5; }
.wrap { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-top { display: flex; align-items: center; gap: 30px; min-height: 90px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-title { margin: 0; font-size: 27px; font-weight: 850; letter-spacing: -1px; }
.tagline { color: var(--muted); font-size: 14px; }
.header-link { margin-left: auto; font-size: 14px; background: var(--paper); padding: 8px 18px; border-radius: 30px; }
.nav-inner { display: flex; justify-content: space-between; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.nav-link { white-space: nowrap; padding: 16px 10px; display: flex; align-items: center; gap: 6px; font-size: 15px; border-bottom: 3px solid transparent; }
.nav-link[aria-current="page"] { border-color: var(--ink); font-weight: 750; }
.icon { display: inline-block; width: 21px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.intro { display: flex; justify-content: space-between; gap: 18px; margin: 26px 0 18px; color: var(--muted); font-size: 14px; }
.intro p { margin: 0; }
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 10px; }
.hero { background: #182b43; color: white; border-radius: 18px; overflow: hidden; position: relative; }
.slide { position: relative; min-height: 450px; display: grid; grid-template-columns: 1fr 1fr; isolation: isolate; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #14263c 12%, #14263ce8 40%, #14263c16 100%); z-index: -1; }
.hero-image { position: absolute; right: 0; top: 0; width: 75%; height: 100%; aspect-ratio: 16/9; object-fit: cover; z-index: -2; background: #334b66; color: white; }
.hero-copy { padding: 44px 48px 72px; z-index: 1; min-width: 0; }
.pill { background: var(--yellow); color: var(--ink); padding: 5px 12px; font-size: 13px; font-weight: 750; border-radius: 5px; display: inline-block; margin-bottom: 20px; }
.hero-meta { color: #c6d1de; font-size: 14px; }
.hero h2 { font-size: clamp(30px, 3.8vw, 48px); margin-bottom: 16px; letter-spacing: 1px; }
.hero-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #e0e6ef; font-size: 15px; line-height: 1.9; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 20px; font-size: 14px; font-weight: 650; text-align: center; }
.yellow { background: var(--yellow); color: var(--ink); }
.dark { background: var(--ink); color: white; }
.outline { border: 1px solid var(--line); background: white; color: var(--ink); }
.ghost { border: 1px solid #8390a3; color: white; }
.button:hover { filter: brightness(1.08); }
.slider-controls { position: absolute; bottom: 20px; left: 48px; display: flex; gap: 12px; align-items: center; }
.slider-controls button { color: white; background: transparent; border-color: #ffffff50; padding: 2px 12px; font-size: 14px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 9px; background: #ffffff50; overflow: hidden; color: transparent; }
.dots button[aria-pressed="true"] { width: 27px; background: var(--yellow); }
.section { margin-block: 44px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-heading h2 { display: flex; gap: 10px; align-items: center; margin: 0 0 5px; }
.section-heading h2 .icon { color: var(--blue); }
.section-heading p { color: var(--muted); font-size: 14px; margin: 0; }
.more { font-size: 14px; white-space: nowrap; }
.comic-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.comic-card { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.comic-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px #16263f0d; }
.cover { display: block; position: relative; overflow: hidden; background: #dce3ed; }
.cover img { width: 100%; aspect-ratio: 2/3; object-fit: cover; font-size: 14px; }
.cover-badge { position: absolute; bottom: 10px; left: 10px; color: white; background: #152237dc; font-size: 12px; border-radius: 4px; padding: 2px 8px; }
.card-body { padding: 15px; }
.card-body h3 { margin: 0 0 8px; height: 54px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-body .eyebrow { letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.meta { color: var(--muted); font-size: 13px; }
.card-body .meta { margin-bottom: 6px; }
.chapter-line { font-size: 13px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; color: var(--blue); margin-bottom: 10px; }
.summary { font-size: 13px; color: var(--muted); height: 44px; line-height: 22px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.update-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.update-item { display: flex; gap: 14px; padding: 20px 16px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.update-item > div { min-width: 0; }
.update-item h3 { margin-bottom: 4px; }
.update-item p, .update-item a { font-size: 13px; }
.update-item p { margin: 0; color: var(--muted); }
.update-item h3 a { font-size: 16px; }
.update-date { color: var(--blue); font-weight: 700; font-size: 13px; }
.rank-list { list-style: none; margin: 0; padding: 0; background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rank-list li { display: grid; grid-template-columns: 50px 1.2fr 1fr 1.6fr 70px; gap: 20px; align-items: center; padding: 17px 24px; border-bottom: 1px solid var(--line); }
.rank-list li:last-child { border: 0; }
.rank-number { font-size: 27px; font-style: italic; font-weight: 800; color: #a2abb9; }
.rank-list li:first-child .rank-number { color: #bb7900; }
.rank-type, .rank-list li > a:nth-of-type(2) { font-size: 14px; color: var(--muted); }
.about-panel { border-top: 2px solid var(--ink); padding-top: 30px; }
.about-panel > p:not(.eyebrow) { max-width: 1050px; color: var(--muted); }
.mobile-callout { display: flex; align-items: center; justify-content: space-between; gap: 35px; background: var(--yellow); padding: 40px 48px; border-radius: 16px; margin: 45px 0 55px; }
.mobile-callout > div { max-width: 820px; }
.mobile-callout h2 { font-size: 32px; }
.mobile-callout .meta { margin: 15px 0 0; color: #48513b; }
footer { background: #132236; color: #dbe1eb; padding: 44px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1.3fr .7fr; gap: 35px; }
.footer-grid p { font-size: 14px; color: #a7b4c5; margin-top: 16px; }
.footer-grid nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; font-size: 14px; }
.footer-grid nav:last-child { grid-template-columns: 1fr; }
.footer-bottom { border-top: 1px solid #354152; padding-top: 20px; margin-top: 25px; font-size: 12px; display: flex; justify-content: space-between; gap: 20px; color: #a7b4c5; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0; font-size: 14px; color: var(--muted); }
.crumbs a + a::before { content: "/"; margin-right: 8px; color: #aab2bf; }
.page-intro { padding: 28px 0 20px; max-width: 900px; }
.page-intro p { color: var(--muted); }
.featured-strip { display: grid; grid-template-columns: 240px 1fr; gap: 30px; background: #e7edf7; border-radius: 14px; padding: 24px; }
.featured-strip img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #c7d3e4; border-radius: 8px; }
.featured-strip p { max-width: 800px; }
.filters { display: flex; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.filters label { display: flex; align-items: center; gap: 12px; font-size: 14px; }
select { padding: 7px 14px; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; }
#filter-result { font-size: 13px; color: var(--muted); }
.chip { border: 1px solid var(--line); background: white; border-radius: 30px; padding: 8px 20px; font-size: 14px; }
.detail-hero { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 42px; padding: 32px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.detail-cover { aspect-ratio: 2/3; object-fit: cover; width: 100%; background: #dce3ed; border-radius: 9px; }
.detail-hero h1 { margin-bottom: 14px; }
.detail-hero h2 { font-size: 20px; margin-bottom: 10px; }
.facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; font-size: 14px; margin: 20px 0; }
.facts dt { color: var(--muted); font-size: 12px; }
.facts dd { margin: 0; }
.chapters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.chapter-link { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: white; font-size: 14px; }
.story-stills { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.story-stills img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #dde4ed; border-radius: 12px; }
.prose { max-width: 860px; margin: 45px auto 70px; }
.prose h2 { margin-top: 30px; }
.skip-link { position: absolute; top: -100px; padding: 12px; z-index: 10; background: white; }
.skip-link:focus { top: 0; }
.image-error { background: #dbe3ee !important; color: #263956; outline: 1px solid #bac8d9; }
