* {
    font-family: Source Han Sans CN !important;
}

body,
html {
    overflow-x: hidden;
}

.header .logo {
    display: none;
}

.header .h5_bg {
    width: 100%;
    height: 2.08rem;
    background: url(../assets/images/f0f2e0eb-c6e2-4977-9bff-bf9058b951a4.png) no-repeat center top;
    background-size: cover;
}

.layout {
    width: inherit;
}

.logo_box {
    width: 95%;
    margin-top: .4rem;
}

.logo {
    margin-top: 0;
}

.login {
    width: 95%;
    padding: .25rem 0 .8rem 0;
}

.main {
    width: 95%;
    padding: .25rem;
}

.logo_left img {
    width: 1rem;
    height: auto;
    display: block;
}

.logo_left {
    width: auto;
}

.logo_text {
    line-height: .17rem;
    margin-left: .15rem;
    margin-top: .18rem;
}

.logo_left .logo_text p {
    font-weight: 600;
    font-size: .35rem;
    color: #5c5c5c;
    font-family: Helvetica, Verdana, Arial, sans-serif;
}

.logo_left .logo_text span {
    font-size: .2rem;
    color: #888;
    font-family: Helvetica, Verdana, Arial, sans-serif;
}

.part1 .pt1_list ul {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    gap: 0 .14rem;
}

.part1 .pt1_list li {
    width: 2.1rem !important;
    height: 4rem !important;
    float: none !important;
    margin-right: 0 !important;
    margin-bottom: .3rem !important;
}

.part1 .pt1_list li:nth-child(3n) {
    /* margin-right: 0 !important; */
}

.part1 .pt1_list ul li .pt1_bck {
    width: 100%;
    height: 1.6rem;
}

.part1 .pt1_list ul li .pt1_bck img {
    width: 1rem;
}

.login p {
    font-size: .23rem;
}

.part1 p {
    font-size: .25rem;
}

.login a {
    line-height: .6rem;
    width: 2.7rem;
    height: .6rem;
    font-size: .3rem;
}

.pt1_list ul.clearfix:before {
    content: inherit;
    display: table;
}


.recharge-header {
    width: 95%;
}

.recharge-actions {
    flex-direction: column;
    margin-top: .16rem;

}

.record-btn,
.switch-btn {
    padding: .05rem .2rem;
    font-size: .17rem;
}

.gift-item .gift-img {
    height: 1.2rem;
}

.gift-title {
    font-size: .24rem;
    margin: 0.2rem 0 .06rem 0;
}

.gift-desc {
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    /* display: -webkit-box; */
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    white-space: normal;
    transition: all 0.3s;
    max-height: 4.5rem;
    /* 约4行 */
    user-select: none;
    font-size: .2rem;
    line-height: .3rem;
    height: 1.2rem !important;
    overflow-y: auto;
}

.gift-item.expanded .gift-desc {
    -webkit-line-clamp: unset;
    max-height: 2rem;
    overflow: visible;
}

.expand-arrow {
    display: inline-block;
    width: 0.1rem;
    height: 0.1rem;
    background: url('../assets/images/wangye3_02.png') no-repeat center/contain;
    flex-shrink: 0;
    align-self: flex-end;
    margin-bottom: 2px;
    display: none !important;
}

.gift-item.expanded .expand-arrow {
    transform: rotate(180deg);
}

