*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg: #0a0e1a;
  --bg-alt: #11162b;
  --surface: #151c33;
  --surface-2: #1a233d;
  --line: #232f4d;
  --line-bright: #2f3f66;
  --text: #dbe2f0;
  --text-dim: #8b96b8;
  --text-faint: #5b678a;
  --yellow: #f5c518;
  --yellow-dim: #b8911a;
  --yellow-glow: rgba(245, 197, 24, 0.15);
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-2xl: 32px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
html {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 14px;
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.site-brand:hover {
  color: var(--yellow);
}
a[data-contract="site-name"] {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}
a[data-contract="site-name"]:hover {
  color: var(--yellow);
}
.categories-bar {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.runtime-category {
  display: inline-block;
  background: var(--surface);
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.15s;
}
.runtime-category:hover {
  color: var(--yellow);
  border-color: var(--yellow-dim);
  background: var(--surface-2);
}
a.runtime-category {
  color: var(--text-dim);
  text-decoration: none;
}
a.runtime-category:hover {
  color: var(--yellow);
}
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-xl);
}
.movie-overview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 0;
  margin-bottom: var(--spacing-2xl);
  overflow: hidden;
}
.overview-poster {
  background: var(--bg-alt);
  border-right: 1px solid var(--line);
}
.main-poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}
.overview-content {
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  min-width: 0;
}
.hero-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.hero-tagline {
  font-size: 0.95rem;
  color: var(--yellow);
  font-weight: 500;
  margin-top: -0.5rem;
  letter-spacing: 0.02em;
}
.section-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.03em;
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
  margin-bottom: var(--spacing-md);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--yellow);
  box-shadow: 0 0 8px var(--yellow-glow);
}
.synopsis-section {
  margin-top: var(--spacing-sm);
}
.synopsis-paragraphs {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}
.synopsis-p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
  text-align: justify;
}
.cast-section {
  margin-top: var(--spacing-md);
}
.cast-scroll {
  display: flex;
  gap: var(--spacing-md);
  overflow-x: auto;
  padding-bottom: var(--spacing-sm);
  scrollbar-width: thin;
  scrollbar-color: var(--line-bright) transparent;
}
.cast-scroll::-webkit-scrollbar {
  height: 6px;
}
.cast-scroll::-webkit-scrollbar-thumb {
  background: var(--line-bright);
  border-radius: 3px;
}
.cast-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.cast-card {
  flex: 0 0 auto;
  width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
}
.cast-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--bg-alt);
}
.cast-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transition: filter 0.2s;
}
.cast-card:hover .cast-img {
  filter: grayscale(0) contrast(1);
}
.cast-name {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
  text-align: center;
}
.cast-name:hover {
  color: var(--yellow);
}
.details-section {
  margin-top: var(--spacing-md);
}
.details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.detail-row {
  border-bottom: 1px solid var(--line);
}
.detail-row:last-child {
  border-bottom: none;
}
.detail-label {
  padding: 6px 10px 6px 0;
  color: var(--text-faint);
  font-weight: 400;
  white-space: nowrap;
  width: 90px;
  vertical-align: top;
}
.detail-value {
  padding: 6px 0;
  color: var(--text-dim);
  text-align: left;
}
.player-section {
  margin-top: var(--spacing-md);
}
.player-wrapper {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.player-wrapper video {
  display: block;
  background: #000;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.ctrl-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-dim);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  line-height: 1;
}
.ctrl-btn:hover {
  color: var(--yellow);
  background: var(--surface);
}
.ctrl-btn.active {
  color: var(--yellow);
  background: var(--yellow-glow);
}
.progress-bar {
  flex: 1;
  min-width: 100px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.progress-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--bg);
  box-shadow: 0 0 6px var(--yellow-glow);
}
.progress-bar::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--bg);
  box-shadow: 0 0 6px var(--yellow-glow);
}
.progress-bar::-moz-range-track {
  background: var(--line);
  height: 4px;
  border-radius: 2px;
}
.episode-status-info {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: 0.8rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.status-total {
  color: var(--text-faint);
}
.status-current {
  color: var(--yellow);
  font-weight: 600;
}
.timeline-section {
  margin-bottom: var(--spacing-2xl);
  padding: var(--spacing-lg) 0;
}
.timeline-track {
  overflow-x: auto;
  padding: var(--spacing-md) 0;
  scrollbar-width: thin;
  scrollbar-color: var(--line-bright) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--line-bright);
  border-radius: 3px;
}
.timeline-track::-webkit-scrollbar-track {
  background: transparent;
}
.timeline-slider {
  display: flex;
  gap: 0;
  min-width: max-content;
  position: relative;
}
.timeline-slider::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
}
.timeline-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  padding: 0 var(--spacing-xl);
  position: relative;
  min-width: 130px;
  max-width: 180px;
}
.timeline-item:first-child {
  padding-left: 0;
}
.timeline-node {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--bg);
  box-shadow: 0 0 10px var(--yellow-glow);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.timeline-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.02em;
}
.timeline-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
}
.episodes-section {
  margin-bottom: var(--spacing-2xl);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--spacing-md);
}
.episode-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.episode-card:hover {
  border-color: var(--line-bright);
  box-shadow: var(--shadow);
}
.episode-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
}
.episode-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.episode-number {
  position: absolute;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
  background: rgba(10, 14, 26, 0.85);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  border: 1px solid var(--yellow-dim);
}
.episode-info {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  flex: 1;
}
.episode-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}
.episode-summary {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.5;
  flex: 1;
}
.episode-duration {
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-top: auto;
}
.comments-section {
  margin-bottom: var(--spacing-2xl);
}
.comments-waterfall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  align-items: start;
}
.comment-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}
.comment-bubble {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}
.comment-nickname {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.02em;
}
.comment-text {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.55;
  text-align: justify;
}
.recommendation-section {
  margin-bottom: var(--spacing-2xl);
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--spacing-md);
}
.recommendation-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
  color: inherit;
}
.recommendation-card:hover {
  border-color: var(--yellow-dim);
  box-shadow: 0 0 12px var(--yellow-glow);
  transform: translateY(-2px);
}
.recommendation-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.recommendation-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-xs);
  line-height: 1.3;
}
.recommendation-blurb {
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 0 var(--spacing-sm) var(--spacing-sm);
  line-height: 1.5;
  flex: 1;
}
a.recommendation-card {
  color: inherit;
  text-decoration: none;
}
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: var(--spacing-xl) 0;
  margin-top: var(--spacing-2xl);
}
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}
.footer-links {
  display: flex;
  gap: var(--spacing-lg);
}
.footer-link {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.15s;
}
.footer-link:hover {
  color: var(--yellow);
}
a[data-contract="footer-home"] {
  color: var(--text-dim);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: var(--yellow);
}
a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--yellow);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm) var(--spacing-md);
  align-items: center;
  font-size: 0.8rem;
}
.friend-links-label {
  color: var(--text-faint);
  font-weight: 500;
}
.runtime-friend-link {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}
.runtime-friend-link:hover {
  color: var(--yellow);
}
a.runtime-friend-link {
  color: var(--text-dim);
  text-decoration: none;
}
a.runtime-friend-link:hover {
  color: var(--yellow);
}
.disclaimer {
  font-size: 0.72rem;
  color: var(--text-faint);
  line-height: 1.5;
  border-top: 1px solid var(--line);
  padding-top: var(--spacing-md);
  margin-top: var(--spacing-sm);
}
.player-wrapper.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 1000;
  border-radius: 0;
  border: none;
  background: #000;
}
.player-wrapper.theater-mode video {
  height: 100vh;
  object-fit: contain;
}
.player-wrapper.lights-off video {
  filter: brightness(0.6) saturate(0.8);
}
.player-wrapper.lights-off .player-controls {
  background: rgba(10, 14, 26, 0.9);
}
@media (max-width: 1024px) {.movie-overview {
    grid-template-columns: minmax(220px, 280px) 1fr;
  }}
