#tb-wallet.tb-action{flex:0 0 auto;width:auto;min-width:86px;padding:0 15px;gap:7px;background:#7950dc;color:#fff;border:1px solid #976ff0;border-radius:10px;font-size:14px;font-weight:650;box-shadow:0 3px 14px #7145c825}#tb-wallet.tb-action:hover{background:#6840c5;transform:translateY(-1px)}
#wallet-dialog{box-sizing:border-box;width:min(600px,calc(100vw - 28px));max-height:calc(100dvh - 40px);margin:auto;padding:28px 30px;border:1px solid #e9e5f0;border-radius:24px;background:#fff;color:#272433;box-shadow:0 24px 90px #23144233;font:14px/1.55 "Microsoft YaHei",sans-serif;overflow-y:auto;color-scheme:light}#wallet-dialog::backdrop{background:rgba(34,26,55,.35);backdrop-filter:blur(8px)}#wallet-dialog *{box-sizing:border-box}#wallet-dialog [hidden]{display:none!important}#wallet-dialog button{font:inherit;cursor:pointer;transition:background .16s,border-color .16s}#wallet-dialog button:disabled{cursor:default;opacity:.55}#wallet-dialog button:focus-visible,#wallet-dialog input:focus-visible{outline:3px solid #bda3f0;outline-offset:3px}
#wallet-dialog .wm-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}#wallet-dialog h2{font-size:24px;line-height:1.3;margin:0;font-weight:750;color:#262132}#wallet-dialog .wm-head p{margin:7px 0 0;color:#898293}#wm-close{width:32px;height:32px;border:0;border-radius:50%;background:#f5f3f8;color:#777080;font-size:25px!important;line-height:1!important}#wallet-dialog .wm-account{display:flex;align-items:center;justify-content:space-between;background:#f8f6fc;border-radius:12px;padding:12px 15px;margin:20px 0;color:#82758f}#wm-balance{margin-left:10px;color:#6941be;font-size:18px;font-variant-numeric:tabular-nums}#wm-refresh{border:0;background:transparent;color:#7950cc;font-size:12px!important}
#wallet-dialog .wm-tabs{display:inline-flex;padding:4px;border:1px solid #e9e6ee;border-radius:30px;background:#f4f3f6;gap:4px}#wallet-dialog .wm-tabs button{padding:8px 20px;border:1px solid transparent;border-radius:25px;background:transparent;color:#777080;font-weight:650}#wallet-dialog .wm-tabs button[aria-selected=true]{background:#e9dff9;color:#7545cf;border-color:#b594ee}#wallet-dialog h3{font-size:14px;font-weight:650;margin:22px 0 10px;color:#51495c}#wallet-dialog h3 small{font-size:11px;color:#a096ad;margin-left:8px;font-weight:400}#wallet-dialog .wm-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}#wallet-dialog .wm-amounts button{height:54px;border:1px solid #e4e1e9;border-radius:12px;background:#f9f8fb;font-weight:700;font-size:17px;color:#393043}#wallet-dialog .wm-amounts button:last-child{font-size:13px}#wallet-dialog .wm-amounts button[aria-pressed=true]{border-color:#a27be8;background:#eee5fa;color:#7442c8;box-shadow:inset 0 0 0 1px #a27be833}#wallet-dialog input{width:100%;height:46px;border:1px solid #dfd8e9;border-radius:10px;padding:10px 14px;background:#fff;color:#35283f;font:inherit;margin-top:8px}#wm-custom-label{display:block;margin-top:14px;color:#83778f;font-size:12px}
#wm-methods{display:grid;gap:10px}#wallet-dialog .wm-method{display:flex;align-items:center;gap:13px;width:100%;padding:13px 15px;border:1px solid #e2dce9;background:#faf9fc;border-radius:13px;text-align:left;color:#40374a}#wallet-dialog .wm-method[aria-pressed=true]{border-color:#ac85eb;background:#f3edfb}#wallet-dialog .wm-method strong{display:block;font-size:15px}#wallet-dialog .wm-method small{display:block;font-size:11px;color:#93849f;margin-top:2px}#wallet-dialog .wm-pay-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#e4d8f6;color:#7546c6;font-size:20px;font-weight:700}#wallet-dialog .wm-pay-icon.wxpay{background:#dbefdf;color:#27a154}#wallet-dialog .wm-method i{width:17px;height:17px;border:2px solid #bdb3c7;border-radius:50%;margin-left:auto}#wallet-dialog .wm-method[aria-pressed=true] i{border-color:#8953dd;background:radial-gradient(#8953dd 0 43%,transparent 48%)}#wallet-dialog .wm-summary{display:flex;justify-content:space-between;align-items:center;margin:20px 0 0;color:#7e718d}#wm-total{font-size:25px;color:#6e3cc5;font-variant-numeric:tabular-nums}#wallet-dialog .wm-note{font-size:12px;color:#998ba6;margin:5px 0 0}#wm-state{min-height:20px;font-size:12px;color:#77618f;margin:14px 0}#wm-state.wm-error{color:#b84054}#wm-availability,#wm-code-state{font-size:13px;color:#99829f}#wm-availability:empty{display:none}#wallet-dialog .wm-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #f0ebf5;padding-top:17px}#wallet-dialog .wm-footer>span{color:#aa9eb5;font-size:11px}#wm-submit{border:0;border-radius:25px;padding:12px 24px;background:#7941cc;color:#fff;font-weight:700!important;min-width:150px}#wm-submit:not(:disabled):hover{background:#6830ba}#wm-code{min-height:270px;padding-top:20px}#wallet-dialog .wm-code-icon{font-size:40px;color:#9a73d8}#wm-code h3{margin-top:0;font-size:18px}#wm-code label{display:block;margin-top:24px}
@media(max-width:700px){#tb-wallet.tb-action{display:inline-flex;min-width:68px;padding:0 9px;font-size:12px}#wallet-dialog{padding:22px 20px;border-radius:20px;max-height:calc(100dvh - 24px)}#wallet-dialog .wm-amounts{gap:7px}#wallet-dialog .wm-amounts button{font-size:15px;height:50px}#wallet-dialog .wm-tabs button{padding:7px 17px}#wallet-dialog .wm-footer>span{max-width:90px}#wm-submit{min-width:140px;padding:11px 17px}}

@media(max-width:420px){#wallet-dialog .wm-amounts button:last-child{font-size:11px;white-space:nowrap;padding:0 3px}}
