*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg-deep: #0b1119;
  --bg-panel: #121a25;
  --bg-card: #16202d;
  --bg-elevated: #1b2634;
  --line: #26313f;
  --line-soft: #1e2836;
  --text-main: #e6ebf2;
  --text-sub: #97a3b3;
  --text-dim: #6b7787;
  --amber: #f0a63c;
  --amber-soft: rgba(240, 166, 60, 0.14);
  --amber-line: rgba(240, 166, 60, 0.55);
  --blue-steel: #3d5a80;
  --radius: 6px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}
.page-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 17, 25, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"].site-logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
  text-decoration: none;
  white-space: nowrap;
}
a[data-contract="site-name"].site-logo:hover {
  color: var(--amber);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  min-width: 0;
}
a.runtime-category {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-category:hover {
  color: var(--amber);
  border-bottom-color: var(--amber-line);
}
.main-content {
  display: block;
  padding-bottom: 24px;
}
.section-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 8px;
  padding-left: 9px;
  border-left: 3px solid var(--amber);
  line-height: 1.2;
}
.movie-overview {
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.hero-backdrop {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #060a10;
}
.poster-column {
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-overlay {
  position: relative;
  padding: 14px;
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.55) 0%, rgba(6, 10, 16, 0.92) 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-end;
}
.hero-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}
.hero-tagline {
  font-size: 13px;
  font-weight: 400;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.hero-seo {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-sub);
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--amber);
  color: #14100a;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 999px;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn-play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #14100a;
}
.btn-play:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.progress-ring-preview {
  display: flex;
  align-items: center;
  gap: 8px;
}
.progress-ring-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-sub);
  white-space: nowrap;
}
.progress-ring-track {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
}
.progress-ring-fill {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.progress-ring-track::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--amber);
  border-right-color: var(--amber);
  transform: rotate(30deg);
}
.player-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
}
.player-controls-outer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.player-modes {
  display: flex;
  gap: 8px;
}
.btn-theater, .btn-light {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-sub);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.btn-theater:hover, .btn-light:hover {
  color: var(--amber);
  border-color: var(--amber-line);
}
.btn-theater.is-active, .btn-light.is-active {
  color: #14100a;
  background: var(--amber);
  border-color: var(--amber);
}
.player-wrapper {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.player-video {
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 8px 10px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.player-controls button {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-sub);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-elevated);
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.player-controls button:hover {
  color: var(--amber);
  border-color: var(--amber-line);
}
.player-controls button.is-active {
  color: #14100a;
  background: var(--amber);
  border-color: var(--amber);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: 0;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: 0;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 64px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-speed {
  font-size: 12px;
  color: var(--text-sub);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 6px;
  cursor: pointer;
}
.ctrl-speed:hover {
  color: var(--amber);
  border-color: var(--amber-line);
}
.player-shell.is-muted .ctrl-mute {
  color: var(--amber);
  border-color: var(--amber-line);
}
.player-shell.is-playing .ctrl-play {
  color: var(--amber);
  border-color: var(--amber-line);
}
.player-shell.lights-off::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  z-index: 60;
  pointer-events: none;
}
.player-shell.lights-off .player-wrapper {
  position: relative;
  z-index: 61;
}
.player-shell.theater-mode .player-wrapper {
  border-color: var(--amber-line);
  box-shadow: 0 0 0 1px var(--amber-line), 0 12px 40px rgba(0, 0, 0, 0.7);
}
.episode-status {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 20px;
}
.status-current {
  font-size: 17px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.02em;
}
.status-total {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-sub);
}
.status-score {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-sub);
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.cast-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.cast-member {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cast-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(240, 166, 60, 0.45) 0%, rgba(240, 166, 60, 0) 55%),
    linear-gradient(160deg, var(--blue-steel) 0%, #1c2b3d 100%);
  border: 1px solid var(--line);
}
.cast-name {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-main);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--amber-line);
  white-space: nowrap;
}
.synopsis-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.synopsis-para {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.68;
  color: var(--text-sub);
  max-width: 74ch;
}
.synopsis-para + .synopsis-para {
  margin-top: 7px;
}
.details-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 7px 18px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  min-width: 0;
}
.detail-item dt {
  flex: 0 0 auto;
  color: var(--text-dim);
  font-weight: 400;
  white-space: nowrap;
}
.detail-item dd {
  color: var(--text-main);
  font-weight: 400;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  margin-top: 20px;
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(168px, 1fr);
  gap: 0;
  overflow-x: auto;
  padding: 14px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 12px 0 0;
  min-width: 0;
}
.timeline-timecode {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}
.timeline-line {
  position: relative;
  display: block;
  width: 1px;
  height: 26px;
  margin-left: 3px;
  background: var(--line);
}
.timeline-line::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 1px solid var(--line);
}
.timeline-label {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-sub);
  padding-right: 6px;
}
.timeline-node-active {
  background: linear-gradient(180deg, var(--amber-soft) 0%, rgba(240, 166, 60, 0) 100%);
  border-radius: var(--radius);
}
.timeline-node-active .timeline-timecode {
  color: var(--amber);
  font-size: 14px;
}
.timeline-node-active .timeline-line {
  background: var(--amber-line);
}
.timeline-node-active .timeline-line::before {
  background: var(--amber);
  border-color: var(--amber);
}
.timeline-node-active .timeline-label {
  color: var(--text-main);
  font-weight: 400;
}
.timeline-pulse {
  position: absolute;
  top: 20px;
  left: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(240, 166, 60, 0.6);
  animation: timeline-pulse 1.9s ease-out infinite;
}
@keyframes timeline-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 166, 60, 0.6);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(240, 166, 60, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(240, 166, 60, 0);
  }
}
.episodes-section {
  margin-top: 20px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
  padding: 11px 12px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  border-color: var(--amber-line);
  background: var(--bg-elevated);
}
.episode-number {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}
.episode-summary {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-sub);
}
.episode-duration {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.comments-section {
  margin-top: 20px;
}
.comments-masonry {
  columns: 2;
  column-gap: 10px;
}
.comment-card {
  display: flex;
  gap: 9px;
  break-inside: avoid;
  margin-bottom: 10px;
  padding: 10px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.comment-index {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.comment-index::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--amber);
  vertical-align: middle;
}
.comment-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.comment-nickname {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}
.comment-text {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-sub);
  overflow-wrap: anywhere;
}
.recommend-region {
  margin-top: 18px;
}
.region-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.region-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--line-soft);
}
.recommend-grid {
  display: grid;
  gap: 9px;
}
.recommend-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.recommend-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
a.recommend-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-self: start;
  padding: 8px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-main);
  overflow: hidden;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
