*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #0d1117;
  color: #c9d1dc;
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
h1, h2, p, dl, dd, dt { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:root {
  --bg: #0d1117;
  --surface: #141b24;
  --surface-2: #1a2330;
  --line: #26303d;
  --line-soft: #1e2733;
  --text: #c9d1dc;
  --text-dim: #7d8b9c;
  --text-faint: #5a6675;
  --accent: #e08a3c;
  --accent-soft: #b06c2e;
  --steel: #4a5a6e;
  --deep: #0a1622;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 17, 23, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 20px;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: #eef3f8;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 2px 0;
  border-bottom: 2px solid var(--accent);
}
a[data-contract="site-name"]:hover { color: var(--accent); }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #eef3f8;
  border-color: var(--steel);
  background: var(--surface-2);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0 24px;
  border-bottom: 1px solid var(--line);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 26px;
  align-items: start;
}
.hero-poster {
  position: relative;
  border: 1px solid var(--line);
  background: var(--deep);
  overflow: hidden;
}
.hero-poster img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}
.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(13, 17, 23, 0) 55%, rgba(13, 17, 23, 0.55) 100%);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0 0;
  min-width: 0;
}
.movie-title {
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f2f6fa;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}
.movie-tagline {
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.01em;
  line-height: 1.45;
  max-width: 34em;
}
.movie-seo {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 40em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.btn-primary, .btn-ghost {
  border-radius: 2px;
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--accent);
  color: #14100a;
  font-weight: 700;
  border-color: var(--accent);
}
.btn-primary:hover { background: #f0a355; border-color: #f0a355; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--steel);
}
.btn-ghost:hover {
  color: #f2f6fa;
  border-color: var(--text-dim);
  background: var(--surface-2);
}
.btn-ghost.is-active, .btn-primary.is-active {
  background: var(--surface-2);
  color: var(--accent);
  border-color: var(--accent);
}
.hero-player {
  width: 100%;
  background: #05090e;
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-player video {
  display: block;
  background: #05090e;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.player-controls button {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.player-controls button:hover, .player-controls button.is-active {
  color: var(--accent);
  border-color: var(--accent-soft);
}
.player-controls input[type="range"] {
  flex: 1 1 90px;
  min-width: 70px;
  height: 3px;
  accent-color: var(--accent);
  background: var(--line);
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
}
.player-controls select {
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  padding: 4px 6px;
  border-radius: 2px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding: 8px 12px;
  background: var(--surface);
  border-left: 3px solid var(--accent);
}
.status-line {
  font-size: 13px;
  font-weight: 700;
  color: #eef3f8;
  letter-spacing: 0.02em;
}
.status-note {
  font-size: 12px;
  color: var(--text-dim);
}
.details-panel {
  padding: 0;
}
.section-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #eef3f8;
  text-transform: uppercase;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 1px;
  background: var(--accent);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0 20px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--line-soft);
  min-width: 0;
}
.detail-row dt {
  color: var(--text-faint);
  font-size: 12px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-row dd {
  color: var(--text);
  font-size: 12.5px;
  text-align: right;
  overflow-wrap: anywhere;
}
.cast-panel { padding: 0; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cast-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--steel);
  min-width: 0;
  align-self: start;
}
.cast-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #eef3f8;
  letter-spacing: 0.02em;
}
.cast-role {
  font-size: 11.5px;
  color: var(--text-dim);
  overflow-wrap: anywhere;
}
.synopsis-panel { padding: 0; }
.synopsis-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px 18px;
}
.synopsis-item {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text-dim);
  padding-left: 12px;
  border-left: 1px solid var(--line);
  align-self: start;
}
.timeline-section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding-top: 18px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--steel), var(--line) 70%, transparent);
}
.timeline-node {
  position: relative;
  padding-top: 12px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--steel);
}
.timeline-node:first-child::before, .timeline-node:last-child::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 138, 60, 0.16);
}
.node-timecode {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.node-label {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
}
.episodes-section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  align-self: start;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-color: var(--steel);
  background: var(--surface-2);
}
.episode-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.episode-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: #eef3f8;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  font-size: 11.5px;
  color: var(--text-faint);
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-dim);
}
.comments-section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
}
.comment-item {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text-dim);
}
.recommend-region {
  padding: 22px 0 0;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 8px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  align-self: start;
  transition: border-color 0.15s, transform 0.15s;
}
a.recommend-card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--deep);
  border: 1px solid var(--line-soft);
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  color: #eef3f8;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 20px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-link {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"] { color: #eef3f8; }
a[data-contract="footer-home"]:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
a[data-contract="footer-sitemap"] { color: var(--text-dim); }
a[data-contract="footer-sitemap"]:hover {
  color: #eef3f8;
  border-bottom-color: var(--steel);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--accent);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 62em;
}
body.lights-off { background: #05080c; }
body.lights-off .page-main, body.lights-off .site-header, body.lights-off .site-footer { filter: brightness(0.72); }
body.lights-off .hero-player { filter: none; }
body.theater-mode .hero-player {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(224, 138, 60, 0.25), 0 18px 44px rgba(0, 0, 0, 0.6);
}
video.is-playing { outline: 1px solid var(--accent-soft); outline-offset: -1px; }
video.is-muted { opacity: 0.94; }
.player-wrapper { width: 100%; }
.player { width: 100%; }
.progress, .volume, .timeupdate { accent-color: var(--accent); }
.play, .pause, .mute, .volume, .speed, .pip, .fullscreen, .theater, .light, .change, .click, .function, .input { transition: color 0.15s, border-color 0.15s; }
.mute.is-active, .pip.is-active, .fullscreen.is-active, .play.is-active, .pause.is-active { color: var(--accent); }
@media (max-width: 1024px) {.hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 20px;
  }
.cast-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
.timeline-track::before { display: none; }
.timeline-node::before { top: -6px; }
.timeline-node { padding-top: 0; }}
@media (max-width: 820px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.hero-poster { max-width: 300px; }
.hero-poster::after { display: none; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }}
@media (max-width: 620px) {.page-main { padding: 0 14px 30px; }
.header-inner { padding: 7px 14px; gap: 12px; }
.site-footer { padding: 16px 14px 26px; }
.movie-title { font-size: 26px; }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-grid { grid-template-columns: minmax(0, 1fr); }
.synopsis-list { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.player-controls input[type="range"] { flex: 1 1 100%; }
.movie-seo { font-size: 12.5px; }}
@media (max-width: 420px) {.hero-actions { gap: 6px; }
.btn-primary, .btn-ghost { padding: 7px 14px; font-size: 12.5px; }
.cast-grid { grid-template-columns: minmax(0, 1fr); }
.timeline-track { grid-template-columns: minmax(0, 1fr); }
.episode-title { white-space: normal; }}

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}