.gift-price {
    width: 1.8rem;
    height: .45rem;
    background-color: #eff0f1;
    position: absolute;
    bottom: 5px;
    border-radius: 5rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    line-height: inherit;
    color: #f85737;
    font-size: .26rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon-info {
    font-size: .15rem;
    bottom: .7rem;
    position: absolute;
    color: #554646;
    display: block;
}

.recharge-tip {
    font-size: .18rem;
    margin-bottom: .08rem;
    color: #b8b8b8;
}

.recharge-tip .highlight {
    color: #f85737;
    font-weight: bold;
    font-size: .18rem;
}

.recharge-tip .coupon {
    font-size: .18rem;
}

.avatar {
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    margin-right: .18rem;
    object-fit: cover;
}

.role-detail span {
    font-size: .2rem;
}

.role-meta {
    font-size: .2rem;
    color: #888;
}

.logout-btn {
    background: none;
    border: none;
    color: #868686;
    font-size: .26rem;
    cursor: pointer;
    position: absolute;
    top: -1.35rem;
    right: 0;
    font-weight: bolder;
}

.logo_right {
    margin-left: .2rem;
}

.recharge-content {
    width: 5rem;
}

.part2 h3 {
    font-size: .26rem;
}

.part2 .quantity-selector {
    width: 2.7rem;
    display: flex;
    align-items: center;
    margin-top: .1rem;
    border: 1px solid #f85737;
    border-radius: 5rem;
    justify-content: space-evenly;
}

.switch-btn img {
    width: .18rem;
    position: absolute;
    right: .2rem;
    top: 50%;
    transform: translateY(-50%);
}

.quantity-selector button {
    width: .6rem;
    height: .6rem;
    font-size: .4rem;
    border: 0;
    background-color: #ffffff00;
    cursor: pointer;
    user-select: none;
}

.quantity-selector input[readonly] {
    border: 0;
    background-color: #f8f8f8;
    cursor: not-allowed;
    font-size: .26rem;
    height: .6rem;
    width: .8rem;
}

.payment-method {
    padding: 0 .6rem;
    height: .6rem;
}

.payment-icon img {
    width: .45rem;
    height: .45rem;
    vertical-align: middle;
}

.payment-method .payment-text {
    font-size: .26rem;
}

.payment-method .payment-new {
    color: #fff;
    font-size: .2rem;
    border-radius: .15rem;
    padding: .02rem .2rem;
}

.part3 .message .commodity,
.part3 .message .num {
    font-size: .18rem;
}

.part3 .message .commodity i,
.part3 .message .num i {
    font-size: .18rem;
}

.part3 .role .role-message {
    font-size: .18rem;
    color: #828282;
}

.part3 .role .total {
    font-size: .22rem;
}

.part3 .role .total i {
    font-size: .22rem;
}

.part3 .pay {
    width: 2.5rem;
    height: .65rem;
    line-height: inherit;
    font-size: .3rem;
    margin-top: .3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-message i {
    font-size: .18rem;
}

.part3 .pt3_box {
    padding: .2rem;
}

.part3 .message .commodity {
    margin-bottom: .2rem;
}

.part4 h3 {
    font-size: .26rem;
    margin-bottom: .2rem;
}

.part4 p {
    font-size: .22rem;
    line-height: .4rem;
    margin-bottom: .2rem;
}

.part4 .pt4_more a {
    font-size: .25rem;
}

.logo_right a {
    font-size: .25rem;
    width: 1.5rem;
    height: .5rem;
    background-color: white;
    border-radius: .5rem;
    line-height: .43rem;
}

.recharge-header-bar span {
    color: white;
    font-size: .2rem;
}

.recharge-header-bar {
    padding: .1rem .1rem;
}

.rebate-help-box {
    width: 6.2rem;
}

.rebate-help-modal {
    height: .55rem;
}

.modal-close {
    font-size: .3rem;
}

.rebate-help-modal h3 {
    font-size: .22rem;
}

.modal-content1 h3 {
    font-size: .25rem;
}

.modal-content1 p {
    font-size: .25rem;
}

.rebate-model-img div {
    font-size: .25rem;
}

.rebate-model-img .rebate-model-img1 {
    width: 5.6rem;
}

.rebate-model-img .rebate-model-img2 {
    width: 3.5rem;
}

.quantity-selector input {
    font-size: .25rem;
}

.double-tag {
    left: -0.1rem;
    top: -0.2rem;
}

.double-tag img {
    width: .7rem;
    height: .7rem;
}

.rebate-tag {
    right: -0.2rem;
    top: -0.3rem;
}

.rebate-bck {
    width: 1.1rem;
    height: .6rem;
}

.rebate-text {
    position: absolute;
    left: .22rem;
    top: -.1rem;
    line-height: .75rem;
    font-size: .2rem;
}

.rebate-text i {
    font-size: .2rem;
}

.item-own div {
    font-size: .26rem;
}

.item-own-box span {
    font-size: .26rem;
}

.item-own-box .item-own-num {
    padding: .01rem .8rem;
    margin-left: -.4rem;
}

.item-own-img {
    width: .4rem;
    height: .4rem;
}

#global-tips {
    width: 8rem;
    height: 1rem;
    line-height: .4rem;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, 0);
    background: url(../assets/images/showTips.png) no-repeat;
    background-size: 100% 100%;
    color: #fff;
    border-radius: .08rem;
    z-index: 9999;
    font-size: .28rem;
    max-width: inherit;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 1.2rem;
}

