:root {
  --bg: #14181d;
  --bg-deep: #0f1216;
  --surface: #1b2027;
  --surface-2: #212832;
  --line: #2c343e;
  --line-soft: #262d36;
  --ink: #d6dae0;
  --ink-dim: #8b939e;
  --ink-faint: #626b76;
  --red: #8e2b2b;
  --red-bright: #b03434;
  --red-deep: #6d1f1f;
  --radius: 2px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 18, 22, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
}
a[data-contract="site-name"].site-brand {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-left: 3px solid var(--red);
  padding-left: 9px;
  line-height: 1.2;
}
a[data-contract="site-name"].site-brand:hover {
  color: #fff;
}
.categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
a.runtime-category:hover {
  color: var(--ink);
  border-color: var(--red);
  background: var(--surface-2);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 8px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  grid-template-areas:
    "poster caption"
    "poster player"
    "poster status"
    "poster details"
    "poster cast"
    "poster synopsis";
  column-gap: 20px;
  row-gap: 14px;
  align-items: start;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--line);
}
.hero-poster-frame {
  grid-area: poster;
  position: relative;
  align-self: start;
  width: 100%;
  overflow: hidden;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero-poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 18, 22, 0.05) 0%, rgba(15, 18, 22, 0.72) 100%),
    linear-gradient(105deg, rgba(142, 43, 43, 0.16) 0%, rgba(15, 18, 22, 0) 46%);
  pointer-events: none;
}
img.hero-poster {
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  object-fit: cover;
  filter: grayscale(0.34) contrast(1.06) brightness(0.82);
}
.hero-caption {
  grid-area: caption;
  padding: 20px 0 4px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-title {
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #eef0f3;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
}
.hero-tagline {
  margin-top: 10px;
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: #c9ced5;
  border-left: 2px solid var(--red);
  padding-left: 10px;
  padding-top: 2px;
  padding-bottom: 2px;
}
.hero-lede {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink-dim);
  max-width: 62ch;
}
.hero-player-shell {
  grid-area: player;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
video.hero-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #000;
  object-fit: cover;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
}
.player-btn {
  flex: 0 0 auto;
  background: #262e38;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.player-btn:hover {
  background: #303a46;
  color: var(--ink);
}
.player-btn:first-child {
  background: var(--red);
  border-color: var(--red-bright);
  color: #f2e9e9;
  font-weight: 700;
}
.player-btn:first-child:hover {
  background: var(--red-bright);
}
.player-btn.is-active {
  background: var(--red-deep);
  border-color: var(--red);
  color: #efe2e2;
}
.player-progress, .player-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 0;
  background: #333d48;
  outline: none;
  cursor: pointer;
}
.player-progress {
  flex: 1 1 160px;
  min-width: 100px;
}
.player-volume {
  flex: 0 1 90px;
  min-width: 64px;
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--red-bright);
  border: none;
  border-radius: 1px;
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--red-bright);
  border: none;
  border-radius: 1px;
}
.episode-status {
  grid-area: status;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}
