:root {
  --ink: #1a1d24;
  --ink-soft: #2b303a;
  --slate: #4a5260;
  --slate-dim: #6d7684;
  --mist: #aeb6c2;
  --paper: #e9e6df;
  --paper-dim: #d7d3ca;
  --warm: #23201c;
  --warm-soft: #3a342c;
  --gold: #b08d४3;
  --gold: #b08d43;
  --gold-dim: #8a6e34;
  --line: rgba(176, 141, 67, 0.28);
  --line-cool: rgba(120, 132, 150, 0.32);
  --serif: "Songti SC", "SimSun", "Noto Serif CJK SC", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, ol, ul, dl, dd {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 23, 28, 0.94);
  border-bottom: 1px solid var(--line-cool);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 18px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a[data-contract="site-name"]:hover {
  color: var(--paper);
  border-bottom-color: var(--gold);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  max-width: 100%;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mist);
  text-decoration: none;
  border: 1px solid var(--line-cool);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 40px;
}
.section-heading {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--gold);
  text-transform: none;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 0 26px;
  align-items: start;
  padding: 26px 0 8px;
  border-bottom: 1px solid var(--line-cool);
  margin-bottom: 22px;
}
.hero-media {
  position: relative;
  grid-row: 1 / span 4;
  width: 100%;
  max-width: 300px;
  margin: 0;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: grayscale(0.28) contrast(1.04) saturate(0.72);
  border: 1px solid var(--line-cool);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
}
.hero-seam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.seam-thread {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(176, 141, 67, 0.55) 18%,
    rgba(176, 141, 67, 0.85) 50%,
    rgba(176, 141, 67, 0.55) 82%,
    transparent 100%
  );
  transform: translateX(-50%);
}
.seam-shadow {
  position: absolute;
  top: 0;
  left: 50%;
  width: 34px;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(
    to right,
    rgba(10, 12, 16, 0) 0%,
    rgba(10, 12, 16, 0.55) 45%,
    rgba(10, 12, 16, 0.55) 55%,
    rgba(10, 12, 16, 0) 100%
  );
}
.hero-ledger {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}
.movie-title {
  font-family: var(--serif);
  font-size: clamp(26px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.05em;
  color: var(--paper);
}
.movie-tagline {
  font-family: var(--serif);
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: 0.3em;
  color: var(--mist);
  padding-left: 2px;
}
.hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.status-current, .status-total, .status-score {
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border: 1px solid var(--line-cool);
  color: var(--mist);
  white-space: nowrap;
}
.status-current {
  color: var(--gold);
  border-color: var(--gold-dim);
  background: rgba(176, 141, 67, 0.08);
}
.status-score {
  margin-left: auto;
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--paper-dim);
  letter-spacing: 0.14em;
  padding-left: 12px;
}
.cast-strip {
  grid-column: 2;
  margin-top: 6px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 68px;
  padding: 8px 4px 6px;
  border: 1px solid var(--line-cool);
  background: linear-gradient(180deg, rgba(43, 48, 58, 0.55), rgba(26, 29, 36, 0.2));
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cast-card:hover {
  border-color: var(--gold-dim);
}
.cast-avatar {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 34%, rgba(174, 182, 194, 0.5) 0 26%, transparent 27%),
    radial-gradient(circle at 50% 108%, rgba(174, 182, 194, 0.4) 0 52%, transparent 53%),
    linear-gradient(160deg, #39404c, #232830);
  border: 1px solid var(--line-cool);
  filter: grayscale(0.5);
}
.cast-name {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  text-align: center;
  white-space: nowrap;
}
.synopsis-block {
  grid-column: 2;
  margin-top: 16px;
}
.synopsis-text {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--mist);
  margin-bottom: 8px;
  text-align: justify;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.synopsis-text:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 2em;
  line-height: 1;
  float: left;
  margin: 3px 8px 0 0;
  color: var(--gold);
}
.details-block {
  grid-column: 2;
  margin-top: 18px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dotted var(--line-cool);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 4.6em;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--slate-dim);
}
.detail-val {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--paper-dim);
  text-align: right;
}
.player-shell {
  margin: 6px 0 26px;
  border: 1px solid var(--line-cool);
  background: #12151a;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.player-shell.is-theater {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 1px rgba(176, 141, 67, 0.2), 0 24px 60px -30px rgba(0, 0, 0, 1);
}
.player-shell.is-lights-dim {
  background: #0c0e12;
}
.player-shell.is-lights-dim .player-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 11, 0.42);
  pointer-events: none;
}
.player-frame {
  position: relative;
  width: 100%;
  line-height: 0;
}
.player-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0c10;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  border-top: 1px solid var(--line-cool);
  background: #16191f;
}
.ctrl-btn {
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
  border: 1px solid var(--line-cool);
  background: transparent;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.ctrl-btn:hover {
  color: var(--paper);
  border-color: var(--slate-dim);
}
.ctrl-btn.is-active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 4px;
  margin: 0 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, var(--gold-dim), rgba(120, 132, 150, 0.3));
  border: 0;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--paper);
  border: 1px solid var(--gold-dim);
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--paper);
  border: 1px solid var(--gold-dim);
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 0 92px;
  width: 92px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(120, 132, 150, 0.35);
  border: 0;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 12px;
  background: var(--mist);
  border: 1px solid var(--line-cool);
  cursor: pointer;
}
.ctrl-volume::-moz-range-thumb {
  width: 8px;
  height: 12px;
  background: var(--mist);
  border: 1px solid var(--line-cool);
  cursor: pointer;
}
.player-shell.is-muted .ctrl-volume {
  opacity: 0.45;
}
.player-shell.is-speed-shifted .ctrl-btn[data-player-action="speed"] {
  color: var(--gold);
  border-color: var(--gold-dim);
}
.timeline-block {
  margin-bottom: 28px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 30px;
  padding-left: 14px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 3px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--line-cool) 8%,
    var(--line-cool) 92%,
    transparent
  );
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 6px 8px 6px 14px;
  border-bottom: 1px solid rgba(120, 132, 150, 0.14);
  transition: background 0.2s ease;
}
.timeline-item:hover {
  background: rgba(176, 141, 67, 0.05);
}
.timeline-node {
  position: absolute;
  left: -14px;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--ink);
  border: 1px solid var(--gold-dim);
  transform: rotate(45deg);
}
.timeline-item:hover .timeline-node {
  background: var(--gold);
  border-color: var(--gold);
}
.timeline-timecode {
  flex: 0 0 auto;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
  white-space: nowrap;
}
.timeline-label {
  flex: 1 1 60%;
  min-width: 0;
  font-size: 12.5px;
  color: var(--mist);
}
.episodes-block {
  margin-bottom: 28px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(120, 132, 150, 0.22);
  border: 1px solid rgba(120, 132, 150, 0.22);
}
.episode-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  padding: 9px 10px;
  background: var(--ink);
  min-height: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.episode-card:hover {
  background: var(--warm);
}
.episode-number {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
  white-space: nowrap;
}
.episode-title {
  font-family: var(--serif);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--paper);
  white-space: nowrap;
}
.episode-duration {
  margin-left: auto;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--slate-dim);
  white-space: nowrap;
}
.episode-summary {
  flex: 1 1 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--mist);
  transition: max-height 0.32s ease, opacity 0.28s ease, margin-top 0.28s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 160px;
  opacity: 1;
  margin-top: 5px;
}
.comments-block {
  margin-bottom: 28px;
}
.comment-notes {
  columns: 2;
  column-gap: 26px;
}
.comment-note {
  break-inside: avoid;
  display: block;
  margin: 0 0 12px;
  padding: 10px 12px 11px;
  background: linear-gradient(150deg, rgba(58, 52, 44, 0.55), rgba(35, 32, 28, 0.35));
  border: 1px solid rgba(176, 141, 67, 0.16);
  border-left: 2px solid var(--gold-dim);
  transform: rotate(-0.5deg);
}
.comment-note:nth-child(2n) {
  transform: rotate(0.6deg);
  border-left-color: var(--line-cool);
}
.comment-note:nth-child(3n) {
  transform: rotate(-0.2deg);
}
.comment-nickname {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 5px;
}
.comment-nickname::before {
  content: "— ";
  color: var(--gold-dim);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--paper-dim);
}
.recommend-strip {
  margin-bottom: 24px;
}
.recommend-heading {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--paper);
  text-align: left;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.recommend-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-track::-webkit-scrollbar {
  height: 6px;
}
.recommend-track::-webkit-scrollbar-track {
  background: rgba(120, 132, 150, 0.12);
}
.recommend-track::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
}
a.recommend-card {
  flex: 0 0 168px;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  color: var(--paper-dim);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(43, 48, 58, 0.5), rgba(26, 29, 36, 0.25));
  border: 1px solid var(--line-cool);
  scroll-snap-align: start;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
