*, *::before, *::after { box-sizing: border-box; }
:root {
  --ink: #0b0e12;
  --ink-2: #10151c;
  --surface: #141a22;
  --surface-2: #1a2129;
  --line: rgba(150, 172, 196, 0.16);
  --line-strong: rgba(150, 172, 196, 0.3);
  --text: #c9d3dd;
  --text-dim: #7c8895;
  --text-bright: #eaf0f6;
  --blood: #8e1f2b;
  --blood-bright: #c0273a;
  --blood-glow: rgba(142, 31, 43, 0.42);
  --cold: #5d7f96;
  --font: "Helvetica Neue", "Arial Narrow", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(120% 80% at 78% -10%, rgba(142, 31, 43, 0.14), transparent 60%),
    radial-gradient(120% 90% at 6% 4%, rgba(93, 127, 150, 0.12), transparent 62%),
    var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.42;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lights-off {
  background: #05070a;
}
body.lights-off .player-section, body.lights-off .player-wrapper {
  background: #000;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, dl, dd, dt, figure, ol, ul, time { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--blood); color: #fff; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 14, 18, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(9px);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
}
a[data-contract="site-name"] {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-bright);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 14px;
  border-right: 1px solid var(--line-strong);
}
a[data-contract="site-name"]:hover { color: var(--blood-bright); }
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
  min-width: 0;
}
.category-nav a.runtime-category {
  display: inline-block;
  padding: 4px 9px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  white-space: nowrap;
}
.category-nav a.runtime-category:hover {
  color: var(--text-bright);
  border-color: var(--line-strong);
  background: rgba(93, 127, 150, 0.1);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 18px 0;
  display: block;
}
.section-heading {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-bright);
  text-transform: uppercase;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
}
.overview-shell {
  background: linear-gradient(168deg, var(--surface) 0%, var(--ink-2) 74%);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px;
  margin-bottom: 12px;
}
.overview-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}
.hero-visual { min-width: 0; }
.poster-frame {
  position: relative;
  width: 100%;
  max-width: 300px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  overflow: hidden;
  background: #070a0d;
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.78) contrast(1.06);
}
.poster-bleed {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  pointer-events: none;
  background:
    radial-gradient(58% 26% at 62% 30%, rgba(192, 39, 58, 0.72), rgba(142, 31, 43, 0.34) 46%, transparent 74%),
    radial-gradient(44% 18% at 78% 62%, rgba(142, 31, 43, 0.6), transparent 72%),
    radial-gradient(36% 14% at 54% 82%, rgba(192, 39, 58, 0.44), transparent 70%);
  filter: blur(7px);
  mix-blend-mode: screen;
}
.hero-copy { min-width: 0; }
.hero-kicker {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--blood-bright);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.02;
  color: var(--text-bright);
  margin-bottom: 6px;
  text-shadow: 0 0 26px rgba(142, 31, 43, 0.35);
}
.hero-tagline {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cold);
  padding-left: 9px;
  border-left: 2px solid var(--blood);
  margin-bottom: 8px;
}
.hero-seo {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 62ch;
  margin-bottom: 10px;
}
.episode-status {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
  margin-bottom: 10px;
}
.status-line {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 5px;
}
.status-bar {
  display: block;
  width: 100%;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: rgba(150, 172, 196, 0.14);
  border-radius: 0;
}
.status-bar::-webkit-progress-bar { background: rgba(150, 172, 196, 0.14); }
.status-bar::-webkit-progress-value {
  background: linear-gradient(90deg, var(--blood), var(--blood-bright));
}
.status-bar::-moz-progress-bar {
  background: linear-gradient(90deg, var(--blood), var(--blood-bright));
}
.cast-strip { min-width: 0; }
.cast-heading {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.cast-card {
  flex: 1 1 128px;
  min-width: 112px;
  max-width: 190px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 7px;
  row-gap: 2px;
  align-items: start;
  padding: 6px 7px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blood);
  border-radius: 2px;
  background: rgba(20, 26, 34, 0.55);
}
.cast-avatar {
  grid-row: 1 / span 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    repeating-linear-gradient(135deg, rgba(93, 127, 150, 0.22) 0 3px, rgba(11, 14, 18, 0.5) 3px 6px),
    #1c242e;
}
.cast-name {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-bright);
  line-height: 1.2;
}
.cast-note {
  grid-column: 2;
  font-size: 10.5px;
  line-height: 1.34;
  color: var(--text-dim);
  overflow-wrap: break-word;
}
.synopsis-panel, .details-panel {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.synopsis-panel { margin-bottom: 12px; }
.synopsis-body {
  columns: 2;
  column-gap: 22px;
  column-rule: 1px solid var(--line);
}
.synopsis-body p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 8px;
  break-inside: avoid;
}
.synopsis-body p:last-child { margin-bottom: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 8px;
  background: rgba(20, 26, 34, 0.72);
  min-width: 0;
}
.detail-key {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  white-space: nowrap;
  flex: 0 0 auto;
}
.detail-value {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-bright);
  min-width: 0;
  overflow-wrap: break-word;
}
.player-section {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  padding: 12px 14px 14px;
  margin-bottom: 12px;
}
.player-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #06090c;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 6px;
}
.player-wrapper video {
  display: block;
  width: 100%;
  background: #000;
  border-radius: 1px;
}
.player-fallback {
  font-size: 12px;
  color: var(--text-dim);
  padding: 8px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 1px;
}
.ctrl-btn {
  padding: 4px 10px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  background: rgba(20, 26, 34, 0.7);
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.ctrl-btn:hover {
  color: var(--text-bright);
  border-color: var(--line-strong);
  background: rgba(93, 127, 150, 0.14);
}
.ctrl-btn.is-active, .ctrl-btn.click {
  color: #fff;
  border-color: var(--blood);
  background: rgba(142, 31, 43, 0.42);
}
.player-wrapper.theater-mode, .player-wrapper.fullscreen {
  border-color: var(--blood);
  box-shadow: 0 0 0 1px var(--blood-glow);
}
.timeline-section {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--ink-2);
  padding: 12px 14px 14px;
  margin-bottom: 12px;
}
.timeline-track {
  overflow-x: auto;
  overflow-y: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 3px;
}
.timeline-list {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
}
.timeline-node {
  flex: 0 0 auto;
  width: 176px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 0 12px 0 10px;
  border-left: 1px solid var(--line);
  position: relative;
}
.timeline-node:first-child { border-left: none; }
.timeline-crack {
  display: block;
  width: 0;
  height: 16px;
  border-left: 1px dashed var(--blood-bright);
  margin-left: 1px;
  opacity: 0.85;
  transform: rotate(6deg);
}
.timeline-node:nth-child(even) .timeline-crack {
  transform: rotate(-8deg);
  border-left-style: dotted;
}
.timeline-time {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--blood-bright);
  white-space: nowrap;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.36;
  color: var(--text);
  max-width: 160px;
}
.episodes-section {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  padding: 12px 14px 14px;
  margin-bottom: 12px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 9px 9px;
  border: 1px solid var(--line);
  border-top: 2px solid rgba(150, 172, 196, 0.22);
  border-radius: 2px;
  background: rgba(26, 33, 41, 0.5);
  min-width: 0;
}
.episode-number {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}
.episode-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text-bright);
  line-height: 1.15;
}
.episode-summary {
  font-size: 11.5px;
  line-height: 1.42;
  color: var(--text-dim);
}
.episode-duration {
  margin-top: 2px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cold);
  border-top: 1px solid var(--line);
  padding-top: 4px;
}
.episode-card-current {
  border-color: var(--blood);
  border-top-color: var(--blood-bright);
  background: linear-gradient(158deg, rgba(142, 31, 43, 0.5), rgba(142, 31, 43, 0.2));
  box-shadow: 0 0 0 1px var(--blood-glow);
}
.episode-card-current .episode-number { color: #f0c3c9; }
.episode-card-current .episode-title { color: #fff; }
.episode-card-current .episode-summary { color: #e3cdd1; }
.episode-card-current .episode-duration {
  color: #f0c3c9;
  border-top-color: rgba(255, 255, 255, 0.22);
}
.comments-section {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--ink-2);
  padding: 12px 14px 14px;
  margin-bottom: 12px;
}
.comments-masonry {
  columns: 2;
  column-gap: 8px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--cold);
  border-radius: 2px;
  background: rgba(20, 26, 34, 0.66);
}
.comment-card:nth-child(3n + 2) { border-left-color: var(--blood); }
.comment-card:nth-child(3n) { border-left-color: rgba(150, 172, 196, 0.4); }
.comment-text {
  font-size: 12.5px;
  line-height: 1.48;
  color: var(--text);
  margin-bottom: 6px;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
}
.comment-nick {
  letter-spacing: 0.1em;
  color: var(--blood-bright);
  font-weight: 700;
}
.comment-nick::before {
  content: "— ";
  color: var(--text-dim);
}
.rec-region {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  padding: 12px 14px 14px;
  margin-bottom: 12px;
}
.rec-heading {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--text-bright);
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 2px solid var(--blood);
  display: inline-block;
}
.rec-grid {
  display: grid;
  gap: 7px;
  align-items: start;
}
.rec-grid-type1 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rec-grid-type2 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); }
.rec-grid-type3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); }
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(26, 33, 41, 0.55);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
a.rec-card:hover {
  border-color: var(--blood);
  background: rgba(142, 31, 43, 0.22);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 1px;
  filter: saturate(0.8) contrast(1.05);
}
[data-runtime="name"] {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-bright);
  line-height: 1.24;
}
[data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-dim);
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 18px 22px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 20px;
}
.footer-disclaimer {
  flex: 1 1 320px;
  min-width: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-dim);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 11.5px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--cold);
  text-decoration: none;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--blood-bright);
  border-bottom-color: var(--blood-bright);
}
.friend-links {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  text-transform: uppercase;
  padding-right: 8px;
  border-right: 1px solid var(--line-strong);
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px dotted rgba(150, 172, 196, 0.3);
}
a.runtime-friend-link:hover {
  color: var(--blood-bright);
  border-bottom-color: var(--blood-bright);
}
@media (max-width: 1024px) {.details-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rec-grid-type1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 860px) {.overview-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
.poster-frame { max-width: 240px; }
.hero-title { font-size: 28px; }
.synopsis-body { columns: 1; column-rule: none; }
.details-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-masonry { columns: 1; }
.rec-grid-type1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid-type2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rec-grid-type3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cast-card { max-width: none; }}
@media (max-width: 560px) {body { font-size: 13.5px; }
.header-inner { padding: 7px 12px; gap: 10px; }
a[data-contract="site-name"] { font-size: 15px; padding-right: 10px; }
.page-main { padding: 10px 12px 0; }
.overview-shell, .player-section, .timeline-section, .episodes-section, .comments-section, .rec-region { padding: 10px 10px 12px; }
.hero-title { font-size: 24px; }
.poster-frame { max-width: 200px; }
.details-list { grid-template-columns: minmax(0, 1fr); }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.rec-grid-type1, .rec-grid-type2, .rec-grid-type3 { grid-template-columns: minmax(0, 1fr); }
.cast-card { flex: 1 1 100%; }
.ctrl-btn { padding: 4px 8px; font-size: 11px; }
.site-footer { padding: 12px 12px 18px; }
.footer-disclaimer { flex: 1 1 100%; }}
@media (min-width: 1240px) {.hero-title { font-size: 38px; }}
@media (prefers-reduced-motion: reduce) {* { 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}
