*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: #0b0c0e;
  color: #d8dde3;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", sans-serif;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-family: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
  font-weight: 300;
  letter-spacing: 0.06em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 10, 12, 0.94);
  border-bottom: 1px solid #1c1f24;
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px 18px;
}
a[data-contract="site-name"] {
  color: #eef1f4;
  text-decoration: none;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.18em;
  padding-left: 10px;
  border-left: 2px solid #8c1c22;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #fff;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
a.nav-item {
  color: #8f98a3;
  text-decoration: none;
  font-size: 13px;
  padding: 5px 11px;
  border: 1px solid transparent;
  letter-spacing: 0.08em;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: color 0.15s, border-color 0.15s;
}
a.nav-item:hover {
  color: #e8ecf0;
  border-color: #2b3038;
}
.category-strip {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
}
a.runtime-category {
  color: #a4acb6;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 9px;
  border: 1px solid #23272d;
  background: #101216;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #e9edf1;
  border-color: #8c1c22;
  background: #16181d;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-heading {
  font-size: 15px;
  letter-spacing: 0.28em;
  color: #e7ebef;
  padding-left: 10px;
  border-left: 2px solid #8c1c22;
  margin-bottom: 9px;
  line-height: 1.2;
}
.movie-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
}
.hero-backdrop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.6fr);
  gap: 0;
  background:
    linear-gradient(100deg, #14171b 0%, #101317 38%, #0a0b0d 62%, #0d0709 100%);
  border: 1px solid #1b1e23;
  overflow: hidden;
  min-height: 0;
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(140, 20, 28, 0.42) 0%, rgba(140, 20, 28, 0) 52%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55) 100%);
}
.poster-shell {
  position: relative;
  z-index: 2;
  align-self: start;
  width: 100%;
  max-width: 300px;
  margin: 16px 0 16px 16px;
  border: 1px solid #2a2e34;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.62);
}
.poster-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #15171b;
  filter: saturate(0.82) contrast(1.06);
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 20px 26px 22px 30px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(26px, 4vw, 42px);
  color: #f2f5f8;
  letter-spacing: 0.14em;
  line-height: 1.06;
}
.movie-tagline {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #b9909a;
  border-left: 1px solid #5d1a20;
  padding-left: 10px;
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.62;
  color: #9aa3ad;
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 3px;
}
.hero-actions button {
  cursor: pointer;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  padding: 7px 15px;
  background: #14171c;
  color: #cfd6dd;
  border: 1px solid #2c3138;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.hero-actions button:hover {
  background: #1c2026;
  color: #fff;
}
.action-play {
  border-color: #8c1c22 !important;
  color: #f0e2e4 !important;
  background: #1d0f12 !important;
}
.action-play:hover {
  background: #8c1c22 !important;
  color: #fff !important;
}
.action-theater.is-active, .action-light.is-active {
  border-color: #8c1c22;
  color: #f4d9dc;
  background: #220f13;
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #000;
  border: 1px solid #1d2126;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 8px 10px;
  background: #0e1013;
  border-top: 1px solid #1c2026;
}
.control-btn {
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: #14171c;
  color: #b9c1ca;
  border: 1px solid #262b32;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.control-btn:hover {
  color: #fff;
  border-color: #3a4149;
}
.control-btn.is-muted {
  border-color: #8c1c22;
  color: #f0c9cd;
}
.control-range, .control-select {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: #7d868f;
  min-width: 0;
}
.control-label {
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.control-range input[type="range"] {
  width: 108px;
  accent-color: #8c1c22;
  background: transparent;
  cursor: pointer;
}
.control-select select {
  background: #14171c;
  border: 1px solid #262b32;
  color: #c3cad2;
  font-size: 11.5px;
  padding: 3px 5px;
  cursor: pointer;
}
.cast-strip {
  border-top: 1px solid #1a1d22;
  padding-top: 12px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: start;
  padding: 8px 9px 9px;
  background: #101216;
  border: 1px solid #1c2025;
  border-left: 2px solid #23272d;
  min-width: 0;
  transition: border-left-color 0.16s, background 0.16s;
}
.cast-card:hover {
  background: #14171c;
  border-left-color: #8c1c22;
}
.cast-name {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 14px;
  color: #eef1f4;
  letter-spacing: 0.1em;
  line-height: 1.2;
}
.cast-role {
  font-size: 11.5px;
  color: #b06a72;
  letter-spacing: 0.1em;
}
.cast-note {
  font-size: 11px;
  line-height: 1.45;
  color: #78818b;
}
.synopsis-block {
  border-top: 1px solid #1a1d22;
  padding-top: 12px;
}
.synopsis-body {
  columns: 2;
  column-gap: 26px;
  column-rule: 1px solid #1c2025;
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.62;
  color: #9aa3ad;
  margin-bottom: 8px;
  break-inside: avoid;
}
.synopsis-paragraph:first-child::first-letter {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 30px;
  line-height: 1;
  color: #8c1c22;
  float: left;
  margin: 2px 7px 0 0;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  padding: 9px 12px;
  background: #0f1114;
  border: 1px solid #1c2025;
  border-left: 2px solid #8c1c22;
}
.status-current {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #e6eaee;
}
.status-total {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #7c858f;
}
.status-score {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 22px;
  line-height: 1;
  color: #c0272f;
  margin-left: auto;
  letter-spacing: 0.04em;
}
.details-block {
  border-top: 1px solid #1a1d22;
  padding-top: 12px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #1a1d22;
  border: 1px solid #1a1d22;
}
.detail-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 10px;
  background: #101216;
  min-width: 0;
}
.detail-key {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: #6e7680;
}
.detail-value {
  font-size: 12.5px;
  color: #d3d9df;
  overflow-wrap: break-word;
}
.timeline-section {
  border-top: 1px solid #1a1d22;
  padding-top: 13px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 22px;
  padding-left: 20px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, #dfe5ea 0%, #5c646d 60%, #23262b 100%);
}
.timeline-node {
  position: relative;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px 8px;
  background: #0f1114;
  border: 1px solid #1b1f24;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 11px;
  width: 8px;
  height: 8px;
  background: #2a2f36;
  border: 1px solid #4a525b;
  transform: rotate(45deg) translateX(-1px);
}
.timeline-node.is-watched::before {
  background: #a51f27;
  border-color: #d24b53;
  box-shadow: 0 0 8px rgba(165, 31, 39, 0.7);
}
.timeline-node.is-active {
  background: #17191e;
  border-color: #3a2026;
}
.timeline-node.is-active::before {
  background: #e0404a;
  border-color: #ff8f96;
  box-shadow: 0 0 12px rgba(224, 64, 74, 0.85);
}
.node-timecode {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #7f8892;
  font-variant-numeric: tabular-nums;
}
.timeline-node.is-watched .node-timecode {
  color: #b0646c;
}
.timeline-node.is-active .node-timecode {
  color: #e0565f;
}
.node-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: #c2c9d1;
}
.timeline-node.is-active .node-label {
  color: #f0f3f6;
}
.episodes-section {
  border-top: 1px solid #1a1d22;
  padding-top: 13px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-self: start;
  padding: 9px 10px 10px;
  background: #0f1114;
  border: 1px solid #1b1f24;
  border-left: 2px solid #23272d;
  min-width: 0;
  transition: background 0.16s, border-left-color 0.16s;
}
.episode-card:hover {
  background: #14171c;
  border-left-color: #5d2027;
}
.episode-card.is-current {
  background: #181a20;
  border-color: #2e2226;
  border-left: 2px solid #c0272f;
}
.episode-number {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: #7c858f;
  font-variant-numeric: tabular-nums;
}
.episode-card.is-current .episode-number {
  color: #e0565f;
}
.episode-title {
  font-size: 14px;
  color: #e9edf1;
  letter-spacing: 0.12em;
  line-height: 1.25;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.55;
  color: #828b95;
  flex: 1 1 auto;
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #646c75;
  padding-top: 3px;
  border-top: 1px solid #1a1e23;
  font-variant-numeric: tabular-nums;
}
.comments-section {
  border-top: 1px solid #1a1d22;
  padding-top: 13px;
}
.comment-masonry {
  columns: 2;
  column-gap: 8px;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  break-inside: avoid;
  margin-bottom: 8px;
  padding: 9px 11px 10px;
  background: #101216;
  border: 1px solid #1b1f24;
  border-top: 1px solid #262b32;
  min-width: 0;
}
.comment-card:nth-child(3n) {
  background: #0e1013;
}
.comment-card:nth-child(4n + 2) {
  border-left: 2px solid #3d1a1f;
}
.comment-nickname {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #c3cad2;
}
.comment-text {
  font-size: 12px;
  line-height: 1.58;
  color: #8d959f;
}
.recommend-region {
  border-top: 1px solid #1a1d22;
  padding-top: 12px;
}
.region-heading {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: #dfe4e9;
  padding: 3px 10px 4px;
  margin-bottom: 8px;
  background: repeating-linear-gradient(
    135deg,
    #1a1d22 0px,
    #1a1d22 3px,
    #141719 3px,
    #141719 6px
  );
  border-left: 2px solid #8c1c22;
}
.rail-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #2b3038 transparent;
  padding-bottom: 4px;
}
.rail-track::-webkit-scrollbar {
  height: 5px;
}
.rail-track::-webkit-scrollbar-thumb {
  background: #2b3038;
}
a.rail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #c9d0d8;
  text-decoration: none;
  background: #0f1114;
  border: 1px solid #1b1f24;
  padding: 6px;
  min-width: 0;
  transition: border-color 0.16s, background 0.16s;
}
a.rail-item:hover {
  border-color: #4a2027;
  background: #14171c;
  color: #fff;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #15171b;
  filter: saturate(0.8) contrast(1.05);
}
.rail-name {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: #e2e7ec;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.rail-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: #7c858f;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 18px 30px;
  border-top: 1px solid #1a1d22;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #9aa3ad;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e0565f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  flex: 1 1 auto;
  min-width: 0;
}
.friend-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #5f676f;
}
a.runtime-friend-link {
  color: #79828c;
  text-decoration: none;
  font-size: 11.5px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: #c0272f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-size: 11px;
  line-height: 1.55;
  color: #565d65;
  letter-spacing: 0.02em;
}
body.is-lights-off {
  background: #050506;
}
body.is-lights-off .movie-hero, body.is-lights-off .cast-strip, body.is-lights-off .synopsis-block, body.is-lights-off .episode-status, body.is-lights-off .details-block, body.is-lights-off .timeline-section, body.is-lights-off .episodes-section, body.is-lights-off .comments-section, body.is-lights-off .recommend-region {
  opacity: 0.34;
  transition: opacity 0.4s ease;
}
body.is-lights-off .player-shell {
  opacity: 1;
  box-shadow: 0 0 60px rgba(140, 20, 28, 0.35);
}
body.is-theater .player-shell {
  position: relative;
  z-index: 60;
  box-shadow: 0 0 0 1px #8c1c22, 0 24px 70px rgba(0, 0, 0, 0.85);
}
.player-shell.is-playing {
  border-color: #3a2026;
}
.player-shell.is-playing .player-controls {
  border-top-color: #3a2026;
}
.control-btn.is-active, .action-theater.is-active, .action-light.is-active {
  border-color: #8c1c22;
  color: #f4d9dc;
}
@media (max-width: 1024px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 820px) {.hero-backdrop {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-shell {
    max-width: 220px;
    margin: 14px auto 0;
  }
.hero-copy {
    padding: 14px 16px 18px;
  }
.movie-title {
    font-size: 26px;
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.comment-masonry {
    columns: 1;
  }
.rail-track {
    grid-auto-columns: minmax(210px, 1fr);
  }}
@media (max-width: 640px) {.page-main {
    padding: 0 12px 26px;
    gap: 12px;
  }
.header-bar {
    padding: 8px 12px;
    gap: 10px;
  }
.category-strip {
    padding: 0 12px 7px;
  }
a.nav-item {
    padding: 4px 7px;
    font-size: 12px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.control-range input[type="range"] {
    width: 74px;
  }
.status-score {
    font-size: 18px;
  }
.rail-track {
    grid-auto-columns: minmax(180px, 1fr);
  }}
@media (max-width: 420px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-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}
