/* Extra room so cards, tabs, and markets are not packed edge to edge. */
main.mx-auto.grid {
  gap: 1.35rem;
}

@media (min-width: 640px) {
  main.mx-auto.grid {
    gap: 1.85rem;
  }
}

@media (max-width: 767px) {
  main.grid,
  .mx-auto.grid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

.xfer-card.panel {
  padding: 1.25rem 1.15rem 6.5rem !important;
}

@media (min-width: 640px) {
  .xfer-card.panel {
    padding: 1.75rem 1.75rem 5.5rem !important;
  }
}

.xfer-head {
  margin-bottom: 1.15rem !important;
}

.xfer-card,
.xfer-card.panel {
  overflow: visible !important;
}

.lfqp-balance {
  display: block !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  font-size: 1.45rem !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  padding: 0.08em 0.2em 0.15em 0;
}

.currency-bill {
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  padding: 0;
  overflow: visible;
  line-height: 0;
  background: transparent;
}

.currency-bill svg {
  display: block;
  width: 3rem !important;
  height: auto !important;
  max-width: none !important;
}

.currency-bill.is-open svg {
  width: min(100%, 22rem) !important;
}

@media (min-width: 640px) {
  .lfqp-balance {
    font-size: 2rem !important;
  }
}

.xfer-tabs {
  gap: 0.4rem !important;
  padding: 0.4rem !important;
  margin-bottom: 1.1rem !important;
}

.xfer-tabs > button {
  height: 2.85rem !important;
  padding-left: 0.95rem !important;
  padding-right: 0.95rem !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em !important;
  border-radius: 0.85rem !important;
}

.t3x-rail-strip {
  gap: 0.7rem !important;
  padding-bottom: 0.45rem !important;
}

.t3x-rail-chip {
  width: 4.85rem !important;
  min-width: 4.85rem !important;
  min-height: 5.35rem !important;
  padding: 0.7rem 0.45rem !important;
  gap: 0.35rem !important;
  border-radius: 1rem !important;
}

.t3x-rail-chip img,
.t3x-rail-chip svg,
.t3x-pair img,
.t3x-pair svg {
  width: 1.55rem !important;
  height: 1.55rem !important;
}

.market-pane svg {
  height: 8.5rem !important;
}

.t3x-pair {
  min-height: 3.5rem !important;
}

.lfqp-menubar {
  padding: 0.45rem !important;
  gap: 0.35rem !important;
}

.held-currencies {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.held-currencies ul,
.held-currencies li,
.held-currencies button {
  max-width: 100%;
  min-width: 0;
}

@media (min-width: 640px) {
  .held-currencies button {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  }
  .held-currencies button > span:last-child {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    text-align: right;
  }
}

.vault-lfqp-row {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}
