#account-button.account-with-photo {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-width: 46px;
  max-width: 112px;
  padding: 1px 2px;
  line-height: 1.12;
}
#account-button .profile-name {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 700;
}
#account-button.account-with-photo span { margin-left: 0 }
.profile-avatar {
  display: inline-grid;
  position: relative;
  isolation: isolate;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
}
.profile-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #fff6cc;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.profile-identity h3 {
  margin: 3px 0 5px;
  font-size: 21px;
  overflow-wrap: anywhere;
}
.profile-preview .profile-avatar {
  width: 58px;
  height: 58px;
  font-size: 20px;
}
.profile-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.profile-nav button {
  flex: 1 1 120px;
  padding: 9px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
}
.profile-nav [aria-pressed=true] {
  color: white;
  background: var(--ink);
}
.personal-account > h3 { margin-bottom: 6px }
.profile-muted { color: var(--muted); font-size: 13px; line-height: 1.5; margin-bottom: 14px }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px }
.profile-actions [hidden] { display: none }
.profile-status { color: var(--muted); margin-top: 10px; font-size: 12px }
.profile-status:empty { display: none }
.profile-status.error { color: #a12721 }
.profile-tools { padding-top: 12px; border-top: 1px solid var(--line) }
.personal-account button:focus-visible, #account-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px }
@media (max-width: 760px) {
  #account-button.account-with-photo { min-width: 38px; max-width: 76px }
  #account-button.account-with-photo .profile-avatar { width: 32px; height: 32px }
  #account-button .profile-name { font-size: 10px }
}
