/* A2Y native motion, inspired by the referenced text reveal and luminous border. */
.reveal-word { display: inline-block; }
@property --a2y-border-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
body .a2y-request .workspace { position: relative; isolation: isolate; }
body .a2y-request .workspace::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  pointer-events: none;
  z-index: 2;
  background: conic-gradient(from var(--a2y-border-angle), transparent 0%, #7243ff 20%, #97a6ff 30%, #7243ff 40%, transparent 55%, #7243ff 75%, #bcaaff 83%, transparent 100%);
  -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;
  opacity: 0;
  transition: opacity .4s ease;
  animation: a2y-form-light 9s linear infinite paused;
}
body .a2y-request .workspace:focus-within::after { opacity: .9; }
body .a2y-request .workspace.form-glow-visible:focus-within::after { animation-play-state: running; }
body .a2y-request .workspace.form-glow-paused::after { animation-play-state: paused; }
@keyframes a2y-form-light { to { --a2y-border-angle: 360deg; } }
@media (max-width: 600px) {
  body .a2y-request .workspace:focus-within::after { opacity: .75; }
}
@media (prefers-reduced-motion: reduce) {
  body .a2y-request .workspace::after { animation: none !important; transition: none; }
}
