*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #0b0e1a;
  color: #cfd4e6;
  line-height: 1.5;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  border: 0;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 26, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #2a2f45;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.brand-link {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: #ff9d3c;
  text-shadow: 0 0 8px rgba(255, 157, 60, 0.4);
  white-space: nowrap;
}
.brand-link:hover {
  color: #ffb36b;
}
.categories-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.4rem;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #3a3f5c transparent;
  padding-bottom: 0.2rem;
}
.categories-container::-webkit-scrollbar {
  height: 4px;
}
.categories-container::-webkit-scrollbar-thumb {
  background: #3a3f5c;
  border-radius: 2px;
}
.runtime-category {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  color: #b6bdd8;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.runtime-category:hover {
  color: #ff9d3c;
  border-color: #3a3f5c;
  background: rgba(255, 157, 60, 0.05);
}
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.movie-overview {
  position: relative;
  background: linear-gradient(135deg, #0d1226 0%, #141a33 60%, #1a1d3a 100%);
  border: 1px solid #2a2f45;
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}
.bg-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 157, 60, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(120, 100, 220, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(30, 40, 80, 0.3) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.movie-overview::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.06) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 1;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}
.poster-wrapper {
  align-self: start;
}
.main-poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #2a2f45;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.info-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.movie-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.tagline {
  font-size: 0.95rem;
  color: #ff9d3c;
  font-style: italic;
  letter-spacing: 0.04em;
  border-left: 3px solid #ff9d3c;
  padding-left: 0.6rem;
  margin-top: -0.2rem;
}
.cast-block {
  margin-top: 0.25rem;
}
.cast-list {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.cast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  background: rgba(20, 26, 51, 0.6);
  border: 1px solid #2a2f45;
  border-radius: 3px;
}
.cast-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a5a9a, #2a3560);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4), 0 0 6px rgba(255, 157, 60, 0.2);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 10px;
  width: 20px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50% 50% 0 0;
}
.cast-name {
  font-size: 0.75rem;
  color: #b6bdd8;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.synopsis-block {
  margin-top: 0.25rem;
}
.synopsis-line {
  font-size: 0.85rem;
  color: #a8b0cc;
  line-height: 1.55;
  margin-bottom: 0.35rem;
}
.episode-status {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.25rem;
}
.episode-current {
  font-size: 0.8rem;
  color: #ff9d3c;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(255, 157, 60, 0.4);
  border-radius: 2px;
  background: rgba(255, 157, 60, 0.08);
}
.episode-total {
  font-size: 0.8rem;
  color: #8a92b0;
}
.movie-details {
  margin-top: 0.25rem;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem 1rem;
  border-top: 1px solid #2a2f45;
  padding-top: 0.75rem;
}
.detail-item {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
}
.detail-item dt {
  color: #5c6484;
  white-space: nowrap;
}
.detail-item dd {
  color: #b6bdd8;
  font-weight: 500;
}
.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1em;
  background: #ff9d3c;
  box-shadow: 0 0 8px rgba(255, 157, 60, 0.6);
}
.block-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #2a2f45;
  padding-bottom: 0.3rem;
  margin-bottom: 0.5rem;
}
.episodes-section {
  background: linear-gradient(180deg, #0d1226, #0b0e1a);
  padding: 1.5rem;
  border: 1px solid #2a2f45;
  border-radius: 4px;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.episode-card {
  background: rgba(20, 26, 51, 0.5);
  border: 1px solid #2a2f45;
  border-radius: 3px;
  padding: 0.75rem;
  display: flex;
  gap: 0.6rem;
  transition: border-color 0.2s, background 0.2s;
}
.episode-card:hover {
  border-color: rgba(255, 157, 60, 0.5);
  background: rgba(15, 20, 40, 0.8);
}
.episode-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #3a3f5c;
  min-width: 1.5em;
  line-height: 1;
  border-right: 1px solid #2a2f45;
  padding-right: 0.5rem;
}
.episode-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.episode-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  font-size: 0.7rem;
  color: #8a92b0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 0.65rem;
  color: #5c6484;
  margin-top: auto;
}
.timeline-section {
  padding: 0;
}
.timeline-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #3a3f5c transparent;
}
.timeline-scroll::-webkit-scrollbar {
  height: 4px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: #3a3f5c;
  border-radius: 2px;
}
.timeline-item {
  flex: 0 0 auto;
  min-width: 120px;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, #141a33, #0d1226);
  border: 1px solid #2a2f45;
  border-left: 3px solid #ff9d3c;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: transform 0.2s, border-color 0.2s;
}
.timeline-item:hover {
  transform: translateY(-2px);
  border-left-color: #ffb36b;
}
.timeline-timecode {
  font-size: 0.7rem;
  color: #ff9d3c;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.timeline-label {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
}
.comments-section {
  padding: 0;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.comment-card {
  background: rgba(20, 26, 51, 0.4);
  border: 1px solid #2a2f45;
  border-radius: 3px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.comment-author {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff9d3c;
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 0.8rem;
  color: #a8b0cc;
  line-height: 1.5;
}
.recommendation-region {
  padding: 0;
}
.recommendation-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.recommendation-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1em;
  background: #ff9d3c;
  box-shadow: 0 0 8px rgba(255, 157, 60, 0.6);
}
.recommendation-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.recommendation-region:not(:first-of-type) .recommendation-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rec-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem;
  background: rgba(20, 26, 51, 0.4);
  border: 1px solid #2a2f45;
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.rec-item:hover {
  border-color: rgba(255, 157, 60, 0.5);
  background: rgba(15, 20, 40, 0.8);
  transform: translateY(-2px);
}
.rec-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
}
.rec-item span[data-runtime="name"] {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rec-item span[data-runtime="blurb"] {
  font-size: 0.7rem;
  color: #8a92b0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #0d1226;
  border: 1px solid #2a2f45;
  border-radius: 4px;
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  gap: 0.25rem;
  padding: 0.5rem;
  background: rgba(11, 14, 26, 0.95);
  border-top: 1px solid #2a2f45;
  flex-wrap: wrap;
}
.player-controls button {
  background: transparent;
  border: 1px solid #3a3f5c;
  color: #b6bdd8;
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: inherit;
}
.player-controls button:hover {
  border-color: #ff9d3c;
  color: #ff9d3c;
  background: rgba(255, 157, 60, 0.05);
}
body.lights-out {
  background: #05060a;
}
body.lights-out .site-header, body.lights-out .movie-overview, body.lights-out .episodes-section, body.lights-out .player-shell {
  background: #000;
  border-color: #1a1d3a;
}
body.lights-out .movie-overview::after, body.lights-out .bg-atmosphere {
  opacity: 0.1;
}
body.lights-out .cast-card, body.lights-out .episode-card, body.lights-out .comment-card, body.lights-out .rec-item {
  background: rgba(0, 0, 0, 0.4);
}
video.theater-mode {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
}
.site-footer {
  max-width: 1400px;
  margin: 2rem auto 0;
  padding: 1.5rem;
  border-top: 1px solid #2a2f45;
  background: linear-gradient(180deg, #0b0e1a, #080a12);
}
.disclaimer {
  font-size: 0.7rem;
  color: #5c6484;
  line-height: 1.5;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-left: 2px solid #3a3f5c;
}
.footer-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.footer-links a {
  font-size: 0.75rem;
  color: #8a92b0;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #ff9d3c;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.friend-label {
  font-size: 0.7rem;
  color: #5c6484;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.runtime-friend-link {
  font-size: 0.7rem;
  color: #8a92b0;
  padding: 0.2rem 0.5rem;
  border: 1px solid #2a2f45;
  border-radius: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.runtime-friend-link:hover {
  color: #ff9d3c;
  border-color: #ff9d3c;
}
@media (max-width: 1100px) {.overview-grid {
    grid-template-columns: 220px minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.recommendation-row, .recommendation-region:not(:first-of-type) .recommendation-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 768px) {.header-inner {
    padding: 0.5rem 1rem;
    gap: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
  }
.categories-container {
    width: 100%;
  }
.overview-grid {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 1rem;
  }
.main-content {
    padding: 1rem;
    gap: 1.5rem;
  }
.movie-overview {
    padding: 1rem;
  }
.movie-title {
    font-size: 1.3rem;
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-grid {
    grid-template-columns: 1fr;
  }
.recommendation-row, .recommendation-region:not(:first-of-type) .recommendation-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.site-footer {
    padding: 1rem;
  }}
@media (max-width: 480px) {.overview-grid {
    grid-template-columns: 1fr;
  }
.poster-wrapper {
    max-width: 200px;
    margin: 0 auto;
  }
.movie-title {
    font-size: 1.1rem;
  }
.episode-list {
    grid-template-columns: 1fr;
  }
.recommendation-row, .recommendation-region:not(:first-of-type) .recommendation-row {
    grid-template-columns: 1fr;
  }
.details-list {
    grid-template-columns: 1fr;
  }
.cast-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }
.cast-card {
    flex: 0 0 auto;
    min-width: 70px;
  }
.timeline-item {
    min-width: 100px;
  }
.player-controls button {
    padding: 0.25rem 0.4rem;
    font-size: 0.65rem;
  }}

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}
