*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
}
:root {
  --ink-0: #0b0e13;
  --ink-1: #11151c;
  --ink-2: #171c25;
  --ink-3: #1f2632;
  --line: #2b333f;
  --line-soft: #232a35;
  --steel: #8c98a8;
  --steel-dim: #5d6875;
  --cold-white: #e6ebf1;
  --cold-white-dim: #b9c2cd;
  --blood: #a4232c;
  --blood-bright: #c62d38;
  --blood-deep: #6e1720;
  --gap: 10px;
  --pad: 12px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html {
  background: var(--ink-0);
}
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--cold-white-dim);
  background:
    radial-gradient(120% 90% at 12% -10%, #1a222e 0%, rgba(11, 14, 19, 0) 60%),
    linear-gradient(180deg, #0c1016 0%, #0b0e13 100%);
  background-attachment: fixed;
  line-height: 1.55;
  font-size: 15px;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2 {
  font-weight: 900;
  color: var(--cold-white);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 14, 19, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 8px clamp(10px, 3vw, 26px);
  min-height: 44px;
}
a[data-contract="site-name"], .site-name {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--cold-white);
  text-decoration: none;
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 3px solid var(--blood);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover, .site-name:hover {
  color: var(--blood-bright);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--steel);
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1a212c 0%, #141a23 100%);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--cold-white);
  border-color: var(--blood-deep);
  background: linear-gradient(180deg, #222a36 0%, #171d27 100%);
}
.page-main {
  display: block;
  width: 100%;
  padding: 0 clamp(10px, 3vw, 26px) 26px;
  max-width: 1360px;
  margin: 0 auto;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 236px) minmax(0, 1fr);
  gap: 0 clamp(12px, 2.2vw, 26px);
  align-items: start;
  padding: clamp(14px, 2.6vw, 26px) 0 clamp(16px, 2.4vw, 24px);
  border-bottom: 1px solid var(--line);
}
.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0 -6% auto -6%;
  height: 78%;
  background:
    linear-gradient(90deg, rgba(164, 35, 44, 0) 0%, rgba(164, 35, 44, 0.16) 46%, rgba(164, 35, 44, 0) 62%),
    radial-gradient(70% 100% at 30% 20%, rgba(120, 140, 170, 0.14) 0%, rgba(11, 14, 19, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-poster-wrap, .hero-info {
  position: relative;
  z-index: 1;
}
.hero-poster-wrap {
  align-self: start;
  padding: 0;
  line-height: 0;
}
.hero-poster {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  filter: saturate(0.72) contrast(1.06) brightness(0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(164, 35, 44, 0.12);
}
.hero-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap);
  min-width: 0;
}
.hero-title {
  font-size: clamp(23px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--cold-white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.hero-tagline {
  position: relative;
  display: inline-block;
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--steel);
  padding-bottom: 12px;
  max-width: 100%;
}
.hero-tagline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: min(100%, 340px);
  height: 2px;
  background: linear-gradient(90deg, var(--blood-bright) 0%, var(--blood-deep) 70%, rgba(110, 23, 32, 0) 100%);
}
.hero-seo {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--steel);
  max-width: 62ch;
  text-align: justify;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.status-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cold-white-dim);
  padding: 2px 9px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  white-space: nowrap;
}
.status-chip:first-child {
  color: var(--cold-white);
  border-color: var(--blood-deep);
  background: linear-gradient(180deg, #2a1a1e 0%, #1a1216 100%);
}
.player-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.player-shell.is-theater {
  border-color: var(--blood-deep);
  box-shadow: 0 14px 44px rgba(164, 35, 44, 0.22), 0 0 0 1px rgba(164, 35, 44, 0.28);
}
.player-shell.is-lights-off {
  background: #05070a;
}
.player-shell.is-lights-off .player-controls {
  opacity: 0.42;
  transition: opacity 0.25s ease;
}
.player-shell.is-lights-off:hover .player-controls {
  opacity: 1;
}
.main-player {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: linear-gradient(180deg, #141a23 0%, #0e131a 100%);
  border-top: 1px solid var(--line);
}
.player-btn {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cold-white-dim);
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.player-btn:hover, .player-btn:focus-visible {
  color: var(--cold-white);
  border-color: var(--steel-dim);
  background: var(--ink-3);
  outline: none;
}
.player-btn.is-playing {
  color: var(--cold-white);
  border-color: var(--blood-deep);
  background: linear-gradient(180deg, #2b1a1e 0%, #1a1216 100%);
}
.player-btn.is-muted, .player-btn.is-active {
  color: var(--cold-white);
  border-color: var(--blood-bright);
  background: linear-gradient(180deg, #341a1f 0%, #1c1115 100%);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: #2a323e;
  border: none;
  cursor: pointer;
  min-width: 0;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: var(--blood-bright);
  border: 1px solid #0b0e13;
  border-radius: 0;
}
.player-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: var(--blood-bright);
  border: 1px solid #0b0e13;
  border-radius: 0;
}
.player-progress {
  flex: 1 1 160px;
}
.player-volume {
  flex: 0 1 96px;
}
.cast-block {
  width: 100%;
  min-width: 0;
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading, .rec-heading {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--cold-white);
  padding-left: 8px;
  border-left: 3px solid var(--blood);
  margin-bottom: 8px;
}
.cast-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--steel-dim) transparent;
  -webkit-overflow-scrolling: touch;
}
.cast-strip::-webkit-scrollbar {
  height: 5px;
}
.cast-strip::-webkit-scrollbar-thumb {
  background: var(--steel-dim);
}
.cast-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 72px;
}
.cast-face {
  display: block;
  width: 72px;
  height: 72px;
  background:
    radial-gradient(60% 55% at 50% 34%, #4b5563 0%, #2a313c 58%, #1b212a 100%);
  border: 1px solid var(--line);
  filter: saturate(0.6);
  position: relative;
  overflow: hidden;
}
.cast-face::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(11, 14, 19, 0) 0%, rgba(11, 14, 19, 0.72) 100%);
}
.cast-name {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cold-white-dim);
  text-align: center;
  white-space: nowrap;
}
.synopsis-block {
  width: 100%;
  min-width: 0;
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--steel);
  text-align: justify;
  margin-bottom: 7px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.synopsis-para:first-of-type::first-letter {
  color: var(--cold-white);
  font-weight: 900;
}
.details-block {
  width: 100%;
  min-width: 0;
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 0 14px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line-soft);
  min-width: 0;
}
.detail-row dt {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--steel-dim);
  white-space: nowrap;
}
.detail-row dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--cold-white-dim);
  text-align: right;
  word-break: break-word;
}
.timeline-section {
  padding: clamp(14px, 2.2vw, 22px) 0;
  border-bottom: 1px solid var(--line);
}
.timeline-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 6px 18px;
  padding-left: 18px;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, var(--blood-deep) 0%, var(--line) 55%, var(--line) 100%);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 8px 5px 12px;
  border: 1px solid transparent;
  border-left: 2px solid var(--blood-deep);
  background: var(--ink-1);
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -17px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blood-bright);
  box-shadow: 0 0 0 2px var(--ink-0), 0 0 9px rgba(198, 45, 56, 0.7);
}
.timeline-timecode {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--cold-white);
}
.timeline-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--steel);
  word-break: break-word;
}
.timeline-node.is-watched {
  border-left-color: var(--blood);
  background: linear-gradient(90deg, #1c1419 0%, #141820 60%);
}
.timeline-node.is-watched .timeline-timecode {
  color: var(--cold-white);
}
.timeline-node.is-watched .timeline-label {
  color: var(--cold-white-dim);
}
.timeline-node.is-unwatched {
  border-left-color: var(--line);
  background: #0e1218;
  opacity: 0.62;
}
.timeline-node.is-unwatched::before {
  background: #3a424e;
  box-shadow: 0 0 0 2px var(--ink-0);
}
.timeline-node.is-unwatched .timeline-timecode {
  color: var(--steel);
}
.timeline-node.is-unwatched .timeline-label {
  color: var(--steel-dim);
}
.episodes-section {
  padding: clamp(14px, 2.2vw, 22px) 0;
  border-bottom: 1px solid var(--line);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  align-items: start;
}
.episode-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  padding: 7px 9px;
  background: var(--ink-1);
  border: 1px solid var(--line-soft);
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.episode-cell:hover {
  border-color: var(--steel-dim);
  background: var(--ink-2);
}
.episode-number {
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--blood-bright);
}
.episode-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--cold-white);
  word-break: break-word;
}
.episode-detail {
  width: 100%;
  min-width: 0;
}
.episode-detail summary {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--steel-dim);
  cursor: pointer;
  padding: 2px 0;
  list-style: none;
  border-bottom: 1px dashed var(--line);
  transition: color 0.15s ease;
}
.episode-detail summary::-webkit-details-marker {
  display: none;
}
.episode-detail summary::before {
  content: "+ ";
  color: var(--blood-bright);
  font-weight: 900;
}
.episode-detail[open] summary::before {
  content: "− ";
}
.episode-detail summary:hover {
  color: var(--cold-white);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel);
  padding: 4px 0 2px;
  word-break: break-word;
}
.episode-duration {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--steel-dim);
  border-top: 1px solid var(--line-soft);
  padding-top: 3px;
  margin-top: 2px;
}
.comments-section {
  padding: clamp(14px, 2.2vw, 22px) 0;
  border-bottom: 1px solid var(--line);
}
.comment-stack {
  column-count: 3;
  column-gap: 8px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 8px 10px;
  background: var(--ink-1);
  border: 1px solid var(--line-soft);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.comment-card:hover {
  border-color: var(--steel-dim);
  background: var(--ink-2);
}
.comment-nickname {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--cold-white);
  padding-bottom: 4px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--line-soft);
}
.comment-nickname::before {
  content: "// ";
  color: var(--blood-bright);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--steel);
  text-align: justify;
  word-break: break-word;
}
.rec-region {
  padding: clamp(12px, 2vw, 18px) 0;
  border-bottom: 1px solid var(--line-soft);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 158px), 1fr));
  gap: 8px;
  align-items: start;
}
a.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: var(--ink-1);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  color: var(--cold-white-dim);
  min-width: 0;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
