﻿:root {
  --ink: #14202a;
  --muted: rgba(20, 32, 42, .68);
  --blue: #70d9ea;
  --pink: #ff7eb5;
  --night: #070910;
  --paper: rgba(255, 255, 246, .78);
  --progress: 0;
  --display-progress: 0;
  --dark-progress: 0;
  --approach-scale: 0;
  --header-bg: 0.34;
  --header-blur: 5px;
  --camera-bob: 0px;
  --camera-sway: 0px;
  --scene-count: 16;
  --late-dark-opacity: 0;
  --tunnel-opacity: 0;
  --tunnel-center: 58%;
  --easter-eye-progress: 0;
  --loading-progress: 0;
  color-scheme: light;
}

/* Base */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Noto Serif KR", serif;
  background: #071014;
  overflow-x: hidden;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body.warning-open {
  overflow: hidden;
}

body.loading-lock {
  overflow: hidden;
}

body.autoplay-lock {
  overflow: hidden;
}

body.loading-lock .site-header,
body.loading-lock .scroll-cue,
body.autoplay-lock .site-header,
body.autoplay-lock .scroll-cue {
  pointer-events: none;
}

/* Entry Overlays */

.content-warning {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(91, 148, 142, .2), transparent 34%),
    rgba(2, 5, 8, .72);
  opacity: 1;
  backdrop-filter: blur(8px);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.content-warning.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.warning-panel {
  width: min(92vw, 560px);
  padding: clamp(24px, 4vw, 38px);
  color: #f5ffff;
  background: rgba(5, 13, 17, .78);
  border: 1px solid rgba(197, 248, 240, .24);
  box-shadow: 0 22px 80px rgba(0, 0, 0, .42);
}

.warning-kicker {
  margin: 0 0 12px;
  color: rgba(176, 237, 229, .82);
  font: 700 11px/1 Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.warning-panel h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
  word-break: keep-all;
}

.warning-pink {
  color: #b12b5c;
  font-weight: 700;
  text-shadow: 0 0 16px rgba(177, 43, 92, .28);
}

.warning-actions {
  display: flex;
  margin-top: 26px;
}

.warning-actions button {
  width: 100%;
  min-height: 42px;
  padding: 0 18px;
  color: #f7ffff;
  font: 700 13px/1 "Noto Sans KR", Arial, sans-serif;
  border: 1px solid rgba(197, 248, 240, .3);
  background: rgba(197, 248, 240, .12);
  cursor: pointer;
}

.warning-actions button:hover,
.warning-actions button:focus-visible {
  background: rgba(197, 248, 240, .2);
  outline: none;
}

.warning-enter {
  background: rgba(255, 255, 246, .22);
}

/* Persistent World */

.world {
  position: fixed;
  inset: -4vh -4vw;
  z-index: 0;
  overflow: hidden;
  transform:
    translate3d(var(--camera-sway), var(--camera-bob), 0)
    scale(calc(1 + var(--progress) * .08));
  transform-origin: 50% 58%;
  pointer-events: none;
}

.world-image,
.world-sky,
.world-night {
  position: absolute;
  inset: 0;
}

.world-image {
  background-image: url("assets/bamboo-forest-world.webp");
  background-size: cover;
  background-position: center center;
  filter:
    saturate(calc(1.08 - var(--dark-progress) * .18))
    brightness(calc(1.04 - var(--dark-progress) * .22))
    contrast(calc(1.02 + var(--dark-progress) * .08));
  transform: scale(calc(1.02 + var(--approach-scale)));
  transform-origin: 52% 62%;
}

.world-sky {
  background:
    radial-gradient(circle at 64% 18%, rgba(255, 255, 245, .98), transparent 17%),
    linear-gradient(180deg, #c9f8ff 0%, #e5ffe2 44%, #b9d79e 100%);
  opacity: calc(.34 - var(--dark-progress) * .28);
  mix-blend-mode: screen;
}

.world-night {
  background:
    radial-gradient(circle at 58% 20%, rgba(98, 154, 169, .28), transparent 20%),
    linear-gradient(180deg, #101b2d 0%, #0a1018 48%, #020305 100%);
  opacity: calc(var(--progress) * .78);
  mix-blend-mode: multiply;
}

.world-bamboo {
  position: absolute;
  inset: -12% -12%;
  background-repeat: repeat-x;
}

.bamboo-far {
  background-image:
    linear-gradient(91deg, transparent 0 36%, rgba(45, 108, 84, .32) 37% 40%, transparent 41%),
    linear-gradient(86deg, transparent 0 61%, rgba(47, 113, 88, .26) 62% 65%, transparent 66%);
  background-size: 170px 100%, 250px 100%;
  opacity: calc(.08 + var(--dark-progress) * .16);
  transform: translateX(calc(var(--progress) * -260px));
}

.bamboo-near {
  background-image:
    linear-gradient(94deg, transparent 0 28%, rgba(9, 40, 34, .55) 29% 34%, transparent 35%),
    linear-gradient(84deg, transparent 0 70%, rgba(7, 31, 29, .62) 71% 77%, transparent 78%);
  background-size: 210px 100%, 310px 100%;
  opacity: calc(.04 + var(--dark-progress) * .22);
  filter: blur(calc(var(--dark-progress) * 1.2px));
  transform: translateX(calc(var(--progress) * 380px)) scale(calc(1 + var(--progress) * .12));
}

.world-path {
  position: absolute;
  left: 50%;
  bottom: -8%;
  width: min(82vw, 860px);
  height: 42%;
  transform: translateX(-50%) translateY(calc(var(--progress) * -24px));
  background:
    radial-gradient(ellipse at 50% 68%, rgba(238, 255, 187, .42), rgba(123, 154, 84, .18) 42%, transparent 73%),
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, .12) 30% 70%, transparent 82%);
  opacity: calc(.16 - var(--dark-progress) * .08);
  filter: blur(10px);
  box-shadow:
    0 -18px 44px rgba(226, 255, 173, .1),
    inset 0 -30px 60px rgba(20, 42, 28, .18);
}

.branch {
  position: absolute;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #080807 12% 88%, transparent);
  opacity: calc(var(--dark-progress) * .9);
  transform-origin: 100% 50%;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45));
}

.branch-a {
  top: 22%;
  right: -6%;
  width: 42vw;
  transform: rotate(-10deg) translateX(calc((1 - var(--dark-progress)) * 16vw));
}

.branch-b {
  top: 44%;
  left: -8%;
  width: 38vw;
  transform: rotate(8deg) translateX(calc((1 - var(--dark-progress)) * -16vw));
}

.branch-c {
  top: 63%;
  right: -10%;
  width: 48vw;
  transform: rotate(5deg) translateX(calc((1 - var(--dark-progress)) * 18vw));
}

.sparrow {
  position: absolute;
  bottom: 4px;
  width: 28px;
  height: 22px;
  border-radius: 52% 48% 42% 58%;
  background: #030303;
}

.sparrow::before {
  content: "";
  position: absolute;
  right: -8px;
  top: 4px;
  width: 13px;
  height: 12px;
  border-radius: 50%;
  background: #030303;
}

.sparrow::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 7px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 126, 181, .9);
  box-shadow: 0 0 8px rgba(255, 126, 181, .95);
}

.sparrow-a { left: 30%; }
.sparrow-b { left: 58%; transform: scale(.72); }
.sparrow-c { left: 48%; transform: scale(.86) scaleX(-1); }
.sparrow-d { left: 25%; transform: scale(.7); }
.sparrow-e { left: 67%; transform: scale(.95); }

body.fixed-story main {
  position: relative;
  height: calc(var(--scene-count) * 280vh);
}

a {
  color: inherit;
  text-decoration: none;
}

.progress {
  position: fixed;
  left: clamp(112px, 10vw, 150px);
  right: clamp(18px, 4vw, 58px);
  top: 13px;
  z-index: 90;
  height: 6px;
  overflow: hidden;
  border: 1px solid rgba(137, 37, 76, .42);
  background: rgba(2, 7, 9, .62);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .18),
    0 8px 28px rgba(0, 0, 0, .28);
}

.progress::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--display-progress) * 100%);
  background:
    linear-gradient(90deg, #3a071b, #7f173d 58%, #b12b5c),
    repeating-linear-gradient(90deg, transparent 0 64px, rgba(255, 214, 226, .12) 65px 66px);
  box-shadow: 0 0 16px rgba(177, 43, 92, .34);
}

.return-fade {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(8, 20, 18, .84), rgba(0, 0, 0, .98) 72%),
    #000;
  opacity: 0;
  transition: opacity 900ms ease;
}

.return-fade.is-active {
  opacity: 1;
}

.loading-gate {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #eefcff;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 126, 181, .08), transparent 26%),
    rgba(0, 0, 0, .86);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.loading-gate.is-active {
  opacity: 1;
  visibility: visible;
}

.loading-panel {
  width: min(80vw, 420px);
  text-align: center;
}

.loading-panel p {
  margin: 0 0 18px;
  color: rgba(238, 252, 255, .84);
  font: 700 13px/1.6 "Noto Sans KR", Arial, sans-serif;
  letter-spacing: .08em;
}

.loading-bar {
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(137, 37, 76, .42);
  background: rgba(58, 7, 27, .2);
  box-shadow: 0 0 24px rgba(177, 43, 92, .12);
}

.loading-bar span {
  display: block;
  width: calc(var(--loading-progress) * 100%);
  height: 100%;
  background: linear-gradient(90deg, #3a071b, #7f173d 58%, #b12b5c);
  box-shadow: 0 0 18px rgba(177, 43, 92, .34);
  transition: width 180ms ease;
}

/* Persistent Effects */

.persistent-gaze {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: var(--persistent-gaze-opacity, 0);
}

.persistent-gaze span {
  position: absolute;
  width: clamp(42px, 5.8vw, 94px);
  height: clamp(15px, 2vw, 34px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 50%, #ff7eb5 0 10%, transparent 12%),
    radial-gradient(circle at 64% 50%, #ff7eb5 0 10%, transparent 12%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, .98) 0 62%, transparent 64%);
  box-shadow:
    0 0 18px rgba(255, 126, 181, .64),
    0 0 44px rgba(255, 126, 181, .34),
    0 0 86px rgba(255, 126, 181, .14);
  filter: drop-shadow(0 0 10px rgba(255, 126, 181, .42));
}

.persistent-gaze span:nth-child(1) { left: 14%; top: 24%; transform: rotate(-8deg) scale(.72); }
.persistent-gaze span:nth-child(2) { left: 32%; bottom: 22%; transform: rotate(7deg) scale(.92); }
.persistent-gaze span:nth-child(3) { right: 38%; top: 18%; transform: rotate(4deg) scale(.62); }
.persistent-gaze span:nth-child(4) { right: 20%; top: 42%; transform: rotate(-5deg) scale(1.08); }
.persistent-gaze span:nth-child(5) { left: 52%; bottom: 16%; transform: rotate(-2deg) scale(.76); }
.persistent-gaze span:nth-child(6) { left: 8%; bottom: 34%; transform: rotate(9deg) scale(.58); }
.persistent-gaze span:nth-child(7) { right: 9%; bottom: 20%; transform: rotate(-12deg) scale(.84); }
.persistent-gaze span:nth-child(8) { left: 44%; top: 9%; transform: rotate(-4deg) scale(.5); }
.persistent-gaze span:nth-child(9) { right: 30%; bottom: 34%; transform: rotate(8deg) scale(.66); }
.persistent-gaze span:nth-child(10) { left: 22%; top: 47%; transform: rotate(-10deg) scale(.54); }
.persistent-gaze span:nth-child(11) { right: 48%; top: 58%; transform: rotate(5deg) scale(.48); }
.persistent-gaze span:nth-child(12) { left: 4%; top: 64%; transform: rotate(8deg) scale(.62); }
.persistent-gaze span:nth-child(13) { right: 5%; top: 66%; transform: rotate(-8deg) scale(.7); }
.persistent-gaze span:nth-child(14) { left: 62%; top: 25%; transform: rotate(3deg) scale(.54); }
.persistent-gaze span:nth-child(15) { left: 27%; top: 11%; transform: rotate(-5deg) scale(.5); }
.persistent-gaze span:nth-child(16) { right: 18%; top: 9%; transform: rotate(7deg) scale(.48); }
.persistent-gaze span:nth-child(17) { left: 70%; bottom: 10%; transform: rotate(-3deg) scale(.56); }
.persistent-gaze span:nth-child(18) { left: 6%; top: 13%; transform: rotate(-9deg) scale(.66); }

.persistent-dark {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, .38), rgba(0, 0, 0, .82) 52%, rgba(0, 0, 0, .98) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .56), rgba(0, 0, 0, .94));
  opacity: var(--late-dark-opacity, 0);
}

.tunnel-vision {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  opacity: var(--tunnel-opacity, 0);
  background:
    radial-gradient(ellipse at 50% 57%,
      transparent 0 var(--tunnel-center),
      rgba(0, 0, 0, .42) calc(var(--tunnel-center) + 9%),
      rgba(0, 0, 0, .78) calc(var(--tunnel-center) + 22%),
      rgba(0, 0, 0, .97) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .34));
  mix-blend-mode: multiply;
}

