*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  background-color: #1a0f0b;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(122, 30, 24, 0.18), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(140, 34, 26, 0.14), transparent 46%),
    repeating-linear-gradient(0deg, rgba(255, 230, 190, 0.018) 0, rgba(255, 230, 190, 0.018) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(255, 230, 190, 0.012) 0, rgba(255, 230, 190, 0.012) 1px, transparent 1px, transparent 4px);
  color: #e8dcc4;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: #d9b06a;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
}
ul, ol, dl {
  list-style: none;
}
h1, h2 {
  font-weight: 600;
  line-height: 1.3;
}
.block-heading {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
  padding-left: 12px;
  color: #f0e4cc;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6), 0 0 14px rgba(150, 40, 30, 0.3);
}
.block-heading::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, #a8231c, #5c110c);
  box-shadow: 0 0 8px rgba(168, 35, 28, 0.6);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(20, 11, 8, 0.92);
  border-bottom: 1px solid rgba(168, 35, 28, 0.34);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 16px;
}
a[data-contract="site-name"] {
  flex: 0 0 auto;
  color: #f3e6cb;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(168, 35, 28, 0.55);
}
a[data-contract="site-name"]:hover {
  color: #ffd9a0;
}
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 3px 10px;
  color: #cfa96a;
  font-size: 12.5px;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid rgba(168, 35, 28, 0.4);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(60, 22, 16, 0.7), rgba(30, 14, 10, 0.7));
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: #ffe3b0;
  border-color: #a8231c;
  background: linear-gradient(180deg, rgba(120, 30, 22, 0.8), rgba(50, 16, 12, 0.8));
}
.page-main {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 26px;
}
.hero-scene {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 18px;
  padding: 18px 0 22px;
  border-bottom: 1px solid rgba(168, 35, 28, 0.24);
}
.hero-silhouette {
  position: relative;
  align-self: start;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(168, 35, 28, 0.35);
  background: #0d0705;
}
.hero-poster-frame {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
}
.hero-poster {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.14) brightness(0.82) sepia(0.14);
}
.hero-candlelight {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 82%, rgba(255, 176, 92, 0.36), rgba(190, 60, 30, 0.16) 34%, transparent 62%),
    linear-gradient(112deg, rgba(8, 4, 3, 0.92) 0%, rgba(8, 4, 3, 0.72) 26%, rgba(40, 12, 8, 0.18) 52%, transparent 74%);
  mix-blend-mode: screen;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.hero-title {
  color: #f5e8cd;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.7), 0 0 24px rgba(168, 35, 28, 0.45);
}
.hero-tagline {
  color: #d8b478;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.hero-seo {
  max-width: 62ch;
  color: #b8a88c;
  font-size: 12.5px;
  line-height: 1.68;
}
.player-shell {
  position: relative;
  width: 100%;
  border: 1px solid rgba(168, 35, 28, 0.42);
  background: #0a0504;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 6px 22px rgba(0, 0, 0, 0.5);
}
.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #060302;
  object-fit: contain;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 6px 7px;
  background: linear-gradient(180deg, rgba(38, 16, 12, 0.94), rgba(18, 8, 6, 0.94));
  border-top: 1px solid rgba(168, 35, 28, 0.34);
}
.player-btn {
  padding: 3px 9px;
  color: #dcc79c;
  font-size: 12px;
  white-space: nowrap;
  border: 1px solid rgba(168, 35, 28, 0.4);
  border-radius: 2px;
  background: rgba(52, 20, 15, 0.7);
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
.player-btn:hover {
  color: #ffe6b8;
  border-color: #b62a20;
  background: rgba(120, 30, 22, 0.7);
}
.player-btn.play {
  color: #ffe6b8;
  border-color: #b62a20;
}
.player-btn.pause, .player-btn.mute {
  color: #c9a06a;
}
.player-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  accent-color: #a8231c;
  background: transparent;
}
.player-volume {
  flex: 0 1 88px;
  min-width: 60px;
  height: 4px;
  accent-color: #8f6a34;
}
.player-speed {
  padding: 3px 6px;
  color: #dcc79c;
  font-size: 12px;
  border: 1px solid rgba(168, 35, 28, 0.4);
  border-radius: 2px;
  background: rgba(40, 16, 12, 0.9);
}
.player-shell.is-theater {
  box-shadow: 0 0 0 1px rgba(168, 35, 28, 0.7), 0 0 40px rgba(168, 35, 28, 0.35);
}
.player-shell.is-lights-off {
  background: #000;
  box-shadow: 0 0 0 1px rgba(90, 20, 16, 0.9), 0 0 60px rgba(0, 0, 0, 0.95);
}
.player-shell.is-lights-off .player-video {
  filter: brightness(0.72);
}
.player-shell.is-lights-off .player-controls {
  background: linear-gradient(180deg, rgba(20, 8, 6, 0.96), rgba(6, 3, 2, 0.96));
}
.synopsis-block {
  padding-top: 2px;
}
.synopsis-para {
  margin-bottom: 7px;
  color: #c4b393;
  font-size: 13px;
  line-height: 1.72;
  text-indent: 2em;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.cast-panel {
  padding: 10px 12px;
  border: 1px solid rgba(168, 35, 28, 0.26);
  background: linear-gradient(180deg, rgba(38, 18, 13, 0.55), rgba(22, 11, 8, 0.55));
}
.cast-lineage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0;
  padding-left: 14px;
  border-left: 1px solid rgba(168, 35, 28, 0.55);
}
.cast-node {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 5px 8px 5px 14px;
  border-bottom: 1px dashed rgba(168, 35, 28, 0.22);
}
.cast-node::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 1px;
  background: rgba(168, 35, 28, 0.6);
}
.cast-node::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: #a8231c;
  box-shadow: 0 0 7px rgba(168, 35, 28, 0.8);
}
.cast-name {
  color: #ecd9b4;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 13.5px;
  letter-spacing: 0.06em;
}
.cast-role {
  color: #9d8a6c;
  font-size: 11.5px;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 7px 12px;
  border: 1px solid rgba(168, 35, 28, 0.28);
  background: rgba(34, 15, 11, 0.55);
}
.status-label {
  color: #9d8a6c;
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.status-value {
  color: #e8c98c;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 15px;
  font-weight: 700;
}
.details-panel {
  padding: 10px 12px;
  border: 1px solid rgba(168, 35, 28, 0.26);
  background: linear-gradient(180deg, rgba(38, 18, 13, 0.55), rgba(22, 11, 8, 0.55));
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0 16px;
}
.detail-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(168, 35, 28, 0.16);
}
.detail-key {
  flex: 0 0 auto;
  color: #9d8a6c;
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
.detail-key::after {
  content: "·";
  margin-left: 6px;
  color: rgba(168, 35, 28, 0.7);
}
.detail-value {
  min-width: 0;
  color: #dccaa6;
  font-size: 12.5px;
}
.timeline-band {
  padding: 16px 0 18px;
  border-bottom: 1px solid rgba(168, 35, 28, 0.24);
}
.timeline-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding-top: 16px;
}
.timeline-flow::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 35, 28, 0.85) 12%, rgba(168, 35, 28, 0.85) 88%, transparent);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 8px 8px;
  border: 1px solid rgba(168, 35, 28, 0.22);
  background: linear-gradient(180deg, rgba(36, 17, 12, 0.62), rgba(20, 10, 7, 0.62));
}
.timeline-node::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50% 50% 50% 0;
  background: radial-gradient(circle at 30% 30%, #c3362a, #6d1109);
  box-shadow: 0 0 10px rgba(168, 35, 28, 0.75);
  transform: rotate(-45deg);
}
.timeline-timecode {
  color: #e8c98c;
  font-family: "Songti SC", "SimSun", monospace, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.timeline-label {
  color: #b8a88c;
  font-size: 12px;
  line-height: 1.55;
}
.episodes-band {
  padding: 16px 0 18px;
  border-bottom: 1px solid rgba(168, 35, 28, 0.24);
}
.episode-scroll {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 9px 9px 8px;
  overflow: hidden;
  border: 1px solid rgba(168, 35, 28, 0.24);
  background: linear-gradient(180deg, rgba(38, 18, 13, 0.55), rgba(20, 10, 7, 0.62));
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.episode-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(190, 45, 34, 0.28), transparent 68%);
  opacity: 0;
  transition: opacity 0.22s;
}
.episode-card:hover {
  border-color: rgba(200, 52, 40, 0.8);
  box-shadow: 0 0 16px rgba(168, 35, 28, 0.4), inset 0 0 22px rgba(168, 35, 28, 0.16);
}
.episode-card:hover::after {
  opacity: 1;
}
.episode-number {
  color: #c3362a;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 12px rgba(168, 35, 28, 0.5);
}
.episode-title {
  color: #ecd9b4;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.episode-summary {
  color: #a8977a;
  font-size: 11.5px;
  line-height: 1.55;
}
.episode-duration {
  margin-top: auto;
  color: #8c7a5e;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.comments-band {
  padding: 16px 0 18px;
  border-bottom: 1px solid rgba(168, 35, 28, 0.24);
}
.comments-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 4px 2px;
}
.comment-note {
  position: relative;
  padding: 10px 11px;
  border: 1px solid rgba(168, 35, 28, 0.24);
  background: linear-gradient(168deg, rgba(58, 32, 22, 0.92), rgba(30, 16, 11, 0.92));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}