a.recommend-card:hover {
  border-color: var(--gold-dim);
  background: var(--warm);
  transform: translateY(-2px);
}
a.recommend-card img, [data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  filter: grayscale(0.35) saturate(0.75);
  border: 1px solid rgba(120, 132, 150, 0.2);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--slate-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 18px 34px;
  border-top: 1px solid var(--line-cool);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--slate-dim);
  max-width: 760px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--slate-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--mist);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-dim);
}
@media (max-width: 900px) {.hero-stage {
    grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
    gap: 0 20px;
  }
.hero-media {
    max-width: 240px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 680px) {.page-main {
    padding: 0 14px 32px;
  }
.header-inner {
    padding: 8px 14px;
  }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-top: 18px;
  }
.hero-media {
    grid-row: auto;
    max-width: 220px;
    justify-self: center;
  }
.hero-ledger, .cast-strip, .synopsis-block, .details-block {
    grid-column: 1;
  }
.movie-title {
    text-align: center;
  }
.movie-tagline {
    text-align: center;
    padding-left: 0;
  }
.hero-status {
    justify-content: center;
  }
.status-score {
    margin-left: 0;
  }
.cast-list {
    justify-content: center;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-summary {
    max-height: none;
    opacity: 1;
    margin-top: 5px;
  }
.comment-notes {
    columns: 1;
  }
.comment-note {
    transform: none;
  }
.player-controls {
    gap: 5px 6px;
    padding: 8px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: -1;
  }
.ctrl-volume {
    flex: 1 1 80px;
    width: auto;
  }
.site-footer {
    padding: 18px 14px 30px;
  }}
@media (max-width: 400px) {.cast-card {
    width: 60px;
  }
a.recommend-card {
    flex: 0 0 148px;
    width: 148px;
  }}

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}
