:root {
  --bg: #0d1015;
  --bg-deep: #090b0f;
  --panel: #14181f;
  --panel-2: #191e26;
  --line: #262c36;
  --line-soft: #1e232b;
  --text: #d7dce3;
  --text-dim: #8b939f;
  --text-faint: #5f6773;
  --amber: #c9a25f;
  --amber-glow: #e6c07a;
  --ember: #8e2b34;
  --ember-bright: #b23a44;
  --mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 500px at 78% -10%, rgba(201, 162, 95, 0.09), transparent 62%),
    radial-gradient(900px 600px at -10% 30%, rgba(142, 43, 52, 0.08), transparent 65%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
body.lights-off {
  --bg: #060708;
  --panel: #0f1216;
  --panel-2: #12161b;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, p, dl, dd, dt {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, video {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 1px solid var(--amber);
  outline-offset: 2px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 11, 15, 0.92);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
}
a[data-contract="site-name"].site-name {
  color: var(--amber-glow);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.015);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
a.runtime-category:hover {
  color: var(--amber-glow);
  border-color: rgba(201, 162, 95, 0.5);
  background: rgba(201, 162, 95, 0.06);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px 8px;
}
.section-heading {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  text-align: left;
  padding: 6px 0 10px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 14px;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 28px;
  height: 1px;
  background: var(--ember-bright);
}
.movie-overview {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0;
  margin-top: 16px;
  overflow: hidden;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  align-items: start;
  min-height: 0;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, rgba(9, 11, 15, 0.96) 0%, rgba(9, 11, 15, 0.72) 38%, rgba(9, 11, 15, 0.1) 72%),
    radial-gradient(700px 420px at 82% 40%, rgba(201, 162, 95, 0.14), transparent 68%),
    #0a0c11;
}
.hero-media {
  order: 2;
  justify-self: end;
  align-self: start;
  width: 100%;
  max-width: 320px;
  padding: 0;
  line-height: 0;
}
.hero-caption {
  order: 1;
  z-index: 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 8px 40px 34px;
  max-width: 640px;
}
.hero-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.14em;
  color: #eef1f5;
  text-shadow: 0 0 26px rgba(230, 192, 122, 0.16);
}
.hero-tagline {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--amber-glow);
  border-left: 2px solid var(--ember);
  padding-left: 10px;
}
.hero-desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-dim);
  max-width: 52ch;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.86);
  border-left: 1px solid var(--line);
}
.player-panel {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line-soft);
  background: #05070a;
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  filter: saturate(0.9);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 9px 12px;
  background: var(--panel-2);
  border-top: 1px solid var(--line-soft);
}
.player-btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.player-btn:hover {
  color: var(--amber-glow);
  border-color: rgba(201, 162, 95, 0.5);
}
.player-btn.is-active, .player-btn:active {
  color: #f0e2c6;
  border-color: var(--ember-bright);
  background: rgba(142, 43, 52, 0.22);
}
.player-progress {
  flex: 1 1 220px;
  min-width: 120px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--ember) 0%, var(--line) 0%);
  background-color: var(--line);
  border-radius: 0;
  accent-color: var(--ember-bright);
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ember-bright);
  border: 1px solid #2a0f13;
  cursor: pointer;
}
.player-progress::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 1px solid #2a0f13;
  border-radius: 50%;
  background: var(--ember-bright);
  cursor: pointer;
}
.player-volume {
  flex: 0 1 110px;
  min-width: 70px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--line);
  accent-color: var(--amber);
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
}
.player-volume::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: var(--amber);
  cursor: pointer;
}
.player-panel.is-theater {
  background: #000;
  box-shadow: 0 0 0 1px var(--line), 0 22px 60px rgba(0, 0, 0, 0.6);
}
.cast-block {
  padding: 16px 20px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 8px 4px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.012);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.cast-item:hover {
  border-color: rgba(201, 162, 95, 0.4);
  background: rgba(201, 162, 95, 0.04);
}
.cast-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(230, 192, 122, 0.4), transparent 60%),
    linear-gradient(160deg, #2b323d, #171b22);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.6);
}
.cast-name {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  line-height: 1.2;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.18);
}
.status-field {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 1px;
  white-space: nowrap;
}
.status-field:last-child {
  color: var(--amber-glow);
  border-color: rgba(201, 162, 95, 0.34);
}
.synopsis-block {
  padding: 16px 20px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-dim);
  column-gap: 34px;
}
.synopsis-para + .synopsis-para {
  margin-top: 10px;
}
.details-block {
  padding: 16px 20px 20px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 26px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-key {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  flex: 0 0 auto;
  min-width: 62px;
}
.detail-value {
  font-size: 13px;
  color: var(--text);
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
}
.timeline-block {
  margin-top: 22px;
  padding: 0 0 4px;
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 4px 18px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 42px),
    linear-gradient(180deg, #101319, #0b0e12);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--line);
}
.timeline-node {
  position: relative;
  flex: 0 0 226px;
  padding: 26px 18px 0 0;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.timeline-node:last-child::before {
  right: 58%;
}
.timeline-dot {
  position: absolute;
  top: 3px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #1a1f27;
  border: 1px solid #39414d;
  box-shadow: 0 0 0 3px rgba(10, 12, 16, 0.9);
}
.timeline-line {
  position: absolute;
  top: 8px;
  left: 11px;
  width: 22px;
  height: 1px;
  background: #39414d;
}
.timeline-time {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 6px;
}
.timeline-label {
  display: block;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
  padding-right: 4px;
}
.timeline-node-current .timeline-dot {
  background: var(--ember-bright);
  border-color: var(--ember-bright);
  box-shadow: 0 0 0 3px rgba(10, 12, 16, 0.9), 0 0 14px rgba(178, 58, 68, 0.8);
}
.timeline-node-current .timeline-line {
  background: var(--ember);
}
.timeline-node-current .timeline-time {
  color: #e7a9ae;
}
.timeline-node-current .timeline-label {
  color: var(--text);
}
.episodes-block {
  margin-top: 22px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 12px 12px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid #2a303a;
  background: var(--panel);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.episode-card:hover, .episode-card.click {
  border-color: rgba(201, 162, 95, 0.42);
  border-left-color: var(--amber);
  background: var(--panel-2);
}
.episode-card:hover .episode-summary, .episode-card.click .episode-summary {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}
.episode-number {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.episode-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-top: 2px;
}
.episode-card-current {
  border-left-color: var(--ember-bright);
  background: linear-gradient(180deg, rgba(142, 43, 52, 0.14), rgba(142, 43, 52, 0.04)), var(--panel);
  border-color: rgba(142, 43, 52, 0.5);
}
.episode-card-current .episode-number {
  color: #d98b93;
}
.comments-block {
  margin-top: 22px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-item {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  grid-template-areas:
    "mark text"
    "mark nick";
  column-gap: 10px;
  row-gap: 5px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  transition: border-color 0.18s ease;
}
.comment-item:hover {
  border-color: rgba(201, 162, 95, 0.34);
}
.comment-mark {
  grid-area: mark;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  background: var(--ember);
  box-shadow: 0 0 8px rgba(142, 43, 52, 0.7);
}
.comment-text {
  grid-area: text;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text);
}
.comment-nick {
  grid-area: nick;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.comment-nick::before {
  content: "— ";
  color: var(--ember);
}
.recommendations-region {
  margin-top: 22px;
}
.rec-columns {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rec-column {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
a.rec-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  grid-template-areas:
    "thumb name"
    "thumb blurb";
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.18s ease;
}
.rec-column .rec-item:first-child {
  border-top: 1px solid var(--line-soft);
}
a.rec-item:hover .rec-name, a.rec-item:focus-visible .rec-name {
  color: var(--amber-glow);
}
a.rec-item:hover .rec-thumb {
  filter: saturate(1) brightness(1);
  border-color: rgba(201, 162, 95, 0.45);
}
.rec-item img.rec-thumb {
  grid-area: thumb;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0a0c10;
  border: 1px solid var(--line-soft);
  filter: saturate(0.62) brightness(0.84);
  transition: filter 0.2s ease, border-color 0.2s ease;
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}
.rec-name {
  grid-area: name;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  line-height: 1.5;
}
.rec-blurb {
  grid-area: blurb;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1280px;
  margin: 26px auto 0;
  padding: 18px 20px 34px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--text-faint);
  max-width: 88ch;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="footer-home"].footer-link {
  color: var(--amber);
  border-bottom-color: rgba(201, 162, 95, 0.4);
}
a[data-contract="footer-home"].footer-link:hover {
  color: var(--amber-glow);
  border-bottom-color: var(--amber-glow);
}
a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--text);
  border-bottom-color: var(--text-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--text-faint);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--ember-bright);
}
@media (min-width: 900px) {.rec-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 22px;
    align-items: start;
  }
.rec-column .rec-item:first-child {
    border-top: 1px solid var(--line-soft);
  }}
