.header-balance {
  --balance-coin-fill: linear-gradient(#84db2c, #268e1b);
  --balance-coin-shadow: inset 0 1px 1px #c4ff7b96, 0 0 5px #3fba466d;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  padding: 5px 9px;
  border: 1px solid #74bcf280;
  border-radius: 12px;
  color: #f6fbff;
  background: linear-gradient(150deg, #174b7d, #082c54);
  box-shadow: inset 0 1px #c6eaff30, 0 2px 7px #041c3738;
}
.header-balance-currency {
  display: grid;
  place-items: center;
  flex: 0 0 23px;
  height: 23px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--balance-coin-fill);
  box-shadow: var(--balance-coin-shadow);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}
.header-balance-details { display: grid; gap: 2px; }
.header-balance-label { color: #b9dafa; font-size: 9px; line-height: 1.2; white-space: nowrap; }
.header-balance strong { font-size: 15px; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 1024px) {
  [data-account-state="member"] .header-inner { width: min(1220px, calc(100% - 24px)); gap: 9px; }
}
@media (min-width: 1024px) and (max-width: 1200px) {
  [data-account-state="member"] .header-inner { gap: 6px; }
  [data-account-state="member"] .brand { flex-basis: 95px; }
  [data-account-state="member"] .topnav a { gap: 4px; padding-inline: 4px; font-size: 12px; }
  [data-account-state="member"] .topnav a .menu-icon { width: 20px; height: 20px; font-size: 16px; }
  [data-account-state="member"] .header-tools { gap: 3px; padding-inline-start: 3px; }
  [data-account-state="member"] .header-tool { width: 28px; }
  [data-account-state="member"] .header-actions { gap: 4px; }
  [data-account-state="member"] .header-actions .header-button { padding-inline: 5px; }
  .header-balance { gap: 4px; padding-inline: 6px; }
  .header-balance-currency { flex-basis: 19px; height: 19px; font-size: 14px; }
}
@media (max-width: 620px) {
  [data-account-state="member"] .brand { flex-shrink: 1; min-width: 58px; }
  .header-balance { min-height: 34px; gap: 0; padding: 4px 6px; border-radius: 9px; }
  .header-balance-currency { display: none; }
  .header-balance-label { font-size: 8px; }
  .header-balance strong { font-size: 13px; }
  .header-balance strong::before {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    margin-inline-end: 4px;
    border-radius: 50%;
    color: #fff;
    background: var(--balance-coin-fill);
    box-shadow: var(--balance-coin-shadow);
    font-size: 11px;
    font-weight: 900;
    vertical-align: -1px;
    content: "฿";
  }
}
