.wall.lift {
  position:relative;
  isolation:isolate;
  display:block;
  padding:0;
  background:#241609 url('/winda-kabina.webp') center / 100% 100% no-repeat;
}
.wall.lift .frame {
  --cm:calc(100cqw / 486);
  --light:.57;
  position:absolute;
  z-index:1;
  left:calc(32.7% + var(--slot) * (var(--width) + 12) * var(--cm));
  top:42.3%;
  translate:-50% -50%;
  border-color:color-mix(in srgb,var(--frame) 91%,#926039)
    color-mix(in srgb,var(--frame) 75%,#211a16)
    color-mix(in srgb,var(--frame) 76%,#2c2017) var(--frame);
  box-shadow:.12cqw .17cqw .21cqw #160e09c0,.32cqw .42cqw .55cqw #1e10099e;
}
.wall.lift .frame:first-child { --light:.60; }
.wall.lift .frame:nth-child(3) { --light:.51; }
.wall.lift .frame:not(.is-zoomed) img {
  filter:saturate(.68) sepia(.30) brightness(var(--light)) contrast(.91);
}
.wall.lift .frame.is-zoomed { z-index:var(--zoom-order); }

.lift-window,.lift-wall-light,.lift-buttons { display:none; }
.wall.lift :is(.lift-window,.lift-wall-light,.lift-buttons) {
  display:block;
  position:absolute;
  inset:0;
  pointer-events:none;
}
.lift-window {
  z-index:0;
  clip-path:polygon(67.02% 14.45%,83.45% 0,94.39% 0,94.39% 97.08%,67.02% 79.14%);
}
.lift-city {
  position:absolute;
  top:-19%;
  left:63%;
  width:34%;
  height:125%;
  transform:translate3d(0,var(--lift-city-y,4.5%),0);
  background:url('/winda-miasto.webp') center / cover no-repeat;
  filter:brightness(.81) saturate(.85);
}
.lift-window::after {
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at 73% 56%,transparent 26%,#080d1b67 78%),
    linear-gradient(101deg,transparent 65%,#597d9324 67.5%,transparent 72.5%,transparent 91%,#a38a691b 94%);
}
.lift-floor-light {
  position:absolute;
  left:66%;
  width:29%;
  top:-14%;
  height:28%;
  transform:translate3d(0,var(--lift-floor-y,106%),0);
  opacity:var(--lift-floor-opacity,.37);
  background:
    linear-gradient(90deg,transparent 3%,#ffc98431 81%,#ffce8e60),
    linear-gradient(180deg,transparent 7%,#ffc68036 29%,#dcad7e1a 42%,#1217238c 66%,#090e1959 73%,transparent 86%);
  mask-image:radial-gradient(ellipse at 72% 48%,#000 8%,#000b 38%,transparent 75%);
  filter:blur(.45cqw);
}
.lift-wall-light {
  z-index:2;
  overflow:hidden;
  mix-blend-mode:screen;
  mask-image:linear-gradient(to right,transparent,#000 13%,#000 53%,#000c 60%,transparent 66.8%),
    linear-gradient(transparent 9%,#000 23%,#000 73%,transparent 95%);
  mask-composite:intersect;
}
.lift-wall-light::before {
  content:"";
  position:absolute;
  left:0;
  width:78%;
  top:-31%;
  height:62%;
  transform:translate3d(0,var(--lift-wall-y,90%),0) rotate(-9deg);
  opacity:var(--lift-floor-opacity,.37);
  background:
    radial-gradient(ellipse at 90% 51%,#ffd49d45 0%,#ebb27528 26%,#dda67b12 53%,transparent 73%),
    radial-gradient(ellipse at 65% 51%,#ffc08631,transparent 67%);
}


.lift-buttons { z-index:2; }
.lift-buttons i {
  position:absolute;
  left:4.6875%;
  top:var(--button-y);
  width:.96cqw;
  height:1.06cqw;
  translate:-50% -50%;
  border-radius:50%;
}
.lift-buttons i:nth-child(1) { --button-y:45.12%; }
.lift-buttons i:nth-child(2) {
  --button-y:48.78%;
  background:radial-gradient(ellipse,#43270e 5%,#533214 58%,#2715085e 80%,transparent 100%);
}
.lift-buttons i:nth-child(3) { --button-y:52.42%; }
.lift-buttons i:nth-child(4) { --button-y:56%; }
.lift-buttons i::after {
  content:"";
  position:absolute;
  inset:-35%;
  border-radius:inherit;
  opacity:0;
  background:radial-gradient(ellipse,#fff2c0 2%,#ffc167 20%,#e2832c 34%,#b96224b3 42%,#e8993e23 59%,transparent 73%);
  transition:opacity 130ms ease-in-out;
}
.lift-buttons .is-lit::after { opacity:1; }
@media(prefers-reduced-motion:reduce) {
  .lift-buttons i::after { transition:none; }
}
