.pixel-swap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  outline: none;
}

.pixel-swap__content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pixel-swap__content[aria-hidden='true'] {
  visibility: hidden;
}

.pixel-swap__grid {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  display: grid;
  pointer-events: none;
}

.pixel-swap__grid span {
  min-width: 0;
  min-height: 0;
  opacity: 0;
  transform: scale(0.2);
  will-change: transform, opacity;
}
