.mf-footer { display: none; }
@media (max-width: 768px) {
  /* A scoped footer avoids inherited desktop grid spacing. */
  #usbahis-root .usbahis-footer:has(.mf-footer) {
    display: block; width: 100%; margin: 35px 0 0; padding: 0 0 60px;
    background: #05080f; border: 0;
  }
  #usbahis-root .usbahis-footer > .mf-footer { display: block; color: #fff; background: #0c1422; font-family: MobilePoppins, sans-serif; }
  #usbahis-root .usbahis-footer:has(.mf-footer) > :not(.mf-footer) { display: none !important; }
  #usbahis-root .mf-footer .mf-providers { padding: 6px 3px 8px; border-top: 1px solid #f00000; border-bottom: 1px solid #303744; background: #19212e; }
  #usbahis-root .mf-footer .mf-providers h2 { margin: 0 4px 5px; font: 400 14px/20px MobilePoppins, sans-serif; color: #fff; text-transform: none; }
  #usbahis-root .mf-footer .mf-provider-list { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; }
  #usbahis-root .mf-footer .mf-provider-list > span { display: grid; place-items: center; flex: 0 0 84px; height: 35px; padding: 0; border: 1px solid #3e4652; border-radius: 3px; background: #303744; }
  #usbahis-root .mf-footer .mf-provider-list > span:nth-child(2) { flex-basis: 87px; }
  #usbahis-root .mf-footer .mf-provider-list > span:nth-child(3) { flex-basis: 54px; }
  #usbahis-root .mf-footer .mf-provider-list > span:nth-child(4) { flex-basis: 41px; }
  #usbahis-root .mf-footer .mf-provider-list > span:nth-child(5) { flex-basis: 94px; }
  #usbahis-root .mf-footer .reference-provider-logo { height: 36px; transform: scale(.8); margin: 0; }
  #usbahis-root .mf-footer .mf-main { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 9px 7px 14px; }
  #usbahis-root .mf-footer h3 { margin: 0 0 5px; color: #fff; font: 600 14px/21px MobilePoppins, sans-serif; text-transform: none; }
  #usbahis-root .mf-footer .mf-brand { grid-column: 1 / -1; width: 194px; padding-bottom: 11px; border-bottom: 1px solid #ffffff0c; }
  #usbahis-root .mf-footer .mf-brand a { display: block; margin: 0; padding: 0; }
  #usbahis-root .mf-footer .mf-brand img { display: block; max-width: 100%; height: auto; filter: none !important; }
  #usbahis-root .mf-footer .mf-designer img { width: 145px; }
  #usbahis-root .mf-footer .mf-seal { margin-top: 14px !important; }
  #usbahis-root .mf-footer .mf-seal img { width: 194px; }
  #usbahis-root .mf-footer .mf-main nav { min-width: 0; margin: 0; padding: 0; }
  #usbahis-root .mf-footer .mf-main nav a { display: block; margin: 0; padding: 0; color: #fff; text-decoration: none; font: 400 13px/24px MobilePoppins, sans-serif; }
  #usbahis-root .mf-footer .mf-copyright { margin: 0; padding: 8px 4px; border-top: 1px solid #ffffff0d; color: #fff; text-align: center; font: 400 9px/14px MobilePoppins, sans-serif; }

  /* The curved background follows the original mobile navigation shape. */
  #usbahis-root .usbahis-mobile-nav {
    grid-template-columns: 1fr 1fr 76px 1fr 1fr;
    height: calc(55px + env(safe-area-inset-bottom));
    background: transparent;
  }
  #usbahis-root .usbahis-mobile-nav:before {
    content: ''; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; transform: none; box-shadow: none; pointer-events: none; background: #0c1422;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1080 155'%3E%3Cpath d='M540 79C571 79 598 61 610 35C619 17 634 1 653 1H1080V155H0V1H427C446 1 461 17 470 35C482 61 509 79 540 79Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
  }
  #usbahis-root .usbahis-mobile-nav .mobile-nav-mascot { background: transparent; border: 0; border-radius: 0; filter: none; box-shadow: none; margin-top: -23px; height: 50px; padding: 0; }
  #usbahis-root .usbahis-mobile-nav .mobile-nav-mascot svg { width: 48px; height: 50px; }
  #usbahis-root .usbahis-mobile-nav .usbahis-mobile-nav-item > a,
  #usbahis-root .usbahis-mobile-nav .usbahis-mobile-nav-item > button { font: 400 10px/1.3 MobilePoppins, sans-serif; gap: 5px; }
  #usbahis-root .usbahis-mobile-nav .usbahis-mobile-nav-item svg { width: 22px; height: 22px; }
  #usbahis-root .usbahis-mobile-nav .usbahis-mobile-nav-item:nth-child(2):after,
  #usbahis-root .usbahis-mobile-nav .usbahis-mobile-nav-item:last-child:after { content: ''; position: absolute; left: 0; top: 14px; bottom: 11px; width: 1px; background: #ffffff0c; }
  body:has(.usbahis-home), body:has(.usbahis-casino-page) { padding-bottom: calc(55px + env(safe-area-inset-bottom)); }

  .mh-shortcuts svg { width: 30px; height: 30px; }
  .mh-section-title h2 { font-weight: 400; }
  .mh-live-row span { font: 400 12px/1.4 MobilePoppins, sans-serif; }
  .mh-sport-card { background-image: linear-gradient(#0c1422bb,#0c1422ee), url('/assets/cdnjunction/Websites/images/sports/pregame-football-bg.jpg'); }
  .mh-sport-card b { background: transparent; border-top: 1px solid #ec00114d; width: 100%; text-align: center; }
  .mh-popular-row strong, .mh-popular-row span, .mh-popular-row b { font-size: 10px; }

  #usbahis-root .usbahis-slot-page .usbahis-hero img { object-fit: cover !important; object-position: 70% center !important; }
  #usbahis-root .usbahis-slot-hero .usbahis-hero-track > a[data-mf-art] { position: relative; }
  #usbahis-root .usbahis-slot-hero .usbahis-hero-track > a[data-mf-art]:after {
    content: ''; position: absolute; inset: 0 auto 0 0; width: 52%; pointer-events: none;
    background: #142139 var(--mf-slot-art) 9% center / auto 92% no-repeat;
    mask-image: linear-gradient(to right, #000 88%, transparent);
  }
  #usbahis-root .usbahis-slot-provider-list button { font-size: 11px; }
  #usbahis-root .usbahis-slot-provider-list button:first-child span { display: block; max-width: 92px; margin: auto; }
  #usbahis-root .usbahis-slot-categories > div > button { font-size: 10px; }
  #usbahis-root .usbahis-slot-catalog .casino-grid h3 { font-size: 12px; font-weight: 400; }
  #usbahis-root .usbahis-slot-catalog .game-controls > button:not([class]) { font-size: 12px; }

  #usbahis-root .promo-portal:before, #usbahis-root .promo-portal:after { display: none !important; }
  #usbahis-root .promo-portal { background: radial-gradient(ellipse at 0 0, #650a0acc, transparent 58%), radial-gradient(ellipse at 100% 75%, #40050566, transparent 62%), #030303 !important; }
  #usbahis-root .promo-portal-logo { width: 70%; margin-bottom: 17px; }
  #usbahis-root .promo-portal-kicker { font-size: 12px; line-height: 1.55; }
  #usbahis-root .promo-portal-card label { font-size: 13px; }
  #usbahis-root .promo-portal-card input { font-size: 14px; }
  #usbahis-root .promo-portal-card form > button { min-height: 46px; height: 46px; padding: 0; font-size: 15px; }
  #usbahis-root .promo-portal-back { min-height: 40px; padding: 0 16px; font-size: 13px; }
  html body .usbahis-auth .auth-form input:not([type='checkbox']):not([type='radio']),
  html body .usbahis-auth .auth-form select { font-size: 13px; }
}
@media (max-width: 359px) {
  #usbahis-root .usbahis-mobile-nav .usbahis-mobile-nav-item > a,
  #usbahis-root .usbahis-mobile-nav .usbahis-mobile-nav-item > button { font-size: 8.5px; }
  #usbahis-root .usbahis-slot-categories > div > button { font-size: 9px; }
}
@media (max-width:768px) {
  #usbahis-root .usbahis-mobile-nav .usbahis-mobile-nav-item > a:before,
  #usbahis-root .usbahis-mobile-nav .usbahis-mobile-nav-item > a:after { display: none !important; }
}
@media (max-width:768px) {
  #usbahis-root:has(.usbahis-mobile-header) { padding-top: 46px; }
  #usbahis-root .usbahis-mobile-header { position: fixed !important; inset: 0 0 auto; width: 100%; }
  #usbahis-root .usbahis-mobile-nav .mobile-nav-mascot {
    width: 76px; height: 76px; margin-top: -28px; padding: 0 0 18px;
    border-radius: 50%; background: #05080f;
  }
}

@media(max-width:900px){
  html.usbahis-game-open,html.usbahis-game-open body{overflow:hidden;height:100%}
  html.usbahis-game-open .game-player-overlay,
  html.usbahis-game-open .game-player-overlay.chrome-hidden{
    position:fixed;top:var(--usbahis-vvtop,0px)!important;left:0!important;right:auto!important;bottom:auto!important;
    width:100%!important;height:var(--usbahis-vvh,100dvh)!important;max-height:var(--usbahis-vvh,100dvh)!important;margin:0!important
  }
  html.usbahis-game-open .game-player-shell,
  html.usbahis-game-open .game-player-overlay.chrome-hidden .game-player-shell{width:100%!important;height:100%!important;max-height:100%!important}
  html.usbahis-game-open .game-player-frame,
  html.usbahis-game-open .game-player-frame iframe{width:100%!important;max-width:100%!important;height:100%!important;min-width:0!important}
}
