:root {
  --bg: #10141b;
  --bg-2: #161b24;
  --bg-3: #1b212c;
  --ink: #c9ced8;
  --ink-dim: #8b929f;
  --ink-faint: #5d6472;
  --white: #f2f4f8;
  --amber: #f0b23c;
  --amber-soft: #c98f27;
  --tape: #8a6a44;
  --tape-dark: #5c452c;
  --line: #262d39;
  --line-soft: #1e242e;
  --radius: 3px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background:
    radial-gradient(120% 60% at 80% 0%, rgba(240, 178, 60, 0.06), transparent 60%),
    linear-gradient(180deg, #0e1219 0%, var(--bg) 40%, #0d1117 100%);
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--amber);
  text-decoration: none;
}
h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 18, 25, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 14px;
}
a[data-contract="site-name"] {
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding-left: 12px;
  border-left: 3px solid var(--amber);
  line-height: 1.1;
}
a[data-contract="site-name"]:hover {
  color: var(--amber);
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  color: var(--ink-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(180deg, #1a202b, #141922);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--amber);
  border-color: var(--amber-soft);
  background: linear-gradient(180deg, #221d12, #171a21);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px 28px;
}
.section-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--white);
  text-transform: uppercase;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--amber);
}
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  grid-template-areas:
    "media console"
    "strip console"
    "syn syn"
    "status details";
  gap: 14px 18px;
  align-items: start;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  grid-area: media;
  position: relative;
  align-self: start;
  width: 100%;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: saturate(0.82) contrast(1.06) brightness(0.92);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.028) 0px,
      rgba(255, 255, 255, 0.028) 1px,
      transparent 1px,
      transparent 3px
    ),
    linear-gradient(180deg, transparent 55%, rgba(10, 13, 18, 0.82) 100%);
}
.hero-wave-anchor {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding-top: 8px;
  border-top: 1px solid rgba(240, 178, 60, 0.55);
}
.hero-wave-anchor::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 7px;
  opacity: 0.75;
  background:
    linear-gradient(
      90deg,
      transparent 0 2%,
      var(--amber) 2% 2.6%,
      transparent 2.6% 6%,
      var(--amber) 6% 6.5%,
      transparent 6.5% 11%,
      var(--amber) 11% 11.8%,
      transparent 11.8% 16%,
      var(--amber) 16% 16.5%,
      transparent 16.5% 22%,
      var(--amber) 22% 22.8%,
      transparent 22.8% 30%,
      var(--amber) 30% 30.5%,
      transparent 30.5% 39%,
      var(--amber) 39% 39.8%,
      transparent 39.8% 48%,
      var(--amber) 48% 48.6%,
      transparent 48.6% 56%,
      var(--amber) 56% 56.7%,
      transparent 56.7% 64%,
      var(--amber) 64% 64.6%,
      transparent 64.6% 72%,
      var(--amber) 72% 72.8%,
      transparent 72.8% 80%,
      var(--amber) 80% 80.5%,
      transparent 80.5% 88%,
      var(--amber) 88% 88.7%,
      transparent 88.7% 100%
    );
  clip-path: polygon(
    0 50%, 2% 50%, 2.3% 0, 2.6% 100%, 2.9% 50%,
    6% 50%, 6.2% 12%, 6.5% 88%, 6.8% 50%,
    11% 50%, 11.4% 4%, 11.8% 96%, 12.1% 50%,
    16% 50%, 16.3% 22%, 16.5% 78%, 16.8% 50%,
    22% 50%, 22.4% 0, 22.8% 100%, 23.1% 50%,
    30% 50%, 30.3% 30%, 30.5% 70%, 30.8% 50%,
    39% 50%, 39.4% 8%, 39.8% 92%, 40.1% 50%,
    48% 50%, 48.3% 26%, 48.6% 74%, 48.9% 50%,
    56% 50%, 56.4% 4%, 56.7% 96%, 57% 50%,
    64% 50%, 64.3% 30%, 64.6% 70%, 64.9% 50%,
    72% 50%, 72.4% 12%, 72.8% 88%, 73.1% 50%,
    80% 50%, 80.3% 34%, 80.5% 66%, 80.8% 50%,
    88% 50%, 88.4% 6%, 88.7% 94%, 89% 50%,
    100% 50%
  );
}
.hero-tagline {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}
.hero-console {
  grid-area: console;
  align-self: start;
  min-width: 0;
  padding: 12px 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #171d27 0%, #131822 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.hero-title {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 96% 100%, 0 100%);
}
.hero-lead {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-dim);
  margin-bottom: 10px;
}
.hero-player {
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
video[data-contract="player"] {
  display: block;
  background: #05070a;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
}
.player-btn {
  background: linear-gradient(180deg, #1e252f, #161b23);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-dim);
  font-size: 11px;
  line-height: 1;
  padding: 5px 8px;
  letter-spacing: 0.04em;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-btn:hover {
  color: var(--amber);
  border-color: var(--amber-soft);
}
.player-btn.is-active, .player-btn:active {
  color: #14181f;
  background: linear-gradient(180deg, #f0b23c, #c98f27);
  border-color: var(--amber);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 70px;
  min-width: 60px;
  height: 4px;
  background: #2b323e;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 12px;
  border-radius: 1px;
  background: var(--amber);
  border: none;
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 12px;
  border-radius: 1px;
  background: var(--amber);
  border: none;
}
.player-select {
  background: linear-gradient(180deg, #1e252f, #161b23);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-dim);
  font-size: 11px;
  padding: 4px 6px;
  line-height: 1;
}
.player-is-playing .player-btn[data-player-action="play"] {
  color: var(--amber);
  border-color: var(--amber-soft);
}
.player-lights-off .hero-stage {
  filter: brightness(0.45) contrast(1.15);
}
.player-lights-off .hero-player {
  filter: brightness(2.1);
}
.player-theater .hero-stage {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "console"
    "media"
    "strip"
    "syn"
    "status"
    "details";
}
.cast-strip {
  grid-area: strip;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.cast-heading {
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  padding-bottom: 5px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.cast-item {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--tape);
  background:
    radial-gradient(circle at 50% 32%, #6f7a89 0 22%, transparent 23%),
    radial-gradient(circle at 50% 92%, #6f7a89 0 34%, transparent 35%),
    linear-gradient(180deg, #262d38, #171c25);
}
.cast-name {
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
}
.synopsis-block {
  grid-area: syn;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  column-count: 2;
  column-gap: 24px;
  column-rule: 1px solid var(--line-soft);
}
.synopsis-heading {
  column-span: all;
  margin-bottom: 10px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-dim);
  margin-bottom: 8px;
  break-inside: avoid;
}
.synopsis-para:first-of-type {
  color: var(--ink);
}
.episode-status {
  grid-area: status;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  align-self: start;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber);
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(240, 178, 60, 0.06), transparent 70%);
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}
.status-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  margin-right: 6px;
}
.details-panel {
  grid-area: details;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  min-width: 0;
}
.details-heading {
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0 18px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dotted var(--line);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  width: 5em;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.detail-value {
  font-size: 12px;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
}
.timeline-heading {
  margin-bottom: 12px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  padding-left: 16px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--amber-soft), var(--line) 40%, var(--line));
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  padding: 6px 0 7px;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.timeline-tick {
  position: absolute;
  left: -16px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--amber);
  box-shadow: 0 0 6px rgba(240, 178, 60, 0.45);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 14px;
  width: 9px;
  height: 1px;
  background: var(--line);
}
.timeline-timecode {
  grid-column: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-top: 1px;
}
.timeline-label {
  grid-column: 2;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-dim);
  min-width: 0;
}
.episodes-section {
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
}
.episodes-heading {
  margin-bottom: 12px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 9px 9px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--tape-dark);
  border-radius: 2px;
  background: linear-gradient(180deg, #171c25, #131820);
  transition: border-color 0.18s, background 0.18s;
  min-width: 0;
}
.episode-card:hover {
  border-left-color: var(--amber);
  background: linear-gradient(180deg, #1b212b, #151a23);
}
.episode-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-soft);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.18s;
  min-height: 0;
}
.episode-card:hover .episode-summary {
  color: var(--ink);
  -webkit-line-clamp: unset;
  overflow: visible;
  max-height: none;
}
.episode-duration {
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--tape);
  border: 1px solid var(--tape-dark);
  border-radius: 2px;
  padding: 1px 5px;
  line-height: 1.4;
  margin-top: 2px;
}
.comments-section {
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--line);
}
.comments-heading {
  margin-bottom: 12px;
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  align-items: start;
}
.comment-item {
  padding: 6px 0 8px 12px;
  border-left: 2px solid var(--line);
  min-width: 0;
}
.comment-item:nth-child(odd) {
  margin-left: 0;
}
.comment-item:nth-child(even) {
  margin-left: 14px;
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber-soft);
  margin-bottom: 2px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-dim);
}
.recommend-region {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}
.recommend-heading {
  margin-bottom: 10px;
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--ink);
  text-decoration: none;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: linear-gradient(180deg, #161b24, #12171f);
  transition: border-color 0.18s, transform 0.18s;
  min-width: 0;
}
a.recommend-item:hover {
  border-color: var(--tape);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1px;
  background: #0a0d12;
  filter: saturate(0.85) brightness(0.95);
}
a.recommend-item:hover img {
  filter: saturate(1) brightness(1.05);
}
.recommend-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11px;
  line-height: 1.4;
  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 14px 26px;
  border-top: 1px solid var(--line);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 8px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--amber);
  border-bottom-color: var(--amber-soft);
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-faint);
  margin-bottom: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  padding-right: 8px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 11px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-soft);
}
a.runtime-friend-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber-soft);
}
@media (max-width: 900px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-areas:
      "media console"
      "strip strip"
      "syn syn"
      "status details";
    gap: 12px 14px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 680px) {body {
    font-size: 13px;
  }
.page-main {
    padding: 0 12px 22px;
  }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "console"
      "strip"
      "syn"
      "status"
      "details";
    gap: 12px;
    padding: 12px 0 14px;
  }
.hero-title {
    font-size: 22px;
  }
.hero-media {
    max-width: 320px;
  }
.synopsis-block {
    column-count: 1;
    column-rule: none;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-item:nth-child(even) {
    margin-left: 0;
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 420px) {.header-inner {
    padding: 7px 12px;
  }
.hero-title {
    font-size: 20px;
  }
.recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 4px;
  }
.player-btn {
    font-size: 10px;
    padding: 4px 6px;
  }}

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}
