/* ZUNO WIN - Win / Lose Banner */
.zwe-result {
    z-index: 20000 !important;
    padding: 12px !important;
    align-items: center !important;
    justify-content: center !important;
}

.zwe-result .zwe-result-card {
    position: relative !important;
    box-sizing: border-box !important;
    width: min(94vw, 390px, 70vh) !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1186 / 1624 !important;
    max-height: calc(100dvh - 24px) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: url("../wingo-effects/win-bg.png")
        center center / 100% 100% no-repeat !important;
    box-shadow: none !important;
    text-align: center !important;
    animation: zunoResultEnter .4s ease-out !important;
}

.zwe-result.lost .zwe-result-card {
    background-image: url("../wingo-effects/lose-bg.png") !important;
}

.zwe-result-card > img#zwe-result-icon {
    display: none !important;
}

.zwe-result-card h2#zwe-result-title {
    position: absolute !important;
    top: 25% !important;
    left: 8% !important;
    width: 84% !important;
    margin: 0 !important;
    font-size: clamp(18px, 5.5vw, 27px) !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: white !important;
    text-shadow: 0 2px 4px #a43a2055 !important;
}

.zwe-result.lost h2#zwe-result-title {
    color: #41638c !important;
    text-shadow: none !important;
}

.zuno-outcome-chips {
    position: absolute;
    top: 37%;
    left: 10%;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    color: white;
    font-size: clamp(11px, 3.3vw, 15px);
    font-weight: bold;
}

.zuno-outcome-chips span {
    border-radius: 8px;
    padding: 5px 8px;
    background: #e94755;
}

.zuno-outcome-chips .zuno-number {
    background: #fff;
    color: #f34c58;
    font-size: 22px;
    min-width: 34px;
    box-shadow: 0 2px 8px #0002;
}

.zwe-result.lost .zuno-outcome-chips span {
    background: #7494bb;
}

.zwe-result.lost .zuno-outcome-chips .zuno-number {
    background: white;
    color: #456a95;
}

.zwe-result-card p#zwe-result-info {
    position: absolute !important;
    top: 61% !important;
    left: 16% !important;
    width: 68% !important;
    margin: 0 !important;
    color: #6d7189 !important;
    font-size: clamp(11px, 3.3vw, 15px) !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere;
}

.zuno-outcome-status {
    display: block;
    font-size: 21px;
    font-weight: 850;
    margin-bottom: 5px;
    color: #f6535c;
}

.zwe-result.lost .zuno-outcome-status {
    color: #587da8;
}

.zwe-result-card button#zwe-result-close {
    position: absolute !important;
    bottom: 8% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    min-width: 110px;
    padding: 11px 18px !important;
    border-radius: 24px !important;
    border: 1px solid #ffffffaa !important;
    background: #ffffffee !important;
    color: #f05259 !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

.zwe-result.lost button#zwe-result-close {
    color: #587da8 !important;
}

@keyframes zunoResultEnter {
    from { opacity: 0; transform: scale(.82) translateY(16px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .zwe-result .zwe-result-card {
        animation: none !important;
    }
}