/* Gday77 runtime shell restoration: the captured SPA uses viewport-positioned content. */
html,
html body {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

html body {
  box-sizing: border-box !important;
  position: relative !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
}

html body #content {
  position: absolute !important;
  top: 77px !important;
  right: 0 !important;
  bottom: 115px !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

html body #footer {
  position: fixed !important;
  inset: auto 0 0 0 !important;
}

html body #home,
html body #home > .A {
  min-height: 0 !important;
  height: auto !important;
}

/* The captured mobile home is the first 400px table cell.  The off-canvas
   account cell used to determine the table row height and created ~2.3k px
   of empty black scroll after the real home content. */
html body #home .box-3 {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  table-layout: auto !important;
}

html body #home .box-3 > tbody,
html body #home .box-3 > tbody > tr {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

html body #home .box-3-1 {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: auto !important;
}

html body #home .box-3-2 {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: auto !important;
  padding: 0 15px 15px !important;
}

html body #home .box-3-2 .game-wrapper,
html body #home .box-3-2 #home-game {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

html body #home .box-3-3 {
  display: none !important;
}

html body #marquee {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

html body #marquee span {
  animation-duration: 6.2s !important;
}

/* The generated footer language button is replaced by the captured native
   header control; the shared language menu wires #changelanguage at runtime. */
html body .x-site-lang-section,
html body .x-site-lang-divider {
  display: none !important;
}

html body #changelanguage {
  top: 0 !important;
  right: 0 !important;
  box-sizing: border-box !important;
  width: 40px !important;
  height: 56px !important;
  padding: 13px 5px !important;
  cursor: pointer !important;
}

html body #changelanguage i {
  display: none !important;
}

html body #changelanguage::before {
  display: block !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: url('/_a/assets/img-en-a1d400114c.png') center / contain no-repeat !important;
  content: '' !important;
}

/* Restore the live Splide geometry. Runtime JS below owns the active index,
   pagination, autoplay and the measured 400ms transition. */
html body #home-banner .splide,
html body #home-banner .splide__track,
html body #home-banner .splide__list,
html body #home-banner .splide__slide,
html body #home-banner .banner {
  visibility: visible !important;
}

html body #home .banner-wrapper {
  width: 100vw !important;
  height: 39vw !important;
  aspect-ratio: auto !important;
  margin-top: -15px !important;
  margin-right: -15px !important;
  margin-left: -15px !important;
}

html body #home-banner,
html body #home-banner .splide,
html body #home-banner .splide__track,
html body #home-banner .splide__list {
  width: 100% !important;
  height: 39vw !important;
  min-height: 0 !important;
  max-height: 39vw !important;
  aspect-ratio: auto !important;
}

html body #home-banner .splide__list {
  margin: 0 !important;
  padding: 0 !important;
}

html body #home-banner .splide__track {
  overflow: hidden !important;
}

html body #home-banner .splide__list {
  position: relative !important;
  display: flex !important;
  transform: translate3d(-100%, 0, 0);
  transition: transform 400ms cubic-bezier(.42, .65, .27, .99) !important;
  will-change: transform;
  backface-visibility: hidden;
}

html body #home-banner .splide__slide {
  position: relative !important;
  display: block !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  height: 39vw !important;
  min-height: 0 !important;
  max-height: 39vw !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

html body #home-banner .banner {
  width: 100% !important;
  height: 39vw !important;
  min-height: 0 !important;
  max-height: 39vw !important;
  padding-top: 0 !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

html body #home-banner .splide__pagination {
  position: absolute !important;
  right: auto !important;
  bottom: 10px !important;
  left: 50% !important;
  z-index: 5 !important;
  display: flex !important;
  width: 95% !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body #home-banner .splide__pagination li {
  display: list-item !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body #home-banner .splide__pagination__page {
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  margin: 3px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.65) !important;
  box-shadow: none !important;
}

html body #home-banner .splide__pagination__page.is-active {
  width: 6px !important;
  height: 6px !important;
  background: #fff !important;
  transform: scale(1.4) !important;
}

html body #home-banner .splide__progress {
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 6 !important;
  height: 2px !important;
  margin-top: -2px !important;
  overflow: hidden !important;
}

html body #home-banner .splide__progress__bar {
  width: 0;
  height: 100% !important;
  margin-top: 0 !important;
  background: #ffd400 !important;
}

/* RTP artwork keeps the same square crop as the live cards and cannot be
   squeezed by inherited image dimensions. */
html body #home-rtp-strip .rtp-thumb-wrap {
  width: 100% !important;
  height: auto !important;
  padding-top: 100% !important;
  aspect-ratio: 1 / 1 !important;
}

