:root {
  --stone: #2b3338;
  --stone-deep: #1b2125;
  --stone-mid: #3a444a;
  --stone-line: #4a555b;
  --blood: #7a1f24;
  --blood-bright: #a8302f;
  --blood-dark: #4d1216;
  --ash: #c8cfd2;
  --ash-dim: #8d979c;
  --ash-faint: #5f6a70;
  --bone: #e6e2d8;
  --ink: #10161a;
  --font-title: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", sans-serif;
  --hair: 1px solid var(--stone-line);
  --hair-blood: 1px solid rgba(168, 48, 47, 0.45);
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ul, ol, li, table, th, td, nav, section, article {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
body {
  background:
    linear-gradient(180deg, #22292e 0%, var(--stone-deep) 38%, #14191d 100%),
    var(--stone-deep);
  background-attachment: fixed;
  color: var(--ash);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  border: 0;
}
a {
  color: var(--ash);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
::selection {
  background: var(--blood);
  color: var(--bone);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 25, 29, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: var(--hair-blood);
}
.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"].site-brand {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--bone);
  text-decoration: none;
  text-shadow: 0 0 12px rgba(168, 48, 47, 0.5);
  border-left: 3px solid var(--blood-bright);
  padding-left: 9px;
  line-height: 1.2;
}
a[data-contract="site-name"].site-brand:hover {
  color: #fff;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ash-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--stone-line);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--bone);
  border-color: var(--blood-bright);
  background: rgba(122, 31, 36, 0.3);
}
.page-main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 40px;
}
.hero-stage {
  position: relative;
  padding-top: 22px;
}
.hero-stage::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 320px;
  background: radial-gradient(ellipse at 30% 20%, rgba(122, 31, 36, 0.35), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 0 26px;
  align-items: stretch;
  padding-bottom: 20px;
  border-bottom: var(--hair);
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  width: 100%;
  max-width: 190px;
}
.hero-poster {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid var(--stone-line);
  filter: saturate(0.7) contrast(1.08) brightness(0.92);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 18px 40px rgba(0, 0, 0, 0.55);
}
.hero-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding-bottom: 6px;
}
.hero-figure::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 34px;
  width: 62%;
  height: 74%;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(200, 207, 210, 0.16), transparent 70%),
    linear-gradient(180deg, transparent 30%, rgba(122, 31, 36, 0.16) 100%);
  clip-path: polygon(46% 0, 54% 0, 74% 100%, 26% 100%);
  pointer-events: none;
  opacity: 0.85;
}
.movie-title {
  position: relative;
  font-family: var(--font-title);
  font-size: clamp(30px, 5.4vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.06em;
  color: var(--bone);
  text-shadow: 0 0 24px rgba(122, 31, 36, 0.7), 0 2px 0 #000;
}
.movie-tagline {
  position: relative;
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ash-dim);
  border-left: 2px solid var(--blood-bright);
  padding-left: 10px;
}
.hero-player-wrap {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  background: #0c1114;
  border: 1px solid var(--stone-line);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
}
.hero-player-wrap.is-theater {
  border-color: var(--blood-bright);
  box-shadow: 0 0 0 1px rgba(168, 48, 47, 0.5), 0 14px 40px rgba(0, 0, 0, 0.7);
}
.player-frame {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #1c2327, #12181c);
  border-top: var(--hair);
}
.player-btn {
  cursor: pointer;
  background: #232b30;
  border: 1px solid var(--stone-line);
  color: var(--ash);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.player-btn:hover {
  background: var(--blood-dark);
  border-color: var(--blood-bright);
  color: var(--bone);
}
.player-btn.is-active, .player-btn.play, .player-btn.pause, .player-btn.mute, .player-btn.fullscreen, .player-btn.theater, .player-btn.light, .player-btn.pip {
  border-color: var(--blood-bright);
}
.player-btn.is-active {
  background: var(--blood);
  color: var(--bone);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #394348;
  border-radius: 0;
  cursor: pointer;
}
.player-range[data-player-action="progress"] {
  flex: 1 1 160px;
  min-width: 90px;
}
.player-range[data-player-action="volume"] {
  flex: 0 1 90px;
  min-width: 60px;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 15px;
  background: var(--blood-bright);
  border: 1px solid #e6e2d8;
  clip-path: polygon(50% 0, 100% 30%, 100% 100%, 0 100%, 0 30%);
}
.player-range::-moz-range-thumb {
  width: 11px;
  height: 15px;
  border: 1px solid #e6e2d8;
  background: var(--blood-bright);
  border-radius: 0;
}
.player-select {
  background: #232b30;
  border: 1px solid var(--stone-line);
  color: var(--ash);
  font-size: 12px;
  padding: 4px 6px;
}
.hero-strip {
  margin-top: 14px;
  padding-bottom: 16px;
}
.cast-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 18px;
}
.cast-heading {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--blood-bright);
  white-space: nowrap;
  border-right: var(--hair-blood);
  padding-right: 14px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cast-avatar {
  display: block;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--stone-line);
  background:
    linear-gradient(90deg, #20272c 0 50%, #46525a 50% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.cast-name {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ash);
  white-space: nowrap;
}
.overview-divider {
  height: 42px;
  margin: 12px 0 4px;
  background:
    linear-gradient(90deg, transparent, rgba(168, 48, 47, 0.28) 18%, transparent 40%, transparent 60%, rgba(168, 48, 47, 0.28) 82%, transparent),
    linear-gradient(180deg, transparent 46%, var(--stone-line) 46%, var(--stone-line) 54%, transparent 54%);
  opacity: 0.9;
}
.episode-status-block, .synopsis-block, .details-block {
  position: relative;
}
.episode-status-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding-bottom: 12px;
  border-bottom: var(--hair);
}
.status-heading {
  font-family: var(--font-title);
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--bone);
  white-space: nowrap;
}
.status-line {
  font-size: 13px;
  color: var(--blood-bright);
  letter-spacing: 0.06em;
}
.synopsis-block {
  padding: 14px 0 16px;
  border-bottom: var(--hair);
}
.synopsis-heading, .details-heading {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--bone);
  margin-bottom: 8px;
  padding-left: 9px;
  border-left: 3px solid var(--blood-bright);
  line-height: 1.2;
}
.synopsis-body {
  columns: 2;
  column-gap: 30px;
  column-rule: var(--hair);
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.72;
  color: var(--ash-dim);
  margin-bottom: 8px;
  break-inside: avoid;
}
.synopsis-paragraph:last-child {
  margin-bottom: 0;
}
.details-block {
  padding: 14px 0 4px;
}
.details-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.details-row {
  border-bottom: 1px solid rgba(74, 85, 91, 0.55);
}
.details-row:last-child {
  border-bottom: 0;
}
.details-key {
  text-align: left;
  font-weight: 400;
  color: var(--blood-bright);
  letter-spacing: 0.14em;
  white-space: nowrap;
  padding: 6px 10px 6px 0;
  width: 1%;
  vertical-align: top;
}
.details-value {
  color: var(--ash);
  padding: 6px 22px 6px 0;
  letter-spacing: 0.04em;
}
.section-heading {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--bone);
  padding-bottom: 7px;
  margin-bottom: 12px;
  border-bottom: var(--hair-blood);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 2px;
  background: var(--blood-bright);
}
.timeline-section {
  margin-top: 26px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 22px;
  padding-left: 14px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--blood) 8%, var(--stone-line) 92%, transparent);
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 9px;
  padding: 6px 9px 6px 0;
  border-bottom: 1px solid rgba(74, 85, 91, 0.4);
}
.timeline-mark {
  grid-row: 1 / span 2;
  width: 13px;
  height: 17px;
  background: var(--blood);
  clip-path: polygon(50% 0, 100% 34%, 78% 100%, 22% 100%, 0 34%);
  box-shadow: 0 0 8px rgba(168, 48, 47, 0.6);
  flex: 0 0 auto;
}
.timeline-timecode {
  grid-column: 2;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--blood-bright);
  line-height: 1.2;
}
.timeline-label {
  grid-column: 2;
  font-family: var(--font-title);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--ash);
  line-height: 1.3;
}
.episodes-section {
  margin-top: 26px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--stone-line);
  border: 1px solid var(--stone-line);
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px 9px;
  background: linear-gradient(180deg, #232b30, #1a2024);
  transition: background 0.18s;
}
.episode-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--blood-bright);
}
.episode-card:hover {
  background: linear-gradient(180deg, #2c2529, #1c1417);
}
.episode-number {
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: var(--blood-bright);
  letter-spacing: 0.04em;
}
.episode-title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--bone);
  line-height: 1.3;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ash-faint);
}
.episode-duration {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ash-dim);
  border-top: 1px dashed rgba(74, 85, 91, 0.7);
  padding-top: 5px;
}
.comments-section {
  margin-top: 26px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}
