.hf-global-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: var(--hf-layer-toast);
  max-width: min(430px, calc(100vw - 36px));
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  box-sizing: border-box;
  color: #fff;
  background: rgba(43, 56, 63, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  box-shadow: 0 12px 30px rgba(33, 43, 48, 0.22);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.hf-global-toast.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.hf-global-toast.is-above-modal {
  z-index: 40000;
}

.hf-global-toast__message {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}

.hf-global-toast__action {
  flex: 0 0 auto;
  color: #9edfff !important;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none !important;
  white-space: nowrap;
}

.hf-global-toast__action:hover,
.hf-global-toast__action:focus {
  color: #d8f4ff !important;
  text-decoration: underline !important;
  outline: none;
}

@media (max-width: 768px) {
  .hf-global-toast {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    max-width: none;
    justify-content: center;
    font-size: 11px;
    text-align: center;
  }

  body.hf-mobile-bottom-nav-enabled .hf-global-toast {
    bottom: calc(12px + var(--hf-mobile-bottom-nav-offset));
  }
}
