*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, dl, dd, dt, ul, li {
  margin: 0;
  padding: 0;
}
ul { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
:root {
  --ink: #0b1116;
  --ink-2: #101a22;
  --night: #0e1a24;
  --night-2: #13232e;
  --slate: #26343d;
  --grey-green: #566b6a;
  --grey-green-2: #6f8480;
  --parchment: #d8d2c4;
  --parchment-dim: #a9a496;
  --gold: #c39a4c;
  --gold-dim: #8a6f38;
  --blood: #7c2126;
  --blood-2: #5a171b;
  --rule: rgba(195, 154, 76, 0.22);
  --rule-soft: rgba(216, 210, 196, 0.1);
  --slip: #e6dfd0;
  --slip-ink: #23282a;
  --font-song: "Songti SC", "STSong", "SimSun", "Noto Serif SC", "Source Han Serif SC", serif;
  --font-hei: "Heiti SC", "STHeiti", "PingFang SC", "Microsoft YaHei", sans-serif;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(38, 52, 61, 0.55) 0%, rgba(11, 17, 22, 0) 60%),
    linear-gradient(180deg, #0b1116 0%, #0d1620 40%, #0a1218 100%);
  color: var(--parchment);
  font-family: var(--font-song);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
body.lights-off {
  background-image: linear-gradient(180deg, #05080a 0%, #05080a 100%);
}
body.lights-off .hero-coffin, body.lights-off .movie-overview, body.lights-off .timeline-section, body.lights-off .episodes-section, body.lights-off .comments-section, body.lights-off .recommendations-region {
  filter: brightness(0.72) contrast(1.05);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 18px;
  background: linear-gradient(180deg, rgba(8, 13, 17, 0.96) 0%, rgba(8, 13, 17, 0.86) 100%);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
}
.header-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
a[data-contract="site-name"] {
  font-family: var(--font-song);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(195, 154, 76, 0.35);
}
a[data-contract="site-name"]:hover, a[data-contract="site-name"]:focus-visible {
  color: #e2bb6c;
  text-decoration: underline;
}
.site-name {
  display: inline-block;
  padding-left: 0.28em;
}
.categories-bar {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 10px;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--font-hei);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--grey-green-2);
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--gold);
  border-color: var(--rule);
  text-decoration: none;
}
.main-content {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px 34px;
}
.hero-coffin {
  position: relative;
  margin: 0 -18px;
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 50% 62%, rgba(124, 33, 38, 0.18) 0%, rgba(11, 17, 22, 0) 70%),
    linear-gradient(180deg, #0a141c 0%, #0c1a22 55%, #081013 100%);
  border-bottom: 1px solid var(--rule);
}
.coffin-stage {
  position: relative;
  width: min(920px, 88vw);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.coffin-lid {
  position: absolute;
  inset: 12% 6% 12% 6%;
  background:
    linear-gradient(180deg, #1d2a33 0%, #16222b 48%, #101a22 100%);
  border: 1px solid rgba(195, 154, 76, 0.28);
  border-radius: 4px 4px 18px 18px / 4px 4px 26px 26px;
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.72),
    inset 0 0 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(195, 154, 76, 0.18);
  transform: perspective(1400px) rotateX(4deg);
}
.coffin-seam {
  position: absolute;
  top: 50%;
  left: 6%;
  right: 6%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(8, 13, 17, 0.9) 0%, rgba(8, 13, 17, 0.72) 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.hero-tagline {
  max-width: 100%;
  font-family: var(--font-song);
  font-size: clamp(16px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-align: center;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(195, 154, 76, 0.45), 0 2px 4px rgba(0, 0, 0, 0.8);
}
.silhouette {
  position: absolute;
  bottom: 0;
  width: 20%;
  height: 68%;
  z-index: 4;
  background: linear-gradient(180deg, rgba(6, 10, 13, 0) 0%, rgba(6, 10, 13, 0.85) 40%, rgba(4, 8, 10, 0.98) 100%);
  pointer-events: none;
}
.silhouette-left {
  left: 0;
  clip-path: polygon(38% 100%, 44% 58%, 40% 44%, 48% 30%, 46% 16%, 54% 6%, 62% 16%, 60% 32%, 68% 46%, 64% 60%, 72% 100%);
}
.silhouette-right {
  right: 0;
  clip-path: polygon(28% 100%, 36% 60%, 32% 46%, 40% 32%, 38% 16%, 46% 6%, 54% 16%, 52% 30%, 60% 44%, 56% 58%, 62% 100%);
}
.lantern-glow {
  position: absolute;
  top: 20%;
  left: 12%;
  width: 130px;
  height: 130px;
  z-index: 3;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 178, 84, 0.55) 0%, rgba(195, 154, 76, 0.22) 35%, rgba(195, 154, 76, 0) 70%);
  filter: blur(2px);
  pointer-events: none;
}
.shroud-gold {
  position: absolute;
  right: 14%;
  bottom: 14%;
  width: 46%;
  height: 2px;
  z-index: 3;
  background: linear-gradient(90deg, rgba(195, 154, 76, 0) 0%, rgba(195, 154, 76, 0.7) 40%, rgba(124, 33, 38, 0.6) 100%);
  pointer-events: none;
}
.movie-overview {
  position: relative;
  margin-top: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  grid-template-areas:
    "poster title"
    "poster info"
    "player player"
    "cast   cast"
    "syn    syn";
  gap: 14px 18px;
  background:
    linear-gradient(180deg, rgba(19, 35, 46, 0.92) 0%, rgba(14, 26, 36, 0.96) 100%);
  border: 1px solid var(--rule);
  border-radius: 2px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
.overview-poster-wrapper {
  grid-area: poster;
  align-self: start;
  width: 100%;
  max-width: 220px;
  border: 1px solid var(--rule);
  background: #0a1015;
  overflow: hidden;
}
.overview-poster {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.9);
}
.overview-title-block {
  grid-area: title;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule-soft);
}
.movie-title {
  font-family: var(--font-song);
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.15;
  color: var(--parchment);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6), 0 0 22px rgba(195, 154, 76, 0.18);
}
.movie-tagline {
  font-family: var(--font-song);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.movie-seo-desc {
  font-family: var(--font-hei);
  font-size: 13px;
  line-height: 1.6;
  color: var(--parchment-dim);
  max-width: 74ch;
}
.overview-info-grid {
  grid-area: info;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 200px);
  gap: 12px 18px;
  align-items: start;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule-soft);
}
.section-heading {
  font-family: var(--font-song);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold);
  padding-left: 10px;
  border-left: 3px solid var(--blood);
  margin-bottom: 8px;
  line-height: 1.2;
}
.details-heading, .status-heading, .cast-heading, .synopsis-heading, .episodes-heading, .comments-heading, .timeline-heading, .rec-heading {
  margin-bottom: 8px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 16px;
}
.detail-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 2px 0;
  border-bottom: 1px dotted rgba(216, 210, 196, 0.12);
  font-size: 13px;
}
.detail-row dt {
  flex: 0 0 4.5em;
  color: var(--grey-green-2);
  font-family: var(--font-hei);
  letter-spacing: 0.08em;
}
.detail-row dd {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--parchment);
  font-family: var(--font-hei);
}
.overview-episode-status {
  align-self: start;
  padding: 8px 10px;
  background: rgba(124, 33, 38, 0.14);
  border: 1px solid rgba(124, 33, 38, 0.4);
}
.status-text {
  font-family: var(--font-hei);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #e6c883;
}
.overview-player-wrapper {
  grid-area: player;
  position: relative;
  width: 100%;
  min-width: 0;
  background: #05090c;
  border: 1px solid var(--rule);
  padding: 0;
  overflow: hidden;
}
.overview-player-wrapper.theater-mode {
  position: fixed;
  inset: 0;
  z-index: 90;
  width: 100vw;
  max-width: none;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000;
  border: none;
}
.player-video {
  display: block;
  width: 100%;
  background: #000;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(8, 13, 17, 0.96) 0%, rgba(8, 13, 17, 0.86) 100%);
  border-top: 1px solid var(--rule-soft);
}
.ctrl-btn {
  flex: 0 0 auto;
  padding: 3px 9px;
  font-family: var(--font-hei);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--parchment-dim);
  background: rgba(38, 52, 61, 0.5);
  border: 1px solid var(--rule);
  border-radius: 1px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: var(--gold);
  border-color: var(--gold-dim);
  background: rgba(195, 154, 76, 0.1);
}
.ctrl-btn.is-playing {
  color: var(--gold);
  border-color: var(--gold-dim);
}
.ctrl-btn.is-muted {
  color: var(--blood);
  border-color: rgba(124, 33, 38, 0.6);
}
.ctrl-progress {
  flex: 1 1 160px;
  min-width: 90px;
  height: 4px;
  accent-color: var(--gold);
  background: transparent;
  cursor: pointer;
}
.ctrl-volume {
  flex: 0 1 90px;
  min-width: 60px;
  height: 4px;
  accent-color: var(--grey-green-2);
  cursor: pointer;
}
.ctrl-speed {
  flex: 0 0 auto;
  padding: 2px 6px;
  font-family: var(--font-hei);
  font-size: 12px;
  color: var(--parchment-dim);
  background: rgba(38, 52, 61, 0.6);
  border: 1px solid var(--rule);
  border-radius: 1px;
  cursor: pointer;
}
.overview-cast {
  grid-area: cast;
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  align-items: start;
}
.cast-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cast-avatar {
  width: 100%;
  max-width: 84px;
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(180deg, #223038 0%, #16222a 60%, #0d151a 100%);
  border: 1px solid var(--rule);
  filter: brightness(0.78) saturate(0.6);
  position: relative;
}
.cast-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(195, 154, 76, 0.14) 0%, rgba(11, 17, 22, 0.55) 100%);
}
.cast-name {
  font-family: var(--font-song);
  font-size: 12.5px;
  letter-spacing: 0.24em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: var(--parchment-dim);
}
.overview-synopsis {
  grid-area: syn;
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
}
.synopsis-body {
  columns: 2;
  column-gap: 26px;
  column-rule: 1px solid var(--rule-soft);
}
.synopsis-para {
  font-family: var(--font-hei);
  font-size: 13px;
  line-height: 1.72;
  color: var(--parchment-dim);
  margin-bottom: 8px;
  break-inside: avoid;
}
.synopsis-para::first-line {
  color: var(--parchment);
}
.timeline-section {
  margin-top: 20px;
  padding: 14px 16px 18px;
  background: linear-gradient(180deg, rgba(14, 26, 36, 0.7) 0%, rgba(10, 18, 24, 0.7) 100%);
  border: 1px solid var(--rule);
}
.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: 18px repeat(5, minmax(0, 1fr)) 18px;
  align-items: start;
  gap: 8px;
  padding: 22px 0 6px;
  margin-top: 6px;
}
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 27px;
  height: 2px;
  background: linear-gradient(90deg, rgba(195, 154, 76, 0.1) 0%, rgba(195, 154, 76, 0.55) 20%, rgba(86, 107, 106, 0.6) 60%, rgba(195, 154, 76, 0.16) 100%);
}
.timeline-node {
  position: relative;
  width: 12px;
  height: 12px;
  margin-top: 21px;
  justify-self: center;
  border-radius: 50%;
  background: var(--slate);
  border: 1px solid var(--rule);
}
.timeline-node-start {
  background: var(--gold-dim);
}
.timeline-node-end {
  background: var(--blood-2);
  border-color: rgba(124, 33, 38, 0.7);
}
.timeline-stop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 14px;
  text-align: center;
}
.timeline-stop::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--night-2);
  border: 1px solid var(--rule);
}
.timeline-stop-active::before {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(195, 154, 76, 0.18), 0 0 16px rgba(195, 154, 76, 0.7);
  border-color: #e2bb6c;
}
.timeline-timecode {
  font-family: var(--font-hei);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grey-green-2);
}
.timeline-stop-active .timeline-timecode {
  color: var(--gold);
}
.timeline-label {
  font-family: var(--font-song);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--parchment-dim);
  line-height: 1.35;
}
.timeline-stop-active .timeline-label {
  color: var(--parchment);
}
.episodes-section {
  margin-top: 20px;
}
.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 10px 10px;
  background: linear-gradient(180deg, rgba(19, 35, 46, 0.72) 0%, rgba(12, 21, 28, 0.85) 100%);
  border: 1px solid var(--rule-soft);
  border-left: 3px solid rgba(86, 107, 106, 0.6);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.episode-card:hover, .episode-card:focus-within {
  border-left-color: var(--gold);
  background: linear-gradient(180deg, rgba(26, 45, 58, 0.9) 0%, rgba(15, 26, 34, 0.95) 100%);
  transform: translateX(2px);
}
.episode-card-current {
  border-color: rgba(195, 154, 76, 0.5);
  border-left-color: var(--gold);
  background: linear-gradient(180deg, rgba(40, 34, 26, 0.85) 0%, rgba(18, 24, 28, 0.95) 100%);
}
.episode-number {
  font-family: var(--font-song);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--gold-dim);
}
.episode-card-current .episode-number {
  color: var(--gold);
  text-shadow: 0 0 14px rgba(195, 154, 76, 0.5);
}
.episode-title {
  font-family: var(--font-song);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--parchment);
}
.episode-hint {
  font-family: var(--font-hei);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--grey-green-2);
}
.episode-duration {
  margin-top: 2px;
  font-family: var(--font-hei);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(169, 164, 150, 0.72);
}
.episode-summary {
  font-family: var(--font-hei);
  font-size: 12px;
  line-height: 1.6;
  color: var(--parchment-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.26s ease, opacity 0.2s ease, margin 0.2s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 12em;
  opacity: 1;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dotted rgba(216, 210, 196, 0.16);
}
.comments-section {
  margin-top: 20px;
}
.comments-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
  align-items: start;
}
.comment-slip {
  position: relative;
  padding: 9px 11px 10px;
  background: linear-gradient(180deg, rgba(230, 223, 208, 0.94) 0%, rgba(214, 205, 186, 0.9) 100%);
  color: var(--slip-ink);
  border-radius: 1px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.42);
  transform: rotate(-0.35deg);
}
.comment-slip:nth-child(even) {
  transform: rotate(0.4deg);
}
.comment-slip::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 14px;
  width: 34px;
  height: 9px;
  background: rgba(124, 33, 38, 0.32);
  transform: rotate(-2deg);
}
.comment-nickname {
  display: block;
  font-family: var(--font-song);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blood-2);
  margin-bottom: 3px;
}
.comment-text {
  font-family: var(--font-hei);
  font-size: 11.5px;
  line-height: 1.62;
  color: #2c3134;
}
.recommendations-region {
  margin-top: 20px;
}
.rec-grid {
  display: grid;
  gap: 8px;
  align-items: start;
}
.rec-grid-1 {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.rec-grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.rec-grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.rec-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(19, 35, 46, 0.66) 0%, rgba(12, 21, 28, 0.82) 100%);
  border: 1px solid var(--rule-soft);
  color: var(--parchment);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
