.stellar-article-star-ui-layer {
  --stellar-ui-glow-inner: rgba(235,246,255,.34);
  --stellar-ui-glow-outer: rgba(210,232,255,.14);
  position: fixed;
  z-index: 8;
  pointer-events: none;
  opacity: 0;
  overflow: visible;
  contain: layout style;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  will-change: left, top, width, height, opacity;
}

.stellar-article-star-ui-layer::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 9px 2px var(--stellar-ui-glow-inner),
    0 0 18px 5px var(--stellar-ui-glow-outer);
  opacity: 0;
  pointer-events: none;
}

.stellar-article-star-ui-layer.is-active {
  opacity: 1;
}

.stellar-article-star-ui-layer.is-active::before {
  opacity: 1;
}

.stellar-article-star-ui-canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  pointer-events: none;
  transform: translateZ(0);
}

body:not(.star-flight-arrived) .stellar-article-star-ui-layer {
  opacity: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .stellar-article-star-ui-layer {
    will-change: auto;
  }
}
