/* Natural crests and circular portraits, shared by every market surface. */
body .bb-identity {
  --identity-size: 48px;
  display: inline-flex;
  position: relative;
  width: var(--identity-size);
  height: var(--identity-size);
  min-width: var(--identity-size);
  flex: 0 0 var(--identity-size);
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
body .bb-identity.bb-pair {
  width: calc(var(--identity-size) * 1.8 + 4px);
  min-width: calc(var(--identity-size) * 1.8 + 4px);
  flex-basis: calc(var(--identity-size) * 1.8 + 4px);
}
body .bb-identity > .bb-entity {
  display: flex;
  position: static;
  width: var(--identity-size);
  height: var(--identity-size);
  flex: 0 0 var(--identity-size);
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
body .bb-pair > .bb-entity {
  width: calc(var(--identity-size) * .9);
  height: calc(var(--identity-size) * .9);
  flex-basis: calc(var(--identity-size) * .9);
}
body .bb-identity > .bb-person { border-radius: 50%; overflow: hidden; background: #202020; }
body .bb-identity > .bb-entity > img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
}
body .bb-identity > .bb-person > img { object-fit: cover; object-position: center 25%; }
body .part2-module .stock-logo.bb-identity {height:var(--identity-size);}
body .terminal-profile-avatar img,body .terminal-account-avatar img {width:100%;height:100%;object-fit:cover;}
body .terminal-market-tab-icon { --identity-size: 32px; }
body .terminal-search-result-icon { --identity-size: 44px; }
body .terminal-ticket-identity .bb-identity { --identity-size: 36px; }
body .terminal-chart-identity .bb-identity { --identity-size: 44px; }
body .terminal-account-icons .bb-identity { --identity-size: 40px; }
body .terminal-picker .bb-identity { --identity-size: 40px; }
body .overview-identity { --identity-size: 64px; }
body .overview-news-asset { --identity-size: 104px; }
body .overview-related-asset { --identity-size: 48px; }

/* Static identities retained in existing chart/header markup. */
body .entity-mark.logo-mark,
body .symbol-result-icon.logo-mark {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
body .entity-mark.logo-mark > img { padding: 0; object-fit: contain; }
body .part1-module .featured-index-identity {--identity-size:64px;}

body .auth-trigger-account {display:flex;flex-direction:column;gap:2px;min-width:48px;padding:0;background:transparent;border:0;box-shadow:none;}
body .auth-trigger-account[hidden] {display:none;}
body .auth-header-avatar {display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#242424;color:#bdbdbd;overflow:hidden;}
body .auth-header-avatar svg {width:26px;height:26px;}
body .auth-trigger-account [data-auth-header-name] {position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;}
body .auth-trigger-account [data-auth-header-demo] {font-size:9px;font-weight:400;line-height:1;color:#737373;}
