*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ul, ol, li, dl, dd, dt, figure {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
  color: inherit;
}
body {
  --ink: #0d0a07;
  --ink-2: #14100b;
  --ink-3: #1c1610;
  --amber: #c98a2e;
  --amber-soft: #e0b064;
  --amber-dim: #7a5a24;
  --red: #8e2b24;
  --red-deep: #5e1a15;
  --green: #24463a;
  --green-soft: #3d6b58;
  --paper: #e8dcc4;
  --paper-dim: #b8ab92;
  --line: rgba(201, 138, 46, 0.26);
  --line-soft: rgba(232, 220, 196, 0.14);
  --shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.45);
  --serif: "Songti SC", "SimSun", "STSong", "Noto Serif SC", serif;
  --narrow: "Songti SC", "SimSun", "STSong", serif;
  --script: "STXingkai", "Xingkai SC", "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  --mono: "SFMono-Regular", "Menlo", "Consolas", "Courier New", monospace;

  min-height: 100%;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 70% at 50% -10%, rgba(201, 138, 46, 0.16), transparent 62%),
    radial-gradient(90% 60% at 12% 22%, rgba(142, 43, 36, 0.16), transparent 60%),
    radial-gradient(80% 70% at 92% 78%, rgba(36, 70, 58, 0.22), transparent 62%),
    linear-gradient(180deg, #0d0a07 0%, #120e09 40%, #0b0806 100%);
  background-attachment: fixed;
  font-family: var(--narrow);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.01em;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  background-image:
    repeating-linear-gradient(0deg, rgba(232, 220, 196, 0.6) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}
::selection {
  background: var(--red);
  color: var(--paper);
}
:focus-visible {
  outline: 2px solid var(--amber-soft);
  outline-offset: 2px;
}
.section-heading {
  position: relative;
  font-family: var(--script);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--amber-soft);
  padding: 0 0 0.42rem 0.7rem;
  margin-bottom: 0.85rem;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
}
.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 0.34rem;
  height: 0.34rem;
  background: var(--red);
  border-radius: 42% 58% 55% 45% / 52% 46% 54% 48%;
}
.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--amber) 0%, rgba(201, 138, 46, 0.4) 22%, transparent 100%);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(13, 10, 7, 0.96), rgba(13, 10, 7, 0.82));
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.55rem 1rem;
}
.site-brand {
  font-family: var(--script);
  font-size: 1.28rem;
  letter-spacing: 0.16em;
  color: var(--amber-soft);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a[data-contract="site-name"] {
  color: var(--amber-soft);
  text-decoration: none;
}
a[data-contract="site-name"]:hover {
  color: #f0cd8a;
  text-decoration: none;
  border-bottom-color: var(--red);
}
.category-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.32rem;
  max-width: 100%;
}
.runtime-category {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  text-decoration: none;
  padding: 0.2rem 0.62rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px 999px 999px 4px;
  background: rgba(28, 22, 16, 0.72);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
a.runtime-category {
  color: var(--paper-dim);
  text-decoration: none;
}
a.runtime-category:hover {
  color: var(--amber-soft);
  border-color: var(--amber);
  background: rgba(94, 26, 21, 0.42);
}
.page-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem 2.2rem;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  grid-template-areas:
    "poster title"
    "poster meta";
  align-content: start;
  gap: 0.4rem 1.6rem;
  padding: 1.6rem 0 2.6rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.flagged-lantern {
  position: absolute;
  top: -0.6rem;
  right: 6%;
  width: 2.6rem;
  height: 3.4rem;
  border-radius: 42% 42% 46% 46% / 30% 30% 62% 62%;
  background:
    radial-gradient(60% 45% at 50% 32%, rgba(224, 176, 100, 0.55), transparent 70%),
    linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  box-shadow: 0 0 26px rgba(142, 43, 36, 0.55), inset 0 -6px 12px rgba(0, 0, 0, 0.5);
  opacity: 0.78;
  transform: rotate(-3deg);
}
.flagged-lantern::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.85rem;
  width: 1px;
  height: 0.9rem;
  background: rgba(201, 138, 46, 0.6);
  transform: translateX(-50%);
}
.flagged-lantern::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.55rem;
  width: 0.5rem;
  height: 0.6rem;
  background: rgba(201, 138, 46, 0.55);
  transform: translateX(-50%);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 30% 100%);
}
.old-town-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  opacity: 0.4;
  background-color: rgba(36, 70, 58, 0.5);
  background-image:
    linear-gradient(180deg, rgba(20, 16, 11, 0) 0%, rgba(20, 16, 11, 0.9) 78%, var(--ink) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(232, 220, 196, 0.1) 0 2px,
      transparent 2px 26px
    );
  -webkit-mask-image:
    linear-gradient(180deg, #000 0 46%, transparent 96%),
    repeating-linear-gradient(90deg, #000 0 34px, transparent 34px 40px);
  mask-image:
    linear-gradient(180deg, #000 0 46%, transparent 96%),
    repeating-linear-gradient(90deg, #000 0 34px, transparent 34px 40px);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  filter: blur(0.6px);
}
.hero-silhouette {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.drunk-shadow {
  position: absolute;
  left: 34%;
  bottom: -2%;
  width: 34%;
  height: 88%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.94));
  border-radius: 46% 54% 34% 32% / 62% 58% 12% 12%;
  filter: blur(6px);
  transform: rotate(-4deg);
  opacity: 0.85;
}
.drunk-shadow::before {
  content: "";
  position: absolute;
  left: 16%;
  top: -12%;
  width: 66%;
  height: 34%;
  background: rgba(0, 0, 0, 0.92);
  border-radius: 50% 50% 42% 46% / 58% 60% 40% 42%;
  filter: blur(3px);
}
.gourd-shadow {
  position: absolute;
  left: 30%;
  bottom: 8%;
  width: 4.4rem;
  height: 5.6rem;
  background: radial-gradient(60% 55% at 50% 40%, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.98));
  border-radius: 46% 46% 50% 50% / 34% 34% 66% 66%;
  filter: blur(2px);
  opacity: 0.9;
}
.poster-wrap {
  grid-area: poster;
  justify-self: start;
  align-self: start;
  position: relative;
  width: min(100%, 20rem);
  padding: 0.5rem;
  background: linear-gradient(160deg, rgba(28, 22, 16, 0.95), rgba(13, 10, 7, 0.98));
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 42px / 14px 14px 14px 58px;
  box-shadow: var(--shadow);
}
.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0.5rem;
  border: 1px solid rgba(201, 138, 46, 0.18);
  border-radius: 10px 10px 10px 38px / 10px 10px 10px 52px;
  pointer-events: none;
}
.main-poster {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 9px 9px 9px 34px / 9px 9px 9px 46px;
  background: #0a0705;
  filter: saturate(0.92) contrast(1.05);
}
.hero-title-block {
  grid-area: title;
  align-self: end;
  padding-top: 0.4rem;
}
.movie-title {
  font-family: var(--script);
  font-size: clamp(2.1rem, 6.2vw, 3.9rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0.06em;
  color: var(--paper);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.9),
    0 3px 0 rgba(0, 0, 0, 0.55),
    0 0 34px rgba(201, 138, 46, 0.32);
}
.movie-tagline {
  margin-top: 0.5rem;
  font-family: var(--script);
  font-size: clamp(0.95rem, 2.2vw, 1.24rem);
  letter-spacing: 0.3em;
  color: var(--amber-soft);
  opacity: 0.92;
}
.hero-meta-strip {
  grid-area: meta;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  margin-top: 0.35rem;
}
.meta-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.34rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.78rem;
  border: 1px solid var(--line-soft);
  border-radius: 3px 12px 12px 12px;
  background: rgba(28, 22, 16, 0.78);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.meta-key {
  color: var(--paper-dim);
  letter-spacing: 0.1em;
}
.meta-value {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--amber-soft);
  letter-spacing: 0.02em;
}
.overview-body {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: 0.9rem 1.15rem;
  align-items: start;
  padding: 1.05rem;
  background:
    linear-gradient(180deg, rgba(28, 22, 16, 0.86), rgba(13, 10, 7, 0.92)),
    repeating-linear-gradient(135deg, rgba(232, 220, 196, 0.03) 0 2px, transparent 2px 6px);
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 54px / 16px 16px 16px 64px;
  box-shadow: var(--shadow);
}
.player-shell {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  width: 100%;
  padding: 0.55rem;
  background: linear-gradient(180deg, rgba(20, 16, 11, 0.9), rgba(11, 8, 6, 0.96));
  border: 1px solid var(--line-soft);
  border-radius: 12px 12px 12px 40px / 12px 12px 12px 48px;
}
.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px 8px 8px 30px / 8px 8px 8px 36px;
  background: #060403;
  object-fit: cover;
}
.movie-player.is-theater {
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--amber-dim), 0 0 40px rgba(201, 138, 46, 0.22);
}
.movie-player.is-lights-off {
  filter: brightness(0.62) contrast(1.12) saturate(0.9);
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.34rem 0.42rem;
}
.ctrl-btn, .ctrl-select, .ctrl-slider {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  background: rgba(28, 22, 16, 0.86);
  border: 1px solid var(--line-soft);
  border-radius: 3px 10px 10px 10px;
  padding: 0.24rem 0.6rem;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.ctrl-btn {
  cursor: pointer;
  font-family: var(--narrow);
}
.ctrl-btn:hover, .ctrl-select:hover, .ctrl-slider:hover {
  color: var(--amber-soft);
  border-color: var(--amber-dim);
}
.ctrl-btn.is-active {
  color: var(--ink);
  background: linear-gradient(180deg, var(--amber-soft), var(--amber));
  border-color: var(--amber-soft);
}
.ctrl-slider {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.55rem;
}
.ctrl-select {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.55rem;
}
.ctrl-label {
  white-space: nowrap;
  color: var(--paper-dim);
  letter-spacing: 0.12em;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  width: 6.2rem;
  max-width: 42vw;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--amber-dim) 100%);
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50% 50% 50% 30%;
  background: var(--amber-soft);
  border: 1px solid var(--ink);
  box-shadow: 0 0 0 1px rgba(201, 138, 46, 0.5);
}
.ctrl-range::-moz-range-thumb {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50% 50% 50% 30%;
  background: var(--amber-soft);
  border: 1px solid var(--ink);
}
.ctrl-dropdown {
  background: transparent;
  border: 0;
  color: var(--amber-soft);
  font-family: var(--mono);
  font-size: 0.76rem;
  padding: 0 0.1rem;
  cursor: pointer;
}
.ctrl-dropdown option {
  background: var(--ink-2);
  color: var(--paper);
}
.episode-status {
  grid-column: 2;
  align-self: start;
  padding: 0.7rem 0.85rem;
  background: linear-gradient(160deg, rgba(36, 70, 58, 0.34), rgba(20, 16, 11, 0.86));
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--green-soft);
  border-radius: 10px 10px 10px 34px / 10px 10px 10px 40px;
}
.episode-status .section-heading {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.9rem;
}
.status-current {
  font-family: var(--mono);
  font-size: 1.02rem;
  color: var(--amber-soft);
  letter-spacing: 0.02em;
}
.status-total {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--paper-dim);
}
.cast-rail {
  grid-column: 1 / -1;
  align-self: start;
}
.cast-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.6rem, 1fr));
  gap: 0.5rem;
}
.cast-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: linear-gradient(170deg, rgba(28, 22, 16, 0.9), rgba(13, 10, 7, 0.95));
  border: 1px solid var(--line-soft);
  border-radius: 8px 8px 8px 26px / 8px 8px 8px 32px;
  overflow: hidden;
}
.cast-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(58% 52% at 50% 38%, rgba(232, 220, 196, 0.5), transparent 70%),
    radial-gradient(70% 60% at 50% 88%, rgba(142, 43, 36, 0.6), transparent 72%),
    linear-gradient(170deg, var(--green) 0%, var(--ink-2) 100%);
  filter: saturate(0.85) contrast(1.02);
  border-bottom: 1px solid var(--line-soft);
}
.cast-name {
  display: block;
  padding: 0.28rem 0.34rem 0.34rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.synopsis-block {
  grid-column: 1;
  align-self: start;
}
.synopsis-para {
  font-size: 0.9rem;
  line-height: 1.78;
  color: rgba(232, 220, 196, 0.86);
  text-align: justify;
}
.synopsis-para + .synopsis-para {
  margin-top: 0.62rem;
  padding-top: 0.62rem;
  border-top: 1px solid var(--line-soft);
}
.synopsis-para::first-letter {
  font-family: var(--script);
  font-size: 1.5em;
  color: var(--amber-soft);
  line-height: 1;
}
.details-block {
  grid-column: 2;
  align-self: start;
}
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.6rem, 1fr));
  gap: 0.34rem 0.5rem;
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
  padding: 0.32rem 0.5rem;
  background: rgba(20, 16, 11, 0.72);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--amber-dim);
  border-radius: 4px 10px 10px 10px;
  min-width: 0;
}
.detail-key {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--paper-dim);
}
.detail-value {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--amber-soft);
  overflow-wrap: anywhere;
}
.timeline-section {
  padding: 1.5rem 0 0.6rem;
}
.timeline-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.6rem, 1fr));
  gap: 0.6rem;
  align-items: start;
}
.timeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  padding: 0.6rem 0.62rem 0.7rem 0.78rem;
  background: linear-gradient(150deg, rgba(28, 22, 16, 0.9), rgba(13, 10, 7, 0.94));
  border: 1px solid var(--line-soft);
  border-radius: 4px 12px 12px 12px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.timeline-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  bottom: 0.7rem;
  width: 2px;
  background: linear-gradient(180deg, var(--amber) 0%, var(--red) 100%);
  border-radius: 2px;
}
.node-seal {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: linear-gradient(180deg, var(--amber-soft), var(--amber));
  padding: 0.08rem 0.44rem;
  border-radius: 2px 8px 8px 8px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
.node-label {
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(232, 220, 196, 0.9);
  letter-spacing: 0.03em;
}
.episodes-section {
  padding: 1.5rem 0 0.6rem;
}
.episode-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.6rem;
  scrollbar-color: var(--amber-dim) rgba(20, 16, 11, 0.8);
  scrollbar-width: thin;
}
.episode-scroller::-webkit-scrollbar {
  height: 8px;
}
.episode-scroller::-webkit-scrollbar-track {
  background: rgba(20, 16, 11, 0.8);
  border-radius: 4px;
}
.episode-scroller::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--amber-dim), var(--red-deep));
  border-radius: 4px;
}
.episode-track {
  display: flex;
  gap: 0.7rem;
  align-items: stretch;
  padding: 0.15rem 0.1rem 0.3rem;
}
.episode-card {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "plate duration"
    "title title"
    "summary summary";
  align-content: start;
  width: 15.5rem;
  height: 12.2rem;
  padding: 0.7rem 0.75rem 0.75rem;
  background:
    linear-gradient(165deg, rgba(28, 22, 16, 0.94), rgba(13, 10, 7, 0.96)),
    repeating-linear-gradient(45deg, rgba(232, 220, 196, 0.035) 0 2px, transparent 2px 5px);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--red-deep);
  border-radius: 6px 6px 6px 34px / 6px 6px 6px 44px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.episode-card:hover {
  border-color: var(--amber-dim);
  transform: translateY(-2px);
}
.episode-plate {
  grid-area: plate;
  justify-self: start;
  align-self: start;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--amber-soft);
  padding: 0.1rem 0.5rem;
  border: 1px solid var(--amber-dim);
  border-radius: 2px 9px 9px 9px;
  background: rgba(94, 26, 21, 0.42);
  white-space: nowrap;
}
.episode-duration {
  grid-area: duration;
  justify-self: end;
  align-self: start;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--paper-dim);
  letter-spacing: 0.02em;
}
.episode-title {
  grid-area: title;
  margin-top: 0.5rem;
  font-family: var(--script);
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--paper);
}
.episode-summary {
  grid-area: summary;
  margin-top: 0.34rem;
  font-size: 0.8rem;
  line-height: 1.62;
  color: rgba(232, 220, 196, 0.74);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  overflow: hidden;
}
.comments-section {
  padding: 1.5rem 0 0.6rem;
}
.comments-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
  align-items: start;
}
.comment-column {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.comment-column-a {
  margin-top: 0;
}
.comment-column-b {
  margin-top: 1.5rem;
}
.comment-card {
  padding: 0.58rem 0.7rem 0.62rem;
  background: linear-gradient(160deg, rgba(28, 22, 16, 0.88), rgba(13, 10, 7, 0.92));
  border: 1px solid var(--line-soft);
  border-radius: 4px 14px 14px 14px;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(232, 220, 196, 0.04);
}
.comment-column-b .comment-card {
  background: linear-gradient(160deg, rgba(36, 70, 58, 0.3), rgba(13, 10, 7, 0.92));
  border-radius: 14px 4px 14px 14px;
}
.comment-nickname {
  display: inline-block;
  font-family: var(--script);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--amber-soft);
  padding-bottom: 0.16rem;
  border-bottom: 1px solid var(--line-soft);
}
.comment-text {
  margin-top: 0.34rem;
  font-size: 0.83rem;
  line-height: 1.68;
  color: rgba(232, 220, 196, 0.82);
}
.rec-region {
  padding: 1.5rem 0 0.5rem;
}
.rec-region .section-heading {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.22em;
  font-size: 1.08rem;
  padding: 0.6rem 0.32rem 0.6rem 0.32rem;
  margin: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line-soft);
  align-self: stretch;
}
.rec-region .section-heading::before {
  left: 50%;
  top: 0.12rem;
  transform: translateX(-50%);
}
.rec-region .section-heading::after {
  left: 0.3rem;
  top: 0;
  bottom: 0;
  width: 1px;
  height: auto;
  background: linear-gradient(180deg, var(--amber) 0%, rgba(201, 138, 46, 0.35) 30%, transparent 100%);
}
.rec-region {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  align-items: start;
}
.rec-item {
  min-width: 0;
}
.rec-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.4rem;
  background: linear-gradient(170deg, rgba(28, 22, 16, 0.9), rgba(13, 10, 7, 0.94));
  border: 1px solid var(--line-soft);
  border-radius: 6px 6px 6px 22px / 6px 6px 6px 28px;
  height: 100%;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
