*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --ink-abyss: #0b0e14;
  --ink-deep: #11151f;
  --ink-panel: #171c28;
  --ink-edge: #232a38;
  --blue-cold: #3a4a66;
  --blue-mist: #7f95b5;
  --paper: #d8dbe2;
  --paper-dim: #9aa3b3;
  --blood: #a8121f;
  --blood-bright: #d4242f;
  --blood-deep: #5c0d15;
  --font-title: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--ink-abyss);
  background-image:
    radial-gradient(circle at 82% 6%, rgba(168, 18, 31, 0.18), transparent 34%),
    radial-gradient(circle at 12% 42%, rgba(58, 74, 102, 0.22), transparent 45%),
    linear-gradient(180deg, #0a0d13 0%, #0d111a 40%, #090b11 100%);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--blue-mist);
  text-decoration: none;
}
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.02em;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(9, 11, 17, 0.96), rgba(9, 11, 17, 0.82));
  border-bottom: 1px solid var(--ink-edge);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 9px 18px;
}
a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 1.22rem;
  font-weight: 700;
  color: #e7e2da;
  text-decoration: none;
  letter-spacing: 0.14em;
  text-shadow: 0 0 14px rgba(168, 18, 31, 0.55);
}
a[data-contract="site-name"]::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--blood);
  border-radius: 50%;
  box-shadow: 0 0 10px 2px rgba(212, 36, 47, 0.7);
  vertical-align: 0.06em;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 11px;
  font-size: 0.76rem;
  color: var(--paper-dim);
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid var(--ink-edge);
  background: rgba(23, 28, 40, 0.7);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: #f0d9d9;
  border-color: var(--blood-deep);
  background: rgba(92, 13, 21, 0.35);
}
.page-main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px 18px 34px;
}
.hero-section {
  position: relative;
  padding: 22px 0 26px;
}
.hero-copy {
  position: relative;
  z-index: 3;
}
.hero-silhouette {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-forest-backdrop {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(6, 9, 14, 0.9) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, rgba(11, 14, 20, 0.2) 0%, rgba(9, 11, 17, 0.94) 78%);
  opacity: 0.85;
}
.hero-blood-moon {
  position: absolute;
  top: -70px;
  right: 6%;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #e04a3c 0%, #a8121f 46%, #5c0d15 78%, rgba(92, 13, 21, 0) 100%);
  box-shadow: 0 0 90px 26px rgba(168, 18, 31, 0.38);
  opacity: 0.9;
}
.hero-figure-aria, .hero-figure-ella {
  position: absolute;
  bottom: 0;
  width: 74px;
  height: 250px;
  background: linear-gradient(180deg, #05070b, #0b0f16 60%, rgba(11, 15, 22, 0));
  border-radius: 40% 40% 0 0;
  opacity: 0.92;
}
.hero-figure-ella {
  left: 4%;
  width: 62px;
  height: 220px;
}
.hero-figure-aria {
  right: 4%;
  width: 78px;
  height: 262px;
}
.hero-poster-column {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 118px;
  opacity: 0.16;
  filter: grayscale(0.4) brightness(0.7);
}
.overview-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid var(--ink-edge);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blood-deep), transparent);
}
.movie-title {
  font-size: 1.9rem;
  color: #ece7df;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.9);
}
.movie-tagline {
  margin-top: 6px;
  max-width: 46ch;
  font-family: var(--font-title);
  font-size: 0.98rem;
  color: #c8a9a9;
  letter-spacing: 0.06em;
}
.movie-seo-description {
  margin-top: 10px;
  max-width: 62ch;
  font-size: 0.85rem;
  color: var(--paper-dim);
}
.player-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 16px;
  background: #04060a;
  border: 1px solid var(--ink-edge);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(168, 18, 31, 0.08);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(23, 28, 40, 0.96), rgba(11, 14, 20, 0.98));
  border-top: 1px solid var(--ink-edge);
}
.player-btn {
  padding: 3px 10px;
  font-size: 0.72rem;
  color: var(--paper-dim);
  background: rgba(35, 42, 56, 0.7);
  border: 1px solid var(--ink-edge);
  cursor: pointer;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.player-btn:hover, .player-btn.is-active {
  color: #f2dede;
  border-color: var(--blood-deep);
  background: rgba(92, 13, 21, 0.42);
}
.player-btn.mute, .player-btn.play {
  color: #f0d9d9;
}
.player-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--blood) 0%, var(--blood) 30%, rgba(58, 74, 102, 0.5) 30%, rgba(58, 74, 102, 0.5) 100%);
  border-radius: 2px;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blood-bright);
  box-shadow: 0 0 8px rgba(212, 36, 47, 0.8);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--blood-bright);
}
.player-select {
  padding: 3px 6px;
  font-size: 0.72rem;
  color: var(--paper-dim);
  background: rgba(35, 42, 56, 0.7);
  border: 1px solid var(--ink-edge);
  cursor: pointer;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--blood-deep), 0 16px 44px rgba(0, 0, 0, 0.75);
}
.player-shell.is-light-off video {
  filter: brightness(0.32) contrast(1.1);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.status-chip {
  padding: 2px 10px;
  font-size: 0.72rem;
  color: var(--paper-dim);
  background: rgba(23, 28, 40, 0.75);
  border: 1px solid var(--ink-edge);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
.status-chip-current {
  color: #fbe4e4;
  background: rgba(92, 13, 21, 0.6);
  border-color: var(--blood);
  box-shadow: 0 0 12px rgba(168, 18, 31, 0.45);
}
.status-chip-state {
  color: #cdd7c6;
  border-color: #37432f;
  background: rgba(35, 47, 30, 0.55);
}
.cast-strip {
  margin-top: 16px;
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-size: 1.02rem;
  color: #e4ddd3;
  padding-left: 11px;
  border-left: 3px solid var(--blood);
  letter-spacing: 0.1em;
}
.cast-list {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--blood-deep) transparent;
}
.cast-list::-webkit-scrollbar {
  height: 5px;
}
.cast-list::-webkit-scrollbar-thumb {
  background: var(--blood-deep);
}
.cast-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 66px;
  padding: 7px 3px;
  background: rgba(23, 28, 40, 0.6);
  border: 1px solid var(--ink-edge);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.cast-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(127, 149, 181, 0.5), transparent 60%),
    linear-gradient(150deg, #2a3550, #141a26);
  border: 1px solid rgba(168, 18, 31, 0.4);
  clip-path: polygon(0 0, 100% 0, 100% 82%, 82% 100%, 0 100%);
}
.cast-name {
  font-size: 0.7rem;
  color: var(--paper-dim);
  white-space: nowrap;
}
.synopsis-block {
  margin-top: 18px;
}
.synopsis-paragraph {
  margin-top: 8px;
  max-width: 74ch;
  font-size: 0.83rem;
  color: #b3bac7;
}
.synopsis-paragraph:first-of-type {
  color: #c6ccd6;
}
.details-block {
  margin-top: 18px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0 20px;
  margin-top: 10px;
  padding: 12px 14px;
  background: rgba(23, 28, 40, 0.55);
  border: 1px solid var(--ink-edge);
  border-left: 2px solid var(--blood-deep);
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(58, 74, 102, 0.4);
}
.detail-key {
  flex: 0 0 auto;
  min-width: 4.6em;
  font-size: 0.74rem;
  color: var(--blue-mist);
  letter-spacing: 0.08em;
}
.detail-value {
  font-size: 0.8rem;
  color: #cbd1db;
}
.timeline-section, .episodes-section, .comments-section, .recommend-region {
  margin-top: 30px;
}
.timeline-list {
  position: relative;
  margin-top: 16px;
  padding-left: 26px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--blood) 0%, var(--blood-deep) 45%, rgba(58, 74, 102, 0.35) 100%);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding-bottom: 14px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-marker {
  display: flex;
  align-items: center;
}
.timeline-timecode {
  display: inline-block;
  padding: 1px 9px;
  font-size: 0.72rem;
  font-family: var(--font-title);
  letter-spacing: 0.08em;
  color: #f4dcdc;
  background: rgba(92, 13, 21, 0.72);
  border: 1px solid var(--blood);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.timeline-card {
  padding: 8px 12px;
  background: rgba(23, 28, 40, 0.62);
  border: 1px solid var(--ink-edge);
  border-left: 2px solid rgba(168, 18, 31, 0.5);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: 9px;
  left: -22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blood-bright);
  box-shadow: 0 0 10px 2px rgba(212, 36, 47, 0.65);
}
.timeline-label {
  font-size: 0.82rem;
  color: #c3cad5;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 11px 12px 12px;
  background: linear-gradient(160deg, rgba(23, 28, 40, 0.92), rgba(15, 19, 28, 0.92));
  border: 1px solid var(--ink-edge);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: border-color 0.18s, transform 0.18s;
}
.episode-card:hover {
  border-color: rgba(168, 18, 31, 0.55);
  transform: translateY(-2px);
}
.episode-card-current {
  border: 1px solid var(--blood);
  box-shadow: 0 0 0 1px rgba(168, 18, 31, 0.35), 0 8px 22px rgba(92, 13, 21, 0.35);
}
.episode-card-current::after {
  content: "正在看";
  position: absolute;
  top: 0;
  right: 0;
  padding: 1px 8px;
  font-size: 0.62rem;
  color: #fbe4e4;
  background: var(--blood);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%);
}
.episode-title {
  font-size: 0.88rem;
  color: #e2ddd4;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.episode-number {
  font-size: 0.7rem;
  font-family: var(--font-body);
  color: var(--blood-bright);
  letter-spacing: 0.06em;
}
.episode-summary {
  flex: 1 1 auto;
  font-size: 0.78rem;
  color: #a8b0bd;
}
.episode-duration {
  align-self: flex-start;
  font-size: 0.68rem;
  color: var(--blue-mist);
  letter-spacing: 0.06em;
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 18px;
  padding: 4px 2px;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 13px 15px;
  background:
    repeating-linear-gradient(180deg, rgba(11, 14, 20, 0.02) 0 22px, rgba(11, 14, 20, 0.06) 22px 23px),
    linear-gradient(165deg, #cfd3c9, #b8bdb2);
  color: #1c1f26;
  border: 1px solid #8e948a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.comment-card:nth-child(odd) {
  transform: rotate(-0.7deg);
}
.comment-card:nth-child(even) {
  transform: rotate(0.6deg);
}
.comment-card:nth-child(3n) {
  transform: rotate(-1.1deg);
}
.comment-text {
  font-size: 0.8rem;
  line-height: 1.58;
  color: #23262c;
}
.comment-nickname {
  align-self: flex-end;
  font-family: var(--font-title);
  font-size: 0.74rem;
  color: #6a1a1f;
  letter-spacing: 0.06em;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 14px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 10px 11px;
  color: inherit;
  text-decoration: none;
  background: rgba(23, 28, 40, 0.66);
  border: 1px solid var(--ink-edge);
  border-left: 3px solid var(--blood-deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
a.recommend-card:hover {
  border-color: var(--blood);
  border-left-color: var(--blood-bright);
  background: rgba(38, 24, 30, 0.7);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0a0d13;
  border: 1px solid rgba(35, 42, 56, 0.9);
}
.recommend-name {
  font-family: var(--font-title);
  font-size: 0.84rem;
  color: #e2ddd4;
  letter-spacing: 0.03em;
}
.recommend-blurb {
  font-size: 0.74rem;
  color: var(--paper-dim);
  line-height: 1.5;
}
.recommend-region:nth-of-type(odd) .recommend-row {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}
.site-footer {
  max-width: 1220px;
  margin: 0 auto;
  padding: 20px 18px 30px;
  border-top: 1px solid var(--ink-edge);
}
.footer-disclaimer {
  font-size: 0.72rem;
  color: #6f7787;
  max-width: 88ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.76rem;
  color: var(--blue-mist);
  text-decoration: none;
  border-bottom: 1px solid rgba(58, 74, 102, 0.5);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #e6d6d6;
  border-bottom-color: var(--blood);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 14px;
}
.friend-links-label {
  font-size: 0.72rem;
  color: #6f7787;
  letter-spacing: 0.1em;
  padding-right: 10px;
  border-right: 1px solid var(--ink-edge);
}
a.runtime-friend-link {
  font-size: 0.72rem;
  color: #7d8698;
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--blood-bright);
  text-decoration: underline;
}
@media (max-width: 900px) {.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.page-main {
    padding: 18px 14px 26px;
  }
.hero-silhouette {
    height: 100%;
  }
.hero-blood-moon {
    width: 130px;
    height: 130px;
    top: -46px;
    right: 2%;
  }
.hero-figure-aria, .hero-figure-ella {
    height: 180px;
    width: 52px;
  }
.hero-figure-aria {
    height: 196px;
    width: 60px;
  }
.hero-poster-column {
    width: 86px;
  }
.movie-title {
    font-size: 1.5rem;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card:nth-child(odd), .comment-card:nth-child(even), .comment-card:nth-child(3n) {
    transform: rotate(0deg);
  }
.recommend-row, .recommend-region:nth-of-type(odd) .recommend-row {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }}
@media (max-width: 480px) {.header-inner {
    padding: 8px 12px;
  }
a[data-contract="site-name"] {
    font-size: 1.05rem;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.player-range {
    flex: 1 1 100%;
  }}

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}
