:root {
  --moon-white: #eef2f5;
  --moon-pale: #d7dee6;
  --ink-blue: #16222e;
  --ink-deep: #0d151e;
  --ink-mid: #1d2c3a;
  --ink-line: rgba(215, 222, 230, 0.14);
  --seal-red: #a8322c;
  --seal-red-bright: #c4433b;
  --text-main: #cfd8e0;
  --text-dim: #8b99a6;
  --text-faint: #64727f;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --gap-tight: 0.6rem;
  --gap: 1rem;
  --gap-section: 2.4rem;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink-deep);
  color: var(--text-main);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  background: var(--ink-deep);
  border-bottom: 1px solid var(--ink-line);
  position: relative;
  z-index: 20;
}
.header-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap);
  padding: 0.55rem clamp(0.8rem, 3vw, 2rem);
}
.site-brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--moon-white);
}
a[data-contract="site-name"] {
  color: var(--moon-white);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: var(--moon-pale);
}
.header-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
a.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
a.nav-link:hover {
  color: var(--moon-white);
  border-bottom-color: var(--seal-red);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0.4rem clamp(0.8rem, 3vw, 2rem) 0.6rem;
  border-top: 1px solid rgba(215, 222, 230, 0.06);
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.76rem;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.12rem 0.55rem;
  border: 1px solid var(--ink-line);
  border-radius: 1px;
  letter-spacing: 0.06em;
}
a.runtime-category:hover {
  color: var(--moon-white);
  border-color: rgba(168, 50, 44, 0.6);
  background: rgba(168, 50, 44, 0.12);
}
.page-main {
  display: block;
}
.section-title {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--moon-white);
  padding-left: 0.62rem;
  border-left: 3px solid var(--seal-red);
  margin-bottom: var(--gap-tight);
  line-height: 1.2;
}
.hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 78% 8%, rgba(120, 152, 186, 0.16) 0%, rgba(13, 21, 30, 0) 58%),
    linear-gradient(180deg, var(--ink-deep) 0%, var(--ink-blue) 46%, var(--ink-deep) 100%);
  padding: clamp(1.6rem, 5vw, 3.2rem) clamp(0.8rem, 3vw, 2rem) 1.6rem;
  overflow: hidden;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(1rem, 3vw, 2.4rem);
  align-items: start;
  min-height: clamp(320px, 46vw, 520px);
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 260px;
  z-index: 4;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(215, 222, 230, 0.2);
  filter: saturate(0.86) brightness(0.92);
}
.hero-poster-glow {
  position: absolute;
  inset: -14% -18%;
  background: radial-gradient(60% 55% at 50% 40%, rgba(215, 222, 230, 0.22) 0%, rgba(215, 222, 230, 0) 70%);
  pointer-events: none;
  z-index: -1;
}
.hero-figure {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-moon {
  position: absolute;
  top: 2%;
  right: 8%;
  width: clamp(74px, 13vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #f4f7fa 0%, #cdd8e2 52%, #8fa0b0 100%);
  box-shadow: 0 0 46px 12px rgba(200, 216, 232, 0.24);
  clip-path: inset(0 0 46% 0);
  opacity: 0.9;
}
.hero-lantern {
  position: absolute;
  top: 20%;
  right: 33%;
  width: clamp(16px, 2.2vw, 26px);
  height: clamp(26px, 3.6vw, 42px);
  border-radius: 42% 42% 46% 46%;
  background: linear-gradient(180deg, rgba(120, 168, 210, 0.85), rgba(56, 96, 138, 0.7));
  box-shadow: 0 0 26px 8px rgba(110, 160, 205, 0.34);
  opacity: 0.72;
}
.hero-wall-shadow {
  position: absolute;
  inset: 0 0 0 auto;
  width: 74%;
  background:
    linear-gradient(101deg, rgba(9, 15, 22, 0) 32%, rgba(9, 15, 22, 0.82) 62%, rgba(9, 15, 22, 0.96) 100%),
    repeating-linear-gradient(90deg, rgba(215, 222, 230, 0.05) 0 2px, rgba(215, 222, 230, 0) 2px 78px);
  opacity: 0.95;
}
.hero-silhouette {
  position: absolute;
  bottom: -2px;
  left: 26%;
  width: clamp(110px, 17vw, 220px);
  height: clamp(220px, 34vw, 430px);
  background: linear-gradient(180deg, rgba(10, 17, 25, 0.96) 0%, rgba(6, 11, 17, 0.99) 80%);
  border-radius: 46% 46% 6% 6% / 30% 30% 4% 4%;
  box-shadow: 0 0 0 1px rgba(215, 222, 230, 0.05), -22px 0 60px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.hero-copy {
  position: relative;
  z-index: 5;
  align-self: end;
  padding-top: 1rem;
  padding-bottom: 0.4rem;
  max-width: 40rem;
}
.hero-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.42em;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4.4vw, 3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.06em;
  color: var(--moon-white);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.6);
}
.hero-tagline {
  margin-top: 0.6rem;
  font-family: var(--serif);
  font-size: clamp(0.82rem, 1.6vw, 1rem);
  letter-spacing: 0.1em;
  color: var(--moon-pale);
  padding-top: 0.5rem;
  border-top: 1px solid rgba(168, 50, 44, 0.55);
  display: inline-block;
}
.overview-details {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--ink-line);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 0.35rem 1.1rem;
  align-items: start;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  border-bottom: 1px dotted rgba(215, 222, 230, 0.1);
  padding: 0.16rem 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}
