/* Address-only recovery dashboard. Values are supplied by the published feed. */
#wallet-dialog{width:min(660px,calc(100% - 32px));padding:38px;border:1px solid #39422b;border-radius:24px;background:#11150f;color:#f5ffe4;box-shadow:0 32px 120px #0007;max-height:calc(100svh - 32px)}
#wallet-dialog::backdrop{background:#080e06b8;backdrop-filter:blur(8px)}
#wallet-dialog .dialog-close{position:absolute;right:19px;top:16px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #ffffff26;border-radius:50%;color:#c4ff38;font-size:26px;transition:background .2s,transform .2s}
#wallet-dialog .dialog-close:hover{background:#c4ff3820;transform:rotate(90deg)}
.wallet-heading{padding-right:28px}.wallet-kicker{display:block;color:#c4ff38;font-size:12px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:15px}
#wallet-dialog h2{font-size:clamp(36px,5vw,48px);line-height:1;letter-spacing:-.045em;font-weight:900;color:#f5ffe4}
#wallet-dialog #wallet-form{margin-top:28px;padding:0;border:0}
#wallet-dialog #wallet-form label{font-size:14px;color:#cbd7bd;margin-bottom:10px}
#wallet-dialog .address-field{border:1px solid #586448;background:#20271b;border-radius:12px;transition:border-color .2s,box-shadow .2s;overflow:hidden}
#wallet-dialog .address-field:focus-within{border-color:#c4ff38;box-shadow:0 0 0 3px #c4ff3818}
#wallet-dialog .address-field input{color:#f5ffe4;padding:16px;font-size:15px;min-width:0;outline:0;border-radius:12px}
#wallet-dialog .address-field input::placeholder{color:#9aa98b}
#wallet-dialog .address-field button{width:60px;border-radius:0;background:#c4ff38;color:#11150f;display:grid;place-items:center;transition:background .2s}
#wallet-dialog .address-field button svg{width:32px;height:20px;transition:transform .25s cubic-bezier(.22,1,.36,1)}
#wallet-dialog .address-field button:hover svg{transform:translateX(3px)}
#wallet-dialog .address-field button:active svg{transform:translateX(5px) scale(.94)}
#wallet-dialog .address-field button:disabled{cursor:progress;opacity:.65}
#wallet-dialog #wallet-status{font-size:13px;color:#a9b79b;margin-top:17px;line-height:1.5}
#wallet-dialog #wallet-status.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
#wallet-dialog #wallet-error{color:#ffbca7;font-size:13px;margin-top:9px}
#wallet-dialog .wallet-results{border-top:1px solid #ffffff1c;padding-top:22px;margin-top:22px}
#wallet-dialog .wallet-results[hidden]{display:none}
.wallet-result-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.wallet-result-address{font-size:13px;color:#d8e6c8;font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.wallet-badge{display:inline-flex;align-items:center;gap:7px;border:1px solid #c4ff384a;background:#c4ff3810;color:#c4ff38;border-radius:30px;padding:6px 10px;font-size:11px;line-height:1.2}
.wallet-badge::before{content:"";width:5px;height:5px;background:currentColor;border-radius:50%;flex:none}
.wallet-badge[data-tone="waiting"]{border-color:#a7b89747;background:#a7b8970a;color:#c2ccba}
.wallet-badge[data-tone="warning"]{border-color:#efc5714a;background:#efc57110;color:#efcf93}
.wallet-result-message{font-size:14px;line-height:1.5;color:#d3dec8;margin:16px 0 20px}
.wallet-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.wallet-metric{margin:0;border:1px solid #d8efbc1c;background:linear-gradient(145deg,#252e1e,#1c2317);border-radius:14px;padding:18px 17px;min-width:0}
.wallet-metric dt{font-size:12px;color:#acbb9c;margin-bottom:11px}.wallet-metric dd{margin:0;font-size:27px;letter-spacing:-.035em;line-height:1.1;font-weight:600;color:#c4ff38;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.wallet-metric>span{display:block;font-size:10px;color:#a4b098;line-height:1.4;margin-top:9px}
.wallet-source{font-size:11px;line-height:1.6;color:#88997a;margin-top:16px;overflow-wrap:anywhere}.wallet-source:empty{display:none}
@media(max-width:520px){#wallet-dialog{padding:30px 20px 24px;border-radius:20px}#wallet-dialog h2{font-size:36px}#wallet-dialog .dialog-close{right:12px;top:12px}.wallet-kicker{font-size:10px}.wallet-metrics{gap:8px}.wallet-metric{padding:16px 13px}.wallet-metric dd{font-size:24px}.wallet-result-address{font-size:11px}#wallet-dialog .address-field input{font-size:16px;padding:15px 12px}.wallet-badge{font-size:10px}.wallet-result-message{font-size:13px}}
@media(prefers-reduced-motion:reduce){#wallet-dialog *,#wallet-dialog *::before{animation:none!important;transition:none!important;scroll-behavior:auto!important}#wallet-dialog .dialog-close:hover,#wallet-dialog .address-field button:hover svg,#wallet-dialog .address-field button:active svg{transform:none}}
