*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, figure, figcaption, dl, dd, dt {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
:root {
  --ink: #0b0708;
  --ink-soft: #150d0f;
  --ink-panel: #1b1013;
  --blood: #7c1420;
  --blood-bright: #a81c2c;
  --blood-deep: #4a0c14;
  --gold: #c9a24b;
  --gold-dim: #8d7134;
  --gold-bright: #e8cd7f;
  --bone: #e6dccb;
  --bone-dim: #a99c8a;
  --rule: rgba(201, 162, 75, 0.22);
  --gap: 12px;
}
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(120% 60% at 15% -5%, rgba(124, 20, 32, 0.45) 0%, rgba(11, 7, 8, 0) 60%),
    radial-gradient(90% 50% at 100% 0%, rgba(74, 12, 20, 0.5) 0%, rgba(11, 7, 8, 0) 55%),
    linear-gradient(180deg, #140a0c 0%, var(--ink) 32%, #0d0809 100%);
  color: var(--bone);
  font-family: "Songti SC", "SimSun", "Noto Serif CJK SC", serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100%;
  overflow-x: hidden;
}
body.lights-off {
  background: #050304;
}
body.lights-off .page-main, body.lights-off .site-footer, body.lights-off .site-header {
  filter: brightness(0.55);
  transition: filter 0.4s ease;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(11, 7, 8, 0.96) 0%, rgba(20, 10, 12, 0.9) 100%);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 8px 16px;
  max-width: 1240px;
  margin: 0 auto;
}
a[data-contract="site-name"] {
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(201, 162, 75, 0.35);
  white-space: nowrap;
}
a[data-contract="site-name"]:hover {
  color: #fff2cf;
  text-decoration: none;
}
.category-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13px;
}
a.runtime-category {
  color: var(--bone-dim);
  text-decoration: none;
  white-space: nowrap;
  padding: 2px 9px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  background: rgba(124, 20, 32, 0.35);
}
.page-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.panel-heading {
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  padding-left: 11px;
  margin-bottom: 8px;
  border-left: 3px solid var(--blood-bright);
  line-height: 1.2;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  grid-template-areas:
    "figure script"
    "player player"
    "board  board";
  gap: var(--gap);
  padding: 16px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background:
    radial-gradient(80% 70% at 12% 8%, rgba(124, 20, 32, 0.38) 0%, rgba(11, 7, 8, 0) 62%),
    linear-gradient(160deg, #1c1013 0%, #120a0c 55%, #0c0708 100%);
  overflow: hidden;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, rgba(201, 162, 75, 0.05) 0 1px, rgba(0, 0, 0, 0) 1px 7px);
  opacity: 0.6;
}
.hero-figure {
  grid-area: figure;
  position: relative;
  align-self: start;
  z-index: 2;
}
.poster-shell {
  position: relative;
  width: 100%;
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  overflow: hidden;
  background: #0a0506;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.5) inset;
}
.poster-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(124, 20, 32, 0.18) 0%, rgba(0, 0, 0, 0) 40%, rgba(74, 12, 20, 0.42) 100%),
    radial-gradient(70% 45% at 50% 100%, rgba(201, 162, 75, 0.14) 0%, rgba(0, 0, 0, 0) 70%);
}
.poster-shell img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.petal-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.petal {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 60% 0 60% 0;
  background: linear-gradient(140deg, rgba(200, 60, 76, 0.95), rgba(124, 20, 32, 0.35));
  box-shadow: 0 0 6px rgba(168, 28, 44, 0.6);
  animation: petal-fall 9s linear infinite;
}
.petal-a { left: 12%; top: -6%; animation-delay: 0s; }
.petal-b { left: 38%; top: -6%; animation-delay: 2.4s; width: 7px; height: 7px; }
.petal-c { left: 64%; top: -6%; animation-delay: 4.8s; }
.petal-d { left: 84%; top: -6%; animation-delay: 7s; width: 11px; height: 11px; }
@keyframes petal-fall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  12%  { opacity: 0.95; }
  100% { transform: translateY(560px) translateX(-26px) rotate(320deg); opacity: 0; }
}
.hero-script {
  grid-area: script;
  align-self: start;
  position: relative;
  z-index: 3;
  padding: 4px 2px 0 6px;
  min-width: 0;
}
.movie-title {
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  font-size: clamp(30px, 5.2vw, 54px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.14em;
  color: var(--bone);
  text-shadow:
    0 0 18px rgba(168, 28, 44, 0.75),
    0 2px 0 rgba(0, 0, 0, 0.8);
  margin-bottom: 8px;
}
.movie-tagline {
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--blood-bright);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.movie-seo {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--bone-dim);
  max-width: 62ch;
}
.hero-player {
  grid-area: player;
  position: relative;
  z-index: 3;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: #070405;
  overflow: hidden;
}
.hero-player video {
  display: block;
  background: #000;
}
.hero-player.is-theater {
  box-shadow: 0 0 0 1px var(--gold-dim), 0 18px 50px rgba(0, 0, 0, 0.8);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(27, 16, 19, 0.96), rgba(11, 7, 8, 0.98));
  border-top: 1px solid var(--rule);
}
.ctrl {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--bone-dim);
  background: rgba(124, 20, 32, 0.16);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 3px 9px;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.ctrl:hover {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  background: rgba(124, 20, 32, 0.4);
}
.ctrl.is-active {
  color: #1b1013;
  background: var(--gold);
  border-color: var(--gold-bright);
  font-weight: 700;
}
.ctrl-play {
  color: var(--gold-bright);
  border-color: var(--gold-dim);
  letter-spacing: 0.1em;
}
.ctrl-progress {
  flex: 1 1 140px;
  min-width: 90px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--blood-bright), rgba(201, 162, 75, 0.35));
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 1px solid #000;
  box-shadow: 0 0 8px rgba(201, 162, 75, 0.8);
}
.ctrl-progress::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-bright);
  border: 1px solid #000;
}
.ctrl-volume {
  flex: 0 1 78px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(201, 162, 75, 0.28);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}