.detail-value {
  font-size: 0.8rem;
  color: var(--text-main);
  letter-spacing: 0.02em;
}
.overview-synopsis {
  margin-top: var(--gap-section);
}
.synopsis-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: start;
}
.synopsis-col {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}
.synopsis-para {
  font-size: 0.82rem;
  line-height: 1.72;
  color: var(--text-main);
  text-align: justify;
}
.synopsis-para:first-child::first-letter {
  font-family: var(--serif);
  font-size: 1.5em;
  color: var(--seal-red-bright);
  line-height: 1;
  padding-right: 0.06em;
}
.synopsis-meta {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-dim);
  padding: 0.6rem 0.7rem;
  border-left: 2px solid rgba(168, 50, 44, 0.65);
  background: rgba(215, 222, 230, 0.035);
  text-align: justify;
}
.overview-episode-status {
  margin-top: 1.4rem;
}
.episode-status {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(168, 50, 44, 0.5);
  background: rgba(168, 50, 44, 0.08);
}
.episode-status-current {
  font-family: var(--serif);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  color: var(--seal-red-bright);
}
.episode-status-total {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.overview-cast {
  margin-top: var(--gap-section);
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.32rem;
  text-align: center;
}
.cast-role {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  order: 1;
}
.cast-avatar {
  order: 2;
  width: 100%;
  max-width: 104px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 32%, rgba(215, 222, 230, 0.28), rgba(215, 222, 230, 0) 62%),
    linear-gradient(160deg, #24384a 0%, #101a24 100%);
  border: 1px solid rgba(215, 222, 230, 0.16);
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.5);
}
.cast-name {
  order: 3;
  font-family: var(--serif);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  color: var(--moon-white);
}
.player-section {
  position: relative;
  margin: 0 auto;
  padding: 1.2rem clamp(0.8rem, 3vw, 2rem) 1rem;
  background: var(--ink-deep);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
}
.player-section video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05090e;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
}
.player-btn {
  background: rgba(215, 222, 230, 0.06);
  border: 1px solid var(--ink-line);
  color: var(--text-main);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.7rem;
  cursor: pointer;
  border-radius: 1px;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.player-btn:hover {
  background: rgba(215, 222, 230, 0.12);
  color: var(--moon-white);
}
.player-btn.is-active, .player-btn.play.is-active, .player-btn.pause.is-active, .player-btn.mute.is-active, .player-btn.fullscreen.is-active, .player-btn.theater.is-active, .player-btn.light.is-active, .player-btn.pip.is-active {
  border-color: var(--seal-red);
  background: rgba(168, 50, 44, 0.22);
  color: var(--moon-white);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: rgba(215, 222, 230, 0.18);
  border-radius: 2px;
  cursor: pointer;
}
.player-progress {
  flex: 1 1 12rem;
  min-width: 6rem;
}
.player-volume {
  flex: 0 1 6.5rem;
  min-width: 4rem;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--seal-red-bright);
  border: 1px solid var(--moon-pale);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid var(--moon-pale);
  border-radius: 50%;
  background: var(--seal-red-bright);
}
.player-select {
  background: rgba(215, 222, 230, 0.06);
  border: 1px solid var(--ink-line);
  color: var(--text-main);
  font-size: 0.74rem;
  padding: 0.26rem 0.4rem;
  border-radius: 1px;
}
.player-section.is-lights-off {
  background: #03060a;
}
.player-section.is-lights-off video {
  filter: brightness(0.42) contrast(1.1);
}
.player-section.is-theater {
  background: #05090e;
}
.timeline-section {
  padding: var(--gap-section) clamp(0.8rem, 3vw, 2rem) 1.6rem;
}
.timeline-track {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.6rem;
  scrollbar-width: thin;
}
.timeline-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 0.42rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 222, 230, 0.05), rgba(215, 222, 230, 0.28), rgba(168, 50, 44, 0.4));
  z-index: 0;
}
.timeline-list {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  min-width: max-content;
  padding-top: 0;
}
.timeline-card {
  position: relative;
  flex: 0 0 auto;
  width: 178px;
  padding-top: 1.35rem;
}
.timeline-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ink-deep);
  border: 1px solid rgba(215, 222, 230, 0.45);
  box-shadow: inset 5px 0 0 0 var(--moon-white);
}
.timeline-timecode {
  display: block;
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--seal-red-bright);
  margin-bottom: 0.22rem;
}
.timeline-label {
  display: block;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-main);
  border-left: 1px solid var(--ink-line);
  padding-left: 0.6rem;
}
.episode-section {
  padding: 1.6rem clamp(0.8rem, 3vw, 2rem) var(--gap-section);
}
.episode-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.62rem 0.7rem 0.6rem;
  background: rgba(215, 222, 230, 0.032);
  border: 1px solid var(--ink-line);
  border-left: 2px solid rgba(215, 222, 230, 0.16);
  align-self: start;
}
.episode-card-current {
  border-color: var(--seal-red);
  border-left-color: var(--seal-red);
  background: rgba(168, 50, 44, 0.1);
}
.episode-number {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(215, 222, 230, 0.34);
  letter-spacing: 0.02em;
}
.episode-card-current .episode-number {
  color: var(--seal-red-bright);
}
.episode-title {
  font-family: var(--serif);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--moon-white);
}
.episode-summary {
  font-size: 0.74rem;
  line-height: 1.58;
  color: var(--text-dim);
}
.episode-duration {
  margin-top: 0.16rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  border-top: 1px dotted rgba(215, 222, 230, 0.12);
  padding-top: 0.24rem;
}
.comments-section {
  padding: 1.6rem clamp(0.8rem, 3vw, 2rem) var(--gap-section);
  border-top: 1px solid var(--ink-line);
}
.comments-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(0.8rem, 2vw, 1.6rem);
  align-items: start;
}
.comments-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.comments-col-short {
  margin-top: 0;
}
.comments-col-long {
  margin-top: 1.4rem;
}
.comment-card {
  padding: 0.6rem 0.72rem;
  background: rgba(215, 222, 230, 0.04);
  border: 1px solid var(--ink-line);
  border-top: 2px solid rgba(215, 222, 230, 0.2);
  align-self: start;
}
.comments-col-short .comment-card {
  border-top-color: rgba(168, 50, 44, 0.72);
}
.comment-text {
  font-size: 0.78rem;
  line-height: 1.62;
  color: var(--text-main);
}
.comment-nickname {
  margin-top: 0.34rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}
