*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #14100d;
  --ink-deep: #0c0a08;
  --ash: #1e1913;
  --rust: #7c3b2a;
  --rust-dim: #4a261d;
  --gobi: #8c8275;
  --gobi-warm: #a89a86;
  --parchment: #e0d5c0;
  --parchment-dim: #b3a68e;
  --moon: #d8d2c4;
  --ember: #c98a4b;
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: "PingFang SC", "Helvetica Neue", "Helvetica", "Arial Narrow", sans-serif;
  --narrow: "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", "PingFang SC", sans-serif;
  --hair: rgba(224, 213, 192, 0.14);
  --hair-strong: rgba(224, 213, 192, 0.28);
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--serif);
  background: var(--ink-deep);
  color: var(--parchment);
  line-height: 1.5;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  background-image:
    radial-gradient(120% 60% at 80% -10%, rgba(124, 59, 42, 0.22), transparent 60%),
    radial-gradient(90% 50% at 5% 5%, rgba(140, 130, 117, 0.10), transparent 55%),
    linear-gradient(180deg, #0c0a08 0%, #14100d 30%, #16110d 100%);
}
img { max-width: 100%; display: block; }
a { color: var(--parchment); text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: 0.02em; }
.page-main {
  display: block;
  width: 100%;
  padding: 0 0 0.5rem;
}
.section-heading {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--parchment);
  padding: 0.55rem 0 0.4rem;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 0.7rem;
  position: relative;
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 2.6rem;
  height: 2px;
  background: var(--rust);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 10, 8, 0.86);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--hair);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem clamp(0.7rem, 2.4vw, 1.6rem);
  max-width: 1180px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: var(--parchment);
  text-decoration: none;
  white-space: nowrap;
  border-left: 2px solid var(--rust);
  padding-left: 0.5rem;
}
a[data-contract="site-name"]:hover { color: var(--ember); }
.categories-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.55rem;
  justify-content: flex-end;
  min-width: 0;
}
a.runtime-category {
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--gobi-warm);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.16rem 0.42rem;
  border: 1px solid var(--hair);
  background: rgba(224, 213, 192, 0.03);
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
a.runtime-category:hover {
  color: var(--ink-deep);
  background: var(--gobi-warm);
  border-color: var(--gobi-warm);
}
.hero-zone {
  position: relative;
  width: 100%;
  min-height: 62vh;
  overflow: hidden;
  border-bottom: 1px solid var(--hair);
  background:
    linear-gradient(180deg, #0a0908 0%, #171210 46%, #241812 78%, #2b1a13 100%);
  isolation: isolate;
}
.hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 55% at 78% 82%, rgba(124, 59, 42, 0.30), transparent 70%),
    radial-gradient(60% 40% at 20% 30%, rgba(140, 130, 117, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(8, 7, 6, 0.9) 0%, rgba(20, 15, 12, 0.55) 55%, rgba(43, 26, 19, 0.85) 100%);
  z-index: -3;
}
.moon-vein {
  position: absolute;
  top: 9%;
  left: 26%;
  width: clamp(64px, 13vw, 150px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--moon) 22%, var(--moon) 78%, transparent);
  transform: rotate(-6deg);
  opacity: 0.82;
  filter: drop-shadow(0 0 6px rgba(216, 210, 196, 0.5));
}
.moon-vein::after {
  content: "";
  position: absolute;
  left: 34%;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(216, 210, 196, 0.75), transparent 70%);
}
.hero-statue-right {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 66%;
  height: 100%;
  z-index: -1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}
