*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:root {
  --ink: #0c0d0f;
  --ink-2: #14161a;
  --ink-3: #1c1f24;
  --steel: #2a2e35;
  --ash: #6b7280;
  --fog: #9aa2ad;
  --paper: #d7dbe0;
  --bone: #e8eaed;
  --red: #8c1c22;
  --red-bright: #b3272f;
  --red-dim: #5e1418;
  --rule: #262a31;
  --serif: "Songti SC", "SimSun", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  --sans: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}
body.lights-off { background: #000; }
body.lights-off .site-header, body.lights-off .page-main > section:not(.hero-panel), body.lights-off .site-footer { opacity: 0.25; transition: opacity 0.3s ease; }
body.theater-mode .poster-frame { display: none; }
body.theater-mode .hero-panel { grid-template-columns: 1fr; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 13, 15, 0.92);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 9px 18px;
  max-width: 1360px;
  margin: 0 auto;
}
a.brand-logo {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--bone);
  border-left: 3px solid var(--red);
  padding-left: 9px;
  line-height: 1.1;
  white-space: nowrap;
}
a.brand-logo:hover { color: #fff; border-left-color: var(--red-bright); }
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 4px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--fog);
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 2px;
  letter-spacing: 0.06em;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.runtime-category:hover {
  color: var(--bone);
  border-color: var(--red);
  background: rgba(140, 28, 34, 0.16);
}
.page-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 18px 40px;
}
.block-heading {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--fog);
  text-transform: none;
  padding-bottom: 5px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 34px;
  height: 2px;
  background: var(--red);
}
.section-heading {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--bone);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
}
.section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(to right, var(--red-dim), transparent);
}
.hero-panel {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 20px 26px;
  align-items: start;
  padding: 26px 0 34px;
  margin-bottom: 8px;
}
.hero-figure { position: relative; }
.poster-frame {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--ink-2);
  border: 1px solid var(--steel);
  box-shadow: 0 18px 40px -22px #000;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(200deg, rgba(12, 13, 15, 0) 38%, rgba(12, 13, 15, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 46%),
    linear-gradient(0deg, rgba(140, 28, 34, 0.18), rgba(140, 28, 34, 0));
  pointer-events: none;
}
.poster-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(0.45) contrast(1.08) brightness(0.92);
  display: block;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: var(--bone);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}
