/* GBP/PKR Manager 3.32 · responsive admin-managed wallet cards. */
html body .gpm-app .gpm-wallet-overview {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(225px,1fr)) !important;
  gap: 12px !important;
  align-items: stretch;
}
html body .gpm-app .gpm-wallet-card {min-width: 0;}
html body .gpm-app .gpm-wallet-card-three::before {background: #7956a7 !important;}
html body .gpm-app .gpm-wallet-card-three .gpm-wallet-symbol {
  color:#5b3e86 !important; background:#f1ebf9 !important;
}
html body .gpm-app .gpm-wallet-card-three::after {background:rgba(112,72,161,.06) !important;}
@media (max-width: 850px) {
  html body .gpm-app .gpm-wallet-overview {
    display:flex !important; gap:9px !important;
    overflow-x:auto;overscroll-behavior-x:contain;
    scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;
    padding-bottom:8px;
  }
  html body .gpm-app .gpm-wallet-overview .gpm-wallet-card {
    flex:0 0 clamp(205px, 66vw, 280px);scroll-snap-align:start;
  }
}
@media (max-width: 380px) {
  html body .gpm-app .gpm-wallet-overview .gpm-wallet-card {flex-basis:clamp(196px,74vw,260px);}
}

/* v3.30: bounded iframe fallback height. Real height comes from the cards only. */
html body .gpm-app .gpm-rate-cards-frame {height:175px; min-height:0!important; transition:none!important;}
@media(max-width:700px){html body .gpm-app .gpm-rate-cards-frame{height:205px;}}

/* Negative wallet balances are intentionally permitted and visible. */
html body .gpm-app .gpm-wallet-card .gpm-balance-number.gpm-balance-negative,
html body .gpm-app .gpm-all-wallet-summary .gpm-balance-negative {color:#b42318!important;}
