:root {
  --ink: #05060f;
  --ink-2: #0a0c1c;
  --ink-3: #10132a;
  --panel: #0b0e20;
  --panel-2: #121632;
  --line: rgba(140, 120, 220, 0.22);
  --line-soft: rgba(150, 160, 220, 0.12);
  --neon: #ff2d7a;
  --neon-2: #b431ff;
  --neon-soft: rgba(255, 45, 122, 0.55);
  --violet: #8a7bff;
  --text: #e7e6f5;
  --text-dim: #a3a1c4;
  --text-faint: #6f6d92;
  --paper: #f2f0ff;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Times New Roman", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --gap: 10px;
  --pad: 12px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background:
    radial-gradient(120% 80% at 82% 4%, rgba(180, 49, 255, 0.16) 0%, transparent 46%),
    radial-gradient(90% 70% at 6% 0%, rgba(255, 45, 122, 0.12) 0%, transparent 52%),
    linear-gradient(180deg, #070818 0%, #05060f 42%, #04050c 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1, h2, h3, p, figure, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.page-shell {
  display: block;
  width: 100%;
}
.page-shell--montmartre-night {
  position: relative;
  overflow-x: hidden;
}
.page-shell--montmartre-night::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 3px),
    radial-gradient(60% 40% at 50% 120%, rgba(255, 45, 122, 0.1) 0%, transparent 70%);
  opacity: 0.8;
}
.page-main {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0 14px 26px;
}
.site-header {
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg, rgba(6, 7, 20, 0.96) 0%, rgba(6, 7, 20, 0.72) 100%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 14px;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--paper);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(255, 45, 122, 0.45), 0 0 30px rgba(180, 49, 255, 0.28);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 45, 122, 0.8), 0 0 42px rgba(180, 49, 255, 0.5);
}
.site-header__categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 9px;
  font-size: 11px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--neon-soft);
  background: rgba(255, 45, 122, 0.1);
}
.movie-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  max-width: 1180px;
  margin: 16px auto 0;
  padding: 14px;
  background:
    linear-gradient(160deg, rgba(20, 22, 52, 0.72) 0%, rgba(8, 9, 24, 0.86) 62%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.movie-overview::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon) 0%, var(--neon-2) 40%, transparent 88%);
  opacity: 0.85;
}
.overview__poster-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 240px;
  align-self: start;
  border: 1px solid rgba(180, 49, 255, 0.3);
  box-shadow: 0 0 0 1px rgba(255, 45, 122, 0.12), 0 10px 34px rgba(0, 0, 0, 0.62);
  background: #05060f;
}
.overview__poster-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06);
}
.overview__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.overview__title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.1em;
  color: var(--paper);
  text-shadow: 0 0 18px rgba(255, 45, 122, 0.42), 0 2px 0 rgba(0, 0, 0, 0.5);
}
.overview__tagline {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.06em;
  color: #ff9dc4;
  padding-left: 10px;
  border-left: 2px solid var(--neon-soft);
}
.cast {
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.cast__heading, .synopsis__heading, .details__heading, .player-shell__heading, .timeline__heading, .episodes__heading, .comments__heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 8px;
}
.cast__heading::before, .synopsis__heading::before, .details__heading::before, .timeline__heading::before, .episodes__heading::before, .comments__heading::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  margin-right: 7px;
  vertical-align: middle;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon-soft);
}
.cast__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.cast__item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.cast__avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 45, 122, 0.5) 0%, transparent 58%),
    radial-gradient(circle at 70% 72%, rgba(180, 49, 255, 0.55) 0%, transparent 62%),
    linear-gradient(150deg, #1d2148 0%, #0a0c1e 100%);
  border: 1px solid rgba(180, 49, 255, 0.42);
  box-shadow: 0 0 10px rgba(255, 45, 122, 0.24);
}
.cast__names {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.18;
  min-width: 0;
}
.cast__actor {
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
}
.cast__role {
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.synopsis {
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.synopsis__text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--text-dim);
  max-width: 74ch;
}
.synopsis__text + .synopsis__text {
  margin-top: 6px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 7px 10px;
  background: rgba(255, 45, 122, 0.06);
  border-left: 2px solid var(--neon);
}
.episode-status__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--paper);
}
.episode-status__current {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #ff8fbb;
}
.episode-status__current::before {
  content: "· ";
  color: var(--text-faint);
}
.details {
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.details__list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: baseline;
}
.details__key {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  white-space: nowrap;
}
.details__val {
  font-size: 11.5px;
  color: var(--text-dim);
  min-width: 0;
  overflow-wrap: anywhere;
}
.player-shell {
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 12px;
  background: linear-gradient(180deg, rgba(14, 16, 40, 0.72) 0%, rgba(7, 8, 22, 0.9) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.player-shell__frame {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #03040c;
  border: 1px solid rgba(180, 49, 255, 0.22);
  box-shadow: 0 0 26px rgba(180, 49, 255, 0.14) inset;
}
.player-shell__frame video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 6px 8px 8px;
}
.player-btn {
  flex: 0 0 auto;
  padding: 3px 9px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  background: rgba(140, 120, 220, 0.08);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-btn:hover {
  color: #fff;
  border-color: var(--neon-soft);
  background: rgba(255, 45, 122, 0.14);
}
.player-btn.is-playing, .player-btn.is-active {
  color: #fff;
  border-color: var(--neon);
  background: rgba(255, 45, 122, 0.26);
  box-shadow: 0 0 12px rgba(255, 45, 122, 0.4);
}
.player-btn.is-muted {
  color: #ff9dc4;
  border-color: var(--neon-soft);
}
.player-range {
  flex: 1 1 120px;
  min-width: 90px;
  height: 3px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--neon) 0%, var(--neon-2) 100%);
  border-radius: 2px;
  cursor: pointer;
  outline: none;
}
.player-range--progress {
  flex: 3 1 180px;
}
.player-range--volume {
  flex: 0 1 110px;
  min-width: 70px;
}
.player-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--neon);
  box-shadow: 0 0 8px var(--neon-soft);
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 1px solid var(--neon);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px var(--neon-soft);
}
.player-select {
  flex: 0 0 auto;
  padding: 3px 6px;
  font-size: 11px;
  color: var(--text-dim);
  background: rgba(140, 120, 220, 0.08);
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
}
.player-select:hover {
  color: #fff;
  border-color: var(--neon-soft);
}
.player-shell.is-theater {
  max-width: none;
  margin-left: -14px;
  margin-right: -14px;
  padding-left: 14px;
  padding-right: 14px;
  background: #01020a;
  border-color: var(--neon-soft);
}
.player-shell.is-theater .player-shell__frame {
  border-color: rgba(255, 45, 122, 0.45);
  box-shadow: 0 0 44px rgba(180, 49, 255, 0.28) inset;
}
body.is-lights-off .page-main > *:not(.player-shell) {
  opacity: 0.28;
  transition: opacity 0.3s;
}
body.is-lights-off .site-footer, body.is-lights-off .site-header {
  opacity: 0.28;
  transition: opacity 0.3s;
}
.timeline {
  max-width: 1180px;
  margin: 22px auto 0;
}
.timeline__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 1fr);
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-soft) transparent;
  scroll-snap-type: x proximity;
}
.timeline__track::-webkit-scrollbar {
  height: 6px;
}
.timeline__track::-webkit-scrollbar-track {
  background: rgba(140, 120, 220, 0.08);
}
.timeline__track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--neon), var(--neon-2));
  border-radius: 3px;
}
.timeline__cell {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 6px;
  background: rgba(12, 14, 34, 0.7);
  border: 1px solid var(--line-soft);
  border-top: 2px solid rgba(255, 45, 122, 0.4);
  border-radius: 2px;
}
.timeline__frame {
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  background: #05060f;
}
.timeline__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  background:
    linear-gradient(120deg, rgba(180, 49, 255, 0.34) 0%, transparent 52%),
    linear-gradient(300deg, rgba(255, 45, 122, 0.34) 0%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px),
    linear-gradient(160deg, #131736 0%, #05060f 100%);
  filter: saturate(0.55) contrast(1.05);
}
.timeline__label {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1px 6px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #fff;
  background: rgba(5, 6, 15, 0.82);
  border-top: 1px solid var(--neon-soft);
  border-right: 1px solid var(--neon-soft);
}
.timeline__desc {
  font-size: 11px;
  line-height: 1.42;
  color: var(--text-dim);
}
.episodes {
  max-width: 1180px;
  margin: 22px auto 0;
}
.episodes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 9px;
  background: linear-gradient(150deg, rgba(16, 19, 46, 0.82) 0%, rgba(7, 8, 22, 0.9) 100%);
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(180, 49, 255, 0.42);
  border-radius: 2px;
  overflow: hidden;
  min-width: 0;
}
.episode-card:nth-child(even) {
  margin-top: 16px;
  border-left-color: rgba(255, 45, 122, 0.48);
}
.episode-card__num {
  position: absolute;
  right: 8px;
  top: 2px;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  color: rgba(180, 49, 255, 0.14);
  pointer-events: none;
  user-select: none;
}
.episode-card__title {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--paper);
}
.episode-card__summary {
  position: relative;
  z-index: 1;
  font-size: 11.5px;
  line-height: 1.52;
  color: var(--text-dim);
  max-width: 62ch;
}
.episode-card__dur {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  padding: 1px 6px;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}
.episode-card--1 .episode-card__dur, .episode-card--3 .episode-card__dur, .episode-card--5 .episode-card__dur {
  color: #ff9dc4;
  border-color: rgba(255, 45, 122, 0.3);
}
.comments {
  max-width: 1180px;
  margin: 22px auto 0;
}
.comments__masonry {
  column-count: 2;
  column-gap: 14px;
}
.comment-card {
  break-inside: avoid;
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 0 0 10px;
  padding: 8px 10px 8px 0;
  min-width: 0;
}
.comment-card__bar {
  flex: 0 0 auto;
  width: 2px;
  background: linear-gradient(180deg, var(--neon) 0%, rgba(180, 49, 255, 0.5) 55%, transparent 100%);
  box-shadow: 0 0 8px var(--neon-soft);
}
.comment-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.comment-card__text {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.6;
  color: #d8d6ee;
}
.comment-card__nick {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.comment-card__nick::before {
  content: "— ";
  color: rgba(255, 45, 122, 0.6);
}
.recommend-region {
  max-width: 1180px;
  margin: 22px auto 0;
}
.recommend-region__title {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--violet);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.recommend-region__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
  margin-top: 10px;
}
.recommend-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.recommend-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 8px;
  align-items: start;
  padding: 5px 6px;
  background: rgba(12, 14, 34, 0.5);
  border: 1px solid transparent;
  border-left: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: background 0.16s, border-color 0.16s;
}
a.recommend-item {
  color: var(--text);
  text-decoration: none;
}
a.recommend-item:hover {
  background: rgba(255, 45, 122, 0.09);
  border-color: var(--line);
  border-left-color: var(--neon);
}
[data-runtime="recommendation"] img {
  grid-row: 1 / span 2;
  width: 100%;
  height: 100%;
  max-height: 74px;
  object-fit: cover;
  border: 1px solid rgba(180, 49, 255, 0.28);
  filter: saturate(0.8) contrast(1.04);
}
.recommend-item__name {
  grid-column: 2;
  font-size: 12px;
  line-height: 1.3;
  color: var(--paper);
  overflow-wrap: anywhere;
}
.recommend-item__blurb {
  grid-column: 2;
  font-size: 10.5px;
  line-height: 1.42;
  color: var(--text-faint);
  overflow-wrap: anywhere;
}
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  padding: 16px 14px 22px;
  background: linear-gradient(180deg, rgba(6, 7, 20, 0.4) 0%, rgba(3, 4, 10, 0.94) 100%);
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s, border-color 0.16s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  border-bottom-color: var(--neon);
}
.site-footer__friends {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.site-footer__friends-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.16s, text-shadow 0.16s;
}
a.runtime-friend-link:hover {
  color: #ff9dc4;
  text-shadow: 0 0 10px rgba(255, 45, 122, 0.5);
}
.site-footer__disclaimer {
  font-size: 10.5px;
  line-height: 1.6;
  color: #5b5980;
  max-width: 88ch;
}
@media (max-width: 980px) {.movie-overview {
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  }
.overview__title {
    font-size: 25px;
  }
.recommend-region__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 760px) {body {
    font-size: 12.5px;
  }
.page-main {
    padding: 0 10px 20px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }
.overview__poster-wrap {
    max-width: 190px;
  }
.overview__title {
    font-size: 22px;
  }
.details__list {
    grid-template-columns: auto minmax(0, 1fr);
  }
.episodes__grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card:nth-child(even) {
    margin-top: 0;
  }
.comments__masonry {
    column-count: 1;
  }
.recommend-region__cols {
    grid-template-columns: minmax(0, 1fr);
  }
.player-shell.is-theater {
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
  }
.player-shell__heading {
    margin-bottom: 6px;
  }}
@media (max-width: 480px) {.site-header__inner {
    padding: 8px 10px;
    gap: 4px 10px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
    letter-spacing: 0.1em;
  }
.overview__title {
    font-size: 19px;
    letter-spacing: 0.06em;
  }
.overview__tagline {
    font-size: 12px;
  }
.cast__list {
    gap: 6px 10px;
  }
.cast__avatar {
    width: 26px;
    height: 26px;
  }
.timeline__track {
    grid-auto-columns: minmax(132px, 1fr);
  }
.player-controls {
    gap: 5px 6px;
  }
.player-btn {
    padding: 3px 7px;
    font-size: 10.5px;
  }
.episode-card__num {
    font-size: 34px;
  }
.recommend-item {
    grid-template-columns: 46px 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}
