/* Wallet + swap layer -------------------------------------------------- */
.wallet-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 35px;
  padding: 0 12px;
  border: 1px solid rgba(235, 255, 228, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
  color: #b8c4b9;
  font-family: var(--mono);
  font-size: 9.5px;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.wallet-button .icon {
  width: 14px;
  height: 14px;
  color: #9bac9e;
}

.wallet-button-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: #657268;
}

.wallet-button:hover {
  border-color: rgba(184, 255, 74, 0.35);
  color: var(--text);
  background: rgba(184, 255, 74, 0.04);
}

.wallet-button[data-state="connected"] {
  border-color: rgba(184, 255, 74, 0.3);
  color: var(--text);
}

.wallet-button[data-state="connected"] .wallet-button-dot {
  background: var(--lime);
  box-shadow: 0 0 7px rgba(184, 255, 74, 0.65);
}

.wallet-button[data-state="connecting"] .wallet-button-dot {
  background: #ffc46b;
  box-shadow: 0 0 7px rgba(255, 196, 107, 0.55);
}

body.wallet-open,
body.swap-open {
  overflow: hidden;
}

.trade-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#walletModal {
  z-index: 260;
}

.trade-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 3, 0.74);
  backdrop-filter: blur(12px);
}

.trade-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, calc(100vw - 32px));
  max-height: min(92vh, 860px);
  overflow-y: auto;
  padding: 26px;
  border: 1px solid rgba(235, 255, 228, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(184, 255, 74, 0.07), transparent 50%),
    #0b100c;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  animation: tradeIn 0.22s ease both;
}

.portfolio-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: min(88vh, 780px);
  overflow-y: auto;
}

.portfolio-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(184, 255, 74, 0.18);
  border-radius: 8px;
  background: rgba(184, 255, 74, 0.04);
}

.portfolio-total span {
  color: #8b9b8d;
  font-size: 10px;
}

.portfolio-total b {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 500;
}

.portfolio-list {
  display: grid;
  gap: 1px;
  margin-top: 10px;
}

.portfolio-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(235, 255, 228, 0.06);
}

.portfolio-token,
.portfolio-amount {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.portfolio-token strong {
  color: #d8e3d5;
  font-size: 11px;
  font-weight: 600;
}

.portfolio-token span,
.portfolio-amount span {
  color: #7f8f82;
  font-family: var(--mono);
  font-size: 8px;
}

.portfolio-amount {
  align-items: flex-end;
}

.portfolio-amount b {
  color: #c8d5c6;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
}

.portfolio-loading,
.portfolio-empty {
  margin-top: 20px;
  padding: 18px;
  border: 1px dashed rgba(235, 255, 228, 0.1);
  border-radius: 8px;
  color: #89988b;
  font-size: 10px;
  text-align: center;
}

body.portfolio-open {
  overflow: hidden;
}

.swap-dialog {
  width: min(470px, calc(100vw - 32px));
  height: min(92vh, 860px);
  max-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.swap-dialog > #swapContent {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}

.swap-body {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(184, 255, 74, 0.2) transparent;
}

.swap-footer {
  flex: 0 0 auto;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(235, 255, 228, 0.08);
  background: #0b100c;
}

.swap-footer .swap-actions {
  margin-top: 0;
}

.trade-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(235, 255, 228, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: #93a096;
  cursor: pointer;
}

.trade-close:hover {
  border-color: rgba(184, 255, 74, 0.3);
  color: var(--lime);
}

.trade-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #94a198;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trade-kicker .live-dot {
  width: 5px;
  height: 5px;
}

.trade-title {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.trade-sub {
  margin: 9px 0 0;
  color: #94a198;
  font-size: 12px;
  line-height: 1.55;
}

.wallet-connect-panel {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(235, 255, 228, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.022);
}

.wallet-brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.wallet-brand-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid rgba(184, 255, 74, 0.28);
  border-radius: 10px;
  background: rgba(184, 255, 74, 0.08);
  color: var(--lime);
}

.wallet-brand-icon .icon {
  width: 20px;
  height: 20px;
}

.wallet-brand-name {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.wallet-brand-meta {
  margin-top: 3px;
  color: #7f8d82;
  font-family: var(--mono);
  font-size: 9px;
}

.wallet-features {
  display: grid;
  gap: 7px;
  margin: 15px 0 16px;
  color: #9eaba0;
  font-size: 11px;
  line-height: 1.45;
}

.wallet-features span {
  display: flex;
  gap: 7px;
}

.wallet-features b {
  color: var(--lime);
  font-weight: 500;
}

.trade-primary {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--lime);
  color: #0b100c;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.trade-primary:hover {
  filter: brightness(1.04);
}

.trade-primary:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  filter: none;
}

