:root {
  --ink: #0a0a0c;
  --ink-2: #121216;
  --ink-3: #191920;
  --frost: #e8e6e1;
  --frost-dim: #a8a49d;
  --frost-faint: #6c6862;
  --blood: #8e1c22;
  --blood-bright: #c42b33;
  --line: #2a2a32;
  --line-soft: #1e1e24;
  --font-title: "Songti SC", "SimSun", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --font-body: "Heiti SC", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --gap: 10px;
  --pad: 12px;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background: var(--ink);
  color: var(--frost);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol, dl, dd {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 8px 16px;
  background: rgba(10, 10, 12, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}
a[data-contract="site-name"] {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--frost);
  text-decoration: none;
  padding-left: 9px;
  border-left: 3px solid var(--blood);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--blood-bright);
}
.header-nav-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--frost-dim);
  text-decoration: none;
  white-space: nowrap;
  background: var(--ink-3);
  border: 1px solid var(--line);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--frost);
  border-color: var(--blood);
  background: #1d1216;
}
.page-main {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 8px;
}
.section-title {
  font-size: 15px;
  color: var(--frost);
  letter-spacing: 0.16em;
  padding-left: 10px;
  margin-bottom: 8px;
  position: relative;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  background: var(--blood);
  transform: skewY(-14deg);
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  grid-template-areas:
    "poster edge"
    "lower lower";
  gap: 16px 20px;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--line);
}
.hero-poster-panel {
  grid-area: poster;
  align-self: start;
  justify-self: start;
  width: 100%;
  max-width: 300px;
}
.poster-media-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}
.poster-media-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0) 55%, rgba(10, 10, 12, 0.55) 100%);
}
img.main-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}
.hero-edge-panel {
  grid-area: edge;
  align-self: start;
  min-width: 0;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.hero-title {
  font-size: 30px;
  color: var(--frost);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.hero-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin-top: 8px;
  background: var(--blood);
  transform: skewX(-28deg);
}
.hero-tagline {
  font-family: var(--font-title);
  font-size: 15px;
  color: var(--blood-bright);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.hero-seo-description {
  font-size: 13px;
  line-height: 1.62;
  color: var(--frost-dim);
  margin-bottom: 14px;
  max-width: 60ch;
}
.player-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.player-wrapper.is-theater {
  border-color: var(--blood);
  box-shadow: 0 0 0 1px rgba(142, 28, 34, 0.5), 0 12px 40px rgba(0, 0, 0, 0.7);
}
video.main-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: var(--ink-2);
  border-top: 1px solid var(--line-soft);
}
.player-btn {
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--frost-dim);
  background: var(--ink-3);
  border: 1px solid var(--line);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-btn:hover {
  color: var(--frost);
  border-color: var(--blood);
}
.player-play.is-playing, .player-btn.is-playing {
  color: var(--blood-bright);
  border-color: var(--blood);
}
.player-btn.is-muted, .player-btn.mute {
  color: var(--blood-bright);
  border-color: var(--blood);
}
.player-btn.is-pip, .player-btn.pip {
  color: var(--frost);
  border-color: var(--frost-faint);
}
.player-btn.is-fullscreen, .player-btn.fullscreen {
  color: var(--blood-bright);
  border-color: var(--blood);
}
.player-btn.is-theater, .player-btn.theater {
  color: var(--blood-bright);
  border-color: var(--blood);
}
.player-btn.is-dimmed, .player-btn.light {
  color: var(--frost);
  border-color: var(--frost-faint);
}
.player-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 14px;
  background: var(--blood-bright);
  border: none;
  cursor: pointer;
}
.player-progress::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--blood-bright);
  border: none;
  border-radius: 0;
  cursor: pointer;
}
.player-volume {
  flex: 0 1 80px;
  min-width: 60px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--line);
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 14px;
  background: var(--frost-dim);
  border: none;
  cursor: pointer;
}
.player-volume::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--frost-dim);
  border: none;
  border-radius: 0;
}
.player-speed {
  padding: 3px 6px;
  font-size: 12px;
  color: var(--frost-dim);
  background: var(--ink-3);
  border: 1px solid var(--line);
  cursor: pointer;
}
.hero-lower-group {
  grid-area: lower;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  grid-template-areas:
    "details synopsis"
    "status cast";
  align-items: start;
  gap: 14px 20px;
  padding-top: 4px;
}
.details-panel {
  grid-area: details;
  min-width: 0;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: var(--pad) 14px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
}
.details-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.details-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--frost-faint);
  letter-spacing: 0.08em;
}
.details-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--frost);
  text-align: right;
}
.episode-status-panel {
  grid-area: status;
  min-width: 0;
  padding: var(--pad) 14px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blood);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.status-line {
  font-size: 13px;
  color: var(--frost-dim);
  letter-spacing: 0.04em;
}
.status-line::before {
  content: "刃 ";
  color: var(--blood-bright);
  font-family: var(--font-title);
}
.synopsis-panel {
  grid-area: synopsis;
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.synopsis-paragraphs {
  display: grid;
  gap: 6px;
}
.synopsis-paragraph {
  font-size: 13px;
  line-height: 1.6;
  color: var(--frost-dim);
  text-indent: 2em;
}
.cast-panel {
  grid-area: cast;
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.cast-member {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #2b2b34 0%, #16161b 100%);
  border: 1px solid var(--line);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.cast-name {
  font-size: 12.5px;
  color: var(--frost-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.timeline-section {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 26px;
}
.timeline-node {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0 5px 14px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--blood);
  transform: skewX(-34deg);
}
.timeline-timecode {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--blood-bright);
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  color: var(--frost-dim);
}
.episodes-section {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: border-color 0.18s, background 0.18s;
}
.episode-card:hover {
  border-color: var(--blood);
  background: #16121a;
}
.episode-number {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--blood-bright);
}
.episode-title {
  font-size: 14px;
  color: var(--frost);
  letter-spacing: 0.06em;
}
.episode-summary {
  font-size: 12.5px;
  line-height: 1.52;
  color: var(--frost-dim);
}
.episode-duration {
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--frost-faint);
  letter-spacing: 0.06em;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s, opacity 0.2s;
}
.episode-card:hover .episode-duration, .episode-card:focus-within .episode-duration {
  max-height: 22px;
  opacity: 1;
}
.episode-duration::before {
  content: "时长 ";
  color: var(--blood);
}
.comments-section {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.comments-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 22px;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.comment-nickname {
  font-family: var(--font-title);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--frost);
}
.comment-nickname::before {
  content: "／";
  color: var(--blood);
  margin-right: 2px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--frost-dim);
}
.recommendation-section {
  padding: 16px 0 12px;
  border-bottom: 1px solid var(--line);
}
.recommendation-section:last-of-type {
  border-bottom: none;
}
.recommendation-heading {
  margin-bottom: 8px;
}
.recommendation-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.recommendation-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
}
.recommendation-item {
  min-width: 0;
}
a.recommendation-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 6px;
  color: var(--frost-dim);
  text-decoration: none;
  background: var(--ink-2);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: border-color 0.18s, background 0.18s, color 0.18s;
}
a.recommendation-link:hover, a.recommendation-link:focus-visible {
  color: var(--frost);
  border-color: var(--blood);
  background: #16121a;
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: var(--ink-3);
  border-bottom: 1px solid var(--line-soft);
}
.recommendation-name {
  font-family: var(--font-title);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--frost);
}
.recommendation-blurb {
  font-size: 12px;
  line-height: 1.5;
  color: var(--frost-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  margin-top: 8px;
  padding: 14px 16px 22px;
  border-top: 1px solid var(--line);
  background: var(--ink-2);
}
.footer-nav-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-bottom: 8px;
}
.footer-link {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--frost-dim);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a[data-contract="footer-home"] {
  color: var(--frost-dim);
  text-decoration: none;
}
a[data-contract="footer-sitemap"] {
  color: var(--frost-dim);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--blood-bright);
  border-bottom-color: var(--blood);
}
.friend-links-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.friend-links-label {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--frost-faint);
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--frost-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--blood-bright);
}
.footer-disclaimer {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--frost-faint);
  max-width: 78ch;
}
body.lights-dimmed .page-main, body.lights-dimmed .site-header {
  filter: brightness(0.42) saturate(0.7);
  transition: filter 0.25s;
}
body.lights-dimmed .player-wrapper {
  filter: none;
}
@media (max-width: 900px) {.hero-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "edge"
      "lower";
    gap: 14px;
  }
.hero-poster-panel {
    max-width: 240px;
    justify-self: center;
  }
.hero-edge-panel {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
.hero-lower-group {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "details"
      "status"
      "synopsis"
      "cast";
    gap: 12px;
  }
.synopsis-panel, .cast-panel {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 620px) {.page-main {
    padding: 0 12px 6px;
  }
.hero-title {
    font-size: 24px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-duration {
    max-height: 22px;
    opacity: 1;
  }
.comments-stack {
    grid-template-columns: minmax(0, 1fr);
  }
.recommendation-columns, .recommendation-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.player-controls {
    gap: 5px;
  }
.player-progress {
    flex: 1 1 100%;
    order: 10;
  }}
@media (max-width: 420px) {.site-header {
    padding: 7px 10px;
  }
a[data-contract="site-name"] {
    font-size: 15px;
  }
.hero-title {
    font-size: 21px;
  }
.recommendation-columns, .recommendation-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}
