@import "common.css";
@import "pop.css";
@import "ani.css";

body, html {
    width: 100%;
    height: 100%;
    -webkit-tap-highlight-color: transparent;
    margin: 0 auto;
}

input[type="text"] {
    border: none;
    outline: none;
    box-shadow: none;
    line-height: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0;
}

input[type="text"]:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
}



.container {
    margin: 0 auto;
    position: relative;
    text-align: center;
    word-break: break-all;
}

/*.fontSong {*/
/*    font-family: cusong;*/
/*}*/

.header {
    width: 100%;
    height: 13rem;
    padding-top: 11rem;
    margin: 0 auto;
    /* overflow: hidden; */
    position: relative;
    font-size: 0.22rem;
    color: #733b1a;
}

.login_box, .logout_box {
    width: 100%;
    height: 0.6rem;
    line-height: 0.6rem;
    text-align: center;
    font-family: 'hyqh45', 'simSun';
}

.login_wrap a {
    color: #733b1a;
    text-decoration: underline;
    display: inline-block;
}

.logo {
    width: 1.44rem;
    height: 1.03rem;
    background: url(../img/logo.png) no-repeat 0/cover;
    display: block;
    position: absolute;
    top: 0.3rem;
    right: 0;
}

.slogan {
    top: 5.9rem;
    left: 50%;
    margin-left: -7.97rem;
    background-image: url("../img/slogan.png");
    width: 15.94rem;
    height: 3.87rem;
}

.enter {
    background: url(../img/btn_part.png) no-repeat 0/cover;
    width: 3.69rem;
    height: 1.1rem;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.1s ease-in-out;
    will-change: transform;
}

.enter.disabled {
    filter: grayscale(100%);
    pointer-events: none;
}

.wrap {
    width: 100%;
    height: 73.04rem;
    /* overflow: hidden; */
    background: #f9ecd3 url(../img/bg.jpg) no-repeat top center/100%;
}

.main{
    width: 12.00rem;
    margin: 0 auto 0;
}

.tit {
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center center;
    height: 2.3rem;
}


.list-content {
    height: 15.1rem;
}

.list-content .tit {
    background-image: url("../img/tit1.png");
}

