*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #0a0a14;
  color: #e8e9f4;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.section-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfd2ff;
  padding-left: 10px;
  border-left: 3px solid #6a5cff;
  margin-bottom: 8px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, #0d0d1c 0%, rgba(13, 13, 28, 0.88) 100%);
  border-bottom: 1px solid rgba(122, 120, 255, 0.22);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 14px;
  max-width: 1240px;
  margin: 0 auto;
}
.site-brand {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #ffffff;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(106, 92, 255, 0.7);
}
a[data-contract="site-name"] {
  color: #ffffff;
  text-decoration: none;
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1 1 auto;
  justify-content: flex-end;
}
a.runtime-category {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  color: #c6c9ff;
  text-decoration: none;
  background: rgba(106, 92, 255, 0.12);
  border: 1px solid rgba(122, 120, 255, 0.32);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
a.runtime-category:hover {
  background: rgba(106, 92, 255, 0.3);
  color: #ffffff;
  border-color: #8a7dff;
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 14px 26px;
}
.hero-panel {
  padding-top: 16px;
}
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(120, 118, 255, 0.24);
  position: relative;
}
.hero-split::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(0.9 / 2.3 * 100%);
  width: 1px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
  pointer-events: none;
}
.hero-cold {
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(60, 120, 255, 0.32), transparent 62%),
    linear-gradient(160deg, #0b1533 0%, #101a44 55%, #141a3a 100%);
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.poster-frame {
  width: 100%;
  max-width: 210px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(150, 180, 255, 0.35);
  box-shadow: 0 0 26px rgba(50, 110, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.hero-warm {
  background:
    radial-gradient(120% 100% at 90% 0%, rgba(255, 150, 60, 0.28), transparent 60%),
    linear-gradient(200deg, #2a1a10 0%, #241428 55%, #1a1030 100%);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.movie-title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255, 160, 70, 0.45);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 700;
  color: #ffb066;
  letter-spacing: 0.04em;
}
.movie-seo {
  font-size: 12.5px;
  color: #cfc8dd;
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.btn-primary {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 7px 18px;
  border-radius: 6px;
  color: #1a0e00;
  background: linear-gradient(180deg, #ffb257 0%, #ff8a1f 100%);
  box-shadow: 0 0 18px rgba(255, 140, 40, 0.5);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(255, 150, 50, 0.75);
}
.btn-ghost {
  font-weight: 700;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 6px;
  color: #c9cdff;
  background: rgba(120, 118, 255, 0.1);
  border: 1px solid rgba(140, 138, 255, 0.4);
  transition: background 0.18s, color 0.18s;
}
.btn-ghost:hover {
  background: rgba(120, 118, 255, 0.24);
  color: #ffffff;
}
.btn-ghost.is-active, .btn-primary.is-active {
  border-color: #ff9a33;
  color: #ffb066;
  box-shadow: 0 0 14px rgba(255, 150, 50, 0.35) inset;
}
.player-shell {
  position: relative;
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
  background: #04040a;
  border: 1px solid rgba(120, 118, 255, 0.26);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(16, 16, 36, 0.96), rgba(10, 10, 24, 0.96));
  border-top: 1px solid rgba(120, 118, 255, 0.2);
}
.control-btn {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 5px;
  color: #b9bcdd;
  background: rgba(90, 90, 180, 0.16);
  border: 1px solid rgba(120, 118, 255, 0.26);
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.control-btn:hover {
  background: rgba(110, 105, 255, 0.32);
  color: #ffffff;
}
.control-btn.is-active {
  background: rgba(255, 140, 40, 0.22);
  border-color: #ff9a33;
  color: #ffc38a;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px rgba(255, 154, 51, 0.5), 0 14px 46px rgba(0, 0, 0, 0.7);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off .player-controls {
  background: #000;
  border-top-color: rgba(255, 154, 51, 0.3);
}
.player-video.is-theater {
  aspect-ratio: 21 / 9;
}
.overview-info {
  margin-top: 10px;
  background: linear-gradient(180deg, #101024 0%, #0c0c1c 100%);
  border: 1px solid rgba(120, 118, 255, 0.22);
  border-radius: 10px;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
}
.status-line {
  font-size: 12px;
  font-weight: 700;
  color: #ffb066;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 140, 40, 0.14);
  border: 1px solid rgba(255, 154, 51, 0.4);
  font-variant-numeric: tabular-nums;
}
.synopsis-block, .cast-block, .details-block {
  padding-top: 10px;
  border-top: 1px solid rgba(120, 118, 255, 0.16);
}
.synopsis-para {
  font-size: 12.5px;
  color: #b9bed8;
  margin-bottom: 6px;
  max-width: 96ch;
}
.synopsis-para:last-child { margin-bottom: 0; }
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 6px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  padding: 7px 4px;
  border-radius: 8px;
  background: rgba(106, 92, 255, 0.08);
  border: 1px solid rgba(120, 118, 255, 0.18);
}
.cast-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(140deg, #3d5cff 0%, #7a4cff 100%);
  box-shadow: 0 0 14px rgba(90, 80, 255, 0.55);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 800;
  color: #eef0ff;
  white-space: nowrap;
}
.cast-role {
  font-size: 11px;
  color: #9aa0c8;
  white-space: nowrap;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 6px;
}
.detail-cell {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid rgba(120, 118, 255, 0.5);
}
.detail-key {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8f94bb;
}
.detail-value {
  font-size: 12.5px;
  font-weight: 700;
  color: #e6e8ff;
  font-variant-numeric: tabular-nums;
}
.timeline-section {
  margin-top: 18px;
}
.timeline-rail {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: #6a5cff rgba(106, 92, 255, 0.12);
}
.timeline-rail::-webkit-scrollbar { height: 6px; }
.timeline-rail::-webkit-scrollbar-track { background: rgba(106, 92, 255, 0.12); border-radius: 3px; }
.timeline-rail::-webkit-scrollbar-thumb { background: #6a5cff; border-radius: 3px; }
.timeline-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 14px;
  padding-top: 16px;
  min-width: max-content;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 4px;
  right: 4px;
  height: 1px;
  background: linear-gradient(90deg, rgba(106, 92, 255, 0.15), rgba(106, 92, 255, 0.85), rgba(255, 140, 40, 0.7));
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 4px;
}
.node-dot {
  position: absolute;
  top: -14px;
  left: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8a7dff;
  box-shadow: 0 0 10px 2px rgba(138, 125, 255, 0.85);
}
.node-time {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffb066;
  font-variant-numeric: tabular-nums;
}
.node-label {
  font-size: 12px;
  color: #b8bdd9;
  line-height: 1.4;
}
.episodes-section {
  margin-top: 18px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px 9px;
  border-radius: 8px;
  background: linear-gradient(180deg, #13132a 0%, #0e0e20 100%);
  border: 1px solid rgba(120, 118, 255, 0.2);
  cursor: pointer;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.episode-card:hover {
  border-color: rgba(138, 125, 255, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.episode-card.is-current {
  border-color: #ff9a33;
  box-shadow: 0 0 0 1px rgba(255, 154, 51, 0.5), 0 0 18px rgba(255, 140, 40, 0.28);
}
.episode-number {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #8a7dff;
  font-variant-numeric: tabular-nums;
}
.episode-card.is-current .episode-number {
  color: #ffb066;
}
.episode-title {
  font-size: 12.5px;
  font-weight: 900;
  color: #f0f1ff;
  line-height: 1.3;
}
.episode-summary {
  font-size: 11.5px;
  color: #9aa0c8;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 10.5px;
  font-weight: 700;
  color: #7d82ad;
  font-variant-numeric: tabular-nums;
  margin-top: auto;
}
.comments-section {
  margin-top: 18px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.comment-item {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(106, 92, 255, 0.07);
  border: 1px solid rgba(120, 118, 255, 0.18);
  border-left: 2px solid rgba(138, 125, 255, 0.7);
}
.comment-nick {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: #c9cdff;
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12px;
  color: #adb2d2;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-region {
  margin-top: 18px;
}
.rec-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #d6d9ff;
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 3px solid #ff9a33;
}
.rec-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 7px;
  align-items: start;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px;
  border-radius: 8px;
  background: linear-gradient(180deg, #14142c 0%, #0d0d1e 100%);
  border: 1px solid rgba(120, 118, 255, 0.2);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.rec-card:hover {
  border-color: rgba(138, 125, 255, 0.75);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 5px;
  background: #05050f;
}
.rec-name {
  font-size: 12.5px;
  font-weight: 800;
  color: #eef0ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-blurb {
  font-size: 11.5px;
  color: #969bc0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 22px;
  padding: 16px 14px 22px;
  background: linear-gradient(180deg, #0b0b18 0%, #08080f 100%);
  border-top: 1px solid rgba(120, 118, 255, 0.22);
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  font-weight: 700;
  color: #c6c9ff;
  text-decoration: none;
  transition: color 0.16s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffb066;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.friend-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8f94bb;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #9aa0c8;
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(120, 118, 255, 0.16);
  white-space: nowrap;
  transition: color 0.16s, border-color 0.16s;
}
a.runtime-friend-link:hover {
  color: #ffffff;
  border-color: rgba(138, 125, 255, 0.7);
}
.footer-disclaimer {
  font-size: 11px;
  color: #6f749a;
  line-height: 1.6;
  max-width: 88ch;
}
@media (max-width: 1080px) {.episode-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }}
@media (max-width: 860px) {.hero-split {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-split::after {
    left: 0;
    right: 0;
    top: auto;
    bottom: auto;
    width: auto;
    height: 1px;
    top: 0;
  }
.hero-cold { justify-content: flex-start; }
.hero-warm { padding: 14px; }
.movie-title { font-size: 21px; }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 640px) {body { font-size: 13px; }
.header-bar { padding: 7px 12px; gap: 10px; }
.page-main { padding: 0 12px 22px; }
.hero-panel { padding-top: 12px; }
.poster-frame { max-width: 168px; }
.movie-title { font-size: 19px; }
.timeline-track { grid-auto-columns: minmax(140px, 70vw); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-columns { grid-template-columns: minmax(0, 1fr); }
.rec-wall { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }}
@media (max-width: 420px) {.episode-grid { grid-template-columns: minmax(0, 1fr); }
.rec-wall { grid-template-columns: minmax(0, 1fr); }
.cast-strip { grid-template-columns: repeat(auto-fit, minmax(76px, 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}
