:root {
  --bg: #1b2024;
  --bg-deep: #14181b;
  --surface: #232a2f;
  --surface-2: #2a3238;
  --ink: #d9dde0;
  --ink-soft: #9aa4ab;
  --ink-faint: #6f7a82;
  --lilac: #b39ddb;
  --lilac-bright: #c9b6ea;
  --lilac-deep: #7e6aa6;
  --edge: #3a444b;
  --rule: #333d44;
  --font-title: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body, h1, h2, h3, p, figure, dl, dd, ol, ul {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 24, 27, 0.94);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 16px;
}
a[data-contract="site-name"].site-brand {
  font-family: var(--font-title);
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--lilac-bright);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(179, 157, 219, 0.28);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 10px;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--edge);
  border-radius: 2px 8px 2px 8px;
  background: linear-gradient(180deg, rgba(179, 157, 219, 0.06), rgba(179, 157, 219, 0));
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--lilac-bright);
  border-color: var(--lilac-deep);
  background: rgba(179, 157, 219, 0.12);
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 18px 16px 40px;
  max-width: 1180px;
  margin: 0 auto;
}
section[data-fragment] {
  position: relative;
}
.hero-note {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 340px;
  border: 1px solid var(--rule);
  background: var(--bg-deep);
  overflow: hidden;
}
.note-media {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
  background:
    repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.014) 0 2px, rgba(0, 0, 0, 0.02) 2px 5px),
    linear-gradient(160deg, #2b3339, #1a1f23);
}
.note-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.72) contrast(1.02) brightness(0.92);
  display: block;
}
.note-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 24, 27, 0.85) 0%, rgba(20, 24, 27, 0.05) 42%, rgba(20, 24, 27, 0.75) 100%),
    radial-gradient(120% 90% at 80% 100%, rgba(126, 106, 166, 0.28), transparent 60%);
}
.note-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 5px 12px 5px 10px;
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--lilac-bright);
  background: rgba(20, 24, 27, 0.72);
  border-top: 1px solid var(--lilac-deep);
  border-right: 1px solid var(--lilac-deep);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.hero-slogan {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: min(62%, 460px);
  padding: 12px 16px 14px;
  text-align: right;
  background: linear-gradient(270deg, rgba(20, 24, 27, 0.9) 40%, rgba(20, 24, 27, 0));
}
.hero-title {
  font-family: var(--font-title);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #eae4f4;
  text-shadow: 0 2px 18px rgba(126, 106, 166, 0.55);
}
.hero-tagline {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.movie-overview {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--rule);
  background:
    linear-gradient(180deg, rgba(179, 157, 219, 0.05), rgba(179, 157, 219, 0) 180px),
    var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.overview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--rule);
}
.overview-title {
  font-family: var(--font-title);
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--lilac-bright);
}
.overview-tagline {
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.5;
}
.overview-body {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.poster-column {
  min-width: 0;
}
.poster-wrapper {
  border: 1px solid var(--edge);
  background: var(--bg-deep);
  padding: 4px;
  width: 100%;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.poster-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.03);
}
.overview-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.player-wrapper {
  width: 100%;
  position: relative;
  border: 1px solid var(--edge);
  background: #0e1113;
  padding: 4px;
}
.player-wrapper video {
  width: 100%;
  height: auto;
  background: #000;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--rule);
}
.player-btn {
  padding: 3px 9px;
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--surface-2);
  border: 1px solid var(--edge);
  border-radius: 2px 7px 2px 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.player-btn:hover, .player-btn:focus-visible {
  color: var(--lilac-bright);
  border-color: var(--lilac-deep);
  background: rgba(179, 157, 219, 0.14);
}
.player-btn.is-active {
  color: var(--lilac-bright);
  border-color: var(--lilac);
  background: rgba(179, 157, 219, 0.2);
}
.player-progress {
  flex: 1 1 120px;
  min-width: 90px;
  height: 4px;
  accent-color: var(--lilac);
  cursor: pointer;
}
.player-volume {
  flex: 0 1 76px;
  min-width: 56px;
  height: 4px;
  accent-color: var(--lilac);
  cursor: pointer;
}
.player-speed {
  padding: 3px 6px;
  font-size: 12px;
  background: var(--surface-2);
  border: 1px solid var(--edge);
  border-radius: 2px 7px 2px 7px;
  cursor: pointer;
}
.player-wrapper.is-muted .player-volume {
  opacity: 0.5;
}
.player-wrapper.is-playing .player-btn[data-player-action="play"] {
  color: var(--lilac-bright);
  border-color: var(--lilac-deep);
}
.player-wrapper.is-theater {
  border-color: var(--lilac-deep);
  box-shadow: 0 0 0 1px rgba(179, 157, 219, 0.35), 0 10px 30px rgba(0, 0, 0, 0.5);
}
body.is-lights-off {
  background: #0a0c0e;
}
body.is-lights-off .site-header, body.is-lights-off .site-footer {
  opacity: 0.72;
}
.episode-status {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 8px 0;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: baseline;
}
.status-key {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.status-value {
  font-family: var(--font-title);
  font-size: 15px;
  color: var(--lilac-bright);
  margin-right: 6px;
}
.cast-band {
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}
.cast-heading, .details-heading, .synopsis-heading {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.cast-heading::before, .details-heading::before, .synopsis-heading::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  vertical-align: 2px;
  background: var(--lilac);
  clip-path: polygon(50% 0, 78% 30%, 100% 50%, 78% 70%, 50% 100%, 22% 70%, 0 50%, 22% 30%);
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 4px;
  border: 1px solid var(--rule);
  border-radius: 14px 3px 14px 3px;
  background: linear-gradient(180deg, rgba(179, 157, 219, 0.07), rgba(179, 157, 219, 0));
}
.cast-avatar {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50% 50% 44% 56%;
  background:
    radial-gradient(circle at 34% 30%, rgba(201, 182, 234, 0.75), rgba(126, 106, 166, 0.2) 70%),
    var(--surface-2);
  border: 1px solid var(--lilac-deep);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
.cast-name {
  font-size: 12.5px;
  color: var(--ink);
  white-space: nowrap;
}
.details-panel {
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 3px 16px;
}
.detail-key {
  display: inline;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.detail-key::after {
  content: "·";
  margin: 0 5px;
  color: var(--lilac-deep);
}
.detail-value {
  display: inline;
  font-size: 12.5px;
  color: var(--ink);
}
.synopsis-panel {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-soft);
  text-align: justify;
  margin-bottom: 7px;
  text-indent: 2em;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.timeline-section {
  padding: 16px;
  border: 1px solid var(--rule);
  background: linear-gradient(180deg, rgba(126, 106, 166, 0.09), rgba(126, 106, 166, 0) 200px), var(--bg-deep);
}
.timeline-heading {
  font-family: var(--font-title);
  font-size: 19px;
  letter-spacing: 0.22em;
  color: var(--lilac-bright);
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--lilac-deep);
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 20px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--lilac-deep), rgba(126, 106, 166, 0.12));
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 7px 0 7px 4px;
  border-bottom: 1px dotted rgba(58, 68, 75, 0.7);
}
.timeline-node:last-child {
  border-bottom: none;
}
.timeline-marker {
  position: absolute;
  left: -20px;
  top: 12px;
  width: 11px;
  height: 11px;
  background: var(--lilac);
  clip-path: polygon(50% 0, 78% 30%, 100% 50%, 78% 70%, 50% 100%, 22% 70%, 0 50%, 22% 30%);
  box-shadow: 0 0 10px rgba(179, 157, 219, 0.6);
}
.timeline-time {
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--lilac);
  white-space: nowrap;
}
.timeline-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.episodes-section {
  padding: 16px;
  border: 1px solid var(--rule);
  background: var(--surface);
}
.episodes-heading, .comments-heading, .recommend-heading {
  font-family: var(--font-title);
  font-size: 19px;
  letter-spacing: 0.2em;
  color: var(--lilac-bright);
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 2px solid var(--lilac-deep);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  padding: 9px 11px 10px;
  border: 1px solid var(--rule);
  background: var(--surface-2);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.episode-card:hover, .episode-card:focus-within {
  border-color: var(--lilac-deep);
  background: #2f383f;
  transform: translateY(-1px);
}
.episode-number {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lilac);
}
.episode-title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 3px 0 0;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-faint);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.32s ease, opacity 0.26s ease, margin 0.32s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 120px;
  opacity: 1;
  margin-top: 6px;
}
.episode-duration {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.episode-duration::before {
  content: "◷ ";
  color: var(--lilac-deep);
}
.comments-section {
  padding: 16px;
  border: 1px solid var(--rule);
  background: var(--bg-deep);
}
.comment-columns {
  columns: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  margin-bottom: 9px;
  padding: 9px 11px;
  border-left: 2px solid var(--lilac-deep);
  background: var(--surface);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-soft);
}
.comment-nickname {
  display: block;
  margin-top: 6px;
  font-family: var(--font-title);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--lilac);
}
.comment-nickname::before {
  content: "—— ";
  color: var(--ink-faint);
}
.recommend-region {
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: var(--surface);
}
.recommend-region-2 {
  background: var(--bg-deep);
}
.recommend-region-3 {
  background: linear-gradient(90deg, rgba(126, 106, 166, 0.1), rgba(126, 106, 166, 0) 60%), var(--surface-2);
}
.recommend-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 9px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border: 1px solid var(--edge);
  background: var(--bg-deep);
  color: var(--ink-soft);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
