*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg-deep: #140a09;
  --bg-panel: #1e0f0d;
  --bg-panel-2: #251210;
  --ink-blood: #4a120f;
  --red-dark: #6b1a15;
  --red-mid: #8c231b;
  --gold: #c9a45c;
  --gold-bright: #e8c877;
  --gold-dim: #8a6f3c;
  --parchment: #e8dcc4;
  --text-main: #d8c9b0;
  --text-dim: #9a8569;
  --line: rgba(201, 164, 92, 0.28);
  --line-soft: rgba(201, 164, 92, 0.14);
  --font-title: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
html {
  background: var(--bg-deep);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background:
    radial-gradient(ellipse 80% 45% at 50% 0%, rgba(140, 35, 27, 0.22), transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(107, 26, 21, 0.12), transparent 70%),
    var(--bg-deep);
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img, video { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
ul, ol { list-style: none; }
h1, h2 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.25;
  color: var(--parchment);
  letter-spacing: 0.04em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 10, 9, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
  max-width: 1440px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line-soft);
}
a[data-contract="site-name"].brand-mark {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  text-decoration: none;
  white-space: nowrap;
  padding-right: 10px;
  border-right: 2px solid var(--red-mid);
}
.header-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
a.header-nav-link {
  display: inline-block;
  padding: 5px 12px;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid transparent;
  letter-spacing: 0.08em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
a.header-nav-link:hover {
  color: var(--gold-bright);
  border-color: var(--line);
  background: rgba(140, 35, 27, 0.18);
}
.categories-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 20px;
  max-width: 1440px;
  margin: 0 auto;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 12px;
  font-size: 12px;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red-mid);
  background: rgba(30, 15, 13, 0.6);
  letter-spacing: 0.1em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
