/* ============================================================================
   v0.22.5.0 - drawn artifact art (ArtifactArt.razor, wwwroot/img/artifacts).

   The art replaces an emoji that was always sized by font-size on its wrapper - 22px .drop-glyph,
   28px .inv-tile-glyph, 32px .artifact-glyph, 52px .inv-detail-glyph, 26px
   .pubprofile-artifact-glyph, the cqw sizes of the fusion station - and the drawings carry their
   own margin and glow, so at 1em they read smaller than the emoji did.

   v0.22.6.0: the image is TWICE the wrapper's font-size by default, so the font-size keeps driving
   the emoji fallback and nothing else changes at the sites where twice fits (the inventory tile
   and card, the fusion slot). A site where twice does not fit its box sets --artifact-art-size on
   its wrapper instead, to the largest square that fits, and makes the wrapper that square so a
   tile, row or card keeps its size whether it holds the art or the emoji. Those sites live next
   to the rest of their own rules: .drop-glyph, .pit-multi-row-glyph, .artifact-glyph,
   .pubprofile-artifact-glyph, .fusion-output-glyph and .fusion-output-glyph-mini.

   Every wrapper sits in a flex or grid container, so block is safe: the span is blockified, the
   image is its only child and the box is exactly the image's size, with no baseline gap under it.

   Colour classes on the wrapper (.tier-text-*) set `color`, which an <img> does not read, and the
   drawings carry their own palette, so a rarity never tints or hides the art. The rarity rim
   stays on the tile.
   ============================================================================ */

.artifact-art {
  display: block;
  width: var(--artifact-art-size, 2em);
  height: var(--artifact-art-size, 2em);
  object-fit: contain;
  user-select: none;
}
