/* The battle tray (gold, next card and the hand of unit cards) is sized for phones; on big PC windows it took a large share of the view.
   It now scales down with the window: about 85% from 1200x760, about 72% from 1700x950. Scaled from its bottom centre, so it stays
   anchored; the battle camera measures the tray's on-screen size, so the field framing follows. Phones and tablets keep the full size. */
#hud footer{transform:translateX(-50%) scale(var(--tray-scale,1));transform-origin:50% 100%}
@media (min-width:1200px) and (min-height:760px) and (hover:hover) and (pointer:fine){#hud footer{--tray-scale:.85}}
@media (min-width:1700px) and (min-height:950px) and (hover:hover) and (pointer:fine){#hud footer{--tray-scale:.72}}
