/* Ork cutouts read short next to human/elf (studio h=720). Scale 1.15×, feet-aligned.
 * Art files untouched. Ref: assets/characters/orc_height_ref/ (1.15 recommended). */
:root { --ork-hero-scale: 1.15; }

/* Campaign fight stage */
.unit.hero.race-ork .u-art,
.unit.hero.race-ork .u-tint {
  transform: scale(var(--ork-hero-scale));
  transform-origin: 50% 100%;
}
.unit.hero.race-ork.fb-front .u-art,
.unit.hero.race-ork.fb-front .u-tint {
  transform: scale(calc(-1 * var(--ork-hero-scale)), var(--ork-hero-scale));
  transform-origin: 50% 100%;
}
.unit.hero.race-ork .u-shadow {
  transform: scaleX(var(--ork-hero-scale));
  transform-origin: 50% 50%;
}

/* Shared BattleView (Siege + Champ + others) */
.bv-unit.hero.race-ork .bv-art {
  transform: scale(var(--ork-hero-scale));
  transform-origin: 50% 100%;
}
.bv-unit.hero.race-ork.fb-front .bv-art {
  transform: scale(calc(-1 * var(--ork-hero-scale)), var(--ork-hero-scale));
  transform-origin: 50% 100%;
}
.bv-unit.hero.race-ork .bv-shadow {
  transform: scaleX(var(--ork-hero-scale));
  transform-origin: 50% 50%;
}

/* Lobby / roster / pick cards — feet at bottom of the image box */
.slot.race-ork > img,
.slot[data-hero^="ork_"] > img,
.pick-hero[data-hero^="ork_"] img,
.ca-pick-hero[data-hero^="ork_"] img,
.hero-card[data-go^="ork_"] .hc-art img,
.bh-chip[data-hero^="ork_"] > img,
.rh[data-mh^="ork_"] img,
.rh[data-rh^="ork_"] img,
.flow-hero[data-hero^="ork_"] img,
.hero-slot.race-ork .hero,
img.race-ork {
  transform: scale(var(--ork-hero-scale));
  transform-origin: bottom center;
}

/* Don't clip the taller ork in common hero rows */
.bstage .bs-units,
.bv-units,
.pick-hero,
.ca-pick-hero,
.slot,
.hero-card .hc-art,
.party-row,
.hero-slot,
#scrPick .roster,
.bh-chip {
  overflow: visible;
}
/* Keep stage itself clipping the field edges, but leave headroom for scaled orks:
   units are inset so a 1.15× scale from the feet stays inside the stage. */
.unit.hero.race-ork,
.bv-unit.hero.race-ork {
  z-index: 5;
}

/* Keep parents from clipping a feet-origin 1.15× scale. */
.pick-hero[data-hero^="ork_"],
.ca-pick-hero[data-hero^="ork_"],
#partyCard .heroes,
#partyCard,
.party-row {
  overflow: visible;
}
