:root {
  --bg: #14181f;
  --bg-deep: #0e1116;
  --bg-soft: #1b2129;
  --panel: #1f262f;
  --line: rgba(226, 228, 232, 0.14);
  --line-strong: rgba(226, 228, 232, 0.26);
  --text: #eceae4;
  --text-dim: #a7a9ad;
  --text-faint: #7c8088;
  --accent: #8c2b32;
  --accent-soft: #b04a52;
  --radius: 0px;
  --gap: 14px;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background:
    radial-gradient(120% 70% at 78% -10%, rgba(80, 96, 118, 0.22), transparent 60%),
    radial-gradient(90% 60% at 12% 8%, rgba(60, 72, 92, 0.18), transparent 62%),
    linear-gradient(180deg, #171c24 0%, var(--bg) 38%, var(--bg-deep) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img, video {
  display: block;
  max-width: 100%;
}
ul, ol, dl, dd, figure, p, h1, h2 {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: var(--text);
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 12px clamp(14px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 17, 22, 0.72);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 40;
}
a[data-contract="site-name"] {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #fff;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 4px 9px;
  border: 1px solid var(--line);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}
.page-main {
  display: block;
  padding: 0 clamp(14px, 4vw, 48px) 40px;
  max-width: 1360px;
  margin: 0 auto;
}
.section-title {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 7px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 1px;
  background: var(--accent);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(16px, 3vw, 34px);
  padding: 26px 0 4px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -18px calc(-1 * clamp(14px, 4vw, 48px)) auto calc(-1 * clamp(14px, 4vw, 48px));
  height: 300px;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(30, 40, 54, 0.55), transparent 78%),
    repeating-linear-gradient(
      180deg,
      rgba(150, 168, 190, 0.05) 0 1px,
      transparent 1px 9px
    );
  filter: blur(0.4px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
}
.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  align-self: start;
  min-width: 0;
}
.hero-title {
  font-size: clamp(24px, 4.6vw, 44px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0.06em;
  color: #f4f2ec;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.6);
}
.hero-tagline {
  font-size: clamp(13px, 1.6vw, 16px);
  color: var(--accent-soft);
  letter-spacing: 0.12em;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}
.hero-seo {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--text-dim);
  max-width: 62ch;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.hero-media {
  display: grid;
  grid-template-columns: minmax(0, 132px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  align-self: start;
  min-width: 0;
}
.poster-frame {
  margin: 0;
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  overflow: hidden;
  align-self: start;
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}
.player-shell {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: #05070a;
  overflow: hidden;
}
.player-shell video {
  display: block;
  background: #05070a;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 7px 9px;
  border-top: 1px solid var(--line);
  background: rgba(18, 22, 28, 0.92);
}
.ctrl-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
}
.ctrl-range {
  appearance: none;
  -webkit-appearance: none;
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
  border: none;
  outline: none;
  cursor: pointer;
  flex: 1 1 70px;
  min-width: 60px;
  max-width: 220px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.ctrl-select {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-size: 11px;
  padding: 4px 6px;
  cursor: pointer;
}
.ctrl-select option {
  background: #14181f;
  color: var(--text);
}
.player-shell.is-playing {
  border-color: rgba(176, 74, 82, 0.5);
}
.player-shell.is-muted .ctrl-btn[data-player-action="mute"] {
  color: var(--accent-soft);
  border-color: rgba(176, 74, 82, 0.55);
}
.player-shell.is-fullscreen {
  border: none;
}
.player-shell.is-fullscreen video {
  height: 100%;
  object-fit: contain;
}
.player-shell.is-theater {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(140, 43, 50, 0.4);
}
body.lights-out {
  background: #05070a;
}
body.lights-out .page-main {
  opacity: 0.86;
}
.episode-status {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.status-chip {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  padding: 3px 9px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.02);
}
.status-chip:first-child {
  color: #f1c9cd;
  border-color: rgba(176, 74, 82, 0.55);
  background: rgba(140, 43, 50, 0.18);
}
.details {
  grid-column: 1 / -1;
  margin-top: 8px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0 18px;
  border-top: 1px solid var(--line);
}
.details-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.details-key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  min-width: 4.5em;
}
.details-val {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: var(--text);
  min-width: 0;
}
.cast {
  grid-column: 1 / -1;
  margin-top: 22px;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  min-width: 0;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.cast-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}
.cast-avatar {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: block;
  background:
    radial-gradient(circle at 50% 32%, rgba(226, 228, 232, 0.42) 0 26%, transparent 27%),
    radial-gradient(circle at 50% 108%, rgba(226, 228, 232, 0.32) 0 46%, transparent 47%),
    linear-gradient(160deg, #2a323d, #1a2029);
  border: 1px solid var(--line);
}
.cast-name {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis {
  grid-column: 1 / -1;
  margin-top: 22px;
}
.synopsis-body {
  columns: 2;
  column-gap: 30px;
  column-rule: 1px solid var(--line);
}
.synopsis-para {
  font-size: 12.5px;
  line-height: 1.72;
  color: var(--text-dim);
  margin-bottom: 9px;
  break-inside: avoid;
}
.synopsis-para:first-child::first-letter {
  color: var(--accent-soft);
  font-size: 1.6em;
  line-height: 1;
}
.timeline {
  margin-top: 30px;
}
.timeline-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 0;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.timeline-track::-webkit-scrollbar {
  height: 6px;
}
.timeline-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}
.timeline-track::-webkit-scrollbar-thumb {
  background: var(--line-strong);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 12px 16px 12px 0;
  min-width: 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 19px;
  height: 1px;
  background: var(--line);
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 1px;
  height: 11px;
  background: var(--accent);
}
.timeline-mark {
  position: relative;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-soft);
  background: var(--bg);
  padding-right: 8px;
  white-space: nowrap;
}
.timeline-label {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 24ch;
}
.breath-gap {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 30px 0 26px;
  width: 100%;
}
.episodes {
  margin-top: 0;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  border-top: 1px solid var(--line);
}
.episode-item {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr) auto;
  grid-template-rows: auto 0fr;
  align-items: center;
  gap: 0 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
  transition: background 0.18s ease, padding 0.18s ease;
}
.episode-item:hover {
  background: rgba(255, 255, 255, 0.035);
  padding-left: 8px;
  padding-right: 8px;
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.episode-title {
  font-size: 13px;
  color: var(--text);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.episode-duration {
  font-size: 11px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.episode-summary {
  grid-column: 1 / -1;
  grid-row: 2;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-dim);
  max-height: 0;
  opacity: 0;
  transition: max-height 0.24s ease, opacity 0.2s ease, padding 0.2s ease;
  padding-top: 0;
}
.episode-item:hover .episode-summary, .episode-item:focus-within .episode-summary {
  max-height: 5em;
  opacity: 1;
  padding-top: 5px;
}
.episode-item-active {
  border-left: 2px solid var(--accent);
  padding-left: 8px;
}
.episode-item-active .episode-number {
  color: var(--accent-soft);
}
.episode-item-active .episode-title {
  color: #fff;
}
.comments {
  margin-top: 30px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  border-top: 1px solid var(--line);
}
.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.comment-avatar {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: block;
  background:
    radial-gradient(circle at 50% 34%, rgba(226, 228, 232, 0.4) 0 28%, transparent 29%),
    radial-gradient(circle at 50% 112%, rgba(226, 228, 232, 0.3) 0 50%, transparent 51%),
    linear-gradient(150deg, #2c333c, #191e26);
  border: 1px solid var(--line);
}
.comment-body {
  min-width: 0;
  flex: 1 1 auto;
}
.comment-name {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--accent-soft);
  margin-bottom: 2px;
}
.comment-text {
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--text-dim);
}
.rec-region {
  margin-top: 26px;
}
.rec-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
a.rec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  align-self: start;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.rec-item:hover, a.rec-item:focus-visible {
  border-color: rgba(176, 74, 82, 0.6);
  background: rgba(140, 43, 50, 0.12);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: 130px;
  object-fit: cover;
  display: block;
  background: #0d1116;
  border: 1px solid var(--line);
  filter: saturate(0.8) brightness(0.94);
}
[data-runtime="recommendation"] [data-runtime="name"] {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11px;
  line-height: 1.55;
  color: var(--text-faint);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.rec-item:hover [data-runtime="name"] {
  color: #f1c9cd;
}
.site-footer {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding: 18px clamp(14px, 4vw, 48px) 30px;
  background: rgba(10, 13, 17, 0.6);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-faint);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.friend-links-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  padding-right: 6px;
  border-right: 1px solid var(--line);
  margin-right: 2px;
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 11px;
  color: var(--text-faint);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 6px;
  border: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--text-dim);
  border-color: var(--line);
}
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-media {
    grid-template-columns: minmax(0, 118px) minmax(0, 1fr);
  }
.synopsis-body {
    columns: 1;
    column-rule: none;
  }
.comment-stack {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 640px) {body {
    font-size: 13px;
  }
.page-main {
    padding-left: 14px;
    padding-right: 14px;
  }
.site-header {
    padding: 10px 14px;
  }
.hero-media {
    grid-template-columns: minmax(0, 1fr);
  }
.poster-frame {
    max-width: 140px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.cast-strip {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
.rec-strip {
    grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  }
.timeline-track {
    grid-auto-columns: minmax(168px, 1fr);
  }
.section-title {
    letter-spacing: 0.26em;
  }}
@media (max-width: 420px) {.player-controls {
    gap: 5px 6px;
    padding: 6px;
  }
.ctrl-btn {
    font-size: 10px;
    padding: 3px 7px;
  }
.ctrl-range {
    flex: 1 1 100%;
    max-width: none;
  }}

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}
