:root {
  --bg: #0a0f1f;
  --bg-deep: #060a16;
  --surface: #101627;
  --surface-2: #151d33;
  --line: rgba(150, 170, 210, 0.14);
  --line-strong: rgba(160, 180, 220, 0.28);
  --text: #d7deee;
  --text-dim: #8b96b0;
  --text-faint: #5d6884;
  --accent: #f08a3c;
  --accent-soft: rgba(240, 138, 60, 0.16);
  --mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(120% 60% at 78% 0%, rgba(240, 138, 60, 0.07) 0%, transparent 55%),
    linear-gradient(180deg, #0b1020 0%, #080d1a 55%, #060a16 100%);
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px clamp(14px, 3.5vw, 40px);
  background: rgba(8, 12, 24, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
a[data-contract="site-name"].site-brand {
  color: #f2f5fb;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
  border-left: 3px solid var(--accent);
  padding-left: 9px;
}
a[data-contract="site-name"].site-brand:hover {
  color: var(--accent);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.015);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--accent);
  border-color: rgba(240, 138, 60, 0.5);
  background: var(--accent-soft);
}
.page-main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(14px, 3.5vw, 40px) 36px;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  text-transform: uppercase;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::before {
  content: "";
  width: 3px;
  height: 11px;
  background: var(--accent);
  flex: none;
}
.movie-overview {
  position: relative;
  margin-top: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 27, 48, 0.72), rgba(10, 15, 30, 0.72));
  display: flex;
  flex-direction: column;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 34px);
  align-items: start;
  padding: clamp(14px, 2.6vw, 26px);
  background:
    radial-gradient(90% 120% at 12% 8%, rgba(240, 138, 60, 0.13) 0%, transparent 58%),
    linear-gradient(100deg, #0c1striped 0%, transparent 0%),
    linear-gradient(115deg, #0b1226 0%, #0d1428 42%, #080d1c 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-shell::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -30%;
  width: 46%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(120, 150, 230, 0.10), transparent 72%);
  pointer-events: none;
}
.poster-media {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 260px;
  margin: 0;
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55);
  background: #05070f;
}
.poster-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(240, 138, 60, 0.16) 0%, transparent 46%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}
.poster-media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(4, 7, 15, 0.85));
  pointer-events: none;
  z-index: 2;
}
img.poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}
.movie-title {
  font-size: clamp(22px, 3.6vw, 40px);
  letter-spacing: 0.06em;
  color: #f4f7fd;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.movie-tagline-hero {
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-left: 10px;
  border-left: 2px solid rgba(240, 138, 60, 0.55);
}
.seo-description {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--text-dim);
  max-width: 62ch;
  margin-top: 2px;
}
.player-shell {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: #04060d;
  padding: clamp(10px, 2vw, 18px);
}
.player-shell.is-theater {
  background: #000;
  padding: clamp(10px, 2vw, 18px) 0;
}
video.main-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  border: 1px solid var(--line);
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.ctrl-btn {
  appearance: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.ctrl-btn:hover {
  color: var(--accent);
  border-color: rgba(240, 138, 60, 0.5);
  background: var(--accent-soft);
}
.player-shell.is-playing .ctrl-btn[data-player-action="play"] {
  color: var(--accent);
  border-color: rgba(240, 138, 60, 0.55);
}
.player-shell.is-muted .ctrl-btn[data-player-action="mute"] {
  color: var(--accent);
  border-color: rgba(240, 138, 60, 0.55);
}
.ctrl-progress, .ctrl-volume {
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  background: rgba(160, 180, 220, 0.22);
  border-radius: 3px;
  cursor: pointer;
  min-width: 90px;
}
.ctrl-progress {
  flex: 1 1 200px;
}
.ctrl-volume {
  flex: 0 0 96px;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}
body.lights-off .page-main, body.lights-off .site-footer {
  filter: brightness(0.5);
}
body.lights-off .player-shell {
  filter: none;
}
.overview-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 30px);
  align-items: start;
  padding: clamp(14px, 2.4vw, 22px);
  border-bottom: 1px solid var(--line);
}
.tagline-column {
  min-width: 0;
  padding-right: clamp(8px, 1.6vw, 20px);
  border-right: 1px solid var(--line);
  align-self: start;
}
.tagline-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: #e6ebf6;
  letter-spacing: 0.03em;
}
.synopsis-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.synopsis-paragraph {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--text-dim);
  margin: 0;
}
.synopsis-paragraph + .synopsis-paragraph {
  padding-top: 7px;
  border-top: 1px solid var(--line);
}
.cast-strip {
  padding: clamp(14px, 2.4vw, 22px);
  border-bottom: 1px solid var(--line);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-card {
  flex: 0 0 auto;
  width: 92px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.cast-avatar {
  display: block;
  width: 100%;
  height: 62px;
  background:
    radial-gradient(70% 90% at 30% 20%, rgba(240, 138, 60, 0.22), transparent 62%),
    linear-gradient(160deg, #1b2540 0%, #0d1426 100%);
  border-bottom: 1px solid var(--line);
}
.cast-name {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  text-align: center;
  padding: 4px 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-status {
  padding: clamp(14px, 2.4vw, 22px);
  border-bottom: 1px solid var(--line);
}
.status-line {
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.status-number {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--accent);
  padding: 0 2px;
}
.details-block {
  padding: clamp(14px, 2.4vw, 22px);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: var(--surface);
  min-width: 0;
}
.detail-key {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.detail-value {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  text-align: right;
  min-width: 0;
}
.detail-row:nth-child(3) .detail-value, .detail-row:nth-child(9) .detail-value {
  font-family: var(--mono);
}
.timeline-section {
  margin-top: 20px;
  padding: clamp(14px, 2.4vw, 22px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 0;
  overflow-x: auto;
  padding: 16px 2px 6px;
  border-top: 1px solid var(--line-strong);
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 138, 60, 0.5) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 5px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: rgba(240, 138, 60, 0.5);
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 12px 0 0;
  min-width: 0;
}
.node-tick {
  display: block;
  width: 1px;
  height: 22px;
  background: var(--line-strong);
  margin-bottom: 2px;
}
.node-timecode {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  white-space: nowrap;
}
.node-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
}
.timeline-node:last-child .node-tick, .timeline-node:nth-child(7) .node-tick {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(240, 138, 60, 0.6);
}
.timeline-node:nth-child(7) .node-timecode, .timeline-node:nth-child(7) .node-label {
  color: var(--accent);
}
.timeline-node:nth-child(7) .node-label {
  font-weight: 500;
}
.episodes-section {
  margin-top: 20px;
  padding: clamp(14px, 2.4vw, 22px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 8px;
  row-gap: 3px;
  align-items: baseline;
  padding: 9px 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  min-width: 0;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-card:hover {
  border-color: rgba(240, 138, 60, 0.45);
  background: var(--surface-2);
}
.episode-number {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-faint);
  letter-spacing: -0.02em;
  align-self: start;
}
.episode-card:hover .episode-number {
  color: var(--accent);
}
.episode-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #e8edf8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-summary {
  grid-column: 1 / -1;
  grid-row: 3;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  grid-column: 2;
  grid-row: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease;
}
.episode-card:hover .episode-duration {
  max-height: 18px;
  opacity: 1;
}
.comments-section {
  margin-top: 20px;
  padding: clamp(14px, 2.4vw, 22px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  align-items: start;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comments-col:nth-child(2) {
  padding-top: 22px;
}
.comment-card {
  border: 1px solid var(--line);
  border-left: 2px solid rgba(160, 180, 220, 0.22);
  background: var(--surface);
  padding: 8px 11px;
  min-width: 0;
}
.comments-col:nth-child(2) .comment-card {
  background: var(--surface-2);
  border-left-color: rgba(240, 138, 60, 0.4);
}
.comment-nickname {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text-dim);
}
.recommend-region {
  margin-top: 20px;
  padding: clamp(14px, 2.4vw, 22px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 7px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-dim);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommend-item:hover {
  border-color: rgba(240, 138, 60, 0.45);
  background: var(--surface-2);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img.recommend-pic {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: 88px;
  object-fit: cover;
  display: block;
  background: #0b1120;
  border: 1px solid var(--line);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #e4eaf6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding: 16px clamp(14px, 3.5vw, 40px) 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"].footer-link:hover, a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--accent);
  border-bottom-color: rgba(240, 138, 60, 0.6);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  text-transform: uppercase;
  padding-right: 8px;
  margin-right: 2px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  color: var(--text-faint);
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 2px 7px;
  border: 1px solid var(--line);
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--accent);
  border-color: rgba(240, 138, 60, 0.45);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.65;
  color: var(--text-faint);
  max-width: 90ch;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
@media (max-width: 1024px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.poster-media {
    max-width: 200px;
  }
.overview-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.tagline-column {
    padding-right: 0;
    padding-bottom: 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
.comments-col:nth-child(2) {
    padding-top: 0;
  }}
@media (max-width: 560px) {body {
    font-size: 14px;
  }
.site-header {
    gap: 10px;
    padding: 9px 12px;
  }
.movie-title {
    font-size: 22px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-card {
    width: 78px;
  }
.cast-avatar {
    height: 52px;
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
[data-runtime="recommendation"] img.recommend-pic {
    height: 72px;
  }
.ctrl-volume {
    flex: 1 1 80px;
  }
.timeline-track {
    grid-auto-columns: minmax(142px, 1fr);
  }}
@media (max-width: 380px) {.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-track {
    grid-auto-columns: minmax(130px, 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}