a.recommend-card:hover {
  border-color: var(--amber-line);
  background: var(--bg-elevated);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  background: #0a0f16;
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 26px;
  border-top: 1px solid var(--line-soft);
  background: #090e15;
}
.footer-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-sub);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"].footer-link:hover, a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber-line);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.friend-links-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-sub);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber-line);
}
.footer-disclaimer {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 80ch;
}
@media (min-width: 720px) {.hero-backdrop {
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 320px;
  }
.poster-column {
    max-width: none;
    margin: 0;
    height: 100%;
  }
.hero-poster {
    height: 100%;
    border-radius: 0;
  }
.hero-overlay {
    background: linear-gradient(100deg, rgba(6, 10, 16, 0.94) 0%, rgba(6, 10, 16, 0.55) 100%);
    padding: 18px;
    justify-content: center;
  }
.hero-title {
    font-size: 24px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "hero hero"
      "player status"
      "player cast"
      "synopsis synopsis"
      "details details";
    align-items: start;
    gap: 12px 18px;
  }
.hero-backdrop {
    grid-area: hero;
  }
.player-shell {
    grid-area: player;
  }
.episode-status {
    grid-area: status;
    border-top: 0;
    padding-top: 0;
  }
.cast-section {
    grid-area: cast;
    border-top: 0;
    padding-top: 0;
  }
.synopsis-section {
    grid-area: synopsis;
    border-top: 1px solid var(--line-soft);
    padding-top: 12px;
  }
.details-section {
    grid-area: details;
    border-top: 1px solid var(--line-soft);
    padding-top: 12px;
  }}
@media (min-width: 1024px) {.hero-backdrop {
    grid-template-columns: 280px minmax(0, 1fr);
  }
.hero-title {
    font-size: 28px;
  }
.hero-seo {
    font-size: 13px;
  }
.timeline-track {
    grid-auto-columns: minmax(0, 1fr);
  }}
@media (max-width: 1023px) {.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 719px) {.page-shell {
    padding: 0 12px;
  }
.header-inner {
    padding: 9px 12px;
    gap: 10px;
  }
.hero-title {
    font-size: 19px;
  }
.comments-masonry {
    columns: 1;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid-4, .recommend-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 6px 8px;
    padding: 7px 8px;
  }
.player-controls button {
    padding: 4px 8px;
  }}
@media (max-width: 419px) {.recommend-grid-4, .recommend-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-actions {
    gap: 10px;
  }}

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}
