*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body, h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
img, video {
  display: block;
  max-width: 100%;
}
button, input, select {
  font: inherit;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
:root {
  --brown-deep: #1c1410;
  --brown: #2a1e16;
  --brown-mid: #3b2b1f;
  --iron: #4a4640;
  --iron-light: #6b6459;
  --film-cream: #e8ddc4;
  --film-cream-dim: #c9bda1;
  --lamp-warm: #f0c168;
  --lamp-hot: #ffd98a;
  --edge: #14100c;
  --grain: rgba(232, 221, 196, 0.035);
  --font-hei: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
  --font-song: "Songti SC", "SimSun", "STSong", "Noto Serif CJK SC", serif;
}
body {
  background-color: var(--brown-deep);
  background-image:
    radial-gradient(120% 90% at 50% 0%, rgba(240, 193, 104, 0.07), transparent 55%),
    radial-gradient(140% 120% at 50% 100%, rgba(0, 0, 0, 0.55), transparent 60%),
    repeating-linear-gradient(0deg, var(--grain) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, var(--grain) 0 1px, transparent 1px 4px);
  color: var(--film-cream);
  font-family: var(--font-song);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.is-lights-off {
  background-color: #0a0806;
}
body.is-lights-off .page-main {
  filter: brightness(0.62) contrast(1.06);
}
h1, h2, h3, .site-name, .hero-tagline, .btn-play, .btn-theater, .btn-light, .ctrl-btn, .ctrl-label, .ctrl-select, .episode-number, .node-timecode, .cast-name, .detail-key {
  font-family: var(--font-hei);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background:
    linear-gradient(180deg, rgba(20, 15, 11, 0.98), rgba(28, 20, 16, 0.92)),
    repeating-linear-gradient(90deg, var(--grain) 0 1px, transparent 1px 3px);
  border-bottom: 1px solid var(--edge);
  box-shadow: 0 1px 0 rgba(240, 193, 104, 0.12), 0 8px 22px rgba(0, 0, 0, 0.55);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 8px 14px;
  max-width: 1280px;
  margin: 0 auto;
}
a[data-contract="site-name"].site-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--lamp-warm);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.9), 0 0 14px rgba(240, 193, 104, 0.28);
  white-space: nowrap;
}
a[data-contract="site-name"].site-name:hover, a[data-contract="site-name"].site-name:focus-visible {
  color: var(--lamp-hot);
  text-decoration: underline;
}
.category-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  flex: 1 1 auto;
  min-width: 0;
}
a.runtime-category {
  display: inline-block;
  padding: 2px 2px 3px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--film-cream-dim);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
a.runtime-category:hover, a.runtime-category:focus-visible {
  color: var(--lamp-warm);
  border-bottom-color: var(--lamp-warm);
}
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-heading {
  font-family: var(--font-hei);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--lamp-warm);
  padding-left: 10px;
  margin-bottom: 8px;
  border-left: 3px solid var(--lamp-warm);
  line-height: 1.3;
}
.hero {
  position: relative;
  border: 1px solid var(--edge);
  background:
    linear-gradient(115deg, rgba(28, 20, 16, 0.96) 0%, rgba(42, 30, 22, 0.9) 48%, rgba(20, 15, 11, 0.98) 100%);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}
