:root {
  --ink: #0c0d0f;
  --ink-2: #15171a;
  --ink-3: #1c1f23;
  --steel: #2a2e34;
  --steel-2: #3a4048;
  --line: #343941;
  --text: #d5d9de;
  --text-dim: #8b929b;
  --text-faint: #666d76;
  --red: #8e1f24;
  --red-bright: #b02a30;
  --red-dim: #5e161a;
  --cold: #c8d2dc;
  --gap: 10px;
  --pad: 12px;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--ink);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  font-stretch: condensed;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, dl, dd, figure, blockquote, p, h1, h2, h3 {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--text-dim);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #101215 0%, #0c0d0f 100%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  color: var(--cold);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 3px solid var(--red);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #fff;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.75rem;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  border-radius: 2px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--red);
  background: var(--red-dim);
}
.page-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--cold);
  padding-left: 9px;
  border-left: 3px solid var(--red);
  margin-bottom: 8px;
  line-height: 1.2;
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 16px;
  align-items: start;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red-dim);
  padding: var(--pad);
  position: relative;
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 8% 0%, rgba(176, 42, 48, 0.09) 0%, rgba(0, 0, 0, 0) 58%),
    linear-gradient(200deg, rgba(200, 210, 220, 0.05) 0%, rgba(0, 0, 0, 0) 44%);
  pointer-events: none;
  z-index: 0;
}
.hero-media, .hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.hero-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.poster-frame {
  position: relative;
  border: 1px solid var(--steel);
  background: #000;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(200, 210, 220, 0.06), inset 0 -34px 60px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.08) saturate(0.82);
}
.player-shell {
  position: relative;
  background: #000;
  border: 1px solid var(--steel);
  overflow: hidden;
}
.player-shell video {
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  padding: 6px 8px;
  background: #0a0b0d;
  border-top: 1px solid var(--line);
}
.ctrl {
  background: var(--ink-3);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.6875rem;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s, border-color 0.14s, background 0.14s;
}
.ctrl:hover {
  color: #fff;
  border-color: var(--steel-2);
  background: #23272c;
}
.ctrl-play {
  color: var(--cold);
  border-color: var(--steel-2);
}
.ctrl-progress {
  flex: 1 1 130px;
  min-width: 90px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: var(--steel);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red-bright);
  border: 1px solid #1a1b1e;
}
.ctrl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #1a1b1e;
  border-radius: 50%;
  background: var(--red-bright);
}
.ctrl-volume {
  flex: 0 1 74px;
  min-width: 60px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: var(--steel);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cold);
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--cold);
}
.ctrl-speed {
  padding: 4px 4px;
}
.ctrl-light.is-active, .ctrl-theater.is-active {
  color: #fff;
  border-color: var(--red);
  background: var(--red-dim);
}
.ctrl-mute.is-muted {
  color: var(--red-bright);
  border-color: var(--red);
}
.ctrl-play.is-playing {
  color: #fff;
  border-color: var(--red);
  background: var(--red-dim);
}
.player-shell.is-lights-off {
  box-shadow: 0 0 0 1px var(--red-dim), 0 0 34px rgba(142, 31, 36, 0.35);
}
.player-shell.is-theater {
  border-color: var(--red-dim);
}
.player-shell.is-theater video {
  max-height: 78vh;
  object-fit: contain;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: #f2f4f6;
  text-shadow: 0 0 22px rgba(142, 31, 36, 0.45);
}
.movie-tagline {
  font-size: 0.8125rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  padding-left: 10px;
  border-left: 2px solid var(--red);
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.meta-item {
  font-size: 0.6875rem;
  color: var(--text-dim);
  padding: 3px 8px;
  border: 1px solid var(--line);
  background: var(--ink-3);
  white-space: nowrap;
}
.meta-score {
  color: #fff;
  border-color: var(--red);
  background: var(--red-dim);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  font-size: 0.6875rem;
  padding: 3px 8px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  background: #101215;
  white-space: nowrap;
}
.status-current {
  color: var(--cold);
  border-color: var(--steel-2);
}
.status-total {
  color: var(--text-dim);
}
.status-platform {
  color: var(--red-bright);
  border-color: var(--red-dim);
  background: rgba(142, 31, 36, 0.14);
}
.synopsis-block {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.synopsis-heading, .cast-heading, .details-heading {
  font-size: 0.75rem;
  margin-bottom: 7px;
}
.synopsis-paragraph {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.72;
  margin-bottom: 6px;
  text-align: justify;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.cast-block {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  padding: 8px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--red-dim);
  min-width: 0;
}
.cast-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #5a626c 0%, #2a2e34 62%, #17191c 100%);
  box-shadow: inset 0 0 0 1px rgba(200, 210, 220, 0.14), 0 0 0 1px var(--red-dim);
  flex: none;
}
.cast-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #eceff2;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.cast-role {
  font-size: 0.6875rem;
  color: var(--text-faint);
  line-height: 1.45;
}
.details-block {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}
.detail-pair {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed #262a2f;
  min-width: 0;
}
.detail-key {
  flex: none;
  width: 4.6em;
  font-size: 0.6875rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}
