/*
 * v88 — Win / Lose result popup restore
 * Background art was missing → only "Sorry/Lose" text showed.
 * Restores expected hashed asset URLs + ensures overlay is visible.
 */

/* Dim overlay + high z-index so popup sits above game UI */
body #app .winning[data-v-baa1fbd1],
body #app .winning {
    z-index: 9999 !important;
    background-color: rgba(0, 0, 0, 0.55) !important;
}

/* Lose card background */
body #app .winning-body[data-v-baa1fbd1],
body #app .winning-body {
    background-image: url(/assets/png/missningLBg-CJY3-D31.png) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% 100% !important;
}

/* Win card background */
body #app .winning-body.isWin[data-v-baa1fbd1],
body #app .winning-body.isWin {
    background-image: url(/assets/png/missningBg-CVBJxzJu.png) !important;
}

/* Moto / alternate popup skins */
body #app .winBg[data-v-ad929f00],
body #app .winBg {
    background-image: url(/assets/png/win-B-Iyz1U_.png) !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
}

body #app .failBg[data-v-ad929f00],
body #app .failBg {
    background-image: url(/assets/png/fail-BYzcClI1.png) !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
}

/* Keep title/text readable on restored art */
body #app .winning-wrap-l1[data-v-baa1fbd1],
body #app .winning-wrap-l1 {
    text-shadow: 0 .02667rem .08rem rgba(0, 0, 0, 0.35);
}

body #app .winning-body.isWin .winning-wrap-l1[data-v-baa1fbd1],
body #app .winning-body.isWin .winning-wrap-l1 {
    color: #fff !important;
}

body #app .winning-wrap-l3 .isLose[data-v-baa1fbd1],
body #app .winning-wrap-l3 .isLose {
    color: #5b6b7c !important;
}

/*
 * Period + game name sit on the white ticket slip.
 * Theme --text_color_L2 is near-white → invisible on ticket. Force dark ticket ink.
 */
body #app .winning-wrap-l3[data-v-baa1fbd1],
body #app .winning-wrap-l3 {
    height: auto !important;
    min-height: 2.13333rem !important;
}

body #app .winning-wrap-l3 .gameDetail[data-v-baa1fbd1],
body #app .winning-wrap-l3 .gameDetail {
    height: auto !important;
    min-height: .74667rem !important;
    line-height: 1.35 !important;
    font-size: .29333rem !important;
    color: #888 !important;
    overflow: visible !important;
}

body #app .winning-wrap-l3 .gameDetail p[data-v-baa1fbd1],
body #app .winning-wrap-l3 .gameDetail p {
    margin: .05333rem 0 0 !important;
    color: #666 !important;
    font-size: .29333rem !important;
    line-height: 1.35 !important;
    word-break: break-all !important;
}

/*
 * Lottery results row sits on the orange win card above the white ticket.
 * Theme text tokens can wash out the "Lottery results" label — force white.
 */
body #app .winning-wrap-l2[data-v-baa1fbd1],
body #app .winning-wrap-l2 {
    color: #fff !important;
    overflow: visible !important;
    min-height: 1.33333rem !important;
}

body #app .winning-body.isWin .winning-wrap-l2[data-v-baa1fbd1],
body #app .winning-body.isWin .winning-wrap-l2,
body #app .winning-body.isWin .winner_box > span,
body #app .winner_box > span {
    color: #fff !important;
}

body #app .winner_box {
    color: #fff !important;
}
