*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, dl, dd, dt, ol, ul, li {
  margin: 0;
  padding: 0;
}
ol, ul {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --bg-deep: #10161f;
  --bg-panel: #161f2b;
  --bg-raise: #1c2734;
  --line: rgba(150, 178, 205, 0.16);
  --line-strong: rgba(150, 178, 205, 0.3);
  --gold: #c39a4e;
  --gold-bright: #e2bc6c;
  --red-seal: rgba(158, 42, 42, 0.55);
  --ink: #e7edf4;
  --ink-dim: #93a3b6;
  --ink-faint: #6b7c8f;
  --gap: 14px;
  --gap-tight: 8px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html {
  background: var(--bg-deep);
}
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(160deg, rgba(32, 48, 68, 0.55) 0%, rgba(12, 17, 24, 0) 42%),
    radial-gradient(120% 80% at 100% 0%, rgba(158, 42, 42, 0.14) 0%, rgba(16, 22, 31, 0) 46%),
    repeating-linear-gradient(90deg, rgba(150, 178, 205, 0.035) 0 1px, rgba(0, 0, 0, 0) 1px 88px),
    repeating-linear-gradient(0deg, rgba(150, 178, 205, 0.03) 0 1px, rgba(0, 0, 0, 0) 1px 64px);
  line-height: 1.55;
  font-size: 14px;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(13, 18, 26, 0.97) 0%, rgba(13, 18, 26, 0.86) 100%);
  border-bottom: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 18px;
}
a[data-contract="site-name"].site-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--gold-bright);
  text-decoration: none;
  text-transform: uppercase;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
  line-height: 1.15;
  white-space: nowrap;
}
a[data-contract="site-name"].site-name:hover {
  color: #fff;
  border-left-color: var(--red-seal);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  padding: 4px 11px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(28, 39, 52, 0.6);
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(195, 154, 78, 0.12);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--gold-bright);
  padding: 0 0 7px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 2px;
  background: var(--gold);
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 224px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(28, 39, 52, 0.72) 0%, rgba(18, 25, 34, 0.86) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 2px solid var(--red-seal);
  box-shadow: 0 0 0 14px rgba(158, 42, 42, 0.09);
  opacity: 0.5;
  pointer-events: none;
}
.hero-poster-wrap {
  position: relative;
  width: 100%;
  align-self: start;
  border: 1px solid var(--line-strong);
  background: #0c1118;
}
.hero-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
  filter: saturate(0.92) contrast(1.05);
}
.hero-poster-shadow {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(200deg, rgba(16, 22, 31, 0) 46%, rgba(10, 14, 20, 0.82) 100%),
    repeating-linear-gradient(0deg, rgba(231, 237, 244, 0.05) 0 1px, rgba(0, 0, 0, 0) 1px 5px);
  mix-blend-mode: multiply;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.hero-title {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: #f4f8fc;
  text-shadow: 0 0 22px rgba(195, 154, 78, 0.28);
}
.hero-tagline {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  padding: 6px 10px;
  border-left: 2px solid var(--gold);
  background: rgba(195, 154, 78, 0.08);
}
.hero-seo {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 78ch;
}
.hero-player-wrap {
  position: relative;
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #070b10;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
  outline: none;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(28, 39, 52, 0.96) 0%, rgba(16, 22, 31, 0.96) 100%);
  border-top: 1px solid var(--line);
}
.pc-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(20, 29, 40, 0.9);
  color: var(--ink-dim);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.pc-btn:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: rgba(195, 154, 78, 0.14);
}
.pc-btn.is-active, .pc-btn:active {
  color: #fff;
  border-color: var(--red-seal);
  background: rgba(158, 42, 42, 0.3);
}
.pc-progress {
  flex: 1 1 140px;
  min-width: 110px;
  height: 16px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.pc-progress::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(147, 163, 182, 0.28);
  border-radius: 2px;
}
.pc-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 1px solid #10161f;
}
.pc-progress::-moz-range-track {
  height: 4px;
  background: rgba(147, 163, 182, 0.28);
  border-radius: 2px;
}
.pc-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #10161f;
  border-radius: 50%;
  background: var(--gold-bright);
}
.pc-volume {
  flex: 0 1 76px;
  min-width: 56px;
  height: 16px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}
