*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:root {
  --iron: #1b1f24;
  --iron-deep: #101317;
  --iron-soft: #232a31;
  --steel: #2c343d;
  --steel-line: #3a444e;
  --cyan: #3f5460;
  --cyan-dim: #6d8a97;
  --blood: #8c1f1f;
  --blood-bright: #b52a24;
  --ember: #d4713a;
  --ember-soft: #a8542a;
  --ash: #8b949c;
  --ash-dim: #5e6871;
  --bone: #d8d2c6;
  --bone-dim: #a89f90;
  --ink: #0a0c0e;
  --font-title: "Songti SC", "SimSun", "STSong", "Noto Serif SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --gap-tight: 8px;
  --gap: 12px;
  --gap-wide: 20px;
  --rule: 1px solid var(--steel-line);
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--iron-deep);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #14181c 0%, rgba(16, 19, 23, 0.94) 100%);
  border-bottom: 1px solid var(--steel-line);
  box-shadow: 0 6px 18px -12px #000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 10px 16px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--bone);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(140, 31, 31, 0.45);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: var(--ember); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 4px 11px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cyan-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--steel-line);
  background: rgba(44, 52, 61, 0.4);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--bone);
  border-color: var(--blood);
  background: rgba(140, 31, 31, 0.28);
}
.hero-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(63, 84, 96, 0.35) 0%, rgba(16, 19, 23, 0) 62%),
    linear-gradient(180deg, #0d1013 0%, #1b1f24 55%, #14181c 100%);
  border-bottom: 1px solid var(--steel-line);
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-poster {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  filter: grayscale(0.55) brightness(0.42) contrast(1.12) sepia(0.18);
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 42%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 0%, #000 42%, #000 100%);
}
.hero-embers {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 78%, rgba(212, 113, 58, 0.85), transparent 70%),
    radial-gradient(1.4px 1.4px at 28% 42%, rgba(181, 42, 36, 0.7), transparent 70%),
    radial-gradient(1.8px 1.8px at 44% 88%, rgba(212, 113, 58, 0.6), transparent 70%),
    radial-gradient(1.2px 1.2px at 61% 30%, rgba(212, 113, 58, 0.75), transparent 70%),
    radial-gradient(1.6px 1.6px at 73% 66%, rgba(181, 42, 36, 0.55), transparent 70%),
    radial-gradient(1.3px 1.3px at 86% 22%, rgba(212, 113, 58, 0.7), transparent 70%),
    radial-gradient(1.5px 1.5px at 92% 74%, rgba(181, 42, 36, 0.6), transparent 70%),
    radial-gradient(1.1px 1.1px at 7% 24%, rgba(212, 113, 58, 0.5), transparent 70%);
  background-repeat: no-repeat;
  opacity: 0.85;
  animation: ember-drift 11s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes ember-drift {
  0% { transform: translate3d(0, 6px, 0); opacity: 0.55; }
  50% { transform: translate3d(-4px, -8px, 0); opacity: 0.9; }
  100% { transform: translate3d(6px, -18px, 0); opacity: 0.7; }
}
.hero-plaque {
  position: absolute;
  top: 6%;
  left: 3%;
  display: flex;
  gap: 4px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}
.plaque-shard {
  font-family: var(--font-title);
  font-size: clamp(30px, 6vw, 62px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  background: linear-gradient(160deg, #6b7076 0%, #2b3138 60%, #15181c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.55);
  transform: rotate(-2deg);
}
.plaque-shard:nth-child(1) { transform: rotate(-6deg) translateY(6px); opacity: 0.5; }
.plaque-shard:nth-child(2) { transform: rotate(3deg) translateY(-4px); opacity: 0.72; }
.plaque-shard:nth-child(3) { transform: rotate(-1deg) translateY(10px); opacity: 0.4; }
.hero-figure {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(420px, 62vw);
  height: 82%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(52% 34% at 50% 12%, rgba(10, 12, 14, 0.98) 0%, rgba(10, 12, 14, 0.86) 55%, rgba(10, 12, 14, 0) 100%),
    linear-gradient(180deg, rgba(10, 12, 14, 0.94) 0%, rgba(10, 12, 14, 0.9) 46%, rgba(16, 19, 23, 0.55) 78%, rgba(16, 19, 23, 0) 100%);
  -webkit-mask-image: radial-gradient(70% 62% at 50% 34%, #000 0%, #000 58%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(70% 62% at 50% 34%, #000 0%, #000 58%, rgba(0, 0, 0, 0) 100%);
  filter: blur(0.3px);
  box-shadow: 0 0 90px -10px rgba(140, 31, 31, 0.35);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 26% at 50% 22%, rgba(212, 113, 58, 0.22), transparent 70%),
    radial-gradient(120% 60% at 50% 100%, rgba(140, 31, 31, 0.28), transparent 72%);
}
.hero-caption {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(56px, 14vw, 132px) 18px clamp(24px, 5vw, 40px);
  text-align: center;
}
.movie-title {
  font-family: var(--font-title);
  font-size: clamp(30px, 6.4vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.1em;
  color: var(--bone);
  text-shadow:
    0 0 24px rgba(140, 31, 31, 0.6),
    0 3px 10px rgba(0, 0, 0, 0.85);
}
.movie-tagline {
  margin-top: 10px;
  font-family: var(--font-title);
  font-size: clamp(13px, 2.2vw, 17px);
  letter-spacing: 0.32em;
  color: var(--ember);
  text-shadow: 0 0 12px rgba(212, 113, 58, 0.4);
}
.movie-seo {
  margin: 14px auto 0;
  max-width: 620px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ash);
  letter-spacing: 0.02em;
}
.overview-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px var(--gap-wide);
}
.cast-block, .synopsis-block, .status-block, .details-block {
  background: linear-gradient(180deg, rgba(35, 42, 49, 0.92) 0%, rgba(20, 24, 28, 0.92) 100%);
  border: 1px solid var(--steel-line);
  border-top: 2px solid var(--blood);
  padding: 12px 14px 14px;
  min-width: 0;
}
.cast-block { grid-column: span 7; }
.synopsis-block { grid-column: span 5; }
.status-block { grid-column: span 3; }
.details-block { grid-column: span 9; }
.block-heading {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ember);
  padding-bottom: 7px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(58, 68, 78, 0.9);
}
.block-heading::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  vertical-align: 2px;
  background: var(--blood-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(181, 42, 36, 0.8);
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: flex-start;
}
.cast-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.cast-chip:nth-child(even) { transform: translateY(9px); }
.cast-avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(140, 31, 31, 0.85), rgba(16, 19, 23, 0.95) 68%),
    var(--iron);
  border: 1px solid var(--steel-line);
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, 0.85),
    0 0 0 2px rgba(16, 19, 23, 0.9),
    0 0 12px -2px rgba(140, 31, 31, 0.6);
}
.cast-name {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--bone);
  white-space: nowrap;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.82;
  color: var(--ash);
  text-align: justify;
  letter-spacing: 0.01em;
}
.synopsis-para + .synopsis-para {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed rgba(58, 68, 78, 0.7);
}
.status-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
}
.status-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 9px;
  background: rgba(16, 19, 23, 0.72);
  border-left: 2px solid var(--blood);
}
.status-key {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ash-dim);
}
.status-value {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ember);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 0 16px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(58, 68, 78, 0.65);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ash-dim);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: var(--bone-dim);
  text-align: right;
  overflow-wrap: anywhere;
}
.player-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--gap-wide) 16px;
  background: transparent;
  transition: background 0.25s ease;
}
.player-frame {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid var(--steel-line);
  box-shadow: 0 18px 46px -26px #000, inset 0 0 0 1px rgba(140, 31, 31, 0.12);
  overflow: hidden;
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(35, 42, 49, 0.95), rgba(16, 19, 23, 0.95));
  border: 1px solid var(--steel-line);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 5px 11px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
  background: rgba(44, 52, 61, 0.55);
  border: 1px solid var(--steel-line);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: var(--bone);
  background: rgba(140, 31, 31, 0.45);
  border-color: var(--blood-bright);
}
.ctrl-progress {
  flex: 1 1 200px;
  min-width: 120px;
  height: 6px;
  margin: 0 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--blood) 0%, var(--ember-soft) 100%);
  border: 1px solid var(--steel-line);
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 16px;
  background: var(--ember);
  border: 1px solid #000;
  box-shadow: 0 0 8px rgba(212, 113, 58, 0.7);
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 12px;
  height: 16px;
  border-radius: 0;
  background: var(--ember);
  border: 1px solid #000;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 110px;
  min-width: 70px;
  height: 6px;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(63, 84, 96, 0.85);
  border: 1px solid var(--steel-line);
  cursor: pointer;
}
.ctrl-speed {
  flex: 0 0 auto;
  padding: 5px 8px;
  font-size: 12px;
  color: var(--bone-dim);
  background: rgba(44, 52, 61, 0.55);
  border: 1px solid var(--steel-line);
  cursor: pointer;
}
.ctrl-speed:focus-visible { outline: 1px solid var(--ember); }
.player-shell.theater-mode {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.player-shell.theater-mode .player-frame {
  border-left: 0;
  border-right: 0;
}
.player-shell.theater-mode .player-controls {
  border-left: 0;
  border-right: 0;
}
.player-shell.lights-off {
  background: #000;
}
.player-shell.lights-off .player-controls {
  background: #05070a;
  border-color: #1a1e23;
}
.player-shell.lights-off .ctrl-btn, .player-shell.lights-off .ctrl-speed {
  color: var(--ash-dim);
  background: #0b0e11;
  border-color: #1a1e23;
}
.player-shell.lights-off .ctrl-btn:hover {
  color: var(--ember);
  background: rgba(140, 31, 31, 0.3);
}
.player .progress, .player .volume, .player .speed, .player .timeupdate, .player .input, .player .click, .player .change, .player .data-player-action {
  
}
.section-heading {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--bone);
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--steel-line);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 76px;
  height: 2px;
  background: linear-gradient(90deg, var(--blood-bright), var(--ember));
}
.timeline-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--gap-wide) 16px;
  width: 100%;
}
.timeline-axis {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  padding: 4px 0;
}
.timeline-axis::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(140, 31, 31, 0.15) 0%, rgba(140, 31, 31, 0.9) 12%, rgba(212, 113, 58, 0.7) 55%, rgba(140, 31, 31, 0.9) 88%, rgba(140, 31, 31, 0.15) 100%);
  box-shadow: 0 0 12px rgba(140, 31, 31, 0.45);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 96px 1fr;
  align-items: center;
  gap: 0;
  min-width: 0;
}
.timeline-seal {
  grid-column: 2;
  justify-self: center;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f3ded2;
  background:
    radial-gradient(circle at 36% 30%, rgba(181, 42, 36, 0.95), rgba(88, 16, 16, 0.98) 72%),
    var(--blood);
  border: 2px solid rgba(212, 113, 58, 0.55);
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.75),
    0 0 0 4px rgba(16, 19, 23, 0.9),
    0 0 16px -2px rgba(181, 42, 36, 0.75);
  transform: rotate(-3deg);
}
.timeline-body {
  min-width: 0;
  background: linear-gradient(180deg, rgba(35, 42, 49, 0.9), rgba(20, 24, 28, 0.9));
  border: 1px solid var(--steel-line);
  border-left: 2px solid var(--blood);
  padding: 9px 12px;
}
.timeline-node-left .timeline-body {
  grid-column: 1;
  text-align: right;
  border-left: 1px solid var(--steel-line);
  border-right: 2px solid var(--blood);
}
.timeline-node-right .timeline-body { grid-column: 3; }
.timeline-timecode {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ember);
  margin-bottom: 3px;
}
.timeline-label {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ash);
}
.episodes-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--gap-wide) 16px;
  width: 100%;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--steel-line);
  border-left: 1px solid var(--steel-line);
}
.episode-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-content: start;
  padding: 11px 12px;
  border-right: 1px solid var(--steel-line);
  border-bottom: 1px solid var(--steel-line);
  background: linear-gradient(180deg, rgba(27, 31, 36, 0.9), rgba(20, 24, 28, 0.9));
  min-width: 0;
  transition: background 0.15s ease;
}
.episode-card:hover {
  background: linear-gradient(180deg, rgba(44, 52, 61, 0.95), rgba(24, 28, 33, 0.95));
}
.episode-number {
  grid-row: 1 / span 2;
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(160deg, var(--ember) 0%, var(--blood) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  padding-top: 2px;
}
.episode-title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bone);
  align-self: end;
}
.episode-summary {
  grid-column: 2;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ash-dim);
}
.episode-duration {
  grid-column: 2;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan-dim);
  border-top: 1px dotted rgba(58, 68, 78, 0.8);
  padding-top: 4px;
  margin-top: 4px;
}
.comments-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--gap-wide) 16px;
  width: 100%;
}
.comment-columns {
  columns: 2;
  column-gap: 14px;
  column-rule: 1px solid rgba(58, 68, 78, 0.7);
}
.comment-card {
  break-inside: avoid;
  page-break-inside: avoid;
  display: block;
  margin: 0 0 10px;
  padding: 9px 11px;
  background: linear-gradient(180deg, rgba(35, 42, 49, 0.85), rgba(20, 24, 28, 0.85));
  border: 1px solid var(--steel-line);
  border-left: 2px solid var(--cyan);
  min-width: 0;
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px dotted rgba(58, 68, 78, 0.75);
}
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(63, 84, 96, 0.95), rgba(16, 19, 23, 0.98) 70%),
    var(--iron);
  border: 1px solid var(--steel-line);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8);
}
.comment-nickname {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--ash);
  text-align: justify;
}
.rec-region {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px var(--gap-wide);
  width: 100%;
}
.rec-heading {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--bone);
  padding: 9px 0 7px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--steel-line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.rec-heading::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--blood-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(181, 42, 36, 0.8);
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.rec-item {
  min-width: 0;
  display: flex;
}
a.rec-link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  min-width: 0;
  padding: 8px;
  background: linear-gradient(180deg, rgba(27, 31, 36, 0.92), rgba(18, 21, 25, 0.92));
  border: 1px solid var(--steel-line);
  color: var(--bone-dim);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
