:root {
  --red: #7a1420;
  --red-deep: #4a0c14;
  --red-bright: #a81f2d;
  --iron: #23262a;
  --iron-mid: #34383e;
  --iron-light: #4b5058;
  --ash: #8b9099;
  --cream: #e8e2d6;
  --cream-dim: #cfc8ba;
  --ink: #121316;
  --title-font: "Songti SC", "SimSun", "Noto Serif SC", Georgia, serif;
  --body-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #16181b;
  color: var(--cream-dim);
  font-family: var(--body-font);
  font-size: 14px;
  line-height: 1.6;
  font-stretch: condensed;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}
button, input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 19, 22, 0.94);
  border-bottom: 1px solid var(--red-deep);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
}
a[data-contract="site-name"] {
  font-family: var(--title-font);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cream);
  text-decoration: none;
  padding-left: 10px;
  border-left: 3px solid var(--red-bright);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--red-bright);
}
.categories-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ash);
  background: var(--iron);
  border: 1px solid var(--iron-mid);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-category:hover {
  color: var(--cream);
  background: var(--red-deep);
  border-color: var(--red-bright);
}
.page-main {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px 0 24px;
  border-bottom: 1px solid var(--iron-mid);
}
.hero-poster-wrap {
  position: sticky;
  top: 72px;
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--iron-mid);
  box-shadow: 0 0 0 1px rgba(122, 20, 32, 0.35), 0 18px 40px -18px rgba(0, 0, 0, 0.9);
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) brightness(0.92);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.hero-title {
  font-family: var(--title-font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.hero-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--red-bright), var(--red-deep));
}
.hero-tagline {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ash);
}
.hero-player-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  background: #0b0c0e;
  border: 1px solid var(--iron-mid);
}
.hero-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(180deg, var(--iron) 0%, #1b1d21 100%);
  border-top: 1px solid var(--iron-mid);
}
.control-button {
  padding: 4px 9px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
  background: var(--iron-mid);
  border: 1px solid var(--iron-light);
  border-radius: 0;
  white-space: nowrap;
}
.control-button:hover {
  color: var(--cream);
  background: var(--red-deep);
  border-color: var(--red-bright);
}
.control-button.is-active {
  color: #fff;
  background: var(--red);
  border-color: var(--red-bright);
}
.control-range {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  min-width: 90px;
  margin: 0 4px;
  background: var(--iron-light);
  border-radius: 0;
  cursor: pointer;
}
.control-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--red-bright);
  border-radius: 0;
}
.control-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--red-bright);
  border: 0;
  border-radius: 0;
}
.progress-range {
  flex: 1 1 140px;
}
.volume-range {
  flex: 0 1 90px;
}
.hero-stage.is-lights-off .hero-poster-wrap {
  filter: brightness(0.45);
}
.hero-stage.is-lights-off .hero-player-shell {
  box-shadow: 0 0 0 1px var(--red-deep), 0 0 60px -10px rgba(168, 31, 45, 0.5);
}
.hero-player-shell.is-theater {
  border-color: var(--red-bright);
}
.overview-block {
  border-top: 1px solid var(--iron-mid);
  padding-top: 10px;
}
.block-heading {
  font-family: var(--title-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cream);
  margin-bottom: 8px;
  padding-left: 9px;
  border-left: 3px solid var(--red-bright);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--iron-mid);
  border: 1px solid var(--iron-mid);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 9px;
  background: var(--iron);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ash);
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: var(--cream);
  word-break: break-word;
}
.status-line {
  font-size: 13px;
  color: var(--cream-dim);
  padding: 6px 9px;
  background: var(--iron);
  border-left: 2px solid var(--red);
}
.status-line::before {
  content: "●";
  margin-right: 8px;
  font-size: 9px;
  color: var(--red-bright);
  vertical-align: 2px;
}
.cast-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--iron-mid);
  border: 1px solid var(--iron-mid);
}
.cast-card {
  display: flex;
  align-items: center;
  padding: 7px 10px;
  background: var(--iron);
}
.cast-name {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cream-dim);
}
.cast-card:nth-child(3n + 1) .cast-name {
  color: var(--cream);
}
.overview-synopsis .synopsis-paragraph {
  font-size: 13px;
  line-height: 1.75;
  color: var(--cream-dim);
  text-align: justify;
}
.overview-synopsis .synopsis-paragraph + .synopsis-paragraph {
  margin-top: 8px;
}
.overview-synopsis .synopsis-paragraph::first-letter {
  color: var(--red-bright);
  font-weight: 700;
}
.timeline-section {
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--iron-mid);
}
.section-heading {
  font-family: var(--title-font);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cream);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--red-deep), transparent);
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 18px;
  position: relative;
  border-left: 1px solid var(--iron-mid);
  padding-left: 16px;
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 14px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 2px;
  background: var(--red-bright);
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 1px;
  height: 100%;
  background: var(--iron-mid);
}
.timeline-item:last-child::after {
  display: none;
}
.timeline-timecode {
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--red-bright);
}
.timeline-label {
  font-size: 13px;
  color: var(--cream-dim);
}
.episodes-section {
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--iron-mid);
}
.episode-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding-bottom: 10px;
  scrollbar-color: var(--red-deep) var(--iron);
  scrollbar-width: thin;
}
.episode-strip::-webkit-scrollbar {
  height: 6px;
}
.episode-strip::-webkit-scrollbar-track {
  background: var(--iron);
}
.episode-strip::-webkit-scrollbar-thumb {
  background: var(--red-deep);
}
.episode-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 11px 12px 12px;
  background: var(--iron);
  border: 1px solid var(--iron-mid);
  border-top: 2px solid var(--red-deep);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-card:hover {
  background: #2b2f34;
  border-top-color: var(--red-bright);
}
.episode-number {
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--red-bright);
}
.episode-title {
  font-family: var(--title-font);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cream);
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ash);
  flex: 1 1 auto;
}
.episode-duration {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cream-dim);
  padding: 2px 7px;
  background: var(--iron-mid);
  border-left: 2px solid var(--red);
}
.recommend-region {
  padding: 22px 0 6px;
  border-bottom: 1px solid var(--iron-mid);
}
.recommend-region:last-of-type {
  border-bottom: 0;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--cream-dim);
  text-decoration: none;
  background: var(--iron);
  border: 1px solid var(--iron-mid);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.recommend-card:hover {
  border-color: var(--red-bright);
  color: var(--cream);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.9);
  border-bottom: 1px solid var(--iron-mid);
}
a.recommend-card:hover img {
  filter: saturate(1) brightness(1);
}
.recommend-name {
  display: block;
  padding: 7px 10px 0;
  font-family: var(--title-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cream);
}
.recommend-blurb {
  display: block;
  padding: 3px 10px 9px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ash);
}
.comments-section {
  padding: 24px 0 12px;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  align-items: start;
}
.comment-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0 8px 12px;
  border-left: 2px solid var(--iron-mid);
}
.comment-item:hover {
  border-left-color: var(--red-bright);
}
.comment-nickname {
  font-family: var(--title-font);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--red-bright);
}
.comment-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--cream-dim);
}
.site-footer {
  background: #101113;
  border-top: 2px solid var(--red-deep);
  color: var(--ash);
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 16px 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--title-font);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--cream);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--red-bright);
  border-bottom-color: var(--red-bright);
}
.footer-disclaimer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ash);
  border-top: 1px solid var(--iron);
}
.footer-friends {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 24px;
  border-top: 1px solid var(--iron);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}
