:root {
    --popText_color: #373229;
}

.close {
    width: 0.3rem;
    /*height: 0.23rem;*/
    right: 0;
    top: -0.3rem;
}

.pop_tips, .pop_rules, .pop_tips2, .pop_copyLink {
    /*background: url(../img/pop/tips_bg.png) no-repeat center center/100% 100%;*/
}

.pop_tips *, .pop_tips2 *, .pop_copyLink * {
    color: #2f2b23;
}

.pop_lottery {
    /*background: url(../img/pop/lottery.png) no-repeat center center/100% 100%;*/
    /*height: 6.73rem;*/
    /*padding: 0.95rem 0.25rem 0.65rem;*/
}

.pop_help {
    /*background: url(../img/pop/bg2.png) no-repeat center center/100% 100%;*/
    height: 6.73rem;
    /*padding: 0.4rem 0.25rem 0.25rem;*/
}

.pop_common2 {
    /*background: url(../img/pop/bg2.png) no-repeat center center/100% 100%;*/
    height: auto;
    /*padding: 0.4rem 0.25rem 0.25rem;*/

}

.pop_otherTreasures {
    /*background: url(../img/pop/bg_s.png) no-repeat center center/100% 100%;*/
    height: 3rem;
    /*padding: 0.4rem 0.25rem 0.25rem;*/
}

.pop_title_common > * {
    font-size: 0.32rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pop_help th {
    background: #a79678;
    /*color: #4d4739;*/
    top: -1px;
    padding: 0.15rem 0.05rem;
    border: 1px solid #b39e76;
}

.pop_help th:nth-of-type(2) {
    background: #a79678;
}

.pop_help td {
    color: var(--popText_color);
}

.pop_help td {
    border: 1px solid #b39e76;
    padding: 0.15rem 0.05rem;
}

.helpData_table {
    /*margin-top: 0.4rem;*/
    max-height: 5rem;
    overflow: auto;
}

.pop_lottery ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    row-gap: 0.1rem;
}

.pop_lottery ul li {
    background: url(../img/gift/bg.png) no-repeat center center/100% 100%;
    width: 1.7rem;
    height: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.pop_lottery ul li:nth-of-type(5) {
    background: url(../img/gift/bg_light.png) no-repeat center center/100% 100%;
}

.pop_lottery ul li img {
    width: 1.3rem;
    /*height: 0.9rem;*/
}

.pop_lottery ul li span {
    bottom: 0.05rem;
    right: 0.07rem;
    color: #594e36;
}

.pop_title {
    color: #eaead9;
    top: 0rem;
    left: 0;
    right: 0;
    text-align: center;
}

.pop_title p {
    max-width: 3.4rem;
    margin: 0 auto;
    /*    text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;*/
    padding-left: 0.1rem;
    display: inline-block;
    background: linear-gradient(to right, #ecd593, #e5c579, #a98f52);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pop_title_common span:before {
    background: url(../img/pop/arrow.png) no-repeat center center/100% 100%;
    content: "";
    width: 0.14rem;
    height: 0.1rem;
    display: inline-block;
    top: 0.15rem;
    left: -0.2rem;
    /*position: absolute;*/
    transform: rotate(180deg);
    margin-right: 0.1rem;
}

.pop_title_common span:after {
    background: url(../img/pop/arrow.png) no-repeat center center/100% 100%;
    content: "";
    width: 0.14rem;
    height: 0.1rem;
    display: inline-block;
    top: 0.15rem;
    right: -0.2rem;
    /*position: absolute;*/
    margin-left: 0.1rem;
}

.ja .pop_title_common span:before {

}

.ja .pop_title_common span:after {

}

.active1 {
    border: 1px solid #ffffff;
    background: #d57d56 !important;
    filter: contrast(1);

    /*box-shadow: 0 0 10px #ffffff, 0 0 10px #ffffff;*/
    /*outline: 1px solid white;*/
}

.active1 span {
    color: #fff !important;
}

.active_white {
    width: 1.7rem;
    height: 1.7rem;
    background: #f9fdff3d;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #ffffff85;
}

.border_white {
    border: 1px solid #ffffff85;
}

.active_white:hover {
    /*-webkit-mask-position: 0 0;*/
}

.has-active {
    animation: tada 1s;
}

@keyframes tada {
    0% {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
    10%, 20% {
        -webkit-transform: scale3d(.98, .98, .98) rotate(-2deg);
        transform: scale3d(.98, .98, .98) rotate(-2deg);
    }
    30%, 50%, 70%, 90% {
        -webkit-transform: scale3d(1.02, 1.02, 1.02) rotate(2deg);
        transform: scale3d(1.05, 1.02, 1.02) rotate(2deg);
    }
    40%, 60%, 80% {
        -webkit-transform: scale3d(1.02, 1.02, 1.02) rotate(-2deg);
        transform: scale3d(1.05, 1.02, 1.02) rotate(-2deg);
    }
    100% {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
}

.other_treasures {
    background: url(../img/gift/bg.png) no-repeat center center/100% 100%;
    width: 1.24rem;
    height: 1.24rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.other_treasures.active {
    background: url(../img/gift/bg_active.png) no-repeat center center/100% 100%;

}

.pop_craftingSuccessful .other_treasures {
    margin: 0.2rem 0 0 0.2rem;
}

.other_treasures img {
    /*width: 0.98rem;*/
    width: 76%;
    height: 67%;
    object-fit: contain;
}

.other_treasures span {
    bottom: 0.05rem;
    right: 0.07rem;
    font-size: 0.21rem;
    color: #594e36;
}

.pop_common {
    color: var(--popText_color);
}

.pic_successful {
    background: url(../img/gift/bg_light.png) no-repeat center center/100% 100%;
    width: 2.28rem;
    height: 2.28rem;
    justify-content: center;
    margin: 0 auto 0.2rem;

}

.pic_successful img {
    width: 0.76rem;
    /*height: 1.18rem;*/
}

.pic_successful span {
    right: 0.1rem;
    bottom: 0.1rem;
    font-size: 0.3rem;
    color: #e3e1e1;
}