/* Shared native payment presentation; all selectors scoped to payment UI. */
.native-checkout,.native-recharge-page{--np-ink:#25334b;--np-muted:#768297;--np-line:#e7ebf3;--np-soft:#f6f8fd;--np-blue:#4168ed;--np-surface:#fff;color:var(--np-ink)}
.native-checkout[hidden],.native-recharge-page [hidden],#modalBuy [hidden]{display:none!important}
.nr-main,.nr-guide{border:1px solid var(--np-line);border-radius:16px;overflow:hidden;box-shadow:0 6px 24px rgba(38,57,96,.035)}
.nr-heading{display:flex;align-items:center;gap:14px;padding:24px;background:linear-gradient(115deg,#fff,#f0f4ff);border-bottom:1px solid var(--np-line)}
.nr-heading-icon{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:13px;background:#e8efff;color:var(--np-blue);font-size:21px}.nr-heading h1{font-size:23px;font-weight:700;margin:0 0 5px}.nr-heading p{font-size:13px;color:var(--np-muted);margin:0}.nr-network{margin-left:auto;font-size:11px;letter-spacing:1px;background:#e9efff;color:#3b60ca;padding:5px 10px;border-radius:20px}
.nr-main>.card-body{padding:24px}.nr-label{display:flex;gap:9px;align-items:center;font-size:14px;font-weight:600;margin:0 0 12px}.nr-label>span{border-radius:7px;background:#edf2ff;color:#5473c8;font-size:12px;width:24px;height:24px;text-align:center;line-height:24px}
.nr-amount-input{position:relative;margin-bottom:26px}.nr-amount-input input{height:54px;border:1px solid var(--np-line);border-radius:10px;padding:12px 64px 12px 16px;font-size:19px;font-weight:600;background:var(--np-surface);color:var(--np-ink)}.nr-amount-input>span{position:absolute;right:16px;top:17px;font-size:12px;color:var(--np-muted);font-weight:700}
.nr-assets{display:grid;grid-template-columns:1fr 1fr;gap:12px}.nr-asset{margin:0;position:relative;cursor:pointer}.nr-asset input{position:absolute;opacity:0;width:1px;height:1px}.nr-asset-face{display:flex;align-items:center;gap:12px;padding:16px 12px;border:1px solid var(--np-line);border-radius:12px;min-height:80px}.nr-asset input:checked+.nr-asset-face{border-color:#5474d4;background:#eef3ff;box-shadow:0 0 0 1px #5474d4}.nr-asset input:focus-visible+.nr-asset-face{outline:3px solid #a5baff;outline-offset:3px}.nr-coin{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:50%;font-size:26px;color:#fff;font-weight:600}.nr-coin-usdt{background:#42a78b}.nr-coin-trx{background:#ee5763}.nr-asset strong{display:block;font-size:14px}.nr-asset small{display:block;font-size:11px;color:var(--np-muted);margin-top:4px}.nr-selected{margin-left:auto;color:#4b6fc3;opacity:0}.nr-asset input:checked+.nr-asset-face .nr-selected{opacity:1}
.nr-info{font-size:12px;color:#7f7044;background:#fffaf0;border:1px solid #f0e7cd;border-radius:8px;padding:10px 12px;margin:16px 0}.nr-submit{width:100%;padding:13px;border-radius:10px;background:linear-gradient(100deg,#4774f2,#3656d4);border:0;font-weight:600;box-shadow:0 5px 12px #4168ed25}.nr-footnote{font-size:11px;color:var(--np-muted);text-align:center;margin:12px 0 0}.nr-guide .card-header{padding:18px 22px;border-bottom:1px solid var(--np-line)}.nr-guide h2{font-size:15px;font-weight:600;margin:0}.nr-guide .card-body{padding:22px}.nr-guide ol{counter-reset:nr;list-style:none;margin:0;padding:0}.nr-guide li{position:relative;padding:0 0 18px 34px;font-size:13px}.nr-guide li:before{counter-increment:nr;content:counter(nr);position:absolute;left:0;top:0;border-radius:7px;background:#eef3ff;color:#5173ce;width:23px;height:25px;text-align:center;line-height:25px;font-weight:700}.nr-guide li p{color:var(--np-muted);font-size:12px;margin:5px 0 0;line-height:1.6}.nr-guide-note,.nr-site-notice{font-size:12px;line-height:1.8;padding:12px;background:var(--np-soft);border-radius:9px}.nr-site-notice{margin-bottom:12px}
.native-checkout{scroll-margin-top:100px;font-size:14px;min-width:0}.np-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.np-title{font-size:18px;font-weight:700;margin:0!important}.np-network{font-size:11px;color:#3d61c7;padding:4px 8px;border-radius:6px;background:#edf2ff}.np-state{margin-left:auto;color:var(--np-blue);font-size:12px;font-weight:600}.np-order{font-size:11px;color:var(--np-muted);overflow-wrap:anywhere;margin:9px 0 0!important}.np-layout{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;align-items:center;margin:24px 0}.np-qr{text-align:center}.np-qr img{display:block;width:180px;height:180px;background:white;padding:8px;border:1px solid var(--np-line);border-radius:10px;margin:auto}.np-qr figcaption{font-size:11px;color:var(--np-muted);margin-top:8px}.np-label{font-size:12px;color:var(--np-muted);margin-bottom:5px}.np-amount-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.np-amount{font-size:32px;font-weight:750;letter-spacing:-.8px;line-height:1.3;overflow-wrap:anywhere}.np-amount small{font-size:14px;font-weight:600;letter-spacing:0;margin-left:6px}.np-copy{border:1px solid #d9e2fb;background:var(--np-surface);border-radius:7px;color:var(--np-blue);padding:6px 10px;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}.np-copy:hover{background:#edf2ff}.np-copy:focus-visible,.nr-back:focus-visible{outline:2px solid #6b8aeb;outline-offset:3px}.np-address-label{margin-top:20px}.np-address-row{display:flex;align-items:center;gap:10px;background:var(--np-soft);border:1px solid var(--np-line);border-radius:8px;padding:10px}.np-address-row code{color:var(--np-ink);font-size:12px;line-height:1.6;word-break:break-all;flex:1;min-width:0}.np-rate{display:block;font-size:11px;color:var(--np-muted);margin-top:12px}.np-warning{font-size:12px;line-height:1.8;color:#81642c;background:#fff9ec;border:1px solid #f2e7ca;border-radius:9px;padding:12px;margin-bottom:12px}.np-footer{font-size:11px;line-height:1.7;color:var(--np-muted);margin:0!important}.np-result{font-size:14px;line-height:1.8;margin:20px 0}.np-result:empty,.np-notice:empty{display:none}.np-notice{color:#308265;font-size:12px;margin:10px 0}.nr-back{padding:12px 0 0;border:0;border-top:1px solid var(--np-line);background:none;color:var(--np-muted);font-size:12px;cursor:pointer;margin-top:18px;width:100%;text-align:left}
body.dark .native-checkout,body.dark .native-recharge-page,body.dark-mode .native-checkout,body.dark-mode .native-recharge-page{--np-ink:#e0e7f4;--np-muted:#a1aec2;--np-line:#344259;--np-soft:#253044;--np-surface:#1e293b}.dark .nr-heading,.dark-mode .nr-heading{background:#253044}.dark .nr-asset input:checked+.nr-asset-face,.dark-mode .nr-asset input:checked+.nr-asset-face{background:#293a5b}
@media(max-width:1199px){.np-layout{grid-template-columns:1fr;gap:18px}.np-amount-row{justify-content:center}.np-detail>.np-label:first-child{text-align:center}.np-qr img{width:180px;height:180px}.nr-heading{padding:20px}.nr-heading h1{font-size:21px}}
@media(max-width:575px){.nr-main>.card-body{padding:18px}.nr-heading{gap:10px;padding:18px}.nr-network{display:none}.nr-heading h1{font-size:20px}.nr-heading p{font-size:11px}.nr-assets{gap:10px}.nr-asset-face{padding:12px 9px;gap:8px}.nr-coin{width:30px;height:30px;font-size:22px}.nr-asset strong{font-size:12px}.nr-asset small{font-size:10px}.nr-selected{display:none}.np-layout{grid-template-columns:1fr}.np-state{margin-left:0;width:100%}.np-amount{font-size:30px}.np-address-row{gap:6px;padding:9px}.native-recharge-page .table-responsive{font-size:12px}}

/* r10: site-theme tokens and explicit text colors override the legacy .dark p/span rules. */
.native-recharge-page,.native-checkout,#modalBuy{
 --np-ink:#27243f;--np-muted:#62657a;--np-line:#e5e4ee;--np-soft:#f6f5fb;--np-surface:#fff;
 --np-blue:#3837b6;--np-accent-soft:#eeedfb;--np-accent-line:#9e9ae1;--np-warning-bg:#fff9ea;--np-warning:#765a20;--np-warning-line:#ecdfba;
 --np-success:#157457;--np-amount-color:#b63c48;--np-header:linear-gradient(115deg,#fff,#efedf9);--np-primary:linear-gradient(115deg,#292064,#3049d6);
 color:var(--np-ink);color-scheme:light;
}
body.dark .native-recharge-page,body.dark .native-checkout,body.dark #modalBuy,
body.dark-mode .native-recharge-page,body.dark-mode .native-checkout,body.dark-mode #modalBuy{
 --np-ink:#eeedf7;--np-muted:#b6b5ca;--np-line:#3b394d;--np-soft:#242330;--np-surface:#1c1b26;
 --np-blue:#bdb8ff;--np-accent-soft:#302d49;--np-accent-line:#9084dd;--np-warning-bg:#30291d;--np-warning:#efd495;--np-warning-line:#655238;
 --np-success:#84dabb;--np-amount-color:#ffa6af;--np-header:linear-gradient(115deg,#242133,#30284a);--np-primary:linear-gradient(115deg,#514399,#4059c9);
 color:var(--np-ink);color-scheme:dark;
}
.np-icon{display:inline-block;flex-shrink:0;vertical-align:middle;width:20px;height:20px}
.np-brand{display:block;flex-shrink:0;object-fit:contain;filter:none!important}
.native-recharge-page .card{background:var(--np-surface);color:var(--np-ink);border:1px solid var(--np-line);border-radius:18px;box-shadow:0 6px 22px #19124e05}
.native-recharge-page .card-header{background:transparent;border-bottom:1px solid var(--np-line);color:var(--np-ink)}
.native-recharge-page .nr-heading{background:var(--np-header);padding:24px;color:var(--np-ink)}
.native-recharge-page .nr-heading h1{color:var(--np-ink);font-size:24px;letter-spacing:-.5px}
.native-recharge-page .nr-heading p{color:var(--np-muted);font-size:13px}
.native-recharge-page .nr-heading-icon{background:var(--np-accent-soft);color:var(--np-blue);width:48px;height:48px}
.native-recharge-page .nr-heading-icon .np-icon{width:24px;height:24px}
.native-recharge-page .nr-network,.native-checkout .np-network{background:var(--np-accent-soft);color:var(--np-blue)}
.native-recharge-page .nr-label{color:var(--np-ink)}
.native-recharge-page .nr-label>span,.native-recharge-page .nr-guide li:before{color:var(--np-blue);background:var(--np-accent-soft)}
.native-recharge-page .form-control{background:var(--np-surface);color:var(--np-ink);border:1px solid var(--np-line);border-radius:10px}
.native-recharge-page .form-control::placeholder{color:var(--np-muted);opacity:1}
.native-recharge-page .form-control:focus{border-color:var(--np-accent-line);box-shadow:0 0 0 3px var(--np-accent-soft)}
.native-recharge-page .nr-amount-input>span{color:var(--np-muted)}
.native-recharge-page .nr-assets{gap:12px}.native-recharge-page .nr-asset-face{background:var(--np-surface);border:1px solid var(--np-line);padding:15px 16px;min-height:80px}
.native-recharge-page .nr-asset input:checked+.nr-asset-face{background:var(--np-accent-soft);border-color:var(--np-accent-line);box-shadow:0 0 0 1px var(--np-accent-line)}
.native-recharge-page .nr-asset-face>span,.native-recharge-page .nr-asset strong{color:var(--np-ink)}
.native-recharge-page .nr-asset small{color:var(--np-muted);font-size:12px}.native-recharge-page .nr-asset strong{font-size:15px}
.native-recharge-page .nr-coin{position:relative;background:none;width:40px;height:40px}
.native-recharge-page .nr-chain-badge{position:absolute;bottom:-3px;right:-3px;border:2px solid var(--np-surface);border-radius:50%;width:18px;height:18px;background:#ef0027}
.native-recharge-page .nr-selected{color:var(--np-blue);background:transparent;display:flex}
.native-recharge-page .nr-info{display:flex;align-items:flex-start;gap:9px;color:var(--np-warning);background:var(--np-warning-bg);border-color:var(--np-warning-line);font-size:12px}
.native-recharge-page .nr-info .np-icon{width:16px;height:16px;margin-top:1px}
.native-recharge-page .nr-submit{display:flex;justify-content:center;align-items:center;gap:8px;background:var(--np-primary);color:#fff;border:0;box-shadow:0 5px 14px #24135c1c;font-size:15px}
.native-recharge-page .nr-submit:hover{filter:brightness(1.08)}
.native-recharge-page .nr-footnote{color:var(--np-muted);font-size:12px}.native-recharge-page .nr-footnote .np-icon{width:13px;height:13px;margin-right:5px}
.native-recharge-page .nr-guide h2{display:flex;align-items:center;gap:8px;color:var(--np-ink);font-size:15px}
.native-recharge-page .nr-guide p{color:var(--np-muted)}.native-recharge-page .nr-guide strong{color:var(--np-ink)}
.native-recharge-page .nr-guide-note,.native-recharge-page .nr-site-notice{background:var(--np-soft);color:var(--np-muted);border:1px solid var(--np-line)}
.native-recharge-page .nr-site-notice p,.native-recharge-page .nr-site-notice span{color:inherit}
.native-recharge-page .nr-history-body{padding:18px}.native-recharge-page .table{color:var(--np-ink);background:transparent;margin-bottom:0}
.native-recharge-page .table td,.native-recharge-page .table th{border-color:var(--np-line);vertical-align:middle;background:transparent}
.native-recharge-page .table thead th{color:var(--np-muted);font-size:12px;font-weight:600;background:var(--np-soft)}
.native-recharge-page .table-striped tbody tr:nth-of-type(odd){background:var(--np-soft)}
.native-recharge-page .nr-history-amount{color:var(--np-amount-color)}.native-recharge-page .nr-history-asset{color:var(--np-success)}
.native-recharge-page .btn-outline-primary{color:var(--np-blue);border-color:var(--np-accent-line);background:transparent;border-radius:7px}
.native-recharge-page .btn-outline-primary:hover{background:var(--np-accent-soft)}
.native-recharge-page form .btn-primary{background:var(--np-primary);border:0;color:#fff}.native-recharge-page form .btn-danger{background:var(--np-soft);color:var(--np-muted);border:1px solid var(--np-line)}
.native-recharge-page form .np-icon{width:15px;height:15px;margin-right:3px}
.native-checkout .np-title{color:var(--np-ink)}.native-checkout .np-state{color:var(--np-blue)}
.native-checkout .np-order,.native-checkout .np-label,.native-checkout .np-qr figcaption,.native-checkout .np-rate,.native-checkout .np-footer{color:var(--np-muted)}
.native-checkout .np-amount{color:var(--np-ink)}.native-checkout .np-amount small{color:var(--np-muted)}
.native-checkout .np-address-row{background:var(--np-soft);border-color:var(--np-line)}.native-checkout .np-address-row code{color:var(--np-ink)}
.native-checkout .np-copy{color:var(--np-blue);border-color:var(--np-accent-line);background:var(--np-surface)}.native-checkout .np-copy:hover{background:var(--np-accent-soft)}
.native-checkout .np-warning{color:var(--np-warning);background:var(--np-warning-bg);border-color:var(--np-warning-line)}
.native-checkout .np-notice{color:var(--np-success)}.native-checkout .np-result{color:var(--np-ink)}
.native-checkout .np-qr{margin:0}.native-checkout .np-qr img{background:white;filter:none!important;border-color:#dddde6}
.native-checkout .np-top>.np-brand{width:30px;height:30px}.native-checkout .np-layout{margin:24px 0;gap:24px}
.native-recharge-page .nr-back,#modalBuy .nr-back{color:var(--np-muted);border-color:var(--np-line)}
#modalBuy .modal-dialog{max-width:760px;margin:1.5rem auto}
#modalBuy .modal-content{background:var(--np-surface)!important;background-image:none!important;color:var(--np-ink);border:1px solid var(--np-line);border-radius:18px;overflow:hidden;max-height:calc(100dvh - 3rem);box-shadow:0 22px 70px #09051c42}
#modalBuy .modal-header{background:var(--np-header);border-bottom:1px solid var(--np-line);padding:20px 24px;flex:0 0 auto;align-items:flex-start}
#modalBuy .modal-title{display:flex;align-items:center;gap:9px;color:var(--np-ink);font-size:19px;font-weight:700}
#modalBuy .buy-subtitle{font-size:12px;color:var(--np-muted);margin:6px 0 0}
#modalBuy .close{display:grid;place-items:center;opacity:1;color:var(--np-muted);background:var(--np-surface);border:1px solid var(--np-line);border-radius:8px;width:32px;height:32px;padding:0;margin:0;box-shadow:none;text-shadow:none}
#modalBuy .close:hover{color:var(--np-ink);background:var(--np-soft)}
#modalBuy .purchase-modal-scroll{padding:20px 24px;background:var(--np-surface);overflow-y:auto;min-height:0;overscroll-behavior:contain}
#modalBuy label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:var(--np-muted);margin-bottom:8px}
#modalBuy label .np-icon{width:15px;height:15px}
#modalBuy .form-control{height:46px;border:1px solid var(--np-line);border-radius:10px;background:var(--np-surface);color:var(--np-ink);font-size:14px;padding:10px 12px}
#modalBuy .form-control[readonly]{background:var(--np-soft);font-weight:600}#modalBuy .form-control::placeholder{color:var(--np-muted);opacity:1}
#modalBuy .form-control:focus{border-color:var(--np-accent-line);box-shadow:0 0 0 3px var(--np-accent-soft)}
#modalBuy .buy-quantity-total{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:14px}
#modalBuy .buy-quantity-total .form-group{margin-bottom:0!important}
#modalBuy .buy-total label{justify-content:flex-end}#modalBuy .buy-total>div{display:flex;align-items:center;justify-content:flex-end;border:1px solid var(--np-line);border-radius:10px;height:46px;padding:10px 12px;background:var(--np-soft)}
#modalBuy #total{color:var(--np-amount-color)!important;font-size:18px}
#modalBuy .purchase-checkout-footer{display:block;flex:0 0 auto;background:var(--np-soft);border-top:1px solid var(--np-line);padding:18px 24px 22px}
#modalBuy .buy-method-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}#modalBuy .buy-method-heading strong{font-size:14px;color:var(--np-ink)}#modalBuy .buy-method-heading>span{font-size:11px;color:var(--np-muted)}
#modalBuy .purchase-checkout-actions{width:100%}#modalBuy .purchase-primary-actions,#modalBuy .purchase-external-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}#modalBuy .purchase-primary-actions{margin-bottom:10px!important}
#modalBuy .buy-method{display:flex;align-items:center;gap:11px;text-align:left;min-height:62px;padding:12px;border:1px solid var(--np-line);border-radius:11px;background:var(--np-surface);color:var(--np-ink);box-shadow:none;white-space:normal;width:100%;margin:0}
#modalBuy .buy-method:hover{border-color:var(--np-accent-line);background:var(--np-accent-soft)}
#modalBuy .buy-method:focus-visible{outline:3px solid var(--np-accent-line);outline-offset:2px}
#modalBuy .buy-method>span{color:var(--np-ink)}#modalBuy .buy-method strong{display:block;font-size:14px;color:var(--np-ink);font-weight:600}#modalBuy .buy-method small{display:block;font-size:11px;color:var(--np-muted);margin-top:3px}
#modalBuy .buy-method-icon{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:9px;background:var(--np-accent-soft);color:var(--np-blue)!important}
#modalBuy .buy-balance .buy-method-icon{background:var(--np-primary);color:#fff!important}
#modalBuy .buy-method .np-brand{width:34px;height:34px}
#modalBuy [aria-busy=true]{opacity:.6;cursor:wait}
#modalBuy .text-muted,#modalBuy #hotdeal{color:var(--np-muted)!important}
@media(max-width:767px){#modalBuy .modal-dialog{margin:.5rem}#modalBuy .modal-content{max-height:calc(100dvh - 1rem);border-radius:14px}#modalBuy .modal-header{padding:16px}#modalBuy .purchase-modal-scroll{padding:16px}#modalBuy .purchase-checkout-footer{padding:14px 16px 16px}#modalBuy .buy-quantity-total{grid-template-columns:minmax(0,1fr) 125px}#modalBuy .buy-method{padding:10px;gap:8px;min-height:58px}#modalBuy .buy-method strong{font-size:12px}#modalBuy .buy-method small{font-size:10px}#modalBuy .np-layout{grid-template-columns:1fr}#modalBuy .np-amount-row{justify-content:center}#modalBuy .np-detail>.np-label:first-child{text-align:center}}
@media(max-width:575px){.native-recharge-page .nr-heading{padding:18px}.native-recharge-page .nr-heading h1{font-size:21px}.native-recharge-page .nr-heading p{font-size:11px}.native-recharge-page .nr-asset-face{padding:12px 10px;gap:10px}.native-recharge-page .nr-asset strong{font-size:12px}.native-recharge-page .nr-asset small{font-size:10px}.native-recharge-page .nr-coin,.native-recharge-page .nr-coin>.np-brand{width:32px;height:32px}.native-recharge-page .nr-selected{display:none}.native-recharge-page .nr-history-body{padding:14px}.native-checkout .np-state{margin-left:0;width:100%}.native-checkout .np-title{font-size:17px}}

/* Header navigation and inline copy feedback. */
#modalBuy .modal-header{gap:12px;align-items:center}
#modalBuy .modal-header>div:first-child{flex:1;min-width:0}
#modalBuy .np-header-back,.native-recharge-page .np-header-back{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;margin:0 0 0 auto;padding:8px 4px;border:0;background:transparent;color:var(--np-blue);font:inherit;font-weight:600;font-size:13px;white-space:nowrap;cursor:pointer}
.np-header-back:hover{text-decoration:underline}.np-header-back:focus-visible{outline:2px solid var(--np-blue);outline-offset:3px;border-radius:5px}
.native-recharge-page .np-header-back:not([hidden])+.nr-network{display:none}
.native-checkout .np-copy{min-width:76px;transition:background .15s,color .15s}
.native-checkout .np-copy.is-copied{color:#217b59;background:#effbf5;border-color:#bce7d0}
body.dark .native-checkout .np-copy.is-copied,body.dark-mode .native-checkout .np-copy.is-copied{color:#8ce0b9;background:#1b382e;border-color:#38644f}
@media(max-width:480px){#modalBuy .np-header-back,.native-recharge-page .np-header-back{font-size:12px;gap:3px}#modalBuy .modal-header{gap:8px}#modalBuy .buy-subtitle{font-size:10px}.native-recharge-page .nr-heading{flex-wrap:wrap}.native-recharge-page .np-header-back{margin-left:auto}}
