:root { --ink: #191c22; --muted: #677079; --paper: #f5f6f8; --line: #e1e4e8; --lime: #c4f34b; --violet: #6c4cef; --white: #ffffff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 "Microsoft YaHei", "PingFang SC", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button, .btn, select { min-height: 44px; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, calc(100% - 64px)); margin: auto; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.topbar { min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 50px; height: 50px; }
.brand h1, .brand strong { font-size: 28px; line-height: 1.2; margin: 0; letter-spacing: -1px; }
.brand small { display: block; color: var(--muted); font-size: 12px; letter-spacing: 2px; margin-top: 5px; }
.header-note { color: var(--muted); margin-left: auto; font-size: 14px; }
.header-link { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 12px; }
.nav a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 14px; border-radius: 8px; font-size: 14px; white-space: nowrap; }
.nav a:hover, .nav a.active { background: var(--ink); color: var(--lime); }
main { padding-bottom: 56px; }
.eyebrow { font: 700 12px/1.4 Arial, sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.hero-shell { display: grid; grid-template-columns: minmax(0, 3fr) minmax(245px, 1fr); gap: 24px; margin-top: 32px; }
.hero { position: relative; min-width: 0; background: #19252e; border-radius: 16px; overflow: hidden; color: white; }
.slide { min-height: 400px; position: relative; display: flex; align-items: center; }
.hero-art { position: absolute; right: 0; top: 0; width: 100%; height: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: .75; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #14202cf5 0%, #14202cdd 35%, #14202c22 100%); }
.hero-copy { z-index: 1; position: relative; padding: 38px 40px 76px; max-width: 600px; width: 70%; }
.hero-copy .eyebrow { color: var(--lime); }
.hero h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.3; margin: 20px 0 12px; letter-spacing: -1.5px; }
.hero-copy p { color: #d0d5db; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; }
.tag { padding: 3px 9px; border-radius: 4px; background: #ffffff1c; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { padding: 10px 18px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 14px; }
.btn.primary { background: var(--lime); border-color: var(--lime); }
.btn.dark { background: var(--ink); color: white; border-color: var(--ink); }
.btn.ghost { background: transparent; border-color: #ffffff66; color: white; }
.btn:hover { filter: brightness(.94); }
.slider-controls { position: absolute; left: 40px; right: 28px; bottom: 22px; z-index: 2; display: flex; align-items: center; gap: 8px; }
.slider-controls button { background: #ffffff12; border: 1px solid #ffffff44; color: white; border-radius: 6px; min-width: 40px; }
.slider-controls .dots { margin-right: auto; display: flex; gap: 3px; }
.dots button { min-width: 26px; width: 26px; border: 0; background: transparent; font-size: 0; }
.dots button::after { content: ""; display: block; width: 7px; height: 7px; border-radius: 8px; background: #ffffff77; margin: auto; }
.dots button[aria-pressed="true"]::after { background: var(--lime); width: 23px; }
.editors { background: #e9e5fb; border-radius: 16px; padding: 25px 22px; display: flex; flex-direction: column; }
.editors h2 { font-size: 23px; margin: 8px 0 4px; }
.editors p { font-size: 14px; color: #625c79; margin: 0 0 12px; }
.editor-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #cac3e0; }
.editor-row:last-child { border: 0; }
.editor-row img { width: 52px; height: 70px; object-fit: cover; border-radius: 5px; background: #cac3e0; }
.editor-row strong { font-size: 14px; display: block; }
.editor-row small { font-size: 12px; color: #625c79; }
.section { margin-top: 44px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-head h2 { margin: 0; font-size: 24px; display: flex; gap: 10px; align-items: center; }
.section-head h2 .icon { color: var(--violet); }
.section-head p { color: var(--muted); font-size: 14px; margin: 0 auto 0 10px; }
.more { font-size: 14px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.card { min-width: 0; display: flex; flex-direction: column; }
.cover { position: relative; display: block; overflow: hidden; border-radius: 10px; background: #e0e4ea; aspect-ratio: 2/3; }
.cover img { width: 100%; height: 100%; aspect-ratio: 2/3; object-fit: cover; transition: transform .25s; color: #525c66; font-size: 14px; }
.cover:hover img { transform: scale(1.025); }
.cover .status { position: absolute; left: 10px; bottom: 10px; background: #171c24d9; color: white; border-radius: 4px; padding: 2px 8px; font-size: 12px; }
.card h3 { font-size: 17px; line-height: 1.45; margin: 12px 0 5px; height: 49px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card p { color: var(--muted); font-size: 13px; margin: 2px 0; }
.card .latest { color: var(--violet); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 44px; line-height: 1.7; }
.ribbon { padding: 22px 28px; background: var(--ink); color: white; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; border-radius: 12px; }
.ribbon h2 { font-size: 21px; margin: 0; color: var(--lime); }
.ribbon a { font-size: 14px; border-bottom: 1px solid #63676d; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.rank-list { margin: 0; padding: 4px 24px; list-style: none; background: white; border: 1px solid var(--line); border-radius: 12px; }
.rank-list li { border-bottom: 1px solid var(--line); }
.rank-list li:last-child { border-bottom: 0; }
.rank-list a { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 14px; padding: 16px 0; }
.rank-list .number { color: var(--violet); font: italic 700 25px Arial; }
.rank-list strong { display: block; font-size: 16px; }
.rank-list small { font-size: 12px; color: var(--muted); }
.feature-panel { background: #e7efea; padding: 28px; border-radius: 12px; }
.feature-panel h2 { font-size: 28px; margin: 10px 0; }
.feature-panel p { color: #53665c; }
.feature-panel .quote { font-size: 22px; color: var(--ink); line-height: 1.6; }
.about { padding: 32px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.about h2 { margin: 0; font-size: 28px; }
.about p { margin: 0; color: var(--muted); }
.mobile-panel { padding: 32px 38px; border-radius: 16px; background: var(--lime); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.mobile-panel h2 { font-size: 28px; margin: 8px 0; }
.mobile-panel p { margin: 5px 0; font-size: 14px; }
.mobile-panel img { width: 136px; height: 136px; }
.site-footer { background: white; padding: 36px 0 22px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 60px; }
.footer-top p, .legal { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; align-content: start; flex-wrap: wrap; gap: 18px 24px; font-size: 14px; }
.legal { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 24px; }
.crumb { display: flex; flex-wrap: wrap; gap: 9px; font-size: 13px; color: var(--muted); padding: 26px 0; }
.category-intro { background: var(--ink); color: white; border-radius: 14px; padding: 32px; }
.category-intro h1 { font-size: 34px; margin: 5px 0 10px; }
.category-intro p { margin: 0; max-width: 800px; color: #c9ced6; }
.filterbar { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin: 20px 0; padding: 16px 20px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.filterbar label { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.filterbar select { border: 1px solid var(--line); border-radius: 6px; background: white; padding: 5px 12px; max-width: 100%; }
.detail-top { display: grid; grid-template-columns: 240px 1fr; gap: 38px; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.detail-top > img { width: 240px; aspect-ratio: 2/3; object-fit: cover; background: #e0e4ea; border-radius: 10px; }
.detail-top h1 { font-size: 34px; line-height: 1.35; margin: 6px 0 10px; }
.metadata { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; font-size: 14px; color: var(--muted); }
.metadata p { margin: 2px 0; }
.intro { margin-top: 20px; }
.chapter-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.chapter-list a { border: 1px solid var(--line); padding: 18px; background: white; border-radius: 9px; font-size: 14px; }
.chapter-list a:hover { border-color: var(--violet); color: var(--violet); }
.related-art { width: 100%; max-height: 300px; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; background: #e0e4ea; }
.prose { max-width: 880px; margin: auto; background: white; padding: 32px; border: 1px solid var(--line); border-radius: 12px; }
.prose h1 { font-size: 32px; }
.prose a { color: var(--violet); text-decoration: underline; }
.notice { color: var(--muted); font-size: 13px; }
.failed-image { color: #4f5661; background: #e0e4ea; }
.image-error { background: #eceef2; color: #545d68; border: 1px solid #dce0e5; padding: 8px 12px; font-size: 13px; margin: 0; }
.image-error a { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
