[data-igi-webp-viewer] .igi-glb-viewer,
[data-igi-webp-viewer] .igi-image-fallback {
  display: none;
}

.igi-webp-preview {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.igi-webp-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.25s ease;
  user-select: none;
  pointer-events: none;
}

.igi-webp-preview img.igi-preview-contain {
  object-fit: contain;
  background: #fff;
}

[data-preview-base] .igi-webp-preview img {
  transform-origin: 42% 24%;
}

.igi-webp-preview span {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(72, 225, 213, 0.22);
  background: rgba(1, 10, 14, 0.78);
  color: #9ce9e3;
  font: 8px ui-monospace, Consolas, monospace;
  letter-spacing: 0.08em;
}
