.globe-stage[data-state] #globe-canvas {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.98);
  transition: opacity 900ms ease, transform 1400ms cubic-bezier(.2, .65, .3, 1);
}

.globe-stage[data-state] .telemetry-panel {
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease 200ms;
}

.globe-stage[data-state="ready"] #globe-canvas {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.globe-stage[data-state="ready"] .telemetry-panel { opacity: 1; visibility: visible; }

.globe-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #c7f906;
  text-align: center;
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  transition: opacity 650ms ease, visibility 650ms;
}

.globe-loader[hidden] { display: none; }
.globe-stage[data-state="ready"] .globe-loader { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-orb {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 32px;
  border: 1px solid rgba(185, 153, 255, .65);
  border-radius: 50%;
  box-shadow: 0 0 48px rgba(97, 40, 207, .16), inset 0 0 32px rgba(97, 40, 207, .08);
}

.loader-meridian, .loader-equator {
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(185, 153, 255, .45);
  border-radius: 50%;
}

.loader-meridian { transform: scaleX(.42); }
.loader-equator { transform: scaleY(.34) rotate(-22deg); }
.loader-orbit { position: absolute; inset: -13px; border: 1px solid rgba(199, 249, 6, .12); border-radius: 50%; animation: orbit 3s linear infinite; }
.loader-orbit span { position: absolute; top: 50%; left: -3px; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: #c7f906; box-shadow: 0 0 12px rgba(199, 249, 6, .4); }
.loader-title { margin: 0; font-size: 11px; font-weight: 400; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; }
.loader-detail { max-width: 270px; margin: 9px 0 0; color: #b2a6c8; font-size: 10px; line-height: 1.6; }
.loader-track { width: 144px; height: 1px; margin-top: 24px; overflow: hidden; background: rgba(185, 153, 255, .2); }
.loader-track span { display: block; width: 48px; height: 100%; background: #c7f906; animation: signal 1.8s ease-in-out infinite; }
.loader-retry { margin-top: 24px; padding: 10px 18px; border: 1px solid rgba(199, 249, 6, .5); border-radius: 2px; background: transparent; color: #c7f906; font: inherit; font-size: 11px; cursor: pointer; }
.loader-retry:hover { background: rgba(199, 249, 6, .08); }
.loader-retry:focus-visible { outline: 2px solid #c7f906; outline-offset: 4px; }
.globe-stage[data-state="error"] .loader-orbit { animation-play-state: paused; }
.globe-stage[data-state="error"] .loader-track { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.globe-noscript { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; padding: 24px; color: #b2a6c8; font: 12px/1.6 monospace; text-align: center; }

@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes signal { 0% { transform: translateX(-48px); } 100% { transform: translateX(192px); } }

@media (prefers-reduced-motion: reduce) {
  .globe-loader, .globe-stage[data-state] #globe-canvas, .globe-stage[data-state] .telemetry-panel { transition: none; }
  .globe-stage[data-state] #globe-canvas { transform: translate(-50%, -50%); }
  .loader-orbit, .loader-track span { animation: none; }
  .globe-stage[data-state] .telemetry-panel { animation: none; }
  .loader-track span { width: 100%; opacity: .5; }
}