.hero-silhouette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-figure {
  position: absolute;
  top: 0;
  right: 4%;
  height: 100%;
  width: 46%;
  background:
    radial-gradient(60% 46% at 62% 22%, rgba(240, 193, 104, 0.16), transparent 70%),
    radial-gradient(50% 60% at 58% 62%, rgba(0, 0, 0, 0.72), transparent 72%),
    linear-gradient(200deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.72) 55%, transparent 88%);
  clip-path: polygon(
    58% 0%, 74% 2%, 82% 12%, 78% 22%, 88% 30%, 96% 44%, 88% 52%,
    92% 66%, 82% 74%, 86% 88%, 74% 100%, 30% 100%, 34% 84%, 24% 72%,
    32% 58%, 20% 46%, 30% 34%, 24% 20%, 40% 10%
  );
  opacity: 0.92;
}
.hero-film-perfs {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22px;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(232, 221, 196, 0.16) 0 9px,
    transparent 9px 26px
  );
  mix-blend-mode: screen;
}
.hero-film-perfs::before, .hero-film-perfs::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22px;
  background: inherit;
}
.hero-film-perfs::before {
  left: 0;
}
.hero-film-perfs::after {
  right: 0;
}
.hero-film-perfs {
  left: 0;
  right: 0;
  background: none;
}
.hero-film-perfs::before {
  background-image: repeating-linear-gradient(
    180deg,
    rgba(232, 221, 196, 0.18) 0 9px,
    transparent 9px 26px
  );
}
.hero-film-perfs::after {
  background-image: repeating-linear-gradient(
    180deg,
    rgba(232, 221, 196, 0.18) 0 9px,
    transparent 9px 26px
  );
}
.hero-scratches {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(94deg, rgba(232, 221, 196, 0.05) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(88deg, rgba(0, 0, 0, 0.16) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0 2px, transparent 2px 7px);
  mix-blend-mode: overlay;
}
.hero-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
  padding: 14px;
}
.poster-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  max-width: 200px;
}
.poster-frame {
  border: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
  padding: 5px;
  box-shadow: 0 0 0 1px rgba(240, 193, 104, 0.14), 0 10px 24px rgba(0, 0, 0, 0.6);
}
.poster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06) sepia(0.12);
}
.poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.btn-play, .btn-theater, .btn-light {
  flex: 1 1 auto;
  min-width: 62px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--film-cream);
  background: linear-gradient(180deg, var(--brown-mid), var(--brown));
  border: 1px solid var(--edge);
  border-radius: 0;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(232, 221, 196, 0.1);
  transition: background 0.15s linear, color 0.15s linear;
}
.btn-play {
  color: #23180f;
  background: linear-gradient(180deg, var(--lamp-hot), var(--lamp-warm));
  border-color: #7a5a20;
}
.btn-play:hover, .btn-play:focus-visible, .btn-theater:hover, .btn-theater:focus-visible, .btn-light:hover, .btn-light:focus-visible {
  background: linear-gradient(180deg, #ffd98a, #e3a94a);
  color: #23180f;
}
.hero-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.hero-tagline {
  align-self: flex-start;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--lamp-hot);
  padding: 8px 5px;
  border: 1px solid rgba(240, 193, 104, 0.4);
  background: rgba(0, 0, 0, 0.42);
  text-shadow: 0 0 12px rgba(240, 193, 104, 0.4);
  max-height: 260px;
}
.hero-title {
  font-size: clamp(22px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.14;
  color: var(--film-cream);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.9), 0 0 22px rgba(240, 193, 104, 0.22);
}
.synopsis {
  border-top: 1px solid rgba(240, 193, 104, 0.16);
  padding-top: 8px;
}
.synopsis-para {
  font-size: 13px;
  line-height: 1.72;
  color: var(--film-cream-dim);
  margin-bottom: 5px;
}
.synopsis-para:last-child {
  margin-bottom: 0;
}
.cast {
  border-top: 1px solid rgba(240, 193, 104, 0.16);
  padding-top: 8px;
}
.cast-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
  align-items: start;
}
.cast-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}
.cast-avatar {
  width: 100%;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--edge);
  background:
    linear-gradient(200deg, rgba(232, 221, 196, 0.14), transparent 62%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.24) 0 2px, transparent 2px 5px),
    linear-gradient(160deg, #4a4640 0%, #2a1e16 70%);
  filter: grayscale(1) contrast(1.14);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.6);
}
.cast-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--film-cream);
}
.cast-role {
  font-size: 11px;
  line-height: 1.4;
  color: var(--iron-light);
}
.episode-status {
  border-top: 1px solid rgba(240, 193, 104, 0.16);
  padding-top: 8px;
}
.status-line {
  font-family: var(--font-hei);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--lamp-warm);
}
.status-note {
  font-size: 12px;
  color: var(--film-cream-dim);
}
.details {
  border-top: 1px solid rgba(240, 193, 104, 0.16);
  padding-top: 8px;
}
.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 3px 14px;
  align-items: start;
}
.detail-key {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--iron-light);
  border-bottom: 1px dotted rgba(232, 221, 196, 0.16);
}
.detail-value {
  font-size: 13px;
  color: var(--film-cream);
  margin-bottom: 4px;
}
.player-shell {
  position: relative;
  z-index: 3;
  margin: 0 14px 14px;
  border: 1px solid var(--edge);
  background: #0b0806;
  box-shadow: inset 0 0 0 1px rgba(240, 193, 104, 0.12), 0 12px 26px rgba(0, 0, 0, 0.6);
}
.player-shell.is-theater {
  box-shadow: inset 0 0 0 1px rgba(240, 193, 104, 0.5), 0 0 40px rgba(240, 193, 104, 0.18);
}
.player-shell.is-lights-off {
  border-color: rgba(240, 193, 104, 0.35);
}
.player-video {
  display: block;
  background: #000;
  width: 100%;
}
.player-shell:fullscreen .player-video {
  width: 100%;
  height: auto;
}
.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 8px;
  padding: 7px 9px;
  background: linear-gradient(180deg, rgba(42, 30, 22, 0.96), rgba(20, 15, 11, 0.98));
  border-top: 1px solid var(--edge);
}
.ctrl-btn {
  padding: 4px 9px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--film-cream);
  background: linear-gradient(180deg, var(--brown-mid), var(--brown));
  border: 1px solid var(--edge);
  border-radius: 0;
  cursor: pointer;
}
.ctrl-btn:hover, .ctrl-btn:focus-visible {
  color: #23180f;
  background: linear-gradient(180deg, var(--lamp-hot), var(--lamp-warm));
}
.ctrl-btn.is-muted {
  color: #ffb27a;
  border-color: #8a4a22;
}
.ctrl-range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 110px;
  min-width: 90px;
  height: 6px;
  background: linear-gradient(90deg, var(--iron-light), var(--iron));
  border: 1px solid var(--edge);
  border-radius: 0;
  cursor: pointer;
}
.ctrl-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 16px;
  border-radius: 0;
  background: linear-gradient(180deg, var(--lamp-hot), var(--lamp-warm));
  border: 1px solid #6d4d18;
}
.ctrl-range::-moz-range-thumb {
  width: 11px;
  height: 16px;
  border-radius: 0;
  background: var(--lamp-warm);
  border: 1px solid #6d4d18;
}
.ctrl-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--film-cream-dim);
}
.ctrl-select {
  padding: 4px 6px;
  font-size: 12px;
  color: var(--film-cream);
  background: var(--brown);
  border: 1px solid var(--edge);
  border-radius: 0;
  cursor: pointer;
}
.timeline {
  border-top: 1px solid rgba(240, 193, 104, 0.14);
  padding-top: 10px;
}
.timeline-heading {
  margin-bottom: 8px;
}
.film-strip-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px 8px;
  border: 1px solid var(--edge);
  background:
    repeating-linear-gradient(180deg, rgba(20, 15, 11, 0.9) 0 4px, rgba(42, 30, 22, 0.9) 4px 8px),
    linear-gradient(180deg, #1a1310, #100c09);
  box-shadow: inset 0 0 0 1px rgba(240, 193, 104, 0.1), inset 0 0 40px rgba(0, 0, 0, 0.7);
  scrollbar-width: thin;
  scrollbar-color: var(--iron-light) var(--brown-deep);
}
.film-strip-scroll::-webkit-scrollbar {
  height: 8px;
}
.film-strip-scroll::-webkit-scrollbar-track {
  background: var(--brown-deep);
}
.film-strip-scroll::-webkit-scrollbar-thumb {
  background: var(--iron-light);
  border: 1px solid var(--edge);
}
.film-strip {
  display: flex;
  gap: 10px;
  align-items: stretch;
  width: max-content;
  padding: 0 6px;
}
.timeline-node {
  flex: 0 0 auto;
  width: 152px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  border: 1px solid rgba(232, 221, 196, 0.14);
  background: rgba(0, 0, 0, 0.42);
}
.node-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--edge);
  background:
    radial-gradient(80% 70% at 30% 25%, rgba(240, 193, 104, 0.22), transparent 68%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0 2px, transparent 2px 5px),
    linear-gradient(140deg, #4a4640, #201812 78%);
  filter: grayscale(0.85) contrast(1.1);
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.65);
}
.node-timecode {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--lamp-warm);
}
.node-label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--film-cream-dim);
}
.episodes {
  border-top: 1px solid rgba(240, 193, 104, 0.14);
  padding-top: 10px;
}
.episode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  align-items: start;
}
.episode-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0 8px;
  padding: 8px 9px 8px 0;
  border: 1px solid var(--edge);
  background:
    linear-gradient(180deg, rgba(42, 30, 22, 0.66), rgba(20, 15, 11, 0.7));
  box-shadow: inset 0 1px 0 rgba(232, 221, 196, 0.05);
  overflow: hidden;
  transition: background 0.15s linear;
}
.episode-card:hover {
  background: linear-gradient(180deg, rgba(59, 43, 31, 0.72), rgba(28, 20, 16, 0.78));
}
.episode-number {
  grid-row: 1 / -1;
  align-self: start;
  font-size: 34px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: rgba(232, 221, 196, 0.2);
  padding: 2px 0 0 8px;
  text-shadow: 0 0 18px rgba(240, 193, 104, 0.14);
}
.episode-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.episode-title {
  font-family: var(--font-hei);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--film-cream);
}
.episode-summary {
  font-size: 12px;
  line-height: 1.6;
  color: var(--film-cream-dim);
}
.episode-duration {
  font-family: var(--font-hei);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--iron-light);
  border-top: 1px dotted rgba(232, 221, 196, 0.14);
  padding-top: 3px;
  margin-top: 2px;
  align-self: flex-start;
}
.comments {
  border-top: 1px solid rgba(240, 193, 104, 0.14);
  padding-top: 10px;
}
.comment-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}
.comment-card {
  padding: 8px 10px;
  border: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(42, 30, 22, 0.82), rgba(20, 15, 11, 0.86));
  box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(232, 221, 196, 0.06);
}
.comment-card-a {
  transform: rotate(-0.5deg);
}
.comment-card-b {
  transform: rotate(0.6deg) translateY(7px);
}
.comment-card-c {
  transform: rotate(-0.3deg) translateY(3px);
}
.comment-nickname {
  font-family: var(--font-hei);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--lamp-warm);
  margin-bottom: 4px;
}
.comment-text {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--film-cream-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-region {
  border-top: 1px solid rgba(240, 193, 104, 0.14);
  padding-top: 10px;
}
.rec-scroll-row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  align-items: flex-start;
  scrollbar-width: thin;
  scrollbar-color: var(--iron-light) var(--brown-deep);
}
.rec-scroll-row::-webkit-scrollbar {
  height: 7px;
}
.rec-scroll-row::-webkit-scrollbar-track {
  background: var(--brown-deep);
}
.rec-scroll-row::-webkit-scrollbar-thumb {
  background: var(--iron-light);
  border: 1px solid var(--edge);
}
a.rec-card.rec-card-scroll {
  flex: 0 0 168px;
  width: 168px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  color: var(--film-cream);
  text-decoration: none;
  border: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(42, 30, 22, 0.78), rgba(20, 15, 11, 0.84));
  box-shadow: inset 0 1px 0 rgba(232, 221, 196, 0.05);
}
a.rec-card.rec-card-scroll:hover, a.rec-card.rec-card-scroll:focus-visible {
  color: var(--lamp-hot);
  border-color: rgba(240, 193, 104, 0.55);
  text-decoration: none;
}
.rec-card-list {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(42, 30, 22, 0.78), rgba(20, 15, 11, 0.84));
  align-items: start;
}
a.rec-card.rec-card-list {
  color: var(--film-cream);
  text-decoration: none;
}
a.rec-card.rec-card-list:hover, a.rec-card.rec-card-list:focus-visible {
  color: var(--lamp-hot);
  border-color: rgba(240, 193, 104, 0.55);
  text-decoration: none;
}
a.rec-card.rec-card-list .rec-pic {
  grid-row: 1 / span 2;
}
a.rec-card.rec-card-list .rec-name, a.rec-card.rec-card-list .rec-blurb {
  grid-column: 2;
}
a.rec-card.rec-card-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  color: var(--film-cream);
  text-decoration: none;
  border: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(42, 30, 22, 0.78), rgba(20, 15, 11, 0.84));
  box-shadow: inset 0 1px 0 rgba(232, 221, 196, 0.05);
}
a.rec-card.rec-card-grid:hover, a.rec-card.rec-card-grid:focus-visible {
  color: var(--lamp-hot);
  border-color: rgba(240, 193, 104, 0.55);
  text-decoration: none;
}
[data-runtime="recommendation"] img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border: 1px solid var(--edge);
  filter: saturate(0.85) contrast(1.06);
}
.rec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
.rec-list-item {
  min-width: 0;
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 9px;
  align-items: start;
}
.rec-name {
  font-family: var(--font-hei);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: inherit;
  line-height: 1.35;
}
.rec-blurb {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--film-cream-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-footer {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 14px 26px;
  border-top: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(20, 15, 11, 0.94), rgba(11, 8, 6, 0.98));
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-disclaimer {
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--iron-light);
  max-width: 76ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}