.scene-tunnel {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  opacity: calc(var(--tunnel-opacity, 0) * var(--scene-visibility, 0));
  background:
    radial-gradient(ellipse at 50% 57%,
      transparent 0 var(--tunnel-center),
      rgba(0, 0, 0, .42) calc(var(--tunnel-center) + 9%),
      rgba(0, 0, 0, .78) calc(var(--tunnel-center) + 22%),
      rgba(0, 0, 0, .97) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .34));
  mix-blend-mode: multiply;
}

body.fixed-story .scene:not(.is-active) .scene-tunnel {
  display: none;
}

.site-header {
  position: fixed;
  z-index: 70;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 60px);
  color: rgba(242, 255, 250, .94);
  background:
    linear-gradient(180deg, rgba(2, 8, 10, var(--header-bg)), rgba(2, 8, 10, calc(var(--header-bg) * .46)) 72%, transparent);
  border-bottom: 1px solid rgba(214, 255, 243, calc(var(--header-bg) * .14));
  text-shadow: 0 2px 10px rgba(0, 0, 0, .72);
  backdrop-filter: blur(var(--header-blur));
}

.brand {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 5px 8px 6px;
  color: rgba(250, 255, 246, .96);
  background: rgba(2, 9, 11, .5);
  letter-spacing: 0;
}

.brand-title {
  font-family: "Noto Serif KR", "Times New Roman", serif;
  font-size: 30px;
  font-weight: 800;
  line-height: .82;
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-shadow:
    0 0 18px rgba(197, 248, 240, .18),
    0 2px 12px rgba(0, 0, 0, .78);
}

.brand-ruby {
  color: rgba(203, 228, 226, .88);
  font: 800 10px/.92 "Noto Sans KR", Arial, sans-serif;
  letter-spacing: .02em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .72);
}

nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  font: 700 12px/1 Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

nav a {
  padding: 10px 0;
  color: rgba(242, 255, 250, .92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .74);
}

/* Shared Scene Layout */

.scene {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(90px, 12vw, 170px) clamp(24px, 8vw, 130px);
}

body.fixed-story .scene {
  position: fixed;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  opacity: var(--scene-opacity, 0);
  pointer-events: none;
  transform: scale(calc(.985 + var(--scene-visibility, 0) * .015));
}

body.fixed-story .scene.is-active {
  pointer-events: auto;
}

.scroll-track {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scroll-track span {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
}

.scroll-track span:nth-child(1) { top: 560vh; }
.scroll-track span:nth-child(2) { top: 1400vh; }
.scroll-track span:nth-child(3) { top: 2800vh; }
.scroll-track span:nth-child(4) { top: 3920vh; }
.scroll-track span:nth-child(5) { top: 4200vh; }

.copy {
  position: relative;
  z-index: 25;
  width: min(78vw, 880px);
  max-width: 880px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, .65);
  backdrop-filter: blur(10px);
}

.scene .copy {
  z-index: 25;
}

.persistent-gaze,
.gaze-field,
.story-notes,
.laugh-cards,
.taunt-cards {
  z-index: 18;
}

.copy h1,
.copy h2 {
  margin: 0;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.copy h1 {
  font-size: clamp(42px, 8vw, 104px);
}

.copy h2 {
  font-size: clamp(38px, 5.8vw, 82px);
}

.copy p {
  margin: 20px 0 0;
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.9;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.copy .reveal-char,
.laugh-cards .reveal-char,
.taunt-cards .reveal-char {
  display: inline-block;
  white-space: pre-wrap;
  opacity: clamp(0, calc((var(--char-reveal, var(--text-reveal, 1)) - var(--char-ratio, 0)) * 999), 1);
}

.copy .reveal-headline {
  --char-reveal: var(--headline-reveal, var(--text-reveal, 1));
}

.copy .reveal-kicker {
  --char-reveal: var(--kicker-reveal, var(--text-reveal, 1));
}

.copy .reveal-word {
  display: inline-block;
  white-space: nowrap;
}

.laugh-cards .reveal-char,
.taunt-cards .reveal-char {
  max-width: calc(clamp(0, calc((var(--text-reveal, 1) - var(--char-ratio, 0)) * 42), 1) * 1em);
  overflow: hidden;
  transform: none;
  filter: none;
}

.copy .reveal-space,
.laugh-cards .reveal-space,
.taunt-cards .reveal-space {
  width: .32em;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: #168aa2;
  font: 700 12px/1 Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Day Scene */

.scene-day {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(255, 255, 234, .38), transparent 24%),
    radial-gradient(circle at 76% 16%, rgba(255, 255, 255, .2), transparent 20%),
    linear-gradient(180deg, rgba(199, 246, 255, .18) 0%, rgba(239, 255, 217, .1) 60%, rgba(214, 241, 161, .08) 100%);
}

.scene-day .hero-copy {
  width: min(44vw, 640px);
  max-width: 640px;
  margin-left: clamp(8px, 2.4vw, 34px);
  opacity: clamp(0, calc(var(--scene-linear) * 12), 1);
  transform: translateY(calc((1 - clamp(0, calc(var(--scene-linear) * 12), 1)) * 18px));
  transition:
    opacity 220ms ease-out,
    transform 260ms ease-out;
}

.scene-day .hero-copy h1 {
  font-size: clamp(42px, 6.4vw, 84px);
}

.scene-day .hero-copy p {
  max-width: 560px;
}

.scene-day::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 32%, rgba(255, 255, 210, .42) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 18%, rgba(255, 255, 255, .38) 0 1px, transparent 2px),
    radial-gradient(circle at 67% 44%, rgba(255, 238, 173, .3) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 26%, rgba(255, 255, 255, .34) 0 1px, transparent 2px);
  background-size: 210px 180px, 260px 220px, 300px 260px, 180px 200px;
  opacity: calc(.24 + var(--scene-progress) * .22);
  filter: blur(.2px);
}

.scene-day::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 44%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 52% 100%, rgba(255, 236, 151, .32), transparent 58%),
    linear-gradient(180deg, transparent, rgba(255, 247, 194, .12));
  opacity: calc(.48 - var(--scene-progress) * .2);
  mix-blend-mode: screen;
}

.gate-light {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(38vw, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(255, 255, 236, .88) 0 26%, rgba(225, 255, 178, .3) 42%, transparent 70%);
  filter: blur(8px);
  opacity: calc(.92 - var(--scene-progress) * .28);
}

.entrance-bamboo {
  position: absolute;
  top: -8%;
  bottom: -4%;
  z-index: 4;
  width: 34%;
  background-repeat: repeat-x;
  background-size: 74px 100%;
  opacity: calc(.92 - var(--dark-progress) * .22);
  filter: drop-shadow(0 18px 24px rgba(31, 84, 35, .16));
}

.entrance-left {
  left: -2%;
  background-image:
    linear-gradient(98deg, transparent 0 16%, rgba(101, 180, 45, .92) 17% 21%, transparent 22%),
    linear-gradient(84deg, transparent 0 36%, rgba(128, 211, 55, .88) 37% 42%, transparent 43%),
    linear-gradient(102deg, transparent 0 62%, rgba(80, 155, 39, .86) 63% 68%, transparent 69%);
  clip-path: polygon(0 0, 92% 0, 70% 100%, 0 100%);
  transform: translateX(calc(var(--scene-progress) * -7vw)) scale(calc(1 + var(--scene-progress) * .06));
}

.entrance-right {
  right: -2%;
  background-image:
    linear-gradient(82deg, transparent 0 19%, rgba(90, 172, 42, .9) 20% 25%, transparent 26%),
    linear-gradient(96deg, transparent 0 44%, rgba(139, 220, 62, .9) 45% 50%, transparent 51%),
    linear-gradient(80deg, transparent 0 70%, rgba(71, 144, 37, .86) 71% 76%, transparent 77%);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 30% 100%);
  transform: translateX(calc(var(--scene-progress) * 7vw)) scale(calc(1 + var(--scene-progress) * .06));
}

.glow {
  position: absolute;
  inset: auto -10% -10% -10%;
  height: 44%;
  background: radial-gradient(ellipse, rgba(255, 246, 177, .85), transparent 68%);
}

.cloud {
  position: absolute;
  width: 34vw;
  aspect-ratio: 3 / 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  filter: blur(16px);
}

.cloud-a {
  top: 18%;
  right: 9%;
}

.cloud-b {
  top: 34%;
  left: 18%;
}

.forest {
  position: absolute;
  bottom: -2%;
  width: 120%;
  height: 48%;
  left: -10%;
  background-repeat: repeat-x;
  background-size: 190px 100%;
  opacity: calc(.48 - var(--dark-progress) * .22);
}

.forest.back {
  background-image: linear-gradient(105deg, transparent 42%, rgba(65, 141, 87, .42) 43% 48%, transparent 49%);
  transform: translateY(calc(var(--progress) * -20px));
  opacity: .22;
}

.forest.mid {
  height: 57%;
  background-image: linear-gradient(82deg, transparent 36%, rgba(21, 91, 70, .48) 37% 43%, transparent 44%);
  background-size: 130px 100%;
  transform: translateY(calc(var(--progress) * -45px));
  opacity: .28;
}

.grass {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -1px;
  height: 22%;
  background: linear-gradient(180deg, transparent, rgba(53, 139, 79, .62));
}

.lure-sparrow {
  position: absolute;
  z-index: 11;
  width: clamp(42px, 4.9vw, 76px);
  height: clamp(36px, 4.1vw, 62px);
  pointer-events: none;
  transform-origin: 50% 50%;
  filter:
    drop-shadow(0 0 9px rgba(255, 255, 231, .48))
    drop-shadow(0 7px 14px rgba(42, 71, 48, .18));
}

.lure-sparrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 80%;
  height: 42%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255, 255, 235, .2), transparent 70%);
  opacity: calc(.18 + var(--sparrow-glow, 0));
}

.sparrow-body {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 19%;
  height: 31%;
  border-radius: 55% 55% 48% 48%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 16%, #fff 0 14%, transparent 15%),
    linear-gradient(180deg, #fffef1, #d8e8d4 72%, #b8d1b4);
  box-shadow:
    inset 0 -8px rgba(166, 202, 174, .2),
    0 0 18px rgba(255, 255, 235, .32);
}

.sparrow-body::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -23%;
  width: 68%;
  height: 56%;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #fffef0;
}

.sparrow-body::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -28%;
  width: 62%;
  height: 32%;
  transform: translateX(-50%);
  clip-path: polygon(50% 100%, 0 0, 50% 24%, 100% 0);
  background: rgba(236, 246, 222, .86);
}

.sparrow-wing {
  position: absolute;
  left: 16%;
  top: 28%;
  width: 36%;
  height: 25%;
  border-radius: 100% 12% 90% 18%;
  background: linear-gradient(135deg, rgba(255, 255, 244, .92), rgba(174, 207, 178, .64));
  transform-origin: 92% 82%;
}

