.aevora-flash {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 2147483000;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: min(390px, calc(100vw - 32px));
    padding: 15px 17px;
    border: 1px solid rgba(202, 176, 117, 0.28);
    border-radius: 10px;
    background: rgba(12, 16, 15, 0.96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
    color: #e9e5dc;
    font-family: inherit;
    line-height: 1.45;
    backdrop-filter: blur(12px);
}

.aevora-flash::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    border-radius: 10px 0 0 10px;
    background: #bfa66d;
}

.aevora-flash__icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    margin-top: 1px;
    border: 1px solid rgba(202, 176, 117, 0.34);
    border-radius: 50%;
    color: #cfb779;
    font-size: 13px;
    font-weight: 700;
}

.aevora-flash__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.aevora-flash__title {
    color: #d5c08a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.aevora-flash__message {
    color: #dedad0;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.aevora-flash--success::before {
    background: #5f9f7e;
}

.aevora-flash--success .aevora-flash__icon {
    border-color: rgba(95, 159, 126, 0.45);
    color: #79b596;
}

.aevora-flash--error::before {
    background: #a95f5f;
}

.aevora-flash--error .aevora-flash__icon {
    border-color: rgba(169, 95, 95, 0.45);
    color: #c87a7a;
}

.aevora-flash--warning::before {
    background: #b99a55;
}

.aevora-flash--warning .aevora-flash__icon {
    border-color: rgba(185, 154, 85, 0.45);
    color: #cfb56f;
}

.aevora-flash--info::before {
    background: #628f85;
}

.aevora-flash--info .aevora-flash__icon {
    border-color: rgba(98, 143, 133, 0.45);
    color: #78aa9e;
}

@media (max-width: 640px) {
    .aevora-flash {
        top: 14px;
        right: 16px;
        left: 16px;
        width: auto;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .aevora-flash {
        animation: aevora-flash-in 180ms ease-out both;
    }

    @keyframes aevora-flash-in {
        from {
            opacity: 0;
            transform: translateY(-6px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* AEVORA UI FIX 20260922: flash auto-dismiss */
.aevora-flash {
    pointer-events: none;
    animation:
        aevora-flash-in 180ms ease-out both,
        aevora-flash-out 220ms ease-in 2.5s forwards !important;
}

@keyframes aevora-flash-out {
    from {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    to {
        opacity: 0;
        transform: translateY(-6px);
        visibility: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aevora-flash {
        animation:
            aevora-flash-out 1ms linear 2.5s forwards !important;
    }
}

