@charset "UTF-8";
:root {
    --ink: #143642;
    --blue: #2B6E7D;
    --night: #0B1920;
    --canvas: #F5F6F8;
    --paper: #FFFFFF;
    --text: #1A242B;
    --muted: #5A6872;
    --accent: #C85019;
    --line: #DCE2E6;
    --soft-line: #E9EDF0;
    --radius: 6px;
    --content: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    background: var(--canvas);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
button, input, select { font: inherit; }
button, a, summary, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(43,110,125,.35); outline-offset: 3px; }
.shell { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    padding: 8px 14px; color: #fff; background: var(--ink); border-radius: 4px;
}
.skip-link:focus { top: 12px; }
.site-header {
    position: sticky; top: 0; z-index: 30;
    background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.header-inner {
    width: min(1320px, calc(100% - 48px)); min-height: 76px; margin: auto;
    display: flex; align-items: center; gap: 34px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; color: var(--ink); }
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 5px; }
.brand span { display: grid; line-height: 1.25; }
.brand strong { font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .02em; }
.primary-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); margin-left: auto; }
.primary-nav a { color: #3E4C54; font-size: 14px; font-weight: 600; white-space: nowrap; }
.primary-nav a:hover { color: var(--accent); }
.header-action {
    padding: 8px 15px; border: 1px solid #C8D6DA; border-radius: 4px;
    color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap;
}
.header-action:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.hero {
    display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .8fr);
    gap: 42px; align-items: center; padding-block: 46px 36px;
}
.eyebrow {
    margin: 0 0 9px; color: var(--blue); font-size: 12px; font-weight: 800;
    letter-spacing: .08em;
}
.hero h1 { max-width: 800px; margin: 0; color: var(--ink); font-size: clamp(30px, 3.5vw, 44px); line-height: 1.28; letter-spacing: -.035em; }
.hero-lead { max-width: 780px; margin: 18px 0 0; color: #52616A; font-size: 16px; line-height: 1.9; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 23px; color: #43535B; font-size: 13px; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points b { color: var(--accent); font-size: 11px; }
.hero-side {
    padding: 22px 24px 18px; background: var(--ink); border-radius: var(--radius);
    color: #fff; box-shadow: 0 8px 24px rgba(20,54,66,.08);
}
.overview-number { display: flex; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.18); }
.overview-number strong { font-size: 42px; line-height: 1; font-weight: 800; }
.overview-number span { color: #D4E1E4; font-size: 14px; }
.overview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 17px 0 13px; }
.overview-grid div { display: grid; gap: 2px; }
.overview-grid strong { font-size: 20px; }
.overview-grid span { color: #D4E1E4; font-size: 11px; }
.hero-side > p { margin: 0; color: #B7C8CD; font-size: 12px; }
.search-panel {
    padding: 22px 24px 17px; background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: 0 3px 12px rgba(20,54,66,.025);
}
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: 25px; line-height: 1.35; letter-spacing: -.02em; }
.compact-heading { align-items: center; margin-bottom: 15px; }
.compact-heading h2 { font-size: 21px; }
.heading-note { color: var(--muted); font-size: 12px; white-space: nowrap; }
.search-form { display: flex; align-items: stretch; gap: 10px; }
.search-input-wrap { flex: 1; min-width: 100px; }
.search-form input, .search-form select {
    width: 100%; height: 44px; padding: 0 13px; color: var(--text);
    background: #FAFBFC; border: 1px solid #D6DEE2; border-radius: 4px;
}
.search-form input::placeholder { color: #89969D; }
.select-wrap { width: 170px; }
.button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 42px;
    padding: 8px 19px; border: 1px solid transparent; border-radius: 4px;
    font-size: 13px; font-weight: 700; cursor: pointer; transition: background .18s ease, border-color .18s ease;
}
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { color: #fff; background: #A94114; }
.button-secondary { color: var(--ink); background: #fff; border-color: #C8D6DA; }
.reset-link { align-self: center; color: var(--muted); font-size: 13px; white-space: nowrap; }
.quick-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 12px; }
.quick-tags span { margin-right: 3px; }
.quick-tags a { padding: 3px 10px; color: #3D626D; background: #F0F5F6; border: 1px solid #E2EAEC; border-radius: 3px; }
.quick-tags a:hover { color: #fff; background: var(--blue); }
.result-count { margin: 13px 0 0; color: var(--muted); font-size: 13px; }
.result-count strong { color: var(--accent); }
.library-section, .collections-section { padding-top: 37px; }
.section-intro { max-width: 790px; margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.text-link { flex: 0 0 auto; color: var(--blue); font-size: 13px; font-weight: 700; }
.text-link span { padding-left: 4px; color: var(--accent); }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.work-card {
    display: grid; grid-template-columns: minmax(92px, 39%) minmax(0, 1fr); gap: 12px;
    min-width: 0; padding: 10px; background: var(--paper);
    border: 1px solid var(--line); border-radius: 5px;
    transition: border-color .18s ease, transform .18s ease;
}
.work-card:hover { border-color: #AFC5CB; transform: translateY(-2px); }
.poster-wrap { position: relative; overflow: hidden; align-self: start; aspect-ratio: 2 / 3; background: #E8ECEF; border-radius: 4px; }
.poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.poster-kind {
    position: absolute; left: 5px; top: 5px; padding: 2px 6px;
    color: #fff; background: rgba(11,25,32,.82); border-radius: 3px; font-size: 10px;
}
.work-info { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.work-info h3 { display: -webkit-box; overflow: hidden; margin: 1px 0 3px; color: var(--ink); font-size: 15px; font-weight: 750; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.work-meta { margin: 0 0 7px; color: #718089; font-size: 10px; line-height: 1.5; }
.work-summary { display: -webkit-box; overflow: hidden; margin: 0; color: #52616A; font-size: 11px; line-height: 1.62; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.badge-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.badge { padding: 1px 5px; color: #9E421E; background: #FFF2EB; border: 1px solid #F8DFD2; border-radius: 3px; font-size: 9px; line-height: 1.6; }
.work-details { width: 100%; margin-top: auto; padding-top: 7px; }
.work-details summary { color: var(--blue); font-size: 11px; font-weight: 700; cursor: pointer; }
.work-details p { margin: 6px 0 0; color: #52616A; font-size: 11px; line-height: 1.7; }
.work-details .genre-line { color: #8A5A42; }
.empty-state { padding: 38px 20px; text-align: center; background: #fff; border: 1px dashed #C8D6DA; border-radius: 5px; }
.empty-state strong { color: var(--ink); font-size: 18px; }
.empty-state p { margin: 7px 0 17px; color: var(--muted); font-size: 13px; }
.collections-section { padding-bottom: 8px; }
.collection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.collection-card { min-width: 0; padding: 17px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 5px; }
.collection-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--blue); font-size: 10px; font-weight: 700; }
.collection-mark { color: #9AA6AC; font-size: 10px; }
.collection-card h3 { margin: 11px 0 6px; color: var(--ink); font-size: 17px; line-height: 1.45; }
.collection-card > p { min-height: 66px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.collection-works { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--soft-line); }
.collection-works span { padding: 3px 7px; color: #4D5C64; background: #F3F6F7; border-radius: 3px; font-size: 10px; }
.editorial-section { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, .8fr); gap: 30px; margin-top: 36px; padding: 26px 28px; background: #EAF0F2; border: 1px solid #D9E3E6; border-radius: 5px; }
.editorial-main h2 { margin: 0 0 12px; color: var(--ink); font-size: 24px; line-height: 1.4; }
.editorial-main p:not(.eyebrow) { margin: 9px 0 0; color: #4F5E66; font-size: 13px; line-height: 1.9; }
.editorial-aside { padding: 17px 18px; background: rgba(255,255,255,.76); border: 1px solid #DCE5E8; border-radius: 4px; }
.editorial-aside h3 { margin: 0 0 10px; color: var(--ink); font-size: 16px; }
.editorial-aside ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.editorial-aside li { display: grid; gap: 2px; }
.editorial-aside b { color: var(--accent); font-size: 12px; }
.editorial-aside li span { color: var(--muted); font-size: 11px; }
.watch-notes { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; margin-top: 30px; margin-bottom: 40px; padding: 22px 25px; background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.watch-notes-icon { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: var(--ink); border-radius: 5px; font-size: 20px; font-weight: 800; }
.watch-notes h2 { margin: 0 0 7px; color: var(--ink); font-size: 20px; }
.watch-notes p:not(.eyebrow) { margin: 7px 0 0; color: #58666E; font-size: 12px; line-height: 1.85; }
.site-footer { color: #D5E0E3; background: var(--night); }
.footer-inner { width: min(var(--content), calc(100% - 48px)); margin: auto; padding: 27px 0 20px; }
.footer-brand strong { color: #fff; font-size: 19px; }
.footer-brand p { margin: 5px 0 14px; color: #B4C3C8; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.footer-links a { color: #D5E0E3; font-size: 12px; }
.footer-links a:hover { color: #fff; }
.copyright { margin: 11px 0 0; color: #91A5AC; font-size: 10px; line-height: 1.7; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1120px) {
    .header-inner { gap: 20px; }
    .primary-nav { gap: 15px; }
    .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    html { scroll-padding-top: 112px; }
    .shell, .header-inner, .footer-inner { width: min(100% - 30px, var(--content)); }
    .header-inner { min-height: 68px; flex-wrap: wrap; gap: 0; padding: 10px 0 8px; }
    .brand img { width: 37px; height: 37px; }
    .brand strong { font-size: 18px; }
    .brand small { font-size: 10px; }
    .header-action { margin-left: auto; padding: 6px 10px; }
    .primary-nav { order: 2; width: 100%; gap: 0; justify-content: space-between; overflow-x: auto; padding-top: 10px; }
    .primary-nav a { padding: 2px 0; font-size: 12px; }
    .hero { grid-template-columns: 1fr; gap: 20px; padding-block: 30px 24px; }
    .hero h1 { font-size: 30px; }
    .hero-lead { margin-top: 12px; font-size: 14px; }
    .hero-side { padding: 17px 19px 14px; }
    .overview-number strong { font-size: 34px; }
    .search-panel { padding: 17px 15px 14px; }
    .section-heading { align-items: flex-start; gap: 12px; }
    .section-heading h2 { font-size: 21px; }
    .compact-heading { align-items: flex-start; }
    .heading-note { display: none; }
    .search-form { flex-wrap: wrap; }
    .search-input-wrap { flex-basis: 100%; }
    .select-wrap { flex: 1; width: auto; }
    .search-form .button { min-width: 110px; }
    .library-section, .collections-section { padding-top: 29px; }
    .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .work-card { grid-template-columns: minmax(75px, 36%) minmax(0, 1fr); gap: 8px; padding: 7px; }
    .work-info h3 { font-size: 13px; }
    .work-meta { font-size: 9px; }
    .work-summary { font-size: 10px; -webkit-line-clamp: 3; }
    .badge { font-size: 8px; }
    .collection-grid { grid-template-columns: 1fr; gap: 9px; }
    .collection-card { padding: 14px; }
    .collection-card > p { min-height: 0; }
    .editorial-section { grid-template-columns: 1fr; gap: 17px; margin-top: 28px; padding: 19px 16px; }
    .editorial-main h2 { font-size: 21px; }
    .watch-notes { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 17px 14px; }
    .watch-notes-icon { width: 36px; height: 36px; font-size: 17px; }
    .watch-notes h2 { font-size: 17px; }
    .footer-links { gap: 10px 16px; }
}
@media (max-width: 390px) {
    .work-card { grid-template-columns: 1fr; }
    .poster-wrap { width: 100%; max-height: 220px; aspect-ratio: 2 / 2.4; }
    .work-summary { -webkit-line-clamp: 4; }
    .hero-points { gap: 8px 14px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* 常见问题：以短段落承载可核对的版本知识，避免只堆叠问题标题。 */
.faq-section { padding-top: 34px; padding-bottom: 6px; }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}
.faq-item {
    min-width: 0;
    padding: 16px 18px 15px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid #A9C1C7;
    border-radius: 4px;
}
.faq-item h3 {
    margin: 0 0 7px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
}
.faq-item p {
    margin: 0;
    color: #596870;
    font-size: 12px;
    line-height: 1.85;
}
.faq-item:hover { border-left-color: var(--accent); }
@media (max-width: 760px) {
    .faq-section { padding-top: 27px; }
    .faq-grid { grid-template-columns: 1fr; gap: 8px; }
    .faq-item { padding: 13px 14px; }
    .faq-item h3 { font-size: 14px; }
}


/* 类型阅读指南采用双列文字卡片，在宽屏上便于比较不同作品类型。 */
.guide-section { padding-top: 34px; padding-bottom: 4px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 14px; }
.guide-card {
    position: relative;
    min-width: 0;
    padding: 18px 20px 16px 56px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
}
.guide-index {
    position: absolute;
    left: 17px;
    top: 17px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.guide-card h3 { margin: 0 0 8px; color: var(--ink); font-size: 16px; }
.guide-card p { margin: 0 0 8px; color: #596870; font-size: 12px; line-height: 1.9; }
.guide-card p:last-child { margin: 10px 0 0; padding-top: 8px; color: #8B4A2B; border-top: 1px solid var(--soft-line); font-size: 11px; }
@media (max-width: 760px) {
    .guide-section { padding-top: 27px; }
    .guide-grid { grid-template-columns: 1fr; gap: 8px; }
    .guide-card { padding: 15px 15px 14px 45px; }
    .guide-index { left: 13px; top: 14px; }
}
