:root {
  --ink: #1a2028;
  --ink-2: #232b35;
  --slate: #2c3644;
  --slate-2: #38445470;
  --line: #4a5666;
  --line-soft: #3a4452;
  --paper: #d9cfae;
  --paper-2: #c4b995;
  --amber: #e8b64c;
  --amber-dim: #b98f33;
  --text: #cfd6df;
  --text-dim: #8c97a5;
  --serif: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background: #14181e;
}
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--paper);
  text-decoration: none;
}
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
ol {
  list-style: none;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px 18px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 40;
}
a[data-contract="site-name"] {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--paper);
  text-decoration: none;
  padding-right: 16px;
  border-right: 1px solid var(--line-soft);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--amber);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
a.runtime-category {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 10px;
  border: 1px solid var(--line-soft);
  background: transparent;
}
a.runtime-category:hover {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 26px;
}
.section-heading {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--paper);
  text-transform: uppercase;
  padding: 0 0 6px;
  margin: 0 0 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--amber);
}
.hero-waveform {
  margin: 0 -16px 4px;
  padding: 0;
  background: #10141a;
}
.wave-shell {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #171d26 0%, #0e1218 100%);
}
.wave-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, #ffffff0a 1px, transparent 1px),
    linear-gradient(0deg, #ffffff0a 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px;
  pointer-events: none;
}
.wave-grid-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 15%, #e8b64c14 15% 15.4%, transparent 15.4%),
    linear-gradient(90deg, transparent 0 72%, #e8b64c14 72% 72.4%, transparent 72.4%),
    linear-gradient(0deg, transparent 0 30%, #ffffff0d 30% 30.3%, transparent 30.3%);
}
.wave-bars {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  padding: 0 14px;
}
.wave-bar {
  flex: 1 1 0;
  min-width: 2px;
  background: linear-gradient(180deg, var(--amber) 0%, var(--amber-dim) 60%, #6b5220 100%);
  opacity: 0.28;
  height: 8%;
  align-self: center;
}
.wave-bar:nth-child(1) { height: 14%; opacity: 0.3; }
.wave-bar:nth-child(2) { height: 26%; opacity: 0.36; }
.wave-bar:nth-child(3) { height: 18%; opacity: 0.32; }
.wave-bar:nth-child(4) { height: 42%; opacity: 0.5; }
.wave-bar:nth-child(5) { height: 30%; opacity: 0.42; }
.wave-bar:nth-child(6) { height: 58%; opacity: 0.66; }
.wave-bar:nth-child(7) { height: 38%; opacity: 0.5; }
.wave-bar:nth-child(8) { height: 74%; opacity: 0.82; }
.wave-bar:nth-child(9) { height: 46%; opacity: 0.6; }
.wave-bar:nth-child(10) { height: 88%; opacity: 0.95; }
.wave-bar:nth-child(11) { height: 52%; opacity: 0.66; }
.wave-bar:nth-child(12) { height: 96%; opacity: 1; }
.wave-bar:nth-child(13) { height: 64%; opacity: 0.76; }
.wave-bar:nth-child(14) { height: 78%; opacity: 0.88; }
.wave-bar:nth-child(15) { height: 44%; opacity: 0.58; }
.wave-bar:nth-child(16) { height: 68%; opacity: 0.8; }
.wave-bar:nth-child(17) { height: 36%; opacity: 0.48; }
.wave-bar:nth-child(18) { height: 54%; opacity: 0.66; }
.wave-bar:nth-child(19) { height: 28%; opacity: 0.4; }
.wave-bar:nth-child(20) { height: 46%; opacity: 0.6; }
.wave-bar:nth-child(21) { height: 22%; opacity: 0.36; }
.wave-bar:nth-child(22) { height: 34%; opacity: 0.46; }
.wave-bar:nth-child(23) { height: 16%; opacity: 0.32; }
.wave-bar:nth-child(24) { height: 24%; opacity: 0.34; }
.wave-silhouette {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.silhouette-figure {
  display: block;
  width: 46px;
  height: 168px;
  background: linear-gradient(180deg, #1c222b 0%, #0c0f14 100%);
  box-shadow: 0 0 0 1px #e8b64c55, 0 0 46px 6px #05070a;
  position: relative;
  clip-path: polygon(30% 0, 70% 0, 74% 12%, 70% 20%, 88% 34%, 96% 100%, 4% 100%, 12% 34%, 30% 20%, 26% 12%);
}
.wave-axis {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 14px;
  border-top: 1px solid var(--line-soft);
  background: #0b0e13cc;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--amber);
}
.axis-tick {
  white-space: nowrap;
}
.axis-tick:last-child {
  color: #e05a4a;
  animation: rec-blink 1.6s steps(2, end) infinite;
}
@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.tagline-panel {
  margin-top: 14px;
}
.tagline-text {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--paper);
  line-height: 1.4;
  padding: 10px 14px;
  border-left: 3px solid var(--amber);
  background: linear-gradient(90deg, #232b3566 0%, transparent 100%);
  margin-bottom: 14px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  padding: 14px;
}
.poster-wrapper {
  align-self: start;
  border: 1px solid var(--line);
  background: #0d1116;
  padding: 5px;
}
.poster-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.overview-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.movie-title {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--paper);
  line-height: 1.2;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.player-shell {
  position: relative;
  width: 100%;
  background: #0a0d11;
  border: 1px solid var(--line);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-shell.is-playing {
  border-color: var(--amber-dim);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  background: #12171e;
  border-top: 1px solid var(--line-soft);
}
.control-btn {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--line-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.control-btn:hover, .control-btn.is-active {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}
.control-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: var(--line);
  cursor: pointer;
  border: none;
  outline: none;
}
.control-range[data-player-action="progress"] {
  flex: 1 1 120px;
  min-width: 90px;
}
.control-range[data-player-action="volume"] {
  flex: 0 1 72px;
  min-width: 54px;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 9px;
  height: 13px;
  background: var(--amber);
  border: none;
  cursor: pointer;
}
.control-range::-moz-range-thumb {
  width: 9px;
  height: 13px;
  background: var(--amber);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
body.lights-dim .page-main {
  filter: brightness(0.78);
}
body.lights-dim .player-shell {
  filter: brightness(1.12);
}
.player-shell.is-theater {
  outline: 1px solid var(--amber);
  outline-offset: 3px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  padding: 3px 9px;
  background: #e8b64c12;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 6px;
  align-items: start;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 7px;
  border: 1px solid var(--line-soft);
  background: #1b222b;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  background:
    linear-gradient(135deg, #4a5666 0%, #2a323d 100%);
  border: 1px solid var(--line);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 6px 6px 0;
  background: #1c222b;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.cast-name {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.synopsis-paragraph {
  font-size: 12px;
  line-height: 1.75;
  color: var(--text);
  text-align: justify;
  margin-bottom: 6px;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}
.detail-row {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed #3a445266;
  font-size: 12px;
}
.detail-key {
  flex: 0 0 4.6em;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.detail-value {
  color: var(--paper);
  min-width: 0;
  word-break: break-word;
}
.timeline-section {
  margin-top: 18px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0 18px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--amber-dim) 0%, #3a4452 20%, #3a4452 100%);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  padding: 6px 0 6px 18px;
  border-bottom: 1px solid #2b333d;
}
.timeline-marker {
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--amber);
  box-shadow: 0 0 0 1px #0e1218, 0 0 8px #e8b64c88;
}
.timeline-timecode {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--amber);
  border: 1px solid var(--line-soft);
  padding: 1px 6px;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12px;
  color: var(--text);
}
.episodes-section {
  margin-top: 18px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.episode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: center;
  gap: 2px 8px;
  padding: 6px 9px;
  border: 1px solid var(--line-soft);
  background: #1b222b;
  cursor: default;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-color: var(--amber-dim);
  background: #212a35;
}
.episode-number {
  grid-area: num;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  min-width: 1.6em;
}
.episode-title {
  grid-area: title;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.episode-duration {
  grid-area: dur;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  white-space: nowrap;
}
.episode-summary {
  grid-area: sum;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease, margin-top 0.25s ease;
}
.episode-card:hover .episode-summary {
  max-height: 8em;
  opacity: 1;
  margin-top: 3px;
}
.comments-section {
  margin-top: 18px;
}
.comment-stack {
  columns: 3;
  column-gap: 6px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 6px;
  padding: 7px 9px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--amber-dim);
  background: #1b222b;
}
.comment-nickname {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--text);
  text-align: justify;
}
.recommend-region {
  margin-top: 18px;
}
.recommend-title {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--paper);
  padding: 0 0 5px;
  margin: 0 0 9px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.recommend-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 26px;
  height: 2px;
  background: var(--amber);
}
.recommend-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-item {
  display: block;
  border: 1px solid var(--line-soft);
  background: #1b222b;
  padding: 5px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
a.recommend-item:hover {
  border-color: var(--amber);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  background: #0d1116;
  filter: saturate(0.7) brightness(0.9);
  transition: filter 0.2s;
}
a.recommend-item:hover img {
  filter: saturate(1) brightness(1);
}
.recommend-name {
  display: block;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper);
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  display: block;
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-dim);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 22px;
  padding: 14px 18px 20px;
  background: #10141a;
  border-top: 1px solid var(--line);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 720px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--paper);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 6px;
}
.friend-links-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  padding-right: 8px;
  margin-right: 2px;
  border-right: 1px solid var(--line-soft);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid #2b333d;
  padding: 1px 7px;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--amber);
  border-color: var(--amber-dim);
}
@media (max-width: 900px) {.overview-grid {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  }
.comment-stack {
    columns: 2;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 720px) {.wave-shell {
    height: 220px;
  }
.wave-silhouette {
    width: 90px;
    height: 160px;
  }
.silhouette-figure {
    width: 36px;
    height: 132px;
  }
.tagline-text {
    font-size: 17px;
  }
.overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-wrapper {
    max-width: 200px;
  }
.movie-title {
    font-size: 21px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 520px) {.page-main {
    padding: 0 10px 20px;
  }
.hero-waveform {
    margin: 0 -10px 4px;
  }
.wave-shell {
    height: 180px;
  }
.comment-stack {
    columns: 1;
  }
.recommend-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-strip {
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  }
.player-controls {
    gap: 4px;
  }
.control-btn {
    font-size: 9.5px;
    padding: 3px 6px;
  }}

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}
