*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #0a0f1a;
  color: #c8d0dc;
  line-height: 1.5;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: #0d1420;
  border-bottom: 1px solid #1e2a3a;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: #e8edf4;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 0.2s;
}
.site-brand:hover {
  color: #e63946;
}
[data-contract="categories"] {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
[data-contract="categories"]::-webkit-scrollbar {
  display: none;
}
.runtime-category {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #8a99b3;
  border: 1px solid #1e2a3a;
  border-radius: 3px;
  background: #111927;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.runtime-category:hover {
  color: #e63946;
  border-color: #e63946;
  background: #1a2332;
}
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}
.movie-overview-shell {
  background: #0d1420;
  border: 1px solid #1e2a3a;
  border-radius: 8px;
  margin: 1.25rem 0 2rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
.hero-media-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 1rem;
  align-items: start;
}
.main-poster-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #1e2a3a;
  background: #111927;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
}
.player-primary {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background: #000;
  border: 1px solid #1e2a3a;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.5rem 0;
  grid-column: 1 / -1;
}
.player-controls button {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #8a99b3;
  border: 1px solid #1e2a3a;
  border-radius: 3px;
  background: #111927;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.player-controls button:hover {
  color: #e63946;
  border-color: #e63946;
  background: #1a2332;
}
.title-tagline-group {
  padding: 0.25rem 0 0.5rem;
}
.movie-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #e8edf4;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.tagline {
  font-size: 0.9rem;
  color: #e63946;
  font-style: italic;
  letter-spacing: 0.03em;
}
.cast-panel {
  padding: 0.75rem 0;
  border-top: 1px solid #1e2a3a;
  border-bottom: 1px solid #1e2a3a;
}
.panel-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #e8edf4;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.cast-horizontal-list {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: #1e2a3a transparent;
}
.cast-card {
  flex: 0 0 auto;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #c8d0dc;
  background: #111927;
  border: 1px solid #1e2a3a;
  border-radius: 3px;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
  transition: color 0.2s, border-color 0.2s;
}
.cast-card:hover {
  color: #e63946;
  border-color: #e63946;
}
.synopsis-block {
  padding: 0.75rem 0;
}
.synopsis-paragraph {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: #b0bccd;
  max-width: 75ch;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.meta-grid-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #1e2a3a;
}
.episode-status-block, .detail-specs {
  padding: 0.5rem 0;
}
.episode-status-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.episode-status-row span {
  font-size: 0.85rem;
  color: #c8d0dc;
  background: #111927;
  padding: 0.25rem 0.6rem;
  border: 1px solid #1e2a3a;
  border-radius: 3px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem 0.75rem;
}
.detail-list li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #b0bccd;
}
.detail-label {
  color: #6a7d99;
  font-weight: 600;
  flex-shrink: 0;
  min-width: 3.5em;
}
.episodes-section {
  margin: 2rem 0 1.5rem;
  padding-top: 0.5rem;
}
.section-heading {
  font-size: 1.2rem;
  font-weight: 800;
  color: #e8edf4;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-left: 0.75rem;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  background: #e63946;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20% 50%);
}
.episode-grid-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.episode-card {
  display: flex;
  gap: 0.75rem;
  background: #111927;
  border: 1px solid #1e2a3a;
  border-radius: 4px;
  padding: 0.6rem 0.75rem;
  transition: border-color 0.2s, background 0.2s;
  clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%);
}
.episode-card:hover {
  border-color: #e63946;
  background: #151e2e;
}
.episode-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: #e63946;
  line-height: 1;
  flex-shrink: 0;
  width: 1.6em;
  text-align: center;
  padding-top: 0.1em;
}
.episode-info {
  flex: 1;
  min-width: 0;
}
.episode-info h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e8edf4;
  margin-bottom: 0.2rem;
}
.episode-info p {
  font-size: 0.78rem;
  color: #8a99b3;
  margin-bottom: 0.3rem;
  line-height: 1.4;
}
.duration {
  font-size: 0.7rem;
  color: #6a7d99;
  font-weight: 500;
}
.timeline-section {
  margin: 1.5rem 0;
}
.timeline-vertical {
  position: relative;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.35rem;
}
.timeline-vertical::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #1e2a3a;
}
.timeline-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.3rem 0;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background: #e63946;
  transform: rotate(45deg);
  border: 1px solid #0a0f1a;
}
.timecode {
  font-weight: 700;
  font-size: 0.8rem;
  color: #e63946;
  flex-shrink: 0;
  min-width: 4em;
}
.timeline-label {
  font-size: 0.85rem;
  color: #b0bccd;
}
.comments-section {
  margin: 1.5rem 0;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}
