:root {
  --ink: #070d18;
  --ink-2: #0b1424;
  --ink-3: #101c30;
  --ink-4: #16263f;
  --paper: #d8cdb4;
  --paper-dim: #9d947e;
  --amber: #d99a3c;
  --amber-deep: #a8731f;
  --white: #f2f4f7;
  --white-2: #c8d0dc;
  --white-3: #8d99ab;
  --rule: rgba(216, 205, 180, 0.14);
  --rule-strong: rgba(216, 205, 180, 0.26);
  --font-narrow: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  background-image:
    radial-gradient(120% 90% at 82% 4%, rgba(22, 38, 63, 0.85) 0%, rgba(7, 13, 24, 0) 58%),
    linear-gradient(180deg, #070d18 0%, #0a1220 46%, #080e19 100%);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, figcaption {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
video {
  display: block;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  position: relative;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(11, 20, 36, 0.96) 0%, rgba(7, 13, 24, 0.9) 100%);
  backdrop-filter: blur(2px);
}
.header-shell {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 16px 9px;
  max-width: 1280px;
  margin: 0 auto;
}
.brand-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
a[data-contract="site-name"] {
  font-family: var(--font-narrow);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--amber);
}
.brand-subtitle {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--white-3);
  line-height: 1.2;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  background: rgba(22, 38, 63, 0.5);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--white-2);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s linear, color 0.15s linear, background 0.15s linear;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 20px;
}
.movie-overview {
  padding-bottom: 4px;
}
.overview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 0 26px;
  border-bottom: 1px solid var(--rule);
}
.overview-hero::before {
  content: "";
  position: absolute;
  inset: 0 -40px 0 -40px;
  background:
    radial-gradient(58% 76% at 78% 16%, rgba(217, 154, 60, 0.12) 0%, rgba(217, 154, 60, 0) 62%),
    radial-gradient(70% 100% at 8% 100%, rgba(216, 205, 180, 0.07) 0%, rgba(216, 205, 180, 0) 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-side-column, .hero-main-column {
  position: relative;
  z-index: 1;
}
.hero-side-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.poster-wrap {
  position: relative;
  width: 100%;
  border: 1px solid var(--rule-strong);
  background: var(--ink-2);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.95);
}
.poster-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.poster-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 4px 8px;
  background: rgba(7, 13, 24, 0.86);
  border-top: 1px solid var(--rule-strong);
  border-right: 1px solid var(--rule-strong);
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.14em;
  line-height: 1.3;
}
.hero-main-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.hero-titles {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-width: 100%;
}
.movie-title {
  font-family: var(--font-narrow);
  font-size: clamp(34px, 6.4vw, 62px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--white);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}