.statue-silhouette {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(58% 44% at 62% 26%, rgba(40, 32, 26, 0.95), transparent 72%),
    linear-gradient(200deg, rgba(28, 22, 18, 0.2) 0%, rgba(16, 12, 10, 0.92) 62%, #0b0908 100%);
  clip-path: polygon(
    46% 0%, 60% 2%, 72% 9%, 80% 21%, 84% 36%, 86% 54%, 92% 70%,
    100% 86%, 100% 100%, 0% 100%, 8% 88%, 22% 74%, 32% 58%,
    38% 40%, 40% 22%, 42% 9%
  );
  opacity: 0.96;
  filter: blur(0.4px) contrast(1.05);
}
.statue-silhouette::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 138, 75, 0.10), transparent 68%);
}
.hero-figure-left {
  position: absolute;
  left: clamp(0.8rem, 4vw, 3.4rem);
  bottom: 22%;
  width: min(38%, 15rem);
  z-index: 2;
  padding-left: 0.7rem;
  border-left: 1px solid var(--hair-strong);
}
.hero-figure-caption {
  font-family: var(--serif);
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  color: var(--parchment-dim);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.hero-words {
  position: relative;
  z-index: 3;
  max-width: min(46%, 30rem);
  padding: clamp(3.2rem, 12vh, 8rem) 0 3.4rem clamp(0.9rem, 5vw, 3.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 6.4vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.02;
  color: #efe6d4;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.92), 0 0 2px rgba(0, 0, 0, 0.8);
}
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(0.82rem, 1.9vw, 1rem);
  letter-spacing: 0.16em;
  line-height: 1.7;
  color: var(--parchment-dim);
  max-width: 22rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}
.timeline-section {
  padding: 0.9rem clamp(0.7rem, 2.4vw, 1.6rem) 1.1rem;
  max-width: 1180px;
  margin: 0 auto;
  border-bottom: 1px solid var(--hair);
}
.timeline-track {
  list-style: none;
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.75rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--rust-dim) transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: rgba(224, 213, 192, 0.05); }
.timeline-track::-webkit-scrollbar-thumb { background: var(--rust-dim); }
.timeline-node {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: clamp(8.4rem, 19vw, 11rem);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem 0.55rem 0.55rem;
  background:
    linear-gradient(180deg, rgba(224, 213, 192, 0.045), rgba(224, 213, 192, 0.012));
  border: 1px solid var(--hair);
  border-top: 2px solid rgba(224, 213, 192, 0.16);
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.node-mark {
  display: block;
  width: 100%;
  height: 10px;
  background:
    linear-gradient(90deg, transparent 0, var(--gobi) 8%, var(--gobi) 46%, transparent 52%, var(--gobi) 58%, var(--gobi) 92%, transparent 100%);
  opacity: 0.5;
  clip-path: polygon(0 42%, 34% 0, 52% 62%, 70% 8%, 100% 46%, 100% 66%, 68% 100%, 50% 34%, 32% 92%, 0 58%);
}
.node-timecode {
  font-family: var(--narrow);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--ember);
  font-variant-numeric: tabular-nums;
}
.node-label {
  font-family: var(--serif);
  font-size: 0.8rem;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: var(--parchment-dim);
}
.timeline-node.is-current {
  background:
    linear-gradient(180deg, rgba(201, 138, 75, 0.14), rgba(201, 138, 75, 0.03));
  border-color: rgba(201, 138, 75, 0.42);
  border-top-color: var(--ember);
  box-shadow: 0 0 18px rgba(201, 138, 75, 0.16) inset;
}
.timeline-node.is-current .node-mark {
  opacity: 0.95;
  background: linear-gradient(90deg, transparent, var(--ember) 12%, var(--ember) 88%, transparent);
  filter: drop-shadow(0 0 5px rgba(201, 138, 75, 0.7));
}
.timeline-node.is-current .node-label { color: var(--parchment); }
.movie-overview {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem clamp(0.7rem, 2.4vw, 1.6rem) 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  background:
    linear-gradient(180deg, rgba(224, 213, 192, 0.028), rgba(224, 213, 192, 0.008));
  border: 1px solid var(--hair);
  border-left: none;
  border-right: none;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  gap: 0.95rem;
  align-items: start;
}
.poster-wrapper {
  align-self: start;
  width: 100%;
  max-width: 15rem;
  border: 1px solid var(--hair-strong);
  background: #0e0b09;
  padding: 0.3rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}
