*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #1a1f2a;
  color: #cfd6e2;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.35;
  font-size: 14px;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, dl, dd, dt, ul, li {
  margin: 0;
  padding: 0;
}
ul, li {
  list-style: none;
}
a {
  color: #8fa3bf;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 20, 28, 0.92);
  border-bottom: 1px solid #252c38;
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="site-name"].site-brand {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: #eef2f8;
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"].site-brand:hover {
  color: #e0413c;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 500;
  color: #a8b6c9;
  text-decoration: none;
  white-space: nowrap;
  background: #232a37;
  border: 1px solid #2f3746;
  border-radius: 2px;
}
a.runtime-category:hover {
  color: #fff;
  background: #e0413c;
  border-color: #e0413c;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 8px;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #eef2f8;
  text-transform: uppercase;
  padding: 12px 0 7px;
  margin-bottom: 8px;
  border-bottom: 1px solid #2a323f;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::before {
  content: "";
  width: 4px;
  height: 13px;
  background: #e0413c;
  flex: 0 0 auto;
}
.hero-section {
  position: relative;
  padding-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr);
  grid-template-areas:
    "backdrop player"
    "info info";
  gap: 10px 14px;
  align-items: start;
}
.hero-backdrop {
  grid-area: backdrop;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: #10141c;
  min-width: 0;
}
.hero-media {
  position: relative;
  width: 100%;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.86);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 20, 28, 0.55) 0%, rgba(16, 20, 28, 0) 34%, rgba(16, 20, 28, 0.86) 100%),
    linear-gradient(90deg, rgba(16, 20, 28, 0.6) 0%, rgba(16, 20, 28, 0) 60%);
  pointer-events: none;
}
.hero-countdown {
  position: absolute;
  right: 6px;
  top: 8px;
  width: 46%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0.42;
  filter: blur(1.4px);
  pointer-events: none;
}
.countdown-bar {
  display: block;
  height: 4px;
  border-radius: 1px;
  background: linear-gradient(90deg, #6d7f99 0%, #e0413c 100%);
}
.countdown-bar:nth-child(1) { width: 92%; }
.countdown-bar:nth-child(2) { width: 71%; }
.countdown-bar:nth-child(3) { width: 100%; }
.countdown-bar:nth-child(4) { width: 58%; }
.countdown-bar:nth-child(5) { width: 84%; }
.countdown-bar:nth-child(6) { width: 46%; }
.countdown-bar:nth-child(7) { width: 76%; }
.countdown-bar:nth-child(8) { width: 63%; }
.hero-meta-top {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 5px;
  z-index: 2;
}
.hero-score, .hero-episode-count {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  padding: 3px 6px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  background: rgba(16, 20, 28, 0.78);
  border: 1px solid #333c4b;
  color: #dfe6f0;
}
.hero-score {
  color: #ffb3ae;
  border-color: #5a2f2d;
  background: rgba(224, 65, 60, 0.16);
}
.hero-title-block {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px 12px;
  z-index: 2;
}
.movie-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #f4f7fb;
}
.movie-tagline {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #a9b7ca;
}
.hero-player-wrap {
  grid-area: player;
  min-width: 0;
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: #0c1016;
  border: 1px solid #2a323f;
}
.main-player {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: #141a23;
  border-top: 1px solid #232b37;
}
.player-btn {
  flex: 0 0 auto;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 500;
  color: #c6d0dd;
  background: #212936;
  border: 1px solid #2f3847;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.player-btn:hover {
  color: #fff;
  border-color: #e0413c;
  background: #2b2029;
}
.player-btn.click, .player-btn.change {
  color: #fff;
  border-color: #e0413c;
  background: #e0413c;
}
.player-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: #2f3847;
  border-radius: 2px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #e0413c;
  border: none;
}
.player-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: #e0413c;
}
.player-progress.input, .player-progress.progress {
  background: #3b4553;
}
.player-volume {
  flex: 0 0 74px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: #2f3847;
  border-radius: 2px;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8fa3bf;
  border: none;
}
.player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: #8fa3bf;
}
.player-volume.volume, .player-volume.mute {
  background: #3b4553;
}
.player-speed {
  flex: 0 0 auto;
  padding: 4px 6px;
  font-size: 12px;
  color: #c6d0dd;
  background: #212936;
  border: 1px solid #2f3847;
  border-radius: 2px;
  cursor: pointer;
}
.player-speed.speed {
  border-color: #e0413c;
}
.hero-player-wrap.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 90;
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #05070a;
}
.hero-player-wrap.theater-mode .main-player {
  max-height: 78vh;
  object-fit: contain;
}
body.lights-off {
  background: #05070a;
}
body.lights-off .hero-backdrop, body.lights-off .hero-media::after {
  opacity: 0.25;
}
body.lights-off .hero-player-wrap {
  box-shadow: 0 0 0 1px #e0413c, 0 0 44px rgba(224, 65, 60, 0.28);
}
.overview-info {
  grid-area: info;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 10px 16px;
  align-items: start;
  min-width: 0;
  background: #1e2531;
  border: 1px solid #2a323f;
  border-radius: 3px;
  padding: 4px 12px 12px;
}
.cast-section {
  grid-column: 1;
  min-width: 0;
}
.synopsis-section {
  grid-column: 2;
  min-width: 0;
}
.episode-status-section {
  grid-column: 1;
  min-width: 0;
}
.details-section {
  grid-column: 1 / -1;
  min-width: 0;
}
.cast-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 6px;
  scrollbar-width: thin;
}
.cast-strip::-webkit-scrollbar {
  height: 6px;
}
.cast-strip::-webkit-scrollbar-thumb {
  background: #333c4b;
  border-radius: 3px;
}
.cast-card {
  flex: 0 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.cast-avatar {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #5d6d86 0%, #334054 52%, #1c2532 100%);
  border: 1px solid #3a4557;
  box-shadow: inset 0 0 0 2px rgba(224, 65, 60, 0.16);
}
.cast-card:hover .cast-avatar {
  border-color: #e0413c;
  box-shadow: inset 0 0 0 2px rgba(224, 65, 60, 0.4);
}
.cast-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: #e4eaf3;
}
.cast-role {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  color: #8b99ad;
}
.synopsis-body {
  display: grid;
  gap: 7px;
}
.synopsis-paragraph {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.55;
  color: #b3bfd0;
  text-align: justify;
}
.status-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.status-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  background: #232b38;
  border-left: 2px solid #e0413c;
  border-radius: 2px;
  min-width: 0;
}
.status-key {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #8b99ad;
}
.status-value {
  font-size: 14px;
  font-weight: 700;
  color: #eef2f8;
  white-space: nowrap;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 2px 14px;
  align-items: start;
}
.detail-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed #2c3543;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 400;
  color: #8b99ad;
}
.detail-value {
  flex: 1 1 auto;
  text-align: right;
  font-size: 12.5px;
  font-weight: 600;
  color: #dce4ef;
}
.timeline-section {
  margin-top: 6px;
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 6px 0 40px;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 1px;
  background: #333c4b;
}
.timeline-node {
  position: relative;
  flex: 1 1 0;
  min-width: 96px;
  padding-top: 16px;
  padding-right: 10px;
}
.timeline-dot {
  position: absolute;
  top: 4px;
  left: 0;
  width: 9px;
  height: 9px;
  background: #e0413c;
  border-radius: 1px;
  box-shadow: 0 0 0 2px #1a1f2a;
  z-index: 1;
}
.timeline-timecode {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffb3ae;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.timeline-label {
  display: block;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.3;
  color: #9fabbf;
  max-width: 130px;
  transform: rotate(45deg);
  transform-origin: left top;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.episodes-section {
  margin-top: 4px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  border-top: 1px solid #2a323f;
}
.episode-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 7px 8px;
  border-bottom: 1px solid #252d3a;
  border-radius: 2px;
  transition: background 0.15s ease;
}
.episode-row:hover {
  background: #232b38;
}
.episode-number-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  border-left: 2px solid #e0413c;
  padding-left: 7px;
}
.episode-number {
  font-size: 12.5px;
  font-weight: 700;
  color: #eef2f8;
  white-space: nowrap;
}
.episode-duration {
  font-size: 10.5px;
  font-weight: 300;
  color: #7f8ca0;
  white-space: nowrap;
}
.episode-info-col {
  min-width: 0;
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: #dde5f0;
  line-height: 1.3;
}
.episode-summary {
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.45;
  color: #96a3b6;
}
.comments-section {
  margin-top: 6px;
}
.comments-grid {
  column-count: 2;
  column-gap: 14px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  padding: 7px 9px;
  margin-bottom: 8px;
  background: #1e2531;
  border: 1px solid #2a323f;
  border-left: 2px solid #3a4557;
  border-radius: 2px;
}
.comment-card:hover {
  border-left-color: #e0413c;
  background: #232b38;
}
.comment-nickname {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #c8d3e2;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  color: #9fabbf;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region {
  margin-top: 4px;
}
.recommend-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.recommend-region:nth-of-type(1) .recommend-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-region:nth-of-type(2) .recommend-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.recommend-region:nth-of-type(3) .recommend-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: #1e2531;
  border: 1px solid #2a323f;
  border-radius: 3px;
  color: #cfd6e2;
  text-decoration: none;
  min-width: 0;
}
a.recommend-card:hover {
  border-color: #e0413c;
  background: #232b38;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: #10141c;
  filter: saturate(0.78) brightness(0.9);
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(1) brightness(1);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #e4eaf3;
}
.recommend-blurb {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.4;
  color: #8b99ad;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 10px auto 0;
  padding: 12px 16px 24px;
  border-top: 1px solid #2a323f;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7f8ca0;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  font-weight: 400;
  color: #8fa3bf;
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 7px;
  background: #1e2531;
  border: 1px solid #2a323f;
  border-radius: 2px;
}
a.runtime-friend-link:hover {
  color: #fff;
  border-color: #e0413c;
  background: #2b2029;
}
.disclaimer-text {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.5;
  color: #6d7a8d;
}
.footer-nav {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  font-weight: 500;
  color: #9fb0c7;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e0413c;
  border-bottom-color: #e0413c;
}
@media (max-width: 960px) {.hero-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "backdrop"
      "player"
      "info";
  }
.overview-info {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-section, .synopsis-section, .episode-status-section, .details-section {
    grid-column: 1 / -1;
  }
.recommend-region:nth-of-type(1) .recommend-grid, .recommend-region:nth-of-type(2) .recommend-grid, .recommend-region:nth-of-type(3) .recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-grid {
    column-count: 1;
  }
.recommend-region:nth-of-type(1) .recommend-grid, .recommend-region:nth-of-type(2) .recommend-grid, .recommend-region:nth-of-type(3) .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    min-width: 84px;
  }
.timeline-label {
    max-width: 104px;
  }}
@media (max-width: 480px) {body {
    font-size: 13px;
  }
.header-inner {
    padding: 7px 12px;
  }
.page-main {
    padding: 0 12px 8px;
  }
.movie-title {
    font-size: 19px;
  }
.hero-backdrop .hero-countdown {
    width: 52%;
  }
.player-btn {
    padding: 4px 7px;
    font-size: 11.5px;
  }
.status-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-region:nth-of-type(1) .recommend-grid, .recommend-region:nth-of-type(2) .recommend-grid, .recommend-region:nth-of-type(3) .recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-row {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 8px;
  }}

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}
