:root {
  --bg: #05080f;
  --bg-2: #080d18;
  --panel: #0b1220;
  --panel-2: #0e1626;
  --ink: #c6d2e0;
  --ink-dim: #7e8ea3;
  --ink-faint: #4d5d72;
  --cyan: #4fd6d2;
  --cyan-dim: #2a7d7c;
  --red: #a8232e;
  --red-glow: #e0353f;
  --amber: #e8a33d;
  --line: #1a2740;
  --line-2: #223252;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  --sans: "Helvetica Neue", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  font-stretch: condensed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
ul, ol, dl, dd, dt, p, h1, h2, h3, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 8, 15, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 18px;
  max-width: 1320px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(79, 214, 210, 0.35);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line-2);
  background: rgba(14, 22, 38, 0.6);
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  color: var(--cyan);
  border-color: var(--cyan-dim);
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 18px 40px;
}
.section-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink);
  padding: 0 0 6px;
  margin: 22px 0 10px;
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
}
.hero {
  position: relative;
  margin: 14px 0 20px;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(0.7) contrast(1.15) brightness(0.62) hue-rotate(-8deg);
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38% 60% at 78% 34%, rgba(168, 35, 46, 0.5) 0%, rgba(168, 35, 46, 0) 68%),
    radial-gradient(42% 54% at 18% 22%, rgba(42, 125, 124, 0.55) 0%, rgba(42, 125, 124, 0) 70%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.25) 0%, rgba(5, 8, 15, 0.96) 88%);
  filter: blur(2px);
}
.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 26px 24px 24px;
  max-width: 720px;
}
.hero-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--cyan);
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(79, 214, 210, 0.5);
}
.hero-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(46px, 11vw, 108px);
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #eef4fb;
  text-shadow: 2px 0 0 rgba(168, 35, 46, 0.7), -2px 0 0 rgba(79, 214, 210, 0.55);
}
.title-line {
  display: block;
  transform: scaleX(0.82);
  transform-origin: left center;
}
.title-line-a { margin-left: 0; }
.title-line-b {
  margin-left: 0.42em;
  color: #dfe8f2;
  text-shadow: -3px 0 0 rgba(79, 214, 210, 0.6), 3px 0 0 rgba(168, 35, 46, 0.75);
}
.hero-tagline {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  border-left: 2px solid var(--red);
  padding-left: 10px;
}
.overview-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 16px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.poster-column { min-width: 0; }
.poster-frame {
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  padding: 6px;
}
.poster-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.08) brightness(0.92);
}
.poster-caption {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  text-align: center;
}
.info-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.title-block { min-width: 0; }
.movie-title {
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #eef4fb;
  line-height: 1.15;
}
.movie-tagline {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}
.movie-seo {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-dim);
  max-width: 62ch;
}
.title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.btn {
  padding: 7px 18px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  border: 1px solid var(--line-2);
  background: rgba(14, 22, 38, 0.7);
  color: var(--ink);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.btn-primary {
  background: var(--red);
  border-color: var(--red-glow);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(224, 53, 63, 0.35);
}
.btn-primary:hover { background: #c22a35; }
.btn-ghost { color: var(--ink-dim); }
.btn-ghost:hover {
  color: var(--cyan);
  border-color: var(--cyan-dim);
}
.panel-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ink-dim);
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
}
.cast-panel { min-width: 0; }
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cast-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  background: var(--panel-2);
  background-image: repeating-linear-gradient(
    0deg,
    rgba(79, 214, 210, 0.05) 0px,
    rgba(79, 214, 210, 0.05) 1px,
    transparent 1px,
    transparent 3px
  );
  min-width: 0;
}
.cast-avatar {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(79, 214, 210, 0.55), rgba(79, 214, 210, 0) 62%),
    linear-gradient(150deg, #1b2b44, #0c1424);
  border: 1px solid var(--line-2);
}
.cast-name {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-panel { min-width: 0; }
.synopsis-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 10px;
  border-left: 1px solid var(--line-2);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink-dim);
}
.status-panel { min-width: 0; }
.status-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}
.status-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.status-key {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.status-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--amber);
}
.status-progress {
  flex: 1 1 220px;
  min-width: 0;
}
.progress-track {
  height: 5px;
  background: #101a2c;
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.progress-fill {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--cyan-dim), var(--amber));
  box-shadow: 0 0 10px rgba(232, 163, 61, 0.5);
}
.progress-caption {
  margin-top: 5px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.details-panel { min-width: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 9px;
  background: var(--panel-2);
  min-width: 0;
}
.detail-key {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  white-space: nowrap;
}
.detail-value {
  font-size: 12px;
  color: var(--ink);
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.player-section {
  margin-top: 20px;
  border: 1px solid var(--line);
  background: #03060c;
  padding: 10px;
}
.player-shell {
  width: 100%;
  background: #000;
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.control-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1 1 auto;
}
.ctrl-btn {
  padding: 4px 11px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  border: 1px solid var(--line-2);
  background: rgba(14, 22, 38, 0.7);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: var(--cyan);
  border-color: var(--cyan-dim);
}
.ctrl-range {
  flex: 1 1 160px;
  min-width: 110px;
  height: 4px;
  appearance: none;
  background: #101a2c;
  border: 1px solid var(--line-2);
  outline: none;
}
.ctrl-range::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--amber);
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  border: 0;
  border-radius: 0;
  background: var(--amber);
  cursor: pointer;
}
.ctrl-range-vol { flex: 0 1 120px; }
.player-section.lights-off {
  background: #000;
  border-color: #000;
}
.player-section.lights-off .player-controls {
  border-top-color: #05080f;
}
.player-section.theater-mode {
  margin-left: -18px;
  margin-right: -18px;
  border-left: 0;
  border-right: 0;
}
.timeline-section { margin-top: 6px; }
.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
  padding: 4px 0 6px;
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 14px auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 9px;
  row-gap: 3px;
  padding-left: 2px;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 7px;
  top: -16px;
  bottom: -16px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-2) 22%, var(--line-2) 78%, transparent);
}
.timeline-dot {
  position: relative;
  z-index: 1;
  grid-row: 1 / span 2;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(79, 214, 210, 0.6);
  animation: tl-pulse 2.6s ease-out infinite;
}
@keyframes tl-pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 214, 210, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(79, 214, 210, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 214, 210, 0); }
}
.timeline-time {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.timeline-label {
  grid-column: 2;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.episodes-section { margin-top: 6px; }
.episode-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
.episode-scroller::-webkit-scrollbar { height: 7px; }
.episode-scroller::-webkit-scrollbar-track { background: transparent; }
.episode-scroller::-webkit-scrollbar-thumb { background: var(--line-2); }
.episode-track {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.episode-card {
  flex: 0 0 218px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 11px 11px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--line-2);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.episode-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-dim);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}
.episode-card-active {
  border-top-color: var(--amber);
  border-color: rgba(232, 163, 61, 0.45);
  background: linear-gradient(180deg, rgba(232, 163, 61, 0.09), rgba(11, 18, 32, 0.9));
  box-shadow: 0 0 16px rgba(232, 163, 61, 0.16);
}
.episode-number {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}
.episode-card-active .episode-number { color: var(--amber); }
.episode-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e6eef8;
  line-height: 1.3;
}
.episode-summary {
  flex: 1 1 auto;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-dim);
}
.episode-duration {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  padding-top: 5px;
  border-top: 1px solid var(--line);
}
.comments-section { margin-top: 6px; }
.comment-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.comment-card {
  padding: 9px 11px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-2);
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}
.comment-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-dim);
  box-shadow: 0 0 6px rgba(79, 214, 210, 0.5);
}
.comment-nick {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--ink-dim);
}
.rec-section { margin-top: 6px; }
.rec-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink);
  padding-bottom: 5px;
  margin: 18px 0 10px;
  border-bottom: 1px solid var(--line);
}
.rec-grid {
  display: grid;
  gap: 10px;
  align-items: start;
}
.rec-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rec-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
a.rec-card {
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
a.rec-card:hover {
  border-color: var(--cyan-dim);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #0a1120;
  filter: saturate(0.72) contrast(1.1) brightness(0.85);
}
.rec-name {
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #e2ebf5;
  line-height: 1.35;
}
.rec-blurb {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--ink-faint);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 16px 18px 26px;
  max-width: 1320px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.75;
  color: var(--ink-faint);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-faint);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--cyan);
  text-decoration: underline;
}
.footer-copy {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
@media (max-width: 980px) {.overview-grid {
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  }
.timeline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comment-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 760px) {body { font-size: 13.5px; }
.header-inner { padding: 8px 12px; gap: 10px; }
.page-main { padding: 0 12px 30px; }
.hero { min-height: 260px; margin: 10px 0 16px; }
.hero-overlay { min-height: 260px; padding: 18px 14px 16px; }
.title-line { transform: scaleX(0.88); }
.overview-shell { padding: 12px; }
.overview-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.poster-column { max-width: 260px; }
.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.player-section.theater-mode { margin-left: -12px; margin-right: -12px; }
.timeline-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.comment-columns { grid-template-columns: minmax(0, 1fr); }
.rec-grid-3, .rec-grid-4, .rec-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-card { flex-basis: 190px; }}
@media (max-width: 460px) {.cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid-3, .rec-grid-4, .rec-grid-5 { grid-template-columns: minmax(0, 1fr); }
.title-actions .btn { flex: 1 1 auto; text-align: center; }
.ctrl-range-vol { 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}
