.profile-avatar-picker-block {
  margin: 4px 0 14px;
  text-align: left;
}

.profile-settings-form .profile-settings-avatar-block {
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--c-border, rgba(255, 255, 255, 0.08));
}

.profile-avatar-picker-block > span,
.profile-settings-form .onboarding-field > span {
  display: block;
  margin-bottom: 10px;
  font: 700 12px var(--font-ui, 'Pretendard', sans-serif);
  letter-spacing: 0.02em;
  color: var(--c-text-secondary, #a099b0);
  text-transform: none;
}

.profile-settings-form .onboarding-field-hint {
  margin: 6px 0 14px;
  font: 500 12px var(--font-ui, 'Pretendard', sans-serif);
  line-height: 1.45;
  color: #777970;
  letter-spacing: 0;
  text-transform: none;
}

.profile-avatar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.profile-avatar-option {
  aspect-ratio: 1;
  padding: 6px;
  border: 2px solid var(--c-border, rgba(255, 255, 255, 0.1));
  border-radius: 16px;
  background: var(--c-bg-surface, #1e1b2e);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.profile-avatar-option img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.profile-avatar-option.is-selected {
  border-color: var(--c-accent, #7b57ff);
  box-shadow: 0 0 0 1px rgba(123, 87, 255, 0.35), 0 0 16px rgba(123, 87, 255, 0.28);
}

.profile-avatar-picker-preview {
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;
  border-radius: 24px;
  border: 2px solid var(--c-border-strong, rgba(255, 255, 255, 0.14));
  background: var(--c-bg-surface, #1e1b2e) center / cover no-repeat;
  box-shadow: none;
}

.profile-avatar-picker-preview::before {
  display: none;
  content: none;
}

.profile-avatar-picker-preview span {
  opacity: 0;
}

.has-profile-avatar {
  background-color: var(--c-bg-surface, #1e1b2e);
  box-shadow: none;
}

.has-profile-avatar::before {
  display: none;
  content: none;
}

.profile-hero .big-avatar.has-profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}
