* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background: #0d1117;
  scroll-behavior: smooth;
}
body {
  background: #0d1117;
  color: #c9d1d9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-weight: 300;
  line-height: 1.5;
  min-height: 100vh;
}
header {
  background: #161b22;
  border-bottom: 1px solid #21262d;
  padding: 0.75rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
}
.site-logo {
  color: #58a6ff;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 0 70%);
  padding-bottom: 0.25rem;
  transition: color 0.2s ease;
}
.site-logo:hover {
  color: #79c0ff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #58a6ff;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
  justify-content: flex-end;
  min-width: 200px;
}
.runtime-category {
  display: inline-block;
  color: #8b949e;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.runtime-category:hover, .runtime-category:focus {
  color: #58a6ff;
  border-color: #30363d;
  background: rgba(88, 166, 255, 0.05);
  text-decoration: none;
}
a[data-contract="site-name"] {
  color: #58a6ff;
  text-decoration: none;
}
a[data-contract="site-name"]:visited {
  color: #58a6ff;
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus {
  color: #79c0ff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #58a6ff;
}
main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.overview-shell {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 1.75rem;
  padding: 2.5rem 0 1.75rem;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.03) 0%, transparent 30%), #0d1117;
  border-bottom: 1px solid #21262d;
  position: relative;
}
.overview-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #58a6ff, #1f6feb, #21262d);
  opacity: 0.8;
}
.poster-col {
  grid-column: 1;
  min-width: 0;
}
.poster-wrapper {
  position: relative;
  background: #161b22;
  border: 1px solid #21262d;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.main-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #161b22;
}
.overview-main {
  grid-column: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-right: 0.5rem;
}
.title-tagline-group {
  border-left: 4px solid #58a6ff;
  padding-left: 0.75rem;
}
.movie-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f0f6fc;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.tagline {
  font-size: 1rem;
  color: #8b949e;
  font-weight: 300;
  letter-spacing: 0.03em;
}
.block-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #58a6ff;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #21262d;
  padding-bottom: 0.25rem;
}
.cast-block {
  min-width: 0;
}
.actor-chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
}
.actor-chip {
  background: rgba(88, 166, 255, 0.08);
  border: 1px solid #30363d;
  color: #c9d1d9;
  font-size: 0.8125rem;
  font-weight: 400;
  padding: 0.25rem 0.75rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: all 0.15s ease;
}
.actor-chip:hover {
  background: rgba(88, 166, 255, 0.2);
  border-color: #58a6ff;
  color: #f0f6fc;
}
.synopsis-block {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.synopsis-line {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #c9d1d9;
}
.episode-status-block {
  min-width: 0;
}
.status-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
  align-items: center;
}
.total-episodes {
  background: #1f6feb;
  color: #fff;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
  font-size: 0.8125rem;
}
.current-episode {
  color: #8b949e;
  font-weight: 400;
}
.details-block {
  min-width: 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 1.25rem;
  margin: 0;
}
.detail-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.4;
}
.detail-item dt {
  color: #8b949e;
  font-weight: 400;
  min-width: 3.5em;
}
.detail-item dd {
  color: #f0f6fc;
  font-weight: 500;
  margin: 0;
}
.player-container {
  grid-column: 2;
  min-width: 0;
  background: #161b22;
  border: 1px solid #21262d;
  margin-top: 0.25rem;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.player-container video {
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: #161b22;
  border-top: 1px solid #21262d;
}
.player-controls button {
  background: transparent;
  border: 1px solid #30363d;
  color: #8b949e;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
  clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}
.player-controls button:hover, .player-controls button:focus {
  background: rgba(88, 166, 255, 0.1);
  border-color: #58a6ff;
  color: #58a6ff;
}
.player-container.theater-mode {
  position: fixed;
  top: 4rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 900;
  background: #0d1117;
  border-color: #30363d;
}
body.lights-off {
  background: #010409;
}
body.lights-off .overview-shell {
  background: #010409;
}
body.lights-off .player-container {
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}
.timeline-section {
  padding: 2rem 0;
  border-bottom: 1px solid #21262d;
}
.section-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #f0f6fc;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  display: inline-block;
  border-left: 4px solid #58a6ff;
  padding-left: 0.75rem;
}
.timeline-wave {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  align-items: stretch;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: #30363d #161b22;
}
.timeline-wave::-webkit-scrollbar {
  height: 6px;
}
.timeline-wave::-webkit-scrollbar-track {
  background: #161b22;
}
.timeline-wave::-webkit-scrollbar-thumb {
  background: #30363d;
}
.timeline-item {
  flex: 0 0 220px;
  background: #161b22;
  border: 1px solid #21262d;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: border-color 0.15s ease;
  min-height: 100px;
  align-self: start;
}
.timeline-item:hover {
  border-color: #58a6ff;
}
.timecode {
  font-size: 0.75rem;
  font-weight: 700;
  color: #58a6ff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.timeline-label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
}
.episodes-section {
  padding: 2rem 0;
  border-bottom: 1px solid #21262d;
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.875rem;
}
.episode-card {
  background: #161b22;
  border: 1px solid #21262d;
  padding: 0.875rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  transition: border-color 0.15s ease, background 0.15s ease;
  min-width: 0;
}
.episode-card:hover {
  border-color: #58a6ff;
  background: rgba(88, 166, 255, 0.03);
}
.episode-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #21262d;
  line-height: 1;
  background: #58a6ff;
  padding: 0.25rem 0.5rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
  flex-shrink: 0;
}
.episode-info {
  min-width: 0;
  flex: 1;
}
.episode-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f0f6fc;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.episode-summary {
  font-size: 0.8125rem;
  color: #8b949e;
  line-height: 1.5;
  margin-bottom: 0.35rem;
}
.episode-duration {
  display: inline-block;
  font-size: 0.75rem;
  color: #58a6ff;
  background: rgba(88, 166, 255, 0.1);
  padding: 0.15rem 0.5rem;
}
.comments-section {
  padding: 2rem 0;
  border-bottom: 1px solid #21262d;
}
.comments-masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
  align-items: start;
}
.comment-card {
  background: #161b22;
  border: 1px solid #21262d;
  padding: 1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  transition: border-color 0.15s ease;
  min-width: 0;
}
.comment-card:hover {
  border-color: #30363d;
}
.comment-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #c9d1d9;
  margin: 0;
}
.comment-author {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #8b949e;
  text-align: right;
  border-top: 1px dashed #21262d;
  padding-top: 0.5rem;
}
.recommend-region {
  padding: 2rem 0;
  border-bottom: 1px solid #21262d;
}
.recommend-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f0f6fc;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: #161b22;
  border: 1px solid #21262d;
  padding: 0.75rem;
  text-decoration: none;
  color: #c9d1d9;
  transition: all 0.15s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  min-width: 0;
}
a[data-runtime="recommendation"]:hover, a[data-runtime="recommendation"]:focus {
  border-color: #58a6ff;
  background: rgba(88, 166, 255, 0.04);
  color: #f0f6fc;
  text-decoration: none;
}
a[data-runtime="recommendation"] img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #21262d;
  display: block;
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #f0f6fc;
  line-height: 1.3;
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 0.8125rem;
  color: #8b949e;
  line-height: 1.4;
  flex: 1;
}
footer {
  background: #161b22;
  border-top: 1px solid #21262d;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-disclaimer {
  font-size: 0.8125rem;
  color: #8b949e;
  line-height: 1.6;
  max-width: 900px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}
