[hidden] {
  display: none !important;
}

.walletName {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.walletName strong {
  overflow: hidden;
  text-overflow: ellipsis;
}

.walletName span {
  color: var(--muted);
  font-size: 13px;
  opacity: .75;
}

.walletName:hover span {
  color: var(--accent);
  opacity: 1;
}

.compactHead {
  margin-bottom: 16px;
}

.tokenSummary {
  display: flex;
  gap: 28px;
  padding: 0 2px 12px;
  color: var(--muted);
}

.tokenSummary strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.tokenLedger {
  padding: 0 20px;
}

.tokenTableHead,
.tokenRecord {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(150px, .8fr) 130px 130px minmax(180px, 1fr);
  align-items: center;
  gap: 16px;
}

.tokenTableHead {
  height: 44px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tokenRecord {
  min-height: 76px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.tokenRecord:last-child {
  border-bottom: 0;
}

.tokenRecord > span {
  color: #c8cdd1;
}

.tokenIdentity strong,
.tokenIdentity span,
.tokenIdentity a {
  display: block;
}

.tokenIdentity span,
.tokenIdentity a {
  color: var(--muted);
  font-size: 12px;
}

.positive {
  color: var(--accent) !important;
}

.negative {
  color: var(--danger) !important;
}

.emptyState {
  margin: 0;
  padding: 28px 0;
  color: var(--muted);
}

.confirmMessage {
  min-height: 48px;
  color: #c8cdd1;
}

@media (max-width: 900px) {
  .tokenTableHead {
    display: none;
  }

  .tokenRecord {
    grid-template-columns: 1fr 1fr;
    padding: 14px 0;
  }
}

@media (max-width: 700px) {
  .tokenSummary {
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .tokenRecord {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}