.comment-card {
  background: #111927;
  border: 1px solid #1e2a3a;
  border-radius: 4px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 0.2s;
}
.comment-card:hover {
  border-color: #2a3a50;
}
.comment-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e8edf4;
}
.comment-text {
  font-size: 0.8rem;
  color: #b0bccd;
  line-height: 1.4;
}
.recommendation-region {
  margin: 1.5rem 0;
}
.recommendation-horizontal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #111927;
  border: 1px solid #1e2a3a;
  border-radius: 4px;
  padding: 0.5rem;
  transition: border-color 0.2s, transform 0.15s;
  height: 100%;
}
a[data-runtime="recommendation"]:hover {
  border-color: #e63946;
  transform: translateY(-2px);
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  background: #0a0f1a;
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e8edf4;
  line-height: 1.3;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.75rem;
  color: #8a99b3;
  line-height: 1.4;
}
footer {
  background: #0d1420;
  border-top: 1px solid #1e2a3a;
  padding: 1.5rem 1.25rem 2rem;
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: #6a7d99;
  max-width: 90ch;
}
.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.85rem;
  color: #8a99b3;
  transition: color 0.2s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e63946;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.friend-link-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6a7d99;
}
.runtime-friend-link {
  font-size: 0.8rem;
  color: #8a99b3;
  padding: 0.2rem 0.5rem;
  border: 1px solid #1e2a3a;
  border-radius: 3px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.runtime-friend-link:hover {
  color: #e63946;
  border-color: #e63946;
}
.theater-mode {
  grid-template-columns: 1fr !important;
}
.theater-mode .main-poster-img {
  display: none;
}
.theater-mode .player-primary {
  width: 100% !important;
}
.light-off main, .light-off header, .light-off footer {
  opacity: 0.9;
}
.light-off .hero-media-wrapper {
  background: #000;
}
.light-off .player-primary {
  opacity: 1;
}
@media (max-width: 1024px) {.hero-media-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }
.main-poster-img {
    max-width: 280px;
  }
.meta-grid-group {
    grid-template-columns: 1fr;
  }
.episode-grid-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 768px) {header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
[data-contract="categories"] {
    width: 100%;
  }
.movie-overview-shell {
    padding: 0.75rem;
  }
.episode-grid-list {
    grid-template-columns: 1fr;
  }
.comments-grid {
    grid-template-columns: 1fr;
  }
.detail-list {
    grid-template-columns: 1fr;
  }
.recommendation-horizontal {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }}
@media (max-width: 480px) {html {
    font-size: 14px;
  }
main {
    padding: 0 0.5rem;
  }
.movie-overview-shell {
    padding: 0.5rem;
    margin: 0.75rem 0;
  }
.hero-media-wrapper {
    gap: 0.5rem;
  }
.player-primary {
    min-width: 0;
  }
.title-tagline-group {
    padding: 0.5rem 0;
  }
.movie-title {
    font-size: 1.2rem;
  }
.episode-status-row {
    flex-direction: column;
    gap: 0.4rem;
  }
.timeline-vertical {
    padding-left: 1.2rem;
  }
.timeline-item::before {
    left: -1.1rem;
  }
.timecode {
    min-width: 3.5em;
    font-size: 0.75rem;
  }
.recommendation-horizontal {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
a[data-runtime="recommendation"] {
    padding: 0.4rem;
  }
footer {
    padding: 1rem 0.75rem 1.5rem;
  }
.friend-links {
    gap: 0.5rem;
  }}
@media (max-width: 360px) {.hero-media-wrapper {
    grid-template-columns: 1fr;
  }
.player-primary {
    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}
