/* ===== 下拉刷新 ===== */
.pull-indicator {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.82em;
    color: var(--text-muted);
    z-index: 40;
    transition: all 0.3s;
}
.pull-indicator.ready { color: var(--accent); font-weight: 700; }
.pull-icon {
    display: inline-block;
    font-size: 1.1em;
    animation: pullBounce 0.6s infinite alternate;
}
.pull-icon.ready { animation: pullSpin 0.8s; }
@keyframes pullBounce { from { transform: translateY(0); } to { transform: translateY(3px); } }
@keyframes pullSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.editprofile-body {
    padding: 24px;
}
.ep-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}
.ep-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4em;
    overflow: hidden;
    border: 3px solid var(--border);
}
.ep-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ep-avatar-btn {
    font-size: 0.84em;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
}
.ep-field {
    margin-bottom: 20px;
}
.ep-label {
    display: block;
    font-size: 0.82em;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.ep-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.96em;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.ep-input:focus {
    border-color: var(--accent);
}
.ep-readonly {
    opacity: 0.5;
    cursor: not-allowed;
}
.ep-hint {
    font-size: 0.76em;
    color: var(--text-dim);
    margin-top: 4px;
}
.ep-gender-group {
    display: flex;
    gap: 10px;
}
.ep-gender-opt {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.ep-gender-opt:active { transform: scale(0.96); }
.ep-gender-opt.selected {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

