/* 模板1 · ink-crimson · 深酒红编辑风 · 国产剧专题 */
:root {
  --moss: #991b1b;
  --moss-dark: #7f1d1d;
  --moss-deep: #1a0a0f;
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.16);
  --sage: #faf5f5;
  --sage-mid: #f3e8e8;
  --ink: #1c1014;
  --ink-soft: #3f2a30;
  --muted: #7a5c64;
  --panel: #fffafa;
  --line: rgba(153, 27, 27, 0.14);
  --soft: #fdf2f2;
  --shadow: 0 18px 50px rgba(26, 10, 15, 0.1);
  --accent: #991b1b;
  --accent-soft: rgba(153, 27, 27, 0.08);
  --highlight: #fbbf24;
  --bg-start: #fff5f5;
  --bg-mid: #fce7e7;
  --bg-end: #fff1f2;
  --footer-bg: #1a0a0f;
  --footer-text: #d4a5ae;
}

body.skin-ink-crimson {
  background: linear-gradient(168deg, var(--bg-start), var(--bg-mid) 42%, var(--bg-end)) !important;
}

.seo-top-strip {
  background: linear-gradient(90deg, #1a0a0f, #450a0a) !important;
  border-bottom-color: var(--amber) !important;
}

.site-header {
  background: rgba(255, 250, 250, 0.96) !important;
  border-bottom: 2px solid rgba(153, 27, 27, 0.12) !important;
}

.nav-rail {
  background: linear-gradient(90deg, rgba(153, 27, 27, 0.07), rgba(251, 191, 36, 0.05)) !important;
  border-bottom-color: var(--moss) !important;
}

.brand-mark {
  background: linear-gradient(135deg, #991b1b, #b91c1c) !important;
  color: #fff !important;
}

.nav-search button {
  background: var(--moss) !important;
  color: #fff !important;
}

.seo-brand-block {
  margin: 1.25rem auto 0;
  max-width: 1280px;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(120deg, #1a0a0f 0%, #450a0a 100%);
  border-radius: 16px;
  border-left: 5px solid var(--amber);
  box-shadow: var(--shadow);
}

.seo-brand-block__label {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a0a0f;
  background: var(--amber);
}

.seo-brand-block h1 {
  color: #fff !important;
  font-size: clamp(1.35rem, 3vw, 1.75rem) !important;
  line-height: 1.35 !important;
  max-width: 28ch;
}

.seo-brand-block p {
  color: rgba(255, 255, 255, 0.82) !important;
  max-width: 58ch;
  line-height: 1.65;
}

.vod-seo-strip {
  max-width: 1280px;
  margin: 1rem auto 0;
  padding: 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vod-seo-strip span {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--moss-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-section--forest {
  min-height: 280px !important;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  margin-top: 1rem;
}

.quick-search--forest {
  max-width: 1280px;
  margin: 1.25rem auto;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.quick-search--forest h2 {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
  color: var(--ink);
}

.quick-search--forest p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.section-block--chapter {
  max-width: 1280px;
  margin: 0 auto 2.5rem;
  padding: 0 22px;
}

.section-head h2 {
  color: var(--moss-dark) !important;
}

.chapter-index {
  color: var(--moss) !important;
  font-weight: 800;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.movie-card .poster-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 2/3;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.site-footer--forest {
  background: var(--footer-bg) !important;
}

@media (max-width: 1100px) {
  .movie-grid { grid-template-columns: repeat(4, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .movie-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-search--forest { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .movie-grid { grid-template-columns: repeat(2, 1fr); }
}
