*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #0a0e14;
  color: #e8ecf1;
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
.main-stage {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  max-width: 1440px;
  margin: 0 auto;
}
.site-name-link {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f2f5f8;
  text-transform: uppercase;
  transition: color 0.2s;
}
.site-name-link:hover {
  color: #ff2846;
}
.categories-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.categories-bar::-webkit-scrollbar { display: none; }
.runtime-category {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #9aa5b5;
  border: 1px solid transparent;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.runtime-category:hover, .runtime-category:focus {
  color: #ff2846;
  border-color: rgba(255, 40, 70, 0.4);
  background: rgba(255, 40, 70, 0.06);
}
.hero-screen {
  position: relative;
  padding: 48px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.hero-screen__player {
  width: 100%;
  max-width: 960px;
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(255, 40, 70, 0.08), 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-screen__player video {
  width: 100%;
  height: auto;
  background: #05070a;
}
.hero-screen__player.theater-mode video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.player-controls button {
  background: transparent;
  border: none;
  color: #b8c0cc;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}
.player-controls button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.player-controls button:active {
  background: rgba(255, 40, 70, 0.2);
  color: #ff2846;
}
.hero-screen__tagline {
  text-align: center;
  max-width: 800px;
}
.hero-screen__tagline-text {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #b8c0cc;
  border-left: 3px solid #ff2846;
  padding-left: 20px;
  line-height: 1.4;
}
body.lights-out .site-header, body.lights-out .main-stage > section:not(.hero-screen), body.lights-out .site-footer {
  opacity: 0.04;
  transition: opacity 0.4s;
}
body.lights-out .hero-screen__player {
  box-shadow: 0 0 120px rgba(0, 0, 0, 0.9);
}
.movie-overview {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 20, 28, 0.5);
  border-radius: 16px;
  padding: 40px 32px;
  margin: 24px 0;
}
.movie-overview__poster-col {
  align-self: start;
}
.poster-wrapper {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.poster-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}
.movie-overview__info-col {
  min-width: 0;
}
.movie-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #f2f5f8;
  margin-bottom: 12px;
  line-height: 1.3;
}
.movie-tagline {
  font-size: 15px;
  color: #ff2846;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  font-weight: 400;
}
.section-subheading {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #b8c0cc;
  margin-bottom: 16px;
  position: relative;
  padding-left: 14px;
}
.section-subheading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: #ff2846;
  border-radius: 2px;
}
.synopsis-block {
  margin-bottom: 36px;
}
.synopsis-text {
  color: #c5cdd8;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
  max-width: 70ch;
}
.cast-block {
  margin-bottom: 36px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  text-align: center;
}
.cast-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a3441 0%, #1a2130 100%);
  border: 2px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}
