.wallet-card{border:1px solid var(--line,#d5e5eb);border-radius:24px;background:var(--card,#fff);padding:28px;margin:0 0 28px;color:var(--text,#19343f)}
.wallet-head,.wallet-heading,.wallet-main,.wallet-operation,.wallet-pending,.wallet-quote>div{display:flex;align-items:center;justify-content:space-between;gap:16px}
.wallet-heading{justify-content:flex-start}.wallet-heading img{flex-shrink:0}.wallet-heading h2{font-size:22px;margin:0 0 4px}.wallet-heading p,.wallet-note{margin:0;color:var(--muted,#78909c);font-size:13px}
.wallet-main{margin:24px 0 12px}.wallet-main>div{display:grid;gap:6px}.wallet-main>div>span{font-size:13px;color:var(--muted,#78909c)}.wallet-main strong{font-size:40px;line-height:1.2;letter-spacing:-1.5px;font-variant-numeric:tabular-nums}.wallet-main .primary-button{padding:0 24px;min-height:48px;flex-shrink:0}
.wallet-history{margin-top:22px;border-top:1px solid var(--line,#d5e5eb)}.wallet-history summary{display:flex;justify-content:space-between;list-style:none;cursor:pointer;padding:18px 0;font-size:14px}.wallet-history summary::-webkit-details-marker{display:none}.wallet-history summary>span{transition:transform .2s}.wallet-history[open] summary>span{transform:rotate(180deg)}
.wallet-operation{width:100%;padding:14px 0;border:0;border-top:1px solid var(--line,#d5e5eb);background:transparent;text-align:left;font:inherit;color:inherit;text-decoration:none;cursor:pointer}.wallet-operation span,.wallet-pending>span:first-child{display:grid;gap:4px}.wallet-operation b{font-size:14px;font-weight:500}.wallet-operation small,.wallet-pending small{color:var(--muted,#78909c);font-size:12px}.wallet-operation strong{white-space:nowrap;font-size:15px;font-variant-numeric:tabular-nums}.wallet-in{color:#138b78}.wallet-operation:hover{color:#008dae}
.wallet-pending{margin-top:12px;width:100%;background:var(--soft,#f1f8fb);color:inherit;border:1px solid var(--line,#d5e5eb);border-radius:12px;padding:14px;text-align:left;font:inherit;cursor:pointer;font-size:14px}
.wallet-modal{width:min(530px,calc(100% - 24px));scrollbar-width:none;overscroll-behavior:contain}.wallet-modal::-webkit-scrollbar{display:none}.wallet-amount{font-size:28px;line-height:1.4}.wallet-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0 22px}.wallet-presets .secondary-button{padding:10px 4px;min-width:0;font-size:13px}
.wallet-methods{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 22px}.wallet-methods .payment-crypto{grid-column:1/-1}.wallet-quote{border-top:1px solid var(--line,#d5e5eb);padding-top:16px}.wallet-quote>div{margin-bottom:10px;font-size:14px}.wallet-quote strong{font-size:24px}.wallet-quote span{color:var(--muted,#78909c)}
.payment-choice-grid .payment-choice[data-payment="wallet"]{grid-column:1/-1;min-width:0;min-height:90px;flex-direction:row;align-items:center}.payment-choice[data-payment="wallet"] small{white-space:normal}.wallet-checkout-hint{margin:12px 0;font-size:13px;color:var(--muted,#78909c)}
.wallet-credit-success{text-align:center;padding:24px 8px}.wallet-credit-success>img{width:64px;height:64px;margin:0 auto 12px}.wallet-credit-success h3{font-size:24px;margin:8px 0}.wallet-credit-success p{color:var(--muted,#78909c)}
html[data-theme="dark"] .wallet-card{background:#172a34;border-color:#29434e;color:#e4f3f8}html[data-theme="dark"] .wallet-pending{background:#1c3540;border-color:#29434e}html[data-theme="dark"] .wallet-in{color:#5dd6b7}html[data-theme="dark"] .wallet-history,html[data-theme="dark"] .wallet-operation,html[data-theme="dark"] .wallet-quote{border-color:#29434e}
@media(max-width:540px){.wallet-card{padding:20px;border-radius:20px}.wallet-heading p{font-size:12px}.wallet-heading h2{font-size:20px}.wallet-main strong{font-size:34px}.wallet-main .primary-button{padding:0 16px}.wallet-head{align-items:flex-start;gap:8px}.wallet-heading{gap:10px}.wallet-head>.text-button{font-size:12px}.wallet-presets{gap:6px}.wallet-operation b{font-size:13px}}
@media(prefers-reduced-motion:reduce){.wallet-history summary>span{transition:none}}
