/* WebUI 自动化 — 运行前 Cursor API Key 底部悬浮提示（蓝色主基调，纯文案，渐隐消失） */
.uia-cursor-key-float-toast {
  position: fixed;
  left: 50%;
  bottom: max(1.35rem, env(safe-area-inset-bottom, 0px));
  z-index: 10058;
  width: min(92vw, 28rem);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 0.75rem);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.uia-cursor-key-float-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.uia-cursor-key-float-toast.is-leaving {
  opacity: 0;
  transform: translate(-50%, 0.55rem);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.uia-cursor-key-float-toast.is-hidden {
  display: none !important;
}

.uia-cursor-key-float-toast__inner {
  border-radius: 0.85rem;
  padding: 0.78rem 1.05rem;
  text-align: center;
  color: #eff6ff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(118deg, #1e40af 0%, #2563eb 36%, #3b82f6 68%, #60a5fa 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 12px 34px -8px rgba(30, 64, 175, 0.55),
    0 4px 14px rgba(15, 23, 42, 0.14);
}
