*, *::before, *::after {
  box-sizing: border-box;
}
html, body, h1, h2, p, ul, ol, dl, dd, dt, figure {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
:root {
  --ink-deep: #071018;
  --ink-blue: #0d1b26;
  --dai-qing: #16323f;
  --dai-qing-soft: #1f3f4d;
  --gold: #c9a24a;
  --gold-bright: #e6c877;
  --gold-dim: #8a6f2e;
  --paper: #d9d3c2;
  --paper-dim: #9d9a8c;
  --line: rgba(201, 162, 74, 0.28);
  --line-soft: rgba(217, 211, 194, 0.14);
  --bg: #050a0f;
  --font-serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(13, 27, 38, 0.9) 0%, rgba(5, 10, 15, 1) 60%),
    repeating-linear-gradient(180deg, rgba(201, 162, 74, 0.03) 0 1px, transparent 1px 4px);
  color: var(--paper);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.62;
  letter-spacing: 0.02em;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 16, 24, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 18px;
}
a[data-contract="site-name"] {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--gold);
  padding-left: 10px;
  line-height: 1.1;
}
a[data-contract="site-name"]:hover {
  color: #fff0cf;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 11px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  background: rgba(22, 50, 63, 0.35);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(201, 162, 74, 0.12);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px 30px;
}
.block-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.28em;
  color: var(--gold-bright);
  padding-bottom: 5px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--gold);
}
.movie-overview {
  margin-top: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(22, 50, 63, 0.55) 0%, rgba(7, 16, 24, 0.9) 100%);
  padding: 0 0 18px;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  grid-template-areas: "portrait crowd";
  align-items: stretch;
  min-height: 320px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-portrait {
  grid-area: portrait;
  position: relative;
  z-index: 3;
  padding: 18px 0 18px 20px;
  align-self: start;
}
.poster-frame {
  margin: 0;
  width: 100%;
  max-width: 260px;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 0 1px rgba(7, 16, 24, 0.9), 0 18px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(201, 162, 74, 0.35);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.hero-crowd {
  grid-area: crowd;
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle at 78% 42%, rgba(201, 162, 74, 0.20) 0%, rgba(201, 162, 74, 0) 46%),
    radial-gradient(circle at 52% 68%, rgba(31, 63, 77, 0.85) 0%, rgba(7, 16, 24, 0) 60%),
    linear-gradient(115deg, rgba(7, 16, 24, 0.98) 0%, rgba(13, 27, 38, 0.55) 45%, rgba(22, 50, 63, 0.85) 100%);
  pointer-events: none;
}
.hero-crowd::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(74deg, rgba(201, 162, 74, 0.06) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(108deg, rgba(217, 211, 194, 0.045) 0 1px, transparent 1px 12px);
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
}
.hero-tagline {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  z-index: 4;
  max-width: 720px;
  padding: 12px 16px 12px 18px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(90deg, rgba(5, 10, 15, 0.92) 0%, rgba(5, 10, 15, 0.55) 78%, rgba(5, 10, 15, 0) 100%);
  backdrop-filter: blur(2px);
}
.movie-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(21px, 3.1vw, 34px);
  letter-spacing: 0.14em;
  color: #f2e6c8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  line-height: 1.2;
}
.movie-tagline {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.hero-player {
  margin: 16px 20px 0;
  border: 1px solid var(--line);
  background: #02070b;
  position: relative;
}
.hero-player video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  background: rgba(13, 27, 38, 0.7);
}
.control-btn {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--paper);
  background: rgba(22, 50, 63, 0.5);
  border: 1px solid var(--line);
  padding: 4px 10px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.control-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(201, 162, 74, 0.14);
}
.control-btn.is-active {
  color: var(--ink-deep);
  background: var(--gold);
  border-color: var(--gold-bright);
}
.control-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
  white-space: nowrap;
}
.control-range {
  width: 108px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--dai-qing-soft);
  border: none;
  outline: none;
  cursor: pointer;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  cursor: pointer;
}
.control-range::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: none;
  background: var(--gold);
  cursor: pointer;
}
.control-select {
  background: rgba(22, 50, 63, 0.6);
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 12px;
  padding: 3px 6px;
  cursor: pointer;
}
.hero-player.is-muted .control-btn[data-player-action="mute"] {
  color: var(--gold-bright);
  border-color: var(--gold);
}
.hero-player.is-theater {
  margin-left: 0;
  margin-right: 0;
  border-left: none;
  border-right: none;
}
.hero-player.is-lights-off {
  background: #000;
}
.hero-player.is-lights-off video {
  opacity: 0.72;
}
.synopsis-block {
  margin: 26px 0 0;
  padding: 0 20px;
}
.synopsis-lead {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: #efe6cf;
  padding: 11px 14px;
  border-left: 2px solid var(--gold);
  background: rgba(22, 50, 63, 0.4);
  margin-bottom: 12px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 22px;
  align-items: start;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.85;
  color: var(--paper-dim);
  text-align: justify;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.episode-status, .details-block {
  margin: 26px 0 0;
  padding: 0 20px;
}
.status-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.status-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(7, 16, 24, 0.92);
  padding: 9px 12px;
}
.status-key {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--paper-dim);
}
.status-value {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--gold-bright);
  line-height: 1.25;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 22px;
  border-top: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
}
.detail-key {
  flex: 0 0 4.6em;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--paper-dim);
}
.detail-value {
  font-size: 13px;
  color: #e6dfcd;
  letter-spacing: 0.03em;
}
.cast-block {
  margin: 26px 0 0;
  padding: 0 20px;
}
.cast-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}
.cast-rail::-webkit-scrollbar {
  height: 6px;
}
.cast-rail::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
}
.cast-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 13px;
  background: linear-gradient(180deg, rgba(22, 50, 63, 0.72) 0%, rgba(7, 16, 24, 0.95) 100%);
  border-top: 2px solid transparent;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.cast-card:hover {
  border-top-color: var(--gold);
  background: linear-gradient(180deg, rgba(201, 162, 74, 0.18) 0%, rgba(7, 16, 24, 0.95) 100%);
}
.cast-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}
.cast-tag {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--paper-dim);
  letter-spacing: 0.02em;
}
.timeline-block {
  margin: 30px 0 0;
  padding: 0 20px;
}
.timeline-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
}
.timeline-strip::-webkit-scrollbar {
  height: 6px;
}
.timeline-strip::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 13px 14px;
  background: rgba(7, 16, 24, 0.94);
  border-top: 1px solid transparent;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 13px;
  width: 7px;
  height: 7px;
  background: var(--dai-qing-soft);
  transform: rotate(45deg);
  border: 1px solid var(--line);
}
.node-timecode {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--paper-dim);
}
.node-label {
  font-size: 12px;
  line-height: 1.62;
  color: var(--paper-dim);
}
.timeline-node.is-current {
  background: linear-gradient(180deg, rgba(201, 162, 74, 0.2) 0%, rgba(7, 16, 24, 0.96) 100%);
  border-top-color: var(--gold);
}
.timeline-node.is-current::before {
  background: var(--gold);
  border-color: var(--gold-bright);
  box-shadow: 0 0 10px rgba(201, 162, 74, 0.8);
}
.timeline-node.is-current .node-timecode {
  color: var(--gold-bright);
}
.timeline-node.is-current .node-label {
  color: #e9e1cb;
}
.episodes-block {
  margin: 30px 0 0;
  padding: 0 20px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.episode-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: baseline;
  column-gap: 10px;
  row-gap: 4px;
  padding: 11px 13px;
  background: rgba(7, 16, 24, 0.94);
  transition: background 0.18s ease;
}
.episode-item:hover {
  background: rgba(22, 50, 63, 0.78);
}
.episode-number {
  grid-area: num;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--gold);
  line-height: 1.1;
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.12em;
  color: #eae2cc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-duration {
  grid-area: dur;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 12px;
  line-height: 1.7;
  color: var(--paper-dim);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.22s ease, max-height 0.22s ease, margin-top 0.22s ease;
}
.episode-item:hover .episode-summary, .episode-item:focus-within .episode-summary {
  opacity: 1;
  max-height: 10em;
  margin-top: 3px;
}
.episode-item.is-current {
  background: linear-gradient(180deg, rgba(201, 162, 74, 0.16) 0%, rgba(7, 16, 24, 0.96) 100%);
  box-shadow: inset 2px 0 0 var(--gold);
}
.episode-item.is-current .episode-number {
  color: var(--gold-bright);
}
.episode-item.is-current .episode-summary {
  opacity: 1;
  max-height: 10em;
  margin-top: 3px;
}
.comments-block {
  margin: 30px 0 0;
  padding: 0 20px;
}
.comment-list {
  border-top: 1px solid var(--line);
}
.comment-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}
.comment-nickname {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--paper-dim);
}
.recommend-region {
  margin: 28px 0 0;
  padding: 0 20px;
}
.recommend-region + .recommend-region {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-soft);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.recommend-row {
  background: rgba(7, 16, 24, 0.94);
  display: flex;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 9px 10px 11px;
  color: var(--paper);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
}
a[data-runtime="recommendation"]:hover {
  background: rgba(22, 50, 63, 0.8);
  border-left-color: var(--gold);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  background: var(--ink-blue);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: #ece4cf;
  line-height: 1.4;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--paper-dim);
}
.site-footer {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  background: rgba(7, 16, 24, 0.9);
  padding: 18px;
}
.footer-disclaimer {
  max-width: 1280px;
  margin: 0 auto 12px;
  font-size: 11.5px;
  line-height: 1.75;
  color: rgba(157, 154, 140, 0.8);
  letter-spacing: 0.02em;
}
.footer-nav {
  max-width: 1280px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}
