*, *::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%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:root {
  --bg: #e9e7e1;
  --surface: #f2f0ea;
  --surface-2: #e2e0d9;
  --ink: #23262b;
  --ink-soft: #4d545e;
  --ink-faint: #7d8590;
  --blue: #5c6f82;
  --blue-deep: #39485a;
  --red: #8a2b2b;
  --red-soft: #a84040;
  --line: #c9c7c0;
  --line-soft: #d6d4cd;
  --mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}
html { background: var(--bg); }
body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(92,111,130,.07) 0, rgba(92,111,130,0) 240px),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  position: relative;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 18px 8px;
}
.site-brand {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--blue-deep);
  padding-right: 16px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
}
a[data-contract="site-name"] { color: var(--blue-deep); text-decoration: none; }
a[data-contract="site-name"]:hover { color: var(--red); }
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}
.runtime-category, a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 3px 10px;
  color: var(--blue-deep);
  background: var(--surface-2);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
a.runtime-category:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #eef0f2;
  text-decoration: none;
}
.header-nav {
  display: flex;
  gap: 2px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 0;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(92,111,130,.05), rgba(92,111,130,0));
}
a.nav-link {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--ink-soft);
  padding: 7px 14px 8px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
a.nav-link:hover, a.nav-link:first-child {
  color: var(--blue-deep);
  border-bottom-color: var(--blue);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 40px;
}
.section-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--blue-deep);
  text-transform: none;
  padding-bottom: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--red);
}
.hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
.hero-media.poster-wrap {
  position: relative;
  margin: 14px 0 0;
  width: 100%;
  overflow: hidden;
  background: var(--blue-deep);
  aspect-ratio: 21 / 9;
  max-height: 420px;
}
.poster-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(.78) contrast(1.02);
}
.hero-media.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(35,38,43,.06) 0, rgba(35,38,43,0) 30%, rgba(24,28,34,.62) 100%);
  pointer-events: none;
}
.hero-caption {
  position: relative;
  margin-top: -74px;
  padding: 0 2px 14px;
  z-index: 3;
  max-width: 760px;
}
.movie-title {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: .16em;
  color: #f4f3ef;
  text-shadow: 0 1px 12px rgba(20,24,30,.55);
  line-height: 1.2;
}
.movie-tagline {
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: .14em;
  color: #d9dde2;
  text-shadow: 0 1px 8px rgba(20,24,30,.5);
}
.movie-seo {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 66ch;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.player-panel {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 14px 0 18px;
  background: #10141a;
  border: 1px solid var(--line);
  transition: box-shadow .2s ease, background .2s ease;
}
.player-panel video {
  display: block;
  width: 100%;
  background: #0b0e12;
}
.player-panel.theater-mode {
  box-shadow: 0 0 0 1px var(--blue), 0 10px 40px rgba(20,26,36,.35);
}
.player-panel.lights-off {
  background: #05070a;
}
.player-panel.lights-off video { opacity: .92; }
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #1b2129, #141920);
  border-top: 1px solid #2a323c;
}
.player-controls button, .player-controls select {
  font-size: 11.5px;
  letter-spacing: .04em;
  color: #cfd6de;
  background: #232b34;
  border: 1px solid #333d48;
  padding: 4px 9px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.player-controls button:hover, .player-controls select:hover {
  background: var(--blue-deep);
  border-color: var(--blue);
  color: #eef1f4;
}
.player-controls button:focus-visible, .player-controls select:focus-visible, .player-controls input:focus-visible {
  outline: 1px solid var(--red-soft);
  outline-offset: 1px;
}
.ctrl-play { min-width: 54px; font-weight: 600; }
.ctrl-play.is-playing { background: var(--blue-deep); border-color: var(--blue); color: #fff; }
.ctrl-mute.is-muted { background: var(--red); border-color: var(--red-soft); color: #f6ecec; }
.ctrl-pip, .ctrl-fullscreen, .ctrl-theater, .ctrl-light { color: #b9c1ca; }
.ctrl-theater.theater, .ctrl-theater.active { color: #fff; }
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 120px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #39434e;
  cursor: pointer;
  border-radius: 0;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--red-soft);
  border: none;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--red-soft);
  border: none;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #39434e;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 12px;
  background: #9aa4af;
  border: none;
  cursor: pointer;
}
.ctrl-volume::-moz-range-thumb {
  width: 8px;
  height: 12px;
  background: #9aa4af;
  border: none;
  cursor: pointer;
}
.cast-row {
  margin-bottom: 20px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--blue);
  padding: 7px 10px;
  align-self: start;
}
.cast-card:nth-child(3n) { border-left-color: var(--red-soft); }
.synopsis-block {
  margin-bottom: 20px;
  max-width: 100%;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-soft);
  margin-bottom: 8px;
  text-indent: 2em;
}
.synopsis-paragraph:last-child { margin-bottom: 0; }
.details-block { margin-bottom: 20px; }
.detail-table {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0 20px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 10px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px dotted var(--line);
}
.detail-row:last-child { border-bottom: none; }
.detail-key {
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--ink-faint);
  white-space: nowrap;
}
.detail-value {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  text-align: right;
  letter-spacing: .01em;
}
.episode-status {
  margin-bottom: 20px;
}
.status-line {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--blue-deep);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--red);
  padding: 6px 12px;
}
.timeline-block {
  margin: 4px 0 22px;
}
.timeline-rail {
  position: relative;
  border-left: 2px solid var(--line);
  padding-left: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0 6px 0;
  border-bottom: 1px solid var(--line-soft);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 13px;
  width: 7px;
  height: 7px;
  background: var(--bg);
  border: 2px solid var(--blue);
  border-radius: 50%;
}
.timeline-item:nth-child(3)::before { border-color: var(--red); background: var(--red); }
.timeline-timecode {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--blue-deep);
  white-space: nowrap;
  min-width: 52px;
}
.timeline-label {
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.episodes-block { margin-bottom: 24px; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--blue);
  padding: 9px 12px 10px;
}
.episode-card:nth-child(6n + 3) { border-top-color: var(--red); }
.episode-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--ink);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--ink-faint);
  margin-top: 2px;
}
.comments-block { margin-bottom: 24px; }
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 9px 12px 10px;
  box-shadow: 0 1px 0 rgba(35,38,43,.04);
}
.comment-card:nth-child(even) { background: var(--surface-2); }
.comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.comment-avatar {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, #8b98a6 0 38%, #5c6f82 39% 100%);
  border: 1px solid var(--line);
}
.comment-card:nth-child(3n) .comment-avatar {
  background: radial-gradient(circle at 34% 32%, #b06a6a 0 38%, #8a2b2b 39% 100%);
}
.comment-nickname {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--blue-deep);
  font-weight: 600;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.rec-columns {
  margin-bottom: 22px;
}
.rec-columns .rec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 8px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
a.rec-item:hover {
  border-color: var(--blue);
  background: #eef0ee;
  text-decoration: none;
}
[data-runtime="recommendation"] img, .rec-pic {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: var(--blue-deep);
  filter: saturate(.82) contrast(1.02);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1.4;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 16px 18px 22px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 24px;
}
.footer-nav {
  display: flex;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--blue-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--red);
  border-bottom-color: var(--red);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  flex: 1 1 320px;
}
.friend-label {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-faint);
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
  transition: color .15s ease, border-color .15s ease;
}
a.runtime-friend-link:hover {
  color: var(--blue-deep);
  border-bottom-color: var(--blue);
  text-decoration: none;
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-faint);
  letter-spacing: .02em;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.player .play, .player .pause, .player .volume, .player .mute, .player .speed, .player .progress, .player .pip, .player .fullscreen, .player .theater, .player .light, .player .change, .player .click, .player .input, .player .timeupdate, .player .fullscreenchange { transition: opacity .15s ease; }