a.runtime-category:hover {
  color: var(--bg-deep);
  background: var(--gold);
  border-color: var(--gold);
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.section-title {
  font-size: 22px;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  padding: 6px 0 6px 14px;
  border-left: 4px solid var(--red-mid);
  margin: 34px 0 16px;
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: 0;
  width: 60px;
  height: 1px;
  background: var(--gold-dim);
}
.section-subtitle {
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px dashed var(--line-soft);
}
.hero-stage {
  position: relative;
  padding-top: 26px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  grid-template-areas:
    "poster ledger"
    "poster ledger";
  gap: 26px;
  align-items: start;
}
.hero-poster-column {
  grid-area: poster;
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: start;
}
.hero-poster-image {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red-mid);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 18px 40px rgba(0, 0, 0, 0.7);
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}
.hero-poster-caption {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  padding: 6px 0 0;
  border-top: 1px solid var(--line-soft);
  margin-top: 6px;
  text-align: center;
}
.hero-ledger {
  grid-area: ledger;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.hero-title-block {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.movie-title {
  font-size: 40px;
  letter-spacing: 0.1em;
  color: var(--parchment);
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(140, 35, 27, 0.6);
}
.movie-tagline {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-top: 8px;
}
.movie-seo {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-top: 8px;
  max-width: 62ch;
}
.hero-player-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.player-frame {
  position: relative;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red-mid);
  background: #000;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.66);
  width: 100%;
}
.player-frame video {
  display: block;
  width: 100%;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.control-chip {
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 11px;
  color: var(--text-main);
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--red-dark);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.control-chip:hover {
  background: var(--red-dark);
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
.control-chip.is-active {
  color: var(--bg-deep);
  background: var(--gold);
  border-color: var(--gold-bright);
  border-bottom-color: var(--red-mid);
}
.hero-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
}
.status-lamp, .status-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 16px;
  background: linear-gradient(180deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--line);
  border-left: 3px solid var(--red-mid);
  position: relative;
}
.status-score { border-left-color: var(--gold-dim); }
.status-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}
.status-value {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
}
.status-total {
  font-size: 12px;
  color: var(--text-dim);
  padding-left: 10px;
  border-left: 1px solid var(--line-soft);
}
.status-score .status-value {
  font-size: 22px;
  color: var(--gold-bright);
  text-shadow: 0 0 12px rgba(201, 164, 92, 0.4);
}
.hero-cast-block { min-width: 0; }
.cast-roster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.cast-unit {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  background: var(--bg-panel);
  position: relative;
}
.cast-unit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--red-mid);
  opacity: 0.7;
}
.cast-unit:nth-child(3n/**/+2)::before { background: var(--gold-dim); }
.cast-unit:nth-child(3n/**/+3)::before { background: var(--red-dark); }
.cast-name {
  font-family: var(--font-title);
  font-size: 15px;
  color: var(--parchment);
  letter-spacing: 0.08em;
}
.cast-role {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.hero-details-block { min-width: 0; }
.detail-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13px;
}
.detail-row dt {
  flex: 0 0 auto;
  min-width: 66px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  font-size: 12px;
}
.detail-row dd {
  flex: 1 1 auto;
  color: var(--text-main);
  min-width: 0;
}
.synopsis-panel {
  margin-top: 30px;
  padding: 20px 24px 22px;
  background: linear-gradient(180deg, rgba(37, 18, 16, 0.85), rgba(30, 15, 13, 0.9));
  border: 1px solid var(--line);
  border-top: 3px solid var(--red-mid);
  position: relative;
}
.synopsis-panel::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26px;
  height: 26px;
  border-right: 2px solid var(--gold-dim);
  border-bottom: 2px solid var(--gold-dim);
  opacity: 0.7;
}
.synopsis-panel .section-title { margin-top: 0; }
.synopsis-body {
  columns: 2;
  column-gap: 34px;
  column-rule: 1px dashed var(--line-soft);
}
.synopsis-paragraph {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-main);
  text-align: justify;
  margin-bottom: 12px;
  break-inside: avoid;
}
.synopsis-paragraph::first-letter {
  font-family: var(--font-title);
  font-size: 1.5em;
  color: var(--gold);
  line-height: 1;
}
.lamp-track-section { margin-top: 6px; }
.lamp-rail {
  position: relative;
  padding: 26px 0 14px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--line-soft);
  background:
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(201, 164, 92, 0.05) 39px 40px),
    linear-gradient(180deg, rgba(30, 15, 13, 0.7), rgba(20, 10, 9, 0.4));
}
.lamp-rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim) 6%, var(--gold-dim) 94%, transparent);
}
.lamp-track {
  display: flex;
  gap: 0;
  align-items: flex-start;
  min-width: 940px;
  padding: 0 8px;
  position: relative;
  z-index: 1;
}
.lamp-node {
  flex: 1 1 0;
  min-width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  position: relative;
  padding: 0 4px;
  cursor: pointer;
}
.lamp-bulb {
  position: relative;
  width: 40px;
  height: 40px;
  margin-top: 6px;
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: radial-gradient(circle at 50% 35%, rgba(232, 200, 119, 0.35), rgba(74, 18, 15, 0.9) 70%);
  border: 1px solid var(--gold-dim);
  border-radius: 50% 50% 42% 42%;
  box-shadow: 0 0 0 4px rgba(20, 10, 9, 0.9), 0 0 14px rgba(201, 164, 92, 0.22);
  transition: transform 0.2s, box-shadow 0.25s, color 0.2s, background 0.25s;
  z-index: 1;
}
.lamp-bulb::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12px;
  width: 1px;
  height: 12px;
  background: var(--gold-dim);
  transform: translateX(-50%);
}
.lamp-bulb:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 4px rgba(20, 10, 9, 0.9), 0 0 22px rgba(232, 200, 119, 0.5);
  color: var(--gold-bright);
}
.lamp-bulb.is-active {
  color: var(--bg-deep);
  background: radial-gradient(circle at 50% 35%, var(--gold-bright), var(--gold) 75%);
  box-shadow: 0 0 0 4px rgba(20, 10, 9, 0.9), 0 0 28px rgba(232, 200, 119, 0.75);
}
.lamp-timecode {
  font-size: 11px;
  color: var(--gold-dim);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}
