*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #0b0c0e;
  --coal: #121417;
  --slate: #1a1d21;
  --iron: #2a2e33;
  --ash: #3d434a;
  --smoke: #6b737d;
  --fog: #a8b0b8;
  --bone: #e6e9ec;
  --blood: #8c1f24;
  --blood-bright: #c8272f;
  --blood-deep: #4a0f13;
  --line: #23272c;
  --pad: 12px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--fog);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  min-height: 100vh;
  background-image:
    radial-gradient(120% 60% at 12% -10%, rgba(140, 31, 36, 0.16), transparent 62%),
    radial-gradient(90% 50% at 100% 4%, rgba(40, 70, 110, 0.12), transparent 58%),
    linear-gradient(180deg, #0b0c0e 0%, #101215 45%, #0b0c0e 100%);
  background-attachment: fixed;
}
img, video { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 11, 13, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--bone);
  text-decoration: none;
  padding-right: 14px;
  border-right: 2px solid var(--blood);
  white-space: nowrap;
  transition: color 0.18s ease;
}
a[data-contract="site-name"]:hover { color: var(--blood-bright); }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  padding: 3px 10px;
  color: var(--smoke);
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--coal);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-category:hover {
  color: var(--bone);
  border-color: var(--blood);
  background: var(--blood-deep);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.panel-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--bone);
  text-transform: none;
  padding-left: 9px;
  border-left: 3px solid var(--blood-bright);
  line-height: 1.2;
  margin-bottom: 10px;
}
.movie-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  background:
    linear-gradient(180deg, rgba(20, 22, 26, 0.96), rgba(14, 15, 18, 0.98)),
    linear-gradient(140deg, rgba(140, 31, 36, 0.22), transparent 60%);
  border: 1px solid var(--line);
  border-top: 2px solid var(--blood);
  padding: 18px;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 55%;
  height: 100%;
  pointer-events: none;
  background:
    radial-gradient(58% 42% at 78% 12%, rgba(200, 39, 47, 0.16), transparent 70%),
    radial-gradient(44% 60% at 96% 62%, rgba(60, 90, 130, 0.14), transparent 72%);
}
.movie-overview > * { position: relative; }
.poster-figure {
  position: relative;
  width: 100%;
  margin: 0;
  align-self: start;
  border: 1px solid var(--iron);
  background: var(--coal);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.62);
}
.poster-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.08);
}
.poster-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(190deg, rgba(11, 12, 14, 0.06) 40%, rgba(11, 12, 14, 0.78) 100%);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  align-self: start;
}
.overview-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.movie-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--bone);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}
.movie-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fog);
  padding-left: 10px;
  border-left: 2px solid var(--blood);
}
.movie-tagline::first-line { color: var(--bone); }
.movie-seo {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--smoke);
  max-width: 74ch;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.status-chip {
  display: inline-block;
  font-size: 11.5px;
  line-height: 1.5;
  padding: 2px 9px;
  color: var(--fog);
  background: var(--slate);
  border: 1px solid var(--iron);
  white-space: nowrap;
}
.status-chip-current {
  color: var(--bone);
  background: var(--blood);
  border-color: var(--blood-bright);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.detail-panel {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 4px 18px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  line-height: 1.7;
  padding: 2px 0;
  border-bottom: 1px dotted rgba(61, 67, 74, 0.55);
}
.detail-key {
  flex: 0 0 auto;
  min-width: 56px;
  color: var(--smoke);
  letter-spacing: 0.06em;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--bone);
  font-weight: 500;
}
.cast-panel {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.cast-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.cast-card {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 6px;
  background: var(--slate);
  border: 1px solid var(--line);
  border-left: 2px solid var(--ash);
  min-width: 0;
  transition: border-left-color 0.16s ease, background 0.16s ease;
}
.cast-card:hover {
  border-left-color: var(--blood-bright);
  background: #1f2328;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #5a616a 0 26%, transparent 27%),
    linear-gradient(150deg, #2b3036, #14171a);
  border: 1px solid var(--iron);
  box-shadow: inset 0 0 0 2px rgba(11, 12, 14, 0.7);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bone);
  white-space: nowrap;
}
.cast-role {
  font-size: 11.5px;
  color: var(--smoke);
  white-space: nowrap;
}
.synopsis-panel {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.synopsis-paragraph {
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--fog);
  max-width: 78ch;
}
.synopsis-paragraph + .synopsis-paragraph { margin-top: 8px; }
.synopsis-paragraph::first-letter { color: var(--blood-bright); font-weight: 700; }
.player-section {
  background: var(--coal);
  border: 1px solid var(--line);
  border-left: 2px solid var(--iron);
  padding: 14px;
}
.player-shell {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #000;
  border: 1px solid var(--iron);
}
.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--slate);
  border-top: 1px solid var(--iron);
}
.player-button {
  flex: 0 0 auto;
  font-size: 11.5px;
  line-height: 1.5;
  padding: 4px 10px;
  color: var(--fog);
  background: var(--iron);
  border: 1px solid var(--ash);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.player-button:hover { color: var(--bone); border-color: var(--blood); }
.player-button.is-active {
  color: var(--bone);
  background: var(--blood);
  border-color: var(--blood-bright);
}
.player-range {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--ash);
  border: none;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blood-bright);
  border: 1px solid var(--bone);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blood-bright);
  border: 1px solid var(--bone);
}
.player-range.input, .player-range:active { background: var(--blood-deep); }
.player-shell.is-theater {
  box-shadow: 0 0 0 1px var(--blood-bright), 0 0 40px rgba(140, 31, 36, 0.4);
}
.player-shell.fullscreen, .player-shell:fullscreen {
  background: #000;
  padding: 0;
}
.player-shell:fullscreen video { max-height: 100vh; }
body.lights-off { background-image: none; background: #050506; }
body.lights-off .page-main { opacity: 0.92; }
.timeline-episodes-row {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.5fr);
  gap: 22px;
  align-items: start;
}
.timeline-panel, .episodes-panel {
  background: var(--coal);
  border: 1px solid var(--line);
  padding: 14px;
  min-width: 0;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 26px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--blood) 0%, var(--iron) 70%, transparent 100%);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-left: 3px solid var(--iron);
  background: var(--slate);
  margin-bottom: 6px;
  transition: border-left-color 0.16s ease, background 0.16s ease;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ash);
  box-shadow: 0 0 0 3px var(--coal);
}
.timeline-node:hover { border-left-color: var(--ash); background: #1f2328; }
.timeline-node-current {
  border-left-color: var(--blood-bright);
  background: linear-gradient(100deg, rgba(140, 31, 36, 0.34), rgba(26, 29, 33, 0.9));
}
.timeline-node-current::before {
  background: var(--blood-bright);
  box-shadow: 0 0 0 3px var(--coal), 0 0 12px 2px rgba(200, 39, 47, 0.75);
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--blood-bright);
  font-variant-numeric: tabular-nums;
}
.timeline-node-current .timeline-timecode { color: #ff6b71; }
.timeline-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fog);
}
.timeline-node-current .timeline-label { color: var(--bone); font-weight: 600; }
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num title"
    "sum sum"
    "dur dur";
  gap: 2px 8px;
  padding: 8px 9px;
  background: var(--slate);
  border: 1px solid var(--line);
  border-top: 2px solid var(--iron);
  overflow: hidden;
  transition: border-top-color 0.16s ease, background 0.16s ease;
}
.episode-card:hover {
  border-top-color: var(--blood-bright);
  background: #1f2328;
}
.episode-number {
  grid-area: num;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blood-bright);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.episode-title {
  grid-area: title;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bone);
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--smoke);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  grid-area: dur;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ash);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.22s ease, color 0.16s ease;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
  max-height: 24px;
  opacity: 1;
  color: var(--blood-bright);
}
.comments-panel {
  background: var(--coal);
  border: 1px solid var(--line);
  padding: 14px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(244px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 11px;
  background: var(--slate);
  border: 1px solid var(--line);
  border-left: 2px solid var(--ash);
  transition: border-left-color 0.16s ease, transform 0.16s ease;
}
.comment-card:hover {
  border-left-color: var(--blood-bright);
  transform: translateX(2px);
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--blood-bright);
}
.comment-text {
  font-size: 12px;
  line-height: 1.8;
  color: var(--fog);
}
.recommendation-region {
  background: var(--coal);
  border: 1px solid var(--line);
  border-left: 2px solid var(--iron);
  padding: 14px;
}
.recommendation-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommendation-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: var(--slate);
  border: 1px solid var(--line);
  color: var(--fog);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
