/* Layout 1:1 from https://www.csbxwl.com/ — theme: slate + coral (not copper/gold) */
:root {
  color-scheme: dark;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  --bg: #0e1118;
  --panel: #171c28;
  --panel-2: #1e2535;
  --copper: #ff7a6e;
  --gold: #ffb4a8;
  --cream: #f3ece6;
  --muted: #a89b94;
  --line: rgba(255, 122, 110, 0.24);
  --ink: #120a0c;
  --green: #5d8f78;
}

*,
*::before,
*::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--cream);
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(255, 122, 110, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 122, 110, 0.08) 0 1px, transparent 1px 92px),
    radial-gradient(circle at 80% 10%, rgba(255, 180, 168, 0.14), transparent 34%),
    linear-gradient(145deg, #0e1118 0%, #17131c 46%, #0a0d12 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: repeating-linear-gradient(0deg, transparent 0 7px, rgba(243, 236, 230, 0.16) 8px);
}
a { color: inherit; text-decoration: none; }
img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 0;
}
h1, h2, h3, p, figure, ul { margin-top: 0; }
button, select { font: inherit; }

.site-shell {
  width: min(1660px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
  padding: 18px clamp(14px, 3vw, 36px) 0;
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
}
.side-nav {
  position: sticky;
  top: 18px;
  height: calc(100vh - 36px);
  min-height: 680px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(30, 37, 53, 0.96), rgba(14, 17, 24, 0.9));
  border: 1px solid var(--line);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.36);
}
.brand { display: grid; gap: 7px; }
.brand strong { color: var(--gold); font-size: 1.48rem; line-height: 1.15; }
.brand span { color: var(--copper); font-size: 0.72rem; font-weight: 900; text-transform: uppercase; }
.side-nav nav { display: grid; align-content: start; gap: 10px; }
.side-nav nav a {
  padding: 12px 12px;
  color: var(--muted);
  border: 1px solid transparent;
  border-left: 4px solid transparent;
  font-weight: 850;
  touch-action: manipulation;
}
.side-nav nav a.active,
.side-nav nav a:hover {
  color: var(--cream);
  background: rgba(255, 122, 110, 0.12);
  border-color: var(--line);
  border-left-color: var(--gold);
}
.side-nav p,
.hero-copy p,
.page-title p,
.poster-card p,
.strip-card p,
.footer p,
.detail-copy p,
.ledger-row small {
  color: var(--muted);
  line-height: 1.76;
}
main { min-width: 0; }
.hero {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.5fr) minmax(260px, 0.42fr);
  gap: 18px;
  padding-top: 18px;
}
.hero-copy,
.ticker,
.score-board,
.page-title,
.filters,
.detail-copy {
  background: linear-gradient(145deg, rgba(30, 37, 53, 0.86), rgba(14, 17, 24, 0.92));
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}
.hero-copy {
  min-height: 548px;
  display: grid;
  align-content: center;
  padding: clamp(26px, 5vw, 70px);
  position: relative;
  overflow: hidden;
}
.hero-copy::after {
  content: "剧场";
  position: absolute;
  right: -10px;
  bottom: -26px;
  color: rgba(255, 180, 168, 0.08);
  font-size: clamp(7rem, 16vw, 15rem);
  font-weight: 950;
  line-height: 0.82;
}
.eyebrow {
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1 {
  max-width: 880px;
  margin-bottom: 18px;
  color: var(--cream);
  font-size: clamp(2.05rem, 3.75vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}
h2 { margin-bottom: 0; color: var(--gold); font-size: clamp(1.35rem, 2vw, 2.25rem); line-height: 1.15; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.action,
.ghost {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-weight: 950;
  border: 1px solid var(--gold);
}
.action { color: var(--ink); background: var(--gold); }
.ghost { color: var(--cream); background: rgba(255, 255, 255, 0.04); }
.feature-poster {
  min-height: 548px;
  background: #0a0d12;
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 10px;
}
.feature-poster a { position: relative; display: block; height: 100%; }
.feature-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0d12;
}
.feature-poster span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 950;
}
.ticker { min-height: 548px; padding: 18px; display: grid; grid-template-rows: auto 1fr; gap: 14px; }
.ledger-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.ledger-row b { color: var(--copper); font-size: 0.88rem; }
.ledger-row span { min-width: 0; display: grid; gap: 2px; font-weight: 900; }
.ledger-row small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.76rem; }
.ledger-row i {
  justify-self: end;
  color: var(--gold);
  font-style: normal;
  font-weight: 950;
}
.type-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.type-rail a {
  min-height: 156px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 4px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.type-rail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  filter: saturate(1.08) contrast(1.04);
}
.type-rail a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 8, 8, 0.05), rgba(12, 8, 8, 0.78));
  z-index: 0;
}
.type-rail strong,
.type-rail span { position: relative; z-index: 1; }
.type-rail strong { color: var(--gold); font-size: 1.05rem; }
.type-rail span { color: var(--muted); font-size: 0.82rem; }
.section { padding-top: 46px; }
.section.compact { padding-top: 20px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.section-head a { color: var(--gold); font-weight: 950; }
.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  gap: 14px;
}
.library-grid { grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); }
.poster-card,
.strip-card {
  min-width: 0;
  background: rgba(30, 37, 53, 0.74);
  border: 1px solid var(--line);
  overflow: hidden;
}
.poster-card a { display: grid; height: 100%; }
.poster-card figure,
.strip-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #0a0d12;
}
.poster-card figure { aspect-ratio: 2 / 3; }
.poster-card img,
.strip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
}
@media (prefers-reduced-motion: reduce) {
  .poster-card img,
  .strip-card img { transition: none; }
  .poster-card:hover img,
  .strip-card:hover img { transform: none; filter: none; }
}
.poster-card:hover img,
.strip-card:hover img { transform: scale(1.035); filter: saturate(1.12) contrast(1.04); }
figcaption {
  position: absolute;
  right: 8px;
  top: 8px;
  padding: 5px 7px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 950;
}
.poster-card div,
.strip-card div { display: grid; gap: 6px; padding: 12px; }
.poster-card span,
.strip-card span {
  width: max-content;
  max-width: 100%;
  padding: 3px 7px;
  color: var(--ink);
  background: var(--copper);
  font-size: 0.68rem;
  font-weight: 950;
}
.poster-card strong,
.strip-card strong {
  display: block;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.32;
  font-weight: 900;
}
.poster-card em,
.strip-card em { color: var(--gold); font-style: normal; font-size: 0.78rem; }
.dual-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.38fr);
  gap: 20px;
}
.week-grid { display: grid; gap: 10px; }
.strip-card a {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  min-height: 110px;
}
.strip-card figure { aspect-ratio: auto; height: 100%; }
.score-board { align-self: start; padding: 18px; }
.page-title { margin-top: 18px; padding: clamp(24px, 4vw, 48px); }
.page-title h1 { margin-bottom: 12px; font-size: clamp(2rem, 3.2vw, 3.6rem); }
.filters {
  margin-top: 16px;
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.filters > div { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button,
.filters .filter-btn,
.filters select,
.filters span {
  min-height: 40px;
  padding: 0 12px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-weight: 850;
  display: inline-flex;
  align-items: center;
}
.filters button.active,
.filters button:hover,
.filters .filter-btn.active,
.filters .filter-btn:hover { color: var(--ink); background: var(--gold); }
.filters select { color: var(--cream); }
.filters option { color: #111; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb i { font-style: normal; opacity: 0.55; }

.detail {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  padding-top: 18px;
}
.detail-poster {
  margin: 0;
  background: #0a0d12;
  border: 1px solid var(--line);
  overflow: hidden;
}
.detail-poster img { height: 100%; object-fit: cover; }
.detail-copy,
.watch-copy { padding: clamp(24px, 4vw, 48px); align-content: center; display: grid; }
.detail-copy .sub,
.watch-copy .sub { margin-top: -6px; color: var(--gold); font-size: 1.05rem; }
.facts { display: flex; flex-wrap: wrap; gap: 9px; margin: 10px 0 18px; }
.facts span {
  padding: 8px 10px;
  color: var(--cream);
  background: rgba(93, 143, 120, 0.18);
  border: 1px solid rgba(93, 143, 120, 0.48);
  font-weight: 850;
}
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.watch-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 18px;
  padding-top: 12px;
}
.player-box {
  background: #05070c;
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  min-height: 320px;
}
.player-box video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 720px);
  background: #000;
  object-fit: contain;
}
.watch-copy {
  background: linear-gradient(145deg, rgba(30, 37, 53, 0.86), rgba(14, 17, 24, 0.92));
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}
.footer {
  width: min(1660px, 100%);
  margin: 54px auto 0;
  padding: 28px clamp(16px, 3vw, 36px);
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(150px, 0.5fr));
  gap: 22px;
  background: #0a0d12;
  border-top: 1px solid var(--line);
}
.footer strong {
  display: block;
  color: var(--gold);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.footer > div > strong:first-child { font-size: 1.18rem; }
.footer a { display: block; color: var(--muted); margin: 7px 0; }

.seo-index { padding-bottom: max(40px, env(safe-area-inset-bottom, 0px)); }
.seo-note {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 14px;
  font-size: 0.92rem;
}
.seo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 14px;
}
.seo-list li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(30, 37, 53, 0.55);
  min-width: 0;
}
.seo-list a {
  color: var(--cream);
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.seo-list span {
  color: var(--muted);
  font-size: 0.76rem;
}

@media (max-width: 1180px) {
  .site-shell { grid-template-columns: 1fr; }
  .side-nav {
    position: static;
    min-height: auto;
    height: auto;
    grid-template-columns: 1fr;
  }
  .side-nav nav { display: flex; overflow-x: auto; padding-bottom: 4px; }
  .side-nav nav a { white-space: nowrap; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr); }
  .ticker { grid-column: 1 / -1; min-height: auto; }
}
@media (max-width: 860px) {
  .site-shell { padding-left: 12px; padding-right: 12px; }
  .hero, .dual-section, .detail, .watch-panel { grid-template-columns: 1fr; }
  .hero-copy, .feature-poster { min-height: auto; }
  .feature-poster { height: min(560px, 112vw); }
  .type-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2rem, 12vw, 3.2rem); }
  .player-box video { max-height: none; }
}
@media (max-width: 520px) {
  .type-rail { grid-template-columns: 1fr; }
  .strip-card a { grid-template-columns: 112px minmax(0, 1fr); }
  .vault-grid, .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .poster-card div, .strip-card div { padding: 9px; }
}
