:root {
  --ink-deep: #070d1c;
  --ink-navy: #0d1730;
  --ink-navy-2: #111f3d;
  --ink-navy-3: #16264a;
  --steel-blue: #274063;
  --ice-blue: #6fa8c8;
  --ice-pale: #a8cfe0;
  --ember: #d2691e;
  --ember-bright: #f0823a;
  --gold: #c9a227;
  --gold-dim: #8a7220;
  --crimson: #a81c28;
  --crimson-bright: #d92b3a;
  --bone: #e8e0d0;
  --smoke: #b8b0a0;
  --smoke-dim: #7a7568;
  --line: rgba(201, 162, 39, 0.18);
  --line-strong: rgba(201, 162, 39, 0.38);
  --font-title: "Songti SC", "SimSun", "STSong", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background:
    radial-gradient(ellipse 120% 80% at 15% -10%, rgba(39, 64, 99, 0.55), transparent 55%),
    radial-gradient(ellipse 110% 70% at 90% 0%, rgba(210, 105, 30, 0.14), transparent 50%),
    radial-gradient(ellipse 100% 60% at 50% 110%, rgba(168, 28, 40, 0.10), transparent 55%),
    var(--ink-deep);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.lights-off {
  background: #02040a;
}
body.theater-mode .site-header {
  opacity: 0.35;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: var(--ice-pale);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
  color: var(--gold);
}
ul, ol {
  list-style: none;
}
button, input {
  font: inherit;
  color: inherit;
}
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
h2 {
  font-size: 1.05rem;
  color: var(--gold);
}
::selection {
  background: var(--crimson);
  color: var(--bone);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(7, 13, 28, 0.96), rgba(7, 13, 28, 0.82));
  border-bottom: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 38%;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson-bright), transparent);
}
.header-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.site-name, a[data-contract="site-name"] {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.08em;
  text-decoration: none;
  position: relative;
  padding-left: 14px;
}
.site-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--crimson-bright);
  box-shadow: 0 0 8px rgba(217, 43, 58, 0.7);
}
a[data-contract="site-name"]:hover {
  color: var(--gold);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 4px 12px;
  color: var(--smoke);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(39, 64, 99, 0.22);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: all 0.2s ease;
}
a.runtime-category:hover {
  color: var(--ink-deep);
  background: var(--gold);
  border-color: var(--gold);
  text-decoration: none;
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 18px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(13, 23, 48, 0.9) 0%, rgba(22, 38, 74, 0.85) 45%, rgba(210, 105, 30, 0.10) 100%);
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.hero-shell::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at top right, rgba(210, 105, 30, 0.22), transparent 70%);
  pointer-events: none;
}
.hero-shell::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--crimson) 60%, transparent);
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  border: 1px solid var(--line-strong);
  background: var(--ink-navy);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% 96%, 92% 100%, 0 100%);
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.05);
}
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(111, 168, 200, 0.16), transparent 40%, rgba(210, 105, 30, 0.14));
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  color: var(--bone);
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 10px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 76px;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson-bright), var(--gold));
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}
.hero-tagline {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--ice-blue);
  letter-spacing: 0.14em;
  border-left: 2px solid var(--crimson);
  padding-left: 10px;
}
.hero-seo {
  font-size: 0.86rem;
  color: var(--smoke);
  line-height: 1.75;
  max-width: 72ch;
}
.hero-player-zone {
  position: relative;
  margin-top: 4px;
  border: 1px solid var(--line-strong);
  background: #000;
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.6);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(13, 23, 48, 0.95), rgba(7, 13, 28, 0.98));
  border-top: 1px solid var(--line);
}
.player-btn {
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: var(--ice-pale);
  background: linear-gradient(180deg, rgba(39, 64, 99, 0.6), rgba(13, 23, 48, 0.9));
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 10px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.player-btn:hover {
  color: var(--gold);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(39, 64, 99, 0.85), rgba(22, 38, 74, 0.95));
}
.player-btn.is-active {
  color: var(--ink-deep);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.5);
}
.player-range {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--crimson), var(--steel-blue));
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--ink-deep);
  box-shadow: 0 0 6px rgba(201, 162, 39, 0.7);
  cursor: pointer;
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--ink-deep);
  cursor: pointer;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-item {
  font-size: 0.78rem;
  color: var(--ice-pale);
  background: rgba(39, 64, 99, 0.35);
  border: 1px solid var(--line);
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.status-item:first-child {
  color: var(--gold);
  border-color: var(--line-strong);
}
.detail-panel, .synopsis-panel, .cast-panel {
  background: rgba(13, 23, 48, 0.55);
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel-blue);
  padding: 12px 14px;
  border-radius: 2px;
}
.detail-heading, .synopsis-heading, .cast-heading {
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.1em;
  position: relative;
}
.detail-heading::before, .synopsis-heading::before, .cast-heading::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--crimson-bright);
  transform: rotate(45deg) translateY(-1px);
  margin-right: 8px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 4px 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  border-bottom: 1px dashed rgba(201, 162, 39, 0.12);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  font-size: 0.76rem;
  color: var(--smoke-dim);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.detail-value {
  flex: 1 1 auto;
  font-size: 0.82rem;
  color: var(--bone);
  text-align: right;
  min-width: 0;
  overflow-wrap: break-word;
}
.synopsis-para {
  font-size: 0.83rem;
  color: var(--smoke);
  line-height: 1.8;
  margin-bottom: 8px;
  text-indent: 2em;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.cast-ring-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.cast-ring-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 76px;
  flex: 0 0 auto;
}
.cast-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(111, 168, 200, 0.5), transparent 60%),
    linear-gradient(135deg, var(--steel-blue), var(--ink-navy-2));
  border: 2px solid var(--line-strong);
  box-shadow: 0 0 0 2px var(--ink-deep), 0 0 12px rgba(39, 64, 99, 0.6);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(160deg, transparent 55%, rgba(217, 43, 58, 0.35));
}
.cast-name {
  font-size: 0.78rem;
  color: var(--bone);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}
