/* Compact balance display, sharing the profile card's glass and chrome. */
#currencyHUD{position:fixed;z-index:40;right:max(14px,env(safe-area-inset-right));top:max(10px,env(safe-area-inset-top));display:grid;grid-template-columns:1.15fr 1fr;width:160px;box-sizing:border-box;height:21px;min-height:21px;padding:0 5px;border:0;isolation:isolate;border-radius:999px;background:linear-gradient(160deg,#ffffff80,#eef3f680 34%,#dfe7ed80 67%,#cfd9e180) padding-box;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 3px 10px #0002;color:#262626;font-family:'Barlow Condensed',sans-serif;pointer-events:auto;cursor:pointer}
#currencyHUD::after{content:'';position:absolute;inset:0;padding:var(--fcs-rim-micro);border-radius:inherit;background:var(--fcs-chrome);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
#currencyHUD .currency-cell{display:flex;align-items:center;gap:3px;min-width:0;height:21px;box-sizing:border-box;padding:0 4px;pointer-events:auto}
#currencyHUD .currency-cell+ .currency-cell{border-left:1px solid #ffffff65;padding-left:7px}
#currencyHUD img{display:block;width:27px;height:22px;object-fit:contain;flex:none;filter:drop-shadow(0 1px 1px #0003)}
#currencyHUD .currency-copy{display:flex;flex-direction:column;min-width:0;gap:1px}
#currencyHUD strong{font-size:12px;font-weight:700;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums}
body.playing #currencyHUD{display:none}
@media(max-width:600px){#currencyHUD{width:148px;right:8px}#currencyHUD img{width:24px}#currencyHUD strong{font-size:11px}}

#currencyHUD:focus-visible{outline:2px solid #28464f;outline-offset:3px}
