RUPTURE TCG UI ICONS - what to replace and at what size
=======================================================

Drop replacements into:   C:/rupture-tcg/ui/card-images/
keeping the same filename. The server prefers that folder over the repo copy, so your
icons survive a git pull and you never edit the original files. Refresh the page to see
changes - no restart needed.


THE TWO STANDALONE ICONS
------------------------

attack-token.png     52 x 48 px     the attack gem
health-token.png     42 x 46 px     the health gem

Keep those exact pixel sizes. Everything is positioned against them and the layout uses
hard-coded offsets.

Where they appear, and the size they actually end up on screen:

  card at full size      52x48 / 42x46       1:1, bottom corners of the card
  card in your hand      ~27x25 / ~22x24     card is scaled to 0.52
  card in the gallery    ~41x37 / ~33x36     scaled to 0.78
  unit on the board      39x39 BOTH          forced square - see warning
  champion HP            45x45               health-token only, also square

  WARNING: on the board both tokens are stretched into a square box
  (background-size: 100% 100%). Your 52x48 attack icon gets squashed about 25%
  horizontally there. If that bothers you, draw them both square at 48x48 and say so -
  I will update the card offsets to match.


THE COST GEM - read this before drawing it
------------------------------------------

The blue cost circle is NOT its own file. It is painted into layer-1.png, the card frame
base (256 x 298), near the top right, roughly x 196-240, y 0-44.

Two ways to change it:

  1. Edit layer-1.png and redraw that area. Full control, but you are editing the whole
     card frame.
  2. Ask me to add a cost-gem overlay - I can make the renderer draw a separate
     cost-gem.png on top of the baked one, so you only supply the gem. Takes me about
     five minutes.

Included to trace over (DO NOT replace these, they are crops):
  reference/cost-gem-REFERENCE-ONLY.png            52x48 crop of the gem area
  reference/layer-1-top-strip-REFERENCE-ONLY.png   256x60 crop of the frame top


THE STYLE THE CURRENT ONES USE
------------------------------

  attack-token.png   6 colours, 79% opaque, hard alpha (zero anti-aliasing)
  health-token.png   6 colours, 87% opaque, hard alpha

Everything renders with image-rendering: pixelated and no smoothing, so anti-aliased or
soft-edged art will look muddy. Use hard edges, a limited palette, and pixels that are
either fully opaque or fully transparent - nothing in between.

The number is drawn ON TOP by the browser in the 'trenco' pixel font, red (#CF596D) for
attack and green (#A4E9C7) for health. Leave a readable flat area in the middle.


ALSO IN THIS ZIP, IF YOU WANT TO REDO MORE OF THE FRAME
-------------------------------------------------------

  layer-1.png                         256x298   card frame base (holds the cost gem)
  layer-3.png                         148x40    name plate mask
  layer-4.png                         250x270   outer frame mask
  layer-5.png                         178x250   inner shadow mask
  layer-6.png                         176x248   inner frame mask
  pedestal-primary.png                 96x48    minion pedestal
  pedestal-secondary.png              128x66
  pedestal-shadow.png                 128x34
  large-card-window-background.png    144x136   art window backing
  ground.png                           32x16    the 2:1 dimetric floor tile

  IMPORTANT: layer-3 through layer-6 and the three pedestals are MASKS. Only their alpha
  channel is used - the colour is filled in per card from its class palette. Draw them as
  solid silhouettes and ignore colour entirely.

  ground.png is 2:1 on purpose (32 wide, 16 tall). That ratio is what makes the board
  read as a dimetric floor; keep it.
