.photoWallEnter.specular-button {
  --specular-angle: 135deg;
  --specular-opacity: 0;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 190px;
  min-height: 56px;
  padding: 0 28px;
  border-color: rgba(245, 245, 245, 0.18);
  background: rgba(12, 11, 17, 0.34);
  color: #f5f5f5;
  font-size: 16px;
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: visible;
  transition: transform 150ms ease, background-color 180ms ease;
}

.photoWallEnter.specular-button::after {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  height: auto;
  color: currentColor;
  line-height: 1;
  background: none;
}

.photoWallEnter.specular-button::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 1;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--specular-angle),
    transparent 0 34%,
    rgba(255, 255, 255, 0.12) 42%,
    #ffffff 49%,
    rgba(255, 255, 255, 0.9) 51%,
    rgba(255, 255, 255, 0.12) 58%,
    transparent 66% 100%
  );
  opacity: var(--specular-opacity);
  pointer-events: none;
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 220ms ease;
}

.photoWallEnter.specular-button:active {
  transform: scale(0.97);
}

.photoWallEnter.specular-button:hover {
  background: rgba(18, 17, 24, 0.58);
}

@media (prefers-reduced-motion: reduce) {
  .photoWallEnter.specular-button::before {
    display: none;
  }
}