.movie-tagline {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--amber);
  line-height: 1.3;
}
.episode-status {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.status-line {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--white-2);
}
.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.status-chip {
  padding: 2px 8px;
  border: 1px solid var(--rule);
  border-radius: 1px;
  background: rgba(16, 28, 48, 0.72);
  color: var(--white-3);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.status-chip:first-child {
  color: var(--amber);
  border-color: rgba(217, 154, 60, 0.42);
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--rule-strong);
  background: #04080f;
  box-shadow: 0 22px 46px -26px rgba(0, 0, 0, 0.98);
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  background: #04080f;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(16, 28, 48, 0.92) 0%, rgba(7, 13, 24, 0.96) 100%);
}
.ctrl-btn {
  appearance: none;
  border: 1px solid var(--rule-strong);
  border-radius: 1px;
  background: rgba(22, 38, 63, 0.6);
  color: var(--white-2);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 5px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s linear, color 0.14s linear, border-color 0.14s linear;
}
.ctrl-btn:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}
.ctrl-btn.is-active {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}
.ctrl-btn.is-muted {
  color: var(--amber);
  border-color: rgba(217, 154, 60, 0.55);
}
.ctrl-progress, .ctrl-volume {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(216, 205, 180, 0.2);
  cursor: pointer;
  outline: none;
}
.ctrl-progress {
  flex: 1 1 120px;
  min-width: 90px;
}
.ctrl-volume {
  flex: 0 0 72px;
  width: 72px;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--amber);
}
body.lights-off .page-main {
  filter: brightness(0.62) contrast(1.05);
}
body.lights-off .player-shell {
  filter: none;
  box-shadow: 0 0 0 1px rgba(217, 154, 60, 0.4), 0 0 60px rgba(217, 154, 60, 0.14);
}
.cast-strip {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--rule);
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommendation-heading {
  font-family: var(--font-narrow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--paper);
  line-height: 1.3;
}
.cast-heading::after, .synopsis-heading::after, .details-heading::after, .timeline-heading::after, .episodes-heading::after, .comments-heading::after {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-left: 8px;
  vertical-align: middle;
  background: var(--amber);
  opacity: 0.7;
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cast-item {
  flex: 0 0 auto;
}
.cast-figure {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 76px;
}
.cast-avatar {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--rule-strong);
  background: var(--ink-3);
  filter: grayscale(0.55) contrast(1.06) brightness(0.9);
  transition: filter 0.18s linear, border-color 0.18s linear;
}
.cast-item:hover .cast-avatar {
  filter: grayscale(0) contrast(1.1) brightness(1);
  border-color: rgba(217, 154, 60, 0.6);
}
.cast-name {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--white-2);
  text-align: center;
  line-height: 1.25;
}
.synopsis-block {
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--rule);
}
.synopsis-columns {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid var(--rule);
  margin-top: 7px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--white-2);
  text-align: justify;
  margin-bottom: 7px;
  break-inside: avoid;
}
.synopsis-para:first-child::first-letter {
  font-family: var(--font-narrow);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--paper);
  padding-right: 3px;
  float: left;
}
.details-panel {
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--rule);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 18px;
  margin-top: 6px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dotted var(--rule);
}
.detail-key {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--white-3);
  white-space: nowrap;
}
.detail-value {
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--white);
  text-align: right;
}
.detail-row:last-child .detail-value {
  font-family: var(--font-narrow);
  font-size: 15px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.01em;
}
.timeline-section {
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--rule);
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 26px;
  margin-top: 9px;
  padding-left: 12px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 6px;
  left: 3px;
  width: 1px;
  background: linear-gradient(180deg, rgba(217, 154, 60, 0.75) 0%, rgba(216, 205, 180, 0.16) 100%);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  padding: 5px 0 6px 0;
  border-bottom: 1px solid var(--rule);
}
.node-dot {
  position: absolute;
  left: -12px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 2px rgba(7, 13, 24, 1), 0 0 8px rgba(217, 154, 60, 0.5);
}
.node-time {
  font-family: var(--font-narrow);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.node-label {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--white-2);
}
.episodes-section {
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--rule);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin-top: 8px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 3px 8px;
  padding: 6px 9px 7px;
  background: linear-gradient(180deg, rgba(16, 28, 48, 0.7) 0%, rgba(11, 20, 36, 0.7) 100%);
  border: 1px solid var(--rule);
  border-left: 2px solid rgba(216, 205, 180, 0.2);
  transition: border-color 0.16s linear, background 0.16s linear;
}
.episode-card:hover {
  border-left-color: var(--amber);
  background: linear-gradient(180deg, rgba(22, 38, 63, 0.8) 0%, rgba(11, 20, 36, 0.8) 100%);
}
.episode-number {
  font-family: var(--font-narrow);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white-3);
  white-space: nowrap;
}
.episode-title {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.3;
  min-width: 0;
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--white-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.episode-summary {
  grid-column: 1 / -1;
  font-size: 11px;
  line-height: 1.5;
  color: var(--white-3);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.24s ease, opacity 0.2s linear, margin-top 0.2s linear;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 140px;
  opacity: 1;
  margin-top: 2px;
}
.comments-section {
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--rule);
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 9px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px 9px;
  background: linear-gradient(180deg, rgba(16, 28, 48, 0.78) 0%, rgba(9, 16, 29, 0.78) 100%);
  border: 1px solid var(--rule);
  border-top: 2px solid rgba(217, 154, 60, 0.5);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}
