*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0f1319;
  --ink-2: #171d26;
  --ink-3: #1f2632;
  --steel: #2b3442;
  --line: #333d4d;
  --navy: #16233c;
  --navy-2: #1d2f52;
  --gold: #b8912f;
  --gold-bright: #d8ad46;
  --text: #d6dce6;
  --text-dim: #8e99ab;
  --text-faint: #6b7688;
  --serif-cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--serif-cjk);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #0c1016 0%, #0f141b 100%);
  border-bottom: 1px solid var(--line);
}
.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-size: 17px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--gold-bright);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid var(--steel);
  border-radius: 2px;
  background: var(--ink-2);
  transition: color .15s, border-color .15s, background .15s;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: #202834;
}
.movie-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--text);
  text-transform: uppercase;
  padding-left: 10px;
  margin-bottom: 8px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  background: var(--gold);
}
.hero-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
}
.hero-backdrop {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  position: relative;
}
.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: -14px -14px -6px -14px;
  background:
    radial-gradient(120% 90% at 12% 10%, rgba(29, 47, 82, .55) 0%, transparent 60%),
    radial-gradient(90% 80% at 90% 90%, rgba(184, 145, 47, .10) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.poster-column {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 170px;
  max-width: 40%;
  align-self: flex-start;
}
.poster-column img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  border: 1px solid var(--steel);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .6);
}
.hero-info {
  position: relative;
  z-index: 1;
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.movie-title {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: .03em;
  color: #f2f5fa;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
}
.movie-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: .08em;
  padding-left: 2px;
  border-left: 2px solid var(--navy-2);
  padding-left: 8px;
}
.player-wrapper {
  width: 100%;
  max-width: 100%;
  background: #05070a;
  border: 1px solid var(--steel);
  border-radius: 2px;
  overflow: hidden;
  line-height: 0;
}
.player-wrapper video {
  display: block;
  background: #05070a;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--ink-3);
  border: 1px solid var(--steel);
  border-radius: 2px;
}
.ctrl-btn {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: .04em;
  padding: 4px 9px;
  color: var(--text-dim);
  background: #232c3a;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
}
.ctrl-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: #2b3647;
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--steel);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 80px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--steel);
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid #0a0d12;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #0a0d12;
  border-radius: 50%;
  background: var(--gold);
}
.ctrl-speed {
  flex: 0 0 auto;
  font-size: 11px;
  padding: 4px 6px;
  background: #232c3a;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.player-theater {
  position: relative;
  z-index: 5;
}
body.theater-mode .site-header { opacity: .35; }
body.lights-dim { background: #05070a; }
body.lights-dim .hero-backdrop::before { opacity: .25; }
.lights-on { box-shadow: 0 0 0 1px var(--gold), 0 0 22px rgba(216, 173, 70, .25); }
.player.playing .ctrl-btn { border-color: var(--navy-2); }
.progress { accent-color: var(--gold); }
.volume { accent-color: var(--gold); }
.speed { accent-color: var(--gold); }
.cast-panel {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 62px;
  flex: 0 0 auto;
}
.cast-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #3d4a5f 0%, #1a2230 70%),
    var(--navy);
  border: 1px solid var(--steel);
  box-shadow: inset 0 0 0 2px rgba(184, 145, 47, .18), 0 3px 10px rgba(0, 0, 0, .5);
}
.cast-item:nth-child(2n) .cast-avatar { background: radial-gradient(circle at 60% 30%, #35435a, #141b28 72%); }
.cast-item:nth-child(3n) .cast-avatar { background: radial-gradient(circle at 40% 60%, #2d3a52, #121926 72%); }
.cast-name {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: .04em;
  white-space: nowrap;
}
.synopsis-panel {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.synopsis-text {
  font-size: 13px;
  line-height: 1.75;
  color: #b9c2d0;
  text-indent: 2em;
  margin-bottom: 6px;
}
.synopsis-text:last-child { margin-bottom: 0; }
.episode-status-panel, .details-panel {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.status-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 8px;
  border-bottom: 1px dashed rgba(51, 61, 77, .7);
}
.status-row:last-child { border-bottom: 0; }
.status-key {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: .06em;
}
.status-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-bright);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0 18px;
}
.meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(51, 61, 77, .55);
}
.meta-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: .05em;
}
.meta-value {
  font-size: 12px;
  color: #cdd5e0;
  text-align: right;
}
.timeline-section {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 0 12px 14px;
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 14px 8px 0;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--steel) transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 3px; }
.timeline-track::-webkit-scrollbar-track { background: transparent; }
.timeline-item {
  flex: 0 0 190px;
  scroll-snap-align: start;
  position: relative;
  padding: 10px 12px 12px;
  background: linear-gradient(180deg, #1c2432 0%, #141b26 100%);
  border: 1px solid var(--steel);
  border-top: 3px solid var(--navy-2);
  border-radius: 2px;
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(184, 145, 47, .5) 0 6px,
    transparent 6px 14px
  );
  opacity: .5;
}
.timeline-timecode {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--gold-bright);
  margin-bottom: 4px;
}
.timeline-label {
  display: block;
  font-size: 12px;
  line-height: 1.55;
  color: #aab4c3;
}
.episodes-section {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  position: relative;
  padding: 10px 12px 30px;
  background: #141b25;
  border: 1px solid var(--steel);
  border-left: 3px solid var(--navy-2);
  border-radius: 2px;
  transition: border-color .15s, background .15s;
}
.episode-card:hover {
  border-left-color: var(--gold);
  background: #182130;
}
.episode-number {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 3px;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  color: #e8edf5;
  letter-spacing: .02em;
  margin-bottom: 5px;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: #97a2b3;
}
.episode-duration {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--text-faint);
  padding: 1px 6px;
  border: 1px solid var(--steel);
  border-radius: 2px;
}
.comments-section {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
}
.comment-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 6px;
  align-items: start;
  scrollbar-width: thin;
  scrollbar-color: var(--steel) transparent;
}
.comment-wall::-webkit-scrollbar { width: 6px; }
.comment-wall::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 3px; }
.comment-card {
  padding: 9px 11px;
  background: #141b25;
  border: 1px solid var(--steel);
  border-radius: 2px;
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.65;
  color: #9ba5b5;
}
.recommend-region {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: #141b25;
  border: 1px solid var(--steel);
  border-radius: 2px;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: border-color .15s, background .15s, transform .15s;
}
a.recommend-card:hover {
  border-color: var(--gold);
  background: #1a2331;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: 132px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1px;
  background: #0b0f15;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f1;
  letter-spacing: .02em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: #0b0f15;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-faint);
  max-width: 900px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(51, 61, 77, .6);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--gold);
  font-weight: 700;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-faint);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s;
}
a.runtime-friend-link:hover { color: var(--text); }
@media (max-width: 900px) {.movie-title { font-size: 24px; }
.poster-column { width: 148px; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-runtime="recommendation"] img { height: 124px; }}
@media (max-width: 620px) {.movie-page { padding: 8px 10px 18px; gap: 12px; }
.header-inner { padding: 7px 10px; gap: 10px; }
a[data-contract="site-name"] { font-size: 15px; letter-spacing: .1em; }
.hero-shell { padding: 10px; gap: 10px; }
.hero-backdrop { gap: 10px; }
.poster-column { width: 116px; max-width: 34%; }
.movie-title { font-size: 20px; }
.movie-tagline { font-size: 12px; }
.ctrl-btn { font-size: 10px; padding: 3px 7px; }
.ctrl-progress { flex: 1 1 100%; order: 3; }
.ctrl-volume { flex: 1 1 70px; }
.cast-list { gap: 8px 12px; }
.cast-item { width: 54px; }
.cast-avatar { width: 44px; height: 44px; }
.details-list { grid-template-columns: 1fr; }
.episode-grid { grid-template-columns: 1fr; }
.recommend-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-runtime="recommendation"] img { height: 96px; }
.comment-wall { max-height: 230px; grid-template-columns: 1fr; }
.timeline-item { flex: 0 0 160px; }
.timeline-timecode { font-size: 14px; }
.footer-inner { padding: 12px 10px; }}
@media (max-width: 380px) {.recommend-grid { grid-template-columns: 1fr; }
[data-runtime="recommendation"] img { height: 150px; }
.poster-column { width: 96px; max-width: 32%; }
.movie-title { font-size: 18px; }}

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}
