.header-account-balance {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(69, 248, 130, .2);
  border-radius: 12px;
  background: rgba(20, 79, 45, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .015);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.header-account-balance:hover {
  transform: translateY(-1px);
  border-color: rgba(69, 248, 130, .34);
  background: rgba(23, 94, 52, .21);
}

.header-account-profile {
  display: inline-flex;
  min-width: 0;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  padding: 0 10px 0 13px;
  color: #4bd982;
}

.header-account-profile .icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.header-account-name {
  max-width: 92px;
  overflow: hidden;
  color: #e4eee8;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-account-value {
  padding-left: 10px;
  border-left: 1px solid rgba(69, 248, 130, .2);
  color: #f4fff8;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.header-account-add {
  display: grid;
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  margin-right: 4px;
  place-items: center;
  border: 1px solid rgba(62, 211, 119, .68);
  border-radius: 9px;
  background: #168a4c;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 7px 18px rgba(18, 126, 68, .1);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.header-account-add:hover,
.header-account-add:focus-visible {
  transform: scale(1.05);
  background: #1da45a;
  box-shadow: 0 9px 22px rgba(18, 126, 68, .16);
}

@media (max-width: 860px) {
  .header-account-profile {
    padding-left: 10px;
  }

  .header-account-name {
    display: none;
  }

  .header-account-value {
    padding-left: 8px;
    font-size: 12px;
  }

  .header-account-add {
    width: 31px;
    height: 31px;
  }
}

@media (max-width: 430px) {
  .header-account-profile .icon {
    display: none;
  }

  .header-account-profile {
    padding-left: 9px;
  }

  .header-account-value {
    padding-left: 0;
    border-left: 0;
  }
}