.poster-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05) brightness(0.94);
}
.overview-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}
.overview-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ece2cf;
  line-height: 1.1;
}
.overview-tagline {
  font-family: var(--serif);
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  color: var(--ember);
  border-left: 2px solid var(--rust);
  padding-left: 0.55rem;
}
.overview-seo {
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.78;
  color: var(--gobi-warm);
  letter-spacing: 0.03em;
  max-width: 52rem;
}
.player-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--hair-strong);
  background: #070605;
  padding: 0.35rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}
.player-wrapper video {
  display: block;
  width: 100%;
  background: #000;
  border: 1px solid var(--hair);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  padding: 0.45rem 0.35rem 0.2rem;
  border-top: 1px solid var(--hair);
  margin-top: 0.35rem;
}
.ctrl-btn {
  font-family: var(--serif);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--parchment-dim);
  background: rgba(224, 213, 192, 0.05);
  border: 1px solid var(--hair);
  padding: 0.22rem 0.5rem;
  cursor: pointer;
  transition: color 0.16s, background 0.16s, border-color 0.16s;
  white-space: nowrap;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: var(--ink-deep);
  background: var(--gobi-warm);
  border-color: var(--gobi-warm);
  outline: none;
}
.ctrl-btn.is-active, .ctrl-btn.is-playing, .ctrl-btn.is-muted {
  color: var(--ink-deep);
  background: var(--ember);
  border-color: var(--ember);
}
.ctrl-progress, .ctrl-volume {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(224, 213, 192, 0.16);
  border: none;
  cursor: pointer;
}
.ctrl-progress { flex: 1 1 8rem; min-width: 6rem; }
.ctrl-volume { flex: 0 1 5rem; min-width: 4rem; }
.ctrl-progress::-webkit-slider-thumb, .ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ember);
  border: 1px solid #2a1c12;
  box-shadow: 0 0 6px rgba(201, 138, 75, 0.6);
}
.ctrl-progress::-moz-range-thumb, .ctrl-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ember);
  border: 1px solid #2a1c12;
}
.overview-details { min-width: 0; }
.details-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr));
  gap: 0 1rem;
  align-items: start;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.24rem 0;
  border-bottom: 1px dotted rgba(224, 213, 192, 0.13);
  min-width: 0;
}
.detail-key {
  font-family: var(--serif);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--gobi);
  flex: 0 0 4.4rem;
  white-space: nowrap;
}
.detail-value {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--parchment);
  min-width: 0;
}
.overview-episode-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  align-items: baseline;
  padding: 0.42rem 0.6rem;
  border-left: 2px solid var(--rust);
  background: rgba(124, 59, 42, 0.12);
  align-self: start;
}
.status-total {
  font-family: var(--narrow);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--parchment);
}
.status-current {
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--ember);
}
.overview-cast { min-width: 0; }
.cast-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 6.6rem), 1fr));
  gap: 0.4rem;
  align-items: start;
}
.cast-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem 0.45rem 0.55rem;
  background: linear-gradient(180deg, rgba(224, 213, 192, 0.05), rgba(224, 213, 192, 0.012));
  border: 1px solid var(--hair);
  border-bottom: 2px solid var(--rust-dim);
  min-height: 8.6rem;
  transition: border-color 0.2s, background 0.2s;
}
.cast-card:hover {
  border-bottom-color: var(--ember);
  background: linear-gradient(180deg, rgba(201, 138, 75, 0.1), rgba(224, 213, 192, 0.02));
}
.cast-name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--parchment);
  line-height: 1.1;
  align-self: flex-start;
}
.cast-note {
  font-family: var(--sans);
  font-size: 0.67rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--gobi);
  margin-top: auto;
}
.overview-synopsis { min-width: 0; }
.synopsis-body {
  columns: 2;
  column-gap: 1.4rem;
  column-rule: 1px solid var(--hair);
}
.synopsis-para {
  font-family: var(--serif);
  font-size: 0.82rem;
  line-height: 1.86;
  letter-spacing: 0.04em;
  color: var(--gobi-warm);
  margin-bottom: 0.6rem;
  break-inside: avoid;
}
.synopsis-para:first-child::first-letter {
  font-size: 1.5em;
  color: var(--ember);
  line-height: 1;
}
.episodes-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem clamp(0.7rem, 2.4vw, 1.6rem) 1rem;
  border-bottom: 1px solid var(--hair);
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: start;
}
.episode-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem 0.6rem 0.55rem;
  background: linear-gradient(180deg, rgba(224, 213, 192, 0.04), rgba(224, 213, 192, 0.01));
  border: 1px solid var(--hair);
  border-left: 2px solid var(--rust-dim);
  transition: border-left-color 0.2s, background 0.2s;
}
.episode-card:hover {
  border-left-color: var(--ember);
  background: linear-gradient(180deg, rgba(201, 138, 75, 0.08), rgba(224, 213, 192, 0.015));
}
.episode-title {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--parchment);
  line-height: 1.3;
}
.episode-summary {
  font-family: var(--sans);
  font-size: 0.71rem;
  line-height: 1.62;
  letter-spacing: 0.02em;
  color: var(--gobi);
}
.episode-duration {
  font-family: var(--narrow);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--ember);
  align-self: flex-start;
  border-top: 1px solid var(--hair);
  padding-top: 0.24rem;
  margin-top: 0.1rem;
  width: 100%;
}
.recommend-region {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem clamp(0.7rem, 2.4vw, 1.6rem) 0.95rem;
  border-bottom: 1px solid var(--hair);
}
.recommend-heading {
  font-size: 0.9rem;
  letter-spacing: 0.26em;
}
.recommend-track {
  display: grid;
  gap: 0.5rem;
  align-items: start;
}
.region-1 .recommend-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.region-2 .recommend-track { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.region-3 .recommend-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.4rem 0.4rem 0.5rem;
  background: linear-gradient(180deg, rgba(224, 213, 192, 0.045), rgba(224, 213, 192, 0.01));
  border: 1px solid var(--hair);
  color: var(--parchment);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
a.recommend-card:hover {
  border-color: var(--hair-strong);
  background: linear-gradient(180deg, rgba(201, 138, 75, 0.1), rgba(224, 213, 192, 0.02));
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  display: block;
  background: #0e0b09;
  filter: saturate(0.76) contrast(1.05) brightness(0.92);
  border: 1px solid var(--hair);
}
.recommend-name {
  font-family: var(--serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  color: var(--parchment);
}
.recommend-blurb {
  font-family: var(--sans);
  font-size: 0.67rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--gobi);
}
.comments-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem clamp(0.7rem, 2.4vw, 1.6rem) 1.4rem;
  border-bottom: 1px solid var(--hair);
}
.comments-scatter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.7rem 0.65rem;
  align-items: start;
}
.comment-note {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  padding: 0.6rem 0.7rem 0.6rem 0.8rem;
  background:
    linear-gradient(180deg, rgba(224, 213, 192, 0.075), rgba(224, 213, 192, 0.025));
  border: 1px solid var(--hair);
  border-left: 3px solid var(--rust-dim);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-left-color 0.25s, box-shadow 0.25s;
}
.comment-text {
  font-family: var(--serif);
  font-size: 0.79rem;
  line-height: 1.72;
  letter-spacing: 0.03em;
  color: var(--parchment);
}
.comment-nickname {
  font-family: var(--narrow);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--ember);
  align-self: flex-end;
}
.comment-nickname::before { content: "—— "; opacity: 0.6; }
.note-a { transform: rotate(-1.4deg); }
.note-b { transform: rotate(0.9deg) translateY(0.5rem); }
.note-c { transform: rotate(-0.6deg) translateY(-0.3rem); }
.note-d { transform: rotate(1.6deg); }
.note-e { transform: rotate(-1.1deg) translateY(0.4rem); }
.note-f { transform: rotate(0.7deg) translateY(-0.45rem); }
.comment-note:hover {
  transform: rotate(0deg) translateY(0);
  border-left-color: var(--ember);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.site-footer {
  border-top: 1px solid var(--hair);
  background: linear-gradient(180deg, rgba(12, 10, 8, 0.6), #080706);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem clamp(0.7rem, 2.4vw, 1.6rem) 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-disclaimer {
  font-family: var(--sans);
  font-size: 0.68rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: rgba(179, 166, 142, 0.72);
  max-width: 60rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--serif);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  color: var(--gobi-warm);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s, border-color 0.16s;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--ember);
  border-bottom-color: var(--ember);
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--hair);
}
.friend-links-label {
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--gobi);
  white-space: nowrap;
}
a.runtime-friend-link {
  font-family: var(--sans);
  font-size: 0.71rem;
  letter-spacing: 0.03em;
  color: var(--parchment-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.1rem 0.34rem;
  border: 1px solid var(--hair);
  transition: color 0.16s, border-color 0.16s, background 0.16s;
}
a.runtime-friend-link:hover {
  color: var(--ink-deep);
  background: var(--gobi-warm);
  border-color: var(--gobi-warm);
}
body.lights-off .page-main { opacity: 0.86; }
body.lights-off .player-wrapper { box-shadow: 0 0 0 1px rgba(201, 138, 75, 0.4), 0 0 46px rgba(201, 138, 75, 0.2); }
body.theater-mode .player-wrapper {
  position: relative;
  z-index: 30;
  box-shadow: 0 0 0 1px rgba(201, 138, 75, 0.35), 0 24px 60px rgba(0, 0, 0, 0.8);
}
.player-wrapper:fullscreen, .player-wrapper:-webkit-full-screen {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: #000;
  display: flex;
  align-items: center;
}
.player-wrapper:fullscreen video, .player-wrapper:-webkit-full-screen video {
  width: 100%;
  height: auto;
  max-height: 100%;
}
@media (max-width: 1024px) {.region-2 .recommend-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.region-1 .recommend-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
@media (max-width: 860px) {.overview-grid { grid-template-columns: minmax(0, 1fr); }
.poster-wrapper { max-width: 12rem; }
.synopsis-body { columns: 1; }
.hero-zone { min-height: 56vh; }
.hero-statue-right { width: 78%; }
.region-1 .recommend-track, .region-2 .recommend-track, .region-3 .recommend-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 640px) {.header-inner { flex-wrap: wrap; gap: 0.4rem; }
.categories-bar { justify-content: flex-start; }
.hero-zone { min-height: 48vh; }
.hero-statue-right { width: 88%; }
.hero-words { max-width: 76%; padding: 2.6rem 0 2.4rem 0.9rem; }
.hero-figure-left { bottom: 14%; width: 62%; }
.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 5.6rem), 1fr)); }
.cast-card { min-height: 7.6rem; }
.region-1 .recommend-track, .region-2 .recommend-track, .region-3 .recommend-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comments-scatter { grid-template-columns: minmax(0, 1fr); }
.note-a, .note-b, .note-c, .note-d, .note-e, .note-f { transform: rotate(0deg) translateY(0); }
.player-controls { gap: 0.3rem; }
.ctrl-progress { flex: 1 1 100%; }}
@media (max-width: 420px) {.hero-words { max-width: 88%; }
.region-1 .recommend-track, .region-2 .recommend-track, .region-3 .recommend-track { grid-template-columns: minmax(0, 1fr); }
.detail-key { flex-basis: 3.8rem; }}
@media (prefers-reduced-motion: reduce) {* { transition: none !important; }
.comment-note { transform: none !important; }}

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}
