.badge-stage {
  position: fixed;
  inset: 0;
  z-index: 30;
  margin: 0;
  pointer-events: none;
  overflow: hidden;
}
.badge-place {
  position: fixed;
  margin: 0;
}
.badge-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  opacity: 0;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.16));
}
.badge-stack .cloth,
.badge-stack .overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.badge-stack .cloth { z-index: 1; }
.badge-stack .overlay { z-index: 3; }
.badge-stack .piece-slot {
  position: absolute;
  z-index: 2;
  overflow: visible;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.badge-stack .piece-clip {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: center;
}
.badge-stack .piece-clip svg {
  position: absolute;
  width: 208.234%;
  height: 208.234%;
  left: -53.889%;
  top: -48.630%;
}
.badge-stack .needle { opacity: 0; }