a[data-contract="footer-home"], a[data-contract="footer-sitemap"] {
  font-family: var(--font-hei);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--film-cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 221, 196, 0.24);
  padding-bottom: 1px;
}
a[data-contract="footer-home"]:hover, a[data-contract="footer-home"]:focus-visible, a[data-contract="footer-sitemap"]:hover, a[data-contract="footer-sitemap"]:focus-visible {
  color: var(--lamp-warm);
  border-bottom-color: var(--lamp-warm);
  text-decoration: underline;
}
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
}
.friend-links-label {
  font-family: var(--font-hei);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--lamp-warm);
  margin-right: 2px;
}
a.runtime-friend-link {
  font-size: 12px;
  color: var(--iron-light);
  text-decoration: none;
  border-bottom: 1px dotted rgba(232, 221, 196, 0.2);
}
a.runtime-friend-link:hover, a.runtime-friend-link:focus-visible {
  color: var(--film-cream);
  border-bottom-color: var(--film-cream);
  text-decoration: underline;
}
@media (max-width: 900px) {.hero-body {
    grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
    gap: 12px 14px;
  }
.poster-column {
    max-width: 168px;
  }
.hero-figure {
    right: -8%;
    width: 62%;
    opacity: 0.6;
  }
.comment-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.rec-list {
    grid-template-columns: minmax(0, 1fr);
  }}
