@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Noto+Serif+SC:wght@600;700;900&display=swap');

:root {
  --ink: #17110e;
  --paper: #e9dfc9;
  --paper-deep: #c9b996;
  --red: #a71f1f;
  --red-dark: #620f16;
  --red-bright: #cf2f25;
  --gold: #d6b36b;
  --scene: 0;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding: 0;
}
body {
  margin: 0;
  color: #e8e2d4;
  background: #05060a;
  font-family: "Noto Serif SC", "Songti SC", serif;
  overscroll-behavior: none;
}

a { color: inherit; }
.page-grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .14;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
}

/* CRT television overlay — stronger scan + intermittent glitch */
.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  pointer-events: none;
  overflow: hidden;
  animation: crtFlicker 3.6s steps(2, end) infinite;
}
.crt-scanlines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 2px,
      rgba(8, 3, 2, .38) 2px,
      rgba(8, 3, 2, .38) 3px
    );
  opacity: 1;
  mix-blend-mode: multiply;
}
/* The eyes in the existing full-body cutout sit at 50% / 21% of the source.
   Crop with a background so the browser paints only a viewport-sized echo. */
.crt-face-echo {
  --face-echo-size: max(680vw, 600vh);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background-image: var(--face-echo-image, url('./assets/character-cutout.png?v=4'));
  background-repeat: no-repeat;
  background-size: var(--face-echo-size) auto;
  background-position: 50% calc(42vh - var(--face-echo-size) * .366);
  mix-blend-mode: screen;
  filter: saturate(.55) contrast(1.08);
  -webkit-mask-image: radial-gradient(ellipse at 50% 43%, #000 18%, #0009 63%, transparent 100%);
  mask-image: radial-gradient(ellipse at 50% 43%, #000 18%, #0009 63%, transparent 100%);
}
.crt-overlay.is-glitching.has-face-echo .crt-face-echo {
  animation: crtFaceEcho .42s steps(1, end) 1;
}
@keyframes crtFaceEcho {
  0%, 12% { opacity: .13; transform: translate(5px, -2px) scale(1.025); }
  20% { opacity: .035; transform: translate(-7px, 1px); }
  35% { opacity: .16; transform: translate(-3px, 0) scale(1.015); }
  55% { opacity: .08; transform: translate(3px, -1px); }
  60%, 100% { opacity: 0; transform: none; }
}
.crt-scanlines::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to right,
    rgba(255, 60, 50, .04) 0,
    transparent 1px,
    transparent 2px,
    rgba(40, 120, 220, .035) 3px,
    transparent 4px
  );
  mix-blend-mode: overlay;
  opacity: .9;
}
.crt-scanlines::after {
  content: "";
  position: absolute;
  inset: -20% 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 236, 196, .07) 48%,
    transparent 54%,
    transparent 100%
  );
  background-size: 100% 220%;
  animation: crtSweep 5.5s linear infinite;
}
.crt-rgb {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(200, 35, 28, .1), transparent 30%, transparent 70%, rgba(35, 90, 180, .09));
  mix-blend-mode: soft-light;
  opacity: .95;
  animation: crtRgbPulse 2.8s ease-in-out infinite;
}
.crt-rgb::before,
.crt-rgb::after {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
}
.crt-rgb::before {
  box-shadow: inset 2px 0 0 rgba(255, 50, 40, .16);
  transform: translateX(-1.2px);
  opacity: .55;
}
.crt-rgb::after {
  box-shadow: inset -2px 0 0 rgba(50, 130, 255, .14);
  transform: translateX(1.2px);
  opacity: .5;
}
.crt-glitch {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.crt-overlay.is-glitching .crt-glitch {
  animation: crtGlitchBurst .42s steps(1, end) 1;
}
.crt-glitch::before,
.crt-glitch::after {
  content: "";
  position: absolute;
  left: -4%;
  width: 108%;
  height: 7%;
  opacity: 0;
  mix-blend-mode: lighten;
}
.crt-glitch::before {
  top: 28%;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255, 40, 40, .55) 8% 12%, transparent 12% 40%, rgba(40, 160, 255, .45) 40% 48%, transparent 48%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 2px, transparent 2px 5px);
  box-shadow: 0 0 0 1px rgba(255, 60, 40, .2);
}
.crt-overlay.is-glitching .crt-glitch::before {
  animation: crtSliceA .42s steps(1, end) 1;
}
.crt-glitch::after {
  top: 61%;
  height: 4.5%;
  background:
    linear-gradient(90deg, transparent 0 55%, rgba(40, 180, 255, .5) 55% 62%, transparent 62% 78%, rgba(255, 50, 40, .45) 78% 84%, transparent 84%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 1px, transparent 1px 4px);
}
.crt-overlay.is-glitching .crt-glitch::after {
  animation: crtSliceB .42s steps(1, end) 1;
}
.crt-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 72% 68% at 50% 48%, transparent 28%, rgba(20, 8, 5, .62) 100%);
  box-shadow:
    inset 0 0 110px rgba(8, 3, 2, .62),
    inset 0 0 28px rgba(8, 3, 2, .72);
}

