:root {
  --ink: #0b0d12;
  --ink-2: #12151d;
  --surface: #171b24;
  --surface-2: #1d2230;
  --line: #262c3a;
  --line-soft: #202634;
  --text: #d7dce6;
  --text-dim: #8d95a6;
  --text-faint: #5f6779;
  --cool: #4f8fd6;
  --cool-glow: #6fb0ff;
  --warm: #ff8a3d;
  --warm-soft: #ffb173;
  --warm-dim: rgba(255, 138, 61, 0.14);
  --radius: 6px;
  --radius-sm: 4px;
  --gap: 10px;
  --gap-tight: 7px;
  --mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(79, 143, 214, 0.16), transparent 60%),
    radial-gradient(900px 520px at 12% 4%, rgba(255, 138, 61, 0.07), transparent 58%),
    var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
h1, h2, p, dl, dd, dt, ul, ol, li, article, section, header, footer, nav {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
}
::selection {
  background: var(--warm);
  color: #140a04;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 13, 18, 0.92);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 9px 16px;
  max-width: 1240px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  padding-right: 4px;
  border-right: 1px solid var(--line);
}
a[data-contract="site-name"]:hover {
  color: var(--warm-soft);
}
.category-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(79, 143, 214, 0.1), rgba(79, 143, 214, 0.02));
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--cool-glow);
  border-color: rgba(111, 176, 255, 0.55);
  background: rgba(79, 143, 214, 0.18);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section-heading, .block-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #eef1f7;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--gap);
}
.section-heading::before, .block-heading::before {
  content: "";
  display: block;
  width: 3px;
  height: 12px;
  border-radius: 1px;
  background: linear-gradient(180deg, var(--warm), var(--cool));
  flex: none;
}
.block-heading {
  font-size: 12px;
  color: var(--text-dim);
}
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(79, 143, 214, 0.1), transparent 42%),
    linear-gradient(20deg, rgba(255, 138, 61, 0.06), transparent 55%),
    var(--surface);
  position: relative;
  overflow: hidden;
}
.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(111, 176, 255, 0.05) 0px,
    rgba(111, 176, 255, 0.05) 1px,
    transparent 1px,
    transparent 7px
  );
  opacity: 0.5;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.hero-poster-wrap {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(79, 143, 214, 0.12), 0 14px 34px rgba(0, 0, 0, 0.55);
  align-self: start;
}
.hero-poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.movie-title {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 0 26px rgba(111, 176, 255, 0.35);
}
.movie-tagline {
  font-size: 13px;
  font-weight: 600;
  color: var(--warm-soft);
  letter-spacing: -0.01em;
  padding-left: 9px;
  border-left: 2px solid var(--warm);
}
.movie-desc {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--text-dim);
  max-width: 62ch;
}
.player-wrap {
  position: relative;
  margin-top: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #05070b;
  overflow: hidden;
}
.player-wrap video {
  width: 100%;
  display: block;
  background: #05070b;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(79, 143, 214, 0.12), rgba(5, 7, 11, 0.9));
}
.player-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(23, 27, 36, 0.85);
  white-space: nowrap;
  transition: color 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.player-btn:hover, .player-btn:focus-visible {
  color: var(--warm-soft);
  border-color: rgba(255, 138, 61, 0.5);
  background: var(--warm-dim);
}
.player-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--warm) 0%, var(--cool) 100%);
  cursor: pointer;
}
.player-volume {
  flex: 0 1 84px;
  min-width: 62px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 2px;
  background: var(--line);
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--cool);
  box-shadow: 0 0 8px rgba(111, 176, 255, 0.7);
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid var(--cool);
  border-radius: 50%;
  background: #fff;
}
.player-wrap.is-playing {
  border-color: rgba(111, 176, 255, 0.55);
}
.player-wrap.is-playing .player-btn[data-player-action="play"] {
  color: var(--cool-glow);
  border-color: rgba(111, 176, 255, 0.55);
}
.player-wrap.is-muted .player-volume {
  background: var(--line-soft);
}
.player-wrap.is-muted .player-btn[data-player-action="mute"] {
  color: var(--text-faint);
}
.player-wrap.is-speed-changed .player-btn[data-player-action="speed"] {
  color: var(--warm-soft);
  border-color: rgba(255, 138, 61, 0.5);
}
.player-wrap.is-fullscreen {
  border-radius: 0;
}
.player-wrap.is-theater, body.theater-mode .player-wrap {
  border-color: rgba(111, 176, 255, 0.4);
}
body.theater-mode {
  background: #05070b;
}
.player-wrap.lights-off::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 34%, rgba(0, 0, 0, 0.86) 100%);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--warm);
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(255, 138, 61, 0.1), transparent 62%), var(--surface-2);
}
.status-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}
.status-value {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--warm);
  letter-spacing: -0.01em;
}
.status-total {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}
.cast-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: var(--gap-tight);
  align-items: start;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  min-width: 0;
}
.cast-avatar {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.28), transparent 60%),
    linear-gradient(150deg, var(--cool) 0%, #23405f 70%, var(--warm) 140%);
  border: 1px solid rgba(111, 176, 255, 0.4);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #f0f3f9;
  white-space: nowrap;
}
.cast-role {
  font-size: 11px;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--text-dim);
  margin-bottom: 6px;
  max-width: 90ch;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 5px var(--gap);
  align-items: start;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line-soft);
  min-width: 0;
}
.detail-item dt {
  flex: none;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}