@media (min-width: 860px) {.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "media media"
      "caption player"
      "cast cast"
      "synopsis details"
      "status status";
    column-gap: 24px;
  }
.hero-media.poster-wrap { grid-area: media; aspect-ratio: 2 / 1; max-height: 460px; }
.hero-caption { grid-area: caption; margin-top: 16px; max-width: none; }
.movie-title { color: var(--ink); text-shadow: none; font-size: 30px; }
.movie-tagline { color: var(--red); text-shadow: none; }
.player-panel { grid-area: player; margin: 16px 0 0; align-self: start; }
.cast-row { grid-area: cast; margin-top: 20px; }
.synopsis-block { grid-area: synopsis; margin-bottom: 0; }
.details-block { grid-area: details; margin-bottom: 0; }
.episode-status { grid-area: status; margin-top: 16px; margin-bottom: 20px; }
.cast-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.timeline-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-columns .rec-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (min-width: 1080px) {.rec-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }}
@media (max-width: 859px) {.hero-media.poster-wrap { aspect-ratio: 16 / 9; max-height: 300px; }
.hero-caption { margin-top: -52px; }
.movie-title { font-size: 21px; }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: 1fr; }
.comment-stack { grid-template-columns: 1fr; }
.rec-columns .rec-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 560px) {.page-main { padding: 0 12px 32px; }
.header-inner { padding: 8px 12px 6px; gap: 10px; }
.header-nav { padding: 0 12px; overflow-x: auto; }
.site-brand { font-size: 13px; letter-spacing: .16em; border-right: none; padding-right: 0; }
.hero-media.poster-wrap { aspect-ratio: 3 / 2; max-height: 240px; }
.hero-caption { margin-top: -40px; }
.movie-title { font-size: 19px; letter-spacing: .12em; }
.movie-seo { font-size: 12px; }
.cast-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.detail-table { grid-template-columns: 1fr; }
.timeline-rail { padding-left: 14px; }
.timeline-item { flex-wrap: wrap; gap: 2px 10px; }
.rec-columns .rec-list { grid-template-columns: 1fr; }
.player-controls { gap: 4px; padding: 7px 8px; }
.player-controls button, .player-controls select { font-size: 11px; padding: 4px 7px; }
.ctrl-progress { flex-basis: 100%; order: -1; }
.site-footer { padding: 14px 12px 20px; }}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after { transition: none !important; animation: none !important; }}

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}