.comment-note:nth-child(1) { transform: rotate(-1.1deg); }
.comment-note:nth-child(2) { transform: rotate(0.9deg); }
.comment-note:nth-child(3) { transform: rotate(-0.6deg); }
.comment-note:nth-child(4) { transform: rotate(1.2deg); }
.comment-note:nth-child(5) { transform: rotate(-1.3deg); }
.comment-note:nth-child(6) { transform: rotate(0.7deg); }
.comment-note::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 14px;
  width: 30px;
  height: 9px;
  background: rgba(168, 35, 28, 0.32);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}
.comment-nickname {
  display: block;
  margin-bottom: 4px;
  color: #d8b478;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.comment-text {
  color: #b3a286;
  font-size: 11.5px;
  line-height: 1.62;
}
.reco-band {
  padding: 14px 0 16px;
  border-bottom: 1px solid rgba(168, 35, 28, 0.24);
}
.reco-band:last-of-type {
  border-bottom: 0;
}
.reco-title {
  display: inline-block;
  margin-bottom: 9px;
  padding: 2px 10px 2px 9px;
  color: #f0e4cc;
  font-family: "Songti SC", "SimSun", "Noto Serif SC", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  border-left: 3px solid #a8231c;
  background: linear-gradient(90deg, rgba(120, 30, 22, 0.36), transparent);
}
.reco-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 8px;
}
a.reco-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  color: #dccaa6;
  text-decoration: none;
  border: 1px solid rgba(168, 35, 28, 0.22);
  background: linear-gradient(180deg, rgba(36, 17, 12, 0.6), rgba(18, 9, 6, 0.7));
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
a.reco-item:hover {
  border-color: rgba(200, 52, 40, 0.75);
  box-shadow: 0 0 14px rgba(168, 35, 28, 0.38);
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.08) brightness(0.85) sepia(0.1);
  border: 1px solid rgba(0, 0, 0, 0.5);
}
.reco-pic {
  display: block;
}
.reco-name {
  color: #ecd9b4;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reco-blurb {
  color: #9d8a6c;
  font-size: 11px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px 22px;
  border-top: 1px solid rgba(168, 35, 28, 0.3);
}
.footer-disclaimer {
  margin-bottom: 10px;
  color: #8c7a5e;
  font-size: 11.5px;
  line-height: 1.62;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 10px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: #cfa96a;
  font-size: 12.5px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #ffe3b0;
  border-bottom-color: #a8231c;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(168, 35, 28, 0.24);
}
.friend-links-label {
  color: #9d8a6c;
  font-size: 11.5px;
  letter-spacing: 0.1em;
}
a.runtime-friend-link {
  color: #a8977a;
  font-size: 11.5px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
a.runtime-friend-link:hover {
  color: #e8c98c;
  border-bottom-color: rgba(168, 35, 28, 0.7);
}
.player-shell.fullscreen, .player-shell.pip {
  box-shadow: 0 0 0 1px rgba(168, 35, 28, 0.85), 0 0 46px rgba(168, 35, 28, 0.4);
}
.player-shell.theater {
  border-color: rgba(200, 52, 40, 0.85);
}
.player-shell.light {
  box-shadow: 0 0 0 1px rgba(217, 176, 106, 0.5);
}
.player-shell.input, .player-shell.change, .player-shell.click, .player-shell.timeupdate, .player-shell.progress, .player-shell.volume, .player-shell.speed, .player-shell.play, .player-shell.pause, .player-shell.mute {
  transition: border-color 0.2s, box-shadow 0.2s;
}
@media (max-width: 1080px) {.episode-scroll {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 18px;
  }
.timeline-flow::before {
    display: none;
  }
.timeline-node::before {
    top: -8px;
  }}
@media (max-width: 860px) {.hero-scene {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.hero-silhouette {
    max-width: 320px;
  }
.comments-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.hero-title {
    font-size: 23px;
  }}
@media (max-width: 640px) {body {
    font-size: 13.5px;
  }
.header-inner {
    padding: 8px 12px;
  }
.page-main {
    padding: 0 12px 20px;
  }
.hero-scene {
    padding: 14px 0 18px;
  }
.hero-silhouette {
    max-width: 240px;
  }
.hero-title {
    font-size: 20px;
    letter-spacing: 0.06em;
  }
.hero-tagline {
    font-size: 13px;
  }
.episode-scroll {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.timeline-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comments-notes {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
.comment-note {
    transform: none;
  }
.reco-strip {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
.cast-lineage {
    grid-template-columns: minmax(0, 1fr);
  }
.details-list {
    grid-template-columns: minmax(0, 1fr);
  }
.player-controls {
    gap: 4px;
  }
.player-progress {
    flex: 1 1 100%;
    order: 9;
  }}
@media (max-width: 420px) {.episode-scroll {
    grid-template-columns: minmax(0, 1fr);
  }
.timeline-flow {
    grid-template-columns: minmax(0, 1fr);
  }
.reco-strip {
    grid-template-columns: repeat(2, 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}
