.hover-flow-border {
  position: relative;
  z-index: 1;
}

.hover-flow-border:hover {
  z-index: 20;
}

.hover-flow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  opacity: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.02), 0 0 24px rgba(255, 255, 255, 0.08);
  transition: opacity 0.22s ease, box-shadow 0.22s ease;
  pointer-events: none;
}

.hover-flow-border:hover::after {
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 28px rgba(255, 255, 255, 0.1);
}
