:root {
  --ink: #1b1a18;
  --indigo: #24304f;
  --indigo-deep: #182138;
  --indigo-soft: #33456b;
  --amber: #a9763f;
  --amber-soft: #c79a63;
  --paper: #e8e0cf;
  --paper-dim: #cfc5ae;
  --slate: #6d7a80;
  --slate-deep: #3f4a51;
  --wood: #4a3324;
  --wood-light: #6b4a33;
  --bg: #14161c;
  --bg-raise: #1c1f28;
  --line: rgba(200, 180, 140, 0.18);
  --line-strong: rgba(200, 180, 140, 0.32);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", Georgia, serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background:
    radial-gradient(120% 80% at 18% -10%, rgba(52, 69, 107, 0.5), transparent 60%),
    radial-gradient(90% 60% at 100% 0%, rgba(74, 51, 36, 0.42), transparent 55%),
    linear-gradient(180deg, #171a22 0%, var(--bg) 40%, #101217 100%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
video {
  display: block;
  background: #000;
}
h1, h2, h3, p, dl, dd, dt, ol, ul {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
input[type="range"] {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(20, 22, 28, 0.96), rgba(20, 22, 28, 0.82));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-strong);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 1.24rem;
  letter-spacing: 0.14em;
  color: var(--amber-soft);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="site-name"]:hover {
  color: var(--paper);
  border-bottom-color: var(--amber);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-left: auto;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 12px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 2px 10px 2px 10px;
  background: rgba(36, 48, 79, 0.32);
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
a.runtime-category:hover {
  color: var(--paper);
  background: var(--indigo);
  border-color: var(--amber);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 18px 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.section-heading {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--amber-soft);
  padding-left: 12px;
  border-left: 3px solid var(--indigo-soft);
  margin-bottom: 12px;
  line-height: 1.2;
}
.movie-overview {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 20px 22px;
  background:
    linear-gradient(135deg, rgba(36, 48, 79, 0.42), rgba(28, 31, 40, 0.9) 55%),
    repeating-linear-gradient(90deg, rgba(74, 51, 36, 0.16) 0 2px, transparent 2px 7px),
    var(--bg-raise);
  border: 1px solid var(--line-strong);
  border-radius: 3px 16px 3px 16px;
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(200, 180, 140, 0.08);
  overflow: hidden;
}
.movie-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(46% 42% at 74% -6%, rgba(199, 154, 99, 0.22), transparent 70%);
}
.overview-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: start;
}
.hero-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.poster-frame {
  width: 100%;
  max-width: 260px;
  border: 1px solid var(--line-strong);
  border-radius: 2px 12px 2px 12px;
  overflow: hidden;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.95);
  background: var(--indigo-deep);
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.hero-title-block {
  position: relative;
  padding: 4px 0 0 14px;
  border-left: 1px solid var(--line-strong);
  align-self: start;
}
.movie-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.06em;
  color: var(--paper);
  text-shadow: 0 2px 18px rgba(24, 33, 56, 0.9);
}
.movie-tagline {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 0.94rem;
  letter-spacing: 0.12em;
  color: var(--amber-soft);
}
.movie-seo {
  margin-top: 10px;
  font-size: 0.84rem;
  line-height: 1.62;
  color: var(--slate);
  max-width: 52ch;
}
.hero-player {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 2px 12px 2px 12px;
  overflow: hidden;
  background: #05070b;
  box-shadow: 0 16px 34px -22px rgba(0, 0, 0, 1);
}
.hero-player.theater-mode {
  box-shadow: 0 0 0 1px var(--amber), 0 20px 44px -20px rgba(0, 0, 0, 1);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(24, 33, 56, 0.7), rgba(12, 14, 19, 0.95));
  border-top: 1px solid var(--line);
}
.ctrl {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 2px 8px 2px 8px;
  background: rgba(36, 48, 79, 0.28);
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.ctrl:hover {
  color: var(--paper);
  border-color: var(--amber);
  background: rgba(74, 51, 36, 0.5);
}
.ctrl.is-active {
  color: #10151f;
  background: var(--amber-soft);
  border-color: var(--amber-soft);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 100px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(200, 180, 140, 0.2);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber-soft);
  border: 1px solid #10151f;
}
.ctrl-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 1px solid #10151f;
  border-radius: 50%;
  background: var(--amber-soft);
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 60px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(200, 180, 140, 0.2);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--slate);
  border: 1px solid #10151f;
}
.ctrl-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #10151f;
  border-radius: 50%;
  background: var(--slate);
}
body.lights-off .movie-overview {
  background: #07090d;
}
body.lights-off .movie-seo, body.lights-off .overview-synopsis, body.lights-off .overview-details {
  opacity: 0.55;
}
.overview-cast {
  position: relative;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.cast-heading, .synopsis-heading, .details-heading {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--amber-soft);
  margin-bottom: 10px;
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
  gap: 10px 12px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding: 8px 6px;
  background: rgba(24, 33, 56, 0.34);
  border: 1px solid var(--line);
  border-radius: 2px 12px 2px 12px;
}
.cast-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: block;
  background:
    radial-gradient(circle at 34% 30%, rgba(199, 154, 99, 0.5), transparent 60%),
    linear-gradient(160deg, var(--indigo-soft), var(--indigo-deep));
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 0 3px rgba(20, 22, 28, 0.7);
}
.cast-name {
  font-family: var(--serif);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.cast-role {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}
.overview-synopsis {
  position: relative;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.synopsis-para {
  font-size: 0.845rem;
  line-height: 1.72;
  color: var(--paper-dim);
  text-align: justify;
}
.synopsis-para + .synopsis-para {
  margin-top: 8px;
}
.synopsis-para::first-letter {
  color: var(--amber-soft);
}
.overview-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-chip {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: 2px 10px 2px 10px;
  border: 1px dashed var(--line-strong);
  color: var(--paper-dim);
  background: rgba(74, 51, 36, 0.26);
  white-space: nowrap;
}
.status-current {
  color: #10151f;
  background: var(--amber-soft);
  border-style: solid;
  border-color: var(--amber);
}
.status-duration {
  color: var(--slate);
  background: rgba(36, 48, 79, 0.3);
}
.overview-details {
  position: relative;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 22px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px dotted rgba(200, 180, 140, 0.16);
}
.detail-key {
  flex: 0 0 4.6em;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--slate);
}
.detail-value {
  font-size: 0.82rem;
  color: var(--paper);
  letter-spacing: 0.02em;
}
.timeline-section {
  position: relative;
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--indigo-soft) transparent;
  background:
    linear-gradient(180deg, transparent 46%, var(--line) 46%, var(--line) 47%, transparent 47%);
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--indigo-soft);
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 148px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 12px 14px;
  background: linear-gradient(180deg, rgba(28, 31, 40, 0.96), rgba(24, 33, 56, 0.68));
  border: 1px solid var(--line);
  border-radius: 2px 12px 2px 12px;
  scroll-snap-align: start;
}
.node-marker {
  width: 14px;
  height: 14px;
  margin-bottom: 2px;
  background: var(--amber-soft);
  border-radius: 50% 0 50% 50%;
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(20, 22, 28, 0.9), 0 0 12px rgba(199, 154, 99, 0.5);
}
.node-timecode {
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--amber);
}
.node-label {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--paper-dim);
}
.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: 12px 13px 13px;
  background: linear-gradient(160deg, rgba(36, 48, 79, 0.4), rgba(28, 31, 40, 0.92));
  border: 1px solid var(--line);
  border-left: 3px solid var(--wood-light);
  border-radius: 2px 12px 2px 12px;
  transition: border-color 0.16s ease, transform 0.16s ease, background 0.16s ease;
}
.episode-card:hover {
  border-color: var(--line-strong);
  border-left-color: var(--amber-soft);
  background: linear-gradient(160deg, rgba(52, 69, 107, 0.5), rgba(28, 31, 40, 0.96));
  transform: translateY(-2px);
}
.episode-number {
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--amber);
}
.episode-title {
  font-family: var(--serif);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--paper);
  line-height: 1.3;
}
.episode-summary {
  font-size: 0.76rem;
  line-height: 1.58;
  color: var(--slate);
}
.episode-duration {
  margin-top: 2px;
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  padding: 1px 8px;
  border: 1px dashed var(--line-strong);
  border-radius: 2px 8px 2px 8px;
  background: rgba(74, 51, 36, 0.24);
}
.comments-recs-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 20px;
  align-items: start;
}
.comments-section {
  min-width: 0;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 12px 10px;
  background: rgba(24, 33, 56, 0.3);
  border: 1px solid var(--line);
  border-radius: 2px 12px 2px 12px;
}
.comment-nickname {
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--amber-soft);
}
.comment-text {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--paper-dim);
}
.recs-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: start;
  min-width: 0;
}
.rec-region {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.rec-heading {
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--paper);
  padding: 5px 10px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, rgba(74, 51, 36, 0.6), rgba(74, 51, 36, 0.06));
  border-left: 3px solid var(--amber);
  border-radius: 0 8px 8px 0;
  line-height: 1.3;
}
.rec-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
a.rec-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  padding: 7px;
  background: rgba(28, 31, 40, 0.9);
  border: 1px solid var(--line);
  border-radius: 2px 12px 2px 12px;
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
a.rec-card:hover {
  border-color: var(--amber);
  background: rgba(36, 48, 79, 0.6);
  transform: translateX(2px);
}
[data-runtime="recommendation"] img {
  grid-row: 1 / span 2;
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 2px 8px 2px 8px;
  border: 1px solid var(--line);
  background: var(--indigo-deep);
}
a.rec-card [data-runtime="name"] {
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--paper);
  line-height: 1.35;
  align-self: end;
}
a.rec-card [data-runtime="blurb"] {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--slate);
  align-self: start;
}
.site-footer {
  margin-top: 26px;
  padding: 22px 18px 30px;
  background: linear-gradient(180deg, rgba(20, 22, 28, 0.4), #0c0e12);
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
}
.footer-nav {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.footer-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  padding-bottom: 2px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"] {
  color: var(--amber-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover {
  color: var(--paper);
  border-bottom-color: var(--amber-soft);
}
a[data-contract="footer-sitemap"] {
  color: var(--slate);
  text-decoration: underline;
  text-decoration-color: rgba(109, 122, 128, 0.5);
  text-underline-offset: 3px;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--paper-dim);
  text-decoration-color: var(--amber-soft);
}
.friend-links {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px dotted var(--line);
}
.friend-links-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--wood-light);
}
a.runtime-friend-link {
  font-size: 0.74rem;
  color: var(--slate);
  text-decoration: none;
  padding: 1px 8px;
  border: 1px solid var(--line);
  border-radius: 2px 8px 2px 8px;
  background: rgba(36, 48, 79, 0.22);
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--paper);
  border-color: var(--amber);
  background: rgba(74, 51, 36, 0.42);
}
.footer-disclaimer {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  font-size: 0.7rem;
  line-height: 1.6;
  color: rgba(109, 122, 128, 0.85);
  padding-top: 10px;
  border-top: 1px dotted var(--line);
}
@media (max-width: 1024px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-media {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
  }
.poster-frame {
    flex: 0 0 auto;
    width: 168px;
    max-width: 168px;
  }
.hero-title-block {
    flex: 1 1 auto;
    min-width: 0;
    border-left: 0;
    padding-left: 0;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-recs-layout {
    grid-template-columns: minmax(0, 1fr);
  }
.recs-column {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }}
@media (max-width: 620px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 14px 12px 24px;
    gap: 20px;
  }
.movie-overview {
    padding: 14px 13px 16px;
    gap: 14px;
  }
.hero-media {
    flex-direction: column;
  }
.poster-frame {
    width: 60%;
    max-width: 220px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-row {
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  }
.cast-avatar {
    width: 46px;
    height: 46px;
  }
.recs-column {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 5px;
    padding: 7px 8px;
  }
.ctrl {
    font-size: 0.7rem;
    padding: 3px 7px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: -1;
  }
.header-inner {
    padding: 9px 12px;
    gap: 10px;
  }
a[data-contract="site-name"] {
    font-size: 1.08rem;
  }}
@media (max-width: 400px) {.poster-frame {
    width: 100%;
    max-width: 100%;
  }
a.rec-card {
    grid-template-columns: 62px minmax(0, 1fr);
  }
[data-runtime="recommendation"] img {
    height: 82px;
  }}

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}
