*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #0f1419;
  color: #dce3ea;
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 200;
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
details summary {
  cursor: pointer;
}
button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1e2a33;
}
.header-shell {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  flex-wrap: wrap;
}
.site-logo {
  font-family: "Helvetica Neue", "PingFang SC", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: #e8b93a;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(232, 185, 58, 0.4);
}
.categories-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.categories-nav .runtime-category {
  color: #8fa6b8;
  font-weight: 400;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #1e2a33;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.categories-nav .runtime-category:hover {
  color: #e8b93a;
  border-color: #e8b93a;
  background: rgba(232, 185, 58, 0.08);
}
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}
.movie-overview-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  background: #141b21;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid #1e2a33;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
.poster-wrapper {
  align-self: start;
}
.poster-wrapper .main-poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: #1a232c;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.overview-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.title-block {
  border-bottom: 1px solid #1e2a33;
  padding-bottom: 16px;
}
.movie-title {
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1.2;
  color: #f2f5f8;
  letter-spacing: 0.02em;
}
.tagline {
  margin-top: 8px;
  color: #e8b93a;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.section-label {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e8b93a;
  margin-bottom: 12px;
  border-left: 4px solid #e8b93a;
  padding-left: 10px;
}
.synopsis-block p {
  margin-bottom: 10px;
  color: #b8c6d2;
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: left;
  max-width: 65ch;
}
.cast-block {
  margin-top: 4px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cast-item {
  text-align: center;
  background: #1a232c;
  border: 1px solid #1e2a33;
  border-radius: 12px;
  padding: 14px 8px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.cast-item:hover {
  background: #3d3120;
  border-color: #e8b93a;
}
.cast-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a3845, #1a232c);
  border: 2px solid #e8b93a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: #f2f5f8;
  margin: 0 auto 10px;
  box-shadow: 0 0 16px rgba(232, 185, 58, 0.2);
}
.cast-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #dce3ea;
}
.cast-role {
  font-size: 0.8rem;
  color: #8fa6b8;
  margin-top: 2px;
}
.status-details-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.episode-status {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: #1a232c;
  border-radius: 10px;
  border: 1px solid #1e2a33;
}
.episode-current {
  font-weight: 700;
  color: #7cffb2;
  font-size: 0.95rem;
}
.episode-total {
  color: #8fa6b8;
  font-size: 0.85rem;
  background: #1e2a33;
  padding: 2px 10px;
  border-radius: 20px;
}
.play-button {
  margin-left: auto;
  background: #e8b93a;
  color: #0f1419;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.85rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.play-button:hover {
  background: #f5cc5a;
  transform: translateY(-1px);
}
.details-block {
  background: #1a232c;
  border-radius: 10px;
  border: 1px solid #1e2a33;
  padding: 14px 16px;
}
.details-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  font-size: 0.85rem;
}
.details-grid dt {
  color: #8fa6b8;
  font-weight: 400;
}
.details-grid dd {
  color: #dce3ea;
  font-weight: 400;
}
.player-block {
  margin-top: 4px;
  min-width: 480px;
}
.player-block video {
  border-radius: 12px;
  background: #000;
}
.player-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
  padding: 10px 14px;
  background: #1a232c;
  border-radius: 10px;
  border: 1px solid #1e2a33;
}
.ctrl-btn {
  padding: 6px 12px;
  border-radius: 20px;
  background: #1e2a33;
  color: #b8c6d2;
  font-size: 0.8rem;
  font-weight: 400;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.ctrl-btn:hover {
  background: #e8b93a;
  color: #0f1419;
}
.ctrl-progress {
  flex: 1;
  min-width: 120px;
  accent-color: #e8b93a;
  height: 4px;
}
.ctrl-volume {
  width: 80px;
  accent-color: #7cffb2;
  height: 4px;
}
.timeline-section {
  margin-bottom: 20px;
  background: #141b21;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #1e2a33;
}
.timeline-vertical {
  position: relative;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline-vertical::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: #1e2a33;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: start;
  padding: 8px 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e8b93a;
  box-shadow: 0 0 12px rgba(232, 185, 58, 0.8);
  border: 2px solid #0f1419;
}
.timecode {
  font-family: "SF Mono", "Consolas", "Liberation Mono", monospace;
  font-size: 0.82rem;
  color: #7cffb2;
  padding-top: 10px;
  letter-spacing: 0.02em;
}
.event-card {
  background: #1a232c;
  border-radius: 10px;
  padding: 10px 16px;
  border: 1px solid #1e2a33;
  color: #b8c6d2;
  font-size: 0.9rem;
  line-height: 1.5;
  transition: border-color 0.2s ease;
}
.event-card:hover {
  border-color: #e8b93a;
}
.episodes-section {
  margin-bottom: 20px;
  background: #141b21;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #1e2a33;
}
.episode-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.episode-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  background: #1a232c;
  border-radius: 10px;
  border: 1px solid #1e2a33;
  transition: border-color 0.2s ease;
}
.episode-row:hover {
  border-color: #7cffb2;
}
.episode-number {
  font-weight: 700;
  color: #e8b93a;
  font-size: 0.9rem;
}
.episode-info {
  color: #dce3ea;
  font-size: 0.9rem;
}
.episode-info strong {
  font-weight: 600;
  margin-right: 8px;
}
.ep-duration {
  color: #8fa6b8;
  font-size: 0.8rem;
}
.episode-details summary {
  color: #7cffb2;
  font-size: 0.85rem;
  font-weight: 400;
  padding: 2px 0;
}
.episode-details p {
  margin-top: 8px;
  color: #b8c6d2;
  font-size: 0.85rem;
  line-height: 1.6;
}
.comments-section {
  margin-bottom: 20px;
  background: #141b21;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #1e2a33;
}
.comment-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  align-items: start;
}
.comment-card {
  background: #1a232c;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid #1e2a33;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  max-height: 180px;
  overflow: auto;
  transition: border-color 0.2s ease;
}
.comment-card:hover {
  border-color: #e8b93a;
}
.comment-nick {
  font-weight: 700;
  color: #e8b93a;
  font-size: 0.9rem;
}
.comment-text {
  color: #b8c6d2;
  font-size: 0.85rem;
  line-height: 1.5;
}
.recommendation-region {
  margin-bottom: 20px;
  background: #141b21;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #1e2a33;
}
.rec-title {
  font-weight: 700;
  font-size: 1rem;
  color: #f2f5f8;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.rec-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #1a232c;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid #1e2a33;
  transition: all 0.25s ease;
  color: #dce3ea;
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #1e2a33;
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-weight: 600;
  font-size: 0.85rem;
  color: #f2f5f8;
  line-height: 1.3;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.8rem;
  color: #8fa6b8;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a[data-runtime="recommendation"]:hover {
  border-color: #e8b93a;
  background: #202b36;
  transform: translateY(-2px);
}
footer {
  background: #0b0f12;
  border-top: 1px solid #1e2a33;
  margin-top: 20px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-content p {
  color: #8fa6b8;
  font-size: 0.85rem;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: #b8c6d2;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #e8b93a;
}
.friend-links {
  display: flex;
  gap: 8px 16px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.85rem;
}
.friend-label {
  color: #8fa6b8;
  font-weight: 400;
}
.runtime-friend-link {
  color: #7cffb2;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.runtime-friend-link:hover {
  color: #e8b93a;
  text-decoration: underline;
}
body.lights-out {
  background: #000;
}
body.lights-out .movie-overview-shell, body.lights-out .timeline-section, body.lights-out .episodes-section, body.lights-out .comments-section, body.lights-out .recommendation-region {
  background: #0a0e12;
  border-color: #1a232c;
}
video.theater-mode {
  border-radius: 0;
}
@media (max-width: 1024px) {.movie-overview-shell {
    grid-template-columns: 220px minmax(0, 1fr);
    padding: 16px;
  }
.cast-list {
    grid-template-columns: repeat(2, 1fr);
  }
.status-details-wrap {
    grid-template-columns: 1fr;
  }
.player-block {
    min-width: 480px;
  }}
@media (max-width: 768px) {body {
    font-size: 14px;
  }
main {
    padding: 12px;
  }
.movie-overview-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }
.poster-wrapper {
    max-width: 220px;
    margin: 0 auto;
  }
.overview-content {
    gap: 16px;
  }
.title-block {
    text-align: center;
  }
.cast-list {
    grid-template-columns: repeat(2, 1fr);
  }
.player-block {
    min-width: 0;
  }
.episode-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
.episode-details {
    margin-top: 6px;
  }
.timeline-item {
    grid-template-columns: 80px 1fr;
  }
.header-shell {
    gap: 12px;
    padding: 10px 14px;
  }
.categories-nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
.categories-nav .runtime-category {
    flex-shrink: 0;
  }}
@media (max-width: 480px) {.cast-list {
    grid-template-columns: 1fr;
  }
.comment-masonry {
    grid-template-columns: 1fr;
  }
.rec-scroll {
    grid-template-columns: 1fr 1fr;
  }
.episode-status {
    flex-direction: column;
    align-items: flex-start;
  }
.play-button {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
.details-grid {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
.timeline-section, .episodes-section, .comments-section, .recommendation-region {
    padding: 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}
