﻿.user-center-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.user-center-layout .site-header,
.user-center-layout .footer-box {
    flex-shrink: 0;
}

.user-center-page {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    padding: 26px 110px;
    background: linear-gradient(90deg, #1F081D 0%, #070714 48%, #09183A 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
    box-sizing: border-box;
}

.user-center-pc {
    width: 100%;
    max-width: 1700px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.user-center-nav {
    display: none;
}

.user-center-main {
    display: none;
}

.user-center-head {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.user-center-eyebrow {
    color: #F160B1;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 18px;
}

.user-center-title {
    margin: 0;
    color: white;
    font-size: calc(34px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 40px;
}

.user-center-desc {
    color: #9790A6;
    font-size: calc(14px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 20px;
}

.user-center-profile {
    align-self: stretch;
    min-height: 176px;
    padding: 24px 28px;
    background: linear-gradient(90deg, rgba(241, 43, 158, 0.17) 0%, rgba(62, 102, 255, 0.18) 100%);
    overflow: hidden;
    border-radius: 24px;
    outline: 1px rgba(255, 255, 255, 0.14) solid;
    outline-offset: -1px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;
}

.user-center-avatar {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

.user-center-profile-info {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.user-center-profile-name-row {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.user-center-profile-name {
    color: white;
    font-size: calc(24px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 30px;
}

.user-center-bind-account {
    color: rgba(255, 255, 255, 0.60);
    font-size: calc(14px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
}

.user-center-bind-account:hover {
    color: rgba(255, 255, 255, 0.90);
}

.user-center-bind-account[hidden],
.user-center-mobile-bind[hidden] {
    display: none !important;
}

.user-center-profile-meta {
    color: #AEA8BC;
    font-size: calc(14px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 20px;
}

.user-center-profile-spacer {
    flex: 1 1 0;
    height: 1px;
    min-width: 12px;
}

.user-center-vip-card {
    width: 220px;
    height: 112px;
    padding: 16px 18px;
    background: linear-gradient(90deg, #1F1733 0%, #2B1A3D 100%);
    overflow: hidden;
    border-radius: 12px;
    outline: 1px rgba(241, 43, 158, 0.34) solid;
    outline-offset: -1px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    box-sizing: border-box;
    text-decoration: none;
    flex-shrink: 0;
}

.user-center-vip-card--active {
    outline-color: rgba(250, 184, 64, 0.55);
}

.user-center-vip-label {
    color: #FAB840;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 18px;
}

.user-center-vip-status {
    color: white;
    font-size: calc(18px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 24px;
}

.user-center-vip-expire {
    color: #FABD33;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 18px;
}

.user-center-vip-expire[hidden] {
    display: none !important;
}

.user-center-vip-action {
    color: #F12B9E;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: "Noto Sans SC", PingFang SC, sans-serif;
    font-weight: 700;
    line-height: 18px;
}

.user-center-coin-card {
    width: 180px;
    height: 112px;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    box-sizing: border-box;
    text-decoration: none;
    flex-shrink: 0;
}

.user-center-coin-label {
    color: #A49DB3;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 18px;
}

.user-center-coin-value {
    color: white;
    font-size: calc(30px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 36px;
}

.user-center-coin-action {
    color: #F160B1;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 18px;
}

.user-center-login-banner {
    align-self: stretch;
    min-height: 190px;
    padding: 28px 32px;
    background: linear-gradient(90deg, rgba(241, 43, 158, 0.16) 0%, rgba(62, 102, 255, 0.18) 100%);
    overflow: hidden;
    border-radius: 24px;
    outline: 1px rgba(255, 255, 255, 0.14) solid;
    outline-offset: -1px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    box-sizing: border-box;
}

.user-center-login-title {
    color: white;
    font-size: calc(24px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 30px;
}

.user-center-login-desc {
    color: #9E98AD;
    font-size: calc(14px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 20px;
}

.user-center-login-btn {
    margin-top: 8px;
    width: 126px;
    height: 42px;
    background: white;
    overflow: hidden;
    border-radius: 21px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    display: inline-flex;
    text-decoration: none;
    color: #120F1C;
    font-size: calc(14px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 20px;
}

.user-center-login-arrow {
    color: #120F1C;
    font-size: calc(16px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 22px;
}

.user-center-features {
    align-self: stretch;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 16px;
}

.user-center-feature {
    flex: 1 1 0;
    min-width: 0;
    padding: 22px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
    border-radius: 20px;
    outline: 1px rgba(255, 255, 255, 0.12) solid;
    outline-offset: -1px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

.user-center-feature-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-center-feature-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.user-center-feature-title {
    color: white;
    font-size: calc(18px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 24px;
}

.user-center-feature-desc {
    color: #9790A6;
    font-size: calc(12px + var(--pc-font-boost, 0px));
    font-family: PingFang SC;
    font-weight: 400;
    line-height: 18px;
}

@media (max-width: 1100px) {
    .user-center-pc .user-center-profile {
        flex-wrap: wrap;
    }

    .user-center-pc .user-center-profile-spacer {
        display: none;
    }

    .user-center-pc .user-center-vip-card,
    .user-center-pc .user-center-coin-card {
        flex: 1 1 180px;
        width: auto;
    }
}

@media (max-width: 767px) {
    body.is-user-center-page {
        background: #07060D;
    }

    body.is-user-center-page .site-header,
    body.is-user-center-page .footer-box,
    body.is-user-center-page .floating-action,
    body.is-user-center-page .download-fab {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    .user-center-layout {
        min-height: 100vh;
        background: #07060D;
    }

    .user-center-page {
        padding: 0;
        background: #07060D;
        align-items: stretch;
        gap: 0;
        min-height: 100vh;
        overflow: visible;
    }

    .user-center-pc {
        display: none;
    }

    .user-center-nav {
        position: sticky;
        top: 0;
        z-index: 40;
        width: 100%;
        height: 48px;
        padding: 0 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        flex-shrink: 0;
        background: #07060D;
    }

    .user-center-nav-back {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .user-center-nav-back img {
        width: 24px;
        height: 24px;
        display: block;
    }

    .user-center-nav-title {
        margin: 0;
        flex: 1 1 0;
        height: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        font-size: calc(16px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 22px;
    }

    .user-center-nav-spacer {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .user-center-main {
        display: flex;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
    }

    .user-center-mobile-profile {
        width: 100%;
        height: 88px;
        padding: 0 16px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
        box-sizing: border-box;
        flex-shrink: 0;
    }

    .user-center-mobile-profile--guest {
        gap: 10px;
    }

    .user-center-mobile-avatar {
        width: 56px;
        height: 56px;
        border-radius: 999px;
        object-fit: cover;
        flex-shrink: 0;
        display: block;
    }

    .user-center-mobile-profile-info {
        min-width: 0;
        flex: 1 1 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .user-center-mobile-name-row {
        display: inline-flex;
        justify-content: flex-start;
        align-items: center;
        gap: 4px;
        max-width: 100%;
        min-width: 0;
    }

    .user-center-mobile-name {
        color: #fff;
        font-size: calc(18px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 24px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .user-center-mobile-bind {
        color: rgba(255, 255, 255, 0.60);
        font-size: calc(12px + var(--pc-font-boost, 0px));
        font-family: PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .user-center-mobile-bind:hover,
    .user-center-mobile-bind:active {
        color: rgba(255, 255, 255, 0.90);
    }

    .user-center-mobile-meta {
        color: #948CA6;
        font-size: calc(12px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .user-center-mobile-login-btn {
        flex-shrink: 0;
        height: 30px;
        padding: 0 14px;
        background: #F12B9E;
        border-radius: 15px;
        color: #fff;
        font-size: calc(12px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 18px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .user-center-mobile-body {
        width: calc(100% - 32px);
        max-width: 343px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        box-sizing: border-box;
    }

    .user-center-mobile-vip {
        position: relative;
        width: 100%;
        min-height: 88px;
        padding: 14px 16px;
        background: #330F2E;
        border-radius: 18px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        box-sizing: border-box;
        text-decoration: none;
    }

    .user-center-mobile-vip--active {
        background: linear-gradient(90deg, #3A1A18 0%, #4A2A12 100%);
    }

    .user-center-mobile-vip--active .user-center-mobile-vip-title {
        color: #FAB840;
    }

    .user-center-mobile-vip-title {
        color: #fff;
        font-size: calc(16px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 22px;
        padding-right: 100px;
    }

    .user-center-mobile-vip-desc {
        color: #C7B0C9;
        font-size: calc(12px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
        padding-right: 100px;
    }

    .user-center-mobile-vip--active .user-center-mobile-vip-title,
    .user-center-mobile-vip--active .user-center-mobile-vip-desc {
        padding-right: 0;
    }

    .user-center-mobile-vip-btn {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 92px;
        height: 30px;
        background: #F12B9E;
        border-radius: 15px;
        color: #fff;
        font-size: calc(12px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 700;
        line-height: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .user-center-mobile-vip-btn[hidden] {
        display: none !important;
    }

    .user-center-mobile-menu {
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .user-center-mobile-menu-item {
        width: 100%;
        height: 48px;
        padding: 0 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        box-sizing: border-box;
        text-decoration: none;
    }

    .user-center-mobile-menu-label {
        color: #EBE5F2;
        font-size: calc(14px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 20px;
    }

    .user-center-mobile-menu-label--accent {
        color: #F12B9E;
        font-weight: 700;
    }

    .user-center-mobile-menu-right {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }

    .user-center-mobile-menu-hint {
        color: #857D94;
        font-size: calc(12px + var(--pc-font-boost, 0px));
        font-family: "Noto Sans SC", PingFang SC, sans-serif;
        font-weight: 400;
        line-height: 18px;
    }

    .user-center-mobile-menu-arrow {
        width: 18px;
        height: 18px;
        display: block;
        opacity: 0.72;
    }
}
