:root {
  --bg: #0d141d;
  --bg-deep: #080e15;
  --panel: #121b26;
  --panel-2: #16202c;
  --line: #24313f;
  --line-soft: #1b2632;
  --gold: #c9a227;
  --gold-bright: #e2bd4a;
  --gold-dim: #8a6f1c;
  --text: #d8dee6;
  --text-dim: #92a0b0;
  --text-faint: #6b7887;
  --mono: "SFMono-Regular", "Menlo", "Consolas", "Liberation Mono", "Courier New", monospace;
  --sans: -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, #0f1822 0%, #0d141d 40%, #0a1119 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 3px);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--text);
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
h1, h2 {
  font-weight: 800;
  line-height: 1.25;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(10, 16, 23, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 20px;
}
a[data-contract="site-name"] {
  color: var(--gold-bright);
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}
a[data-contract="site-name"]:hover {
  color: #f2d873;
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  text-decoration: none;
  border-color: var(--line);
  background-color: rgba(201, 162, 39, 0.07);
}
.page-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px 8px;
}
.section-heading {
  position: relative;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: #e8edf3;
  padding-left: 14px;
  margin-bottom: 12px;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 4px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-dim));
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero-media {
  position: relative;
  align-self: start;
  border: 1px solid var(--line);
  background-color: #0b1119;
  overflow: hidden;
}
.hero-media img[data-contract="main-poster"] {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.06) brightness(0.92);
}
.hero-emblem {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(226, 189, 74, 0.34) 0%, rgba(201, 162, 39, 0.16) 38%, rgba(201, 162, 39, 0) 70%);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.22),
    0 0 34px rgba(201, 162, 39, 0.28);
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-emblem::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(226, 189, 74, 0.5);
  border-radius: 50%;
}
.hero-emblem::after {
  content: "";
  position: absolute;
  inset: 44px;
  border: 1px solid rgba(226, 189, 74, 0.32);
  transform: rotate(45deg);
}
.hero-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #f3f6fa;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.hero-tagline {
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--gold);
  border-left: 2px solid var(--gold-dim);
  padding-left: 10px;
}
.hero-seo {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 74ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #10151c;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border: 1px solid var(--gold-bright);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn-play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #10151c;
}
.btn-play:hover {
  filter: brightness(1.12);
}
.btn-play:active {
  transform: translateY(1px);
}
.hero-badge {
  display: inline-block;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid var(--line);
  background-color: rgba(201, 162, 39, 0.06);
}
.player-shell {
  position: relative;
  width: 100%;
  max-width: none;
  border: 1px solid var(--line);
  background-color: #05090d;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.player-shell video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background-color: #000;
}
.player-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-top: 1px solid var(--line-soft);
  background-color: var(--panel);
}
.player-toolbar button {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 4px 10px;
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.player-toolbar button:hover {
  color: var(--gold-bright);
  border-color: var(--line);
  background-color: rgba(201, 162, 39, 0.08);
}
.player-shell.is-playing {
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.35), 0 0 30px rgba(201, 162, 39, 0.14);
}
.player-shell.is-theater {
  border-color: var(--gold-dim);
}
.player-shell.is-lights-off {
  background-color: #000;
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.5), 0 0 46px rgba(0, 0, 0, 0.9);
}
.player-shell.is-lights-off .player-toolbar button {
  color: var(--gold-dim);
}
.player-shell.is-fullscreen {
  border-color: var(--gold);
  background-color: #000;
}
.player-shell.is-muted .player-toolbar button[data-player-action="mute"] {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
}
.player-shell.show-progress .player-toolbar button[data-player-action="progress"], .player-shell.show-speed .player-toolbar button[data-player-action="speed"] {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  background-color: rgba(201, 162, 39, 0.1);
}
.player-shell.show-speed .player-toolbar button[data-player-action="speed"]::after {
  content: " " attr(data-speed-value) "x";
  font-family: var(--mono);
  font-size: 11px;
}
.player-shell .player-toolbar button.play, .player-shell .player-toolbar button.pause, .player-shell .player-toolbar button.mute, .player-shell .player-toolbar button.volume, .player-shell .player-toolbar button.speed, .player-shell .player-toolbar button.progress, .player-shell .player-toolbar button.pip, .player-shell .player-toolbar button.theater, .player-shell .player-toolbar button.light, .player-shell .player-toolbar button.fullscreen, .player-shell .player-toolbar button.volumechange, .player-shell .player-toolbar button.click {
  color: var(--gold-bright);
}
.cast-strip {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.cast-heading {
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 10px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line-soft);
  background-color: var(--panel-2);
  min-width: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.cast-card:hover {
  border-color: var(--gold-dim);
  background-color: rgba(201, 162, 39, 0.07);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #4a5c70 0%, #2b3949 55%, #1a2431 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.35);
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: #e6ebf1;
  white-space: nowrap;
}
.cast-role {
  font-size: 12px;
  color: var(--text-faint);
  white-space: nowrap;
}
.cast-role::before {
  content: "饰 ";
  color: var(--gold-dim);
}
.synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.synopsis-heading {
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 8px;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--text-dim);
  max-width: 78ch;
}
.synopsis-para + .synopsis-para {
  margin-top: 6px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0 2px;
  border-top: 1px solid var(--line-soft);
}
.status-item {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold);
  padding: 4px 10px;
  border: 1px solid var(--line);
  background-color: rgba(201, 162, 39, 0.05);
  white-space: nowrap;
}
.details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.details-heading {
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 8px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 10px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}
.detail-value {
  font-size: 12.5px;
  color: #dbe2ea;
  min-width: 0;
}
.detail-row:nth-child(5) .detail-value, .detail-row:nth-child(8) .detail-value {
  font-family: var(--mono);
  color: var(--gold);
}
.timeline-section {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line);
}
.timeline-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-color: var(--gold-dim) var(--panel);
  scrollbar-width: thin;
}
.timeline-scroller::-webkit-scrollbar {
  height: 8px;
}
.timeline-scroller::-webkit-scrollbar-track {
  background: var(--panel);
}
.timeline-scroller::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
}
.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-width: max-content;
  padding: 2px 2px 4px;
}
.timeline-card {
  position: relative;
  flex: 0 0 auto;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-dim);
  background-color: var(--panel);
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.timeline-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 12px 12px 0;
  border-color: transparent var(--bg) transparent transparent;
}
.timeline-timecode {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.timeline-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.6);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s ease;
}
.timeline-card:hover {
  border-color: var(--gold);
  border-left-color: var(--gold-bright);
  background-color: #1a2431;
  transform: translateY(-2px);
}
.timeline-card:hover .timeline-label {
  -webkit-line-clamp: unset;
  color: #e4eaf1;
}
.episodes-section {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 1px;
  background-color: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 11px;
  background-color: var(--panel);
  border-left: 2px solid transparent;
  min-width: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.episode-card:hover {
  background-color: #1a2431;
  border-left-color: var(--gold);
}
.episode-number {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.episode-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #eef2f7;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.62;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  align-self: flex-start;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  padding: 1px 6px;
  border: 1px solid var(--line-soft);
}
.comments-section {
  padding: 20px 0 22px;
  border-bottom: 1px solid var(--line);
}
.comments-masonry {
  column-count: 2;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--line-soft);
  background-color: var(--panel);
  border-left: 2px solid var(--line);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.comment-card:hover {
  border-left-color: var(--gold);
  background-color: #1a2431;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #55697f 0%, #2c3a4a 58%, #1a2431 100%);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.3);
}
.comment-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
}
.recommend-region {
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line-soft);
}
.recommend-region:last-of-type {
  border-bottom: none;
}
.recommend-heading {
  font-size: 15px;
  letter-spacing: 0.12em;
  color: #e8edf3;
  padding-left: 12px;
  margin-bottom: 10px;
  border-left: 3px solid var(--gold);
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
  align-items: start;
}
.recommend-item {
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  background-color: var(--panel);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
a[data-runtime="recommendation"]:hover {
  color: var(--gold-bright);
  text-decoration: none;
  border-color: var(--gold-dim);
  background-color: #1a2431;
}
a[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background-color: #0b1119;
  filter: saturate(0.8) brightness(0.9);
  transition: filter 0.18s ease;
}
a[data-runtime="recommendation"]:hover img {
  filter: saturate(1) brightness(1);
}
a[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #e8edf3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a[data-runtime="recommendation"]:hover [data-runtime="name"] {
  color: var(--gold-bright);
}
a[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 20px 26px;
  border-top: 1px solid var(--line);
  background-color: var(--bg-deep);
}
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-faint);
  max-width: 90ch;
  margin-bottom: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border: 1px solid var(--line);
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  text-decoration: none;
  border-color: var(--gold-dim);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold-dim);
  margin-right: 4px;
}
a.runtime-friend-link {
  color: var(--text-faint);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  text-decoration: none;
}
@media (max-width: 1024px) {.hero {
    grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
    gap: 18px;
  }
.hero-title {
    font-size: 28px;
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }}
@media (max-width: 860px) {.comments-masonry {
    column-count: 1;
  }}
@media (max-width: 760px) {.header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 16px;
  }
.category-nav {
    justify-content: flex-start;
  }
.page-main {
    padding: 0 16px 8px;
  }
.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0 20px;
  }
.hero-media {
    max-width: 210px;
  }
.hero-emblem {
    right: -24px;
    bottom: -24px;
    width: 96px;
    height: 96px;
  }
.hero-emblem::before {
    inset: 18px;
  }
.hero-emblem::after {
    inset: 30px;
  }
.hero-title {
    font-size: 24px;
  }
.hero-tagline {
    letter-spacing: 0.14em;
  }
.episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.site-footer {
    padding: 16px 16px 22px;
  }}
@media (max-width: 520px) {body {
    font-size: 13.5px;
  }
.detail-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }
.timeline-card {
    width: 152px;
  }
.btn-play {
    padding: 8px 18px;
  }}
@media (max-width: 380px) {.recommend-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (prefers-reduced-motion: reduce) {html {
    scroll-behavior: auto;
  }
* {
    transition: none !important;
  }}

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}