.detail-item dd {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  font-family: var(--mono);
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.timeline-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  margin-left: 4px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 138px) minmax(0, 1fr);
  gap: var(--gap);
  align-items: baseline;
  padding: 5px 0 5px 12px;
  border-bottom: 1px solid rgba(38, 44, 58, 0.45);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--cool);
}
.timeline-timecode {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--cool-glow);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  color: var(--text-dim);
}
.timeline-item-current {
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(255, 138, 61, 0.45);
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(255, 138, 61, 0.16), rgba(255, 138, 61, 0.02));
  border-bottom-color: rgba(255, 138, 61, 0.45);
}
.timeline-item-current::before {
  left: -19px;
  width: 8px;
  height: 8px;
  top: 12px;
  background: var(--warm);
  border-color: var(--warm);
  box-shadow: 0 0 10px rgba(255, 138, 61, 0.9);
}
.timeline-item-current .timeline-timecode {
  color: var(--warm);
}
.timeline-item-current .timeline-label {
  color: #ffe4cd;
  font-weight: 600;
}
.episodes-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-tight);
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 9px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
  min-width: 0;
  transition: border-color 0.14s ease, background 0.14s ease;
}
.episode-card:hover {
  border-color: var(--line);
  background: var(--surface-2);
}
.episode-number {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--cool-glow);
  letter-spacing: -0.02em;
}
.episode-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #eef1f7;
  letter-spacing: -0.01em;
}
.episode-summary {
  font-size: 11.5px;
  color: var(--text-faint);
  line-height: 1.5;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: -0.02em;
  margin-top: 1px;
}
.episode-card-current {
  border-color: rgba(255, 138, 61, 0.6);
  background: linear-gradient(160deg, rgba(255, 138, 61, 0.16), rgba(255, 138, 61, 0.03));
  box-shadow: 0 0 0 1px rgba(255, 138, 61, 0.12);
}
.episode-card-current .episode-number, .episode-card-current .episode-duration {
  color: var(--warm);
}
.episode-card-current .episode-title {
  color: #fff;
}
.comments-section {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  margin-bottom: 4px;
}
.comments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-tight);
  align-items: start;
}
.comment-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(79, 143, 214, 0.06), rgba(23, 27, 36, 0.5));
  padding: 7px 10px;
  min-width: 0;
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.comment-nick {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cool-glow);
  letter-spacing: -0.01em;
}
.comment-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
}
.recommend-region {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.recommend-region .section-heading {
  color: var(--text-dim);
  font-size: 12px;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: var(--gap-tight);
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.14s ease, background 0.14s ease, transform 0.14s ease;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  border-color: rgba(255, 138, 61, 0.5);
  background: var(--surface-2);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 3px;
  background: #05070b;
}
.recommend-name {
  font-size: 12px;
  font-weight: 700;
  color: #eef1f7;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 30px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 88ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-nav a {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface-2);
}
a[data-contract="footer-home"] {
  color: var(--cool-glow);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: #fff;
  border-color: rgba(111, 176, 255, 0.55);
}
a[data-contract="footer-sitemap"] {
  color: var(--warm-soft);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  border-color: rgba(255, 138, 61, 0.55);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--warm-soft);
  border-bottom-color: rgba(255, 138, 61, 0.6);
}
@media (max-width: 900px) {.hero-grid {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    gap: 14px;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 12.5px;
  }
.page-main {
    padding: 12px 12px 22px;
    gap: 16px;
  }
.header-inner {
    padding: 8px 12px;
  }
.hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 11px;
  }
.hero-poster-wrap {
    max-width: 190px;
  }
.movie-title {
    font-size: 22px;
  }
.player-progress {
    flex-basis: 100%;
  }
.player-volume {
    flex: 1 1 80px;
  }
.cast-list {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }
.details-list {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
.timeline-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }
.site-footer {
    padding: 12px 12px 26px;
  }}
@media (max-width: 380px) {.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}

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}
