/* SARDENTOTO | V5.8 - one footer appearance across every mobile page.
   Loaded by the shared mobile/include/footer.php AFTER page-level CSS.
   Works with Theme Manager custom icons and old cached mobile.css versions.
   Does not alter any page body, gameplay, jackpot, or payment UI. */

/* Uniform width/height and centering for Home, RTP, Promo and Hubungi. */
.bottom-nav > .bottom-nav__item:not(.bottom-nav__item--center) > img {
  display: block !important;
  flex: 0 0 auto;
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  margin: 0 0 1px !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Center profile icon is full-size without a second CSS ring/circle.
   Any ring already embedded in the selected PNG/WebP artwork is retained. */
.bottom-nav > .bottom-nav__item--center {
  overflow: visible !important;
}
.bottom-nav > .bottom-nav__item--center > .bottom-nav__emblem {
  position: absolute !important;
  left: 50% !important;
  bottom: 15px !important;
  transform: translateX(-50%) !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  width: 82px !important;
  height: 82px !important;
  min-width: 82px !important;
  min-height: 82px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  font-size: 25px;
}
.bottom-nav > .bottom-nav__item--center > .bottom-nav__emblem > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}
/* Preserve any legacy markup which renders the profile artwork as direct IMG. */
.bottom-nav > .bottom-nav__item--center > img {
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  width: 82px !important;
  height: 82px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
}
.bottom-nav > .bottom-nav__item--center > span:last-child {
  position: relative;
  z-index: 2;
}

/* On Hubungi Kami, use the same actual icon file as the footer LiveChat icon. */
.contact-link__icon .st-contact-livechat-img {
  display: block;
  width: 23px;
  height: 23px;
  max-width: none;
  object-fit: contain;
  /* Darken gold artwork so it stays legible against the existing gold button. */
  filter: brightness(.22);
}

@media(max-width:365px) {
  .bottom-nav > .bottom-nav__item--center > .bottom-nav__emblem {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    min-height: 76px !important;
  }
  .bottom-nav > .bottom-nav__item--center > img {
    width: 76px !important;
    height: 76px !important;
  }
}
