.retailLoadingOverlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: color-mix(in srgb, var(--bg, #f5f6f8) 90%, transparent);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}
.retailLoadingOverlay.visible { opacity: 1; visibility: visible; }
/* v2.0.63: admin loading must not dim, blur or paint over the workspace.
   Only the animated figure-eight mark remains visible during normal requests. */
.retailLoadingOverlay.retailLoadingAdminSurface {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.retailLoadingBox {
  width: min(72vw, 250px);
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--text, #111827);
  text-align: center;
}
.retailLoadingMark { position: relative; width: 154px; height: 154px; }
.retailLoadingCore {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
}
.retailLoadingLogo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.retailLoadingOrbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.retailLoadingOrb { filter: drop-shadow(0 0 7px #35b7ff) drop-shadow(0 0 15px #008cff) drop-shadow(0 0 25px #006cff); }
.retailLoadingText { font-size: 16px; line-height: 1.3; font-weight: 750; }
.retailLoadingRetry {
  border: 0;
  border-radius: 13px;
  min-width: 132px;
  min-height: 46px;
  padding: 11px 22px;
  background: #2563eb !important;
  color: #fff;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .28);
}
.retailLoadingRetry.hidden { display: none !important; }
html[data-native-theme="dark"] .retailLoadingOverlay {
  background: rgba(15, 23, 42, .92);
}
html[data-native-theme="dark"] .retailLoadingOverlay.retailLoadingAdminSurface {
  background: transparent !important;
}
html[data-native-theme="dark"] .retailLoadingBox { color: #f8fafc; }