.trade-secondary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgba(235, 255, 228, 0.12);
  border-radius: 7px;
  background: transparent;
  color: #a7b3a8;
  font-family: var(--mono);
  font-size: 9.5px;
  cursor: pointer;
}

.trade-secondary:hover {
  border-color: rgba(184, 255, 74, 0.3);
  color: var(--lime);
}

.wallet-pairing {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 196, 107, 0.2);
  border-radius: 10px;
  background: rgba(255, 196, 107, 0.055);
}

.wallet-pairing.show {
  display: block;
}

.wallet-pairing-label {
  color: #d4b273;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.wallet-pairing-code {
  margin: 8px 0 10px;
  color: #ffe1a6;
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
}

.wallet-pairing p {
  margin: 0 0 12px;
  color: #bea77f;
  font-size: 11px;
  line-height: 1.5;
}

.wallet-pairing a {
  display: block;
  overflow: hidden;
  margin-bottom: 12px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-waiting {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b9a175;
  font-family: var(--mono);
  font-size: 9.5px;
}

.wallet-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 196, 107, 0.25);
  border-top-color: #ffc46b;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.wallet-connected {
  margin-top: 20px;
}

.wallet-address-list {
  display: grid;
  gap: 7px;
}

.wallet-address-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid rgba(235, 255, 228, 0.08);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.018);
}

.wallet-address-row span {
  color: #7e8d81;
  font-family: var(--mono);
  font-size: 8.5px;
}

.wallet-address-row code {
  overflow: hidden;
  color: #c8d3c8;
  font-family: var(--mono);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.wallet-note {
  margin-top: 14px;
  color: #748277;
  font-size: 10px;
  line-height: 1.5;
}

.external-wallet-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(235, 255, 228, 0.08);
}

.external-wallet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #839086;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.external-wallet-group {
  margin-top: 11px;
}

.walletconnect-row {
  display: flex;
  gap: 6px;
  margin-top: 7px;
}

.walletconnect-input {
  min-width: 0;
  flex: 1;
  height: 30px;
  padding: 0 8px;
  border: 1px solid rgba(235, 255, 228, 0.12);
  border-radius: 5px;
  background: #0c130d;
  color: #c9d8c7;
  font-family: var(--mono);
  font-size: 8px;
  outline: none;
}

.walletconnect-input:focus {
  border-color: rgba(184, 255, 74, 0.4);
}

.walletconnect-row .trade-secondary {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 10px;
  font-size: 8px;
}

.external-wallet-group-label {
  color: #6f7e73;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
}

.external-wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 7px;
}

.external-wallet-option {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 1px solid rgba(235, 255, 228, 0.1);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
  color: #c2cec1;
  text-align: left;
  cursor: pointer;
}

.external-wallet-option:hover {
  border-color: rgba(184, 255, 74, 0.32);
  background: rgba(184, 255, 74, 0.04);
}

.external-wallet-mark {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid rgba(184, 255, 74, 0.25);
  border-radius: 6px;
  background: rgba(184, 255, 74, 0.08);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 11px;
}