.pc-volume::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(147, 163, 182, 0.28);
  border-radius: 2px;
}
.pc-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--ink-dim);
  border: 1px solid #10161f;
}
.pc-volume::-moz-range-track {
  height: 4px;
  background: rgba(147, 163, 182, 0.28);
  border-radius: 2px;
}
.pc-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 1px solid #10161f;
  border-radius: 50%;
  background: var(--ink-dim);
}
.hero-player-wrap.theater-mode {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(195, 154, 78, 0.35), 0 14px 34px rgba(0, 0, 0, 0.6);
}
.hero-player-wrap.lights-off {
  background: #000;
}
.hero-player-wrap.lights-off .player-controls {
  background: #06090d;
  border-top-color: rgba(150, 178, 205, 0.12);
}
.cast-section {
  padding-top: 4px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.cast-member {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 9px 3px 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 31, 43, 0.7);
}
.cast-avatar {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 34% 28%, rgba(226, 188, 108, 0.85) 0%, rgba(226, 188, 108, 0) 58%),
    linear-gradient(150deg, #2b3a4c 0%, #131b25 100%);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 0 1px rgba(16, 22, 31, 0.6);
}
.cast-name {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  white-space: nowrap;
}
.synopsis-section {
  padding-top: 4px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-dim);
  padding-left: 10px;
  border-left: 1px solid var(--line);
  margin-bottom: 6px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.synopsis-para::first-letter {
  color: var(--gold-bright);
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(28, 39, 52, 0.66);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red-seal);
}
.status-item {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 2px 9px;
  border: 1px solid var(--line);
  background: rgba(16, 22, 31, 0.7);
  white-space: nowrap;
}
.status-item:last-child {
  color: var(--gold-bright);
  border-color: rgba(195, 154, 78, 0.45);
}
.details-section {
  padding-top: 4px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 4px 12px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 8px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.detail-key {
  flex: 0 0 62px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}
.detail-val {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}
.timeline-section {
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(22, 31, 43, 0.8) 0%, rgba(16, 22, 31, 0.8) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  border-left: 1px solid var(--line-strong);
}
.timeline-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px 7px 12px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 13px;
  width: 7px;
  height: 7px;
  background: var(--bg-deep);
  border: 1px solid var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
}
.timeline-timecode {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.episodes-section {
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(22, 31, 43, 0.8) 0%, rgba(16, 22, 31, 0.8) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 10px 10px;
  background: rgba(16, 22, 31, 0.72);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(195, 154, 78, 0.42);
  border-radius: 2px;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}
.episode-card:hover {
  border-color: var(--line-strong);
  border-top-color: var(--gold);
  background: rgba(28, 39, 52, 0.9);
  transform: translateY(-1px);
}
.episode-number {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.episode-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f1f6fb;
  line-height: 1.35;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.62;
  color: var(--ink-dim);
}
.episode-duration {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding-top: 5px;
  border-top: 1px dashed var(--line);
}
.comments-section {
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(22, 31, 43, 0.8) 0%, rgba(16, 22, 31, 0.8) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.comments-masonry {
  column-count: 2;
  column-gap: 12px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin: 0 0 10px;
  padding: 9px 11px;
  background: rgba(28, 39, 52, 0.62);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(158, 42, 42, 0.5);
  border-radius: 2px;
}
.comment-nickname {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--ink-dim);
}
.recommend-region {
  padding: 14px 16px 16px;
  background: linear-gradient(180deg, rgba(22, 31, 43, 0.8) 0%, rgba(16, 22, 31, 0.8) 100%);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.recommend-track {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(195, 154, 78, 0.5) rgba(16, 22, 31, 0.6);
}
.recommend-track::-webkit-scrollbar {
  height: 7px;
}
.recommend-track::-webkit-scrollbar-track {
  background: rgba(16, 22, 31, 0.7);
  border-radius: 4px;
}
.recommend-track::-webkit-scrollbar-thumb {
  background: rgba(195, 154, 78, 0.55);
  border-radius: 4px;
}
a.recommend-card {
  flex: 0 0 auto;
  width: 176px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: rgba(16, 22, 31, 0.86);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 6px 6px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.42);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
a.recommend-card:nth-child(2n) {
  margin-top: 10px;
}
a.recommend-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: rgba(28, 39, 52, 0.94);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(195, 154, 78, 0.35);
}
[data-runtime="recommendation"] img.recommend-pic {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: #0b1017;
  border: 1px solid var(--line);
}
.recommend-name {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f1f6fb;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(13, 18, 26, 0.92) 0%, rgba(9, 13, 19, 0.98) 100%);
  padding: 16px 18px 22px;
  margin-top: 6px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  max-width: 1240px;
  margin: 0 auto 12px;
}
.friend-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  padding-right: 10px;
  border-right: 1px solid var(--line-strong);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 2px 4px;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  max-width: 1240px;
  margin: 0 auto 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(195, 154, 78, 0.4);
  padding-bottom: 1px;
}
a[data-contract="footer-home"].footer-link:hover, a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}
.footer-disclaimer {
  max-width: 1240px;
  margin: 0 auto;
  font-size: 11.5px;
  line-height: 1.66;
  color: var(--ink-faint);
}
@media (max-width: 1020px) {.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.hero-section {
    grid-template-columns: minmax(0, 184px) minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
  }
.hero-title {
    font-size: 22px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-masonry {
    column-count: 2;
  }}
@media (max-width: 720px) {.header-inner {
    padding: 9px 12px;
  }
a[data-contract="site-name"].site-name {
    font-size: 17px;
    letter-spacing: 0.16em;
  }
.page-main {
    padding: 14px 12px 20px;
    gap: 16px;
  }
.hero-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.hero-poster-wrap {
    max-width: 210px;
  }
.hero-title {
    font-size: 21px;
  }
.hero-seo {
    font-size: 12.5px;
  }
.episodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
.comments-masonry {
    column-count: 2;
    column-gap: 10px;
  }
.details-list {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
a.recommend-card {
    width: 152px;
  }}
@media (max-width: 520px) {.header-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
.category-nav {
    justify-content: flex-start;
  }
.hero-poster-wrap {
    max-width: 168px;
  }
.hero-title {
    font-size: 19px;
  }
.hero-tagline {
    font-size: 12.5px;
    letter-spacing: 0.06em;
  }
.episodes-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comments-masonry {
    column-count: 1;
  }
.timeline-item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
    padding: 6px 8px 6px 10px;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-row {
    gap: 6px;
  }
.player-controls {
    gap: 5px;
    padding: 6px;
  }
.pc-btn {
    font-size: 11.5px;
    padding: 4px 7px;
  }
.pc-volume {
    flex: 0 1 60px;
    min-width: 48px;
  }
a.recommend-card {
    width: 138px;
  }
a.recommend-card:nth-child(2n) {
    margin-top: 6px;
  }}
@media (max-width: 380px) {.cast-member {
    padding-right: 7px;
  }
.cast-name {
    font-size: 12px;
  }
.hero-title {
    font-size: 18px;
  }}

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}
