﻿#divPoGame img{display:block;margin:0 auto;max-width:300px}.ic-close{position:absolute;right:0;top:0;font-size:14px;font-style:normal;width:22px;height:22px;background-color:#fdf09e;display:flex;justify-content:center;align-items:center;font-weight:bold;border-radius:50%;color:#88471a;cursor:pointer}.ic-close::after{content:'X'}#modalPoGame .ic-close{width:40px;height:40px;font-size:24px;top:-5px;right:-5px;box-shadow:0 0 10px #feefa2,0 0 10px #feefa2,0 0 10px #feefa2}#divPoGame{text-align:center;cursor:pointer}.pogame-wrapper{display:inline-block;position:relative}#modalPoGame .modal-content{background:0;border:0}#modalPoGame .divPrize{width:100%;height:72px;display:flex;justify-content:center;align-items:center;text-align:center;position:absolute;top:44px;font-size:50px;left:0;font-weight:bold;letter-spacing:-2px;color:#fff;text-shadow:0 0 8px #ff4200,0 0 8px #ff4200,0 0 8px #ff4200,0 0 8px #ff4200,0 0 8px #ff4200,0 0 8px #ff4200,0 0 8px #ff4200,0 0 8px #ff4200;animation-iteration-count:infinite;animation-name:prizeani;animation-direction:normal;animation-duration:1.3s;transition:unset}.lefttoright{bottom:15%;position:absolute;-webkit-animation:linear infinite;-webkit-animation-name:runltr;-webkit-animation-duration:15s}@-webkit-keyframes runltr{0{left:5%}50%{left:90%}100%{left:5%}}@keyframes prizeani{0{transform:scale(1);filter:brightness(100%)}50%{transform:scale(1.05);filter:brightness(140%)}100%{transform:scale(1);filter:brightness(100%)}}.uptodown{position:absolute;-webkit-animation:linear infinite;-webkit-animation-name:runutd;-webkit-animation-duration:17s}@-webkit-keyframes runutd{0{top:10%}50%{top:80%}100%{top:10%}}
#divPoGame { padding:16px 0; }
#divPoGame img { max-width:100%; width:300px; height:auto; }
#divPoGame .angpao-claim { border:0; padding:0; background:transparent; cursor:pointer; max-width:100%; }
#divPoGame .angpao-claim:disabled { opacity:1; cursor:default; }
#modalPoGame .divPrize { font-size:32px; }


/* Angpao shares the native popup controls, with transparent, centered artwork. */
#modalPoGame {
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    left:0;
    width:100%;
    height:100%;
    z-index:100000 !important;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    box-sizing:border-box;
    background:transparent;
}
#modalPoGame.el-dialog__wrapper { display:none; }
#modalPoGame.el-dialog__wrapper.active { display:flex; }
#modalPoGame .angpao-dialog {
    position:relative;
    top:auto;
    right:auto;
    bottom:auto;
    left:auto;
    width:300px;
    max-width:100%;
    height:auto;
    min-height:0;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    transform:none;
    contain:none;
    overflow:visible;
    z-index:2;
}
#modalPoGame #divPoGame { padding:0; line-height:0; }
#modalPoGame .angpao-claim { display:block; margin:0 auto; line-height:0; }
#modalPoGame .divPrizeImg { max-height:calc(100vh - 48px); object-fit:contain; }
#modalPoGame .ic-close { top:-14px; right:-14px; border:0; z-index:3; line-height:1; }

#modalPoGame > .v-modal {
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    display:block;
    background:#000;
    opacity:.5;
    z-index:1;
}
