/* V20.12.46
   One visual authority for every player-card front, regardless of screen.
   Outer container sizes remain screen-specific; the card component itself does not.
   Legend cards retain their dedicated renderer and visual rules. */

html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend){
  container-type:inline-size!important;
  aspect-ratio:280/390!important;
}

/* Identity area: one proportion and one typography system in every full-card context. */
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-team-name{
  font-size:1.26em!important;letter-spacing:-.01em!important;padding:0 4.45em 0 1.66em!important;
}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-age-badge{
  right:5.9%!important;top:2.02%!important;width:4.18em!important;height:6.55%!important;
  gap:.14em!important;padding:0!important;
}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-age-badge b{font-size:1.52em!important;line-height:1!important;letter-spacing:0!important}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-age-badge small{
  display:inline!important;width:auto!important;max-width:none!important;font-size:.49em!important;
  line-height:1!important;letter-spacing:.06em!important;writing-mode:horizontal-tb!important;transform:none!important;
}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-type-ribbon{
  left:29.2%!important;right:29.2%!important;font-size:.84em!important;letter-spacing:.12em!important;
}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-action-badge{
  left:6.7%!important;top:39.7%!important;width:14.6%!important;height:14.35%!important;
}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-action-badge b{font-size:2.14em!important;line-height:.84!important}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-action-badge small{margin-top:.46em!important;font-size:.60em!important;letter-spacing:.03em!important}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-name b{font-size:1.62em!important;letter-spacing:-.02em!important}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-name-long b{font-size:1.42em!important}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-name-xlong b{font-size:1.18em!important}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-name span{display:block!important;font-size:.57em!important;margin-top:.24em!important}

/* Compact/full renderer calls now keep the same visible identity marks. */
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-emblem-mark small{display:none!important}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-emblem-mark b{font-size:1.14em!important}

/* Ability rows: the same bar width, number gap and final-value presentation everywhere. */
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-stats{
  top:66.55%!important;height:24.75%!important;padding:.30em .40em .26em!important;gap:0!important;
}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-stat{
  grid-template-columns:16.5% minmax(0,1fr) 12.5%!important;column-gap:.65%!important;
  align-items:center!important;min-width:0!important;
}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-stat-label{
  min-width:0!important;font-size:.66em!important;line-height:1!important;letter-spacing:-.055em!important;
  overflow:hidden!important;white-space:nowrap!important;text-overflow:clip!important;
}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-stat-track{
  min-width:0!important;height:.48em!important;min-height:.30em!important;border-width:.055em!important;
}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-stat-value{
  min-width:0!important;width:100%!important;display:flex!important;align-items:center!important;
  justify-content:flex-end!important;gap:0!important;font-size:.72em!important;line-height:1!important;
  letter-spacing:-.035em!important;text-align:right!important;white-space:nowrap!important;overflow:hidden!important;
}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-stat-value small{
  display:none!important;width:0!important;min-width:0!important;max-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important;
}

/* Cost and identity marks retain one scale; only the outer card width changes per screen. */
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-emblem{font-size:1.34em!important}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-jersey{font-size:1.44em!important}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-year{font-size:1.30em!important}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-cost-label{font-size:1.12em!important}
html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-cost-number{font-size:1.86em!important}

/* The same renderer scales by actual card width rather than by screen name. */
@container (max-width:125px){
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-team-name{font-size:1.08em!important;letter-spacing:-.025em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-age-badge{width:3.60em!important;gap:.07em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-age-badge b{font-size:1.18em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-age-badge small{font-size:.38em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-name span{display:none!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-name b{font-size:1.50em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-name-long b{font-size:1.34em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-name-xlong b{font-size:1.18em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-stat-label{font-size:.61em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-stat-value{font-size:.67em!important}
}

@container (min-width:126px) and (max-width:165px){
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-team-name{font-size:1.14em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-age-badge{width:3.82em!important;gap:.09em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-age-badge b{font-size:1.30em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-age-badge small{font-size:.42em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-name b{font-size:1.52em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-name-long b{font-size:1.36em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-name-xlong b{font-size:1.18em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-name span{font-size:.50em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-stat-label{font-size:.64em!important}
  html body .pmc-card-frame.pmc-card-frame:not(#bbm-card-unify-a):not(#bbm-card-unify-b):not(.pmc-type-legend) .pmc-stat-value{font-size:.70em!important}
}
