.main_head{
    position: fixed;
    z-index: 2;
    top: 0;
    background-color: #FFFFFF;
}

.head_title{
    width: auto;
    flex-grow: 1;
}

.main_head .head_nav{
    width: 100%;
    max-width: 7.5rem;
    height: 0.88rem;
    background: #ffffff;
}

.coupon_tips {
    text-align: right;
}
.coupon_tips a{
    font-size: 0.3rem;
    font-weight: 400;
    color: #00AF66;
    padding-right: 0.24rem;
}

/*领券中心*/
.input_search {
    margin: 0.1rem 0.24rem;
    height: 0.6rem;
    line-height: 0.6rem;
    background: #F7F7F7;
    border-radius: 0.3rem;
}

.input_search img{
    margin-left: 0.3rem;
    width: 0.28rem;
    height: 0.28rem;
}
.input_search input {
    padding-left: 0.1rem;
    font-size: 0.26rem;
    width: 85%;
    font-weight: 500;
    color: #999999;
    background: #F7F7F7;
}

.game_list {
    margin: 1.88rem 0.24rem 0 0.24rem;
}

.item{
    margin-top: 0.4rem;
}
.item_game {
    width: 100%;
    height: 1.3rem;
    display: flex;
    justify-content: center;
    position: relative;
}
.game_link {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: inline-block;
}

.item_game .geme_link{
    width: 100%;
    height: 1.3rem;
    padding: 0.2rem 0;
}

.item_game .icon {
    width: 1.3rem;
    display: inline-block;
}

.item_game .icon img {
    width: 100%;
    border-radius: 0.3rem;
}

.item_game .gameinfo {
    flex-grow: 1;
    margin: 0 0 0 0.2rem;
}


.item_game .gameinfo .title,
.item_game .gameinfo .tags{
    line-height: 0.3rem;
    height: 0.4rem;
}
.item_game .gameinfo .cate{
    line-height: 0.5rem;
    height: 0.5rem;
}

.item_game .gameinfo .title .text {
    color: #333333;
    font-size: 0.30rem;
    max-width: 4.3rem;
    display: inline-block;
    font-weight: bold;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: top;
}

.item_game .gameinfo .title .badge {
    display: inline-block;
    width: 0.8rem;
    height: 0.3rem;
    background-image: url("../images/list_label.png");
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    font-size: 0.2rem;
    color: #FFF000;
    line-height: 0.3rem;
}
.cate .i1 {
    font-size: 0.24rem;
    color: #999;
    overflow: hidden;
    white-space: nowrap;
    margin-right: 0.1rem;
    display: inline-block;
    max-width: 1.5rem;
}

.cate .i2 {
    font-size: 0.24rem;
    margin-right: 0.1rem;
    color: #FF876A;
    display: inline-block;
    max-width: 1.5rem;
    overflow: hidden;
    white-space: nowrap;
}
.tags {
    display: flex;
    width: 100%;
    align-items: center;
}
.game_label {
    margin-right: 0.1rem;
    margin-top: 0.05rem;
    padding: 0.01rem 0.1rem;
    font-size: 0.22rem;
    color: #FFFFFF;
    border-radius: 0.06rem;
    height: 0.33rem;
    overflow: hidden;
    white-space: nowrap;
    max-width: 1.2rem;
}
.tags div:nth-child(1) {
    background: #4DCBD6;
}
.tags div:nth-child(2) {
    background: #47BF8D;
}
.tags div:nth-child(3) {
    background: #59ABFD;
}

.item_game_coupon {
    margin-top: 0.3rem;
    white-space: nowrap;
    overflow-x: auto;
    width: auto;
    border-radius: 0.1rem;
}

::-webkit-scrollbar {
    /* 隐藏滚动条，但依旧具备可以滚动的功能 */
    display: none
}

.scroll_coupon {
    width: 2.4rem;
    height: 1rem;
    position: relative;
    display: inline-block;
    background-image: url(../images/coupon.png);
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 0.1rem;
}
.received {
    background-image: url(../images/coupon_received.png);
}
.start_margin {
    margin-right: 0.24rem;
}

.coupon_info {
    position: absolute;
    top: 0rem;
    height: 1rem;
    line-height: 1rem;
    width: 1.9rem;
    text-align: center;
}

