.main {
    width: 1200px;
    margin: 72px auto;
}

.membershipCategories {
    width: 960px;
    display: flex;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.membershipCategories>p {
    width: 50%;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.75);
    position: relative;
}

.membershipCategories>p i {
    width: 100%;
    height: 22px;
    background: #1459F4;
    position: absolute;
    left: 0;
    top: -22px;
    display: none;
}

.membershipCategories>p.active {
    line-height: 46px;
    background: #1459F4;
    color: #fff;
}

.membershipCategories>p:nth-child(1).active i {
    display: block;
    border-radius: 6px 0px 0px 0;
}

.membershipCategories>p:nth-child(2).active i {
    display: block;
    border-radius: 0 6px 0px 0;
}

.membershipCategories>p:nth-child(1).active {
    border-radius: 0 0px 0px 6px;
}

.membershipCategories>p:nth-child(2).active {
    border-radius: 0 0 6px 0;
}

.membershipCategories>p:nth-child(1).active i::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 0 solid transparent;
    border-right: 22px solid transparent;
    border-bottom: 22px solid #0848D8;
    position: absolute;
    right: -21px;
    top: 0;
}

.membershipCategories>p:nth-child(2).active i::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 22px solid #0848D8;
    position: absolute;
    left: -21px;
    top: 0;
}

.main ul {
    display: flex;
    justify-content: space-between;
}

.main ul li {
    width: 387px;
    height: 621px;
    border-radius: 20px;
    padding: 30px;
    box-sizing: border-box;
    position: relative;
}

.main ul li:nth-child(1) {
    border: 2px solid #00BBFF;
    background: linear-gradient(180deg, rgba(147, 226, 255, 0.35) 0%, rgba(198, 240, 255, 0.35) 100%);
}

.main ul li:nth-child(2) {
    border: 2px solid #1459F4;
    background: linear-gradient(180deg, rgba(184, 206, 255, 0.35) 0%, rgba(218, 229, 255, 0.35) 100%);
}

.main ul li:nth-child(3) {
    border: 2px solid #1416F4;
    background: linear-gradient(180deg, rgba(184, 184, 255, 0.35) 0%, rgba(217, 217, 255, 0.35) 100%);
}

.main ul li:nth-child(1) .price {
    color: #00BBFF;
}

.main ul li:nth-child(2) .price {
    color: #1459F4;
}

.main ul li:nth-child(3) .price {
    color: #1416F4;
}

.info {
    text-align: center;
    padding-bottom: 9px;
    border-bottom: 2px dashed #282828;
}

.info img {
    margin-bottom: 10px;
}

.info img+p {
    font-weight: bold;
    font-size: 20px;
    color: #282828;
}

.info .price {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0 0px;
}

.info .price i {
    font-size: 40px;
    position: relative;
    top: -10px;
}

.info .price+p {
    height: 40px;
    font-weight: bold;
    font-size: 16px;
    color: #282828;
    line-height: 20px;
}

.introduce {
    margin-top: 39px;
}

.introduce p {
    margin-bottom: 13px;
}

.introduce img {
    vertical-align: middle;
}

.introduce span {
    font-size: 14px;
    color: #282828;
    line-height: 20px;
}

