/* 外片放映室 · default 母版骨架 · paper-ink 纸感日间皮肤 */
:root {
  --pink: #c0392b;
  --blue: #8b7355;
  --green: #2c2416;
  --copper: #c0392b;
  --copper-light: #e74c3c;
  --copper-dark: #96281b;
  --copper-pale: rgba(192, 57, 43, 0.08);
  --brown-deep: #f7f3eb;
  --brown-mid: #f0ebe0;
  --brown-panel: #fffdf8;
  --brown-elevated: #ffffff;
  --beige: #1a1a1a;
  --beige-muted: #5c5752;
  --ink: #1a1a1a;
  --muted: #5c5752;
  --panel: #fffdf8;
  --line: rgba(26, 26, 26, 0.1);
  --soft: #f0ebe0;
  --shadow: 0 12px 40px rgba(26, 26, 26, 0.08);
  --shadow-card: 0 4px 16px rgba(26, 26, 26, 0.06);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--brown-deep);
  background-image:
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(192, 57, 43, 0.04), transparent),
    linear-gradient(180deg, #f7f3eb 0%, #f0ebe0 50%, #f7f3eb 100%);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img { display: block; max-width: 100%; }

a {
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* ── 顶栏条带 ── */
.header-strip {
  background: var(--brown-mid);
  border-bottom: 1px solid var(--line);
}

.header-strip__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7px 22px;
  font-size: 12px;
  font-weight: 600;
  color: var(--beige-muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-strip__inner::before {
  content: "◆ ";
  color: var(--copper);
  font-size: 10px;
}

/* ── 头部导航 ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 16px rgba(26, 26, 26, 0.06);
}

.site-header::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--copper) 20%, var(--copper-light) 50%, var(--copper) 80%, transparent);
  opacity: 0.65;
}

.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 0 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: transparent;
  color: var(--copper-light);
  font-size: 14px;
  border: 1.5px solid var(--copper);
  box-shadow: inset 0 0 0 1px rgba(192, 57, 43, 0.12);
}

.brand-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--beige);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  color: var(--beige-muted);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
}

.main-nav a:hover {
  color: var(--beige);
  background: var(--brown-elevated);
  border-color: var(--line);
}

.nav-search {
  display: flex;
  align-items: center;
  background: var(--brown-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.nav-search input {
  width: 200px;
  padding: 9px 14px;
  outline: none;
  background: transparent;
  color: var(--beige);
  border: none;
}

.nav-search input::placeholder { color: var(--beige-muted); }

.nav-search button {
  padding: 9px 16px;
  background: var(--copper);
  color: #fff;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

.nav-search button:hover { background: var(--copper-light); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brown-elevated);
  color: var(--beige);
  font-size: 20px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 22px 64px;
}

/* ── 首屏轮播（紧凑影视首屏） ── */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  background: var(--brown-panel);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-section.hero-compact { min-height: 380px; }

.hero-glow {
  position: absolute;
  inset: auto -10% -50% auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(192, 57, 43, 0.06), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 40px 44px;
  opacity: 0;
  transform: translateX(16px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.eyebrow span,
.eyebrow.solo {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  background: var(--copper-pale);
  color: var(--copper-light);
  font-weight: 800;
  font-size: 12px;
  border: 1px solid rgba(192, 57, 43, 0.2);
  letter-spacing: 0.04em;
}

.hero-copy h1,
.hero-copy h2,
.compact-hero h1 {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  color: var(--beige);
}

.hero-copy p,
.compact-hero p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--beige-muted);
  max-width: 540px;
  margin: 0 0 20px;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-row span,
.tag-cloud a {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: var(--brown-elevated);
  color: var(--beige-muted);
  font-weight: 700;
  font-size: 12px;
  border: 1px solid var(--line);
  text-decoration: none;
}

.hero-tags span:hover,
.tag-cloud a:hover {
  border-color: rgba(192, 57, 43, 0.4);
  color: var(--copper-light);
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

.primary-btn {
  background: var(--copper);
  color: #fff;
  border: none;
}

.primary-btn:hover {
  transform: translateY(-1px);
  background: var(--copper-light);
}

.ghost-btn {
  background: transparent;
  color: var(--beige-muted);
  border: 1px solid var(--line);
}

.ghost-btn:hover {
  color: var(--beige);
  border-color: rgba(192, 57, 43, 0.45);
}

.hero-visual {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(26, 26, 26, 0.12);
  border: 1px solid var(--line);
  transition: transform 0.3s ease;
}

.hero-visual:hover { transform: scale(1.01); }

.hero-visual img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--brown-elevated);
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  color: #fff;
  background: linear-gradient(0deg, rgba(20, 16, 12, 0.88), transparent);
}

.hero-caption strong { display: block; font-size: 20px; }

.hero-caption em {
  display: block;
  font-style: normal;
  color: var(--beige-muted);
  margin-top: 4px;
  font-size: 13px;
}

.hero-control {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
}

.hero-control button {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--brown-elevated);
  color: var(--beige);
  font-size: 20px;
  font-weight: 900;
  border: 1px solid var(--line);
  cursor: pointer;
}

.hero-control button:hover {
  border-color: var(--copper);
  color: var(--copper-light);
}

.hero-dots { display: flex; gap: 6px; }

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(196, 184, 168, 0.3);
  cursor: pointer;
}

.hero-dots button.active {
  width: 24px;
  background: var(--copper);
}

/* ── 快速搜索 ── */
.quick-search {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 36px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: var(--brown-panel);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

.quick-search h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--beige);
  margin: 0;
}