.friend-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f0f6fc;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
}
.runtime-friend-link {
  color: #58a6ff;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.runtime-friend-link:hover, .runtime-friend-link:focus {
  color: #79c0ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #8b949e;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus {
  color: #58a6ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1024px) {.overview-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
.poster-col {
    grid-column: 1;
    justify-self: start;
    width: min(240px, 50%);
  }
.overview-main {
    grid-column: 1;
    padding-right: 0;
  }
.player-container {
    grid-column: 1;
    min-width: 0;
    width: 100%;
  }
.detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 768px) {header {
    padding: 0.5rem 0.75rem;
  }
main {
    padding: 0 0.75rem;
  }
.overview-shell {
    padding: 1.5rem 0 1.25rem;
  }
.poster-col {
    width: min(200px, 45%);
  }
.movie-title {
    font-size: 1.375rem;
  }
.detail-grid {
    grid-template-columns: 1fr;
  }
.timeline-wave {
    gap: 0.75rem;
  }
.timeline-item {
    flex-basis: 180px;
    padding: 0.75rem;
  }
.episode-list {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }
.comments-masonry {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
a[data-runtime="recommendation"] img {
    height: 110px;
  }
.player-controls {
    gap: 0.2rem;
  }
.player-controls button {
    flex: 1 1 20%;
    font-size: 0.6875rem;
    padding: 0.25rem 0.35rem;
  }
.categories-bar {
    justify-content: flex-start;
    width: 100%;
    order: 3;
  }
.runtime-category {
    font-size: 0.8125rem;
  }
.footer-links {
    flex-wrap: wrap;
  }}
@media (max-width: 480px) {.player-container {
    min-width: 0;
    width: 100%;
  }
.recommend-grid {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }
a[data-runtime="recommendation"] img {
    height: 160px;
  }
.comments-masonry {
    grid-template-columns: 1fr;
  }
.timeline-item {
    flex-basis: 160px;
  }
.overview-shell {
    padding: 1.25rem 0 1rem;
  }
.poster-col {
    width: 50%;
  }
.main-poster {
    aspect-ratio: 2 / 3;
  }
.episode-card {
    flex-direction: column;
    gap: 0.5rem;
  }
.episode-number {
    align-self: flex-start;
  }
.player-controls {
    flex-wrap: wrap;
  }
.player-controls button {
    flex: 1 1 30%;
    font-size: 0.6875rem;
    padding: 0.3rem 0.5rem;
  }
.detail-grid {
    grid-template-columns: 1fr;
  }
.status-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
.friend-links {
    gap: 0.5rem 0.75rem;
  }
.footer-links {
    gap: 0.75rem;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
    scroll-behavior: auto !important;
  }}

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}
