*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, dt, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
:root {
  --ink: #0d0f11;
  --ink-2: #12171a;
  --panel: #161c1f;
  --panel-2: #1a2125;
  --rule: #2a3439;
  --rule-soft: #20292d;
  --silver: #c8d2d4;
  --silver-dim: #8d9ba0;
  --cyan: #6fa8b0;
  --cyan-deep: #3f6b73;
  --brown: #7a5a45;
  --brown-deep: #4a3428;
  --red: #c0392b;
  --red-soft: #d4544a;
  --bg-grad: radial-gradient(120% 90% at 12% 0%, #1a2226 0%, #0e1214 55%, #0a0d0f 100%);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
}
html, body {
  background: var(--ink);
}
body {
  font-family: var(--font);
  color: var(--silver);
  background: var(--bg-grad);
  background-attachment: fixed;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 15, 17, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--silver);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--red-soft);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 14px;
}
a.runtime-category {
  color: var(--silver-dim);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-category:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan-deep);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.page-main > section {
  border-top: 1px solid var(--rule);
  padding: 14px 0 16px;
}
.page-main > section:first-child {
  border-top: none;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-left: 10px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background: var(--red);
}
.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 0;
  background: linear-gradient(135deg, #10171a 0%, #0b0f11 60%, #150f0c 100%);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.hero-media {
  position: relative;
  align-self: start;
  overflow: hidden;
}
.poster-image {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.72) contrast(1.06) brightness(0.92);
}
.hero-overlay {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 22px 22px 20px;
  min-height: 100%;
  background:
    linear-gradient(90deg, rgba(10, 13, 15, 0.96) 0%, rgba(10, 13, 15, 0.55) 42%, rgba(10, 13, 15, 0.1) 100%),
    radial-gradient(80% 120% at 90% 10%, rgba(192, 57, 43, 0.18) 0%, rgba(192, 57, 43, 0) 60%);
}
.hero-waveform {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 0 8px;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.wave-bar {
  flex: 1 1 0;
  min-width: 2px;
  height: 34%;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--cyan-deep) 100%);
  border-radius: 1px;
  align-self: center;
}
.wave-bar:nth-child(1) { height: 18%; }
.wave-bar:nth-child(2) { height: 44%; }
.wave-bar:nth-child(3) { height: 72%; }
.wave-bar:nth-child(4) { height: 30%; }
.wave-bar:nth-child(5) { height: 88%; }
.wave-bar:nth-child(6) { height: 52%; }
.wave-bar:nth-child(7) { height: 24%; }
.wave-bar:nth-child(8) { height: 66%; }
.wave-bar:nth-child(9) { height: 96%; }
.wave-bar:nth-child(10) { height: 40%; }
.wave-bar:nth-child(11) { height: 58%; }
.wave-bar:nth-child(12) { height: 20%; }
.hero-sprocket {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 6px 5px;
  gap: 6px;
  pointer-events: none;
  z-index: 0;
}
.sprocket-hole {
  width: 10px;
  height: 14px;
  border: 1px solid rgba(200, 210, 212, 0.16);
  border-radius: 2px;
  background: rgba(13, 15, 17, 0.5);
  flex: 0 0 auto;
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 46ch;
}
.movie-title {
  font-size: clamp(26px, 4.4vw, 44px);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.05;
  color: #eef3f3;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6), 0 0 26px rgba(192, 57, 43, 0.22);
}
.movie-tagline {
  font-size: 13.5px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--silver-dim);
  max-width: 40ch;
}
.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.meta-chip {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--silver);
  padding: 3px 8px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(22, 28, 31, 0.78);
  white-space: nowrap;
}
.meta-chip:nth-child(5) {
  color: var(--red-soft);
  border-color: rgba(192, 57, 43, 0.5);
}
.hero-player {
  position: relative;
  width: 100%;
  background: #0a0c0e;
  border: 1px solid var(--rule);
}
.hero-player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050708;
}
.player-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--panel-2);
  border-top: 1px solid var(--rule);
}
.player-btn {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--silver);
  background: #101618;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 5px 9px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.player-btn:hover {
  background: #182124;
  border-color: var(--cyan-deep);
  color: #e6eeee;
}
.player-btn.is-active {
  background: rgba(192, 57, 43, 0.18);
  border-color: var(--red);
  color: #f0d8d5;
}
.player-btn.is-muted {
  color: var(--red-soft);
  border-color: rgba(192, 57, 43, 0.55);
}
.player-range {
  flex: 1 1 120px;
  min-width: 80px;
  height: 18px;
  accent-color: var(--red);
  background: transparent;
  cursor: pointer;
}
.player-select {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--silver);
  background: #101618;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 5px 6px;
  cursor: pointer;
}
.hero-panel.theater-mode .hero-stage {
  border-color: var(--red);
}
.hero-panel.theater-mode .hero-player {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(192, 57, 43, 0.25), 0 0 34px rgba(192, 57, 43, 0.12);
}
.hero-panel.lights-off {
  filter: brightness(0.62) saturate(0.85);
}
.hero-panel.lights-off .hero-copy, .hero-panel.lights-off .player-bar {
  filter: brightness(1.5);
}
.episode-status {
  border: 1px solid var(--rule-soft);
  border-left: 3px solid var(--red);
  background: rgba(22, 28, 31, 0.6);
  padding: 8px 12px;
}
.status-line {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}
.cast-panel {
  padding-top: 2px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  padding: 9px 10px;
  background: var(--panel);
  border: 1px solid var(--rule-soft);
  border-top: 2px solid var(--brown-deep);
  min-height: 0;
}
.cast-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e4ecec;
}
.cast-role {
  font-size: 11.5px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--silver-dim);
}
.synopsis-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px 20px;
  align-items: start;
}
.synopsis-panel .section-heading {
  grid-column: 1 / -1;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.62;
  color: #b6c1c3;
  border-left: 1px solid var(--rule-soft);
  padding-left: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 18px;
  border-top: 1px solid var(--rule-soft);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 2px;
  border-bottom: 1px solid var(--rule-soft);
}
.detail-key {
  flex: 0 0 auto;
  min-width: 5.2em;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--silver-dim);
}
.detail-value {
  font-size: 13px;
  color: #dde5e6;
  letter-spacing: 0.02em;
}
.timeline-section {
  overflow: hidden;
}
.timeline-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  background: linear-gradient(180deg, #14191c 0%, #0f1416 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 12px 6px;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 9px 6px 12px;
  border-right: 1px dashed var(--rule);
  min-height: 0;
}
.timeline-node:last-child {
  border-right: none;
}
.node-sprocket {
  width: 100%;
  height: 7px;
  border-radius: 1px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(200, 210, 212, 0.3) 0 5px,
    transparent 5px 11px
  );
  opacity: 0.7;
}
.node-timecode {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}
.node-label {
  font-size: 12.5px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #b8c3c5;
}
.timeline-node--active {
  background: linear-gradient(180deg, rgba(192, 57, 43, 0.16) 0%, rgba(192, 57, 43, 0.02) 100%);
  box-shadow: inset 0 -2px 0 var(--red);
}
.timeline-node--active .node-sprocket {
  background-image: repeating-linear-gradient(
    90deg,
    var(--red-soft) 0 5px,
    transparent 5px 11px
  );
  opacity: 1;
}
.timeline-node--active .node-timecode {
  color: var(--red-soft);
}
.timeline-node--active .node-label {
  color: #eef3f3;
}
.episodes-layout {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.episodes-rail {
  position: sticky;
  top: 58px;
  align-self: start;
  border: 1px solid var(--rule-soft);
  background: rgba(18, 23, 26, 0.72);
  padding: 6px;
}
.episode-number-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.episode-number-item {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--silver-dim);
  padding: 5px 8px;
  border-left: 2px solid transparent;
  cursor: default;
  transition: color 0.15s ease, background 0.15s ease;
}
.episode-number-item:hover {
  color: var(--silver);
  background: rgba(111, 168, 176, 0.08);
}
.episode-number-item--active {
  color: #f2e6e4;
  background: rgba(192, 57, 43, 0.16);
  border-left-color: var(--red);
}
.episodes-detail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 11px;
  background: var(--panel);
  border: 1px solid var(--rule-soft);
  border-left: 2px solid var(--brown-deep);
  min-height: 0;
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e2eaea;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.5;
  color: #a3afb2;
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan-deep);
  margin-top: auto;
}
.episode-card--active {
  border-left-color: var(--red);
  background: linear-gradient(180deg, rgba(192, 57, 43, 0.12) 0%, var(--panel) 70%);
}
.episode-card--active .episode-title {
  color: var(--red-soft);
}
.episode-card--active .episode-duration {
  color: var(--red-soft);
}
.comments-section {
  overflow: visible;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px 12px;
  background: rgba(22, 28, 31, 0.82);
  border: 1px solid var(--rule-soft);
  border-top: 1px solid var(--rule);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.comment-card:nth-child(2n) {
  margin-top: 14px;
  background: rgba(26, 33, 37, 0.82);
}
.comment-card:nth-child(3n) {
  margin-top: 6px;
  border-left: 2px solid var(--brown-deep);
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: #aeb9bb;
}
.recommend-region {
  padding-top: 12px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  text-decoration: none;
  color: var(--silver);
  background: var(--panel);
  border: 1px solid var(--rule-soft);
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
  min-height: 0;
}
a.recommend-card:hover {
  border-color: var(--cyan-deep);
  background: var(--panel-2);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0a0d0f;
  filter: saturate(0.7) contrast(1.05);
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(0.95) contrast(1.08);
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e2eaea;
  line-height: 1.3;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--silver-dim);
}
.site-footer {
  border-top: 1px solid var(--rule);
  background: #0b0e10;
  padding: 14px 16px 22px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.55;
  color: #6f7c80;
  letter-spacing: 0.02em;
  max-width: 90ch;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding-top: 8px;
  border-top: 1px solid var(--rule-soft);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brown);
  text-transform: uppercase;
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--silver-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--rule-soft);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--silver-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--red-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1080px) {.cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px 0;
  }