.lamp-label {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.55;
  max-height: 2.9em;
  overflow: hidden;
  transition: max-height 0.3s ease, color 0.2s;
}
.lamp-node.is-open .lamp-label {
  max-height: 8em;
  overflow-y: auto;
  color: var(--text-main);
}
.lamp-node.is-open .lamp-timecode { color: var(--gold); }
.episode-section { margin-top: 6px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  gap: 4px 10px;
  align-items: baseline;
  padding: 10px 12px;
  background: linear-gradient(180deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--red-mid);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.episode-card:nth-child(3n/**/+2) { border-left-color: var(--gold-dim); }
.episode-card:nth-child(3n/**/+3) { border-left-color: var(--red-dark); }
.episode-card:hover {
  background: linear-gradient(180deg, rgba(140, 35, 27, 0.32), var(--bg-panel));
  border-color: var(--line);
  transform: translateY(-2px);
}
.episode-number {
  grid-area: num;
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-size: 13.5px;
  color: var(--parchment);
  letter-spacing: 0.04em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  grid-area: dur;
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-dim);
  border-top: 1px dashed var(--line-soft);
  padding-top: 5px;
  margin-top: 2px;
}
.comment-section { margin-top: 6px; }
.comment-columns {
  columns: 2;
  column-gap: 12px;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 11px 14px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(37, 18, 16, 0.7), rgba(30, 15, 13, 0.85));
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--red-dark);
  break-inside: avoid;
  position: relative;
}
.comment-card::before {
  content: "「";
  position: absolute;
  top: 2px;
  left: 6px;
  font-family: var(--font-title);
  font-size: 26px;
  color: var(--red-mid);
  opacity: 0.5;
  line-height: 1;
}
.comment-text {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-main);
  padding-left: 12px;
}
.comment-author {
  align-self: flex-end;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.comment-author::before {
  content: "— ";
  color: var(--gold-dim);
}
.ribbon-region {
  margin-top: 30px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.ribbon-region:last-of-type { border-bottom: none; }
.ribbon-title {
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--red-mid);
}
.ribbon-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
a.ribbon-item {
  flex: 1 1 200px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  color: var(--text-main);
  text-decoration: none;
  background: linear-gradient(180deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--line-soft);
  border-bottom: 2px solid var(--red-dark);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
a.ribbon-item:hover {
  border-color: var(--gold-dim);
  border-bottom-color: var(--gold);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(140, 35, 27, 0.28), var(--bg-panel));
}
[data-runtime="recommendation"] img, .ribbon-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  filter: saturate(0.9) brightness(0.94);
}
.ribbon-name {
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--parchment);
  letter-spacing: 0.05em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ribbon-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 20px;
  background: linear-gradient(180deg, rgba(30, 15, 13, 0.6), #0d0605);
  border-top: 1px solid var(--line);
  padding: 22px 20px 30px;
}
.footer-top {
  max-width: 1440px;
  margin: 0 auto 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-soft);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.1em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-dim);
}
.footer-friends {
  max-width: 1440px;
  margin: 0 auto 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.footer-friends-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  max-width: 1440px;
  margin: 0 auto;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(154, 133, 105, 0.75);
  letter-spacing: 0.03em;
}
.hero-stage.is-theater .hero-poster-column { display: none; }
.hero-stage.is-theater .hero-shell { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ledger"; }
.hero-stage.is-theater .hero-player-column { max-width: 100%; }
.hero-stage.is-lights-off .hero-poster-image, .hero-stage.is-lights-off .hero-poster-caption { opacity: 0.35; }
.hero-stage.is-lights-off .hero-title-block { opacity: 0.7; }
.hero-stage.is-lights-off .player-frame { box-shadow: 0 0 60px rgba(232, 200, 119, 0.18); }
.player-frame:fullscreen { width: 100vw; height: 100vh; }
.player-frame:fullscreen video { height: 100%; object-fit: contain; }
@media (max-width: 1080px) {.hero-shell {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 20px;
  }
.movie-title { font-size: 32px; }
.cast-roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 820px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "ledger";
    gap: 18px;
  }
.hero-poster-column {
    position: static;
    max-width: 280px;
    margin: 0 auto;
  }
.synopsis-body { columns: 1; column-rule: none; }
.comment-columns { columns: 1; }
.detail-ledger { grid-template-columns: minmax(0, 1fr); }
.movie-title { font-size: 28px; }
.section-title { font-size: 19px; }
a.ribbon-item { flex: 1 1 46%; max-width: none; }}
@media (max-width: 600px) {body { font-size: 14px; }
.page-main { padding: 0 14px 30px; }
.header-bar { padding: 9px 14px; gap: 10px; }
a[data-contract="site-name"].brand-mark { font-size: 17px; }
a.header-nav-link { padding: 4px 8px; font-size: 12px; }
.categories-strip { padding: 8px 14px; }
.movie-title { font-size: 24px; }
.movie-tagline { font-size: 14px; }
.movie-seo { font-size: 12px; }
.cast-roster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-name { font-size: 14px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-title { white-space: normal; }
.status-lamp, .status-score {
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 6px 10px;
  }
.synopsis-panel { padding: 16px 14px 18px; }
.synopsis-paragraph { font-size: 13px; }
a.ribbon-item { flex: 1 1 100%; max-width: none; }
.ribbon-title { font-size: 15px; }
.footer-friends { gap: 6px 12px; }
.footer-friends-label { border-right: none; padding-right: 0; }}
@media (max-width: 400px) {.lamp-track { min-width: 820px; }
.control-chip { font-size: 11px; padding: 4px 8px; }}

footer{text-align:center!important}
footer *{justify-content:center!important}
footer :is(div,nav,ul,ol,p,section,address){margin-left:auto!important;margin-right:auto!important}
