@charset "utf-8";
body {
    background: rgb(20,11,60);
}
#wrap {
    margin-top: -0.01333333rem;
    height: 100vh;
    background-image: url("../img/bg-index.png");
    background-size: 100% 100%;
}

.my-award {
    position: absolute;
    left: 0;
    top: 0.16rem;
    width: 1.8666667rem;
    height: 0.8133333rem;
    min-width: 1.6rem;
    line-height: 0.48rem;
    font-size: 0.24rem;
    text-align: center;
    color: #fff;
    border-radius: 3px 0 0 3px;
}
.my {
    position: absolute;
    right: 0;
    top: 0.16rem;
    width: 1.8666667rem;
    height: 0.8133333rem;
    min-width: 1.6rem;
    line-height: 0.48rem;
    font-size: 0.24rem;
    text-align: center;
    color: #fff;
    border-radius: 3px 0 0 3px;
    /*background-image: url("../img/rule.png");*/
}

.hand {
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 7.2rem;

}

.gameCount {
    position: absolute;
    bottom: 2rem;
    width: 4.8rem;
    height: 0.85333333rem;
    border-radius:0.42666667rem ;
    background-color: rgba(0,0,0,0.6) ;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.4rem;
    left: 2.5rem;
}

.confirm-button {
    position: absolute;
    bottom: 0.3rem;
    left: 0.5rem;
    /*right: -1rem;*/
    height: 1.3333rem;
}


.box {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10.93333333rem;
}
.tips {
    width: 7.7333333333rem;
    height: 0.96rem;
    margin: -0.3rem auto 0;
    /*background-color: #ff6d69;*/
    text-align: center;
    font-size: 0.373333333rem;
    line-height: 0.96rem;
    color: #fff;
    border-radius: 0.26666667rem;
    background-image: url("../img/prompt.png");
}
#change {
    margin: 0 0.06666667rem;
}
.egg {
    width: 10rem;
}
.title_img {
    margin: 1.46rem 0.3333rem 1.92rem 0.333rem;
    width: 9.3333rem;
    height: 1.97333rem;
    background-image: url("../img/title.png");
}
.egg li {
    position: relative;
    float: left;
    width: 1.68rem;
    height: 2.61333333rem;
    margin: 0.13333333rem 0.22rem 0 1.1rem;
}
.egg li img {
    width: 1.68rem;
    height: 0.54666667rem;
}
.egg li img.goldegg {
    width: 1.46666667rem;
    height: 2.01333333rem;
}
.egg .info {
    display: none;
    position: absolute;
    left: -0.16rem;
    top: 0.33333333rem;
    width: 0.97333333rem;
    height: 0.58666667rem;
    background-image: url("../img/tips.png");
}
.egg li img.goldegg {
    position: relative;
    left: 0.13333333rem;
    top: 0.26666667rem;
    width: 1.46666667rem;
    height: 2.01333333rem;
    -o-transform-origin: center bottom;
    -ms-transform-origin: center bottom;
    -moz-transform-origin: center bottom;
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    -o-transition: .5s;
    -ms-transition: .5s;
    -moz-transition: .5s;
    -webkit-transition: .5s;
    transition: .5s;
}
.egg li img.jump {
    -o-animation: jump .5s infinite alternate;
    -ms-animation: jump .5s infinite alternate;
    -moz-animation: jump .5s infinite alternate;
    -webkit-animation: jump .5s infinite alternate;
    animation: jump .5s infinite alternate;
}
@keyframes jump {
    100% {
        top: 0.13333333rem;
    }
}
#info {
    position: absolute;
    left: 0.53333333rem;
    top: 1.53333333rem;
    width: 1rem;
    height: 0.53333333rem;
}
#hammer {
    position: absolute;
    left: 8.86666667rem;
    top: 0.8rem;
    width: 1.46666667rem;
    height: 1.6rem;
    background-image: url("../img/hammer.png");
    -o-transform-origin: right bottom;
    -ms-transform-origin: right bottom;
    -moz-transform-origin: right bottom;
    -webkit-transform-origin: right bottom;
    transform-origin: right bottom;
    -o-transition: 1s ease-in-out;
    -ms-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -webkit-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}
