*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #1b2430;
  color: #dce0e8;
  line-height: 1.5;
  font-size: 14px;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  background: #141b24;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}
nav[data-contract="categories"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  flex: 1;
}
a.runtime-category {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #232f3d;
  color: #c0c8d4;
  font-size: 0.85rem;
  line-height: 1.3;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
a.runtime-category:hover {
  background: #c9a53e;
  color: #141b24;
}
a[data-contract="site-name"].site-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: #d4af37;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: opacity 0.2s;
}
a[data-contract="site-name"].site-brand:hover {
  opacity: 0.8;
}
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.movie-overview-panel {
  background: #202b38;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.player-shell {
  background: #141b24;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  width: 100%;
  min-width: 0;
}
.player-shell video {
  display: block;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: #1c2733;
  flex-wrap: wrap;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}
.player-controls button {
  padding: 0.3rem 0.7rem;
  border-radius: 0.4rem;
  background: #2b3947;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
  color: #c8d0dc;
  white-space: nowrap;
}
.player-controls button:hover {
  background: #c9a53e;
  color: #141b24;
}
.player-controls input[type="range"] {
  flex: 1;
  min-width: 80px;
  height: 4px;
  border-radius: 2px;
  background: #3a4a5c;
  appearance: none;
  -webkit-appearance: none;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d4af37;
  cursor: pointer;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d4af37;
  cursor: pointer;
  border: none;
}
.overview-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 1rem 1.5rem;
  align-items: start;
}
.poster-wrapper {
  grid-column: 1;
  grid-row: 1 / span 4;
  width: 180px;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  align-self: start;
}
.main-poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.title-group {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}
.movie-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #f0f2f5;
  line-height: 1.2;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}