a.recommend-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.9);
  transition: filter 0.22s;
}
a.recommend-item [data-runtime="name"] {
  font-family: var(--font-title);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
a.recommend-item [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-faint);
}
a.recommend-item:hover, a.recommend-item:focus-visible {
  border-color: var(--lilac-deep);
  background: #2b333a;
  transform: translateY(-1px);
}
a.recommend-item:hover img, a.recommend-item:focus-visible img {
  filter: saturate(1) brightness(1.02);
}
a.recommend-item:hover [data-runtime="name"], a.recommend-item:focus-visible [data-runtime="name"] {
  color: var(--lilac-bright);
}
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--bg-deep);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12.5px;
  color: var(--ink-soft);
  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, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--lilac-bright);
  border-bottom-color: var(--lilac-deep);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--rule);
}
.friend-links-label {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color 0.16s;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--lilac);
  text-decoration: underline;
  text-decoration-color: var(--lilac-deep);
  text-underline-offset: 3px;
}
@media (max-width: 980px) {.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 780px) {.overview-body {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-column {
    max-width: 200px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.hero-slogan {
    max-width: 78%;
    padding: 10px 12px 12px;
  }
.hero-title {
    font-size: 22px;
  }
.comment-columns {
    columns: 2;
  }}
@media (max-width: 560px) {.page-main {
    gap: 16px;
    padding: 14px 10px 32px;
  }
.hero-note {
    min-height: 260px;
  }
.note-media {
    min-height: 240px;
  }
.hero-slogan {
    max-width: 100%;
    text-align: left;
    background: linear-gradient(0deg, rgba(20, 24, 27, 0.94) 55%, rgba(20, 24, 27, 0));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-columns {
    columns: 1;
  }
.timeline-node {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
  }
.cast-list {
    gap: 5px 8px;
  }
.player-controls {
    gap: 5px;
  }
.player-btn {
    padding: 3px 7px;
    font-size: 11.5px;
  }
.movie-overview, .timeline-section, .episodes-section, .comments-section, .recommend-region {
    padding: 12px;
  }}
@media (max-width: 400px) {.overview-title {
    font-size: 18px;
  }
.episodes-heading, .comments-heading, .recommend-heading, .timeline-heading {
    font-size: 16px;
  }}

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}
