.wallet-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.wallet-disconnect {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.wallet-disconnect:hover {
  border-color: var(--pink);
  color: var(--ink);
}

.wallet-provider-dialog {
  width: min(420px, calc(100% - 28px));
  padding: 20px;
  border: 1px solid #594568;
  border-radius: 22px;
  background: #130e19;
  color: var(--ink);
  box-shadow: 0 28px 100px #000c;
}

.wallet-provider-dialog::backdrop {
  background: #050308cc;
  backdrop-filter: blur(5px);
}

.wallet-provider-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.wallet-provider-head div { display: grid; }
.wallet-provider-head small { color: var(--yellow); font: 10px DM Mono; }
.wallet-provider-head strong { font-size: 24px; }
.wallet-provider-head button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
}

.wallet-provider-list { display: grid; gap: 8px; }
.wallet-provider-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d0a12;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}
.wallet-provider-list button:hover { border-color: var(--yellow); }
.wallet-provider-list img { width: 34px; height: 34px; border-radius: 9px; }
.wallet-provider-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--yellow);
  color: #1b1020;
  font-style: normal;
}

@media (max-width: 820px) {
  .wallet-controls {
    margin-left: auto;
    gap: 5px;
  }

  .wallet-controls .wallet {
    margin-left: 0;
    padding: 10px 13px;
  }

  .wallet-disconnect {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0;
  }

  .wallet-disconnect::after {
    content: "⇄";
    font-size: 20px;
    line-height: 1;
  }
}