.sparrow-wing.wing-left {
  transform: rotate(calc(-24deg - var(--wing-open, 0deg)));
}

.sparrow-wing.wing-right {
  left: 48%;
  top: 28%;
  opacity: .9;
  transform-origin: 8% 82%;
  transform: rotate(calc(24deg + var(--wing-open, 0deg))) scaleX(-1);
}

.sparrow-tail {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 14%;
  height: 18%;
  transform: translateX(-50%);
  clip-path: polygon(50% 100%, 0 0, 50% 32%, 100% 0);
  background: linear-gradient(90deg, rgba(236, 246, 222, .92), rgba(188, 220, 188, .64));
}

.day-sparrow {
  left: calc(50.45% + var(--sparrow-motion) * 1.15%);
  top: calc(86% - var(--sparrow-motion) * 14.5%);
  opacity: calc(.96 - var(--sparrow-motion) * .38);
  transform:
    translate(-50%, -50%)
    rotate(calc(1deg + var(--sparrow-motion) * 2deg))
    scale(calc(2.1 - var(--sparrow-motion) * .72));
}

.day-sparrow .sparrow-wing {
  opacity: calc(.98 - var(--sparrow-motion) * .28);
  animation-duration: .72s;
}

.guide-sparrow {
  left: calc(51.55% + var(--sparrow-motion) * 1.15%);
  top: calc(71.5% - var(--sparrow-motion) * 12.5%);
  opacity: calc(.94 - var(--sparrow-motion) * .1);
  transform:
    translate(-50%, -50%)
    rotate(calc(3deg + var(--sparrow-motion) * 1deg))
    scale(calc(1.08 - var(--sparrow-motion) * .43));
}

.guide-sparrow::after,
.trail-sparrow::after {
  content: "";
  position: absolute;
  left: -92%;
  top: 78%;
  width: 132%;
  height: 14%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 235, .08), rgba(255, 255, 235, .34));
  filter: blur(7px);
  opacity: calc(.16 + var(--scene-progress) * .34);
  transform: rotate(-58deg);
  transform-origin: 100% 50%;
}

.trail-sparrow {
  left: calc(52.55% + var(--sparrow-motion) * .92%);
  top: calc(59.5% - var(--sparrow-motion) * 7.5%);
  opacity: calc(.86 - var(--sparrow-motion) * .24);
  filter:
    blur(calc(var(--sparrow-motion) * .7px))
    drop-shadow(0 0 14px rgba(255, 255, 231, .38));
  transform:
    translate(-50%, -50%)
    rotate(calc(4deg + var(--sparrow-motion) * 1deg))
    scale(calc(.62 - var(--sparrow-motion) * .27));
}

.vanish-sparrow {
  left: calc(52.7% - var(--sparrow-motion) * .55%);
  top: calc(52% - var(--sparrow-motion) * 2.5%);
  --sparrow-glow: calc(var(--sparrow-motion) * .42);
  opacity: calc(.7 - var(--sparrow-motion) * .7);
  filter:
    blur(calc(var(--sparrow-motion) * 6px))
    drop-shadow(0 0 18px rgba(255, 126, 181, calc(var(--sparrow-motion) * .38)));
  transform:
    translate(-50%, -50%)
    rotate(calc(5deg + var(--sparrow-motion) * 1deg))
    scale(calc(.32 - var(--sparrow-motion) * .19));
}

/* Forest Path Scenes */

.scene-lure {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 219, .18), transparent 24%),
    linear-gradient(180deg, rgba(205, 251, 224, .1), rgba(105, 152, 113, .14));
  color: white;
}

.scene-lure::before,
.scene-lure::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
}

.scene-lure::before {
  z-index: 2;
  background:
    repeating-radial-gradient(circle at 50% 45%, rgba(241, 255, 202, .16) 0 2px, transparent 3px 62px);
  opacity: calc(.18 + var(--scene-progress) * .24);
  transform: scale(calc(.9 + var(--scene-progress) * .16));
  filter: blur(.4px);
}

.scene-lure::after {
  z-index: 3;
  background:
    radial-gradient(circle at 50% 43%, transparent 0 28%, rgba(8, 24, 19, .3) 62%, rgba(0, 0, 0, .58) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .22), transparent 25% 75%, rgba(0, 0, 0, .22));
  opacity: calc(.18 + var(--scene-progress) * .36);
}

.lure-glow {
  position: absolute;
  left: 50%;
  top: 44%;
  width: clamp(220px, 42vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(calc(.85 + var(--scene-progress) * .18));
  background: radial-gradient(circle, rgba(255, 255, 215, .5), rgba(179, 255, 161, .12) 48%, transparent 70%);
  filter: blur(12px);
  opacity: calc(.74 - var(--scene-progress) * .18);
}


.lure-feathers span {
  position: absolute;
  left: calc(50% - var(--scene-progress) * 16vw);
  top: calc(48% + var(--scene-progress) * 18vh);
  width: 34px;
  height: 10px;
  border-radius: 100% 0;
  background: rgba(255, 255, 255, .46);
  filter: blur(.3px);
  opacity: calc(.72 - var(--scene-progress) * .4);
}

.lure-feathers span:nth-child(1) {
  transform: translate(-90px, 14px) rotate(-18deg);
}

.lure-feathers span:nth-child(2) {
  transform: translate(-20px, -24px) rotate(12deg) scale(.8);
}

.lure-feathers span:nth-child(3) {
  transform: translate(62px, 30px) rotate(-6deg) scale(.62);
}

.lure-copy {
  width: min(44vw, 620px);
  max-width: 620px;
  margin-left: auto;
  margin-right: clamp(10px, 3vw, 44px);
  text-align: left;
}

.lure-copy h2 {
  font-size: clamp(38px, 5vw, 70px);
}

.scene-trail {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160vh;
  background:
    radial-gradient(circle at 50% 42%, rgba(232, 255, 210, .1), transparent 30%),
    linear-gradient(180deg, rgba(217, 250, 240, .05), rgba(49, 72, 74, .1));
}

.scene-trail::before,
.scene-trail::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
}

.scene-trail::before {
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 46%, transparent 0 34%, rgba(5, 15, 16, .2) 72%, rgba(0, 0, 0, .36) 100%);
  opacity: .34;
}

.scene-trail::after {
  content: none;
}

.trail-depth {
  display: none;
}

.path-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 0 19%, rgba(255, 255, 255, .12) 20%, transparent 21%),
    linear-gradient(68deg, transparent 0 79%, rgba(255, 255, 255, .1) 80%, transparent 81%);
  background-size: 100% calc(150px - var(--scene-progress) * 50px);
  background-position: center calc(var(--scene-progress) * 260px);
  opacity: calc(.06 + var(--scene-progress) * .14);
}

.wall {
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: 44%;
  background:
    repeating-linear-gradient(96deg, transparent 0 36px, rgba(18, 72, 57, .62) 38px 47px, transparent 49px 86px),
    linear-gradient(180deg, rgba(171, 225, 193, .2), rgba(8, 20, 20, .66));
  filter: blur(calc(var(--scene-progress) * 1.2px));
  opacity: calc(.45 + var(--scene-progress) * .35);
}

.wall-left {
  left: -19%;
  transform: skewX(-10deg) translateX(calc(var(--scene-progress) * -8vw)) scaleX(calc(1 + var(--scene-progress) * .35));
}

.wall-right {
  right: -19%;
  transform: skewX(10deg) translateX(calc(var(--scene-progress) * 8vw)) scaleX(calc(1 + var(--scene-progress) * .35));
}

.center-light {
  position: absolute;
  left: 50%;
  top: 36%;
  width: calc(44vw - var(--scene-progress) * 22vw);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(250, 255, 222, .52), transparent 70%);
  opacity: calc(.68 - var(--scene-progress) * .46);
}

.speed-lines {
  display: none;
}

.bamboo {
  position: absolute;
  z-index: 3;
  inset: -10% -10%;
  background-image:
    linear-gradient(91deg, transparent 0 33%, rgba(32, 80, 67, .28) 34% 36%, transparent 37%),
    linear-gradient(88deg, transparent 0 63%, rgba(32, 80, 67, .24) 64% 66%, transparent 67%);
  background-size: 150px 100%, 230px 100%;
}

.layer-one {
  display: none;
}

.layer-two {
  display: none;
}

.narrow {
  width: min(78vw, 860px);
  max-width: 860px;
}

.scene-trail .copy.narrow {
  z-index: 12;
  margin: 0 auto;
  text-align: center;
}

.scene-trail .copy.narrow p {
  margin-left: auto;
  margin-right: auto;
}


.scene-vanish {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 48% 46%, rgba(246, 255, 216, .22), transparent 24%),
    linear-gradient(180deg, rgba(175, 219, 181, .18), rgba(43, 75, 66, .46));
  color: white;
}

.scene-vanish::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 44% 42%, rgba(255, 255, 255, .2), transparent 22%),
    radial-gradient(ellipse at 62% 58%, rgba(176, 237, 229, .16), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, .08), transparent 28% 72%, rgba(255, 255, 255, .06));
  filter: blur(18px);
  opacity: calc(.18 + var(--scene-progress) * .34);
}

.empty-trail span {
  position: absolute;
  left: 50%;
  bottom: calc(18% + var(--scene-progress) * 10%);
  width: 34px;
  height: 10px;
  border-radius: 100% 0;
  background: rgba(255, 255, 255, .28);
  box-shadow: 0 0 14px rgba(255, 255, 255, .12);
}

.empty-trail span:nth-child(1) {
  transform: translateX(-70px) rotate(-16deg);
}

.empty-trail span:nth-child(2) {
  transform: translateX(-14px) translateY(-42px) rotate(12deg);
  opacity: .62;
}

.empty-trail span:nth-child(3) {
  transform: translateX(48px) translateY(-84px) rotate(-10deg);
  opacity: .32;
}

.vanish-copy {
  position: relative;
  z-index: 10;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.scene-unease {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(224, 255, 197, .18), transparent 28%),
    linear-gradient(180deg, rgba(117, 161, 129, .2), rgba(31, 57, 52, .48));
  color: white;
}

.scene-unease::before,
.scene-unease::after {
  content: "";
  position: absolute;
  inset: -8%;
  pointer-events: none;
}

.scene-unease::before {
  z-index: 2;
  background:
    repeating-linear-gradient(88deg, transparent 0 68px, rgba(209, 255, 199, .07) 70px 72px, transparent 74px 142px);
  opacity: calc(.16 + var(--scene-progress) * .28);
  transform: translateX(calc(var(--scene-progress) * -38px));
}

.scene-unease::after {
  z-index: 3;
  background:
    radial-gradient(circle at 28% 32%, rgba(255, 126, 181, .14), transparent 18%),
    radial-gradient(circle at 72% 58%, rgba(112, 217, 234, .12), transparent 20%),
    radial-gradient(circle at 50% 50%, transparent 0 32%, rgba(0, 0, 0, .36) 78%);
  opacity: calc(.14 + var(--scene-progress) * .24);
}

.loop-mark {
  position: absolute;
  width: clamp(90px, 12vw, 180px);
  aspect-ratio: 1;
  border: 2px solid rgba(227, 255, 187, .26);
  border-radius: 49% 43% 52% 46%;
  opacity: calc(.2 + var(--scene-progress) * .35);
  filter: blur(.4px);
}

.loop-a {
  left: 18%;
  top: 24%;
  transform: rotate(calc(18deg + var(--scene-progress) * 70deg));
}

.loop-b {
  right: 20%;
  top: 22%;
  transform: scale(.72) rotate(calc(-24deg + var(--scene-progress) * -80deg));
}

.loop-c {
  left: 48%;
  bottom: 18%;
  transform: scale(1.25) rotate(calc(8deg + var(--scene-progress) * 46deg));
}

