/* 个人中心 - 参考项目商城中心 */
.uc-page {
    min-height: 100vh;
    background: #f3f4f6;
    padding-bottom: 88px;
    max-width: 600px;
    margin: 0 auto;
}

.uc-hero {
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 0 0 24px 24px;
    padding: 20px 20px 28px;
    text-align: center;
    position: relative;
    color: #fff;
}

.uc-home-btn,
.uc-logout-btn {
    position: absolute;
    top: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.uc-home-btn {
    left: 16px;
}

.uc-logout-btn {
    right: 16px;
}

.uc-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 8px auto 12px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    overflow: hidden;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

.uc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uc-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.uc-id {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
}

.uc-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.uc-stats {
    display: flex;
    gap: 10px;
    padding: 0 14px;
    margin-top: -18px;
    position: relative;
    z-index: 2;
}

.uc-stat-card {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    padding: 14px 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.uc-stat-label {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.uc-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
}

.uc-stat-value.uc-balance {
    color: #14b8a6;
}

.uc-settle-btn {
    margin-top: 8px;
    padding: 4px 14px;
    font-size: 12px;
    border: 1px solid #333;
    background: #fff;
    border-radius: 20px;
    cursor: pointer;
}

.uc-main-nav {
    display: flex;
    background: #fff;
    margin: 16px 14px 12px;
    padding: 4px;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.uc-main-nav button {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 6px;
    font-size: 13px;
    color: #6b7280;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.uc-main-nav button.active {
    background: #007aff;
    color: #fff;
    font-weight: 600;
}

.uc-panel {
    display: none;
    padding: 0 14px 16px;
}

.uc-panel.active {
    display: block;
}

.uc-filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.uc-filter-bar button {
    flex: 1;
    padding: 8px 0;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
}

.uc-filter-bar button.active {
    background: #14b8a6;
    border-color: #14b8a6;
    color: #fff;
    font-weight: 600;
}

.uc-order-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.uc-order-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
    color: #9ca3af;
}

.uc-order-head .status {
    color: #6b7280;
    font-weight: 500;
}

.uc-order-body {
    display: flex;
    align-items: center;
    gap: 10px;
}

.uc-order-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: #f3f4f6;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.uc-order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.uc-order-info {
    flex: 1;
    min-width: 0;
}

.uc-order-title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uc-order-price {
    font-size: 16px;
    font-weight: 800;
    color: #ef4444;
}

.uc-btn-pay {
    flex-shrink: 0;
    padding: 8px 14px;
    background: #ffd100;
    color: #111;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.uc-empty {
    text-align: center;
    padding: 48px 20px;
    color: #9ca3af;
}

.uc-empty-icon {
    font-size: 48px;
    opacity: 0.35;
    margin-bottom: 12px;
}

.uc-empty-tip {
    font-size: 12px;
    margin-top: 8px;
    color: #b0b5bd;
}

.uc-withdraw-item {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.uc-withdraw-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.uc-withdraw-amt {
    font-size: 18px;
    font-weight: 700;
    color: #14b8a6;
}

.uc-withdraw-meta {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 6px;
}

.uc-profile-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.uc-form-label {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
}

.uc-file-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    color: #6b7280;
}

.uc-file-row label {
    padding: 6px 12px;
    background: #f3f4f6;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.uc-input {
    width: 100%;
    height: 46px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.uc-btn-save {
    width: 100%;
    height: 48px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

.uc-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 20px 0;
}

.uc-btn-logout-block {
    width: 100%;
    height: 46px;
    background: #fff;
    color: #ef4444;
    border: 1px solid #ef4444;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.uc-back-home {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: #007aff;
    font-size: 14px;
    text-decoration: none;
}

.uc-fab-home {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 100;
    text-decoration: none;
}

body.uc-logged-in .tab-bar {
    display: none !important;
}

body.uc-logged-in .app-container {
    max-width: 600px;
}

@media (min-width: 600px) {
    .uc-fab-home {
        right: calc(50% - 280px);
    }
}
