*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: radial-gradient(ellipse at 20% 0%, #0a0e2a 0%, #05060f 45%, #020308 100%);
  color: #e8e9f3;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.02em;
}
a {
  color: inherit;
  text-decoration: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  border-bottom: 1px solid rgba(124, 92, 255, 0.25);
  background: rgba(5, 6, 15, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1.5rem;
}
.site-brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f0f1ff;
  text-transform: uppercase;
  border-left: 3px solid #7c5cff;
  padding-left: 0.8rem;
  line-height: 1.2;
  transition: color 0.25s ease;
}
.site-brand:hover {
  color: #b3a4ff;
}
.categories-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  justify-content: flex-end;
  align-items: center;
}
.categories-shell .runtime-category {
  display: inline-block;
  color: #9ea3c9;
  font-size: 0.85rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(124, 92, 255, 0.35);
  border-radius: 2px;
  background: rgba(124, 92, 255, 0.06);
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.categories-shell .runtime-category:hover {
  background: rgba(124, 92, 255, 0.18);
  border-color: #7c5cff;
  color: #fff;
}
main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}
.movie-info-unit {
  margin: 1.8rem 0 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  background: linear-gradient(145deg, rgba(16, 20, 42, 0.9), rgba(8, 10, 24, 0.92));
  border: 1px solid rgba(124, 92, 255, 0.18);
  border-radius: 6px;
  padding: 1.8rem 1.8rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}
.poster-player-wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.poster-shell {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #0a0c1a;
  aspect-ratio: 2 / 3;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.main-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.1);
}
.player-shell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.player-shell video {
  border-radius: 4px;
  background: #000;
  border: 1px solid rgba(124, 92, 255, 0.25);
  box-shadow: 0 0 24px rgba(90, 120, 255, 0.08);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}
