*, *::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; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
:root {
  --night: #10151f;
  --night-2: #161d2a;
  --night-3: #1d2634;
  --line: #2a3444;
  --line-soft: #232c3a;
  --warm-white: #ece7dd;
  --warm-dim: #b8b3a8;
  --cool-dim: #8b95a5;
  --lamp: #f0b46a;
  --lamp-deep: #c9832f;
  --paper: #f2e6cf;
  --serif: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}
html {
  background: var(--night);
  -webkit-text-size-adjust: 100%;
}
body {
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(240, 180, 106, 0.06), transparent 62%),
    radial-gradient(900px 520px at 88% 4%, rgba(140, 170, 210, 0.07), transparent 60%),
    var(--night);
  color: var(--warm-white);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 18, 27, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--warm-white);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: var(--lamp); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  flex: 1 1 260px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 9px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--cool-dim);
  white-space: nowrap;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  text-decoration: none;
  transition: color .15s, border-color .15s, background .15s;
}
a.runtime-category:hover {
  color: var(--night);
  background: var(--lamp);
  border-color: var(--lamp);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
section { scroll-margin-top: 56px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; }
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 232px) minmax(0, 1fr);
  grid-template-areas:
    "poster head"
    "poster player"
    "status player"
    "details details"
    "cast cast"
    "synopsis synopsis";
  gap: 14px 22px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.overview-poster-wrap {
  grid-area: poster;
  position: relative;
  align-self: start;
  border: 1px solid var(--line);
  background: var(--night-2);
  padding: 6px;
}
.overview-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 6px 6px auto auto;
  width: 26px;
  height: 26px;
  border-top: 2px solid var(--lamp);
  border-right: 2px solid var(--lamp);
  pointer-events: none;
  opacity: .75;
}
.overview-poster-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(.88) contrast(1.04);
}
.overview-head {
  grid-area: head;
  min-width: 0;
  padding-right: 4px;
}
.movie-title {
  font-size: 24px;
  line-height: 1.24;
  letter-spacing: 0.03em;
  color: var(--warm-white);
  text-shadow: 0 0 26px rgba(240, 180, 106, 0.16);
}
.movie-tagline {
  margin-top: 6px;
  padding-left: 10px;
  border-left: 2px solid var(--lamp);
  font-size: 12px;
  color: var(--lamp);
  letter-spacing: 0.04em;
}
.movie-seo-desc {
  margin-top: 9px;
  max-width: 62ch;
  font-size: 12px;
  line-height: 1.7;
  color: var(--warm-dim);
}
.overview-player-wrap {
  grid-area: player;
  min-width: 0;
  align-self: start;
  background: var(--night-2);
  border: 1px solid var(--line);
  padding: 1px;
}
.overview-player-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05080d;
  display: block;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 9px;
  background: var(--night-3);
  border-top: 1px solid var(--line);
}
.player-btn {
  padding: 3px 8px;
  font-size: 11.5px;
  color: var(--warm-dim);
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
}
.player-btn:hover { color: var(--warm-white); border-color: var(--lamp-deep); }
.player-btn.is-playing { color: var(--lamp); border-color: var(--lamp-deep); }
.player-btn.is-active {
  color: var(--night);
  background: var(--lamp);
  border-color: var(--lamp);
}
.player-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lamp);
  border: 0;
}
.player-progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--lamp);
}
.player-volume {
  flex: 0 1 74px;
  min-width: 56px;
  height: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cool-dim);
  border: 0;
}
.player-volume::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: var(--cool-dim);
}
.player-speed-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: var(--cool-dim);
  white-space: nowrap;
}
.player-speed {
  background: var(--night);
  color: var(--warm-dim);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2px 4px;
  font-size: 11.5px;
}
.episode-status {
  grid-area: status;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  background: var(--night-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--lamp-deep);
}
.status-episodes {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--warm-white);
}
.status-current {
  font-size: 11.5px;
  color: var(--lamp);
  letter-spacing: 0.05em;
}
.movie-details {
  grid-area: details;
  min-width: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.details-heading, .cast-heading, .synopsis-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommendations-heading {
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--warm-white);
  padding-left: 9px;
  border-left: 3px solid var(--lamp);
  line-height: 1.3;
}
.details-list {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line-soft);
  min-width: 0;
}
.detail-row dt {
  flex: 0 0 62px;
  font-size: 11.5px;
  color: var(--cool-dim);
  letter-spacing: 0.06em;
}
.detail-row dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--warm-dim);
}
.movie-cast {
  grid-area: cast;
  min-width: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.cast-list {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 9px;
  background: linear-gradient(90deg, rgba(240, 180, 106, 0.05), transparent 72%);
  border-left: 1px solid var(--lamp-deep);
  min-width: 0;
}
.cast-name {
  flex: 0 0 58px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--warm-white);
}
.cast-role {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--warm-dim);
}
.movie-synopsis {
  grid-area: synopsis;
  min-width: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.synopsis-paragraph {
  margin-top: 8px;
  max-width: 88ch;
  font-size: 12px;
  line-height: 1.78;
  color: var(--warm-dim);
  text-indent: 2em;
}
.synopsis-paragraph:first-of-type { margin-top: 9px; }
.timeline-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0 16px;
}
.timeline-track {
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: transparent; }
.timeline-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 176px;
  padding: 0 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 8px;
  right: 0;
  border-top: 1px dashed var(--line);
}
.timeline-node::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--night);
  border: 1px solid var(--cool-dim);
}
.timeline-node:last-child::before { display: none; }
.node-timecode {
  position: relative;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cool-dim);
  padding-top: 18px;
}
.node-label {
  position: relative;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--warm-dim);
}
.timeline-node.is-current {
  width: 236px;
  padding-right: 18px;
}
.timeline-node.is-current::after {
  top: 1px;
  width: 13px;
  height: 13px;
  background: var(--lamp);
  border-color: var(--lamp);
  box-shadow: 0 0 12px rgba(240, 180, 106, 0.55);
}
.timeline-node.is-current::before {
  top: 7px;
  left: 12px;
  border-top-color: var(--lamp-deep);
}
.timeline-node.is-current .node-timecode {
  font-size: 15px;
  color: var(--lamp);
}
.timeline-node.is-current .node-label {
  font-size: 12px;
  color: var(--warm-white);
}
.episodes-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.episode-grid {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.episode-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: baseline;
  gap: 2px 10px;
  padding: 8px 11px;
  background: var(--night-2);
  min-width: 0;
}
.episode-number {
  grid-area: num;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lamp);
  white-space: nowrap;
}
.episode-title {
  grid-area: title;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--warm-white);
  overflow-wrap: anywhere;
}
.episode-duration {
  grid-area: dur;
  font-size: 11px;
  color: var(--cool-dim);
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  min-width: 0;
  font-size: 11.5px;
  color: var(--cool-dim);
}
.episode-summary > summary {
  cursor: pointer;
  list-style: none;
  display: inline-block;
  padding: 1px 6px;
  margin-top: 3px;
  border: 1px dashed var(--line);
  border-radius: 2px;
  color: var(--cool-dim);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.episode-summary > summary::-webkit-details-marker { display: none; }
.episode-summary > summary:hover { color: var(--lamp); border-color: var(--lamp-deep); }
.episode-summary[open] > summary {
  color: var(--lamp);
  border-color: var(--lamp-deep);
  border-style: solid;
}
.episode-summary > p {
  margin-top: 5px;
  padding-left: 9px;
  border-left: 2px solid var(--lamp-deep);
  font-size: 11.5px;
  line-height: 1.68;
  color: var(--warm-dim);
}
.comments-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.comments-masonry {
  margin-top: 11px;
  columns: 3;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  margin: 0 0 10px;
  padding: 9px 11px 10px;
  background: var(--night-2);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--line);
  min-width: 0;
}
.comment-card:nth-child(3n/**/+1) { border-top-color: var(--lamp-deep); }
.comment-card:nth-child(3n/**/+2) { border-top-color: var(--cool-dim); }
.comment-nickname {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--warm-white);
}
.comment-text {
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--warm-dim);
}
.recommendations-region {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.recommendation-list {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
  align-items: start;
}
.recommendation-item {
  min-width: 0;
}
a.recommendation-link {
  display: block;
  padding: 6px 7px 8px;
  background: var(--night-2);
  border: 1px solid var(--line-soft);
  color: var(--warm-dim);
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
a.recommendation-link:hover {
  border-color: var(--lamp-deep);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #05080d;
  filter: saturate(.82) brightness(.94);
  transition: filter .2s;
}
[data-runtime="recommendation"]:hover img { filter: saturate(1) brightness(1.02); }
[data-runtime="name"] {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--warm-white);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="blurb"] {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--cool-dim);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--night-2);
  padding: 16px;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.7;
  color: var(--cool-dim);
}
.footer-nav {
  max-width: 1180px;
  margin: 9px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  color: var(--warm-dim);
  text-decoration: none;
  letter-spacing: 0.06em;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--lamp);
  text-decoration: underline;
}
.friend-links {
  max-width: 1180px;
  margin: 11px auto 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--cool-dim);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--warm-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--lamp);
  text-decoration: underline;
}
.movie-overview.is-theater .overview-player-wrap {
  box-shadow: 0 0 0 1px var(--lamp-deep), 0 0 34px rgba(240, 180, 106, 0.18);
}
.movie-overview.lights-off .overview-player-wrap {
  background: #05080d;
}
.movie-overview.lights-off .overview-poster-wrap, .movie-overview.lights-off .overview-head, .movie-overview.lights-off .episode-status, .movie-overview.lights-off .movie-details, .movie-overview.lights-off .movie-cast, .movie-overview.lights-off .movie-synopsis {
  opacity: .58;
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "poster"
      "player"
      "status"
      "details"
      "cast"
      "synopsis";
    gap: 12px;
  }
.overview-poster-wrap { max-width: 232px; }
.comments-masonry { columns: 2; }}
@media (max-width: 680px) {body { font-size: 12.5px; }
.page-main { padding: 12px 12px 32px; gap: 20px; }
.header-inner { padding: 8px 12px; gap: 10px; }
.movie-title { font-size: 19px; }
.movie-seo-desc { max-width: none; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: minmax(0, 1fr); }
.details-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.comments-masonry { columns: 1; }
.recommendation-list { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.timeline-node { width: 156px; }
.timeline-node.is-current { width: 208px; }
.player-controls { gap: 5px 7px; padding: 7px; }
.site-footer { padding: 14px 12px; }}
@media (max-width: 420px) {.movie-title { font-size: 17px; }
.overview-poster-wrap { max-width: 180px; }
.player-btn { padding: 2px 6px; font-size: 11px; }
.recommendation-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-row dt { flex-basis: 54px; }}

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}