.same-bamboo span {
  position: absolute;
  top: -12%;
  bottom: -12%;
  width: 16px;
  border-radius: 999px;
  background: rgba(8, 48, 38, .34);
  box-shadow:
    42px 0 rgba(8, 48, 38, .2),
    -42px 0 rgba(8, 48, 38, .18);
}

.same-bamboo span:nth-child(1) {
  left: 28%;
  transform: rotate(-5deg) translateX(calc(var(--scene-progress) * -40px));
}

.same-bamboo span:nth-child(2) {
  left: 50%;
  transform: rotate(2deg);
}

.same-bamboo span:nth-child(3) {
  right: 27%;
  transform: rotate(6deg) translateX(calc(var(--scene-progress) * 40px));
}

.unease-copy {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.scene-lost {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, rgba(88, 127, 127, .3), rgba(22, 30, 40, .58) 74%, rgba(9, 10, 16, .72));
  color: #efffff;
}

.scene-lost::before,
.scene-lost::after {
  content: "";
  position: absolute;
  inset: -14%;
  pointer-events: none;
}

.scene-lost::before {
  z-index: 2;
  background:
    radial-gradient(ellipse at 18% 70%, rgba(220, 255, 244, .16), transparent 24%),
    radial-gradient(ellipse at 78% 36%, rgba(220, 255, 244, .12), transparent 22%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, .07), transparent);
  filter: blur(22px);
  opacity: calc(.3 + var(--scene-progress) * .32);
}

.scene-lost::after {
  z-index: 4;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0 calc(22% - var(--scene-progress) * 7%), rgba(0, 0, 0, .38) 48%, rgba(0, 0, 0, .72) 100%),
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(255, 255, 255, .025) 10px 11px);
  opacity: calc(.24 + var(--scene-progress) * .34);
}

.scene-lost .copy,
.scene-lure .copy,
.scene-vanish .copy,
.scene-unease .copy,
.scene-song .copy,
.scene-silence .copy,
.scene-watched .copy,
.scene-night .copy,
.scene-taunt .copy,
.scene-devour .copy,
.scene-panic .copy,
.scene-scare .copy {
  color: #f5ffff;
  background: rgba(5, 10, 18, .44);
  border-color: rgba(174, 235, 236, .18);
}

.scene-lost .copy p,
.scene-lure .copy p,
.scene-vanish .copy p,
.scene-unease .copy p,
.scene-song .copy p,
.scene-silence .copy p,
.scene-watched .copy p,
.scene-night .copy p,
.scene-taunt .copy p,
.scene-devour .copy p,
.scene-panic .copy p {
  color: rgba(235, 255, 255, .74);
}

.fog {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 40%, rgba(255, 255, 255, .16), transparent 21%),
    radial-gradient(circle at 74% 30%, rgba(255, 255, 255, .12), transparent 20%),
    radial-gradient(circle at 52% 72%, rgba(255, 255, 255, .13), transparent 24%);
  filter: blur(18px);
}

.dark-one,
.dark-two {
  opacity: .4;
  filter: blur(2px);
}

.dark-two {
  transform: scale(1.2) rotate(.8deg);
  opacity: .6;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0 calc(34% - var(--scene-progress) * 18%), rgba(0, 0, 0, .82) 62%, #000 100%);
  opacity: calc(.25 + var(--scene-progress) * .55);
}

.center {
  text-align: center;
}

.center p,
.unease-copy p,
.vanish-copy p,
.lure-copy p,
.silence-copy p,
.panic-copy p,
.devour-copy p,
.scare-copy p,
.ending p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.story-notes span {
  position: absolute;
  z-index: 6;
  color: rgba(145, 241, 239, .52);
  font-size: clamp(38px, 6.6vw, 96px);
  text-shadow:
    0 0 18px rgba(104, 245, 227, .28),
    0 0 36px rgba(255, 126, 181, .1);
  opacity: calc(.36 + var(--scene-progress) * .44);
}

.story-notes span:nth-child(1) {
  left: 17%;
  top: 25%;
}

.story-notes span:nth-child(2) {
  right: 20%;
  top: 38%;
  animation-delay: -1.8s;
}

.story-notes span:nth-child(3) {
  left: 64%;
  bottom: 17%;
  animation-delay: -3s;
}

.story-notes span:nth-child(4) {
  left: 36%;
  bottom: 28%;
  animation-delay: -2.4s;
}

.story-notes span:nth-child(5) {
  right: 12%;
  bottom: 18%;
  animation-delay: -3.5s;
}

.story-notes span:nth-child(6) {
  left: 9%;
  bottom: 18%;
  font-size: clamp(30px, 4.8vw, 72px);
  opacity: calc(.24 + var(--scene-progress) * .3);
  animation-delay: -4.2s;
}

.story-notes span:nth-child(7) {
  right: 36%;
  top: 18%;
  font-size: clamp(28px, 4.4vw, 68px);
  opacity: calc(.2 + var(--scene-progress) * .3);
  animation-delay: -1.4s;
}

.story-notes span:nth-child(8) {
  left: 74%;
  top: 58%;
  font-size: clamp(34px, 5vw, 78px);
  opacity: calc(.22 + var(--scene-progress) * .34);
  animation-delay: -2.9s;
}

.story-notes span:nth-child(9) {
  left: 42%;
  top: 10%;
  font-size: clamp(30px, 4.7vw, 74px);
  opacity: calc(.2 + var(--scene-progress) * .32);
  animation-delay: -4.8s;
}

.story-notes span:nth-child(10) {
  right: 7%;
  top: 17%;
  font-size: clamp(26px, 4.2vw, 66px);
  opacity: calc(.18 + var(--scene-progress) * .3);
  animation-delay: -5.4s;
}

.notes-one span {
  left: auto;
  right: 20%;
  top: 28%;
  color: rgba(198, 255, 238, .42);
}

.notes-two span {
  color: rgba(175, 252, 240, .48);
}

.notes-three span {
  color: rgba(163, 245, 239, .54);
}

.notes-four span {
  color: rgba(145, 241, 239, .6);
}

.notes-five span {
  color: rgba(167, 255, 240, .68);
}

/* Song And Gaze Scenes */

.scene-song {
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 52% 42%, rgba(77, 140, 148, .12), transparent 30%),
    radial-gradient(circle at 50% 56%, rgba(0, 0, 0, .18), rgba(0, 0, 0, .58) 68%),
    linear-gradient(180deg, rgba(6, 18, 24, .3), rgba(0, 5, 10, .72));
  color: white;
}

.scene-song::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 46% 46%, rgba(120, 208, 212, .1), transparent 28%),
    radial-gradient(ellipse at 56% 66%, rgba(0, 0, 0, .34), transparent 42%);
  opacity: calc(.16 + var(--scene-progress) * .16);
  filter: blur(18px);
}

.song-ripple {
  display: none;
}

.song-notes span {
  color: rgba(167, 255, 240, .68);
  font-size: clamp(36px, 6vw, 86px);
  text-shadow:
    0 0 18px rgba(104, 245, 227, .34),
    0 0 46px rgba(104, 245, 227, .14);
}

.song-notes span:nth-child(1) { left: 21%; top: 24%; }
.song-notes span:nth-child(2) { left: 34%; bottom: 22%; animation-delay: -1s; }
.song-notes span:nth-child(3) { right: 28%; top: 32%; animation-delay: -2s; }
.song-notes span:nth-child(4) { right: 18%; bottom: 26%; animation-delay: -3s; }
.song-notes span:nth-child(5) { left: 56%; top: 16%; animation-delay: -3.6s; }
.song-notes span:nth-child(6) { left: 10%; bottom: 16%; animation-delay: -4.2s; }
.song-notes span:nth-child(7) { right: 38%; top: 16%; animation-delay: -1.4s; }
.song-notes span:nth-child(8) { left: 72%; top: 56%; animation-delay: -2.9s; }
.song-notes span:nth-child(9) { left: 44%; top: 9%; animation-delay: -4.8s; }
.song-notes span:nth-child(10) { right: 8%; top: 18%; animation-delay: -5.4s; }

.song-copy {
  margin-left: clamp(20px, 8vw, 120px);
}

.scene-silence {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, .08), transparent 18%),
    linear-gradient(180deg, rgba(0, 12, 18, .42), rgba(0, 0, 0, .78));
  color: white;
}

.scene-silence::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, transparent 0 24%, rgba(0, 0, 0, .56) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), transparent 42%, rgba(0, 0, 0, .2));
  opacity: calc(.16 + var(--scene-progress) * .42);
}

.silence-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(180px, 42vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(calc(1.15 - var(--scene-progress) * .32));
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow:
    inset 0 0 80px rgba(255, 255, 255, .06),
    0 0 0 calc(var(--scene-progress) * 80px) rgba(255, 255, 255, .015);
  opacity: calc(.58 - var(--scene-progress) * .28);
}

.silence-copy {
  text-align: center;
}

.scene-watched {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 126, 181, .08), transparent 30%),
    linear-gradient(180deg, rgba(0, 8, 12, .46), rgba(0, 0, 0, .84));
  color: white;
}

.scene-watched::before,
.scene-watched::after {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
}

.scene-watched::before {
  z-index: 2;
  background:
    linear-gradient(102deg, transparent 0 32%, rgba(0, 0, 0, .38) 33% 35%, transparent 36%),
    linear-gradient(78deg, transparent 0 62%, rgba(0, 0, 0, .32) 63% 65%, transparent 66%);
  background-size: 220px 100%, 310px 100%;
  opacity: calc(.18 + var(--scene-progress) * .3);
  transform: translateX(calc(var(--scene-progress) * 80px));
}

.scene-watched::after {
  z-index: 4;
  background:
    radial-gradient(circle at 25% 28%, rgba(255, 126, 181, .16), transparent 10%),
    radial-gradient(circle at 78% 32%, rgba(255, 126, 181, .14), transparent 12%),
    radial-gradient(circle at 64% 72%, rgba(255, 126, 181, .12), transparent 10%),
    radial-gradient(circle at 50% 50%, transparent 0 28%, rgba(0, 0, 0, .42) 100%);
  opacity: calc(.18 + var(--scene-progress) * .34);
}

.gaze-field span {
  position: absolute;
  z-index: 7;
  width: clamp(34px, 5.2vw, 82px);
  height: clamp(12px, 1.8vw, 30px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 50%, rgba(255, 126, 181, .98) 0 9%, transparent 11%),
    radial-gradient(circle at 64% 50%, rgba(255, 126, 181, .98) 0 9%, transparent 11%),
    rgba(0, 0, 0, .84);
  box-shadow:
    0 0 22px rgba(255, 126, 181, .34),
    0 0 42px rgba(255, 126, 181, .14),
    inset 0 0 12px rgba(255, 126, 181, .14);
  opacity: calc(var(--gaze-opacity, .12) + var(--scene-progress) * .16);
  filter: blur(var(--gaze-blur, .6px));
}

.gaze-field span:nth-child(1) { left: 14%; top: 24%; transform: rotate(-8deg) scale(.72); }
.gaze-field span:nth-child(2) { left: 32%; bottom: 22%; transform: rotate(7deg) scale(.92); }
.gaze-field span:nth-child(3) { right: 38%; top: 18%; transform: rotate(4deg) scale(.62); }
.gaze-field span:nth-child(4) { right: 20%; top: 42%; transform: rotate(-5deg) scale(1.08); }
.gaze-field span:nth-child(5) { left: 52%; bottom: 16%; transform: rotate(-2deg) scale(.76); }
.gaze-field span:nth-child(6) { left: 8%; bottom: 34%; transform: rotate(9deg) scale(.58); }
.gaze-field span:nth-child(7) { right: 9%; bottom: 20%; transform: rotate(-12deg) scale(.84); }
.gaze-field span:nth-child(8) { left: 44%; top: 9%; transform: rotate(-4deg) scale(.5); }
.gaze-field span:nth-child(9) { right: 30%; bottom: 34%; transform: rotate(8deg) scale(.66); }
.gaze-field span:nth-child(10) { left: 22%; top: 47%; transform: rotate(-10deg) scale(.54); }
.gaze-field span:nth-child(11) { right: 48%; top: 58%; transform: rotate(5deg) scale(.48); }
.gaze-field span:nth-child(12) { left: 4%; top: 64%; transform: rotate(8deg) scale(.62); }
.gaze-field span:nth-child(13) { right: 5%; top: 66%; transform: rotate(-8deg) scale(.7); }
.gaze-field span:nth-child(14) { left: 62%; top: 25%; transform: rotate(3deg) scale(.54); }
.gaze-field span:nth-child(15) { left: 27%; top: 11%; transform: rotate(-5deg) scale(.5); }
.gaze-field span:nth-child(16) { right: 18%; top: 9%; transform: rotate(7deg) scale(.48); }
.gaze-field span:nth-child(17) { left: 70%; bottom: 10%; transform: rotate(-3deg) scale(.56); }
.gaze-field span:nth-child(18) { left: 6%; top: 13%; transform: rotate(-9deg) scale(.66); }