a.rec-link:hover, a.rec-link:focus-visible {
  border-color: var(--blood);
  background: linear-gradient(180deg, rgba(44, 52, 61, 0.95), rgba(24, 28, 33, 0.95));
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 132px;
  object-fit: cover;
  object-position: center;
  background: var(--iron);
  border: 1px solid rgba(58, 68, 78, 0.8);
  filter: grayscale(0.3) brightness(0.9);
  transition: filter 0.2s ease;
}
a.rec-link:hover img, a.rec-link:focus-visible img {
  filter: grayscale(0) brightness(1);
}
.rec-name {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ash-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-region[data-recommendation-region="1"] .rec-heading::before { background: var(--ember); }
.site-footer {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--gap-wide) 16px calc(var(--gap-wide) + 8px);
  border-top: 1px solid var(--steel-line);
  background: linear-gradient(180deg, rgba(16, 19, 23, 0) 0%, rgba(10, 12, 14, 0.9) 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--cyan-dim);
  text-decoration: none;
  padding: 3px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ember);
  border-bottom-color: var(--blood);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 9px 11px;
  background: rgba(27, 31, 36, 0.7);
  border: 1px solid var(--steel-line);
}
.friend-links-label {
  flex: 0 0 auto;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ember);
  padding-right: 8px;
  border-right: 1px solid var(--steel-line);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--ash-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--bone);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--ash-dim);
  letter-spacing: 0.02em;
  max-width: 900px;
}
@media (max-width: 1024px) {.detail-list { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
a.rec-link img { height: 118px; }}
@media (max-width: 900px) {.cast-block { grid-column: span 12; }
.synopsis-block { grid-column: span 12; }
.status-block { grid-column: span 5; }
.details-block { grid-column: span 12; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-poster { height: 100%; }}
@media (max-width: 720px) {.comment-columns { columns: 1; column-rule: none; }
.timeline-node {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto;
    gap: 10px;
    align-items: start;
  }
.timeline-axis::before { left: 21px; transform: none; }
.timeline-seal {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 42px;
    height: 42px;
    font-size: 10px;
  }
.timeline-node-left .timeline-body, .timeline-node-right .timeline-body {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    border-left: 2px solid var(--blood);
    border-right: 1px solid var(--steel-line);
  }
.hero-figure { width: min(340px, 74vw); height: 68%; }
.hero-plaque { opacity: 0.34; }}
@media (max-width: 640px) {body { font-size: 14px; }
.header-inner { padding: 9px 12px; }
a[data-contract="site-name"] { font-size: 17px; letter-spacing: 0.16em; }
.overview-grid { padding: 0 12px var(--gap); grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cast-block, .synopsis-block, .status-block, .details-block { grid-column: span 6; }
.player-shell, .timeline-section, .episodes-section, .comments-section, .rec-region { padding-left: 12px; padding-right: 12px; }
.player-controls { gap: 5px; padding: 7px 8px; }
.ctrl-btn { padding: 5px 9px; font-size: 11.5px; }
.episode-grid { grid-template-columns: 1fr; }
.episode-number { font-size: 26px; }
.rec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
a.rec-link img { height: 104px; }
.friend-links-label { border-right: 0; padding-right: 0; width: 100%; }}
@media (max-width: 420px) {.cast-row { gap: 8px 12px; }
.cast-avatar { width: 38px; height: 38px; }
.cast-chip:nth-child(even) { transform: translateY(6px); }
.movie-title { letter-spacing: 0.06em; }
.movie-tagline { letter-spacing: 0.2em; }
.rec-list { grid-template-columns: 1fr; }
a.rec-link img { height: 148px; }}
@media (min-width: 1181px) {.header-inner { padding-left: 0; padding-right: 0; }
.overview-grid, .player-shell, .timeline-section, .episodes-section, .comments-section, .rec-region, .site-footer { padding-left: 0; padding-right: 0; }}
@media (prefers-reduced-motion: reduce) {.hero-embers { animation: none; }
a.rec-link { transition: none; }}

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}
