.coinWallet{display:inline-flex;align-items:center;gap:5px 10px;flex-wrap:wrap;max-width:100%;font-variant-numeric:tabular-nums;line-height:1.4}
.coinAmount{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
.coinAmount--gold{color:#b6a17a;--coin-rim:#97835f;--coin-shade:#907a56;--coin-highlight:#c6b590;--coin-glint:#cdbc94;--coin-deep:#88724e}.coinAmount--silver{color:#a9b1b4;--coin-rim:#879398;--coin-shade:#7e8b92;--coin-highlight:#bac3c5;--coin-glint:#c4cccd;--coin-deep:#77868d}.coinAmount--copper{color:#ad8b74;--coin-rim:#92705a;--coin-shade:#8b664f;--coin-highlight:#bca18b;--coin-glint:#c4a991;--coin-deep:#835e48}
.coinWallet .gearIcon{width:15px;height:15px}.coinValue{font-size:1.08em;white-space:nowrap}.coinUnit{font-size:.75em;vertical-align:baseline}
#heroGold{overflow:visible;white-space:normal}#stashGold>svg,#inventoryGold>svg{display:none}
#inventoryGoldAmount,#stashGoldAmount{min-width:0}
.coinIcon{width:20px;height:20px;flex:none;vertical-align:middle;stroke:none;image-rendering:pixelated}
.coinPrice{display:inline-block;vertical-align:baseline;line-height:inherit}.coinPrice .coinIcon{width:14px;height:14px;margin-right:3px;vertical-align:middle}
.valueTag:has(.coinAmount)>.gearIcon{display:none}

.savedCharacterCoins{display:flex;align-items:center;flex-wrap:wrap;gap:5px 9px;margin-top:9px;font-size:.75rem}

/* Shared item and purchase columns keep every vendor row aligned. */
#shopList{--vendor-buy-width:96px;--vendor-purchase-width:300px;--vendor-art-width:64px;--vendor-art-height:72px;container-type:inline-size}
#shopList .vendorListing{display:grid;grid-template-columns:minmax(0,1fr) var(--vendor-purchase-width);align-items:center;gap:16px}
#shopList .vendorItemInfo{display:grid;grid-template-columns:var(--vendor-art-width) minmax(0,1fr);align-items:center;gap:10px;min-width:0}
#shopList .vendorItemImage{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:var(--vendor-art-width);height:var(--vendor-art-height);border:1px solid #564632;background:var(--gear-art-background);box-shadow:inset 1px 1px #86714b22,inset -1px -1px #08060488}
#shopList .vendorItemImage>.gearIcon,#shopList .vendorItemImage>.supplySprite{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;image-rendering:pixelated;flex:none;border:0;box-shadow:none;background:transparent}
#shopList .vendorItemImage>.supplySprite{width:36px;height:44px}
#shopList .vendorItemCopy{min-width:0;overflow-wrap:anywhere}
#shopList .vendorItemCopy strong,#shopList .vendorItemCopy .itemLabel{display:block;line-height:1.45}
#shopList .vendorItemCopy .small{margin-top:3px;line-height:1.5}
#shopList .vendorListing>.actions{display:grid;gap:6px;width:100%;margin:0}
#shopList .vendorPurchaseRow{display:grid;grid-template-columns:minmax(0,1fr) var(--vendor-buy-width);align-items:stretch;gap:12px;width:100%;min-width:0}
#shopList .vendorBuyButton{box-sizing:border-box;width:100%;max-width:100%;min-height:40px;margin:0;padding:7px 10px;font-size:14px;line-height:1.4;white-space:nowrap;text-align:center}
#shopList .vendorPriceBox{box-sizing:border-box;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:baseline;align-content:center;gap:6px;min-width:0;min-height:40px;padding:7px 10px;border:1px solid #6b604d;background:#1b1714;box-shadow:inset 2px 2px #ffffff10,inset -2px -2px #0007;font-size:14px;line-height:1.4}
#shopList .vendorPurchaseRow:has(.vendorBuyButton:disabled) .vendorPriceBox{opacity:.45}
#shopList .vendorActionLabel{text-align:center}
#shopList .vendorPriceSlot{display:block;position:relative;min-width:0;padding-left:17px;text-align:right}
#shopList .vendorPriceSlot .coinIcon{position:absolute;left:0;top:50%;transform:translateY(-50%);width:14px;height:14px}
@container(max-width:640px){
 #shopList .vendorListing{grid-template-columns:minmax(0,1fr);gap:9px}
 #shopList .vendorListing>.vendorPurchaseRow,#shopList .vendorListing>.actions{width:min(100%,var(--vendor-purchase-width));justify-self:end}
}
#shopList .vendorItemImage>.equipmentIcon--recipe{width:36px;height:44px;object-fit:contain}

#shopList .vendorItemImage>.farmerPlotArt{width:90%;height:90%}
