/* A private balance is filled after authentication, never in cached page HTML. */
body.tmc24-theme .tmc24-actions .tmc-header-credit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 0 1 auto;
  min-width: 44px;
  min-height: 44px;
  max-width: 148px;
  box-sizing: border-box;
  padding: 4px 6px;
  color: #10243d;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  line-height: 1.2;
}
body.tmc24-theme .tmc24-actions .tmc-header-credit[hidden] { display: none !important; }
.tmc-header-credit__label { font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.tmc-header-credit__value {
  max-width: 100%;
  margin-top: 2px;
  color: #0768d5;
  font-size: 15px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  white-space: normal;
}
body.tmc24-theme .tmc24-actions .tmc-header-credit:hover { color: #0768d5; text-decoration: underline; text-underline-offset: 3px; }
body.tmc24-theme .tmc24-actions .tmc-header-credit:focus-visible { outline: 2px solid #0768d5; outline-offset: 2px; }
@media (max-width: 760px) {
  body.tmc24-theme .tmc24-actions .tmc-header-credit { max-width: clamp(88px, 27vw, 108px); padding-inline: 4px; }
  .tmc-header-credit__label { font-size: 10px; }
  .tmc-header-credit__value { font-size: 14px; }
  @supports selector(:has(*)) {
    body.tmc24-theme .tmc24-nav:has(.tmc-header-credit:not([hidden])) { height: auto !important; min-height: 54px; padding-block: 4px !important; }
  }
}
@media (max-width: 359px) {
  body.tmc24-theme .tmc24-actions .tmc-header-credit { max-width: 60px; padding-inline: 2px; }
  @supports selector(:has(*)) {
    body.tmc24-theme .tmc24-nav:has(.tmc-header-credit:not([hidden])) { gap: 6px !important; }
    body.tmc24-theme .tmc24-actions:has(.tmc-header-credit:not([hidden])) { gap: 3px !important; }
    /* Keep the full brand caption readable beside the new action at 320px. */
    body.tmc24-theme .tmc24-nav:has(.tmc-header-credit:not([hidden])) .tmc24-logo__text span { letter-spacing: .6px !important; }
  }
}
