*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:root {
  --bg: #10171c;
  --bg-2: #141d23;
  --bg-3: #0b1116;
  --panel: #17232a;
  --line: #23323a;
  --gold: #b68a3e;
  --gold-soft: #8a6a33;
  --gold-dim: rgba(182, 138, 62, 0.32);
  --text: #cdd6da;
  --text-2: #93a1a8;
  --text-3: #74838b;
  --iron: #2a3941;
  --radius: 2px;
}
html, body {
  background: var(--bg);
}
body {
  font-family: "Songti SC", "SimSun", "Noto Serif SC", Georgia, serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  background-image:
    linear-gradient(180deg, #0d1418 0%, #10171c 22%, #10171c 100%);
  background-attachment: fixed;
  min-height: 100%;
}
h1, h2, h3, .site-brand, .section-heading, .recommend-heading, .action-play, .action-theater, .action-light, .ctrl-btn, .ctrl-speed, .episode-number, .episode-title, .episode-duration, .cast-name, .cast-role, .status-line, .timeline-time, .timeline-label, .detail-key, .detail-value, .comment-nickname, .recommend-name, .recommend-blurb, .footer-disclaimer, .footer-link, .friend-links-label, .runtime-friend-link, .runtime-category {
  font-family: "PingFang SC", "Heiti SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px 20px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), transparent 70%);
}
a[data-contract="site-name"].site-brand {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-decoration: none;
  padding-right: 14px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
a[data-contract="site-name"].site-brand:hover, a[data-contract="site-name"].site-brand:focus-visible {
  color: #e0b25c;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-2);
  text-decoration: none;
  border: 1px solid transparent;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
a.runtime-category:first-child { border-left-color: transparent; }
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--gold);
  border-color: var(--gold-dim);
  background: rgba(182, 138, 62, 0.06);
}
.page-main {
  display: block;
  width: 100%;
  padding: 0 0 8px;
}
.section-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text);
  padding: 0 0 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--gold);
}
.movie-overview {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.overview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 26px 26px 22px;
  overflow: hidden;
  isolation: isolate;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(182, 138, 62, 0.14), transparent 58%),
    linear-gradient(160deg, #1b262d 0%, #121a20 46%, #0c1216 100%);
}
.hero-figure, .hero-backdrop {
  position: absolute;
  color: transparent;
  font-size: 0;
  line-height: 0;
  user-select: none;
}
.hero-backdrop {
  right: -6%;
  top: -12%;
  width: 62%;
  height: 118%;
  background:
    repeating-linear-gradient(115deg, rgba(41, 57, 65, 0.55) 0 2px, transparent 2px 16px),
    linear-gradient(200deg, rgba(35, 50, 58, 0.75), transparent 72%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 34% 100%, 18% 62%);
  opacity: 0.55;
  filter: blur(1.5px);
}
.hero-figure {
  right: 4%;
  bottom: -14%;
  width: 40%;
  height: 108%;
  background:
    radial-gradient(60% 40% at 46% 12%, rgba(182, 138, 62, 0.22), transparent 70%),
    linear-gradient(184deg, #26343c 0%, #1a252c 40%, #0e151a 100%);
  clip-path: polygon(46% 0, 66% 12%, 58% 46%, 88% 70%, 74% 100%, 20% 100%, 30% 62%, 36% 22%);
  opacity: 0.7;
  filter: blur(0.6px);
}
.poster-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 220px;
  padding: 4px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 14px 30px rgba(0, 0, 0, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--gold-dim);
  pointer-events: none;
}
.poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  background: #0a0f13;
}
.hero-text {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 6px;
}
.movie-title {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: #e3e9eb;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}
.movie-tagline {
  margin-left: 15px;
  margin-top: 2px;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--gold);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold-dim);
  max-width: 100%;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.68;
  color: var(--text-2);
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.action-play, .action-theater, .action-light {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  padding: 7px 16px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--iron);
  border-radius: var(--radius);
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.action-play {
  color: #0d1216;
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 700;
}
.action-play:hover, .action-play:focus-visible { background: #d0a24f; border-color: #d0a24f; }
.action-theater:hover, .action-theater:focus-visible, .action-light:hover, .action-light:focus-visible {
  color: var(--gold);
  border-color: var(--gold-dim);
}
.action-theater.is-active, .action-light.is-active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(182, 138, 62, 0.1);
}
.player-shell {
  position: relative;
  margin: 0 26px 20px;
  padding: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.player-shell.lights-off {
  background: #05080a;
  border-color: var(--gold-dim);
}
.player-shell.lights-off .player-video {
  filter: brightness(0.42) contrast(1.12);
}
.player-video {
  width: 100%;
  height: auto;
  display: block;
  background: #000;
  border: 1px solid #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 6px 2px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.ctrl-btn {
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  background: var(--panel);
  color: var(--text-2);
  border: 1px solid var(--iron);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible { color: var(--gold); border-color: var(--gold-dim); }
.ctrl-btn.is-active {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(182, 138, 62, 0.1);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--iron);
  border-radius: 0;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 14px;
  background: var(--gold);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 9px;
  height: 14px;
  background: var(--gold);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 90px;
  width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--iron);
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 8px;
  height: 12px;
  background: var(--gold-soft);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-volume::-moz-range-thumb {
  width: 8px;
  height: 12px;
  background: var(--gold-soft);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
.ctrl-speed {
  font-size: 12px;
  padding: 4px 6px;
  background: var(--panel);
  color: var(--text-2);
  border: 1px solid var(--iron);
  border-radius: var(--radius);
  cursor: pointer;
}
.episode-status {
  margin: 0 26px 20px;
  padding: 0;
}
.status-line {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 6px;
}
.status-track {
  position: relative;
  height: 3px;
  width: 100%;
  background: var(--iron);
  overflow: hidden;
}
.status-progress {
  display: block;
  height: 100%;
  width: 66%;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
}
.cast-section, .synopsis-section, .details-section, .timeline-section, .episodes-section, .comments-section {
  padding: 18px 26px;
  border-top: 1px solid var(--line);
}
.movie-overview > .cast-section, .movie-overview > .synopsis-section, .movie-overview > .details-section {
  border-top: 1px solid var(--line);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 92px;
  padding: 8px 4px 9px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.cast-avatar {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--gold);
  background:
    radial-gradient(circle at 32% 22%, rgba(182, 138, 62, 0.22), transparent 62%),
    linear-gradient(160deg, #26343c, #121a20);
  border: 1px solid var(--iron);
  border-radius: 50%;
  overflow: hidden;
}
.cast-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}
.cast-role {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-3);
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--text-2);
  max-width: 78ch;
  text-indent: 2em;
}
.synopsis-para + .synopsis-para { margin-top: 8px; }
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  width: 72px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--text);
}
.timeline-list {
  position: relative;
  display: block;
  padding-left: 4px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 62px 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  position: relative;
  padding: 0 0 14px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: 71px;
  top: 12px;
  bottom: -2px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-dim), rgba(35, 50, 58, 0.6));
}
.timeline-item:last-child::before { display: none; }
.timeline-time {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-align: right;
  padding-top: 2px;
  white-space: nowrap;
}
.timeline-dot {
  width: 8px;
  height: 8px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--gold);
  position: relative;
  z-index: 1;
}
.timeline-label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  padding-top: 1px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 11px 10px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-left: 2px solid var(--iron);
  transition: border-color 0.15s, background 0.15s;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.episode-card:hover {
  background: var(--panel);
  border-left-color: var(--gold);
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  -webkit-line-clamp: 12;
  color: var(--text-2);
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-top: 2px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.comments-masonry {
  column-count: 2;
  column-gap: 10px;
}
.comment-card {
  display: block;
  break-inside: avoid;
  margin: 0 0 10px;
  padding: 9px 11px 10px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-top: 2px solid var(--iron);
  transition: border-color 0.15s;
}
.comment-card:hover { border-top-color: var(--gold); }
.comment-nickname {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text-2);
}
.recommend-region {
  padding: 16px 0 18px;
  border-top: 1px solid var(--gold-dim);
}
.recommend-region + .recommend-region { border-top-width: 1px; }
.recommend-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text);
  text-align: left;
  padding: 0 26px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.recommend-heading::before {
  content: "";
  flex: 0 0 auto;
  width: 3px;
  height: 14px;
  background: var(--gold);
}
.recommend-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 26px 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}
.recommend-rail::-webkit-scrollbar { height: 6px; }
.recommend-rail::-webkit-scrollbar-track { background: var(--bg-3); }
.recommend-rail::-webkit-scrollbar-thumb { background: var(--gold-dim); }
a.recommend-card {
  flex: 0 0 auto;
  width: 158px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 0 8px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--text-2);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  border-color: var(--gold-dim);
  color: var(--text);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #0a0f13;
  border-bottom: 1px solid var(--line);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  padding: 5px 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-3);
  padding: 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  padding: 18px 26px 26px;
  background: var(--bg-3);
  border-top: 1px solid var(--gold-dim);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-3);
  max-width: 96ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-2);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"].footer-link:hover, a[data-contract="footer-home"].footer-link:focus-visible, a[data-contract="footer-sitemap"].footer-link:hover, a[data-contract="footer-sitemap"].footer-link:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-3);
  text-decoration: none;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {.episodes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 760px) {.site-header { padding: 9px 14px; gap: 10px; }
.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 18px 14px 16px;
  }
