.asset-summary {
  position: relative;
  min-height: 154px;
  padding-top: 42px;
}

.phone-page[data-assets-page],
body[data-page="assets"] .phone-page {
  padding-bottom: 128px;
}

.asset-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7f7f7f;
  font-size: 15px;
}

.asset-label svg {
  width: 16px;
  height: 16px;
}

.asset-label .balance-visibility-toggle {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #7f7f7f;
}

.asset-label .balance-visibility-toggle svg {
  width: 15px;
  height: 15px;
}

.asset-total {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  max-width: 100%;
  margin-top: 12px;
}

.asset-total strong {
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 48px);
  overflow: hidden;
  font-size: clamp(30px, 9vw, 42px);
  line-height: 1;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-total span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  margin-bottom: 5px;
  padding: 2px 6px;
  border-radius: 7px;
  background: #f2f2f2;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.today-profit {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: #777777;
  font-size: 16px;
}

.spark-card {
  display: none;
}

.spark-card::before {
  content: "";
  position: absolute;
  inset: 8px 22px 8px 0;
  background-image: radial-gradient(#ff7aa4 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.38;
}

.spark-line {
  position: absolute;
  right: 0;
  top: 18px;
  width: 88px;
  height: 38px;
  border-top: 3px solid #ff4f89;
  border-right: 3px solid #ff4f89;
  filter: drop-shadow(0 0 5px rgba(255, 79, 137, 0.42));
}

.spark-line::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -3px;
  width: 18px;
  border-top: 3px solid #ff4f89;
}

.asset-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 2px 0 28px;
}

.asset-shortcuts a {
  display: grid;
  place-items: center;
  gap: 9px;
  color: #1f1f1f;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.asset-shortcuts i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-style: normal;
}

.asset-shortcuts svg {
  width: 25px;
  height: 25px;
}

.asset-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.asset-hub-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 13px 12px;
  color: inherit;
  text-decoration: none;
}

.asset-hub-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  line-height: 1.2;
}

.asset-hub-card span {
  display: block;
  overflow: hidden;
  color: #7a7a7a;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-hub-card svg {
  width: 22px;
  height: 22px;
  color: #111111;
}

.portfolio-title {
  margin-top: 2px;
}

.portfolio-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 26px;
}

.account-card {
  display: block;
  color: #111111;
  min-width: 0;
  min-height: 104px;
  padding: 12px 9px;
  overflow: hidden;
  text-decoration: none;
}

.account-card svg {
  width: 18px;
  height: 18px;
  color: #222222;
}

.account-card span {
  display: block;
  min-height: 16px;
  margin: 10px 0 8px;
  color: #7d7d7d;
  font-size: 13px;
  line-height: 1.2;
}

.account-card strong {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(13px, 3.9vw, 18px);
  font-weight: 900;
  line-height: 1.12;
  white-space: normal;
  word-break: break-word;
}

.token-head,
.token-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(108px, 42%);
  align-items: center;
  column-gap: 8px;
}

.token-head {
  margin-bottom: 14px;
  color: #999999;
  font-size: 13px;
}

.token-head span:last-child {
  text-align: right;
}

.token-row {
  min-height: 76px;
  overflow: hidden;
}

.token-main {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.token-main > div {
  min-width: 0;
}

.token-main strong {
  display: inline-block;
  max-width: 78px;
  overflow: hidden;
  margin-right: 7px;
  font-size: 19px;
  letter-spacing: 1px;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.yield-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 5px;
  background: #eaffef;
  color: #4bb265;
  font-size: 12px;
  font-weight: 800;
}

.token-main small {
  display: block;
  max-width: 150px;
  overflow: hidden;
  margin-top: 6px;
  color: #8a8a8a;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-value {
  min-width: 0;
  text-align: right;
  font-weight: 900;
}

.token-value strong,
.token-value small {
  display: block;
}

.token-value strong {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(15px, 4.7vw, 20px);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.token-value small {
  max-width: 100%;
  overflow: hidden;
  margin-top: 5px;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-assets {
  margin: 18px 0 0;
  padding: 18px;
  border-radius: 10px;
  background: #f4f4f4;
  color: #777777;
  text-align: center;
  font-size: 14px;
}

.fiat-row .yield-tag {
  background: #eef6ff;
  color: #3273dc;
}
