*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ul, li, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
:root {
  --bg-deep: #131b24;
  --bg-panel: #1a2531;
  --bg-panel-2: #202c3a;
  --ink: #e7e2d6;
  --ink-dim: #a3a89f;
  --ink-faint: #737c82;
  --copper: #b07a49;
  --copper-bright: #d09b62;
  --rust: #8f3f31;
  --rust-bright: #c0563f;
  --warm-glow: rgba(214, 168, 108, 0.14);
  --grain: rgba(214, 168, 108, 0.05);
  --rule: rgba(176, 122, 73, 0.28);
  --rule-soft: rgba(231, 226, 214, 0.08);
  --font-narrow: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --font-song: "Songti SC", "Noto Serif SC", "SimSun", "STSong", serif;
  --font-hand: "Kaiti SC", "STKaiti", "KaiTi", "Xingkai SC", cursive;
}
body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(214, 168, 108, 0.09), transparent 60%),
    linear-gradient(180deg, #101821 0%, #131b24 40%, #10171f 100%);
  color: var(--ink);
  font-family: var(--font-narrow);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 14px 36px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(16, 24, 33, 0.96), rgba(16, 24, 33, 0.82));
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  font-family: var(--font-song);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--copper-bright);
  text-decoration: none;
  white-space: nowrap;
  border-left: 3px solid var(--rust);
  padding-left: 8px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="site-name"]:hover {
  color: var(--ink);
  border-color: var(--copper-bright);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 9px;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
a.runtime-category:hover {
  color: var(--copper-bright);
  border-color: var(--rule);
  background-color: rgba(176, 122, 73, 0.12);
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 0 26px;
  border-bottom: 1px solid var(--rule-soft);
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.hero-still {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  isolation: isolate;
}
.poster-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0c1218;
  border: 1px solid var(--rule);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 18px 40px -24px rgba(0, 0, 0, 0.9);
}
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 46% at 50% 42%, transparent 30%, rgba(9, 13, 18, 0.72) 100%),
    repeating-linear-gradient(0deg, var(--grain) 0 1px, transparent 1px 3px);
}
.poster-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-slogan {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 12px 12px;
  background: linear-gradient(180deg, transparent, rgba(9, 13, 18, 0.88));
}
.hero-tagline {
  font-family: var(--font-narrow);
  font-weight: 200;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}
