* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-text-size-adjust: none;
    box-sizing: border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
}

body,p,form,input,button,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6 {
    margin: 0;
    padding: 0;
    list-style: none;
}

html,body{
    font-family: "Microsoft YaHei",Arial,Helvetica,sans-serif;
    font-size: 14px;
    line-height: 1.5em;
    overflow:scroll;
    -webkit-overflow-scrolling:touch;
}

*:not(input) {
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
}

input:focus,select:focus,textarea:focus,button:focus {
    outline: none;
}

img {
    border: none;
    max-width: 100%;
}

img,input {
    vertical-align: middle;
}

a {
    text-decoration: none;
    -webkit-touch-callout: none;
}

.clearfix:before, .clearfix:after {
    display: table;
    content: " ";
}
.clearfix:after {
    clear: both;
}

.pull-right {
    float: right!important;
}

.pull-left {
    float: left!important;
}

html, body {
    background: #fff;
    height: 100%;
    font-family: "Microsoft YaHei","微软雅黑","宋体",Arial,Helvetica,sans-serif;
    font-size: 14px;
    line-height: 1.5em;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: "liga","kern";
    -moz-user-select: none;
}

.wrapper{
    position: relative;
    width: 100%;
    min-height: 100%;
}


/* 主页 */
.home{
    background: #cc1b00;
    width: 100%;
    height: 100%;
}
.home-bg{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 1;
}
.home-content{
    position: relative;
    z-index: 2;
    min-height: 100%;
}
.home-notice{
    position: relative;
    background: #ff7033;
    height: 0.55rem;
    line-height: 0.6rem;
    color: #fff;
    padding: 0 0.2rem;
    font-size: 12px;
    z-index: 9;
}
.home-notice img{
    position: absolute;
    top: 9px;
    width: 0.3rem;
    height: 0.23rem;
}
.home-btn-my{
    display: block;
    position: absolute;
    right: 0.2rem;
    top: 0.2rem;
    z-index: 8;
}
.home-btn-my img{
    width: 0.9rem;
    height: 1.84rem;
}
.home-text-1{
    width: 100%;
    padding-top: 4rem;
    text-align: center;
    color: #cc1300;
    font-size: 14px;
}
.home-btn-go{
    display: block;
    background: url(../images/home-btn-1.png) no-repeat;
    background-size: 3.05rem 0.95rem;
    width: 3.05rem;
    height: 0.95rem;
    line-height: 0.85rem;
    margin: 0.3rem auto 0 auto;
    text-align: center;
    color: #fff;
    font-size: 0.36rem;
}
.home-text-2{
    margin: 1.25rem 0 0 0;
    text-align: center;
}
.home-text-2 span{
    display: inline-block;
    background: #d10d0d;
    height: 0.54rem;
    line-height: 0.54rem;
    padding: 0 10px;
    border-radius: 0.27rem;
    color: #ffc799;
    font-size: 12px;
}
.home-text-3{
    margin: 3rem 0 0 0;
    text-align: center;
}
.home-text-3 a{
    font-size: 0.32rem;
    color: #ffdcb7;
}

/* 活动规则 */
.rule-list{
    padding: 15px;
    background: #cc1b00;
}
.rule-list li{
    margin-bottom: 10px;
    color: #ffdcb7;
    font-size: 14px;
}
.rule-list li span{
    color: #fff;
    font-weight: 600;
}


/* 拜年 */
.user-search{
    background: #f0f0f0;
    padding: 0.25rem;
    text-align: center;
}
.user-search .search-box{
    position: relative;
    height: 0.68rem;
    line-height: 0.68rem;
}
.user-search .search-box input{
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    background: #fff;
    border-radius: 2px;
    padding: 0 5px;
    width: 100%;
    height: 0.68rem;
    line-height: 0.68rem;
    text-align: left;
    border: none;
    box-shadow: none;
    outline: none;
    z-index: 1;
    font-size: 14px;
}
.user-search .search-box .icon-search{
    position: relative;
    display: inline-block;
    background: url(../images/icon-search.png) no-repeat;
    width: 0.38rem;
    height: 0.38rem;
    background-size: 100%;
    z-index: 2;
    vertical-align: middle;
}
.user-search .search-box span{
    position: relative;
    z-index: 2;
    font-size: 0.32rem;
    color: #999;
}
.user-listing{

}
.user-listing .listing-item{
    display: flex;
    padding: 0.2rem;
}
.user-listing .listing-item img{
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 4px;
}
.user-listing .listing-item span{
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0 0 0 0.25rem;
    font-size: 0.36rem;
    border-bottom: 1px solid #eee;
}