.ctrl-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bone);
  border: 1px solid #000;
}
.ctrl-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bone);
  border: 1px solid #000;
}
.overview-board {
  grid-area: board;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas:
    "cast    cast"
    "synopsis details"
    "status  details";
  gap: var(--gap);
  align-items: start;
  padding: 12px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: linear-gradient(170deg, rgba(27, 16, 19, 0.9), rgba(12, 7, 8, 0.9));
}
.cast-strip {
  grid-area: cast;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
.cast-caption {
  flex: 0 0 auto;
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  writing-mode: vertical-rl;
  padding: 2px 4px;
  border-right: 1px solid var(--rule);
  line-height: 1.1;
}
.cast-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--blood) transparent;
}
.cast-track::-webkit-scrollbar { height: 5px; }
.cast-track::-webkit-scrollbar-track { background: rgba(201, 162, 75, 0.08); }
.cast-track::-webkit-scrollbar-thumb { background: var(--blood-bright); border-radius: 999px; }
.cast-member {
  flex: 0 0 auto;
  width: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
}
.cast-face {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(232, 205, 127, 0.55) 0%, rgba(124, 20, 32, 0.85) 55%, #2a0d12 100%);
  border: 1px solid var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(11, 7, 8, 0.85), 0 0 12px rgba(124, 20, 32, 0.6);
}
.cast-name {
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--bone);
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.cast-role {
  font-size: 11px;
  color: var(--bone-dim);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.synopsis-panel {
  grid-area: synopsis;
  min-width: 0;
}
.synopsis-body {
  border-left: 1px solid var(--rule);
  padding-left: 11px;
}
.synopsis-para {
  font-size: 13.5px;
  line-height: 1.78;
  color: #cfc3b1;
  text-align: justify;
}
.synopsis-para + .synopsis-para { margin-top: 7px; }
.synopsis-para::first-letter {
  color: var(--gold-bright);
  font-family: "KaiTi", "STKaiti", serif;
  font-size: 1.5em;
  line-height: 1;
}
.episode-status {
  grid-area: status;
  min-width: 0;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}
.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  letter-spacing: 0.08em;
}
.status-current {
  font-size: 19px;
  font-weight: 700;
  color: var(--blood-bright);
  text-shadow: 0 0 12px rgba(168, 28, 44, 0.6);
}
.status-divider { color: var(--gold-dim); }
.status-total {
  font-size: 14px;
  color: var(--bone-dim);
}
.details-panel {
  grid-area: details;
  min-width: 0;
  align-self: start;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.detail-cell {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 8px;
  background: rgba(11, 7, 8, 0.62);
}
.detail-key {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
}
.detail-value {
  font-size: 13px;
  color: var(--bone);
  line-height: 1.45;
}
.timeline-scroll {
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 13px 14px 15px;
  background:
    linear-gradient(90deg, rgba(124, 20, 32, 0.16) 0%, rgba(11, 7, 8, 0) 45%),
    rgba(19, 11, 13, 0.85);
}
.timeline-heading { margin-bottom: 12px; }
.timeline-track {
  position: relative;
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 6px 4px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--blood) transparent;
}
.timeline-track::-webkit-scrollbar { height: 6px; }
.timeline-track::-webkit-scrollbar-track { background: rgba(201, 162, 75, 0.08); }
.timeline-track::-webkit-scrollbar-thumb { background: linear-gradient(90deg, var(--blood-deep), var(--blood-bright)); border-radius: 999px; }
.timeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 162, 75, 0.05), var(--gold-dim) 12%, var(--gold-dim) 88%, rgba(201, 162, 75, 0.05));
}
.timeline-node {
  position: relative;
  flex: 0 0 auto;
  width: 178px;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.node-icon {
  position: relative;
  z-index: 2;
  width: 17px;
  height: 17px;
  margin-bottom: 3px;
  background: var(--gold-dim);
  transition: background 0.2s ease, transform 0.2s ease;
}
.node-petal .node-icon {
  border-radius: 60% 0 60% 0;
  background: linear-gradient(140deg, var(--gold-bright), var(--blood));
  box-shadow: 0 0 10px rgba(201, 162, 75, 0.5);
}
.node-blade .node-icon {
  width: 15px;
  height: 17px;
  clip-path: polygon(50% 0, 100% 74%, 62% 100%, 38% 100%, 0 74%);
  background: linear-gradient(180deg, #d9d2c4, var(--blood-deep));
  box-shadow: 0 0 10px rgba(168, 28, 44, 0.55);
}
.node-timecode {
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
}
.node-label {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--bone-dim);
}
.timeline-node.is-active .node-timecode, .timeline-node.is-active .node-label { color: var(--bone); }
.timeline-node.is-active .node-icon {
  background: var(--blood-bright);
  box-shadow: 0 0 14px rgba(168, 28, 44, 0.85);
  transform: scale(1.14);
}
.episodes-panel {
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 13px 14px 15px;
  background: rgba(19, 11, 13, 0.72);
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title dur"
    "sum sum sum";
  align-items: center;
  gap: 4px 8px;
  padding: 8px 10px;
  border: 1px solid var(--rule);
  border-left: 2px solid var(--blood-deep);
  border-radius: 2px;
  background: linear-gradient(100deg, rgba(27, 16, 19, 0.9), rgba(12, 7, 8, 0.75));
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.episode-card:hover, .episode-card:focus-within {
  border-left-color: var(--blood-bright);
  border-color: var(--gold-dim);
  background: linear-gradient(100deg, rgba(74, 12, 20, 0.55), rgba(12, 7, 8, 0.9));
  transform: translateX(2px);
}
.episode-number {
  grid-area: num;
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  white-space: nowrap;
  padding-right: 7px;
  border-right: 1px solid var(--rule);
}
.episode-title {
  grid-area: title;
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--bone);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.episode-duration {
  grid-area: dur;
  font-size: 11px;
  color: var(--bone-dim);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.episode-summary {
  grid-area: sum;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--bone-dim);
  max-height: 1.6em;
  overflow: hidden;
  transition: max-height 0.3s ease, color 0.2s ease;
}
.episode-card:hover .episode-summary, .episode-card:focus-within .episode-summary {
  max-height: 8em;
  color: #cbbfab;
}
.comments-panel {
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 13px 14px 15px;
  background:
    radial-gradient(70% 90% at 6% 0%, rgba(124, 20, 32, 0.22) 0%, rgba(11, 7, 8, 0) 60%),
    rgba(19, 11, 13, 0.72);
}
.comment-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 10px 22px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: linear-gradient(150deg, rgba(27, 16, 19, 0.94), rgba(11, 7, 8, 0.86));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.comment-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-dim);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.6);
}
.comment-stem {
  position: absolute;
  left: 7px;
  top: 12px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blood-bright), var(--gold-dim) 70%, rgba(201, 162, 75, 0));
}
.comment-stem::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 60% 0 60% 0;
  background: var(--blood-bright);
  box-shadow: 0 0 8px rgba(168, 28, 44, 0.7);
}
.stem-short .comment-stem { height: 34%; }
.stem-mid   .comment-stem { height: 62%; }
.stem-long  .comment-stem { height: 92%; }
.comment-nickname {
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
}
.comment-text {
  font-size: 13px;
  line-height: 1.7;
  color: #c8bca9;
}
[data-fragment="recommendations"] {
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 13px 14px 15px;
  background: rgba(19, 11, 13, 0.72);
}
.recommend-region {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.region-heading {
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  padding-bottom: 7px;
  margin-bottom: 9px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.region-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, var(--blood-bright), rgba(201, 162, 75, 0));
}
.region-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.region-item { display: block; }
a.recommend-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-areas:
    "pic name"
    "pic blurb";
  align-items: center;
  column-gap: 10px;
  row-gap: 2px;
  padding: 6px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: linear-gradient(120deg, rgba(27, 16, 19, 0.9), rgba(11, 7, 8, 0.8));
  color: var(--bone);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
