.profile-avatar-edit-wrap {
  position: relative;
  width: 84px;
  height: 84px;
}
.profile-avatar-change {
  position: absolute;
  right: -8px;
  bottom: -5px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  padding: 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--purple, #8b5cf6);
  color: #fff;
  box-shadow: 0 2px 8px rgba(38, 18, 63, .25);
  cursor: pointer;
  touch-action: manipulation;
}
.profile-avatar-change svg { width: 19px; height: 19px; }
.profile-avatar-change:hover { background: #6321ab; }
.profile-avatar-change:focus-visible,
.profile-avatar-file-picker:focus-within,
.profile-avatar-actions button:focus-visible { outline: 3px solid #e6b935; outline-offset: 3px; }
.profile-avatar-preview-wrap {
  display: flex;
  justify-content: center;
  padding: 18px 0 22px;
}
.profile-avatar-preview-wrap img {
  display: block;
  width: 142px;
  height: 142px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #eee6f8;
  object-fit: cover;
  box-shadow: 0 0 0 2px #8b5cf6, 0 8px 22px rgba(61, 31, 86, .14);
}
.profile-avatar-file-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  padding: 12px 17px;
  border: 2px dashed #a17ad4;
  border-radius: 15px;
  background: #f7f0ff;
  color: #52208c;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.profile-avatar-file-picker svg { width: 19px; height: 19px; }
.profile-avatar-file-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.profile-avatar-status {
  min-height: 38px;
  margin: 13px 0 14px;
  color: #62576a;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
}
.profile-avatar-status[data-error="true"] { color: #a01935; }
.profile-avatar-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.profile-avatar-actions button { flex: 1 1 130px; min-height: 47px; border-radius: 13px; font-size: 13px; }
.profile-avatar-actions .profile-avatar-cancel { border: 1px solid #dcd1e6; background: #fff; color: #433049; }
.profile-avatar-actions button:disabled { cursor: not-allowed; opacity: .55; }
@media (min-width: 520px) { .profile-avatar-edit-wrap { width: 104px; height: 104px; } }
@media (max-width: 359px) { .profile-avatar-edit-wrap { width: 72px; height: 72px; } .profile-avatar-change { width: 32px; height: 32px; } }
