/*! Copyright (c) 2026 BamByte (bambyte.net). All rights reserved.
 * Proprietary code: no copying, redistribution, or use to train or prompt
 * AI / machine-learning systems without written permission from BamByte. */
/* Game HUD button artwork (hud_*.webp + Bump.webp, cut from hud_buttons.webp by
   tools/build_hud_buttons.py).

   hud_HUD_btn.webp and hud_layout.webp came in later as single 1254px exports
   instead. They were re-padded to this family's geometry -- the circle at
   168x169 centred on (110.5, 89.5) in a 201x202 box, plus a matching soft
   shadow down-left -- so the one scale rule below fits them like the rest
   (2026-10-29). Re-exporting either at full bleed will overflow the button.

   Those files carry a drop shadow, so the glossy circle only fills ~84% of the
   image box -- the old shadow-less exports filled all of it. Every game HUD sizes
   these <img>s with its own fixed boxes, so this one rule scales the artwork
   around its centre instead (the shadow is allowed to hang outside the box).
   Change --hud-btn-scale to make every HUD button bigger / smaller in all games:
   1.19 = same circle size as the old exports, 1.3 = a bit larger than they were.
   `scale` is its own property, so it stacks with any transform a game already
   puts on the icon (spin, hover lift...). */
:root { --hud-btn-scale: 1.3; }

img[src*="/assets/shared/hud_"]:not([src*="hud_buttons"]),
img[src*="/assets/shared/quick_switch.webp"],
img[src*="/assets/shared/Bump.webp"] {
  scale: var(--hud-btn-scale);
  transform-origin: 50% 50%;
}
