:root {
  --ink: #14171c;
  --ink-2: #1b1f26;
  --panel: #1f242c;
  --panel-2: #232933;
  --line: #333b47;
  --muted: #8b95a3;
  --muted-2: #6b7480;
  --cold: #aeb8c6;
  --cold-hi: #dfe5ed;
  --red: #7d1f2a;
  --red-hi: #b03546;
  --red-deep: #521018;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Heiti SC", system-ui, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--cold);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, p, ul, dl, dd, dt {
  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 {
  background: none;
  border: 0;
  cursor: pointer;
}
::selection {
  background: var(--red);
  color: var(--cold-hi);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 23, 28, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 16px;
  max-width: 1280px;
  margin: 0 auto;
}
a[data-contract="site-name"].brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--cold-hi);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--red);
  padding-left: 8px;
}
a[data-contract="site-name"].brand:hover {
  color: var(--red-hi);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 2px 8px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  letter-spacing: 0.08em;
}
a.runtime-category:hover {
  color: var(--cold-hi);
  border-color: var(--line);
  background: var(--ink-2);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 26px;
}
.movie-overview {
  display: grid;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: end;
  gap: 0;
  min-height: 300px;
  margin: 14px 0 6px;
  background:
    radial-gradient(120% 130% at 78% 18%, rgba(125, 31, 42, 0.42) 0%, rgba(82, 16, 24, 0.16) 38%, rgba(20, 23, 28, 0) 68%),
    linear-gradient(102deg, #232a34 0%, #1a1e25 52%, #101317 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(174, 184, 198, 0.05) 0 2px, rgba(174, 184, 198, 0) 2px 26px);
  pointer-events: none;
}
.poster-frame {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: 0;
  margin: 10px 0 -1px 10px;
  border: 1px solid rgba(174, 184, 198, 0.28);
  border-bottom: 0;
  background: var(--ink-2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 14px 30px rgba(0, 0, 0, 0.55);
}
.poster-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
}
.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 22px 26px 26px 20px;
}
.movie-title {
  font-size: clamp(26px, 4.6vw, 44px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.06em;
  color: var(--cold-hi);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.movie-tagline {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--red-hi);
}
.movie-seo {
  margin-top: 10px;
  max-width: 46ch;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.player-shell {
  position: relative;
  width: 100%;
  background: #0d1013;
  border: 1px solid var(--line);
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}
.ctl-btn {
  padding: 3px 9px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.ctl-btn:hover {
  color: var(--cold-hi);
  border-color: var(--muted-2);
}
.ctl-btn.is-active, .ctl-btn:active {
  color: #fff;
  background: var(--red);
  border-color: var(--red-hi);
}
.ctl-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 4px;
  margin: 0 4px;
  appearance: none;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.ctl-volume {
  flex: 0 1 96px;
  min-width: 72px;
  height: 4px;
  margin: 0 2px;
  appearance: none;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.ctl-progress::-webkit-slider-thumb, .ctl-volume::-webkit-slider-thumb {
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red-hi);
  border: 1px solid #000;
}
.ctl-progress::-moz-range-thumb, .ctl-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #000;
  border-radius: 50%;
  background: var(--red-hi);
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.overview-main {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}
.overview-side {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}
.section-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--cold-hi);
  padding: 0 0 5px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--red-hi);
}
.synopsis-panel {
  min-width: 0;
}
.synopsis-body {
  display: grid;
  gap: 6px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--cold);
  padding-left: 9px;
  border-left: 2px solid rgba(125, 31, 42, 0.55);
}
.cast-panel {
  min-width: 0;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
}
.cast-item {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 9px 6px 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red-deep);
  text-align: center;
}
.cast-avatar {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, rgba(174, 184, 198, 0.5) 0 30%, rgba(174, 184, 198, 0) 62%),
    linear-gradient(160deg, #39424f 0%, #222831 70%);
  border: 1px solid var(--muted-2);
  box-shadow: inset 0 0 0 3px rgba(20, 23, 28, 0.7);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cold-hi);
  letter-spacing: 0.06em;
}
.cast-role {
  font-size: 11px;
  color: var(--red-hi);
  letter-spacing: 0.1em;
}
.episode-status-panel {
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
}
.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
}
.status-label {
  color: var(--muted-2);
  letter-spacing: 0.16em;
}
.status-value {
  font-size: 14px;
  font-weight: 800;
  color: var(--cold-hi);
}
.status-sep {
  color: var(--red-hi);
  font-weight: 700;
}
.status-bar {
  margin: 8px 0 6px;
  height: 5px;
  background: #10141a;
  border: 1px solid var(--line);
}
.status-bar-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--red-deep), var(--red-hi));
}
.status-note {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.details-panel {
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.detail-list {
  display: grid;
  gap: 0;
}
.detail-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(51, 59, 71, 0.85);
}
.detail-row:last-child {
  border-bottom: 0;
}
.detail-key {
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}
.detail-value {
  margin: 0;
  font-size: 12px;
  color: var(--cold-hi);
}
.timeline-section {
  margin-top: 18px;
  padding-top: 4px;
}
.timeline-heading {
  margin-bottom: 14px;
}
.timeline-track {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--muted-2) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--muted-2);
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}
.timeline-list {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: 640px;
  position: relative;
}
.timeline-node {
  position: relative;
  flex: 1 1 0;
  min-width: 118px;
  padding: 22px 10px 0 0;
  display: grid;
  gap: 3px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.timeline-node:last-child::before {
  right: 0;
  background: linear-gradient(90deg, var(--line) 0%, var(--line) 62%, rgba(51, 59, 71, 0) 62%);
}
.node-dot {
  position: absolute;
  top: 2px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 1px var(--red-hi);
}
.timeline-node:first-child .node-dot {
  background: var(--red-hi);
}
.node-timecode {
  font-size: 12px;
  font-weight: 800;
  color: var(--cold-hi);
  letter-spacing: 0.1em;
}
.node-label {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}
.episodes-section {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: baseline;
  gap: 2px 8px;
  padding: 7px 9px;
  background: var(--panel);
  border: 1px solid var(--line);
  min-width: 0;
  transition: background 0.14s, border-color 0.14s;
}
.episode-card:hover {
  background: var(--panel-2);
  border-color: var(--red);
}
.ep-number {
  grid-area: num;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--red-hi);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.ep-title {
  grid-area: title;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cold-hi);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ep-duration {
  grid-area: dur;
  font-size: 11px;
  color: var(--muted-2);
  white-space: nowrap;
}
.ep-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.18s ease, margin-top 0.2s ease;
}
.episode-card:hover .ep-summary, .episode-card:focus-within .ep-summary {
  max-height: 90px;
  opacity: 1;
  margin-top: 4px;
}
.comments-section {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.comment-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
}
.comment-item {
  position: relative;
  padding: 8px 10px 8px 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--red-deep);
}
.comment-quote {
  position: absolute;
  top: 0;
  left: 8px;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: var(--red);
  opacity: 0.85;
  user-select: none;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--cold);
}
.comment-meta {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}
.comment-meta::before {
  content: "— ";
  color: var(--red-hi);
}
.recommend-region {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}
a.recommend-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 5px;
  padding: 7px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--cold);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.14s, background 0.14s, transform 0.14s;
}
a.recommend-card:hover {
  border-color: var(--red-hi);
  background: var(--panel-2);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img.recommend-pic {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #10141a;
  filter: saturate(0.7) contrast(1.05);
}
[data-runtime="recommendation"]:hover img.recommend-pic {
  filter: saturate(0.95) contrast(1.08);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cold-hi);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.48;
  color: var(--muted);
  align-self: end;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 22px;
  background: #101318;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px 20px;
  display: grid;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-2);
  max-width: 92ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"].footer-link:hover, a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--cold-hi);
  border-bottom-color: var(--red-hi);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red-hi);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--muted-2);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--cold-hi);
  text-decoration: underline;
  text-decoration-color: var(--red-hi);
}
body.lights-off {
  background: #05070a;
}
body.lights-off .player-shell {
  box-shadow: 0 0 0 1px var(--red), 0 0 46px rgba(125, 31, 42, 0.5);
}
body.theater-mode .player-shell {
  border-color: var(--red);
}
body.theater-mode .player-video {
  max-height: 82vh;
}
.player-shell:fullscreen {
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.player-shell:fullscreen .player-video {
  max-height: calc(100vh - 60px);
}
.player-shell:fullscreen .player-controls {
  flex: 0 0 auto;
}
@media (max-width: 1080px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 900px) {.hero-stage {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    min-height: 240px;
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
  }
.overview-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.header-inner {
    padding: 6px 12px;
  }
.page-main {
    padding: 0 12px 22px;
  }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
.poster-frame {
    margin: 10px 10px 0;
    max-width: 220px;
    border-bottom: 1px solid rgba(174, 184, 198, 0.28);
  }
.hero-copy {
    padding: 14px 16px 18px;
  }
.overview-side {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    min-width: 560px;
  }}
@media (max-width: 480px) {body {
    font-size: 12.5px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.ctl-btn {
    padding: 3px 7px;
    font-size: 11px;
  }
.ctl-progress {
    flex-basis: 100%;
    order: 3;
    margin: 4px 0 0;
  }
.comment-item {
    padding-left: 34px;
  }
.comment-quote {
    font-size: 28px;
  }
.timeline-list {
    min-width: 480px;
  }
.timeline-node {
    min-width: 104px;
  }}

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}
