/* 个人中心（独立样式，类名统一 pf- 前缀避免冲突） */
.pf-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 9000;
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 4px 14px rgba(15, 23, 42, .22);
  cursor: pointer; overflow: hidden; padding: 0; background: #e2e8f0;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease;
}
.pf-fab:hover { transform: scale(1.06); }
.pf-fab img { width: 100%; height: 100%; object-fit: cover; }
.pf-fab .pf-initial { color: #fff; font-size: 20px; font-weight: 600; }

.pf-mask {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .35); z-index: 9001;
}
.pf-panel {
  position: fixed; right: 22px; bottom: 86px; z-index: 9002;
  width: 370px; max-width: calc(100vw - 44px); max-height: calc(100vh - 120px);
  overflow-y: auto; background: var(--card, #fff); border: 1px solid var(--line, #e2e8f0);
  border-radius: 14px; box-shadow: 0 12px 40px rgba(15, 23, 42, .25); padding: 18px;
}
.pf-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pf-head-ava {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; background: #e2e8f0;
  border: 1px solid var(--line, #e2e8f0);
}
.pf-head-ava img { width: 100%; height: 100%; object-fit: cover; }
.pf-head-ava .pf-initial { color: #fff; font-size: 26px; font-weight: 600; }
.pf-head-name { font-size: 16px; font-weight: 600; }
.pf-head-sub { font-size: 12px; color: var(--text-2, #64748b); margin-top: 3px; }
.pf-sec { border-top: 1px solid var(--line, #e2e8f0); padding-top: 12px; margin-top: 12px; }
.pf-sec-title { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.pf-kv { display: flex; font-size: 13px; padding: 4px 0; }
.pf-kv .k { width: 76px; color: var(--text-2, #64748b); flex-shrink: 0; }
.pf-form input {
  width: 100%; box-sizing: border-box; padding: 9px 11px; margin-bottom: 8px;
  border: 1px solid var(--line, #e2e8f0); border-radius: 8px; font-size: 13px;
}
.pf-form input:focus { outline: none; border-color: var(--primary, #2563eb); }
.pf-msg { font-size: 12px; min-height: 16px; margin-bottom: 6px; }
.pf-msg.err { color: var(--bad, #dc2626); }
.pf-msg.ok { color: var(--ok, #16a34a); }
.pf-ava-row { display: flex; align-items: center; gap: 12px; }
.pf-ava-preview {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; background: #e2e8f0;
  border: 1px solid var(--line, #e2e8f0);
}
.pf-ava-preview img { width: 100%; height: 100%; object-fit: cover; }
.pf-ava-preview .pf-initial { color: #fff; font-size: 22px; font-weight: 600; }
.pf-ava-btns { display: flex; flex-direction: column; gap: 6px; }
.pf-close {
  position: absolute; top: 10px; right: 14px; border: none; background: none;
  font-size: 18px; color: var(--text-2, #64748b); cursor: pointer;
}
