*, *::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 { font: inherit; color: inherit; }
a { color: inherit; }
:root {
  --ink: #e8e8e8;
  --ink-dim: #9aa4b2;
  --ink-faint: #6b7688;
  --blue: #1a2233;
  --blue-2: #121826;
  --blue-3: #0c111b;
  --red: #8b1a1a;
  --red-bright: #c22b2b;
  --red-glow: rgba(139, 26, 26, 0.55);
  --line: rgba(154, 164, 178, 0.16);
  --line-soft: rgba(154, 164, 178, 0.09);
  --surface: rgba(26, 34, 51, 0.72);
  --surface-2: rgba(18, 24, 38, 0.9);
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
html {
  background: var(--blue-3);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.62;
  color: var(--ink);
  background:
    radial-gradient(120% 62% at 78% -6%, rgba(139, 26, 26, 0.22) 0%, rgba(139, 26, 26, 0) 58%),
    radial-gradient(150% 90% at 6% 4%, rgba(26, 34, 51, 0.9) 0%, rgba(12, 17, 27, 0) 70%),
    linear-gradient(180deg, #0c111b 0%, #10151f 42%, #0b0f18 100%);
  background-attachment: fixed;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
a { text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(12, 17, 27, 0.96) 0%, rgba(12, 17, 27, 0.78) 78%, rgba(12, 17, 27, 0) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  padding: 9px 20px 10px;
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(139, 26, 26, 0.45);
  white-space: nowrap;
  border-left: 3px solid var(--red);
  padding-left: 10px;
}
a[data-contract="site-name"]:hover {
  color: #fff;
  text-shadow: 0 0 22px var(--red-glow);
}
.categories-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 5px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 9px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(26, 34, 51, 0.5);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--ink);
  border-color: rgba(139, 26, 26, 0.7);
  background: rgba(139, 26, 26, 0.16);
}
.page-main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px 44px;
}
.section-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--ink);
  padding-left: 11px;
  border-left: 3px solid var(--red);
  margin-bottom: 11px;
  text-transform: uppercase;
}
.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr) minmax(0, 1.35fr);
  grid-template-areas:
    "visual copy    player"
    "visual meta    player"
    "synopsis synopsis synopsis"
    "cast cast cast";
  gap: 16px 22px;
  padding: 22px 0 34px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 20px;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -8% -6% auto -6%;
  height: 118%;
  background:
    radial-gradient(46% 40% at 16% 22%, rgba(139, 26, 26, 0.3) 0%, rgba(139, 26, 26, 0) 66%),
    linear-gradient(115deg, rgba(26, 34, 51, 0.55) 0%, rgba(12, 17, 27, 0) 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-panel > * { position: relative; z-index: 1; }
.hero-visual {
  grid-area: visual;
  position: relative;
  align-self: start;
  isolation: isolate;
}
.hero-poster-wrap {
  position: relative;
  width: 100%;
  border: 1px solid rgba(139, 26, 26, 0.5);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 14px 34px -18px rgba(0, 0, 0, 0.95), 0 0 34px -6px var(--red-glow);
  overflow: hidden;
}
.hero-poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08) brightness(0.9);
}
.hero-figure {
  position: absolute;
  right: -22%;
  bottom: -6%;
  width: 108%;
  height: 76%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(58% 62% at 62% 42%, rgba(139, 26, 26, 0.42) 0%, rgba(139, 26, 26, 0) 72%),
    linear-gradient(196deg, rgba(12, 17, 27, 0) 34%, rgba(12, 17, 27, 0.94) 72%, rgba(12, 17, 27, 1) 100%);
  clip-path: polygon(100% 6%, 74% 0%, 52% 16%, 44% 34%, 30% 44%, 40% 54%, 26% 62%, 44% 70%, 34% 84%, 62% 100%, 100% 100%);
  mix-blend-mode: screen;
  opacity: 0.92;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(232, 232, 232, 0.045) 0 1px, rgba(232, 232, 232, 0) 1px 9px),
    linear-gradient(180deg, rgba(12, 17, 27, 0) 44%, rgba(12, 17, 27, 0.72) 100%);
}
.hero-kicker {
  position: relative;
  z-index: 4;
  margin-top: 9px;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.34em;
  color: var(--red-bright);
  text-transform: uppercase;
  text-shadow: 0 0 14px var(--red-glow);
}
.hero-copy {
  grid-area: copy;
  align-self: start;
  max-width: 44ch;
}
.movie-title {
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.06;
  color: #f3f3f3;
  text-shadow: 0 0 34px rgba(139, 26, 26, 0.42), 0 2px 0 rgba(0, 0, 0, 0.6);
}
.movie-tagline {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
}
.movie-seo-note {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--ink-faint);
}
.player-shell {
  grid-area: player;
  position: relative;
  align-self: start;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(139, 26, 26, 0.38);
  background: #06090f;
  box-shadow: 0 0 40px -12px var(--red-glow), 0 18px 40px -24px rgba(0, 0, 0, 0.95);
}
.player-shell video {
  width: 100%;
  background: #05080d;
  filter: saturate(0.9) contrast(1.06);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(12, 17, 27, 0.94) 0%, rgba(6, 9, 15, 0.98) 100%);
  border-top: 1px solid var(--line-soft);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 4px 9px;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  background: rgba(26, 34, 51, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.ctrl-btn:hover {
  color: var(--ink);
  border-color: rgba(139, 26, 26, 0.75);
  background: rgba(139, 26, 26, 0.2);
}
.ctrl-play {
  color: #f2e6e6;
  background: linear-gradient(180deg, rgba(139, 26, 26, 0.9) 0%, rgba(88, 14, 14, 0.9) 100%);
  border-color: rgba(194, 43, 43, 0.6);
  font-weight: 600;
}
.ctrl-play:hover {
  background: linear-gradient(180deg, var(--red-bright) 0%, var(--red) 100%);
  color: #fff;
}
.ctrl-progress {
  flex: 1 1 130px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--red) 0%, rgba(154, 164, 178, 0.24) 0%);
  background-color: rgba(154, 164, 178, 0.24);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 78px;
  min-width: 54px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(154, 164, 178, 0.24);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 8px var(--red-glow);
  border: none;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 8px var(--red-glow);
}
.player-shell.is-playing .ctrl-play {
  background: linear-gradient(180deg, rgba(194, 43, 43, 1) 0%, rgba(139, 26, 26, 1) 100%);
  color: #fff;
}
.player-shell.is-muted .ctrl-volume { opacity: 0.42; }
.player-shell.is-pip { outline: 1px solid rgba(194, 43, 43, 0.7); outline-offset: 2px; }
.player-shell.is-theater {
  grid-column: 1 / -1;
  grid-row: auto;
  box-shadow: 0 0 70px -10px var(--red-glow);
}
.player-shell.is-fullscreen {
  border-color: rgba(194, 43, 43, 0.8);
  background: #000;
}
.player-shell.is-light {
  box-shadow: 0 0 64px -6px rgba(194, 43, 43, 0.75), 0 0 120px -20px rgba(139, 26, 26, 0.6);
}
.player-shell.is-light .player-controls {
  background: linear-gradient(180deg, rgba(30, 12, 14, 0.95) 0%, rgba(10, 6, 8, 0.98) 100%);
}
.overview-meta {
  grid-area: meta;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 12px 16px;
  align-items: start;
  align-self: start;
  margin-top: 2px;
}
.episode-status {
  padding: 9px 11px;
  border-left: 2px solid var(--red);
  background: linear-gradient(90deg, rgba(139, 26, 26, 0.16) 0%, rgba(139, 26, 26, 0) 100%);
  align-self: start;
}
.status-line {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.status-sub {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 300;
  color: var(--red-bright);
  letter-spacing: 0.04em;
}
.detail-board { align-self: start; }
.detail-board .section-heading {
  font-size: 12.5px;
  margin-bottom: 7px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 3px 12px;
  align-items: start;
}
.detail-item {
  display: flex;
  gap: 6px;
  align-items: baseline;
  padding: 2px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-item dt {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 300;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.detail-item dd {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.02em;
  min-width: 0;
  overflow-wrap: anywhere;
}
.synopsis-block {
  grid-area: synopsis;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-prose {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 4px 26px;
  align-items: start;
}
.synopsis-prose p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--ink-dim);
  text-indent: 2em;
}
.cast-rail {
  grid-area: cast;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.cast-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 2px 9px;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 26, 26, 0.7) rgba(154, 164, 178, 0.12);
}
.cast-scroll::-webkit-scrollbar { height: 5px; }
.cast-scroll::-webkit-scrollbar-track { background: rgba(154, 164, 178, 0.12); }
.cast-scroll::-webkit-scrollbar-thumb { background: rgba(139, 26, 26, 0.75); border-radius: 3px; }
.cast-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 82px;
  padding: 8px 4px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.cast-card:hover {
  border-color: rgba(139, 26, 26, 0.7);
  transform: translateY(-2px);
}
.cast-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(60% 60% at 34% 28%, rgba(232, 232, 232, 0.24) 0%, rgba(232, 232, 232, 0) 60%),
    linear-gradient(160deg, #2b3446 0%, #141b28 58%, #0c111b 100%);
  border: 1px solid rgba(139, 26, 26, 0.55);
  box-shadow: 0 0 16px -2px var(--red-glow), inset 0 0 14px rgba(0, 0, 0, 0.7);
}
.cast-name {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  text-align: center;
  white-space: nowrap;
}
.timeline-band {
  padding: 4px 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 0;
  overflow-x: auto;
  padding: 14px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 26, 26, 0.7) rgba(154, 164, 178, 0.12);
}
.timeline-track::-webkit-scrollbar { height: 5px; }
.timeline-track::-webkit-scrollbar-track { background: rgba(154, 164, 178, 0.12); }
.timeline-track::-webkit-scrollbar-thumb { background: rgba(139, 26, 26, 0.75); border-radius: 3px; }
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 14px 0 0;
  align-items: flex-start;
  align-self: start;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 0;
  top: 4px;
  height: 1px;
  background: linear-gradient(90deg, rgba(139, 26, 26, 0.85) 0%, rgba(154, 164, 178, 0.24) 100%);
  z-index: 0;
}
.timeline-node:last-child::before {
  right: 60%;
  background: linear-gradient(90deg, rgba(139, 26, 26, 0.85) 0%, rgba(139, 26, 26, 0.1) 100%);
}
.node-dot {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.2), 0 0 12px var(--red-glow);
  margin-bottom: 3px;
}
.node-timecode {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red-bright);
  text-transform: uppercase;
}
.node-label {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-dim);
  padding-right: 6px;
}
.episode-block {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 22px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "num summary"
    "num duration";
  gap: 1px 12px;
  align-items: start;
  padding: 8px 4px 9px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.16s ease;
}
.episode-card:hover {
  background: linear-gradient(90deg, rgba(139, 26, 26, 0.1) 0%, rgba(139, 26, 26, 0) 78%);
}
.ep-number {
  grid-area: num;
  font-size: 30px;
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: rgba(232, 232, 232, 0.16);
  font-variant-numeric: tabular-nums;
  transition: color 0.16s ease, text-shadow 0.16s ease;
}
.ep-title {
  grid-area: title;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.ep-summary {
  grid-area: summary;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.62;
  color: var(--ink-faint);
  overflow-wrap: anywhere;
}
.ep-duration {
  grid-area: duration;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.episode-card.is-current {
  background: linear-gradient(90deg, rgba(139, 26, 26, 0.26) 0%, rgba(139, 26, 26, 0.03) 74%);
  box-shadow: inset 2px 0 0 var(--red);
  padding-left: 9px;
}
.episode-card.is-current .ep-number {
  color: var(--red-bright);
  text-shadow: 0 0 20px var(--red-glow);
}
.episode-card.is-current .ep-title { color: #fff; }
.episode-card.is-current .ep-summary { color: var(--ink-dim); }
.episode-card.is-current .ep-duration { color: var(--red-bright); }
.comment-block {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 22px;
  align-items: start;
}
.comment-stream {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
  min-width: 0;
}
.comment-card {
  padding: 8px 10px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(139, 26, 26, 0.55);
  border-radius: 2px;
}
.comment-nick {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--red-bright);
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.66;
  color: var(--ink-dim);
  overflow-wrap: anywhere;
}
.rec-region {
  display: inline-block;
  vertical-align: top;
  width: calc(25% - 10px);
  margin: 0 12px 14px 0;
  padding: 10px 11px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-top: 2px solid rgba(139, 26, 26, 0.6);
  border-radius: 2px;
  align-self: start;
  vertical-align: top;
}
.rec-region:nth-of-type(4n) { margin-right: 0; }
.rec-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ink);
  padding-bottom: 7px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
}
.rec-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rec-list li { min-width: 0; }
a[data-runtime="recommendation"] {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  grid-template-areas:
    "pic name"
    "pic blurb";
  gap: 1px 9px;
  align-items: start;
  padding: 4px;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
a[data-runtime="recommendation"] img {
  grid-area: pic;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #0a0e16;
  border: 1px solid var(--line-soft);
  filter: saturate(0.82) contrast(1.06) brightness(0.88);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  grid-area: name;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
  line-height: 1.42;
  overflow-wrap: anywhere;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  grid-area: blurb;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-faint);
  overflow-wrap: anywhere;
}
a[data-runtime="recommendation"]:hover {
  background: rgba(139, 26, 26, 0.16);
  border-color: rgba(139, 26, 26, 0.65);
}
a[data-runtime="recommendation"]:hover [data-runtime="name"] { color: #fff; }
a[data-runtime="recommendation"]:hover img {
  border-color: rgba(194, 43, 43, 0.7);
  filter: saturate(1) contrast(1.1) brightness(1);
}
.site-footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 20px 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 17, 27, 0) 0%, rgba(6, 9, 15, 0.8) 100%);
}
.friend-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-bottom: 12px;
}
.friend-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-right: 4px;
  white-space: nowrap;
}
a.runtime-friend-link {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 300;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(26, 34, 51, 0.42);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--ink);
  border-color: rgba(139, 26, 26, 0.7);
  background: rgba(139, 26, 26, 0.16);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--red-bright);
  border-bottom-color: rgba(194, 43, 43, 0.7);
}
.footer-disclaimer {
  max-width: 78ch;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}
