*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, ol, li, dl, dt, dd, figure, figcaption {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:root {
  --ink: #1c1a16;
  --ink-soft: #3a362e;
  --ash: #5d5a51;
  --parchment: #d9d2c2;
  --parchment-dim: #c3bba8;
  --wall: #2b2f28;
  --wall-deep: #1a1d18;
  --moss: #4a5445;
  --moss-soft: #6a7460;
  --brass: #c39a52;
  --brass-bright: #e0bd77;
  --wine: #5c3a30;
  --rule: rgba(195, 154, 82, 0.28);
  --rule-soft: rgba(195, 154, 82, 0.14);
  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
html { background: var(--wall-deep); }
body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--parchment);
  background:
    radial-gradient(120% 80% at 78% -10%, rgba(195, 154, 82, 0.10), transparent 60%),
    linear-gradient(180deg, var(--wall-deep) 0%, #20241e 45%, #191c17 100%);
  background-attachment: fixed;
  padding: 0 clamp(10px, 2.4vw, 28px);
  overflow-x: hidden;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0 calc(-1 * clamp(10px, 2.4vw, 28px));
  padding: 0 clamp(10px, 2.4vw, 28px);
  background: linear-gradient(180deg, rgba(16, 18, 14, 0.96), rgba(16, 18, 14, 0.82));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 0;
  flex-wrap: wrap;
}
a[data-contract="site-name"].brand-name {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--brass-bright);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a[data-contract="site-name"].brand-name:hover {
  color: var(--parchment);
  border-bottom-color: var(--rule);
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--parchment-dim);
  text-decoration: none;
  padding: 3px 9px;
  border: 1px solid var(--rule-soft);
  border-radius: 1px;
  background: rgba(195, 154, 82, 0.05);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--brass-bright);
  border-color: var(--rule);
  background: rgba(195, 154, 82, 0.12);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 26px;
}
.page-main > section {
  margin-top: 26px;
}
.page-main > section:first-child { margin-top: 14px; }
.hero-section {
  position: relative;
}
.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  min-height: 300px;
  border: 1px solid var(--rule-soft);
  background: linear-gradient(160deg, #23261f 0%, #171a15 100%);
  overflow: hidden;
}
.hero-figure {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(12, 14, 11, 0.15), rgba(12, 14, 11, 0.85)),
    linear-gradient(105deg, #3a4034 0%, #23271f 55%, #15180f 100%);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 46% at 74% 26%, rgba(224, 189, 119, 0.20), transparent 68%),
    linear-gradient(180deg, transparent 40%, rgba(10, 12, 9, 0.72) 100%);
  pointer-events: none;
}
.hero-housekeeper {
  position: absolute;
  left: 16%;
  bottom: 0;
  width: 30%;
  height: 88%;
  background: linear-gradient(180deg, #4c5145 0%, #31362c 42%, #1a1d17 100%);
  border-radius: 44% 46% 0 0 / 22% 24% 0 0;
  clip-path: polygon(38% 0, 62% 0, 74% 12%, 82% 34%, 86% 62%, 100% 100%, 0 100%, 14% 62%, 18% 34%, 26% 12%);
  box-shadow: inset -18px 0 34px rgba(0, 0, 0, 0.55);
  opacity: 0.96;
}
.hero-staircase {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
  height: 92%;
  background:
    repeating-linear-gradient(163deg,
      rgba(0, 0, 0, 0.62) 0px,
      rgba(0, 0, 0, 0.62) 9px,
      rgba(88, 92, 74, 0.30) 9px,
      rgba(88, 92, 74, 0.30) 20px),
    linear-gradient(200deg, #35392e 0%, #1b1e17 70%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 34% 62%, 58% 30%);
  opacity: 0.9;
}
.hero-lamp {
  position: absolute;
  top: 14%;
  right: 30%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #f2d99a 0%, #c39a52 34%, rgba(195, 154, 82, 0.16) 62%, transparent 74%);
  box-shadow: 0 0 60px 22px rgba(224, 189, 119, 0.28);
  opacity: 0.94;
}
.hero-lamp::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30px;
  width: 3px;
  height: 34px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(195, 154, 82, 0.7), transparent);
}
.hero-ledger-crop {
  position: absolute;
  right: 3%;
  bottom: 6%;
  width: 30%;
  height: 42%;
  transform: rotate(-3deg);
  background:
    repeating-linear-gradient(180deg,
      rgba(217, 210, 194, 0.10) 0px,
      rgba(217, 210, 194, 0.10) 1px,
      transparent 1px,
      transparent 13px),
    linear-gradient(150deg, #d6cdb6 0%, #b8ad92 55%, #8d846c 100%);
  border: 1px solid rgba(28, 26, 22, 0.55);
  box-shadow: -10px 12px 26px rgba(0, 0, 0, 0.62);
  opacity: 0.92;
}
.hero-ledger-crop::after {
  content: "";
  position: absolute;
  inset: 8% 10%;
  background:
    repeating-linear-gradient(90deg,
      rgba(60, 40, 28, 0.35) 0px,
      rgba(60, 40, 28, 0.35) 2px,
      transparent 2px,
      transparent 22px);
  opacity: 0.7;
}
.hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: clamp(18px, 3vw, 34px) clamp(16px, 3vw, 34px);
  background: linear-gradient(90deg, rgba(15, 17, 13, 0.0), rgba(15, 17, 13, 0.62) 34%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 3.6vw, 40px);
  line-height: 1.22;
  letter-spacing: 0.03em;
  color: var(--parchment);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}
