/* In-app live notification toasts */
.live-toast-host {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 3000;
  width: min(92vw, 380px);
  display: grid;
  gap: 8px;
  pointer-events: none;
}
@media (min-width: 992px) {
  .live-toast-host { bottom: 28px; left: auto; right: 24px; transform: none; }
}
.live-toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(28, 22, 18, 0.94);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(12px);
  transition: .28s cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
}
.live-toast.is-show { opacity: 1; transform: none; }
.live-toast-icon {
  width: 40px; height: 40px; border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, #c45c26 35%, #2a2018);
  color: #ffd7bc;
  font-size: 1.1rem;
}
.live-toast-body { min-width: 0; display: grid; gap: 2px; }
.live-toast-body strong {
  font-size: .92rem; font-weight: 800; letter-spacing: -.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.live-toast-body span {
  font-size: .78rem; color: rgba(255,255,255,.72);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

body.admin-body .live-toast-host { bottom: calc(var(--tabbar-h, 72px) + 24px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 992px) {
  body.admin-body .live-toast-host { bottom: 28px; }
}
body.partner-body .live-toast-host { bottom: calc(var(--tabbar-h, 74px) + 20px + env(safe-area-inset-bottom, 0px)); }
