/* FIX82 — banner proportions, record readability, LIVE ranking badge. */
@media(max-width:900px){
  /* Use extra first-screen height for scenery and its separation from the progress rail. */
  .v390Live .v390Banner{min-height:clamp(105px,13dvh,133px)!important;margin-bottom:clamp(7px,1.4dvh,13px)!important}
}
/* Record details: remove fixed heights that clipped metric titles and table bottom. */
#modalBox.v390BottomSheet:has(.v43318Sheet){max-height:calc(100dvh - 105px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;}
#modalBox.v390BottomSheet .v43318Sheet .v43318StatGrid .v43318Stat{height:auto!important;min-height:59px!important;padding:7px 2px 6px!important;overflow:visible!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Stat>span{min-height:13px!important;line-height:1.25!important;display:block!important;overflow:visible!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Stat small{line-height:1.3!important;overflow:visible!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Types>div{height:auto!important;min-height:43px!important;padding:5px 1px!important;overflow:visible!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Types>div span{line-height:1.3!important;overflow:visible!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Scorecard{padding:8px!important;padding-bottom:14px!important}
#modalBox.v390BottomSheet .v43318Sheet .v43318Table tr:last-child td,#modalBox.v390BottomSheet .v43318Sheet .v43318Table tr:last-child th{min-height:30px!important;height:30px!important}
/* LIVE badge for all ranking sheet titles, even where the older markup provides only the eyebrow. */
#modalBox.v390BottomSheet .v370SheetHead:has(h2) .v80LiveBadge{display:inline-flex!important;align-items:center!important}
