/* Compact, readable funding selector on phones, in both page locations. */
@media (max-width:640px) {
  .xpay { padding-block:48px; }
  .xpay .hx-head h2 { font-size:clamp(28px,8vw,36px); line-height:1.24; letter-spacing:-.02em; }
  .xpay .hx-head p { font-size:14px; line-height:1.7; }
  .xpay-box { min-width:0; gap:18px; padding:16px; border-radius:22px; }
  .xpay-stage { width:100%; height:clamp(240px,76vw,330px); aspect-ratio:auto; overflow:hidden; border-radius:18px; }
  .xpay-card { top:49%; width:min(78%,260px); padding:10px 10px 0; border-radius:20px; }
  .xpay-card:not(.is-on) { opacity:0 !important; pointer-events:none; }
  .xpay-card img { width:100%; aspect-ratio:1; object-fit:contain; }
  .xpay-card figcaption { padding:0 8px 12px; font-size:14px; line-height:1.4; }
  .xpay-floor { bottom:1%; }
  .xpay-side { min-width:0; }
  .xpay-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin:0; padding:0; overflow:visible; }
  .xpay-tabs button { display:grid; grid-template-columns:30px minmax(0,1fr); width:100%; min-width:0; min-height:48px; gap:8px; padding:6px; font-size:12px; line-height:1.3; text-align:start; }
  .xpay-name { min-width:0; white-space:normal; overflow-wrap:anywhere; }
  .xpay-panels { min-height:0; margin-top:20px; }
  .xpay-panel h3 { font-size:22px; line-height:1.35; }
  .xpay-panel p { font-size:14px; line-height:1.7; }
  .xpay-chips li { font-size:12px; padding:6px 10px; }
  .xpay-nav { margin-top:18px; }
  .xpay .hx-actions { display:flex; flex-wrap:wrap; gap:10px; }
  .xpay .hx-actions .em-btn { min-height:46px; flex:1 1 100%; justify-content:center; }
}
