/* Scoped alignment with the approved Player Earnings back control. */
html body #root .player-action-shell.agent-action-shell
  .agent-benefit-page
  > .player-action-page-header
  > .player-action-page-back,
html body #root .player-shell
  .notifications-page
  .notifications-header
  > .notifications-back,
html body #root .player-shell
  .content-page:is(.transaction-records-page, .order-records-page)
  > .common-tool-inline-header
  .player-action-page-back {
  width: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #cfb36f !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #fffdf7 0%, #f8edcf 100%) !important;
  color: #0e2851 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 4px 10px rgba(111, 79, 25, .16) !important;
  transform: none !important;
}

html body #root .player-action-shell.agent-action-shell
  .agent-benefit-page
  > .player-action-page-header
  > .player-action-page-back svg,
html body #root .player-shell
  .notifications-page
  .notifications-header
  > .notifications-back svg,
html body #root .player-shell
  .content-page:is(.transaction-records-page, .order-records-page)
  > .common-tool-inline-header
  .player-action-page-back svg {
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  color: #0e2851 !important;
}

@media (max-width: 760px) {
  html body #root .player-action-shell.agent-action-shell
    .agent-benefit-page
    > .player-action-page-header {
    grid-template-columns: 52px minmax(0, 1fr) 52px !important;
  }

  html body #root .player-action-shell.agent-action-shell
    .agent-benefit-page
    > .player-action-page-header
    > span[aria-hidden="true"] {
    width: 52px !important;
    min-width: 52px !important;
  }
}