.cast-card__avatar::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 50% 70%, rgba(255, 40, 70, 0.25) 0%, transparent 70%);
}
.cast-card__name {
  font-size: 14px;
  font-weight: 500;
  color: #e8ecf1;
  letter-spacing: 0.1em;
}
.episode-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 14px;
  color: #9aa5b5;
}
.episode-status__current, .episode-status__total {
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
}
.episode-status__separator {
  color: #ff2846;
  font-weight: 700;
}
.detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px 24px;
}
.detail-meta li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: #c5cdd8;
}
.detail-meta__label {
  color: #8296a8;
  font-size: 13px;
  min-width: 60px;
  flex-shrink: 0;
}
.timeline-section {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.section-heading {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #e8ecf1;
  margin-bottom: 28px;
  position: relative;
  padding-left: 16px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 22px;
  background: #ff2846;
  border-radius: 3px;
}
.timeline-scroll {
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: #ff2846 rgba(255, 255, 255, 0.08);
}
.timeline-scroll::-webkit-scrollbar {
  height: 4px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: #ff2846;
  border-radius: 2px;
}
.timeline-track {
  display: flex;
  gap: 0;
  min-width: max-content;
  padding: 0 8px;
  position: relative;
}
.timeline-track::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 40, 70, 0.6) 0%, rgba(255, 40, 70, 0.15) 100%);
}
.timeline-item {
  position: relative;
  padding: 0 24px;
  padding-top: 32px;
  max-width: 220px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff2846;
  box-shadow: 0 0 0 4px rgba(255, 40, 70, 0.2), 0 0 12px rgba(255, 40, 70, 0.5);
}
.timeline-item__time {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #ff2846;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.timeline-item__label {
  font-size: 14px;
  color: #b8c0cc;
  line-height: 1.5;
}
.episodes-section {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.episode-card {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(15, 20, 28, 0.8);
  transition: background 0.2s;
}
.episode-card:hover {
  background: rgba(25, 32, 44, 0.9);
}
.episode-card__number {
  font-size: 24px;
  font-weight: 800;
  color: #ff2846;
  opacity: 0.7;
  min-width: 40px;
  line-height: 1;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.episode-card__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.episode-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #e8ecf1;
  letter-spacing: 0.06em;
}
.episode-card__summary {
  font-size: 13px;
  color: #8296a8;
  line-height: 1.5;
}
.episode-card__duration {
  font-size: 12px;
  color: #5a6a7a;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.comments-section {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.comment-item {
  padding: 20px;
  background: rgba(15, 20, 28, 0.5);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.comment-item__quote {
  width: 24px;
  height: 18px;
  position: relative;
  opacity: 0.5;
}
.comment-item__quote::before {
  content: "\"";
  font-size: 48px;
  font-weight: 700;
  color: #ff2846;
  line-height: 1;
  position: absolute;
  top: -16px;
  left: 0;
  font-family: Georgia, serif;
}
.comment-item__text {
  font-size: 14px;
  color: #c5cdd8;
  line-height: 1.7;
}
.comment-item__author {
  font-size: 13px;
  color: #8296a8;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-top: auto;
}
.recommend-region {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.recommend-region__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #e8ecf1;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.recommend-region__title::before {
  content: "";
  width: 20px;
  height: 2px;
  background: #ff2846;
  display: inline-block;
  flex-shrink: 0;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: rgba(15, 20, 28, 0.4);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
  height: auto;
}
.recommend-card:hover {
  border-color: rgba(255, 40, 70, 0.4);
  background: rgba(20, 26, 36, 0.7);
  transform: translateY(-2px);
}
.recommend-card__poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #0d1117;
  flex-shrink: 0;
}
.recommend-card__name {
  font-size: 14px;
  font-weight: 600;
  color: #e8ecf1;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.recommend-card__blurb {
  font-size: 12px;
  color: #8296a8;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 24px 40px;
  background: rgba(8, 11, 16, 0.8);
}
.footer__disclaimer {
  max-width: 800px;
  font-size: 12px;
  color: #5a6a7a;
  line-height: 1.6;
  margin-bottom: 20px;
}
.footer__nav {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}
.footer__link {
  font-size: 14px;
  color: #9aa5b5;
  transition: color 0.2s;
}
.footer__link:hover {
  color: #ff2846;
}
.footer__friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.friend-links__label {
  font-size: 13px;
  color: #5a6a7a;
  letter-spacing: 0.1em;
  margin-right: 8px;
}
.runtime-friend-link {
  font-size: 13px;
  color: #8296a8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.runtime-friend-link:hover {
  color: #ff2846;
  border-bottom-color: rgba(255, 40, 70, 0.3);
}
@media (max-width: 1024px) {.movie-overview {
    grid-template-columns: 240px 1fr;
    gap: 28px;
    padding: 32px 24px;
  }
.movie-title {
    font-size: 24px;
  }
.episode-grid {
    grid-template-columns: 1fr 1fr;
  }}
@media (max-width: 768px) {.main-stage {
    padding: 0 16px;
  }
.header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
  }
.categories-bar {
    width: 100%;
  }
.movie-overview {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px;
  }
.poster-wrapper {
    max-width: 220px;
    margin: 0 auto;
  }
.hero-screen {
    padding: 32px 0 24px;
  }
.hero-screen__tagline-text {
    font-size: 18px;
  }
.episode-grid {
    grid-template-columns: 1fr;
  }
.comment-list {
    grid-template-columns: 1fr;
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
.timeline-item {
    padding: 0 16px;
    padding-top: 32px;
    max-width: 180px;
  }
.detail-meta {
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
  }
.cast-list {
    grid-template-columns: repeat(2, 1fr);
  }}
@media (max-width: 480px) {body {
    font-size: 14px;
  }
.hero-screen__player {
    min-width: 0;
    width: 100%;
  }
.player-controls {
    gap: 4px;
    padding: 8px 10px;
  }
.player-controls button {
    font-size: 12px;
    padding: 4px 8px;
  }
.recommend-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
.recommend-card {
    padding: 8px;
  }
.recommend-card__name {
    font-size: 12px;
  }
.recommend-card__blurb {
    font-size: 11px;
  }
.detail-meta {
    grid-template-columns: 1fr;
  }
.episode-card {
    padding: 12px 14px;
    gap: 12px;
  }
.episode-card__number {
    font-size: 20px;
    min-width: 32px;
  }
.footer__friend-links {
    gap: 8px;
  }
.footer__nav {
    flex-wrap: wrap;
    gap: 12px;
  }
.section-heading {
    font-size: 18px;
  }
.timeline-scroll {
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }}

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}
