*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #0e1011;
  color: #c9cdcf;
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-stretch: condensed;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
h1, h2, h3 {
  margin: 0;
  font-family: "Heiti SC", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
p { margin: 0; }
ul, ol, dl, dd, figure, figcaption { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 10px 20px;
  background: #101314;
  border-bottom: 1px solid #1c2021;
}
.site-brand, a[data-contract="site-name"] {
  font-family: "Heiti SC", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #d8dcdd;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: #b3543a; }
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  font-size: 13px;
  color: #8d9496;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}
a.runtime-category:hover {
  color: #d8dcdd;
  border-bottom-color: #b3543a;
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}
.hero-poster {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  grid-template-areas:
    "poster caption"
    "poster player"
    "cast   cast"
    "syn    syn"
    "status details";
  gap: 20px 24px;
  align-items: start;
  background: #121516;
  border: 1px solid #1d2122;
  padding: 20px;
}
.poster-media {
  grid-area: poster;
  position: relative;
  align-self: start;
  width: 100%;
  background: #0a0c0c;
  border: 1px solid #23282a;
  box-shadow: 0 0 0 1px rgba(179, 84, 58, 0.14), 0 18px 40px -24px #000;
}
.poster-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 16, 17, 0.15) 0%, rgba(14, 16, 17, 0.55) 100%),
              radial-gradient(120% 60% at 50% 88%, rgba(214, 158, 66, 0.28), rgba(214, 158, 66, 0) 70%);
  pointer-events: none;
}
.poster-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.poster-caption {
  grid-area: caption;
  align-self: start;
  padding-left: 16px;
  border-left: 3px solid #b3543a;
}
.movie-title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #eef1f1;
  text-align: left;
  margin-bottom: 6px;
}
.movie-tagline {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #b3543a;
  margin-bottom: 10px;
}
.movie-seo {
  font-size: 13.5px;
  line-height: 1.75;
  color: #9aa1a3;
  max-width: 62ch;
}
.player-shell {
  grid-area: player;
  position: relative;
  width: 100%;
  align-self: start;
  background: #08090a;
  border: 1px solid #23282a;
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 6px 8px;
  background: #101314;
  border-top: 1px solid #1d2122;
}
.player-controls button, .player-controls select {
  font-family: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #a9b0b2;
  padding: 4px 9px;
  border: 1px solid #262b2d;
  background: #15191a;
  cursor: pointer;
  white-space: nowrap;
}
.player-controls button:hover, .player-controls select:hover {
  color: #eef1f1;
  border-color: #b3543a;
}
.player-controls input[type="range"] {
  flex: 1 1 90px;
  min-width: 70px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: #2a2f31;
  cursor: pointer;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  background: #b3543a;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  background: #b3543a;
}
.player-controls button.is-playing, .player-controls button.is-active { color: #b3543a; border-color: #b3543a; }
.player-controls button.is-muted { color: #6d7476; }
.player-shell.is-theater {
  grid-column: 1 / -1;
  grid-row: auto;
}
body.is-lights-off { background: #050606; }
body.is-lights-off .page-main > *:not(.hero-poster) { opacity: 0.35; }
.section-heading {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #dfe3e3;
  padding-left: 10px;
  border-left: 3px solid #b3543a;
  margin-bottom: 12px;
}
.cast-panel {
  grid-area: cast;
  min-width: 0;
}
.cast-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #2a2f31 transparent;
  border: 1px solid #1d2122;
  background: #0b0d0e;
}
.cast-strip::-webkit-scrollbar { height: 6px; }
.cast-strip::-webkit-scrollbar-thumb { background: #2a2f31; }
.cast-card {
  flex: 0 0 auto;
  width: 132px;
}
.cast-figure {
  position: relative;
  display: block;
  overflow: hidden;
  background: #08090a;
}
.cast-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.05) brightness(0.86);
  transition: filter 0.25s ease, transform 0.35s ease;
}
.cast-card:hover .cast-photo, .cast-card:focus-within .cast-photo {
  filter: grayscale(0) contrast(1.08) brightness(1);
  transform: scale(1.03);
}
.cast-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 16px 8px 7px;
  background: linear-gradient(180deg, rgba(6, 8, 8, 0) 0%, rgba(6, 8, 8, 0.92) 62%);
}
.cast-name {
  font-family: "Heiti SC", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #eef1f1;
  letter-spacing: 0.06em;
}
.cast-role {
  font-size: 11px;
  color: #b3543a;
  letter-spacing: 0.04em;
}
.synopsis-panel { grid-area: syn; min-width: 0; }
.synopsis-body {
  columns: 2;
  column-gap: 26px;
  column-rule: 1px solid #1d2122;
}
.synopsis-paragraph {
  font-size: 13.5px;
  line-height: 1.85;
  color: #a4aaac;
  margin-bottom: 10px;
  break-inside: avoid;
}
.synopsis-paragraph:last-child { margin-bottom: 0; color: #d0d5d6; }
.episode-status-panel {
  grid-area: status;
  min-width: 0;
  align-self: start;
  padding: 12px 14px;
  background: #0b0d0e;
  border: 1px solid #1d2122;
  border-left: 3px solid #b3543a;
}
.episode-status-line {
  font-size: 13.5px;
  color: #a4aaac;
  letter-spacing: 0.02em;
}
.status-number {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 15px;
  color: #d6d9da;
  padding: 0 2px;
}
.details-panel {
  grid-area: details;
  min-width: 0;
  align-self: start;
  background: #0b0d0e;
  border: 1px solid #1d2122;
  padding: 14px 16px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 2px 22px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid #171b1c;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 4.2em;
  font-size: 12px;
  color: #6d7476;
  letter-spacing: 0.06em;
}
.detail-value {
  margin: 0;
  font-size: 13px;
  color: #c9cdcf;
}
.episodes-panel { min-width: 0; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #1d2122;
  border: 1px solid #1d2122;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "num summary summary";
  gap: 2px 12px;
  align-items: start;
  padding: 11px 14px;
  background: #0f1213;
  transition: background 0.2s ease;
}
.episode-card:hover { background: #141819; }
.episode-number {
  grid-area: num;
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.1;
  color: #7f8688;
  letter-spacing: -0.02em;
  min-width: 1.6em;
}
.episode-card:hover .episode-number { color: #b3543a; }
.episode-title {
  grid-area: title;
  font-size: 14px;
  font-weight: 600;
  color: #e3e7e7;
  letter-spacing: 0.04em;
}
.episode-duration {
  grid-area: dur;
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 11px;
  color: #6d7476;
  white-space: nowrap;
  padding-top: 3px;
}
.episode-summary {
  grid-area: summary;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8d9496;
}
.timeline-panel {
  min-width: 0;
  background: #0b0d0e;
  border: 1px solid #1d2122;
  padding: 16px 20px 18px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
}
.timeline-node {
  position: relative;
  padding: 0 0 16px 20px;
  text-align: left;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 7px;
  height: 7px;
  background: #b3543a;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(179, 84, 58, 0.16);
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 15px;
  bottom: 0;
  border-left: 1px dashed #3a4143;
}
.timeline-node:last-child::after { display: none; }
.timeline-timecode {
  display: block;
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #b3543a;
  margin-bottom: 2px;
}
.timeline-label {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: #b7bdbe;
}
.comments-panel { min-width: 0; }
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}
.comment-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 9px 14px;
  border-bottom: 1px solid #1a1e1f;
}
.comment-bar {
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: #b3543a;
}
.comment-text {
  font-size: 13.5px;
  line-height: 1.75;
  color: #c2c7c8;
}
.comment-nickname {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #6d7476;
}
.recommend-region {
  min-width: 0;
  background: #0b0d0e;
  border: 1px solid #1d2122;
  padding: 14px 16px 16px;
}
.region-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid #1d2122;
}
.region-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #dfe3e3;
}
.region-count {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 11px;
  color: #6d7476;
  white-space: nowrap;
}
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
a.recommend-card, .recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  color: #c9cdcf;
  background: #0f1213;
  border: 1px solid #1a1e1f;
  padding: 8px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