a.rec-card {
  color: var(--parchment);
  text-decoration: none;
}
a.rec-card:hover, a.rec-card:focus-visible {
  border-color: var(--gold-dim);
  background: linear-gradient(180deg, rgba(26, 45, 58, 0.85) 0%, rgba(15, 26, 34, 0.92) 100%);
  color: var(--gold);
  text-decoration: none;
}
a.rec-card:hover .rec-name, a.rec-card:focus-visible .rec-name {
  color: var(--gold);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: #0a1015;
  border: 1px solid var(--rule-soft);
  filter: saturate(0.82) brightness(0.88);
}
.rec-thumb {
  display: block;
  width: 100%;
  object-fit: cover;
}
.rec-name {
  font-family: var(--font-song);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--parchment);
}
.rec-blurb {
  font-family: var(--font-hei);
  font-size: 11.5px;
  line-height: 1.58;
  color: var(--parchment-dim);
}
.site-footer {
  margin-top: 26px;
  padding: 16px 18px 22px;
  background: linear-gradient(180deg, rgba(8, 13, 17, 0.9) 0%, rgba(5, 9, 12, 0.98) 100%);
  border-top: 1px solid var(--rule);
}
.footer-disclaimer {
  font-family: var(--font-hei);
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(169, 164, 150, 0.7);
  max-width: 90ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 10px;
}
a[data-contract="footer-home"] {
  font-family: var(--font-hei);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--grey-green-2);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible {
  color: var(--gold);
  text-decoration: underline;
}
a[data-contract="footer-sitemap"] {
  font-family: var(--font-hei);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--grey-green-2);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--gold);
  text-decoration: underline;
}
.footer-link {
  display: inline-block;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
}
.friend-links-label {
  font-family: var(--font-song);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
  margin-right: 4px;
}
a.runtime-friend-link {
  font-family: var(--font-hei);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(169, 164, 150, 0.66);
  text-decoration: none;
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--grey-green-2);
  text-decoration: underline;
}
.theater-mode .player-video {
  max-height: 100%;
}
.player .progress, .player .speed, .player .volume, .player .play, .player .mute, .player .pip, .player .fullscreen, .player .theater, .player .light, .player .change, .player .click, .player .input {
  transition: color 0.16s ease, border-color 0.16s ease;
}
.player .play.is-playing { color: var(--gold); }
.player .mute.is-muted { color: var(--blood); }
@media (max-width: 1024px) {.movie-overview {
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  }
.overview-poster-wrapper { max-width: 180px; }
.synopsis-body { columns: 2; column-gap: 20px; }}
@media (max-width: 860px) {.movie-overview {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "poster"
      "info"
      "player"
      "cast"
      "syn";
  }
.overview-poster-wrapper {
    max-width: 200px;
    justify-self: start;
  }
.overview-info-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
.synopsis-body { columns: 1; column-rule: none; }
.timeline-track {
    grid-template-columns: 12px repeat(5, minmax(0, 1fr)) 12px;
    gap: 4px;
  }
.timeline-label { font-size: 11.5px; }}
@media (max-width: 640px) {body { font-size: 14px; }
.site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 12px;
  }
