:root {
  --night: #14203a;
  --night-deep: #0c1526;
  --night-soft: #1d2d4d;
  --ochre: #b8722d;
  --ochre-deep: #8f5218;
  --cream: #f2e6d0;
  --cream-dim: #d9c9ad;
  --cinnabar: #c5342a;
  --cinnabar-soft: #e0574a;
  --ink: #1b1410;
  --line: rgba(242, 230, 208, 0.16);
  --font-title: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", "SimSun", serif;
  --font-body: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--night);
  background-image:
    radial-gradient(1200px 600px at 78% -8%, rgba(184, 114, 45, 0.22), transparent 62%),
    radial-gradient(900px 520px at 8% 4%, rgba(197, 52, 42, 0.14), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.015) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, var(--night) 0%, var(--night-deep) 100%);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--cream);
  text-decoration: none;
}
ul, ol, dl {
  list-style: none;
}
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
}
button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(12, 21, 38, 0.96), rgba(12, 21, 38, 0.82));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.9);
}
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--cinnabar) 0%, var(--ochre) 42%, transparent 88%);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 22px;
  letter-spacing: 0.14em;
  color: var(--cream);
  text-decoration: none;
  padding-left: 12px;
  position: relative;
  white-space: nowrap;
}
a[data-contract="site-name"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 24px;
  transform: translateY(-50%) skewY(-14deg);
  background: var(--cinnabar);
  border-radius: 2px 6px 2px 6px;
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
  max-width: 100%;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  padding: 3px 11px;
  color: var(--cream-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 12px 3px 12px 3px;
  background: rgba(184, 114, 45, 0.12);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
a.runtime-category:hover {
  color: var(--cream);
  background: rgba(197, 52, 42, 0.34);
  border-color: rgba(197, 52, 42, 0.7);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 18px 8px;
  display: block;
}
.section-heading {
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--cream);
  margin-bottom: 10px;
  padding-left: 14px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 6px;
  height: 1.05em;
  background: linear-gradient(180deg, var(--cinnabar), var(--ochre));
  border-radius: 50% 50% 4px 4px / 60% 60% 3px 3px;
  transform: skewX(-8deg);
}
.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  grid-template-areas:
    "portrait player"
    "details player"
    "status player"
    "synopsis synopsis"
    "cast cast";
  gap: 14px 18px;
  padding: 16px;
  margin-bottom: 22px;
  border-radius: 4px 40px 4px 40px;
  background:
    radial-gradient(680px 340px at 100% 0%, rgba(197, 52, 42, 0.16), transparent 68%),
    linear-gradient(160deg, rgba(184, 114, 45, 0.16), rgba(20, 32, 58, 0.4) 55%, rgba(12, 21, 38, 0.6)),
    var(--night-soft);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(242, 230, 208, 0.04), 0 22px 44px -32px #000;
}
.hero-panel::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 26px;
  width: 120px;
  height: 46px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(197, 52, 42, 0.5));
  clip-path: polygon(100% 0, 100% 100%, 0 78%, 26% 46%, 0 12%);
  opacity: 0.8;
}
.hero-portrait {
  grid-area: portrait;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-width: 0;
}
.poster-column {
  flex: 0 0 auto;
  width: 132px;
  min-width: 0;
}
.main-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 3px 18px 3px 18px;
  border: 1px solid rgba(242, 230, 208, 0.22);
  box-shadow: 0 12px 26px -16px #000;
}
.hero-scroll {
  flex: 1 1 auto;
  min-width: 0;
}
.movie-title {
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--cream);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}
.movie-tagline {
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--ochre);
  letter-spacing: 0.06em;
  padding-left: 10px;
  border-left: 3px solid var(--cinnabar);
}
.movie-seo {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--cream-dim);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.player-shell {
  grid-area: player;
  position: relative;
  align-self: start;
  min-width: 0;
  width: 100%;
  border-radius: 3px 26px 3px 26px;
  overflow: hidden;
  background: #05080f;
  border: 1px solid rgba(242, 230, 208, 0.2);
  box-shadow: 0 18px 40px -24px #000;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.main-player {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(12, 21, 38, 0.92), rgba(20, 32, 58, 0.98));
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  font-size: 12px;
  line-height: 1;
  padding: 6px 9px;
  color: var(--cream-dim);
  background: rgba(242, 230, 208, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px 2px 10px 2px;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}
.ctrl-btn:hover {
  color: var(--cream);
  background: rgba(184, 114, 45, 0.28);
  border-color: rgba(184, 114, 45, 0.6);
}
.ctrl-play {
  color: var(--cream);
  background: rgba(197, 52, 42, 0.34);
  border-color: rgba(197, 52, 42, 0.62);
}
.ctrl-btn.is-playing {
  background: rgba(184, 114, 45, 0.5);
  border-color: var(--ochre);
  color: #fff;
}
.ctrl-btn.is-seeking {
  color: var(--ochre);
  border-color: var(--ochre);
}
.ctrl-btn.is-low {
  color: var(--cinnabar-soft);
  border-color: var(--cinnabar-soft);
}
.ctrl-btn.is-muted {
  color: var(--cinnabar-soft);
  background: rgba(197, 52, 42, 0.22);
  border-color: rgba(197, 52, 42, 0.55);
}
.ctrl-btn.is-fast {
  color: #fff;
  background: rgba(184, 114, 45, 0.6);
  border-color: var(--ochre);
}
.ctrl-btn.is-active {
  color: #fff;
  background: rgba(197, 52, 42, 0.5);
  border-color: var(--cinnabar);
}
.player-shell.theater-mode {
  grid-column: 1 / -1;
  box-shadow: 0 0 0 1px var(--ochre), 0 26px 60px -28px #000;
}
body.lights-dim .hero-panel, body.lights-dim .page-main > section {
  filter: brightness(0.82);
}
body.lights-dim .player-shell {
  filter: none;
}
.detail-grid {
  grid-area: details;
  min-width: 0;
  align-self: start;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 12px;
  padding: 10px 12px;
  background: rgba(242, 230, 208, 0.05);
  border-left: 3px solid var(--ochre);
  border-radius: 2px 12px 2px 12px;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 12.5px;
  padding: 2px 0;
  border-bottom: 1px dashed rgba(242, 230, 208, 0.1);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  color: var(--ochre);
  letter-spacing: 0.06em;
}
.detail-val {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--cream);
  overflow-wrap: anywhere;
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: start;
}
.status-total, .status-current {
  font-size: 12.5px;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 12px 3px 12px 3px;
  letter-spacing: 0.06em;
}
.status-total {
  color: var(--cream);
  background: rgba(184, 114, 45, 0.3);
  border: 1px solid rgba(184, 114, 45, 0.6);
}
.status-current {
  color: #fff;
  background: rgba(197, 52, 42, 0.42);
  border: 1px solid rgba(197, 52, 42, 0.72);
}
.synopsis-block {
  grid-area: synopsis;
  min-width: 0;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.synopsis-columns {
  column-count: 2;
  column-gap: 26px;
  column-rule: 1px solid rgba(242, 230, 208, 0.1);
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--cream-dim);
  margin-bottom: 8px;
  break-inside: avoid;
  text-indent: 2em;
}
.synopsis-para::first-letter {
  color: var(--ochre);
  font-family: var(--font-title);
}
.cast-rail {
  grid-area: cast;
  min-width: 0;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.cast-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 114, 45, 0.6) transparent;
}
.cast-list::-webkit-scrollbar {
  height: 5px;
}
.cast-list::-webkit-scrollbar-thumb {
  background: rgba(184, 114, 45, 0.6);
  border-radius: 3px;
}
.cast-item {
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1;
  padding: 8px 15px;
  color: var(--cream);
  background: linear-gradient(140deg, rgba(184, 114, 45, 0.26), rgba(20, 32, 58, 0.5));
  border: 1px solid var(--line);
  border-radius: 16px 3px 16px 3px;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s, transform 0.18s;
}
.cast-item:hover {
  color: #fff;
  border-color: var(--ochre);
  transform: translateY(-2px);
}
.timeline-section {
  margin-bottom: 22px;
  padding: 14px 16px 16px;
  border-radius: 3px 24px 3px 24px;
  background: linear-gradient(180deg, rgba(29, 45, 77, 0.72), rgba(12, 21, 38, 0.6));
  border: 1px solid var(--line);
}
.timeline-list {
  display: grid;
  gap: 0;
  border-left: 2px solid rgba(184, 114, 45, 0.45);
  margin-left: 6px;
}
.timeline-item {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 7px 0 7px 18px;
  border-bottom: 1px dashed rgba(242, 230, 208, 0.08);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 13px;
  width: 11px;
  height: 11px;
  background: var(--cinnabar);
  border-radius: 50% 50% 4px 50%;
  transform: rotate(-12deg);
  box-shadow: 0 0 0 3px rgba(197, 52, 42, 0.18);
}
.timeline-timecode {
  flex: 0 0 auto;
  font-family: var(--font-title);
  font-size: 13.5px;
  color: var(--ochre);
  letter-spacing: 0.08em;
  min-width: 56px;
}
.timeline-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  color: var(--cream-dim);
  overflow-wrap: anywhere;
}
.episodes-section {
  margin-bottom: 22px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 13px 12px;
  background: linear-gradient(165deg, rgba(242, 230, 208, 0.09), rgba(242, 230, 208, 0.03) 60%, rgba(20, 32, 58, 0.5));
  border: 1px solid var(--line);
  border-radius: 3px 18px 3px 18px;
  box-shadow: inset 0 1px 0 rgba(242, 230, 208, 0.06);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.episode-card:hover {
  border-color: rgba(184, 114, 45, 0.62);
  background: linear-gradient(165deg, rgba(184, 114, 45, 0.2), rgba(20, 32, 58, 0.5));
  transform: translateY(-2px);
}
.episode-number {
  align-self: flex-start;
  font-family: var(--font-title);
  font-size: 12px;
  line-height: 1;
  padding: 4px 9px;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(197, 52, 42, 0.5);
  border-radius: 10px 2px 10px 2px;
}
.episode-title {
  font-size: 15.5px;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--cream-dim);
}
.episode-duration {
  margin-top: auto;
  align-self: flex-end;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ochre);
  padding-top: 4px;
  border-top: 1px dashed rgba(184, 114, 45, 0.35);
}
.comments-section {
  margin-bottom: 22px;
}
.comments-masonry {
  column-count: 2;
  column-gap: 10px;
}
.comment-block {
  break-inside: avoid;
  display: block;
  margin-bottom: 10px;
  padding: 10px 12px;
  background: rgba(242, 230, 208, 0.055);
  border-left: 3px solid var(--cinnabar);
  border-radius: 2px 14px 2px 14px;
}
.comment-block:nth-child(even) {
  border-left-color: var(--ochre);
  background: rgba(184, 114, 45, 0.1);
}
.comment-nickname {
  display: block;
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ochre);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--cream-dim);
}
.recommend-region {
  margin-bottom: 20px;
  padding: 13px 14px 14px;
  border-radius: 3px 22px 3px 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(29, 45, 77, 0.55), rgba(12, 21, 38, 0.35));
}
.region-one {
  border-left: 3px solid var(--cinnabar);
}
.region-two {
  border-left: 3px solid var(--ochre);
}
.region-three {
  border-left: 3px solid rgba(242, 230, 208, 0.45);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  color: var(--cream);
  text-decoration: none;
  background: rgba(12, 21, 38, 0.6);
  border: 1px solid var(--line);
  border-radius: 3px 16px 3px 16px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
a.recommend-card:hover {
  border-color: var(--cinnabar-soft);
  transform: translateY(-3px);
  box-shadow: 0 14px 26px -18px #000;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 108px;
  object-fit: cover;
  border-radius: 2px 10px 2px 10px;
  background: #0a1120;
}
.recommend-name {
  font-family: var(--font-title);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--cream-dim);
}
.site-footer {
  margin-top: 12px;
  background: linear-gradient(180deg, rgba(12, 21, 38, 0.4), var(--night-deep));
  border-top: 1px solid var(--line);
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--ochre), var(--cinnabar) 45%, transparent 92%);
  clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 18px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: flex-start;
}
.footer-disclaimer {
  flex: 1 1 320px;
  min-width: 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(217, 201, 173, 0.72);
}
.footer-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ochre);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--cinnabar-soft);
  border-bottom-color: var(--cinnabar-soft);
}
.friend-links {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed rgba(242, 230, 208, 0.12);
}
.friend-links-label {
  font-family: var(--font-title);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--cream-dim);
  padding-right: 6px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: rgba(217, 201, 173, 0.78);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 8px 2px 8px 2px;
  background: rgba(242, 230, 208, 0.05);
  transition: color 0.18s, background 0.18s;
}
a.runtime-friend-link:hover {
  color: var(--cream);
  background: rgba(184, 114, 45, 0.3);
}
@media (max-width: 900px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "portrait"
      "player"
      "details"
      "status"
      "synopsis"
      "cast";
    border-radius: 3px 26px 3px 26px;
  }