a.recommend-card:hover {
  border-color: var(--gold-dim);
  background: linear-gradient(120deg, rgba(74, 12, 20, 0.6), rgba(11, 7, 8, 0.92));
  transform: translateX(2px);
  color: var(--gold-bright);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  grid-area: pic;
  width: 58px;
  height: 78px;
  object-fit: cover;
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  background: #0a0506;
}
.recommend-name {
  grid-area: name;
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--bone);
  line-height: 1.35;
  align-self: end;
}
.recommend-blurb {
  grid-area: blurb;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--bone-dim);
  align-self: start;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.recommend-card:hover .recommend-name { color: var(--gold-bright); }
.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 6px;
  padding: 16px 16px 24px;
  background: linear-gradient(180deg, rgba(11, 7, 8, 0.6), rgba(5, 3, 4, 0.95));
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: flex-start;
  justify-content: center;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.footer-nav {
  display: flex;
  gap: 14px;
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  font-size: 13.5px;
  letter-spacing: 0.1em;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-sitemap"]:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-dim);
  text-decoration: none;
}
.footer-disclaimer {
  flex: 1 1 100%;
  font-size: 11.5px;
  line-height: 1.7;
  color: #6f6455;
  max-width: 76ch;
  margin: 0 auto;
}
.friend-links {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  font-size: 12px;
}
.friend-label {
  font-family: "KaiTi", "STKaiti", "Kaiti SC", serif;
  letter-spacing: 0.14em;
  color: var(--gold-dim);
  white-space: nowrap;
}
a.runtime-friend-link {
  color: #8b7f6d;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 1px;
  border-bottom: 1px dotted rgba(201, 162, 75, 0.3);
  transition: color 0.16s ease, border-color 0.16s ease;
}
a.runtime-friend-link:hover {
  color: var(--blood-bright);
  border-bottom-color: var(--blood-bright);
  text-decoration: none;
}
@media (max-width: 980px) {.page-main { padding: 12px 12px 20px; }
.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "figure"
      "script"
      "player"
      "board";
  }
