.aux-toast-region {
    all: initial;
    position: fixed;
    z-index: 2147483000;
    top: max(10px, env(safe-area-inset-top));
    left: 50%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(620px, calc(100vw - 24px));
    transform: translateX(-50%);
    pointer-events: none;
    box-sizing: border-box;
    color-scheme: dark;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: normal;
    text-align: start;
}

.aux-toast-region *,
.aux-toast-region *::before,
.aux-toast-region *::after {
    box-sizing: border-box;
}

.aux-toast {
    --aux-duration: 2100ms;
    --aux-accent: #ffc400;
    --aux-soft: rgba(255, 196, 0, .12);
    --aux-border: rgba(255, 196, 0, .30);
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 11px;
    min-height: 62px;
    padding: 10px 11px 12px 13px;
    overflow: hidden;
    box-sizing: border-box;
    color: #f8fafc;
    background: linear-gradient(135deg, rgba(16, 27, 48, .98), rgba(7, 15, 29, .98));
    border: 1px solid var(--aux-border);
    border-radius: 15px;
    box-shadow:
        inset 3px 0 0 var(--aux-accent),
        0 16px 42px rgba(0, 0, 0, .38),
        0 0 24px rgba(255, 196, 0, .055);
    opacity: 0;
    transform: translate3d(0, -16px, 0) scale(.985);
    transition:
        opacity .22s ease,
        transform .30s cubic-bezier(.22, 1, .36, 1);
    pointer-events: auto;
    will-change: opacity, transform;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42;
    -webkit-font-smoothing: antialiased;
}

.aux-toast.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.aux-toast.is-leaving {
    opacity: 0;
    transform: translate3d(0, -10px, 0) scale(.985);
    transition-duration: .22s, .26s;
    pointer-events: none;
}

.aux-toast-mark {
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    box-sizing: border-box;
    color: var(--aux-accent);
    background: var(--aux-soft);
    border: 1px solid var(--aux-border);
    border-radius: 11px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.aux-toast-mark svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aux-toast-text {
    margin: 0;
    padding: 0;
    min-width: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #f8fafc;
    font-weight: 700;
    letter-spacing: .005em;
    overflow-wrap: anywhere;
}

.aux-toast-close,
.aux-toast-close:hover,
.aux-toast-close:focus,
.aux-toast-close:active {
    -webkit-appearance: none !important;
    appearance: none !important;
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    background: rgba(255, 255, 255, .045) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, .11) !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    opacity: .92 !important;
    cursor: pointer !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-shadow: none !important;
    transform: none !important;
    transition: background-color .16s ease, border-color .16s ease, opacity .16s ease, transform .12s ease !important;
    -webkit-tap-highlight-color: transparent;
}

.aux-toast-close::before,
.aux-toast-close::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 12px !important;
    height: 1.8px !important;
    background: #aeb9ca !important;
    border: 0 !important;
    border-radius: 999px !important;
    opacity: 1 !important;
    pointer-events: none !important;
}

.aux-toast-close::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

.aux-toast-close::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.aux-toast-close:hover,
.aux-toast-close:focus-visible {
    background: rgba(255, 196, 0, .09) !important;
    border-color: rgba(255, 196, 0, .30) !important;
    opacity: 1 !important;
    outline: none !important;
}

.aux-toast-close:active {
    transform: scale(.94) !important;
}

.aux-toast-progress {
    position: absolute;
    z-index: 2;
    left: 3px;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--aux-accent), rgba(255, 255, 255, .72));
    box-shadow: 0 0 10px var(--aux-accent);
    transform-origin: left center;
    animation: auxProgress var(--aux-duration) linear forwards;
    animation-play-state: paused;
}

.aux-success,
.aux-checkout-success {
    --aux-accent: #34d399;
    --aux-soft: rgba(52, 211, 153, .11);
    --aux-border: rgba(52, 211, 153, .28);
}

.aux-error {
    --aux-accent: #fb7185;
    --aux-soft: rgba(251, 113, 133, .11);
    --aux-border: rgba(251, 113, 133, .30);
}

.aux-warning {
    --aux-accent: #fbbf24;
    --aux-soft: rgba(251, 191, 36, .11);
    --aux-border: rgba(251, 191, 36, .30);
}

.aux-info {
    --aux-accent: #ffc400;
    --aux-soft: rgba(255, 196, 0, .10);
    --aux-border: rgba(255, 196, 0, .27);
}

@keyframes auxProgress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@media (max-width: 600px) {
    .aux-toast-region {
        top: max(3px, env(safe-area-inset-top));
        width: calc(100vw - 20px);
    }

    .aux-toast {
        grid-template-columns: 34px minmax(0, 1fr) 30px;
        gap: 9px;
        min-height: 56px;
        padding: 8px 9px 10px 11px;
        border-radius: 13px;
        font-size: 13px;
        line-height: 1.4;
    }

    .aux-toast-mark {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .aux-toast-close,
    .aux-toast-close:hover,
    .aux-toast-close:focus,
    .aux-toast-close:active {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
        border-radius: 8px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aux-toast {
        transition: opacity .12s linear;
        transform: none;
    }

    .aux-toast-progress {
        animation: none;
    }

    .aux-toast-close {
        transition: none !important;
    }
}
