*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, dl, dt, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:root {
  --amber: #b98a4e;
  --amber-deep: #8a6134;
  --amber-pale: #d9bd93;
  --slate: #4a5763;
  --slate-deep: #2c3742;
  --slate-pale: #7d8a95;
  --paper: #f4efe6;
  --paper-dim: #e8e0d2;
  --ink: #23282e;
  --line: rgba(74, 87, 99, 0.28);
  --hair: rgba(74, 87, 99, 0.16);
  --serif: "Songti SC", "SimSun", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 15px;
  letter-spacing: 0.01em;
}
a { text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 239, 230, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(4px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 20px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--slate-deep);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: var(--amber-deep); }
.category-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--slate);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  padding: 3px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--paper);
  background: var(--slate-deep);
  border-color: var(--slate-deep);
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-heading {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--slate-deep);
  padding-bottom: 6px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hair);
}
.movie-overview {
  padding: 20px 0 4px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 22px;
  align-items: start;
}
.hero-poster-col {
  grid-column: 1;
  align-self: start;
}
.poster-frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper-dim);
  padding: 5px;
  max-width: 260px;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(185, 138, 78, 0.35);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}
.hero-stage {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.hero-side {
  border-left: 2px solid var(--amber);
  padding: 2px 0 4px 16px;
}
.movie-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--slate-deep);
}
.movie-tagline {
  margin-top: 7px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--amber-deep);
}
.movie-seo {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--slate);
  max-width: 62ch;
}
.movie-overview > .episode-status, .movie-overview > .cast-section, .movie-overview > .synopsis-section, .movie-overview > .details-section {
  margin-top: 22px;
  padding-top: 4px;
  border-top: 1px solid var(--hair);
}
.hero-player {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.player-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #10151a;
  border: 1px solid var(--slate-deep);
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #10151a;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: var(--slate-deep);
  border: 1px solid var(--slate-deep);
  border-top: none;
}
.player-btn {
  appearance: none;
  border: 1px solid rgba(232, 224, 210, 0.28);
  background: transparent;
  color: var(--paper-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.player-btn:hover { border-color: var(--amber-pale); color: #fff; }
.player-btn.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: #17202a;
}
.player-btn:focus-visible { outline: 2px solid var(--amber-pale); outline-offset: 1px; }
.player-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 4px;
  appearance: none;
  background: rgba(232, 224, 210, 0.22);
  border-radius: 2px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: none;
}
.player-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--amber);
}
.player-volume {
  flex: 0 1 90px;
  min-width: 64px;
  height: 4px;
  appearance: none;
  background: rgba(232, 224, 210, 0.22);
  border-radius: 2px;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--slate-pale);
  border: none;
}
.player-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--slate-pale);
}
.player-shell.play { border-color: var(--amber); }
.player-shell.mute .player-volume { opacity: 0.4; }
.player-shell.fullscreen { border-color: var(--amber-pale); }
.player-shell.theater { box-shadow: 0 0 0 3px rgba(185, 138, 78, 0.25); }
.player-shell.light { background: #1a222a; }
.player-shell.pip { border-style: dashed; }
.player-shell.speed { border-color: var(--slate-pale); }
.player-shell.progress { border-color: var(--slate-pale); }
.player-shell.timeupdate { border-color: var(--slate-pale); }
.player-shell.volume { border-color: var(--slate-pale); }
.player-shell.input { border-color: var(--slate-pale); }
.player-shell.click { border-color: var(--amber-pale); }
.player-shell.player { background: #10151a; }
.movie-overview.is-theater .hero {
  grid-template-columns: minmax(0, 1fr);
}
.movie-overview.is-theater .hero-poster-col { display: none; }
.movie-overview.is-theater .hero-stage { grid-column: 1; }
.movie-overview.is-lights-dim .hero-side { opacity: 0.4; }
.movie-overview.is-lights-dim .player-shell { box-shadow: 0 0 0 1px var(--amber); }
.movie-overview.is-lights-dim .synopsis-body { opacity: 0.5; }
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-chip {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  padding: 3px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--slate);
  white-space: nowrap;
}
.status-current {
  background: var(--amber);
  border-color: var(--amber);
  color: #1b2129;
}
.status-total {
  background: transparent;
  border-color: var(--slate-pale);
  color: var(--slate-deep);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.cast-card {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 0 16px 6px;
  border-left: 1px solid var(--hair);
}
.cast-card:first-child { border-left: none; padding-left: 0; }
.cast-portrait {
  width: 88px;
  height: 88px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-dim);
}
.cast-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.03);
  transition: filter 0.2s ease;
}
.cast-card:hover .cast-portrait img { filter: saturate(1) contrast(1.05); }
.cast-name {
  font-family: var(--serif);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--slate-deep);
  white-space: nowrap;
  text-align: center;
}
.synopsis-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 26px;
  align-items: start;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--slate);
  text-align: justify;
  padding-left: 12px;
  border-left: 1px solid var(--hair);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dotted var(--line);
}
.detail-key {
  flex: 0 0 auto;
  min-width: 4.6em;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--slate-pale);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  color: var(--slate-deep);
}
.timeline-section {
  margin-top: 30px;
}
.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(185, 138, 78, 0.05), transparent 40%, rgba(74, 87, 99, 0.05));
  scrollbar-width: thin;
}
.timeline-scroll::-webkit-scrollbar { height: 6px; }
.timeline-scroll::-webkit-scrollbar-thumb { background: var(--amber-pale); }
.timeline-scroll::-webkit-scrollbar-track { background: var(--hair); }
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 18px 4px 10px;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 23px;
  height: 1px;
  background: var(--line);
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 176px;
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.timeline-dot {
  position: relative;
  z-index: 1;
  width: 9px;
  height: 9px;
  margin-top: 0;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--slate-pale);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.timeline-timecode {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--slate-pale);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--slate);
}
.timeline-node:hover .timeline-dot { border-color: var(--amber); }
.timeline-node.is-active .timeline-dot {
  background: var(--amber);
  border-color: var(--amber-deep);
  transform: scale(1.25);
}
.timeline-node.is-active .timeline-timecode { color: var(--amber-deep); }
.timeline-node.is-active .timeline-label { color: var(--slate-deep); }
.timeline-node-current .timeline-dot {
  background: var(--slate-deep);
  border-color: var(--slate-deep);
  transform: scale(1.3);
}
.timeline-node-current .timeline-timecode {
  color: var(--slate-deep);
  font-weight: 600;
}
.timeline-node-current .timeline-label {
  color: var(--slate-deep);
  font-weight: 400;
}
.timeline-node-current .timeline-label::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin-bottom: 5px;
  background: var(--amber);
}
.episodes-section {
  margin-top: 30px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.episode-cell {
  background: var(--paper);
  padding: 11px 13px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.episode-cell:hover { background: #f9f5ee; }
.episode-cell.is-active {
  background: #f2e9da;
  border-left-color: var(--amber);
}
.episode-number {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--amber-deep);
}
.episode-title {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--slate-deep);
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--slate);
}
.episode-duration {
  margin-top: auto;
  padding-top: 6px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--slate-pale);
}
.comments-section {
  margin-top: 30px;
}
.comments-masonry {
  columns: 2;
  column-gap: 26px;
}
.comment-item {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  display: block;
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--hair);
}
.comment-nickname {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--amber-deep);
  margin-bottom: 4px;
}
.comment-nickname::before {
  content: "—";
  margin-right: 6px;
  color: var(--slate-pale);
}
.comment-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--slate-deep);
}
.recommend-region {
  margin-top: 26px;
}
.recommend-title {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--slate-deep);
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.recommend-column {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--slate-deep);
  text-decoration: none;
  border-top: 2px solid var(--amber-pale);
  padding-top: 7px;
  transition: border-color 0.18s ease;
}
a.recommend-item:hover { border-top-color: var(--amber-deep); }
a.recommend-item:hover [data-runtime="name"] { color: var(--amber-deep); }
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--paper-dim);
  filter: saturate(0.75) contrast(1.02);
  transition: filter 0.2s ease;
}
[data-runtime="recommendation"]:hover img { filter: saturate(1) contrast(1.05); }
[data-runtime="name"] {
  font-family: var(--serif);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
[data-runtime="blurb"] {
  font-size: 12px;
  line-height: 1.7;
  color: var(--slate-pale);
}
.site-footer {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  background: var(--slate-deep);
  color: var(--paper-dim);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(232, 224, 210, 0.62);
  max-width: 82ch;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--amber-pale);
  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: #fff;
  border-bottom-color: var(--amber);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(232, 224, 210, 0.16);
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(232, 224, 210, 0.5);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: rgba(232, 224, 210, 0.78);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid rgba(232, 224, 210, 0.2);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: #fff;
  border-color: var(--amber);
}
@media (max-width: 980px) {.hero {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 18px;
  }
.movie-title { font-size: 26px; }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episodes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-column { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 760px) {body { font-size: 14.5px; }
.page-main { padding: 0 14px; }
.header-inner { padding: 8px 14px; gap: 10px; }
.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.hero-poster-col {
    grid-column: 1;
    max-width: 200px;
  }
.poster-frame { max-width: 200px; }
.hero-stage { grid-column: 1; }
.movie-title { font-size: 23px; }
.movie-seo { font-size: 13px; }
.synopsis-body { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.episodes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-masonry { columns: 1; }
.recommend-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-card { padding: 0 10px 6px; }
.cast-portrait { width: 72px; height: 72px; }
.timeline-node { width: 152px; padding: 0 10px; }}
@media (max-width: 480px) {.header-inner { gap: 8px; }
a[data-contract="site-name"] { font-size: 17px; letter-spacing: 0.1em; }
.movie-title { font-size: 20px; }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.recommend-column { grid-template-columns: minmax(0, 1fr); }
.cast-portrait { width: 62px; height: 62px; }
.cast-name { font-size: 12.5px; }
.player-controls { gap: 5px; padding: 6px; }
.player-btn { padding: 3px 8px; font-size: 11.5px; }
.player-progress { flex: 1 1 100%; min-width: 0; order: -1; }
.footer-inner { padding: 16px 14px 20px; }}

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}
