.bsky {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
}
.bsky-reveal {
  position: absolute;
  inset-block-end: max(32px, env(safe-area-inset-bottom));
  inset-inline-start: 50%;
  translate: -50% 0;
  pointer-events: auto;
  padding: 12px 26px;
  border: 1px solid #a68bef;
  border-radius: 999px;
  background: #14132c;
  color: #f2eeff;
  font: inherit;
  cursor: pointer;
}
.bsky[dir="rtl"] .bsky-reveal { translate: 50% 0; }
.bsky-reveal:hover { background: #26204a; }

.cosmic-loading {
  min-height: 100dvh;
  display: grid;
  justify-content: center;
  align-content: center;
  justify-items: center;
  gap: 22px;
  color: #eee9ff;
  text-align: center;
}
.cosmic-loading.is-overlay { position: fixed; inset: 0; z-index: 910; background: #080b1c; }
.cosmic-loader-orb {
  width: 76px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #7660b0;
  background: radial-gradient(circle, #fff 0 4%, #81ddff 7%, #6956bd 13%, #28204c 38%, transparent 70%);
  box-shadow: 0 0 32px #684caa60;
  position: relative;
}
.cosmic-loader-orb::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid transparent;
  border-block-start-color: #8bddff;
  border-radius: 50%;
  animation: cosmic-loader-orbit 1.4s linear infinite;
}
@keyframes cosmic-loader-orbit { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) {
  .cosmic-loader-orb::after { animation: none; }
}