.hero-tagline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(15px, 1.9vw, 22px);
  letter-spacing: 0.16em;
  line-height: 1.4;
  color: var(--red-bright);
  border-left: 3px solid var(--red);
  padding-left: 11px;
  max-width: 46ch;
}
.player-shell {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--steel);
  border-radius: 3px;
  background: #000;
  overflow: hidden;
}
.player-video {
  width: 100%;
  height: auto;
  background: #000;
  display: block;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 7px 8px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border-top: 1px solid var(--rule);
}
.player-controls button {
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--fog);
  padding: 4px 9px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.015);
  transition: color 0.14s, border-color 0.14s, background 0.14s;
}
.player-controls button:hover {
  color: var(--bone);
  border-color: var(--red);
  background: rgba(140, 28, 34, 0.18);
}
.player-controls button.is-active {
  color: var(--bone);
  border-color: var(--red-bright);
  background: rgba(179, 39, 47, 0.28);
}
.player-controls button.is-muted {
  color: var(--red-bright);
  border-color: var(--red-dim);
}
.synopsis-block { margin-top: 2px; }
.synopsis-text {
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--fog);
  margin-bottom: 6px;
  max-width: 72ch;
}
.synopsis-text:last-child { margin-bottom: 0; }
.synopsis-text:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 1.6em;
  color: var(--red-bright);
  float: left;
  line-height: 0.9;
  margin: 3px 6px 0 0;
}
.episode-status { margin-top: 2px; }
.status-line {
  font-size: 13px;
  color: var(--bone);
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border-left: 3px solid var(--red);
  background: linear-gradient(90deg, rgba(140, 28, 34, 0.2), rgba(140, 28, 34, 0));
  display: inline-block;
}
.status-line::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--red-bright);
  transform: rotate(45deg) translateY(-1px);
  vertical-align: middle;
}
.cast-block { margin-top: 2px; }
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 7px 10px;
  align-items: start;
}
.cast-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 9px;
  align-items: center;
  padding: 6px 8px;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.cast-avatar {
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  border-radius: 5px;
  background:
    linear-gradient(150deg, var(--steel) 0%, var(--ink-3) 55%, var(--red-dim) 130%);
  border: 1px solid var(--steel);
  position: relative;
  overflow: hidden;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(0, 0, 0, 0.45));
}
.cast-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.04em;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cast-role {
  font-size: 11px;
  color: var(--ash);
  letter-spacing: 0.03em;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.details-block { margin-top: 2px; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 5px 10px 5px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
.detail-item dt {
  flex: 0 0 auto;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--ash);
}
.detail-item dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--paper);
  line-height: 1.45;
}
.timeline-section {
  padding: 22px 0 26px;
  border-top: 1px solid var(--rule);
}
.timeline-track {
  position: relative;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 4px 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red) 6%, var(--red) 94%, transparent);
  opacity: 0.85;
}
.timeline-track::-webkit-scrollbar { height: 5px; }
.timeline-track::-webkit-scrollbar-track { background: var(--ink-2); }
.timeline-track::-webkit-scrollbar-thumb { background: var(--red-dim); }
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 190px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 11px 12px 12px;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
  align-self: center;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 12px;
  top: -16px;
  width: 1px;
  height: 16px;
  background: var(--red);
}
.timeline-node::after {
  content: "";
  position: absolute;
  left: 9px;
  top: -21px;
  width: 7px;
  height: 7px;
  background: var(--red-bright);
  transform: rotate(45deg);
}
.node-timecode {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red-bright);
  line-height: 1.1;
}
.node-label {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fog);
}
.episodes-section {
  padding: 18px 0 24px;
  border-top: 1px solid var(--rule);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px 9px;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--steel);
  border-radius: 2px;
  min-width: 0;
  transition: border-color 0.15s, background 0.15s;
}
.episode-card:hover {
  border-color: var(--red-dim);
  background: var(--ink-3);
}
.episode-card.is-current {
  border-left-color: var(--red-bright);
  background: linear-gradient(180deg, rgba(140, 28, 34, 0.24), rgba(140, 28, 34, 0.05));
  border-color: var(--red-dim);
}
.episode-number {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ash);
}
.is-current .episode-number { color: var(--red-bright); }
.episode-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--bone);
  line-height: 1.25;
}
.is-current .episode-title { color: #fff; }
.episode-summary {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--fog);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ash);
  border-top: 1px solid var(--rule);
  padding-top: 5px;
}
.is-current .episode-duration { color: var(--red-bright); border-top-color: var(--red-dim); }
.comments-section {
  padding: 18px 0 24px;
  border-top: 1px solid var(--rule);
}
.comment-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 11px;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-left: 2px solid var(--red-dim);
  border-radius: 2px;
  min-width: 0;
}
.comment-nickname {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--red-bright);
  line-height: 1.3;
}
.comment-nickname::before {
  content: "# ";
  color: var(--red-dim);
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--paper);
}
.recommend-region {
  padding: 18px 0 22px;
  border-top: 1px solid var(--rule);
}
.recommend-heading {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--bone);
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--red);
  line-height: 1.2;
}
.recommend-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.recommend-strip::-webkit-scrollbar { height: 5px; }
.recommend-strip::-webkit-scrollbar-track { background: var(--ink-2); }
.recommend-strip::-webkit-scrollbar-thumb { background: var(--red-dim); }
a.recommend-card {
  flex: 0 0 auto;
  width: 172px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
a.recommend-card:hover, a.recommend-card:focus-visible {
  border-color: var(--red);
  background: var(--ink-3);
  transform: translateY(-2px);
}
a.recommend-card:hover .recommend-name { color: var(--red-bright); }
.recommend-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background: var(--steel);
  filter: grayscale(0.4) brightness(0.92) contrast(1.05);
}
.recommend-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.04em;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-blurb {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ash);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--ink-2);
  padding: 20px 18px 26px;
  margin-top: 8px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  max-width: 1360px;
  margin: 0 auto 10px;
}
a.footer-link {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--fog);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
a.footer-link:hover {
  color: var(--red-bright);
  border-bottom-color: var(--red);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 14px;
  max-width: 1360px;
  margin: 0 auto 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ash);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--fog);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
a.runtime-friend-link:hover {
  color: var(--red-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-disclaimer {
  max-width: 1360px;
  margin: 0 auto;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ash);
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}
@media (max-width: 1080px) {.episode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 900px) {.hero-panel {
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    gap: 18px;
  }}
@media (max-width: 760px) {.page-main { padding: 0 14px 32px; }
.header-inner { padding: 8px 14px; gap: 10px; }
.hero-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0 26px;
  }
.hero-figure { max-width: 220px; }
.hero-title { font-size: clamp(26px, 8vw, 38px); }
.hero-tagline {
    font-size: 15px;
    letter-spacing: 0.12em;
  }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.details-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.timeline-track::before { display: none; }
.timeline-node { width: 168px; }
.timeline-node::before { display: none; }
.timeline-node::after {
    top: 10px;
    left: -1px;
    width: 4px;
    height: 82%;
    border-radius: 0;
    transform: none;
  }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.comment-list { grid-template-columns: minmax(0, 1fr); }
a.recommend-card { width: 148px; }
.recommend-region { padding: 15px 0 18px; }}
@media (max-width: 480px) {body { font-size: 13.5px; }
.page-main { padding: 0 11px 26px; }
.hero-figure { max-width: 180px; }
.section-heading { font-size: 17px; }
.recommend-heading { font-size: 15px; }
.player-controls button { font-size: 11px; padding: 3px 7px; }
.timeline-node { width: 150px; padding: 9px 10px 10px; }
.node-timecode { font-size: 13.5px; }
.node-label { font-size: 12px; }
.episode-title { font-size: 15px; }
a.recommend-card { width: 132px; }
.recommend-poster { aspect-ratio: 3 / 4; }
.cast-list { grid-template-columns: minmax(0, 1fr); }
.details-list { 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}
