/* NIPAY_WALLET_PRO_V2: scoped styling; original site background and navigation remain. */
.np-wallet{padding-bottom:28px!important;min-height:100vh;box-sizing:border-box;text-align:left}
.np-wallet .van-nav-bar__title{color:#fff!important;font-size:18px!important;font-weight:650}
.np-wallet .npw-card{box-sizing:border-box;width:calc(100% - 32px);max-width:520px;margin:24px auto 0;padding:22px 18px;background:#b5f3ea;border:1px solid #c9fff4;border-radius:24px;box-shadow:0 12px 32px #004f3e1a;color:#174f40;font-size:14px;line-height:1.5;font-family:inherit;text-align:left}
.np-wallet .npw-card,.np-wallet .npw-card *{box-sizing:border-box}
.np-wallet .npw-heading{margin-bottom:24px}
.np-wallet .npw-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#337b65}
.np-wallet .npw-heading h1{margin:4px 0 5px;font-size:25px;line-height:1.2;font-weight:750;color:#075b41}
.np-wallet .npw-heading p{margin:0;font-size:12px;color:#4b796c}
.np-wallet .npw-section{margin:20px 0}
.np-wallet .npw-section h2{margin:0 0 9px;font-size:12px;font-weight:700;color:#1e5a49}
.np-wallet .npw-networks{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.np-wallet button,.np-wallet input,.np-wallet textarea{font-family:inherit}
.np-wallet .npw-network{position:relative;display:flex;align-items:center;gap:9px;min-width:0;min-height:75px;padding:12px 9px;border:1px solid #a0d9c9;border-radius:14px;background:#e5fff7;color:#174f40;cursor:pointer;text-align:left}
.np-wallet .npw-network.is-selected{border:2px solid #00865d;padding:11px 8px;background:#fff;box-shadow:0 3px 9px #0067440d}
.np-wallet .npw-logo{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;border-radius:50%}
.np-wallet .npw-logo svg{width:26px;height:26px;display:block}
.np-wallet .npw-logo-TRX{background:#fff0ef;color:#e43d44}
.np-wallet .npw-logo-BSC{background:#f9e7a8;color:#8f6500}
.np-wallet .npw-network-copy{display:block;min-width:0;padding-right:3px}
.np-wallet .npw-network strong{display:block;font-size:11px;font-weight:750;line-height:1.35}
.np-wallet .npw-network small{display:block;margin-top:3px;font-size:10px;color:#668679}
.np-wallet .npw-radio{position:absolute;right:6px;top:6px;width:8px;height:8px;border:1px solid #9ac9b7;border-radius:50%}
.np-wallet .is-selected .npw-radio{background:#00a170;border-color:#00a170;box-shadow:0 0 0 2px #dcf9e9}
.np-wallet .npw-accounts{display:flex;gap:4px;border-radius:12px;background:#97decc;padding:4px}
.np-wallet .npw-accounts button{flex:1;min-width:0;padding:10px 3px;border:0;border-radius:9px;background:transparent;color:#386e5d;font-size:11px;font-weight:650;cursor:pointer}
.np-wallet .npw-accounts button.is-selected{background:#fff;color:#00794f;box-shadow:0 2px 5px #006f4712}
.np-wallet .npw-balance{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:18px 0;padding:13px 0;border-top:1px solid #98d8c6;border-bottom:1px solid #98d8c6}
.np-wallet .npw-balance>span{max-width:48%;font-size:11px;color:#477966}
.np-wallet .npw-balance strong{font-size:20px;line-height:1.3;color:#006e4a;text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.np-wallet .npw-balance small{font-size:11px;font-weight:500}
.np-wallet .npw-field{display:block;margin:19px 0 8px}
.np-wallet .npw-field>span{display:block;margin-bottom:7px;font-size:12px;font-weight:650}
.np-wallet .npw-input-wrap{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #b4decf;border-radius:12px;padding:0 13px;overflow:hidden}
.np-wallet .npw-input-wrap:focus-within{border-color:#009b6b;box-shadow:0 0 0 3px #00a17012}
.np-wallet .npw-input-wrap input{min-width:0;width:100%;height:48px;padding:0;border:0;outline:0;background:transparent;color:#174f40;font-size:14px;box-shadow:none}
.np-wallet .npw-input-wrap input::placeholder{color:#88a99d;font-size:12px}
.np-wallet .npw-input-wrap b{font-size:11px;color:#68917e}
.np-wallet .npw-caption{font-size:10px;line-height:1.6;color:#557e6c;margin:8px 0 12px}
.np-wallet .npw-quote{background:#d9faf0;border:1px solid #a6e1ce;border-radius:12px;padding:13px;margin:20px 0}
.np-wallet .npw-row{display:flex;justify-content:space-between;align-items:baseline;gap:14px;font-size:11px;margin:7px 0;color:#527a68}
.np-wallet .npw-row strong{color:#245b43;font-weight:650;text-align:right;overflow-wrap:anywhere}
.np-wallet .npw-quote .npw-caption{margin-bottom:0}
.np-wallet .npw-receive{display:flex;justify-content:space-between;gap:12px;padding-top:12px;margin-top:12px;border-top:1px solid #a7d7c2;color:#007a50;font-size:12px}
.np-wallet .npw-receive strong{font-size:15px;overflow-wrap:anywhere}
.np-wallet .npw-primary{display:block;width:100%;min-height:48px;padding:12px 16px;border:0;border-radius:24px;background:#00a170;color:#fff;font-size:13px;line-height:1.5;font-weight:700;cursor:pointer;margin-top:16px;box-shadow:0 4px 9px #00704b1a}
.np-wallet .npw-secondary{display:block;width:100%;min-height:44px;padding:11px;border:1px solid #8ccab3;border-radius:24px;background:transparent;color:#08764f;font-size:12px;line-height:1.5;font-weight:650;cursor:pointer;margin-top:10px}
.np-wallet button:disabled{opacity:.55;cursor:default;box-shadow:none}
.np-wallet button:focus-visible,.np-wallet textarea:focus-visible{outline:2px solid #08734f;outline-offset:3px}
.np-wallet .npw-message{padding:11px 12px;border:1px solid #8bd1b7;background:#dff9ed;color:#25674c;border-radius:10px;font-size:11px;line-height:1.6;overflow-wrap:anywhere;margin:12px 0}
.np-wallet .npw-error{background:#fff0ed;border-color:#eebcb5;color:#99392c}
.np-wallet .npw-paused{background:#fff7dc;border-color:#e8d9a5;color:#826321}
.np-wallet .npw-instruction{background:#dbf8ed;border-color:#93d2b8}
.np-wallet .npw-address-box{background:#fff;border:1px solid #a6dac4;padding:17px 14px;border-radius:16px;margin:18px 0;text-align:center}
.np-wallet .npw-address-network{display:flex;align-items:center;justify-content:center;gap:10px;text-align:left}
.np-wallet .npw-address-network strong{font-size:12px;display:block}
.np-wallet .npw-address-network small{display:block;font-size:10px;color:#6a8a79;margin-top:3px}
.np-wallet .npw-qr{display:flex;align-items:center;justify-content:center;min-height:142px;width:142px;margin:18px auto 8px;background:#fff;border:1px solid #e1eee7;border-radius:12px;padding:15px;color:#789780;font-size:10px}
.np-wallet .npw-qr img,.np-wallet .npw-qr canvas{max-width:110px;image-rendering:pixelated}
.np-wallet .npw-address{display:block;resize:none;width:100%;padding:12px;background:#f1faf5;border:1px solid #d0e7d9;border-radius:10px;color:#285e42;font:12px/1.6 monospace;word-break:break-all;overflow-wrap:anywhere;text-align:left;outline:0}
.np-wallet .npw-address-box .npw-row{margin-top:15px}
.np-wallet .npw-footnote{font-size:10px;line-height:1.7;color:#56806d;text-align:center;margin:20px 8px 0}
@media(min-width:700px){.np-wallet .npw-card{margin-top:32px;padding:30px}.np-wallet .npw-network strong{font-size:13px}.np-wallet .npw-network small{font-size:11px}.np-wallet .npw-accounts button{font-size:12px}}
@media(max-width:350px){.np-wallet .npw-card{width:calc(100% - 20px);padding:18px 12px}.np-wallet .npw-network{gap:5px;padding-left:6px;padding-right:6px}.np-wallet .npw-network.is-selected{padding-left:5px;padding-right:5px}.np-wallet .npw-logo{width:29px;height:29px}.np-wallet .npw-network strong{font-size:10px}}

/* NIPAY_COMPACT_ADDRESS_V1 */
.np-wallet{padding-bottom:16px!important}
.np-wallet .npw-card{margin-top:12px;padding:16px;border-radius:20px;max-width:480px}
.np-wallet .npw-heading{margin-bottom:12px}
.np-wallet .npw-eyebrow{display:none}
.np-wallet .npw-heading h1{font-size:22px;margin:0 0 3px}
.np-wallet .npw-heading p{font-size:12px}
.np-wallet .npw-section{margin:12px 0}
.np-wallet .npw-section h2{margin-bottom:6px}
.np-wallet .npw-network{min-height:58px;padding-top:8px;padding-bottom:8px}
.np-wallet .npw-network.is-selected{padding-top:7px;padding-bottom:7px}
.np-wallet .npw-accounts button{min-height:40px;padding:8px 3px}
.np-wallet .npw-balance{margin:12px 0;padding:9px 0}
.np-wallet .npw-balance strong{font-size:18px}
.np-wallet .npw-field{margin:12px 0 6px}
.np-wallet .npw-field>span{margin-bottom:5px}
.np-wallet .npw-input-wrap input{height:44px}
.np-wallet .npw-caption{margin:5px 0 8px;line-height:1.5;font-size:11px}
.np-wallet .npw-quote{padding:9px 12px;margin:12px 0}
.np-wallet .npw-row{margin:4px 0}
.np-wallet .npw-primary{margin-top:12px;min-height:44px;padding:10px 14px}
.np-wallet .npw-secondary{margin-top:8px;padding:9px;min-height:44px}
.np-wallet .npw-message{padding:8px 10px;margin:9px 0}
.np-wallet .npw-address-warning{font-size:12px;border-left:3px solid #b64030}
.np-wallet input[aria-invalid="true"]{color:#9a3025}
.np-wallet .npw-input-wrap:has(input[aria-invalid="true"]){border-color:#c64e3a}
.np-wallet .npw-address-box{padding:12px;margin:12px 0}
.np-wallet .npw-qr{width:134px;min-height:134px;margin:10px auto 6px;padding:11px!important;border-radius:10px!important;justify-content:center!important;box-shadow:none!important}
.np-wallet .npw-qr img,.np-wallet .npw-qr canvas{width:110px!important;height:110px!important}
.np-wallet .npw-address{padding:9px;font-size:12px;line-height:1.5;height:56px}
.np-wallet .npw-address-box .npw-row{margin-top:10px}
.np-wallet .npw-footnote{margin:12px 0 0;line-height:1.5}
@media(min-width:700px){.np-wallet .npw-card{margin-top:20px;padding:20px}}