.gaze-one span:nth-child(1),
.gaze-two span:nth-child(2),
.gaze-four span:nth-child(n+3),
.gaze-seven span:nth-child(n+5),
.gaze-eleven span:nth-child(n+8) {
  --gaze-opacity: .04;
  --gaze-blur: 1.2px;
}

.gaze-two span:nth-child(1),
.gaze-four span:nth-child(-n+2),
.gaze-seven span:nth-child(-n+4),
.gaze-eleven span:nth-child(-n+7) {
  --gaze-opacity: .14;
  --gaze-blur: .7px;
}

.gaze-four span:nth-child(1),
.gaze-seven span:nth-child(-n+2),
.gaze-eleven span:nth-child(-n+4) {
  --gaze-opacity: .24;
  --gaze-blur: .35px;
}

.gaze-seven span:nth-child(1),
.gaze-eleven span:nth-child(-n+2) {
  --gaze-opacity: .34;
  --gaze-blur: 0px;
}

.gaze-silent span,
.gaze-watched span,
.gaze-panic span,
.gaze-night span,
.gaze-taunt span,
.gaze-devour span {
  --gaze-opacity: .46;
  --gaze-blur: .12px;
}

.gaze-watched span,
.gaze-panic span {
  --gaze-opacity: .56;
}

.gaze-watched span,
.gaze-panic span,
.gaze-night span,
.gaze-taunt span,
.gaze-devour span {
  z-index: 8;
  width: clamp(42px, 5.8vw, 94px);
  height: clamp(15px, 2vw, 34px);
  background:
    radial-gradient(circle at 36% 50%, #ff7eb5 0 10%, transparent 12%),
    radial-gradient(circle at 64% 50%, #ff7eb5 0 10%, transparent 12%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, .98) 0 62%, transparent 64%);
  box-shadow:
    0 0 18px rgba(255, 126, 181, .64),
    0 0 44px rgba(255, 126, 181, .34),
    0 0 86px rgba(255, 126, 181, .14);
  opacity: .94;
  filter: drop-shadow(0 0 10px rgba(255, 126, 181, .42));
}

.gaze-watched span:nth-child(n+12),
.gaze-panic span:nth-child(n+12),
.gaze-night span:nth-child(n+12),
.gaze-taunt span:nth-child(n+12),
.gaze-devour span:nth-child(n+12) {
  opacity: .88;
}

.gaze-night span {
  opacity: .72;
}

.gaze-night span:nth-child(n+12) {
  opacity: .5;
}

.gaze-crowded span:nth-child(n+12) {
  --gaze-opacity: .34;
  --gaze-blur: .35px;
}

.gaze-night span:nth-child(5),
.gaze-taunt span:nth-child(5),
.gaze-devour span:nth-child(5) {
  bottom: 4%;
}

.gaze-night span:nth-child(5) {
  bottom: -7%;
}

.gaze-night span:nth-child(2) {
  display: none;
}

.gaze-night span:nth-child(17),
.gaze-taunt span:nth-child(17),
.gaze-devour span:nth-child(17) {
  bottom: -2%;
}

.gaze-night span:nth-child(17) {
  left: 38%;
  bottom: -8%;
  transform: rotate(-3deg) scale(.72);
}

.gaze-taunt span:nth-child(5),
.gaze-devour span:nth-child(5) {
  display: none;
}

.persistent-gaze span:nth-child(5),
.gaze-night span:nth-child(5),
.gaze-taunt span:nth-child(5),
.gaze-devour span:nth-child(5) {
  box-shadow:
    0 0 18px rgba(255, 235, 86, calc(var(--easter-eye-progress) * .72)),
    0 0 50px rgba(255, 214, 36, calc(var(--easter-eye-progress) * .38)),
    0 0 110px rgba(255, 244, 126, calc(var(--easter-eye-progress) * .18));
  filter: drop-shadow(0 0 12px rgba(255, 230, 74, calc(var(--easter-eye-progress) * .5)));
}

.persistent-gaze span:nth-child(5)::before,
.gaze-night span:nth-child(5)::before,
.gaze-taunt span:nth-child(5)::before,
.gaze-devour span:nth-child(5)::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--easter-eye-progress);
  background:
    radial-gradient(circle at 36% 50%, #6b0016 0 11%, transparent 13%),
    radial-gradient(circle at 64% 50%, #6b0016 0 11%, transparent 13%),
    radial-gradient(ellipse at 50% 50%, rgba(1, 1, 0, .98) 0 62%, transparent 64%);
}

.gaze-taunt span:nth-child(15),
.gaze-devour span:nth-child(15) {
  box-shadow:
    0 0 18px rgba(36, 255, 154, calc(var(--easter-eye-progress) * .9)),
    0 0 52px rgba(0, 220, 138, calc(var(--easter-eye-progress) * .5)),
    0 0 110px rgba(0, 130, 86, calc(var(--easter-eye-progress) * .32));
  filter:
    drop-shadow(0 0 12px rgba(36, 255, 154, calc(var(--easter-eye-progress) * .72)))
    saturate(1.45)
    hue-rotate(18deg);
}

.gaze-night span:nth-child(15),
.gaze-taunt span:nth-child(15),
.gaze-devour span:nth-child(15),
.persistent-gaze span:nth-child(15) {
  box-shadow:
    0 0 18px rgba(36, 255, 154, calc(var(--easter-eye-progress) * .9)),
    0 0 52px rgba(0, 220, 138, calc(var(--easter-eye-progress) * .5)),
    0 0 110px rgba(0, 130, 86, calc(var(--easter-eye-progress) * .32));
  filter:
    drop-shadow(0 0 12px rgba(36, 255, 154, calc(var(--easter-eye-progress) * .72)))
    saturate(calc(1 + var(--easter-eye-progress) * .45))
    hue-rotate(calc(var(--easter-eye-progress) * 18deg));
}

.gaze-taunt span:nth-child(15)::before,
.gaze-devour span:nth-child(15)::before,
.gaze-night span:nth-child(15)::before,
.persistent-gaze span:nth-child(15)::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--easter-eye-progress);
  background:
    radial-gradient(circle at 36% 50%, #00ff8a 0 12%, rgba(0, 255, 138, .34) 13%, transparent 17%),
    radial-gradient(circle at 64% 50%, #00ff8a 0 12%, rgba(0, 255, 138, .34) 13%, transparent 17%);
  filter: drop-shadow(0 0 5px rgba(0, 255, 138, .95));
}

.watch-branch {
  position: absolute;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #010101 10% 90%, transparent);
  opacity: calc(.18 + var(--scene-progress) * .56);
}

.branch-one {
  left: -8%;
  top: 33%;
  width: 58vw;
  transform: rotate(9deg) translateX(calc(var(--scene-progress) * 4vw));
}

.branch-two {
  right: -12%;
  bottom: 29%;
  width: 64vw;
  transform: rotate(-8deg) translateX(calc(var(--scene-progress) * -5vw));
}

.watched-copy {
  margin-right: clamp(20px, 8vw, 120px);
}

.scene-night {
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(circle at 52% 34%, rgba(104, 204, 224, .08), transparent 22%),
    radial-gradient(circle at 50% 58%, rgba(0, 0, 0, .22), rgba(0, 0, 0, .72) 68%),
    linear-gradient(180deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .88));
  color: white;
}

.scene-night::before,
.scene-night::after {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
}

.scene-night::before {
  z-index: 2;
  background:
    radial-gradient(ellipse at 74% 22%, rgba(163, 230, 240, .24), transparent 22%),
    conic-gradient(from 220deg at 72% 20%, transparent 0 12deg, rgba(142, 221, 236, .1) 13deg 25deg, transparent 26deg 360deg);
  opacity: calc(.24 + var(--scene-progress) * .18);
  mix-blend-mode: screen;
}

.scene-night::after {
  z-index: 4;
  background:
    radial-gradient(circle at 50% 62%, rgba(0, 0, 0, .12), rgba(0, 0, 0, .68) 78%),
    repeating-linear-gradient(90deg, transparent 0 82px, rgba(255, 126, 181, .035) 84px 86px, transparent 88px 170px);
  opacity: calc(.2 + var(--scene-progress) * .3);
}

.moon {
  position: absolute;
  top: 12%;
  right: 14%;
  width: clamp(90px, 18vw, 230px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 226, 235, .5), rgba(114, 190, 208, .04) 70%);
  box-shadow: 0 0 70px rgba(104, 215, 237, .14);
  opacity: .48;
}

.mystia-art {
  display: block;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.whisper {
  margin-left: auto;
  z-index: 25;
  position: relative;
  transform-origin: 50% 50%;
}

.whisper::before,
.devour-copy::before,
.taunt-copy::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(255, 126, 181, .22);
  pointer-events: none;
}

.whisper h2 {
  color: #6d071d;
  font-family: "Times New Roman", Georgia, "Noto Serif KR", serif;
  font-weight: 400;
  letter-spacing: .03em;
  text-shadow:
    2px 0 rgba(255, 126, 181, .46),
    -3px 0 rgba(16, 0, 8, .72),
    0 0 22px rgba(255, 80, 130, .2),
    0 0 54px rgba(80, 0, 24, .5);
  display: inline-block;
  transform-origin: 50% 50%;
}

/* Taunt And Panic Scenes */

.scene-taunt {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 126, 181, .14), transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(12, 3, 12, .34), rgba(0, 0, 0, .96) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .96));
  color: white;
}

.scene-taunt::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: 3;
  pointer-events: none;
  background:
    repeating-linear-gradient(96deg, transparent 0 86px, rgba(255, 126, 181, .045) 88px 90px, transparent 92px 180px),
    radial-gradient(circle at 50% 30%, rgba(255, 126, 181, .18), transparent 28%),
    radial-gradient(circle at 50% 50%, transparent 0 30%, rgba(0, 0, 0, .54) 100%);
  opacity: calc(.22 + var(--scene-progress) * .34);
}

.taunt-eye {
  position: absolute;
  left: 50%;
  top: 24%;
  width: clamp(260px, 42vw, 720px);
  height: clamp(110px, 16vw, 260px);
  border-radius: 50%;
  transform: translateX(-50%) scale(calc(.82 + var(--scene-progress) * .24));
  background:
    radial-gradient(circle at 50% 50%, #fff 0 7%, #ff7eb5 8% 24%, #16030c 25% 38%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(8, 0, 8, .96) 0 58%, transparent 59%);
  box-shadow:
    0 0 80px rgba(255, 126, 181, .28),
    inset 0 0 36px rgba(255, 126, 181, .28);
  opacity: calc(.48 + var(--scene-progress) * .34);
}

.scene-devour {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 126, 181, .1), transparent 18%),
    radial-gradient(ellipse at 50% 78%, rgba(90, 0, 22, .26), transparent 32%),
    linear-gradient(180deg, rgba(0, 0, 0, .84), rgba(0, 0, 0, 1));
  color: white;
}

.scene-devour::before,
.scene-devour::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
}

