:root {
  --bg-deep: #0a0d14;
  --bg-panel: #10141d;
  --bg-panel-2: #141924;
  --ink: #c6cdd9;
  --ink-dim: #7a8494;
  --ink-faint: #4a5261;
  --gold: #a9852f;
  --gold-bright: #d4ac48;
  --gold-glow: #e6c25a;
  --steel: #38404f;
  --steel-line: #232a37;
  --white-hot: #f2f0ea;
  --rule: 1px solid var(--steel-line);
  --gap: 10px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 300;
  letter-spacing: 0.01em;
  background-image:
    linear-gradient(180deg, #0c1018 0%, #0a0d14 40%, #080a10 100%);
  background-attachment: fixed;
}
h1, h2, h3, p, ul, ol, dl, dd, blockquote {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ink);
  text-decoration: none;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
::selection {
  background: var(--gold);
  color: #0a0d14;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 11, 17, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--white-hot);
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  border: 1px solid var(--steel-line);
  border-radius: 2px;
  background: linear-gradient(180deg, #131824, #0d1119);
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px 40px;
}
.section-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--steel);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 1px;
  background: var(--gold-bright);
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0 22px;
  border-bottom: var(--rule);
}
.hero-poster {
  position: relative;
  align-self: start;
  border: 1px solid var(--steel);
  background: #05070b;
  box-shadow: 0 0 0 1px rgba(169, 133, 47, 0.12), 0 10px 30px rgba(0, 0, 0, 0.6);
}
.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(56, 64, 79, 0.35) 0%, rgba(0, 0, 0, 0) 45%, rgba(169, 133, 47, 0.14) 100%);
  z-index: 2;
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
}
.hero-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  position: relative;
}
.movie-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white-hot);
  line-height: 1.2;
}
.movie-tagline {
  font-size: 12.5px;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  padding-left: 9px;
  border-left: 2px solid var(--gold);
  max-width: 62ch;
}
.hero-player {
  position: relative;
  width: 100%;
  border: 1px solid var(--steel);
  background: #05070b;
  padding: 0;
  min-width: 0;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
  filter: saturate(0.85) contrast(1.05);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  background: linear-gradient(180deg, #121722, #0b0f17);
  border-top: 1px solid var(--steel-line);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 3px 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  background: #171d29;
  border: 1px solid var(--steel-line);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}
.ctrl-btn.is-active, .ctrl-btn.click {
  color: var(--gold-glow);
  border-color: var(--gold-bright);
  background: #1d2130;
  box-shadow: inset 0 0 8px rgba(169, 133, 47, 0.35);
}
.ctrl-range {
  flex: 1 1 90px;
  min-width: 60px;
  height: 16px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-runnable-track {
  height: 3px;
  background: var(--steel);
  border-radius: 0;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 9px;
  margin-top: -3px;
  background: var(--gold-bright);
  border: none;
  border-radius: 0;
  box-shadow: 0 0 6px rgba(212, 172, 72, 0.6);
}
.ctrl-range::-moz-range-track {
  height: 3px;
  background: var(--steel);
}
.ctrl-range::-moz-range-thumb {
  width: 9px;
  height: 9px;
  background: var(--gold-bright);
  border: none;
  border-radius: 0;
}
.ctrl-select {
  flex: 0 0 auto;
  padding: 3px 6px;
  font-size: 11px;
  color: var(--ink-dim);
  background: #171d29;
  border: 1px solid var(--steel-line);
  border-radius: 2px;
}
.hero-player.is-fullscreen, .hero-player.theater {
  border-color: var(--gold);
}
.hero-player.is-playing .ctrl-btn[data-player-action="play"] {
  color: var(--gold-glow);
}
.episode-status {
  display: flex;
  align-items: baseline;
  gap: 8px;
  align-self: start;
  padding: 5px 9px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(169, 133, 47, 0.1), rgba(169, 133, 47, 0));
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}
.status-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.05em;
}
.cast-section, .synopsis-section, .details-section {
  margin-top: 12px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 9px 8px 13px;
  background: var(--bg-panel);
  border: 1px solid var(--steel-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}
.cast-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-bright), var(--steel));
}
.cast-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.cast-tag {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.synopsis-para {
  font-size: 12.5px;
  color: var(--ink-dim);
  line-height: 1.6;
  margin-bottom: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--steel-line);
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.synopsis-para::first-letter {
  color: var(--gold-bright);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0 16px;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed #1c222e;
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.12em;
  min-width: 52px;
}
.detail-val {
  flex: 1 1 auto;
  font-size: 12px;
  color: var(--ink);
  font-weight: 400;
  min-width: 0;
}
.timeline-section {
  margin-top: 30px;
  padding-top: 6px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
  position: relative;
  padding-top: 14px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 30%, var(--steel) 60%, var(--steel) 100%);
}
.timeline-node {
  position: relative;
  padding: 0 4px 10px;
  border-top: none;
  border-left: 1px solid var(--steel-line);
  padding-left: 10px;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -10px;
  width: 6px;
  height: 6px;
  background: var(--gold-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 7px rgba(212, 172, 72, 0.7);
}
.timeline-node:nth-child(n + 7)::before {
  background: var(--gold);
  box-shadow: 0 0 5px rgba(169, 133, 47, 0.5);
}
.node-timecode {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.14em;
  margin-bottom: 3px;
}
.node-label {
  display: block;
  font-size: 11.5px;
  color: var(--ink-dim);
  line-height: 1.5;
}
.episodes-section {
  margin-top: 30px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  padding: 9px 10px 9px 12px;
  background: linear-gradient(180deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--steel-line);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.episode-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 16px;
  height: 1px;
  background: var(--gold);
}
.episode-number {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.16em;
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.episode-summary {
  font-size: 11.5px;
  color: var(--ink-dim);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 10.5px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.comments-section {
  margin-top: 30px;
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  align-items: start;
  padding: 4px 2px;
}
.comment-note {
  position: relative;
  padding: 9px 11px;
  background: linear-gradient(180deg, #161b26, #10141d);
  border: 1px solid var(--steel-line);
  border-left: 2px solid var(--steel);
  transform: rotate(-0.6deg);
  min-width: 0;
}
.comment-note:nth-child(even) {
  transform: rotate(0.8deg);
  border-left-color: #2c3444;
}
.comment-note:nth-child(3n) {
  transform: rotate(-1.1deg);
}
.comment-nick {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  color: var(--ink-dim);
  line-height: 1.55;
}
.comment-note:hover {
  transform: rotate(0deg);
  border-left-color: var(--gold-bright);
}
.recommendations-region {
  margin-top: 26px;
}
.rec-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--steel);
}
.rec-slider {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.rec-slider::-webkit-scrollbar {
  height: 6px;
}
.rec-slider::-webkit-scrollbar-track {
  background: #0a0d14;
}
.rec-slider::-webkit-scrollbar-thumb {
  background: var(--steel);
}
.rec-slider::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
a.rec-card {
  flex: 0 0 152px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: #07090e;
  border: 1px solid #171d29;
  color: var(--ink);
  text-decoration: none;
  scroll-snap-align: start;
  box-shadow: inset 0 0 0 1px rgba(56, 64, 79, 0.25);
  transition: border-color 0.18s, box-shadow 0.18s;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05);
  border: 1px solid #131824;
}
a.rec-card:hover {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(169, 133, 47, 0.3), 0 0 12px rgba(169, 133, 47, 0.18);
}
.rec-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.rec-card:hover .rec-name {
  color: var(--gold-bright);
}
.rec-blurb {
  font-size: 11px;
  color: var(--ink-faint);
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 14px 30px;
  border-top: 1px solid var(--steel);
}
.footer-disclaimer {
  font-size: 11px;
  color: var(--ink-faint);
  line-height: 1.6;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px dashed #1c222e;
}
.friends-label {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.14em;
  flex: 0 0 auto;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  color: var(--ink-faint);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.15s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  text-decoration: underline;
}
body.theater-mode .hero-player {
  border-color: var(--gold);
}
body.lights-off {
  background-image: linear-gradient(180deg, #05070b 0%, #030508 100%);
}
body.lights-off .player-video {
  filter: saturate(0.9) contrast(1.1) brightness(1.08);
}
body.lights-off .page-main {
  opacity: 0.96;
}
@media (max-width: 860px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero-poster {
    max-width: 190px;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 620px) {body {
    font-size: 12.5px;
  }
.header-inner {
    padding: 7px 10px;
    flex-wrap: wrap;
  }
.category-strip {
    justify-content: flex-start;
  }
.page-main {
    padding: 0 10px 30px;
  }
.hero-shell {
    padding: 12px 0 16px;
  }
.movie-title {
    font-size: 18px;
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-track {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-key {
    min-width: 58px;
  }
.comments-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.rec-slider {
    gap: 6px;
  }
a.rec-card {
    flex: 0 0 136px;
  }
.site-footer {
    padding: 14px 10px 26px;
  }}
@media (max-width: 420px) {.cast-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-poster {
    max-width: 150px;
  }
.ctrl-btn {
    padding: 3px 6px;
    font-size: 10.5px;
  }}

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}
