.pDialogMask{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0 auto;
}

.pDialogWrap {
    position: absolute;
    width: 6.46rem;
    height: 5.6rem;
    top: 50%;
    left: 50%;
    margin: -2.8rem 0 0 -3.23rem;
    z-index: 1;
    transform-origin: center center;
    /* todo 动画 */
}

#prizeDialog_ll .pDialogWrap,
#prizeDialog_hb .pDialogWrap,
#prizeDialog_ed .pDialogWrap {
    -webkit-animation: showDialog .8s ease-out forwards;
    animation: showDialog .8s ease-out forwards;
    opacity: 0;
    transform: scale(0.5);
}

.pDialogWrap::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    box-shadow: 0 -.4rem 2rem .8rem #F64D35;
    border-radius: 70%;
    background: #F64D35;
    z-index: -1;
    opacity: .4;
}

.pDialogBg {
    width: 100%;
    height: 100%;
    background: url(../images/pDialog/dialogBg.png) 0 0 / 100% 100% no-repeat;
    position: relative;
}

.pDialogClose {
    width: .72rem;
    height: .72rem;
    background: url(../images/pDialog/close.png) 0 0 / 100% 100% no-repeat;
    position: absolute;
    left: 50%;
    margin-left: -.36rem;
    bottom: -1.5rem;
}

.pDialogTop {
    position: absolute;
    left: 0;
    right: 0;
}

.pDialogTop.zjMode {
    width: 4.16rem;
    height: 4.61rem;
    top: -3.05rem;
    left: 50%;
    transform: translateX(-1.9rem);
}

.pDialogTop.zjMode.c {
    background: url(../images/pDialog/gift-c.png) no-repeat 0 0 / 100% 100%;
}

.pDialogTop.zjMode.e {
    background: url(../images/pDialog/gift-e.png) no-repeat 0 0 / 100% 100%;
}

.pDialogTop.hbMode {
    width: 2.58rem;
    height: 2.28rem;
    top: -1.6rem;
    left: 50%;
    transform: translateX(-1.15rem);
    background: url(../images/pDialog/redPacket.png) no-repeat 0 0 / 100% 100%;
}

.pDialogTop.zjMode .tStar {
    width: 3.57rem;
    height: 2.66rem;
    background: url(../images/pDialog/tStar1.png) no-repeat 0 0 / 100% 100%;
    position: absolute;
    left: 0;
    top: 0.2rem;
}

.pDialogTop.zjMode .bStar {
    width: 2.37rem;
    height: 1.92rem;
    background: url(../images/pDialog/star1.png) no-repeat 0 0 / 100% 100%;
    position: absolute;
    right: .3rem;
    top: .8rem;
    opacity: 0;
}

.pDialogTop.hbMode .tStar {
    width: 3.62rem;
    height: 2.02rem;
    background: url(../images/pDialog/tStar2.png) no-repeat 0 0 / 100% 100%;
    position: absolute;
    left: -0.5rem;
    top: 0;
}

.pDialogTop.hbMode .bStar {
    width: 1rem;
    height: 1rem;
    background: url(../images/pDialog/star2.png) no-repeat 0 0 / 100% 100%;
    position: absolute;
    left: 0;
    top: -0.35rem;
    /* opacity: 0; */
        /* animation: move 0.8s linear alternate infinite;
  -webkit-animation: move 0.8s linear alternate infinite; */
 animation: breathing 0.4s linear alternate infinite;
  -webkit-animation: breathing 0.4s linear alternate infinite;

}
@keyframes breathing {
  form {
    transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
  }
  to {
    transform: scale(0.9, 0.9);
    -webkit-transform: scale(0.9, 0.9);
  }
}
@keyframes move {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.pDialogMask.show .pDialogTop .tStar {
    -webkit-animation: starTwinkle .8s .7s ease-in-out 2;
    animation: starTwinkle .8s .7s ease-in-out 2;
}

.pDialogMask.show .pDialogTop.zjMode .bStar {
    -webkit-animation: starRotate .8s .7s ease-out forwards;
    animation: starRotate .8s .7s ease-out forwards;
}

.pDialogMask.show .pDialogTop.hbMode .bStar {
    -webkit-animation: starRotate2 .8s .7s ease-out forwards;
    animation: starRotate2 .8s .7s ease-out forwards;
}

.pDialogCon {
    text-align: center;
    line-height: 1;
    font-size: .42rem;
    color: #000;
}

.pDialogTop.zjMode+.pDialogCon {
    padding-top: 1.4rem;
}

.pDialogTop.hbMode+.pDialogCon {
    padding-top: 1.3rem;
}

.pDialogCon .pDialogTips {
    margin: 0 0 .3rem;
}

.pDialogCoupon {
    width: 6.03rem;
    height: 1.61rem;
    margin: 0 auto .3rem;
    background: url(../images/pDialog/couponBg.png) 0 0 /100% 100% no-repeat;
}

.pDialogCouponDetal {
    padding-left: 1.9rem;
    padding-top: .45rem;
    text-align: left;
}

.pDialogCouponDetal .cTitle,
.pDialogEDou .eTitle {
    font-size: .33rem;
    font-weight: bold;
    color: #E74773;
    margin: 0;
}

.pDialogCouponDetal .cDesc {
    padding-top: .1rem;
    font-size: .24rem;
    margin: 0;
}

.pDialogMainBtn {
    margin: 0 auto;
    width: 3.71rem;
    height: 1.66rem;
    background: url(../images/pDialog/btnBg.png) 0 0 /100% 100% no-repeat;
    color: #FFF8EE;
    font-size: .5rem;
    font-weight: bold;
    box-sizing: border-box;
    line-height: 1;
    text-align: center;
    padding-top: 0.22rem;
    letter-spacing: 0.01rem;
    -webkit-animation: btnScale .8s 1s ease-out forwards;
    animation: btnScale .8s 1s ease-out forwards;
}

.pDialogEDou {
    padding-top: .8rem;
    background: url(../images/pDialog/eDou.png) center 0 / .85rem .63rem no-repeat;
    height: 2rem;
    box-sizing: border-box;
}

.pDialogEDou .cDesc {
    padding-top: .3rem;
    font-size: .24rem;
    margin: 0;
}

.pDialogRedPacket {
    height: 2rem;
    padding-top: 0.2rem;
    box-sizing: border-box;
}

.pDialogRedPacket .rTitle {
    font-size: .42rem;
    font-weight: bold;
    color: #383333;
    margin: 0;
}

.pDialogRedPacket .rTitle .eNum {
    color: #FF565A;
}

.pDialogRedPacket .rDesc {
    font-size: .24rem;
    color: rgba(28, 28, 28, 0.6);
    margin: 0;
    padding-top: .5rem;
}

@-webkit-keyframes showDialog {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    60% {
        opacity: 0.8;
        transform: scale(1) translateY(-.2rem);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes showDialog {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    60% {
        opacity: 0.8;
        transform: scale(1) translateY(-.2rem);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@-webkit-keyframes starTwinkle {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0;
        transform: translateY(-.05rem);
    }
}

@keyframes starTwinkle {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0;
        transform: translateY(-.05rem);
    }
}

@-webkit-keyframes starRotate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: rotate(-8deg);
    }
}

@keyframes starRotate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: rotate(-8deg);
    }
}

@-webkit-keyframes starRotate2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: rotate(10deg) translateY(-.08rem);
    }
}

@keyframes starRotate2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: rotate(10deg) translateY(-.08rem);
    }
}

@-webkit-keyframes btnScale {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.85);
    }
}

@keyframes btnScale {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.85);
    }
}