/* Wallet chooser and confirmation sheet (/assets/wallet.js). v2 tokens, both themes, 375 px up. */
.wl-lock, .wl-lock body { overflow: hidden; }
.wl-dlg { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; margin: auto; overflow: auto;
  background: var(--bg-elev); color: var(--text); border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: var(--shadow-3); }
.wl-dlg::backdrop { background: rgba(0, 0, 0, 0.55); }
.wl-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4) var(--s4) 0 var(--s5); }
.wl-title { margin: 0; font-size: var(--fs-lg); line-height: 1.3; }
.wl-x { width: var(--tap); height: var(--tap); border-radius: 50%; font-size: 24px; line-height: 1; color: var(--text-2); display: grid; place-items: center; }
.wl-x:hover { background: var(--bg-elev-2); color: var(--text); }
.wl-body { padding: var(--s2) var(--s5) var(--s5); }
.wl-sub { margin: 0 0 var(--s3); color: var(--text-2); font-size: var(--fs-sm); }
.wl-h3 { margin: var(--s5) 0 var(--s2); font-size: var(--fs-sm); color: var(--text-2); font-weight: 600; }
.wl-note { margin: var(--s3) 0 0; color: var(--text-3); font-size: var(--fs-xs); line-height: 1.5; }
.wl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.wl-opt { display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: 56px; padding: var(--s2) var(--s3);
  border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--bg); color: var(--text); text-align: left; text-decoration: none;
  font-weight: 600; font-size: var(--fs-base); transition: background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.wl-opt:hover { background: var(--bg-elev-2); }
.wl-opt:focus-visible, .wl-x:focus-visible, .wl-copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wl-opt.is-suggested { border-color: var(--accent); background: var(--accent-soft); }
.wl-ico { flex: none; width: 32px; height: 32px; display: grid; place-items: center; background: transparent; }
.wl-ico img { width: 32px; height: 32px; display: block; object-fit: contain; }
.wl-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-tag { flex: none; font-size: var(--fs-xs); font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.wl-opt.is-suggested .wl-tag { color: var(--accent-text); }
.wl-more .wl-opt { background: transparent; font-weight: 500; }
.wl-rows { margin: var(--s2) 0 0; }
.wl-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--hairline); }
.wl-row dt { color: var(--text-3); font-size: var(--fs-sm); flex: none; }
.wl-row dd { margin: 0; display: flex; align-items: center; gap: var(--s2); min-width: 0; text-align: right; font-weight: 600; font-size: var(--fs-sm); overflow-wrap: anywhere; }
.wl-row dd a { color: var(--accent-text); }
.wl-copy { min-height: 36px; padding: 0 10px; border: 1px solid var(--hairline-strong); border-radius: var(--r-pill); font-size: var(--fs-xs); color: var(--text-2); flex: none; }
.wl-act { display: flex; gap: var(--s3); justify-content: flex-end; margin-top: var(--s5); }
@media (max-width: 480px) {
  .wl-dlg { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 90dvh; }
  .wl-act .btn { flex: 1 1 0; }
  .wl-copy { min-height: var(--tap); padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) { .wl-opt { transition: none; } }
