.account-section {
    min-height: 80vh;
    padding-bottom: 80px;
}

.auth-card,
.profile-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 2;
}

.auth-switch a {
    color: var(--accent);
    text-decoration: none;
}

.optional {
    color: var(--text-muted);
    font-size: 12px;
}

.code-row {
    display: flex;
    gap: 8px;
}

.code-row .form-input {
    flex: 1;
}

.code-row .btn {
    white-space: nowrap;
    padding: 12px 16px;
}

/* 个人中心 */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    overflow: hidden;
}

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

.profile-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.profile-info p {
    color: var(--text-secondary);
    font-size: 13px;
}

.profile-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sub-form {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.sub-form h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

input[type="file"].form-input {
    padding: 8px;
    background: var(--bg-tertiary);
}