.quick-search form {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--brown-elevated);
}

.quick-search input {
  flex: 1;
  padding: 13px 16px;
  outline: none;
  border: none;
  background: transparent;
  color: var(--beige);
}

.quick-search input::placeholder { color: var(--beige-muted); }

.quick-search button {
  padding: 0 22px;
  background: var(--copper);
  color: #fff;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

.quick-search button:hover { background: var(--copper-light); }

/* ── 区块标题 ── */
.section-block { margin-bottom: 44px; }

.showcase-block {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--brown-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.section-head--copper,
.section-head--ink { border-bottom-color: rgba(192, 57, 43, 0.2); }

.section-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-head h2 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--beige);
  margin: 0;
}

.section-head a {
  color: var(--copper-light);
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}

.section-head a:hover { color: var(--beige); }

.section-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--copper-pale);
  color: var(--copper-light);
  font-weight: 900;
  font-size: 13px;
  border: 1px solid rgba(192, 57, 43, 0.2);
}

/* ── 影片卡片（铜框底纹 + 播放遮罩） ── */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.showcase-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--brown-elevated);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.movie-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--copper);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.movie-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.12);
  border-color: rgba(192, 57, 43, 0.35);
}

.movie-card:hover::before { opacity: 1; }

.poster-link { display: block; text-decoration: none; }

.poster-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--brown-mid);
  aspect-ratio: 3/4;
}

.poster-frame::after {
  content: "▶";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--beige);
  background: rgba(26, 26, 26, 0.45);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.movie-card:hover .poster-frame::after { opacity: 1; }

.poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .poster-frame img { transform: scale(1.05); }

.image-off { opacity: 0; }

.rank-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 3;
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--copper);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
}

.movie-card-body { padding: 14px; }

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--beige-muted);
  font-weight: 700;
  font-size: 11px;
  margin-bottom: 6px;
}

.movie-card h3 {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--beige);
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card h3 a {
  color: inherit;
  text-decoration: none;
}

.movie-card h3 a:hover { color: var(--copper-light); }

.movie-card p {
  color: var(--beige-muted);
  line-height: 1.55;
  font-size: 12px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 8px;
}

