:root {
  --bg-deep: #10161f;
  --bg-panel: #161e2a;
  --bg-panel-2: #1b2431;
  --bg-panel-3: #1f2937;
  --line: #2a3646;
  --line-soft: #232e3d;
  --warm: #ff8a3d;
  --warm-deep: #e2631b;
  --warm-glow: rgba(255, 138, 61, 0.55);
  --silver: #c7d2de;
  --silver-dim: #8b98a8;
  --gold: #e8c88a;
  --text: #e6ecf3;
  --text-dim: #9aa7b6;
  --text-faint: #6f7d8e;
  --radius: 4px;
  --gap: 10px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(1100px 520px at 12% -6%, rgba(255, 138, 61, 0.10), transparent 62%),
    radial-gradient(900px 560px at 92% 4%, rgba(120, 150, 190, 0.08), transparent 60%),
    linear-gradient(180deg, #121924 0%, #0d131c 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.is-lights-off {
  background-image:
    radial-gradient(700px 380px at 50% 0%, rgba(255, 138, 61, 0.14), transparent 65%),
    linear-gradient(180deg, #070a0f 0%, #05080c 100%);
}
h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--silver);
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 19, 28, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  color: var(--warm);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(255, 138, 61, 0.35);
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible {
  color: #ffa76a;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.65);
  color: var(--silver-dim);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.4;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--warm);
  border-color: rgba(255, 138, 61, 0.55);
  background: rgba(255, 138, 61, 0.10);
}
.movie-detail {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 14px 22px;
}
.hero-panel {
  background:
    linear-gradient(180deg, rgba(31, 41, 55, 0.92) 0%, rgba(22, 30, 42, 0.96) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(255, 138, 61, 0.14), transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.hero-poster-wrap {
  align-self: start;
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b1118;
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.10), 0 10px 26px rgba(0, 0, 0, 0.55);
}
.hero-poster {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.02em;
  color: #f3f6fa;
}
.movie-tagline {
  font-size: 13px;
  font-weight: 700;
  color: var(--warm);
  letter-spacing: 0.08em;
  padding-left: 9px;
  border-left: 3px solid var(--warm-deep);
}
.movie-seo {
  font-size: 12px;
  line-height: 1.62;
  color: var(--text-dim);
  max-width: 74ch;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #05090e;
  overflow: hidden;
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(16, 22, 31, 0.94), rgba(11, 16, 23, 0.98));
  border-top: 1px solid var(--line-soft);
}
.pc-btn {
  flex: 0 0 auto;
  padding: 3px 9px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--silver);
  background: rgba(31, 41, 55, 0.85);
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}
.pc-btn:hover {
  color: var(--warm);
  border-color: rgba(255, 138, 61, 0.5);
}
.pc-btn.is-active, .pc-btn.is-playing {
  color: #10161f;
  background: var(--warm);
  border-color: var(--warm);
  font-weight: 700;
}
.pc-btn.is-muted {
  color: #10161f;
  background: var(--silver);
  border-color: var(--silver);
  font-weight: 700;
}
.pc-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--warm) 0%, var(--warm) 0%, #2c3746 0%, #2c3746 100%);
  border-radius: 999px;
  cursor: pointer;
}
.pc-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--warm);
  border: 2px solid #10161f;
  box-shadow: 0 0 8px var(--warm-glow);
}
.pc-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 2px solid #10161f;
  border-radius: 50%;
  background: var(--warm);
}
.pc-volume {
  flex: 0 1 78px;
  min-width: 54px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #2c3746;
  border-radius: 999px;
  cursor: pointer;
}
.pc-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--silver);
  border: 2px solid #10161f;
}
.pc-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 2px solid #10161f;
  border-radius: 50%;
  background: var(--silver);
}
.player-shell.is-theater {
  border-color: rgba(255, 138, 61, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.35), 0 0 26px rgba(255, 138, 61, 0.18);
}
.episode-status {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding: 6px 9px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--warm-deep);
  border-radius: var(--radius);
  background: rgba(27, 36, 49, 0.7);
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.status-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--warm);
  letter-spacing: 0.04em;
}
.cast-strip {
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
}
.cast-heading, .synopsis-heading, .details-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--silver-dim);
  margin-bottom: 7px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.cast-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 3px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(27, 36, 49, 0.72);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.cast-item:hover {
  border-color: rgba(255, 138, 61, 0.45);
  background: rgba(255, 138, 61, 0.08);
}
.cast-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  color: #10161f;
  background: linear-gradient(150deg, var(--silver) 0%, #93a2b3 100%);
  box-shadow: 0 0 0 1px rgba(199, 210, 222, 0.35);
}
.cast-item:nth-child(2n) .cast-avatar {
  background: linear-gradient(150deg, var(--warm) 0%, var(--warm-deep) 100%);
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.42);
}
.cast-name {
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
}
.synopsis {
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.66;
  color: var(--text-dim);
  margin-bottom: 5px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details {
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 4px 12px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  padding: 2px 0;
  border-bottom: 1px dashed rgba(42, 54, 70, 0.7);
}
.detail-row dt {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}
.detail-row dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--silver);
  text-align: right;
}
.timeline-heading, .episodes-heading, .comments-heading, .reco-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #eef2f7;
  padding-left: 10px;
  border-left: 3px solid var(--warm);
  line-height: 1.3;
}
.timeline {
  margin-top: 14px;
  padding: 10px 12px 12px;
  background: linear-gradient(180deg, rgba(22, 30, 42, 0.9), rgba(16, 22, 31, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.timeline-heading {
  margin-bottom: 10px;
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--warm-deep) rgba(31, 41, 55, 0.7);
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(31, 41, 55, 0.7);
  border-radius: 999px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--warm-deep);
  border-radius: 999px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 208px;
  scroll-snap-align: start;
  padding: 26px 9px 9px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(27, 36, 49, 0.62);
  min-height: 128px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--warm), rgba(255, 138, 61, 0));
}
.tl-timecode {
  position: absolute;
  top: 8px;
  left: 9px;
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--warm);
  padding: 1px 6px;
  border: 1px solid rgba(255, 138, 61, 0.4);
  border-radius: 2px;
  background: rgba(255, 138, 61, 0.08);
}
.timeline-node:nth-child(2n) .tl-timecode {
  top: 8px;
  color: var(--silver);
  border-color: rgba(199, 210, 222, 0.3);
  background: rgba(199, 210, 222, 0.07);
}
.tl-label {
  display: block;
  font-size: 12px;
  line-height: 1.56;
  color: var(--text-dim);
}
.timeline-node:nth-child(2n) .tl-label {
  color: var(--silver);
}
.episodes {
  margin-top: 14px;
  padding: 10px 12px 12px;
  background: linear-gradient(180deg, rgba(22, 30, 42, 0.9), rgba(16, 22, 31, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.episodes-heading {
  margin-bottom: 10px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(27, 36, 49, 0.6);
  overflow: hidden;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}
.episode-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--warm);
  opacity: 0;
  transition: opacity 0.16s ease;
}
.episode-card:hover {
  border-color: rgba(255, 138, 61, 0.45);
  background: rgba(31, 41, 55, 0.85);
}
.episode-card:hover::after {
  opacity: 1;
}
.ep-number {
  flex: 0 0 auto;
  align-self: flex-start;
  font-size: 40px;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: rgba(199, 210, 222, 0.16);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  user-select: none;
}
.episode-card:nth-child(3n/**/+2) .ep-number {
  color: rgba(255, 138, 61, 0.22);
}
.ep-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ep-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.32;
  color: #f1f5f9;
}
.ep-summary {
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--text-dim);
}
.ep-duration {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  padding-top: 2px;
  border-top: 1px dashed rgba(42, 54, 70, 0.75);
}
.comments {
  margin-top: 14px;
  padding: 10px 12px 12px;
  background: linear-gradient(180deg, rgba(22, 30, 42, 0.9), rgba(16, 22, 31, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.comments-heading {
  margin-bottom: 10px;
}
.comment-masonry {
  columns: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(27, 36, 49, 0.62);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.comment-card:hover {
  border-color: rgba(232, 200, 138, 0.4);
  background: rgba(31, 41, 55, 0.86);
}
.comment-nick {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: #c8d1db;
}
.reco-region {
  margin-top: 14px;
  padding: 10px 12px 12px;
  background: linear-gradient(180deg, rgba(22, 30, 42, 0.9), rgba(16, 22, 31, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.reco-heading {
  margin-bottom: 10px;
}
.reco-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}
a.reco-item {
  flex: 1 1 190px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(27, 36, 49, 0.6);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}
a.reco-item:hover, a.reco-item:focus-visible {
  border-color: rgba(255, 138, 61, 0.5);
  background: rgba(31, 41, 55, 0.9);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  background: #0b1118;
}
.reco-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.36;
  color: #eef2f7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reco-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 {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  background: rgba(11, 16, 23, 0.92);
  padding: 14px 14px 20px;
}
.footer-disclaimer {
  max-width: 1280px;
  margin: 0 auto 10px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  max-width: 1280px;
  margin: 0 auto 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--silver-dim);
  text-decoration: none;
  font-size: 12px;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--warm);
  border-bottom-color: var(--warm);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(42, 54, 70, 0.8);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
a.runtime-friend-link {
  color: var(--silver-dim);
  text-decoration: none;
  font-size: 11.5px;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold);
  border-bottom-color: rgba(232, 200, 138, 0.6);
}
@media (max-width: 1080px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-grid {
    grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
    gap: 12px;
  }
.movie-title {
    font-size: 19px;
  }
.detail-list {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  }
.timeline-node {
    width: 190px;
  }}
@media (max-width: 680px) {body {
    font-size: 12.5px;
  }
.movie-detail {
    padding: 10px 10px 18px;
  }
.hero-panel, .timeline, .episodes, .comments, .reco-region {
    padding: 10px;
  }
.hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster-wrap {
    max-width: 210px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-masonry {
    columns: 1;
  }
.timeline-node {
    width: 176px;
    min-height: 118px;
  }
a.reco-item {
    flex: 1 1 150px;
  }
.movie-title {
    font-size: 18px;
  }
.ep-number {
    font-size: 34px;
  }}
@media (max-width: 460px) {.header-inner {
    padding: 7px 10px;
    gap: 8px;
  }
a[data-contract="site-name"] {
    font-size: 14px;
  }
.hero-poster-wrap {
    max-width: 170px;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-row dd {
    text-align: left;
  }
.player-controls {
    gap: 5px;
    padding: 6px;
  }
.pc-btn {
    font-size: 11px;
    padding: 3px 7px;
  }
.pc-volume {
    flex: 1 1 100%;
  }
a.reco-item {
    flex: 1 1 100%;
  }}

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}
