.wallet-view{width:100%;max-width:none;padding:0;min-width:0}.wallet-entry{white-space:nowrap;text-decoration:none}.wallet-card{background:#fff;border:1px solid #e7e8eb;border-radius:13px;padding:26px;min-width:0}.wallet-card h2{font-size:18px;line-height:1.5;margin:0}.wallet-help{color:#566273;font-size:14px;line-height:1.8;margin:0}.wallet-section-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}.wallet-record-card{padding:0;overflow:hidden}.wallet-record-card>.wallet-section-top{padding:22px 24px 0}.wallet-section-note{margin:0;color:#566273;font-size:14px}.wallet-text-button{color:#4b5563;font-size:14px;padding:5px 0;display:inline-flex;align-items:center;gap:6px;min-height:32px}.wallet-text-button:hover{color:#17191d}.wallet-table-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}.wallet-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;white-space:nowrap}.wallet-table th{font-weight:500;color:#566273;font-size:13px;background:#fafbfc}.wallet-table th,.wallet-table td{padding:17px 22px;border-bottom:1px solid #eef0f3}.wallet-table td{color:#3d4959;vertical-align:middle}.wallet-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.wallet-table .wallet-delta{font-weight:600;font-size:14px}.wallet-table .wallet-delta.credit{color:#18704b}.wallet-table .wallet-delta.debit{color:#333b46}.wallet-table td small{display:block;color:#657184;font-size:12px;margin-top:5px}.wallet-table .wallet-number strong{font-size:14px;color:#303744;font-weight:600}.wallet-kind{font-size:14px}.wallet-reference{display:flex;align-items:center;gap:9px;font:13px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;color:#566273;padding:2px 0;text-align:left}.wallet-reference:hover{color:#383e47}.wallet-reference>span:last-child{color:#657184;font:15px system-ui}.wallet-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;margin:0;font-size:13px;color:#566273}.wallet-pagination>div{display:flex;gap:9px}.wallet-pagination .button{min-height:32px;padding:6px 12px;font-size:13px;border-radius:6px}.wallet-pagination .button:disabled{opacity:.4}.wallet-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:150px;font-size:14px;color:#566273}.wallet-empty>span{font-size:24px;color:#d1d5dc}.wallet-empty strong{font-weight:500}.wallet-error,.wallet-record-error{margin:0 0 18px;font-size:14px}.wallet-record-error{padding:0 24px}.wallet-section-top form{display:flex;align-items:center;gap:8px}.wallet-section-top select{border:1px solid #e5e7eb;border-radius:7px;background:#fff;padding:8px 28px 8px 10px;min-height:34px;font-size:14px;color:#4b5563}.wallet-section-top form .button{font-size:13px;min-height:34px;padding:7px 12px;border-radius:7px}.wallet-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:5px;font-size:12px;background:#f4f5f7;color:#566273;white-space:nowrap}.wallet-status-paid{background:#eaf5ee;color:#236243}.wallet-status-pending,.wallet-status-creating{background:#fff5cd;color:#725800}.wallet-status-review,.wallet-status-create_unknown{background:#fff0e4;color:#86511e}.wallet-status-expired{background:#f1f2f5;color:#606b7c}.wallet-history-action{padding:6px 11px;min-height:30px;font-size:13px;border-radius:6px;white-space:nowrap}.wallet-history-id{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.wallet-recharge-surface{max-width:740px;padding:34px 38px}.wallet-recharge-intro{padding-bottom:28px;border-bottom:1px solid #eef0f3;margin-bottom:28px}.wallet-detail-kicker{display:block;font-size:12px;font-weight:600;letter-spacing:1.4px;color:#657184;margin-bottom:8px}.wallet-recharge-intro h2{font-size:23px;letter-spacing:-.3px;margin:0 0 8px}.wallet-recharge-intro p{font-size:14px;color:#566273;line-height:1.8;margin:0}.wallet-recharge-surface form{display:grid;gap:14px}.wallet-recharge-surface label{font-size:14px;font-weight:500;color:#4b5563}.wallet-amount-input{position:relative}.wallet-amount-input input{width:100%;height:76px;border:1px solid #dedfe4;border-radius:10px;background:#fff;padding:16px 85px 16px 20px;font-size:32px;font-weight:600;line-height:1.3;letter-spacing:-.5px;color:#22272e;font-variant-numeric:tabular-nums}.wallet-amount-input input::placeholder{color:#d1d4da}.wallet-amount-input>span{position:absolute;right:20px;top:27px;font-size:14px;color:#566273}.wallet-presets{display:flex;gap:9px;flex-wrap:wrap}.wallet-presets button{min-height:36px;border:1px solid #e5e7eb;border-radius:7px;padding:8px 16px;font-size:13px;color:#4b5563;background:#fff;flex:1;white-space:nowrap}.wallet-presets button[aria-pressed=true]{border-color:#e6c84d;background:#fff9df;color:#75621d}.wallet-presets button:disabled{opacity:.5}.wallet-recharge-method{display:flex;gap:13px;align-items:center;border:1px solid #e8e9ed;border-radius:9px;padding:16px;margin:9px 0 2px}.wallet-usdt-symbol{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ecf5ee;color:#398663;font-size:23px;font-weight:600}.wallet-recharge-method>div{flex:1}.wallet-recharge-method strong{font-size:14px;font-weight:600}.wallet-recharge-method p{margin:3px 0 0;font-size:13px;color:#657184}.wallet-recharge-method>span:last-child{color:#657184}.wallet-recharge-surface form>.button{width:100%;justify-content:center;min-height:46px;margin-top:8px;font-size:14px}.wallet-recharge-surface select{border:1px solid #e5e7eb;border-radius:7px;min-height:44px;padding:10px;font:inherit;background:white}.wallet-payment-card{max-width:740px;padding:30px 34px}.wallet-payment-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.wallet-payment-heading h2{font-size:19px;margin:0}.wallet-payment>p{font-size:14px;line-height:1.8;color:#566273;margin:16px 0}.wallet-payment-facts{margin:22px 0}.wallet-payment-facts>div{display:flex;justify-content:space-between;align-items:baseline;gap:18px;padding:12px 0;border-bottom:1px solid #f0f1f4;font-size:14px}.wallet-payment-facts dt{color:#566273}.wallet-payment-facts dd{margin:0;text-align:right;overflow-wrap:anywhere;color:#424c59}.wallet-payment-facts strong{font-size:22px;color:#252a31;font-weight:600;font-variant-numeric:tabular-nums}.wallet-payment .real-payment-address{margin:12px 0}.wallet-payment .real-payment-address code{overflow-wrap:anywhere}.wallet-payment .real-payment-qr{margin:22px 0}.wallet-payment .real-payment-qr svg{width:180px;max-width:100%}.wallet-payment .real-payment-qr figcaption{color:#566273;font-size:14px;line-height:1.8;margin-top:10px}.wallet-cashier-link{display:flex;justify-content:center;align-items:center;min-height:46px;width:100%;text-align:center;white-space:normal;padding:12px 18px;gap:8px}.wallet-hosted-payment>.wallet-help{margin-top:14px;line-height:1.8}.wallet-hosted-choice .button{display:flex;width:100%;justify-content:center;min-height:44px}.wallet-hosted-choice h2{margin-top:0}.wallet-payment-tools{display:flex;justify-content:space-between;gap:14px;padding-top:20px;margin-top:8px;align-items:center;flex-wrap:wrap}.wallet-payment-tools .button{font-size:14px;min-height:36px}.wallet-payment-card>.button{margin-top:20px;width:100%;justify-content:center}.wallet-balance-option{padding:18px;border:1px solid #e8e7dc;background:#fffdf3;border-radius:10px;margin:18px 0}.wallet-balance-option p{font-size:14px;margin:0 0 12px;line-height:1.7}.wallet-view :focus-visible,.wallet-entry:focus-visible{outline:2px solid #c6a62c;outline-offset:4px}.wallet-view .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;padding:0}
@media(max-width:760px){.wallet-card{border-radius:11px}.wallet-recharge-surface{padding:25px 23px}.wallet-recharge-intro{padding-bottom:22px;margin-bottom:23px}.wallet-recharge-intro h2{font-size:21px}.wallet-amount-input input{height:70px;font-size:28px;padding-left:16px}.wallet-amount-input>span{top:24px;right:16px}.wallet-presets{gap:7px}.wallet-presets button{padding:8px 11px;min-height:38px}.wallet-table th,.wallet-table td{padding:15px 16px}.wallet-record-card>.wallet-section-top{padding:18px 18px 0}.wallet-pagination{padding:17px 18px}.wallet-payment-card{padding:25px 22px}.wallet-payment-facts>div{gap:12px}.wallet-payment-facts strong{font-size:20px}.wallet-recharge-surface select{font-size:16px}.wallet-payment-heading .wallet-status{max-width:100%;overflow-wrap:anywhere;white-space:normal}.wallet-recharge-method{padding:14px}.wallet-payment-card .wallet-section-top{align-items:flex-start}}@media(max-width:430px){.wallet-presets button{flex:1 0 calc(50% - 7px)}.wallet-payment-facts>div{flex-direction:column;align-items:flex-start;gap:5px}.wallet-payment-facts dd{text-align:left}.wallet-recharge-surface{padding:23px 20px}.wallet-recharge-intro h2{font-size:20px}.wallet-recharge-method p{max-width:190px}.wallet-payment-card{padding:23px 20px}}
/* Unified recharge center and independent, accessible payment details. */
.wallet-recharge-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;padding:16px 24px;background:#fff;border:1px solid #e2e7ed;border-radius:14px}
.wallet-recharge-summary>div{display:flex;align-items:baseline;gap:12px;flex-shrink:0}.wallet-recharge-summary>div>span{font-size:13px;color:#566273}.wallet-recharge-summary strong{font-size:26px;line-height:1.4;color:#1c2938;font-variant-numeric:tabular-nums}.wallet-recharge-summary small{font-size:13px;font-weight:500;color:#566273}.wallet-recharge-summary>p{font-size:14px;color:#566273;line-height:1.8;margin:0;max-width:320px}
.wallet-success-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;margin-bottom:20px;background:#edf8f1;color:#236243;border:1px solid #c4e4d1;border-radius:10px;font-size:14px;line-height:1.7}.wallet-success-notice button{min-width:32px;min-height:32px;font-size:22px;color:#236243}
.wallet-pending-card{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px;margin-bottom:24px;background:#fffbec;border:1px solid #eadb9e;border-radius:14px}.wallet-pending-card h3{font-size:17px;margin:10px 0 8px;color:#4c421d}.wallet-pending-card p{font-size:14px;line-height:1.8;color:#655a33;margin:0 0 8px;max-width:600px}.wallet-pending-card small{font-size:12px;color:#6b6349;overflow-wrap:anywhere}.wallet-pending-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;flex-shrink:0;max-width:270px;justify-content:flex-end}.wallet-pending-actions .button{font-size:14px;min-height:40px}.wallet-pending-actions .wallet-text-button{flex-basis:100%;justify-content:flex-end;color:#655a33}
.wallet-view[data-section=recharge] .wallet-recharge-surface{max-width:none;margin-bottom:28px;padding:30px 34px}.wallet-view[data-section=recharge] .wallet-recharge-intro{margin-bottom:22px;padding-bottom:22px}.wallet-view[data-section=recharge] #wallet-recharge-form{max-width:680px}.wallet-combined-history .wallet-section-note{margin-top:6px}.wallet-combined-history .wallet-table{min-width:700px}.wallet-combined-history .wallet-table td:first-child{min-width:190px}
.wallet-recharge-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(500px,100%);max-width:100%;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:1px solid #dfe5ec;border-radius:0;background:#fff;color:#263242;box-shadow:-16px 0 60px #11182720;font:14px/1.7 "Microsoft YaHei UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif;overflow:hidden}.wallet-recharge-drawer[open]{display:flex;flex-direction:column}.wallet-recharge-drawer::backdrop{background:#11182766}.wallet-drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:26px 28px 22px;border-bottom:1px solid #e5eaf0}.wallet-drawer-heading h2{font-size:22px;line-height:1.4;margin:0}.wallet-drawer-heading .wallet-detail-kicker{font-size:12px;letter-spacing:0;margin-bottom:6px}.wallet-drawer-heading>button{width:40px;height:40px;border-radius:8px;background:#f1f4f8;color:#3d4959;font-size:26px;line-height:1}.wallet-drawer-heading>button:hover{background:#e7ecf3}.wallet-drawer-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:26px 28px}.wallet-drawer-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 28px;border-top:1px solid #e5eaf0;background:#fff}.wallet-drawer-content .wallet-payment-heading{align-items:flex-start}.wallet-drawer-content .wallet-status{max-width:100%;overflow-wrap:anywhere;white-space:normal}.wallet-recharge-drawer :focus-visible{outline:2px solid #a88a15;outline-offset:3px}.wallet-recharge-drawer .wallet-payment-facts>div{align-items:flex-start}.wallet-recharge-drawer .wallet-payment-facts dd{min-width:0}
@media(max-width:760px){.wallet-recharge-summary{padding:22px;align-items:flex-start;flex-direction:column;gap:12px}.wallet-recharge-summary strong{font-size:28px}.wallet-recharge-summary>p{max-width:none}.wallet-pending-card{padding:22px;align-items:flex-start;flex-direction:column;gap:16px}.wallet-pending-actions{justify-content:flex-start;max-width:none;width:100%}.wallet-pending-actions .wallet-text-button{flex-basis:auto;justify-content:flex-start}.wallet-view[data-section=recharge] .wallet-recharge-surface{padding:25px 22px}.wallet-drawer-heading{padding:22px 20px 18px}.wallet-drawer-content{padding:22px 20px}.wallet-drawer-footer{padding:18px 20px}.wallet-recharge-drawer{padding-bottom:env(safe-area-inset-bottom)}.wallet-recharge-summary,.wallet-pending-card,.wallet-view[data-section=recharge] .wallet-recharge-surface{margin-bottom:20px}}

/* Keep the combined history close to the reusable form. */
.wallet-view[data-section=recharge] .wallet-recharge-surface{padding:24px 28px;margin-bottom:22px}.wallet-view[data-section=recharge] .wallet-recharge-intro{padding-bottom:16px;margin-bottom:18px}.wallet-view[data-section=recharge] .wallet-recharge-intro .wallet-detail-kicker,.wallet-view[data-section=recharge] .wallet-recharge-intro p{display:none}.wallet-view[data-section=recharge] .wallet-recharge-intro h2{font-size:20px;margin:0}.wallet-view[data-section=recharge] #wallet-recharge-form{max-width:none;grid-template-columns:minmax(0,1fr) minmax(180px,220px);gap:12px}.wallet-view[data-section=recharge] #wallet-recharge-form>label,.wallet-view[data-section=recharge] .wallet-amount-input,.wallet-view[data-section=recharge] .wallet-presets,.wallet-view[data-section=recharge] #wallet-recharge-form>p,.wallet-view[data-section=recharge] #wallet-recharge-form>select{grid-column:1/-1}.wallet-view[data-section=recharge] .wallet-amount-input input{height:64px;font-size:28px}.wallet-view[data-section=recharge] .wallet-amount-input>span{top:22px}.wallet-view[data-section=recharge] .wallet-recharge-method{margin:0;padding:12px 14px;grid-column:1}.wallet-view[data-section=recharge] #wallet-recharge-form>button[type=submit]{grid-column:2;width:auto;margin:0;align-self:stretch}.wallet-view[data-section=recharge] #wallet-recharge-form:not(:has(.wallet-recharge-method))>button[type=submit]{grid-column:1/-1}
@media(max-width:760px){.wallet-view[data-section=recharge] .wallet-recharge-surface{padding:23px 20px}.wallet-view[data-section=recharge] #wallet-recharge-form{grid-template-columns:minmax(0,1fr)}.wallet-view[data-section=recharge] .wallet-recharge-method,.wallet-view[data-section=recharge] #wallet-recharge-form>button[type=submit]{grid-column:1/-1}.wallet-view[data-section=recharge] #wallet-recharge-form>button[type=submit]{min-height:46px}.wallet-recharge-summary>div{flex-wrap:wrap;gap:6px 12px}.wallet-recharge-summary>p{font-size:13px}}

.wallet-status-refunded{background:#eef2f6;color:#445469}
