/* Rezilta V7.0.13bm – Phase 4 mobile hardening. No desktop selectors or data mutations. */
@media (max-width: 760px) {
  /* Keep content and floating actions clear of the fixed five-destination nav. */
  html { scroll-padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)) !important; }
  .rz-mobile-ux-nav.mobile-bottom-nav {
    box-sizing: border-box !important;
    width: auto !important;
    max-width: none !important;
    bottom: calc(7px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: 7px !important;
  }
  .rz-mobile-ux-nav.mobile-bottom-nav > :is(a,button) {
    box-sizing: border-box !important;
    min-height: 48px !important;
    min-width: 0 !important;
    touch-action: manipulation;
  }
  .rz-mobile-ux-nav.mobile-bottom-nav .nav-label {
    display: block;
    width: 100%;
    line-height: 1.2;
    text-align: center;
  }
  /* Reserve a dedicated layer for in-content sticky actions and ads. */
  :is(.sticky-bet-button,.mobile-sticky-cta,.rz-smart-ad-footer-sticky) {
    bottom: calc(94px + env(safe-area-inset-bottom, 0px)) !important;
  }
  /* Make hidden-by-scroll content accessible with the physical bottom bar. */
  :is(.market-tabs,.oc-market-tabs,.rh-chips,.rz-tennis-date-nav,[id]) {
    scroll-margin-bottom: calc(118px + env(safe-area-inset-bottom, 0px));
  }
  /* Long translated menu labels should wrap rather than clip interactive content. */
  .v5-mobile-nav :is(a,button,summary) { overflow-wrap: anywhere; }
  .v5-mobile-nav :is(a,button,summary):focus-visible,
  .rz-mobile-quick-links a:focus-visible,
  .rz-mobile-ux-nav.mobile-bottom-nav :is(a,button):focus-visible {
    outline: 3px solid #a5ffb9 !important;
    outline-offset: 2px !important;
  }
  .rz-mobile-quick-links a { min-width:0; }
  .rz-mobile-quick-links a strong { overflow-wrap: anywhere; }
}
@media (max-width: 350px) {
  .rz-mobile-ux-nav.mobile-bottom-nav { left: 3px !important; right: 3px !important; }
  .rz-mobile-ux-nav.mobile-bottom-nav > :is(a,button) { padding-inline: 1px !important; }
}
@media (max-width: 760px) and (orientation: landscape) and (max-height: 440px) {
  /* Short landscape devices need less vertical screen obscured by navigation. */
  .rz-mobile-ux-nav.mobile-bottom-nav { min-height: 56px !important; padding-block: 3px !important; }
  .rz-mobile-ux-nav.mobile-bottom-nav > :is(a,button) { min-height: 44px !important; }
}
@media (max-width:760px) and (prefers-reduced-motion:reduce) {
  .rz-mobile-ux-nav *, .rz-mobile-quick-links * { transition: none !important; animation: none !important; }
}
@media (max-width:760px) {
  html[data-theme="light"] .rz-mobile-ux-nav.mobile-bottom-nav :is(a,button):focus-visible,
  html[data-theme="light"] .rz-mobile-quick-links a:focus-visible {
    outline-color: #17692f !important;
  }
}
