.wall.cutter {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:block;
  padding:0;
  background:#070c10 url('/kuter-mrok.webp') center / 100% 100% no-repeat;
}
.cutter-cabin-light,.cutter-window,.cutter-medal { display:none; }
.wall.cutter :is(.cutter-cabin-light,.cutter-window,.cutter-medal) {
  display:block;
  position:absolute;
  pointer-events:none;
}
.wall.cutter :is(.cutter-cabin-light,.cutter-window) {
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
}
.cutter-cabin-light {
  opacity:var(--cutter-beacon,0);
  background:url('/kuter.webp') center / 100% 100% no-repeat;
  mask-image:
    radial-gradient(ellipse 53% 58% at var(--cutter-sweep,44%) var(--cutter-sweep-y,46%),#000 9%,#000e 29%,#0008 59%,transparent 99%),
    radial-gradient(ellipse 24% 42% at var(--cutter-window-sweep,20%) 42%,#000a,transparent 95%);
}
.cutter-medal {
  z-index:1;
  left:42%;
  top:17%;
  width:2.3%;
  height:14%;
  background:url('/kuter-medal.webp') top center / contain no-repeat;
  filter:brightness(var(--cutter-medal-light,.18)) saturate(.62);
  transform-origin:50% 0;
  transform:rotate(var(--cutter-medal-roll,0deg));
}
.wall.cutter .frame {
  --cm:calc(100cqw / 610);
  --beam:var(--cutter-center-print,0);
  --rim:color-mix(in srgb,var(--frame) calc(12% + var(--beam) * 76%),#08090a);
  position:absolute;
  z-index:1;
  left:calc(67.5% + var(--slot) * (var(--width) + 9) * var(--cm));
  top:42%;
  translate:-50% -50%;
  background:var(--rim);
  border-color:
    color-mix(in srgb,var(--rim) 92%,#1c1712)
    color-mix(in srgb,var(--rim) 86%,#0c0d12)
    color-mix(in srgb,var(--rim) 74%,#09090a)
    color-mix(in srgb,var(--rim) 91%,#342717);
  box-shadow:.19cqw .18cqw .3cqw #0b0a09a2,.39cqw .31cqw .57cqw #0d0a0878;
}
.wall.cutter .frame:first-child { --beam:var(--cutter-left-print,0); }
.wall.cutter .frame:nth-child(3) { --beam:var(--cutter-right-print,0); }
.wall.cutter .frame:not(.is-zoomed) img {
  filter:saturate(.61) sepia(.16) contrast(.95)
    brightness(calc(.071 + var(--beam) * .57));
}
.wall.cutter .frame.is-zoomed {
  --rim:var(--frame);
  z-index:calc(3 + var(--zoom-order,0));
}

.cutter-aurora-note {display:none}
.wall.cutter .cutter-aurora-note:not([hidden]) {
  position:absolute;
  display:block;
  z-index:1;
  translate:-50% -50%;
  rotate:-7deg;
  box-sizing:border-box;
  width:3.15cqw;
  margin:0;
  padding:.15cqw .17cqw .14cqw;
  background:#b49777;
  color:#33251d;
  box-shadow:.05cqw .11cqw .11cqw #0e0906d8,.11cqw .24cqw .30cqw #100904a8;
  filter:brightness(calc(.024 + var(--note-light,0)*.29)) sepia(.23);
  pointer-events:none;
}
.cutter-aurora-note::before {
  content:"";
  position:absolute;
  top:-.075cqw;
  left:50%;
  translate:-50% 0;
  width:.18cqw;
  height:.18cqw;
  border-radius:50%;
  background:radial-gradient(circle at 33% 25%,#d6bd91,#674c37 69%);
  box-shadow:.04cqw .05cqw .06cqw #0e0906bd;
}
.cutter-aurora-note img {
  display:block;
  width:100%;
  aspect-ratio:2 / 3;
  object-fit:cover;
  filter:saturate(.68);
}
.cutter-aurora-note figcaption {
  margin-top:.13cqw;
  text-align:center;
  font:700 clamp(3px,.71cqw,12px)/1.08 'Courier New',monospace;
}
