/* Wallet (ui/wallet.js): one strip right above the menu bar and as wide as it (12 buttons = 268 px, game.css #menubar -
   a new menu button widens both): offline time, Idle-Coins, Yang (far right) side by side. The damage meter sits above it. */
#wallet { position: absolute; right: 4px; bottom: 33px; width: 268px; height: 15px; padding: 2px 3px; display: flex; align-items: center; }
#ui.compact #wallet { bottom: 79px; }
#wallet .wl-row { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 3px; height: 11px;
  font-size: 8px; line-height: 11px; white-space: nowrap; }
#wallet .wl-row + .wl-row { box-shadow: inset 1px 0 0 #3a2e22; }
#wallet .wl-row.hidden { display: none; }
#wallet .wl-row:hover .wl-v { color: #fff; }
#wallet .wl-row img, #wallet .wl-yang { flex: none; width: 9px; height: 9px; image-rendering: pixelated; }
#wallet .wl-yang { background: var(--ic-coin) center / 9px 9px no-repeat; }
#wallet .wl-v { min-width: 0; color: var(--gold); overflow: hidden; }
#wallet .wl-v.red { color: #ff7a6a; }
/* the damage meter of the world bosses (ui/meter.js) right above the strip */
#meter { bottom: 52px; }
#ui.compact #meter { bottom: 98px; }
/* the play-time coins (Nutzer 31.10.2026): countdown next to the Idle-Coins and a thin bar under the row */
#wallet .wl-row { position: relative; }
#wallet .wl-t { flex: none; color: #9fd8c8; font-size: 7px; }
#wallet .wl-t.boost { color: #f0c860; }
#wallet .wl-t.dim { color: #7d7468; }
#wallet .wl-t.hidden, #wallet .wl-bar.hidden { display: none; }
#wallet .wl-bar { position: absolute; left: 3px; bottom: -1px; height: 1px; max-width: calc(100% - 6px); background: #c9a24a; box-shadow: 0 0 2px #f0c86088; pointer-events: none; }
/* active Yang debt (Variant 2 negative Yang display) */
#wallet .wl-row.in-debt { background: rgba(140, 24, 18, .34); box-shadow: inset 1px 0 0 #7a2822; }
#wallet .wl-v.debt { color: #ff4f45; font-weight: 700; }
#wallet .wl-row.in-debt:hover .wl-v.debt { color: #ff8078; }
.tooltip .wl-dval { font-size: 9px; font-weight: 700; margin-bottom: 2px; }
.tooltip .wl-dbar { position: relative; height: 8px; margin: 2px 0 3px; background: #140d0b; box-shadow: inset 0 0 0 1px #5a2622; overflow: hidden; }
.tooltip .wl-dbar > i { position: absolute; left: 0; top: 0; bottom: 0; display: block; background: linear-gradient(#6ec95a, #3a8530); }
.tooltip .wl-dbar > span { position: relative; z-index: 1; display: block; font-size: 6px; line-height: 8px; text-align: center; color: #fff; text-shadow: var(--ol); }