a.rec-card:hover, a.rec-card:focus-visible {
  border-color: var(--blood-deep);
  background: var(--ink-2);
  outline: none;
}
[data-runtime="recommendation"] img, .rec-poster {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #141a23;
  border: 1px solid var(--line-soft);
  filter: saturate(0.7) contrast(1.04);
}
.rec-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--cold-white);
  word-break: break-word;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--steel-dim);
  word-break: break-word;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 22px;
  padding: 16px clamp(10px, 3vw, 26px) 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 21, 28, 0.6) 0%, rgba(11, 14, 19, 1) 100%);
  max-width: 1360px;
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"], .footer-link {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cold-white-dim);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover, .footer-link:hover {
  color: var(--cold-white);
  border-bottom-color: var(--blood);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 12px;
  flex: 1 1 320px;
  min-width: 0;
}
.friend-links-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--steel-dim);
  white-space: nowrap;
  padding-right: 6px;
  border-right: 1px solid var(--line);
}
a.runtime-friend-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--steel);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover {
  color: var(--blood-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--steel-dim);
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 1080px) {.comment-stack {
    column-count: 2;
  }
.hero-shell {
    grid-template-columns: minmax(160px, 200px) minmax(0, 1fr);
  }}
@media (max-width: 900px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {body {
    font-size: 14.5px;
  }
.hero-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px 0;
  }
.hero-poster-wrap {
    width: min(62%, 240px);
    max-width: 240px;
  }
.hero-seo {
    max-width: none;
  }
.timeline-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 14px;
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    column-count: 2;
  }
.player-progress {
    flex: 1 1 100%;
    order: 10;
  }}
@media (max-width: 520px) {.header-inner {
    gap: 6px 12px;
  }
.timeline-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-stack {
    column-count: 1;
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
  }
.player-volume {
    flex: 1 1 70px;
  }
.hero-poster-wrap {
    width: min(74%, 220px);
  }}
@media (max-width: 380px) {.rec-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-card, .cast-face {
    width: 64px;
  }
.cast-face {
    height: 64px;
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !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}