.categories-bar {
    justify-content: flex-start;
    width: 100%;
  }
.main-content { padding: 0 12px 28px; }
.hero-coffin { margin: 0 -12px; min-height: 46vh; }
.coffin-stage { width: 94vw; }
.silhouette { width: 26%; }
.lantern-glow { width: 90px; height: 90px; }
.movie-overview { padding: 12px; gap: 12px; }
.overview-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.detail-list { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.episodes-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.comments-strip { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.rec-grid-1, .rec-grid-2, .rec-grid-3 { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.timeline-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding-top: 8px;
  }
.timeline-track::before { display: none; }
.timeline-node { display: none; }
.timeline-stop {
    align-items: flex-start;
    text-align: left;
    padding: 8px 8px 8px 12px;
    background: rgba(19, 35, 46, 0.6);
    border: 1px solid var(--rule-soft);
    border-left: 2px solid rgba(86, 107, 106, 0.6);
  }
.timeline-stop::before { display: none; }
.timeline-stop-active {
    border-left-color: var(--gold);
    background: rgba(40, 34, 26, 0.7);
  }
.player-controls { gap: 5px 6px; }
.ctrl-btn { padding: 2px 7px; font-size: 11.5px; }
.ctrl-volume { flex: 0 1 70px; }}
@media (max-width: 420px) {.episodes-grid { grid-template-columns: minmax(0, 1fr); }
.comments-strip { grid-template-columns: minmax(0, 1fr); }
.rec-grid-1, .rec-grid-2, .rec-grid-3 { grid-template-columns: minmax(0, 1fr); }
.timeline-track { grid-template-columns: minmax(0, 1fr); }
.cast-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.movie-title { font-size: 22px; letter-spacing: 0.1em; }
.hero-tagline { font-size: 15px; letter-spacing: 0.12em; }}
@media (prefers-reduced-motion: reduce) {* { transition: none !important; animation: 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}
