/* The Svět mode on the vertical world: the world layer inside #stage (client/js/game/svet-world.js) and the things of the designed
   rooms of area 1 (client/js/world/decor.js). */
#wstage{position:absolute;inset:0;overflow:hidden;z-index:0}
#wstage.mapopen{z-index:40}
#wstage > .grade,#wstage > .vig,#wstage > .grain{display:none}
#stage.arena #wstage{display:none}
/* the old horizontal scene and the hero of the minigames rest while the world is shown */
#stage.vworld:not(.arena) > .layer,#stage.vworld:not(.arena) > .fog,#stage.vworld:not(.arena) > .haze{display:none}
#stage.vworld:not(.arena) > #hero,#stage.vworld:not(.arena) > #shadow,#stage.vworld:not(.arena) > #glight{visibility:hidden}
#stage.vworld:not(.arena) #pips,#stage.vworld:not(.arena) #btnRecall{visibility:hidden}
#stage.vworld:not(.arena) #hint{display:none}
#stage.vworld #title{display:none}
#btnMap{display:none}
#stage.vworld:not(.arena) #btnMap{display:inline-block}

/* layers of the decor */
.a1html{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none}
.a1rig{position:absolute;transform:translateX(-50%);pointer-events:none}
.a1rig .rigbox,.a1rig .rigbox svg{height:100%;width:auto}
.a1rig .rigbox img{height:100%;width:auto;display:block}
.a1bub,.a1pidbub{position:absolute;max-width:260px;padding:8px 13px;border:1px solid var(--line);border-radius:11px;background:rgba(8,20,22,.92);color:var(--bone);font-family:var(--serif);font-style:italic;font-size:clamp(15px,2.3vh,19px);line-height:1.3;white-space:nowrap;opacity:0;transition:opacity .35s ease;pointer-events:none}
.a1bub{transform:translate(-50%,-100%)}
.a1bub.on,.a1pidbub.on{opacity:1}
.a1pidbub{left:0;top:0;z-index:3;border-color:rgba(159,216,210,.5)}
.a1pid{position:absolute;left:0;top:0;width:calc(var(--u) * 42);height:calc(var(--u) * 49);pointer-events:none;will-change:transform;filter:drop-shadow(0 0 calc(var(--u) * 8) rgba(159,216,210,.55));z-index:2}
.a1pid[hidden]{display:none}
.a1pid.a1join{animation:a1join 1.2s ease-out 1}
@keyframes a1join{0%{opacity:0;filter:drop-shadow(0 0 26px rgba(255,233,199,1))}40%{opacity:1}}
.a1dark{position:absolute;inset:0;pointer-events:none}

.a1plate text{font-family:var(--serif);font-style:italic;font-weight:600;font-size:17px;letter-spacing:.01em}
.a1tag text{font-family:var(--mono);font-size:13.5px;fill:#BFE6E0}
.a1pointer path{animation:a1point 1.5s ease-in-out infinite}
@keyframes a1point{0%,100%{transform:translateX(0);opacity:.35}50%{transform:translateX(7px);opacity:1}}
.a1knock circle{transform-box:fill-box;transform-origin:center;animation:a1knock 1.5s ease-out infinite;opacity:0}
@keyframes a1knock{0%{transform:scale(.3) translateY(0);opacity:.95}100%{transform:scale(2.3) translateY(-26px);opacity:0}}
.a1hang{animation:a1hang 6s ease-in-out infinite}
@keyframes a1hang{0%,100%{transform:rotate(-2.4deg)}50%{transform:rotate(2.4deg)}}
.a1land image{animation:a1land 1.2s cubic-bezier(.16,1,.3,1) 1}
@keyframes a1land{0%{transform:translateY(-70px);opacity:0}60%{opacity:1}100%{transform:none}}
.a1ghost{animation:tw 2.4s ease-in-out infinite}
.a1page{animation:wbob 2.4s ease-in-out infinite}
.a1lift .bulb{animation:tw 3.2s ease-in-out infinite}
@media (prefers-reduced-motion: reduce){
  .a1pointer path,.a1knock circle,.a1hang,.a1land image,.a1ghost,.a1page,.a1pid.a1join{animation:none}
  .a1knock circle{opacity:.6}
  .a1bub,.a1pidbub{transition:none}
}

/* gates of the routes: silhouettes of the helpers they need */
.a1sil:not(.have) image{filter:brightness(0);opacity:.78}
.a1pgate.near .a1sil:not(.have) image{filter:brightness(0) drop-shadow(0 0 2px #9FD8D2) drop-shadow(0 0 5px rgba(159,216,210,.7));opacity:1}
.a1pgate.fly .a1sil image{animation:a1fly 1.1s cubic-bezier(.16,1,.3,1) both}
.a1pgate.fly .a1sil:nth-child(odd) image{animation-delay:.14s}
.a1pgate.fly .a1bar{animation:a1barup 1.2s ease-in .5s both}
@keyframes a1fly{0%{transform:translate(-160px,-220px) scale(.4);opacity:0}70%{opacity:1}100%{transform:none}}
@keyframes a1barup{to{transform:translateY(-160px);opacity:.2}}
.a1eyes{animation:tw 2.6s ease-in-out infinite}
.a1heave{transform-box:fill-box;transform-origin:50% 100%;animation:a1heave 2.2s ease-in-out infinite}
@keyframes a1heave{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(2deg)}}
@media (prefers-reduced-motion: reduce){.a1pgate.fly .a1sil image,.a1pgate.fly .a1bar,.a1eyes,.a1heave{animation:none}}
