/* qol — toasts. Override the custom properties to match your palette. */
:root { --qol-bg: #0a0c0f; --qol-ink: #f3f5f8; --qol-muted: #98a2ad; --qol-line: #3a434e; --qol-accent: #1f5bff; --qol-accent-2: #4d7dff; --qol-alert: #ff8a8a; --qol-font: system-ui, sans-serif; }
.qol-toasts { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
@media (min-width: 640px) { .qol-toasts { left: auto; width: min(440px, calc(100vw - 32px)); } }
.qol-toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 10px 10px 14px; background: var(--qol-bg); border: 1px solid var(--qol-line); border-left: 3px solid var(--qol-accent); border-radius: 6px; color: var(--qol-ink); font: 13.5px/1.4 var(--qol-font); box-shadow: 0 20px 40px -20px #000; }
.qol-toast.alert { border-left-color: var(--qol-alert); }
.qol-t-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--qol-accent-2); flex: none; }
.qol-toast.alert .qol-t-dot { background: var(--qol-alert); }
.qol-t-body { flex: 1; display: grid; gap: 2px; min-width: 0; }
.qol-t-sub { font-size: 12px; color: var(--qol-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qol-t-act, .qol-t-x { font: 700 11px/1 var(--qol-font); letter-spacing: .12em; text-transform: uppercase; color: var(--qol-accent-2); background: transparent; border: 1px solid var(--qol-line); border-radius: 4px; padding: 6px 8px; cursor: pointer; }
.qol-t-x { color: var(--qol-muted); padding: 6px 7px; }
.qol-t-act:hover, .qol-t-x:hover { border-color: var(--qol-accent-2); color: var(--qol-ink); }
@media (prefers-reduced-motion: no-preference) {
  .qol-toast { animation: qol-in .28s cubic-bezier(.2,.9,.2,1) both; }
  .qol-toast.out { animation: qol-out .22s ease both; }
}
@keyframes qol-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes qol-out { to { opacity: 0; transform: translateY(6px); } }