.card-actions a {
  display: inline-flex;
  border-radius: var(--radius-sm);
  padding: 6px 11px;
  background: var(--copper-pale);
  color: var(--copper-light);
  font-weight: 800;
  font-size: 11px;
  text-decoration: none;
  border: 1px solid rgba(192, 57, 43, 0.2);
}

.card-actions a:hover {
  background: var(--copper);
  color: #fff;
}

.card-actions span {
  color: var(--beige-muted);
  font-size: 11px;
  font-weight: 700;
}

.card-compact {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  min-height: 148px;
}

.card-compact .poster-frame { height: 100%; aspect-ratio: auto; }

.card-compact .poster-frame::after { font-size: 16px; }

.card-compact .movie-card-body { padding: 12px; }

.card-compact h3 { font-size: 15px; }

.soft-panel {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--brown-panel);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 320px;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 14px;
}

/* ── 分类入口 ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.category-tile,
.overview-card {
  display: block;
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--brown-elevated);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover,
.overview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 26, 26, 0.1);
  border-color: rgba(192, 57, 43, 0.4);
}

.category-tile strong,
.overview-main strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--beige);
}

.category-tile span,
.overview-main span {
  display: block;
  color: var(--beige-muted);
  line-height: 1.6;
  font-size: 13px;
}

.rank-panel {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--brown-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.rank-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* ── 内页 Hero ── */
.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  background: var(--brown-panel);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

.compact-hero { padding: 36px; }

.compact-hero h1 { font-size: clamp(26px, 3.8vw, 42px); }

.filter-panel {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 10px;
  padding: 16px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: var(--brown-elevated);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--brown-panel);
  padding: 11px 14px;
  outline: none;
  color: var(--beige);
  font-weight: 700;
  font-size: 13px;
}

.filter-panel input::placeholder { color: var(--beige-muted); }

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(192, 57, 43, 0.45);
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.08);
}

.empty-state {
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--brown-elevated);
  text-align: center;
  color: var(--beige-muted);
  font-weight: 800;
  border: 1px dashed var(--line);
}

.category-grid.large { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.overview-card { display: grid; gap: 14px; }

.overview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.overview-links a {
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  background: var(--copper-pale);
  color: var(--copper-light);
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--beige-muted);
  font-weight: 700;
  font-size: 12px;
}

.breadcrumb a {
  color: var(--copper-light);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--beige); }

/* ── 播放页 ── */
.detail-hero {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  margin-bottom: 28px;
  border-radius: var(--radius-lg);
  background: var(--brown-panel);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(26, 26, 26, 0.1);
  background: var(--brown-elevated);
  border: 1px solid var(--line);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.detail-info h1 {
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--beige);
}

.detail-info p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--beige-muted);
  margin: 0;
}

.player-section,
.content-card {
  border-radius: var(--radius-lg);
  background: var(--brown-panel);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

.player-section {
  padding: 22px;
  margin-bottom: 28px;
}

.player-section h2,
.content-card h2 {
  font-size: 20px;
  font-weight: 900;
  color: var(--beige);
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 3px solid var(--copper);
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #0a0806;
  border: 1px solid var(--line);
}

.player-box video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #0a0806;
}

.video-error[hidden] { display: none !important; }

.video-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--beige);
  background: rgba(20, 16, 12, 0.88);
  font-weight: 800;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
  margin-bottom: 36px;
}

.content-card { padding: 22px; }

