/* iOS-style social-proof purchase banners */
.ny-toast-host {
  position: fixed;
  top: max(10px, env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 12px;
}
.ny-toast {
  pointer-events: auto;
  width: min(420px, calc(100vw - 24px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  color: #111;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 0 0 0.5px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  transform: translate3d(0, -120%, 0);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.2, 1), opacity 0.35s ease;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  will-change: transform, opacity;
}
.ny-toast.is-in {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
.ny-toast.is-out {
  transition: transform 0.28s ease-in, opacity 0.28s ease-in;
  opacity: 0;
}
.ny-toast.is-dragging {
  transition: none;
  cursor: grabbing;
}
.ny-toast__avatar {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.ny-toast__avatar--pouch {
  object-fit: contain;
  background: #f4f4f4;
  padding: 2px;
  border-radius: 11px;
}
.ny-toast__avatar.is-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFCEB;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  background: #0A4F4C;
}
.ny-toast__body {
  flex: 1;
  min-width: 0;
}
.ny-toast__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.ny-toast__app {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111;
}
.ny-toast__time {
  font-size: 12px;
  color: rgba(60, 60, 67, 0.6);
  flex-shrink: 0;
}
.ny-toast__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: #1c1c1e;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .ny-toast {
    transition: opacity 0.2s ease;
    transform: none;
  }
  .ny-toast.is-in { opacity: 1; }
  .ny-toast.is-out { opacity: 0; }
}