.poster-frame { max-width: 180px; }
.hero-figure { width: 58%; right: -6%; opacity: 0.42; }
.hero-backdrop { width: 84%; opacity: 0.42; }
.movie-title { font-size: 24px; }
.movie-tagline { margin-left: 15px; font-size: 12px; letter-spacing: 0.16em; }
.player-shell { margin: 0 14px 16px; }
.episode-status { margin: 0 14px 16px; }
.cast-section, .synopsis-section, .details-section, .timeline-section, .episodes-section, .comments-section { padding: 14px; }
.comments-masonry { column-count: 1; }
.recommend-heading { padding: 0 14px 9px; }
.recommend-rail { padding: 0 14px 6px; }
.site-footer { padding: 16px 14px 22px; }}
@media (max-width: 560px) {.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.details-grid { grid-template-columns: minmax(0, 1fr); }
.cast-card { width: 100%; flex-direction: row; align-items: center; text-align: left; gap: 8px; padding: 7px 8px; }
.cast-avatar { width: 44px; height: 44px; flex: 0 0 auto; font-size: 11px; }
.cast-name, .cast-role { display: block; }
.timeline-item { grid-template-columns: 54px 16px minmax(0, 1fr); gap: 8px; }
.timeline-item::before { left: 61px; }
.hero-actions { gap: 6px; }
.action-play, .action-theater, .action-light { padding: 6px 12px; font-size: 12px; }
.ctrl-progress { flex: 1 1 100%; order: 3; }
.ctrl-volume { flex: 0 1 70px; width: 70px; order: 4; }}

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}
