/* CurrencyLabel (src/Kenny.UI.Common/Components/Exchange/CurrencyLabel.razor).

   Lives here, not in a <style> block inside the component: an inline block is emitted once per
   rendered instance. Measured on /markets (Chrome trace 2026-11-06): 525 identical copies, 407 KB of
   the 830 KB prerendered document, almost all of it from the coin icons in the mobile news feed —
   and Blazor re-inserted every copy again when the page went interactive. */

.currency-icon {
    width: 16px;
}

.currency-icon-bigger {
    width: 24px;
}

.currency-icon-large {
    width: 37px;
}

/* Large sits 15% above Typo.h5, which this app's theme pins at 1.25rem (Theme.cs → H5Typography).
   MudBlazor has no typo step that small — h4 is +20% AND drops the weight to 400 — so the size
   comes from here instead. Two-class selector so it outranks .mud-typography-h5 whatever the
   stylesheet order turns out to be. */
.mud-typography.currency-label-text-large {
    font-size: 1.4375rem;
}

/* Stays on the fullname's line when it fits; otherwise wraps as one piece onto line 2. */
.mud-typography.currency-label-pair {
    display: inline-block;
    white-space: nowrap;
}