@media (max-width: 768px) {main {
    padding: var(--spacing-md);
  }
header {
    padding: var(--spacing-sm) var(--spacing-md);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }
.categories-bar {
    width: 100%;
    justify-content: flex-start;
  }
.movie-overview {
    grid-template-columns: 1fr;
  }
.overview-poster {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
.main-poster-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
.overview-content {
    padding: var(--spacing-md);
  }
.hero-title {
    font-size: 1.35rem;
  }
.comments-waterfall {
    grid-template-columns: 1fr;
  }
.episodes-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
.recommendation-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }}
@media (max-width: 480px) {.episodes-grid {
    grid-template-columns: 1fr;
  }
.recommendation-grid {
    grid-template-columns: 1fr 1fr;
  }
.cast-scroll {
    gap: var(--spacing-sm);
  }
.cast-card {
    width: 80px;
  }
.cast-photo {
    width: 72px;
    height: 72px;
  }
.player-controls {
    gap: var(--spacing-xs);
  }
.ctrl-btn {
    padding: 3px 6px;
    font-size: 0.85rem;
  }
.progress-bar {
    min-width: 60px;
  }
.timeline-item {
    padding: 0 var(--spacing-md);
    min-width: 110px;
  }
.footer-content {
    padding: 0 var(--spacing-md);
  }}

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}