html body #home-rtp-strip .rtp-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Referral strip uses viewport geometry on the live page; the generated h2
   must keep the exact compact h3 typography from the source. */
html body .brand-refer-bar {
  width: calc(100vw - 40px) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

html body .brand-refer-bar .refer-brand-text h2,
html body .brand-refer-bar .refer-brand-text h3 {
  margin: 0 !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}

/* The captured balance/login card lived in the hidden third table cell.
   Runtime moves it directly below the referral bar. */
html body .gday-restored-balance {
  display: block !important;
  position: relative !important;
  top: auto !important;
  width: calc(100% - 20px) !important;
  height: auto !important;
  margin: 15px 10px 0 !important;
}

html body .gday-restored-balance #brand,
html body .gday-restored-balance .brand-before-card {
  display: block !important;
  width: 100% !important;
}

/* Runtime-populated newsletter restored with the live iframe. */
html body #newsletter-form {
  display: block !important;
  width: 100% !important;
  height: 470px !important;
  margin: 0 auto 20px !important;
}

html body #newsletter-form iframe {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 470px !important;
  margin: 0 auto !important;
  border: 0 !important;
}

/* The original promo row lives in the hidden desktop column. Runtime moves
   it in front of the newsletter while these rules restore its exact mobile
   394x122 geometry and 10px gaps. */
html body .gday-restored-movies {
  display: block !important;
  width: calc(100vw - 20px) !important;
  height: auto !important;
  margin: 0 0 0 -5px !important;
  padding: 0 !important;
}

html body .gday-restored-movies #home-movie {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

html body .gday-restored-movies .movie {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: auto !important;
  margin: 10px 0 0 !important;
  padding-top: 31% !important;
  border-radius: 0 !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

html body .gday-restored-movies .movie:first-child {
  margin-top: 0 !important;
}

/* BrandBuilder normalised h3 to h2; preserve the live heading appearance. */
html body .about-Gday77 h2,
html body .about-Gday77 h3 {
  margin: 0 0 20px !important;
  color: #000 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-transform: none !important;
}

/* Bottom PWA dock shown above the native sticky navigation. */
html body #gday-pwa-dock {
  position: fixed !important;
  right: 0 !important;
  bottom: 55px !important;
  left: 0 !important;
  z-index: 9998 !important;
  display: flex !important;
  align-items: center !important;
  height: 60px !important;
  overflow: hidden !important;
  border-top: 1px solid rgba(255,255,255,.25) !important;
  background: #20262a !important;
  color: #fff !important;
}

html body #gday-pwa-dock .gday-pwa-icon {
  width: 62px !important;
  height: 60px !important;
  padding: 7px !important;
  object-fit: contain !important;
  border-radius: 0 0 5px 0 !important;
  background: #f7f4ed !important;
}

html body #gday-pwa-dock .gday-pwa-copy {
  min-width: 0 !important;
  flex: 1 !important;
  padding: 0 10px !important;
  text-align: left !important;
}

html body #gday-pwa-dock .gday-pwa-title {
  color: #fff !important;
  font-family: Georgia, serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
}

html body #gday-pwa-dock .gday-pwa-subtitle {
  margin-top: 3px !important;
  color: #fff !important;
  font-family: Georgia, serif !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

html body #gday-pwa-dock .gday-pwa-download {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 96px !important;
  height: 28px !important;
  margin-right: 10px !important;
  border-radius: 999px !important;
  background: #f7f4ed !important;
  color: #303236 !important;
  font-family: Georgia, serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

/* gday77 21.10 (V34, sites batch 3): native bottom tab bar #footer and the native PWA dock #gday-pwa-dock are fixed to the bottom of the screen on top of the universal sticky menu; both hidden. */
html body #footer,
html body #gday-pwa-dock {
  display: none !important;
}

/* gday77 21.10: with the native bars gone the scroll area ends above the universal sticky menu (58px + 12px gap), not above the old 115px band. */
html body #content {
  bottom: 70px !important;
}

/* gday77 21.10: the native app shifts the whole table with transform: translateY(60px) (smart-banner height); a transform does not extend the box, so the last 60px of content (our FAQ, footer menu, breadcrumbs and plain plaque) were clipped by #home overflow:hidden. */
html body #home .box-3 {
  margin-bottom: 60px !important;
}

/* gday77 21.10: the flag in the language button is drawn by the geo universal into <i data-x-geo-flag> (emoji of the page locale). The static en circle in ::before is dropped: it showed the AU flag on en-GB/en-WW pages and left the button without text for V34. */
html body #changelanguage i.x-geo-flag {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  height: 30px !important;
  line-height: 1 !important;
  font-size: 24px !important;
}

html body #changelanguage::before {
  display: none !important;
  content: none !important;
}