@media (max-width: 1180px) {.hero-panel {
    grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
    grid-template-areas:
      "visual copy"
      "visual player"
      "meta   meta"
      "synopsis synopsis"
      "cast   cast";
    gap: 14px 20px;
  }
.rec-region { width: calc(50% - 8px); }
.rec-region:nth-of-type(4n) { margin-right: 12px; }
.rec-region:nth-of-type(2n) { margin-right: 0; }}
@media (max-width: 900px) {.overview-meta { grid-template-columns: minmax(0, 1fr); }
.detail-list { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
.synopsis-prose { grid-template-columns: minmax(0, 1fr); }
.comment-columns { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 720px) {body { font-size: 13.5px; }
.header-inner { padding: 8px 14px 9px; gap: 6px 12px; }
.page-main { padding: 0 14px 34px; }
.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "player"
      "visual"
      "meta"
      "synopsis"
      "cast";
    gap: 14px;
    padding: 16px 0 26px;
  }
.hero-copy { max-width: none; }
.hero-visual { max-width: 220px; }
.hero-figure { right: -14%; width: 100%; height: 70%; }
.movie-title { font-size: clamp(26px, 8vw, 38px); }
.episode-grid { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.episode-card { grid-template-columns: 40px minmax(0, 1fr); padding: 8px 0 9px; }
.ep-number { font-size: 26px; }
.timeline-track { grid-auto-columns: minmax(132px, 1fr); }
.rec-region { width: 100%; margin-right: 0; }
.rec-region:nth-of-type(4n) { margin-right: 0; }
.rec-region:nth-of-type(2n) { margin-right: 0; }
.ctrl-btn { padding: 4px 8px; font-size: 11px; }
.ctrl-progress { flex: 1 1 100%; order: -1; }}
@media (max-width: 420px) {.cast-card { width: 72px; }
.cast-avatar { width: 46px; height: 46px; }
a[data-runtime="recommendation"] { grid-template-columns: 52px minmax(0, 1fr); }
.detail-list { grid-template-columns: minmax(0, 1fr); }}

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}
