.toast-stack.toast-layer {
  inset: calc(16px + env(safe-area-inset-top, 0px)) auto auto 50%;
  margin: 0;
  padding: 0 0 12px;
  border: 0;
  background: transparent;
  color: inherit;
  z-index: 10000;
  width: min(calc(100vw - 32px), 610px);
  max-height: calc(100dvh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
}
.toast-stack.toast-layer[popover]:not(:popover-open) {
  display: none;
}
.toast-stack.toast-layer::backdrop {
  background: transparent;
  pointer-events: none;
}
.toast-layer .toast {
  max-width: 100%;
  min-width: 0;
  font-size: 14px;
  box-shadow: 0 6px 20px #18462b2b;
}
.toast-layer .toast > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.toast-layer .toast .icon-button {
  flex-shrink: 0;
}