@media (min-width: 1100px) {.movie-overview {
    padding: 0;
  }
.hero-poster {
    border-right: 0;
  }}
@media (max-width: 1030px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.hero-caption {
    padding: 34px 8px 34px 26px;
  }}
@media (max-width: 820px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    background:
      linear-gradient(180deg, rgba(9, 11, 15, 0.5) 0%, rgba(9, 11, 15, 0.94) 55%),
      radial-gradient(600px 360px at 70% 10%, rgba(201, 162, 95, 0.12), transparent 68%),
      #0a0c11;
  }
.hero-media {
    order: 1;
    justify-self: end;
    max-width: 250px;
  }
.hero-caption {
    order: 2;
    padding: 22px 18px 26px;
  }
.cast-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }}
@media (max-width: 640px) {.page-main {
    padding: 0 12px 8px;
  }
.header-inner {
    padding: 9px 12px;
    gap: 10px;
  }
.hero-title {
    font-size: clamp(24px, 7.6vw, 34px);
    letter-spacing: 0.1em;
  }
.hero-media {
    max-width: 190px;
  }
.hero-caption {
    padding: 18px 14px 22px;
  }
.cast-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-node {
    flex-basis: 200px;
  }
a.rec-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }
.cast-block, .synopsis-block, .details-block {
    padding-left: 14px;
    padding-right: 14px;
  }
.episode-status {
    padding-left: 14px;
    padding-right: 14px;
  }
.site-footer {
    padding: 16px 12px 30px;
  }}
@media (max-width: 420px) {.cast-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.hero-media {
    max-width: 150px;
  }
a.rec-item {
    grid-template-columns: 80px minmax(0, 1fr);
  }
.player-controls {
    padding: 8px 9px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !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}
