/* Unlock toast: the circle pops, the pill opens beside it, a light sweeps across. */
.toasts { position: fixed; z-index: 50; left: 0; right: 0; top: max(14px, env(safe-area-inset-top)); display: flex; justify-content: center; pointer-events: none; padding: 0 12px; }
.toast { position: relative; display: flex; align-items: center; height: 72px; max-width: 100%; pointer-events: auto; }
.toast .orb { position: relative; z-index: 2; flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--royal); color: #fff; box-shadow: 0 0 0 4px var(--ink), 0 18px 40px -12px rgba(13,18,64,.7); transform: scale(0); animation: orb-in .55s cubic-bezier(.3,1.6,.5,1) forwards; }
.toast .orb svg { width: 32px; height: 32px; }
.toast .orb::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #9aa4ff; opacity: 0; animation: ring 1s .35s ease-out 1; }
.toast .pill { position: relative; z-index: 1; margin-left: -36px; height: 64px; display: flex; align-items: center; overflow: hidden; border-radius: 0 32px 32px 0; background: var(--ink); color: #fff; box-shadow: 0 18px 40px -14px rgba(13,18,64,.7); width: 0; animation: pill-open .6s .45s cubic-bezier(.2,.8,.2,1) forwards; }
.toast .pill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(185,192,255,.28) 50%, transparent 65%); transform: translateX(-100%); animation: sweep 1.1s 1.05s ease-out 1; }
.toast .txt { padding: 0 24px 0 50px; white-space: nowrap; opacity: 0; animation: fade-in .35s .85s forwards; }
.toast small { display: block; font-size: 12px; letter-spacing: .02em; color: rgba(255,255,255,.66); }
.toast strong { display: flex; align-items: center; gap: 10px; font-family: var(--sf-display); font-weight: 400; font-size: 18px; letter-spacing: -0.015em; }
.toast strong em { font-style: normal; font-size: 13px; font-weight: 500; padding: 2px 8px; border-radius: 10px; background: rgba(154,164,255,.22); color: #c7ccff; font-variant-numeric: tabular-nums; }
.toast.out { animation: toast-out .45s cubic-bezier(.6,0,.8,.4) forwards; }
@keyframes orb-in { 0% { transform: scale(0) rotate(-40deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes pill-open { to { width: var(--w, 300px); } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-24px) scale(.96); } }
@media (prefers-reduced-motion: reduce) {
  .toast .orb, .toast .pill, .toast .txt { animation: none; transform: none; opacity: 1; width: var(--w, 300px); }
  .toast .orb::before, .toast .pill::after, .ach.fresh, .ach.fresh::after { animation: none; }
}
