.settings-identity-grid { grid-template-columns: minmax(0, 1fr); }
.profile-name-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.profile-name-control .btn { min-height: 56px; white-space: nowrap; }
.settings-inline-help { margin: 10px 0 0; line-height: 1.45; }
.settings-inline-actions { margin-top: 12px; }
.profile-display-name-feedback { min-height: 18px; margin: 8px 0 0; }
.profile-avatar-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 12px; margin-top: 8px; }
.profile-language-choices,
.profile-theme-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.profile-avatar-choice { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 10px; border: 1px solid rgba(88, 198, 255, 0.2); border-radius: 16px; background: rgba(12, 23, 35, 0.92); color: var(--ink); cursor: pointer; transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease; }
.profile-avatar-choice:hover:not(:disabled),
.profile-avatar-choice:focus-visible:not(:disabled) { border-color: rgba(88, 198, 255, 0.55); background: rgba(17, 34, 49, 0.98); transform: translateY(-1px); }
.profile-avatar-choice:disabled { opacity: 0.56; cursor: not-allowed; }
.profile-avatar-choice.is-active { border-color: rgba(88, 198, 255, 0.85); box-shadow: 0 0 0 1px rgba(88, 198, 255, 0.2) inset; }
.profile-avatar-choice-swatch { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(88, 198, 255, 0.32); background: radial-gradient(circle at top, rgba(23, 39, 54, 0.98), rgba(10, 17, 26, 0.98)); }
.profile-avatar-choice-label { font-size: 0.85rem; line-height: 1.2; text-align: center; }

html[data-theme="light"] .profile-avatar-choice { background: rgba(255, 255, 255, 0.92); color: var(--text); border-color: var(--border); }
html[data-theme="light"] .profile-avatar-choice-swatch { border-color: rgba(108, 146, 173, 0.28); background: radial-gradient(circle at top, #ffffff, #eaf3fa); }

@media (max-width: 900px) {
  .profile-name-control { grid-template-columns: minmax(0, 1fr) auto; }
}