.comment-card {
  position: relative;
  padding: 10px 12px 10px 14px;
  background: linear-gradient(180deg, rgba(43, 51, 56, 0.92), rgba(27, 33, 37, 0.92));
  border: 1px solid var(--stone-line);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.comment-card:nth-child(even) {
  transform: translateY(7px);
  border-color: rgba(168, 48, 47, 0.4);
}
.comment-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--blood);
}
.comment-nickname {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blood-bright);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ash-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 32px;
  border-top: var(--hair-blood);
}
.recommend-region {
  padding: 14px 14px 8px 0;
  border-right: var(--hair);
  min-width: 0;
}
.recommend-region:last-child {
  border-right: 0;
  padding-right: 0;
}
.recommend-heading {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--bone);
  margin-bottom: 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(74, 85, 91, 0.6);
}
.recommend-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.recommend-item {
  min-width: 0;
}
a.recommend-link {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  row-gap: 2px;
  align-items: start;
  padding: 4px;
  color: var(--ash);
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color 0.18s, background 0.18s;
}
a.recommend-link:hover {
  border-color: var(--blood-bright);
  background: rgba(122, 31, 36, 0.16);
}
.recommend-pic {
  grid-row: 1 / span 2;
  width: 46px;
  height: 62px;
  object-fit: cover;
  border: 1px solid var(--stone-line);
  filter: saturate(0.65) brightness(0.9);
}
[data-runtime="recommendation"] img {
  width: 46px;
  max-width: 100%;
  height: 62px;
  object-fit: cover;
  display: block;
}
.recommend-name {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bone);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ash-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 40px;
  padding: 20px 16px 34px;
  border-top: var(--hair-blood);
  background: linear-gradient(180deg, rgba(20, 25, 29, 0.4), rgba(10, 13, 15, 0.9));
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 14px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ash-faint);
  letter-spacing: 0.02em;
}
.footer-nav {
  max-width: 1180px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-bottom: 12px;
  border-bottom: var(--hair);
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ash-dim);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"].footer-link:hover, a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--bone);
  border-bottom-color: var(--blood-bright);
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--blood-bright);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ash-faint);
  text-decoration: none;
  white-space: nowrap;
  padding: 1px 0;
}
a.runtime-friend-link:hover {
  color: var(--ash);
  text-decoration: underline;
}
body.is-lights-off .hero-stage::before {
  opacity: 1;
  background: radial-gradient(ellipse at 32% 18%, rgba(168, 48, 47, 0.5), transparent 58%);
}
body.is-lights-off .page-main {
  filter: brightness(0.72);
}
body.is-lights-off .hero-player-wrap {
  filter: brightness(1.14);
}
.player.click, .player.play, .player.pause, .player.mute, .player.light, .player.speed, .player.theater, .player.fullscreen, .player.pip, .player.progress, .player.volume, .player.timeupdate, .player.input, .player.change, .player.data-player-action {
  transition: opacity 0.2s;
}
@media (max-width: 960px) {.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-region {
    padding-right: 12px;
    border-bottom: var(--hair);
  }
.recommend-region:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {.hero-shell {
    grid-template-columns: minmax(0, 130px) minmax(0, 1fr);
    gap: 0 16px;
  }
.hero-poster-wrap {
    max-width: 130px;
  }
.movie-tagline {
    letter-spacing: 0.12em;
    font-size: 12px;
  }
.synopsis-body {
    columns: 1;
  }
.cast-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
.cast-heading {
    border-right: 0;
    border-bottom: var(--hair-blood);
    padding: 0 0 4px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
.comment-card:nth-child(even) {
    transform: none;
  }
.details-value {
    padding-right: 12px;
  }
.player-range[data-player-action="progress"] {
    flex: 1 1 100%;
  }}
@media (max-width: 480px) {.header-shell {
    padding: 7px 12px;
  }
.page-main {
    padding: 0 12px 30px;
  }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.hero-poster-wrap {
    max-width: 150px;
  }
.movie-title {
    font-size: 30px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-region {
    border-right: 0;
    padding-right: 0;
  }
.player-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
.player-range[data-player-action="volume"] {
    flex: 1 1 80px;
  }}

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}
