*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ol, ul, li, dl, dt, dd {
  margin: 0;
  padding: 0;
}
ol, ul { list-style: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input[type="range"] { font: inherit; }
:root {
  --loess: #b08a4a;
  --loess-dim: #8a6c39;
  --slate: #46566a;
  --slate-deep: #2a3442;
  --ink: #14171c;
  --ink-2: #1c2128;
  --ink-3: #232a33;
  --blood: #7a2226;
  --blood-bright: #9c2c30;
  --bone: #e8e2d6;
  --bone-dim: #b7b0a2;
  --ash: #6f6a61;
  --white: #f6f3ec;
  --line: rgba(176, 138, 74, 0.22);
  --line-soft: rgba(232, 226, 214, 0.09);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}
html {
  background: var(--ink);
}
body {
  font-family: var(--font);
  font-weight: 300;
  color: var(--bone-dim);
  background:
    radial-gradient(120% 60% at 82% -6%, rgba(70, 86, 106, 0.34), transparent 62%),
    radial-gradient(90% 44% at 8% 4%, rgba(176, 138, 74, 0.14), transparent 60%),
    linear-gradient(180deg, #101319 0%, #14171c 44%, #171a20 100%);
  background-attachment: fixed;
  line-height: 1.5;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 18px;
  background: linear-gradient(180deg, rgba(16, 19, 25, 0.96), rgba(16, 19, 25, 0.82));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header__brand {
  display: flex;
  align-items: center;
  min-width: 0;
}
a[data-contract="site-name"].site-logo {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--white);
  text-decoration: none;
  text-shadow: 0 0 18px rgba(246, 243, 236, 0.24);
  white-space: nowrap;
}
a[data-contract="site-name"].site-logo:hover {
  color: var(--loess);
  text-shadow: 0 0 20px rgba(176, 138, 74, 0.4);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2px 4px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 1px;
  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(--white);
  border-color: var(--line);
  background: rgba(176, 138, 74, 0.08);
}
.page-main {
  display: block;
  padding: 0 18px 40px;
  max-width: 1240px;
  margin: 0 auto;
}
.page-main > section {
  margin-top: 26px;
}
h2, h3 {
  font-weight: 700;
  color: var(--bone);
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  align-items: start;
  gap: 22px;
  padding: 22px 0 6px;
  margin-top: 0 !important;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40px -18px 30% -18px;
  background:
    radial-gradient(58% 46% at 26% 30%, rgba(176, 138, 74, 0.2), transparent 68%),
    radial-gradient(48% 40% at 78% 12%, rgba(70, 86, 106, 0.36), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__poster-wrap {
  position: relative;
  z-index: 1;
  align-self: start;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0d1014;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.hero__poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 23, 28, 0.08) 0%, rgba(20, 23, 28, 0.1) 46%, rgba(13, 16, 20, 0.86) 100%);
  pointer-events: none;
}
.hero__poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.94);
}
.hero__info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.hero__title {
  font-size: clamp(26px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.06;
  color: var(--white);
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.72);
}
.hero__tagline {
  position: relative;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--loess);
  padding: 4px 10px 4px 12px;
  border-left: 3px solid var(--blood-bright);
  background: linear-gradient(90deg, rgba(122, 34, 38, 0.28), rgba(122, 34, 38, 0));
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}
.hero__player-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(70, 86, 106, 0.42);
  background: #05070a;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
}
.hero__player {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #05070a;
  filter: saturate(0.82) contrast(1.04);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 6px;
  padding: 7px 8px;
  background: linear-gradient(180deg, rgba(28, 33, 40, 0.96), rgba(16, 19, 25, 0.98));
  border-top: 1px solid var(--line);
}
.player-btn {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
  padding: 4px 9px;
  border: 1px solid rgba(176, 138, 74, 0.26);
  border-radius: 1px;
  background: rgba(35, 42, 51, 0.7);
  white-space: nowrap;
  transition: color 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.player-btn:hover, .player-btn:focus-visible {
  color: var(--white);
  border-color: var(--loess);
  background: rgba(176, 138, 74, 0.16);
}
.player-btn.is-active {
  color: var(--white);
  border-color: var(--blood-bright);
  background: rgba(122, 34, 38, 0.42);
}
.player-range {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  flex: 1 1 110px;
  min-width: 84px;
  max-width: 100%;
  background: rgba(70, 86, 106, 0.55);
  border-radius: 0;
  cursor: pointer;
  outline: none;
}
.player-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 14px;
  background: var(--loess);
  border: 1px solid #0b0d11;
  border-radius: 0;
}
.player-range::-moz-range-thumb {
  width: 10px;
  height: 14px;
  background: var(--loess);
  border: 1px solid #0b0d11;
  border-radius: 0;
}
.player-range:focus-visible {
  box-shadow: 0 0 0 1px var(--loess);
}
.hero.theater-mode .hero__player-wrap {
  box-shadow: 0 0 0 1px var(--blood-bright), 0 22px 54px rgba(0, 0, 0, 0.8);
}
.hero.lights-off {
  background: #05070a;
}
.hero.lights-off .hero__poster-wrap, .hero.lights-off .cast, .hero.lights-off .synopsis, .hero.lights-off .details, .hero.lights-off .episode-status {
  opacity: 0.42;
}
.hero.lights-off .hero__player-wrap {
  box-shadow: 0 0 60px rgba(246, 243, 236, 0.14);
}
.cast {
  min-width: 0;
}
.cast__heading, .synopsis__heading, .timeline__heading, .episodes__heading, .comments__heading, .recommend__heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--loess);
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--line);
  text-transform: none;
}
.cast__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}
.cast__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(35, 42, 51, 0.72), rgba(20, 23, 28, 0.72));
}
.cast__avatar {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(72% 58% at 50% 34%, rgba(176, 138, 74, 0.5), rgba(70, 86, 106, 0.28) 62%, rgba(13, 16, 20, 0.9) 100%),
    linear-gradient(180deg, #2a3442, #14171c);
  filter: saturate(0.62) contrast(1.05);
}
.cast__name {
  display: block;
  padding: 4px 5px 5px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--bone);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1px solid var(--line-soft);
  background: rgba(13, 16, 20, 0.72);
}
.episode-status {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blood-bright);
  background: linear-gradient(90deg, rgba(122, 34, 38, 0.2), rgba(35, 42, 51, 0.5));
}
.episode-status__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ash);
}
.episode-status__value {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
}
.synopsis {
  min-width: 0;
}
.synopsis__para {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.72;
  color: var(--bone-dim);
  margin-bottom: 7px;
  text-align: justify;
}
.synopsis__para:last-child {
  margin-bottom: 0;
  color: var(--loess-dim);
}
.details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  padding: 0;
}
.details__row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 8px;
  background: rgba(20, 23, 28, 0.9);
  min-width: 0;
}
.details__key {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ash);
}
.details__value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--bone);
  text-align: right;
  overflow-wrap: anywhere;
}
.timeline {
  position: relative;
  padding: 14px 16px 16px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(28, 33, 40, 0.62), rgba(16, 19, 25, 0.72));
}
.timeline__heading {
  margin-bottom: 12px;
}
.timeline__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 26px;
  margin-left: 2px;
}
.timeline__list::before {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 3px;
  width: 1px;
  background: linear-gradient(180deg, var(--loess), var(--blood) 52%, rgba(70, 86, 106, 0.35));
  opacity: 0.72;
}
.timeline__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 0 9px 20px;
  min-width: 0;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 7px;
  background: var(--ink);
  border: 1px solid var(--loess);
  transform: rotate(45deg) translateX(-1px);
}
.timeline__item::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 15px;
  width: 12px;
  height: 1px;
  background: rgba(176, 138, 74, 0.42);
}
.timeline__code {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--loess);
  white-space: nowrap;
}
.timeline__label {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--bone-dim);
  overflow-wrap: anywhere;
}
.episodes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  padding: 9px 11px 10px;
  border: 1px solid var(--line-soft);
  border-top: 2px solid rgba(176, 138, 74, 0.32);
  background: linear-gradient(180deg, rgba(35, 42, 51, 0.6), rgba(20, 23, 28, 0.78));
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
  min-width: 0;
}
.episode-card:hover, .episode-card:focus-within {
  border-color: var(--loess);
  background: linear-gradient(180deg, rgba(45, 54, 66, 0.7), rgba(24, 28, 34, 0.86));
}
.episode-card--active {
  border-color: var(--blood-bright);
  border-top-color: var(--blood-bright);
  box-shadow: inset 0 0 0 1px rgba(156, 44, 48, 0.5), 0 0 22px rgba(122, 34, 38, 0.24);
  background: linear-gradient(180deg, rgba(58, 30, 32, 0.5), rgba(20, 23, 28, 0.86));
}
.episode-card__number {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--blood-bright);
}
.episode-card--active .episode-card__number {
  color: var(--white);
}
.episode-card__title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--bone);
}
.episode-card__summary {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ash);
  overflow-wrap: anywhere;
}
.episode-card__duration {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--loess-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s ease, opacity 0.2s ease;
}
.episode-card:hover .episode-card__duration, .episode-card:focus-within .episode-card__duration {
  max-height: 22px;
  opacity: 1;
}
.comments__wall {
  columns: 2;
  column-gap: 10px;
}
.comment-card {
  break-inside: avoid;
  display: block;
  margin-bottom: 8px;
  padding: 8px 10px 9px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(176, 138, 74, 0.4);
  background: linear-gradient(180deg, rgba(232, 226, 214, 0.055), rgba(20, 23, 28, 0.72));
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.34);
}
.comment-card:nth-child(2n) {
  border-left-color: rgba(70, 86, 106, 0.72);
  background: linear-gradient(180deg, rgba(70, 86, 106, 0.14), rgba(20, 23, 28, 0.72));
}
.comment-card:nth-child(3n) {
  transform: rotate(-0.28deg);
}
.comment-card:nth-child(3n + 1) {
  transform: rotate(0.22deg);
}
.comment-card__name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--loess);
  margin-bottom: 3px;
}
.comment-card__text {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--bone-dim);
  overflow-wrap: anywhere;
}
.recommend {
  padding: 0;
}
.recommend__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-soft);
}
.recommend__item {
  display: block;
  min-width: 0;
  border-bottom: 1px solid var(--line-soft);
}
.recommend__link {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  text-decoration: none;
  color: var(--bone);
  transition: background 0.15s ease, color 0.15s ease;
}
.recommend__link:hover, .recommend__link:focus-visible {
  background: rgba(176, 138, 74, 0.1);
  color: var(--white);
}
.recommend__pic {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 40px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-soft);
  filter: saturate(0.6) contrast(1.05) brightness(0.9);
}
.recommend__name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--bone);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend__blurb {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--ash);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-footer {
  margin-top: 34px;
  padding: 18px 18px 26px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 19, 25, 0.9), rgba(10, 12, 16, 0.98));
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
a[data-contract="footer-home"].footer-link, a[data-contract="footer-sitemap"].footer-link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--loess);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a[data-contract="footer-home"].footer-link:hover, a[data-contract="footer-sitemap"].footer-link:hover {
  color: var(--white);
  border-bottom-color: var(--blood-bright);
}
.footer-disclaimer {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ash);
  max-width: 88ch;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 12px;
  padding-top: 4px;
  border-top: 1px dashed var(--line-soft);
}
.friend-links__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ash);
}
a.runtime-friend-link {
  font-size: 11px;
  font-weight: 300;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--bone-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 1000px) {.hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 18px;
  }
.timeline__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episodes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.cast__list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.site-header {
    padding: 8px 12px;
  }
.page-main {
    padding: 0 12px 32px;
  }
.hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-top: 16px;
  }
.hero__poster-wrap {
    max-width: 260px;
  }
.cast__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
.timeline__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
.timeline__list::before {
    left: 3px;
  }
.comments__wall {
    columns: 1;
  }
.episode-card__duration {
    max-height: 22px;
    opacity: 1;
  }
.recommend__link {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 6px 9px;
  }
.recommend__blurb {
    grid-column: 2 / -1;
    white-space: normal;
  }}
@media (max-width: 480px) {.episodes__grid {
    grid-template-columns: minmax(0, 1fr);
  }
.cast__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.hero__title {
    font-size: 24px;
  }
.player-controls {
    gap: 4px;
  }
.player-btn {
    padding: 4px 7px;
    font-size: 10.5px;
  }
.recommend__link {
    grid-template-columns: 46px minmax(0, 1fr);
  }
.details {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (prefers-reduced-motion: reduce) {* {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !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}
