:root {
  --ink: #0f1418;
  --surface: #161c22;
  --surface-2: #1c242c;
  --line: #2b3641;
  --line-soft: #232d37;
  --mist: #8f9aa6;
  --text: #c8cfd6;
  --text-dim: #7d8791;
  --wood: #a97d4e;
  --wood-deep: #6f4f2d;
  --paper: #e7e0d2;
  --paper-dim: #b9b1a1;
  --warm-glow: rgba(169, 125, 78, 0.16);
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, #12171c 0%, #0f1418 38%, #0d1116 100%);
  color: var(--text);
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, dt, figure, ol, ul {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--paper);
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 17, 22, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 18px;
}
a[data-contract="site-name"] {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 2px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
a.runtime-category:hover {
  color: var(--paper);
  border-color: var(--line);
  background: var(--surface);
}
.movie-detail {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 18px 40px;
}
.hero-slice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  grid-template-areas:
    "stage stage"
    "body body"
    "player player";
  gap: 20px 26px;
}
.hero-stage {
  grid-area: stage;
  position: relative;
  padding: 26px 0 30px 20px;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(120% 150% at 0% 30%, var(--warm-glow) 0%, rgba(169, 125, 78, 0) 62%),
    linear-gradient(100deg, #191f26 0%, #12171c 70%);
}
.hero-overline {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.42em;
  color: var(--wood);
  margin-bottom: 14px;
}
.movie-title {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(28px, 5.2vw, 52px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.02em;
  color: #eef1f4;
  margin-bottom: 12px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}
.movie-tagline {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--wood);
  margin-bottom: 14px;
}
.movie-seo {
  max-width: 62ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}
.hero-body {
  grid-area: body;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
}
.poster-frame {
  align-self: start;
  border: 1px solid var(--line);
  background: var(--surface);
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}
.overview-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--wood);
  background: var(--surface);
}
.status-label {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text-dim);
}
.status-value {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.block-heading, .section-heading {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 600;
  color: #e4e9ee;
}
.block-heading {
  font-size: 13px;
  letter-spacing: 0.26em;
  padding-bottom: 7px;
  margin-bottom: 11px;
  border-bottom: 1px solid var(--line);
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.cast-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 66px;
  padding: 26px 8px 7px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, #1e262e 0%, #171e25 100%);
  overflow: hidden;
}
.cast-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(169, 125, 78, 0.14) 0%, rgba(169, 125, 78, 0) 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 7px);
  pointer-events: none;
}
.cast-name {
  position: relative;
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block .synopsis-line {
  font-size: 13px;
  line-height: 1.72;
  color: var(--text-dim);
  margin-bottom: 9px;
  text-align: justify;
}
.synopsis-line:last-child {
  margin-bottom: 0;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line-soft);
}
.detail-row dt {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  white-space: nowrap;
}
.detail-row dd {
  font-size: 12px;
  color: var(--text);
  text-align: right;
}
.player-shell {
  grid-area: player;
  position: relative;
  border: 1px solid var(--line);
  background: #0b0e12;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.player-btn {
  padding: 4px 10px;
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  cursor: pointer;
  white-space: nowrap;
}
.player-btn:hover {
  color: var(--paper);
  border-color: var(--wood-deep);
  background: #232c35;
}
.player-progress {
  flex: 1 1 180px;
  min-width: 120px;
  height: 4px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--wood) 0%, var(--wood) 0%, #2a333d 0%);
  border: 1px solid var(--line);
  cursor: pointer;
}
.player-volume {
  flex: 0 1 92px;
  min-width: 72px;
  height: 4px;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: #2a333d;
  border: 1px solid var(--line);
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 12px;
  background: var(--paper);
  border: 1px solid var(--wood-deep);
  border-radius: 0;
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 8px;
  height: 12px;
  background: var(--paper);
  border: 1px solid var(--wood-deep);
  border-radius: 0;
}
.player-shell.is-theater {
  border-color: var(--wood-deep);
  box-shadow: 0 0 0 1px rgba(169, 125, 78, 0.28);
}
.player-shell.lights-off {
  background: #000;
}
.player-shell.lights-off .player-controls {
  background: #05070a;
  border-top-color: #1a222a;
}
.player-shell.lights-off .player-btn {
  color: var(--text-dim);
  background: #0a0d11;
}
.section-heading {
  font-size: 15px;
  letter-spacing: 0.22em;
  padding-bottom: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: #e4e9ee;
}
.timeline-section {
  margin-top: 34px;
}
.timeline-list {
  position: relative;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 0 0 16px 0;
}
.timeline-node:last-child {
  padding-bottom: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 6px;
  width: 7px;
  height: 7px;
  background: var(--wood);
  border: 1px solid var(--wood-deep);
}
.timeline-node:last-child::before {
  background: var(--paper);
}
.node-timecode {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--wood);
  padding-top: 1px;
  white-space: nowrap;
}
.node-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  max-width: 78ch;
}
.episodes-section {
  margin-top: 34px;
}
.episode-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.episode-strip::-webkit-scrollbar {
  height: 6px;
}
.episode-strip::-webkit-scrollbar-track {
  background: #141a20;
}
.episode-strip::-webkit-scrollbar-thumb {
  background: #2f3a45;
}
.episode-card {
  flex: 0 0 auto;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 11px 11px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--line);
  background: var(--surface);
  scroll-snap-align: start;
  cursor: pointer;
}
.episode-card.is-current {
  width: 188px;
  min-height: 148px;
  border-top-color: var(--wood);
  background: var(--surface-2);
}
.episode-number {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--wood);
}
.episode-card.is-current .episode-number {
  color: var(--paper);
  font-size: 12px;
}
.episode-title {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #e4e9ee;
}
.episode-summary {
  flex: 1 1 auto;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
}
.episode-duration {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  padding-top: 6px;
  border-top: 1px solid var(--line-soft);
}
.comments-section {
  margin-top: 34px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  align-items: start;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.comment-list-long {
  margin-top: 22px;
}
.comment-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  grid-template-areas:
    "avatar nick"
    "avatar text";
  gap: 3px 10px;
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--line);
  background: var(--surface);
}
.comment-item:hover {
  border-left-color: var(--wood);
}
.comment-avatar {
  grid-area: avatar;
  width: 26px;
  height: 26px;
  background:
    linear-gradient(140deg, #3a4551 0%, #232c35 100%);
  border: 1px solid var(--line);
}
.comment-nickname {
  grid-area: nick;
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--wood);
}
.comment-text {
  grid-area: text;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text);
}
.recommend-region {
  margin-top: 34px;
}
.recommend-region .section-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 16px;
}
.recommend-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-areas:
    "img name"
    "img blurb";
  gap: 3px 10px;
  align-items: start;
  padding: 7px 8px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a[data-runtime="recommendation"]:hover {
  border-color: var(--wood-deep);
  background: var(--surface-2);
}
a[data-runtime="recommendation"] img {
  grid-area: img;
  width: 100%;
  height: 84px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  filter: saturate(0.8);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  grid-area: name;
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--paper);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  grid-area: blurb;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  background: #0b0f13;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  max-width: 90ch;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--text-dim);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--paper-dim);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--paper);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-family: "Heiti SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--wood);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--paper);
  text-decoration: underline;
}
.player .play, .player .mute, .player .volume, .player .speed, .player .pip, .player .fullscreen, .player .theater, .player .light, .player .progress, .player .timeupdate, .player .input, .player .click {
  outline: none;
}
.player-btn.play, .player-btn.mute, .player-btn.speed, .player-btn.pip, .player-btn.fullscreen, .player-btn.theater, .player-btn.light {
  border-color: var(--wood-deep);
  color: var(--paper);
}
.player-shell.is-theater video {
  max-height: 72vh;
  background: #000;
}
.player-shell.lights-off::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 50% 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}
@media (max-width: 980px) {.hero-slice {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
  }
.hero-body {
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
  }
.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.movie-detail {
    padding: 16px 14px 32px;
  }
.header-bar {
    padding: 8px 14px;
    gap: 12px;
  }
.hero-slice {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "stage"
      "body"
      "player";
    gap: 16px;
  }
.hero-stage {
    padding: 20px 0 22px 14px;
  }
.hero-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.poster-frame {
    max-width: 190px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-list-long {
    margin-top: 0;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 6px;
    padding: 8px;
  }
.player-progress {
    flex: 1 1 100%;
    order: -1;
  }}
@media (max-width: 520px) {.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.movie-title {
    font-size: 30px;
  }
.hero-overline {
    letter-spacing: 0.3em;
  }
.episode-card {
    width: 150px;
  }
.episode-card.is-current {
    width: 168px;
  }
.footer-inner {
    padding: 16px 14px 22px;
  }}

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}