a.rec-link {
  color: var(--paper);
  text-decoration: none;
}
a.rec-link:hover {
  border-color: var(--amber-dim);
  background: linear-gradient(170deg, rgba(94, 26, 21, 0.34), rgba(13, 10, 7, 0.94));
  transform: translateY(-2px);
}
[data-runtime="recommendation"] img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 4px 4px 4px 16px / 4px 4px 4px 22px;
  background: #0a0705;
  filter: saturate(0.9) contrast(1.04);
}
.rec-name {
  font-family: var(--script);
  font-size: 0.98rem;
  letter-spacing: 0.05em;
  color: var(--paper);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-blurb {
  font-size: 0.76rem;
  line-height: 1.55;
  color: rgba(232, 220, 196, 0.66);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.site-footer {
  margin-top: 1.6rem;
  padding: 1.1rem 1rem 1.6rem;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(13, 10, 7, 0.6), rgba(11, 8, 6, 0.98));
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line-soft);
}
.footer-link {
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  color: var(--paper-dim);
  text-decoration: none;
  transition: color 0.18s ease;
}
a[data-contract="footer-home"] {
  color: var(--amber-soft);
  text-decoration: none;
}
a[data-contract="footer-home"]:hover {
  color: #f0cd8a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a[data-contract="footer-sitemap"] {
  color: var(--paper-dim);
  text-decoration: none;
}
a[data-contract="footer-sitemap"]:hover {
  color: var(--amber-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.34rem 0.7rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.7rem 0 0.2rem;
}
.friend-links-label {
  font-family: var(--script);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: var(--amber-soft);
  padding-right: 0.5rem;
  border-right: 1px solid var(--line-soft);
}
.runtime-friend-link {
  font-size: 0.78rem;
  color: var(--paper-dim);
  text-decoration: none;
  padding: 0.1rem 0.42rem;
  border: 1px solid transparent;
  border-radius: 3px 9px 9px 9px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
a.runtime-friend-link {
  color: var(--paper-dim);
  text-decoration: none;
}
a.runtime-friend-link:hover {
  color: var(--amber-soft);
  border-color: var(--line);
  text-decoration: none;
}
.footer-disclaimer {
  max-width: 1180px;
  margin: 0.75rem auto 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.72rem;
  line-height: 1.7;
  color: rgba(184, 171, 146, 0.72);
}
@media (max-width: 900px) {.hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "poster"
      "title"
      "meta";
    gap: 0.7rem;
    padding: 1.2rem 0 1.9rem;
  }
.poster-wrap {
    width: min(100%, 15rem);
  }
.hero-title-block {
    align-self: start;
  }
.overview-body {
    grid-template-columns: minmax(0, 1fr);
    padding: 0.85rem;
  }
.player-shell, .episode-status, .cast-rail, .synopsis-block, .details-block {
    grid-column: 1 / -1;
  }
.rec-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.comment-column-b {
    margin-top: 0.9rem;
  }}
@media (max-width: 680px) {body {
    font-size: 14px;
  }
.header-inner {
    padding: 0.5rem 0.75rem;
  }
.page-main {
    padding: 0 0.72rem 1.6rem;
  }
.hero-stage {
    padding: 0.9rem 0 1.5rem;
  }
.drunk-shadow {
    left: 22%;
    width: 56%;
    opacity: 0.6;
  }
.gourd-shadow {
    left: 16%;
    opacity: 0.6;
  }
.flagged-lantern {
    right: 4%;
    width: 2rem;
    height: 2.7rem;
  }
.movie-title {
    font-size: clamp(1.9rem, 11vw, 2.6rem);
  }
.movie-tagline {
    letter-spacing: 0.2em;
  }
.timeline-list {
    grid-template-columns: repeat(auto-fit, minmax(8.4rem, 1fr));
    gap: 0.45rem;
  }
.episode-card {
    width: 13.6rem;
    height: 12.6rem;
  }
.comments-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
  }
.comment-column-b {
    margin-top: 0;
  }
.rec-region {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
  }
.rec-region .section-heading {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    padding: 0 0 0.42rem 0.7rem;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
.rec-region .section-heading::before {
    left: 0;
    top: 0.22em;
    transform: none;
  }
.rec-region .section-heading::after {
    left: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--amber) 0%, transparent 100%);
  }
.rec-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }
.ctrl-range {
    width: 4.6rem;
    max-width: 38vw;
  }}
@media (max-width: 400px) {.cast-list {
    grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr));
    gap: 0.4rem;
  }
.rec-list {
    grid-template-columns: minmax(0, 1fr);
  }
.episode-card {
    width: 12.4rem;
    height: 13rem;
  }}
@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}
