/* A compact, rounded light head and fading tail follow each connection. */
.connector-pulses { pointer-events:none; }
.flow-beam { opacity:0;animation-duration:7s;animation-timing-function:linear;animation-iteration-count:infinite; }
.flow-pulse-first { animation-name:flow-first; }
.flow-pulse-second { animation-name:flow-second; }
@keyframes flow-first {
  0% { opacity:0; }
  2% { opacity:1; }
  42% { opacity:1; }
  44%,100% { opacity:0; }
}
@keyframes flow-second {
  0%,46% { opacity:0; }
  48% { opacity:1; }
  88% { opacity:1; }
  90%,100% { opacity:0; }
}
/* The glow follows the real button border without requiring hover. */
.button { --button-orbit-duration:6.5s; }
.button-effects,.button-border { position:absolute;inset:0;border-radius:inherit;pointer-events:none;display:block; }
.button-effects { overflow:hidden; }
.button-border { padding:1.5px;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude; }
.button-glow,.button-orbit-dot,.button-orbit-trail { position:absolute;top:0;left:0;offset-path:inset(1px round 7px);offset-anchor:center;offset-rotate:0deg;animation:button-orbit var(--button-orbit-duration) linear infinite; }
.button-glow { width:100px;height:100px;background:radial-gradient(circle,#d7eaff 0%,#65a7ffb0 16%,#117cff60 34%,transparent 70%); }
.button-orbit-dot { width:5px;height:5px;border-radius:50%;background:#d7eaff;box-shadow:0 0 7px #308cff; }
.button-orbit-trail { width:3px;height:3px;border-radius:50%;background:#7ab3ff;animation-delay:.18s;opacity:.7; }
@keyframes button-orbit { from { offset-distance:0%; } to { offset-distance:100%; } }
@media(prefers-reduced-motion:reduce) { .connector-pulses,.button-effects { display:none; } }
