/* The translated labels remain real HTML over the unmodified simulation screenshots. */
[data-gallery-locale-layer] {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  direction: ltr;
}
.edugen-gallery-locale-scene {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--gallery-render-width);
  height: var(--gallery-render-height);
  transform: translate(-50%, -50%);
}
.edugen-gallery-locale-label {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 calc(4px * var(--gallery-scale));
  border-radius: 999px;
  background: #fff;
  color: #343b48;
  font-size: calc(var(--gallery-label-font, 12px) * var(--gallery-scale));
  font-weight: 650;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  text-align: center;
  white-space: nowrap;
}
