body[data-sombio-type] .sombio-wordmark {
  letter-spacing: 0;
}

body[data-sombio-type] .sombio-top-profile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
}

body[data-sombio-type] .sombio-top-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--sombio-accent) 44%, rgba(255,255,255,.24));
  background: #111;
  flex: 0 0 auto;
}

body[data-sombio-type] .sombio-top-name {
  display: grid;
  min-width: 0;
}

body[data-sombio-type] .sombio-top-name small {
  color: var(--sombio-accent);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}

body[data-sombio-type] .sombio-top-name strong {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

body[data-sombio-type] [data-theme-toggle] {
  touch-action: manipulation;
}

@media (max-width: 640px) {
  body[data-sombio-type="artist"] .top-left .brand {
    display: inline-flex !important;
  }

  body[data-sombio-type="artist"] .brand-copy {
    display: none !important;
  }

  body[data-sombio-type="artist"] .brand-badge {
    width: 40px;
    height: 40px;
    border-radius: 999px;
  }

  body[data-sombio-type="artist"] .top-left {
    gap: 6px;
  }

  body[data-sombio-type="artist"] .top-right {
    max-width: 136px;
  }

  body[data-sombio-type="artist"] .top-right .sdb-logo {
    display: inline-flex !important;
    min-width: 40px;
    width: 40px;
    height: 40px;
    padding: 0;
  }

  body[data-sombio-type="artist"] .top-right .sdb-logo-mark {
    width: 24px;
    height: 24px;
  }

  body[data-sombio-type="venue"] .sombio-top-name {
    display: none;
  }

  body[data-sombio-type="venue"] .sombio-top-avatar {
    width: 38px;
    height: 38px;
  }
}
