/* Coin logos. One <img class="coin-icon"> everywhere; the server always answers with a logo or a monogram. */
.coin-icon {
  display: inline-block;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 28%;            /* rounded-square, matching the bundled logo set and the monogram fallback */
  object-fit: cover;
  vertical-align: middle;
  background: var(--coin-bg);
  box-shadow: 0 0 0 1px var(--coin-ring);
  user-select: none;
}
.coin-icon-sm { width: 20px; height: 20px; }
.coin-icon-lg { width: 32px; height: 32px; }

/* Markets board: replaces the old one-letter avatar. */
.coin-cell .coin-icon { width: 36px; height: 36px; border-radius: 30%; }
@media (max-width: 720px) { .coin-cell .coin-icon { width: 30px; height: 30px; } }

/* Ranking panels: logo on the left spanning name and context. */
.ranking-coin { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 9px; align-items: center; }
.ranking-coin .coin-icon { grid-row: span 2; width: 26px; height: 26px; }

/* Server-rendered tables and lists: the logo sits inline before the symbol. */
.analyzer-coin .coin-icon, .scalp-name .coin-icon { margin-inline-end: 8px; vertical-align: -7px; }
.scalp-name .coin-icon { width: 28px; height: 28px; vertical-align: -9px; }
.position-symbol .coin-icon { margin-inline-end: 7px; width: 20px; height: 20px; vertical-align: -5px; }
.tracked-head strong .coin-icon { width: 22px; height: 22px; margin-inline-end: 7px; vertical-align: -5px; }
.mo-mover .coin-icon { width: 16px; height: 16px; }
