*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  background-color: #17141a;
  color: #d8cfbf;
  font-family: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", serif;
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
}
h1, h2, h3, p, dl, dd, dt, ul, ol, li {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.page-main {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 34px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background:
    linear-gradient(180deg, rgba(23, 20, 26, 0.98) 0%, rgba(23, 20, 26, 0.92) 100%);
  border-bottom: 1px solid rgba(196, 158, 92, 0.34);
  backdrop-filter: blur(3px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 18px;
}
.site-logo {
  font-family: "FangSong", "STFangsong", "FangSong_GB2312", "SimSun", serif;
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: 0.16em;
  color: #e8dfc8;
  white-space: nowrap;
  border-left: 3px solid #c49e5c;
  padding-left: 9px;
  text-shadow: 0 0 12px rgba(196, 158, 92, 0.35);
}
a[data-contract="site-name"] {
  color: #e8dfc8;
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #f2d99a;
  text-decoration: underline;
  text-decoration-color: rgba(196, 158, 92, 0.7);
  text-underline-offset: 4px;
}
.category-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 8px;
  min-width: 0;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-family: "FangSong", "STFangsong", "SimSun", serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: #b9ac93;
  padding: 3px 8px;
  border: 1px solid rgba(196, 158, 92, 0.3);
  border-radius: 2px;
  background: rgba(196, 158, 92, 0.06);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category {
  color: #b9ac93;
  text-decoration: none;
}
a.runtime-category:hover {
  color: #f2d99a;
  border-color: rgba(196, 158, 92, 0.75);
  background: rgba(196, 158, 92, 0.16);
  text-decoration: none;
}
.hero-manuscript {
  position: relative;
  margin: 20px 0 16px;
  padding: 26px 22px 30px;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(214, 186, 118, 0.13) 0%, rgba(23, 20, 26, 0) 58%),
    radial-gradient(120% 90% at 88% 100%, rgba(122, 150, 196, 0.1) 0%, rgba(23, 20, 26, 0) 60%),
    linear-gradient(180deg, #211d24 0%, #1a171d 100%);
  border: 1px solid rgba(196, 158, 92, 0.26);
  border-radius: 2px;
  overflow: hidden;
}
.hero-manuscript::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 14px;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(196, 158, 92, 0.55) 0px,
      rgba(196, 158, 92, 0.55) 1px,
      transparent 1px,
      transparent 9px
    );
  background-size: 9px 100%;
  opacity: 0.5;
  pointer-events: none;
}
.hero-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  position: relative;
  align-items: start;
}
.hero-spread::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(196, 158, 92, 0) 0%,
    rgba(196, 158, 92, 0.45) 18%,
    rgba(196, 158, 92, 0.45) 82%,
    rgba(196, 158, 92, 0) 100%
  );
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-page {
  position: relative;
  padding: 8px 26px 10px;
  min-width: 0;
}
.hero-page-left {
  padding-right: 30px;
  text-align: center;
}
.hero-page-right {
  padding-left: 30px;
}
.hero-title {
  font-family: "FangSong", "STFangsong", "FangSong_GB2312", "SimSun", serif;
  font-weight: 700;
  font-size: 2.7rem;
  line-height: 1.14;
  letter-spacing: 0.1em;
  color: #f0e3c0;
  margin: 6px 0 10px;
  text-shadow:
    0 0 18px rgba(196, 158, 92, 0.38),
    0 0 46px rgba(196, 158, 92, 0.16);
}
.hero-tagline {
  font-family: "FangSong", "STFangsong", "SimSun", serif;
  font-size: 0.96rem;
  letter-spacing: 0.14em;
  color: #c9b98f;
  margin-bottom: 22px;
}
.hero-desc {
  color: #cfc5b0;
  font-size: 0.95rem;
  line-height: 1.9;
  text-align: justify;
  text-indent: 2em;
}
.hero-hand-note {
  font-family: "Xingkai SC", "STXingkai", "Kaiti SC", "STKaiti", "KaiTi", cursive, serif;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 15em;
  margin: 0 auto;
  padding: 3px 0;
}
.hero-hand-note-a {
  color: #8fa8cc;
  transform: rotate(-1.4deg);
  text-align: right;
  margin-right: 0;
  margin-left: auto;
}
.hero-hand-note-b {
  color: #c98a5a;
  transform: rotate(1.1deg);
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  margin-top: 4px;
}
.hero-dial-band {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 22px;
  padding-top: 10px;
  border-top: 1px dashed rgba(196, 158, 92, 0.3);
}
.dial-mark {
  font-family: "Courier New", "Songti SC", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #b99f6b;
  padding: 2px 7px;
  border: 1px solid rgba(196, 158, 92, 0.22);
  border-radius: 1px;
  background: rgba(196, 158, 92, 0.05);
}
.movie-overview {
  display: grid;
  grid-template-columns: minmax(150px, 200px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin: 16px 0 18px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(38, 33, 42, 0.92) 0%, rgba(27, 23, 30, 0.92) 100%);
  border: 1px solid rgba(196, 158, 92, 0.24);
  border-radius: 2px;
}
.poster-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}
.movie-poster {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(196, 158, 92, 0.36);
  border-radius: 1px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
  filter: saturate(0.88) contrast(1.02);
}
.poster-caption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 9px;
  border-left: 2px solid rgba(196, 158, 92, 0.45);
  background: rgba(196, 158, 92, 0.05);
}
.caption-line {
  font-family: "Xingkai SC", "STXingkai", "Kaiti SC", "STKaiti", "KaiTi", cursive, serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: #b9a87e;
  line-height: 1.5;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.overview-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(196, 158, 92, 0.22);
}
.overview-title {
  font-family: "FangSong", "STFangsong", "FangSong_GB2312", "SimSun", serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.09em;
  color: #f0e3c0;
}
.overview-tagline {
  font-family: "Xingkai SC", "STXingkai", "Kaiti SC", "STKaiti", "KaiTi", cursive, serif;
  font-size: 0.9rem;
  color: #ad9f83;
  letter-spacing: 0.05em;
}
.player-shell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 10px;
  background: #0f0d12;
  border: 1px solid rgba(196, 158, 92, 0.3);
  border-radius: 2px;
  box-shadow: inset 0 0 26px rgba(0, 0, 0, 0.65);
}
.player-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  border-radius: 1px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(196, 158, 92, 0.26);
}
.ctrl-btn {
  font-family: "FangSong", "STFangsong", "SimSun", serif;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: #c3b596;
  white-space: nowrap;
  padding: 3px 9px;
  border: 1px solid rgba(196, 158, 92, 0.3);
  border-radius: 2px;
  background: rgba(196, 158, 92, 0.06);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.ctrl-btn:hover {
  color: #f4e3b4;
  border-color: rgba(196, 158, 92, 0.72);
  background: rgba(196, 158, 92, 0.18);
}
.ctrl-btn.is-active {
  color: #17141a;
  background: #c49e5c;
  border-color: #c49e5c;
}
.ctrl-range {
  flex: 1 1 74px;
  min-width: 64px;
  height: 16px;
  accent-color: #c49e5c;
}
.ctrl-range::-webkit-slider-runnable-track {
  height: 3px;
  background: rgba(196, 158, 92, 0.28);
  border-radius: 2px;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: #d9b76c;
  border: 1px solid #2a2430;
}
.ctrl-range::-moz-range-track {
  height: 3px;
  background: rgba(196, 158, 92, 0.28);
  border-radius: 2px;
}
.ctrl-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9b76c;
  border: 1px solid #2a2430;
}
.ctrl-progress {
  flex: 3 1 160px;
}
.ctrl-volume {
  flex: 1 1 66px;
}
.ctrl-speed {
  flex: 1 1 72px;
}
.synopsis-block {
  padding-top: 14px;
  border-top: 1px solid rgba(196, 158, 92, 0.2);
}
.synopsis-heading, .cast-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading {
  font-family: "FangSong", "STFangsong", "FangSong_GB2312", "SimSun", serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.18em;
  color: #e6d6ae;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid #c49e5c;
  line-height: 1.35;
}
.synopsis-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(160px, 1fr);
  gap: 22px;
  align-items: start;
}
.synopsis-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.synopsis-paragraph {
  color: #cec4af;
  font-size: 0.92rem;
  line-height: 1.88;
  text-align: justify;
  text-indent: 2em;
  padding-left: 10px;
  border-left: 1px solid rgba(196, 158, 92, 0.16);
}
.synopsis-marginalia {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: 10px 10px 10px 14px;
  background:
    linear-gradient(180deg, rgba(196, 158, 92, 0.07) 0%, rgba(196, 158, 92, 0.02) 100%);
  border-left: 2px solid rgba(196, 158, 92, 0.42);
}
.margin-note {
  font-family: "Xingkai SC", "STXingkai", "Kaiti SC", "STKaiti", "KaiTi", cursive, serif;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #9fb4d4;
  padding-left: 12px;
  position: relative;
}
.margin-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 1px;
  background: rgba(159, 180, 212, 0.6);
}
.margin-note:nth-child(2n) {
  color: #c98a5a;
}
.margin-note:nth-child(2n)::before {
  background: rgba(201, 138, 90, 0.6);
}
.cast-block {
  padding-top: 14px;
  border-top: 1px solid rgba(196, 158, 92, 0.2);
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 8px;
  background: rgba(196, 158, 92, 0.05);
  border: 1px solid rgba(196, 158, 92, 0.2);
  border-top: 3px solid rgba(196, 158, 92, 0.55);
  border-radius: 0 0 2px 2px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.cast-card:hover {
  background: rgba(196, 158, 92, 0.12);
  border-color: rgba(196, 158, 92, 0.55);
  transform: translateY(-2px);
}
.cast-portrait {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(196, 158, 92, 0.24);
  background: #100e13;
}
.cast-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04) brightness(0.94);
  transition: filter 0.25s ease;
}
.cast-card:hover .cast-img {
  filter: saturate(0.98) contrast(1.06) brightness(1.04);
}
.cast-name {
  font-family: "FangSong", "STFangsong", "SimSun", serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  color: #eaddba;
}
.cast-role {
  font-family: "Xingkai SC", "STXingkai", "Kaiti SC", "STKaiti", "KaiTi", cursive, serif;
  font-size: 0.76rem;
  line-height: 1.5;
  color: #a99b80;
}
.episode-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 14px;
  padding: 9px 12px;
  background: rgba(196, 158, 92, 0.06);
  border: 1px solid rgba(196, 158, 92, 0.22);
  border-left: 3px solid #c49e5c;
}
.status-item {
  font-family: "FangSong", "STFangsong", "SimSun", serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #c0b295;
  white-space: nowrap;
}
.status-current {
  color: #f0e3c0;
  font-weight: 700;
}
.status-score {
  color: #d9a86a;
  margin-left: auto;
  padding-left: 12px;
  border-left: 1px dashed rgba(196, 158, 92, 0.34);
}
.details-block {
  padding-top: 14px;
  border-top: 1px solid rgba(196, 158, 92, 0.2);
}
.details-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(196, 158, 92, 0.16);
  border: 1px solid rgba(196, 158, 92, 0.16);
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 10px;
  background: rgba(24, 20, 27, 0.94);
  min-width: 0;
}
.detail-item dt {
  font-family: "Xingkai SC", "STXingkai", "Kaiti SC", "STKaiti", "KaiTi", cursive, serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #8f8straight;
  color: #8f8672;
}
.detail-item dd {
  font-size: 0.86rem;
  color: #d3c9b4;
  word-break: break-word;
}
.timeline-block {
  position: relative;
  margin: 22px 0 18px;
  padding: 18px 16px 20px;
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(196, 158, 92, 0.09) 0%, rgba(23, 20, 26, 0) 70%),
    rgba(21, 18, 24, 0.7);
  border: 1px solid rgba(196, 158, 92, 0.2);
}
.timeline-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6px 0;
}
.timeline-rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(122, 150, 196, 0) 0%,
    rgba(122, 150, 196, 0.72) 6%,
    rgba(122, 150, 196, 0.72) 94%,
    rgba(122, 150, 196, 0) 100%
  );
}
.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1fr;
  align-items: center;
  column-gap: 26px;
  padding: 22px 0;
  min-height: 56px;
}
.timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #7a96c4;
  box-shadow:
    0 0 0 3px rgba(23, 20, 26, 0.95),
    0 0 14px rgba(122, 150, 196, 0.6);
  z-index: 2;
}
.timeline-node-left .timeline-time, .timeline-node-left .timeline-label {
  grid-column: 1;
  text-align: right;
}
.timeline-node-right .timeline-time, .timeline-node-right .timeline-label {
  grid-column: 2;
  text-align: left;
}
.timeline-time {
  font-family: "Courier New", "Songti SC", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: #d9b76c;
  padding: 0 4px;
}
.timeline-label {
  font-family: "Xingkai SC", "STXingkai", "Kaiti SC", "STKaiti", "KaiTi", cursive, serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #c6bda8;
  padding: 0 4px;
}
.timeline-node-left .timeline-label {
  grid-row: 2;
  margin-top: 2px;
}
.timeline-node-right .timeline-label {
  grid-row: 2;
  margin-top: 2px;
}
.timeline-node-left .timeline-time {
  grid-row: 1;
}
.timeline-node-right .timeline-time {
  grid-row: 1;
}
.episodes-block {
  margin: 18px 0;
  padding: 16px 14px 18px;
  background: rgba(20, 17, 23, 0.72);
  border: 1px solid rgba(196, 158, 92, 0.2);
}
.episodes-meta {
  font-family: "Courier New", "Songti SC", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: #9c9version;
  color: #9c9077;
  margin: -4px 0 10px 13px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 8px 9px 9px;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(196, 158, 92, 0.08) 0px,
      rgba(196, 158, 92, 0.08) 1px,
      rgba(23, 20, 26, 0) 1px,
      rgba(23, 20, 26, 0) 19px
    ),
    rgba(30, 26, 34, 0.9);
  border: 1px solid rgba(196, 158, 92, 0.18);
  border-radius: 1px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.episode-cell:hover {
  border-color: rgba(196, 158, 92, 0.6);
  background:
    repeating-linear-gradient(
      180deg,
      rgba(196, 158, 92, 0.12) 0px,
      rgba(196, 158, 92, 0.12) 1px,
      rgba(23, 20, 26, 0) 1px,
      rgba(23, 20, 26, 0) 19px
    ),
    rgba(38, 32, 42, 0.95);
  transform: translateY(-2px);
  z-index: 4;
}
.episode-number {
  font-family: "Courier New", "Songti SC", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #8f9fbb;
}
.episode-title {
  font-family: "FangSong", "STFangsong", "SimSun", serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: #e6d6ae;
  line-height: 1.35;
}
.episode-duration {
  font-family: "Courier New", "Songti SC", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: #8a8069;
}
.episode-summary {
  font-size: 0.76rem;
  line-height: 1.6;
  color: #b7ad98;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, opacity 0.24s ease, margin-top 0.24s ease;
}
.episode-cell:hover .episode-summary, .episode-cell:focus-within .episode-summary {
  max-height: 14em;
  opacity: 1;
  margin-top: 4px;
}
.comments-block {
  margin: 18px 0;
  padding: 16px 14px 20px;
  background: rgba(21, 18, 24, 0.72);
  border: 1px solid rgba(196, 158, 92, 0.2);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 12px 12px 12px 18px;
  background: rgba(35, 30, 40, 0.92);
  border: 1px solid rgba(196, 158, 92, 0.2);
  border-radius: 1px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.42);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.comment-card:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 158, 92, 0.5);
}
.comment-thread {
  position: absolute;
  left: 6px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(201, 138, 90, 0.85);
}
.comment-thread::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 1px;
  height: 40px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(201, 138, 90, 0.7) 0%,
    rgba(201, 138, 90, 0) 100%
  );
}
.comment-nickname {
  font-family: "Xingkai SC", "STXingkai", "Kaiti SC", "STKaiti", "KaiTi", cursive, serif;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: #d9a86a;
}
.comment-text {
  font-size: 0.82rem;
  line-height: 1.72;
  color: #c2b8a3;
  text-align: justify;
}
.rec-region {
  margin: 16px 0;
  padding: 12px 14px 14px;
  background: rgba(20, 17, 23, 0.66);
  border: 1px solid rgba(196, 158, 92, 0.18);
}
.rec-heading {
  font-family: "Xingkai SC", "STXingkai", "Kaiti SC", "STKaiti", "KaiTi", cursive, serif;
  font-size: 1.06rem;
  letter-spacing: 0.08em;
  color: #e0cfa4;
  margin-bottom: 10px;
  padding-left: 8px;
  border-left: 3px solid rgba(196, 158, 92, 0.7);
  line-height: 1.4;
}
.rec-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 1fr);
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(196, 158, 92, 0.5) transparent;
}
.rec-strip::-webkit-scrollbar {
  height: 6px;
}
.rec-strip::-webkit-scrollbar-track {
  background: rgba(196, 158, 92, 0.08);
}
.rec-strip::-webkit-scrollbar-thumb {
  background: rgba(196, 158, 92, 0.45);
  border-radius: 3px;
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 7px;
  background: rgba(31, 27, 35, 0.92);
  border: 1px solid rgba(196, 158, 92, 0.18);
  border-radius: 1px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.rec-card {
  color: #cec4af;
  text-decoration: none;
}
a.rec-card:hover {
  border-color: rgba(196, 158, 92, 0.62);
  background: rgba(44, 37, 48, 0.95);
  transform: translateY(-2px);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(196, 158, 92, 0.2);
  filter: saturate(0.8) brightness(0.92);
  transition: filter 0.24s ease;
}
[data-runtime="recommendation"]:hover img {
  filter: saturate(1) brightness(1.04);
}
.rec-card [data-runtime="name"] {
  font-family: "FangSong", "STFangsong", "SimSun", serif;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  color: #e6d6ae;
  line-height: 1.4;
}
.rec-card [data-runtime="blurb"] {
  font-family: "Xingkai SC", "STXingkai", "Kaiti SC", "STKaiti", "KaiTi", cursive, serif;
  font-size: 0.72rem;
  line-height: 1.55;
  color: #a1967f;
}
.site-footer {
  margin-top: 26px;
  padding: 18px 18px 26px;
  background: #121016;
  border-top: 1px solid rgba(196, 158, 92, 0.28);
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0 auto 12px;
  font-size: 0.74rem;
  line-height: 1.7;
  color: #7f7663;
  text-align: center;
}
.footer-friends {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px 9px;
  max-width: 1180px;
  margin: 0 auto 12px;
  padding: 10px 0;
  border-top: 1px dashed rgba(196, 158, 92, 0.2);
  border-bottom: 1px dashed rgba(196, 158, 92, 0.2);
}
.friends-label {
  font-family: "Xingkai SC", "STXingkai", "Kaiti SC", "STKaiti", "KaiTi", cursive, serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: #9b8f75;
  padding-right: 6px;
  border-right: 1px solid rgba(196, 158, 92, 0.3);
}
a.runtime-friend-link {
  font-size: 0.76rem;
  color: #8f9fbb;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: #cbd8ee;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: "FangSong", "STFangsong", "SimSun", serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: #c49e5c;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(196, 158, 92, 0.4);
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: #f2d99a;
  border-color: #f2d99a;
  text-decoration: none;
}
body.theater-mode .site-header {
  opacity: 0.35;
}
body.theater-mode .movie-overview {
  border-color: rgba(196, 158, 92, 0.6);
  box-shadow: 0 0 40px rgba(196, 158, 92, 0.16);
}
body.theater-mode .player-shell {
  box-shadow:
    inset 0 0 26px rgba(0, 0, 0, 0.7),
    0 0 34px rgba(196, 158, 92, 0.24);
}
body.lights-off {
  background-color: #0c0a0e;
}
body.lights-off .hero-manuscript, body.lights-off .timeline-block, body.lights-off .episodes-block, body.lights-off .comments-block, body.lights-off .rec-region {
  opacity: 0.72;
}
body.lights-off .movie-overview {
  background: linear-gradient(180deg, #2c2632 0%, #1a161d 100%);
  box-shadow: 0 0 52px rgba(196, 158, 92, 0.2);
}
body.lights-off .player-shell {
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.8),
    0 0 46px rgba(196, 158, 92, 0.3);
}
.player .ctrl-btn.is-active, .ctrl-btn.is-active {
  color: #17141a;
  background: #c49e5c;
  border-color: #c49e5c;
}
.play.is-active, .mute.is-active, .pip.is-active, .fullscreen.is-active, .theater.is-active, .light.is-active {
  color: #17141a;
  background: #c49e5c;
  border-color: #c49e5c;
}
.progress::-webkit-slider-thumb, .volume::-webkit-slider-thumb, .speed::-webkit-slider-thumb {
  background: #d9b76c;
}
.input, .timeupdate {
  outline: none;
}
@media (max-width: 1000px) {.episode-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.cast-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}
@media (max-width: 860px) {.movie-overview {
    grid-template-columns: 1fr;
  }
.poster-column {
    max-width: 220px;
  }
.synopsis-columns {
    grid-template-columns: 1fr;
    gap: 14px;
  }
.cast-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.details-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 720px) {body {
    font-size: 14px;
  }
.hero-spread {
    grid-template-columns: 1fr;
  }
.hero-spread::after {
    display: none;
  }
.hero-page {
    padding: 6px 4px 10px;
  }
.hero-page-left {
    padding-right: 4px;
    border-bottom: 1px dashed rgba(196, 158, 92, 0.28);
    margin-bottom: 12px;
  }
.hero-page-right {
    padding-left: 4px;
  }
.hero-title {
    font-size: 2rem;
  }
.hero-hand-note {
    max-width: 20em;
  }
.episode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.timeline-node {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    padding: 16px 0 16px 26px;
  }
.timeline-rail::before {
    left: 8px;
    transform: none;
  }
.timeline-dot {
    left: 8px;
    transform: translate(-50%, -50%);
  }
.timeline-node-left .timeline-time, .timeline-node-left .timeline-label, .timeline-node-right .timeline-time, .timeline-node-right .timeline-label {
    grid-column: 1;
    text-align: left;
  }
.timeline-node-left .timeline-time, .timeline-node-right .timeline-time {
    grid-row: 1;
  }
.timeline-node-left .timeline-label, .timeline-node-right .timeline-label {
    grid-row: 2;
  }
.rec-strip {
    grid-auto-columns: minmax(146px, 1fr);
  }}
@media (max-width: 560px) {.page-main {
    padding: 0 12px 26px;
  }
.header-inner {
    padding: 8px 12px;
  }
.site-logo {
    font-size: 1rem;
  }
.hero-manuscript {
    padding: 20px 14px 22px;
    margin-top: 14px;
  }
.hero-title {
    font-size: 1.72rem;
  }
.movie-overview {
    padding: 13px;
    gap: 14px;
  }
.poster-column {
    max-width: 190px;
  }
.cast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.comment-stack {
    grid-template-columns: 1fr;
  }
.details-list {
    grid-template-columns: 1fr;
  }
.status-score {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }
.player-controls {
    gap: 5px 6px;
  }
.ctrl-btn {
    font-size: 0.7rem;
    padding: 3px 7px;
  }
.rec-region, .episodes-block, .comments-block, .timeline-block {
    padding: 12px 11px 14px;
  }
.footer-friends {
    gap: 5px 7px;
  }
.friends-label {
    width: 100%;
    text-align: center;
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(196, 158, 92, 0.2);
    padding-bottom: 5px;
  }}
@media (max-width: 400px) {.cast-row {
    grid-template-columns: 1fr;
  }
.episode-grid {
    grid-template-columns: 1fr;
  }
.hero-title {
    font-size: 1.5rem;
  }}

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}