.coupon_price {
    display: flex;
    height: 0.5rem;
    line-height: 0.5rem;
    justify-content: center;
}

.price_sign {
    margin-top: 0.15rem;
    height: 0.5rem;
    font-size: 0.26rem;
    font-weight: 500;
    color: #FFFFFF;
}

.coupon_amount {
    margin-left: 0.02rem;
    margin-top: 0.1rem;
    height: 0.5rem;
    font-size: 0.38rem;
    font-weight: 400;
    color: #FFFFFF;
}

.min_pay_amount {
    height: 0.5rem;
    line-height: 0.5rem;
    font-size: 0.22rem;
    font-weight: 500;
    color: #FFF4F2;
    text-align: center;
}


/*我的代金券*/
.my_item {
    height: 0.8rem;
    width: 7.5rem;
    border-bottom: 0.01rem solid #E6E6E6;
}
.my_item ul{
    height: 0.8rem;
    width: 7.5rem;
    display: flex;
    align-items: center;
    background: #ffffff;
}

.my_item a {
    font-size: 0.3rem;
    font-weight: 500;
    color: #333333;
    text-decoration:none;
    position:relative;
    padding:0.2rem;
}
.my_item a:after{
    content: "";
    height: 0.04rem;
    background: #00AF66;
    position: absolute;
    bottom: 0;
    transition: all .2s;
}
.my_item a.active{color: #00AF66;}
.my_item a.active:after{
    left: 25%;
    width: 50%;
}
.my_item li{
    width: 33.33%;
    text-align: center;
}

.coupon_list,.coupon_list_use,.coupon_list_over{
    margin: 1.68rem 0.24rem 0.3rem;
}
.item_coupon{
    padding-top: 0.32rem;
    display: flex;
    align-items: center;
}
.price_bg{
    width: 2.28rem;
    height: 1.2rem;
    background-image: url(../images/details_cash_bg1.png);
    background-size: contain;
    background-repeat: no-repeat;
    text-align: center;
}
.price_over{
    background-image: url(../images/details_cash_bg3.png);
}
.face_price{
    margin-top: 0.16rem;
    font-size: 0.42rem;
    font-weight: 700;
    color: #ffffff;
}
.face_price span{
    font-size: 0.28rem;
    font-weight: 700;
    text-align: left;
    color: #ffffff;
}
.pay_amount{
    font-size: 0.24rem;
    font-weight: 500;
    text-align: center;
    color: #fefefe;
}
.des_bg{
    flex-grow: 1;
    height: 1.2rem;
    background-image: url(../images/details_cash_bg2.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.des_over{
    position: relative;
    background-image: url(../images/details_cash_bg4.png);
}
.des_over img{
    position: absolute;
    width: 0.88rem;
    height: 0.88rem;
    right: 0;
    margin-top: -1rem;

}
.use_range{
    margin: 0.25rem 0.2rem 0;
    font-size: 0.24rem;
    font-weight: 700;
    text-align: left;
    color: #333333;
    max-width: 4.4rem;
}
.use_time{
    margin: 0.1rem 0.2rem 0;
    font-size: 0.24rem;
    font-weight: 500;
    text-align: left;
    color: #666666;
}

/* 弹框 */

.pop_box {
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 99
}

.pop_box img {
    width: 100%;
}

.com_pop {
    width: 5.30rem;
    height: 4.86rem;
    background: #FFFFFF;
    border-radius: 0.2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.com_pop_title{
    width: 5.3rem;
    height: 0.8rem;
    line-height: 0.8rem;
    background: #00AF66;
    border-radius: 0.2rem 0.2rem 0 0 ;
    text-align: center;
}
.com_pop_title img{
    width: 0.36rem;
}
.com_pop_title span{
    margin-left: 0.1rem;
    font-size: 0.34rem;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 0.36rem;
}
.com_pop_content{
    margin: 0.4rem 0.33rem 0.3rem;
    font-size: 0.24rem;
    font-weight: 400;
    color: #000000;
    line-height: 0.42rem;
}
.com_pop_btn{
    border-top: 0.01rem solid #E6E6E6;
    border-radius: 0.2rem;
    font-size: 0.34rem;
    font-weight: 400;
    color: #999999;
    line-height: 0.8rem;
    text-align: center;
}
.hidden {
    display: none;
}