.profile-avatar {
  width: var(--size-64);
  height: var(--size-64);
  object-fit: cover;
  border-radius: var(--radius-999);
  flex-shrink: var(--number-0);
}
.profile-avatar[hidden], #profileLink[hidden], #profileAvatarRemove[hidden] { display: none; }
#profileForm { display: flex; flex-direction: column; gap: var(--size-16); }
#profileForm label { display: flex; gap: var(--size-8); flex-wrap: wrap; }
.nav-panel__account .profile-avatar { width: var(--size-32); height: var(--size-32); }
.nav-panel__account [data-profile-username] { overflow-wrap: anywhere; }
#profileError { color: var(--alert100); }
#profileMapStyleMessage:empty { display: none; }
.profile-map-style-cell {
  max-height: none;
  margin-bottom: var(--size-24);
  text-align: left;
}
.profile-map-style-cell:hover { background: var(--black005); }
.map-style-dialog { width: min(var(--size-700), calc(var(--vw-100) - var(--size-32))); }
.map-style-dialog__body { padding-bottom: var(--size-80); }
.map-style-groups { display: flex; flex-direction: column; gap: var(--size-24); }
.map-style-group { display: flex; flex-direction: column; gap: var(--size-12); }
.map-style-grid {
  display: grid;
  grid-template-columns: repeat(var(--number-2), minmax(var(--number-0), var(--fr-3)));
  gap: var(--size-12);
}
.map-style-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--size-8);
  min-width: var(--number-0);
  min-height: var(--number-0);
  max-height: none;
  border: var(--size-2) solid transparent;
  border-radius: var(--radius-16);
  background: var(--black005);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.map-style-card:hover { background: var(--black010); }
.map-style-card[aria-pressed="true"] { border-color: var(--black100); }
.map-style-card__preview {
  width: var(--percent-100);
  height: var(--percent-100);
  overflow: hidden;
  background-position: center;
  background-size: cover;
  pointer-events: none;
}
.map-style-card__preview.is-loading { animation: map-style-preview-loading var(--ms-420) ease-in-out infinite alternate; }
.map-style-card__preview.is-error { background: var(--black010); }
.map-style-renderer {
  position: fixed;
  left: calc(var(--size-700) * var(--number-negative-1));
  top: var(--number-0);
  width: var(--size-360);
  height: var(--size-140);
  pointer-events: none;
}
@keyframes map-style-preview-loading {
  from { opacity: var(--opacity-0-55); }
  to { opacity: var(--opacity-1); }
}
#profileMapStyleMessage { margin: var(--number-0); color: var(--black060); }
body[data-platform="mobile"] .map-style-grid { grid-template-columns: var(--fr-3); }
body[data-platform="mobile"] .map-style-card__preview { height: var(--size-140); }
.public-profile { max-width: var(--size-700); margin: auto; padding: var(--size-24); }
.profile-heading { display: flex; align-items: center; gap: var(--size-16); padding-block: var(--size-32); }
.profile-heading h1 { overflow-wrap: anywhere; }
.public-profile__lists { margin-top: var(--size-16); }
.public-profile__list { display: flex; align-items: center; gap: var(--size-16); padding-block: var(--size-16); color: inherit; }
.public-profile__list > span { display: flex; flex-direction: column; gap: var(--size-8); overflow-wrap: anywhere; min-width: var(--number-0); }