.cast-role {
  font-size: 0.68rem;
  color: var(--ice-blue);
  text-align: center;
  letter-spacing: 0.02em;
}
.timeline-section, .episodes-section, .comments-section {
  background: rgba(13, 23, 48, 0.4);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px 16px;
  position: relative;
}
.timeline-heading, .episodes-heading, .comments-heading, .recommend-heading {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 12px;
  padding-left: 12px;
  position: relative;
  letter-spacing: 0.1em;
}
.timeline-heading::before, .episodes-heading::before, .comments-heading::before, .recommend-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  background: var(--crimson-bright);
  box-shadow: 0 0 8px rgba(217, 43, 58, 0.6);
}
.timeline-ruler {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0;
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--steel-blue);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
.timeline-ruler::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 12px);
  pointer-events: none;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  min-width: 90px;
  text-align: center;
}
.timeline-tick {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 18px;
  background: linear-gradient(180deg, var(--crimson-bright), transparent);
}
.timeline-tick::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 7px;
  height: 7px;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.7);
}
.timeline-timecode {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ice-blue);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.timeline-label {
  font-size: 0.78rem;
  color: var(--smoke);
  line-height: 1.4;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.episode-card {
  background: linear-gradient(160deg, rgba(22, 38, 74, 0.7), rgba(13, 23, 48, 0.85));
  border: 1px solid var(--line);
  border-left: 3px solid var(--steel-blue);
  padding: 10px 12px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.episode-card:hover {
  border-left-color: var(--crimson-bright);
  transform: translateY(-2px);
}
.episode-number {
  font-family: var(--font-title);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.episode-title {
  font-size: 0.92rem;
  color: var(--bone);
  letter-spacing: 0.04em;
}
.episode-summary {
  font-size: 0.78rem;
  color: var(--smoke-dim);
  line-height: 1.65;
}
.episode-duration {
  align-self: flex-start;
  font-size: 0.68rem;
  color: var(--ice-blue);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 9px;
  margin-top: 2px;
}
.comment-waterfall {
  columns: 3;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  background: rgba(22, 38, 74, 0.55);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px 12px;
  margin-bottom: 10px;
  display: inline-block;
  width: 100%;
  position: relative;
}
.comment-card::before {
  content: "“";
  position: absolute;
  top: 2px;
  right: 8px;
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: rgba(201, 162, 39, 0.25);
  line-height: 1;
}
.comment-nickname {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 5px;
  padding-left: 12px;
  position: relative;
}
.comment-nickname::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 5px;
  height: 5px;
  background: var(--ice-blue);
}
.comment-text {
  font-size: 0.8rem;
  color: var(--smoke);
  line-height: 1.7;
}
.recommend-region {
  background: rgba(13, 23, 48, 0.4);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 14px;
}
.recommend-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  background: rgba(22, 38, 74, 0.5);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}
a.recommend-item:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  background: var(--ink-navy-2);
  filter: saturate(0.9);
}
.recommend-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--bone);
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 0.74rem;
  color: var(--smoke-dim);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  background: linear-gradient(180deg, rgba(7, 13, 28, 0.6), rgba(2, 4, 10, 0.95));
  border-top: 1px solid var(--line-strong);
  margin-top: 12px;
}
.footer-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 0.82rem;
  color: var(--ice-pale);
  text-decoration: none;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 2px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(201, 162, 39, 0.15);
}
.friend-links-label {
  font-size: 0.76rem;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 0.75rem;
  color: var(--smoke-dim);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.2s ease;
}
a.runtime-friend-link:hover {
  color: var(--ice-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--smoke-dim);
  line-height: 1.7;
  max-width: 90ch;
}
@media (max-width: 980px) {.hero-shell {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
  }
.comment-waterfall {
    columns: 2;
  }}
@media (max-width: 760px) {.page-main {
    padding: 12px 12px 30px;
    gap: 18px;
  }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 12px;
  }
.hero-poster-wrap {
    max-width: 240px;
    margin: 0 auto;
  }
.hero-title {
    font-size: 1.5rem;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-ruler {
    grid-auto-columns: minmax(0, 1fr);
  }
.hero-player-zone {
    clip-path: none;
  }}
@media (max-width: 520px) {.header-shell {
    padding: 8px 12px;
  }
.site-name, a[data-contract="site-name"] {
    font-size: 1.1rem;
  }
.category-bar {
    gap: 4px;
  }
a.runtime-category {
    font-size: 0.74rem;
    padding: 3px 9px;
  }
.player-controls {
    gap: 5px;
    padding: 6px 8px;
  }
.player-btn {
    font-size: 0.68rem;
    padding: 3px 7px;
  }
.player-range {
    flex: 1 1 100%;
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-waterfall {
    columns: 1;
  }
.recommend-row {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-ruler {
    grid-auto-columns: minmax(0, 1fr);
  }
.cast-ring-item {
    width: 68px;
  }
.cast-avatar {
    width: 46px;
    height: 46px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !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}
