:root {
  --rust: #8a3a22;
  --rust-deep: #5e2414;
  --rust-bright: #b8542f;
  --sea: #0f2233;
  --sea-deep: #08151f;
  --sea-mid: #16354c;
  --gold: #c9a24a;
  --gold-dim: #8a6f34;
  --ink: #0a0f14;
  --parchment: #d9c9a8;
  --parchment-dim: #9c8d70;
  --text: #cdbfa4;
  --text-dim: #8b7f68;
  --line: #2a3d4e;
  --font-head: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(138, 58, 34, 0.18), transparent 55%),
    radial-gradient(ellipse at 90% 95%, rgba(22, 53, 76, 0.35), transparent 60%),
    repeating-linear-gradient(115deg, rgba(201, 162, 74, 0.022) 0 2px, transparent 2px 7px),
    var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--gold);
  text-decoration: none;
}
h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, var(--sea-deep) 0%, rgba(8, 21, 31, 0.94) 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 0 rgba(138, 58, 34, 0.4), 0 6px 22px rgba(0, 0, 0, 0.55);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 9px clamp(12px, 3vw, 34px);
  max-width: 1600px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  color: var(--parchment);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 2px 0;
  border-bottom: 3px solid var(--rust);
  line-height: 1.1;
  text-shadow: 0 0 12px rgba(184, 84, 47, 0.5);
}
a[data-contract="site-name"]:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--parchment-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(22, 53, 76, 0.35);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 94% 100%, 0 100%);
  transition: color .15s, border-color .15s, background .15s;
}
a.runtime-category:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
  background: rgba(138, 58, 34, 0.3);
}
.page-main {
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 24px) clamp(12px, 3vw, 34px) 8px;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.4vw, 30px);
}
.block-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: 0.1em;
  color: var(--parchment);
  margin: 0 0 10px;
  padding-left: 12px;
  position: relative;
  line-height: 1.2;
}
.block-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  background: var(--rust-bright);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
}
.block-title::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--rust-deep), var(--line) 30%, transparent 90%);
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.6fr);
  grid-template-areas:
    "poster info"
    "poster player"
    "poster status"
    "cast   cast"
    "syn    syn"
    "det    det";
  gap: 14px 22px;
  align-items: start;
  background:
    linear-gradient(150deg, rgba(138, 58, 34, 0.14), transparent 40%),
    linear-gradient(320deg, rgba(22, 53, 76, 0.42), rgba(8, 21, 31, 0.2)),
    var(--sea-deep);
  border: 1px solid var(--line);
  border-top: 3px solid var(--rust-deep);
  padding: clamp(12px, 1.6vw, 20px);
  position: relative;
  overflow: hidden;
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(201, 162, 74, 0.03) 0 1px, transparent 1px 5px);
  mix-blend-mode: overlay;
}
.hero-poster-wrap {
  grid-area: poster;
  position: relative;
  width: 100%;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--ink);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(138, 58, 34, 0.35);
  overflow: hidden;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) sepia(0.14);
}
.hero-poster-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  padding: 10px;
  background: linear-gradient(0deg, rgba(8, 21, 31, 0.95) 0%, rgba(8, 21, 31, 0.55) 46%, transparent 100%);
}
.hero-cone-badge, .hero-chart-scrap {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  line-height: 1.3;
  white-space: nowrap;
}
.hero-cone-badge {
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dim) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}
.hero-chart-scrap {
  color: var(--parchment-dim);
  background: rgba(138, 58, 34, 0.35);
  border: 1px dashed var(--rust-bright);
  clip-path: polygon(0 8%, 100% 0, 96% 100%, 4% 92%);
}
.hero-info {
  grid-area: info;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.movie-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(22px, 3.4vw, 40px);
  line-height: 1.06;
  letter-spacing: 0.04em;
  color: var(--parchment);
  text-shadow: 0 2px 0 var(--rust-deep), 0 0 26px rgba(138, 58, 34, 0.45);
}
.movie-tagline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(12px, 1.2vw, 15px);
  letter-spacing: 0.16em;
  color: var(--rust-bright);
  line-height: 1.5;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 68ch;
}
.hero-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}
.meta-chip {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--parchment-dim);
  padding: 3px 9px;
  background: rgba(22, 53, 76, 0.6);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rust);
  white-space: nowrap;
  line-height: 1.4;
}
.player-shell {
  grid-area: player;
  position: relative;
  width: 100%;
  align-self: start;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.player-frame {
  width: 100%;
  background: #000;
  line-height: 0;
}
.player-frame video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(8, 21, 31, 0.95), rgba(15, 34, 51, 0.95));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--parchment);
  background: rgba(138, 58, 34, 0.28);
  border: 1px solid var(--rust-deep);
  border-radius: 2px;
  padding: 5px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.ctrl-btn:hover {
  background: var(--rust);
  color: var(--parchment);
  border-color: var(--rust-bright);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  flex: 1 1 110px;
  min-width: 80px;
  background: linear-gradient(90deg, var(--rust) 0%, var(--sea-mid) 100%);
  border-radius: 0;
  border: 1px solid var(--line);
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 16px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 28%, 100% 100%, 0 100%, 0 28%);
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 12px;
  height: 16px;
  border: none;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 28%, 100% 100%, 0 100%, 0 28%);
  cursor: pointer;
}
.ctrl-select {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--parchment);
  background: rgba(22, 53, 76, 0.85);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 6px;
  cursor: pointer;
}
.player-shell.is-playing .ctrl-btn[data-player-action="play"] {
  background: var(--gold-dim);
  color: var(--ink);
  border-color: var(--gold);
}
.player-shell.is-muted .ctrl-btn[data-player-action="mute"] {
  background: var(--sea-mid);
  color: var(--gold);
  border-color: var(--gold-dim);
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--gold-dim), 0 14px 40px rgba(0, 0, 0, 0.75);
  border-color: var(--gold-dim);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off .player-controls {
  background: #000;
  border-top-color: var(--rust-deep);
}
.player-shell.is-lights-off .ctrl-btn, .player-shell.is-lights-off .ctrl-select {
  color: var(--gold-dim);
}
.episode-status-strip {
  grid-area: status;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 8px 12px;
  background:
    repeating-linear-gradient(90deg, rgba(138, 58, 34, 0.22) 0 10px, rgba(15, 34, 51, 0.5) 10px 20px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust-bright);
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.status-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--parchment);
}
.status-badge {
  margin-left: auto;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink);
  background: linear-gradient(180deg, var(--gold), var(--gold-dim));
  padding: 3px 12px;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 88% 100%, 0 100%);
  white-space: nowrap;
}
.cast-block {
  grid-area: cast;
  padding-top: 6px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas:
    "avatar name"
    "avatar role";
  align-items: center;
  column-gap: 10px;
  row-gap: 1px;
  padding: 8px 10px;
  background: rgba(15, 34, 51, 0.55);
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--rust-deep);
  align-self: start;
  transition: border-color .15s, background .15s;
}
.cast-card:hover {
  border-bottom-color: var(--gold-dim);
  background: rgba(22, 53, 76, 0.7);
}
.cast-avatar {
  grid-area: avatar;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(201, 162, 74, 0.5), transparent 55%),
    conic-gradient(from 200deg, var(--rust-deep), var(--sea-mid), var(--rust) 70%, var(--sea-deep));
  border: 2px solid var(--rust-deep);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.7);
  filter: saturate(0.75) contrast(1.05) sepia(0.2);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
}
.cast-name {
  grid-area: name;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--parchment);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  grid-area: role;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  grid-area: syn;
  padding-top: 6px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 18px;
  padding: 12px 14px;
  background: rgba(8, 21, 31, 0.55);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text);
  text-align: justify;
  border-top: 1px dashed rgba(138, 58, 34, 0.4);
  padding-top: 8px;
}
.synopsis-para:first-child {
  border-top: none;
  padding-top: 0;
}
.details-block {
  grid-area: det;
  padding-top: 6px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  align-items: start;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(8, 21, 31, 0.85);
  align-self: start;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--rust-bright);
  min-width: 44px;
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12px;
  color: var(--parchment-dim);
  margin: 0;
  word-break: break-word;
}
.timeline-section {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 34, 51, 0.5), rgba(8, 21, 31, 0.75));
  padding: clamp(12px, 1.6vw, 20px);
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px 16px;
  padding-left: 22px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--rust-bright), var(--rust-deep) 60%, transparent);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon time"
    "icon label";
  align-items: center;
  column-gap: 8px;
  row-gap: 1px;
  padding: 8px 10px 8px 12px;
  background: rgba(8, 21, 31, 0.7);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rust);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 96% 100%, 0 100%);
  align-self: start;
  transition: border-left-color .15s, background .15s;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--gold-dim);
  border: 2px solid var(--sea-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--rust-deep);
}
.timeline-node:hover {
  border-left-color: var(--gold);
  background: rgba(22, 53, 76, 0.7);
}
.node-icon {
  grid-area: icon;
  font-size: 16px;
  line-height: 1;
  color: var(--gold);
  filter: sepia(0.4);
}
.node-timecode {
  grid-area: time;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--rust-bright);
}
.node-label {
  grid-area: label;
  font-size: 12px;
  line-height: 1.5;
  color: var(--parchment-dim);
}
.episodes-section {
  border: 1px solid var(--line);
  background: linear-gradient(200deg, rgba(138, 58, 34, 0.1), rgba(8, 21, 31, 0.8) 45%);
  padding: clamp(12px, 1.6vw, 20px);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "num   dur"
    "title title"
    "sum   sum";
  gap: 4px 10px;
  padding: 11px 13px;
  background: rgba(15, 34, 51, 0.6);
  border: 1px solid var(--line);
  border-top: 2px solid var(--rust-deep);
  align-self: start;
  position: relative;
  transition: border-top-color .15s, background .15s;
}
.episode-card::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -2px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 14px 14px 0;
  border-color: transparent var(--rust) transparent transparent;
  opacity: 0.55;
}
.episode-card:hover {
  border-top-color: var(--gold-dim);
  background: rgba(22, 53, 76, 0.72);
}
.episode-number {
  grid-area: num;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--rust-bright);
  align-self: center;
}
.episode-duration {
  grid-area: dur;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  padding: 1px 7px;
  white-space: nowrap;
  align-self: center;
}
.episode-title {
  grid-area: title;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--parchment);
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-dim);
}
.comments-section {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 21, 31, 0.7), rgba(15, 34, 51, 0.6));
  padding: clamp(12px, 1.6vw, 20px);
}
.comments-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comment-bubble {
  position: relative;
  max-width: 66%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(22, 53, 76, 0.55);
  align-self: flex-start;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 97% 100%, 0 100%);
}
.comment-left {
  align-self: flex-start;
  border-left: 4px solid var(--rust);
  border-top-left-radius: 2px;
}
.comment-right {
  align-self: flex-end;
  text-align: right;
  border-right: 4px solid var(--gold-dim);
  background: rgba(138, 58, 34, 0.22);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 3% 100%, 0 82%);
}
.comment-nickname {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 4px;
}
.comment-right .comment-nickname {
  color: var(--rust-bright);
}
.comment-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}
.rec-region {
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(138, 58, 34, 0.12), rgba(8, 21, 31, 0.75) 50%);
  padding: clamp(12px, 1.6vw, 18px);
}
.rec-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: 0.12em;
  color: var(--parchment);
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--gold-dim);
  line-height: 1.3;
}
.rec-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--rust-deep) transparent;
}
.rec-rail::-webkit-scrollbar {
  height: 6px;
}
.rec-rail::-webkit-scrollbar-track {
  background: rgba(8, 21, 31, 0.6);
}
.rec-rail::-webkit-scrollbar-thumb {
  background: var(--rust-deep);
  border-radius: 0;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  color: var(--parchment-dim);
  text-decoration: none;
  background: rgba(8, 21, 31, 0.85);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--rust-deep);
  align-self: start;
  transition: border-color .15s, background .15s, transform .15s;
}
a.rec-card:hover {
  color: var(--parchment);
  border-bottom-color: var(--gold);
  background: rgba(22, 53, 76, 0.85);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: var(--sea-deep);
  border: 1px solid var(--line);
  filter: saturate(0.8) contrast(1.05) sepia(0.12);
}
.rec-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--parchment);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px clamp(12px, 3vw, 34px) 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 3px solid var(--rust-deep);
  background: linear-gradient(180deg, rgba(8, 21, 31, 0.4), rgba(8, 21, 31, 0.9));
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  max-width: 80ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--parchment-dim);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  transition: color .15s, border-color .15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 10px 12px;
  background: rgba(15, 34, 51, 0.5);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
}
.friend-links-label {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--rust-bright);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid transparent;
  background: rgba(8, 21, 31, 0.6);
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
a.runtime-friend-link:hover {
  color: var(--gold);
  border-color: var(--gold-dim);
}
@media (max-width: 1080px) {.hero-stage {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 12px 16px;
  }}
