:root {
  --bg: #160714;
  --bg-soft: #240d22;
  --panel: rgba(18, 28, 48, .88);
  --panel-strong: #2c102b;
  --line: rgba(174, 191, 220, .17);
  --text: #f5f7fb;
  --muted: #c5a7c4;
  --soft: #f5dbf5;
  --gold: #55f755;
  --orange: #88f245;
  --cyan: #a762dc;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --radius: 14px;
  font-family: Inter, "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 0%, rgba(98, 198, 220, .13), transparent 29rem),
    radial-gradient(circle at 86% 7%, rgba(247, 185, 85, .1), transparent 27rem),
    linear-gradient(180deg, #160714 0%, #1d081d 48%, #11050f 100%);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 11, 22, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  width: min(1240px, calc(100% - 32px));
  min-height: 76px;
  margin: auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 26px;
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #231021;
  background: linear-gradient(135deg, #99ffa3, #9af559);
  box-shadow: 0 10px 28px rgba(242, 109, 69, .24);
  font-weight: 950;
}
.brand b { display: block; font-size: 1.08rem; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: .72rem; }
.main-nav, .category-nav { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.main-nav { justify-content: center; }
.main-nav a, .category-nav a {
  padding: 9px 13px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .9rem;
  font-weight: 800;
  transition: .2s ease;
}
.main-nav a:hover, .main-nav a.active, .category-nav a:hover {
  color: var(--text);
  border-color: rgba(247, 185, 85, .3);
  background: rgba(247, 185, 85, .1);
}
.category-nav {
  width: min(1240px, calc(100% - 32px));
  min-height: 42px;
  margin: auto;
  border-top: 1px solid rgba(174, 191, 220, .09);
  overflow-x: auto;
  scrollbar-width: none;
}
.category-nav a { padding: 9px 12px; font-size: .78rem; font-weight: 700; white-space: nowrap; border-radius: 0; }
.search-form { display: flex; align-items: center; gap: 6px; }
.search-form input, .search-page-form input {
  width: 190px;
  height: 38px;
  padding: 0 13px;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
}
.search-form input:focus, .search-page-form input:focus {
  border-color: rgba(98, 198, 220, .6);
  box-shadow: 0 0 0 3px rgba(98, 198, 220, .1);
}
.search-form button {
  width: 38px;
  height: 38px;
  color: #281327;
  background: var(--gold);
  border: 0;
  border-radius: 9px;
  font-size: 1.3rem;
  font-weight: 900;
}
.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  color: var(--text);
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.hero {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 50px max(32px, calc((100% - 1240px) / 2));
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  opacity: .7;
  filter: saturate(.9);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 22, .98) 0%, rgba(7, 11, 22, .84) 35%, rgba(7, 11, 22, .3) 75%, rgba(7, 11, 22, .76) 100%),
    linear-gradient(0deg, rgba(7, 11, 22, .95), transparent 45%);
}
.hero-content { position: relative; z-index: 1; max-width: 580px; animation: rise .7s ease both; }
.eyebrow {
  margin-bottom: 9px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero-content h1 {
  margin-bottom: 6px;
  font-size: 4.8rem;
  line-height: .98;
}
.hero-original { margin: 0; color: #9dfb9e; font-size: 1.05rem; font-weight: 700; }
.hero-description { margin: 22px 0 0; color: var(--soft); line-height: 1.8; font-size: 1rem; }
.hero-tags, .detail-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.hero-tags span, .detail-meta span {
  padding: 6px 9px;
  color: var(--soft);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  font-size: .78rem;
}
.hero-actions, .detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.primary-button, .secondary-button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 9px;
  font-weight: 900;
  transition: .2s ease;
}
.primary-button {
  color: #20171a;
  background: linear-gradient(135deg, #9affa2, #58f54c);
  box-shadow: 0 12px 30px rgba(247, 185, 85, .18);
}
.secondary-button, .text-link {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
}
.primary-button:hover, .secondary-button:hover, .text-link:hover { transform: translateY(-2px); filter: brightness(1.08); }
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  color: var(--text);
  background: rgba(7, 11, 22, .42);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-dots {
  position: absolute;
  left: max(32px, calc((100% - 1240px) / 2));
  bottom: 30px;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.hero-dots button {
  width: 24px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .28);
}
.hero-dots button.active { width: 42px; background: var(--gold); }

.container { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.quick-strip {
  display: grid;
  grid-template-columns: 105px 105px 105px 1fr;
  gap: 1px;
  margin-top: 20px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.quick-stat, .quick-copy { min-height: 82px; padding: 15px; background: rgba(18, 28, 48, .86); }
.quick-stat b { display: block; color: var(--gold); font-size: 1.55rem; }
.quick-stat span, .quick-copy span { color: var(--muted); font-size: .78rem; }
.quick-copy { display: grid; align-content: center; gap: 4px; padding-left: 25px; }
.quick-copy strong { font-size: 1rem; }
.section-block { padding-top: 40px; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}
.section-heading h2 { margin: 0; font-size: 2rem; }
.section-heading p:not(.eyebrow) {
  max-width: 650px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: .9rem;
}
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.category-tile {
  position: relative;
  min-height: 110px;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(24, 38, 64, .94), rgba(12, 21, 37, .94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .2s ease;
}
.category-tile:hover { transform: translateY(-3px); border-color: rgba(247, 185, 85, .45); }
.category-tile img { width: 64px; height: 88px; object-fit: cover; border-radius: 8px; }
.category-tile strong { display: block; margin-bottom: 6px; font-size: .92rem; }
.category-tile small { display: block; color: var(--muted); line-height: 1.45; font-size: .72rem; }
.category-tile > b { color: var(--gold); font-size: 1.5rem; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.movie-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.movie-card {
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 28, 48, .92), rgba(12, 19, 33, .92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: .22s ease;
  animation: card-in .6s both;
  animation-delay: var(--delay);
}
.movie-card:hover { transform: translateY(-4px); border-color: rgba(247, 185, 85, .43); box-shadow: 0 17px 35px rgba(0, 0, 0, .22); }
.movie-card[hidden] { display: none; }
.poster-link { display: block; }
.movie-card figure { position: relative; margin: 0; background: #200b1e; }
.movie-card figure img { width: 100%; aspect-ratio: 2 / 2.85; object-fit: cover; }
.score {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 6px;
  color: #20171a;
  background: var(--gold);
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 950;
}
.episode-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 6px;
  color: var(--text);
  background: rgba(7, 11, 22, .78);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 5px;
  font-size: .7rem;
}
.movie-card-body { padding: 10px 11px 12px; }
.card-kicker {
  overflow: hidden;
  color: var(--cyan);
  font-size: .66rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.movie-card h3 {
  margin: 5px 0 2px;
  overflow: hidden;
  font-size: .95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.movie-card p {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-meta { display: flex; justify-content: space-between; gap: 4px; margin-top: 8px; color: var(--muted); font-size: .71rem; }
.side-panel, .filter-panel, .side-note {
  padding: 16px;
  background: linear-gradient(145deg, rgba(18, 28, 48, .92), rgba(11, 18, 31, .96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.panel-heading h3 { margin: 0; font-size: 1rem; }
.panel-heading a { color: var(--gold); font-size: .75rem; }
.ranking-row {
  display: grid;
  grid-template-columns: 30px 42px minmax(0, 1fr) 35px;
  align-items: center;
  gap: 9px;
  min-height: 57px;
  border-bottom: 1px solid rgba(174, 191, 220, .1);
}
.ranking-row:last-child { border-bottom: 0; }
.rank-no { color: var(--orange); font-size: .8rem; }
.ranking-row img { width: 42px; height: 47px; object-fit: cover; border-radius: 5px; }
.ranking-row span { min-width: 0; }
.ranking-row strong, .ranking-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranking-row strong { font-size: .8rem; }
.ranking-row small { margin-top: 3px; color: var(--muted); font-size: .67rem; }
.ranking-row em { color: var(--gold); font-size: .8rem; font-style: normal; font-weight: 900; text-align: right; }
.keyword-band {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: center;
  margin: 42px 0 50px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(33, 49, 80, .9), rgba(21, 28, 54, .88));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.keyword-band h2 { margin-bottom: 8px; font-size: 1.55rem; }
.keyword-band p:not(.eyebrow) { margin: 0; color: var(--soft); line-height: 1.75; font-size: .9rem; }
.keyword-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.keyword-links a { padding: 12px; color: var(--soft); background: rgba(255, 255, 255, .07); border: 1px solid var(--line); border-radius: 8px; font-weight: 800; }

.page-content { padding-top: 32px; padding-bottom: 48px; }
.page-hero {
  display: flex;
  min-height: 225px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  background: linear-gradient(135deg, rgba(24, 38, 64, .93), rgba(12, 18, 35, .96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.page-hero h1 { margin: 0; font-size: 3.6rem; }
.page-hero p:not(.eyebrow) { max-width: 660px; margin: 13px 0 0; color: var(--soft); line-height: 1.75; }
.hero-count { min-width: 130px; padding: 16px; text-align: center; background: rgba(247, 185, 85, .14); border: 1px solid rgba(247, 185, 85, .35); border-radius: 10px; }
.hero-count b { display: block; color: var(--gold); font-size: 2rem; }
.hero-count span { color: var(--muted); font-size: .8rem; }
.filter-panel { margin-top: 18px; }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-pills a { padding: 8px 11px; color: var(--muted); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 7px; font-size: .78rem; }
.filter-pills a.active, .filter-pills a:hover { color: #201719; background: var(--gold); border-color: var(--gold); }
#sort-select { min-height: 35px; padding: 0 9px; color: var(--text); background: rgba(255, 255, 255, .07); border: 1px solid var(--line); border-radius: 7px; }
.archive-section { padding-top: 28px; }
.result-count { color: var(--muted); font-size: .8rem; }
.archive-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.category-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; padding-top: 24px; }
.directory-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 230px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(20, 31, 54, .94), rgba(11, 18, 31, .96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: .2s ease;
}
.directory-card:hover { transform: translateY(-4px); border-color: rgba(247, 185, 85, .45); }
.directory-card img { width: 160px; height: 100%; object-fit: cover; }
.directory-card div { padding: 25px 22px; }
.directory-card h2 { margin: 0 0 10px; font-size: 1.55rem; }
.directory-card p:not(.eyebrow) { color: var(--muted); line-height: 1.75; }
.directory-card span { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 900; font-size: .85rem; }
.ranking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; padding-top: 24px; }
.ranking-list { padding: 8px 18px; background: linear-gradient(145deg, rgba(18, 28, 48, .92), rgba(11, 18, 31, .96)); border: 1px solid var(--line); border-radius: var(--radius); }
.ranking-list .ranking-row { min-height: 74px; grid-template-columns: 40px 52px minmax(0, 1fr) 48px; }
.ranking-list .ranking-row img { width: 52px; height: 61px; }
.ranking-list .ranking-row strong { font-size: .9rem; }
.ranking-list .ranking-row small { font-size: .74rem; }
.ranking-list .ranking-row em { font-size: .95rem; }
.side-note h2 { margin: 0 0 9px; font-size: 1.25rem; }
.side-note > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; font-size: .86rem; }
.side-note > a { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid rgba(174, 191, 220, .12); color: var(--soft); font-size: .82rem; font-weight: 800; }
.side-note > a span { color: var(--gold); }
.search-page-form { margin-top: 18px; padding: 18px; background: rgba(18, 28, 48, .88); border: 1px solid var(--line); border-radius: var(--radius); }
.search-page-form form { display: flex; gap: 9px; }
.search-page-form input { width: 100%; height: 44px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 15px; color: var(--muted); font-size: .78rem; }
.breadcrumbs strong { color: var(--soft); }
.detail-hero {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(24, 38, 64, .95), rgba(11, 18, 31, .96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.detail-poster img { width: 260px; aspect-ratio: 2 / 2.85; object-fit: cover; border-radius: 10px; }
.detail-info { display: grid; align-content: center; padding: 12px 0; }
.detail-info h1 { margin: 0 0 4px; font-size: 3.8rem; }
.original-title { margin: 0; color: #9dfb9e; font-size: 1rem; font-weight: 800; }
.detail-summary { max-width: 720px; margin: 19px 0 0; color: var(--soft); line-height: 1.8; }
.player-section {
  margin-top: 26px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(18, 28, 48, .94), rgba(9, 15, 27, .98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.player-status { color: var(--cyan); font-size: .8rem; font-weight: 800; }
.player-shell { background: #020307; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; overflow: hidden; }
.player-shell video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #020307; }
.player-tip { padding: 9px 12px; color: var(--muted); background: rgba(255, 255, 255, .04); font-size: .76rem; }
.episode-panel { margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }
.episode-panel > div:first-child { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.episode-panel strong { font-size: .94rem; }
.episode-panel span { color: var(--muted); font-size: .76rem; }
.episode-list { display: flex; flex-wrap: wrap; gap: 7px; }
.episode-list button {
  min-width: 62px;
  min-height: 33px;
  color: var(--soft);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: .77rem;
}
.episode-list button:hover, .episode-list button.active { color: #201719; background: var(--gold); border-color: var(--gold); }
.detail-copy-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  margin-top: 26px;
  padding: 22px;
  background: rgba(18, 28, 48, .78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.detail-copy-section h2 { margin: 0 0 10px; font-size: 1.5rem; }
.detail-copy-section p:not(.eyebrow) { color: var(--soft); line-height: 1.85; }
.detail-copy-section aside { padding-left: 20px; border-left: 1px solid var(--line); }
.detail-copy-section h3 { margin: 0 0 10px; }
.detail-copy-section dl { margin: 0; }
.detail-copy-section dl div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(174, 191, 220, .1); font-size: .8rem; }
.detail-copy-section dt { color: var(--muted); }
.detail-copy-section dd { margin: 0; color: var(--soft); text-align: right; }
.related-section { padding-bottom: 15px; }

.site-footer {
  margin-top: 30px;
  padding: 35px max(32px, calc((100% - 1240px) / 2)) 18px;
  background: #150614;
  border-top: 1px solid var(--line);
}
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 35px; }
.footer-main p { max-width: 330px; color: var(--muted); line-height: 1.75; font-size: .8rem; }
.footer-main h3 { color: var(--gold); font-size: .9rem; }
.footer-main > div > a:not(.footer-brand) { display: block; margin: 8px 0; color: var(--muted); font-size: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; padding-top: 14px; color: #9a7699; border-top: 1px solid rgba(174, 191, 220, .1); font-size: .72rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .nav-wrap { grid-template-columns: auto 1fr auto; }
  .main-nav { justify-content: flex-end; }
  .search-form { display: none; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .movie-grid, .archive-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .content-layout { grid-template-columns: 1fr; }
  .side-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .panel-heading { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 18px; }
}
@media (max-width: 760px) {
  .nav-wrap { width: calc(100% - 20px); min-height: 64px; grid-template-columns: 1fr auto; }
  .main-nav { display: none; grid-column: 1 / -1; justify-content: flex-start; padding-bottom: 10px; }
  .site-header.open .main-nav { display: flex; }
  .menu-toggle { display: block; }
  .category-nav { width: calc(100% - 20px); }
  .hero { min-height: 610px; }
  .hero-slide { padding: 42px 20px; align-items: end; }
  .hero-content h1 { font-size: 3.2rem; }
  .section-heading h2 { font-size: 1.65rem; }
  .page-hero h1 { font-size: 2.7rem; }
  .quick-strip { grid-template-columns: repeat(3, 1fr); }
  .quick-copy { grid-column: 1 / -1; }
  .category-grid, .category-directory, .ranking-layout, .detail-copy-section { grid-template-columns: 1fr; }
  .movie-grid, .archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .keyword-band { grid-template-columns: 1fr; }
  .page-hero { padding: 24px; }
  .detail-hero { grid-template-columns: 150px 1fr; gap: 16px; padding: 14px; }
  .detail-poster img { width: 150px; }
  .detail-info h1 { font-size: 2rem; }
  .detail-summary { font-size: .84rem; line-height: 1.65; }
  .detail-actions { margin-top: 14px; }
  .detail-actions a { min-height: 36px; padding: 0 11px; font-size: .78rem; }
  .detail-copy-section aside { padding: 16px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 20px); }
  .hero { min-height: 650px; }
  .hero-content h1 { font-size: 2.75rem; }
  .hero-description { font-size: .88rem; }
  .hero-arrow { top: 38%; }
  .quick-stat { padding: 12px 8px; text-align: center; }
  .quick-stat b { font-size: 1.2rem; }
  .quick-stat span { font-size: .7rem; }
  .category-grid, .movie-grid, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { align-items: start; flex-direction: column; }
  .filter-row, .search-page-form form { align-items: stretch; flex-direction: column; }
  .directory-card { grid-template-columns: 110px 1fr; }
  .directory-card img { width: 110px; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-poster img { width: 180px; }
  .side-panel { display: block; }
}
