.admin-wallet-heading{display:flex;align-items:center;gap:16px;justify-content:space-between;flex-wrap:wrap}
.admin-wallet-heading h2{margin:0}
.admin-wallet-network{font-size:14px;color:#b9c7db}
.admin-wallet-card .wallet{align-items:center;margin:18px 0;grid-template-columns:minmax(0,1fr) auto;gap:24px}
.admin-wallet-card .wallet p{font-size:16px;max-width:530px}
.admin-wallet-card .wallet-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.admin-wallet-card button{font-size:16px;margin:0;white-space:nowrap}
.admin-wallet-card #account{font-size:14px;margin-bottom:0}
.admin-wallet-card #balance{font-size:14px;margin-top:6px;color:#b9c7db}
.wallet-dialog{width:min(940px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid #475264;border-radius:24px;color:#e9edf5;background:#1a202b;box-shadow:0 24px 100px #0008;overflow:auto}
.wallet-dialog::backdrop{background:#080c14ba;backdrop-filter:blur(5px)}
.wallet-dialog-layout{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(0,1.05fr)}
.wallet-picker-list{padding:30px;border-right:1px solid #364151;max-height:calc(100dvh - 50px);overflow:auto}
.wallet-picker-list h2{font-size:24px;line-height:1.4;margin:0 48px 22px 0;letter-spacing:0}
.wallet-picker-list h3{font-size:14px;font-weight:500;color:#acb8ca;margin:24px 0 12px}
.wallet-picker-options{display:grid;gap:10px}
.wallet-picker-option{display:flex;align-items:center;gap:14px;width:100%;min-width:0;margin:0;padding:16px;border:1px solid #445167;border-radius:14px;background:#242e3e;color:#f3f6fc;font:inherit;text-align:left;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s}
.wallet-picker-option:hover{background:#2d394b;border-color:#f6c36c}
.wallet-picker-option:disabled{opacity:.55;background:#242e3e;color:#c6d0df;cursor:wait}
a.wallet-picker-option{background:transparent;border-color:#364151;color:#bec9d9}
.wallet-picker-icon{width:40px;height:40px;object-fit:contain;flex-shrink:0;border-radius:10px}
.wallet-picker-placeholder{display:grid;place-items:center;background:#475264;color:#fff;font-size:20px}
.wallet-picker-name{font-size:17px;font-weight:650;line-height:1.35;min-width:0;overflow-wrap:anywhere}
.wallet-picker-state{font-size:13px;color:#c8d3e2;margin-left:auto;flex-shrink:0;white-space:nowrap}
.wallet-picker-info{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;padding:82px 38px 32px;text-align:center;min-width:0}
.wallet-picker-logo{width:88px;height:88px;border-radius:22px;object-fit:cover;margin-bottom:28px}
.wallet-picker-info h2{font-size:28px;line-height:1.4;margin:0 0 16px;letter-spacing:0}
.wallet-picker-info p{font-size:16px;line-height:1.8;color:#b9c7db;margin:0 0 20px}
.wallet-picker-info .wallet-picker-address{width:100%;margin:10px 0 20px;padding:16px;background:#11151c;border-radius:12px;font-size:14px;line-height:1.7;color:#b9c7db;text-align:left}
.wallet-picker-address strong{display:block;margin-top:8px;overflow-wrap:anywhere;color:#edf2fb;font-weight:500;font-family:ui-monospace,SFMono-Regular,monospace}
.wallet-picker-info .wallet-picker-note{font-size:14px;margin:28px 0 0}
.wallet-picker-close{position:absolute;right:16px;top:12px;width:44px;height:44px;display:grid;place-items:center;padding:0;margin:0;border-radius:50%;background:transparent;color:#c7d1e1;font-size:30px;font-weight:400;line-height:1;z-index:1}
.wallet-picker-close:hover{background:#303b4e;color:white}
.wallet-picker-status{font-size:14px;color:#f6c36c;overflow-wrap:anywhere;margin:16px 0 0}
.wallet-picker-status:empty{display:none}
.wallet-picker-status.error{color:#ffb6b6}
.wallet-picker-empty{font-size:15px;color:#b9c7db;padding:16px;border:1px dashed #475264;border-radius:12px}
.wallet-dialog :focus-visible,.admin-wallet-card :focus-visible{outline:3px solid #f6c36c;outline-offset:4px}
body:has(.wallet-dialog[open]){overflow:hidden}
@media(max-width:700px){
 .admin-wallet-card .wallet{grid-template-columns:1fr;gap:18px}
 .admin-wallet-card .wallet-actions{justify-content:flex-start}
 .admin-wallet-card button{width:auto;white-space:normal}
 .wallet-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:18px}
 .wallet-dialog-layout{display:flex;flex-direction:column}
 .wallet-picker-list{padding:24px 20px;max-height:none;overflow:visible;border-right:0}
 .wallet-picker-list h2{font-size:22px;margin-right:40px}
 .wallet-picker-option{padding:14px 12px;gap:12px}
 .wallet-picker-name{font-size:16px}
 .wallet-picker-info{padding:24px 20px;border-top:1px solid #364151}
 .wallet-picker-logo{display:none}
 .wallet-picker-info h2{font-size:21px}
 .wallet-picker-info .wallet-picker-note{margin-top:0}
 .wallet-picker-close{position:fixed;right:22px;top:20px;background:#1a202b}
}
@media(prefers-reduced-motion:reduce){.wallet-picker-option{transition:none}}

.wallet-remote{padding:16px 0;font-size:14px;color:#bec9d9}.wallet-remote img{width:248px;max-width:100%;height:auto;margin:0 auto;border-radius:12px}.wallet-remote a{color:#f6c36c;text-decoration:underline}.wallet-dialog section{margin:0;box-shadow:none}.wallet-dialog button{font-family:inherit}.wallet-dialog [hidden]{display:none!important}
