@charset "UTF-8";

:root {
    --ink: #143642;
    --blue: #2B6E7D;
    --night: #0B1920;
    --canvas: #F5F6F8;
    --paper: #FFFFFF;
    --text: #1A242B;
    --muted: #5A6872;
    --accent: #C85019;
    --line: #DDE3E7;
    --soft-line: #E9EDF0;
    --radius: 6px;
    --container: 1240px;
    --shadow: 0 8px 28px rgba(20, 54, 66, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    color: var(--text);
    background: var(--canvas);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
    font-size: 15px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid rgba(200, 80, 25, .35);
    outline-offset: 3px;
}
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 1000;
    padding: 8px 14px; color: #fff; background: var(--night); border-radius: 4px;
}
.skip-link:focus { top: 12px; color: #fff; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 205px; color: var(--ink); }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.35; }
.brand strong { font-size: 20px; font-weight: 800; letter-spacing: .04em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.main-nav { display: flex; align-items: center; gap: 28px; flex: 1; }
.main-nav a { color: #3E4B52; font-size: 14px; font-weight: 600; transition: color .2s ease; }
.main-nav a:hover { color: var(--accent); }
.header-action {
    padding: 8px 15px; border: 1px solid var(--ink); border-radius: 4px;
    color: var(--ink); font-size: 13px; font-weight: 700;
}
.header-action:hover { color: #fff; background: var(--ink); }
.nav-toggle { display: none; }

.hero {
    display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr);
    gap: 34px; align-items: stretch; padding-top: 34px;
}
.hero-copy {
    position: relative; overflow: hidden; min-height: 250px; padding: 34px 38px;
    color: #fff; background: var(--ink); border-radius: var(--radius);
}
.hero-copy::after {
    content: "影"; position: absolute; right: 34px; bottom: -75px;
    color: rgba(255,255,255,.055); font-size: 300px; font-weight: 900; line-height: 1;
    pointer-events: none;
}
.eyebrow {
    margin: 0 0 8px; color: var(--blue); font-size: 12px;
    font-weight: 800; letter-spacing: .12em;
}
.hero-copy .eyebrow { color: #B8D6DC; }
.hero h1 { position: relative; z-index: 1; max-width: 720px; margin: 0; font-size: clamp(27px, 3vw, 38px); line-height: 1.35; letter-spacing: -.025em; }
.hero-lead { position: relative; z-index: 1; max-width: 700px; margin: 15px 0 18px; color: #D7E3E6; font-size: 15px; }
.hero-points { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points span { padding: 4px 9px; color: #E6F0F2; border: 1px solid rgba(255,255,255,.24); border-radius: 3px; font-size: 11px; }
.hero-side {
    display: flex; flex-direction: column; justify-content: center; padding: 26px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.hero-side-top { display: flex; align-items: center; gap: 13px; }
.hero-mark {
    display: grid; place-items: center; width: 48px; height: 48px;
    color: #fff; background: var(--accent); border-radius: 5px; font-size: 25px; font-weight: 800;
}
.hero-side-top div { display: flex; flex-direction: column; }
.hero-side-top strong { color: var(--ink); font-size: 16px; }
.hero-side-top small { color: var(--muted); font-size: 12px; }
.hero-side p { margin: 18px 0; color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 13px; font-weight: 800; }
.text-link:hover { color: var(--ink); }

.filter-panel {
    margin-top: 26px; padding: 22px 24px 17px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.filter-heading, .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.filter-heading h2, .section-heading h2 { margin: 0; color: var(--ink); font-size: 21px; line-height: 1.4; }
.filter-heading .eyebrow, .section-heading .eyebrow { margin-bottom: 3px; }
.result-count { color: var(--muted); font-size: 12px; }
.filter-form { display: grid; grid-template-columns: minmax(220px, 1fr) 160px 160px auto auto; gap: 10px; margin-top: 17px; }
.filter-form input, .filter-form select {
    width: 100%; min-height: 42px; padding: 8px 12px;
    color: var(--text); background: #FBFCFD; border: 1px solid var(--line); border-radius: 4px;
}
.filter-form input::placeholder { color: #87939A; }
.button {
    display: inline-flex; justify-content: center; align-items: center; min-height: 42px;
    padding: 8px 17px; border: 1px solid transparent; border-radius: 4px;
    cursor: pointer; font-size: 13px; font-weight: 800; transition: .2s ease;
}
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { color: #fff; background: #A83E12; }
.button-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.button-secondary:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.reset-link { align-self: center; color: var(--muted); font-size: 12px; }
.quick-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 13px; color: var(--muted); font-size: 12px; }
.quick-tags a { padding: 2px 9px; color: var(--blue); background: #EDF4F5; border-radius: 3px; }
.quick-tags a:hover { color: #fff; background: var(--blue); }

.content-section { margin-top: 38px; }
.section-heading { margin-bottom: 19px; }
.section-heading h2 { font-size: 23px; }
.section-heading p:not(.eyebrow) { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.section-index { padding-bottom: 4px; color: #91A0A7; font-size: 11px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.poster-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 17px; }
.work-card { min-width: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; transition: transform .2s ease, box-shadow .2s ease; }
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.poster-link { display: block; height: 100%; }
.poster-frame { position: relative; overflow: hidden; aspect-ratio: 2 / 3; background: #E7ECEF; }
.poster-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.work-card:hover .poster-frame img { transform: scale(1.035); }
.poster-corner {
    position: absolute; top: 8px; left: 8px; padding: 3px 7px;
    color: #fff; background: var(--accent); border-radius: 3px;
    font-size: 10px; font-weight: 800;
}
.work-card-body { padding: 10px 11px 12px; }
.work-card h3 { overflow: hidden; margin: 0; color: var(--ink); font-size: 15px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.work-subtitle { overflow: hidden; margin: 3px 0 7px; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.work-summary { display: -webkit-box; overflow: hidden; min-height: 61px; margin: 0; color: #53616A; font-size: 11px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.badge-row, .detail-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.badge { display: inline-block; padding: 2px 6px; color: var(--blue); background: #EDF4F5; border: 1px solid #DCE9EB; border-radius: 3px; font-size: 10px; line-height: 1.5; }
.card-more { display: inline-block; margin-top: 9px; color: var(--accent); font-size: 11px; font-weight: 800; }
.empty-state { padding: 45px 20px; text-align: center; background: #fff; border: 1px dashed #C9D2D7; border-radius: 5px; }
.empty-state h3 { margin: 0; color: var(--ink); }
.empty-state p { margin: 7px 0 18px; color: var(--muted); font-size: 13px; }

.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.collection-card { display: flex; gap: 17px; min-height: 166px; padding: 19px; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; }
.collection-number { color: #B7C6CB; font-size: 28px; font-weight: 900; line-height: 1.2; }
.collection-main { min-width: 0; }
.collection-main h3 { margin: 0 0 5px; color: var(--ink); font-size: 17px; }
.collection-main p { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.collection-works { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 8px; }
.collection-works a { padding: 3px 8px; color: var(--blue); background: #F0F5F6; border-radius: 3px; font-size: 11px; }
.collection-main small { color: #87939A; font-size: 11px; }

.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.editorial-card { min-height: 228px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.editorial-dark { color: #fff; background: var(--night); border-color: var(--night); }
.editorial-label { display: inline-block; padding: 3px 8px; color: var(--accent); background: #FFF1E9; border-radius: 3px; font-size: 10px; font-weight: 800; }
.editorial-dark .editorial-label { color: #F4B18F; background: rgba(255,255,255,.1); }
.editorial-card h3 { margin: 14px 0 8px; color: var(--ink); font-size: 17px; line-height: 1.45; }
.editorial-dark h3 { color: #fff; }
.editorial-card p { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.editorial-dark p { color: #C1D0D4; }
.editorial-card a { color: var(--accent); font-size: 12px; font-weight: 800; }
.editorial-dark a { color: #F4B18F; }

.information-section {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px;
    margin-top: 38px; padding: 29px; background: #EAF0F2; border: 1px solid #DCE5E8; border-radius: 5px;
}
.information-copy h2 { margin: 0 0 11px; color: var(--ink); font-size: 23px; }
.information-copy p:not(.eyebrow) { margin: 8px 0; color: #52616A; font-size: 13px; }
.information-list { display: flex; flex-direction: column; justify-content: center; gap: 0; }
.information-list div { display: grid; grid-template-columns: 95px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #D3DFE3; }
.information-list div:last-child { border-bottom: 0; }
.information-list strong { color: var(--ink); font-size: 13px; }
.information-list span { color: var(--muted); font-size: 12px; }

.site-footer { margin-top: 48px; padding: 34px 0 17px; color: #D5E0E3; background: var(--night); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 45px; padding-bottom: 27px; }
.brand-footer { color: #fff; }
.brand-footer small { color: #AABCC1; }
.footer-brand p { max-width: 470px; margin: 13px 0 0; color: #AABCC1; font-size: 12px; }
.footer-grid h2 { margin: 0 0 10px; color: #fff; font-size: 14px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid > div:not(:first-child) a { margin: 3px 0; color: #AABCC1; font-size: 12px; }
.footer-grid a:hover { color: #F4B18F !important; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 13px; color: #84989E; border-top: 1px solid rgba(255,255,255,.12); font-size: 10px; }

.detail-page { padding-top: 23px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; color: #89969C; font-size: 12px; }
.breadcrumbs a { color: var(--blue); }
.detail-article { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 31px; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.detail-poster { position: relative; overflow: hidden; align-self: start; aspect-ratio: 2 / 3; background: #E7ECEF; border-radius: 4px; }
.detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.detail-content h1 { margin: 0; color: var(--ink); font-size: 32px; line-height: 1.3; }
.detail-original { margin: 4px 0 13px; color: #8B979D; font-size: 13px; }
.detail-summary { max-width: 760px; margin: 0; color: #46555D; font-size: 15px; }
.metadata-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; margin: 19px 0; border-top: 1px solid var(--soft-line); }
.metadata-list div { display: grid; grid-template-columns: 85px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--soft-line); }
.metadata-list dt { color: #8A969C; font-size: 12px; }
.metadata-list dd { margin: 0; color: var(--text); font-size: 12px; }
.notice-box { max-width: 620px; padding: 13px 15px; background: #FFF7F2; border: 1px solid #F0D8C9; border-left: 3px solid var(--accent); border-radius: 3px; }
.notice-box strong { color: #934018; font-size: 13px; }
.notice-box p { margin: 3px 0 0; color: #755D50; font-size: 12px; }
.detail-description { margin-top: 28px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.detail-description .section-heading { margin-bottom: 10px; }
.detail-description p { margin: 9px 0; color: #53616A; font-size: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.related-item { display: flex; gap: 11px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.related-item img { width: 62px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; }
.related-item span { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.related-item strong { color: var(--ink); font-size: 13px; }
.related-item small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.error-page { min-height: 55vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.error-code { color: var(--accent); font-size: 88px; font-weight: 900; line-height: 1; }
.error-page h1 { margin: 12px 0 0; color: var(--ink); font-size: 28px; }
.error-page p { margin: 7px 0 20px; color: var(--muted); }

@media (max-width: 1100px) {
    .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .filter-form { grid-template-columns: minmax(180px, 1fr) 140px 140px auto; }
    .reset-link { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .container { width: min(100% - 30px, var(--container)); }
    .header-inner { min-height: 66px; gap: 12px; justify-content: space-between; }
    .brand { min-width: 0; }
    .brand img { width: 36px; height: 36px; }
    .brand strong { font-size: 18px; }
    .brand small { font-size: 10px; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 7px 10px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 4px; font-size: 12px; }
    .main-nav {
        display: none; position: absolute; top: 65px; left: 0; right: 0; padding: 12px 15px 16px;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0,0,0,.06);
    }
    .main-nav.is-open { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
    .main-nav a { padding: 8px; background: #F5F7F8; border-radius: 3px; text-align: center; }
    .header-action { display: none; }
    .hero { grid-template-columns: 1fr; gap: 12px; padding-top: 15px; }
    .hero-copy { min-height: 0; padding: 25px 22px; }
    .hero-copy::after { right: 8px; bottom: -45px; font-size: 200px; }
    .hero h1 { font-size: 27px; }
    .hero-lead { font-size: 13px; }
    .hero-side { padding: 17px 19px; }
    .filter-panel { margin-top: 14px; padding: 17px; }
    .filter-heading { align-items: flex-start; }
    .filter-heading h2, .section-heading h2 { font-size: 19px; }
    .filter-form { grid-template-columns: 1fr 1fr; }
    .filter-form .search-field { grid-column: 1 / -1; }
    .filter-form .button { grid-column: 1 / -1; }
    .reset-link { grid-column: 1 / -1; }
    .content-section { margin-top: 29px; }
    .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .work-card-body { padding: 8px; }
    .work-card h3 { font-size: 13px; }
    .work-summary { min-height: 0; font-size: 10px; -webkit-line-clamp: 2; }
    .badge-row .badge:nth-child(n+3) { display: none; }
    .collection-grid, .editorial-grid { grid-template-columns: 1fr; }
    .collection-card { min-height: 0; padding: 15px; }
    .editorial-card { min-height: 0; padding: 18px; }
    .information-section { grid-template-columns: 1fr; gap: 15px; margin-top: 28px; padding: 20px; }
    .information-copy h2 { font-size: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 23px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 4px; }
    .detail-article { grid-template-columns: 145px minmax(0, 1fr); gap: 16px; padding: 15px; }
    .detail-content h1 { font-size: 24px; }
    .detail-summary { font-size: 13px; }
    .metadata-list { grid-template-columns: 1fr; margin: 12px 0; }
    .metadata-list div { padding: 5px 0; }
    .detail-description { padding: 17px; }
    .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 430px) {
    .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-heading { align-items: flex-start; }
    .section-index { display: none; }
    .detail-article { grid-template-columns: 1fr; }
    .detail-poster { width: min(65%, 220px); }
    .detail-content h1 { font-size: 27px; }
    .related-grid { grid-template-columns: 1fr; }
    .information-list div { grid-template-columns: 80px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
