.relative_div{
    position: relative;
}
.btn_lottery{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2.42rem;
    height: 2.42rem;
}
.zIndex{
    position: relative;
    z-index: 3;
}
.wechat_div{
    animation: zoomIn 3s infinite;
}
.nun_list{
    text-align: center;
}
.nun_list img{
    width: 100%;
}
.hide{
    display: none;
}
.winning_record{
    position: fixed;
    top: .5rem;
    right: 0;
    z-index: 6;
    background: #fee7bb;
    padding: 5px .2rem;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}


/* 放大缩小 */
@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(.9);
    }
    100% {
        transform: scale(1);
    }
}



.record-modal-overlay{display: none;}
            .record-modal-overlay.show { display: flex; }
            .record-modal {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 6rem;
                max-height: 70vh;
                background: #fff;
                border-radius: 0.24rem;
                padding: 0.5rem 0.3rem 0.4rem;
                overflow: auto;
                z-index: 1002;
            }
            .record-modal-close {
                position: absolute;
                top: 0.2rem;
                right: 0.2rem;
            }
            .record-modal-tit {
                text-align: center;
                font-size: 0.32rem;
                font-weight: bold;
                color: #333;
                margin-bottom: 0.2rem;
            }
            .record_section { margin-bottom: 0.2rem; }
            .record_tit { font-size: 0.26rem; color: #666; margin-bottom: 0.08rem; }
            .record_list { list-style: none; padding: .2rem; margin: 0; background: rgba(0,0,0,0.03);  }
            .record_list li,
            .record_scroll_list li {
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-size: 0.26rem;
                color: #666;
                line-height: 0.5rem;
                padding: 0 0.15rem;
            }
            
            .record_name { color: #333; }
            .record_prize { color: #333; }
            .record_scroll_wrap { height: 0.5rem; overflow: hidden; position: relative; }
            .record_scroll_list { list-style: none; padding: 0; margin: 0; position: absolute; width: 100%; }




.prize-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.prize-modal {
    position: relative;
    width: 6rem;
    background: #fff;
    border-radius: 0.24rem;
    padding: 0.5rem 0.4rem 0.6rem;
    text-align: center;
    animation: prizeModalIn 0.3s ease;
}

.prize-modal-close {
    position: absolute;
    top: -0.7rem;
    right: -0.1rem;
    width: 0.5rem;
    height: 0.5rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") no-repeat center;
    background-size: 0.4rem;
    cursor: pointer;
    z-index: 1;
}

.prize-modal-img {
    width: 2.4rem;
    height: 2.4rem;
    margin: 0 auto 0.3rem;
}

.prize-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.prize-modal-name {
    font-size: 0.3rem;
    color: #333;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.prize-modal-btn {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: linear-gradient(135deg, #ff6b35, #ff4444);
    color: #fff;
    font-size: 0.32rem;
    border-radius: 0.4rem;
    cursor: pointer;
}

.prize-modal-btn:active {
    opacity: 0.8;
}

@keyframes prizeModalIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}