/* Header balance only: retain the player's avatar-centered mobile placement. */
.bb-header-root [data-management-balance-value] {
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}
@media (max-width:900px), (orientation:landscape) and (min-width:901px) and (max-width:1024px) and (max-height:600px) {
  html body .bb-header-root header.bb-top.bb-top-mobile .bb-mobile-account .bb-mobile-user-stack .bb-mobile-user-balance {
    margin: 0 !important;
    width: max-content !important;
    max-width: calc(100vw - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)) !important;
    white-space: nowrap !important;
    text-align: left !important;
    direction: ltr;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  .bb-header-root .bb-top-mobile [data-management-balance-width] { display: none !important; }
  .bb-header-root .bb-top-mobile [data-management-balance-value] { position: static !important; display: inline-block !important; }
  @supports (justify-self: anchor-center) and (position-anchor: --bb-header-avatar) {
    .bb-header-root .bb-mobile-user-stack { anchor-scope: --bb-header-avatar; }
    .bb-header-root .bb-mobile-user-btn { anchor-name: --bb-header-avatar; }
    html body .bb-header-root header.bb-top.bb-top-mobile .bb-mobile-account .bb-mobile-user-stack .bb-mobile-user-balance {
      position: fixed !important;
      position-anchor: --bb-header-avatar;
      top: calc(var(--bb-top-mobile-h, 50px) - 17px) !important;
      bottom: auto !important;
      left: env(safe-area-inset-left, 0px) !important;
      right: env(safe-area-inset-right, 0px) !important;
      transform: none !important;
      justify-self: anchor-center;
    }
  }
}