a.recommendation-item:hover {
  border-color: var(--blood);
  background: #1f2328;
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.78) contrast(1.06) brightness(0.9);
  transition: filter 0.18s ease;
}
a.recommendation-item:hover img { filter: saturate(1) contrast(1.08) brightness(1); }
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bone);
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.65;
  color: var(--smoke);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 16px 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, rgba(140, 31, 36, 0.08), transparent 40%);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.8;
  color: var(--ash);
  max-width: 92ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"] { color: var(--fog); }
a[data-contract="footer-home"]:hover { color: var(--bone); border-bottom-color: var(--blood-bright); }
a[data-contract="footer-sitemap"] { color: var(--smoke); }
a[data-contract="footer-sitemap"]:hover { color: var(--blood-bright); border-bottom-color: var(--blood-bright); }
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blood-bright);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--smoke);
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--fog);
  border-bottom-color: var(--ash);
}
@media (max-width: 1080px) {.movie-overview { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 18px; }
.movie-title { font-size: 26px; }
.timeline-episodes-row { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: 16px; }}
@media (max-width: 860px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.poster-figure {
    max-width: 260px;
  }
.timeline-episodes-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
.episode-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }}
@media (max-width: 640px) {body { font-size: 12.5px; }
.site-header-inner { padding: 8px 12px; gap: 10px; }
a[data-contract="site-name"] { font-size: 14px; padding-right: 10px; letter-spacing: 0.1em; }
.page-main { padding: 12px 12px 24px; gap: 16px; }
.movie-overview { padding: 12px; }
.movie-title { font-size: 22px; }
.movie-tagline { font-size: 12px; }
.movie-seo { font-size: 12px; line-height: 1.85; }
.detail-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 3px 12px; }
.detail-key { min-width: 48px; }
.cast-strip { gap: 6px; }
.cast-card { padding: 4px 8px 4px 5px; gap: 6px; }
.cast-avatar { width: 26px; height: 26px; }
.player-section, .timeline-panel, .episodes-panel, .comments-panel, .recommendation-region { padding: 11px; }
.player-controls { gap: 5px; padding: 7px 8px; }
.player-button { font-size: 11px; padding: 3px 8px; }
.episode-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 5px; }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.recommendation-columns { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 6px; }
.site-footer { padding: 16px 12px 24px; }}
@media (max-width: 420px) {.movie-title { font-size: 20px; }
.poster-figure { max-width: 200px; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.recommendation-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.player-range { flex: 1 1 100%; }
.timeline-list { padding-left: 20px; }
.timeline-node::before { left: -17px; }
.timeline-list::before { left: 5px; }}
@media (prefers-reduced-motion: reduce) {* { 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}
