.mp-wallet-dialog{box-sizing:border-box;padding:0;border:1px solid #ffffff20;border-radius:24px;background:#151619;color:#f5f5f3;width:min(760px,calc(100vw - 32px));max-width:760px;max-height:min(900px,calc(100dvh - 40px));overflow:hidden;box-shadow:0 35px 100px #0009}
.mp-wallet-dialog::backdrop{background:#060709bf;backdrop-filter:blur(8px)}
.mp-wallet-dialog .mp-wallet-modal-shell{display:flex!important;flex-direction:column;gap:0!important;width:100%;max-height:min(900px,calc(100dvh - 40px));margin:0;background:var(--mp-bg);border-radius:inherit}
.mp-wallet-modal-head{display:flex;align-items:center;justify-content:space-between;padding:24px 28px 20px;border-bottom:1px solid var(--mp-line);background:linear-gradient(115deg,rgba(var(--mp-rgb),.08),transparent)}
.mp-wallet-modal-head .mp-eyebrow{font-size:9px;letter-spacing:1.7px;color:var(--mp-accent)}
.mp-wallet-modal-head h2{font-size:25px;margin-top:6px;letter-spacing:-.7px}
.mp-wallet-modal-close{border:1px solid var(--mp-line);background:var(--mp-soft);color:var(--mp-text);width:38px;height:38px;display:grid;place-items:center;border-radius:50%;font-size:25px!important;line-height:1}
.mp-wallet-modal-body{padding:24px 28px;overflow-y:auto;overscroll-behavior:contain;min-height:240px;scrollbar-width:thin;scrollbar-color:#ffffff25 transparent;outline:none}
.mp-wallet-dialog .mp-wallet-panel{padding:0;border:0;border-radius:0;background:transparent}
.mp-wallet-dialog .mp-wallet-tabs{margin:0 0 24px;gap:25px}
.mp-wallet-dialog .mp-wallet-panel .surface{max-width:none}
.mp-wallet-dialog .mp-payment-flow>section{margin:0;max-width:none}
.mp-wallet-modal-foot{padding:15px 28px;border-top:1px solid var(--mp-line);display:flex;justify-content:space-between;gap:20px;font-size:9px;color:var(--mp-muted);align-items:center}
.mp-wallet-modal-foot a{color:var(--mp-accent);white-space:nowrap;font-size:10px}
.mp-wallet-modal-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:260px;color:var(--mp-muted);font-size:12px}
.mp-wallet-modal-loading>span{height:34px;width:34px;border-radius:50%;border:2px solid var(--mp-line);border-top-color:var(--mp-accent);animation:mp-wallet-spin .8s linear infinite}
.mp-wallet-modal-error{display:flex;flex-direction:column;gap:18px;padding:25px 10px;align-items:flex-start}.mp-wallet-modal-error p{color:var(--mp-muted);font-size:12px}.mp-wallet-modal-error a{color:var(--mp-accent);font-size:12px}
@keyframes mp-wallet-spin{to{transform:rotate(360deg)}}
@media(max-width:600px){.mp-wallet-dialog{width:100%;max-width:100%;max-height:100dvh;margin:auto 0 0;border-radius:22px 22px 0 0;border-bottom:0}.mp-wallet-dialog .mp-wallet-modal-shell{max-height:94dvh}.mp-wallet-modal-head{padding:19px 20px 17px}.mp-wallet-modal-head h2{font-size:22px}.mp-wallet-modal-body{padding:20px 16px;min-height:240px}.mp-wallet-modal-foot{padding:15px 18px calc(15px + env(safe-area-inset-bottom));gap:12px}.mp-wallet-modal-foot>span{max-width:210px}.mp-wallet-dialog .mp-wallet-tabs{gap:20px}}
@media(prefers-reduced-motion:reduce){.mp-wallet-modal-loading>span{animation:none}}