.scene-devour::before {
  z-index: 3;
  background:
    repeating-linear-gradient(96deg, transparent 0 86px, rgba(255, 126, 181, .045) 88px 90px, transparent 92px 180px),
    radial-gradient(circle at 50% 30%, rgba(255, 126, 181, .18), transparent 28%),
    radial-gradient(circle at 50% 50%, transparent 0 30%, rgba(0, 0, 0, .54) 100%);
  opacity: calc(.22 + var(--scene-progress) * .34);
}

.scene-devour::after {
  z-index: 5;
  background:
    radial-gradient(ellipse at 50% 67%, rgba(255, 126, 181, .24), transparent 26%),
    radial-gradient(ellipse at 50% 88%, rgba(0, 0, 0, .86), transparent 46%);
  opacity: calc(.28 + var(--scene-progress) * .36);
  mix-blend-mode: screen;
}

.devour-eye {
  display: none;
}

.devour-mouth {
  position: absolute;
  left: 50%;
  bottom: -12%;
  z-index: 19;
  width: min(92vw, 1220px);
  height: min(52vh, 470px);
  transform:
    translateX(-50%)
    scaleY(calc(.45 + var(--scene-progress) * .8));
  transform-origin: 50% 100%;
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(ellipse at 50% 12%, rgba(255, 20, 84, .2), transparent 22%),
    radial-gradient(ellipse at 50% 62%, rgba(70, 0, 26, .52), transparent 44%),
    radial-gradient(ellipse at 50% 78%, #000 0 58%, transparent 60%);
  box-shadow:
    0 -56px 150px rgba(255, 20, 84, .22),
    0 -120px 220px rgba(0, 0, 0, .45),
    inset 0 56px 100px rgba(82, 0, 32, .42);
  opacity: calc(.48 + var(--scene-progress) * .46);
}

.devour-mouth::before,
.devour-mouth::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 76%;
  height: 16px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(90deg, transparent 0 26px, rgba(255, 235, 238, .72) 27px 35px, transparent 36px 58px);
  filter: drop-shadow(0 0 10px rgba(255, 126, 181, .22));
  opacity: calc(.24 + var(--scene-progress) * .46);
}

.devour-mouth::before {
  top: 20%;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%);
}

.devour-mouth::after {
  bottom: 12%;
  clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%);
}

.devour-shadow {
  position: absolute;
  inset: 0;
  z-index: 13;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 20, 84, .08), transparent 24%),
    radial-gradient(ellipse at 50% 76%, transparent 0 20%, rgba(0, 0, 0, .76) 54%, #000 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .44), rgba(0, 0, 0, .9));
  opacity: calc(.38 + var(--scene-progress) * .5);
}

.laugh-cards > span {
  position: absolute;
  z-index: 9;
  display: grid;
  place-items: center;
  min-width: clamp(92px, 10vw, 170px);
  min-height: clamp(62px, 7vw, 104px);
  padding: 14px 18px;
  border: 1px solid rgba(255, 48, 112, .72);
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, .035) 6px 7px, transparent 8px 13px),
    radial-gradient(circle at 22% 0, rgba(255, 20, 84, .46), transparent 36%),
    linear-gradient(180deg, rgba(30, 0, 14, .9), rgba(4, 0, 5, .88));
  color: #ff5b91;
  font-family: "Times New Roman", Georgia, "Noto Serif KR", serif;
  font-size: clamp(28px, 3.6vw, 58px);
  line-height: 1;
  letter-spacing: .04em;
  text-shadow:
    2px 0 rgba(255, 190, 210, .55),
    -3px 0 rgba(0, 0, 0, .9),
    0 0 18px rgba(255, 20, 84, .62),
    0 0 42px rgba(255, 20, 84, .24);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, .54),
    0 0 30px rgba(255, 20, 84, .22),
    inset 0 0 34px rgba(255, 20, 84, .14);
  opacity: calc((.28 + var(--scene-progress) * .62) * var(--card-reveal, 1));
  backdrop-filter: blur(5px);
  transform-origin: 50% 50%;
}

.decorative-type {
  display: inline-flex;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  text-align: center;
}

.laugh-cards > span::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(255, 126, 181, .28);
  pointer-events: none;
}

.laugh-cards > span:nth-child(1) {
  left: 9%;
  top: 24%;
  transform: rotate(-9deg) translateY(calc((1 - var(--scene-progress)) * 28px));
}

.laugh-cards > span:nth-child(2) {
  right: 10%;
  top: 31%;
  transform: rotate(8deg) translateY(calc((1 - var(--scene-progress)) * -22px));
}

.laugh-cards > span:nth-child(3) {
  left: 14%;
  bottom: 17%;
  transform: rotate(5deg) translateX(calc((1 - var(--scene-progress)) * -34px));
}

.laugh-cards > span:nth-child(4) {
  right: 4%;
  bottom: 8%;
  transform: rotate(-6deg) translateX(calc((1 - var(--scene-progress)) * 34px));
}

.devour-copy {
  position: relative;
  z-index: 8;
  text-align: center;
  background: rgba(6, 0, 4, .58);
  border-color: rgba(255, 126, 181, .24);
  transform-origin: 50% 50%;
}

.devour-copy h2 {
  display: inline-block;
  transform-origin: 50% 50%;
  color: #7d061d;
  text-shadow:
    2px 0 rgba(255, 126, 181, .36),
    -2px 0 rgba(0, 0, 0, .8),
    0 0 54px rgba(120, 0, 36, .52);
}

.taunt-cards > span {
  position: absolute;
  z-index: 9;
  display: grid;
  place-items: center;
  min-width: clamp(180px, 22vw, 350px);
  min-height: clamp(78px, 8vw, 128px);
  padding: 18px 28px;
  border: 1px solid rgba(255, 48, 112, .72);
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, .035) 6px 7px, transparent 8px 13px),
    radial-gradient(circle at 22% 0, rgba(255, 20, 84, .46), transparent 36%),
    linear-gradient(180deg, rgba(30, 0, 14, .9), rgba(4, 0, 5, .88));
  color: #ffcfda;
  font-family: "Times New Roman", Georgia, "Noto Serif KR", serif;
  font-size: clamp(30px, 3.2vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: center;
  text-shadow:
    2px 0 rgba(255, 190, 210, .42),
    -3px 0 rgba(0, 0, 0, .9),
    0 0 18px rgba(255, 20, 84, .5),
    0 0 42px rgba(255, 20, 84, .2);
  word-break: keep-all;
  backdrop-filter: blur(5px);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, .54),
    0 0 30px rgba(255, 20, 84, .22),
    inset 0 0 34px rgba(255, 20, 84, .14);
  opacity: calc((.48 + var(--scene-progress) * .5) * var(--card-reveal, 1));
  overflow: hidden;
  transform-origin: 50% 50%;
}

.taunt-cards > span::before,
.taunt-cards > span::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.taunt-cards > span::before {
  left: 0;
  top: 0;
  width: 34%;
  height: 100%;
  background:
    radial-gradient(circle at 0 0, rgba(255, 20, 84, .5), transparent 58%);
  opacity: calc(.24 + var(--scene-progress) * .32);
}

.taunt-cards > span::after {
  inset: 0;
  border: 1px solid rgba(255, 126, 181, .28);
  background:
    repeating-linear-gradient(90deg, transparent 0 15px, rgba(255, 255, 255, .045) 16px 17px, transparent 18px 36px),
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(255, 48, 112, .045) 10px 11px, transparent 12px 22px),
    radial-gradient(circle at 78% 92%, rgba(255, 20, 84, .22), transparent 24%);
  mix-blend-mode: screen;
  opacity: calc(.16 + var(--scene-progress) * .26);
}

.taunt-cards > span:nth-child(1) {
  left: 9%;
  top: 25%;
  transform: rotate(calc(-8deg + var(--scene-progress) * 2deg)) translateY(calc((1 - var(--scene-progress)) * 28px));
}

.taunt-cards > span:nth-child(2) {
  right: 8%;
  top: 34%;
  transform: rotate(calc(7deg - var(--scene-progress) * 2deg)) translateY(calc((1 - var(--scene-progress)) * -24px));
}

.taunt-cards > span:nth-child(3) {
  left: 14%;
  bottom: 14%;
  transform: rotate(calc(3deg + var(--scene-progress) * 2deg)) translateX(calc((1 - var(--scene-progress)) * -36px));
}

.taunt-copy {
  position: relative;
  text-align: center;
  background: rgba(0, 0, 0, .4);
  transform: translateY(calc(-8vh + var(--scene-progress) * 10px));
  z-index: 8;
  transform-origin: 50% 50%;
}

.taunt-copy h2 {
  display: inline-block;
  transform-origin: 50% 50%;
  color: #650719;
  text-shadow:
    2px 0 rgba(255, 126, 181, .34),
    -2px 0 rgba(15, 0, 8, .68),
    0 0 44px rgba(120, 0, 36, .42);
}

.scene-panic {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(15, 39, 43, .22), rgba(2, 2, 5, .72) 72%),
    linear-gradient(180deg, rgba(1, 4, 8, .35), rgba(0, 0, 0, .78));
  color: white;
}

.scene-panic::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 22%, rgba(255, 126, 181, .18) 44%, rgba(0, 0, 0, .68) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 11px);
  opacity: calc(.12 + var(--scene-progress) * .32);
  mix-blend-mode: screen;
}

.panic-branches span {
  position: absolute;
  height: 8px;
  border-radius: 999px;
  background: #020202;
  opacity: calc(.42 + var(--scene-progress) * .46);
  filter: drop-shadow(0 0 14px rgba(255, 126, 181, .16));
}

.panic-branches span:nth-child(1) {
  top: 26%;
  left: -8%;
  width: 52vw;
  transform: rotate(14deg) translateX(calc(var(--scene-progress) * 6vw));
}

.panic-branches span:nth-child(2) {
  top: 48%;
  right: -10%;
  width: 58vw;
  transform: rotate(-11deg) translateX(calc(var(--scene-progress) * -7vw));
}

.panic-branches span:nth-child(3) {
  bottom: 24%;
  left: -6%;
  width: 44vw;
  transform: rotate(-7deg) translateX(calc(var(--scene-progress) * 5vw));
}

.panic-copy {
  position: relative;
  z-index: 8;
  text-align: center;
  transform-origin: 50% 50%;
  will-change: transform;
  border-color: rgba(255, 126, 181, .34);
  box-shadow:
    0 0 42px rgba(255, 126, 181, .16),
    0 22px 80px rgba(0, 0, 0, .38);
  filter: drop-shadow(0 0 24px rgba(255, 126, 181, .2));
}

.panic-copy::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(255, 126, 181, .28);
  pointer-events: none;
}

.panic-copy h2 {
  color: #fff;
  text-shadow:
    2px 0 rgba(255, 126, 181, .42),
    -2px 0 rgba(99, 229, 239, .3),
    0 0 28px rgba(255, 255, 255, .18);
}

.scene-breath {
  display: grid;
  place-items: center;
  background: #000;
  color: white;
}

.scene-breath::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, .1), transparent 10%),
    radial-gradient(circle at 50% 54%, transparent 0 22%, rgba(0, 0, 0, .88) 46%, #000 100%);
  opacity: calc(.16 + var(--scene-progress) * .18);
}

.breath-copy {
  z-index: 4;
  text-align: center;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  mix-blend-mode: screen;
}

.breath-copy h2 {
  color: rgba(255, 255, 255, .72);
  font-size: clamp(72px, 14vw, 180px);
  letter-spacing: .18em;
}

/* Scare And Faint Scenes */

.scene-scare {
  display: grid;
  place-items: center;
  min-height: 86vh;
  background: #000;
  color: white;
}

.scene-scare::before {
  content: none;
}

