/* Profile page — cover banner, tier badge, quick stats */

.profile-head {
  position: relative;
}

.profile-cover {
  height: 104px;
  border-radius: var(--radius-lg, 16px);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  margin-bottom: -40px;
}

.profile-avatar-wrap {
  position: relative;
  z-index: 1;
}

.profile-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-name-row h2 {
  margin: 0;
}

.profile-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.profile-stat-chip {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-sm);
  padding: 14px 8px;
  text-align: center;
}

.profile-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-stat-label {
  display: block;
  font-size: 11px;
  color: var(--color-muted);
}

@media (max-width: 420px) {
  .profile-cover {
    height: 84px;
    margin-bottom: -34px;
  }
  .profile-stat-value {
    font-size: 15px;
  }
  .profile-stat-label {
    font-size: 10px;
  }
}