a.recommend-card:hover, .recommend-card:hover, a.recommend-card.is-active, .recommend-card.is-active {
  border-color: #b3543a;
  background: #141819;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #08090a;
  filter: grayscale(0.4) brightness(0.9);
}
[data-runtime="recommendation"]:hover img { filter: grayscale(0) brightness(1); }
.recommend-pic { display: block; width: 100%; object-fit: cover; }
.recommend-name {
  font-family: "Heiti SC", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #e3e7e7;
  letter-spacing: 0.03em;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: #818789;
}
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 14px 28px;
  align-items: start;
  margin-top: 20px;
  padding: 18px 20px 26px;
  background: #0b0d0e;
  border-top: 1px solid #1d2122;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.8;
  color: #6d7476;
  max-width: 68ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: flex-end;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: "Heiti SC", "PingFang SC", sans-serif;
  font-size: 12.5px;
  color: #a4aaac;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #b3543a;
  border-bottom-color: #b3543a;
}
.friend-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 14px;
  padding-top: 12px;
  border-top: 1px solid #171b1c;
}
.friend-links-label {
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #6d7476;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: #8d9496;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid #24292a;
  padding-bottom: 1px;
}
a.runtime-friend-link:hover {
  color: #d8dcdd;
  border-bottom-color: #b3543a;
}
@media (max-width: 1080px) {.hero-poster {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
    grid-template-areas:
      "poster caption"
      "poster player"
      "cast   cast"
      "syn    syn"
      "status status"
      "details details";
  }
.timeline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 820px) {.page-main { padding: 14px; gap: 16px; }
.hero-poster {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "caption"
      "player"
      "cast"
      "syn"
      "status"
      "details";
    gap: 16px;
    padding: 14px;
  }
.poster-media { max-width: 300px; }
.poster-caption { padding-left: 12px; }
.synopsis-body { columns: 1; column-rule: none; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.site-footer {
    grid-template-columns: minmax(0, 1fr);
  }
.footer-nav { justify-content: flex-start; }}
@media (max-width: 560px) {body { font-size: 14px; }
.site-header { padding: 9px 14px; }
.category-strip { margin-left: 0; width: 100%; }
.page-main { padding: 12px; gap: 14px; }
.hero-poster { padding: 12px; gap: 14px; }
.movie-title { font-size: 24px; }
.movie-seo { font-size: 13px; }
.poster-media { max-width: none; }
.cast-card { width: 108px; }
.episode-card {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "num title"
      "num dur"
      "summary summary";
    padding: 10px 12px;
  }
.episode-duration { padding-top: 0; }
.region-grid { grid-template-columns: minmax(0, 1fr); }
.details-panel, .timeline-panel, .recommend-region { padding: 12px; }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.player-controls { gap: 5px 6px; }
.player-controls button, .player-controls select { font-size: 11px; padding: 3px 7px; }
.player-controls input[type="range"] { flex: 1 1 100%; }}

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}
