*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:root {
  --ink: #06121a;
  --ink-2: #0a1c26;
  --ink-3: #0e2531;
  --red: #e2402c;
  --red-deep: #8f1f16;
  --cyan: #2fb9c9;
  --cyan-deep: #14606d;
  --amber: #f39a3d;
  --paper: #d8e6e6;
  --paper-dim: #8fa6ab;
  --line: #1d3a46;
  --title: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --serif: "Songti SC", "SimSun", "Noto Serif CJK SC", Georgia, serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(120% 90% at 12% -10%, rgba(226, 64, 44, 0.20), transparent 55%),
    radial-gradient(110% 80% at 100% 6%, rgba(47, 185, 201, 0.14), transparent 60%),
    linear-gradient(180deg, #06121a 0%, #08161f 45%, #050e15 100%);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(4, 12, 18, 0.96), rgba(4, 12, 18, 0.78));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 14px;
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--title);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-decoration: none;
  text-shadow: 0 0 12px rgba(243, 154, 61, 0.45);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: var(--red); text-decoration: none; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--title);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  color: var(--cyan);
  text-decoration: none;
  border: 1px solid rgba(47, 185, 201, 0.35);
  background: rgba(47, 185, 201, 0.06);
}
a.runtime-category:hover {
  color: #04121a;
  background: var(--cyan);
  border-color: var(--cyan);
  text-decoration: none;
}
.page-main {
  display: block;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 14px 22px;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  padding: 12px 0 16px 30px;
}
.hero-filmstrip {
  position: absolute;
  inset: 0 auto 0 0;
  width: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  background: linear-gradient(180deg, rgba(226, 64, 44, 0.16), rgba(47, 185, 201, 0.10));
  border-right: 1px solid rgba(226, 64, 44, 0.35);
}
.film-perf {
  width: 11px;
  height: 15px;
  background: #04121a;
  border: 1px solid rgba(216, 230, 230, 0.30);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.9);
}
.hero-viewfinder {
  grid-column: 1 / span 8;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 14px 12px 12px;
  background:
    radial-gradient(90% 70% at 10% 0%, rgba(226, 64, 44, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(10, 28, 38, 0.95), rgba(6, 18, 26, 0.95));
  border: 1px solid var(--line);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
}
.poster-frame {
  position: relative;
  border: 1px solid rgba(226, 64, 44, 0.45);
  padding: 3px;
  background: #04121a;
  align-self: start;
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.06);
}
.hero-titles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.movie-title {
  font-family: var(--title);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #f2fbfb;
  text-shadow: 0 0 20px rgba(226, 64, 44, 0.55), 0 0 4px rgba(47, 185, 201, 0.5);
}
.movie-tagline {
  font-family: var(--title);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--amber);
  padding-left: 8px;
  border-left: 2px solid var(--red);
}
.movie-seo {
  font-size: 13px;
  line-height: 1.75;
  color: var(--paper-dim);
}
.hero-timeline-rail {
  position: absolute;
  top: 12px;
  right: -1px;
  bottom: 12px;
  width: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.rail-tick {
  width: 100%;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(47, 185, 201, 0.9), 0 0 3px rgba(47, 185, 201, 1);
}
.player-stage {
  grid-column: 1 / span 8;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(8, 22, 31, 0.95), rgba(4, 12, 18, 0.98));
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
}
.player-video {
  width: 100%;
  display: block;
  background: #000;
  border: 1px solid rgba(216, 230, 230, 0.12);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-btn {
  font-family: var(--title);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  color: var(--paper);
  border: 1px solid rgba(47, 185, 201, 0.35);
  background: rgba(47, 185, 201, 0.07);
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.player-btn:hover {
  color: #04121a;
  background: var(--cyan);
  border-color: var(--cyan);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--cyan));
  border-radius: 0;
  outline: none;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 14px;
  background: #f2fbfb;
  border: 1px solid var(--red);
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: #f2fbfb;
  border: 1px solid var(--red);
  border-radius: 0;
  cursor: pointer;
}
.episode-status {
  grid-column: 9 / span 4;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(143, 31, 22, 0.22), rgba(6, 18, 26, 0.9));
  border: 1px solid rgba(226, 64, 44, 0.4);
}
.status-line {
  font-family: var(--title);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.status-line + .status-line { color: var(--paper-dim); font-size: 12px; }
.status-progress {
  margin-top: 4px;
  height: 6px;
  background: rgba(216, 230, 230, 0.12);
  border: 1px solid rgba(216, 230, 230, 0.16);
  overflow: hidden;
}
.status-bar {
  display: block;
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, var(--red), var(--amber));
  box-shadow: 0 0 12px rgba(243, 154, 61, 0.7);
}
.cast-block {
  grid-column: 9 / span 4;
  align-self: start;
  padding: 10px 12px;
  background: rgba(10, 28, 38, 0.75);
  border: 1px solid var(--line);
}
.block-heading {
  font-family: var(--title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cyan);
  padding-bottom: 6px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(47, 185, 201, 0.3);
}
.cast-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--red-deep) transparent;
  padding-bottom: 4px;
}
.cast-list {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  gap: 10px 12px;
  min-width: max-content;
}
.cast-item {
  position: relative;
  width: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cast-avatar {
  display: block;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(47, 185, 201, 0.55), transparent 60%),
    radial-gradient(circle at 70% 78%, rgba(226, 64, 44, 0.5), transparent 60%),
    #0b1f2a;
  border: 1px solid rgba(216, 230, 230, 0.25);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.8);
}
.cast-name {
  margin-top: -10px;
  padding: 1px 6px;
  font-family: var(--title);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--paper);
  background: #04121a;
  border: 1px solid rgba(47, 185, 201, 0.35);
  white-space: nowrap;
  text-align: center;
}
.synopsis-block {
  grid-column: 1 / span 8;
  padding: 12px;
  background: rgba(8, 22, 31, 0.7);
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan);
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.85;
  color: var(--paper-dim);
  text-indent: 2em;
}
.details-block {
  grid-column: 9 / span 4;
  align-self: start;
  padding: 12px;
  background: rgba(10, 28, 38, 0.75);
  border: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(143, 166, 171, 0.28);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-family: var(--title);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.detail-value {
  font-size: 12px;
  color: var(--paper);
  min-width: 0;
  overflow-wrap: anywhere;
}
.section-heading {
  font-family: var(--title);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.24em;
  color: #f2fbfb;
  padding-left: 10px;
  margin-bottom: 10px;
  border-left: 3px solid var(--red);
  text-shadow: 0 0 14px rgba(226, 64, 44, 0.4);
}
.timeline-section, .episodes-section, .comments-section, .recommend-region {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(29, 58, 70, 0.85);
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding-left: 16px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--red), var(--cyan));
  box-shadow: 0 0 10px rgba(226, 64, 44, 0.6);
}
.timeline-node {
  position: relative;
  padding: 8px 10px 9px 12px;
  background: linear-gradient(180deg, rgba(14, 37, 49, 0.9), rgba(6, 18, 26, 0.9));
  border: 1px solid var(--line);
  align-self: start;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 14px;
  left: -14px;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border: 1px solid #04121a;
  box-shadow: 0 0 10px rgba(243, 154, 61, 0.9);
}
.node-timecode {
  display: inline-block;
  font-family: var(--title);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 4px;
}
.node-label {
  display: block;
  font-size: 12px;
  line-height: 1.65;
  color: var(--paper-dim);
}
.episode-scroller {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan-deep) transparent;
  padding-bottom: 6px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  min-width: 1160px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px 10px;
  background: linear-gradient(180deg, rgba(10, 28, 38, 0.95), rgba(5, 14, 21, 0.95));
  border: 1px solid var(--line);
  border-top: 2px solid rgba(226, 64, 44, 0.7);
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  background: linear-gradient(180deg, rgba(20, 60, 72, 0.95), rgba(6, 18, 26, 0.95));
  border-color: var(--cyan);
}
.episode-number {
  font-family: var(--title);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}
