/* React Bits Star Border; colors follow the existing VivaLab controls. */
.star-border {
  position: relative;
  isolation: isolate;
  /* Keep the glow while preventing its canvas from widening a phone page. */
  overflow: clip;
  overflow-clip-margin: 10px;
  --star-border-track: rgba(255,255,255,.3);
}
.star-border::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px var(--star-border-track);
  pointer-events: none;
}
.star-border__light {
  position: absolute;
  top: -48px;
  left: -48px;
  z-index: -1;
  width: calc(100% + 96px);
  height: calc(100% + 96px);
  max-width: none;
  pointer-events: none;
}
.button-white.star-border {
  --star-border-track: rgba(54,93,233,.25);
}
@media (prefers-reduced-motion: reduce) {
  .star-border__light { display: none; }
}
