/* =========================================================
   影视大全 · 清爽影库索引
   视觉基调：柔光灰白画布、影院墨青、胶片暖橙
   ========================================================= */
:root {
  color-scheme: light;
  --ink: #1A242B;
  --muted: #5A6872;
  --brand: #143642;
  --brand-soft: #2B6E7D;
  --night: #0B1920;
  --canvas: #F5F6F8;
  --paper: #FFFFFF;
  --line: #E1E6E9;
  --line-strong: #CBD4D9;
  --accent: #C85019;
  --accent-pale: #FFF0E9;
  --success: #26745A;
  --radius: 6px;
  --container: 1200px;
  --shadow-soft: 0 8px 24px rgba(20, 54, 66, .055);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, 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(--brand-soft); }
button, input { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: absolute; z-index: 100; left: 12px; top: -60px;
  padding: 10px 16px; color: #fff; background: var(--brand); border-radius: 4px;
}
.skip-link:focus { top: 12px; }
.topline { background: var(--night); color: #C9D4D8; font-size: 12px; }
.top-line-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-line-inner p { margin: 0; }
.topline-note { color: #A8BAC1; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.masthead { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 5px; }
.brand span { display: grid; line-height: 1.3; }
.brand strong { color: var(--brand); font-size: 21px; font-weight: 800; letter-spacing: .03em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.main-nav { display: flex; align-items: stretch; gap: 7px; margin-left: auto; height: 82px; }
.main-nav a { display: inline-flex; align-items: center; padding: 0 15px; color: #44545C; font-size: 14px; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a.is-current { color: var(--brand); border-bottom-color: var(--accent); }
.header-action { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; color: #fff; background: var(--brand); border-radius: 4px; font-size: 13px; font-weight: 700; }
.header-action:hover { color: #fff; background: #205363; }
.intro-section { padding: 42px 0 34px; background: linear-gradient(115deg, #F5F6F8 0%, #F0F3F4 62%, #EAF0F1 100%); border-bottom: 1px solid #E7ECEE; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr); align-items: center; gap: 54px; }
.eyebrow, .section-kicker { margin: 0 0 8px; color: var(--brand-soft); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.intro-copy h1 { max-width: 760px; margin: 0; color: var(--brand); font-size: clamp(30px, 3.3vw, 42px); line-height: 1.28; letter-spacing: -.035em; }
.intro-lead { max-width: 710px; margin: 17px 0 0; color: #52616A; font-size: 16px; line-height: 1.9; }
.intro-actions { display: flex; align-items: center; gap: 23px; margin-top: 23px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 17px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 700; transition: background .18s ease, border-color .18s ease; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { color: #fff; background: #A94113; }
.text-link { color: var(--brand); font-size: 14px; font-weight: 700; }
.text-link span { margin-left: 5px; color: var(--accent); }
.trust-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 0; padding: 0; list-style: none; color: #53636B; font-size: 12px; }
.point-mark { display: inline-grid; width: 17px; height: 17px; place-items: center; margin-right: 5px; color: var(--success); border: 1px solid #B9D6CA; border-radius: 50%; font-size: 10px; font-weight: 800; }
.intro-side { padding: 21px 23px; background: rgba(255,255,255,.84); border: 1px solid #DDE5E8; border-radius: 6px; box-shadow: var(--shadow-soft); }
.side-heading { display: flex; align-items: center; justify-content: space-between; color: var(--brand); font-size: 13px; font-weight: 800; }
.side-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px var(--accent-pale); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 21px 0 19px; border-bottom: 1px solid var(--line); }
.stat-grid div { display: grid; gap: 2px; }
.stat-grid strong { color: var(--brand); font-size: 28px; line-height: 1.2; font-weight: 800; }
.stat-grid span { color: var(--muted); font-size: 11px; }
.side-note { display: flex; align-items: flex-start; gap: 12px; padding-top: 17px; }
.note-icon { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; color: #fff; background: var(--brand); border-radius: 4px; font-size: 16px; font-weight: 800; }
.side-note strong { color: var(--brand); font-size: 13px; }
.side-note p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.filter-section { background: var(--paper); border-bottom: 1px solid var(--line); }
.filter-inner { min-height: 76px; display: flex; align-items: center; gap: 35px; }
.filter-label { display: grid; min-width: 92px; line-height: 1.4; }
.filter-label strong { color: var(--brand); font-size: 14px; }
.filter-label span { color: #87939A; font-size: 10px; }
.filter-links { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { display: inline-flex; min-height: 33px; align-items: center; padding: 4px 14px; color: #59666E; background: #F6F8F9; border: 1px solid #E5EAEC; border-radius: 4px; font-size: 12px; }
.filter-chip:hover, .filter-chip.active { color: #fff; background: var(--brand); border-color: var(--brand); }
.content-section { padding: 35px 0 48px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 21px; }
.section-heading h2, .ranking-intro h2, .knowledge-grid h2, .watch-panel h2 { margin: 0; color: var(--brand); font-size: 25px; line-height: 1.35; letter-spacing: -.02em; }
.section-desc { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.result-count { margin-bottom: 4px; color: #78858C; font-size: 12px; white-space: nowrap; }
.catalog-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.movie-card { min-width: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; transition: transform .18s ease, box-shadow .18s ease; }
.movie-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.poster-link { position: relative; display: block; overflow: hidden; aspect-ratio: 2 / 3; background: #DDE4E7; }
.poster-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.movie-card:hover .poster-link img { transform: scale(1.035); }
.poster-badge { position: absolute; top: 9px; left: 9px; padding: 3px 7px; color: #fff; background: rgba(20,54,66,.91); border-radius: 3px; font-size: 10px; font-weight: 700; }
.card-body { padding: 11px 11px 12px; }
.card-meta { display: flex; justify-content: space-between; gap: 6px; color: #859198; font-size: 10px; }
.card-meta span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-body h3 { overflow: hidden; margin: 5px 0 6px; color: var(--brand); font-size: 15px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.card-body h3 a:hover { color: var(--accent); }
.card-summary { display: -webkit-box; min-height: 62px; overflow: hidden; margin: 0; color: #65727A; font-size: 11px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.tag-row span, .detail-tags span { padding: 2px 6px; color: #52707A; background: #EEF3F4; border-radius: 3px; font-size: 10px; }
.card-more { display: flex; justify-content: space-between; margin-top: 11px; padding-top: 8px; color: var(--brand); border-top: 1px solid #EEF1F2; font-size: 11px; font-weight: 800; }
.card-more span { color: var(--accent); }
.special-section { padding: 38px 0 45px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.special-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.special-card { position: relative; display: flex; min-height: 154px; align-items: flex-start; gap: 16px; overflow: hidden; padding: 20px; border: 1px solid var(--line); border-radius: 5px; }
.special-card::after { position: absolute; right: -24px; bottom: -47px; width: 130px; height: 130px; border: 1px solid rgba(43,110,125,.14); border-radius: 50%; content: ""; }
.special-mystery { background: linear-gradient(120deg, #F3F6F7, #EAF1F2); }
.special-classic { background: linear-gradient(120deg, #F8F4EF, #F3ECE4); }
.special-scifi { background: linear-gradient(120deg, #F0F2F7, #E9EDF5); }
.special-number { color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.special-card h3 { margin: 1px 0 7px; color: var(--brand); font-size: 17px; }
.special-card p { max-width: 260px; margin: 0; color: #65727A; font-size: 12px; }
.special-arrow { position: absolute; right: 19px; top: 19px; color: var(--brand-soft); font-size: 18px; }
.ranking-section { padding: 48px 0; }
.ranking-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; align-items: start; }
.ranking-intro p:not(.section-kicker) { margin: 13px 0 17px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.ranking-list { margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; list-style: none; }
.ranking-list li { display: flex; align-items: center; gap: 15px; padding: 13px 17px; border-bottom: 1px solid #EDF0F1; }
.ranking-list li:last-child { border-bottom: 0; }
.rank-no { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; color: var(--accent); background: var(--accent-pale); border-radius: 4px; font-size: 12px; font-weight: 900; }
.ranking-list li div { min-width: 0; flex: 1; }
.ranking-list li a { color: var(--brand); font-size: 14px; font-weight: 800; }
.ranking-list li p { overflow: hidden; margin: 2px 0 0; color: #7A878E; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.rank-arrow { color: #A1ADB2; }
.knowledge-section { padding: 43px 0; background: #fff; border-block: 1px solid var(--line); }
.knowledge-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.knowledge-grid > div:first-child > p:not(.section-kicker) { margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.knowledge-points { display: grid; gap: 13px; }
.knowledge-points article { display: flex; gap: 14px; padding-bottom: 13px; border-bottom: 1px solid #EDF0F1; }
.knowledge-points article:last-child { padding-bottom: 0; border-bottom: 0; }
.knowledge-points article > span { color: var(--accent); font-size: 12px; font-weight: 900; }
.knowledge-points h3 { margin: 0; color: var(--brand); font-size: 14px; }
.knowledge-points p { margin: 3px 0 0; color: #69767D; font-size: 12px; }
.watch-section { padding: 39px 0 48px; }
.watch-panel { display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: center; padding: 26px 30px; background: #EAF0F1; border: 1px solid #D9E3E6; border-left: 4px solid var(--brand); border-radius: 5px; }
.watch-panel p:not(.section-kicker) { max-width: 760px; margin: 10px 0 0; color: #5B6A72; font-size: 12px; line-height: 1.9; }
.watch-checks { display: grid; gap: 8px; min-width: 140px; }
.watch-checks span { padding: 5px 10px; color: var(--brand); background: #fff; border: 1px solid #DCE5E7; border-radius: 3px; font-size: 11px; text-align: center; }
.site-footer { padding: 35px 0 0; color: #C2CDD1; background: var(--night); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 55px; padding-bottom: 28px; }
.brand-footer strong { color: #fff; }
.brand-footer small { color: #9FB1B8; }
.brand-footer img { background: #fff; }
.footer-brand > p, .footer-grid > div:last-child > p { max-width: 410px; margin: 13px 0 0; color: #9FB0B6; font-size: 11px; line-height: 1.9; }
.footer-grid h2 { margin: 3px 0 10px; color: #F1F5F6; font-size: 13px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin: 5px 0; font-size: 11px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding: 13px 0; color: #82979F; border-top: 1px solid #263C45; font-size: 10px; }
.empty-state { padding: 55px 20px; background: #fff; border: 1px solid var(--line); text-align: center; }
.empty-state h2 { margin: 0; color: var(--brand); font-size: 20px; }
.empty-state p { margin: 8px 0 18px; color: var(--muted); font-size: 13px; }
.detail-main { padding: 20px 0 55px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 22px; color: #87939A; font-size: 11px; }
.breadcrumb a { color: var(--brand-soft); }
.detail-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.detail-poster { position: relative; align-self: start; overflow: hidden; aspect-ratio: 2 / 3; background: #E1E7E9; border-radius: 4px; }
.detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.detail-poster > span { position: absolute; left: 10px; top: 10px; padding: 4px 8px; color: #fff; background: var(--brand); border-radius: 3px; font-size: 10px; }
.detail-copy h1 { margin: 0; color: var(--brand); font-size: 34px; line-height: 1.3; }
.detail-lead { max-width: 750px; margin: 13px 0 15px; color: #586871; font-size: 15px; line-height: 1.9; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.detail-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; padding: 16px 0; border-block: 1px solid var(--line); }
.detail-facts div { min-width: 0; }
.detail-facts dt { color: #8A969C; font-size: 10px; }
.detail-facts dd { margin: 3px 0 0; color: var(--brand); font-size: 12px; font-weight: 700; }
.notice-box { margin-bottom: 20px; padding: 14px 16px; background: #FFF7F2; border: 1px solid #F2D8C9; border-radius: 4px; }
.notice-box strong { color: #9B431D; font-size: 13px; }
.notice-box p { margin: 4px 0 0; color: #785F53; font-size: 12px; line-height: 1.8; }
.detail-description { max-width: 900px; margin-top: 24px; padding: 25px 28px; background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.detail-description h2 { margin: 0 0 12px; color: var(--brand); font-size: 21px; }
.detail-description > p:not(.section-kicker) { margin: 8px 0; color: #596870; font-size: 13px; line-height: 2; }
.error-page { min-height: 430px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.error-code { margin: 0; color: var(--accent); font-size: 64px; font-weight: 900; line-height: 1; }
.error-page h1 { margin: 13px 0 0; color: var(--brand); font-size: 30px; }
.error-page > p:not(.error-code) { max-width: 550px; color: var(--muted); font-size: 14px; }
:focus-visible { outline: 3px solid #E99A72; outline-offset: 3px; }
@media (max-width: 1050px) {
  .catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .intro-grid { gap: 30px; }
  .ranking-layout, .knowledge-grid { gap: 35px; }
  .masthead { gap: 18px; }
  .main-nav a { padding-inline: 10px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--container)); }
  .topline-note { display: none; }
  .top-line-inner { min-height: 29px; }
  .masthead { min-height: auto; flex-wrap: wrap; gap: 0; padding-block: 13px 0; }
  .brand { margin-bottom: 11px; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: 19px; }
  .main-nav { order: 3; width: calc(100% + 32px); height: 47px; margin-inline: -16px; overflow-x: auto; border-top: 1px solid var(--line); }
  .main-nav a { flex: 0 0 auto; padding-inline: 16px; font-size: 12px; }
  .header-action { margin-left: auto; padding: 7px 10px; font-size: 11px; }
  .intro-section { padding: 30px 0 26px; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .intro-copy h1 { font-size: 30px; }
  .intro-lead { font-size: 14px; }
  .intro-side { padding: 16px; }
  .filter-inner { align-items: flex-start; flex-direction: column; gap: 10px; padding-block: 15px; }
  .filter-label { display: flex; align-items: baseline; gap: 9px; }
  .filter-links { gap: 6px; }
  .filter-chip { min-height: 30px; padding-inline: 10px; font-size: 11px; }
  .content-section, .special-section, .ranking-section, .knowledge-section { padding-block: 30px; }
  .section-heading h2, .ranking-intro h2, .knowledge-grid h2, .watch-panel h2 { font-size: 22px; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 8px; }
  .card-body h3 { font-size: 13px; }
  .card-summary { min-height: 58px; font-size: 10px; }
  .card-meta { font-size: 9px; }
  .tag-row span { font-size: 9px; }
  .special-grid { grid-template-columns: 1fr; gap: 9px; }
  .special-card { min-height: 112px; padding: 16px; }
  .ranking-layout, .knowledge-grid { grid-template-columns: 1fr; gap: 22px; }
  .watch-panel { grid-template-columns: 1fr; gap: 18px; padding: 21px; }
  .watch-checks { grid-template-columns: repeat(3, 1fr); min-width: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .detail-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 18px; }
  .detail-copy h1 { font-size: 27px; }
  .detail-facts { grid-template-columns: 1fr; gap: 9px; margin: 15px 0; padding: 12px 0; }
  .detail-description { padding: 20px; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 24px); }
  .main-nav { width: calc(100% + 24px); margin-inline: -12px; }
  .main-nav a { padding-inline: 13px; }
  .intro-copy h1 { font-size: 27px; }
  .intro-actions { gap: 14px; }
  .trust-points { gap: 8px 13px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .section-heading { align-items: flex-start; }
  .result-count { padding-top: 3px; font-size: 10px; }
  .ranking-list li { gap: 10px; padding: 11px; }
  .ranking-list li p { white-space: normal; }
  .watch-checks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { font-size: 9px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-poster { width: min(65%, 230px); }
  .detail-copy h1 { font-size: 25px; }
  .error-page h1 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* ---------------------------------------------------------
   补充界面细节：卡片状态、长内容阅读、键盘导航与宽屏适配
   --------------------------------------------------------- */
::selection { color: #fff; background: #2B6E7D; }
main { min-height: 55vh; }
section[id], main[id] { scroll-margin-top: 18px; }
button:disabled, .button[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
a, button { -webkit-tap-highlight-color: transparent; }
.brand:focus-visible, .main-nav a:focus-visible, .filter-chip:focus-visible,
.card-more:focus-visible, .header-action:focus-visible {
  outline-offset: 4px;
}
.intro-copy, .intro-side, .section-heading, .movie-card, .special-card,
.ranking-list, .knowledge-points, .watch-panel, .detail-layout {
  min-width: 0;
}
.intro-copy h1, .section-heading h2, .ranking-intro h2,
.knowledge-grid h2, .watch-panel h2, .detail-copy h1,
.detail-description h2 {
  text-wrap: pretty;
}
.intro-copy h1 { max-width: 17em; }
.intro-lead { text-wrap: pretty; }
.intro-actions .button { min-width: 112px; }
.trust-points li { display: inline-flex; align-items: center; }
.stat-grid strong { font-variant-numeric: tabular-nums; }
.filter-chip { transition: color .15s ease, background .15s ease, border-color .15s ease; }
.filter-chip:focus-visible { color: #fff; background: var(--brand); }
.catalog-grid { align-items: stretch; }
.movie-card { display: flex; flex-direction: column; }
.poster-link { flex: 0 0 auto; }
.card-body { display: flex; flex: 1; flex-direction: column; }
.card-body h3 { min-height: 23px; }
.card-summary { flex: 0 0 auto; }
.tag-row { min-height: 21px; }
.card-more { margin-top: auto; }
.poster-link::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(11, 25, 32, .06);
  content: "";
  pointer-events: none;
}
.poster-badge { max-width: calc(100% - 18px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.special-card { transition: border-color .18s ease, transform .18s ease; }
.special-card:hover { transform: translateY(-2px); border-color: #B8C9CE; }
.special-card:focus-visible { outline-offset: 3px; }
.special-card > div { position: relative; z-index: 1; }
.special-number { flex: 0 0 auto; }
.ranking-list li { transition: background .15s ease; }
.ranking-list li:hover { background: #F8FAFA; }
.rank-no { font-variant-numeric: tabular-nums; }
.knowledge-points article > span { min-width: 22px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.watch-panel { position: relative; }
.watch-checks span::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 7px 2px 0;
  background: var(--accent);
  border-radius: 50%;
  content: "";
}
.footer-grid a { transition: color .15s ease; }
.footer-bottom a { color: #AFC0C5; }
.footer-bottom a:hover { color: #fff; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.detail-poster { box-shadow: 0 4px 16px rgba(11, 25, 32, .1); }
.detail-copy { min-width: 0; }
.detail-facts dd { overflow-wrap: anywhere; }
.notice-box { position: relative; }
.notice-box::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #D67A4D;
  content: "";
}
.detail-description { line-height: 1.9; }
.error-page .button { margin-top: 10px; }
.error-page .section-kicker { margin-bottom: 0; }
.empty-state .button { margin-inline: auto; }
@media (min-width: 1300px) {
  .container { width: min(1240px, calc(100% - 64px)); }
  .catalog-grid { gap: 20px; }
  .card-body { padding: 12px 13px 13px; }
  .card-summary { font-size: 12px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .intro-grid { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); }
  .intro-copy h1 { font-size: 34px; }
  .main-nav { gap: 0; }
  .main-nav a { padding-inline: 8px; font-size: 12px; }
  .header-action { padding-inline: 10px; font-size: 11px; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 25px; }
}
@media (max-width: 600px) {
  .top-line-inner { width: calc(100% - 24px); }
  .intro-side { box-shadow: none; }
  .intro-copy h1 { max-width: 14em; }
  .intro-lead { line-height: 1.8; }
  .filter-links { width: 100%; }
  .filter-chip { flex: 0 0 auto; }
  .catalog-grid { align-items: stretch; }
  .poster-badge { top: 6px; left: 6px; padding: 2px 5px; font-size: 9px; }
  .card-summary { -webkit-line-clamp: 4; }
  .card-more { padding-top: 7px; }
  .special-card p { max-width: 240px; }
  .ranking-intro p:not(.section-kicker) { margin-top: 9px; }
  .knowledge-points article { gap: 10px; }
  .watch-panel p:not(.section-kicker) { font-size: 11px; }
  .detail-main { padding-top: 14px; }
  .breadcrumb { margin-bottom: 14px; }
  .detail-layout { gap: 17px; }
  .detail-poster { width: min(58%, 210px); }
  .detail-lead { font-size: 13px; }
  .detail-description h2 { font-size: 19px; }
}
@media (max-width: 360px) {
  .brand strong { font-size: 17px; }
  .brand small { font-size: 10px; }
  .header-action { font-size: 10px; }
  .intro-copy h1 { font-size: 24px; }
  .intro-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .catalog-grid { gap: 8px; }
  .card-body { padding: 7px; }
  .card-body h3 { font-size: 12px; }
  .card-summary { font-size: 9px; }
  .tag-row { gap: 3px; }
  .tag-row span { padding-inline: 4px; }
  .detail-poster { width: 70%; }
}
@media print {
  body { color: #000; background: #fff; }
  .topline, .main-nav, .header-action, .intro-actions, .filter-section,
  .site-footer, .watch-checks, .button { display: none !important; }
  .container { width: 100%; }
  .movie-card, .detail-layout, .detail-description { break-inside: avoid; box-shadow: none; }
  a { color: #000; text-decoration: none; }
}
