html,
body {
    min-width: 320px;
    margin: 0;
    color: #323232;
    background: #f8f8f8;
    font: 12px Arial, "Microsoft YaHei", sans-serif;
}

body {
    padding: 0;
    -webkit-text-size-adjust: none;
}

.home-target-container,
.home-target-main {
    height: auto;
    min-height: 100%;
}

.home-target-container {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
}

.mod_searchbar_form {
    box-sizing: border-box;
}

.mod_searchbar_btn {
    padding: 0;
    border: 0;
    font-family: inherit;
}

.header-label .icon {
    background-image: url("../../images/mobile/target-home/header-label-1.png");
}

.header-label .icon.icon-2 {
    background-image: url("../../images/mobile/target-home/header-label-2.png");
}

.header-label .icon.icon-3 {
    background-image: url("../../images/mobile/target-home/header-label-3.png");
}

.home-quick-section {
    padding: 0 10px 10px;
    background: #f7f7f7;
}

.home-quick-list {
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.home-quick-list .u-lott-pic img {
    width: 55%;
    border-radius: 50%;
}

.banner-content .swiper-container {
    height: auto;
}

.banner-content .swiper-slide,
.banner-content .swiper-slide a,
.banner-content .swiper-slide img {
    display: block;
    width: 100%;
}

.banner-content .swiper-slide img,
.banner-content .guide img {
    max-width: 100%;
    border-radius: 10px;
}

.banner-content .swiper-pagination {
    display: none;
}

#published {
    margin: 5px 15px 0 !important;
    background-image: url("../../images/mobile/target-home/newest_bg.png");
}

#published .lott-list {
    height: 130px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

#divLottery {
    height: 130px;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

#divLottery li {
    display: inline-block;
    float: none;
    width: 93px;
    height: 130px;
    vertical-align: top;
    white-space: normal;
}

#divLottery li .m-lott-pic {
    width: 70px;
    margin: 4px auto;
}

#divLottery li .m-lott-pic img {
    width: 70px;
    height: 70px;
    padding: 4px;
    object-fit: contain;
}

#divLottery li p {
    height: 17px;
    line-height: 17px;
}

#divLottery .m-lott-state {
    height: 20px;
    margin: 4px 0 10px;
    line-height: 20px;
}

#divLottery .u-user {
    display: block;
    padding: 0 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nav_scroll {
    box-sizing: border-box;
}

.home-products {
    background: #fff;
}

#ulRecommend {
    min-height: 0;
    padding: 0;
}

#ulRecommend::after {
    display: block;
    clear: both;
    content: "";
}

#ulRecommend > li {
    height: 255px;
    padding: 6px;
    background: #fff;
}

#ulRecommend > li .f_bor_tr {
    height: 243px;
    padding: 3px;
    overflow: hidden;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(129,129,129,.26);
}

#ulRecommend > li .m-tj-pic {
    width: 136px;
    height: 140px;
    box-sizing: border-box;
}

#ulRecommend > li .m-tj-pic img {
    display: block;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    object-fit: contain;
}

#ulRecommend .g-name {
    display: block;
    height: 20px;
    line-height: 20px;
    white-space: nowrap;
}

#ulRecommend .Progress-bar {
    height: 20px;
    line-height: 0;
}

#ulRecommend .u-progress {
    height: 5px;
    margin: 0;
}

#ulRecommend .u-progress .pgbar {
    overflow: hidden;
    background: #ffc626;
}

#ulRecommend .u-progress .pging {
    position: relative;
    background: #ffc626;
}

#ulRecommend .u-progress .pging::after {
    position: absolute;
    top: 0;
    left: -50%;
    width: 35%;
    height: 100%;
    content: "";
    background: linear-gradient(90deg,transparent,rgba(255,255,255,.75),transparent);
    animation: home-progress-shine 2.2s linear infinite;
}

@keyframes home-progress-shine {
    to { left: 120%; }
}

#ulRecommend .P-bar-txt {
    height: 15px;
    margin-top: 15px;
    line-height: 15px;
}

#ulRecommend .P-bar-txt .js-points-unit {
    color: #323232;
}

#ulRecommend .btn-wrap {
    box-sizing: border-box;
    height: 36px;
}

#ulRecommend .btn-wrap .price {
    max-width: calc(100% - 82px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#ulRecommend .btn-wrap a.buyNow {
    width: 65px;
    border-radius: 16px;
}

#ulRecommend .btn-wrap a.buyNow[data-submitting="1"] {
    opacity: .65;
    pointer-events: none;
}

#divGoodsLoading {
    clear: both;
    cursor: default;
}

#divGoodsLoading[data-state="error"] {
    color: #d33;
    cursor: pointer;
}

.home-footer-spacer {
    height: 48px;
}

.footerdi {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    max-width: 640px;
    height: 49px;
    margin: 0 auto;
    clear: both;
    background: #fff;
    border-top: 1px solid #eee;
}

.footerdi ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footerdi li {
    float: left;
    width: 20%;
}

.footerdi a {
    position: relative;
    display: block;
    width: 100%;
    height: 48px;
    padding-top: 4px;
    box-sizing: border-box;
    color: #666;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
}

.footerdi li.cur a {
    color: #f7c167;
}

.footerdi a i {
    position: relative;
    display: block;
    width: 26px;
    height: 26px;
    margin: 0 auto;
    background: url("../../images/mobile/target-home/footer_icon.png") no-repeat;
    background-size: 58px auto;
}

.footerdi li.f_home i { background-position: -2px 0; }
.footerdi li.f_home.cur i { background-position: -31px 0; }
.footerdi li.f_whole i { background-position: -1px -31px; }
.footerdi li.f_whole.cur i { background-position: -31px -30px; }
.footerdi li.f_jiexiao i { background-position: -2px -60px; }
.footerdi li.f_jiexiao.cur i { background-position: -32px -60px; }
.footerdi li.f_car i { background-position: -1px -89px; }
.footerdi li.f_car.cur i { background-position: -32px -89px; }
.footerdi li.f_personal i { background-position: 0 -119px; }
.footerdi li.f_personal.cur i { background-position: -30px -119px; }

#cartNum {
    position: absolute;
    top: -3px;
    right: 0;
    display: none;
    min-width: 16px;
    padding: 1px;
    box-sizing: border-box;
    color: #fff;
    font-size: 12px;
    font-style: normal;
    line-height: 14px;
    text-align: center;
    background: red;
    border-radius: 10px;
    transform: translateX(50%);
}

#service_bg.home-service-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
}

#service_bg.home-service-overlay[hidden] {
    display: none;
}

#service_info.home-service-dialog {
    position: fixed;
    display: block;
    top: 23%;
    right: 0;
    left: 0;
    width: 85%;
    max-width: 544px;
    margin: auto;
    padding-bottom: 20px;
    background: #fff;
    border-radius: 8px;
}

.home-service-dialog .server_title {
    margin: 0;
    color: #5c5c5c;
    font-size: 14px;
    line-height: 45px;
    text-align: center;
}

.home-service-dialog img {
    display: block;
    width: 180px;
    height: 287px;
    max-width: 80%;
    margin: 0 auto;
    object-fit: contain;
}

.pageDialogBG {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1500;
    display: none;
    min-width: 150px;
    padding: 12px 18px;
    color: #fff;
    text-align: center;
    background: rgba(0,0,0,.78);
    border-radius: 5px;
    transform: translate(-50%,-50%);
}

@media (min-width: 470px) {
    .m-tj-li li.widthli {
        width: 50% !important;
    }
}
