:root {
  --bg: #14181d;
  --bg-deep: #0d1014;
  --panel: #1b2129;
  --panel-2: #20272f;
  --line: #2b343e;
  --line-soft: #232b34;
  --ink: #d7dee6;
  --ink-dim: #8b97a4;
  --ink-faint: #5d6873;
  --accent: #8c1f2b;
  --accent-bright: #b32638;
  --accent-glow: #d94355;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 18% 8%, rgba(140, 31, 43, 0.14), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(60, 90, 130, 0.16), transparent 46%),
    linear-gradient(180deg, #12161b 0%, #0d1014 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
body::after {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: 8;
  opacity: 0.05;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 0.6px, transparent 0.7px);
  background-size: 3px 3px;
}
img {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
  color: inherit;
}
video {
  display: block;
  background: #000;
}
::selection {
  background: var(--accent);
  color: #fff;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(13, 16, 20, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #eef3f8;
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 2px solid var(--accent);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: var(--accent-glow);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(32, 39, 47, 0.6);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(140, 31, 43, 0.28);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.page-main.lights-off {
  filter: brightness(0.62) contrast(1.12);
}
.section-heading {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #eef3f8;
  padding-left: 10px;
  margin-bottom: 10px;
  border-left: 3px solid var(--accent);
  line-height: 1.3;
}
.hero-section {
  display: grid;
  grid-template-columns: minmax(210px, 300px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.hero-poster-wrap {
  position: relative;
  align-self: start;
  isolation: isolate;
}
.hero-poster-wrap > img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  filter: grayscale(0.35) contrast(1.12) brightness(0.82);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 14px 18px 40px rgba(0, 0, 0, 0.62);
}
.hero-poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(13, 16, 20, 0.9) 0%, rgba(13, 16, 20, 0.35) 38%, transparent 62%),
    linear-gradient(0deg, rgba(13, 16, 20, 0.85) 0%, transparent 46%);
}
.slate-fragment {
  position: absolute;
  z-index: 4;
  top: 8%;
  right: -16%;
  width: 58%;
  min-width: 96px;
  aspect-ratio: 5 / 4;
  pointer-events: none;
  transform: rotate(7deg);
  opacity: 0.92;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.7));
}
.slate-fragment::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, #0b0e12 0 14px, #e8edf2 14px 26px, #0b0e12 26px 30px);
  clip-path: polygon(0 6%, 100% 0, 92% 44%, 100% 100%, 7% 92%, 0 48%);
  opacity: 0.82;
}
.slate-strip {
  position: absolute;
  display: block;
  background: var(--accent);
  height: 3px;
  border-radius: 1px;
}
.slate-strip-a {
  top: 22%;
  left: 6%;
  width: 62%;
  transform: rotate(-4deg);
}
.slate-strip-b {
  top: 52%;
  left: 18%;
  width: 78%;
  transform: rotate(3deg);
  background: #c9d3dd;
  opacity: 0.7;
}
.slate-strip-c {
  top: 78%;
  left: 2%;
  width: 44%;
  transform: rotate(-6deg);
  background: var(--accent-glow);
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.hero-heading {
  position: relative;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-title {
  font-size: clamp(24px, 4.6vw, 44px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: #f4f8fc;
  text-shadow: 0 0 26px rgba(140, 31, 43, 0.4);
}
.hero-tagline {
  margin-top: 8px;
  font-size: clamp(14px, 2.1vw, 20px);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-glow);
  position: relative;
  display: inline-block;
  padding: 2px 4px;
}
.hero-tagline::before, .hero-tagline::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.75;
}
.hero-tagline::before {
  top: -4px;
}
.hero-tagline::after {
  bottom: -4px;
}
.hero-seo {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--ink-dim);
  max-width: 76ch;
  border-left: 2px solid var(--line);
  padding-left: 12px;
}
.player-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 3px;
}
.player-panel.theater-mode {
  background: #05070a;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(140, 31, 43, 0.5), 0 0 34px rgba(140, 31, 43, 0.28);
}
.player-panel video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-soft);
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.player-btn {
  cursor: pointer;
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.player-btn:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(140, 31, 43, 0.24);
}
.player-btn-play {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 700;
  min-width: 60px;
}
.player-btn-play:hover {
  background: var(--accent-bright);
}
.player-btn.is-active, .player-btn.is-playing {
  color: #fff;
  border-color: var(--accent-glow);
  background: rgba(140, 31, 43, 0.42);
}
.player-progress, .player-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #0a0d11;
  border: 1px solid var(--line);
  border-radius: 3px;
  cursor: pointer;
  outline: none;
}
.player-progress {
  flex: 1 1 160px;
  min-width: 120px;
}
.player-volume {
  flex: 0 1 90px;
  min-width: 60px;
}
.player-progress::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid #fff;
  cursor: pointer;
}
.player-progress::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: var(--accent-glow);
  cursor: pointer;
}
.episode-status {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 12px;
  background: linear-gradient(90deg, rgba(140, 31, 43, 0.28), rgba(32, 39, 47, 0.6) 60%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-bright);
  width: fit-content;
  max-width: 100%;
}
.status-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.status-value {
  font-size: 14px;
  font-weight: 800;
  color: #f2f6fa;
  letter-spacing: 0.04em;
  font-family: var(--mono);
}
.cast-strip {
  border-top: 1px solid var(--line-soft);
  padding-top: 10px;
}
.cast-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.cast-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.cast-list::-webkit-scrollbar {
  height: 5px;
}
.cast-list::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 3px;
}
.cast-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  min-width: 0;
}
.cast-item:hover {
  border-color: var(--accent);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(217, 67, 85, 0.55), transparent 60%),
    linear-gradient(150deg, #39434e, #171c22 70%);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.8);
}
.cast-names {
  display: flex;
  flex-direction: column;
  line-height: 1.32;
  min-width: 0;
}
.cast-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #e7edf3;
  white-space: nowrap;
}
.cast-role {
  font-size: 10.5px;
  color: var(--ink-faint);
  white-space: nowrap;
}
.synopsis-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--ink-dim);
  max-width: 82ch;
}
.synopsis-para + .synopsis-para {
  margin-top: 7px;
}
.details-block {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0 18px;
  border-top: 1px solid var(--line-soft);
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.details-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  min-width: 62px;
}
.details-value {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}
.timeline-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0 26px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  padding: 6px 0 6px 12px;
  border-left: 1px solid var(--line);
  position: relative;
  min-width: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px rgba(217, 67, 85, 0.8);
}
.timeline-timecode {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent-glow);
  white-space: nowrap;
}
.timeline-label {
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.45;
  min-width: 0;
}
.episodes-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px;
}
.episode-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--line);
  padding: 9px 11px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-left-color: var(--accent-bright);
  background: var(--panel-2);
}
.episode-number {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--accent-glow);
}
.episode-title {
  font-size: 14px;
  font-weight: 800;
  color: #f0f5fa;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.52;
  color: var(--ink-dim);
}
.episode-duration {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-faint);
  margin-top: 2px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.18s ease, opacity 0.18s ease;
}
.episode-card:hover .episode-duration {
  max-height: 24px;
  opacity: 1;
}
.comments-section {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.comments-masonry {
  columns: 2;
  column-gap: 26px;
  column-rule: 1px solid var(--line-soft);
}
.comment-item {
  break-inside: avoid;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink);
}
.comment-nickname {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent-glow);
}
.comment-nickname::before {
  content: "— ";
  color: var(--ink-faint);
}
.recommend-region {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 8px;
  align-items: start;
}
a.recommend-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--ink);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  padding: 7px;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
a.recommend-item:hover {
  border-color: var(--accent);
  background: var(--panel-2);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(0.3) brightness(0.86);
  border: 1px solid var(--line-soft);
}
a.recommend-item:hover .recommend-pic {
  filter: grayscale(0) brightness(1);
}
.recommend-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #eaf0f6;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-dim);
  overflow-wrap: anywhere;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #0b0e12;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-faint);
  max-width: 92ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"] {
  color: #c9d3dd;
}
a[data-contract="footer-home"]:hover {
  color: var(--accent-glow);
  border-bottom-color: var(--accent-glow);
}
a[data-contract="footer-sitemap"] {
  color: var(--ink-faint);
}
a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  border-bottom-color: var(--line);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.friend-links-label {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: #6f7b87;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--accent-glow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {.hero-section {
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    gap: 14px;
  }
.slate-fragment {
    right: -12%;
    width: 54%;
  }
.timeline-item {
    grid-template-columns: 92px minmax(0, 1fr);
  }}
@media (max-width: 720px) {.hero-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
.hero-poster-wrap {
    max-width: 260px;
  }
.slate-fragment {
    right: -8%;
    width: 46%;
  }
.comments-masonry {
    columns: 1;
    column-rule: none;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.page-main {
    gap: 22px;
    padding: 14px 12px 32px;
  }
.header-inner {
    padding: 8px 12px;
    gap: 10px;
  }}
@media (max-width: 480px) {body {
    font-size: 12.5px;
  }
.hero-poster-wrap {
    max-width: 200px;
  }
.slate-fragment {
    right: -4%;
    width: 44%;
    min-width: 72px;
  }
.timeline-item {
    grid-template-columns: 84px minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.player-progress {
    flex-basis: 100%;
    min-width: 0;
  }
.player-volume {
    flex-basis: 40%;
  }}

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}
