.icon-brick { width: 24px; height: 24px; flex: 0 0 24px; filter: drop-shadow(0 2px 2px #371c6980); }
.wallet-unit { font-size: .72rem; font-weight: 800; white-space: nowrap; }
/* Grow vertically inside the wallet's grid column, never over the level pill.
   Keep full values visible rather than clipping or truncating either resource. */
.wallet > * { min-width: 0; max-width: 100%; }
.wallet .balance-pill {
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 5px;
}
.wallet :is(#balance, #brickBalance, .wallet-unit) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}
/* The brick icon is in normal flow; it does not need the coin's inset. */
.brick-balance { padding: 5px 10px; gap: 5px; background: linear-gradient(130deg, #efe1ff, #d4fff3); color: #44236a; border: 2px solid #8350af; }
.brick-balance #brickBalance { font-weight: 900; }
.map-wallet .wallet-unit { margin-left: 4px; }
.stat-bricks { background: #efe5ff; color: #44236a; border: 2px solid #9665be; }
.candy-village .village-plaque-cost { background: linear-gradient(140deg, #d2a5ef, #9debd7); color: #43216b; box-shadow: 0 2px 0 #65458b; }
.candy-village .village-brick { width: 14px; height: 14px; flex: none; }
.candy-village .village-plot.is-short .village-plaque-cost { background: #eee6f4; color: #624f73; }
@media (max-width: 600px) {
  .wallet-unit { font-size: .65rem; }
}