/* ===== 我的页面样式 ===== */
#profilePage {
    min-height: 100vh;
    background: var(--color-bg);
    padding-bottom: 80px; /* 为底部 Tab Bar 留空间 */
    transition: background 0.3s;
}

/* 顶部导航（无返回按钮） */
.profile-header-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s, border-color 0.3s;
}

.profile-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.3s;
}

/* ... 其他样式保持不变 ... */
.profile-back-btn {
    font-size: 28px;
    font-weight: 300;
    color: var(--color-text);
    cursor: pointer;
    padding: 0 12px 0 4px;
    line-height: 1;
    user-select: none;
    transition: color 0.2s;
    width: 36px;
    text-align: center;
}
.profile-back-btn:active {
    color: var(--color-primary);
}

/* 用户信息 */
.profile-user-section {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 16px;
    background: var(--color-bg-card);
    margin: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: background 0.3s, box-shadow 0.3s;
}

.profile-avatar {
    font-size: 56px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.3s;
}

.profile-user-info {
    flex: 1;
}

.profile-user-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.3s;
}

.profile-user-id {
    font-size: 13px;
    color: var(--color-text-light);
    margin-top: 4px;
    transition: color 0.3s;
}

/* 菜单列表 */
.profile-menu {
    background: var(--color-bg-card);
    margin: 0 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: background 0.3s, box-shadow 0.3s;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s;
}
.profile-menu-item:last-child {
    border-bottom: none;
}
.profile-menu-item:active {
    background: var(--color-bg);
}

.menu-icon {
    font-size: 20px;
    margin-right: 12px;
}

.menu-text {
    flex: 1;
    font-size: 15px;
    color: var(--color-text);
    transition: color 0.3s;
}

.menu-arrow {
    font-size: 18px;
    color: var(--color-text-light);
}

/* 底部 */
.profile-footer {
    text-align: center;
    padding: 20px 0 30px;
    color: var(--color-text-light);
    font-size: 12px;
}

/* 暗黑主题适配 */
[data-theme="dark"] .profile-user-section,
[data-theme="dark"] .profile-menu,
[data-theme="dark"] .profile-header-bar {
    background: #2D2D2D;
}
[data-theme="dark"] .profile-menu-item {
    border-color: #444;
}