@media (max-width: 720px) {.page-main {
    gap: 14px;
    padding: 10px 10px 20px;
  }
.header-inner {
    gap: 6px 12px;
    padding: 7px 10px;
  }
.hero-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }
.poster-column {
    max-width: 190px;
  }
.hero-tagline {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 0.18em;
    max-height: none;
    padding: 5px 8px;
  }
.hero-figure {
    right: -14%;
    width: 78%;
    opacity: 0.42;
  }
.player-shell {
    margin: 0 10px 10px;
  }
.episode-grid {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-wall {
    grid-template-columns: minmax(0, 1fr);
  }
.comment-card-a, .comment-card-b, .comment-card-c {
    transform: none;
  }
.cast-strip {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  }
.detail-list {
    grid-template-columns: minmax(0, 1fr);
  }
a.rec-card.rec-card-scroll {
    flex: 0 0 146px;
    width: 146px;
  }
.site-footer {
    padding: 14px 10px 22px;
  }}
@media (max-width: 480px) {body {
    font-size: 14px;
  }
.hero-title {
    font-size: 21px;
  }
.poster-column {
    max-width: 150px;
  }
.btn-play, .btn-theater, .btn-light {
    min-width: 0;
    flex: 1 1 100%;
  }
.episode-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }
.episode-number {
    font-size: 27px;
  }
.rec-grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  }
.timeline-node {
    width: 138px;
  }}
@media (prefers-reduced-motion: reduce) {.btn-play, .btn-theater, .btn-light, .ctrl-btn, .episode-card {
    transition: none;
  }}

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}
