:root {
  --bg-deep: #14181f;
  --bg-panel: #1b212b;
  --bg-panel-soft: #202733;
  --line: #2c3542;
  --line-soft: #232b37;
  --gold: #c9a55c;
  --gold-dim: #8f7239;
  --gold-bright: #e3c17f;
  --ink: #e8e2d6;
  --ink-soft: #a9a397;
  --ink-faint: #6f6a60;
  --cold: #7d8fa6;
  --radius: 3px;
  --gap: 14px;
  --pad: 16px;
  --mono: "SF Mono", "Consolas", "Menlo", "Courier New", monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --title-fam: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 90% 55% at 78% 8%, rgba(201, 165, 92, 0.09), transparent 62%),
    radial-gradient(ellipse 70% 45% at 12% 32%, rgba(125, 143, 166, 0.08), transparent 60%),
    linear-gradient(180deg, #171c24 0%, #12161d 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3 {
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 22, 29, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px var(--pad);
}
a[data-contract="site-name"] {
  color: var(--gold-bright);
  text-decoration: none;
  font-family: var(--title-fam);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.14em;
  border-left: 2px solid var(--gold-dim);
  padding-left: 9px;
  white-space: nowrap;
  transition: color 0.2s ease;
}
a[data-contract="site-name"]:hover {
  color: #fff;
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  background-color: rgba(201, 165, 92, 0.07);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px var(--pad) 34px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.movie-overview {
  background: linear-gradient(180deg, var(--bg-panel) 0%, #181e27 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 148px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.poster-frame {
  position: relative;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 5px;
  background: #10141a;
  box-shadow: 0 0 0 1px rgba(201, 165, 92, 0.16), 0 12px 30px -14px rgba(0, 0, 0, 0.85);
}
.poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 1px;
  background-color: #0d1014;
}
.overview-headline {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-self: end;
  min-width: 0;
}
.movie-title {
  font-family: var(--title-fam);
  font-size: clamp(21px, 3.4vw, 33px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0.03em;
  color: #f3eee2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.movie-tagline {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.06em;
  border-left: 2px solid var(--gold-dim);
  padding-left: 10px;
  max-width: 34em;
}
.player-shell {
  position: relative;
  width: 100%;
  background: #0b0e13;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 6px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.player-video {
  width: 100%;
  height: auto;
  display: block;
  background-color: #06080b;
  border-radius: 2px;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 4px 4px 8px;
  border-top: 1px solid var(--line-soft);
}
.ctrl-btn {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  background: var(--bg-panel-soft);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 9px;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.ctrl-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
.ctrl-btn.is-playing, .ctrl-btn.is-muted {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  background: rgba(201, 165, 92, 0.1);
}
.ctrl-progress {
  flex: 1 1 150px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
}
.ctrl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
}
.ctrl-volume {
  flex: 0 1 84px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cold);
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--cold);
}
.player-shell.is-theater {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 1px rgba(201, 165, 92, 0.22);
}
.player-shell.is-lights-out {
  background: #000;
  border-color: #000;
}
.player-shell.is-lights-out .player-controls {
  border-top-color: #14171c;
}
.cast-strip {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-family: var(--title-fam);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cast-heading::before, .synopsis-heading::before, .details-heading::before, .timeline-heading::before, .episodes-heading::before, .comments-heading::before, .recommend-heading::before {
  content: "";
  width: 3px;
  height: 13px;
  background: var(--gold-dim);
  flex: 0 0 auto;
}
.cast-heading::after, .synopsis-heading::after, .details-heading::after, .timeline-heading::after, .episodes-heading::after, .comments-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--line-soft), transparent);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
}
.cast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cast-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
}
.cast-portrait {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(circle at 50% 34%, rgba(201, 165, 92, 0.22), transparent 62%),
    linear-gradient(160deg, #2a3340 0%, #1a2029 58%, #12161c 100%);
  position: relative;
}
.cast-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(9, 12, 16, 0.9) 100%);
}
.cast-name {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-align: center;
  padding: 5px 4px 6px;
  background: #171c24;
  border-top: 1px solid var(--line-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  position: relative;
  background: rgba(27, 33, 43, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.synopsis-block::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201, 165, 92, 0.14);
  border-radius: 2px;
  pointer-events: none;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--ink-soft);
  max-width: 62em;
  padding-left: 12px;
  border-left: 1px solid var(--line-soft);
}
.synopsis-para:first-of-type {
  color: var(--ink);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-dim);
  border-radius: 2px;
  align-self: flex-start;
}
.status-current {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  white-space: nowrap;
}
.status-total {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  white-space: nowrap;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.details-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 22px;
  border-top: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 4.6em;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  white-space: nowrap;
}
.detail-value {
  flex: 1 1 auto;
  font-size: 13px;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 4px;
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 5.4em minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 6px 0 6px 20px;
  border-left: 1px solid var(--line);
  transition: border-color 0.2s ease;
}
.timeline-node:last-child {
  border-left-color: transparent;
}
.timeline-node::before {
  content: "⚲";
  position: absolute;
  left: -8px;
  top: 6px;
  font-size: 13px;
  line-height: 1;
  color: var(--gold-dim);
  background: var(--bg-deep);
  padding: 1px 0;
  transition: color 0.2s ease;
}
.timeline-node:hover {
  border-left-color: var(--gold-dim);
}
.timeline-node:hover::before {
  color: var(--gold-bright);
}
.timeline-code {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: var(--bg-panel-soft);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2px 6px;
  text-align: center;
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.episodes-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.episode-card:hover, .episode-card:focus-within {
  border-color: var(--gold-dim);
  background: var(--bg-panel-soft);
}
.episode-number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
}
.episode-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.episode-summary {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
  border-top: 1px solid transparent;
  transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.3s ease,
    padding-top 0.3s ease, border-color 0.3s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 12em;
  opacity: 1;
  margin-top: 4px;
  padding-top: 6px;
  border-top-color: var(--line);
}
.comments-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comments-col:nth-child(2) {
  margin-top: 22px;
}
.comment-card {
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--line);
  border-radius: 2px;
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.comment-card:hover {
  border-left-color: var(--gold-dim);
  background: var(--bg-panel-soft);
}
.comment-nickname {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 13px;
  line-height: 1.68;
  color: var(--ink-soft);
}
.recommend-region {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.recommend-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
a.recommend-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-2px);
  background: var(--bg-panel-soft);
}
[data-runtime="recommendation"] img, .recommend-thumb {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  background: #0d1014;
  border-bottom: 1px solid var(--line-soft);
}
.recommend-name {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 7px 9px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  display: block;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
  padding: 3px 9px 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px var(--pad) 28px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  white-space: nowrap;
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--cold);
  text-decoration: none;
  padding: 2px 7px;
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}
a.footer-link[data-contract="footer-home"] {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a.footer-link[data-contract="footer-home"]:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
a.footer-link[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a.footer-link[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-faint);
  max-width: 72em;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}
@media (max-width: 960px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-track {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }}
@media (max-width: 760px) {.overview-hero {
    grid-template-columns: minmax(0, 124px) minmax(0, 1fr);
    gap: 14px;
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.comments-col:nth-child(2) {
    margin-top: 0;
  }
.cast-list {
    grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  }}
@media (max-width: 560px) {body {
    font-size: 13.5px;
  }
.page-main {
    padding: 14px 12px 26px;
    gap: 20px;
  }
.header-inner {
    padding: 8px 12px;
  }
.overview-hero {
    grid-template-columns: minmax(0, 104px) minmax(0, 1fr);
    gap: 12px;
  }
.movie-title {
    font-size: 19px;
  }
.movie-tagline {
    font-size: 12px;
    padding-left: 8px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }
.episode-title {
    font-size: 12.5px;
  }
.recommend-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.ctrl-btn {
    font-size: 11px;
    padding: 4px 7px;
  }
.ctrl-progress {
    flex: 1 1 100%;
    order: 3;
  }
.timeline-node {
    grid-template-columns: 4.8em minmax(0, 1fr);
    gap: 10px;
    padding-left: 16px;
  }
.detail-key {
    flex-basis: 4em;
    font-size: 11.5px;
  }}
@media (max-width: 380px) {.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 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}