.timeline-node {
    border-right: 1px dashed var(--rule);
    border-bottom: 1px dashed var(--rule);
    padding-bottom: 10px;
  }
.episodes-detail {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }}
@media (max-width: 860px) {.hero-stage {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  }
.synopsis-panel {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-grid {
    gap: 8px 12px;
  }
.comment-card:nth-child(2n) {
    margin-top: 10px;
  }}
@media (max-width: 720px) {.header-inner {
    padding: 8px 12px;
  }
.page-main {
    padding: 0 12px 16px;
  }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-media {
    max-width: 220px;
  }
.hero-overlay {
    padding: 16px 14px 16px;
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(10, 13, 15, 0.2) 0%, rgba(10, 13, 15, 0.92) 55%),
      radial-gradient(90% 120% at 90% 0%, rgba(192, 57, 43, 0.16) 0%, rgba(192, 57, 43, 0) 60%);
  }
.hero-copy {
    max-width: none;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episodes-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.episodes-rail {
    position: static;
    top: auto;
  }
.episode-number-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
.episode-number-item {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 4px 8px;
    background: rgba(22, 28, 31, 0.6);
  }
.episode-number-item--active {
    border-bottom-color: var(--red);
    border-left-color: transparent;
  }
.episodes-detail {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
.comments-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(2n), .comment-card:nth-child(3n) {
    margin-top: 0;
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }}
@media (max-width: 460px) {body {
    font-size: 13.5px;
  }
.cast-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-strip {
    grid-template-columns: minmax(0, 1fr);
  }
.episodes-detail {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-item {
    flex-direction: column;
    gap: 2px;
  }
.detail-key {
    min-width: 0;
  }
.player-bar {
    gap: 5px;
  }
.player-btn {
    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}
