*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, ol, dl, 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; }
:root {
  --ink: #e8ecef;
  --ink-dim: #9aa7b0;
  --ink-faint: #6a7883;
  --sea-deep: #0b1620;
  --sea: #12222f;
  --sea-2: #16303f;
  --iron: #3a332c;
  --rust: #8a4a30;
  --rust-hi: #b8603a;
  --blood: #7a1f24;
  --blood-hi: #a52a2f;
  --warm: #e8b25a;
  --line: rgba(154, 167, 176, 0.22);
  --line-strong: rgba(154, 167, 176, 0.4);
  --panel: #101d27;
  --panel-2: #0d1922;
}
html, body { background: var(--sea-deep); }
body {
  color: var(--ink);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-weight: 300;
  background-image:
    linear-gradient(180deg, rgba(11, 22, 32, 0) 0%, rgba(11, 22, 32, 0.9) 100%),
    repeating-linear-gradient(90deg, rgba(138, 74, 48, 0.05) 0 1px, transparent 1px 64px),
    linear-gradient(160deg, #0b1620 0%, #0f2430 55%, #0a151d 100%);
  background-attachment: fixed;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 18, 25, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px 16px;
}
a[data-contract="site-name"] {
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-right: 16px;
  border-right: 2px solid var(--blood);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.runtime-category, a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 3px 9px 4px;
  border: 1px solid var(--line);
  background: rgba(22, 48, 63, 0.4);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--ink);
  border-color: var(--rust-hi);
  background: rgba(138, 74, 48, 0.3);
}
.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-transform: uppercase;
  padding-left: 10px;
  margin-bottom: 10px;
  border-left: 3px solid var(--blood-hi);
  line-height: 1.3;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  grid-template-areas:
    "info poster"
    "player player";
  gap: 14px 18px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(22, 48, 63, 0.55), rgba(13, 25, 34, 0.9)),
    var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--rust);
  position: relative;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 240px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(232, 178, 90, 0.09), transparent 70%);
  pointer-events: none;
}
.overview-info {
  grid-area: info;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.movie-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: #f3f6f8;
  text-shadow: 0 2px 0 rgba(122, 31, 36, 0.55);
}
.movie-tagline {
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--warm);
  font-weight: 500;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.movie-seo {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-dim);
  font-weight: 300;
  max-width: 62ch;
}
.cast-strip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cast-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--rust-hi);
  text-transform: uppercase;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: center;
}
.cast-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
}
.cast-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: 0 0 auto;
  background:
    linear-gradient(135deg, #3d5763 0%, #1b2c36 60%),
    var(--iron);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 0 2px rgba(11, 22, 32, 0.7);
}
.cast-name {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink);
  white-space: nowrap;
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 4px;
}
.synopsis-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--rust-hi);
  text-transform: uppercase;
}
.synopsis-text {
  font-size: 13px;
  line-height: 1.8;
  color: #b6c2ca;
  font-weight: 300;
  text-align: justify;
}
.episode-status {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  align-self: flex-start;
  border: 1px solid var(--line-strong);
  background: rgba(122, 31, 36, 0.22);
}
.status-current, .status-total {
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  white-space: nowrap;
}
.status-current {
  color: #f0d9a0;
  font-weight: 700;
  background: rgba(165, 42, 47, 0.5);
}
.status-total {
  color: var(--ink-dim);
  border-left: 1px solid var(--line-strong);
}
.details-block {
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.details-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--rust-hi);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 20px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(154, 167, 176, 0.16);
}
.detail-key {
  flex: 0 0 62px;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}
