@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #12161B;
  --deep: #0B0E11;
  --panel: #1B2128;
  --panel-soft: #202832;
  --line: #303943;
  --text: #E6E9ED;
  --muted: #8E98A4;
  --amber: #D9822B;
  --gold: #F0A848;
  --teal: #3A7D8C;
  --radius: 5px;
  --container: 1240px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link, .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; }
.skip-link:focus { width: auto; height: auto; clip: auto; margin: 12px; padding: 10px 16px; z-index: 1000; background: var(--gold); color: var(--deep); }
.site-header { background: var(--deep); border-bottom: 1px solid #242B32; position: relative; z-index: 20; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 8px; }
.primary-nav a { color: #AEB7C1; padding: 10px 14px; border-radius: 4px; transition: background .18s ease, color .18s ease; }
.primary-nav a:hover, .primary-nav a.active { color: var(--gold); background: #242A30; }
.menu-toggle { display: none; border: 1px solid var(--line); color: var(--text); background: var(--panel); padding: 8px 13px; border-radius: 4px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr); gap: 42px; align-items: center; padding-block: 54px 42px; }
.hero-copy { padding-block: 12px; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .12em; margin: 0 0 10px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.25; letter-spacing: -.025em; margin-bottom: 18px; }
h2 { font-size: 25px; line-height: 1.35; margin-bottom: 10px; }
.hero-intro { color: #AAB4BF; font-size: 16px; max-width: 690px; margin-bottom: 24px; }
.hero-search { display: flex; max-width: 650px; gap: 8px; padding: 7px; background: var(--panel); border: 1px solid var(--line); border-radius: 5px; }
.hero-search input { flex: 1; min-width: 0; color: var(--text); background: transparent; border: 0; outline: 0; padding: 9px 12px; }
.hero-search input::placeholder { color: #78838F; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 9px 18px; border-radius: 4px; border: 1px solid transparent; cursor: pointer; font-weight: 700; transition: transform .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--amber); color: #17130F; }
.button-primary:hover { background: var(--gold); color: #17130F; }
.button-quiet { border-color: var(--line); color: var(--text); background: transparent; }
.hero-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; color: #9EA9B5; font-size: 13px; }
.hero-links a::before { content: "＋"; color: var(--teal); margin-right: 5px; }
.index-panel { background: linear-gradient(145deg, #1D252D, #151A20); border: 1px solid #35414A; padding: 22px; border-radius: var(--radius); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; font-size: 17px; font-weight: 800; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.panel-mark { color: var(--teal); font-size: 11px; border: 1px solid #315D67; padding: 3px 8px; border-radius: 3px; }
.index-group { padding-block: 9px 13px; }
.index-group h2 { color: #AAB5BF; font-size: 12px; margin: 0 0 9px; font-weight: 600; }
.index-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.index-chips a { border: 1px solid #39444F; background: #202832; color: #D5DCE3; padding: 5px 11px; font-size: 12px; border-radius: 3px; }
.index-chips a:hover { border-color: var(--amber); color: var(--gold); }
.panel-note { color: var(--muted); font-size: 12px; margin: 10px 0 0; }
.section-block { padding-block: 42px 50px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-heading h2 { margin-bottom: 5px; }
.section-heading p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; font-size: 13px; }
.text-link { color: var(--gold); white-space: nowrap; font-size: 13px; font-weight: 700; padding-bottom: 4px; }
.movie-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.movie-card { min-width: 0; overflow: hidden; border: 1px solid #2C353E; background: var(--panel); border-radius: var(--radius); transition: border-color .18s ease, transform .18s ease; }
.movie-card:hover { border-color: #68737D; transform: translateY(-3px); }
.poster-link { display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #252D35; }
.poster-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.movie-card:hover .poster-link img { transform: scale(1.035); }
.badge { display: inline-flex; align-items: center; font-size: 10px; line-height: 1.4; padding: 3px 7px; border-radius: 3px; }
.badge-quality { position: absolute; right: 9px; top: 9px; color: #F5E6CE; background: rgba(11,14,17,.85); border: 1px solid rgba(217,130,43,.7); }
.movie-card-body { padding: 12px 13px 14px; }
.movie-card h3 { font-size: 15px; margin: 0 0 5px; line-height: 1.45; }
.movie-meta { color: var(--teal); font-size: 11px; margin: 0 0 7px; }
.movie-summary { color: #A5AFB9; font-size: 12px; line-height: 1.65; margin: 0 0 10px; min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-row span, .tag-row a { color: #91A0AC; border: 1px solid #36414B; border-radius: 3px; font-size: 10px; padding: 2px 7px; }
.section-band { background: #171D23; border-block: 1px solid #242D35; }
.compact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.compact-item { border: 1px solid #303A44; background: #1D252D; border-radius: 4px; overflow: hidden; }
.compact-item a { display: flex; gap: 13px; min-height: 112px; }
.compact-item img { width: 86px; object-fit: cover; aspect-ratio: 3/4; }
.compact-content { display: flex; flex-direction: column; justify-content: center; padding: 10px 10px 10px 0; min-width: 0; }
.compact-content strong { font-size: 13px; }
.compact-content small { color: var(--teal); font-size: 11px; margin: 3px 0; }
.compact-content > span { color: var(--muted); font-size: 11px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.collection-card { display: flex; flex-direction: column; min-height: 190px; padding: 18px; border: 1px solid #35414A; border-radius: 5px; background: linear-gradient(140deg, #202832, #171D23); }
.collection-symbol { display: grid; place-items: center; width: 32px; height: 32px; background: #29444B; color: #B9D8DC; border: 1px solid #3A7D8C; border-radius: 4px; font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.collection-title { font-size: 18px; font-weight: 800; }
.collection-subtitle { color: var(--gold); font-size: 12px; margin: 2px 0 8px; }
.collection-desc { color: var(--muted); font-size: 12px; line-height: 1.65; }
.collection-more { margin-top: auto; padding-top: 12px; color: #B6C0C9; font-size: 11px; }
.guide-block { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(220px, .7fr); gap: 40px; border-top: 1px solid var(--line); }
.guide-copy p:not(.eyebrow) { color: #AAB4BE; font-size: 14px; line-height: 1.9; }
.guide-facts { display: grid; grid-template-columns: repeat(3, 1fr); align-self: center; gap: 9px; }
.guide-facts div { background: var(--panel); border: 1px solid var(--line); padding: 14px 8px; text-align: center; border-radius: 4px; }
.guide-facts strong, .guide-facts span { display: block; }
.guide-facts strong { color: var(--gold); font-size: 20px; }
.guide-facts span { color: var(--muted); font-size: 11px; }
.site-footer { background: var(--deep); border-top: 1px solid #252D35; padding-top: 35px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .7fr 1.3fr; gap: 28px; padding-bottom: 28px; }
.footer-brand { font-size: 20px; font-weight: 800; }
.footer-grid p { color: #8F9AA5; font-size: 12px; line-height: 1.8; }
.footer-grid h2 { font-size: 13px; margin: 3px 0 10px; }
.footer-grid a:not(.footer-brand) { display: block; color: #929DA8; font-size: 12px; margin: 5px 0; }
.footer-bottom { border-top: 1px solid #283039; display: flex; justify-content: space-between; gap: 15px; padding-block: 14px; color: #65717D; font-size: 11px; }
.page-main { padding-block: 40px 65px; min-height: 65vh; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.page-heading h1 { font-size: 34px; margin-bottom: 8px; }
.page-heading p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; max-width: 760px; }
.result-count { text-align: right; white-space: nowrap; color: var(--muted); }
.result-count strong { display: block; font-size: 28px; color: var(--gold); line-height: 1.2; }
.result-count span { font-size: 11px; }
.filter-panel { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(115px, .8fr)) auto; align-items: end; gap: 10px; padding: 17px; margin-bottom: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 5px; }
.filter-panel label { display: block; color: #AAB5BF; font-size: 11px; margin-bottom: 5px; }
.filter-panel input, .filter-panel select { width: 100%; min-width: 0; height: 40px; padding: 7px 9px; color: var(--text); background: #11171D; border: 1px solid #39444E; border-radius: 3px; outline: none; }
.filter-panel input:focus, .filter-panel select:focus { border-color: var(--gold); }
.filter-actions { display: flex; gap: 7px; }
.filter-actions .button { min-height: 40px; padding-inline: 12px; font-size: 12px; }
.active-filters { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 20px; }
.active-filters span { color: #B9C3CC; background: #243039; border: 1px solid #36515B; padding: 3px 9px; border-radius: 3px; font-size: 11px; }
.catalog-grid { margin-top: 12px; }
.pagination { display: flex; justify-content: center; gap: 7px; padding-top: 30px; }
.pagination a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 3px; color: #AEB8C1; }
.pagination a.is-current, .pagination a:hover { background: var(--amber); color: #17130F; border-color: var(--amber); }
.empty-state { text-align: center; padding: 65px 20px; border: 1px dashed #46515C; background: #171D23; border-radius: 5px; }
.empty-state strong { font-size: 19px; }
.empty-state p { color: var(--muted); margin: 8px 0 18px; }
.catalog-note { margin-top: 50px; padding: 22px; background: #171D23; border-left: 3px solid var(--teal); }
.catalog-note h2 { font-size: 17px; }
.catalog-note p { color: #A7B1BB; font-size: 13px; line-height: 1.9; margin: 0; }
.collection-heading { padding-bottom: 10px; }
.million-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.million-intro > div { background: #1A2229; border: 1px solid #34404A; padding: 22px; border-radius: 4px; }
.intro-number { color: var(--amber); font-size: 12px; font-weight: 800; }
.million-intro h2 { font-size: 19px; margin: 8px 0; }
.million-intro p { color: var(--muted); font-size: 13px; margin: 0; }
.collection-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.collection-detail { padding: 20px; border: 1px solid #34404A; background: #1B2229; border-radius: 4px; scroll-margin-top: 20px; }
.collection-detail-head { display: flex; align-items: center; gap: 12px; }
.collection-index { color: var(--gold); font-size: 21px; font-weight: 800; }
.collection-detail-head h2 { font-size: 18px; margin: 0; }
.collection-detail-head p { color: var(--teal); font-size: 11px; margin: 2px 0 0; }
.collection-count { margin-left: auto; color: #7F8B96; font-size: 11px; white-space: nowrap; }
.collection-long-desc { color: #AAB4BE; font-size: 13px; margin: 16px 0 12px; }
.mini-movie-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.mini-movie-row a { display: flex; align-items: center; gap: 7px; min-width: 0; background: #222B34; border: 1px solid #303C47; border-radius: 3px; overflow: hidden; }
.mini-movie-row img { width: 42px; height: 56px; object-fit: cover; }
.mini-movie-row span { min-width: 0; padding-right: 5px; }
.mini-movie-row strong, .mini-movie-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-movie-row strong { font-size: 10px; }
.mini-movie-row small { color: var(--muted); font-size: 9px; }
.collection-bottom { margin-top: 32px; padding: 25px; text-align: center; background: #202832; border: 1px solid #34414B; border-radius: 4px; }
.collection-bottom h2 { font-size: 20px; }
.collection-bottom p { color: var(--muted); font-size: 13px; }
.breadcrumbs { display: flex; gap: 9px; color: #788591; font-size: 12px; margin-bottom: 24px; }
.breadcrumbs a { color: #AAB4BE; }
.detail-layout { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 35px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.detail-poster { position: relative; align-self: start; border: 1px solid #39434D; border-radius: 5px; overflow: hidden; }
.detail-poster img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.detail-content h1 { font-size: 36px; }
.detail-summary { color: #B6C0C9; font-size: 16px; max-width: 760px; }
.metadata-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 25px 0; background: #34404A; border: 1px solid #34404A; }
.metadata-grid div { background: #1B2229; padding: 11px 13px; }
.metadata-grid dt { color: var(--muted); font-size: 11px; }
.metadata-grid dd { color: var(--text); font-size: 13px; margin: 3px 0 0; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-tags a { padding: 4px 10px; background: #24323A; color: #B4D0D5; border: 1px solid #365B65; border-radius: 3px; font-size: 11px; }
.source-status { margin-top: 26px; padding: 15px 17px; background: #29241D; border: 1px solid #66502F; border-radius: 4px; }
.source-status strong { color: var(--gold); font-size: 13px; }
.source-status p { color: #C4B8A5; font-size: 12px; margin: 5px 0 0; }
.detail-description { max-width: 900px; padding-block: 35px; }
.detail-description h2 { font-size: 22px; }
.detail-description p:not(.eyebrow) { color: #B4BEC7; font-size: 14px; line-height: 2; }
.related-section { border-top: 1px solid var(--line); }
.error-page { text-align: center; padding-block: 90px; }
.error-code { color: var(--amber); font-size: clamp(70px, 12vw, 130px); line-height: 1; font-weight: 900; }
.error-page h1 { font-size: 28px; margin: 15px 0 8px; }
.error-page p { color: var(--muted); margin-bottom: 22px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 1050px) {
  .hero { gap: 25px; }
  .movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-search { grid-column: span 2; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .container { width: min(100% - 30px, var(--container)); }
  .header-inner { min-height: 66px; }
  .brand { font-size: 19px; }
  .brand img { width: 33px; height: 33px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 65px; left: 0; right: 0; padding: 10px 15px 15px; background: var(--deep); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 11px 13px; }
  .hero { grid-template-columns: 1fr; padding-block: 35px 25px; gap: 22px; }
  h1 { font-size: 32px; }
  .hero-intro { font-size: 14px; }
  .section-block { padding-block: 32px 38px; }
  .section-heading { align-items: start; }
  .section-heading h2 { font-size: 21px; }
  .movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .movie-card-body { padding: 10px; }
  .movie-card h3 { font-size: 13px; }
  .movie-summary { font-size: 11px; min-height: 36px; }
  .compact-grid { grid-template-columns: 1fr 1fr; }
  .collection-grid { grid-template-columns: 1fr 1fr; }
  .guide-block { grid-template-columns: 1fr; gap: 18px; }
  .page-main { padding-block: 30px 45px; }
  .page-heading { align-items: start; }
  .page-heading h1 { font-size: 29px; }
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .filter-search { grid-column: 1 / -1; }
  .filter-actions { grid-column: 1 / -1; }
  .filter-actions .button { flex: 1; }
  .collection-list { grid-template-columns: 1fr; }
  .million-intro { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 155px minmax(0,1fr); gap: 18px; }
  .detail-content h1 { font-size: 27px; }
  .detail-summary { font-size: 13px; }
  .metadata-grid { grid-template-columns: repeat(2, 1fr); margin: 15px 0; }
  .detail-poster .badge { top: 5px; right: 5px; }
}
@media (max-width: 480px) {
  .hero-search { flex-direction: column; }
  .hero-search .button { width: 100%; }
  .hero-links { gap: 10px 14px; }
  .section-heading { flex-direction: column; gap: 7px; }
  .compact-grid, .collection-grid { grid-template-columns: 1fr; }
  .compact-item a { min-height: 96px; }
  .compact-item img { width: 74px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 15px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 3px; }
  .filter-panel { grid-template-columns: 1fr; }
  .filter-search, .filter-actions { grid-column: auto; }
  .page-heading { flex-direction: column; }
  .result-count { text-align: left; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-poster { width: min(65%, 230px); }
  .detail-content h1 { font-size: 30px; }
  .mini-movie-row { grid-template-columns: 1fr; }
  .mini-movie-row a { min-height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