/* 福卡详情 */
.fu-detail{
    background: #990000;
    height: 100%;
}
.fu-detail-text-1{
    padding-top: 0.3rem;
    text-align: center;
    font-size: 0.28rem;
    color: #ff7a66;
}
.fu-detail-box{
    padding: 0.3rem 0.75rem 0 0.75rem;
}
.fu-detail-btn{
    margin-top: 0.5rem;
    text-align: center;
}
.fu-detail-btn a{
    display: inline-block;
    height: 0.8rem;
    line-height: 0.8rem;
    padding: 0 0.5rem;
    border-radius: 5px;
    background: #cc1b00;
    color: #fff;
    font-size: 0.36rem;
}

.fu-box{
    position: relative;
    width: 6.01rem;
    height: 8.01rem;
}
.fu-box .fu-bg{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.fu-box .fu-content{
    position: relative;
    z-index: 2;
    padding-top: 0.6rem;
}
.fu-box .fu-title{
    display: block;
    margin: 0 auto 0;
    width: 3.8rem;
    height: 1.8rem;
}
.fu-box .fu-avatar{
    display: block;
    margin: 0.1rem auto 0;
    width: 0.98rem;
    height: 0.98rem;
    border-radius: 50%;
}
.fu-box .fu-text{
    margin-top: 3.5rem;
    text-align: center;
    font-size: 0.32rem;
    color: #ffc799;
}


/* 领红包 */
.mask-layer{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    z-index: 9;
}
.popup-box{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    padding-top: 1rem;
    z-index: 10;
}
.popup-action{
    margin-top: 0.3rem;
    text-align: center;
}
.popup-action img{
    width: 0.66rem;
    height: 0.66rem;
    border-radius: 50%;
}

/* 未打开红包 */
.hongbao-box .hongbao-content2{
    position: relative;
    z-index: 2;
    padding-top: 2.2rem;
}
.hongbao-box .hongbao-btn-open{
    display: block;
    margin: 0.1rem auto 0;
    width: 1.48rem;
    height: 1.48rem;
    border-radius: 50%;
}
.hongbao-box .hongbao-btn-open.opening{
    -webkit-animation: turn 2s infinite;
    -moz-animation: turn 2s infinite;
    animation: turn 2s infinite;
}
.hongbao-box .hongbao-text-4{
    margin-top: 1rem;
    text-align: center;
    font-size: 16px;
    color: #ff7a66;
    text-align: center;
}
.hongbao-box .hongbao-text-5{
    margin-top: 0.3rem;
    text-align: center;
    font-size: 20px;
    color: #ffe7c5;
    text-align: center;
}

.hongbao-box{
    position: relative;
    width: 6.02rem;
    height: 8.01rem;
    margin: 0 auto;
    z-index: 999;
}
.hongbao-box .hongbao-bg{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hongbao-box .hongbao-content{
    position: relative;
    z-index: 2;
    padding-top: 0.6rem;
}
.hongbao-box .hongbao-avatar{
    display: block;
    margin: 0.1rem auto 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
}
.hongbao-box .hongbao-user{
    margin-top: 0.2rem;
    text-align: center;
    font-size: 0.28rem;
    color: #353535;
}
.hongbao-box .hongbao-text-1{
    margin-top: 0.35rem;
    text-align: center;
    font-size: 0.6rem;
    color: #d10d0d;
}
.hongbao-box .hongbao-text-2{
    margin-top: 0.45rem;
    text-align: center;
    font-size: 0.6rem;
    color: #d10d0d;
}
.hongbao-box .hongbao-text-3{
    margin-top: 0.3rem;
    text-align: center;
    font-size: 12px;
    color: #e08b4b;
}
.hongbao-box .hongbao-btn-go{
    display: block;
    background: url(http://imgcdn.mijian360.com/Data/Uploads/2019/0201/5c53f98e26088.png) no-repeat;
    width: 4.6rem;
    height: 1.05rem;
    line-height: 1rem;
    background-size: 100% auto;
    margin: 1.5rem auto 0;
    font-size: 14px;
    color: #fff;
    text-align: center;
}

/* 打开红包动画 */
@-webkit-keyframes turn {
    to {
        -webkit-transform: rotateY(360deg);
        -moz-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }
}

@keyframes turn {
    to {
        -webkit-transform: rotateY(360deg);
        -moz-transform: rotateY(360deg);
        transform: rotateY(360deg);
    }
}


/* 福卡列表 */
.fu-list{
    padding: 0.25rem 0.2rem;
}
.fu-list-item{
    float: left;
    display: inline-block;
    width: 32%;
    margin: 0 2% 2% 0;
    text-align: center;
    background: url(../images/fu-item-bg.png?v=1549114488) no-repeat;
    height: 160px;
    background-size: 100%;
}
.fu-list-item.used{
    background: url(../images/fu-item-bg-used.png) no-repeat;
    background-size: 100%;
}
.fu-list-item:last-child{
    margin-right: 0;
}
.fu-list-item:nth-child(3n){
    margin-right: 0;
}
.fu-list-item .fu-item-bg{
    width: 100%;
    height: auto;
}
.fu-list-item .fu-item-avatar{
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    top: 90px;
}
.fu-list-item .fu-item-text{
    position: relative;
    top: 90px;
    font-size: 14px;
    color: #ffc799;
}


/* 选商品 */
.prize-box{
    position: relative;
    width: 6rem;
    height: 8rem;
    margin: 0 auto;
    z-index: 999;
}
.prize-box .prize-bg{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.prize-box .prize-content{
    position: relative;
    z-index: 2;
    padding-top: 0.6rem;
}
.prize-box .prize-img{
    display: block;
    margin: 2rem auto 0;
    width: 2.52rem;
    height: 2.58rem;
}
.prize-box .prize-text-1{
    margin-top: 0.25rem;
    text-align: center;
    font-size: 0.3rem;
    color: #ff7a66;
}
.prize-box .prize-btn-go{
    display: block;
    background: url(../images/prize-btn-1.png) no-repeat;
    width: 3.6rem;
    height: 0.8rem;
    line-height: 0.8rem;
    background-size: 100% auto;
    margin: 0.25rem auto 0;
    font-size: 0.36rem;
    color: #b14b00;
    text-align: center;
}


/* 金猪兑换 */
.exchange{
    background: #cc1b00;
    width: 100%;
    height: 100%;
}
.exchange-bg{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 1;
}
.exchange-content{
    position: relative;
    z-index: 2;
    min-height: 100%;
    padding-top: 5rem;
}
.exchange-btn-1{
    display: block;
    background: url(../images/exchange-btn-1.png) no-repeat;
    width: 5.64rem;
    height: 1.22rem;
    line-height: 1.26rem;
    background-size: 100% auto;
    margin: 0 auto 0 auto;
    padding-left: 1.8rem;
    text-align: center;
    font-size: 0.36rem;
    color: #fff;
}
.exchange-text-1{
    display: block;
    text-align: center;
    margin: 0.2rem 0 0 0;
    font-size: 0.3rem;
    color: #ff7a66;
}
.exchange-items{
    padding: 0.25rem;
}
.exchange-item{
    position: relative;
    float: left;
    display: block;
    width: 2.2rem;
    margin: 0 0.1rem 0.15rem 0;
}
.exchange-item:last-child{
    margin-right: 0;
}
.exchange-item img{
    width: 100%;
    height: auto;
}
.exchange-item .exchange-item-btn{
    display: inline-block;
    position: absolute;
    left: 0.35rem;
    bottom: 0.2rem;
    background: #ffdeb9;
    font-size: 12px;
    color: #b14b00;
    text-align: center;
    height: 0.44rem;
    line-height: 0.44rem;
    width: 1.5rem;
    border-radius: 0.22rem;
}
.exchange-item .exchange-item-btn.active{
    background: none;
    border: 1px solid #ffdeb9;
    color: #ffdeb9;
}
.btn-use{
    display: block;
    margin: 0.3rem auto 0;
    width: 2.6rem;
    height: 0.8rem;
    line-height: 0.8rem;
    font-size: 0.36rem;
    color: #fff;
    background: #cc1b00;
    border-radius: 5px;
    text-align: center;
}

.swiper-container{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    -webkit-perspective: 1200px;
    -moz-perspective: 1200px;
    -ms-perspective: 1200px;
    perspective: 1200px
}

.swiper-wrapper {
    margin-top: 1rem;
    margin-left: 0.35rem;
}

.swiper-slide {
    width: 80%;
    margin-right: 10%;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d
}
.container {
    width: 100%;
    float: left;
    display: inline-block;
    overflow: hidden;
    box-sizing: border-box;
    height: 0.55rem;
    position: relative;
    cursor: pointer;
    margin: 0 0 0 25px;
}
.marquee,
*[class^="marquee"] {
    display: inline-block;
    white-space: nowrap;
    position: absolute;
}

.marquee { margin-left: 0; }

.marquee-content-items {
    display: inline-block;
    padding: 0 5px;
    margin: 0;
    height: 0.55rem;
    position: relative;
}

.marquee-content-items li {
    display: inline-block;
    line-height: 0.55rem;
    color: #fff;
    margin-right: 5px;
}

.marquee-content-items li:after {
    margin: 0 1em;
}
.load-more{
    text-align: center;
}
.load-more .load-btn{
    display: block;
    width: 100%;
    color: #999;
    padding: 10px;
}
.back-home{
    text-align: center;
    margin-top: 20px;
}
.back-home a{
    color: #ff7a66;
}


@media screen and (max-width: 320px) {
    html, body {
        font-size: 12px;
    }
}

@media screen and (min-width: 410px) {
    html, body {
        font-size: 16px;
    }
}