*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg-deep: #0b0e14;
  --bg-midnight: #111726;
  --bg-panel: #161d2e;
  --bg-panel-2: #1b2338;
  --line: #263048;
  --line-soft: #1f2739;
  --ink: #e6eaf2;
  --ink-dim: #97a2ba;
  --ink-faint: #6b7690;
  --amber: #f0a830;
  --amber-soft: #c9861f;
  --amber-glow: rgba(240, 168, 48, 0.45);
  --font-stack: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 6px;
  --gap: 12px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-stack);
  font-stretch: condensed;
  background: var(--bg-deep);
  background-image:
    radial-gradient(1200px 600px at 12% -8%, rgba(35, 52, 92, 0.55), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(20, 30, 55, 0.6), transparent 55%);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 14, 20, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"].brand-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 3px solid var(--amber);
}
a[data-contract="site-name"].brand-link:hover { color: var(--amber); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(27, 35, 56, 0.6);
  transition: color .15s, border-color .15s, background .15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--bg-deep);
  background: var(--amber);
  border-color: var(--amber);
  text-decoration: none;
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: var(--amber);
}
.movie-overview {
  background: linear-gradient(180deg, var(--bg-midnight), var(--bg-panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.hero-poster-frame {
  position: relative;
  margin: 0;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #05070c;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(240, 168, 48, 0.08);
}
.hero-poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-poster-caption {
  font-size: 11px;
  line-height: 1.35;
  color: var(--amber);
  background: rgba(5, 7, 12, 0.78);
  padding: 5px 8px;
  border-top: 1px solid rgba(240, 168, 48, 0.25);
  letter-spacing: 0.02em;
}
.hero-title-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding-top: 4px;
  position: relative;
}
.hero-title-block::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 6px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--amber), transparent);
  opacity: 0.6;
}
.movie-title {
  font-size: clamp(26px, 5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f4f7fd;
  text-shadow: 0 0 26px rgba(240, 168, 48, 0.18);
}
.movie-tagline {
  font-size: clamp(13px, 1.6vw, 16px);
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.movie-seo {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 62ch;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #05070c;
  overflow: hidden;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--amber), 0 0 44px -10px var(--amber-glow);
}
.player-shell.is-lights-off {
  background: #000;
}
.player-shell.is-lights-off video { filter: brightness(0.82) contrast(1.06); }
.player-shell.is-playing video { filter: none; }
.player-shell video {
  width: 100%;
  height: auto;
  background: #000;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: rgba(11, 14, 20, 0.9);
  border-top: 1px solid var(--line);
}
.player-btn {
  cursor: pointer;
  font-size: 11.5px;
  padding: 4px 9px;
  color: var(--ink-dim);
  background: var(--bg-panel-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: color .15s, background .15s, border-color .15s;
}
.player-btn:hover { color: var(--ink); border-color: var(--amber-soft); }
.player-btn.is-active {
  color: #1a1204;
  background: var(--amber);
  border-color: var(--amber);
}
.player-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--amber), var(--amber-soft)) no-repeat, var(--line);
  background-size: 0% 100%;
  border-radius: 999px;
  cursor: pointer;
}
.player-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid #0b0e14;
  box-shadow: 0 0 8px var(--amber-glow);
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #0b0e14;
  border-radius: 50%;
  background: var(--amber);
}
.cast-section { min-width: 0; }
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(22, 29, 46, 0.5);
  transition: border-color .15s, transform .15s;
}
.cast-card:hover {
  border-color: var(--amber-soft);
  transform: translateY(-2px);
}
.cast-avatar-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(240, 168, 48, 0.18), transparent 62%),
    linear-gradient(180deg, #1e2740, #10151f);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cast-avatar {
  width: 52%;
  height: 52%;
  border-radius: 50%;
  background: linear-gradient(180deg, #2b3category, #1a2233);
  background: linear-gradient(180deg, #2b3550, #1a2233);
  box-shadow: inset 0 0 0 2px rgba(240, 168, 48, 0.22);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -28%;
  width: 118%;
  height: 60%;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  background: rgba(240, 168, 48, 0.14);
}
.cast-name {
  font-size: 13px;
  color: #f4f7fd;
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-faint);
}
.synopsis-section { min-width: 0; }
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  padding-left: 10px;
  border-left: 2px solid var(--line);
}
.synopsis-para:first-child { border-left-color: var(--amber); }
.episode-status { min-width: 0; }
.status-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--gap);
  align-items: start;
}
.status-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(22, 29, 46, 0.55);
}
.status-key {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.status-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--amber);
  line-height: 1.1;
}
.details-section { min-width: 0; }
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0 var(--gap);
  align-items: start;
}
.detail-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--ink);
  text-align: right;
}
.timeline-section { min-width: 0; }
.timeline-track {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--amber-soft) var(--line-soft);
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: var(--line-soft); border-radius: 999px; }
.timeline-track::-webkit-scrollbar-thumb { background: var(--amber-soft); border-radius: 999px; }
.timeline-list {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  position: relative;
  padding-top: 4px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding: 22px 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 4px;
  right: 0;
  height: 0;
  border-top: 2px dashed var(--line);
}
.timeline-node:last-child::before { right: auto; width: 20px; }
.timeline-dot {
  position: absolute;
  top: 2px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(240, 168, 48, 0.16), 0 0 14px 2px var(--amber-glow);
  z-index: 1;
}
.timeline-time {
  font-size: 12px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-dim);
  padding-right: 6px;
}
.episodes-section { min-width: 0; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-midnight));
  transition: border-color .18s, transform .18s, box-shadow .18s;
  overflow: hidden;
}
.episode-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--amber);
  opacity: 0.35;
  transition: opacity .18s;
}
.episode-card:hover {
  border-color: var(--amber-soft);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -22px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(240, 168, 48, 0.18);
}
.episode-card:hover::before { opacity: 1; }
.episode-title {
  font-size: 13px;
  color: #f4f7fd;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.episode-num {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--amber);
  border: 1px solid rgba(240, 168, 48, 0.35);
  border-radius: 3px;
  padding: 1px 5px;
  white-space: nowrap;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-dim);
  max-height: 1.45em;
  overflow: hidden;
  transition: max-height .25s ease, color .2s;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 8em;
  color: var(--ink);
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  border-top: 1px dashed var(--line-soft);
  padding-top: 5px;
  margin-top: auto;
}
.comments-section { min-width: 0; }
.comments-masonry {
  columns: 2;
  column-gap: var(--gap);
}
.comment-bubble {
  break-inside: avoid;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--gap);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 29, 46, 0.62);
  position: relative;
}
.comment-bubble::after {
  content: "";
  position: absolute;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: rgba(22, 29, 46, 0.62);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.comment-left { margin-right: 10%; }
.comment-left::after { left: 22px; }
.comment-right {
  margin-left: 10%;
  background: rgba(28, 37, 58, 0.72);
  border-color: rgba(240, 168, 48, 0.28);
}
.comment-right::after {
  right: 22px;
  background: rgba(28, 37, 58, 0.72);
  border-color: rgba(240, 168, 48, 0.28);
  border-right: none;
  border-bottom: none;
  border-left: 1px solid rgba(240, 168, 48, 0.28);
  border-top: 1px solid rgba(240, 168, 48, 0.28);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink);
}
.comment-nick {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--amber-soft);
}
.comment-right .comment-nick { text-align: right; }
.recommend-region { min-width: 0; }
.recommend-title {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #f4f7fd;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.recommend-columns { min-width: 0; }
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap);
  align-items: start;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-midnight));
  color: var(--ink);
  text-decoration: none;
  transition: border-color .16s, transform .16s, box-shadow .16s;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--amber-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -22px rgba(0, 0, 0, 0.95);
  text-decoration: none;
  color: var(--ink);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  background: #05070c;
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  color: #f4f7fd;
  line-height: 1.3;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(11, 14, 20, 0.9);
  padding: 18px 16px 30px;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-faint);
  max-width: 76ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  border-color: var(--amber-soft);
  text-decoration: underline;
  text-decoration-color: var(--amber);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11px;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--ink-faint);
  background: rgba(27, 35, 56, 0.45);
  text-decoration: none;
  transition: color .15s, border-color .15s, background .15s;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  border-color: var(--amber-soft);
  background: rgba(240, 168, 48, 0.08);
  text-decoration: none;
}
@media (max-width: 1080px) {.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 820px) {.hero-stage {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 14px;
  }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 640px) {body { font-size: 13.5px; }
.page-main { padding: 12px 12px 32px; gap: 18px; }
.movie-overview { padding: 12px; gap: 14px; }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero-poster-frame {
    max-width: 240px;
  }
.hero-title-block::before { display: none; }
.player-controls { gap: 5px; padding: 7px; }
.player-btn { font-size: 11px; padding: 4px 8px; }
.comments-masonry { columns: 1; }
.comment-left, .comment-right { margin-left: 0; margin-right: 0; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-summary { max-height: none; color: var(--ink); }
.cast-row { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.recommend-list { grid-template-columns: minmax(0, 1fr); }}
@media (max-width: 420px) {.header-inner { padding: 7px 12px; }
.cast-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.status-list { grid-template-columns: minmax(0, 1fr); }
.detail-list { grid-template-columns: minmax(0, 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}
