:root {
  --bg: #0d0f12;
  --bg-2: #14171c;
  --bg-3: #1b1f26;
  --panel: #161a20;
  --line: #262c35;
  --line-soft: #1f242c;
  --ink: #e6e9ee;
  --ink-dim: #9aa4b2;
  --ink-faint: #6b7482;
  --cyan: #29e0d0;
  --cyan-soft: rgba(41, 224, 208, 0.14);
  --orange: #ff8a3d;
  --orange-soft: rgba(255, 138, 61, 0.14);
  --radius: 3px;
  --radius-lg: 5px;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: var(--cyan);
  color: #061012;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 18px;
  background: rgba(13, 15, 18, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
a[data-contract="site-name"] {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(41, 224, 208, 0.35);
}
a[data-contract="site-name"]:hover {
  color: #7ff5ea;
  text-decoration: none;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 9px;
  font-size: 12.5px;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
a.runtime-category:hover {
  color: var(--orange);
  border-color: rgba(255, 138, 61, 0.5);
  background: var(--orange-soft);
  text-decoration: none;
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 18px 34px;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 214px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px;
  background: linear-gradient(160deg, #171b21 0%, #12151a 60%, #101317 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 78% 6%, rgba(41, 224, 208, 0.10), transparent 60%),
    radial-gradient(90% 60% at 12% 100%, rgba(255, 138, 61, 0.08), transparent 62%);
  pointer-events: none;
}
.overview-poster-col {
  align-self: start;
  min-width: 0;
}
img.main-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid #2c333d;
  box-shadow: 0 0 0 1px rgba(41, 224, 208, 0.10), 0 14px 34px rgba(0, 0, 0, 0.55);
  filter: saturate(1.05) contrast(1.04);
}
.overview-info-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.movie-title {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f4f7fa;
  text-shadow: 0 0 18px rgba(41, 224, 208, 0.22);
}
.movie-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: var(--orange);
  border-left: 2px solid var(--orange);
  padding-left: 9px;
  max-width: 62ch;
}
.movie-seo {
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-dim);
  max-width: 74ch;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.status-item {
  display: inline-block;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--ink-dim);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.status-current {
  color: var(--cyan);
  border-color: rgba(41, 224, 208, 0.42);
  background: var(--cyan-soft);
  font-weight: 600;
}
.status-total {
  color: var(--ink-dim);
}
.cast-strip {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.cast-heading, .synopsis-heading, .details-heading, .player-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cast-heading::before, .synopsis-heading::before, .details-heading::before, .player-heading::before, .timeline-heading::before, .episodes-heading::before, .comments-heading::before, .recommend-heading::before {
  content: "";
  width: 3px;
  height: 12px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(41, 224, 208, 0.7);
  flex: none;
}
.cast-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: #2f3742 transparent;
  -webkit-overflow-scrolling: touch;
}
.cast-track::-webkit-scrollbar {
  height: 6px;
}
.cast-track::-webkit-scrollbar-thumb {
  background: #2f3742;
  border-radius: 3px;
}
.cast-card {
  flex: 0 0 auto;
  width: 176px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(255, 138, 61, 0.55);
  border-radius: var(--radius);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.cast-card:hover {
  border-left-color: var(--cyan);
  background: #1f242c;
  transform: translateY(-1px);
}
.cast-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #eef2f6;
  letter-spacing: 0.03em;
}
.cast-role {
  font-size: 11.5px;
  color: var(--orange);
  line-height: 1.45;
}
.cast-voice {
  font-size: 11px;
  color: var(--ink-faint);
  line-height: 1.5;
  font-family: var(--mono);
  letter-spacing: -0.01em;
}
.synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 16px;
}
.synopsis-heading {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}
.synopsis-text {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--ink-dim);
}
.details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line-soft);
  min-width: 0;
}
.detail-key {
  font-size: 11.5px;
  color: var(--ink-faint);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.detail-value {
  font-size: 12px;
  color: var(--ink);
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.player-section {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: background .2s ease, border-color .2s ease;
}
.player-section.is-lights-off {
  background: #05070a;
  border-color: #10151b;
}
.player-section.is-lights-off .player-heading {
  color: var(--ink-faint);
}
.player-section.is-theater {
  border-color: rgba(41, 224, 208, 0.4);
  box-shadow: 0 0 0 1px rgba(41, 224, 208, 0.14), 0 0 30px rgba(41, 224, 208, 0.08);
}
.player-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #2b323c;
  background: #06080b;
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #06080b;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.ctrl-btn {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--ink-dim);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.ctrl-btn:hover {
  color: var(--cyan);
  border-color: rgba(41, 224, 208, 0.45);
  background: var(--cyan-soft);
}
.ctrl-btn.play, .ctrl-btn.pause, .ctrl-btn.mute, .ctrl-btn.fullscreen, .ctrl-btn.theater, .ctrl-btn.light, .ctrl-btn.pip {
  color: var(--ink-dim);
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  border-radius: 2px;
  background: #2b323c;
  outline: none;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(41, 224, 208, 0.8);
  border: none;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(41, 224, 208, 0.8);
}
.ctrl-range.input, .ctrl-range.progress, .ctrl-range.volume, .ctrl-range.timeupdate, .ctrl-range.change {
  background: #2b323c;
}
.ctrl-select {
  padding: 4px 8px;
  font-size: 12px;
  color: var(--ink-dim);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.ctrl-select:hover {
  color: var(--cyan);
  border-color: rgba(41, 224, 208, 0.45);
}
.player-video.is-playing {
  outline: 1px solid rgba(41, 224, 208, 0.25);
}
.player-video.is-muted {
  opacity: 0.94;
}
.timeline-section {
  margin-top: 18px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 0 22px;
  position: relative;
}
.timeline-node {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0 7px 14px;
  border-left: 1px solid var(--line);
  position: relative;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -3.5px;
  top: 13px;
  width: 6px;
  height: 6px;
  background: var(--bg);
  border: 1px solid var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 138, 61, 0.6);
}
.timeline-node:hover::before {
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(41, 224, 208, 0.8);
}
.timeline-timecode {
  flex: none;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--cyan);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-dim);
  min-width: 0;
}
.episodes-section {
  margin-top: 18px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  transition: border-color .15s ease, background .15s ease;
}
.episode-card:hover {
  border-color: rgba(41, 224, 208, 0.45);
  background: #191e25;
}
.episode-number {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--orange);
  letter-spacing: 0.06em;
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #eef2f6;
  line-height: 1.35;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-faint);
  margin-top: 2px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .2s ease, opacity .2s ease;
}
.episode-card:hover .episode-duration {
  max-height: 22px;
  opacity: 1;
  color: var(--cyan);
}
.comments-section {
  margin-top: 18px;
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  gap: 8px;
  padding: 9px 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  transition: border-color .15s ease, transform .15s ease;
}
.comment-card:nth-child(3n + 1) {
  transform: translateY(0);
}
.comment-card:nth-child(3n + 2) {
  transform: translateY(7px);
}
.comment-card:nth-child(3n) {
  transform: translateY(3px);
}
.comment-card:hover {
  border-color: rgba(255, 138, 61, 0.42);
}
.comment-avatar {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--cyan) 0%, #1a6f74 55%, var(--orange) 100%);
  opacity: 0.75;
  box-shadow: 0 0 8px rgba(41, 224, 208, 0.28);
}
.comment-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.comment-nickname {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.03em;
}
.comment-text {
  font-size: 12px;
  line-height: 1.62;
  color: var(--ink-dim);
  overflow-wrap: anywhere;
}
.recommend-region {
  margin-top: 18px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
a.recommend-card:hover {
  border-color: rgba(41, 224, 208, 0.5);
  background: #1a1f26;
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid #2a313a;
  background: #0a0d11;
}
.recommend-pic {
  display: block;
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #eef2f6;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 18px 30px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-faint);
  max-width: 92ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
a[data-contract="footer-home"] {
  font-size: 12.5px;
  color: var(--cyan);
  text-decoration: none;
  letter-spacing: 0.04em;
}
a[data-contract="footer-home"]:hover {
  color: #7ff5ea;
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.04em;
}
a[data-contract="footer-sitemap"]:hover {
  color: #ffb27a;
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.12em;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px dotted #333c47;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  text-decoration: none;
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 14px;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    padding: 12px 13px 26px;
  }
.site-header {
    padding: 8px 13px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    padding: 13px;
    gap: 12px;
  }
.overview-poster-col {
    max-width: 190px;
  }
.movie-title {
    font-size: 22px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-stack {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
.comment-card:nth-child(3n + 2), .comment-card:nth-child(3n) {
    transform: none;
  }
.site-footer {
    padding: 14px 13px 24px;
  }}
@media (max-width: 520px) {.player-controls {
    gap: 5px;
  }
.ctrl-btn {
    padding: 4px 8px;
    font-size: 11.5px;
  }
.ctrl-range {
    flex: 1 1 100%;
    order: 3;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.synopsis-block {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }
.cast-card {
    width: 158px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition: none !important;
    animation: none !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}