.comment-card:nth-child(even) {
  transform: translate(2px, -2px);
}
.comment-card:nth-child(3n) {
  transform: translate(-2px, 2px);
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--white-2);
}
.comment-author {
  align-self: flex-end;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--amber);
  white-space: nowrap;
}
.comment-author::before {
  content: "— ";
  color: var(--white-3);
}
.recommendation-region {
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--rule);
}
.recommendation-region:last-of-type {
  border-bottom: none;
}
.recommendation-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
  align-items: start;
}
.recommendation-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: rgba(11, 20, 36, 0.72);
  border: 1px solid var(--rule);
  color: var(--white-2);
  text-decoration: none;
  transition: border-color 0.16s linear, background 0.16s linear, transform 0.16s linear;
}
.recommendation-item:hover {
  border-color: rgba(217, 154, 60, 0.55);
  background: rgba(22, 38, 63, 0.8);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--rule);
  background: var(--ink-3);
  filter: grayscale(0.4) brightness(0.92);
  transition: filter 0.18s linear;
}
.recommendation-item:hover img {
  filter: grayscale(0) brightness(1);
}
.recommendation-name {
  font-family: var(--font-narrow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommendation-blurb {
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--white-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--rule-strong);
  background: linear-gradient(180deg, rgba(9, 16, 29, 0.9) 0%, rgba(5, 9, 16, 0.98) 100%);
}
.footer-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--white-3);
  max-width: 760px;
}
.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s linear, border-color 0.15s linear;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-top: 6px;
  border-top: 1px dotted var(--rule);
}
.friend-links-label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--white-3);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--white-3);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s linear;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  text-decoration: underline;
}
.player-shell.is-theater, video.is-theater {
  box-shadow: 0 0 0 1px rgba(217, 154, 60, 0.5);
}
.player-shell:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000;
}
.player-shell:fullscreen video {
  max-height: calc(100vh - 46px);
}
.player-shell:-webkit-full-screen {
  background: #000;
}
@media (max-width: 1024px) {.comment-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommendation-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.synopsis-columns {
    column-gap: 18px;
  }}
@media (max-width: 860px) {.overview-hero {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    gap: 12px;
  }
.movie-title {
    font-size: clamp(28px, 7vw, 44px);
  }
.timeline-list {
    grid-template-columns: 1fr;
  }
.recommendation-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 680px) {.page-main {
    padding: 0 11px 16px;
  }
.header-shell {
    padding: 9px 11px 8px;
    align-items: flex-start;
  }
.overview-hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 0 18px;
  }
.hero-side-column {
    max-width: 200px;
  }
.movie-title {
    font-size: clamp(30px, 11vw, 46px);
  }
.cast-figure {
    width: 64px;
  }
.cast-avatar {
    width: 64px;
    height: 64px;
  }
.synopsis-columns {
    columns: 1;
    column-rule: none;
  }
.details-list {
    grid-template-columns: 1fr;
  }
.episodes-grid {
    grid-template-columns: 1fr;
  }
.episode-summary {
    max-height: 160px;
    opacity: 1;
    margin-top: 2px;
  }
.comment-list {
    grid-template-columns: 1fr;
  }
.comment-card:nth-child(even), .comment-card:nth-child(3n) {
    transform: none;
  }
.recommendation-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.footer-shell {
    padding: 11px 11px 16px;
  }}
@media (max-width: 420px) {.recommendation-bar {
    grid-template-columns: 1fr;
  }
.hero-side-column {
    max-width: 168px;
  }
.cast-row {
    gap: 8px;
  }
.ctrl-progress {
    flex: 1 1 100%;
  }}

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}
