:root {
  --ink-deep: #0d1f1c;
  --ink: #122925;
  --ink-soft: #1a3530;
  --green-dark: #14332d;
  --green-mid: #1e4a41;
  --green-line: #2c5c50;
  --gold: #b8933f;
  --gold-soft: #8f7434;
  --gold-dim: #6b5a2a;
  --gold-faint: rgba(184, 147, 63, 0.32);
  --parchment: #d8cdb3;
  --parchment-dim: #a89e88;
  --text-main: #c9c0a8;
  --text-muted: #8b8471;
  --red-accent: #7d2a24;
  --red-bright: #a8402f;
  --surface: #10231f;
  --surface-2: #142b26;
  --gap-tight: 0.55rem;
  --gap: 0.85rem;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--ink-deep);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(30, 74, 65, 0.55), transparent 58%),
    radial-gradient(circle at 88% 92%, rgba(125, 42, 36, 0.14), transparent 55%),
    linear-gradient(160deg, #0b1a17 0%, #0d1f1c 45%, #0a1613 100%);
  color: var(--text-main);
  font-family: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
input[type="range"] {
  cursor: pointer;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 20, 17, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gold-faint);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-wrap: wrap;
}
a[data-contract="site-name"], .site-brand {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #d9b45a;
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  max-width: 100%;
}
a.runtime-category {
  display: inline-block;
  padding: 0.2rem 0.62rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--parchment-dim);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(184, 147, 63, 0.28);
  border-radius: 999px;
  background: rgba(30, 74, 65, 0.24);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(30, 74, 65, 0.5);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1rem 2.4rem;
  display: block;
}
.section-heading {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.6rem;
  padding-left: 0.55rem;
  border-left: 3px solid var(--gold-soft);
  line-height: 1.3;
}
.overview-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.5fr);
  gap: 0.9rem 1.1rem;
  align-items: start;
  padding: 0.9rem;
  margin-bottom: 1.4rem;
  background: linear-gradient(150deg, rgba(26, 53, 48, 0.9), rgba(13, 31, 28, 0.94));
  border: 1px solid rgba(184, 147, 63, 0.24);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35), 0 12px 30px rgba(0, 0, 0, 0.42);
}
.poster-frame {
  position: relative;
  margin: 0;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(184, 147, 63, 0.34);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  align-self: start;
}
.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(184, 147, 63, 0.16), transparent 38%, rgba(0, 0, 0, 0.42));
}
.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: var(--gap-tight);
  min-width: 0;
}
.movie-title {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 1.62rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e3d8ba;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}
.movie-tagline {
  font-size: 0.86rem;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  padding-left: 0.5rem;
  border-left: 2px solid var(--red-accent);
}
.episode-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.35rem 0;
  border-top: 1px solid rgba(184, 147, 63, 0.16);
  border-bottom: 1px solid rgba(184, 147, 63, 0.16);
}
.status-current {
  font-size: 0.84rem;
  color: var(--gold);
  border: 1px solid rgba(184, 147, 63, 0.5);
  border-radius: 999px;
  padding: 0.12rem 0.6rem;
  background: rgba(184, 147, 63, 0.1);
}
.status-total {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.status-play {
  margin-left: auto;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  padding: 0.24rem 0.95rem;
  color: #f0e4c4;
  background: linear-gradient(180deg, var(--red-bright), var(--red-accent));
  border-radius: 3px;
  border: 1px solid rgba(240, 228, 196, 0.28);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: filter 0.18s ease;
}
.status-play:hover {
  filter: brightness(1.18);
}
.detail-block {
  padding: 0.45rem 0 0.1rem;
}
.detail-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.14rem 0.7rem;
  font-size: 0.82rem;
}
.detail-key {
  color: var(--text-muted);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.detail-value {
  color: var(--parchment);
  margin: 0;
  min-width: 0;
}
.cast-block {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(184, 147, 63, 0.14);
}
.cast-heading {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
  margin-bottom: 0.4rem;
}
.cast-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.65rem;
  align-items: flex-start;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.5rem 0.18rem 0.2rem;
  border: 1px solid rgba(184, 147, 63, 0.2);
  border-radius: 999px;
  background: rgba(20, 43, 38, 0.7);
}
.cast-avatar {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(184, 147, 63, 0.7), transparent 62%),
    linear-gradient(150deg, #2c5c50, #14332d);
  border: 1px solid rgba(184, 147, 63, 0.42);
}
.cast-name {
  font-size: 0.78rem;
  color: var(--parchment-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.synopsis-block {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(184, 147, 63, 0.14);
}
.synopsis-heading {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
  margin-bottom: 0.35rem;
}
.synopsis-text {
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 0.32rem;
  text-indent: 1.5em;
}
.synopsis-text:last-child {
  margin-bottom: 0;
}
.player-slot {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(184, 147, 63, 0.18);
  align-self: start;
}
.movie-player {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #050d0b;
  border: 1px solid rgba(184, 147, 63, 0.28);
  border-radius: 4px;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin-top: 0.45rem;
  padding: 0.4rem 0.5rem;
  background: rgba(11, 26, 23, 0.85);
  border: 1px solid rgba(184, 147, 63, 0.16);
  border-radius: 4px;
}
.player-btn {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  color: var(--parchment-dim);
  border: 1px solid rgba(184, 147, 63, 0.3);
  border-radius: 3px;
  background: rgba(30, 74, 65, 0.34);
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-btn:hover {
  color: var(--gold);
  border-color: var(--gold-soft);
  background: rgba(30, 74, 65, 0.6);
}
.player-controls input[type="range"] {
  flex: 1 1 90px;
  min-width: 70px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--gold-dim), rgba(184, 147, 63, 0.18));
  border-radius: 999px;
  outline: none;
}
.player-controls input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid #0d1f1c;
}
.player-controls input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid #0d1f1c;
}
.movie-player.play {
  outline: 1px solid rgba(184, 147, 63, 0.5);
}
.player-btn.is-muted {
  color: var(--red-bright);
  border-color: var(--red-accent);
}
body.theater-mode .overview-panel {
  box-shadow: 0 0 0 1px var(--gold-soft), 0 18px 44px rgba(0, 0, 0, 0.6);
}
body.lights-dim {
  background-image:
    radial-gradient(circle at 50% 12%, rgba(30, 74, 65, 0.4), transparent 62%),
    linear-gradient(160deg, #060f0d 0%, #081614 55%, #050c0a 100%);
}
body.lights-dim .page-main {
  opacity: 0.94;
}
.timeline-section {
  margin-bottom: 1.4rem;
  padding: 0.85rem 0.9rem 1rem;
  background: rgba(16, 35, 31, 0.72);
  border: 1px solid rgba(184, 147, 63, 0.18);
  border-radius: 6px;
}
.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0.9rem;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-faint) 12%, var(--gold-faint) 88%, transparent);
}
.timeline-node {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.6rem;
  padding: 0.3rem 0.55rem 0.34rem 0.7rem;
  background: rgba(20, 43, 38, 0.6);
  border-left: 2px solid var(--green-line);
  border-radius: 0 4px 4px 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: -0.9rem;
  top: 0.62rem;
  width: 7px;
  height: 7px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(13, 31, 28, 0.95), 0 0 6px rgba(184, 147, 63, 0.6);
}
.timeline-node:nth-child(3n) {
  border-left-color: var(--red-accent);
}
.timeline-node:nth-child(3n)::before {
  background: var(--red-bright);
  box-shadow: 0 0 0 2px rgba(13, 31, 28, 0.95), 0 0 6px rgba(168, 64, 47, 0.7);
}
.timeline-timecode {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  white-space: nowrap;
  flex: 0 0 auto;
}
.timeline-label {
  font-size: 0.83rem;
  color: var(--text-main);
  min-width: 0;
}
.episodes-section {
  margin-bottom: 1.4rem;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 0.5rem 0.6rem 0.55rem;
  background: linear-gradient(155deg, rgba(26, 53, 48, 0.78), rgba(13, 31, 28, 0.85));
  border: 1px solid rgba(184, 147, 63, 0.16);
  border-radius: 4px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.episode-card:hover {
  border-color: rgba(184, 147, 63, 0.5);
  transform: translateY(-1px);
}
.episode-number {
  align-self: flex-start;
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #f0e4c4;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--green-mid), var(--green-dark));
  border: 1px solid rgba(184, 147, 63, 0.45);
  box-shadow: inset 0 1px 0 rgba(184, 147, 63, 0.28);
}
.episode-title {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ddd2b4;
  line-height: 1.3;
}
.episode-summary {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.episode-duration {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--gold-dim);
  margin-top: auto;
  padding-top: 0.12rem;
}
.comments-section {
  margin-bottom: 1.4rem;
}
.comment-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: start;
}
.comment-column {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  background: rgba(20, 43, 38, 0.62);
  border: 1px solid rgba(184, 147, 63, 0.14);
  border-left: 2px solid var(--green-line);
  border-radius: 3px;
}
.comment-avatar {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(184, 147, 63, 0.68), transparent 60%),
    linear-gradient(150deg, #2c5c50, #10231f);
  border: 1px solid rgba(184, 147, 63, 0.38);
}
.comment-body {
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
  min-width: 0;
}
.comment-nickname {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
}
.comment-text {
  font-size: 0.79rem;
  line-height: 1.62;
  color: var(--text-main);
  overflow-wrap: anywhere;
}
.recommend-region {
  margin-bottom: 1.15rem;
}
.region-heading {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--red-accent);
}
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: start;
}
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.4rem;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(160deg, rgba(26, 53, 48, 0.72), rgba(13, 31, 28, 0.86));
  border: 1px solid rgba(184, 147, 63, 0.16);
  border-radius: 4px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