.hero-panel::after {
    width: 84px;
    height: 34px;
  }
.synopsis-columns {
    column-count: 2;
    column-gap: 18px;
  }}
@media (max-width: 720px) {body {
    font-size: 14.5px;
  }
.header-inner {
    padding: 8px 14px;
  }
a[data-contract="site-name"] {
    font-size: 19px;
  }
.page-main {
    padding: 14px 14px 6px;
  }
.hero-panel {
    padding: 13px;
    gap: 12px;
    border-radius: 3px 20px 3px 20px;
  }
.poster-column {
    width: 108px;
  }
.movie-title {
    font-size: 21px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.synopsis-columns {
    column-count: 1;
    column-rule: none;
  }
.comments-masonry {
    column-count: 1;
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  }
[data-runtime="recommendation"] img {
    height: 92px;
  }
.footer-inner {
    padding: 14px 14px 20px;
  }}
@media (max-width: 460px) {.hero-portrait {
    flex-direction: column;
    gap: 10px;
  }
.poster-column {
    width: 124px;
  }
.movie-title {
    font-size: 19px;
  }
.section-heading {
    font-size: 17.5px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
[data-runtime="recommendation"] img {
    height: 84px;
  }
.timeline-item {
    flex-direction: column;
    gap: 2px;
  }
.timeline-timecode {
    min-width: 0;
  }
.ctrl-btn {
    font-size: 11px;
    padding: 5px 7px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
    animation: none !important;
  }}

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}
