*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ol, ul, dl, dd {
  margin: 0;
  padding: 0;
}
ol, ul { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:root {
  --ink: #2c211a;
  --ink-soft: #5a4a3c;
  --ink-faint: #8a7663;
  --paper: #f3ece0;
  --paper-warm: #efe6d6;
  --tea: #ead9c3;
  --tea-deep: #e2cdb2;
  --line: #c9b69c;
  --line-soft: #d8c8b1;
  --gold: #b08d4f;
  --gold-bright: #d9b877;
  --night: #17110d;
  --night-2: #241a14;
  --crimson: #8e2f2a;
  --crimson-deep: #5f1d1a;
  --serif: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "Noto Sans CJK SC", sans-serif;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
.site-header {
  background: var(--night);
  border-bottom: 1px solid #3a2a1f;
  position: relative;
  z-index: 5;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 9px 18px;
  max-width: 1440px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.32em;
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 700;
  padding-right: 2px;
}
a[data-contract="site-name"]:hover { color: #f0d9a4; }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: #cbb48d;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 3px 10px;
  border: 1px solid #4a382a;
  background: #1e1611;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
a.runtime-category:hover {
  color: #f2ddb2;
  border-color: var(--gold);
  background: #2a1e16;
}
.page-main {
  display: block;
  padding: 0;
  max-width: 1440px;
  margin: 0 auto;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.hero-media {
  position: relative;
  background: var(--night);
  overflow: hidden;
  align-self: start;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.78) brightness(0.9) contrast(1.04);
}
.hero-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 72% 12%, rgba(214, 138, 92, 0.34) 0%, rgba(120, 50, 30, 0.12) 42%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, rgba(20, 11, 7, 0.62) 0%, rgba(20, 11, 7, 0.18) 34%, rgba(20, 11, 7, 0.55) 78%, rgba(12, 7, 4, 0.86) 100%);
}
.hero-vertical-tagline {
  position: absolute;
  top: 8%;
  right: 6%;
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.28;
  letter-spacing: 0.34em;
  color: var(--gold-bright);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7), 0 0 18px rgba(190, 120, 60, 0.45);
  padding: 12px 6px;
  border-left: 1px solid rgba(217, 184, 119, 0.45);
  border-right: 1px solid rgba(217, 184, 119, 0.22);
}
.hero-info {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.movie-tagline {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--crimson);
  margin-top: -4px;
}
.movie-tagline::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--crimson);
  vertical-align: middle;
  margin-right: 8px;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #0e0a08;
  border: 1px solid #3d2c20;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.player-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: #1b1310;
  border-top: 1px solid #3d2c20;
}
.control-button {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #d8c3a0;
  background: #241a14;
  border: 1px solid #4a382a;
  padding: 3px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.control-button:hover {
  color: #f4e2bd;
  border-color: var(--gold);
  background: #2e211a;
}
.control-button.is-active, .control-button.is-playing, .control-button.is-muted {
  color: #f6e3b8;
  border-color: var(--gold);
  background: #3a2a1c;
}
.control-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: #4a382a;
  cursor: pointer;
  border: none;
}
.control-progress { flex: 1 1 120px; min-width: 80px; }
.control-volume { flex: 0 1 84px; min-width: 56px; }
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  background: var(--gold-bright);
  border: 1px solid #2b1d13;
  cursor: pointer;
}
.control-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--gold-bright);
  border: 1px solid #2b1d13;
  border-radius: 0;
  cursor: pointer;
}
.cast-block, .synopsis-block, .episode-status-block, .details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.block-heading {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--ink);
  margin-bottom: 8px;
  position: relative;
  padding-left: 10px;
}
.block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 2px;
  background: var(--crimson);
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-warm);
  padding: 7px 8px;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 55% at 50% 38%, #c8a377 0%, #a97f52 55%, #7d5a38 100%),
    #a97f52;
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 240, 215, 0.28) 0%, rgba(60, 34, 18, 0.42) 100%);
}
.cast-name {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink);
  flex: 0 0 auto;
}
.cast-role {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  color: var(--ink-faint);
  flex: 1 1 auto;
  min-width: 0;
}
.synopsis-text {
  font-size: 13px;
  line-height: 1.62;
  color: var(--ink-soft);
  text-indent: 2em;
  margin-bottom: 6px;
}
.synopsis-text:last-child { margin-bottom: 0; }
.episode-status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.status-item {
  flex: 1 1 90px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  background: var(--paper-warm);
  padding: 6px 9px;
  min-width: 0;
}
.status-key {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  flex: 0 0 auto;
}
.status-value {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--crimson);
  flex: 1 1 auto;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: var(--paper-warm);
  padding: 5px 9px;
  min-width: 0;
}
.detail-key {
  flex: 0 0 4.6em;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: var(--ink);
  min-width: 0;
}
.section-heading {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--ink);
  padding: 12px 18px 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -1px;
  width: 44px;
  height: 2px;
  background: var(--crimson);
}
.timeline-section {
  padding: 14px 18px 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.timeline-section .section-heading { padding-left: 0; padding-right: 0; }
.timeline-section .section-heading::after { left: 0; }
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
  margin-top: 16px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 13px);
  z-index: 0;
}
.timeline-node {
  position: relative;
  z-index: 1;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-left: 3px solid var(--crimson);
  padding: 8px 11px 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.timeline-node-b {
  transform: translateY(20px);
  border-left-color: var(--gold);
  background: #f0e7d6;
}
.timeline-timecode {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--crimson);
}
.timeline-node-b .timeline-timecode { color: var(--gold); }
.timeline-label {
  font-size: 12.5px;
  line-height: 1.42;
  color: var(--ink-soft);
}
.episodes-section {
  padding: 14px 18px 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.episodes-section .section-heading { padding-left: 0; padding-right: 0; }
.episodes-section .section-heading::after { left: 0; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  align-items: start;
}
.episode-card {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  padding: 8px 10px 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  transition: border-color .16s ease, background .16s ease;
}
.episode-card:hover {
  border-color: var(--gold);
  background: #f4ecdc;
}
.episode-number {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--crimson);
}
.episode-title {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.44;
  color: var(--ink-faint);
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  border-top: 1px dashed var(--line-soft);
  padding-top: 4px;
  margin-top: 2px;
}
.comments-section {
  padding: 14px 18px 18px;
  background: var(--tea);
  border-bottom: 1px solid var(--line);
}
.comments-section .section-heading { padding-left: 0; padding-right: 0; }
.comments-section .section-heading::after { left: 0; }
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comments-long { padding-top: 22px; }
.comment-card {
  background: #f6efe2;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  padding: 8px 11px 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.comment-card-short {
  border-top-color: var(--crimson);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.56;
  color: var(--ink-soft);
}
.comment-nickname {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-align: right;
}
.comment-nickname::before { content: "— "; }
.recommend-region {
  padding: 12px 18px 16px;
  background: var(--tea);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.recommend-region-1 { background: var(--tea-deep); }
.recommend-region .section-heading { padding-left: 0; padding-right: 0; }
.recommend-region .section-heading::after { left: 0; }
.recommend-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 10px;
}
.recommend-item { min-width: 0; }
.recommend-link {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  row-gap: 2px;
  align-items: start;
  padding: 5px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .16s ease, background .16s ease;
}
.recommend-link:hover {
  border-color: var(--gold);
  background: rgba(255, 248, 235, 0.6);
}
.recommend-pic {
  grid-row: 1 / span 2;
  width: 62px;
  height: 88px;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.8) contrast(1.02);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  line-height: 1.35;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.42;
  color: var(--ink-faint);
}
.site-footer {
  background: var(--night-2);
  color: #b8a488;
  padding: 16px 18px 20px;
  border-top: 2px solid #3f2d1f;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-link {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-decoration: none;
  color: #d8c099;
}
a[data-contract="footer-home"] { color: #d8c099; text-decoration: none; }
a[data-contract="footer-home"]:hover { color: var(--gold-bright); }
a[data-contract="footer-sitemap"] { color: #bda57f; 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 10px;
  border-top: 1px solid #3a2a1f;
  padding-top: 9px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #7d6a52;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #9c876a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  border-bottom-color: #6b573c;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: #6f5e49;
  max-width: 900px;
}
.lights-off .hero-panel, .lights-off .player-shell { background: #000; }
.lights-off .hero-info { background: #0d0907; }
.lights-off .movie-title, .lights-off .block-heading { color: #e6d3ae; }
.lights-off .synopsis-text { color: #b6a288; }
.theater-mode .hero-panel {
  grid-template-columns: minmax(0, 1fr);
}
.theater-mode .hero-media { display: none; }
@media (max-width: 1100px) {.hero-panel { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); }
.cast-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 900px) {.hero-panel { grid-template-columns: minmax(0, 1fr); }
.hero-media { max-height: 62vh; }
.hero-poster { max-height: 62vh; object-fit: cover; }
.timeline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.timeline-list::before { display: none; }
.timeline-node-b { transform: none; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 720px) {.header-inner { padding: 8px 12px; }
.hero-info { padding: 12px 13px 16px; gap: 10px; }
.movie-title { font-size: 22px; }
.section-heading { font-size: 15px; padding: 10px 13px 7px; }
.section-heading::after { left: 13px; }
.timeline-section, .episodes-section, .comments-section, .recommend-region { padding: 12px 13px 15px; }
.comments-columns { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.comments-long { padding-top: 0; }
.cast-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.hero-vertical-tagline { font-size: 14px; letter-spacing: 0.26em; }
.site-footer { padding: 14px 13px 18px; }}
@media (max-width: 520px) {body { font-size: 13.5px; }
.control-button { font-size: 11px; padding: 3px 7px; }
.player-controls { gap: 5px; padding: 6px; }
.control-progress { flex: 1 1 100%; min-width: 100%; order: 5; }
.cast-row { grid-template-columns: minmax(0, 1fr); }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.timeline-list::before { display: none; }
.recommend-link { grid-template-columns: 54px minmax(0, 1fr); }
.recommend-pic { width: 54px; height: 78px; }
.movie-title { font-size: 20px; letter-spacing: 0.14em; }
.hero-vertical-tagline { font-size: 12.5px; top: 5%; right: 4%; }}

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}
