:root {
  --bg: #171614;
  --bg-2: #1e1c19;
  --bg-3: #242220;
  --ink: #ece7df;
  --ink-2: #b9b2a8;
  --ink-3: #8a837a;
  --line: #3a3632;
  --line-2: #4a453f;
  --red: #8c2f2a;
  --red-2: #a43a33;
  --paper: #e8e2d8;
  --shadow: 0 1px 0 rgba(255,255,255,.03), 0 10px 26px rgba(0,0,0,.45);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: .01em;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure, dl, dd, dt, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
table { border-collapse: collapse; }
::selection { background: var(--red); color: #fff; }
.site-header {
  background: #131211;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
a[data-contract="site-name"] {
  color: var(--paper);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .14em;
  padding-left: 12px;
  border-left: 3px solid var(--red);
  line-height: 1.2;
  white-space: nowrap;
}
a[data-contract="site-name"]:hover { color: #fff; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-left: auto;
  justify-content: flex-end;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.2;
  padding: 5px 9px;
  border: 1px solid var(--line);
  background: #191817;
}
a.runtime-category:hover {
  color: #fff;
  border-color: var(--red-2);
  background: #221d1c;
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 22px;
  margin: 0 -16px;
  padding: 26px 16px 24px;
  background:
    radial-gradient(120% 90% at 18% 22%, rgba(140,47,42,.20) 0%, rgba(140,47,42,0) 58%),
    radial-gradient(150% 120% at 50% 45%, rgba(236,231,223,.07) 0%, rgba(20,19,18,.92) 52%, #111010 100%),
    #111010;
  border-bottom: 1px solid var(--line);
}
.hero__media {
  position: relative;
  align-self: start;
}
.hero__poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  filter: saturate(.85) contrast(1.05) brightness(.95);
}
.hero__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero__title {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.7);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 10px;
}
.hero__tagline {
  font-size: 15px;
  font-weight: 600;
  color: #f0c9b8;
  letter-spacing: .10em;
  border-left: 3px solid var(--red-2);
  padding-left: 10px;
}
.hero__lead {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.75;
  max-width: 62ch;
}
.detail-panel__heading, .cast-panel__heading, .synopsis-panel__heading, .episode-status__heading, .timeline-section__heading, .episodes-section__heading, .comments-section__heading, .recommend-section__heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--paper);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.detail-panel__heading::after, .cast-panel__heading::after, .synopsis-panel__heading::after, .episode-status__heading::after, .timeline-section__heading::after, .episodes-section__heading::after, .comments-section__heading::after, .recommend-section__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: var(--red-2);
}
.detail-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}
.detail-table {
  width: 100%;
  table-layout: fixed;
  font-size: 12.5px;
  background: rgba(255,255,255,.015);
}
.detail-table__caption {
  caption-side: top;
  text-align: left;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: .08em;
  padding-bottom: 5px;
}
.detail-table__row:nth-child(odd) { background: rgba(255,255,255,.028); }
.detail-table__key {
  width: 16%;
  text-align: left;
  font-weight: 500;
  color: var(--ink-3);
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-right: none;
  vertical-align: top;
  white-space: nowrap;
}
.detail-table__value {
  width: 34%;
  color: var(--ink);
  padding: 5px 8px;
  border: 1px solid var(--line);
  vertical-align: top;
  word-break: break-word;
}
.cast-panel {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 9px;
  align-items: start;
}
.cast-card {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
}
.cast-card__figure {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cast-card__avatar {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.88);
  border-bottom: 1px solid var(--line);
}
.cast-card:hover .cast-card__avatar { filter: grayscale(.2) contrast(1.05) brightness(1); }
.cast-card__caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 7px 7px;
}
.cast-card__name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: .04em;
}
.cast-card__relation {
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-3);
}
.synopsis-panel {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.synopsis-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 16px;
  align-items: start;
}
.synopsis-flow__item {
  position: relative;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-2);
  padding-left: 26px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(74,69,63,.7);
}
.synopsis-flow__item::before {
  counter-increment: syn;
  content: counter(syn, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--red-2);
}
.synopsis-flow { counter-reset: syn; }
.episode-status {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.episode-status__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: start;
}
.episode-status__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  padding: 5px 10px;
}
.episode-status__key {
  font-size: 11px;
  letter-spacing: .10em;
  color: var(--ink-3);
}
.episode-status__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
}
.player-section {
  width: 100%;
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #0d0c0c;
  border: 1px solid var(--line);
  padding: 10px;
  transition: background .25s ease;
}
.player-stage {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
  border: 1px solid var(--line);
}
.player-stage video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 9px 0 1px;
  margin-top: 9px;
  border-top: 1px solid var(--line);
}
.player-btn {
  appearance: none;
  background: #1c1a19;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 11.5px;
  letter-spacing: .06em;
  padding: 5px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.player-btn:hover, .player-btn:focus-visible {
  color: #fff;
  border-color: var(--red-2);
  background: #262020;
  outline: none;
}
.player-range {
  appearance: none;
  -webkit-appearance: none;
  flex: 1 1 140px;
  min-width: 90px;
  height: 16px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
.player-range::-webkit-slider-runnable-track {
  height: 3px;
  background: linear-gradient(90deg, var(--red-2), var(--line-2));
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 14px;
  margin-top: -5px;
  background: var(--paper);
  border: none;
}
.player-range::-moz-range-track { height: 3px; background: var(--line-2); }
.player-range::-moz-range-progress { height: 3px; background: var(--red-2); }
.player-range::-moz-range-thumb {
  width: 10px; height: 14px; border: none; background: var(--paper);
}
.player-speed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-2);
  background: #1c1a19;
  padding: 3px 8px;
}
.player-speed__label {
  font-size: 11px;
  letter-spacing: .10em;
  color: var(--ink-3);
}
.player-speed__select {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--ink);
  font-size: 11.5px;
  padding: 2px 2px;
  cursor: pointer;
  outline: none;
}
.player-speed__select option { background: #1c1a19; color: var(--ink); }
.player-shell.is-playing .player-stage { border-color: var(--red); }
.player-shell.is-muted .player-btn[data-player-action="mute"] {
  color: #fff;
  border-color: var(--red-2);
  background: #2a1e1d;
}
.player-shell.is-theater {
  background: #050505;
  border-color: var(--red);
}
.player-shell.is-lights-off { background: #000; border-color: #000; }
.player-shell.is-lights-off .player-controls { opacity: .55; }
.player-shell.is-lights-off .player-controls:hover { opacity: 1; }
.timeline-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 0 22px;
  align-items: start;
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 1px;
  padding: 0 0 12px 0;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 0;
  width: 1px;
  background: var(--line-2);
}
.timeline__dot {
  grid-row: 1 / span 2;
  align-self: start;
  margin-top: 4px;
  width: 11px;
  height: 11px;
  background: var(--bg);
  border: 1px solid var(--red-2);
  border-radius: 0;
  transform: rotate(45deg);
  position: relative;
  z-index: 1;
}
.timeline__timecode {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--red-2);
  font-variant-numeric: tabular-nums;
}
.timeline__label {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.episodes-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px 10px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-2);
  transition: border-color .15s ease, background .15s ease;
}
.episode-card:hover {
  border-left-color: var(--red-2);
  background: rgba(255,255,255,.035);
}
.episode-card__number {
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--red-2);
  font-weight: 700;
}
.episode-card__title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: .04em;
}
.episode-card__summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3);
}
.episode-card__duration {
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--ink-3);
  padding-top: 4px;
  border-top: 1px dashed rgba(74,69,63,.7);
}
.comments-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 8px 14px;
  align-items: start;
}
.comment-bubble {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px 9px 12px;
  border-left: 2px solid var(--line-2);
  background: linear-gradient(90deg, rgba(255,255,255,.035), rgba(255,255,255,0) 78%);
  transition: border-color .15s ease;
}
.comment-bubble:hover { border-left-color: var(--red-2); }
.comment-bubble__nickname {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #e0b9a4;
}
.comment-bubble__text {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.recommend-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.recommend-grid {
  display: grid;
  gap: 8px 10px;
  align-items: start;
}
.recommend-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.recommend-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recommend-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
a.recommend-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
a.recommend-card:hover {
  border-color: var(--red-2);
  background: rgba(255,255,255,.04);
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line);
  filter: saturate(.85) brightness(.9);
  transition: filter .2s ease;
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(1) brightness(1);
}
.recommend-card__name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: .03em;
  padding: 6px 8px 2px;
  line-height: 1.4;
}
.recommend-card__blurb {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-3);
  padding: 0 8px 8px;
}
.site-footer {
  background: #121110;
  border-top: 1px solid var(--line);
  padding: 18px 16px 26px;
  margin-top: 8px;
}
.site-footer__disclaimer {
  max-width: 1180px;
  margin: 0 auto 12px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-3);
  padding-left: 10px;
  border-left: 2px solid var(--line-2);
}
.site-footer__nav {
  max-width: 1180px;
  margin: 0 auto 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-size: 12px;
  letter-spacing: .10em;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #fff;
  border-bottom-color: var(--red-2);
}
.friend-links {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
}
.friend-links__label {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ink-3);
  padding-right: 8px;
  border-right: 1px solid var(--line);
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 11.5px;
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 1px dotted var(--line-2);
  white-space: nowrap;
}
a.runtime-friend-link:hover {
  color: var(--red-2);
  border-bottom-color: var(--red-2);
}
@media (max-width: 900px) {.hero {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 18px;
  }
.hero__title { font-size: 25px; }
.recommend-grid--five { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 720px) {.hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 20px;
  }
.hero__media {
    max-width: 220px;
  }
.hero__title { font-size: 23px; }
.recommend-grid--four, .recommend-grid--three, .recommend-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 560px) {.page-main { padding: 0 12px 24px; gap: 18px; }
.site-header__inner { padding: 9px 12px; gap: 10px; }
.site-nav { margin-left: 0; width: 100%; justify-content: flex-start; }
.hero { margin: 0 -12px; padding: 16px 12px 18px; }
.hero__media { max-width: 168px; }
.hero__title { font-size: 20px; letter-spacing: .02em; }
.hero__tagline { font-size: 13px; letter-spacing: .06em; }
.detail-table__key { width: 22%; }
.detail-table__value { width: 28%; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.synopsis-flow { grid-template-columns: minmax(0, 1fr); }
.timeline { grid-template-columns: minmax(0, 1fr); }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.cast-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-grid--four, .recommend-grid--three, .recommend-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.player-controls { gap: 5px 6px; }
.player-btn { font-size: 11px; padding: 5px 8px; }
.friend-links__label { border-right: none; padding-right: 0; width: 100%; }}
@media (max-width: 380px) {.cast-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recommend-grid--four, .recommend-grid--three, .recommend-grid--five {
    grid-template-columns: minmax(0, 1fr);
  }}

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}
