.main {
    background-color: #f8f9fa;
    /* height: calc(100vh - 4.0625rem); */
}
html{
    background-color: #f8f9fa;
}
.wheel-wrap {
    width: 100%;
    max-width: 75rem;
    box-sizing: border-box;
    padding: 0 30px;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 2fr 1fr;
    margin: 5rem auto 0;
}

.wheel-banner {
    width: 100%;
    height: 300px;
    background: #333333;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wheel-banner h1 {
    color: #fff;
    font-size: 3.5rem;
}

.wheel-banner p {
    font-size: 1.5rem;
    line-height: 30px;
    margin: 5px 0px;
}

.card{
    padding: 1.85rem;
}
.info-wrap{
    padding: 2rem;
    background-color: #fff;
    border-radius: .5rem;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 5px 20px;
}
.user-info .top {
    display: flex;
}

.user-info .top img{
    width: 70px;
    height: 70px;
    margin-right: 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #1e88e5;
    display: block;
}

.user-info .top .top-r{
    margin-left: 1rem;
}

.user-info .top .top-r .username{
    font-weight: 700;
}

.user-info .top .top-r div:nth-child(2){
    color: #6c757d!important;
    font-size:.813rem;
}

.user-info .lottery{
    text-align: center;
    gap: 1rem;
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}
.user-info .lottery h2{
    text-align: left;
}
.user-info .lottery .lottery-draw{
    display: flex;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.2);
    padding: .5rem 1rem;
    border-radius: .2rem;
    color: #fff;
    font-size: .8rem;
}

.user-info .lottery-more{
    margin-top: 2rem;
}

.user-info .lottery-more .btns{
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.user-info .lottery-more .btns .btn{
    background-color: #0ea5e9;
    color: #fff;
}


.wheel-history {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    max-height: 550px;
    overflow-y: auto;
}

.wheel-history h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-empty {
    text-align: center;
    padding: 30px 0;
    color: #aaa;
}

.history-empty i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ddd;
}

.history-empty .sub-text {
    font-size: 14px;
    color: #bbb;
    margin-top: 10px;
}
.wrap{
    width: 100%;
    max-width: 75rem;
    box-sizing: border-box;
    padding: 0 30px;
    margin: 2rem auto 0;
}
.prize,.lucky-draw{
    width: 100%;
    max-width: 75rem;
    box-sizing: border-box;
    margin-top: 2rem;
}

.prize .title{
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.prize .con{
    margin-top: 2rem;
    text-align: center;
}

.prize .con img{
    width: 80%;
}

.rule-wrap{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rule-wrap .rule-item{
    display: flex;
}

.rule-wrap .rule-item .rule-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #0ea5e9;
    margin-right: 20px;
    flex-shrink: 0;
}

.rule-wrap .rule-item .r p{
    color: #666;
    margin-top: .5rem;
}

.lucky-draw{
    margin-bottom: 5rem;
}

.lucky-draw .title{
    font-weight: 700;
    font-size: 1.25rem;
}

.lucky-draw .upload {
    flex: 1;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
}

.lucky-draw .upload i {
    font-size: 2em;
    color: #0ea5e9;
    margin-bottom: 10px;
}

.lucky-draw .upload h4 {
    margin-bottom: 10px;
}

.lucky-draw .upload p{
    color: #666;
    margin-bottom: 15px;
}


/* 转盘主体 */
.turntable-wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.turntable{
    display: flex;
    justify-content: center;
}

.turntable-wrap .btns{
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.turntable-wrap .btns .btn{
    width: 10rem;
    color: #fff;
    background-color: #0ea5e9;
}

.turntable-wrap .btns .btn:disabled{
    opacity:0.7;
}

.turntable-wrap .btns .txt{
    font-size: .85rem;
    color: #666;
}

.canvas_box{
    overflow: hidden;
}
.canvas_box .can{
    position: relative;
}
#canvas_bg{
    position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;
}
.canvas_ani{
    animation: loading 90s linear 0s infinite;
}
@keyframes loading{
    0%{
        transform: rotate(0deg);
    }
    50%{
        transform: rotate(180deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
#pointer{
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 32px;
    height: 50px;
    margin: -56px 0 0 -16px;
}
#pointer_but{
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
}
@media (max-width: 768px) {
    .wheel-wrap{
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .prize .con img{
        width: 100%;
    }
}
