#win-notifications-container {
    position: fixed;
    left: 50%;
    bottom: 24px;
    top: auto;
    right: auto;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    width: min(360px, calc(100% - 24px))
}

.win-notification {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    width: 100%;
    background: rgba(15, 18, 26, .94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(227, 6, 19, .4);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .5), 0 0 20px rgba(227, 6, 19, .12);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(40px) scale(.94);
    animation: llWinUp .5s cubic-bezier(.22, 1.2, .36, 1) forwards
}

.win-notification.hiding {
    animation: llWinDown .3s ease forwards
}

@keyframes llWinUp {
    0% {
        opacity: 0;
        transform: translateY(44px) scale(.9)
    }
    70% {
        opacity: 1;
        transform: translateY(-4px) scale(1.02)
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

@keyframes llWinDown {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
    100% {
        opacity: 0;
        transform: translateY(32px) scale(.92)
    }
}

.win-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    text-decoration: none;
    cursor: pointer;
    min-width: 0
}

.win-link:hover .win-text {
    color: #fff
}

.win-link:hover .win-amount {
    color: #ffcc33;
    text-shadow: 0 0 10px rgba(255, 204, 51, .4)
}

.win-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(227, 6, 19, .55);
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(227, 6, 19, .35)
}

.win-content {
    flex: 1;
    min-width: 0
}

.win-text {
    font-size: 13px;
    font-weight: 500;
    color: #d0d5e0;
    line-height: 1.35;
    margin-bottom: 3px;
    transition: color .2s ease
}

.win-name {
    color: #ff6b76;
    font-weight: 800
}

.win-amount {
    color: #2ecc71;
    font-weight: 800;
    transition: color .2s ease, text-shadow .2s ease
}

.win-game {
    font-size: 11px;
    color: rgba(155, 163, 181, .9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.win-close {
    background: rgba(227, 6, 19, .12);
    border: 1px solid rgba(227, 6, 19, .3);
    border-radius: 8px;
    color: rgba(255, 255, 255, .55);
    font-size: 18px;
    cursor: pointer;
    padding: 2px 8px;
    line-height: 1.2;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
    flex-shrink: 0
}

.win-close:hover {
    color: #fff;
    background: rgba(227, 6, 19, .35);
    border-color: #e30613
}

@media (max-width: 768px) {
    #win-notifications-container {
        bottom: 88px;
        left: 12px;
        right: 12px;
        transform: none;
        width: auto;
        align-items: stretch
    }

    .win-notification {
        width: 100%
    }

    .win-avatar {
        width: 40px;
        height: 40px
    }

    .win-text {
        font-size: 12px
    }

    .win-game {
        font-size: 10px
    }
}
