:root {
  --sand: #c8a86a;
  --sand-light: #e3cf9e;
  --sand-pale: #f0e4c3;
  --sand-dim: #8a7444;
  --blue: #16202e;
  --blue-deep: #0c1219;
  --blue-mid: #1f2c3d;
  --blue-soft: #2c3c50;
  --gold: #d9b661;
  --gold-bright: #f2d27a;
  --ink: #e8e0cf;
  --ink-dim: #a89b82;
  --rule: rgba(200, 168, 106, 0.22);
  --rule-soft: rgba(200, 168, 106, 0.12);
  --surface: #131a24;
  --surface-2: #182230;
  --serif: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", serif;
  --sans: "Heiti SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  background: var(--blue-deep);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, dl, dd, dt, ul, ol, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--sand-light);
  text-decoration: none;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  background: linear-gradient(180deg, #0a0f16 0%, #101823 100%);
  border-bottom: 1px solid var(--rule-soft);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.site-brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}
a[data-contract="site-name"] {
  color: var(--gold);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--gold-bright);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  margin-left: auto;
}
a.runtime-category {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 12.5px;
  padding: 3px 9px;
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--rule);
  background: rgba(217, 182, 97, 0.07);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 40px;
}
.section-heading {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  padding: 0 0 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 52px;
  height: 2px;
  background: var(--gold-bright);
}
.movie-overview {
  background: linear-gradient(180deg, #111822 0%, #0f151d 100%);
  border-bottom: 1px solid var(--rule-soft);
  margin: 0 -18px;
  padding: 0 18px 22px;
}
.overview-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 20px;
  align-items: start;
  padding: 18px 0 6px;
}
.poster-shell {
  position: relative;
  overflow: hidden;
}
.poster-wide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.06);
}
.poster-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 18, 25, 0.38) 0%, rgba(12, 18, 25, 0) 34%, rgba(12, 18, 25, 0.72) 68%, rgba(12, 18, 25, 0.96) 100%),
    linear-gradient(90deg, rgba(12, 18, 25, 0.42) 0%, rgba(12, 18, 25, 0) 45%);
}
.movie-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 34px;
  font-family: var(--serif);
  font-size: clamp(24px, 5.2vw, 40px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.15;
  color: var(--sand-pale);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 34px rgba(12, 18, 25, 0.9);
}
.movie-tagline {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--sand);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}
.player-shell {
  position: relative;
  background: #05080c;
  border: 1px solid var(--rule-soft);
  width: 100%;
}
.player-shell video {
  width: 100%;
  background: #05080c;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #131c27 0%, #0d141d 100%);
  border-top: 1px solid var(--rule-soft);
}
.ctrl-btn {
  background: rgba(217, 182, 97, 0.08);
  border: 1px solid var(--rule-soft);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ctrl-btn:hover {
  background: rgba(217, 182, 97, 0.18);
  color: var(--gold-bright);
  border-color: var(--rule);
}
.ctrl-btn.is-playing {
  background: rgba(217, 182, 97, 0.28);
  color: var(--gold-bright);
  border-color: var(--gold);
}
.ctrl-btn.is-active {
  background: rgba(217, 182, 97, 0.28);
  color: var(--gold-bright);
  border-color: var(--gold);
}
.ctrl-btn.is-muted {
  background: rgba(200, 90, 70, 0.22);
  border-color: rgba(200, 90, 70, 0.5);
  color: #f0c0b0;
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 110px;
  display: flex;
  align-items: center;
}
.ctrl-volume {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
}
.ctrl-speed {
  display: flex;
  align-items: center;
  gap: 5px;
}
.ctrl-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-left: auto;
}
.speed-label {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
}
.speed-select {
  background: #101822;
  border: 1px solid var(--rule-soft);
  color: var(--ink);
  font-size: 12px;
  padding: 3px 5px;
  border-radius: 2px;
}
.progress-range, .volume-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(200, 168, 106, 0.22);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.volume-range {
  width: 74px;
  flex: 0 0 auto;
}
.progress-range::-webkit-slider-thumb, .volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid #0c1219;
  box-shadow: 0 0 6px rgba(217, 182, 97, 0.55);
}
.progress-range::-moz-range-thumb, .volume-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #0c1219;
  border-radius: 50%;
  background: var(--gold);
}
.cast-section {
  padding-top: 20px;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  background: linear-gradient(180deg, #1a2432 0%, #131b26 100%);
  border: 1px solid var(--rule-soft);
  padding: 8px 6px 9px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.cast-silhouette {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 96px;
  background:
    radial-gradient(60% 48% at 50% 30%, rgba(200, 168, 106, 0.5) 0%, rgba(200, 168, 106, 0) 70%),
    linear-gradient(180deg, #2a3647 0%, #1a2331 100%);
  clip-path: polygon(50% 0%, 74% 14%, 74% 40%, 96% 100%, 4% 100%, 26% 40%, 26% 14%);
  opacity: 0.9;
}
.cast-name {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--sand-pale);
  line-height: 1.3;
}
.cast-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--sand);
  border-top: 1px solid var(--rule-soft);
  padding-top: 4px;
  width: 100%;
}
.synopsis-section {
  padding-top: 22px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  align-items: start;
}
.synopsis-para {
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink);
  text-align: justify;
  padding-left: 10px;
  border-left: 2px solid var(--rule);
}
.episode-status {
  padding-top: 22px;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: rgba(217, 182, 97, 0.06);
  border: 1px solid var(--rule-soft);
  padding: 6px 12px;
}
.status-key {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
}
.status-value {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.06em;
}
.details-section {
  padding-top: 22px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule-soft);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 10px 7px 0;
  border-bottom: 1px solid var(--rule-soft);
  border-right: 1px solid var(--rule-soft);
  min-width: 0;
}
.detail-key {
  font-size: 12px;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
  flex: 0 0 auto;
  white-space: nowrap;
}
.detail-value {
  font-size: 13px;
  color: var(--sand-pale);
  letter-spacing: 0.02em;
  min-width: 0;
}
.timeline-section {
  padding-top: 30px;
  border-top: 1px solid var(--rule-soft);
  margin-top: 26px;
}
.timeline-axis {
  position: relative;
  padding-left: 22px;
  display: grid;
  gap: 0;
}
.timeline-axis::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(200, 168, 106, 0.6), rgba(200, 168, 106, 0.15));
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px dashed var(--rule-soft);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 13px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 3px rgba(200, 168, 106, 0.16);
}
.timeline-timecode {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  white-space: nowrap;
}
.timeline-label {
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.timeline-node-current {
  padding: 10px 0;
  border-bottom-color: var(--rule);
}
.timeline-node-current::before {
  left: -25px;
  top: 14px;
  width: 15px;
  height: 15px;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(242, 210, 122, 0.2), 0 0 14px rgba(242, 210, 122, 0.6);
}
.timeline-node-current .timeline-timecode {
  font-size: 15px;
  color: var(--gold-bright);
}
.timeline-node-current .timeline-label {
  font-weight: 700;
  color: var(--sand-pale);
  letter-spacing: 0.04em;
}
.episodes-section {
  padding-top: 34px;
  border-top: 1px solid var(--rule-soft);
  margin-top: 26px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.episode-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0 7px;
  border-bottom: 1px solid var(--rule-soft);
  min-width: 0;
  position: relative;
  transition: background 0.18s;
}
.episode-number {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--sand);
  white-space: nowrap;
}
.episode-title {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sand-pale);
  min-width: 0;
}
.episode-duration {
  font-size: 11.5px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.episode-summary {
  grid-column: 2 / -1;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.22s ease, margin 0.22s ease;
  margin-top: 0;
}
.episode-item:hover {
  background: rgba(217, 182, 97, 0.05);
}
.episode-item:hover .episode-summary, .episode-item:focus-within .episode-summary {
  max-height: 90px;
  opacity: 1;
  margin-top: 5px;
}
.episode-item-current {
  background: rgba(217, 182, 97, 0.09);
  padding-left: 10px;
  border-left: 2px solid var(--gold);
}
.episode-item-current .episode-number {
  color: var(--gold-bright);
}
.episode-item-current .episode-title {
  color: #fff4d8;
}
.comments-section {
  padding-top: 34px;
  border-top: 1px solid var(--rule-soft);
  margin-top: 26px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  align-items: start;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comments-col-b {
  margin-top: 26px;
}
.comment-card {
  border-left: 2px solid var(--rule);
  padding: 2px 0 2px 12px;
  min-width: 0;
}
.comment-nickname {
  font-family: var(--serif);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--sand);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.recommend-region {
  padding-top: 30px;
  border-top: 1px solid var(--rule-soft);
  margin-top: 26px;
}
.recommend-heading {
  display: inline-block;
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue-deep);
  background: var(--gold);
  padding: 3px 11px;
  margin-bottom: 12px;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--rule-soft);
  padding: 6px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.16s, background 0.16s, transform 0.16s;
  min-width: 0;
}
a.recommend-item:hover {
  border-color: var(--rule);
  background: var(--surface-2);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) brightness(0.94);
  transition: filter 0.18s;
}
a.recommend-item:hover img {
  filter: saturate(1.05) brightness(1.02);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sand-pale);
  line-height: 1.35;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: #080d13;
  border-top: 1px solid var(--rule-soft);
  padding: 20px 18px 26px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
}
.footer-link {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.15s;
}
a[data-contract="footer-home"] {
  color: var(--sand-light);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--gold-bright);
}
a[data-contract="footer-sitemap"] {
  color: var(--ink-dim);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--sand);
  border-right: 1px solid var(--rule);
  padding-right: 12px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--sand-light);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: #6e6552;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--rule-soft);
  padding-top: 10px;
}
.player-shell.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: none;
}
.player-shell.theater-mode video {
  max-height: 82vh;
  object-fit: contain;
}
.player-shell:fullscreen {
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.player-shell:fullscreen video {
  max-height: 84vh;
  object-fit: contain;
}
body.lights-dimmed {
  filter: brightness(0.82) contrast(1.05);
}
body.lights-dimmed .site-header {
  filter: brightness(1.1);
}
@media (max-width: 980px) {.overview-masthead {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 16px;
  }
.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.overview-masthead {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.poster-wide img {
    max-height: 62vh;
    object-fit: cover;
  }
.movie-overview {
    margin: 0 -14px;
    padding: 0 14px 18px;
  }
.page-main {
    padding: 0 14px 32px;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.comments-col-b {
    margin-top: 0;
  }
.timeline-node {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
  }
.header-inner {
    padding: 9px 14px;
    gap: 10px;
  }
.site-brand {
    font-size: 17px;
  }
.ctrl-toggles {
    margin-left: 0;
  }
.volume-range {
    width: 58px;
  }}
@media (max-width: 520px) {body {
    font-size: 14px;
  }
.cast-section {
    padding-top: 16px;
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.cast-silhouette {
    max-height: 84px;
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
.details-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.episode-item {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 8px;
  }
.player-controls {
    gap: 5px 7px;
    padding: 7px 8px;
  }
.ctrl-btn {
    font-size: 11.5px;
    padding: 4px 7px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: 5;
  }
.ctrl-volume {
    order: 3;
  }
.ctrl-toggles {
    order: 4;
    flex: 1 1 100%;
  }
.friend-links-label {
    border-right: none;
    padding-right: 0;
  }
.section-heading {
    font-size: 15.5px;
  }
.movie-title {
    bottom: 30px;
  }
.movie-tagline {
    font-size: 11.5px;
    letter-spacing: 0.16em;
  }}
@media (max-width: 380px) {.recommend-row {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-row {
    grid-template-columns: repeat(2, 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}
