/* Token identity is independent of the V One theme and trade direction. */
:root{--token-vgb:#2467df;--token-vgb-ink:#ffdf00;--token-vaga:#ff0000;--token-vaga-ink:#111111}
:where(.token-emblem[data-token-identity]){display:inline-grid;place-items:center;flex:none;width:1.65em;height:1.65em;border-radius:50%;font-family:var(--heading);font-weight:800;line-height:1;vertical-align:middle}
.token-emblem[data-token-identity="VGB"],.token-market-page .tm-token-emblem[data-token-identity="VGB"],.dex-exchange-card .dex-exchange-coin[data-token-identity="VGB"]{background:var(--token-vgb);color:var(--token-vgb-ink);border:1px solid color-mix(in srgb,var(--token-vgb),#fff 25%)}
.token-emblem[data-token-identity="VAGA"],.token-market-page .tm-token-emblem[data-token-identity="VAGA"],.dex-exchange-card .dex-exchange-coin[data-token-identity="VAGA"]{background:#111;color:var(--token-vaga);border:1px solid #444}
.token-emblem .identity-mark{display:block;width:76%;height:76%;flex:none}
.token-emblem img{display:block;width:100%;height:100%;object-fit:contain;border-radius:inherit}
.network-emblem{display:inline-grid;place-items:center;vertical-align:middle;width:1.55em;height:1.55em;flex:none;border-radius:4px;background:#111;color:#fff;border:1px solid #444}
.network-emblem .identity-mark{display:block;width:78%;height:78%}
.badge:has(>.network-emblem){display:inline-flex;align-items:center;gap:6px}
.token-emblem[data-token-identity="wVGB"]{background:#2467df;color:#ffdf00;border:1px solid #ffdf00}
.token-emblem[data-token-identity="XRP"]{background:#fff;color:#141414;border:1px solid #d6dce4}
.token-emblem[data-token-identity="XRP"] img{width:72%;height:72%;border-radius:0}
.token-emblem--other{background:var(--surface-raised);color:var(--text)}
.token-market-page .tm-cap-tile[data-market-cap-token="VGB"]{border-color:color-mix(in srgb,var(--token-vgb),var(--border) 25%);background:linear-gradient(135deg,color-mix(in srgb,var(--token-vgb),var(--surface) 78%),var(--surface))}
.token-market-page .tm-cap-tile[data-market-cap-token="VAGA"],[data-theme=light] .token-market-page .tm-cap-tile[data-market-cap-token="VAGA"]{border-color:color-mix(in srgb,var(--token-vaga),var(--border) 25%);background:linear-gradient(135deg,color-mix(in srgb,var(--token-vaga),var(--surface) 78%),var(--surface))}
.portfolio-page .pf-legend [data-pf-symbol="VGB"] .pf-token-dot{background:var(--token-vgb)}
.portfolio-page .pf-legend [data-pf-symbol="VAGA"] .pf-token-dot{background:var(--token-vaga)}
.rh-page[data-real-holder-symbol="VGB"] .rh-node.is-selected>circle:not(.rh-my-ring),.rh-page[data-real-holder-symbol="VGB"] .rh-node:focus-visible>circle:not(.rh-my-ring){fill:var(--token-vgb);stroke:var(--token-vgb-ink)}
.rh-page[data-real-holder-symbol="VGB"] .rh-node.is-selected text{fill:var(--token-vgb-ink)}
.rh-page[data-real-holder-symbol="VGB"] [data-real-holder-legend] i.is-selected{background:var(--token-vgb);border-color:var(--token-vgb)}
/* Map selection uses a red surface with readable white labels. */
.vg-map [data-vaga-node][aria-pressed="true"] circle{fill:#c62828}
.vg-map [data-vaga-node][aria-pressed="true"] .rh-rank-label{fill:#fff;stroke:none}
.vg-map [data-vaga-node]:focus-visible circle{stroke:var(--token-vaga)}
