.wallet-dialog {
  width: min(720px, calc(100vw - 32px)) !important;
  max-width: 720px !important;
  max-height: calc(100vh - 32px) !important;
  padding: 0 !important;
  overflow: auto;
  border: 1px solid rgba(111, 151, 161, 0.38) !important;
  border-radius: 10px !important;
  background:
    radial-gradient(circle at 18% 15%, rgba(18, 210, 186, 0.06), transparent 35%),
    linear-gradient(145deg, #06131a, #020a0f 70%) !important;
  color: #f3f6f5 !important;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.78), inset 0 0 40px rgba(15, 213, 185, 0.025) !important;
}

.wallet-dialog::backdrop {
  background: rgba(0, 5, 8, 0.82) !important;
  backdrop-filter: blur(8px) !important;
}

.wallet-picker {
  position: relative;
  padding: 52px 48px 42px !important;
}

.wallet-picker .close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 0 !important;
  border: 1px solid rgba(111, 151, 161, 0.4) !important;
  border-radius: 8px !important;
  background: rgba(4, 14, 20, 0.88) !important;
  color: #f2f4f3 !important;
  font: 300 39px/1 "Manrope", sans-serif !important;
  box-shadow: none !important;
}

.wallet-picker .close:hover {
  border-color: #18d8bd !important;
  color: #18d8bd !important;
}

.wallet-picker .eyebrow {
  margin: 8px 0 25px !important;
  color: #1bdac1 !important;
  font: 500 15px/1 "DM Mono", monospace !important;
  letter-spacing: 5px !important;
  text-transform: uppercase;
}

.wallet-picker h2 {
  max-width: calc(100% - 60px);
  margin: 0 0 22px !important;
  color: #f4f5f4 !important;
  font: 800 45px/1.02 "Manrope", sans-serif !important;
  letter-spacing: -1.6px !important;
  text-transform: uppercase;
  text-shadow: none !important;
}

.wallet-picker > p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 0 36px !important;
  color: #a7adae !important;
  font: 400 20px/1.55 "Manrope", sans-serif !important;
}

.wallet-options {
  display: grid;
  gap: 13px !important;
}

.wallet-option {
  width: 100%;
  min-height: 94px !important;
  display: grid !important;
  grid-template-columns: 60px minmax(0, 1fr) auto !important;
  align-items: center;
  gap: 20px !important;
  padding: 16px 24px !important;
  border: 1px solid rgba(111, 151, 161, 0.28) !important;
  border-radius: 7px !important;
  background: rgba(4, 14, 20, 0.52) !important;
  color: #f2f4f3 !important;
  text-align: left;
  font-family: "Manrope", sans-serif !important;
  box-shadow: inset 0 0 22px rgba(14, 216, 186, 0.018);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.wallet-option:hover {
  border-color: rgba(27, 218, 193, 0.74) !important;
  background: rgba(8, 30, 35, 0.8) !important;
  transform: translateY(-1px);
}

.wallet-option > span {
  width: 58px !important;
  height: 58px !important;
  display: grid;
  place-items: center;
  border: 1px solid rgba(27, 218, 193, 0.3) !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(19, 210, 185, 0.15), rgba(4, 19, 24, 0.72)) !important;
  color: #19dbc0 !important;
  font: 500 31px/1 "DM Mono", monospace !important;
}

.wallet-option b {
  overflow: hidden;
  color: #f4f5f4 !important;
  font: 700 21px/1.2 "Manrope", sans-serif !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-option i {
  color: #1bdac1 !important;
  font: 400 17px/1 "DM Mono", monospace !important;
  font-style: normal !important;
  white-space: nowrap;
}

.wallet-option:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.wallet-empty {
  padding: 24px !important;
  border: 1px dashed rgba(111, 151, 161, 0.42) !important;
  border-radius: 7px;
  background: rgba(4, 14, 20, 0.5);
  color: #bbc1c1 !important;
  font: 14px/1.6 "DM Mono", monospace !important;
}

.wallet-picker small {
  position: relative;
  display: block;
  margin-top: 32px !important;
  padding-left: 44px;
  color: #858f91 !important;
  font: 13px/1.55 "Manrope", sans-serif !important;
}

.wallet-picker small::before {
  content: "i";
  position: absolute;
  top: 1px;
  left: 0;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 2px solid #7b898b;
  border-radius: 50%;
  color: #98a2a3;
  font: 700 16px/1 Georgia, serif;
}

@media (max-width: 700px) {
  .wallet-dialog {
    width: calc(100vw - 20px) !important;
    max-height: calc(100vh - 20px) !important;
  }

  .wallet-picker {
    padding: 34px 20px 28px !important;
  }

  .wallet-picker .close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 31px !important;
  }

  .wallet-picker .eyebrow {
    margin-top: 2px !important;
    letter-spacing: 3px !important;
  }

  .wallet-picker h2 {
    max-width: 100%;
    padding-top: 14px;
    font-size: clamp(30px, 9vw, 40px) !important;
  }

  .wallet-picker > p:not(.eyebrow) {
    margin-bottom: 25px !important;
    font-size: 16px !important;
  }

  .wallet-option {
    min-height: 76px !important;
    grid-template-columns: 46px minmax(0, 1fr) auto !important;
    gap: 12px !important;
    padding: 12px 14px !important;
  }

  .wallet-option > span {
    width: 44px !important;
    height: 44px !important;
    font-size: 24px !important;
  }

  .wallet-option b {
    font-size: 17px !important;
  }

  .wallet-option i {
    font-size: 13px !important;
  }
}

/* Compact wallet picker. */
.wallet-dialog {
  width: min(540px, calc(100vw - 28px)) !important;
  max-width: 540px !important;
}

.wallet-picker {
  padding: 34px 30px 28px !important;
}

.wallet-picker .close {
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  font-size: 31px !important;
}

.wallet-picker .eyebrow {
  margin: 4px 0 18px !important;
  font-size: 11px !important;
  letter-spacing: 3px !important;
}

.wallet-picker h2 {
  margin-bottom: 15px !important;
  font-size: 34px !important;
}

.wallet-picker > p:not(.eyebrow) {
  margin-bottom: 24px !important;
  font-size: 15px !important;
}

.wallet-options {
  gap: 9px !important;
}

.wallet-option {
  min-height: 70px !important;
  grid-template-columns: 44px minmax(0, 1fr) auto !important;
  gap: 14px !important;
  padding: 10px 15px !important;
}

.wallet-option > span {
  width: 42px !important;
  height: 42px !important;
  font-size: 23px !important;
}

.wallet-option b {
  font-size: 16px !important;
}

.wallet-option i {
  font-size: 12px !important;
}

.wallet-picker small {
  margin-top: 22px !important;
  padding-left: 35px;
  font-size: 11px !important;
}

.wallet-picker small::before {
  width: 23px;
  height: 23px;
  font-size: 13px;
}