.friend-links-label {
  font-family: var(--title-font);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cream-dim);
  padding-right: 12px;
  border-right: 1px solid var(--iron-mid);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--ash);
  text-decoration: none;
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--red-bright);
  text-decoration: underline;
}
@media (max-width: 1024px) {.hero-stage {
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  }
.timeline-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 768px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.hero-poster-wrap {
    position: static;
    max-width: 240px;
  }
.hero-title {
    font-size: 24px;
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }}
@media (max-width: 560px) {.header-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 9px 12px;
  }
a[data-contract="site-name"] {
    font-size: 17px;
  }
.categories-strip {
    justify-content: flex-start;
  }
.page-main {
    padding: 0 12px 32px;
  }
.hero-stage {
    padding: 14px 0 18px;
  }
.hero-poster-wrap {
    max-width: 190px;
  }
.hero-title {
    font-size: 21px;
  }
.hero-tagline {
    letter-spacing: 0.14em;
  }
.player-controls {
    gap: 5px;
    padding: 7px;
  }
.control-button {
    padding: 4px 8px;
    font-size: 11px;
  }
.progress-range {
    flex: 1 1 100%;
    order: 2;
  }
.volume-range {
    flex: 1 1 100%;
    order: 3;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.timeline-item::after {
    display: none;
  }
.episode-strip {
    grid-auto-columns: minmax(200px, 1fr);
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.section-heading {
    font-size: 18px;
    margin-bottom: 10px;
  }
.footer-nav {
    gap: 14px;
  }
.friend-links-label {
    border-right: 0;
    padding-right: 0;
    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}