a.recommend-card:hover {
  border-color: rgba(184, 147, 63, 0.55);
  transform: translateY(-1px);
}
[data-runtime="recommendation"] img, .recommend-pic {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(184, 147, 63, 0.2);
  background: #08120f;
}
.recommend-name {
  font-family: "STKaiti", "KaiTi", "Kaiti SC", "Songti SC", serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ded3b5;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recommend-blurb {
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  border-top: 1px solid rgba(184, 147, 63, 0.22);
  background: rgba(8, 18, 15, 0.94);
  padding: 1rem 1rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
  text-align: center;
}
.footer-disclaimer {
  max-width: 760px;
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  justify-content: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"], .footer-link {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover, .footer-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  max-width: 900px;
}
.friend-links-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
}
a.runtime-friend-link {
  display: inline-block;
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  color: var(--parchment-dim);
  text-decoration: none;
  padding: 0.12rem 0.55rem;
  border: 1px solid rgba(184, 147, 63, 0.22);
  border-radius: 999px;
  background: rgba(30, 74, 65, 0.24);
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-friend-link:hover {
  color: var(--gold);
  border-color: var(--gold-soft);
  background: rgba(30, 74, 65, 0.5);
}
@media (max-width: 900px) {.episode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.recommend-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}
@media (max-width: 760px) {.overview-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
  }
.poster-frame {
    max-width: 260px;
  }
.movie-title {
    font-size: 1.4rem;
  }
.comment-columns {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}
@media (max-width: 520px) {body {
    font-size: 14px;
  }
.page-main {
    padding: 0.7rem 0.7rem 1.8rem;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.05rem 0;
  }
.detail-value {
    margin-bottom: 0.22rem;
  }
.status-play {
    margin-left: 0;
  }
.player-controls input[type="range"] {
    flex: 1 1 100%;
  }
.section-heading {
    font-size: 1rem;
  }}

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}