.player-controls button {
  font-size: 0.78rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(160, 170, 220, 0.35);
  border-radius: 2px;
  color: #b6bbdb;
  background: rgba(20, 24, 50, 0.7);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.player-controls button:hover {
  background: rgba(124, 92, 255, 0.25);
  border-color: #7c5cff;
  color: #fff;
}
.title-tagline-group {
  border-bottom: 1px solid rgba(124, 92, 255, 0.2);
  padding-bottom: 0.8rem;
}
.movie-title {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #f4f5ff;
  line-height: 1.3;
  font-stretch: condensed;
}
.movie-tagline {
  font-size: 0.95rem;
  color: #b3a4ff;
  margin-top: 0.3rem;
  letter-spacing: 0.08em;
  font-weight: 300;
}
.details-panel {
  padding: 0.8rem 0 0.4rem;
  border-bottom: 1px solid rgba(124, 92, 255, 0.15);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem 1rem;
  list-style: none;
}
.detail-item {
  display: flex;
  gap: 0.4rem;
  font-size: 0.85rem;
  line-height: 1.4;
}
.detail-item dt {
  color: #9ea3c9;
  font-weight: 400;
  white-space: nowrap;
}
.detail-item dd {
  color: #e0e2f5;
  font-weight: 500;
}
.synopsis-block {
  padding: 0.8rem 0 0.4rem;
  border-bottom: 1px solid rgba(124, 92, 255, 0.15);
}
.section-subheading {
  font-size: 1rem;
  font-weight: 700;
  color: #c5c8e8;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  font-stretch: condensed;
}
.synopsis-para {
  font-size: 0.9rem;
  color: #b8bcd6;
  margin-bottom: 0.7rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 72ch;
}
.cast-section {
  padding: 0.8rem 0 0.4rem;
  border-bottom: 1px solid rgba(124, 92, 255, 0.15);
}
.cast-horizontal-scroll {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: #7c5cff transparent;
}
.cast-horizontal-scroll::-webkit-scrollbar {
  height: 4px;
}
.cast-horizontal-scroll::-webkit-scrollbar-thumb {
  background: #7c5cff;
  border-radius: 2px;
}
.cast-card {
  flex: 0 0 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}
.cast-portrait {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1f3a, #2c2f5a);
  border: 2px solid rgba(124, 92, 255, 0.6);
  position: relative;
  overflow: hidden;
}
.cast-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(180, 190, 255, 0.1), transparent 60%);
}
.cast-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e8e9f3;
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 0.75rem;
  color: #9ea3c9;
  font-weight: 300;
}
.episode-status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  padding-top: 0.6rem;
  font-size: 0.85rem;
}
.episode-total, .episode-current, .episode-last {
  display: inline-block;
}
.episode-total {
  color: #7c5cff;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid rgba(124, 92, 255, 0.5);
  padding: 0.2rem 0.8rem;
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.1);
}
.episode-current {
  color: #b3a4ff;
  font-weight: 500;
}
.episode-last {
  color: #9ea3c9;
  font-style: italic;
}
.section-heading {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #e8e9f3;
  margin: 2.6rem 0 1.1rem;
  position: relative;
  padding-left: 1rem;
  font-stretch: condensed;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  background: linear-gradient(180deg, #7c5cff, #4a6cf7);
  border-radius: 2px;
}
.timeline-section {
  margin-bottom: 1.2rem;
}
.timeline-wrap {
  position: relative;
  padding-left: 2.2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 2.5rem;
}
.timeline-wrap::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #7c5cff, #4a6cf7, #7c5cff);
  opacity: 0.4;
}
.timeline-item {
  position: relative;
  padding: 0.5rem 0.8rem;
  background: rgba(12, 15, 32, 0.7);
  border: 1px solid rgba(124, 92, 255, 0.12);
  border-radius: 3px;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 4px;
  background: #7c5cff;
  border: 2px solid #0a0c1a;
  box-shadow: 0 0 10px rgba(124, 92, 255, 0.6);
}
.timecode {
  font-size: 0.8rem;
  font-weight: 700;
  color: #7c5cff;
  white-space: nowrap;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.label {
  font-size: 0.88rem;
  color: #b8bcd6;
  font-weight: 300;
}
.episodes-section {
  margin-bottom: 1.2rem;
}
.episode-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.episode-card {
  background: linear-gradient(135deg, rgba(14, 18, 38, 0.9), rgba(8, 10, 24, 0.85));
  border: 1px solid rgba(124, 92, 255, 0.2);
  border-radius: 4px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.25s ease, transform 0.2s ease;
  min-height: 0;
}
.episode-card:hover {
  border-color: rgba(124, 92, 255, 0.6);
  transform: translateY(-2px);
}
.episode-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: #7c5cff;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}
.episode-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e8e9f3;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.episode-summary {
  font-size: 0.82rem;
  color: #9ea3c9;
  font-weight: 300;
  line-height: 1.6;
  flex-grow: 1;
}
.episode-duration {
  font-size: 0.75rem;
  color: #6b719a;
  font-variant-numeric: tabular-nums;
  border-top: 1px dashed rgba(124, 92, 255, 0.2);
  padding-top: 0.4rem;
}
.comments-masonry {
  margin-bottom: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  align-items: start;
}
.comments-masonry .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 0.4rem;
}
.comment-bubble {
  background: rgba(16, 20, 42, 0.75);
  border: 1px solid rgba(160, 170, 220, 0.15);
  border-radius: 12px 12px 12px 4px;
  padding: 0.9rem 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.comment-bubble::before {
  content: "";
  position: absolute;
  left: -5px;
  bottom: 12px;
  width: 10px;
  height: 10px;
  background: rgba(16, 20, 42, 0.85);
  border-left: 1px solid rgba(160, 170, 220, 0.15);
  border-bottom: 1px solid rgba(160, 170, 220, 0.15);
  transform: rotate(45deg);
  z-index: 0;
  border-radius: 2px 0 0 0;
}
.comment-nickname {
  font-size: 0.82rem;
  font-weight: 700;
  color: #b3a4ff;
  letter-spacing: 0.04em;
  z-index: 1;
}
.comment-text {
  font-size: 0.85rem;
  color: #b8bcd6;
  font-weight: 300;
  line-height: 1.6;
  z-index: 1;
}
.recommend-region {
  margin: 2rem 0;
  padding: 1.2rem 1.2rem 1.4rem;
  background: rgba(8, 10, 24, 0.6);
  border: 1px solid rgba(124, 92, 255, 0.12);
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: start;
}
.recommend-title {
  grid-column: 1 / -1;
  font-size: 1rem;
  font-weight: 700;
  color: #c5c8e8;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.8rem;
  background: rgba(124, 92, 255, 0.12);
  border-left: 3px solid #7c5cff;
  border-radius: 0 4px 4px 0;
  display: inline-block;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
.recommend-region[data-recommendation-region="2"] {
  grid-template-columns: repeat(3, 1fr);
}
.recommend-region[data-recommendation-region="3"] {
  grid-template-columns: repeat(3, 1fr);
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(14, 18, 38, 0.8);
  border: 1px solid rgba(124, 92, 255, 0.15);
  border-radius: 4px;
  padding: 0.8rem;
  transition: all 0.25s ease;
  color: #e8e9f3;
  text-decoration: none;
  min-width: 0;
}
.recommend-card:hover {
  border-color: #7c5cff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(124, 92, 255, 0.15);
}
.recommend-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
  background: #0a0c1a;
}
.recommend-card span[data-runtime="name"] {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.recommend-card span[data-runtime="blurb"] {
  font-size: 0.78rem;
  color: #9ea3c9;
  font-weight: 300;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
footer {
  border-top: 1px solid rgba(124, 92, 255, 0.2);
  padding: 1.8rem 2rem 2.5rem;
  background: rgba(3, 4, 10, 0.8);
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  justify-content: space-between;
}
.disclaimer {
  font-size: 0.78rem;
  color: #6b719a;
  line-height: 1.6;
  max-width: 60ch;
  flex-basis: 100%;
}
footer a[data-contract="footer-home"], footer a[data-contract="footer-sitemap"] {
  font-size: 0.85rem;
  color: #b3a4ff;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 2px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
footer a[data-contract="footer-home"]:hover, footer a[data-contract="footer-sitemap"]:hover {
  background: rgba(124, 92, 255, 0.15);
  border-color: #7c5cff;
  color: #fff;
}
footer nav[aria-label="友情链接"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  flex-basis: 100%;
  margin-top: 0.4rem;
}
.friend-link-label {
  font-size: 0.8rem;
  color: #9ea3c9;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-right: 0.3rem;
}
.runtime-friend-link {
  font-size: 0.8rem;
  color: #8a8fbd;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.runtime-friend-link:hover {
  color: #b3a4ff;
  text-decoration: underline;
  text-decoration-color: rgba(124, 92, 255, 0.5);
}
.player { position: relative; }
.player.theater-mode {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.player.theater-mode video {
  max-height: 100%;
  width: auto;
  max-width: 100%;
}
body.light-off {
  background: #000;
}
body.light-off .movie-info-unit, body.light-off .timeline-section, body.light-off .episodes-section, body.light-off .comments-masonry, body.light-off .recommend-region, body.light-off footer {
  opacity: 0.15;
  transition: opacity 0.4s ease;
}
body.light-off .player-shell, body.light-off .poster-shell {
  opacity: 1;
  z-index: 50;
}
@media (max-width: 1100px) {.movie-info-unit {
    padding: 1.4rem;
  }
.poster-player-wrap {
    grid-template-columns: 180px minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: repeat(3, 1fr);
  }
.episode-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.comments-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
.recommend-region {
    grid-template-columns: repeat(2, 1fr);
  }
.recommend-region[data-recommendation-region="2"], .recommend-region[data-recommendation-region="3"] {
    grid-template-columns: repeat(2, 1fr);
  }}
@media (max-width: 768px) {header {
    padding: 0.8rem 1rem;
    flex-direction: column;
    gap: 0.6rem;
  }
.categories-shell {
    justify-content: center;
    width: 100%;
  }
main {
    padding: 0 1rem 2rem;
  }
.movie-info-unit {
    padding: 1rem;
    gap: 1rem;
  }
.poster-player-wrap {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
.poster-shell {
    max-width: 240px;
    margin: 0 auto;
  }
.player-shell {
    min-width: 0;
  }
.player-shell video {
    aspect-ratio: 16 / 9;
  }
.player-controls {
    justify-content: center;
  }
.movie-title {
    font-size: 1.5rem;
  }
.details-list {
    grid-template-columns: repeat(2, 1fr);
  }
.timeline-wrap {
    grid-template-columns: 1fr;
  }
.episode-card-grid {
    grid-template-columns: 1fr;
  }
.comments-masonry {
    grid-template-columns: 1fr;
  }
.recommend-region, .recommend-region[data-recommendation-region="2"], .recommend-region[data-recommendation-region="3"] {
    grid-template-columns: 1fr;
  }
footer {
    padding: 1.5rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
footer nav[aria-label="友情链接"] {
    flex-direction: column;
    align-items: flex-start;
  }}
@media (max-width: 480px) {.poster-player-wrap {
    grid-template-columns: 1fr;
  }
.player-shell {
    width: 100%;
    min-width: 0;
  }
.player-shell video {
    width: 100%;
  }
.details-list {
    grid-template-columns: 1fr;
  }
.movie-title {
    font-size: 1.3rem;
  }
.section-heading {
    font-size: 1.1rem;
  }
.recommend-region {
    padding: 0.9rem;
  }
.cast-card {
    flex-basis: 90px;
  }
.cast-portrait {
    width: 90px;
    height: 90px;
  }
.player-controls button {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }}
@media (prefers-reduced-motion: reduce) {*, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }}
.poster-player-wrap {
  min-width: 0;
}
.player-shell {
  min-width: 0;
  width: 100%;
}
.player-shell video {
  max-width: 100%;
}

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}
