/* ===== 个人中心 ===== */
.profile-header-card {
    background: var(--gradient);
    padding: 40px 20px 32px;
    text-align: center;
    color: white;
    position: relative;
}
.avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}
.avatar-wrapper img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.5);
    object-fit: cover;
    background: rgba(255,255,255,0.2);
}
.avatar-edit-btn {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 28px;
    height: 28px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
}
.profile-header-card h2 { font-size: 22px; font-weight: 700; }
.profile-header-card p { font-size: 14px; opacity: 0.85; margin-top: 4px; }

.profile-section {
    background: white;
    margin: 12px 16px;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}
.profile-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

/* 相册 */
.album-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.album-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.album-del {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background: rgba(0,0,0,0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.2s;
    cursor: pointer;
    border: none;
}
.album-item:hover .album-del { opacity: 1; }
.album-add {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    border: 2px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #bbb;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.album-add:hover { border-color: var(--primary); color: var(--primary); }

/* 表单 */
.profile-form { display: flex; flex-direction: column; gap: 14px; }
.form-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.form-row.full { flex-direction: column; align-items: stretch; }
.form-row label {
    min-width: 80px;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}
.form-row.full label { min-width: 0; margin-bottom: 6px; }
.form-row input,
.form-row select,
.form-row textarea {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text);
    border: 1px solid transparent;
    transition: border-color 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--primary);
}
.form-row textarea { resize: vertical; min-height: 60px; }
