/* web/hud/gear_icons.css
   A piece of gear's icon (web/hud/gear_icons.js): 18 px in a 22 px column wherever it
   shows -- the Equipment panel's and the Armory's rows, the menu beside a slot, an item's card.
   A weapon held in both hands draws at 22 px in the same column, its row no taller. */

.gear-icon {
  flex: none; display: inline-flex; justify-content: center; align-items: center;
  width: 22px; line-height: 1;
}
.gear-icon svg { flex: none; width: 18px; height: 18px; display: block; }
.gear-icon.both svg { width: 22px; height: 22px; margin: -2px 0; }

/* In the menu beside a slot: before the piece's name, centred on its line. */
.bm-mi > .gear-icon, .bm-lead > .gear-icon { align-self: center; margin: 0 .3em 0 -.25em; }

/* On a card: before the Type line's words. */
.tap-type.with-icon { display: flex; align-items: center; gap: .3em; }
.tap-type.with-icon .gear-icon { margin-left: -2px; }
