.bh-refined-theme .site-header .xh-header-balance,
.bh-refined-theme #page-my .xh-member-data .xh-member-balance {
  align-items: center;
  display: inline-flex;
  gap: 5px;
  min-width: 0;
}
.bh-refined-theme .site-header .xh-header-balance {
  padding: 2px 2px 2px 10px;
  border: 1px solid #473c56;
  border-radius: 12px;
  background: #17131e;
  white-space: nowrap;
}
.bh-refined-theme body.bh-surface .site-header .bh-profile .xh-header-balance #toggle-balance {
  display: grid;
  gap: 2px;
  justify-items: start;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  min-height: 36px;
  margin: 0;
  padding: 1px 0;
  border: 0;
  background: none;
  color: #faf7ff;
  text-align: start;
  line-height: 1.1;
}
.bh-refined-theme .xh-header-balance .xh-header-caption { color: #c5bacf; font-size: 10px; }
.bh-refined-theme .xh-header-balance #top-balance-value { line-height: 1.15; font-variant-numeric: tabular-nums; }
.bh-refined-theme .xh-header-balance #top-balance-value:not([data-balance-hidden="true"]) { font-size: 15px; }
.bh-refined-theme body[data-variant="mobile"] .site-header:has(.xh-header-balance) .brand {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.bh-refined-theme body[data-variant="mobile"] .site-header:has(.xh-header-balance) .header-actions {
  flex: 0 0 auto;
}
.bh-refined-theme body.bh-surface :is(.site-header .bh-profile .xh-header-balance, #page-my .xh-member-balance) .xh-balance-refresh {
  display: inline-grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 36px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: none;
  color: #d1adff;
  font-size: 16px;
  cursor: pointer;
}
.xh-balance-refresh:focus-visible, #toggle-balance:focus-visible { outline: 2px solid #bd97ff; }
.xh-balance-refresh[aria-busy="true"] i { animation: xh-balance-refresh-turn 1s linear infinite; }
@keyframes xh-balance-refresh-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .xh-balance-refresh[aria-busy="true"] i { animation: none; } }
