/* TradeRealm 3.8.1 — Pets desktop card visibility hotfix */

/*
 * 3.8.0 added Demand / Trades / Calc below Basic Value.
 * The shared collectible-card component still used the older 3:4 desktop
 * aspect ratio, so the new market row could reach the clipped bottom edge.
 * Mobile already uses the taller 2:3 card and is intentionally unchanged.
 */
@media (min-width:761px){
  body[data-page="pets"] .tr38-pet-card{
    aspect-ratio:2/3!important;
    padding-bottom:10px!important;
  }

  body[data-page="pets"] .tr38-pet-card .realm-card-art-v140{
    flex:1 1 auto!important;
    min-height:0!important;
  }

  body[data-page="pets"] .tr38-card-value{
    flex:0 0 auto!important;
    margin-bottom:5px!important;
  }

  body[data-page="pets"] .tr38-card-market{
    flex:0 0 auto!important;
    display:flex!important;
    align-items:stretch!important;
    gap:4px!important;
    margin:0 7px 4px!important;
    overflow:visible!important;
  }

  body[data-page="pets"] .tr38-card-market span{
    flex:1 1 0!important;
    width:auto!important;
    min-width:0!important;
    overflow:hidden!important;
  }
}