.comment-nickname::before {
  content: "— ";
  color: var(--seal-red-bright);
}
.recommend-region {
  padding: 1.5rem clamp(0.8rem, 3vw, 2rem) 1.4rem;
  border-top: 1px solid var(--ink-line);
  background: linear-gradient(180deg, rgba(215, 222, 230, 0.018), rgba(215, 222, 230, 0));
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.62rem;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--text-main);
  text-decoration: none;
  background: rgba(215, 222, 230, 0.032);
  border: 1px solid var(--ink-line);
  padding: 0.4rem 0.4rem 0.55rem;
  align-self: start;
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
a.recommend-card:hover {
  border-color: rgba(168, 50, 44, 0.7);
  background: rgba(168, 50, 44, 0.09);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  display: block;
  background: #0a1017;
  filter: saturate(0.88) brightness(0.94);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--moon-white);
  line-height: 1.35;
}
.recommend-blurb {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--text-dim);
}
.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--ink-line);
  padding: 1.3rem clamp(0.8rem, 3vw, 2rem) 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-disclaimer {
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--text-faint);
  max-width: 68ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--moon-white);
  border-bottom-color: var(--seal-red);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.7rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(215, 222, 230, 0.07);
}
.friend-links-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}
.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.75rem;
}
a.runtime-friend-link {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--moon-white);
  text-decoration: underline;
  text-decoration-color: var(--seal-red);
}
@media (max-width: 980px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.hero-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  }}
@media (max-width: 760px) {body {
    font-size: 12.5px;
  }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 1.1rem;
  }
.hero-poster-wrap {
    max-width: 190px;
    order: 2;
  }
.hero-copy {
    align-self: start;
    order: 1;
    max-width: none;
  }
.hero-figure {
    opacity: 0.7;
  }
.hero-silhouette {
    left: auto;
    right: 4%;
    width: clamp(96px, 30vw, 160px);
  }
.hero-moon {
    right: 4%;
    top: 0;
  }
.hero-lantern {
    right: 44%;
  }
.synopsis-columns, .comments-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-col-long {
    margin-top: 0;
  }
.cast-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 0.38rem;
  }
.player-progress {
    flex: 1 1 100%;
    order: -1;
    min-width: 100%;
  }}
@media (max-width: 480px) {.header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
.cast-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-row {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  }
.timeline-card {
    width: 152px;
  }
.episode-status {
    display: flex;
    flex-wrap: wrap;
  }}

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}
