.location-visual.teddy-cinema {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 13.5rem;
  background: var(--scene);
}

.teddy-cinema--weeze {
  --scene: radial-gradient(ellipse at 65% 69%, #8ca6dd62, transparent 57%),
    linear-gradient(156deg, #10162c 0%, #253957 54%, #9a6943 100%);
  --scene-halo: #fbcf776e;
  --cinema-rim: #ffeaaa;
}

.teddy-cinema--twisteden {
  --scene: radial-gradient(ellipse at 62% 34%, #cfbc7780, transparent 52%),
    linear-gradient(150deg, #152922 0%, #315840 46%, #726740 78%, #1c3128 100%);
  --scene-halo: #e8d6926b;
  --cinema-rim: #effbb2;
}

.teddy-cinema--straelen {
  --scene: radial-gradient(ellipse at 51% 61%, #ac7364 0%, #593b44 50%, #261b29 91%),
    #211625;
  --scene-halo: #f2b89778;
}

.teddy-cinema::before,
.teddy-cinema::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.teddy-cinema::before {
  z-index: 1;
  inset: -22% -18%;
  background: conic-gradient(from 26deg at 52% 7%, transparent 0 42deg, var(--scene-halo) 54deg, transparent 72deg 334deg, var(--scene-halo) 344deg, transparent 356deg),
    radial-gradient(ellipse at 47% 41%, var(--scene-halo), transparent 53%);
  transform-origin: 52% 7%;
  opacity: .78;
}

.teddy-cinema::after {
  z-index: 4;
  background:
    linear-gradient(180deg, #0908134c 0%, transparent 19% 74%, #09081170),
    radial-gradient(ellipse at 54% 52%, transparent 42%, #100d2345 76%, #09081270 100%);
}

.cinema-motif {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.cinema-motif::before,
.cinema-motif::after {
  position: absolute;
  content: "";
}

.teddy-cinema--weeze .cinema-motif {
  background:
    linear-gradient(180deg, transparent 61%, #cfe9ff70 61.3%, transparent 61.9%),
    repeating-linear-gradient(90deg, #9fc9ff40 0 1px, transparent 1px 12.5%) 0 0 / auto 61% no-repeat,
    radial-gradient(circle at 83% 22%, #fff0bc 0 2%, #ffffff45 2.2%, transparent 8%);
}

.teddy-cinema--weeze .cinema-motif::before {
  inset: 59% 0 0;
  background:
    repeating-linear-gradient(180deg, #fff4be 0 .46rem, transparent .5rem 1.08rem) 52% / 4px 100% no-repeat,
    linear-gradient(116deg, transparent 30%, #ffd4689c 31% 32%, transparent 33%),
    linear-gradient(62deg, transparent 67%, #ffd4689c 68% 69%, transparent 70%),
    linear-gradient(180deg, #1d2c5d, #090f27);
  clip-path: polygon(42% 0%, 61% 0%, 100% 100%, 0% 100%);
}

.teddy-cinema--weeze .cinema-motif::after {
  right: 5%;
  top: 26%;
  width: clamp(4.1rem, 27%, 9rem);
  height: clamp(2rem, 9vw, 3.6rem);
  background: linear-gradient(174deg, #ffecb7, #bcb4e1 63%, #6978b4);
  clip-path: polygon(0 58%, 24% 62%, 36% 52%, 46% 19%, 52% 15%, 50% 50%, 75% 43%, 89% 38%, 100% 45%, 85% 56%, 64% 62%, 51% 98%, 44% 100%, 46% 66%, 18% 70%);
  transform: rotate(-11deg);
}

.teddy-cinema--twisteden .cinema-motif {
  background:
    radial-gradient(circle at 15% 36%, #f4e8a7d1 0 1px, transparent 2px),
    radial-gradient(circle at 72% 14%, #fff3b5 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 91% 49%, #ffde9e 0 1.5px, transparent 2.5px),
    repeating-linear-gradient(99deg, #051f1780 0 6px, transparent 9px 11%, #173a2470 11.5% 13%, transparent 14.5% 22%);
}

.teddy-cinema--twisteden .cinema-motif::before {
  inset: 15% 0 0;
  background: linear-gradient(140deg, #0a291e 2%, #396744 58%, #182c1c);
  clip-path: polygon(0% 12%, 7% 26%, 13% 19%, 23% 48%, 31% 32%, 40% 62%, 53% 46%, 63% 66%, 71% 44%, 86% 68%, 94% 42%, 100% 53%, 100% 100%, 0% 100%);
}

.teddy-cinema--twisteden .cinema-motif::after {
  right: 6%;
  bottom: 18%;
  width: clamp(5.5rem, 33%, 10rem);
  height: clamp(4.8rem, 10vw, 7.2rem);
  background:
    radial-gradient(circle at 88% 16%, #172818 0 2%, #fff0bd 2.3% 3.3%, transparent 3.6%),
    linear-gradient(151deg, #d0db83, #739f54 55%, #425b37 100%);
  clip-path: polygon(0 54%, 16% 60%, 33% 49%, 47% 34%, 65% 32%, 71% 15%, 77% 7%, 89% 5%, 97% 12%, 100% 25%, 86% 31%, 76% 44%, 69% 64%, 73% 94%, 61% 94%, 56% 73%, 51% 71%, 46% 95%, 35% 95%, 38% 67%, 22% 70%, 11% 65%);
  transform-origin: 40% 95%;
  transform: rotate(1deg);
}

.cinema-teddy {
  position: absolute;
  z-index: 3;
  left: 43%;
  bottom: .8rem;
  display: block;
  width: auto;
  height: calc(100% - 1.6rem);
  max-height: 14rem;
  max-width: 55%;
  aspect-ratio: 339 / 400;
  object-fit: contain;
  border-radius: 36% 36% 16% 16% / 27% 27% 14% 14%;
  outline: 1px solid var(--cinema-rim);
  outline-offset: 2px;
  box-shadow: 0 0 2.2rem var(--scene-halo), 0 1rem 1.7rem #090918a0;
  transform-origin: 48% 94%;
  transform: translateX(-50%) rotate(-2deg);
}

.teddy-cinema--straelen .straelen-lounge {
  z-index: 3;
  filter: drop-shadow(0 .4rem .7rem #2519218a);
}

.teddy-cinema.is-playing::before { animation: cinema-light 4.55s ease-in-out both; }
.teddy-cinema.is-playing .cinema-teddy { animation: cinema-teddy-rise 4.55s ease-out both; }
.teddy-cinema--weeze.is-playing .cinema-motif::after { animation: cinema-flight 4.55s cubic-bezier(.18,.46,.3,.98) both; }
.teddy-cinema--twisteden.is-playing .cinema-motif::after { animation: cinema-dino-step 4.55s ease-out both; }
.teddy-cinema--straelen.is-playing .straelen-lounge { animation: cinema-lounge 4.55s ease-out both; }

@keyframes cinema-light {
  0% { transform: rotate(-12deg) scale(1.08); opacity: .3; }
  43% { transform: rotate(9deg) scale(1.12); opacity: 1; }
  100% { transform: rotate(0); opacity: .78; }
}

@keyframes cinema-teddy-rise {
  0% { transform: translate(-58%, 12%) scale(.86) rotate(-5deg); }
  28% { transform: translate(-51%, -1%) scale(1.02) rotate(2deg); }
  60% { transform: translate(-49%, .7%) scale(.99) rotate(-1deg); }
  100% { transform: translateX(-50%) rotate(-2deg); }
}

@keyframes cinema-flight {
  0% { transform: translate(-120%, 66%) scale(.62) rotate(-3deg); opacity: .42; }
  70% { opacity: .98; }
  100% { transform: rotate(-11deg); opacity: 1; }
}

@keyframes cinema-dino-step {
  0% { transform: translateX(46%) rotate(7deg) scale(.92); }
  30% { transform: translateX(17%) rotate(-4deg); }
  51% { transform: translateX(3%) rotate(5deg); }
  100% { transform: rotate(1deg); }
}

@keyframes cinema-lounge {
  0% { transform: scale(.94); }
  66% { transform: scale(1.01); }
  100% { transform: scale(1); }
}

@media (max-width: 650px) {
  .location-visual.teddy-cinema { min-height: 10.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .teddy-cinema.is-playing::before,
  .teddy-cinema.is-playing .cinema-teddy,
  .teddy-cinema.is-playing .cinema-motif::after,
  .teddy-cinema.is-playing .straelen-lounge { animation: none; }
}
