.toast {
  position: fixed;
  z-index: 5;
  inset-block-start: max(1rem, env(safe-area-inset-top));
  inset-inline-start: 50%;
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: .7rem 1.1rem;
  border: 1px solid #83dc9d;
  border-radius: 14px;
  background: #b5f5c7;
  color: #143020;
  font-weight: 700;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -.6rem);
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
