.studio-turn-stage {
  background: radial-gradient(ellipse at 50% 40%, #77716d 0%, #635d58 42%, transparent 78%),
    linear-gradient(180deg, #423b36 0%, #625955 48%, #9b948e 100%);
}
.studio-turn-media {
  width: min(100%, calc((100svh - var(--turn-media-top) - var(--turn-media-bottom)) * .5625));
}
.studio-turn-media picture {display:contents;}
.studio-turn-media:has(canvas:not([hidden])) picture img {opacity:0;}
.studio-turn-atmosphere {
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  visibility:hidden;
}
.studio-turn-atmosphere::before,
.studio-turn-atmosphere::after {
  content:"";
  position:absolute;
  inset:-12%;
  opacity:0;
}
.studio-turn-atmosphere::before {
  background:#100c12;
}
.studio-turn-atmosphere::after {
  background:
    radial-gradient(ellipse at 20% 61%, #9b7b79a8, transparent 53%),
    radial-gradient(ellipse at 66% 34%, #766172bb, transparent 61%),
    radial-gradient(ellipse at 87% 76%, #ad908a8c, transparent 62%);
  filter:blur(25px);
}
.studio-turn-reveal .studio-turn-atmosphere {visibility:visible;}
.studio-turn-reveal .studio-turn-atmosphere::before {
  animation:studio-turn-unveil 880ms cubic-bezier(.33,.12,.21,1) both;
}
.studio-turn-reveal .studio-turn-atmosphere::after {
  animation:studio-turn-mist 1150ms ease-out both;
}
.studio-turn-hint {z-index:2;}
@keyframes studio-turn-unveil {
  0%, 12% {opacity:1;}
  100% {opacity:0;}
}
@keyframes studio-turn-mist {
  0% {opacity:0;transform:translate(-4%,4%) scale(.94);}
  31% {opacity:.88;}
  100% {opacity:0;transform:translate(5%,-6%) scale(1.12);}
}
@media(prefers-reduced-motion:reduce){
  .studio-turn-reveal .studio-turn-atmosphere {display:none;}
}
@media(scripting:enabled) and (prefers-reduced-motion:no-preference){
  .studio-turn-atmosphere {visibility:visible;}
  .studio-turn-atmosphere::before {
    animation:studio-turn-unveil 880ms cubic-bezier(.33,.12,.21,1) 1s both;
  }
  .studio-turn-reveal .studio-turn-atmosphere::before {animation-delay:0s;}
}
