/* Keep the portrait centered when comments load or the profile begins scrolling.
   Scoped to pet profiles: quest and mailbox scrolling retain their own layout. */
#modal.pet-profile-dialog,#modal.pet-profile-dialog>.modal-body{scrollbar-gutter:stable both-edges}
#modal.pet-profile-dialog .profile-art{grid-template-columns:minmax(0,1fr);grid-template-rows:240px;height:240px;min-height:240px;flex-shrink:0}
#modal.pet-profile-dialog .profile-art>.creature-portrait{grid-area:1/1;place-self:center;width:240px;height:240px;margin:0;transform:none;transition:none;animation:none}
#modal.pet-profile-dialog .profile-art>.treat-aura-host{position:absolute;inset:0 auto auto 50%;width:240px;height:240px;transform:translateX(-50%);pointer-events:none}
