/* =============================================================
   PROFILE
   ============================================================= */
.profile-page { padding: 0; }
/* Build-/Debug-Footer am Ende des Profil-Tabs. */
.profile-footer {
  margin-top: var(--s-6);
  padding: var(--s-3) 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--muted);
  letter-spacing: var(--tracking-wide);
}
.profile-footer .is-admin { color: var(--primary); }
.profile-footer .is-not-admin { color: var(--muted-deep); }
.profile-hero {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 28px 18px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.profile-avatar-wrap { position: relative; }
.profile-avatar {
  width: 88px; height: 88px; border-radius: var(--r-xl);
  background: var(--surface2); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  transition: box-shadow var(--dur-slow) var(--ease), border-color var(--dur-slow) var(--ease);
}
.profile-stage-badge {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-family: var(--font-display); font-size: 10px; letter-spacing: var(--tracking-wide);
  padding: 3px 10px; border-radius: var(--r-sm); white-space: nowrap;
  text-transform: uppercase;
}
.profile-stats { padding: var(--s-5) var(--s-5) 0; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-bottom: var(--s-5); }
.stat-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: var(--s-4) 14px;
}
.stat-num {
  font-family: var(--font-mono);
  font-size: var(--fs-h1); line-height: 1; color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.stat-lbl {
  font-family: var(--font-display);
  font-size: var(--fs-micro); color: var(--muted);
  text-transform: uppercase; letter-spacing: var(--tracking-wide);
  margin-top: var(--s-1);
}
.profile-section { padding: 0 var(--s-5) var(--s-5); }
.profile-section-title {
  font-family: var(--font-display);
  font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--muted); margin-bottom: var(--s-3);
}
.theme-row { display: flex; gap: var(--s-2); }
.theme-swatch {
  flex: 1; padding: var(--s-3) var(--s-2); border-radius: var(--r-md);
  border: 2px solid var(--border);
  transition: border-color var(--dur-base) var(--ease);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--surface);
}
.theme-swatch.active { border-color: var(--primary); }
.swatch-dots { display: flex; gap: 3px; }
.swatch-dot { width: 10px; height: 10px; border-radius: 50%; }
.swatch-name {
  font-family: var(--font-display);
  font-size: var(--fs-micro); letter-spacing: var(--tracking-wide); text-transform: uppercase;
  color: var(--muted);
}