.tagline {
  color: #d4af37;
  font-size: 1rem;
  font-weight: 500;
}
.cast-strip {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.cast-label {
  color: #aab4c0;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.actor-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.actor-chip {
  padding: 0.3rem 0.8rem;
  background: #2c3a4a;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #dce0e8;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.actor-chip:hover {
  border-color: #d4af37;
}
.synopsis-block {
  grid-column: 2;
  grid-row: 3;
}
.fragment-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}
.synopsis-para {
  color: #b8c0cc;
  margin-bottom: 0.6rem;
  line-height: 1.6;
  font-size: 0.9rem;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.episode-status-meta {
  grid-column: 2;
  grid-row: 4;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.total-episodes, .current-episode {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
}
.total-episodes {
  background: #2c3a4a;
  color: #aab4c0;
}
.current-episode {
  background: #d4af37;
  color: #141b24;
  font-weight: 600;
}
.film-details-grid {
  grid-column: 1 / -1;
  grid-row: 5;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  margin-top: 0.5rem;
}
.detail-item {
  background: #253141;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.85rem;
}
.detail-label {
  color: #aab4c0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.timeline-section {
  background: #202b38;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.timeline-horizontal {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #d4af37 #2c3a4a;
}
.timeline-horizontal::-webkit-scrollbar {
  height: 6px;
}
.timeline-horizontal::-webkit-scrollbar-track {
  background: #2c3a4a;
  border-radius: 3px;
}
.timeline-horizontal::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 3px;
}
.timeline-item {
  flex: 0 0 auto;
  min-width: 160px;
  background: #253141;
  border-radius: 0.6rem;
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-left: 3px solid #d4af37;
  transition: transform 0.2s;
}
.timeline-item:hover {
  transform: translateY(-2px);
}
.timecode {
  color: #d4af37;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.timeline-label {
  color: #c0c8d4;
  font-size: 0.85rem;
  line-height: 1.4;
}
.episodes-grid-section {
  background: #202b38;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.episode-card {
  background: #253141;
  border-radius: 0.6rem;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: background 0.2s;
  border: 1px solid transparent;
}
.episode-card:hover {
  background: #2c3a4a;
  border-color: rgba(212, 175, 55, 0.3);
}
.episode-number {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: #d4af37;
  color: #141b24;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.episode-title {
  font-size: 1rem;
  font-weight: 600;
  color: #f0f2f5;
}
.episode-summary {
  color: #b8c0cc;
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
}
.episode-duration {
  color: #aab4c0;
  font-size: 0.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 0.4rem;
}
.cast-intro-wide {
  background: #202b38;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.actor-horizontal {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.actor-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #253141;
  border-radius: 0.75rem;
  flex: 1 1 120px;
  max-width: 150px;
  transition: background 0.2s;
}
.actor-portrait:hover {
  background: #2c3a4a;
}
.actor-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #b8952e);
  color: #141b24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
}
.actor-name {
  color: #f0f2f5;
  font-weight: 600;
  font-size: 0.95rem;
}
.comments-masonry {
  background: #202b38;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.comments-masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: start;
}
.comments-masonry .fragment-heading {
  grid-column: 1 / -1;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.comment-bubble {
  background: #253141;
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.15);
}
.comment-bubble::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: -0.4rem;
  width: 0.8rem;
  height: 0.8rem;
  background: #253141;
  transform: rotate(45deg);
  border-left: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.comment-author {
  color: #d4af37;
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.3rem;
}
.comment-text {
  color: #b8c0cc;
  font-size: 0.85rem;
  line-height: 1.5;
}
.recommendation-region {
  background: #202b38;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.rec-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 0.75rem;
}
.rec-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}
a[data-runtime="recommendation"] {
  background: #253141;
  border-radius: 0.75rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.2s, background 0.2s;
  border: 1px solid transparent;
}
a[data-runtime="recommendation"]:hover {
  background: #2c3a4a;
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.4rem;
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-weight: 600;
  color: #f0f2f5;
  font-size: 0.95rem;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  color: #aab4c0;
  font-size: 0.8rem;
  line-height: 1.4;
}
footer {
  background: #141b24;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.disclaimer-text {
  color: #8a94a0;
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 400px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #c0c8d4;
  font-size: 0.9rem;
  transition: color 0.2s;
  white-space: nowrap;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #d4af37;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.friend-label {
  color: #8a94a0;
  font-size: 0.85rem;
  margin-right: 0.3rem;
}
a.runtime-friend-link {
  color: #aab4c0;
  font-size: 0.85rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #1c2733;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  background: #d4af37;
  color: #141b24;
}
body.light-off .movie-overview-panel, body.light-off .timeline-section, body.light-off .episodes-grid-section, body.light-off .cast-intro-wide, body.light-off .comments-masonry, body.light-off .recommendation-region {
  background: #0f151c;
  border-color: rgba(212, 175, 55, 0.1);
}
body.light-off .player-shell {
  background: #0a0f14;
}
body.light-off .player-controls {
  background: #11171d;
}
body.light-off .episode-card, body.light-off .timeline-item, body.light-off .comment-bubble, body.light-off a[data-runtime="recommendation"], body.light-off .actor-portrait, body.light-off .detail-item {
  background: #1a222b;
}
body.light-off .comment-bubble::before {
  background: #1a222b;
}
.theater-mode .player-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-radius: 0;
  margin: 0;
  background: #000;
}
.theater-mode .player-controls {
  border-radius: 0;
}
@media (max-width: 768px) {header {
    padding: 0.5rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
main {
    padding: 1rem;
    gap: 1.5rem;
  }
.movie-overview-panel {
    padding: 1rem;
  }
.overview-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
.poster-wrapper {
    grid-column: 1;
    grid-row: 1;
    width: 140px;
    margin: 0 auto;
  }
.title-group {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
  }
.cast-strip {
    grid-column: 1;
    grid-row: 3;
    justify-content: center;
  }
.synopsis-block {
    grid-column: 1;
    grid-row: 4;
  }
.episode-status-meta {
    grid-column: 1;
    grid-row: 5;
    justify-content: center;
  }
.film-details-grid {
    grid-column: 1;
    grid-row: 6;
  }
.episode-grid {
    grid-template-columns: 1fr;
  }
.comments-masonry {
    grid-template-columns: 1fr;
  }
.actor-horizontal {
    flex-direction: column;
    align-items: center;
  }
.actor-portrait {
    max-width: none;
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
  }
.rec-stack {
    grid-template-columns: 1fr;
  }
footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }}
@media (max-width: 480px) {.player-controls {
    gap: 0.3rem;
  }
.player-controls button {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
.movie-title {
    font-size: 1.4rem;
  }
.timeline-item {
    min-width: 130px;
  }
.episode-card {
    padding: 0.75rem;
  }}

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}
