:root {
  --ink: #0d1626;
  --ink-deep: #070d18;
  --ink-panel: #111c2f;
  --ink-line: #1e2c44;
  --chalk: #c7d0dc;
  --chalk-dim: #7d8a9c;
  --chalk-faint: #4d5a6e;
  --yellow: #f2c318;
  --yellow-deep: #c99b06;
  --green: #4f9e86;
  --green-pale: #7fc4ae;
  --warm-light: #f4ecd6;
  --title-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --body-font: "Songti SC", "SimSun", "Noto Serif CJK SC", Georgia, serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background: var(--ink-deep);
  -webkit-text-size-adjust: 100%;
}
body {
  background:
    linear-gradient(180deg, #0a1220 0%, #070d18 42%, #0a1018 100%);
  color: var(--chalk);
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-family: var(--title-font);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 20px;
  background: linear-gradient(180deg, #0c1729 0%, #0a1220 100%);
  border-bottom: 1px solid var(--ink-line);
  position: sticky;
  top: 0;
  z-index: 40;
}
a[data-contract="site-name"] {
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 800;
  color: var(--yellow);
  text-decoration: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(242, 195, 24, 0.25);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--title-font);
  font-size: 12px;
  color: var(--chalk-dim);
  background: #14203a;
  border: 1px solid var(--ink-line);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--ink-deep);
  background: var(--chalk);
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.movie-overview {
  display: block;
}
.section-heading {
  font-size: 15px;
  color: var(--chalk);
  padding: 0 0 6px 10px;
  margin-bottom: 12px;
  border-left: 4px solid var(--yellow);
  letter-spacing: 0.12em;
  line-height: 1.2;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  padding: 30px 0 26px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--ink-line);
}
.hero-poster-wrap {
  align-self: start;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0a1220;
  border: 1px solid var(--ink-line);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 18px 40px rgba(0, 0, 0, 0.55);
}
.hero-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.06) brightness(0.94);
}
.hero-caption {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 6px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.08;
  color: var(--warm-light);
  letter-spacing: 0.03em;
  text-shadow: 0 0 26px rgba(244, 236, 214, 0.18);
}
.movie-tagline {
  font-family: var(--body-font);
  font-size: 14px;
  color: var(--chalk-dim);
  letter-spacing: 0.08em;
}
.hero-slogan {
  align-self: flex-start;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--title-font);
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--yellow);
  padding: 10px 6px;
  border-left: 1px solid var(--yellow-deep);
  margin-top: 6px;
  max-height: 60vh;
}
.overview-lead {
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--ink-line);
}
.lead-text {
  font-family: var(--body-font);
  font-size: 15px;
  line-height: 1.85;
  color: var(--chalk);
  max-width: 76ch;
  text-indent: 2em;
}
.player-shell {
  margin: 18px 0;
  background: #05090f;
  border: 1px solid var(--ink-line);
  width: 100%;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #0c1729;
  border-top: 1px solid var(--ink-line);
}
.ctrl-btn {
  background: #16233a;
  border: 1px solid var(--ink-line);
  color: var(--chalk);
  font-family: var(--title-font);
  font-size: 12px;
  padding: 5px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.ctrl-btn:hover {
  background: #22304c;
}
.ctrl-btn.is-active {
  background: var(--yellow);
  color: var(--ink-deep);
  border-color: var(--yellow-deep);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: #22304c;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--yellow);
}
.ctrl-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  background: var(--yellow);
}
.ctrl-volume {
  width: 84px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #22304c;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background: var(--green-pale);
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  background: var(--green-pale);
}
.ctrl-speed {
  background: #16233a;
  border: 1px solid var(--ink-line);
  color: var(--chalk);
  font-family: var(--title-font);
  font-size: 12px;
  padding: 4px 6px;
  cursor: pointer;
}
.player-shell.is-theater {
  max-width: 100%;
}
.details-panel {
  display: block;
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--ink-line);
  background: linear-gradient(180deg, rgba(17, 28, 47, 0.5) 0%, rgba(17, 28, 47, 0) 100%);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink-line);
  border-left: 1px solid var(--ink-line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 10px;
  border-right: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  min-width: 0;
}
.detail-row dt {
  font-family: var(--title-font);
  font-size: 11px;
  color: var(--chalk-faint);
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-row dd {
  font-size: 13px;
  color: var(--chalk);
  overflow-wrap: anywhere;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-line);
}
.status-chip {
  font-family: var(--title-font);
  font-size: 12px;
  padding: 3px 12px;
  border: 1px solid var(--ink-line);
  color: var(--chalk-dim);
  background: #14203a;
  white-space: nowrap;
}
.status-chip.status-current {
  color: var(--ink-deep);
  background: var(--yellow);
  border-color: var(--yellow-deep);
  font-weight: 700;
}
.synopsis-panel {
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--ink-line);
}
.synopsis-para {
  font-size: 14px;
  line-height: 1.8;
  color: #b6c0cd;
  text-indent: 2em;
  margin-bottom: 8px;
  max-width: 92ch;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.cast-panel {
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--ink-line);
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 88px;
  text-align: center;
}
.cast-avatar {
  width: 64px;
  height: 64px;
  background:
    linear-gradient(135deg, #23324d 0%, #16233a 100%);
  border: 1px solid var(--ink-line);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(125, 138, 156, 0.35);
}
.cast-name {
  font-family: var(--title-font);
  font-size: 12.5px;
  color: var(--chalk);
  line-height: 1.2;
}
.cast-role {
  font-size: 11px;
  color: var(--chalk-faint);
  line-height: 1.2;
}
.timeline-section {
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--ink-line);
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 2px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}
.timeline-cell {
  background: #101a2c;
  padding: 7px 6px 8px;
  min-height: 74px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 2px solid transparent;
  transition: background 0.15s;
}
.timeline-cell:nth-child(odd) {
  background: #0e1828;
}
.timeline-cell:hover {
  background: #1a2740;
}
.cell-index {
  font-family: var(--title-font);
  font-size: 11px;
  color: var(--chalk-faint);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.cell-label {
  font-size: 11px;
  line-height: 1.35;
  color: var(--chalk-dim);
}
.timeline-cell.timeline-current {
  background: #1d2440;
  border-bottom-color: var(--yellow);
  box-shadow: inset 0 0 0 1px rgba(242, 195, 24, 0.35);
}
.timeline-cell.timeline-current .cell-index {
  color: var(--yellow);
  font-weight: 700;
}
.timeline-cell.timeline-current .cell-label {
  color: var(--warm-light);
}
.episodes-section {
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--ink-line);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 10px;
  background: #101a2c;
  border: 1px solid var(--ink-line);
  border-left: 2px solid var(--ink-line);
  align-items: start;
}
.episode-row.episode-current {
  background: #1c2233;
  border-left-color: var(--yellow);
  box-shadow: inset 0 0 0 1px rgba(242, 195, 24, 0.22);
}
.episode-number {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--title-font);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--chalk-dim);
  background: #0b1424;
  border: 1px solid var(--ink-line);
  padding: 5px 3px;
  text-align: center;
  justify-self: start;
}
.episode-current .episode-number {
  color: var(--ink-deep);
  background: var(--yellow);
  border-color: var(--yellow-deep);
  font-weight: 700;
}
.episode-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.episode-title {
  font-size: 13.5px;
  color: var(--chalk);
  line-height: 1.25;
}
.episode-current .episode-title {
  color: var(--warm-light);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--chalk-dim);
}
.episode-duration {
  font-family: var(--title-font);
  font-size: 11px;
  color: var(--green-pale);
  letter-spacing: 0.06em;
}
.comments-section {
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--ink-line);
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-column:first-child {
  padding-top: 14px;
}
.comment-note {
  padding: 9px 11px;
  background: #101a2c;
  border: 1px solid var(--ink-line);
  border-top: 2px solid var(--ink-line);
}
.comment-column:nth-child(2) .comment-note:nth-child(odd) {
  background: #121d30;
  border-top-color: var(--green);
  margin-left: 14px;
}
.comment-column:nth-child(2) .comment-note:nth-child(even) {
  border-top-color: var(--yellow-deep);
}
.comment-column:nth-child(1) .comment-note:nth-child(even) {
  background: #121d30;
  border-top-color: var(--yellow-deep);
  margin-left: 14px;
}
.comment-column:nth-child(1) .comment-note:nth-child(odd) {
  border-top-color: var(--green);
}
.comment-nick {
  display: inline-block;
  font-family: var(--title-font);
  font-size: 11.5px;
  color: var(--yellow);
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: #b6c0cd;
}
.recommend-region {
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--ink-line);
}
.region-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--title-font);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--chalk);
  padding: 8px 5px;
  border-left: 3px solid var(--yellow);
  margin-bottom: 12px;
  max-height: 220px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: #101a2c;
  border: 1px solid var(--ink-line);
  color: var(--chalk);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