.hero-figure { max-width: 360px; }
.overview-board {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "cast"
      "synopsis"
      "status"
      "details";
  }
.comment-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (max-width: 720px) {body { font-size: 14px; }
.header-inner { gap: 10px; padding: 7px 12px; }
a[data-contract="site-name"] { font-size: 19px; }
.movie-title { letter-spacing: 0.1em; }
.episode-grid { grid-template-columns: minmax(0, 1fr); }
.episode-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
.comment-stack { grid-template-columns: minmax(0, 1fr); }
.details-grid { grid-template-columns: minmax(0, 1fr); }
.hero-stage { padding: 12px; }
.cast-track { gap: 11px; }
.cast-member { width: 66px; }
.cast-face { width: 50px; height: 50px; }
.timeline-node { width: 156px; padding: 0 9px; }
.site-footer { padding: 14px 12px 20px; }}
@media (max-width: 420px) {.page-main { padding: 10px 10px 16px; gap: 12px; }
.movie-title { font-size: 28px; }
.movie-tagline { font-size: 14px; }
.cast-caption { writing-mode: horizontal-tb; border-right: 0; border-bottom: 1px solid var(--rule); padding: 0 0 3px; }
.cast-strip { flex-direction: column; align-items: stretch; }
a.recommend-card { grid-template-columns: 48px minmax(0, 1fr); }
[data-runtime="recommendation"] img { width: 48px; height: 64px; }}
@media (prefers-reduced-motion: reduce) {.petal { animation: none; opacity: 0.5; }
* { transition: 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}
