.site-notifications {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 1499;
    display: grid;
    width: min(390px, calc(100vw - 36px));
    gap: 8px;
    pointer-events: none;
}

.site-toast {
    position: relative;
    padding: 15px 42px 15px 16px;
    border: 1px solid rgba(0, 255, 117, .62);
    background: rgba(2, 8, 4, .96);
    color: #eaffed;
    box-shadow: 0 0 42px rgba(0, 255, 117, .16);
    font: 600 12px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
    pointer-events: auto;
    animation: site-toast-in .24s cubic-bezier(.2,.8,.2,1) both;
}

.site-toast::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #00ff75;
    content: '';
}

.site-toast.is-error { border-color: rgba(255, 74, 105, .72); }
.site-toast.is-error::before { background: #ff4a69; }
.site-toast.is-leaving { animation: site-toast-out .18s ease forwards; }
.site-toast button { position:absolute;top:8px;right:9px;border:0;background:transparent;color:#00ff75;font:18px/1 monospace;cursor:pointer; }

@keyframes site-toast-in { from { opacity: 0; transform: translate3d(24px, 8px, 0); } }
@keyframes site-toast-out { to { opacity: 0; transform: translate3d(30px, 0, 0); } }

@media (max-width: 700px) {
    .site-notifications {
        right: 12px;
        bottom: calc(var(--site-mobile-dock-height, 70px) + 8px);
        z-index: 1499;
        width: calc(100vw - 24px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-toast, .site-toast.is-leaving { animation-duration: .001ms; }
}