.filter-box {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-box .sort {
    display: flex;
    align-items: center;
}
.sort a {
    width: 1.17rem;
    height: 0.5rem;
    background: url(../img/tabs.png) no-repeat -1.29rem 0/2.46rem;
    margin-right: 0.18rem;
}

.sort a.on {
    background-position-x: 0;
}

.filter-box .sort a:nth-child(2) {
    background-position-y: -0.52rem;
}

.filter-box .search {
    background-image: url("../img/search_bg.png");
    width: 2.04rem;
    height: 0.45rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-box input {
    width: 1.66rem;
    height: 100%;
    font-size: 0.22rem;
    line-height: 0.32rem;
    color: #964e03;
    padding: 0 0.14rem;
    font-family: 'hydsj';
}

.filter-box input::placeholder {
    color: #964e03;
}

.filter-box .search-btn {
    display: inline-block;
    vertical-align: middle;
    width: 0.48rem;
    height: 100%;
    cursor: pointer;
}

.list-box {
    position: relative;
    width: 13.95rem;
    height: 10.71rem;
    margin-top: -.2rem;
    margin-left: -.97rem;
    padding: 1.2rem 1rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    background: url("../img/list-box-bg.png") no-repeat 0/cover;
}
.list-box::before{
    content: '';
    position: absolute;
    left: -2rem;
    bottom: -1.1rem;
    width: 2.83rem;
    height: 2.74rem;
    background: url("../img/zhuangs.png") no-repeat 0/cover;
}
.list-box:empty::after{content: '暂无数据';font-size: .18rem;text-align: center;width: 100%;position: absolute;left:0;color: #fbefd5;}
.list-box .item {
    width: 2.73rem;
    height: 4rem;
    background: url(../img/card.png) no-repeat 0/cover;
    padding: 0.4rem 0 0;
    margin-right: .3rem;
    margin-bottom: 0.29rem;
}

.list-box .item:nth-child(4n) {
    margin-right: 0;
}

.list-box .item .img-show {
    width: 2.32rem;
    height: 1.95rem;
    overflow: hidden;
    mask-image: url(../img/img-mask.png);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    position: relative;
    margin: 0 auto 0.04rem;
    background-color: #7e7e7e;
}

.list-box .item .img-show::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.32rem;
    height: 1.95rem;
    background: url("../img/img-show-cover.png") no-repeat 0/cover;
}

.list-box .item .img-show img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-box .item .img-show .tips {
    height: 0.35rem;
    width: 100%;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 0.18rem;
    line-height: 0.32rem;
    text-align: center;
    padding: 0 0.1rem;
    position: absolute;
    bottom: 0;
    left: 0;
}

.card-content-box {
    height: 1.36rem;
    padding: 0 0.18rem;
    line-height: 0.3rem;
    font-size: 0.2rem;
    color: #e54163;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-content-box .btn-box {
    width: 1.13rem;
    margin: 0.04rem auto 0;
}

.card-content-box .btn-box a {
    display: block;
    width: 1.13rem;
    height: 0.42rem;
}

.card-content-box .btn-box a.view-btn {
    background-image: url("../img/btn_view.png");
    margin-bottom: .1rem;
}

.card-content-box .btn-box a.vote-btn {
    background-image: url("../img/btn_vote.png");
}

.card-content-box .info-box {
    font-family: 'hydsj';
    width: 1.17rem;
    text-align: left;
    padding: 0 0;
    font-size: .16rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #b62406;
}

.card-content-box .info-box * {
    font-family: 'semi';
}

.pagination-box {
    margin-top: -0.1rem;
    font-size: 0.2rem;
    color: #d59478;
    user-select: none;
}

.pagination-box .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-box .page-num {
    display: inline-block;
    margin: 0.08rem;
    padding: 0 0.04rem;
    cursor: pointer;
    min-width: 0.4rem;
    height: 0.4rem;
    line-height: 0.38rem;
    text-align: center;
    font-size: 0.2rem;
    color: #7e4503;
    font-family: 'hydsj';
}

.pagination-box .page-num.current {
    color: #f9fefa;
    background-color: #7e4503;
    border-radius: 50%;
}

.pagination-box .page-numbers {
    min-width: 4rem;
    text-align: center;
}

.pagination-box .prev-btn, .pagination-box .next-btn {
    text-indent: -999em;
    overflow: hidden;
    background: url(../img/page_btns.png) no-repeat 0 0/auto 100%;
    width: 1.28rem;
    height: 0.36rem;
}

.pagination-box .next-btn {
    background-position-x: right;
}
.prize-content{
    position: relative;
    height: 26.34rem;
}
.prize-content::before{
    content: '';
    display: block;
    position: absolute;
    left: -3.6rem;
    bottom: -1.65rem;
    width: 6.19rem;
    height: 9.69rem;
    background: url("../img/role.png") no-repeat 0 0/auto 100%;
    pointer-events: none;
}
.prize-content .tit{
    height: 2.3rem;
    background-image: url("../img/tit2.png");
    margin: 0.65rem auto 0;
}
.prize-content .prize_s1{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.prize-content .prize_rank1,
.prize-content .prize_rank2,
.prize-content .prize_rank3,
.prize-content .prize_rank4{
    width: 5.44rem;
    height: 8.9rem;
    background: url("../img/prize_rank1/1.png") no-repeat 0 0/auto 100%;
    padding: 2.15rem .8rem 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-content: flex-start;
}
.prize-content .prize_rank2{
    background: url("../img/prize_rank1/2.png") no-repeat 0 0/auto 100%;
}
.prize-content .prize_rank3{
    background: url("../img/prize_rank1/3.png") no-repeat 0 0/auto 100%;
}
.prize-content .prize_rank4{
    background: url("../img/prize_rank1/4.png") no-repeat 0 0/auto 100%;
}
.prize-content .prize_img_box{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.26rem;
    margin-bottom: .05rem;
    background: url("../img/prize_img_bg.png") no-repeat 0 0/auto 100%;
    margin: 0 auto;
}
.prize-content .prize_rank3 .prize_img_box,
.prize-content .prize_rank4 .prize_img_box{
    width: 1.76rem;
    height: 1.4rem;
    background: url("../img/prize_img_bg2.png") no-repeat 0 0/auto 100%;
}
.prize-content .prize_img_box img{
    display: block;
    width: 1.6rem;
    height: 1.26rem;
}
.prize-content .prize_box:last-child{
    margin-top: .26rem;
}
.prize-content .prize_box .prize_name{
    font-size: .25rem;
    text-align: center;
    line-height: 1.5;
    margin-top: .05rem;
    font-weight: bold;
}
.prize-content .prize_rank1 .prize_box:first-child,
.prize-content .prize_rank2 .prize_box:first-child{
    margin-right: .2rem;
}
.prize-content .prize_rank1 .prize_name{
    color: #710000;
}
.prize-content .prize_rank2 .prize_name{
    color: #113345;
}
.prize-content .prize_rank3 .prize_name{
    color: #710000;
}
.prize-content .prize_rank4 .prize_name{
    color: #2e452a;
}
.prize_s2{
    display: flex;
    flex-wrap: wrap;
    width: 13.71rem;
    height: 4.17rem;
    background: url("../img/prize_s2_bg.png") no-repeat 0 0/auto 100%;
    margin-left: -.85rem;
    padding: .2rem 1.45rem .3rem;
}
.prize_left{
    width: 49%;
}
.s2_box{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.prize_right{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 5.47rem;
    height: 1.46rem;
    background: url("../img/prize_right_bg.png") no-repeat 0 0/auto 100%;
}
.ptize_ti1{
    width: 4.39rem;
    height: .9rem;
    background: url("../img/s2_ti1.png") no-repeat 0 0/auto 100%;
    margin: -.1rem auto 0;
}
.ptize_ti2{
    width: 3.3rem;
    height: .9rem;
    background: url("../img/s2_ti2.png") no-repeat 0 0/auto 100%;
    margin: -.1rem auto 0;
}
.ptize_tips{
    font-size: .24rem;
    color: #7b391a;
    margin-top: -.1rem;
}
.ptize_tips span{
    color: #c3290b;
}
.s2_prize{
    width: 17%;
}
.s2_prize:nth-child(1).w1{
    width: 1.18rem;
}
.s2_prize:nth-child(1).w1 img{
    width: 1.18rem;
    height: .56rem;
}
.s2_prize img{
    display: block;
    width: .65rem;
    height: .65rem;
    margin: 0 auto;
}
.s2_prize p{
    font-size: .18rem;
    color: #734028;
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
}



.rule-wrap {
    width: 100%;
}

.rule-wrap .tit {
    height: 2.3rem;
    background-image: url("../img/tit4.png");
    margin: 0 auto;
}

.rules-content {
    font-size: 0.26rem;
    color: #7e3f1b;
    text-align: left;
    margin-bottom: 0.24rem;
    /*font-family: 'hyqh45';*/
}

.rules-content li {
    margin-bottom: .22rem;
}

.rules-content h3 {
    font-size: 0.24rem;
    font-family: 'hydsj';
    font-weight: normal;
    margin: .1rem 0 .1rem;
    height: .32rem;
}

.rule-tit1 {
    background: url("../img/rule_tit1.png") no-repeat 0/ auto 100%;
    width: 1.47rem;
    text-indent: .08rem;
}

.rule-tit2 {
    background: url("../img/rule_tit3.png") no-repeat 0/ auto 100%;
    width: 1.47rem;
    text-indent: .25rem;
}
.rule-tit1 em,
.rule-tit2 em{
    line-height: 0.32rem;
    background: linear-gradient(to bottom, #ffee9b, #fffbec);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.rule_qr_box {
    text-align: center;
}

.rule_qr_box img {
    width: 2.4rem;
    margin: 0 auto;
}

.rules-content p, .rules-content span, .rules-content i {
    font-size: 0.2rem;
    line-height: 0.28rem;
    position: relative;
    z-index: 2;
}


/*.rules-content .t-line::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: -.01rem;*/
/*    height: .1rem;*/
/*    left: 0;*/
/*    right: 0;*/
/*    background: #ffdfa7;*/
/*}*/

.rules-content p {
    padding-left: 0.2rem;
}
.rules-content span {
    color: #cb2a05;
}
.rules-content span.col2 {
    color: #ff6e04;
}


.reward-table {
    width: 7.36rem;
    border-collapse: collapse;
    margin: .1rem auto .14rem;
    text-align: center;
}

.reward-table1 {
    width: 9.63rem;
}

.reward-table thead tr {
    background-color: #7e3f1b;
}

.reward-table th {
    border-right: 1px solid #fff4f4;
    padding: .10rem;
    color: #fff;
    font-weight: normal;
    text-align: center;
    font-size: .2rem;
}
.reward-table th:last-child{
    border-right: 1px solid #7e3f1b;
}

.reward-table td {
    border: 1px solid #7e3f1b;
    padding: .08rem 0;
    font-size: .2rem;
    height: .40rem;
}

.rule-wrap .block {
    display: block;
}

.rule-wrap .t-in {
    text-indent: .28rem;
}

.rule-wrap .mb {
    margin-bottom: .14rem;
}

.reward-table1 th:nth-child(1) {
    width: 2.52rem;
}

.rule-item .rule-item {
    margin-bottom: 0.1rem;
}

.rule-item p {
    padding-left: 0.28rem;
    line-height: 0.32rem;
}

.rule-item table {
    width: 80%;
    margin: 0.06rem auto;
    border-collapse: collapse;
}

.rule-item table th {
    font-weight: bolder
}

.rule-item table th,
.rule-item table td {
    border: 0.01rem solid;
    text-align: center;
    padding: 0.08rem 0;
}

.rule-item span {
    display: block;
    width: fit-content;
    height: 0.33rem;
    color: #fff;
    font-size: 0.22rem;
    line-height: 0.33rem;
    padding: 0 0.28rem;
    position: relative;
}

.rule-item span i {
    width: 0.33rem;
    height: 0.33rem;
    font-style: normal;
    position: absolute;
    background-position: -2.05rem -1.04rem;
    position: absolute;
    left: -0.16rem;
    top: 0rem;
    text-align: center;
}

.rule-item .porsche-rules {
    cursor: pointer;
    text-decoration: underline;
}

.sideMenu {
    width: 1.9rem;
    height: 3.88rem;
    background: url(../img/nav.png) no-repeat 0/100%;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.47rem;
    padding-left: .19rem;
    font-size: 0;
    box-sizing: border-box;
}

.sideMenu a {
    display: block;
    width: 1.58rem;
    height: 0.41rem;
    line-height: 0.41rem;
    text-align: center;
    margin: 0 auto .32rem;
    font-size: 0;
    text-indent: -9999rem;
    overflow: hidden;
}

.sideMenu a:hover, .sideMenu a.on {
    background: url(../img/nav_btns_on.png) no-repeat 0/1.58rem;
}

.sideMenu a:nth-child(1) {
    background-position-y: 0;
}
.sideMenu a:nth-child(2) {
    background-position-y: -0.75rem;
}
.sideMenu a:nth-child(3) {
    background-position-y: -1.48rem;
}
.sideMenu a:nth-child(4) {
    background-position-y: -2.22rem;
    margin: 0 auto .28rem;
}


.sideMenu img {
    margin-top: 0.06rem;
    width: 1.06rem;
    height: 1.06rem;
}

.sideMenu .back-top {
    width: 0.3rem;
    height: 0.3rem;
    cursor: pointer;
}


/* 置灰 */
.gray {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
}

.voteNum {
    display: inline-block;
    vertical-align: bottom;
    position: relative;
    /* 添加过渡效果，让数值变化更平滑 */
    transition: transform 0.2s ease;
}

.card-content-box .voteNum {
    max-width: 1rem;
    font-size: .18rem;
}

.voteNum.addAnimate {
    /* 点击时有轻微的上弹效果 */
    transform: translateY(-0.02rem);
}

.float-up {
    position: absolute;
    top: 0.04rem;
    right: 0;
    line-height: normal;
    font-size: 0.18rem;
    font-weight: bold;
    color: #ff6b6b;
    text-shadow: 0 0.01rem 0.02rem rgba(0, 0, 0, 0.1);
    pointer-events: none;
    user-select: none;
    z-index: 100;
    animation: floatUp .8s ease-out forwards;
    opacity: 1;
    text-indent: 0;
}

/* 定义浮起动画 */
@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }

    20% {
        opacity: 1;
        transform: translateY(-0.1rem) scale(1.1);
    }

    40% {
        opacity: 1;
        transform: translateY(-0.2rem) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-0.36rem);
    }
}

.save-tips {
    color: #fff;
    line-height: 0.5rem;
}