/* Shared display-only identities: local logos, wrapping full names, no requests beyond cached assets. */
.coin-identity{display:inline-flex;align-items:center;gap:7px;max-width:100%;min-width:0;vertical-align:middle;text-align:left;line-height:1.25;white-space:normal}
.coin-identity .coin-id-logo{position:relative;display:inline-grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;overflow:hidden;background:#203447}
.coin-identity .coin-id-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#e2eaf2}
.coin-identity .coin-id-logo img[hidden]{display:none}
.coin-identity .coin-id-fallback{font:700 9px/1 system-ui;color:#e2eaf2}
.coin-identity .coin-id-label{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:2px 6px;min-width:0;max-width:100%;overflow-wrap:anywhere}
.coin-identity .coin-id-symbol{font-size:inherit;font-weight:700;color:inherit;letter-spacing:normal}
.coin-identity .coin-id-name{font-size:12px;line-height:1.3;font-weight:400;color:#adbed0;letter-spacing:normal;text-transform:none;white-space:normal;overflow-wrap:anywhere}
.coin-identity-compact .coin-id-logo{flex-basis:23px;width:23px;height:23px}
.coin-identity-compact .coin-id-name{font-size:11px}
button .coin-identity{pointer-events:none}a .coin-identity{text-decoration:inherit}
.whale-mark-quote{font-size:12px;font-weight:600;color:#c7f5ed;font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere;padding:2px 6px;border:1px solid #365653;border-radius:5px;background:#102a2b;line-height:1.4}
.whale-mark-quote[data-state="stale"],.whale-mark-quote[data-state="unavailable"]{color:#e1bf86;border-color:#66573d}
#whalePositions .whale-position-head{flex-wrap:wrap;gap:8px}
#whalePositions .whale-position-head>b{min-width:0;max-width:100%}
/* Scanner cards stay compact: identity wraps instead of pushing score/side outside the tile. */
#perp20Grid .coin-title{flex-wrap:wrap;min-width:0}
#perp20Grid .coin-title>.coin-identity{flex:1 1 100%;min-width:0}
#perp20Grid .perp-main{grid-column:1/-1;grid-row:2}
#perp20Grid .score-badge{grid-column:3;grid-row:1}
#perp20Grid .perp-quick-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
#perp20Grid .perp-quick-controls>*{min-width:0;white-space:normal;text-align:center}
@media(max-width:480px){.coin-identity{gap:5px}.coin-identity .coin-id-logo{flex-basis:24px;width:24px;height:24px}.coin-identity .coin-id-name{font-size:11px}.coin-identity-compact .coin-id-logo{flex-basis:21px;width:21px;height:21px}}
