/* 「我的」页顶部的个人资料卡。令牌复用 index.html 的 :root。 */

.pf-card {
  margin-top: 16px;
  padding: 15px;
  display: flex; align-items: center; gap: 13px;
}

.pf-avatar-wrap {
  position: relative; flex: none; width: 52px; height: 52px;
  padding: 0; border: none; background: none; cursor: pointer;
}
.pf-avatar {
  width: 52px; height: 52px; border-radius: 50%; display: block;
  object-fit: cover; background: var(--green-tint);
}
.pf-avatar-ph {
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 19px; font-weight: 600;
}
.pf-avatar-cam {
  position: absolute; right: -2px; bottom: -2px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--green); color: #fff; border: 2px solid var(--card);
  font-size: 11px; line-height: 15px; text-align: center;
}

.pf-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pf-row { display: flex; align-items: center; gap: 8px; min-height: 24px; }
.pf-name {
  font-size: 15px; font-weight: 600; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pf-phone { font-size: 12.5px; color: var(--body); }
.pf-row-sub { min-height: 20px; }

.pf-link {
  border: none; background: none; padding: 2px 0;
  color: var(--green); font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
}
.pf-link:hover { text-decoration: underline; }

.pf-edit-input {
  flex: 1; min-width: 0; height: 32px; padding: 0 10px;
  border: 1px solid var(--hairline-2); border-radius: 8px;
  background: var(--card); color: var(--ink);
  font-family: inherit; font-size: 13.5px;
}
.pf-edit-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