.scare-mystia-art {
  position: absolute;
  left: 50%;
  bottom: -26%;
  z-index: 8;
  width: min(88vw, 1040px);
  height: 122vh;
  object-position: 50% 33%;
  transform:
    translateX(-50%)
    translateY(calc((1 - var(--scene-progress)) * 130px))
    scale(calc(.78 + var(--scene-progress) * .5))
    rotate(calc(-2deg + var(--scene-progress) * 2deg));
  opacity: calc(var(--scene-progress) * 1.18);
  filter:
    drop-shadow(0 0 76px rgba(255, 126, 181, .48))
    drop-shadow(0 0 130px rgba(99, 229, 239, .18))
    saturate(1.18)
    contrast(1.12);
  -webkit-mask-image: radial-gradient(ellipse at 50% 44%, #000 0 58%, rgba(0, 0, 0, .86) 70%, transparent 91%);
  mask-image: radial-gradient(ellipse at 50% 44%, #000 0 58%, rgba(0, 0, 0, .86) 70%, transparent 91%);
}

.scare-copy {
  text-align: center;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  z-index: 12;
  mix-blend-mode: screen;
  opacity: calc(.58 * var(--scare-copy-reveal, 0));
  transform: translateY(calc((1 - var(--scare-copy-reveal, 0)) * 16px));
}

.scare-copy h2 {
  font-size: clamp(86px, 18vw, 240px);
  color: rgba(255, 255, 255, .74);
  text-shadow: 0 0 18px rgba(255, 126, 181, .34);
}

.scene-faint {
  display: grid;
  place-items: center;
  background: #000;
  color: white;
}

.faint-mystia-art {
  position: absolute;
  left: 50%;
  bottom: -24%;
  z-index: 4;
  width: min(88vw, 1040px);
  height: 120vh;
  object-position: 50% 33%;
  transform:
    translateX(-50%)
    scale(calc(1.22 - var(--scene-progress) * .18));
  opacity: calc(.64 - var(--scene-progress) * .48);
  filter:
    blur(calc(var(--scene-progress) * 5px))
    brightness(calc(1 - var(--scene-progress) * .78))
    saturate(.9);
  -webkit-mask-image: radial-gradient(ellipse at 50% 44%, #000 0 58%, rgba(0, 0, 0, .82) 70%, transparent 91%);
  mask-image: radial-gradient(ellipse at 50% 44%, #000 0 58%, rgba(0, 0, 0, .82) 70%, transparent 91%);
}

.eyelid,
.wake-lid {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 30;
  height: 50%;
  background: #000;
  pointer-events: none;
}

.eyelid-top {
  top: 0;
  transform: translateY(calc(-100% + var(--scene-progress) * 100%));
}

.eyelid-bottom {
  bottom: 0;
  transform: translateY(calc(100% - var(--scene-progress) * 100%));
}

/* Cart Ending */

.scene-cart {
  min-height: 110vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .14), rgba(0, 0, 0, .28)),
    url("assets/mystia-yatai-ending.webp") center center / cover no-repeat,
    #100c10;
  color: #fff8e9;
}

.fear-leftovers {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: calc((1 - var(--scene-progress)) * .48);
  filter: blur(calc(var(--scene-progress) * 6px));
}

.fear-leftovers span {
  position: absolute;
  width: clamp(42px, 6vw, 90px);
  height: clamp(14px, 2vw, 30px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 50%, rgba(255, 126, 181, .88) 0 9%, transparent 11%),
    radial-gradient(circle at 64% 50%, rgba(255, 126, 181, .88) 0 9%, transparent 11%),
    rgba(0, 0, 0, .82);
  box-shadow: 0 0 34px rgba(255, 126, 181, .3);
}

.fear-leftovers span:nth-child(1) {
  left: 14%;
  top: 34%;
  transform: rotate(-9deg) translateY(calc(var(--scene-progress) * -48px));
}

.fear-leftovers span:nth-child(2) {
  right: 18%;
  top: 22%;
  transform: rotate(6deg) translateY(calc(var(--scene-progress) * -62px)) scale(.74);
}

.fear-leftovers span:nth-child(3) {
  right: 8%;
  bottom: 28%;
  transform: rotate(-4deg) translateY(calc(var(--scene-progress) * 40px)) scale(.66);
}

.scene-cart::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 195, 92, .28), transparent 18%),
    radial-gradient(circle at 78% 28%, rgba(255, 195, 92, .22), transparent 18%),
    radial-gradient(ellipse at 50% 72%, rgba(255, 172, 92, .16), transparent 42%);
  opacity: calc(.42 + var(--scene-progress) * .28);
  mix-blend-mode: screen;
}

.scene-cart::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, transparent 0 42%, rgba(0, 0, 0, .42) 88%),
    linear-gradient(180deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .42));
  pointer-events: none;
}

.wake-lid-top {
  top: 0;
  transform: translateY(calc(var(--scene-progress) * -170%));
}

.wake-lid-bottom {
  bottom: 0;
  transform: translateY(calc(var(--scene-progress) * 170%));
}

.cart-steam-cloud {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: calc(.18 + var(--scene-progress) * .42);
}

.cart-steam-cloud span {
  position: absolute;
  bottom: 18%;
  width: clamp(120px, 18vw, 280px);
  height: clamp(100px, 16vw, 240px);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(255, 244, 213, .18), transparent 64%),
    radial-gradient(ellipse at 50% 34%, rgba(255, 255, 255, .12), transparent 58%);
  filter: blur(13px);
}

.cart-steam-cloud span:nth-child(1) {
  left: 28%;
}

.cart-steam-cloud span:nth-child(2) {
  left: 46%;
  bottom: 23%;
  animation-delay: -2s;
}

.cart-steam-cloud span:nth-child(3) {
  right: 18%;
  bottom: 20%;
  animation-delay: -3.6s;
}

.food-cart {
  position: absolute;
  bottom: 18%;
  left: 50%;
  z-index: 4;
  width: min(72vw, 760px);
  height: min(34vw, 330px);
  transform: translateX(-50%);
  display: none;
}

.roof {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 0;
  height: 30%;
  background: repeating-linear-gradient(90deg, #c84636 0 42px, #f6e1b8 43px 84px);
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%);
}

.sign {
  position: absolute;
  left: 35%;
  top: 20%;
  min-width: 30%;
  padding: 10px 18px;
  text-align: center;
  color: #2a1412;
  background: #ffe9b6;
  border: 3px solid #4a241f;
  font-size: clamp(18px, 3vw, 34px);
}

.counter {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 58%;
  border-radius: 12px 12px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 190, 96, .28), transparent),
    #4d2824;
  border: 4px solid #22100f;
}

.lantern {
  position: absolute;
  top: 18%;
  z-index: 2;
  width: 78px;
  height: 102px;
  border-radius: 45%;
  background: radial-gradient(circle, #fff4c8, #f39b42 72%);
  box-shadow: 0 0 55px rgba(255, 179, 83, .7);
  display: none;
}

.lantern-a {
  left: 18%;
}

.lantern-b {
  right: 18%;
}

.steam {
  position: absolute;
  bottom: 50%;
  width: 54px;
  height: 120px;
  border-left: 4px solid rgba(255, 255, 255, .36);
  border-radius: 50%;
}

.steam-a {
  left: 34%;
}

.steam-b {
  right: 34%;
  animation-delay: -2s;
}

.mokou {
  position: absolute;
  right: 17%;
  bottom: 30%;
  z-index: 7;
  width: 110px;
  height: 160px;
  display: none;
}

.mokou .hair {
  position: absolute;
  inset: 0;
  background: #f4f0e5;
  clip-path: polygon(50% 0, 72% 18%, 64% 39%, 90% 72%, 58% 61%, 51% 100%, 39% 63%, 11% 76%, 34% 38%, 27% 18%);
}

.mokou .sleeve {
  position: absolute;
  left: -44px;
  top: 56px;
  width: 90px;
  height: 30px;
  border-radius: 999px;
  background: #c63232;
  transform: rotate(-18deg);
}

.cart-mystia-art {
  position: absolute;
  left: 28%;
  bottom: 18%;
  z-index: 6;
  width: min(34vw, 360px);
  height: min(54vh, 500px);
  object-position: 50% 36%;
  transform:
    translateX(-50%)
    translateY(calc((1 - var(--scene-progress)) * 34px))
    rotate(calc(-2deg + var(--scene-progress) * 2deg));
  border-radius: 28px;
  opacity: calc(.18 + var(--scene-progress) * .82);
  filter:
    drop-shadow(0 20px 44px rgba(0, 0, 0, .34))
    drop-shadow(0 0 34px rgba(255, 179, 83, .2))
    saturate(1.08);
  -webkit-mask-image: linear-gradient(180deg, #000 0 76%, rgba(0, 0, 0, .75) 88%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0 76%, rgba(0, 0, 0, .75) 88%, transparent 100%);
}

.mokou-bonk-art {
  position: absolute;
  right: clamp(22px, 7vw, 120px);
  bottom: 15%;
  z-index: 7;
  width: min(36vw, 520px);
  height: min(42vh, 390px);
  object-fit: cover;
  object-position: 50% 48%;
  border: 1px solid rgba(255, 202, 148, .32);
  border-radius: 8px;
  box-shadow:
    0 26px 80px rgba(0, 0, 0, .42),
    0 0 44px rgba(255, 172, 92, .14);
  filter: saturate(1.03) contrast(1.04);
}

.bonk-burst {
  position: absolute;
  right: clamp(18px, 9vw, 160px);
  bottom: clamp(42%, 44vh, 54%);
  z-index: 10;
  pointer-events: none;
  transform: rotate(-8deg) scale(calc(.82 + var(--bonk-reveal, 0) * .18));
  opacity: calc(var(--bonk-reveal, 0) * .96);
}

.bonk-burst::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(110px, 12vw, 190px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(12deg);
  background: #fff3b8;
  clip-path: polygon(50% 0, 58% 31%, 88% 12%, 70% 43%, 100% 50%, 70% 57%, 88% 88%, 58% 69%, 50% 100%, 42% 69%, 12% 88%, 30% 57%, 0 50%, 30% 43%, 12% 12%, 42% 31%);
  box-shadow:
    0 0 0 4px rgba(71, 25, 20, .8),
    0 10px 34px rgba(255, 180, 76, .38);
}

.bonk-burst span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(100px, 11vw, 170px);
  aspect-ratio: 1;
  color: #2b1512;
  font: 900 clamp(32px, 4.6vw, 66px)/1 "Noto Serif KR", Georgia, serif;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, .8);
}

.ending {
  margin-top: -32vh;
  text-align: center;
  z-index: 9;
  color: #fff2dc;
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 172, 92, .16), transparent 34%),
    rgba(22, 13, 15, .78);
  border-color: rgba(255, 210, 152, .26);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .44),
    inset 0 0 44px rgba(255, 172, 92, .08);
  transform: translateY(calc((1 - var(--scene-progress)) * 30px));
}

.ending::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 100%, rgba(255, 190, 96, .22), transparent 58%);
  opacity: calc(.38 + var(--scene-progress) * .24);
}

.ending h2 {
  color: #fff3df;
  text-shadow: 0 0 28px rgba(255, 176, 96, .2);
}

.ending-kicker {
  display: inline-flex;
  margin: 0 0 14px;
  color: #ffdca8 !important;
  font: 800 12px/1 Arial, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 172, 92, .34);
}

.ending p {
  color: rgba(244, 224, 194, .82);
}

.ending .button {
  color: #ffe8c5;
  border-color: rgba(255, 232, 197, .55);
  background: rgba(255, 180, 96, .08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font: 700 13px/1 Arial, sans-serif;
  letter-spacing: .08em;
  opacity: clamp(0, calc((var(--text-reveal, 1) - .82) * 8), 1);
  transform: translateY(calc((1 - clamp(0, calc((var(--text-reveal, 1) - .82) * 8), 1)) * 12px));
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 160ms ease;
}

/* Profile Scene */

.scene-profile {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 26% 52%, rgba(255, 172, 92, .18), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .54)),
    url("assets/mystia-yatai-ending.webp") center center / cover no-repeat,
    #100c10;
  color: #fff8e9;
}

.scene-profile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 48%, transparent 0 30%, rgba(0, 0, 0, .34) 68%),
    linear-gradient(90deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .48));
  pointer-events: none;
}

