.notifications {
  max-width: 408px;
  padding: 24px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  width: 100%;
  z-index: 1000000000
}

.notifications .m-message {
  overflow: hidden;
  position: relative;
  transform-origin: right center
}

@media(max-width:460px) {
  .notifications {
    padding: 8px
  }
}

.notifications:empty {
  pointer-events: none
}

.notifications>* .m-message {
  margin-bottom: 8px
}

.notifications-enter-active,
.notifications-leave-active {
  transition: max-height .3s, opacity .2s
}

.notifications-enter-active .m-message,
.notifications-leave-active .m-message {
  transition: transform .25s
}

.notifications-enter-from,
.notifications-leave-to {
  max-height: 0;
  opacity: 0
}

.notifications-enter-from .m-message,
.notifications-leave-to .m-message {
  transform: scale(.5)
}