.friend-links {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--paper-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(157, 154, 140, 0.85);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-stage {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    min-height: 280px;
  }}
@media (max-width: 720px) {.page-main {
    padding: 0 12px 24px;
  }
.header-bar {
    padding: 7px 12px;
  }
.hero-stage {
    display: block;
    min-height: 0;
  }
.hero-portrait {
    padding: 14px 14px 0;
  }
.poster-frame {
    max-width: 190px;
  }
.hero-crowd {
    position: relative;
    height: 150px;
    margin-top: -80px;
  }
.hero-tagline {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 12px 14px 0;
    max-width: none;
    background: rgba(5, 10, 15, 0.88);
  }
.hero-player {
    margin: 14px 14px 0;
  }
.synopsis-block, .episode-status, .details-block, .cast-block, .timeline-block, .episodes-block, .comments-block, .recommend-region {
    padding: 0 14px;
    margin-top: 24px;
  }
.comment-item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }
.synopsis-body {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 480px) {body {
    font-size: 13.5px;
  }
.cast-rail {
    grid-auto-columns: minmax(140px, 1fr);
  }
.timeline-strip {
    grid-auto-columns: minmax(150px, 1fr);
  }
.comment-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
.comment-nickname {
    white-space: normal;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-number {
    font-size: 18px;
  }}

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}