@keyframes crtFlicker {
  0%, 90%, 100% { opacity: 1; }
  91% { opacity: .92; }
  92% { opacity: 1; }
  94% { opacity: .86; }
  95% { opacity: 1; }
  97% { opacity: .9; }
  98% { opacity: 1; }
}
@keyframes crtSweep {
  0% { transform: translateY(-35%); }
  100% { transform: translateY(65%); }
}
@keyframes crtRgbPulse {
  0%, 100% { opacity: .85; }
  50% { opacity: 1; }
}
@keyframes crtGlitchBurst {
  0%, 12% { opacity: 1; }
  20% { opacity: .35; }
  35%, 55% { opacity: 1; }
  60%, 100% { opacity: 0; }
}
@keyframes crtSliceA {
  0% { opacity: 1; transform: translate(-18px, -2px) skewX(-8deg); }
  25% { opacity: .85; transform: translate(22px, 1px) skewX(6deg); }
  45% { opacity: 1; transform: translate(-8px, 0) skewX(-3deg); }
  55%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes crtSliceB {
  0% { opacity: .9; transform: translate(16px, 1px) skewX(7deg); }
  25% { opacity: 1; transform: translate(-24px, -1px) skewX(-5deg); }
  45% { opacity: .7; transform: translate(10px, 0) skewX(4deg); }
  55%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes theaterGlitch {
  0% {
    filter: contrast(1.2) saturate(1.25) hue-rotate(12deg);
    transform: translate(3px, -1px) skewX(.6deg);
  }
  30% {
    filter: contrast(1.35) saturate(1.4) hue-rotate(-14deg);
    transform: translate(-4px, 2px) skewX(-.8deg);
  }
  55% {
    filter: contrast(1.15) hue-rotate(6deg);
    transform: translate(2px, 0) skewX(.4deg);
  }
  70%, 100% {
    filter: none;
    transform: none;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  z-index: 80;
  padding: 12px clamp(18px, 3vw, 48px);
  color: #f0dfbd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "DM Mono", monospace;
  pointer-events: none;
}
.site-header a { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border: 1px solid currentColor; border-radius: 50%;
  display: grid; place-items: center; font-family: Georgia, serif; font-style: italic; font-size: 22px;
}
.brand-copy { font-size: 8px; line-height: 1.35; letter-spacing: .15em; }
.chapter-nav { display: flex; gap: 7px; }
.chapter-nav a {
  width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid transparent;
  border-radius: 50%; font-size: 11px; text-decoration: none; transition: .25s ease;
}
.chapter-nav a:hover, .chapter-nav a.is-active { border-color: currentColor; background: rgba(214,179,107,.12); }
.show-status { font-size: 9px; letter-spacing: .14em; display: flex; gap: 8px; align-items: center; }
.show-status i { width: 6px; height: 6px; background: #e83a30; border-radius: 50%; box-shadow: 0 0 12px #e83a30; }

.theater {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #05060a;
  color: #e8e2d4;
  isolation: isolate;
}
.theater.is-glitching {
  animation: theaterGlitch .42s steps(2, end) 1;
}
.backdrop-night {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: #05060a;
}
.night-crossroads {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}
.night-fog {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 40% at 50% 78%, rgba(140, 150, 165, .14), transparent 70%),
    linear-gradient(180deg, transparent 40%, rgba(8, 10, 16, .35) 100%);
  animation: nightFogDrift 11s ease-in-out infinite alternate;
}
.night-red-wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 45% at 30% 42%, rgba(255, 30, 30, .12), transparent 65%);
  animation: nightRedPulse 3.4s ease-in-out infinite;
}
@keyframes nightFogDrift {
  0% { opacity: .85; transform: translateX(-1.5%) scale(1); }
  100% { opacity: 1; transform: translateX(1.5%) scale(1.03); }
}
@keyframes nightRedPulse {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}

.scene-copy { position: absolute; inset: 0; z-index: 5; }
.story-card {
  position: absolute;
  width: min(38vw, 570px);
  top: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-42%) translateX(-25px) rotate(-1deg);
  transition: opacity .45s ease, transform .55s cubic-bezier(.22,.7,.18,1), visibility .45s;
}
.story-card.is-active { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0) rotate(0); }
.left-card, .intro-card { left: clamp(9vw, 12vw, 180px); }
.right-card { right: clamp(9vw, 12vw, 180px); }
.right-card > .eyebrow { justify-content: flex-end; }
.right-card > h2 { text-align: right; }
.eyebrow {
  margin: 0 0 17px; font-family: "DM Mono", monospace; font-size: 10px; font-weight: 500;
  letter-spacing: .2em; display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.story-card h1, .story-card h2 { margin: 0; line-height: .98; letter-spacing: -.055em; font-size: clamp(56px, 7.2vw, 116px); font-weight: 900; }
.story-card h2 { font-size: clamp(50px, 6.2vw, 98px); }
.story-card h1 em {
  display: block;
  color: #ff3a3a;
  font-family: Georgia, "Noto Serif SC", serif;
  font-size: .62em;
  font-weight: 700;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.story-card .lead, .story-card > p:not(.eyebrow):not(.social-links) {
  max-width: 450px; margin: 24px 0; font-size: clamp(13px, 1.1vw, 17px); line-height: 1.9; letter-spacing: .04em;
}
.scroll-note { margin-top: 36px; font-size: 10px; font-family: "DM Mono", monospace; letter-spacing: .12em; display: flex; align-items: center; gap: 12px; }
.scroll-note span { width: 20px; height: 32px; border: 1px solid currentColor; border-radius: 14px; position: relative; }
.scroll-note span::after { content: ""; position: absolute; width: 3px; height: 6px; border-radius: 2px; background: currentColor; top: 7px; left: 8px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 50% { transform: translateY(10px); opacity: .2; } }

.scene-slogan { margin-bottom: 12px !important; font-weight: 700; }
.entrance-line {
  max-width: 500px;
  margin: 0;
  padding: 3px 0 3px 17px;
  border-left: 3px solid #ff3a3a;
  color: #d8d0c0;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.8;
  letter-spacing: .04em;
}
.bilibili-link {
  width: min(100%, 390px);
  margin-top: 19px;
  padding: 11px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: #f0dfbd;
  background: #1a0508;
  border: 2px solid #e8e2d4;
  box-shadow: 4px 4px 0 #5a1010;
  font-family: "DM Mono", monospace;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.bilibili-link:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #5a1010; background: #cf2f25; }
.bilibili-link span { font-size: 8px; letter-spacing: .16em; opacity: .62; }
.bilibili-link strong { overflow: hidden; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.bilibili-link b { font-size: 16px; line-height: 1; }

.mini-facts { border-top: 1px solid rgba(23,17,14,.3); margin-top: 34px; font-family: "DM Mono", monospace; }
.mini-facts div { padding: 11px 0; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(23,17,14,.2); }
.mini-facts dt { font-size: 10px; opacity: .55; }
.mini-facts dd { margin: 0; font-size: 11px; }
.profile-card { width: min(40vw, 610px); }
.profile-card h2 { font-size: clamp(48px, 5.5vw, 86px); }
.identity-line { margin: 17px 0 20px !important; font-weight: 700; }
.profile-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  margin: 0;
  border-top: 1px solid rgba(232,226,212,.28);
  font-family: "DM Mono", monospace;
}
.profile-facts div {
  min-width: 0;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(232,226,212,.22);
}
.profile-facts dt { flex: 0 0 auto; font-size: 9px; opacity: .55; }
.profile-facts dd { margin: 0; font-size: 11px; text-align: right; }
.profile-facts .wide-fact { grid-column: 1 / -1; }
.support-color { color: #ff5a5a; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.support-color i { width: 10px; height: 10px; border-radius: 50%; background: #ff2231; box-shadow: 0 0 0 2px rgba(255,34,49,.18); }
.emoji-value { font-size: 15px !important; line-height: 10px; }
.tag-link { color: #ff5a5a; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tag-link:hover { color: #ff3a3a; }

.setting-card { width: min(39vw, 590px); }
.setting-card h2 { font-size: clamp(48px, 5.4vw, 84px); }
.setting-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 24px 0 14px;
  padding: 0;
}
.setting-grid li {
  min-height: 62px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(232,226,212,.22);
  background: rgba(12,14,20,.45);
  box-shadow: 3px 3px 0 rgba(0,0,0,.35);
}
.setting-grid b { font-size: 13px; }
.setting-grid span { margin-top: 3px; font: 9px "DM Mono", monospace; opacity: .62; }
.setting-grid .weapon-item { grid-column: 1 / -1; color: #f0dfbd; background: #1a0508; border-color: #e8e2d4; flex-direction: row; align-items: center; justify-content: space-between; }
.setting-grid .weapon-item span { margin: 0; opacity: .9; }
.favorite-strip { padding-top: 11px; border-top: 1px solid rgba(232,226,212,.28); }
.favorite-strip small, .music-label, .music-block small { display: block; margin-bottom: 6px; font: 8px "DM Mono", monospace; letter-spacing: .14em; opacity: .55; }
.favorite-strip p { margin: 0; font-size: clamp(15px, 1.3vw, 20px); font-weight: 700; }

.dream-card { width: min(43vw, 660px); }
.dream-card h2 { font-size: clamp(46px, 5.2vw, 82px); }
.dream-card h2 em { color: #ff3a3a; font-style: normal; }
.dream-card h2,
.dream-card .eyebrow,
.dream-card .music-block {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .9),
    0 4px 18px rgba(0, 0, 0, .75),
    0 0 28px rgba(0, 0, 0, .55);
}
.dream-card .music-block {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.dream-card .music-block small {
  color: rgba(255, 196, 196, .72);
  opacity: 1;
}
.music-block { margin-top: 22px; }
.music-genres { margin: 0 0 18px; font-size: clamp(13px, 1vw, 16px); line-height: 1.65; font-weight: 700; }
.artist-cloud { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.artist-cloud span { padding: 5px 8px; border: 1px solid rgba(232,226,212,.38); font: 9px "DM Mono", monospace; background: transparent; text-shadow: 0 1px 10px rgba(0,0,0,.85); }
.recent-music { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 18px 0 0; padding-top: 13px; border-top: 1px solid rgba(255,90,90,.35); }
.recent-music small { flex-basis: 100%; margin: 0; }
.recent-music strong { color: #ff5a5a; font: 600 clamp(13px, 1.1vw, 17px) "DM Mono", monospace; }
.recent-music i { opacity: .35; }
.work-list { margin-top: 28px; border-top: 1px solid var(--ink); }
.work-list a { display: grid; grid-template-columns: 35px 1fr auto; gap: 12px; align-items: center; padding: 15px 3px; border-bottom: 1px solid rgba(23,17,14,.35); text-decoration: none; transition: padding .25s, color .25s; }
.work-list a:hover { padding-left: 12px; color: var(--red); }
.work-list span, .work-list small { font-family: "DM Mono", monospace; font-size: 9px; }
.work-list strong { font-size: clamp(16px, 1.45vw, 22px); }
.ticket-button { width: min(100%, 390px); margin-top: 32px; padding: 17px 20px; color: #f3dfb8; background: var(--red-dark); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); display: flex; justify-content: space-between; text-decoration: none; font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: .12em; transition: .2s; }
.ticket-button:hover { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--ink); background: var(--red); }
.ticket-button b { font-size: 18px; line-height: 10px; }
.social-links { display: flex; gap: 11px; margin-top: 25px; font: 10px "DM Mono", monospace; }
.social-links a { text-underline-offset: 4px; }
.social-links i { opacity: .35; }

.performer {
  --performer-x: 68vw;
  --performer-y: 51vh;
  --performer-r: 3deg;
  position: absolute;
  z-index: 12;
  left: var(--performer-x);
  top: var(--performer-y);
  width: clamp(280px, 35vw, 590px);
  height: min(86vh, 900px);
  transform: translate(-50%,-50%) rotate(var(--performer-r));
  transform-origin: 50% 78%;
  will-change: left, top, transform;
}
.performer img {
  position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; object-fit: contain;
  z-index: 2; user-select: none;
  transform: scale(1.2);
  filter: drop-shadow(0 0 18px rgba(255, 40, 40, .35)) brightness(.82) contrast(1.08) saturate(.9);
}
.paper-shadow {
  position: absolute;
  z-index: 1;
  width: 58%;
  height: 7%;
  left: 21%;
  bottom: -8%;
  background: rgba(255, 30, 30, .22);
  filter: blur(14px);
  border-radius: 50%;
  transform: rotate(-5deg);
}
.performer-label { position: absolute; right: 2%; top: 34%; z-index: 4; font: 8px "DM Mono", monospace; letter-spacing: .15em; color: #e7d4af; background: var(--red-dark); border: 1px solid var(--ink); padding: 6px 9px; transform: rotate(5deg); }
.puppet-stick {
  position: absolute; z-index: 1; width: 13px; height: 66vh; left: 48%; top: 70%;
  border-left: 2px solid #2e1a11; border-right: 2px solid #2e1a11;
  background: linear-gradient(90deg, #553921, #b18450 45%, #53351f);
  transform-origin: top; transform: rotate(calc(var(--performer-r) * -.6));
  box-shadow: 6px 5px 9px rgba(30,14,5,.22);
  opacity: .25;
  filter: brightness(.4);
}

.road-sign-prop {
  position: absolute;
  z-index: 8;
  top: 28vh;
  right: -8vw;
  width: clamp(360px, 44vw, 560px);
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 16px rgba(255, 40, 40, .25)) brightness(.55) saturate(.7);
  opacity: .55;
  transform: rotate(.8deg);
  transform-origin: 42% 20%;
}
.stage-counter { position: absolute; left: 50%; bottom: 3.2vh; z-index: 40; transform: translateX(-50%); color: #ff5a5a; display: flex; align-items: baseline; gap: 6px; font-family: "DM Mono", monospace; }
.stage-counter span { font-size: 16px; }.stage-counter b { font-weight: 400; opacity: .45; }.stage-counter small { font-size: 9px; opacity: .55; }

.scroll-track { position: relative; z-index: -10; }
.scroll-track section {
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@media (max-width: 780px) {
  /* The fixed player occupies three rows on phones; keep scene copy above it. */
  :root { --mobile-player-clearance: 154px; }
  .site-header { height: 60px; padding-inline: 14px; }
  .brand-copy, .show-status { display: none; }
  .brand-mark { width: 31px; height: 31px; font-size: 18px; }
  .chapter-nav { margin-left: auto; }
  .scene-copy { z-index: 14; }
  .story-card { width: calc(100vw - 68px); top: auto; bottom: max(var(--mobile-player-clearance), calc(17vh + 72px)); }
  .story-card.is-active { transform: translateY(0); }
  .left-card, .intro-card, .right-card { left: 34px; right: auto; }
  .story-card h1, .story-card h2 { font-size: clamp(46px, 15vw, 72px); }
  .story-card .lead, .story-card > p:not(.eyebrow):not(.social-links) { max-width: 88%; font-size: 12px; line-height: 1.7; margin-block: 15px; }
  .intro-card { bottom: max(var(--mobile-player-clearance), calc(18vh + 72px)); }
  .intro-card h1 { font-size: clamp(50px, 17vw, 78px); }
  .intro-card h1 em { font-size: .5em; }
  .entrance-line { max-width: 90%; font-size: 10px; }
  .bilibili-link { width: 88%; margin-top: 12px; padding: 8px 10px; }
  .bilibili-link strong { font-size: 8px; }
  .profile-card, .setting-card, .dream-card { width: calc(100vw - 68px); bottom: max(var(--mobile-player-clearance), calc(14vh + 72px)); }
  .profile-card h2, .setting-card h2, .dream-card h2 { font-size: clamp(42px, 12vw, 60px); }
  .identity-line { margin-block: 9px 12px !important; }
  .profile-facts { column-gap: 13px; }
  .profile-facts div { padding: 7px 0; }
  .profile-facts dt { font-size: 8px; }
  .profile-facts dd { font-size: 9px; }
  .setting-grid { margin-top: 14px; gap: 6px; }
  .setting-grid li { min-height: 48px; padding: 7px 9px; }
  .setting-grid b { font-size: 11px; }
  .favorite-strip p { font-size: 13px; }
  .music-block { margin-top: 13px; }
  .dream-card .music-block {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
  }
  .dream-card .music-block small { color: rgba(255, 196, 196, .72); opacity: 1; }
  .dream-card .artist-cloud span { background: transparent; }
  .music-genres { margin-bottom: 12px; font-size: 11px; }
  .artist-cloud { gap: 4px; }
  .artist-cloud span { padding: 3px 5px; font-size: 7px; }
  .recent-music { margin-top: 10px; padding-top: 9px; gap: 6px; }
  .recent-music strong { font-size: 10px; }
  .scroll-note { margin-top: 18px; }
  .performer {
    z-index: 10;
    width: 72vw;
    height: 52vh;
    transform: translate(-50%,-50%) rotate(var(--performer-r)) scale(.62);
  }
  .performer-label { display: none; }
  .road-sign-prop {
    top: 36vh;
    right: -18vw;
    width: 64vw;
  }
  .mini-facts { width: 86%; margin-top: 18px; }
  .mini-facts div { padding: 8px 0; }
  .work-list { width: 92%; margin-top: 16px; }
  .work-list a { padding-block: 10px; }
  .finale-card .social-links { margin-top: 17px; }
  .ticket-button { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .crt-overlay,
  .crt-scanlines::after,
  .crt-rgb,
  .crt-glitch,
  .crt-face-echo,
  .crt-glitch::before,
  .crt-glitch::after,
  .theater,
  .night-fog,
  .night-red-wash {
    animation: none !important;
  }
  .crt-scanlines::after { opacity: 0; }
  .crt-glitch { opacity: 0; }
  .crt-face-echo { display: none; }
}