.profile-card-art {
  position: absolute;
  left: clamp(22px, 8vw, 120px);
  bottom: 6%;
  z-index: 5;
  width: min(32vw, 420px);
  height: min(78vh, 630px);
  overflow: hidden;
  border: 1px solid rgba(255, 202, 148, .26);
  border-radius: 10px;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .42),
    0 0 40px rgba(255, 172, 92, .12);
}

.profile-cart-light {
  display: none;
}

.profile-mystia-art {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
  filter: saturate(1.05) contrast(1.03);
}

.profile-copy {
  margin-right: clamp(20px, 8vw, 120px);
  z-index: 8;
  color: #fff2dc;
  background:
    radial-gradient(circle at 78% 14%, rgba(255, 172, 92, .16), transparent 34%),
    rgba(22, 13, 15, .78);
  border-color: rgba(255, 210, 152, .26);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .44),
    inset 0 0 44px rgba(255, 172, 92, .08);
}

.profile-copy h2 {
  color: #fff3df;
  text-shadow: 0 0 28px rgba(255, 176, 96, .2);
}

.profile-copy p {
  color: rgba(244, 224, 194, .82);
}

.profile-copy .button {
  color: #ffe8c5;
  border-color: rgba(255, 232, 197, .55);
  background: rgba(255, 180, 96, .08);
}

/* Responsive */

@media (max-width: 760px) {
  .progress {
    left: 108px;
    right: 16px;
    top: 10px;
    height: 5px;
  }

  .site-header {
    align-items: flex-start;
    padding: 16px;
  }

  .brand {
    gap: 4px;
    padding: 5px 7px;
  }

  .brand-title {
    font-size: 26px;
  }

  .brand-ruby {
    font-size: 8px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 14px;
    max-width: 260px;
    font-size: 10px;
  }

  .scene {
    padding: 86px 18px 70px;
  }

  .copy {
    width: min(100%, 94vw);
    padding: 22px;
  }

  .scene-day .hero-copy,
  .lure-copy {
    width: min(100%, 94vw);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .copy h1 {
    font-size: clamp(38px, 13vw, 66px);
  }

  .copy h2 {
    font-size: clamp(36px, 12vw, 62px);
  }

  .scene-trail,
  .scene-night {
    align-items: center;
    justify-content: center;
  }

  .whisper {
    margin-left: 0;
  }

  .food-cart {
    width: 94vw;
    height: 260px;
    bottom: 14%;
  }

  .scare-mystia-art {
    width: min(120vw, 680px);
    height: 104vh;
    bottom: -18%;
  }

  .profile-card-art {
    left: 50%;
    bottom: 6%;
    width: min(72vw, 360px);
    height: 58vh;
    transform: translateX(-50%);
    opacity: .45;
  }

  .profile-copy {
    margin-right: 0;
  }

  .taunt-cards > span {
    min-width: min(78vw, 320px);
    min-height: 82px;
    padding: 14px 18px;
    font-size: clamp(24px, 7vw, 38px);
  }

  .taunt-cards > span:nth-child(1) {
    left: 6%;
    top: 18%;
  }

  .taunt-cards > span:nth-child(2) {
    right: 5%;
    top: 36%;
  }

  .taunt-cards > span:nth-child(3) {
    left: 9%;
    bottom: 15%;
  }

  .taunt-copy {
    transform: translateY(calc(-5vh + var(--scene-progress) * 8px));
  }

  .devour-mouth {
    width: 96vw;
    height: 280px;
  }

  .laugh-cards > span {
    min-width: 110px;
    min-height: 52px;
    padding: 10px 14px;
    font-size: clamp(24px, 8vw, 38px);
  }

  .laugh-cards > span:nth-child(1) {
    left: 5%;
    top: 20%;
  }

  .laugh-cards > span:nth-child(2) {
    right: 5%;
    top: 30%;
  }

  .laugh-cards > span:nth-child(3) {
    left: 7%;
    bottom: 17%;
  }

  .laugh-cards > span:nth-child(4) {
    right: 7%;
    bottom: 19%;
  }

  .lantern-a {
    left: 8%;
  }

  .lantern-b {
    right: 8%;
  }

  .mokou {
    right: 6%;
    transform: scale(.72);
  }

  .cart-mystia-art {
    left: 30%;
    bottom: 20%;
    width: min(52vw, 260px);
    height: 42vh;
    opacity: calc(.12 + var(--scene-progress) * .62);
  }

  .mokou-bonk-art {
    right: 5%;
    bottom: 13%;
    width: min(56vw, 300px);
    height: 26vh;
    opacity: .82;
  }

  .bonk-burst {
    right: 2%;
    bottom: 35%;
  }

  .bonk-burst::before {
    width: 88px;
  }

  .bonk-burst span {
    width: 82px;
    font-size: 30px;
  }

  .cart-steam-cloud span {
    bottom: 11%;
    width: 150px;
    height: 130px;
  }

  .cart-steam-cloud span:nth-child(1) {
    left: 8%;
  }

  .cart-steam-cloud span:nth-child(2) {
    left: 38%;
  }

  .cart-steam-cloud span:nth-child(3) {
    right: 4%;
  }

  .ending {
    margin-top: -30vh;
  }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .laugh-cards > span,
  .laugh-cards > span::after,
  .taunt-cards > span,
  .taunt-cards > span::after,
  .whisper,
  .whisper::before,
  .devour-copy,
  .devour-copy::before,
  .taunt-copy,
  .taunt-copy::before {
    animation-duration: 15s !important;
    animation-iteration-count: infinite !important;
  }

  .laugh-cards > span::after,
  .taunt-cards > span::after,
  .whisper::before,
  .devour-copy::before,
  .taunt-copy::before {
    animation-duration: 10s !important;
  }

  .panic-copy,
  .panic-copy::before {
    animation-duration: 10s !important;
    animation-iteration-count: infinite !important;
  }

  .panic-copy::before {
    animation-duration: 8s !important;
  }

  .return-fade {
    transition-duration: 900ms !important;
  }
}

/* Restore haunted card motion */

.panic-copy,
.whisper,
.devour-copy,
.taunt-copy {
  transform-origin: 50% 50%;
  will-change: translate, rotate, filter;
  animation: panicCardShake 30s ease-in-out infinite !important;
}

.panic-copy::before,
.whisper::before,
.devour-copy::before,
.taunt-copy::before {
  animation: panicBorderShake 9s ease-in-out infinite !important;
}

.panic-copy h2,
.whisper h2,
.devour-copy h2,
.taunt-copy h2 {
  display: inline-block;
  transform-origin: 50% 50%;
  animation: hauntedHeadlineWave 5.8s ease-in-out infinite !important;
}

.laugh-cards > span,
.taunt-cards > span {
  transform-origin: 50% 50%;
  will-change: translate, rotate, filter;
  animation: panicCardShake 18s ease-in-out infinite !important;
}

.laugh-cards > span::after,
.taunt-cards > span::after {
  animation: panicBorderShake 9s ease-in-out infinite !important;
}

.laugh-cards > span:nth-child(1),
.taunt-cards > span:nth-child(1) {
  animation-delay: -.04s;
}

.laugh-cards > span:nth-child(2),
.taunt-cards > span:nth-child(2) {
  animation-delay: -.11s;
}

.laugh-cards > span:nth-child(3),
.taunt-cards > span:nth-child(3) {
  animation-delay: -.16s;
}

.laugh-cards > span:nth-child(4) {
  animation-delay: -.21s;
}

@keyframes panicCardShake {
  0% {
    translate: -15px 8px;
    rotate: -1.8deg;
    filter: drop-shadow(0 0 24px rgba(255, 126, 181, .24)) blur(.15px);
  }
  12% {
    translate: 14px -9px;
    rotate: 1.5deg;
  }
  25% {
    translate: -12px -7px;
    rotate: -1.2deg;
  }
  37% {
    translate: 16px 7px;
    rotate: 1.9deg;
  }
  50% {
    translate: -14px 10px;
    rotate: -1.6deg;
    filter: drop-shadow(0 0 34px rgba(255, 126, 181, .34)) blur(.5px);
  }
  62% {
    translate: 11px 8px;
    rotate: 1.1deg;
  }
  75% {
    translate: 15px -7px;
    rotate: 1.7deg;
  }
  87% {
    translate: -13px -8px;
    rotate: -1.4deg;
  }
  100% {
    translate: -15px 8px;
    rotate: -1.8deg;
  }
}

@keyframes panicBorderShake {
  0% {
    translate: 7px -5px;
    opacity: .72;
  }
  50% {
    translate: -8px 6px;
    opacity: .36;
  }
  100% {
    translate: 7px -5px;
    opacity: .72;
  }
}

@keyframes hauntedHeadlineWave {
  0% {
    transform: translate3d(-1px, .5px, 0) skewX(-.8deg) scaleX(1.004) scaleY(.994);
    filter: blur(.02px) contrast(1.03);
  }
  16% {
    transform: translate3d(.5px, -1px, 0) skewX(.8deg) scaleX(.998) scaleY(1.012);
    filter: blur(.08px) contrast(1.05);
  }
  33% {
    transform: translate3d(-1.5px, 1.5px, 0) skewX(-1.4deg) scaleX(1.012) scaleY(.974);
    filter: blur(.24px) contrast(1.1);
  }
  50% {
    transform: translate3d(1px, 1px, 0) skewX(1.1deg) scaleX(.992) scaleY(1.025);
    filter: blur(.16px) contrast(1.07);
  }
  66% {
    transform: translate3d(-.5px, -1.5px, 0) skewX(-1deg) scaleX(1.014) scaleY(.982);
    filter: blur(.2px) contrast(1.09);
  }
  83% {
    transform: translate3d(1.5px, -.5px, 0) skewX(.7deg) scaleX(.998) scaleY(1.012);
    filter: blur(.08px) contrast(1.05);
  }
  100% {
    transform: translate3d(-1px, .5px, 0) skewX(-.8deg) scaleX(1.004) scaleY(.994);
    filter: blur(.02px) contrast(1.03);
  }
}

.warning-autoplay-option input {
  width: 16px;
  height: 16px;
  accent-color: #b12b5c;
  cursor: pointer;
}

.scroll-cue {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 80;
  transform: translateX(-50%);
  padding: 10px 18px 12px;

  color: #eafff6;
  font: 900 12px/1 Arial, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: center;

  text-shadow:
    0 2px 10px rgba(0, 0, 0, .9),
    0 0 8px rgba(120, 255, 200, .35);

  background: radial-gradient(ellipse at 50% 45%,
    rgba(8, 32, 26, .62),
    rgba(6, 24, 20, .36) 48%,
    transparent 74%);

  border-radius: 999px;
  writing-mode: horizontal-tb;
}

.scroll-cue::after {
  content: "↓";
  display: block;
  margin-top: 6px;

  color: #eafff6;
  font: 900 22px/1 Arial, sans-serif;
  letter-spacing: 0;

  text-shadow:
    0 2px 10px rgba(0, 0, 0, .9),
    0 0 10px rgba(120, 255, 200, .55);
}

/* ===== Warning Modal Refactor ===== */

.warning-panel h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
}

.warning-description {
  margin-top: 22px;
  color: rgba(235, 255, 255, .72);
  font-size: 15px;
  line-height: 1.8;
}

.warning-autoplay-option {
  margin-top: 24px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(197, 248, 240, .18);
  background: rgba(197, 248, 240, .06);
  cursor: pointer;
}

.warning-autoplay-option input {
  margin-top: 2px;
  accent-color: #b12b5c;
}

.warning-autoplay-option span {
  color: rgba(245, 255, 255, .9);
  font: 800 14px/1.4 "Noto Sans KR", Arial, sans-serif;
}

.warning-autoplay-option small {
  display: block;
  margin-top: 4px;
  color: rgba(235, 255, 255, .58);
  font: 600 12px/1.5 "Noto Sans KR", Arial, sans-serif;
}