*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, p, ul, li, dl, dt, dd { margin: 0; padding: 0; }
ul { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:root {
  --cool-0: #12151a;
  --cool-1: #1b2027;
  --cool-2: #232a33;
  --cool-3: #2f3742;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink-0: #f2f4f7;
  --ink-1: #c7cdd6;
  --ink-2: #8d97a4;
  --ink-3: #626c79;
  --amber: #f0883e;
  --amber-soft: #ffb173;
  --amber-deep: #c9662a;
  --glow: rgba(240, 136, 62, 0.18);
  --radius-s: 4px;
  --radius-m: 8px;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--cool-0);
  color: var(--ink-1);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 21, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--ink-0);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-left: 8px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--amber), transparent);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  color: var(--ink-1);
  font-size: 12px;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--amber-soft);
  border-color: var(--amber-deep);
  background: rgba(240, 136, 62, 0.1);
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 4px;
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.poster-column {
  align-self: start;
}
.poster-frame {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(240, 136, 62, 0.08);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(240, 136, 62, 0.14), transparent 42%, rgba(18, 21, 26, 0.55));
}
.poster-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.overview-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.title-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.movie-title {
  color: var(--ink-0);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.movie-tagline {
  color: var(--amber-soft);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  padding-left: 10px;
  border-left: 2px solid var(--amber);
}
.hero-caption {
  padding: 7px 10px;
  background: rgba(240, 136, 62, 0.07);
  border: 1px solid rgba(240, 136, 62, 0.2);
  border-radius: var(--radius-s);
}
.hero-scene {
  color: var(--ink-1);
  font-size: 12px;
  line-height: 1.5;
}
.hero-scene::before {
  content: "◎ ";
  color: var(--amber);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--ink-1);
  background: var(--cool-1);
  border: 1px solid var(--line);
  border-radius: 3px;
  white-space: nowrap;
}
.status-current {
  color: var(--cool-0);
  font-weight: 700;
  background: var(--amber);
  border-color: var(--amber);
}
.status-score {
  color: var(--amber-soft);
  border-color: rgba(240, 136, 62, 0.4);
  background: rgba(240, 136, 62, 0.08);
}
.player-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line-strong);
}
.player-wrap video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  background: var(--cool-1);
  border-top: 1px solid var(--line);
}
.ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  font-size: 11px;
  color: var(--ink-1);
  background: var(--cool-2);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.ctrl:hover {
  color: var(--amber-soft);
  border-color: var(--amber-deep);
}
.ctrl.is-active {
  color: var(--cool-0);
  font-weight: 700;
  background: var(--amber);
  border-color: var(--amber);
}
.ctrl-play {
  font-weight: 700;
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--cool-3);
  appearance: none;
  -webkit-appearance: none;
  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(--amber);
  border: 0;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 80px;
  min-width: 58px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--cool-3);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.player-wrap.is-theater {
  box-shadow: 0 0 0 1px var(--amber-deep), 0 0 30px var(--glow);
}
.player-wrap.is-lights-off {
  background: #000;
  border-color: var(--amber-deep);
}
.player-wrap.is-lights-off video {
  filter: brightness(0.72) contrast(1.06);
}
.cast-strip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.cast-heading {
  color: var(--ink-0);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.cast-heading::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 2px;
  margin-right: 6px;
  vertical-align: middle;
  background: var(--amber);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 3px 8px 3px 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cool-1);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(240, 136, 62, 0.5);
  background:
    radial-gradient(circle at 32% 28%, rgba(240, 136, 62, 0.85), rgba(240, 136, 62, 0) 62%),
    linear-gradient(150deg, var(--cool-3), var(--cool-1));
}
.cast-name {
  color: var(--ink-0);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.cast-relation {
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.35;
}
.synopsis-block, .details-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.synopsis-heading, .details-heading {
  color: var(--ink-0);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.synopsis-heading::before, .details-heading::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 2px;
  margin-right: 6px;
  vertical-align: middle;
  background: var(--amber);
}
.synopsis-line {
  color: var(--ink-1);
  font-size: 12px;
  line-height: 1.6;
  text-indent: 1.5em;
}
.synopsis-line:first-of-type {
  color: var(--ink-0);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed var(--line);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.detail-value {
  min-width: 0;
  color: var(--ink-1);
  font-size: 12px;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-0);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.section-heading::before {
  content: "";
  flex: 0 0 auto;
  width: 3px;
  height: 14px;
  background: var(--amber);
  border-radius: 2px;
}
.section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.timeline-section {
  padding: 18px 0 4px;
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--cool-3) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: var(--cool-1);
  border-radius: 3px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--cool-3);
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 190px;
  padding: 20px 12px 0;
  scroll-snap-align: start;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line-strong);
}
.timeline-node:first-child::before {
  left: 50%;
}
.timeline-node:last-child::before {
  right: 50%;
}
.node-dot {
  position: absolute;
  top: 1px;
  left: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cool-0);
  border: 2px solid var(--amber);
  box-shadow: 0 0 0 3px rgba(240, 136, 62, 0.12);
}
.node-time {
  display: block;
  color: var(--amber-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.node-label {
  display: block;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.5;
}
.node-active {
  background: linear-gradient(180deg, rgba(240, 136, 62, 0.1), rgba(240, 136, 62, 0));
  border-radius: var(--radius-s);
}
.node-active .node-dot {
  background: var(--amber);
  border-color: var(--amber-soft);
  box-shadow: 0 0 0 5px rgba(240, 136, 62, 0.22);
}
.node-active .node-time {
  color: var(--ink-0);
}
.node-active .node-label {
  color: var(--ink-1);
}
.episodes-section {
  padding: 18px 0 4px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  align-items: baseline;
  column-gap: 8px;
  row-gap: 2px;
  padding: 7px 10px;
  background: var(--cool-1);
  border: 1px solid var(--line);
  border-left: 2px solid var(--cool-3);
  border-radius: var(--radius-s);
  min-width: 0;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.episode-item:hover {
  background: var(--cool-2);
  border-left-color: var(--amber);
}
.ep-number {
  grid-area: num;
  color: var(--amber-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.ep-title {
  grid-area: title;
  color: var(--ink-0);
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ep-summary {
  grid-area: sum;
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ep-duration {
  grid-area: dur;
  color: var(--ink-3);
  font-size: 10px;
  line-height: 1;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease, margin-top 0.2s ease;
}
.episode-item:hover .ep-duration, .episode-item:focus-within .ep-duration {
  max-height: 16px;
  opacity: 1;
  margin-top: 3px;
}
.episode-item:hover .ep-summary, .episode-item:focus-within .ep-summary {
  white-space: normal;
}
.ep-current {
  background: rgba(240, 136, 62, 0.1);
  border-color: rgba(240, 136, 62, 0.45);
  border-left-color: var(--amber);
}
.ep-current .ep-number {
  color: var(--amber);
}
.ep-current .ep-title {
  color: var(--ink-0);
}
.comments-section {
  padding: 18px 0 4px;
}
.comments-columns {
  column-count: 2;
  column-gap: 8px;
}
.comment-stream {
  display: contents;
}
.comment-item {
  break-inside: avoid;
  margin: 0 0 8px;
  padding: 8px 10px;
  background: var(--cool-1);
  border-left: 2px solid var(--amber-deep);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
}
.comment-nick {
  display: block;
  color: var(--amber-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 3px;
}
.comment-text {
  color: var(--ink-1);
  font-size: 12px;
  line-height: 1.55;
}
.recommend-region {
  padding: 18px 0 4px;
}
.recommend-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: start;
}
.recommend-card {
  flex: 1 1 150px;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: var(--cool-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  min-width: 0;
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}
.recommend-card:hover, .recommend-card:focus-visible {
  background: var(--cool-2);
  border-color: var(--amber-deep);
  transform: translateY(-2px);
}
.recommend-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-s);
  background: var(--cool-3);
}
.rec-name {
  color: var(--ink-0);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  color: var(--ink-2);
  font-size: 11px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  background: var(--cool-1);
}
.footer-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--ink-1);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber-soft);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.friend-links-label {
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
a.runtime-friend-link {
  color: var(--ink-2);
  font-size: 11px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--amber-soft);
  text-decoration: underline;
}
.footer-disclaimer {
  color: var(--ink-3);
  font-size: 11px;
  line-height: 1.5;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {.hero-stage {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 16px;
  }
.movie-title {
    font-size: 22px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.poster-column {
    max-width: 200px;
  }
.comments-columns {
    column-count: 1;
  }
.recommend-card {
    flex: 1 1 140px;
    max-width: none;
  }}
@media (max-width: 560px) {body {
    font-size: 12px;
  }
.page-main {
    padding: 12px 12px 4px;
  }
.header-shell {
    padding: 7px 12px;
    gap: 10px;
  }
.movie-title {
    font-size: 19px;
  }
.movie-tagline {
    font-size: 12px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-item {
    grid-template-areas:
      "num title"
      "sum sum";
  }
.ep-duration {
    max-height: none;
    opacity: 1;
    margin-top: 3px;
    grid-area: dur;
  }
.timeline-node {
    width: 165px;
  }
.recommend-cards {
    gap: 6px;
  }
.recommend-card {
    flex: 1 1 130px;
    padding: 5px;
  }
.footer-shell {
    padding: 12px 12px 18px;
  }}
@media (max-width: 400px) {.cast-item {
    padding-right: 6px;
  }
.cast-relation {
    font-size: 10px;
  }
.recommend-card {
    flex: 1 1 100%;
    max-width: none;
  }}

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}
