.cs-noty-container {
  position: fixed;
  z-index: 1090;
  top: calc(86px + env(safe-area-inset-top));
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(400px, calc(100vw - 32px));
  pointer-events: none;
}

.cs-noty-container .cs-noty-toast {
  position: relative;
  display: none;
  align-items: stretch;
  width: 100%;
  max-width: none;
  min-height: 78px;
  margin: 0;
  overflow: hidden;
  pointer-events: auto;
  color: #17343a;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(249, 85, 161, .16), transparent 48%),
    radial-gradient(ellipse at 0% 100%, rgba(0, 171, 189, .16), transparent 52%),
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(245, 252, 253, .84));
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(15, 38, 45, .2), inset 0 1px 0 rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  opacity: 1;
  transform: none;
  transition: opacity .24s ease, transform .24s cubic-bezier(.2, .8, .2, 1);
}

.cs-noty-container .cs-noty-toast::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  content: "";
  background: linear-gradient(180deg, #00b7c7, #f955a1);
  opacity: .9;
}

.cs-noty-container .cs-noty-toast.show,
.cs-noty-container .cs-noty-toast.showing {
  display: flex;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.cs-noty-container .cs-noty-link {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 1;
  min-width: 0;
  padding: 14px 8px 14px 16px;
  color: inherit;
  text-decoration: none;
}

.cs-noty-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(145deg, #00b7c7, #f955a1);
  box-shadow: 0 5px 16px rgba(0, 171, 189, .22);
}

.cs-noty-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, .94);
  border-radius: 50%;
  object-fit: cover;
  background: #e8f1f2;
}

.cs-noty-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.cs-noty-kicker {
  color: #008c98;
  font-size: 9px;
  line-height: 1;
  font-weight: 750;
  letter-spacing: .12em;
}

.cs-noty-message {
  display: -webkit-box;
  overflow: hidden;
  color: #17343a;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 550;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cs-noty-message a {
  color: #007e89;
  font-weight: 700;
}

.cs-noty-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  margin: 9px 9px 0 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: rgba(255, 255, 255, .38);
  color: #637d82;
  font-size: 12px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.cs-noty-close:hover {
  background: rgba(255, 255, 255, .8);
  color: #007d89;
  transform: scale(1.06);
}

.cs-noty-close:focus-visible,
.cs-noty-link:focus-visible {
  outline: 2px solid #00abbd;
  outline-offset: 3px;
}

@media (max-width: 575px) {
  .cs-noty-container {
    top: calc(70px + env(safe-area-inset-top));
    right: 10px;
    bottom: auto;
    left: 10px;
    width: auto;
    gap: 8px;
  }

  .cs-noty-container .cs-noty-toast {
    min-height: 70px;
    border-radius: 19px;
  }

  .cs-noty-container .cs-noty-link {
    gap: 10px;
    padding: 11px 5px 11px 13px;
  }

  .cs-noty-avatar {
    width: 42px;
    height: 42px;
  }

  .cs-noty-message {
    font-size: 11px;
  }

  .cs-noty-close {
    width: 28px;
    height: 28px;
    margin: 7px 7px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-noty-container .cs-noty-toast,
  .cs-noty-close {
    transition: none;
  }
}
