*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, dt {
  margin: 0;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
  border: 0;
}
button, input {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --ink: #0e1621;
  --ink-2: #131e2c;
  --panel: #17222f;
  --panel-2: #1b2735;
  --line: #2a3746;
  --line-soft: #223040;
  --gold: #c9a24a;
  --gold-soft: #e0c176;
  --gold-dim: rgba(201, 162, 74, 0.35);
  --rose: #b98a8f;
  --rose-soft: #d3a9ad;
  --text: #d8dee6;
  --text-2: #9aa7b6;
  --text-3: #6f7d8d;
  --radius: 3px;
  --gap: 14px;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body {
  background:
    radial-gradient(1200px 640px at 12% -8%, rgba(201, 162, 74, 0.09), transparent 62%),
    radial-gradient(980px 560px at 108% 4%, rgba(185, 138, 143, 0.11), transparent 60%),
    var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 22, 33, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
.site-brand {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-width: 0;
  flex: 1 1 auto;
}
.runtime-category {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-2);
  font-size: 12px;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.runtime-category:hover {
  color: var(--gold-soft);
  border-color: var(--gold-dim);
  background: rgba(201, 162, 74, 0.08);
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 0;
}
.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  padding: 16px 0 20px;
  margin-bottom: 16px;
}
.hero-backdrop {
  position: absolute;
  inset: -16px -16px auto -16px;
  height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  z-index: 0;
  pointer-events: none;
}
.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 22, 33, 0.94) 0%, rgba(14, 22, 33, 0.42) 34%, rgba(14, 22, 33, 0.42) 66%, rgba(14, 22, 33, 0.94) 100%),
    linear-gradient(180deg, rgba(14, 22, 33, 0.5) 0%, rgba(14, 22, 33, 0.96) 88%);
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
  filter: saturate(0.72) contrast(1.06) brightness(0.78);
}
.hero-shards {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.shard {
  position: absolute;
  display: block;
  opacity: 0.5;
}
.shard-ledger {
  left: 6%;
  top: 12%;
  width: 30%;
  height: 46%;
  transform: rotate(-7deg);
  background:
    repeating-linear-gradient(
      180deg,
      rgba(216, 222, 230, 0.14) 0 1px,
      transparent 1px 9px
    ),
    linear-gradient(140deg, rgba(216, 222, 230, 0.1), rgba(216, 222, 230, 0.02));
  border-left: 1px solid rgba(216, 222, 230, 0.16);
  clip-path: polygon(2% 0, 100% 5%, 94% 92%, 8% 100%);
}
.shard-ring {
  right: 8%;
  top: 16%;
  width: 20%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 50%;
  border: 2px solid rgba(224, 193, 118, 0.4);
  box-shadow:
    inset 0 0 0 4px rgba(224, 193, 118, 0.08),
    0 0 22px rgba(224, 193, 118, 0.18);
  transform: rotate(14deg);
}
.hero-figure {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.poster-wrap {
  width: 168px;
  max-width: 46%;
  flex: 0 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  background: var(--panel);
}
.poster-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}
.hero-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}
.movie-title {
  font-size: 26px;
  color: var(--gold-soft);
  text-shadow: 0 0 18px rgba(201, 162, 74, 0.22);
}
.movie-tagline {
  color: var(--rose-soft);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding-left: 10px;
  border-left: 2px solid var(--gold-dim);
}
.player-shell {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  background: #0a1119;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05090e;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(23, 34, 47, 0.96), rgba(19, 30, 44, 0.98));
  border-top: 1px solid var(--line);
}
.ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  font-size: 12px;
  color: var(--text-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.ctrl:hover {
  color: var(--gold-soft);
  border-color: var(--gold-dim);
  background: rgba(201, 162, 74, 0.07);
}
.ctrl:focus-visible {
  outline: 1px solid var(--gold-soft);
  outline-offset: 1px;
}
.ctrl-play {
  color: var(--gold-soft);
  border-color: var(--gold-dim);
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 0;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--line);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 78px;
  min-width: 60px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--line);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid #0e1621;
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 1px solid #0e1621;
  border-radius: 50%;
  background: var(--gold);
}
.player-playing .ctrl-play {
  color: var(--gold);
  background: rgba(201, 162, 74, 0.12);
}
.player-theater {
  box-shadow: 0 0 0 1px var(--gold-dim), 0 18px 40px rgba(0, 0, 0, 0.5);
}
.player-lights-off {
  background: #03060a;
}
.player-lights-off video {
  filter: brightness(1.06) contrast(1.05);
}
.ctrl.mute, .ctrl.mute:hover {
  color: var(--rose-soft);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  font-size: 12px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-2);
}
.status-total {
  color: var(--text-2);
}
.status-current {
  color: var(--gold-soft);
  border-color: var(--gold-dim);
  background: rgba(201, 162, 74, 0.07);
}
.cast-strip {
  display: block;
}
.cast-heading, .timeline-heading, .episodes-heading, .comments-heading, .synopsis-heading, .details-heading {
  font-size: 15px;
  color: var(--gold-soft);
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.cast-heading::after, .timeline-heading::after, .episodes-heading::after, .comments-heading::after, .synopsis-heading::after, .details-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 1px;
  background: var(--gold);
}
.cast-list {
  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;
  text-align: center;
  gap: 5px;
  min-width: 0;
}
.cast-avatar {
  width: 100%;
  max-width: 72px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 32% 26%, rgba(201, 162, 74, 0.2), rgba(23, 34, 47, 0.96) 68%);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.08);
}
.cast-initials {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
}
.cast-name {
  font-size: 12px;
  color: var(--text);
  line-height: 1.35;
  word-break: keep-all;
}
.cast-role {
  font-size: 11px;
  color: var(--rose);
  line-height: 1.3;
}
.synopsis-block {
  display: block;
}
.synopsis-lead {
  color: var(--text);
  font-size: 13px;
  padding: 8px 10px;
  margin-bottom: 8px;
  border-left: 2px solid var(--gold-dim);
  background: linear-gradient(90deg, rgba(201, 162, 74, 0.07), transparent 72%);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.synopsis-para {
  color: var(--text-2);
  font-size: 13px;
  margin-bottom: 7px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.details-block {
  display: block;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 62px;
  font-size: 12px;
  color: var(--text-3);
}
.detail-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: var(--text);
  word-break: break-word;
}
.timeline-section {
  margin: 0 0 16px;
  padding: 14px 0 8px;
  border-top: 1px solid var(--line-soft);
}
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 2px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.timeline-node {
  position: relative;
  flex: 0 0 172px;
  scroll-snap-align: start;
  padding: 20px 10px 10px;
  background: linear-gradient(180deg, rgba(23, 34, 47, 0.85), rgba(19, 30, 44, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.node-marker {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--line);
  border: 1px solid var(--text-3);
}
.node-timecode {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.06em;
}
.node-label {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}
.timeline-node-active {
  border-color: var(--gold-dim);
  background: linear-gradient(180deg, rgba(201, 162, 74, 0.14), rgba(19, 30, 44, 0.7));
  box-shadow: 0 0 16px rgba(201, 162, 74, 0.14);
}
.timeline-node-active .node-marker {
  background: var(--gold);
  border-color: var(--gold-soft);
  box-shadow: 0 0 12px rgba(201, 162, 74, 0.6);
}
.timeline-node-active .node-timecode {
  color: var(--gold-soft);
}
.timeline-node-active .node-label {
  color: var(--text);
}
.episodes-section {
  margin: 0 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 10px 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  position: relative;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.episode-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: transparent;
}
.episode-card:hover {
  border-color: var(--gold-dim);
  background: var(--panel-2);
}
.episode-card:hover::before {
  background: var(--gold);
}
.episode-number {
  align-self: flex-start;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  padding: 1px 6px;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
}
.episode-title {
  font-size: 13px;
  color: var(--text);
}
.episode-summary {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  align-self: flex-start;
  margin-top: auto;
  font-size: 11px;
  color: var(--text-3);
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
  width: 100%;
}
.comments-section {
  margin: 0 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.comments-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(23, 34, 47, 0.9), rgba(19, 30, 44, 0.72));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--gold-soft);
  background: radial-gradient(circle at 34% 28%, rgba(201, 162, 74, 0.24), rgba(14, 22, 33, 0.95) 70%);
  border: 1px solid var(--line);
}
.comment-nickname {
  font-size: 12px;
  color: var(--rose-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comment-text {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-region {
  margin: 0 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.recommend-heading {
  font-size: 15px;
  color: var(--gold-soft);
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.recommend-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 1px;
  background: var(--gold);
}
.recommend-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.recommend-rail::-webkit-scrollbar {
  height: 6px;
}
.recommend-rail::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.recommend-card {
  flex: 0 0 156px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.recommend-card:hover {
  border-color: var(--gold-dim);
  box-shadow: 0 0 16px rgba(201, 162, 74, 0.16);
  transform: translateY(-2px);
}
.recommend-card[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.8) contrast(1.04);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-blurb {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(19, 30, 44, 0.5), rgba(14, 22, 33, 0.9));
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.footer-link {
  font-size: 12px;
  color: var(--text-2);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.footer-link:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
}
.friend-links-label {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
.runtime-friend-link {
  font-size: 11px;
  color: var(--text-3);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
.runtime-friend-link:hover {
  color: var(--rose-soft);
}
.footer-disclaimer {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.5;
  max-width: 68ch;
}
@media (min-width: 860px) {.hero-section {
    grid-template-columns: 168px minmax(0, 1fr);
    grid-template-areas:
      "figure info";
    column-gap: 18px;
    align-items: start;
    padding: 26px 0 24px;
  }
.hero-figure {
    grid-area: figure;
  }
.hero-info {
    grid-area: info;
  }
.hero-backdrop {
    height: 100%;
    inset: -26px -16px -24px -16px;
  }
.poster-wrap {
    width: 100%;
    max-width: 100%;
  }
.movie-title {
    font-size: 32px;
  }
.movie-tagline {
    font-size: 14px;
  }}
@media (max-width: 1023px) {.episodes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 859px) {.hero-backdrop {
    height: 250px;
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 620px) {body {
    font-size: 13px;
  }
.page-main {
    padding: 12px 12px 0;
  }
.hero-backdrop {
    height: 210px;
    inset: -12px -12px auto -12px;
  }
.movie-title {
    font-size: 22px;
  }
.movie-tagline {
    font-size: 12px;
  }
.poster-wrap {
    width: 132px;
    max-width: 44%;
  }
.header-bar {
    padding: 7px 12px;
  }
.site-brand {
    font-size: 15px;
  }
.cast-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
.cast-avatar {
    max-width: 62px;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
.comments-list {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-key {
    min-width: 56px;
  }
.timeline-node {
    flex: 0 0 156px;
  }
.recommend-card {
    flex: 0 0 142px;
  }
.player-controls {
    gap: 5px 6px;
    padding: 7px 8px;
  }
.ctrl {
    padding: 4px 7px;
    font-size: 11px;
  }
.site-footer {
    padding: 12px 12px 22px;
  }}
@media (max-width: 420px) {.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-wrap {
    width: 116px;
  }}

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}
