.action-feedback-host {
  position: fixed;
  z-index: 10050;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  display: grid;
  gap: 10px;
  width: min(390px, calc(100vw - 28px));
  pointer-events: none;
}

.action-feedback-toast {
  appearance: none;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0,0,0,.24);
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  color: #fff;
  background: rgba(17,39,36,.96);
  text-align: left;
  cursor: pointer;
  pointer-events: auto;
  animation: action-feedback-enter .18s ease-out both;
  -webkit-tap-highlight-color: transparent;
}

.action-feedback-toast.action-feedback-error {
  background: rgba(94,32,32,.97);
}

.action-feedback-toast.is-leaving {
  animation: action-feedback-leave .18s ease-in both;
}

.action-feedback-marker {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  background: rgba(255,255,255,.16);
}

.action-feedback-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.action-feedback-copy strong {
  font-size: 14px;
  line-height: 1.35;
}

.action-feedback-copy small {
  font-size: 12px;
  line-height: 1.45;
  opacity: .88;
}

@keyframes action-feedback-enter {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes action-feedback-leave {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-5px) scale(.98); }
}

@media (max-width: 640px) {
  .action-feedback-host {
    top: max(10px, env(safe-area-inset-top));
    left: 10px;
    right: 10px;
    width: auto;
  }

  .action-feedback-toast {
    min-height: 58px;
    border-radius: 12px;
    padding: 10px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .action-feedback-toast,
  .action-feedback-toast.is-leaving {
    animation: none;
  }
}
