@font-face {
  font-family: Baloo;
  src: url("/assets/baloo-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --ink: #4d2358;
  --plum: #70205d;
  --berry: #bd276b;
  --pink: #f169b2;
  --cream: #fff8e8;
  --yellow: #ffe581;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: Baloo, "Trebuchet MS", sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f8e5df;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
}
button,
a {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible {
  outline: 4px solid #382773;
  outline-offset: 6px;
}
button:disabled {
  opacity: 0.6;
}
button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: block;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.theater {
  position: relative;
  height: 100svh;
  min-height: 740px;
  isolation: isolate;
  overflow: hidden;
  background: #bceaf1;
}
.world {
  position: absolute;
  inset: 0;
  background: #d9f5f6 url("/assets/world.webp") center 55% / cover no-repeat;
  z-index: -3;
}
.world:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #fff0e470, transparent 38%);
}
.stage-header {
  position: absolute;
  top: 4.5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
  pointer-events: none;
}
.brand-kicker {
  display: block;
  color: #783464;
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.2;
  transform: rotate(-3deg);
}
.brand h1 {
  position: relative;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #fff8ed;
  -webkit-text-stroke: 6px #cc3891;
  paint-order: stroke fill;
  text-shadow:
    0 5px 0 #8d237c,
    2px 7px 0 #fff8ed,
    0 10px 0 #fff8ed,
    0 13px 0 #7c2984;
  white-space: nowrap;
  transform: rotate(-3deg);
}
.brand h1 span {
  font-size: 0.86em;
}
.brand h1 i {
  font-style: normal;
  font-size: 0.43em;
  position: absolute;
  right: -0.65em;
  top: -0.05em;
  color: #ffadd9;
  -webkit-text-stroke: 2px #fff;
  text-shadow: 0 3px 0 #c93287;
  transform: rotate(16deg);
}
.stage-controls {
  position: absolute;
  right: 4%;
  top: 38px;
  display: flex;
  gap: 12px;
  z-index: 9;
}
.round-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff8ee;
  box-shadow:
    0 4px 0 #c9a0b4,
    0 8px 15px #5f2d4b1a;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.games-link {
  position: absolute;
  top: 60px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  min-height: 48px;
  padding: 6px 16px;
  border-radius: 24px;
  background: #ffe581;
  color: #70205d;
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 3px 0 #fff5c7, 0 4px 0 #d6a843;
}
.games-link:hover { background: #ffedaa; }
@media (hover: hover) {
  .round-button:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #c9a0b4;
  }
}
.round-button:hover {
  background: #fff;
}
.motion-toggle {
  position: absolute;
  top: 65px;
  left: 4%;
  z-index: 26;
  min-height: 44px;
  padding: 9px 16px;
  border: 0;
  border-radius: 22px;
  background: var(--cream);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 0 #c9a0b4, 0 8px 15px #5f2d4b1a;
}
.motion-toggle:hover {
  background: #fff;
}
@media (max-width: 900px) {
  .motion-toggle {
    top: 24px;
    font-size: 14px;
    padding-inline: 12px;
  }
}
.stage-platform {
  position: absolute;
  bottom: 6%;
  left: 20%;
  width: 60%;
  height: 20%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 30%,
    #ffecf5 20%,
    #f5b8d7 72%,
    #ce80b1 73%,
    #de93bd 78%,
    transparent 79%
  );
  box-shadow: 0 25px 28px -28px #825c7c;
  z-index: -1;
}
.playground {
  position: absolute;
  inset: 0;
}
.character-zone {
  --gaze-x: 0px;
  --gaze-y: 0px;
  --lean: 0deg;
  --head-x: 0px;
  --head-y: 0px;
  --stretch-x: 1;
  --stretch-y: 1;
  position: absolute;
  height: min(65svh, 620px);
  aspect-ratio: 2/3;
  left: 50%;
  bottom: 9%;
  transform: translateX(-50%);
  z-index: 4;
}
.yoyi {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  user-select: none;
  -webkit-user-select: none;
  transform-origin: 50% 96%;
  animation: breathe 4.8s ease-in-out infinite;
  outline-offset: 0 !important;
}
.yoyi:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 5px #7427a7);
}
.puppet {
  display: block;
  position: absolute;
  inset: 0;
  transform: rotate(var(--lean)) scale(var(--stretch-x), var(--stretch-y));
  transform-origin: 50% 92%;
  filter: drop-shadow(0 5px 1px #8d617325);
}
.puppet-body,
.puppet-head,
.puppet-head-image,
.face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.puppet-body {
  clip-path: inset(36.5% 0 0);
}
.puppet-head {
  transform: translate(var(--head-x), var(--head-y));
  transform-origin: 50% 37%;
}
.puppet-head-image {
  clip-path: inset(0 0 62%);
}
.face {
  overflow: visible;
}
.pupil {
  transform: translate(var(--gaze-x), var(--gaze-y));
}
.eyelids {
  opacity: 0;
}
.laugh-mouth {
  opacity: 0;
}
.is-laughing .eyelids {
  animation: none;
  opacity: 1;
}
.is-laughing .laugh-mouth {
  opacity: 1;
}
.character-shadow {
  position: absolute;
  bottom: -1%;
  left: 21%;
  width: 58%;
  height: 4%;
  background: #8f567c36;
  filter: blur(10px);
  border-radius: 50%;
  z-index: -1;
}
.speech {
  position: absolute;
  top: 28%;
  right: 78%;
  white-space: nowrap;
  max-width: 240px;
  padding: 10px 23px;
  background: #fff9ed;
  color: #74346b;
  border-radius: 45% 45% 45% 18%;
  box-shadow: 0 6px 0 #e5b4c6;
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 700;
  z-index: 3;
  transform: rotate(-9deg);
  transition:
    opacity 0.25s,
    transform 0.3s;
}
.speech:after {
  content: "";
  position: absolute;
  bottom: -7px;
  right: 12px;
  border: 9px solid transparent;
  border-top-color: #fff9ed;
  transform: rotate(-20deg);
}
.speech span {
  color: #d9418e;
  font-size: 1.25em;
}
.play-hint {
  position: absolute;
  bottom: -46px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  white-space: nowrap;
  margin: 0;
  padding: 7px 17px;
  border-radius: 30px;
  background: #fff9eddc;
  font-size: 17px;
  box-shadow: 0 3px 10px #7e467d12;
}
.play-hint span {
  display: inline-block;
  transform: rotate(-20deg);
  margin-right: 5px;
}
.giggles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.giggles span {
  position: absolute;
  top: 38%;
  left: 7%;
  opacity: 0;
  color: #b82677;
  font-weight: 800;
  font-size: 36px;
  -webkit-text-stroke: 5px #fff;
  paint-order: stroke fill;
}
.giggles span:nth-child(2) {
  left: 79%;
  top: 29%;
  font-size: 29px;
}
.giggles span:nth-child(3) {
  left: 82%;
  top: 48%;
  font-size: 29px;
}
.is-laughing .giggles span {
  animation: giggle-pop 1.3s var(--ease) both;
}
.is-laughing .giggles span:nth-child(2) {
  animation-delay: 0.12s;
}
.is-laughing .giggles span:nth-child(3) {
  animation-delay: 0.24s;
}
.video-toy {
  position: absolute;
  display: block;
  padding: 0;
  background: none;
  border: 0;
  text-align: center;
  z-index: 5;
  transition: transform 0.35s var(--ease);
  perspective: 900px;
  transform-style: preserve-3d;
}
@media (hover: hover) {
  .video-toy:hover {
    transform: translateY(-8px) rotate(0deg);
  }
  .video-toy:active {
    transform: translateY(4px) scale(0.97);
  }
  .video-toy:hover img {
    transform: scale(1.07);
  }
}
.video-toy--wide {
  width: clamp(205px, 22vw, 310px);
  top: 43%;
  left: 8%;
  transform: rotate(-7deg);
}
.video-toy--tall {
  width: clamp(145px, 15vw, 202px);
  top: 33%;
  right: 10%;
  transform: rotate(8deg);
}
.toy-body {
  display: block;
  position: relative;
  padding: 17px 17px 6px;
  background: #f9c6e3;
  border-radius: 28px;
  box-shadow:
    inset 3px 4px 0 #ffebf8,
    inset -5px -3px 0 #d487bb,
    7px 9px 0 #b8649c,
    14px 20px 22px #89548c2e;
  transition: transform 0.3s;
  transform: rotateY(8deg) rotateX(-3deg);
}
.toy-display {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  border: 5px solid #793b7d;
  background: #7b3f88;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 3px 0 #fff3fa;
}
.toy-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  transition: transform 0.4s var(--ease);
}
.toy-play {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff9ed;
  border-radius: 50%;
  box-shadow: 0 4px 0 #69265944;
  color: #be2f81;
}
.toy-play svg {
  width: 23px;
  height: 23px;
  margin-left: 3px;
}
.toy-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #71356f;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.3;
  padding: 7px 0 4px;
}
.toy-label > span {
  font-size: 23px;
}
.toy-caption {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 22px;
  padding: 5px 11px;
  background: #fff9e9d9;
  border-radius: 20px;
}
.toy-antenna {
  position: absolute;
  left: 34%;
  top: -28px;
  height: 35px;
  width: 70px;
  border: 6px solid #87569b;
  border-bottom: 0;
  border-radius: 50px 50px 0 0;
  transform: rotate(-12deg);
  z-index: -1;
}
.toy-speaker {
  position: absolute;
  right: -12px;
  bottom: 20px;
  display: grid;
  gap: 5px;
}
.toy-speaker i {
  height: 5px;
  width: 12px;
  border-radius: 8px;
  background: #f2d2e7;
  transform: skewY(45deg);
}
.video-toy--tall .toy-body {
  background: #a6e6eb;
  box-shadow:
    inset 3px 4px 0 #dffbfa,
    inset -5px -3px 0 #66c8d3,
    7px 9px 0 #4e9eae,
    14px 20px 22px #5467892e;
  padding: 26px 12px 7px;
  border-radius: 28px;
  transform: rotateY(-9deg) rotateX(-3deg);
}
.video-toy--tall .toy-display {
  aspect-ratio: 3/4;
  border-color: #387f97;
}
.video-toy--tall .toy-label {
  color: #276b84;
  font-size: 27px;
}
.video-toy--tall .toy-play {
  color: #347a96;
}
.toy-camera {
  position: absolute;
  left: 40%;
  top: 10px;
  width: 20%;
  height: 6px;
  background: #5aaab8;
  border-radius: 12px;
}
.cube-button {
  position: absolute;
  left: 14%;
  bottom: 10%;
  background: none;
  border: 0;
  width: 75px;
  height: 90px;
  padding: 0;
  perspective: 500px;
  z-index: 5;
}
.cube {
  display: block;
  width: 58px;
  height: 58px;
  position: absolute;
  left: 8px;
  top: 10px;
  transform-style: preserve-3d;
  transform: rotateX(-22deg) rotateY(-30deg) rotateZ(-8deg);
  transition: transform 0.9s cubic-bezier(0.18, 0.9, 0.28, 1.1);
}
.cube-face {
  display: grid;
  place-items: center;
  position: absolute;
  width: 58px;
  height: 58px;
  background: #ffe788;
  border: 3px solid #fff4bc;
  border-radius: 7px;
  backface-visibility: hidden;
  color: #c37d3d;
  font-size: 34px;
  line-height: 1;
}
.cube-front {
  transform: translateZ(29px);
}
.cube-back {
  transform: rotateY(180deg) translateZ(29px);
}
.cube-right {
  transform: rotateY(90deg) translateZ(29px);
  background: #edc268;
}
.cube-left {
  transform: rotateY(-90deg) translateZ(29px);
}
.cube-top {
  transform: rotateX(90deg) translateZ(29px);
  background: #fff3b0;
}
.cube-bottom {
  transform: rotateX(-90deg) translateZ(29px);
}
.cube-button:after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 12px;
  background: #b78a8d40;
  border-radius: 50%;
  filter: blur(3px);
  z-index: -1;
}
.cube-button.is-spinning .cube {
  animation: cube-spin 0.95s var(--ease);
}
.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}
.confetti i {
  position: absolute;
  left: 17%;
  bottom: 15%;
  width: 9px;
  height: 15px;
  background: #d945a2;
  border-radius: 3px;
  animation: confetti 1.1s var(--ease) forwards;
}
.confetti i:nth-child(3n) {
  background: #ffc72f;
}
.confetti i:nth-child(3n + 1) {
  background: #47bfc8;
}
.sun-dust {
  position: absolute;
  z-index: 1;
  color: #ffcb65;
  text-shadow: 2px 2px 0 #fff;
  font-size: 47px;
  animation: sparkle 4s ease-in-out infinite;
}
.sun-dust--one {
  top: 24%;
  left: 14%;
  transform: rotate(-10deg);
}
.sun-dust--two {
  top: 25%;
  right: 23%;
  font-size: 34px;
  animation-delay: -2s;
}
.sun-dust--three {
  bottom: 14%;
  right: 16%;
  font-size: 39px;
  animation-delay: -1s;
}
.stage-footer {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  left: 6%;
  right: 6%;
  bottom: 17px;
  font-size: 14px;
  font-weight: 600;
  z-index: 5;
}
.stage-footer > span {
  color: #7c5972;
}
.stage-footer > span span {
  color: #c6398e;
  font-size: 18px;
}
.stage-footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 8px 0;
}
.stage-footer a:hover {
  color: #ae286b;
}
.curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;
  z-index: 20;
  background: repeating-linear-gradient(
    90deg,
    #8a174e 0%,
    #b72d69 5%,
    #ce3b79 9%,
    #a81f60 14%,
    #77133f 19%,
    #b12664 23%
  );
  box-shadow:
    inset -12px 0 20px #64113250,
    8px 0 20px #51163d40;
  transition: transform 1.5s cubic-bezier(0.7, 0, 0.2, 1);
  pointer-events: none;
}
.curtain:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #360b3244,
    transparent 25%,
    #f7789a11 70%,
    #4c092e55
  );
  border-bottom: 8px solid #e3a758;
}
.curtain--left {
  left: 0;
  transform-origin: left top;
  border-radius: 0 0 35px 0;
}
.curtain--right {
  right: 0;
  transform-origin: right top;
  border-radius: 0 0 0 35px;
  background-position: 20px 0;
  box-shadow:
    inset 12px 0 20px #64113250,
    -8px 0 20px #51163d40;
}
.valance {
  position: absolute;
  z-index: 23;
  left: -1%;
  right: -1%;
  height: 59px;
  top: -12px;
  display: flex;
  pointer-events: none;
  filter: drop-shadow(0 8px 4px #63234b33);
}
.valance span {
  flex: 1;
  border-radius: 0 0 50% 50%;
  background: linear-gradient(#851648, #bd316d 65%, #8c174f);
  border-bottom: 5px solid #dca962;
}
.valance span:nth-child(odd) {
  height: 64px;
}
.welcome {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 65px 20px;
  text-align: center;
  color: #fff7eb;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.welcome:before {
  content: "";
  position: absolute;
  width: min(85vw, 800px);
  height: 600px;
  z-index: -1;
  background: radial-gradient(ellipse, #f880a54a, transparent 65%);
  pointer-events: none;
}
.welcome-spark {
  font-size: 50px;
  color: #ffe5a0;
  text-shadow: 0 4px 0 #8d295a;
  line-height: 1;
  margin-bottom: 22px;
  animation: sparkle 4s infinite;
}
.welcome-overline {
  font-weight: 600;
  font-size: 21px;
  margin: 0 0 4px;
}
.welcome h2 {
  position: relative;
  margin: 0 0 23px;
  font-size: clamp(50px, 8.5vw, 112px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: #fff7ef;
  -webkit-text-stroke: 7px #ef89bf;
  paint-order: stroke fill;
  text-shadow:
    0 7px 0 #731a59,
    2px 10px 0 #731a59;
  transform: rotate(-4deg);
}
.welcome h2 span {
  font-size: 0.86em;
}
.welcome h2 i {
  font-size: 0.45em;
  position: absolute;
  right: -0.5em;
  top: -0.3em;
  color: #ffe390;
  font-style: normal;
  -webkit-text-stroke: 3px #fff3ce;
  transform: rotate(15deg);
}
.load-status {
  font-size: 20px;
  min-height: 31px;
  margin: 15px 0 25px;
  color: #fff1e9;
}
.loading-dots {
  animation: sparkle 1s infinite;
}
.enter-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 17px 32px;
  min-height: 68px;
  border: 0;
  border-radius: 22px;
  background: #ffe28d;
  color: #6d2854;
  box-shadow:
    0 7px 0 #ca8c42,
    0 14px 25px #50113635;
  font-weight: 800;
  font-size: clamp(19px, 2vw, 25px);
  transform: rotate(-2deg);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.enter-button svg {
  width: 24px;
}
@media (hover: hover) {
  .enter-button:not(:disabled):hover {
    transform: rotate(0) translateY(-3px);
    background: #ffeaa8;
  }
  .enter-button:active {
    transform: translateY(5px);
    box-shadow: 0 2px 0 #ca8c42;
  }
}
.enter-button:focus-visible,
.quiet-enter:focus-visible {
  outline-color: #fff;
}
.welcome-note {
  font-size: 15px;
  margin: 24px 0 12px;
  color: #ffe4ed;
}
.quiet-enter {
  border: 0;
  background: transparent;
  color: #fff3eb;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 12px;
  min-height: 44px;
}
.loading-help {
  font-size: 14px;
  max-width: 280px;
  margin: 8px 0 0;
}
.intro-caption {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 5%;
  background: #fff8edf2;
  border-radius: 22px;
  box-shadow: 0 4px 0 #deb1c4;
  padding: 11px 28px;
  margin: 0;
  z-index: 12;
  text-align: center;
  line-height: 1.3;
  font-size: 21px;
  font-weight: 700;
  width: max-content;
  max-width: 85%;
}
.skip-intro {
  position: absolute;
  right: 5%;
  bottom: 7%;
  padding: 10px 19px;
  min-height: 44px;
  border: 0;
  background: #fff8ed;
  border-radius: 22px;
  box-shadow: 0 4px 0 #deb1c4;
  z-index: 15;
}
.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 10;
  pointer-events: none;
}
body:not([data-phase="loading"]):not([data-phase="ready"]) .curtain--left {
  transform: translateX(-96%);
}
body:not([data-phase="loading"]):not([data-phase="ready"]) .curtain--right {
  transform: translateX(96%);
}
body:not([data-phase="loading"]):not([data-phase="ready"]) .welcome {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body[data-phase="loading"] .character-zone,
body[data-phase="ready"] .character-zone {
  opacity: 0;
}
body[data-phase="intro"] .character-zone {
  animation: entrance 4.8s both;
}
body[data-phase="intro"] .video-toy {
  pointer-events: none;
  opacity: 0.35;
}
body[data-phase="intro"] .play-hint,
body[data-phase="intro"] .speech {
  opacity: 0;
}
body[data-phase="intro"] .stage-footer {
  visibility: hidden;
}
body[data-phase="gallery"] .playground,
body[data-phase="cinema"] .playground {
  pointer-events: none;
}
.is-paused *,
.is-paused *:before,
.is-paused *:after {
  animation-play-state: paused !important;
}
.character-unavailable .character-zone {
  display: none;
}
.media-dialog {
  padding: 27px;
  border: 0;
  border-radius: 30px;
  background: #fff7e9;
  color: var(--ink);
  width: min(980px, calc(100% - 32px));
  max-height: calc(100svh - 40px);
  overflow: auto;
  box-shadow:
    0 12px 0 #b77d9a,
    0 35px 80px #54274755;
}
.media-dialog::backdrop {
  background: #412044b8;
  backdrop-filter: blur(8px);
}
.media-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.media-heading > div {
  flex: 1;
  min-width: 0;
}
.media-heading h2 {
  font-size: clamp(22px, 3.5vw, 35px);
  line-height: 1.1;
  margin: 3px 0;
}
.media-eyebrow {
  font-size: 14px;
  margin: 0;
  color: #955275;
}
.media-heading .round-button {
  flex-shrink: 0;
  background: #ffe0ec;
}
.back-button {
  border: 0;
  background: #ffe4b4;
  border-radius: 18px;
  padding: 11px 18px;
  min-height: 44px;
  font-weight: 700;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 6px 3px 18px;
}
.media-card {
  position: relative;
  display: block;
  padding: 0 0 14px;
  border: 0;
  border-radius: 19px;
  text-align: left;
  background: #ffdeeb;
  box-shadow: 0 6px 0 #e3a3c4;
  overflow: hidden;
  transition: transform 0.2s;
}
@media (hover: hover) {
  .media-card:hover {
    transform: translateY(-4px);
  }
}
.media-card__thumbnail {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.media-card__title {
  display: block;
  padding: 14px 16px 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.media-card__play {
  position: absolute;
  right: 11px;
  top: 11px;
  background: #fff8eeec;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  color: #b52777;
  font-size: 17px;
}
.media-dialog[data-category="shorts"] .media-card {
  background: #d3eef0;
  box-shadow: 0 6px 0 #9bcfd4;
}
.media-dialog[data-category="shorts"] .media-card__thumbnail {
  aspect-ratio: 3/4;
}
.media-status {
  grid-column: 1/-1;
  text-align: center;
  padding: 40px 15px;
}
.media-retry {
  border: 0;
  border-radius: 18px;
  padding: 13px 24px;
  background: #ffd784;
  grid-column: 1/-1;
  justify-self: center;
}
.youtube-frame {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: 0;
  border-radius: 14px;
  background: #281c36;
}
.media-dialog[data-category="shorts"][data-view="cinema"] {
  width: min(560px, calc(100% - 24px));
}
.media-dialog[data-category="shorts"] .youtube-frame {
  aspect-ratio: 9/16;
  width: auto;
  height: min(60svh, 620px);
  max-width: 100%;
  margin: auto;
}
.player-help {
  font-size: 14px;
  text-align: center;
  margin: 13px 0 9px;
}
.media-external {
  display: block;
  text-align: center;
  padding: 10px;
  text-underline-offset: 4px;
  font-size: 15px;
}
.media-dialog[data-view="cinema"] .media-heading h2 {
  font-size: 20px;
}
.noscript {
  position: fixed;
  inset: auto 20px 25px;
  z-index: 99;
  background: #fff7e9;
  padding: 25px;
  border-radius: 20px;
  text-align: center;
}
@keyframes breathe {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.008);
  }
}
@keyframes blink {
  0%,
  42%,
  46%,
  91%,
  95%,
  100% {
    opacity: 0;
  }
  43%,
  45%,
  92%,
  94% {
    opacity: 1;
  }
}
@keyframes giggle {
  from {
    transform: translate(-2px, -3px) rotate(-1deg);
  }
  to {
    transform: translate(2px, 0) rotate(1deg);
  }
}
@keyframes laugh-body {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015, 0.98);
  }
}
@keyframes giggle-pop {
  0% {
    opacity: 0;
    transform: translateY(12px) rotate(-12deg) scale(0.5);
  }
  20%,
  70% {
    opacity: 1;
    transform: translateY(-8px) rotate(8deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-45px) rotate(-4deg) scale(0.9);
  }
}
@keyframes sparkle {
  0%,
  100% {
    opacity: 0.65;
    scale: 0.9;
  }
  50% {
    opacity: 1;
    scale: 1.05;
  }
}
@keyframes entrance {
  0%,
  16% {
    opacity: 0;
    translate: 0 55px;
    scale: 0.84;
  }
  34% {
    opacity: 1;
    translate: 0 -14px;
    scale: 1.03;
  }
  48% {
    translate: 0 0;
    scale: 1;
  }
  64% {
    rotate: -3deg;
  }
  80% {
    rotate: 3deg;
  }
  100% {
    opacity: 1;
    translate: 0 0;
    rotate: 0deg;
    scale: 1;
  }
}
@keyframes cube-spin {
  0% {
    transform: translateY(0) rotateX(-22deg) rotateY(-30deg) rotateZ(-8deg);
  }
  50% {
    transform: translateY(-30px) rotateX(160deg) rotateY(190deg) rotateZ(12deg);
  }
  100% {
    transform: translateY(0) rotateX(338deg) rotateY(330deg) rotateZ(-8deg);
  }
}
@keyframes confetti {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) rotate(var(--dr));
  }
}
@media (min-width: 1500px) {
  .video-toy--wide {
    left: 12%;
  }
  .video-toy--tall {
    right: 15%;
  }
  .character-zone {
    height: min(68svh, 720px);
  }
  .stage-platform {
    bottom: 6%;
    height: 18%;
  }
}
@media (max-width: 900px) and (min-height: 800px) {
  .character-zone {
    height: min(57svh, 620px);
    bottom: 24%;
  }
  .video-toy--wide {
    top: auto;
    bottom: 7.5%;
    left: 12%;
    width: 240px;
  }
  .video-toy--tall {
    top: auto;
    bottom: 8%;
    right: 16%;
    width: 145px;
  }
  .video-toy--tall .toy-display {
    aspect-ratio: 4/3;
  }
  .stage-platform {
    bottom: 22%;
    left: 10%;
    width: 80%;
    height: 15%;
  }
  .speech {
    right: 70%;
    top: 33%;
    font-size: 19px;
  }
  .cube-button {
    left: auto;
    right: 7%;
    bottom: 29%;
  }
  .sun-dust--three {
    bottom: 30%;
    right: 10%;
  }
  .stage-controls {
    right: 4%;
    top: 70px;
  }
  .brand h1 {
    font-size: 70px;
  }
}
@media (max-width: 600px) {
  .theater {
    min-height: 720px;
    max-height: 1100px;
  }
  .world {
    background-position: 49% 45%;
    background-size: auto 100%;
  }
  .stage-header {
    top: 68px;
  }
  .brand-kicker {
    font-size: 15px;
  }
  .brand h1 {
    font-size: 47px;
    -webkit-text-stroke-width: 4px;
    text-shadow:
      0 4px 0 #8d237c,
      2px 6px 0 #fff8ed,
      0 8px 0 #fff8ed,
      0 10px 0 #7c2984;
  }
  .stage-controls {
    right: 18px;
    top: 24px;
    gap: 9px;
  }
  .round-button {
    width: 41px;
    height: 41px;
  }
  .round-button svg {
    width: 21px;
    height: 21px;
  }
  .stage-platform {
    left: 4%;
    width: 92%;
    bottom: 26%;
    height: 12%;
  }
  .character-zone {
    height: min(52svh, 475px);
    bottom: 228px;
  }
  .speech {
    font-size: 16px;
    top: 38%;
    right: 66%;
    padding: 8px 14px;
    max-width: 180px;
  }
  .play-hint {
    font-size: 14px;
    bottom: -30px;
    padding: 5px 12px;
  }
  .video-toy--wide {
    top: auto;
    bottom: 50px;
    left: 9%;
    width: 170px;
    transform: rotate(-6deg);
  }
  .video-toy--tall {
    top: auto;
    bottom: 49px;
    right: 10%;
    width: 112px;
    transform: rotate(7deg);
  }
  .toy-body {
    padding: 11px 11px 2px;
    border-radius: 20px;
    box-shadow:
      inset 2px 3px 0 #ffebf8,
      inset -4px -2px 0 #d487bb,
      5px 6px 0 #b8649c,
      9px 13px 18px #89548c26;
  }
  .toy-display {
    border-width: 4px;
    border-radius: 10px;
  }
  .toy-label {
    font-size: 24px;
    gap: 12px;
    padding: 5px 0 4px;
  }
  .toy-label > span {
    font-size: 19px;
  }
  .toy-play {
    width: 39px;
    height: 39px;
  }
  .toy-play svg {
    width: 17px;
    height: 17px;
  }
  .toy-caption {
    font-size: 12px;
    margin-top: 12px;
    padding: 3px 6px;
    white-space: nowrap;
  }
  .toy-antenna {
    top: -17px;
    height: 23px;
    width: 45px;
    border-width: 4px;
  }
  .video-toy--tall .toy-body {
    padding: 17px 8px 2px;
    border-radius: 19px;
    box-shadow:
      inset 2px 3px 0 #dffbfa,
      inset -4px -2px 0 #66c8d3,
      5px 6px 0 #4e9eae,
      9px 13px 18px #54678926;
  }
  .video-toy--tall .toy-display {
    aspect-ratio: 4/5;
  }
  .video-toy--tall .toy-label {
    font-size: 21px;
    padding: 4px 0;
  }
  .toy-camera {
    top: 7px;
    height: 4px;
  }
  .cube-button {
    left: auto;
    right: 8%;
    bottom: 32%;
    width: 53px;
    height: 65px;
    scale: 0.72;
    transform-origin: bottom right;
  }
  .sun-dust--one {
    top: 23%;
    left: 9%;
    font-size: 30px;
  }
  .sun-dust--two {
    top: 28%;
    right: 10%;
    font-size: 28px;
  }
  .sun-dust--three {
    bottom: 33%;
    left: 10%;
    right: auto;
    font-size: 26px;
  }
  .stage-footer {
    left: 6%;
    right: 6%;
    bottom: 8px;
    font-size: 11px;
    gap: 10px;
  }
  .stage-footer > span span {
    font-size: 14px;
  }
  .valance {
    height: 38px;
    top: -15px;
  }
  .valance span:nth-child(odd) {
    height: 48px;
  }
  .valance span {
    border-bottom-width: 4px;
  }
  .welcome-overline {
    font-size: 17px;
  }
  .welcome h2 {
    font-size: 53px;
    -webkit-text-stroke-width: 5px;
    margin-bottom: 15px;
  }
  .welcome-spark {
    font-size: 42px;
  }
  .welcome-note {
    font-size: 13px;
  }
  .enter-button {
    padding: 16px 23px;
    gap: 11px;
    border-radius: 19px;
  }
  .load-status {
    font-size: 18px;
  }
  .intro-caption {
    bottom: 112px;
    font-size: 17px;
    padding: 10px 17px;
    max-width: 92%;
  }
  .skip-intro {
    bottom: 55px;
    right: 50%;
    transform: translateX(50%);
    font-size: 15px;
  }
  .media-dialog {
    padding: 20px 17px;
    border-radius: 23px;
    max-height: calc(100svh - 32px);
  }
  .media-heading {
    gap: 12px;
    margin-bottom: 20px;
  }
  .media-heading h2 {
    font-size: 26px;
  }
  .media-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 12px;
  }
  .media-card {
    display: grid;
    grid-template-columns: 42% 1fr;
    align-items: center;
    min-height: 95px;
    padding: 0;
    border-radius: 16px;
  }
  .media-card__thumbnail {
    height: 100%;
    aspect-ratio: 4/3;
  }
  .media-card__title {
    padding: 12px 15px;
    font-size: 15px;
  }
  .media-card__play {
    width: 29px;
    height: 29px;
    left: calc(42% - 37px);
    right: auto;
    top: 8px;
    font-size: 13px;
  }
  .media-dialog[data-category="shorts"] .media-card__thumbnail {
    aspect-ratio: 4/3;
  }
  .media-dialog[data-view="cinema"] .media-heading {
    flex-wrap: wrap;
  }
  .media-dialog[data-view="cinema"] .media-heading > div {
    order: 3;
    flex-basis: 100%;
  }
  .media-dialog[data-view="cinema"] .media-heading .round-button {
    margin-left: auto;
  }
  .back-button {
    padding: 9px 15px;
  }
  .media-dialog[data-category="shorts"] .youtube-frame {
    height: 55svh;
  }
  .welcome-note {
    max-width: 270px;
  }
  .giggles span {
    font-size: 29px;
  }
}
@media (max-width: 365px) {
  .video-toy--wide {
    width: 148px;
    left: 7%;
  }
  .video-toy--tall {
    width: 102px;
    right: 9%;
  }
  .toy-caption {
    font-size: 11px;
  }
  .character-zone {
    height: 390px;
  }
  .welcome h2 {
    font-size: 46px;
  }
  .brand h1 {
    font-size: 43px;
  }
  .speech {
    right: 64%;
    font-size: 14px;
  }
}
@media (max-height: 600px) and (min-width: 601px) {
  .theater {
    min-height: 520px;
    height: 100svh;
  }
  .stage-header {
    top: 35px;
  }
  .brand h1 {
    font-size: 49px;
  }
  .brand-kicker {
    font-size: 15px;
  }
  .character-zone {
    height: 355px;
    bottom: 60px;
  }
  .video-toy--wide {
    width: 190px;
    left: 6%;
    top: 42%;
  }
  .video-toy--tall {
    width: 118px;
    right: 10%;
    top: 30%;
  }
  .toy-label {
    font-size: 22px;
  }
  .toy-caption {
    font-size: 13px;
    margin-top: 15px;
  }
  .speech {
    font-size: 16px;
    right: 72%;
    padding: 8px 14px;
  }
  .play-hint {
    font-size: 13px;
    bottom: -27px;
  }
  .stage-controls {
    top: 42px;
    right: 3%;
    gap: 9px;
  }
  .round-button {
    width: 40px;
    height: 40px;
  }
  .stage-platform {
    bottom: 9%;
    height: 20%;
  }
  .cube-button {
    left: 9%;
    bottom: 9%;
    scale: 0.7;
  }
  .sun-dust--one {
    top: 26%;
    left: 18%;
    font-size: 28px;
  }
  .welcome {
    padding: 35px 20px;
  }
  .welcome h2 {
    font-size: 59px;
    margin-bottom: 10px;
  }
  .welcome-spark {
    display: none;
  }
  .load-status {
    margin: 10px 0 17px;
  }
  .welcome-note {
    margin: 18px 0 0;
  }
  .enter-button {
    padding: 13px 25px;
    min-height: 54px;
  }
  .intro-caption {
    bottom: 16px;
    font-size: 16px;
  }
  .skip-intro {
    bottom: 25px;
  }
  .media-dialog {
    max-height: calc(100svh - 22px);
  }
  .media-dialog[data-category="shorts"] .youtube-frame {
    height: 50svh;
  }
}
.stage-header {
  top: 65px;
}
.stage-controls {
  top: 65px;
}
.speech {
  top: 17%;
  right: 66%;
  white-space: normal;
  text-align: center;
  width: max-content;
  max-width: 200px;
}
@media (max-width: 900px) and (min-height: 800px) {
  .speech {
    top: 33%;
  }
}
@media (max-width: 600px) {
  .stage-header {
    top: 68px;
  }
  .stage-controls {
    top: 24px;
  }
  .character-zone {
    bottom: 267px;
    height: min(49svh, 450px);
  }
  .speech {
    top: 38%;
    right: 63%;
    max-width: 137px;
  }
  .play-hint {
    bottom: -30px;
    font-size: 13px;
  }
  .video-toy--tall .toy-display {
    aspect-ratio: 1/1;
  }
  .stage-platform {
    bottom: 30%;
  }
  .giggles span:first-child {
    left: 5%;
  }
}
@media (max-height: 600px) and (min-width: 601px) {
  .stage-header {
    top: 50px;
  }
  .stage-controls {
    top: 52px;
  }
  .speech {
    top: 20%;
  }
}
@media (min-width: 601px) and (max-width: 900px) and (min-height: 800px) {
  .character-zone {
    height: 50svh;
    bottom: 34%;
  }
  .play-hint {
    bottom: -35px;
  }
  .video-toy--wide {
    width: 210px;
    left: 10%;
  }
  .stage-platform {
    bottom: 32%;
  }
}
:root[data-motion="reduced"] *,
:root[data-motion="reduced"] *:before,
:root[data-motion="reduced"] *:after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
:root[data-motion="reduced"] .yoyi,
:root[data-motion="reduced"] .puppet,
:root[data-motion="reduced"] .puppet-head {
  transform: none !important;
}
:root[data-motion="reduced"] .sun-dust {
  opacity: 1;
}
:root[data-motion="reduced"] .confetti {
  display: none;
}
:root[data-motion="reduced"] .curtain {
  transition: opacity 0.1s !important;
}
:root[data-motion="reduced"] .is-laughing .giggles span {
  opacity: 1;
}
:root[data-motion="reduced"] .character-zone {
  animation: none !important;
}

.stage-subscribe {
  position: absolute; z-index: 6; left: 50%; bottom: 28px;
  transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
  min-height: 58px; padding: 7px 24px; border-radius: 28px;
  background: #ffe581; color: #70205d; text-decoration: none;
  font-size: 23px; font-weight: 800; white-space: nowrap;
  box-shadow: inset 0 3px 0 #fff5c7, 0 5px 0 #d6a843, 0 10px 20px #70205d24;
}
.stage-subscribe svg { width: 32px; height: 24px; }
.stage-subscribe:hover { background: #ffedaa; }
.stage-subscribe:focus-visible { outline: 4px solid #70205d; outline-offset: 6px; }
body[data-phase="intro"] .stage-subscribe { visibility: hidden; }
@media (max-width: 600px) {
  .video-toy--wide, .video-toy--tall { bottom: 83px; }
}

@media (max-width: 600px) {
  .games-link { position: static; }
  .stage-header { top: 82px; }
}
