/* Shared wallet picker. Phone-first. Self contained, so it reads on both the dark Live Sky and the cream Ledger Quest pages. */
html.abw-open, html.abw-open body { overflow: hidden; }
.abw-overlay {
  position: fixed; inset: 0; z-index: 2147483000;
  background: rgba(5, 4, 26, .62);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0; -webkit-overflow-scrolling: touch;
}
.abw-sheet {
  width: 100%; max-width: 28rem;
  max-height: min(94vh, 100%);
  background: #f7f4ea; color: #1a1200;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,.35);
  overflow: auto;
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.abw-sheet-body { padding: 0 0 calc(16px + env(safe-area-inset-bottom, 0px)); }
.abw-head {
  display: grid; grid-template-columns: 4.5rem 1fr 4.5rem;
  align-items: center; gap: 8px;
  position: sticky; top: 0; z-index: 1;
  padding: 12px 12px 10px;
  background: #f7f4ea;
  border-bottom: 1px solid rgba(26,18,0,.1);
}
.abw-title {
  margin: 0; font-size: 1.05rem; line-height: 1.25; text-align: center;
  font-weight: 800; color: #1a1200;
}
.abw-back, .abw-close {
  min-height: 44px; padding: 8px 10px; border: 0; background: transparent;
  color: #1a1200; font: inherit; font-weight: 700; cursor: pointer;
}
.abw-back { text-align: left; }
.abw-close { text-align: right; }
.abw-back-space { display: block; min-height: 44px; }
.abw-view-body { padding: 14px 18px 8px; }
.abw-copy { margin: 0 0 12px; font-size: .95rem; }
.abw-fine { margin: 14px 0 0; font-size: .8rem; color: #5a4e3a; }
.abw-list { display: flex; flex-direction: column; gap: 10px; }
.abw-choice {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  width: 100%; min-height: 56px; padding: 12px 14px; text-align: left;
  border: 2px solid #1a1200; border-radius: 16px;
  background: #fff; color: #1a1200; font: inherit; cursor: pointer;
}
.abw-choice:hover, .abw-choice:focus { border-color: #0a7a3e; outline: none; }
.abw-choice-title { font-weight: 800; }
.abw-choice-note { font-size: .85rem; color: #4a3f2e; }
.abw-btn, a.abw-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 18px; margin: 0;
  border-radius: 999px; border: 2px solid #21E46B;
  background: #21E46B; color: #062012;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
}
.abw-btn.ghost, a.abw-btn.ghost {
  background: #fff; color: #1a1200; border-color: #1a1200;
}
.abw-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.abw-label { display: block; font-weight: 700; margin: 0 0 6px; }
.abw-input {
  width: 100%; max-width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1px solid #1a7a45; border-radius: 12px;
  font: inherit; font-size: 16px; background: #fff; color: #1a1200;
  box-sizing: border-box;
}
.abw-paste { margin-top: 8px; }
.abw-paste .abw-btn { margin-top: 10px; }
.abw-status { margin: 8px 0; min-height: 1.2em; }
.abw-status.bad { color: #8a1f10; }
.abw-status.good { color: #0a7a3e; }
.abw-qr-box { margin-top: 4px; }
.abw-qr {
  display: inline-block; padding: 10px; border-radius: 14px; background: #fff;
  line-height: 0; box-shadow: 0 0 0 1px rgba(26,18,0,.08);
}
.abw-qr img { width: 220px; height: 220px; max-width: 100%; height: auto; }
.abw-linkbtn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 16px; margin: 0 0 10px;
  border-radius: 999px; border: 2px solid #21E46B;
  background: #21E46B; color: #062012;
  font: inherit; font-weight: 800; cursor: pointer;
}
.skynft-linkrow { margin: 0 0 10px; }
.finish-wallet-status { margin-top: 8px; font-weight: 700; word-break: break-all; }

@media (min-width: 700px) {
  .abw-overlay { align-items: center; padding: 24px; }
  .abw-sheet { border-radius: 20px; max-height: min(90vh, 760px); }
}

.abw-choice{display:flex;align-items:flex-start;gap:12px;text-align:left;width:100%;background:#fffdf8;border:1.5px solid #d9c7a2;border-radius:14px;padding:12px 14px;cursor:pointer;font:inherit;color:inherit}
.abw-choice-logo{width:36px;height:36px;border-radius:8px;flex:none;object-fit:cover;background:#111}
.abw-choice-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.abw-joey-wc{margin-top:8px}