a.recommend-item:hover {
  background: #182339;
  border-color: #2a3a58;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #0a1220;
  filter: saturate(0.9) brightness(0.95);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--title-font);
  font-size: 12.5px;
  color: var(--warm-light);
  line-height: 1.3;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--chalk-dim);
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 20px 34px;
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--title-font);
  font-size: 13px;
  color: var(--chalk-dim);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--chalk-faint);
  max-width: 88ch;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--ink-line);
}
.friend-links-label {
  font-family: var(--title-font);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--chalk-faint);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--green-pale);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a.runtime-friend-link:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}
body.lights-off {
  background: #02040a;
}
body.lights-off .player-shell {
  box-shadow: 0 0 0 1px var(--yellow-deep), 0 0 60px rgba(242, 195, 24, 0.12);
}
body.lights-off .movie-overview, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .recommend-region {
  opacity: 0.86;
}
body.lights-off .player-shell {
  opacity: 1;
}
.player-shell.is-theater video {
  max-height: 78vh;
  object-fit: contain;
}
@media (max-width: 1024px) {.timeline-track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
  }
.page-main {
    padding: 0 14px;
  }
.hero-shell {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 0 18px;
  }
.hero-poster-wrap {
    max-width: 240px;
  }
.hero-slogan {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 0.2em;
    border-left: 0;
    border-top: 1px solid var(--yellow-deep);
    padding: 8px 0 0;
    max-height: none;
  }
.episode-list {
    grid-template-columns: 1fr;
  }
.comments-columns {
    grid-template-columns: 1fr;
  }
.comment-column:first-child {
    padding-top: 0;
  }
.comment-column:nth-child(2) .comment-note:nth-child(odd), .comment-column:nth-child(1) .comment-note:nth-child(even) {
    margin-left: 0;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.region-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 0.18em;
    border-left: 3px solid var(--yellow);
    padding: 4px 0 4px 10px;
    max-height: none;
  }
.site-footer {
    padding: 18px 14px 30px;
  }}
@media (max-width: 480px) {body {
    font-size: 13px;
  }
.detail-list {
    grid-template-columns: 1fr;
  }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: 1fr;
  }
.cast-strip {
    gap: 8px;
  }
.cast-card {
    width: 76px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: 10;
  }
.ctrl-volume {
    width: 64px;
  }
.hero-poster-wrap {
    max-width: 200px;
  }}

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}