.detail-value {
  font-size: 0.75rem;
  color: var(--text);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  min-width: 0;
}
.timeline-track {
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 12px 10px 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--steel-2) var(--ink);
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: var(--ink);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--steel-2);
}
.timeline-scale {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(132px, 1fr);
  gap: 0;
  position: relative;
  padding-top: 14px;
}
.timeline-scale::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 1px;
  background: linear-gradient(90deg, var(--red-dim) 0%, var(--steel) 26%, var(--steel) 100%);
}
.timeline-node {
  position: relative;
  padding: 0 12px 0 0;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--ink);
  border: 1px solid var(--steel-2);
  transform: rotate(45deg);
}
.timeline-node:first-child::before {
  border-color: var(--red-bright);
  background: var(--red-dim);
}
.node-index {
  display: block;
  font-size: 0.625rem;
  color: var(--red-bright);
  letter-spacing: 0.14em;
  margin-bottom: 3px;
  font-weight: 700;
}
.node-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.4;
  padding-right: 8px;
  border-right: 1px solid #24272c;
}
.timeline-node:last-child .node-label {
  border-right: none;
}
.episodes-section {
  min-width: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  display: grid;
  grid-template-columns: minmax(0, 4.4em) minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 7px 9px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--steel-2);
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-left-color: var(--red-bright);
  background: #191c20;
}
.episode-index {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.episode-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cold);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.episode-duration {
  font-size: 0.625rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.episode-body {
  min-width: 0;
}
.episode-title {
  font-size: 0.75rem;
  color: #e6e9ec;
  line-height: 1.35;
  margin-bottom: 2px;
}
.episode-summary {
  font-size: 0.6875rem;
  color: var(--text-faint);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.comments-section {
  min-width: 0;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-quote {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 10px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red-dim);
  position: relative;
  min-width: 0;
}
.comment-quote::before {
  content: "“";
  position: absolute;
  top: -2px;
  right: 8px;
  font-size: 1.9rem;
  line-height: 1;
  color: rgba(142, 31, 36, 0.4);
  pointer-events: none;
}
.comment-text {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.comment-author {
  text-align: right;
  border-top: 1px solid #24272c;
  padding-top: 5px;
}
.comment-nickname {
  font-size: 0.6875rem;
  color: var(--red-bright);
  letter-spacing: 0.06em;
}
.comment-nickname::before {
  content: "— ";
  color: var(--text-faint);
}
.recommend-region {
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.recommend-heading {
  font-size: 0.75rem;
}
.recommend-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 6px;
  align-items: start;
}
.recommend-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 9px;
  align-items: center;
  padding: 6px 8px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  color: var(--text-dim);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.recommend-item:hover {
  border-color: var(--red);
  background: #1a1d21;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  grid-row: 1 / span 2;
  border: 1px solid #26292e;
  filter: brightness(0.76) saturate(0.85);
}
.recommend-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #e6e9ec;
  line-height: 1.3;
  align-self: end;
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 0.6875rem;
  color: var(--text-faint);
  line-height: 1.45;
  align-self: start;
  overflow-wrap: anywhere;
}
.region-1 .recommend-heading {
  border-left-color: var(--red-bright);
}
.region-2 .recommend-heading {
  border-left-color: var(--steel-2);
}
.region-3 .recommend-heading {
  border-left-color: var(--red-dim);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #0a0b0d;
  margin-top: 8px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px 22px;
  align-items: start;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  border-bottom-color: var(--red);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  min-width: 0;
}
.friend-links-label {
  font-size: 0.6875rem;
  color: var(--text-faint);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  color: var(--text-faint);
  text-decoration: none;
  font-size: 0.6875rem;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--red-bright);
}
.footer-disclaimer {
  font-size: 0.6875rem;
  color: var(--text-faint);
  line-height: 1.6;
  grid-column: 1 / -1;
  border-top: 1px solid #1a1d21;
  padding-top: 8px;
}
@media (max-width: 1080px) {.hero-panel {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-frame img {
    max-height: 68vh;
    width: auto;
    margin: 0 auto;
  }
.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.page-main {
    gap: 16px;
    padding: 10px 10px 20px;
  }
.movie-title {
    font-size: 1.35rem;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-column {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
.timeline-scale {
    grid-auto-columns: minmax(124px, 1fr);
  }}
@media (max-width: 480px) {.header-inner {
    gap: 8px;
    padding: 7px 10px;
  }
.movie-title {
    font-size: 1.2rem;
  }
.cast-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-column {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-frame img {
    max-height: none;
    width: 100%;
  }
.player-controls {
    gap: 4px;
  }
.ctrl {
    padding: 5px 7px;
  }}

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}
