@keyframes ss-notification-arrive {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ss-notification-item.is-arriving {
  animation: ss-notification-arrive .28s ease-out both;
}

.ss-notification-item.is-leaving {
  opacity: 0;
  transform: translateX(12px);
  max-height: 0;
  margin: 0;
  padding-block: 0;
  border-width: 0;
  overflow: hidden;
  transition: opacity .16s ease, transform .16s ease, max-height .2s ease, padding .2s ease, border-width .2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .ss-notification-item.is-arriving {
    animation: none;
  }

  .ss-notification-item.is-leaving {
    transition: none;
  }
}
