.eth-toast-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2147483000;
    display: grid;
    gap: 10px;
    width: min(390px, calc(100vw - 32px));
    pointer-events: none;
}

.eth-toast-message,
.eth-toast {
    border-radius: 18px;
    background: rgba(8, 8, 10, 0.92);
    color: #fff;
    border: 1px solid rgba(215, 73, 42, 0.30);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.eth-toast-message {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 16px;
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity .22s ease, transform .22s ease;
}

.eth-toast-message.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.eth-toast-message strong {
    display: block;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.eth-toast-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex: 0 0 auto;
    background: #34d399;
    box-shadow: 0 0 18px rgba(52, 211, 153, 0.72);
}

.eth-toast-message.error,
.eth-toast.error,
.eth-toast[data-type="error"] {
    border-color: rgba(239, 68, 68, 0.45);
    background: linear-gradient(145deg, rgba(40, 10, 10, 0.96), rgba(8, 8, 10, 0.92));
}

.eth-toast-message.error .eth-toast-dot {
    background: #ef4444;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.76);
}

.eth-toast-message.warning,
.eth-toast.warning,
.eth-toast[data-type="warning"] {
    border-color: rgba(245, 158, 11, 0.46);
}

.eth-toast-message.warning .eth-toast-dot {
    background: #f59e0b;
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.72);
}

.eth-toast-message.info,
.eth-toast.info,
.eth-toast[data-type="info"] {
    border-color: rgba(56, 189, 248, 0.42);
}

.eth-toast-message.info .eth-toast-dot {
    background: #38bdf8;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.72);
}

.eth-toast {
    z-index: 2147483000 !important;
    right: 20px;
    bottom: 20px;
    max-width: min(390px, calc(100vw - 32px));
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}

.eth-toast::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex: 0 0 auto;
    background: #34d399;
    box-shadow: 0 0 18px rgba(52, 211, 153, 0.72);
}

.eth-toast.error::before,
.eth-toast[data-type="error"]::before {
    background: #ef4444;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.76);
}

.eth-toast.warning::before,
.eth-toast[data-type="warning"]::before {
    background: #f59e0b;
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.72);
}

.eth-toast.info::before,
.eth-toast[data-type="info"]::before {
    background: #38bdf8;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.72);
}

@media (max-width: 640px) {
    .eth-toast-stack,
    .eth-toast {
        right: 14px;
        bottom: 14px;
        width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
    }
}
