.sail-toast-host {
  position: fixed;
  z-index: 11000;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 32px);
  pointer-events: none;
}
.sail-toast {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  width: max-content;
  max-width: min(640px, calc(100vw - 32px));
  padding: 12px 48px 13px 16px;
  border: 1px solid #526776;
  border-radius: 10px;
  background: #172832;
  color: #edf5fa;
  box-shadow: 0 8px 28px #0006;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  pointer-events: auto;
  animation: sail-toast-arrive 160ms ease-out;
}
.sail-toast .sail-toast-message {
  min-width: 0;
  overflow-wrap: anywhere;
}
.sail-toast button {
  font: inherit;
  cursor: pointer;
}
.sail-toast .sail-toast-close {
  position: absolute;
  top: 6px;
  right: 7px;
  display: grid;
  place-items: center;
  min-width: 32px;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #d7e4ec;
  font-size: 23px;
}
.sail-toast .sail-toast-close:hover {
  background: #ffffff14;
}
.sail-toast .sail-toast-action {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2eddf6;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sail-toast button:focus-visible {
  outline: 2px solid #2eddf6;
  outline-offset: 2px;
}
.sail-toast .sail-toast-track {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 3px;
  overflow: hidden;
  background: #ffffff14;
}
.sail-toast .sail-toast-progress {
  width: 100%;
  height: 100%;
  background: #2eddf6;
  transform-origin: left;
}
@keyframes sail-toast-arrive {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sail-toast {
    animation: none;
  }
}