.external-wallet-option span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.external-wallet-option b {
  overflow: hidden;
  color: #d5dfd2;
  font-size: 11.5px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.external-wallet-option small {
  color: #7f8d82;
  font-family: var(--mono);
  font-size: 8px;
}

.external-wallet-empty {
  margin: 10px 0 0;
  color: #839086;
  font-size: 10.5px;
  line-height: 1.5;
}

.external-wallet-note {
  margin: 11px 0 0;
  color: #768478;
  font-size: 9.5px;
  line-height: 1.5;
}

.external-wallet-connected {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(184, 255, 74, 0.22);
  border-radius: 8px;
  background: rgba(184, 255, 74, 0.045);
}

.external-wallet-connected div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.external-wallet-connected strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

.external-wallet-connected span {
  color: #8c9a8e;
  font-family: var(--mono);
  font-size: 8.5px;
}

.external-wallet-connected code {
  grid-column: 1 / -1;
  overflow: hidden;
  color: #9caf9d;
  font-family: var(--mono);
  font-size: 8.5px;
  text-overflow: ellipsis;
}

.external-wallet-actions {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  flex-direction: column;
  gap: 5px;
}

.external-wallet-actions .trade-secondary {
  min-height: 26px;
  padding: 0 9px;
  font-size: 8px;
}

.wallet-error {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 99, 119, 0.25);
  border-radius: 7px;
  background: rgba(255, 99, 119, 0.06);
  color: #ff9ba2;
  font-size: 11px;
  line-height: 1.45;
}

/* Swap entry points inside the token detail */
.trade-button {
  border: 0;
  cursor: pointer;
}

.trade-cta-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.side-external-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
  color: #8e9d90;
  font-family: var(--mono);
  font-size: 9px;
  text-decoration: none;
}

.side-external-link:hover {
  color: var(--lime);
}

/* Swap panel */
.swap-token-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(235, 255, 228, 0.08);
}

.swap-token-head .token-avatar {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.swap-token-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.swap-token-copy strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.1;
}

.swap-token-copy span {
  overflow: hidden;
  color: #89978c;
  font-family: var(--mono);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.swap-token-stage {
  flex: 0 0 auto;
}

.swap-side-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 16px;
  padding: 4px;
  border: 1px solid rgba(235, 255, 228, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.swap-side-tab {
  padding: 9px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #89968c;
  font-family: var(--mono);
  font-size: 10px;
  cursor: pointer;
}

.swap-side-tab.active {
  background: rgba(184, 255, 74, 0.1);
  color: var(--lime);
}

.swap-field {
  margin-top: 13px;
  padding: 13px;
  border: 1px solid rgba(235, 255, 228, 0.09);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
}

.swap-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #859388;
  font-family: var(--mono);
  font-size: 9px;
}

.swap-field-head b {
  color: #aebeaf;
  font-weight: 500;
}

.swap-amount-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.swap-amount-input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
}

.swap-amount-input::placeholder {
  color: #4f5d52;
}

.swap-token-select {
  max-width: 150px;
  min-height: 36px;
  padding: 0 25px 0 10px;
  border: 1px solid rgba(235, 255, 228, 0.12);
  border-radius: 6px;
  background-color: #111812;
  color: #d5dfd2;
  font-family: var(--mono);
  font-size: 9.5px;
  cursor: pointer;
}

.swap-max {
  padding: 4px 6px;
  border: 1px solid rgba(184, 255, 74, 0.25);
  border-radius: 4px;
  background: rgba(184, 255, 74, 0.06);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
  cursor: pointer;
}

.swap-balance {
  margin-top: 7px;
  color: #758478;
  font-family: var(--mono);
  font-size: 8.5px;
}

.swap-route {
  display: grid;
  gap: 8px;
  margin-top: 13px;
  padding: 12px;
  border: 1px solid rgba(235, 255, 228, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.016);
}

.swap-route-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  color: #7e8c81;
  font-size: 10.5px;
}

.swap-route-row b {
  color: #c7d2c6;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  text-align: right;
  word-break: break-all;
}

.swap-route-row .positive {
  color: var(--lime);
}

.swap-route-row .negative {
  color: #ff8f95;
}

.swap-network-warning {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 196, 107, 0.18);
  border-radius: 7px;
  background: rgba(255, 196, 107, 0.045);
  color: #cfb47e;
  font-size: 9.5px;
  line-height: 1.4;
}