.shak {
    -o-animation: hammer-move 0.5s linear infinite alternate;
    -ms-animation: hammer-move 0.5s linear infinite alternate;
    -moz-animation: hammer-move 0.5s linear infinite alternate;
    -webkit-animation: hammer-move 0.5s linear infinite alternate;
    animation: hammer-move 0.5s linear infinite alternate;
}
@keyframes hammer-move {
    100% {
        -o-transform: rotate(-10deg);
        -ms-transform: rotate(-10deg);
        -moz-transform: rotate(-10deg);
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }
}
.hit {
    -o-animation: hammer-hit 0.2s 3 alternate;
    -ms-animation: hammer-hit 0.2s 3 alternate;
    -moz-animation: hammer-hit 0.2s 3 alternate;
    -webkit-animation: hammer-hit 0.2s 3 alternate;
    animation: hammer-hit 0.2s 3 alternate;
}
@keyframes hammer-hit {
    100% {
        -o-transform: rotate(-20deg);
        -ms-transform: rotate(-20deg);
        -moz-transform: rotate(-20deg);
        -webkit-transform: rotate(-20deg);
        transform: rotate(-20deg);
    }
}
/*规则背景色*/
#mask-rule .box-rule {
    background-color: #ffffff;
}
#mask-rule .box-rule .star {
    background-image: url("../img/star1.png");
}
.share-button {
    background-image:url("../img/share.png") ;
    position: fixed;
    right: 0;
    bottom: 4rem;
    height: 1.6rem;
    width: 3.73333rem;
}


#mask-share {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}


.dialog_box {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.6);
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    /*background: red;*/
}

.dialog_box .active {
    visibility: visible;
    transition: all 0.3s;
}

.share_dialog {
    width: 100%;
    height: 7.33333rem;
    border-radius: 0.53333rem 0.53333rem 0 0;
    position: relative;
    background-color: #FE2D2D;
}

.flex_1 {
    flex: 1;
}

.guid_arrow {
    background-image: url("../img/guide-arrow.png");
    position: absolute;
    top:0.5rem;
    right: 1.4rem;
    width: 1.0666667rem;
    height: 1.866667rem;

}

.share_title {
    font-size: 0.533333rem;
    font-family: PingFang SC;
    font-weight: bold;
    color: white;
    text-align: center;
    line-height: 1.333333rem;
}

.close-share {
    width: 0.7rem;
    height: 0.7rem;
    padding: 0.13333rem;
    position: absolute;
    right: 0.4rem;
    top: 0.4rem;
    background-image: url("../img/close-share.png");
}

.share_scroll {
    height: 9.33333rem;
    padding:0.266667rem 0.4rem ;
    margin: 0.26667rem auto;
    width: 90vw;
    background-color: #FEE6E6;
    border-radius: 0.533333rem 0.53333rem 0 0;

}

.close-img {
    width: 0.32rem;
    height: 0.32rem;
    padding: 0.13333rem;
    position: absolute;
    right: 0.4rem;
    top: 0.4rem;
}

.share-item {
    background-color: white;
    margin: 0.266667rem 0.266667rem 0 0.266667rem ;
    border-radius: 0.266667rem;
    height: 1.8666667rem;
    display: flex;
}

.share-img {
    width: 1.1733333rem;
    height: 1.1733333rem;
    margin: 0.32rem 0.26667rem;
}

.share-button-item {
    width: 20vw;
    display: flex;
    align-items: center;
}

.custom-button {
    background-color: #FE2D2D;
    border-radius: 0.4266667rem;
    border: #FE2D2D 0 solid;
    height: 0.8533333rem;
    width: 2.133333rem;
    color: white;
    font-size: 0.373333rem;
    /*align-items: center;*/
}

.share-info {
    margin-top: 0.4rem;
    display: flex;
    flex-direction: column;
    width: 55%;

}

.share-info-text {
    color: #333;
    font-size: 0.4266667rem;
}

.share-info-desc {
    color: #999;
    font-size: 0.34666667rem;
}

