*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, ol, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input, a { font: inherit; color: inherit; }
:root {
  --paper: #d8cfc0;
  --paper-deep: #c9bfae;
  --paper-light: #e6ddcd;
  --ink: #211c17;
  --ink-soft: #3a322a;
  --ink-fade: #6d6154;
  --amber: #c89a4e;
  --amber-bright: #e0b56a;
  --amber-dim: #8a6a34;
  --dark: #171310;
  --dark-2: #221c17;
  --line: rgba(33, 28, 23, 0.28);
  --line-light: rgba(216, 207, 192, 0.22);
  --serif: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
body {
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(200, 154, 78, 0.16), transparent 55%),
    radial-gradient(90% 70% at 12% 30%, rgba(200, 154, 78, 0.07), transparent 60%),
    linear-gradient(160deg, #2a231d 0%, #171310 48%, #100d0b 100%);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
body.lights-off {
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(200, 154, 78, 0.05), transparent 55%),
    linear-gradient(160deg, #0d0b09 0%, #070605 60%, #050404 100%);
}
body.lights-off .movie-overview, body.lights-off .timeline-block, body.lights-off .episodes-block, body.lights-off .recommend-region, body.lights-off .comments-block {
  filter: brightness(0.72);
  transition: filter 0.4s ease;
}
a { text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 9px clamp(12px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(23, 19, 16, 0.97), rgba(23, 19, 16, 0.86));
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(6px);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--amber-dim) 0 6px, transparent 6px 14px);
  opacity: 0.5;
}
.header-brand { display: flex; align-items: center; gap: 10px; }
a[data-contract="site-name"].site-name {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.16em;
  color: var(--paper-light);
  text-decoration: none;
  padding-left: 12px;
  border-left: 3px solid var(--amber);
  text-shadow: 0 0 14px rgba(200, 154, 78, 0.35);
}
a[data-contract="site-name"].site-name:hover { color: var(--amber-bright); }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 7px;
  max-width: 100%;
}
a.runtime-category {
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper-light), var(--paper-deep));
  border: 1px solid rgba(33, 28, 23, 0.4);
  padding: 3px 11px;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%);
}
a.runtime-category:hover {
  background: linear-gradient(180deg, var(--amber-bright), var(--amber));
  border-color: var(--amber-dim);
}
a.runtime-category:active { color: var(--paper-light); }
.page-main {
  display: block;
  padding: 0 clamp(12px, 4vw, 44px) clamp(30px, 5vw, 56px);
  max-width: 1320px;
  margin: 0 auto;
}
.movie-overview {
  display: block;
}
.overview-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(14px, 3vw, 40px);
  align-items: start;
  padding: clamp(20px, 4vw, 46px) 0 clamp(16px, 3vw, 30px);
  position: relative;
}
.poster-wrap {
  position: relative;
  align-self: start;
  border: 1px solid var(--line-light);
  background: var(--dark-2);
  padding: 7px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.poster-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(200, 154, 78, 0.28), transparent 42%);
  mix-blend-mode: screen;
}
.poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) sepia(0.14);
}
.overview-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 4px;
  min-width: 0;
}
.movie-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 4.2vw, 46px);
  line-height: 1.16;
  letter-spacing: 0.04em;
  color: var(--paper-light);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 0 26px rgba(200, 154, 78, 0.24);
}
.movie-tagline {
  font-family: var(--serif);
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.22em;
  color: var(--amber-bright);
  padding: 4px 0 4px 14px;
  border-left: 2px solid var(--amber-dim);
}
.movie-seo {
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(216, 207, 192, 0.72);
  max-width: 62ch;
  padding-top: 6px;
  border-top: 1px solid rgba(216, 207, 192, 0.14);
}
.player-shell {
  position: relative;
  width: 100%;
  margin: 0 0 clamp(14px, 2.4vw, 24px);
  background: #0b0907;
  border: 1px solid var(--line-light);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.6);
}
.player-shell.is-theater {
  border-color: var(--amber-dim);
  box-shadow: 0 0 0 1px rgba(200, 154, 78, 0.4), 0 26px 60px rgba(0, 0, 0, 0.7);
}
.player-shell video {
  display: block;
  background: #000;
  filter: saturate(0.82) contrast(1.04);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(34, 28, 23, 0.96), rgba(15, 12, 10, 0.98));
  border-top: 1px solid var(--line-light);
}
.player-btn {
  appearance: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--paper);
  background: rgba(216, 207, 192, 0.07);
  border: 1px solid rgba(216, 207, 192, 0.26);
  padding: 4px 10px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.player-btn:hover {
  background: rgba(200, 154, 78, 0.24);
  border-color: var(--amber);
  color: var(--paper-light);
}
.player-btn.is-active, .player-btn.light, .player-btn.play {
  background: rgba(200, 154, 78, 0.22);
  border-color: var(--amber-dim);
  color: var(--amber-bright);
}
.player-btn-light:hover { background: rgba(200, 154, 78, 0.34); }
.player-range {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  cursor: pointer;
  background: rgba(216, 207, 192, 0.2);
  border: none;
  outline: none;
}
.player-range-progress {
  flex: 1 1 160px;
  min-width: 90px;
}
.player-range-volume {
  flex: 0 1 90px;
  min-width: 60px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber-bright);
  border: 1px solid #4a3616;
  box-shadow: 0 0 8px rgba(224, 181, 106, 0.6);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber-bright);
  border: 1px solid #4a3616;
}
.player-range::-moz-range-track {
  height: 4px;
  background: rgba(216, 207, 192, 0.2);
}
.episode-status {
  display: flex;
  justify-content: flex-end;
  margin-bottom: clamp(14px, 2.4vw, 24px);
}
.status-line {
  font-family: var(--serif);
  font-size: 13.5px;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: linear-gradient(180deg, var(--amber-bright), var(--amber));
  padding: 4px 16px 4px 12px;
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
  border: 1px solid var(--amber-dim);
}
.section-heading {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 21px);
  letter-spacing: 0.18em;
  color: var(--paper-light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(200, 154, 78, 0.34);
  position: relative;
}
.section-heading::before {
  content: "";
  width: 5px;
  height: 1em;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(200, 154, 78, 0.6);
}
.cast-block {
  margin-bottom: clamp(18px, 2.8vw, 30px);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 13px 5px 5px;
  background: rgba(216, 207, 192, 0.05);
  border: 1px solid rgba(216, 207, 192, 0.18);
  flex: 0 0 auto;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.cast-card:hover {
  border-color: var(--amber-dim);
  background: rgba(200, 154, 78, 0.1);
}
.cast-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(224, 181, 106, 0.85), rgba(138, 106, 52, 0.35) 62%, rgba(23, 19, 16, 0.9));
  border: 1px solid rgba(200, 154, 78, 0.5);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6);
}
.cast-name {
  font-family: var(--serif);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: rgba(216, 207, 192, 0.9);
  white-space: nowrap;
}
.synopsis-block {
  margin-bottom: clamp(18px, 2.8vw, 30px);
  padding: clamp(12px, 2vw, 20px) clamp(12px, 2vw, 24px);
  background: linear-gradient(180deg, rgba(216, 207, 192, 0.055), rgba(216, 207, 192, 0.02));
  border: 1px solid rgba(216, 207, 192, 0.14);
  border-left: 2px solid var(--amber-dim);
}
.synopsis-para {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(216, 207, 192, 0.82);
  max-width: 74ch;
}
.synopsis-para + .synopsis-para { margin-top: 9px; }
.details-block {
  margin-bottom: clamp(18px, 2.8vw, 30px);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(216, 207, 192, 0.14);
  border: 1px solid rgba(216, 207, 192, 0.14);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 6px 11px;
  background: #1d1814;
  min-width: 0;
}
.detail-key {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--amber-dim);
  flex: 0 0 auto;
  white-space: nowrap;
}
.detail-value {
  font-size: 13px;
  color: rgba(216, 207, 192, 0.84);
  min-width: 0;
}
.timeline-block {
  margin-bottom: clamp(20px, 3vw, 34px);
  padding-top: clamp(10px, 2vw, 18px);
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 0;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 62px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(200, 154, 78, 0.55), rgba(200, 154, 78, 0.1));
}
.timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  align-items: start;
  padding: 7px 0;
  position: relative;
  color: rgba(216, 207, 192, 0.34);
  transition: color 0.4s ease;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 58px;
  top: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a231d;
  border: 1px solid rgba(200, 154, 78, 0.5);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.timeline-item.is-active {
  color: var(--paper-light);
}
.timeline-item.is-active::before {
  background: var(--amber-bright);
  border-color: var(--amber-bright);
  box-shadow: 0 0 12px rgba(224, 181, 106, 0.8);
}
.timeline-timecode {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(200, 154, 78, 0.55);
  padding-top: 1px;
  transition: color 0.4s ease;
  white-space: nowrap;
}
.timeline-item.is-active .timeline-timecode { color: var(--amber-bright); }
.timeline-label {
  font-size: 13.5px;
  line-height: 1.6;
  transition: text-shadow 0.4s ease;
}
.timeline-item.is-active .timeline-label {
  text-shadow: 0 0 16px rgba(224, 181, 106, 0.28);
}
.episodes-block {
  margin-bottom: clamp(20px, 3vw, 34px);
}
.episodes-meta {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: rgba(216, 207, 192, 0.5);
  margin-bottom: 11px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(216, 207, 192, 0.14);
  border: 1px solid rgba(216, 207, 192, 0.14);
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 13px;
  background: #1d1814;
  min-width: 0;
  transition: background 0.18s ease;
}
.episode-card:hover { background: #241d17; }
.episode-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--paper-light);
  line-height: 1.4;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(216, 207, 192, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--amber-dim);
  border-top: 1px solid rgba(216, 207, 192, 0.12);
  padding-top: 4px;
  margin-top: auto;
}
.recommend-region {
  margin-bottom: clamp(20px, 3vw, 32px);
  padding-top: clamp(8px, 1.6vw, 14px);
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  color: var(--paper);
  background: #1d1814;
  border: 1px solid rgba(216, 207, 192, 0.16);
  padding: 6px;
  min-width: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
a.recommend-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}
a.recommend-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05) sepia(0.1);
  background: #0f0c0a;
}
a.recommend-card [data-runtime="name"] {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--paper-light);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
a.recommend-card [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(216, 207, 192, 0.52);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.comments-block {
  margin-bottom: clamp(14px, 2.4vw, 24px);
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 14px;
  background: rgba(216, 207, 192, 0.05);
  border: 1px solid rgba(216, 207, 192, 0.14);
  border-left: 2px solid rgba(200, 154, 78, 0.4);
  margin-left: 0;
  min-width: 0;
}
.comment-item:nth-child(even) { margin-left: 22px; }
.comment-item:nth-child(3n) { margin-left: 11px; }
.comment-nickname {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--amber-bright);
}
.comment-text {
  font-size: 13px;
  line-height: 1.72;
  color: rgba(216, 207, 192, 0.78);
  max-width: 88ch;
}
.site-footer {
  border-top: 1px solid var(--line-light);
  padding: clamp(16px, 3vw, 26px) clamp(12px, 4vw, 44px) clamp(20px, 3.4vw, 32px);
  background: linear-gradient(180deg, rgba(10, 8, 7, 0.6), rgba(6, 5, 4, 0.95));
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(216, 207, 192, 0.42);
  max-width: 88ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"], .footer-link {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--amber-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 154, 78, 0.35);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover, .footer-link:hover {
  color: var(--amber-bright);
  border-bottom-color: var(--amber-bright);
}
a[data-contract="footer-sitemap"] { color: rgba(200, 154, 78, 0.62); }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 4px;
  border-top: 1px dashed rgba(216, 207, 192, 0.12);
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(216, 207, 192, 0.4);
  padding-right: 6px;
  border-right: 1px solid rgba(216, 207, 192, 0.2);
}
a.runtime-friend-link {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(216, 207, 192, 0.56);
  text-decoration: underline;
  text-decoration-color: rgba(200, 154, 78, 0.35);
  text-underline-offset: 3px;
}
a.runtime-friend-link:hover {
  color: var(--amber-bright);
  text-decoration-color: var(--amber-bright);
}
@media (max-width: 900px) {.overview-lead {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.poster-wrap {
    max-width: 260px;
  }
.movie-seo { max-width: none; }}
@media (max-width: 720px) {body { font-size: 14.5px; }
.site-header { padding: 8px 12px; }
a[data-contract="site-name"].site-name { font-size: 17px; }
.page-main { padding: 0 12px 32px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.timeline-list::before { left: 52px; }
.timeline-item { grid-template-columns: 42px 1fr; gap: 18px; }
.timeline-item::before { left: 48px; }
.comment-item:nth-child(even), .comment-item:nth-child(3n) { margin-left: 0; }
.player-btn { font-size: 11.5px; padding: 4px 8px; }}
@media (max-width: 520px) {.poster-wrap { max-width: 100%; }
.movie-title { letter-spacing: 0.02em; }
.recommend-row { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.player-range-volume { flex: 1 1 100%; }
.status-line { width: 100%; text-align: center; justify-content: center; }
.episode-status { justify-content: stretch; }
.timeline-list::before { left: 46px; }
.timeline-item { grid-template-columns: 38px 1fr; gap: 16px; }
.timeline-item::before { left: 42px; }}
@media (max-width: 400px) {.recommend-row { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.cast-list { gap: 6px; }
.cast-card { padding: 4px 9px 4px 4px; }
.cast-avatar { width: 26px; height: 26px; }}

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}
