/* v43: private orders and CNY balance, scoped to avoid changing public downloads. */
.wallet-tabs{display:flex;gap:12px;margin:0 0 26px;border-bottom:1px solid var(--line);padding:0 0 1px}
.wallet-tabs a{display:flex;align-items:center;gap:8px;padding:14px 22px;font-size:16px;font-weight:650;color:#667c73;border-bottom:3px solid transparent;margin-bottom:-2px}
.wallet-tabs a.active{color:var(--green);border-bottom-color:var(--green)}
.wallet-tabs .ui-icon{width:19px;height:19px}
.wallet-workspace{max-width:1480px;min-width:0}
.wallet-workspace h2{font-size:23px;letter-spacing:0}
.wallet-workspace .card{box-shadow:none;border-radius:14px;padding:26px}
.wallet-workspace .section-head{align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:18px}
.wallet-workspace .section-head p{margin:7px 0 0}
.account-orders-table{width:100%;min-width:760px;font-size:14px}
.account-orders-table td,.account-orders-table th{padding:18px 16px;white-space:nowrap}
.account-orders-table th{font-size:13px;background:#f7faf8}
.account-orders-table .order-id{font-size:12px;line-height:1.5;margin-top:7px;color:#789087}
.order-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.order-method{font-size:13px;border:1px solid #dcece4;background:#f6faf8;border-radius:6px;padding:5px 8px;color:#486b5e}
.order-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:20px;color:#71877c;font-size:13px}
.order-pagination>div{display:flex;gap:10px}
.wallet-workspace .orders-empty{padding:46px 18px;text-align:center}
.wallet-workspace .orders-empty>.ui-icon{width:38px;height:38px;color:#9fbcaf}
.wallet-balance{display:flex;align-items:center;gap:20px;margin-bottom:24px;background:linear-gradient(115deg,#edf8f3,#fff);border-color:#d6ece0}
.wallet-balance-icon{display:grid;place-items:center;width:58px;height:58px;flex:none;background:#dbf2e7;color:#079e76;border-radius:15px}
.wallet-balance-icon .ui-icon{width:28px;height:28px}
.wallet-balance>div{flex:1;min-width:0}
.wallet-balance>div>span{font-size:14px;color:#527969}
.wallet-balance strong{display:block;font-size:34px;font-weight:800;color:#153e2f;line-height:1.3;margin:6px 0;overflow-wrap:anywhere}
.wallet-balance p{font-size:13px;margin:0;color:#6b8778}
.recharge-amount-card{margin-bottom:24px}
.recharge-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:24px 0}
.recharge-preset{padding:22px 10px;border:1px solid #dbe7e0;border-radius:12px;background:white;color:#264b3a;font-size:24px;font-weight:750;transition:border-color .12s,background .12s}
.recharge-preset small{display:block;font-size:12px;color:#789083;font-weight:400;margin-top:10px}
.recharge-preset.selected{border-color:var(--green);background:#f0fbf5;color:#07916b;box-shadow:0 0 0 1px var(--green)}
.recharge-preset[data-amount=custom]{font-size:18px}
.recharge-custom{max-width:420px;margin:20px 0}
.recharge-custom[hidden]{display:none!important}
.recharge-summary{border-top:1px solid #e3eee7;padding-top:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.recharge-summary span{font-size:14px;color:#6a8678;margin-right:12px}
.recharge-summary strong{font-size:28px;color:#154b35}
.recharge-summary p{font-size:13px;margin:8px 0 0}
.recharge-summary .btn{white-space:nowrap;min-height:46px}
.recharge-order{margin:0 0 28px}
.recharge-order .payment-grid{margin-top:18px;min-width:0}
.wallet-workspace .payment-address h2{font-size:22px}
.wallet-workspace .usdt-amount{font-size:32px;overflow-wrap:anywhere}
.wallet-workspace .copy-row{min-width:0}
.wallet-workspace .copy-row input{min-width:0;flex:1;width:0}
.wallet-workspace .copy-row .btn{flex:none}
.payment-state-actions{margin-top:22px;gap:10px}
.paid-order-card{max-width:800px;margin:0 auto;text-align:center;padding:36px!important}
.paid-order-icon{display:grid;place-items:center;width:62px;height:62px;background:#e4f7ed;border-radius:50%;margin:0 auto 18px;color:#05976e}
.paid-order-icon .ui-icon{width:30px;height:30px}
.paid-order-card h2{font-size:26px;letter-spacing:0}
.paid-order-card p{font-size:15px}
.order-summary{margin:26px 0;text-align:left}
.order-summary>div{display:flex;justify-content:space-between;gap:24px;padding:15px 0;border-bottom:1px solid #e8efeb;font-size:14px}
.order-summary dt{color:#7c8e83;flex-shrink:0}
.order-summary dd{margin:0;overflow-wrap:anywhere;text-align:right;color:#244b37}
.paid-order-card .actions{justify-content:center}
.checkout-methods{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 12px}
.checkout-methods button{display:flex;align-items:center;gap:12px;text-align:left;background:#fff;border:1px solid #dce8e0;border-radius:9px;padding:14px 16px;color:#315d46;min-width:0}
.checkout-methods button[aria-pressed=true]{border-color:var(--green);background:#eef9f3;box-shadow:0 0 0 1px #079e7620}
.checkout-methods .ui-icon,.checkout-methods .payment-brand-icon{width:24px;height:24px;flex:0 0 24px}
.checkout-methods .ui-icon{color:var(--green)}
.checkout-methods .payment-brand-wechat{color:#07c160}
.checkout-methods .payment-brand-alipay{color:#1677ff}
.payment-method-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.payment-method-copy strong{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;min-width:0}
.payment-method-copy small{font-size:12px;color:#6d8a7a}
.payment-balance-inline{font-size:12px;font-weight:500;color:#6d8a7a;white-space:nowrap}
.checkout-note{font-size:13px;color:#587365;line-height:1.8;margin:8px 0 14px}
.checkout-note strong{color:#21543c}
@media(max-width:1099px){.recharge-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.wallet-workspace .payment-grid{grid-template-columns:1fr}.wallet-workspace .payment-grid>.card{min-width:0}}
@media(max-width:599px){.wallet-tabs{gap:2px;margin-bottom:20px}.wallet-tabs a{padding:12px 16px}.wallet-workspace .card{padding:18px}.wallet-balance{gap:14px;flex-wrap:wrap}.wallet-balance strong{font-size:29px}.wallet-balance p{font-size:12px}.wallet-balance-icon{width:42px;height:42px}.wallet-balance>.btn{margin-left:56px}.recharge-presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.recharge-preset{padding:19px 12px}.recharge-presets>button:last-child{grid-column:1/-1}.recharge-summary{flex-direction:column;align-items:stretch;padding-top:18px}.recharge-summary>.btn{width:100%}.order-pagination{flex-wrap:wrap}.order-summary>div{gap:12px}.paid-order-card{padding:24px 18px!important}.checkout-methods{gap:9px}.checkout-methods button{grid-template-columns:1fr;padding:12px}.checkout-methods .ui-icon{display:none}.checkout-methods .payment-brand-icon{display:block}.payment-state-actions{flex-wrap:wrap}.wallet-workspace .usdt-amount{font-size:28px}.wallet-workspace .copy-row{flex-wrap:wrap}.wallet-workspace .copy-row input{width:100%;flex-basis:100%}.wallet-workspace .payment-address .address-qr{max-width:100%}}
@media(prefers-reduced-motion:reduce){.recharge-preset{transition:none}}
/* v44: visible selection, immediate feedback, compact payment-only balance strip. */
.order-filters .filter{border:1px solid #dce9e3;border-radius:8px;padding:10px 18px;background:#fff;color:#547367;transition:background .12s,color .12s;min-height:40px}
.order-filters .filter:hover{background:#edf8f3;border-color:#83ccb0}
.order-filters .filter.active,.order-filters .filter[aria-pressed=true]{background:#069e76;color:#fff;border-color:#069e76;font-weight:650;box-shadow:0 3px 9px #069e7625}
.order-filters .filter:focus-visible{outline:3px solid #079e7655;outline-offset:3px}
.recharge-payment-page .wallet-balance.card{padding:10px 16px;min-height:58px;gap:12px;margin-bottom:14px}
.recharge-payment-page .wallet-balance-icon{width:36px;height:36px;border-radius:10px}.recharge-payment-page .wallet-balance-icon .ui-icon{width:21px;height:21px}
.recharge-payment-page .wallet-balance>div{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.recharge-payment-page .wallet-balance strong{font-size:24px;line-height:1.2;margin:0}.recharge-payment-page .wallet-balance p{font-size:12px;margin:0}
.recharge-payment-page .wallet-tabs{margin-bottom:14px}.recharge-payment-page .wallet-tabs a{padding:9px 18px}
.recharge-payment-page .dashhead{margin-bottom:14px}.recharge-payment-page .dashhead h1{font-size:28px;margin:0 0 6px}.recharge-payment-page .dashhead p{margin:0;font-size:14px}
.recharge-payment-page .recharge-order>.section-head{margin-bottom:10px;gap:12px}.recharge-payment-page .recharge-order>.section-head>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.recharge-payment-page .recharge-order>.section-head p{margin:0;font-size:12px}.recharge-payment-page .recharge-order>.section-head h2{margin:0;font-size:20px}
.recharge-payment-page .payment-grid{margin-top:10px;gap:16px;grid-template-columns:1fr 1fr}.recharge-payment-page .payment-grid>.card{padding:18px;min-width:0}.recharge-payment-page .payment-grid .section-head{margin-bottom:8px}.recharge-payment-page .payment-grid h2{font-size:20px;margin:0}.recharge-payment-page .payment-grid .small{font-size:12px;margin:8px 0;line-height:1.5}.recharge-payment-page .usdt-amount{font-size:29px;margin:8px 0}.recharge-payment-page .address-qr{width:144px;height:144px;display:block;margin:10px auto}
.recharge-payment-page .payment-grid .notice{font-size:12px;line-height:1.6;padding:10px 12px;margin:12px 0 0}.recharge-payment-page .payment-steps{margin:10px 0;padding-left:22px;font-size:13px;line-height:1.85}.recharge-payment-page .payment-grid label{font-size:13px;margin:8px 0 5px}.recharge-payment-page .payment-grid .input{min-height:38px;padding:8px 10px;font-size:13px;margin:0}.recharge-payment-page .payment-grid .btn{min-height:38px;padding:8px 12px;font-size:13px}.recharge-payment-page .payment-state-actions{margin-top:12px;gap:8px}.recharge-payment-page #receipt-form>[type=submit]{margin-top:12px}.recharge-payment-page .copy-row{gap:8px}.recharge-payment-page #pay-address{font-family:monospace;font-size:13px;letter-spacing:-.15px}
@media(min-width:1100px) and (max-height:740px){.dashmain.recharge-payment-page{padding-top:16px;padding-bottom:16px}.recharge-payment-page .dashhead{margin-bottom:9px}.recharge-payment-page .dashhead p{font-size:12px}.recharge-payment-page .dashhead h1{font-size:25px}.recharge-payment-page .wallet-tabs{margin-bottom:10px}.recharge-payment-page .wallet-tabs a{padding:7px 16px}.recharge-payment-page .wallet-balance.card{padding:8px 14px;min-height:50px;margin-bottom:10px}.recharge-payment-page .wallet-balance p{display:none}.recharge-payment-page .payment-grid>.card{padding:14px}.recharge-payment-page .payment-grid .address-qr{width:116px;height:116px;margin:8px auto}.recharge-payment-page .payment-grid .usdt-amount{font-size:25px;margin:6px 0}.recharge-payment-page .payment-grid .notice{margin-top:8px;padding:8px 10px}.recharge-payment-page .payment-steps{margin:6px 0}.recharge-payment-page .payment-state-actions{margin-top:10px}.recharge-payment-page .payment-grid .small{margin:6px 0}.recharge-payment-page #receipt-form>[type=submit]{margin-top:8px}.recharge-payment-page .recharge-order>.section-head{margin-bottom:6px}}
@media(max-width:1099px){.recharge-payment-page .payment-grid{grid-template-columns:1fr}.recharge-payment-page .wallet-balance p{display:none}}
@media(max-width:599px){.recharge-payment-page .wallet-balance.card{gap:10px;padding:12px}.recharge-payment-page .wallet-balance>.btn{margin-left:0}.recharge-payment-page .wallet-balance>div{gap:5px;flex-direction:column}.recharge-payment-page .wallet-balance>div>span{font-size:12px}.recharge-payment-page .recharge-order>.section-head>div{gap:4px}.recharge-payment-page .payment-grid .address-qr{width:144px;height:144px}}
/* Keep the QR beside the quote instead of stacking large empty rows. */
@media(min-width:1100px){
.recharge-payment-page .payment-address{display:grid;grid-template-columns:minmax(0,1fr) 136px;column-gap:14px;align-content:start;align-items:start}
.recharge-payment-page .payment-address>.section-head{grid-column:1/-1}
.recharge-payment-page .payment-address>.small,.recharge-payment-page .payment-address>.usdt-amount{grid-column:1;margin:6px 0}
.recharge-payment-page .payment-address>.address-qr{grid-column:2;grid-row:2/5;width:128px;height:128px;margin:0}
.recharge-payment-page .payment-address>label,.recharge-payment-page .payment-address>.copy-row,.recharge-payment-page .payment-address>.notice{grid-column:1/-1}
.recharge-payment-page .payment-grid form{margin:0}.recharge-payment-page .payment-state-actions{margin:12px 0 0!important;align-items:center}.recharge-payment-page .payment-state-actions .btn{margin:0!important}
.recharge-payment-page .payment-grid .payment-steps{font-size:12px;line-height:1.7;margin:6px 0}
.recharge-payment-page .payment-grid #receipt-form .small{margin:6px 0}
}
@media(min-width:1100px) and (max-height:740px){
.recharge-payment-page .payment-address{grid-template-columns:minmax(0,1fr) 110px;column-gap:10px}
.recharge-payment-page .payment-address>.address-qr{width:108px;height:108px}
.recharge-payment-page .payment-grid .payment-state-actions{margin-top:8px!important}
.recharge-payment-page .payment-grid label{margin-top:6px}.recharge-payment-page .wallet-balance.card{margin-bottom:8px}
.recharge-payment-page .payment-grid>.card{padding:12px}
}
@media(min-width:1100px) and (max-height:740px){.recharge-payment-page .dashhead p{display:none}.recharge-payment-page .dashhead h1{margin:0}.recharge-payment-page .dashhead{margin-bottom:6px}.recharge-payment-page .wallet-tabs a{padding-top:6px;padding-bottom:6px}}
/* Fix55 four payment methods */
.checkout-methods.checkout-methods-four{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1000px){.checkout-methods.checkout-methods-four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:599px){.checkout-methods.checkout-methods-four{grid-template-columns:1fr 1fr}}

/* FIX63_PAYMENT_BRAND_ICONS: keep official payment brand marks crisp and remove extra WeChat/Alipay subtitles. */
.checkout-methods button[data-pay-method="wechat"] .payment-method-copy small,
.checkout-methods button[data-pay-method="alipay"] .payment-method-copy small,
.checkout-methods button[data-recharge-method="wechat"] .payment-method-copy small,
.checkout-methods button[data-recharge-method="alipay"] .payment-method-copy small{display:none}


/* FIX64_PAYMENT_COMPACT: compact centered payment selectors; balance amount stays in the detail row below. */
.checkout-methods.checkout-methods-four{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.checkout-methods.checkout-methods-four>button{flex:1 1 180px;max-width:245px;justify-content:center;text-align:center;padding-left:18px;padding-right:18px}
.checkout-methods.checkout-methods-four .payment-method-copy{align-items:center;text-align:center}
.checkout-methods.checkout-methods-four .payment-method-copy strong{justify-content:center;text-align:center}
.checkout-methods.checkout-methods-four .payment-balance-inline{display:none!important}
@media(max-width:599px){
  .checkout-methods.checkout-methods-four{display:grid;grid-template-columns:1fr 1fr;gap:9px}
  .checkout-methods.checkout-methods-four>button{max-width:none;width:100%;justify-content:center}
}

/* FIX65_PAYMENT_LEFT_COMPACT: payment cards stay compact and align from the left; labels remain centered inside each card. */
.checkout-methods.checkout-methods-four{justify-content:flex-start!important;gap:12px}
.checkout-methods.checkout-methods-four>button{flex:0 0 190px!important;width:190px!important;max-width:190px!important;min-width:0;justify-content:center!important;text-align:center!important;padding-left:14px!important;padding-right:14px!important}
.checkout-methods.checkout-methods-four .payment-method-copy{align-items:center!important;text-align:center!important;justify-content:center!important}
.checkout-methods.checkout-methods-four .payment-method-copy strong{width:100%;justify-content:center!important;text-align:center!important}
@media(max-width:760px){
 .checkout-methods.checkout-methods-four{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .checkout-methods.checkout-methods-four>button{width:100%!important;max-width:none!important;min-width:0!important}
}
