*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --demon-purple: #2a1440;
  --demon-purple-deep: #180a2b;
  --demon-violet: #5b2d8e;
  --demon-glow: #8f5fd4;
  --human-orange: #e8763a;
  --human-amber: #f2a65a;
  --human-warm: #ffd9a8;
  --ink: #ece4f6;
  --ink-dim: #b9a9d0;
  --ink-strong: #ffffff;
  --surface-dark: rgba(24, 10, 43, 0.86);
  --surface-mid: rgba(42, 20, 64, 0.72);
  --surface-warm: rgba(70, 32, 30, 0.55);
  --line: rgba(143, 95, 212, 0.34);
  --line-warm: rgba(232, 118, 58, 0.42);
  --radius: 10px;
  --radius-sm: 6px;
  --font-title: "KaiTi", "STKaiti", "Kaiti SC", "Songti SC", "Noto Serif SC", serif;
  --font-body: "Yuanti SC", "YouYuan", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
html {
  background: var(--demon-purple-deep);
}
body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  background:
    linear-gradient(180deg,
      #140726 0%,
      #1c0b30 18%,
      #241038 34%,
      #2c1a3a 52%,
      #40222f 68%,
      #5a2c25 82%,
      #7a3a22 92%,
      #8f4423 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
a[data-contract="site-name"] {
  color: var(--human-warm);
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 20px;
  letter-spacing: 0.08em;
  font-weight: 700;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
a[data-contract="site-name"]:hover {
  color: #fff3dd;
  text-shadow: 0 0 12px rgba(242, 166, 90, 0.7);
}
a.runtime-category {
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12.5px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--human-warm);
  border-color: var(--line-warm);
  background: rgba(232, 118, 58, 0.12);
}
a.recommend-card {
  color: var(--ink);
  text-decoration: none;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--human-amber);
  text-decoration: none;
  transition: color 0.18s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffe0b5;
  text-decoration: underline;
}
a.runtime-friend-link {
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}
a.runtime-friend-link:hover {
  color: var(--human-warm);
  text-decoration: underline;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(16, 6, 30, 0.96), rgba(24, 10, 43, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.movie-detail {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  background: linear-gradient(160deg, rgba(24, 10, 43, 0.9), rgba(42, 20, 64, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.overview-poster-wrap {
  align-self: start;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(143, 95, 212, 0.25);
}
.overview-poster-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.overview-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.movie-title {
  font-family: var(--font-title);
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-strong);
  text-shadow: 0 0 18px rgba(143, 95, 212, 0.55);
}
.movie-tagline {
  font-size: 13px;
  color: var(--human-warm);
  line-height: 1.4;
  border-left: 3px solid var(--human-orange);
  padding-left: 10px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.status-current {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  color: #fff2df;
  background: linear-gradient(135deg, var(--demon-violet), var(--human-orange));
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-total {
  font-size: 12.5px;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.player-shell {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0413;
  border: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.6);
  transition: box-shadow 0.25s ease, filter 0.25s ease;
}
.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0413;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(18, 7, 32, 0.96), rgba(30, 14, 50, 0.96));
  border-top: 1px solid var(--line);
}
.player-btn {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1;
  color: var(--ink);
  background: rgba(91, 45, 142, 0.35);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.player-btn:hover {
  background: rgba(143, 95, 212, 0.5);
  color: #fff;
}
.player-btn.is-playing {
  background: linear-gradient(135deg, var(--demon-violet), var(--human-orange));
  border-color: var(--line-warm);
  color: #fff;
}
.player-btn.is-active {
  background: linear-gradient(135deg, var(--demon-glow), var(--human-amber));
  border-color: var(--human-amber);
  color: #1a0a2b;
  font-weight: 700;
}
.player-btn.is-muted {
  background: rgba(232, 118, 58, 0.35);
  border-color: var(--line-warm);
  color: #ffe0b5;
}
.player-progress, .player-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--demon-glow), var(--human-orange));
  cursor: pointer;
  outline: none;
}
.player-progress {
  flex: 1 1 120px;
  min-width: 100px;
}
.player-volume {
  flex: 0 1 80px;
  min-width: 60px;
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff3dd;
  border: 2px solid var(--human-orange);
  box-shadow: 0 0 6px rgba(242, 166, 90, 0.8);
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff3dd;
  border: 2px solid var(--human-orange);
}
.player-speed {
  font-size: 12px;
  color: var(--ink);
  background: rgba(91, 45, 142, 0.35);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 5px 6px;
  cursor: pointer;
}
.player-shell.is-theater {
  box-shadow: 0 0 0 2px var(--human-orange), 0 12px 40px rgba(232, 118, 58, 0.4);
}
.player-shell.is-light-off {
  filter: brightness(0.3) saturate(0.7);
}
.player-shell.is-light-off .player-controls {
  filter: brightness(3.3) saturate(1.4);
}
.cast-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--surface-mid);
  border: 1px solid var(--line);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.cast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  background: rgba(20, 8, 36, 0.55);
  border: 1px solid transparent;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.cast-item:hover {
  border-color: var(--line-warm);
  background: rgba(60, 26, 40, 0.6);
}
.cast-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #f2a65a 0%, #e8763a 38%, #7a3a9e 72%, #2a1440 100%);
  box-shadow: 0 0 0 2px rgba(242, 166, 90, 0.5), 0 0 14px rgba(143, 95, 212, 0.5);
}
.cast-name {
  font-size: 12.5px;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
}
.section-heading {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-strong);
  padding-left: 10px;
  border-left: 4px solid var(--human-orange);
  line-height: 1.2;
}
.synopsis-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(24, 10, 43, 0.7), rgba(70, 32, 30, 0.35));
  border: 1px solid var(--line);
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
  text-indent: 2em;
}
.synopsis-para + .synopsis-para {
  border-top: 1px dashed rgba(143, 95, 212, 0.22);
  padding-top: 8px;
}
.details-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--surface-mid);
  border: 1px solid var(--line);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted rgba(143, 95, 212, 0.22);
  font-size: 12.5px;
}
.detail-row dt {
  flex: 0 0 auto;
  color: var(--ink-dim);
  white-space: nowrap;
}
.detail-row dd {
  flex: 1 1 auto;
  color: var(--ink);
  min-width: 0;
}
.timeline-section, .episodes-section, .comments-section, .recommend-region {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.timeline-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 12px;
  scroll-snap-type: x proximity;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(24, 10, 43, 0.82), rgba(40, 18, 60, 0.5));
  border: 1px solid var(--line);
}
.timeline-track::-webkit-scrollbar {
  height: 8px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(20, 8, 36, 0.7);
  border-radius: 999px;
}
.timeline-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--demon-glow), var(--human-orange));
  border-radius: 999px;
}
.timeline-node {
  position: relative;
  flex: 0 0 210px;
  scroll-snap-align: start;
  padding: 10px 14px 10px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: flex-start;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--human-amber), var(--demon-violet));
  box-shadow: 0 0 0 3px rgba(42, 20, 64, 0.9), 0 0 10px rgba(242, 166, 90, 0.8);
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  width: 2px;
  height: calc(100% - 4px);
  background: linear-gradient(180deg, var(--line-warm), transparent);
}
.timeline-timecode {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  color: var(--human-amber);
  letter-spacing: 0.05em;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink);
}
.episode-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-item {
  min-width: 0;
}
.episode-details {
  border-radius: var(--radius);
  background: var(--surface-dark);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.episode-details[open] {
  border-color: var(--line-warm);
  background: linear-gradient(160deg, rgba(60, 26, 40, 0.6), rgba(24, 10, 43, 0.9));
}
.episode-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  cursor: pointer;
  list-style: none;
}
.episode-summary::-webkit-details-marker {
  display: none;
}
.episode-summary::marker {
  content: "";
}
.episode-number {
  font-family: var(--font-title);
  font-size: 12.5px;
  font-weight: 700;
  color: #1a0a2b;
  background: linear-gradient(135deg, var(--human-amber), var(--human-orange));
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.episode-title {
  font-size: 12.5px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.episode-duration {
  font-size: 11.5px;
  color: var(--ink-dim);
  white-space: nowrap;
}
.episode-summary-text {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-dim);
  padding: 0 10px 10px;
  border-top: 1px dashed rgba(143, 95, 212, 0.28);
  padding-top: 8px;
  margin: 0 0 0;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  position: relative;
  background: linear-gradient(150deg, rgba(42, 20, 64, 0.9), rgba(70, 32, 30, 0.45));
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.comment-card:nth-child(even) {
  border-radius: 14px 14px 4px 14px;
  background: linear-gradient(150deg, rgba(70, 32, 30, 0.5), rgba(42, 20, 64, 0.9));
}
.comment-card::after {
  content: "";
  position: absolute;
  left: 14px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: inherit;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(-45deg);
}
.comment-card:nth-child(even)::after {
  left: auto;
  right: 14px;
  transform: rotate(45deg);
  border-left: none;
  border-right: 1px solid var(--line);
}
.comment-nickname {
  display: block;
  font-family: var(--font-title);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--human-amber);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(24, 10, 43, 0.92), rgba(60, 26, 40, 0.5));
  border: 1px solid var(--line);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.recommend-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-warm);
  box-shadow: 0 10px 24px rgba(232, 118, 58, 0.28);
}
.recommend-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #0a0413;
}
.recommend-card [data-runtime="name"] {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-strong);
  line-height: 1.3;
  margin-top: 4px;
}
.recommend-card [data-runtime="blurb"] {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.region-1 .section-heading {
  border-left-color: var(--demon-glow);
}
.region-2 .section-heading {
  border-left-color: var(--human-amber);
}
.region-3 .section-heading {
  border-left-color: var(--human-orange);
}
.region-1 .recommend-card {
  background: linear-gradient(160deg, rgba(42, 20, 64, 0.95), rgba(24, 10, 43, 0.85));
}
.region-2 .recommend-card {
  background: linear-gradient(160deg, rgba(70, 32, 30, 0.6), rgba(42, 20, 64, 0.85));
}
.region-3 .recommend-card {
  background: linear-gradient(160deg, rgba(24, 10, 43, 0.9), rgba(90, 44, 37, 0.55));
}
.site-footer {
  margin-top: 12px;
  background: linear-gradient(180deg, rgba(24, 10, 43, 0.6), rgba(90, 44, 35, 0.65));
  border-top: 1px solid var(--line-warm);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 12.5px;
  min-width: 0;
}
.friend-links-label {
  font-family: var(--font-title);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--human-amber);
  padding-right: 8px;
  border-right: 1px solid var(--line-warm);
  white-space: nowrap;
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(185, 169, 208, 0.8);
  border-top: 1px dashed rgba(232, 118, 58, 0.28);
  padding-top: 10px;
}
@media (max-width: 900px) {.movie-overview {
    grid-template-columns: minmax(0, 170px) minmax(0, 1fr);
    gap: 14px;
  }
.episode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 640px) {body {
    font-size: 13.5px;
  }
.movie-detail {
    padding: 12px 10px 6px;
    gap: 14px;
  }
.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
    gap: 12px;
  }
.overview-poster-wrap {
    max-width: 230px;
    margin: 0 auto;
  }
.movie-title {
    font-size: 22px;
    text-align: center;
  }
.movie-tagline {
    text-align: center;
    border-left: none;
    border-top: 2px solid var(--human-orange);
    padding-left: 0;
    padding-top: 8px;
  }
.episode-status {
    justify-content: center;
  }
.cast-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-node {
    flex: 0 0 180px;
  }
.header-inner {
    padding: 8px 12px;
  }
a[data-contract="site-name"] {
    font-size: 17px;
  }
.footer-inner {
    padding: 14px 12px 18px;
    gap: 8px 14px;
  }}
@media (max-width: 380px) {.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-list {
    grid-template-columns: repeat(2, 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}