.main ul li .notOpen {
    width: 160px;
    height: 46px;
    line-height: 46px;
    background: linear-gradient(90deg, #FFE4AD 0%, #FFCF88 100%);
    border-radius: 23px;
    text-align: center;
    color: #9A581D;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
}

.main ul li .notOpen:hover {
    background: linear-gradient(90deg, #FFDA6F 0%, #FFC300 100%);
    color: #A44D00;
}

.mobile {
    display: none;
}


@media screen and (max-width: 750px) {

    html,
    body {
        min-width: 100% !important;
        background: #F9F9F9;
    }

    #app {
        display: none;
    }

    .mobile {
        display: block;
    }

    /* 用户横幅 */
    .user-banner {
        background: url('../../img//member/topBG.jpg') center center no-repeat;
        background-size: cover;
        padding: .2rem .32rem .3rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #fff;
    }

    .user-info {
        display: flex;
        align-items: center;
    }

    .avatar {
        width: 1.12rem;
        height: 1.12rem;
        border-radius: 50%;
        overflow: hidden;
        margin-right: 0.2rem;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .user-id {
        font-size: .4rem;
        font-weight: bold;
        color: #282828;
    }

    /* 会员选项卡 */
    .membership-tabs {
        display: flex;
        position: relative;
    }

    .tab {
        height: .76rem;
        line-height: .76rem;
        flex: 1;
        text-align: center;
        font-size: .32rem;
        color: #5F3711;
        font-weight: bold;
        position: relative;
        background-color: #FFE2C0;
    }

    .tab.active {
        color: #333;
        background-color: #fff;
        position: relative;
        z-index: 1;
        padding-top: 0.1rem;
        margin-top: -0.1rem;
        border-top-left-radius: 0.1rem;
        border-top-right-radius: 0.1rem;
    }

    /* 添加一个白色底部区域，撑满整个宽度 */
    .tab-bottom-area {
        height: 0.2rem;
        background-color: #fff;
        width: 100%;
    }

    /* 会员选项 */
    .membership-options {
        display: flex;
        padding: 0.3rem;
        gap: 0.2rem;
    }

    .membership-options {
        display: flex;
        padding: 0.3rem;
        gap: 0.2rem;
        position: relative;
        justify-content: center;
    }

    .option {
        flex: 0.9;
        background-color: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 0.2rem;
        padding: .3rem 0;
        text-align: center;
        position: relative;
    }

    .option.selected {
        flex: 1.2;
        background: #FDF4E5;
        border: 1px solid #C89C76;
        box-shadow: 0 2px 8px rgba(255, 82, 82, 0.1);
        z-index: 1;
    }

    .option-title {
        font-size: .28rem;
        color: #282828;
        line-height: 1.4;
        font-weight: bold;
    }

    .option-price {
        color: #FF5252;
        font-size: 0.24rem;
        font-weight: bold;
        margin-top: 0.2rem;
    }

    .option-price span {
        font-size: 0.4rem;
        font-weight: normal;
        position: relative;
        top: -0.06rem;
    }

    /* 支付按钮 */
    .payment-button {
        margin: 0.4rem 0.3rem 0.16rem;
        background-color: #F04040;
        color: white;
        text-align: center;
        padding: 0.25rem 0;
        font-size: 0.3rem;
    }

    /* 协议 */
    .agreement {
        text-align: center;
        font-size: 0.24rem;
        color: #999;
    }

    .agreement a {
        color: #666;
        text-decoration: none;
    }

    /* 功能列表 */
    .features {
        width: 100%;
        background: #FFF5EB;
        padding: 0.4rem 0.3rem;
        margin: 0.2rem 0;
        box-sizing: border-box;
    }

    .features h3 {
        font-size: 0.32rem;
        margin-bottom: 0.3rem;
        color: #422304;
        text-align: center;
        font-weight: 600;
    }

    .features ul {
        list-style: none;
    }

    .features li {
        position: relative;
        padding-left: 0.02rem;
        margin-bottom: 0.2rem;
    }

    .features li span {
        font-size: 0.28rem;
        color: #282828;
        line-height: 1.4;
    }

    .features li img {
        width: .32rem;
        vertical-align: middle;
        margin-right: .1rem;
    }

    /* 会员服务协议弹框样式 */
    .agreement-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        overflow: hidden;
    }

    .agreement-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #fff;
        width: 90%;
        max-width: 6.5rem;
        max-height: 80%;
        border-radius: 0.2rem;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .agreement-header {
        padding: 0.3rem;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .agreement-header h3 {
        font-size: 0.32rem;
        color: #333;
    }

    .close-modal {
        font-size: 0.5rem;
        color: #999;
        cursor: pointer;
    }

    .agreement-body {
        padding: 0.3rem;
        overflow-y: auto;
        flex: 1;
        font-size: 0.26rem;
        line-height: 1.5;
        color: #666;
    }

    .agreement-body h4 {
        font-size: 0.3rem;
        color: #282828;
        margin: 0.3rem 0 0.2rem;
        font-weight: bold;
    }

    .blod {
        color: #282828;
        font-weight: bold;
    }

    .agreement-body h4:first-child {
        margin-top: 0;
    }

    .agreement-body p {
        margin-bottom: 0.2rem;
    }

    .agreement-body ul {
        padding-left: 0.4rem;
        margin-bottom: 0.2rem;
    }

    .agreement-body li {
        margin-bottom: 0.1rem;
    }

    .agreement-footer {
        padding: 0.3rem;
        border-top: 1px solid #f0f0f0;
        text-align: center;
    }

    .agreement-footer button {
        background-color: #FF5252;
        color: white;
        border: none;
        padding: 0.2rem 0.5rem;
        border-radius: 0.1rem;
        font-size: 0.28rem;
    }

    /* 发票选择弹框样式 */
    .invoice-modal {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        overflow: hidden;
    }

    .invoice-content {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        border-top-left-radius: 0.2rem;
        border-top-right-radius: 0.2rem;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transform: translateY(100%);
        transition: transform 0.3s ease-out;
    }

    .invoice-modal.active .invoice-content {
        transform: translateY(0);
    }

    .invoice-header {
        padding: 0.3rem;
        border-bottom: 1px solid #f0f0f0;
        text-align: center;
    }

    .invoice-header h3 {
        font-size: 0.32rem;
        color: #333;
    }

    .invoice-footer {
        padding: 0.3rem;
        display: flex;
        justify-content: space-around;
    }

    .invoice-footer button {
        width: 45%;
        background-color: #FF5252;
        color: white;
        border: none;
        padding: 0.2rem 0;
        border-radius: 0.1rem;
        font-size: 0.28rem;
    }

    .invoice-footer button#noInvoice {
        background-color: #f0f0f0;
        color: #666;
    }

}