.profile-avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid #b879ff;
  border-radius: 50%;
  background: #2b1942;
  color: #fff;
  font-weight: 800;
}

.profile-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-account .nav-profile {
  padding: 0;
  border-radius: 50%;
  border-color: #b879ff;
}

.nav-account .nav-profile:hover {
  box-shadow: 0 0 0 3px #b879ff44;
}

.profile-page {
  max-width: 660px;
  padding-block: clamp(32px, 7vw, 82px);
}

.profile-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.profile-heading h1 {
  margin: 0;
}

.profile-avatar--large {
  width: 72px;
  height: 72px;
  font-size: 24px;
}

#profile-form:not([hidden]) {
  display: grid;
  gap: 14px;
}

#profile-form input[readonly] {
  color: var(--market-muted);
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1100px) {
  .studio-nav:has(.nav-profile) {
    justify-content: space-between;
  }
}

#profile-form label {
  display: grid;
  gap: 6px;
}

#profile-status[role="alert"] {
  border-color: #db78837d;
  background: #321c21;
  color: #ffe3e5;
}

#profile-picture:not(:disabled) {
  cursor: pointer;
}

#profile-picture:not(:disabled)::after {
  content: "Cambiar";
  position: absolute;
  inset: auto 0 0;
  padding: 3px 0 5px;
  background: #100a1ee6;
  color: #fff;
  font-size: 10px;
  font-weight: 750;
}

#profile-picture:not(:disabled):hover {
  box-shadow: 0 0 0 4px #b879ff44;
}
