/* BOUT wallet picker presentation. Palette tokens only. */
#navConnect {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#navConnect::before {
  content: '';
  position: static;
  left: auto;
  top: auto;
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  transform: none;
  opacity: 1;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3.125' y='6.5' width='17.75' height='12.75' rx='2.25' stroke='black' stroke-width='1.75'/%3E%3Ccircle cx='16.25' cy='12.75' r='1.4' stroke='black' stroke-width='1.75'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3.125' y='6.5' width='17.75' height='12.75' rx='2.25' stroke='black' stroke-width='1.75'/%3E%3Ccircle cx='16.25' cy='12.75' r='1.4' stroke='black' stroke-width='1.75'/%3E%3C/svg%3E") center / contain no-repeat;
}
#navConnect[data-connected="true"]::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: none;
  mask: none;
}

.wallet-picker {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: color-mix(in srgb, var(--ink) 64%, var(--card));
}
.wallet-picker .wallet-picker__card {
  width: min(100%, 420px);
  max-width: 420px;
  max-height: calc(100dvh - 48px);
  overflow: auto;
  display: grid;
  gap: 16px;
  padding: 32px;
  background: var(--card);
  color: var(--ink);
  border-radius: 2px;
}
.wallet-picker .wallet-picker__head {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.wallet-picker .wallet-picker__close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.wallet-picker .wallet-picker__list {
  display: grid;
  gap: 0;
}
.wallet-picker .wallet-picker__row {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hairline);
  border-radius: 2px;
  cursor: pointer;
}
.wallet-picker .wallet-row__logo,
.wallet-picker .wallet-picker__row img {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 6px;
  object-fit: cover;
}
.wallet-picker .wallet-picker__row-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.wallet-picker .wallet-picker__row-name {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.wallet-picker .wallet-picker__row-rdns,
.wallet-picker .wallet-picker__row small {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
}
.wallet-picker .wallet-picker__disconnect {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.wallet-picker .wallet-picker__row:hover,
.wallet-picker .wallet-picker__row:focus-visible,
.wallet-picker .wallet-picker__close:focus-visible,
.wallet-picker .wallet-picker__disconnect:focus-visible,
.wallet-picker .wallet-picker__disconnect:hover {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .wallet-picker {
    place-items: end stretch;
    padding: 0;
    align-items: end;
  }
  .wallet-picker .wallet-picker__card {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - env(safe-area-inset-top, 0px));
    border-radius: 2px 2px 0 0;
    padding: 24px 24px max(24px, env(safe-area-inset-bottom));
  }
}
