/* ── 个人信息 · 简洁编辑 ── */

.layout-profile-edit .screen-content {
  background: var(--screen-bg);
}

.pe-shell {
  padding-top: 4px;
  padding-bottom: 32px;
}

.pe-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--brand-dark);
  background: linear-gradient(160deg, #fffcf8, #f5ede4);
  box-shadow: 0 0 0 1px rgba(196, 112, 75, 0.12);
}

.pe-form {
  margin: 0;
}

.pe-list {
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.pe-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--divider);
}

.pe-row:last-child {
  border-bottom: none;
}

.pe-label {
  flex: 0 0 64px;
  font-size: 15px;
  color: var(--text-primary);
}

.pe-input {
  flex: 1;
  min-width: 0;
  padding: 14px 0;
  border: none;
  background: transparent;
  font-size: 15px;
  color: var(--text-primary);
  text-align: right;
}

.pe-input::placeholder {
  color: var(--text-tertiary);
}

.pe-input:focus {
  outline: none;
}

.pe-value {
  flex: 1;
  min-width: 0;
  font-family: var(--font-family-data);
  font-size: 14px;
  color: var(--text-secondary);
  text-align: right;
  letter-spacing: 0.02em;
}

.pe-segment {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.pe-segment-btn {
  padding: 6px 14px;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(44, 54, 57, 0.06);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition:
    background 0.18s var(--ease-soft),
    color 0.18s var(--ease-soft);
}

.pe-segment-btn.is-active {
  background: rgba(196, 112, 75, 0.14);
  color: var(--brand-dark);
}

.pe-segment-btn:active {
  transform: scale(0.97);
}

.pe-save {
  border: none;
  background: transparent;
  font-family: inherit;
  font-weight: 600;
}

.pe-save:disabled {
  opacity: 0.45;
  cursor: default;
}

.pe-toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(12px);
  max-width: min(320px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(44, 54, 57, 0.92);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.28s var(--ease-soft),
    transform 0.28s var(--ease-soft);
  z-index: 30;
}

.pe-toast.hidden {
  display: block;
}

.pe-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