.episode-title {
  font-family: var(--title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #eef8f8;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--paper-dim);
  flex: 1 1 auto;
}
.episode-duration {
  align-self: flex-start;
  font-family: var(--title);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--amber);
  padding: 1px 6px;
  border: 1px solid rgba(243, 154, 61, 0.4);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
  padding: 0 6px;
}
.comment-item {
  padding: 9px 12px 10px;
  background: linear-gradient(180deg, rgba(12, 32, 42, 0.85), rgba(6, 16, 24, 0.9));
  border-left: 2px solid rgba(47, 185, 201, 0.55);
  align-self: start;
}
.comment-offset-a { margin-left: 0; }
.comment-offset-b { margin-left: 18px; border-left-color: rgba(226, 64, 44, 0.7); }
.comment-nickname {
  font-family: var(--title);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--paper);
}
.recommend-region { display: block; }
.region-heading {
  font-family: var(--title);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 8px;
}
.recommend-grid {
  display: grid;
  gap: 8px;
}
.recommend-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.recommend-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px 7px 9px;
  background: linear-gradient(180deg, rgba(10, 28, 38, 0.95), rgba(5, 14, 21, 0.95));
  border: 1px solid var(--line);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
a.recommend-card:hover {
  border-color: var(--red);
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  background: #04121a;
  border: 1px solid rgba(216, 230, 230, 0.12);
  filter: saturate(0.9) contrast(1.05);
}
a.recommend-card .recommend-thumb { width: 100%; }
.recommend-name {
  font-family: var(--title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #eef8f8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--paper-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 24px;
  padding: 16px 14px 22px;
  background: linear-gradient(180deg, rgba(6, 18, 26, 0.6), rgba(3, 9, 14, 0.98));
  border-top: 1px solid var(--line);
}
.footer-disclaimer {
  max-width: 1440px;
  margin: 0 auto 10px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(143, 166, 171, 0.8);
}
.footer-nav {
  max-width: 1440px;
  margin: 0 auto 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--title);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 185, 201, 0.4);
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
  text-decoration: none;
}
.friend-links {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(29, 58, 70, 0.7);
}
.friend-links-label {
  font-family: var(--title);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--red);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: rgba(143, 166, 171, 0.9);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--cyan);
  text-decoration: underline;
}
.player-stage.is-theater {
  grid-column: 1 / -1;
  background: #000;
  border-color: var(--red);
}
.player-stage.is-theater .player-video {
  border-color: rgba(226, 64, 44, 0.6);
}
.player-stage.is-lights-off {
  background: #000;
  box-shadow: 0 0 0 1px rgba(226, 64, 44, 0.35) inset, 0 0 40px rgba(0, 0, 0, 0.9);
}
.player-stage.is-lights-off .player-controls { opacity: 0.55; }
.player-stage.is-playing .player-btn[data-player-action="play"] {
  color: #04121a;
  background: var(--amber);
  border-color: var(--amber);
}
.player-stage.is-muted .player-btn[data-player-action="mute"] {
  color: #04121a;
  background: var(--red);
  border-color: var(--red);
}
.player-btn.play::before, .player-btn.pause::before, .player-btn.mute::before, .player-btn.progress::before, .player-btn.volume::before, .player-btn.speed::before, .player-btn.pip::before, .player-btn.fullscreen::before, .player-btn.theater::before, .player-btn.light::before, .player-btn.timeupdate::before, .player-btn.input::before, .player-btn.click::before, .player-btn.player::before { content: ""; }
.player-stage.fullscreen { position: relative; }
.player-stage.pip { position: relative; }
@media (max-width: 1180px) {.hero-viewfinder { grid-column: 1 / span 7; }
.episode-status, .cast-block, .details-block { grid-column: 8 / span 5; }
.player-stage, .synopsis-block { grid-column: 1 / span 7; }
.timeline-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    padding-left: 24px;
  }