.status-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  text-transform: uppercase;
  flex: 0 0 auto;
}
.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 2px 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.status-key {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}
.status-value {
  font-size: 13px;
  font-weight: 700;
  color: #e6e9ed;
}
.details {
  grid-area: details;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.details-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dotted #313945;
  min-width: 0;
}
.detail-key {
  flex: 0 0 68px;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.detail-value {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 400;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cast {
  grid-area: cast;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cast-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cast-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.cast-strip::-webkit-scrollbar {
  height: 5px;
}
.cast-strip::-webkit-scrollbar-thumb {
  background: #333c47;
}
.cast-card {
  flex: 0 0 118px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 7px;
  min-height: 96px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid #3a434f;
  border-radius: var(--radius);
}
.cast-card:hover {
  border-left-color: var(--red);
  background: var(--surface-2);
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #e2e6ea;
  line-height: 1;
}
.cast-role {
  align-self: flex-end;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  line-height: 1;
}
.synopsis {
  grid-area: synopsis;
  padding: 10px 0 4px;
}
.synopsis-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.synopsis-body {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid var(--line-soft);
}
.synopsis-paragraph {
  break-inside: avoid;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.78;
  color: #a9b0b9;
  margin-bottom: 10px;
  text-indent: 2em;
}
.timeline-heading, .episodes-heading, .comments-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #d3d8de;
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 3px solid var(--red);
  line-height: 1.2;
}
.timeline {
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
}
.timeline-heading {
  margin-bottom: 12px;
}
.timeline-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  background:
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(44, 52, 62, 0.5) 39px 40px);
  background-size: auto 8px;
  background-position: 0 0;
  background-repeat: repeat-x;
}
.timeline-strip::-webkit-scrollbar {
  height: 6px;
}
.timeline-strip::-webkit-scrollbar-thumb {
  background: #363f4b;
}
.timeline-node {
  position: relative;
  flex: 0 0 232px;
  padding: 16px 14px 8px 14px;
  border-left: 1px solid var(--line);
}
.timeline-node:first-child {
  border-left: none;
}
.timeline-mark {
  position: absolute;
  top: 0;
  left: 14px;
  width: 1px;
  height: 10px;
  background: var(--red-bright);
}
.timeline-mark::before {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 1px;
}
.timeline-timecode {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red-bright);
  margin-bottom: 5px;
}
.timeline-label {
  display: block;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-dim);
}
.episodes {
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
}
.episodes-heading {
  margin-bottom: 12px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 2px;
  align-items: baseline;
  padding: 8px 10px 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-left: 2px solid #38414d;
  border-radius: var(--radius);
  transition: background 0.14s ease, border-color 0.14s ease;
}
.episode-card:hover {
  background: var(--surface-2);
  border-left-color: var(--red);
}
.episode-number {
  grid-column: 1;
  grid-row: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red-bright);
  white-space: nowrap;
}
.episode-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e4e8ec;
  line-height: 1.4;
}
.episode-summary {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  grid-column: 1 / -1;
  grid-row: 3;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  transition: max-height 0.18s ease, opacity 0.18s ease, margin 0.18s ease;
}
.episode-card:hover .episode-duration {
  max-height: 20px;
  opacity: 1;
  margin-top: 2px;
}
.episode-card:hover .episode-summary {
  -webkit-line-clamp: 3;
}
.comments {
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
}
.comments-heading {
  margin-bottom: 12px;
}
.comments-masonry {
  columns: 2;
  column-gap: 16px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  padding: 9px 11px 10px;
  margin-bottom: 10px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.comment-card:nth-child(3n) {
  background: #1e242c;
}
.comment-card:nth-child(2n) {
  margin-left: 14px;
}
.comment-avatar {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: middle;
  margin-right: 7px;
}
.comment-nickname {
  display: inline;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #cdd3da;
  vertical-align: middle;
}
.comment-text {
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.66;
  color: var(--ink-dim);
}
.recommend-region {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.recommend-title {
  position: sticky;
  top: 56px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  color: #d9dee4;
  padding-left: 9px;
  border-left: 2px solid var(--red);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 6px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
a.recommend-item:hover {
  border-color: var(--red);
  background: var(--surface-2);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
  filter: grayscale(0.22) brightness(0.92);
}
[data-runtime="recommendation"]:hover img {
  filter: grayscale(0) brightness(1);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e2e6ea;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px 28px;
  border-top: 1px solid var(--line);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
a[data-contract="footer-home"].footer-link {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
a[data-contract="footer-home"].footer-link:hover {
  color: var(--ink);
  border-color: var(--red);
}
a[data-contract="footer-sitemap"].footer-link {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--ink);
  border-color: var(--red);
}
.friend-links {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.friend-links-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 7px;
}
.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
a.runtime-friend-link {
  color: var(--ink-faint);
  text-decoration: none;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
}
a.runtime-friend-link:hover {
  color: var(--red-bright);
  border-bottom-color: var(--red);
}
.footer-disclaimer {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
  color: #565f6a;
  letter-spacing: 0.02em;
}
.player-theater {
  background: #000;
}
.hero-player-shell.player-theater {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(142, 43, 43, 0.4);
}
.player .play, .player .pause {
  color: #f2e9e9;
}
.lights-dim .page-main {
  filter: brightness(0.72) contrast(1.05);
}
.lights-dim .hero-player-shell {
  filter: brightness(1.25) contrast(1.05);
}
.lights-dim .player-controls {
  filter: brightness(1.2);
}
.player-controls .input, .player-controls .progress, .player-controls .volume, .player-controls .mute, .player-controls .speed, .player-controls .pip, .player-controls .fullscreen, .player-controls .theater, .player-controls .light, .player-controls .click {
  outline: none;
}
.player-controls .click:active {
  transform: translateY(1px);
}
@media (max-width: 1024px) {.hero {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  }
.recommend-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "caption"
      "poster"
      "player"
      "status"
      "details"
      "cast"
      "synopsis";
  }
.hero-poster-frame {
    max-width: 320px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.synopsis-body {
    columns: 1;
  }
.comments-masonry {
    columns: 1;
  }
.comment-card:nth-child(2n) {
    margin-left: 0;
  }
.recommend-region {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 10px;
  }
.recommend-title {
    position: static;
  }
.recommend-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 560px) {body {
    font-size: 13.5px;
  }
.page-main {
    padding: 0 12px 8px;
  }
.header-bar {
    padding: 8px 12px;
  }
.hero-caption {
    padding-top: 14px;
  }
.hero-lede {
    font-size: 12.5px;
  }
.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-card {
    flex: 0 0 104px;
  }
.site-footer {
    padding: 14px 12px 24px;
  }}

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}