.prose-card p {
  color: var(--beige-muted);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 18px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.side-meta ul {
  display: grid;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-meta li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.side-meta span {
  color: var(--beige-muted);
  font-weight: 800;
  font-size: 12px;
}

.side-meta strong {
  text-align: right;
  color: var(--beige);
  font-size: 13px;
}

.side-link {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  background: var(--copper);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.side-link:hover { background: var(--copper-light); }

.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ── 页脚（双层铜线结构） ── */
.site-footer {
  margin-top: 20px;
  background: var(--brown-mid);
  color: var(--beige-muted);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--copper-dark) 30%, var(--copper) 50%, var(--copper-dark) 70%, transparent);
  opacity: 0.5;
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 22px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.footer-brand__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--beige);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-brand__logo .brand-mark {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

.footer-brand p {
  margin: 0;
  line-height: 1.7;
  font-size: 13px;
  font-weight: 600;
  color: var(--beige-muted);
  max-width: 400px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav strong {
  color: var(--beige);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.footer-nav a {
  color: var(--beige-muted);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

.footer-nav a:hover { color: var(--copper-light); }

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 22px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--beige-muted);
  font-weight: 700;
  font-size: 12px;
}

.footer-inner a {
  color: var(--copper-light);
  text-decoration: none;
}

.footer-inner a:hover { color: var(--beige); }

/* ── SEO 品牌区 ── */
.seo-brand-block {
  margin: 0 0 32px;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  background: var(--brown-panel);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--copper);
}

.seo-brand-block h1 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.8vw, 28px);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--beige);
}

.seo-brand-block p {
  margin: 0;
  color: var(--beige-muted);
  line-height: 1.7;
  font-size: 14px;
  max-width: 880px;
}

/* ── 响应式 ── */
@media (max-width: 1100px) {
  .movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .showcase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-slide { grid-template-columns: 1fr; padding: 32px; }
  .hero-visual { max-width: 560px; }
  .hero-section { min-height: 640px; }
  .hero-section.hero-compact { min-height: 600px; }
  .detail-hero { grid-template-columns: 240px 1fr; }
  .filter-panel { grid-template-columns: 1fr 1fr; }
  .rank-list { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .header-strip__inner { padding: 6px 16px; font-size: 11px; }

  .nav-wrap {
    min-height: 58px;
    gap: 10px;
    padding: 0 16px;
  }

  .main-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 4px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: var(--radius-md);
    background: var(--brown-panel);
    border: 1px solid var(--line);
    box-shadow: 0 16px 48px rgba(26, 26, 26, 0.12);
  }

  .main-nav.open { display: flex; }

  .main-nav a { padding: 11px 14px; }

  .nav-search { margin-left: auto; }

  .nav-search input { display: none; }

  .nav-search button { padding: 9px 13px; }

  .nav-toggle { display: block; }

  .page-main { padding: 20px 16px 44px; }

  .hero-section {
    min-height: auto;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 24px 18px 64px;
  }

  .hero-visual { order: -1; max-width: none; }

  .hero-control { left: 18px; right: 18px; bottom: 14px; }

  .quick-search { grid-template-columns: 1fr; padding: 18px; }

  .showcase-block { padding: 18px; }

  .showcase-grid,
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .category-grid,
  .category-grid.large { grid-template-columns: 1fr; }

  .scroll-row { grid-auto-columns: 280px; }

  .detail-hero { grid-template-columns: 1fr; }

  .detail-poster { max-width: 260px; }

  .detail-grid { grid-template-columns: 1fr; }

  .filter-panel { grid-template-columns: 1fr; }

  .card-compact { grid-template-columns: 96px minmax(0, 1fr); }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 16px 20px;
  }

  .seo-brand-block {
    padding: 16px;
    margin-bottom: 24px;
  }
}

@media (max-width: 540px) {
  .brand-text { font-size: 18px; }

  .nav-wrap { padding: 0 14px; }

  .hero-slide { padding: 18px 14px 60px; }

  .hero-copy h1,
  .hero-copy h2 { font-size: 28px; }

  .hero-copy p,
  .detail-info p { font-size: 14px; }

  .hero-caption strong { font-size: 16px; }

  .showcase-grid,
  .movie-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .card-compact { grid-template-columns: 88px minmax(0, 1fr); }

  .compact-hero { padding: 24px; }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-hero,
  .player-section,
  .content-card { padding: 16px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px 18px;
  }

  .seo-brand-block h1 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .movie-card,
  .poster-frame img,
  .hero-visual {
    transition: none;
  }
}
