/* Keep the existing five-cell navigation order and its inherited RTL direction.
   Product artwork uses a physical translate, so its anchor must also be physical. */
@media (max-width: 720px) {
  /* Inactive product marks share Browse's muted tone and retain its opacity. */
  html body nav.mobile-footer.mobile-footer > button:not(.active) > .mobile-footer__icon > img.icon-mark--product.icon-mark--product {
    filter: url('/assets/mobile-footer-idle-a8c2d1.svg#paint') !important;
  }
  html body nav.mobile-footer.mobile-footer > button:not(.active):has(.icon-mark--product) > strong {
    color: #a8c2d1 !important;
    opacity: .82 !important;
  }
  html[dir="rtl"] body > nav.mobile-footer.mobile-footer > button > .mobile-footer__icon > svg.icon-mark {
    position: absolute !important;
    inset-block-start: 50% !important;
    inset-inline-start: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
  }

  html[dir="rtl"] body > nav.mobile-footer.mobile-footer > button > .mobile-footer__icon > img.icon-mark--product {
    inset-inline-start: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
  }

  html[dir="rtl"] body > nav.mobile-footer.mobile-footer > button > .mobile-footer__icon > img.icon-mark--product.icon-mark--casino {
    transform: translate(-50%, calc(-50% - 1px)) !important;
  }

  html[data-interface-locale]:not([data-interface-locale="en"]) body > nav.mobile-footer.mobile-footer > button {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    row-gap: 3px !important;
  }

  html[data-interface-locale]:not([data-interface-locale="en"]) body > nav.mobile-footer.mobile-footer > button > strong {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    max-inline-size: 100% !important;
    font-size: 11px !important;
    line-height: 14px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
}
