/* Shared ABA presentation only. The total panel copies card URLs; a single card submits only on a trusted payment click. */
:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #17252d; background: #f4f6f8;
}
* { box-sizing: border-box; }
body { margin: 0; padding: max(12px, env(safe-area-inset-top)) 8px max(12px, env(safe-area-inset-bottom)); }
main { width: 100%; max-width: 960px; min-width: 0; margin: 0 auto; }
.payment-card { width: 100%; min-width: 0; overflow: hidden; border: 1px solid #e4e9ec; border-radius: 24px; background: #fff; box-shadow: 0 8px 30px #15344c08; }
.card-header { padding: 20px 12px 22px; text-align: center; border-bottom: 1px solid #edf0f2; }
.brand-logo { display: block; width: clamp(156px, 32vw, 220px); aspect-ratio: 791 / 578; margin: 0 auto 14px; background: url("/cards/assets/wukong-logo-original-e5a8385a7cf5.png") center / contain no-repeat; }
.card-header h1 { margin: 0; font-size: clamp(40px, 6vw, 52px); line-height: 1.25; font-weight: 800; letter-spacing: -.5px; }
.currency { margin: 10px 0 0; font-size: 18px; line-height: 1.5; color: #7b8993; }
.wallet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 26px 12px 18px; }
.wallet-grid.single-wallet { grid-template-columns: minmax(0, 1fr); }
.wallet-grid section { min-width: 0; }
.wallet-heading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 0; margin-bottom: 22px; }
.wallet-heading h2 { width: 100%; min-width: 0; margin: 0; font-size: clamp(28px, 4.5vw, 38px); line-height: 1.3; font-weight: 750; letter-spacing: -.5px; white-space: nowrap; text-align: center; }
.arrow { font-size: 26px; line-height: 1; font-weight: 600; }
.wechat { color: #079a4f; }
.alipay { color: #147ce5; }
button { display: block; width: 100%; min-width: 0; min-height: 60px; padding: 14px 6px; border: 0; border-radius: 12px; color: #fff; font: inherit; font-size: clamp(22px, 3vw, 26px); line-height: 1.4; font-weight: 750; white-space: nowrap; cursor: pointer; touch-action: manipulation; }
.wechat > button { background: #07b75b; }
.alipay > button { background: #1687f7; }
button:disabled { opacity: .5; cursor: default; }
button:focus-visible { outline: 3px solid #17252d; outline-offset: 3px; }
.retired { margin-top: 10px; padding: 9px 4px; min-height: 42px; font-size: 13px; }
[hidden] { display: none !important; }
#status { min-height: 44px; margin: 14px 4px 0; font-size: 14px; line-height: 1.6; color: #63727c; }
noscript { display: block; margin: 12px 4px 0; font-size: 14px; line-height: 1.6; color: #63727c; }
@media (min-width: 600px) {
  body { padding-left: 12px; padding-right: 12px; }
  .card-header { padding-top: 26px; padding-bottom: 26px; }
  .wallet-grid { gap: 28px; padding: 30px 28px 26px; }
  button { min-height: 64px; }
}

.manual-link { display: block; width: 100%; padding: 12px; border: 1px solid #d7e0e6; border-radius: 8px; font: inherit; color: #354b58; background: #fff; }

form { margin: 0; }
.wechat form button { background: #07b75b; }
.alipay form button { background: #1687f7; }
