/* Record header optical centering: keep the title and back button on one shared visual axis. */
html body #root .player-shell .content-page:is(.transaction-records-page, .order-records-page) > .page-heading {
  width: 100% !important;
  min-height: 56px !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 44px !important;
  grid-template-rows: 56px !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

html body #root .player-shell .content-page:is(.transaction-records-page, .order-records-page) > .page-heading > div {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
  align-self: center !important;
  justify-self: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 58px !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
  transform: translateY(-5px) !important;
}

html body #root .player-shell .content-page:is(.transaction-records-page, .order-records-page) > .page-heading h1 {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #0e2851 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  transform: none !important;
}

html body #root .player-shell .content-page:is(.transaction-records-page, .order-records-page) > .page-heading .wallet-back-button,
html body #root .player-shell .content-page:is(.transaction-records-page, .order-records-page) > .page-heading .player-action-page-back {
  position: relative !important;
  z-index: 2 !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: center !important;
  justify-self: center !important;
  margin: 0 !important;
  line-height: 0 !important;
  transform: translateY(-5px) !important;
}

html body #root .player-shell .content-page:is(.transaction-records-page, .order-records-page) > .page-heading .wallet-back-button > *,
html body #root .player-shell .content-page:is(.transaction-records-page, .order-records-page) > .page-heading .player-action-page-back > * {
  margin: 0 !important;
  transform: none !important;
}
