.currency-chips{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0;max-width:100%;font-variant-numeric:tabular-nums}
.currency-chip{--chip-ink:var(--kit-quiet-ink,#706b63);display:inline-flex;align-items:center;justify-content:center;gap:1px;min-width:0;min-height:32px;padding:2px 3px 2px 5px;border:1px solid #aa854545;border-radius:8px;background:linear-gradient(180deg,#f4f0e6ef,#f4f0e6ed);box-shadow:inset 0 1px #b08a4908,0 2px 5px #17141016;color:var(--kit-ink,#292724);white-space:nowrap}
.currency-inspect{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:26px;padding:0 3px 0 0;border:0;border-radius:4px;background:none;line-height:1;box-shadow:none}
.currency-buy{width:22px;min-width:22px;height:25px;padding:0;margin-left:2px;display:grid;place-items:center;border:0;border-left:1px solid #aa85453d;border-radius:0 4px 4px 0;background:#e6ddca09;color:var(--kit-quiet-ink,#706b63);font:500 18px/1 var(--font-ui);text-shadow:none}
.currency-inspect:active:not(:disabled),.currency-buy:active:not(:disabled){transform:scale(.96)}
.currency-icon{display:block;width:21px;height:21px;flex:none;line-height:0;filter:drop-shadow(0 1px 1px #17141029)}
.currency-icon svg{width:100%;height:100%}.currency-ticket .currency-icon{color:#81662c}.currency-crowns .currency-icon{color:#2d6c80}:is(.currency-dust,.currency-goldDust) .currency-icon{color:#5a3578}
.currency-amount{overflow:hidden;text-overflow:ellipsis;font:650 11px/1.25 var(--font-ui);color:var(--kit-ink,#292724);min-width:0}
@media(hover:hover){.currency-inspect:hover{background:#fffdf70a}.currency-buy:hover{background:#fffdf71c;color:var(--kit-ink,#292724)}}
@media(max-width:350px){.currency-chips{gap:4px}.currency-chip{min-height:30px;padding:2px 2px 2px 4px}.currency-inspect{gap:3px;padding-right:1px}.currency-buy{width:18px;min-width:18px;height:23px;margin-left:1px;font-size:16px}.currency-icon{width:19px;height:19px}.currency-amount{font-size:10px}}

/* Dust balances have their own space in collection and deck title bars. */
.currency-chip:is(.currency-dust,.currency-goldDust){min-width:120px;max-width:100%;min-height:46px;padding:0 12px;justify-content:flex-start}
:is(.currency-dust,.currency-goldDust)>.currency-inspect{flex:1 1 auto;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:44px;padding:0}
:is(.currency-dust,.currency-goldDust) .currency-icon{width:24px;height:24px}
:is(.currency-dust,.currency-goldDust) .currency-amount{flex:1 1 auto;min-width:0;font-size:13px;line-height:1.3;text-align:right;font-variant-numeric:tabular-nums}

.currency-chip{color-scheme:light}.currency-inspect{color:inherit}

.currency-icon>img.item-painterly-icon{display:block;width:100%;height:100%;object-fit:contain;min-width:0;min-height:0}

.currency-goldDust .currency-icon{color:#9c7211}