.notice-modal-top {
    width: 6.2rem;
}

.notice-help-moda-top {
    height: .55rem;
}

.notice-help-moda-top h3 {
    font-size: .22rem;
}

.modal-close {
    font-size: .3rem;
}

.modal-content-top h3 {
    font-size: .25rem;
}

.modal-content-top p {
    font-size: .25rem;
}

.modal-content-top-img img:nth-child(2) {
    width: 5.6rem;
}

.modal-content-top-img img:nth-child(3) {
    width: 3.5rem;
}

.phone-btn {
    width: 1rem;
    background: url(../assets/images/anniu1.png) no-repeat center top;
    height: .37rem;
    display: block;
    position: relative;
    outline: 0;
    border: 0;
    border-radius: .2rem;
    background-size: cover;
}

.phone-btn a {
    width: .94rem;
    background: #fff;
    border: 1px solid #f4f4f5;
    border-radius: .2rem;
    font-size: .17rem;
    color: #444;
    cursor: pointer;
    transition: border 0.2s;
    background-color: white;
    position: absolute;
    top: 0;
    display: block;
    height: .37rem;
    line-height: .35rem;
}

.role-modal {
    width: 6.2rem;
    height: 6.3rem;
}

.role-mode-box {
    height: .55rem;
}

.role-mode-box h3 {
    font-size: .22rem;
}

.role-modal-close {
    font-size: .3rem;
}

.role-avatar {
    width: 1rem;
    height: 1rem;
}

.role-name {
    font-size: .2rem;
}

.role-id {
    font-size: .2rem;
}

.role-id,
.role-server {
    font-size: 0.2rem;
}

.role-list {
    max-height: 4.7rem;
    height: 4.7rem;
}

.role-cancel-btn {
    width: 2.8rem;
    height: .55rem;
    font-size: .26rem;
}

.role-choose-btn {
    width: 2.8rem;
    height: .55rem;
    font-size: .26rem;
}

.recharge-record-modal {
    width: 6.2rem;
    padding-bottom: .8rem;
}

.modal-header {
    height: .55rem;
}

.modal-title {
    font-size: .22rem;
}

.tab-btn {
    padding: .08rem .5rem;
    margin: 0 .08rem;
    font-size: .2rem;
}

.record-item-empty {
    font-size: .22rem;
}

.total-amount {
    font-size: .25rem;
}

.total-amount .amount {
    font-size: .25rem;
}

.record-desc div {
    font-size: .2rem;
}

.login-modal {
    width: 6.5rem;
    padding: 1.2rem .32rem .5rem .32rem;
}

.login-modal-close {
    width: .25rem;
}

.login-modal-logo img {
    width: 3rem;
}

.login-modal-input::placeholder {
    font-size: .23rem;
}

.login-modal-input {
    height: .6rem;
    padding: 0 .12rem;
    font-size: .25rem;
}

.login-modal-code-btn {
    width: 1.5rem;
    height: .4rem;
    font-size: .22rem;
}

.login-modal-options label {
    font-size: .2rem;
}

.login-modal-options input[type="checkbox"] {
    height: .25rem;
    border-radius: 50%;
}

.login-modal-options input[type="checkbox"]::after {
    width: .14rem;
    height: .065rem;
}

.login-modal-options input[type="checkbox"] {
    width: .25rem;
    height: .25rem;
}

.login-modal-options a {
    font-size: .2rem;
}

.login-modal-login-btn {
    height: .7rem;
    margin-top: .2rem;
}

.login-modal-login-btn {
    font-size: .35rem;
}

.login-modal-more span {
    font-size: .22rem;
}

.login-modal-safe-login {
    height: .7rem;
}

.login-modal-safe-login span {
    font-size: .25rem;
}

.login-modal-safe-login img {
    width: .35rem;
}

.login-modal-more {
    margin: .5rem 0 0 0;
}

.bind-phone-modal {
    min-width: 6.2rem;
}

.bind-phone-modal-header {
    height: .55rem;
}

.bind-phone-modal-header span.bind-phone-modal-title {
    font-size: .22rem;
}

.bind-phone-modal-header span.bind-phone-modal-close {
    font-size: .32rem;
}

.bind-phone-modal-body input::placeholder {
    color: #cdcdcd;
    font-size: .25rem;
}

.bind-phone-input {
    font-size: .25rem;
}