.hero-player {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.hero-player video {
  width: 100%;
  height: auto;
  background: #070b10;
  border: 1px solid var(--rule);
  box-shadow: 0 18px 44px -28px rgba(0, 0, 0, 0.95);
}
.player-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: linear-gradient(180deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--rule);
  border-top: none;
}
.player-btn {
  flex: 0 0 auto;
  padding: 3px 9px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
  background: rgba(231, 226, 214, 0.04);
  border: 1px solid var(--rule-soft);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.player-btn:hover {
  color: var(--copper-bright);
  border-color: var(--rule);
}
.player-btn.is-active {
  color: #14181d;
  background: var(--copper-bright);
  border-color: var(--copper-bright);
}
.player-range {
  flex: 1 1 90px;
  min-width: 60px;
  height: 4px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(231, 226, 214, 0.16);
  border-radius: 2px;
  cursor: pointer;
}
.player-progress {
  flex: 3 1 130px;
}
.player-volume {
  flex: 1 1 70px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--copper-bright);
  border: none;
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--copper-bright);
}
.overview-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  background: linear-gradient(180deg, var(--bg-panel), #17212c);
  border: 1px solid var(--rule);
  box-shadow: inset 0 1px 0 rgba(231, 226, 214, 0.04);
}
.movie-title {
  font-family: var(--font-song);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  color: var(--ink);
}
.movie-seo {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-dim);
  border-left: 2px solid var(--rule);
  padding-left: 10px;
}
.episode-status {
  display: block;
}
.status-line {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--copper-bright);
  padding: 3px 10px;
  border: 1px dashed var(--rule);
  background: rgba(176, 122, 73, 0.08);
}
.status-total, .status-current {
  font-family: var(--font-narrow);
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}
.cast-strip {
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
}
.cast-heading {
  font-family: var(--font-song);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--copper);
  margin-bottom: 8px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: stretch;
}
.cast-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 46px;
  padding: 8px 4px 7px;
  background: linear-gradient(180deg, #2a3644, #1d2733);
  border: 1px solid var(--rule-soft);
  border-top: 2px solid var(--rust);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.cast-cell:hover {
  border-top-color: var(--copper-bright);
  background: linear-gradient(180deg, #313e4d, #212c39);
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-song);
  font-size: 13px;
  letter-spacing: 0.24em;
  line-height: 1.2;
  color: var(--ink);
}
.cast-role {
  font-family: var(--font-hand);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ink-faint);
  text-align: center;
}
.synopsis-block {
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
}
.synopsis-heading, .details-heading {
  font-family: var(--font-song);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--copper);
  margin-bottom: 8px;
}
.synopsis-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-dim);
  text-indent: 2em;
}
.synopsis-para:first-child {
  color: var(--ink);
}
.details-block {
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2px 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted var(--rule-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink);
}
.timeline-section {
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--rule-soft);
}
.timeline-heading, .episodes-heading, .comments-heading, .recommend-title {
  font-family: var(--font-song);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--ink);
}
.timeline-heading {
  margin-bottom: 20px;
}
.timeline-heading::before, .episodes-heading::before, .comments-heading::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--rust);
}
.timeline-track {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  padding: 6px 4px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--copper) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(231, 226, 214, 0.06);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--copper);
  border-radius: 3px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 30px;
  height: 2px;
  background:
    repeating-linear-gradient(90deg, var(--rule) 0 10px, transparent 10px 18px),
    linear-gradient(90deg, transparent, rgba(143, 63, 49, 0.5), transparent);
  pointer-events: none;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding-top: 4px;
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  padding: 30px 14px 0 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--rust);
  border: 2px solid #10171f;
  box-shadow: 0 0 0 1px var(--rust);
}
.node-time {
  display: block;
  font-family: var(--font-narrow);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--copper);
  margin-bottom: 4px;
}
.node-label {
  display: block;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.timeline-node.is-current .node-label {
  color: var(--ink);
}
.timeline-node.is-current::before {
  background: var(--rust-bright);
  box-shadow: 0 0 0 1px var(--rust-bright), 0 0 14px 3px rgba(192, 86, 63, 0.55);
}
.timeline-node.is-current .node-time {
  color: var(--rust-bright);
  font-weight: 700;
}
.episodes-section {
  padding: 24px 0 30px;
  border-bottom: 1px solid var(--rule-soft);
}
.episodes-heading {
  margin-bottom: 14px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px 11px;
  background: linear-gradient(180deg, #1c2733, #172029);
  border: 1px solid var(--rule-soft);
  border-left: 2px solid rgba(176, 122, 73, 0.4);
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.episode-card:hover {
  border-left-color: var(--copper-bright);
  background: linear-gradient(180deg, #23303d, #1a242f);
  transform: translateY(-1px);
}
.episode-number {
  font-family: var(--font-narrow);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--rust-bright);
}
.episode-title {
  font-family: var(--font-song);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--ink);
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--ink-dim);
}
.episode-duration {
  position: absolute;
  right: 9px;
  bottom: 7px;
  font-family: var(--font-hand);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--copper-bright);
  background: rgba(16, 23, 31, 0.9);
  padding: 0 4px;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
  opacity: 1;
  transform: translateY(0);
}
.comments-section {
  padding: 24px 0 30px;
  border-bottom: 1px solid var(--rule-soft);
}
.comments-heading {
  margin-bottom: 14px;
}
.comments-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}
.comments-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  background: linear-gradient(180deg, rgba(32, 44, 58, 0.85), rgba(23, 32, 41, 0.85));
  border: 1px solid var(--rule-soft);
  border-top: 1px solid var(--rule);
}
.comment-nickname {
  font-family: var(--font-hand);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--copper-bright);
}
.comment-nickname::before {
  content: "— ";
  color: var(--rust);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--ink-dim);
}
.comment-item.is-short {
  border-left: 2px solid rgba(176, 122, 73, 0.5);
}
.comment-item.is-long {
  border-left: 2px solid rgba(143, 63, 49, 0.6);
}
.comment-item.is-long .comment-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region {
  padding: 20px 0 8px;
  border-bottom: 1px solid var(--rule-soft);
}
.recommend-region:last-of-type {
  border-bottom: none;
}
.recommend-title {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.2em;
  padding-left: 22px;
  margin-bottom: 12px;
  text-align: left;
}
.recommend-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--copper-bright);
}
.recommend-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px 7px 9px;
  background: linear-gradient(180deg, #1e2935, #18212b);
  border: 1px solid var(--rule-soft);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
a.recommend-card:hover {
  border-color: var(--copper);
  background: linear-gradient(180deg, #25313f, #1b2530);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  background: #0c1218;
  border: 1px solid rgba(176, 122, 73, 0.22);
}
.recommend-name {
  font-family: var(--font-song);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
}
.site-footer {
  border-top: 1px solid var(--rule);
  background: linear-gradient(180deg, #101821, #0c1218);
  margin-top: 8px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 14px 26px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--copper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--copper-bright);
  border-bottom-color: var(--copper-bright);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
}
.friend-links-label {
  font-family: var(--font-hand);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  padding-right: 4px;
  border-right: 1px solid var(--rule-soft);
}
a.runtime-friend-link {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.18s ease;
}
a.runtime-friend-link:hover {
  color: var(--copper-bright);
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-faint);
  max-width: 70ch;
  padding-top: 10px;
  border-top: 1px dotted var(--rule-soft);
}
body.is-lights-off .page-main {
  filter: brightness(0.55) contrast(1.05);
  transition: filter 0.3s ease;
}
body.is-lights-off .hero-player {
  filter: brightness(1.6) contrast(1.02);
}
body.is-theater .overview-hero {
  grid-template-columns: minmax(0, 1fr);
}
body.is-theater .hero-still {
  display: none;
}
.player .is-active, .player-btn.is-active {
  color: #14181d;
  background: var(--copper-bright);
  border-color: var(--copper-bright);
}
@media (min-width: 560px) {.comments-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.synopsis-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.synopsis-para:first-child {
    grid-column: 1 / -1;
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  }}
@media (min-width: 760px) {.page-main {
    padding: 0 22px 44px;
  }
.header-inner {
    padding: 9px 22px;
  }
.overview-hero {
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }
.hero-still {
    margin: 0;
    max-width: none;
  }
.overview-meta {
    padding: 16px 18px;
    gap: 14px;
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
.recommend-cards {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
.footer-inner {
    padding: 24px 22px 30px;
    gap: 14px;
  }}
@media (min-width: 960px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.movie-title {
    font-size: 23px;
  }
.recommend-cards {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }}
@media (min-width: 1100px) {.synopsis-body {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.synopsis-para:first-child {
    grid-column: 1 / -1;
  }
.recommend-cards {
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  }}
@media (max-width: 559px) {.player-bar {
    gap: 5px;
  }
.player-btn {
    padding: 3px 7px;
    font-size: 11px;
  }
.player-range {
    flex-basis: 100%;
  }
.cast-cell {
    width: 42px;
  }
.cast-name {
    font-size: 12px;
  }
.timeline-node {
    width: 150px;
  }
.movie-title {
    font-size: 19px;
  }}

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}