.hero-tagline {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--brass-bright);
  padding-left: 14px;
  border-left: 2px solid var(--rule);
  max-width: 34ch;
}
.player-shell {
  position: relative;
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--rule-soft);
  background: #0d0f0b;
  overflow: hidden;
}
.player-shell video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(28, 31, 24, 0.96), rgba(14, 16, 12, 0.98));
  border-top: 1px solid var(--rule-soft);
}
.player-btn {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  color: var(--parchment-dim);
  background: rgba(195, 154, 82, 0.06);
  border: 1px solid var(--rule-soft);
  border-radius: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.player-btn:hover { color: var(--brass-bright); border-color: var(--rule); }
.player-btn.is-active, .player-btn.play.is-active {
  color: #1c1a16;
  background: var(--brass);
  border-color: var(--brass-bright);
}
.player-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(217, 210, 194, 0.18);
  border-radius: 2px;
  cursor: pointer;
}
.player-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brass-bright);
  border: none;
}
.player-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: var(--brass-bright);
}
.player-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(217, 210, 194, 0.18);
  border-radius: 2px;
  cursor: pointer;
}
.player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brass);
}
.player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--brass);
}
.poster-panel {
  margin-top: 10px;
  width: min(100%, 220px);
  border: 1px solid var(--rule-soft);
  background: rgba(20, 23, 18, 0.6);
  padding: 8px;
  align-self: start;
}
.poster-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(28, 26, 22, 0.6);
  filter: saturate(0.82) contrast(1.06) brightness(0.94);
}
.poster-caption {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ash);
  text-align: center;
  text-transform: uppercase;
}
.episode-status { margin-top: 10px; }
.status-line {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--brass-bright);
  padding: 5px 12px;
  border: 1px solid var(--rule);
  background: rgba(195, 154, 82, 0.08);
}
.cast-block {
  margin-top: 22px;
  border-top: 1px solid var(--rule-soft);
  padding-top: 14px;
}
.cast-heading, .synopsis-heading, .details-heading, .timeline-heading, .episodes-heading, .comments-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.22em;
  color: var(--brass-bright);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cast-heading::after, .synopsis-heading::after, .details-heading::after, .timeline-heading::after, .episodes-heading::after, .comments-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--rule), transparent);
}
.cast-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border: 1px solid var(--rule-soft);
  background: rgba(24, 27, 21, 0.62);
  min-width: 0;
}
.cast-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #6a7460 0%, #3d4438 52%, #22261d 100%);
  border: 1px solid var(--rule);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
}
.cast-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cast-name {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--parchment);
  letter-spacing: 0.04em;
}
.cast-role {
  font-size: 11px;
  line-height: 1.35;
  color: var(--ash);
}
.synopsis-block {
  margin-top: 22px;
  border-top: 1px solid var(--rule-soft);
  padding-top: 14px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: var(--parchment-dim);
  text-align: justify;
}
.synopsis-para + .synopsis-para { margin-top: 8px; }
.synopsis-para::first-letter {
  font-family: var(--serif);
  color: var(--brass);
}
.details-block {
  margin-top: 22px;
  border-top: 1px solid var(--rule-soft);
  padding-top: 14px;
}
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0 20px;
  border-top: 1px solid var(--rule-soft);
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--rule-soft);
  min-width: 0;
}
.detail-key {
  flex: 0 0 auto;
  min-width: 62px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ash);
}
.detail-value {
  flex: 1 1 auto;
  font-size: 13px;
  color: var(--parchment);
  letter-spacing: 0.02em;
}
.timeline-section {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.timeline-ruler {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
}
.timeline-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: 780px;
  padding-top: 20px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule) 6%, var(--rule) 94%, transparent);
}
.timeline-node {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 12px 0 0;
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: -16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wall-deep);
  border: 1px solid var(--brass);
  box-shadow: 0 0 0 3px rgba(195, 154, 82, 0.12);
}
.timeline-date {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brass-bright);
  margin-bottom: 3px;
}
.timeline-label {
  display: block;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ash);
  padding-right: 10px;
  border-right: 1px solid var(--rule-soft);
}
.timeline-node:last-child .timeline-label { border-right: none; }
.episodes-section {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 22px;
  align-items: start;
}
.episode-card {
  padding: 9px 0 10px;
  border-bottom: 1px solid var(--rule-soft);
  min-width: 0;
}
.episode-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--parchment);
  margin-bottom: 3px;
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ash);
}
.episode-duration {
  display: inline-block;
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--brass);
}
.comments-section {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}
.comments-columns {
  columns: 2;
  column-gap: 26px;
}
.comments-list {
  display: block;
  break-inside: avoid;
}
.comment-item {
  break-inside: avoid;
  padding: 8px 0 9px;
  border-bottom: 1px solid var(--rule-soft);
  min-width: 0;
}
.comment-nickname {
  display: block;
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--brass-bright);
  margin-bottom: 3px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--parchment-dim);
}
.recommend-region {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.recommend-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--brass-bright);
  text-align: left;
  margin-bottom: 8px;
}
.recommend-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0 20px;
  align-items: start;
}
.recommend-item {
  border-bottom: 1px solid var(--rule-soft);
  min-width: 0;
}
a[data-runtime="recommendation"] {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  padding: 9px 0;
  color: var(--parchment-dim);
  text-decoration: none;
  transition: color 0.18s ease;
}
a[data-runtime="recommendation"]:hover, a[data-runtime="recommendation"]:focus-visible {
  color: var(--brass-bright);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  grid-row: 1 / span 2;
  border: 1px solid rgba(28, 26, 22, 0.55);
  filter: saturate(0.8) contrast(1.05) brightness(0.9);
  transition: filter 0.2s ease;
}
a[data-runtime="recommendation"]:hover img { filter: saturate(0.95) brightness(1); }
[data-runtime="recommendation"] [data-runtime="name"] {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: var(--parchment);
  align-self: end;
}
[data-runtime="recommendation"] [data-runtime="blurb"] {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ash);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 0 34px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ash);
  max-width: 78ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--brass);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--brass-bright);
  border-bottom-color: var(--rule);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--ash);
}
a.runtime-friend-link {
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--moss-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--brass-bright);
  text-decoration: underline;
}
body.theater-mode .page-main { max-width: 100%; }
body.theater-mode .player-shell {
  position: relative;
  z-index: 30;
  margin-left: calc(-1 * clamp(10px, 2.4vw, 28px));
  margin-right: calc(-1 * clamp(10px, 2.4vw, 28px));
  border-left: none;
  border-right: none;
}
body.lights-dim { filter: brightness(0.72) contrast(1.06); }
body.lights-dim .player-shell { filter: brightness(1.38); }
.player-shell .fullscreen, .player-shell .pip, .player-shell .theater, .player-btn .x { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {.hero-shell {
    grid-template-columns: minmax(0, 1fr);
  }
.hero-figure { min-height: 240px; }
.hero-copy {
    background: linear-gradient(180deg, rgba(15, 17, 13, 0.35), rgba(15, 17, 13, 0.88) 60%);
    margin-top: -64px;
  }
.hero-lamp { right: 22%; width: 60px; height: 60px; }}
@media (max-width: 720px) {body { font-size: 13.5px; }
.hero-figure { min-height: 200px; }
.hero-ledger-crop { width: 36%; height: 46%; }
.hero-housekeeper { width: 34%; }
.player-controls { gap: 5px; }
.player-progress { flex: 1 1 100%; order: -1; }
.player-volume { flex: 1 1 70px; }
.poster-panel { width: min(100%, 190px); }
.cast-row { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.details-list { grid-template-columns: minmax(0, 1fr); }
.episodes-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.comments-columns { columns: 1; }
.recommend-list { grid-template-columns: minmax(0, 1fr); }
.timeline-track { min-width: 620px; }}
@media (max-width: 460px) {.header-bar { justify-content: flex-start; gap: 6px; }
.category-nav { justify-content: flex-start; }
.hero-figure { min-height: 168px; }
.hero-copy { padding: 14px 14px 16px; }
.hero-tagline { max-width: 100%; }
.player-btn { font-size: 11px; padding: 4px 7px; }
.poster-panel { width: min(100%, 160px); }
.cast-row { grid-template-columns: minmax(0, 1fr); }
.timeline-track { min-width: 520px; }
a[data-runtime="recommendation"] {
    grid-template-columns: 56px minmax(0, 1fr);
  }}
@media (min-width: 1024px) {.episodes-grid { 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}