.bind-phone-code-btn {
    width: 1.5rem;
    height: .4rem;
    font-size: .25rem;
}

.bind-phone-confirm {
    width: 50%;
    height: .7rem;
    font-size: .25rem;
}

.bind-phone-modal {
    padding: 0 0 .7rem 0;
}

.gift-bg-img {
    height: 1.2rem;
}

.gift-bg-img img {
    height: inherit;
    border-radius: .34rem .34rem 0 0;
}

.gift-img-id-19 img {
    width: 1.7rem !important;
}

.gift-img-id-11 img {
    width: 1.1rem !important;
}

.gift-item .gift-img-id-10 img {
    width: 1.4rem;
}

.gift-item .gift-img-id-9 img {
    width: 1.4rem;
}

.gift-item .gift-img-id-8 img {
    width: 1.4rem;
}

.gift-item .gift-img-id-5 img {
    width: 1.5rem;
}

.gift-img-extra img {
    width: .2rem;
}

.gift-img-extra span {
    font-size: .2rem;
}

.gift-img-extra {
    top: 1.47rem;
}

.gift-item .gift-img-id-4 img {
    width: 1.3rem;
}

.gift-item .gift-img-id-3 img {
    width: 1rem;
}

.gift-item .gift-img-id-2 img {
    width: 1rem;
}

.gift-item .gift-img-id-1 img {
    width: 1.3rem;
}

.gift-item .gift-img-id-6 img {
    width: 1.47rem;
}

.gift-item .gift-img-id-17 img {
    width: 1.47rem;
}

.gift-item .gift-img-id-16 img {
    width: 1.47rem;
}

.gift-item .gift-img-id-15 img {
    width: 1rem;
}

.gift-item .gift-img-id-14 img {
    width: 1rem;
}

.gift-item .gift-img-id-13 img {
    width: 1.3rem;
}

.gift-item .gift-img-id-18 img {
    width: 1.47rem;
}

.gift-item .gift-img-id-7 img {
    width: 1.47rem;
}

.gift-img-extra .extra-icon1 {
    width: 1rem;
    left: -0.4rem;
    top: -0.925rem;
}

.gift-img-extra .extra-icon2 {
    width: .6rem;
    top: -0.4rem;
}

.part1 .pt1_list ul li {
    border-radius: .35rem;
}
.discount-amount {
    font-size: .2rem;
}
.record-product {
    font-size: .22rem;
}
.record-time {
    font-size: .18rem;
}
.record-amount {
    color: #161515;
    font-size: .22rem;
}
.modal-content {
    min-height: 4.45rem;
    height: 4.45rem;
}
.total i img {
    width: .3rem;
    height: .3rem;
}
.gift-price img {
    width: .3rem;
    height: .3rem;
}

/* 移动端显示轮播图 */
.swiper-main {
    display: block !important;
    margin: 0 auto .4rem;
    position: relative;
}

.promotion-swiper {
    width: 100%;
    height: 2.5rem;
    padding: 0;
    padding: 0 .25rem !important;
}

.promotion-slide {
    height: 100%;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.promotion-slide-active {
    opacity: 1;
}

.promotion-slide img {
    width: 100%;
    height: 100%;
    border-radius: .16rem;
}

/* 轮播指示器样式 */
.promotion-pagination {
    bottom: -.45rem !important;
    text-align: center;
    position: relative;
    margin-top: .1rem;
}

.promotion-pagination .swiper-pagination-bullet {
    width: .12rem;
    height: .12rem;
    background-color: #d8d8d8;
    opacity: 1;
    margin: 0 .05rem;
}

.promotion-pagination .swiper-pagination-bullet-active {
    background: #f85737;
    border-radius: 50%;
}

.gift-filter-container{
    display: block !important;
}
/* Tab签样式 */
.gift-filter-container {
    display: flex;
    margin-bottom: 20px;
  }
  
  .gift-filter-tab {
    background: none;
    border: none;
    font-size: .3rem;
    color: #63636d;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    padding-bottom: .15rem;
    margin-right: .2rem;
    position: relative;
  }
  
  .gift-filter-tab:hover {
    color: #f85737;
  }
  
  .gift-filter-tab.active {
    color: #f85737;
    font-weight: bold;
  }
  
  .gift-filter-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0.6rem;
    height: 4px;
    background-color: #f85737;
    border-radius: 2px;
  }