.hero-filmstrip { width: 16px; }
.film-perf { width: 8px; height: 12px; }
.hero-viewfinder { grid-column: 1 / -1; }
.player-stage { grid-column: 1 / -1; }
.episode-status { grid-column: 1 / span 3; }
.cast-block { grid-column: 4 / span 3; }
.synopsis-block { grid-column: 1 / span 3; }
.details-block { grid-column: 4 / span 3; }
.timeline-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-grid-4, .recommend-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 720px) {body { font-size: 13px; }
.hero-shell {
    grid-template-columns: 1fr;
    padding-left: 20px;
    gap: 10px;
  }
.hero-viewfinder {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
  }
.poster-frame { max-width: 220px; }
.player-stage, .episode-status, .cast-block, .synopsis-block, .details-block { grid-column: 1 / -1; }
.synopsis-body { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: minmax(0, 1fr); padding: 0; }
.comment-offset-b { margin-left: 14px; }
.recommend-grid-4, .recommend-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { min-width: 900px; grid-template-columns: repeat(6, minmax(0, 1fr)); }}
@media (max-width: 480px) {.page-main { padding: 10px 10px 18px; }
.header-inner { padding: 7px 10px; gap: 8px; }
a[data-contract="site-name"] { font-size: 13px; }
.movie-title { font-size: 19px; }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.recommend-grid-4, .recommend-grid-3 { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.cast-list { gap: 8px 10px; }
.cast-item { width: 66px; }
.cast-avatar { width: 60px; height: 60px; }
.episode-grid { min-width: 640px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.player-controls { gap: 5px; }
.player-btn { font-size: 11px; padding: 3px 7px; }
.player-range { flex: 1 1 100%; min-width: 0; }}

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}