@media (max-width: 900px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "info"
      "player"
      "status"
      "cast"
      "syn"
      "det";
    gap: 14px;
  }
.hero-poster-wrap {
    max-width: 340px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-bubble {
    max-width: 82%;
  }}
@media (max-width: 640px) {body {
    font-size: 13px;
  }
.header-inner {
    gap: 6px 12px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
    letter-spacing: 0.1em;
  }
.category-nav {
    gap: 4px;
  }
a.runtime-category {
    font-size: 11px;
    padding: 3px 8px;
  }
.hero-poster-wrap {
    max-width: 260px;
  }
.movie-title {
    font-size: 24px;
  }
.movie-tagline {
    letter-spacing: 0.08em;
  }
.cast-list {
    grid-template-columns: minmax(0, 1fr);
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }
.details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 20px;
  }
.comment-bubble {
    max-width: 100%;
  }
.comment-right {
    text-align: left;
  }
.ctrl-range {
    flex: 1 1 100%;
  }
.player-controls {
    gap: 5px;
  }
.status-badge {
    margin-left: 0;
  }
.rec-rail {
    grid-auto-columns: minmax(150px, 72%);
  }}
@media (max-width: 400px) {.hero-poster-wrap {
    max-width: 100%;
  }
.ctrl-btn {
    font-size: 10px;
    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}