.detail-value {
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 400;
  min-width: 0;
}
.overview-poster-wrap {
  grid-area: poster;
  align-self: start;
  position: relative;
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
  padding: 0;
  overflow: hidden;
}
.poster-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(0.88) contrast(1.06) brightness(0.94);
}
.overview-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(11, 22, 32, 0) 45%, rgba(11, 22, 32, 0.75) 100%);
}
.player-shell {
  grid-area: player;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  background: linear-gradient(180deg, #0a141c, #0e1c26);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--rust);
}
.player-shell video {
  width: 100%;
  background: #05090c;
  border: 1px solid rgba(154, 167, 176, 0.18);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.ctrl-btn {
  appearance: none;
  cursor: pointer;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  color: var(--ink-dim);
  background: rgba(22, 48, 63, 0.5);
  border: 1px solid var(--line);
  border-radius: 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: var(--ink);
  border-color: var(--rust-hi);
  background: rgba(138, 74, 48, 0.32);
}
.ctrl-btn.is-playing, .ctrl-btn.is-active {
  color: #f4e2b6;
  border-color: var(--rust-hi);
  background: rgba(165, 42, 47, 0.45);
}
.ctrl-btn.is-muted {
  color: var(--ink-faint);
  border-style: dashed;
}
.ctrl-range {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  flex: 1 1 120px;
  min-width: 90px;
  background: linear-gradient(90deg, var(--blood-hi), rgba(154, 167, 176, 0.25));
  border: none;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 16px;
  background: var(--warm);
  border: 1px solid #0a141c;
  border-radius: 0;
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 16px;
  background: var(--warm);
  border: 1px solid #0a141c;
  border-radius: 0;
}
.ctrl-select {
  appearance: none;
  cursor: pointer;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  color: var(--ink-dim);
  background: rgba(22, 48, 63, 0.5);
  border: 1px solid var(--line);
  border-radius: 0;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--rust) inset;
}
body.lights-off {
  background-image: none;
  background: #04090d;
}
body.lights-off .player-shell {
  box-shadow: 0 0 0 3px var(--blood-hi) inset, 0 0 60px rgba(0, 0, 0, 0.9);
}
.timeline-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px 26px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 52px 22px minmax(0, 1fr);
  align-items: baseline;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(154, 167, 176, 0.16);
}
.timeline-time {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--warm);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.timeline-dash {
  height: 1px;
  border-top: 1px dashed var(--line-strong);
  align-self: center;
  transform: translateY(-1px);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: #b6c2ca;
  font-weight: 300;
}
.episodes-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  padding: 7px 10px 8px;
  background: rgba(16, 29, 39, 0.75);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(138, 74, 48, 0.55);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.episode-card:hover {
  border-left-color: var(--blood-hi);
  background: rgba(22, 48, 63, 0.6);
}
.episode-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.episode-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--warm);
  white-space: nowrap;
  padding-right: 6px;
  border-right: 1px solid var(--line-strong);
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  font-weight: 300;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.2s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 6em;
  opacity: 1;
  margin-top: 3px;
}
.cast-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.cast-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-start;
}
.cast-card {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 14px 8px;
  background: linear-gradient(180deg, rgba(22, 48, 63, 0.5), rgba(13, 25, 34, 0.85));
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--rust);
  min-width: 84px;
}
.cast-card:nth-child(even) {
  margin-top: 10px;
}
.cast-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #4a6874 0%, #1b2c36 65%),
    var(--iron);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 0 3px rgba(11, 22, 32, 0.75);
}
.cast-card-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink);
  white-space: nowrap;
}
.comments-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.comment-list {
  columns: 3;
  column-gap: 8px;
}
.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  break-inside: avoid;
  margin-bottom: 8px;
  padding: 8px 10px;
  background: rgba(16, 29, 39, 0.72);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(122, 31, 36, 0.6);
}
.comment-avatar {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #435e6b 0%, #16262f 70%);
  border: 1px solid var(--line-strong);
}
.comment-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.comment-name {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--warm);
}
.comment-text {
  font-size: 12px;
  line-height: 1.65;
  color: #b6c2ca;
  font-weight: 300;
}
.rec-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.rec-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(13, 25, 34, 0.85);
  border: 1px solid var(--line);
  transition: border-color 0.15s, background 0.15s;
}
a.rec-card:hover {
  border-color: var(--rust-hi);
  background: rgba(22, 48, 63, 0.6);
}
[data-runtime="recommendation"] img, .rec-pic {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: var(--iron);
  border: 1px solid rgba(154, 167, 176, 0.15);
}
.rec-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1.4;
}
.rec-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-dim);
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(13, 25, 34, 0.6), #070f15);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-faint);
  font-weight: 300;
  max-width: 78ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  background: rgba(22, 48, 63, 0.4);
}
a[data-contract="footer-home"] {
  color: var(--ink-dim);
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  color: var(--rust-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ink);
  border-color: var(--rust-hi);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--rust-hi);
  font-weight: 700;
  white-space: nowrap;
  padding-right: 8px;
  border-right: 1px solid var(--line-strong);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 0;
  border-bottom: 1px solid transparent;
}
a.runtime-friend-link:hover {
  color: var(--warm);
  border-bottom-color: var(--warm);
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr) 180px;
  }
.comment-list { columns: 2; }
.movie-title { font-size: 26px; }}
@media (max-width: 720px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "info"
      "player";
  }
.overview-poster-wrap {
    max-width: 240px;
  }
.details-list { grid-template-columns: minmax(0, 1fr); }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.episode-summary {
    max-height: none;
    opacity: 1;
    margin-top: 3px;
  }
.timeline-list { grid-template-columns: minmax(0, 1fr); }
.cast-card:nth-child(even) { margin-top: 0; }}
@media (max-width: 560px) {.page-main { padding: 12px 12px 32px; gap: 18px; }
.header-inner { padding: 8px 12px; gap: 10px; }
a[data-contract="site-name"] { font-size: 15px; letter-spacing: 0.1em; }
.movie-title { font-size: 22px; }
.movie-tagline { letter-spacing: 0.18em; font-size: 12px; }
.comment-list { columns: 1; }
.rec-row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.timeline-item { grid-template-columns: 46px 16px minmax(0, 1fr); }
.cast-cards { gap: 5px; }
.cast-card { padding: 8px 10px 7px; min-width: 74px; }
.cast-card-avatar { width: 44px; height: 44px; }}
@media (max-width: 400px) {.cast-list { gap: 4px 10px; }
.ctrl-range { flex: 1 1 100%; }}

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}
