.gateway-motion{display:none;position:absolute;inset:0;z-index:0;pointer-events:none!important;user-select:none;}
.gateway-motion svg{display:block;width:100%;height:100%;overflow:hidden;}
:host{contain:layout style paint;}
:host>svg{display:block;width:100%;height:100%;overflow:hidden;}
:host([data-running="false"]) *{animation-play-state:paused!important;}
.gateway-halo,.gateway-rim-glow,.gateway-seal{animation:gateway-breathe 4.8s ease-in-out infinite;}
.gateway-current{animation:gateway-rise 7s linear infinite;}
.gateway-current-delayed{animation-delay:-3.5s;animation-duration:9s;}
.gateway-mote{animation:gateway-mote-rise var(--mote-duration) linear var(--mote-delay) infinite;}
.gateway-rim-flow{animation:gateway-rim-travel 9s linear infinite;opacity:.8;}
.gateway-seal{animation-delay:-1.5s;}
.gateway-threshold-mist{pointer-events:none;transform-origin:724px 905px;filter:brightness(2.2) saturate(.45);animation:gateway-mist-release 8.5s ease-out var(--mist-delay) infinite;}
.gateway-threshold-mist-low{animation-duration:10s;}
@keyframes gateway-mist-release{0%{transform:translate(0,-8px) scale(.86,1.08);opacity:0}18%{opacity:.85}58%{opacity:.66}100%{transform:translate(var(--mist-drift),65px) scale(1.5,1.4);opacity:0}}
.gateway-motion[data-running="false"] *{animation-play-state:paused!important;}
@keyframes gateway-breathe{0%,100%{opacity:.38}50%{opacity:.9}}
@keyframes gateway-rise{from{transform:translateY(0);opacity:0}15%,80%{opacity:.8}to{transform:translateY(-250px);opacity:0}}
@keyframes gateway-mote-rise{0%{transform:translate(0,15px);opacity:0}15%{opacity:.95}80%{opacity:.6}100%{transform:translate(8px,-350px);opacity:0}}
@keyframes gateway-rim-travel{to{stroke-dashoffset:-632}}
@media(min-width:1000px) and (min-height:521px){
 body.worlds-ui #screen-lobby.active .gateway-motion{display:block;opacity:.88;transition:opacity .25s;}
 body.worlds-ui #screen-lobby .tile-big>div:last-child{z-index:1;}
 body.worlds-ui #screen-lobby .tile-big:is(:hover,:focus-visible) .gateway-motion{opacity:1;}
 body.worlds-ui #screen-lobby.gateway-static .gateway-motion{display:none;}
}
@media(prefers-reduced-motion:reduce){.gateway-motion{display:none!important;}}
