:root {
  --abyss: #050b14;
  --deep: #0a1626;
  --hull: #0f1f33;
  --steel: #16293f;
  --line: #1f3a56;
  --ice: #cfe4f2;
  --frost: #8fb4cc;
  --muted: #5d7d97;
  --alarm: #d8392f;
  --alarm-deep: #8f1f18;
  --white: #eef5fa;
  --gold: #c9a24a;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--abyss);
  color: var(--ice);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Heiti SC", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.02em;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 14px;
  background: linear-gradient(180deg, #03080f 0%, #071422 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  flex-wrap: wrap;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
a[data-contract="site-name"].site-name {
  color: var(--white);
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-shadow: 0 0 12px rgba(216, 57, 47, 0.35);
  border-left: 3px solid var(--alarm);
  padding-left: 8px;
}
.site-name:hover {
  color: #fff;
  text-decoration: none;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}
a.runtime-category {
  display: inline-block;
  color: var(--frost);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(22, 41, 63, 0.5);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  color: #fff;
  background: var(--alarm-deep);
  border-color: var(--alarm);
}
.page-main {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0 0 4px;
}
.section-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.12em;
  padding: 5px 14px;
  margin-bottom: 8px;
  border-left: 3px solid var(--alarm);
  background: linear-gradient(90deg, rgba(216, 57, 47, 0.16) 0%, rgba(216, 57, 47, 0) 62%);
  display: block;
}
.movie-overview {
  display: block;
  padding: 12px 14px 10px;
  background:
    radial-gradient(120% 80% at 12% -10%, rgba(31, 58, 86, 0.75) 0%, rgba(5, 11, 20, 0) 60%),
    linear-gradient(180deg, #081422 0%, #050b14 100%);
  border-bottom: 1px solid var(--line);
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  gap: 14px;
  align-items: start;
}
.poster-shell {
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 260px;
  border: 1px solid var(--line);
  background: var(--hull);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transform: rotate(-1.1deg);
  overflow: hidden;
}
.poster-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(207, 228, 242, 0.14) 0%, rgba(5, 11, 20, 0) 45%),
    linear-gradient(180deg, rgba(216, 57, 47, 0.22) 0%, rgba(5, 11, 20, 0.55) 100%);
}
.main-poster {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.movie-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}
.movie-tagline {
  font-size: 12px;
  color: var(--frost);
  line-height: 1.55;
  border-left: 2px solid var(--alarm);
  padding-left: 8px;
  max-width: 62ch;
}
.player-shell {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.65);
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.main-player {
  display: block;
  width: 100%;
  background: #000;
}
.player-shell.is-theater {
  border-color: var(--alarm);
  box-shadow: 0 0 0 1px var(--alarm-deep), 0 14px 44px rgba(216, 57, 47, 0.28);
}
.player-shell.lights-off {
  background: #000;
}
.player-shell.lights-off .main-player {
  filter: brightness(1.05) contrast(1.06);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  background: linear-gradient(180deg, #0a1a2b 0%, #050d18 100%);
  border-top: 1px solid var(--line);
}
.ctrl-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--steel);
  color: var(--ice);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ctrl-btn:hover {
  background: var(--hull);
  border-color: var(--frost);
  color: #fff;
}
.ctrl-btn.is-active, .ctrl-btn.is-playing {
  background: var(--alarm-deep);
  border-color: var(--alarm);
  color: #fff;
}
.ctrl-btn.is-muted {
  color: var(--alarm);
  border-color: var(--alarm-deep);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  background: #132638;
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--alarm);
  border: 1px solid #ffd9d4;
}
.ctrl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #ffd9d4;
  border-radius: 50%;
  background: var(--alarm);
}
.ctrl-volume {
  flex: 0 1 82px;
  min-width: 60px;
  height: 4px;
  appearance: none;
  background: #132638;
  border-radius: 2px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--frost);
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--frost);
}
.ctrl-speed {
  border: 1px solid var(--line);
  background: var(--steel);
  color: var(--ice);
  font-size: 11px;
  padding: 3px 4px;
  border-radius: 2px;
  cursor: pointer;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.status-item {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: rgba(22, 41, 63, 0.72);
  color: var(--frost);
  border-radius: 2px;
  white-space: nowrap;
}
.status-item.status-current {
  background: var(--alarm-deep);
  border-color: var(--alarm);
  color: #fff;
  box-shadow: 0 0 12px rgba(216, 57, 47, 0.35);
}
.status-item.status-score {
  color: var(--gold);
  border-color: rgba(201, 162, 74, 0.5);
}
.cast-section {
  margin-top: 12px;
  padding: 10px 14px 12px;
  background: linear-gradient(180deg, #071523 0%, #050d18 100%);
  border: 1px solid var(--line);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: flex-start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 74px;
  flex: 0 0 auto;
}
.cast-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin: 0;
}
.cast-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  box-shadow: 0 0 0 1px rgba(216, 57, 47, 0.35), 0 4px 12px rgba(0, 0, 0, 0.6);
  filter: saturate(0.75) contrast(1.05);
}
.cast-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
}
.cast-role {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
  width: 100%;
  overflow-wrap: anywhere;
}
.synopsis-section {
  margin-top: 12px;
  padding: 10px 14px 12px;
  background: linear-gradient(90deg, rgba(15, 31, 51, 0.85) 0%, rgba(5, 11, 20, 0.6) 100%);
  border: 1px solid var(--line);
}
.seo-description {
  font-size: 12px;
  line-height: 1.65;
  color: var(--frost);
  padding-left: 9px;
  border-left: 2px solid var(--steel);
  margin-bottom: 8px;
  max-width: 92ch;
}
.synopsis-body {
  columns: 2 260px;
  column-gap: 20px;
  column-rule: 1px solid var(--line);
}
.synopsis-para {
  font-size: 12px;
  line-height: 1.62;
  color: var(--ice);
  margin-bottom: 7px;
  break-inside: avoid;
  text-align: justify;
}
.synopsis-para:first-child::first-letter {
  font-size: 1.9em;
  font-weight: 800;
  color: var(--alarm);
  line-height: 1;
  margin-right: 2px;
}
.details-section {
  margin-top: 12px;
  padding: 10px 14px 12px;
  background: linear-gradient(180deg, #071523 0%, #050d18 100%);
  border: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 8px 4px 0;
  border-bottom: 1px solid rgba(31, 58, 86, 0.55);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  min-width: 46px;
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--ice);
  overflow-wrap: anywhere;
}
.timeline-section {
  margin-top: 14px;
  padding: 10px 0 12px;
  background: linear-gradient(180deg, #061120 0%, #050b14 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.timeline-section .section-title {
  margin-left: 14px;
  margin-right: 14px;
}
.timeline-scroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 14px 12px;
  scrollbar-color: var(--alarm-deep) var(--deep);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.timeline-scroll::-webkit-scrollbar {
  height: 7px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: var(--deep);
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--alarm-deep);
  border-radius: 4px;
}
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  padding-top: 6px;
  width: max-content;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--alarm) 0%, var(--line) 55%, var(--steel) 100%);
  z-index: 0;
}
.timeline-node {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 118px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.timeline-timecode {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--alarm-deep);
  border: 1px solid var(--alarm);
  padding: 1px 6px;
  border-radius: 2px;
  white-space: nowrap;
}
.timeline-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  background: var(--hull);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  transition: border-color 0.15s, transform 0.15s;
}
.timeline-node:hover .timeline-poster {
  border-color: var(--alarm);
  transform: translateY(-2px);
}
.timeline-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.05);
}
.timeline-label {
  font-size: 11px;
  line-height: 1.4;
  color: var(--frost);
  overflow-wrap: anywhere;
}
.episodes-section {
  margin-top: 14px;
  padding: 10px 14px 12px;
  background: linear-gradient(180deg, #061120 0%, #050b14 100%);
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 8px 9px;
  background: linear-gradient(180deg, #0c1e30 0%, #071322 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel);
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-left-color: var(--alarm);
  background: linear-gradient(180deg, #12283e 0%, #081726 100%);
}
.episode-number {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--alarm);
  border: 1px solid var(--alarm-deep);
  padding: 1px 5px;
  border-radius: 2px;
  white-space: nowrap;
}
.episode-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
}
.episode-summary {
  font-size: 11px;
  line-height: 1.45;
  color: var(--frost);
  overflow-wrap: anywhere;
}
.episode-duration {
  margin-top: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-top: 1px solid rgba(31, 58, 86, 0.6);
  padding-top: 3px;
  width: 100%;
}
.comments-section {
  margin-top: 14px;
  padding: 10px 14px 12px;
  background: linear-gradient(180deg, #061120 0%, #050b14 100%);
  border-bottom: 1px solid var(--line);
}
.comment-columns {
  columns: 2 300px;
  column-gap: 12px;
}
.comment-stream {
  display: block;
  break-inside: avoid;
}
.comment-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 8px;
  padding: 7px 9px;
  background: linear-gradient(180deg, #0c1e30 0%, #071322 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--hull);
  min-width: 0;
}
.comment-item:hover {
  border-left-color: var(--alarm);
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 2px;
}
.comment-text {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ice);
  overflow-wrap: anywhere;
}
.recommend-region {
  margin-top: 14px;
  padding: 10px 0 12px;
  background: linear-gradient(180deg, #071523 0%, #050b14 100%);
  border-bottom: 1px solid var(--line);
}
.recommend-region .section-title {
  margin-left: 14px;
  margin-right: 14px;
}
.recommend-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 14px 10px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--alarm-deep) var(--deep);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.recommend-scroll::-webkit-scrollbar {
  height: 7px;
}
.recommend-scroll::-webkit-scrollbar-track {
  background: var(--deep);
}
.recommend-scroll::-webkit-scrollbar-thumb {
  background: var(--alarm-deep);
  border-radius: 4px;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 auto;
  width: 152px;
  padding: 7px;
  background: linear-gradient(180deg, #0c1e30 0%, #071322 100%);
  border: 1px solid var(--line);
  color: var(--ice);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.15s, transform 0.15s, background 0.15s;
}
a.recommend-card:hover {
  border-color: var(--alarm);
  background: linear-gradient(180deg, #12283e 0%, #081726 100%);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: var(--hull);
  border: 1px solid rgba(31, 58, 86, 0.7);
  filter: saturate(0.82) contrast(1.04);
}
.recommend-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 10px;
  line-height: 1.4;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.site-footer {
  padding: 12px 14px 20px;
  background: linear-gradient(180deg, #050b14 0%, #03070d 100%);
  border-top: 1px solid var(--line);
}
.footer-disclaimer {
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 100ch;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"], .footer-link {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: rgba(22, 41, 63, 0.5);
  border-radius: 2px;
  white-space: nowrap;
}
a[data-contract="footer-home"].footer-link {
  color: var(--frost);
  text-decoration: none;
}
a[data-contract="footer-home"].footer-link:hover {
  color: #fff;
  border-color: var(--alarm);
  text-decoration: none;
}
a[data-contract="footer-sitemap"].footer-link {
  color: var(--frost);
  text-decoration: none;
}
a[data-contract="footer-sitemap"].footer-link:hover {
  color: #fff;
  border-color: var(--alarm);
  text-decoration: none;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(31, 58, 86, 0.6);
}
.friend-links-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
}
a.runtime-friend-link {
  font-size: 10px;
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px dotted rgba(93, 125, 151, 0.4);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--frost);
  text-decoration: none;
  border-bottom-color: var(--alarm);
}
.player {
  position: relative;
}
.play.is-playing, .pause.is-playing {
  border-color: var(--alarm);
}
.mute.is-muted, .volume.is-muted {
  color: var(--alarm);
}
.fullscreen, .pip, .theater, .light, .speed, .progress, .change, .click, .input, .timeupdate {
  transition: background 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s;
}
.lights-off {
  background: #000;
}
@media (max-width: 900px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-shell {
    max-width: 220px;
    transform: none;
  }
.movie-title {
    font-size: 19px;
  }}
@media (max-width: 620px) {body {
    font-size: 12px;
  }
.site-header {
    gap: 8px;
    padding: 6px 10px;
  }
a[data-contract="site-name"].site-name {
    font-size: 15px;
    letter-spacing: 0.08em;
  }
.section-title {
    font-size: 14px;
    padding: 5px 10px;
  }
.movie-overview, .cast-section, .synopsis-section, .details-section, .episodes-section, .comments-section, .site-footer {
    padding-left: 10px;
    padding-right: 10px;
  }
.timeline-section .section-title, .recommend-region .section-title {
    margin-left: 10px;
    margin-right: 10px;
  }
.timeline-scroll, .recommend-scroll {
    padding-left: 10px;
    padding-right: 10px;
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.comment-columns {
    columns: 1;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
.cast-item {
    width: 66px;
  }
.cast-photo {
    width: 46px;
    height: 46px;
  }
.timeline-node {
    width: 104px;
  }
a.recommend-card {
    width: 134px;
  }
.player-controls {
    gap: 4px;
    padding: 6px;
  }
.ctrl-btn {
    font-size: 10px;
    padding: 4px 6px;
  }}
@media (max-width: 430px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-shell {
    max-width: 100%;
  }
.cast-list {
    gap: 6px 10px;
  }
.ctrl-progress {
    flex: 1 1 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}
