.ml-toast {
  position: fixed;
  z-index: 99990;
  right: 16px;
  bottom: 16px;
  width: min(320px, calc(100vw - 32px));
  max-height: 30vh;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 12px 14px 14px;
  border-radius: 14px;
  background: #0f1012;
  color: #fff;
  box-shadow: 0 12px 40px rgba(15, 16, 18, 0.28);
  font-family: "Open Sans", "Segoe UI", sans-serif;
  line-height: 1.35;
  pointer-events: auto;
}

.ml-toast[data-contained="true"] {
  position: absolute;
}

.ml-toast__mark {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #0025ff;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.ml-toast__body {
  min-width: 0;
  flex: 1;
  padding-right: 28px;
}

.ml-toast__kicker {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9eb0ff;
}

.ml-toast__line {
  margin: 0;
  font-family: "Josefin Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.ml-toast__meta {
  margin: 6px 0 0;
  font-size: 12px;
  color: #c5c8d4;
}

.ml-toast__actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.ml-toast__next,
.ml-toast__close {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.ml-toast__next {
  background: #0025ff;
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}

.ml-toast__next:hover,
.ml-toast__next:focus-visible {
  background: #001acc;
}

.ml-toast__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.ml-toast__close:hover,
.ml-toast__close:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.ml-toast__close:focus-visible,
.ml-toast__next:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .ml-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}

.ml-force-mobile .ml-toast {
  left: 12px;
  right: 12px;
  bottom: 12px;
  width: auto;
}

@media (prefers-reduced-motion: reduce) {
  .ml-toast {
    transition: none;
  }
}