.swap-network-warning .trade-secondary {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 8px;
  font-size: 8px;
}

.swap-wallet-select,
.swap-slippage-select {
  max-width: 100%;
  border: 1px solid rgba(184, 255, 74, 0.2);
  border-radius: 5px;
  background: #111811;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  outline: none;
  padding: 4px 7px;
}

.swap-slippage-select {
  color: #c9d6c8;
}

.swap-order-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: var(--lime);
  font-size: 9.5px;
  text-decoration: none;
}

.swap-order-link:hover {
  text-decoration: underline;
}

.swap-contracts {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(235, 255, 228, 0.06);
}

.swap-contracts code {
  overflow-wrap: anywhere;
  color: #8a998d;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.45;
}

.swap-audit {
  margin-top: 13px;
  padding: 12px;
  border: 1px solid rgba(235, 255, 228, 0.09);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.016);
}

.swap-audit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #89978c;
  font-family: var(--mono);
  font-size: 9px;
}

.swap-risk {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 8px;
}

.swap-risk.low {
  color: var(--lime);
  border-color: rgba(184, 255, 74, 0.25);
  background: rgba(184, 255, 74, 0.06);
}

.swap-risk.medium {
  color: #ffc46b;
  border-color: rgba(255, 196, 107, 0.25);
  background: rgba(255, 196, 107, 0.07);
}

.swap-risk.high,
.swap-risk.unknown {
  color: #ff8f95;
  border-color: rgba(255, 99, 119, 0.25);
  background: rgba(255, 99, 119, 0.06);
}

.swap-audit p {
  margin: 8px 0 0;
  color: #8d9b8f;
  font-size: 10px;
  line-height: 1.5;
}

.swap-audit-hits {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.swap-audit-hits li {
  color: #ffacae;
  font-size: 9.5px;
  line-height: 1.4;
}

.swap-ack {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 11px;
  color: #b9a586;
  font-size: 10px;
  line-height: 1.45;
  cursor: pointer;
}

.swap-ack input {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-top: 1px;
  accent-color: var(--lime);
}

.swap-error {
  margin-top: 11px;
  padding: 10px;
  border: 1px solid rgba(255, 99, 119, 0.25);
  border-radius: 7px;
  background: rgba(255, 99, 119, 0.06);
  color: #ff9ba2;
  font-size: 10.5px;
  line-height: 1.45;
}

.swap-actions {
  margin-top: 13px;
}

.swap-wallet-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
  padding: 10px;
  border: 1px solid rgba(255, 196, 107, 0.18);
  border-radius: 7px;
  background: rgba(255, 196, 107, 0.045);
  color: #c9ae7b;
  font-size: 10px;
}

.swap-order {
  margin-top: 13px;
  padding: 13px;
  border: 1px solid rgba(184, 255, 74, 0.2);
  border-radius: 9px;
  background: rgba(184, 255, 74, 0.045);
}

.swap-order-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #b6c5b2;
  font-family: var(--mono);
  font-size: 10px;
}

.swap-order-status b {
  color: var(--lime);
  font-weight: 500;
}

.swap-order p {
  margin: 8px 0 0;
  color: #9eac9f;
  font-size: 10px;
  line-height: 1.5;
}

.swap-order code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 7px;
  color: #8f9e91;
  font-family: var(--mono);
  font-size: 8px;
}

@keyframes tradeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 820px) {
  .wallet-button {
    width: 35px;
    justify-content: center;
    padding: 0;
  }

  .wallet-button .icon {
    width: 15px;
    height: 15px;
  }

  .wallet-button #walletBtnLabel {
    display: none;
  }

  .wallet-button-dot {
    display: none;
  }

  .trade-modal {
    align-items: flex-end;
    padding: 0;
  }

  .trade-dialog,
  .swap-dialog {
    width: 100%;
    max-height: 92vh;
    padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 16px 16px 0 0;
  }

  .trade-title {
    font-size: 24px;
  }

  .swap-amount-input {
    font-size: 23px;
  }

  .wallet-button {
    margin-right: 2px;
  }
}
