:root { --bg: #f6f7fb; --surface: #fff; --text: #18212e; --muted: #647084; --line: #e3e7ef; --accent: #f04438; --soft: #fff0ec; --radius: 16px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 "Microsoft YaHei", "PingFang SC", sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select { font: inherit; }
button, .button { cursor: pointer; border: 1px solid var(--line); border-radius: 9px; padding: 10px 17px; background: var(--surface); color: var(--text); display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
button:hover, .button:hover { border-color: var(--accent); }
:focus-visible { outline: 3px solid #227bcc; outline-offset: 4px; }
.primary { background: var(--accent); color: white; border-color: var(--accent); }
.primary:hover { color: white; background: #d52e24; }
.wrap { max-width: 1320px; width: calc(100% - 64px); margin: auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-top { min-height: 90px; display: flex; gap: 28px; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 44px; height: 44px; }
.brand h1, .brand strong { font-size: 25px; margin: 0; letter-spacing: -1px; }
.brand small { display: block; font-size: 12px; color: var(--muted); letter-spacing: 3px; }
.search { display: flex; gap: 8px; width: min(430px, 45%); }
input, select { border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; background: var(--surface); color: var(--text); max-width: 100%; min-width: 0; }
.search input { width: 100%; }
.search button { white-space: nowrap; flex-shrink: 0; }
.main-nav { display: flex; gap: 25px; padding: 13px 0; overflow-x: auto; white-space: nowrap; }
.main-nav a { display: flex; gap: 6px; align-items: center; font-size: 14px; padding-bottom: 5px; }
.main-nav .active { color: var(--accent); border-bottom: 2px solid var(--accent); }
.icon { width: 18px; height: 18px; flex-shrink: 0; }
main.wrap { padding-top: 28px; padding-bottom: 48px; }
.eyebrow { color: var(--accent); font-size: 14px; font-weight: bold; letter-spacing: 2px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.section-head h2 { margin: 0; font-size: 24px; display: flex; gap: 9px; align-items: center; }
.section-head a { font-size: 14px; color: var(--muted); }
section { margin-bottom: 42px; }
.hero { background: #152335; color: white; border-radius: 20px; padding: 0; overflow: hidden; position: relative; }
.slide { display: grid; grid-template-columns: 46% 54%; min-height: 365px; }
.slide[hidden], [hidden] { display: none !important; }
.hero-copy { padding: 32px 38px 64px; align-self: center; }
.hero h2 { font-size: clamp(27px,3vw,40px); line-height: 1.3; margin: 12px 0; }
.hero p { color: #ced8e6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero .eyebrow { color: #ffae91; }
.hero img { width: 100%; height: 100%; aspect-ratio: 16/9; object-fit: cover; background: #243953; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero .secondary { background: transparent; color: white; border-color: #758293; }
.slider-controls { position: absolute; bottom: 16px; left: 38px; display: flex; gap: 8px; align-items: center; }
.slider-controls button { background: #334356; color: white; border: 0; padding: 4px 12px; }
.slider-controls .dot { font-size: 0; width: 10px; height: 10px; padding: 0; border-radius: 50%; background: #758293; }
.slider-controls .dot[aria-current="true"] { background: #ff775b; }
.genre-strip { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 38px; }
.genre-strip a, .pill { background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: 30px; font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 22px; }
.card { min-width: 0; display: flex; flex-direction: column; }
.cover { display: block; position: relative; overflow: hidden; border-radius: 12px; background: #dae1e8; }
.cover img { display: block; width: 100%; aspect-ratio: 2/3; object-fit: cover; transition: transform .25s; }
.cover:hover img { transform: scale(1.035); }
.cover .badge { position: absolute; left: 9px; bottom: 9px; color: white; background: #172431e6; border-radius: 5px; padding: 2px 8px; font-size: 12px; }
.card h3 { font-size: 17px; margin: 10px 0 3px; min-height: 29px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card p { margin: 2px 0; font-size: 14px; color: var(--muted); }
.card .synopsis { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 48px; }
.chapter-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.updates { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.update-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px; }
.update-list a { border-left: 3px solid var(--accent); padding-left: 12px; }
.update-list small { display: block; color: var(--muted); }
.feature-block { background: #e8edf7; padding: 26px; border-radius: 18px; }
.rank-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px; list-style: none; padding: 0; }
.rank-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.rank-num { font: italic 700 38px/1.2 Georgia,serif; color: var(--accent); }
.rank-list h3 { font-size: 17px; }
.rank-list p { font-size: 14px; color: var(--muted); }
.about { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; border-top: 1px solid var(--line); padding-top: 30px; }
.mobile-block { background: #172638; color: white; padding: 35px; border-radius: 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 0; }
.mobile-block img { width: 130px; height: 130px; }
.mobile-block p { color: #c5d1df; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 35px 0; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin: 20px 0; }
.crumb { font-size: 14px; color: var(--muted); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 9px; }
.page-heading { padding: 26px 0; }
.page-heading h1 { font-size: 34px; margin: 0 0 10px; }
.page-heading p { color: var(--muted); max-width: 760px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0; }
.detail { display: grid; grid-template-columns: 230px 1fr; gap: 38px; padding: 30px; background: var(--surface); border-radius: 18px; }
.detail-cover { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 12px; background: #dce5eb; }
.detail h1 { font-size: 34px; margin: 0 0 12px; }
.detail dl { display: grid; grid-template-columns: 90px 1fr 90px 1fr; gap: 8px; font-size: 14px; }
dt { color: var(--muted); }
dd { margin: 0; }
.chapters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.chapters a { border: 1px solid var(--line); background: var(--surface); padding: 16px; border-radius: 10px; }
.related-art { width: min(100%,650px); aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; background: #dbe3eb; }
.notice { color: var(--muted); font-size: 14px; }
.info-copy { max-width: 800px; background: var(--surface); padding: 30px; border-radius: 16px; }
.to-top { position: fixed; bottom: 20px; right: 20px; background: var(--surface); padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; z-index: 5; }
#feedback { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); max-width: 85%; background: #172638; color: white; padding: 12px 20px; border-radius: 10px; z-index: 8; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
