/* Phase 3.6.6 — cache-safe full-screen login and consistent pet frames. */
/* Pet is locked to 40% of the rendered hero height in every breakpoint. */
.battlePet{
  left:29%;
  bottom:7%;
  width:49px;
  height:49px;
  min-width:0;
  max-width:none;
  overflow:visible;
}
.battlePet .battle-pet-frame,
.battlePet img{
  position:absolute;
  left:50%;
  bottom:0;
  width:auto;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:contain;
  transform:translateX(-50%);
  filter:drop-shadow(0 7px 6px rgba(0,0,0,.45));
  pointer-events:none;
}
.battle-pet-idle{opacity:1;animation:petIdleFrame 2.2s ease-in-out infinite}
.battle-pet-attack{opacity:0}
.unit#hero.attacking .battle-pet-idle{opacity:0;animation:none}
.unit#hero.attacking .battle-pet-attack{opacity:1;animation:petAttack .46s cubic-bezier(.22,.88,.32,1)}
@media(min-width:601px){
  .battlePet{width:64px;height:64px}
}
@media(min-width:1025px){.battlePet{width:73px;height:73px}}
