.auth-text-button,
.login-link-button {
  transition:
    color 140ms ease,
    transform 140ms ease;
}

.profile-activity-item:hover,
.profile-activity-item:focus-visible {
  border-color: color-mix(in srgb, var(--text-1) 82%, var(--border-1));
  box-shadow: 0 14px 34px rgba(15, 18, 24, 0.14);
}

.modal-backdrop:not([hidden]) {
  animation: modal-backdrop-enter 180ms ease both;
}

.modal-backdrop:not([hidden]) > .modal {
  animation: modal-panel-enter 180ms ease both;
}

.modal-backdrop.is-closing {
  animation: modal-backdrop-exit 180ms ease both;
}

.modal-backdrop.is-closing > .modal {
  animation: modal-panel-exit 180ms ease both;
}

@keyframes modal-backdrop-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modal-panel-enter {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes modal-backdrop-exit {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes modal-panel-exit {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal-backdrop:not([hidden]),
  .modal-backdrop:not([hidden]) > .modal,
  .modal-backdrop.is-closing,
  .modal-backdrop.is-closing > .modal {
    animation-duration: 1ms;
    transform: none;
  }
}
