*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
:root {
  --bg-deep: #0d0a0c;
  --bg-panel: #161114;
  --bg-panel-2: #1c1519;
  --ink: #e6dde2;
  --ink-dim: #9a8b93;
  --ink-faint: #6b5d64;
  --red: #a3232b;
  --red-bright: #c8393f;
  --grey-purple: #6e5f72;
  --grey-purple-dim: #4a404e;
  --hair: #d9c9cf;
  --rule: rgba(200, 180, 190, 0.14);
  --font-title: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  --font-body: "SF Mono", "Menlo", "Consolas", "Courier New", monospace;
}
html {
  background: var(--bg-deep);
  -webkit-text-size-adjust: 100%;
}
body {
  background:
    radial-gradient(120% 60% at 78% 0%, rgba(163, 35, 43, 0.18), transparent 60%),
    radial-gradient(90% 50% at 10% 8%, rgba(110, 95, 114, 0.16), transparent 65%),
    var(--bg-deep);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 10, 12, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: nowrap;
  overflow-x: auto;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--hair);
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}
a[data-contract="site-name"]:hover {
  color: var(--red-bright);
}
.categories-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
a.runtime-category:hover {
  color: var(--hair);
  border-color: var(--grey-purple);
  background: rgba(110, 95, 114, 0.16);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-hair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-areas:
    "narrow visual"
    "synopsis visual"
    "details details"
    "cast cast";
  gap: 14px 18px;
  align-items: start;
}
.hero-visual {
  grid-area: visual;
  position: relative;
  justify-self: end;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.poster-frame {
  position: relative;
  width: min(100%, 420px);
  border-radius: 2px 2px 120px 2px / 2px 2px 90px 2px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(200, 180, 190, 0.1),
    0 18px 40px -20px rgba(0, 0, 0, 0.9),
    0 0 60px -10px rgba(163, 35, 43, 0.35);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(200, 40, 45, 0.16) 0%, transparent 34%),
    linear-gradient(0deg, rgba(13, 10, 12, 0.55) 0%, transparent 40%);
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06) brightness(0.9);
}
.hero-visual::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 26%;
  width: 3px;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--red-bright) 22%, var(--red) 70%, transparent);
  border-radius: 999px;
  transform: rotate(3deg);
  opacity: 0.9;
  pointer-events: none;
}
.hero-narrow {
  grid-area: narrow;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  background: linear-gradient(180deg, var(--bg-panel) 0%, rgba(22, 17, 20, 0.55) 100%);
  border-left: 2px solid var(--red);
  border-radius: 2px;
}
.movie-title {
  font-family: var(--font-title);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: var(--hair);
  text-shadow: 0 0 24px rgba(200, 60, 60, 0.25);
}
.movie-tagline {
  font-family: var(--font-title);
  font-size: 13px;
  line-height: 1.6;
  color: var(--red-bright);
  letter-spacing: 0.06em;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--rule);
}
.movie-seo {
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-dim);
  text-align: justify;
}
.episode-status {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 12px;
}
.status-key {
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  flex: 0 0 auto;
}
.status-value {
  color: var(--hair);
  text-align: right;
}
.hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.action-play {
  cursor: pointer;
  border: 1px solid var(--red);
  background: linear-gradient(180deg, rgba(163, 35, 43, 0.9), rgba(120, 22, 30, 0.85));
  color: #f3e6e8;
  font-family: var(--font-title);
  font-size: 14px;
  letter-spacing: 0.16em;
  padding: 8px 22px;
  border-radius: 999px 4px 999px 4px / 999px 4px 999px 4px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.action-play:hover {
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  box-shadow: 0 0 22px -4px rgba(200, 57, 63, 0.7);
  transform: translateY(-1px);
}
.action-play:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 2px;
}
.synopsis-block {
  grid-area: synopsis;
  background: var(--bg-panel-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 12px 14px;
}
.synopsis-heading, .details-heading, .cast-heading, .timeline-heading, .episodes-heading, .comments-heading, .rec-heading {
  font-family: var(--font-title);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--hair);
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.synopsis-heading::after, .details-heading::after, .cast-heading::after, .timeline-heading::after, .episodes-heading::after, .comments-heading::after, .rec-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 1px;
  background: var(--red-bright);
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.78;
  color: var(--ink-dim);
  text-align: justify;
}
.synopsis-para:first-child {
  color: var(--ink);
}
.details-block {
  grid-area: details;
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 12px 14px;
}
.details-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 26px;
  align-items: start;
}
.details-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.detail-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 12px;
  line-height: 1.5;
  padding: 2px 0;
  border-bottom: 1px dotted rgba(200, 180, 190, 0.1);
}
.detail-row:last-child { border-bottom: none; }
.detail-key {
  flex: 0 0 4.6em;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink-dim);
  text-align: right;
}
.cast-block {
  grid-area: cast;
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 12px 14px;
}
.cast-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.cast-face {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 50% 50% 42% 42% / 34% 34% 60% 60%;
  background:
    radial-gradient(60% 45% at 62% 34%, rgba(217, 201, 207, 0.32), transparent 60%),
    linear-gradient(160deg, var(--grey-purple) 0%, var(--grey-purple-dim) 55%, #241d22 100%);
  overflow: hidden;
  box-shadow: inset 0 -18px 26px -14px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(200, 180, 190, 0.08);
}
.cast-face::after {
  content: "";
  position: absolute;
  top: 6%;
  right: 14%;
  width: 4px;
  height: 78%;
  background: linear-gradient(180deg, var(--hair), rgba(110, 95, 114, 0.2));
  border-radius: 999px;
  transform: rotate(-7deg);
  opacity: 0.55;
}
.cast-name {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--ink-dim);
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1;
  padding-top: 2px;
}
.player-shell {
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 10px;
  transition: background 0.3s, box-shadow 0.3s;
}
.player-shell.is-theater {
  background: #070506;
  box-shadow: 0 0 0 1px rgba(200, 57, 63, 0.35), 0 0 60px -18px rgba(200, 57, 63, 0.5);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-wrapper {
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  background: #000;
}
.player-wrapper video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.ctrl {
  cursor: pointer;
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--ink-dim);
  background: rgba(110, 95, 114, 0.1);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ctrl:hover {
  color: var(--hair);
  border-color: var(--grey-purple);
  background: rgba(110, 95, 114, 0.22);
}
.ctrl.is-active {
  color: #f3e6e8;
  border-color: var(--red);
  background: rgba(163, 35, 43, 0.35);
}
input.ctrl[type="range"] {
  flex: 1 1 120px;
  min-width: 90px;
  max-width: 260px;
  padding: 0;
  height: 20px;
  border: none;
  background: transparent;
  accent-color: var(--red-bright);
  cursor: pointer;
}
input.ctrl[type="range"]:hover {
  border: none;
  background: transparent;
}
.timeline-band {
  background: linear-gradient(180deg, rgba(28, 21, 25, 0.9), rgba(13, 10, 12, 0.6));
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 12px 14px;
}
.timeline-track {
  display: flex;
  flex-direction: row;
  gap: 0;
  overflow-x: auto;
  padding: 10px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--grey-purple-dim) transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: transparent; }
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--grey-purple-dim);
  border-radius: 999px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 158px;
  padding: 0 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-left: 1px solid var(--rule);
}
.timeline-node:first-child { border-left: none; }
.timeline-node::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 1px;
  height: 12px;
  background: linear-gradient(180deg, transparent, var(--grey-purple));
}
.timeline-node::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50% 50% 50% 0;
  background: var(--grey-purple-dim);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.7;
}
.node-timecode {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--red-bright);
}
.node-label {
  font-size: 12px;
  line-height: 1.62;
  color: var(--ink-dim);
}
.timeline-node.is-active {
  border-left-color: var(--red);
}
.timeline-node.is-active::before {
  background: linear-gradient(180deg, transparent, var(--red-bright));
}
.timeline-node.is-active::after {
  background: var(--red-bright);
  opacity: 1;
  border-radius: 0;
  clip-path: polygon(0 0, 25% 100%, 50% 0, 75% 100%, 100% 0, 100% 100%, 0 100%);
}
.timeline-node.is-active .node-timecode { color: var(--hair); }
.timeline-node.is-active .node-label { color: var(--ink); }
.episodes-block {
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 12px 14px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  border-left: 1px solid var(--rule);
  min-width: 0;
}
.episode-number {
  font-family: "Courier New", "SF Mono", monospace;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--grey-purple);
  line-height: 1;
  background: rgba(110, 95, 114, 0.12);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 2px 7px;
  align-self: flex-start;
}
.episode-title {
  font-family: var(--font-title);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--hair);
  text-align: left;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.66;
  color: var(--ink-faint);
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grey-purple);
  margin-top: 2px;
}
.comments-block {
  padding: 4px 0;
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  width: 100%;
  margin-left: auto;
}
.comment-note {
  position: relative;
  background: var(--bg-panel-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 9px 11px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 6px 18px -12px rgba(0, 0, 0, 0.9);
  transition: transform 0.25s;
}
.comment-note:nth-child(odd) { transform: rotate(-0.5deg); }
.comment-note:nth-child(even) { transform: rotate(0.6deg) translateY(3px); }
.comment-note:nth-child(3n) { transform: rotate(-0.9deg) translateY(-2px); }
.comment-note:hover {
  transform: rotate(0deg) translateY(-2px);
  border-color: var(--grey-purple);
  z-index: 2;
}
.comment-nick {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--red-bright);
}
.comment-text {
  font-size: 12px;
  line-height: 1.72;
  color: var(--ink-dim);
}
.rec-band {
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 10px 14px;
}
.rec-band-tall { padding-top: 12px; padding-bottom: 14px; }
.rec-band-mid { padding-top: 10px; padding-bottom: 12px; }
.rec-band-short { padding-top: 8px; padding-bottom: 10px; }
.rec-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
.rec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  color: var(--ink-dim);
  text-decoration: none;
  transition: transform 0.2s;
}
.rec-item:hover {
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: #000;
  filter: saturate(0.72) brightness(0.88);
  transition: filter 0.25s, box-shadow 0.25s;
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(1) brightness(1);
  box-shadow: 0 0 0 1px var(--red), 0 0 22px -8px rgba(200, 57, 63, 0.7);
}
.rec-band-tall [data-runtime="recommendation"] img { aspect-ratio: 4 / 3; }
.rec-band-short [data-runtime="recommendation"] img { aspect-ratio: 16 / 9; }
a.rec-item [data-runtime="name"] {
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--hair);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.rec-item [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-band-tall .rec-strip { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.rec-band-mid .rec-strip { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.rec-band-short .rec-strip { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.site-footer {
  border-top: 1px solid var(--rule);
  background: rgba(13, 10, 12, 0.9);
  padding: 18px 16px 26px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink-faint);
  max-width: 720px;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friends-label {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--grey-purple);
  padding-right: 6px;
  border-right: 1px solid var(--rule);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s;
}
a.runtime-friend-link:hover {
  color: var(--red-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.2s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--hair);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.jump-player { scroll-margin-top: 70px; }
@media (max-width: 1024px) {.hero-hair {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  }
.movie-title { font-size: 26px; }
.episodes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 760px) {.page-main { padding: 12px 12px 26px; gap: 16px; }
.hero-hair {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "visual"
      "narrow"
      "synopsis"
      "details"
      "cast";
    gap: 12px;
  }
.hero-visual { justify-self: center; }
.poster-frame { width: min(100%, 340px); }
.movie-title { font-size: 24px; }
.details-columns { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.cast-cards { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.comments-stack { grid-template-columns: minmax(0, 1fr); }
.comment-note:nth-child(odd), .comment-note:nth-child(even), .comment-note:nth-child(3n) { transform: none; }
.timeline-node { width: 148px; }
.player-shell { padding: 8px; }
.player-controls { gap: 5px; }
.ctrl { padding: 4px 10px; font-size: 11.5px; }
input.ctrl[type="range"] { flex: 1 1 100%; max-width: none; }}
@media (max-width: 420px) {body { font-size: 12.5px; }
.header-inner { padding: 7px 12px; gap: 10px; }
a[data-contract="site-name"] { font-size: 16px; }
.movie-title { font-size: 21px; }
.episode-number { font-size: 17px; }
.poster-frame { width: 100%; }
.site-footer { padding: 16px 12px 22px; }
.footer-nav { flex-wrap: wrap; gap: 10px; }}

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}
