:root {
  --iron: #10161d;
  --iron-2: #161e27;
  --iron-3: #1d2733;
  --iron-4: #26323f;
  --steel: #33414f;
  --blood: #6e1f1c;
  --blood-lit: #a63329;
  --blood-glow: #c8453a;
  --ink: #0a0e13;
  --fog: #8a99a8;
  --fog-dim: #5d6b79;
  --paper: #c7d1da;
  --paper-bright: #e6edf3;
  --line: #2a3644;
  --font-hard: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-song: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, #0d1219 0%, #0a0e13 60%, #090c10 100%),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(70, 88, 105, 0.05) 39px 40px);
  color: var(--paper);
  font-family: var(--font-hard);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
::selection {
  background: var(--blood-lit);
  color: var(--paper-bright);
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 20px;
  background: linear-gradient(180deg, #131a22 0%, #0e141b 100%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.header-brand::before {
  content: "";
  width: 4px;
  height: 22px;
  background: var(--blood-lit);
  transform: skewX(-16deg);
  flex: none;
}
a[data-contract="site-name"] {
  font-family: var(--font-song);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--paper-bright);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--blood-glow);
}
.categories-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--fog);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  background: rgba(38, 50, 63, 0.35);
  transform: skewX(-12deg);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--paper-bright);
  border-color: var(--blood-lit);
  background: rgba(110, 31, 28, 0.35);
}
.page-main {
  display: block;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.section-heading {
  font-family: var(--font-song);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--paper-bright);
  padding-left: 12px;
  border-left: 3px solid var(--blood-lit);
  line-height: 1.2;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 24px 0 28px;
}
.poster-column {
  min-width: 0;
  display: flex;
  justify-content: flex-start;
}
.poster-wrapper {
  position: relative;
  width: min(100%, 420px);
  align-self: flex-start;
  border: 1px solid var(--line);
  background: var(--iron);
}
.poster-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(10, 14, 19, 0) 40%, rgba(110, 31, 28, 0.28) 100%);
  mix-blend-mode: multiply;
}
.poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.08) brightness(0.88);
}
.overview-primary {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.title-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.title-block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 2px;
  background: var(--blood-lit);
}
.movie-title {
  font-family: var(--font-song);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper-bright);
}
.movie-tagline {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--blood-glow);
  border-left: 2px solid var(--blood);
  padding-left: 8px;
}
.player-wrapper {
  position: relative;
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #05070a;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(180deg, #141b23 0%, #0f151c 100%);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--fog);
  background: rgba(38, 50, 63, 0.5);
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: var(--paper-bright);
  border-color: var(--steel);
}
.ctrl-btn.is-playing, .ctrl-btn.is-active {
  color: var(--paper-bright);
  border-color: var(--blood-lit);
  background: rgba(110, 31, 28, 0.5);
}
.ctrl-btn.is-muted {
  color: var(--blood-glow);
  border-color: var(--blood);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  background: var(--iron-4);
  border: 0;
  outline: none;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--blood-lit);
  border: 0;
  transform: skewX(-14deg);
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border: 0;
  border-radius: 0;
  background: var(--blood-lit);
}
.ctrl-range::-moz-range-track {
  height: 4px;
  background: var(--iron-4);
}
.ctrl-range:hover::-webkit-slider-thumb {
  background: var(--blood-glow);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  padding: 4px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  background: rgba(38, 50, 63, 0.3);
  color: var(--fog);
}
.status-current {
  color: var(--paper-bright);
  border-color: var(--blood-lit);
  background: rgba(110, 31, 28, 0.42);
  transform: skewX(-12deg);
}
.status-total {
  color: var(--fog);
}
.details-panel, .synopsis-panel, .cast-panel {
  padding: 12px 14px;
  background: var(--iron-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--iron-4);
}
.details-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 18px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(51, 65, 79, 0.6);
  min-width: 0;
}
.detail-key {
  flex: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fog-dim);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
  font-size: 13px;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.synopsis-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.75;
  color: #9fb0be;
  text-align: justify;
}
.synopsis-paragraph:first-child {
  color: var(--paper);
}
.cast-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cast-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: var(--iron-3);
  min-width: 0;
}
.cast-name {
  font-family: var(--font-song);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper-bright);
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1.1;
  height: 3.4em;
  margin: 0 auto;
}
.cast-role {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fog-dim);
  text-align: center;
  line-height: 1.4;
}
.timeline-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
}
.timeline-track {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 26px 0 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--blood) var(--iron);
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: var(--iron);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--blood);
}
.timeline-list {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 0 4px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 1px;
  background: linear-gradient(90deg, rgba(110, 31, 28, 0.15) 0%, var(--blood-lit) 20%, var(--blood) 80%, rgba(110, 31, 28, 0.15) 100%);
}
.timeline-node {
  position: relative;
  flex: none;
  width: 168px;
  padding: 0 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.timeline-node::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 5px;
  background: var(--iron-3);
  border: 1px solid var(--blood-lit);
  transform: rotate(45deg) translateX(-1px);
  flex: none;
}
.timeline-node:last-child::before {
  background: var(--blood-lit);
}
.timeline-timecode {
  font-family: var(--font-hard);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blood-glow);
}
.timeline-label {
  font-size: 12px;
  line-height: 1.5;
  color: #9fb0be;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}
.episodes-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px 12px;
  background: var(--iron-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--iron-4);
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 12px 12px 0;
  border-style: solid;
  border-color: transparent var(--ink) transparent transparent;
}
.episode-locked {
  opacity: 0.52;
  background: #121920;
}
.episode-locked .episode-title, .episode-locked .episode-number {
  color: #6f7d8b;
}
.episode-unlocked {
  opacity: 1;
  background: linear-gradient(180deg, #1b242f 0%, #161e27 100%);
  border-color: var(--blood);
  border-left-color: var(--blood-lit);
  box-shadow: inset 0 0 0 1px rgba(166, 51, 41, 0.18);
}
.episode-unlocked::after {
  border-color: transparent var(--ink) transparent transparent;
}
.episode-number {
  font-family: var(--font-song);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--fog-dim);
}
.episode-unlocked .episode-number {
  color: var(--blood-glow);
}
.episode-title {
  font-family: var(--font-song);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper-bright);
  line-height: 1.25;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: #8a99a8;
  overflow-wrap: anywhere;
}
.episode-duration {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fog-dim);
  padding-top: 6px;
  border-top: 1px solid rgba(51, 65, 79, 0.5);
}
.comments-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
  align-items: start;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: #141c25;
  border: 1px solid var(--line);
  border-top: 1px solid var(--iron-4);
  min-width: 0;
  position: relative;
}
.comment-note::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--blood-lit);
}
.comment-nickname {
  font-family: var(--font-song);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blood-glow);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: #9fb0be;
  overflow-wrap: anywhere;
}
.comment-offset-a {
  margin-top: 0;
}
.comment-offset-b {
  margin-top: 18px;
}
.comment-offset-c {
  margin-top: 8px;
}
.recommendation-region {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 0 4px;
  border-top: 1px solid var(--line);
}
.recommendation-region .section-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.recommendation-region .section-heading::after {
  content: attr(data-recommendation-title);
  display: none;
}
.recommendation-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommendation-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: var(--iron-2);
  border: 1px solid var(--line);
  color: var(--paper);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.recommendation-item:hover {
  border-color: var(--blood-lit);
  background: #1a232e;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.65) brightness(0.9);
  border: 1px solid rgba(51, 65, 79, 0.6);
}
.recommendation-thumb {
  background: var(--ink);
}
.recommendation-name {
  font-family: var(--font-song);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper-bright);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.recommendation-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--fog-dim);
  overflow-wrap: anywhere;
}
.recommendation-region + .recommendation-region {
  margin-top: 6px;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #0e141b 0%, #090c10 100%);
  margin-top: 20px;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--fog);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--line);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--paper-bright);
  border-color: var(--blood-lit);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--fog-dim);
  padding-right: 8px;
  border-right: 1px solid var(--line);
  flex: none;
}
a.runtime-friend-link {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #6f7d8b;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--blood-glow);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #4d5966;
  padding-top: 10px;
  border-top: 1px solid rgba(51, 65, 79, 0.5);
  max-width: 900px;
}
.lights-off .page-main, .lights-off .site-footer {
  filter: brightness(0.4);
}
.lights-off .player-wrapper {
  filter: brightness(1.25);
  box-shadow: 0 0 0 1px var(--blood), 0 0 34px rgba(166, 51, 41, 0.35);
}
.theater-mode .player-wrapper {
  position: relative;
  z-index: 30;
  box-shadow: 0 0 0 1px var(--blood), 0 12px 40px rgba(0, 0, 0, 0.7);
}
.theater-mode .poster-column {
  opacity: 0.4;
}
@media (max-width: 1080px) {.movie-overview {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 20px;
  }
.episodes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comments-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.poster-column {
    justify-content: center;
  }
.poster-wrapper {
    width: min(100%, 320px);
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 620px) {.site-header {
    padding: 10px 14px;
  }
a[data-contract="site-name"] {
    font-size: 17px;
    letter-spacing: 0.16em;
  }
.page-main {
    padding: 0 14px 30px;
  }
.movie-title {
    font-size: 23px;
  }
.movie-tagline {
    font-size: 12px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-offset-b, .comment-offset-c {
    margin-top: 0;
  }
.cast-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommendation-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.footer-inner {
    padding: 16px 14px 22px;
  }}
@media (max-width: 400px) {.recommendation-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-strip {
    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}
