/*
 * Structural contract for every header and bottom-wallet preset used by the
 * original storefront.  Visual preset files may change colour and decoration,
 * but must not move these controls into the page flow.
 */

html body[data-site-theme="1"] #theme-pro-effect{
  position:fixed!important;
  inset:0!important;
  display:block!important;
  width:100vw!important;
  height:100dvh!important;
  margin:0!important;
  padding:0!important;
  pointer-events:none!important;
}

html body[data-site-theme="1"][data-menu-head-style] :is(#site-topbar,#nav-original){
  visibility:visible!important;
}

html body[data-site-theme="1"][data-menu-head-style] #nav-original{
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  height:auto!important;
  transform:none!important;
}

@media (min-width:992px){
  html body[data-site-theme="1"][data-menu-head-style] #nav-original{
    position:relative!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original #offcanvasDarkNavbar{
    position:static!important;
    inset:auto!important;
    display:flex!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    flex:1 1 auto!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    visibility:visible!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar>.offcanvas-header{
    display:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar>.offcanvas-body{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar :is(.mobile-main-menu,.mobile-member-actions){
    display:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .desktop-menu{
    display:flex!important;
    min-width:0!important;
    flex:1 1 auto!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
  }
}

@media (max-width:991.98px){
  html body[data-site-theme="1"][data-menu-head-style] #nav-original{
    position:sticky!important;
    top:0!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    z-index:1040!important;
    transform:translate3d(0,0,0)!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original.mobile-nav-hidden{
    transform:translate3d(0,-110%,0)!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original :is(.desktop-member-actions,.desktop-guest-actions){
    display:none!important;
    visibility:hidden!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .mobile-nav-tools{
    display:flex!important;
    min-width:0!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-flow:row nowrap!important;
    gap:6px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original #offcanvasDarkNavbar{
    position:fixed!important;
    z-index:1500!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:auto!important;
    display:flex!important;
    box-sizing:border-box!important;
    width:min(90vw,375px)!important;
    height:100dvh!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    flex-direction:column!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border:0!important;
    border-left:1px solid var(--bg_border)!important;
    border-radius:0!important;
    background:var(--bg_main)!important;
    box-shadow:-20px 0 48px rgba(0,0,0,.32)!important;
    visibility:hidden!important;
    transform:translate3d(100%,0,0)!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar:is(.showing,.show){
    visibility:visible!important;
    transform:translate3d(0,0,0)!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar.hiding{
    visibility:visible!important;
    transform:translate3d(100%,0,0)!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar>.offcanvas-header{
    display:flex!important;
    width:100%!important;
    min-height:58px!important;
    flex:0 0 58px!important;
    align-items:center!important;
    justify-content:flex-end!important;
    margin:0!important;
    padding:10px 13px!important;
    border-bottom:1px solid var(--bg_border)!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar>.offcanvas-body{
    display:block!important;
    width:100%!important;
    min-height:0!important;
    flex:1 1 auto!important;
    margin:0!important;
    padding:12px 13px 20px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .desktop-menu{
    display:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-member-actions{
    display:block!important;
    width:100%!important;
    height:auto!important;
    margin:0 0 12px!important;
    padding:0 0 12px!important;
    overflow:visible!important;
    border-bottom:1px solid var(--bg_border)!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-member-card{
    box-sizing:border-box!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    margin:0!important;
    padding:12px!important;
    overflow:hidden!important;
    border:1px solid color-mix(in srgb,var(--main) 24%,var(--bg_border))!important;
    border-radius:16px!important;
    clip-path:none!important;
    background:var(--bg_sub)!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-member-user{
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:9px!important;
    width:100%!important;
    min-width:0!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-avatar-only{
    position:static!important;
    display:block!important;
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    max-width:46px!important;
    margin:0!important;
    padding:3px!important;
    overflow:hidden!important;
    border:1px solid color-mix(in srgb,var(--main) 42%,var(--bg_border))!important;
    border-radius:50%!important;
    clip-path:none!important;
    background:var(--bg_main)!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-avatar-only>img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    border:0!important;
    border-radius:50%!important;
    object-fit:cover!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-member-identity{
    display:flex!important;
    min-width:0!important;
    flex-direction:column!important;
    gap:2px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-member-identity>strong{
    overflow:hidden!important;
    color:var(--font_main)!important;
    font-size:13px!important;
    line-height:1.3!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-member-identity>span{
    overflow:hidden!important;
    color:var(--font_sub)!important;
    font-size:8px!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-balance-clean{
    position:static!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 28px!important;
    width:auto!important;
    min-width:92px!important;
    max-width:138px!important;
    height:38px!important;
    align-items:center!important;
    gap:5px!important;
    margin:0!important;
    padding:4px 5px 4px 9px!important;
    overflow:hidden!important;
    border:1px solid color-mix(in srgb,var(--main) 28%,var(--bg_border))!important;
    border-radius:10px!important;
    background:var(--bg_main)!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-balance-clean .nav-balance-info,
  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-balance-clean .nav-balance-info>strong{
    display:flex!important;
    min-width:0!important;
    align-items:baseline!important;
    gap:3px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    white-space:nowrap!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-balance-clean :is(.nav-amount,.nav-point-suffix){
    position:static!important;
    display:inline!important;
    color:var(--font_main)!important;
    line-height:1!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-balance-clean .nav-amount{
    overflow:hidden!important;
    font-size:11px!important;
    font-weight:750!important;
    text-overflow:ellipsis!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-balance-clean .nav-point-suffix{
    flex:0 0 auto!important;
    color:var(--font_sub)!important;
    font-size:7px!important;
    font-weight:700!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-balance-clean .nav-balance-refresh{
    position:static!important;
    display:grid!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    place-items:center!important;
    margin:0!important;
    padding:0!important;
    border:1px solid color-mix(in srgb,var(--main) 30%,var(--bg_border))!important;
    border-radius:8px!important;
    color:var(--main)!important;
    background:color-mix(in srgb,var(--main) 9%,var(--bg_sub))!important;
    box-shadow:none!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-balance-clean .nav-balance-refresh>i{
    position:static!important;
    display:block!important;
    margin:0!important;
    color:inherit!important;
    font-size:11px!important;
    line-height:1!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-member-buttons{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    margin-top:8px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-member-buttons.has-admin{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-member-buttons>.wallet-btn{
    display:flex!important;
    min-width:0!important;
    min-height:36px!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    margin:0!important;
    padding:6px!important;
    overflow:hidden!important;
    border:1px solid color-mix(in srgb,var(--main) 24%,var(--bg_border))!important;
    border-radius:10px!important;
    color:var(--font_main)!important;
    background:var(--bg_main)!important;
    font-size:9px!important;
    white-space:nowrap!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-main-menu{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:5px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }

  /* The capsule preset intentionally uses a two-column mobile launcher. */
  html body[data-site-theme="1"][data-menu-head-style="7"] #offcanvasDarkNavbar .mobile-main-menu{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="7"] #offcanvasDarkNavbar .mobile-service-group-v21{
    grid-column:1/-1!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-main-menu>.nav-item{
    display:block!important;
    width:100%!important;
    margin:0!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-main-menu .nav-link{
    display:flex!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-height:44px!important;
    align-items:center!important;
    gap:10px!important;
    margin:0!important;
    padding:9px 11px!important;
    color:var(--font_main)!important;
    font-size:12px!important;
    line-height:1.3!important;
    text-align:left!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-main-menu .nav-link>i:first-child{
    display:grid!important;
    width:24px!important;
    min-width:24px!important;
    height:24px!important;
    place-items:center!important;
    margin:0!important;
    color:var(--main)!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-service-group-v21{
    display:block!important;
    width:100%!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-service-toggle-v21{
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr) 20px!important;
    align-items:center!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-service-toggle-v21>span{
    min-width:0!important;
    color:var(--font_main)!important;
    text-align:left!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-service-chevron-v21{
    position:static!important;
    display:grid!important;
    width:20px!important;
    height:20px!important;
    place-items:center!important;
    margin:0!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-service-submenu-v21{
    box-sizing:border-box!important;
    width:100%!important;
    margin:6px 0 2px!important;
    padding:6px!important;
    overflow:hidden!important;
    border:1px solid var(--bg_border)!important;
    border-radius:13px!important;
    background:var(--bg_sub)!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-service-submenu-v21.collapse:not(.show):not(.collapsing){
    display:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-service-submenu-v21:is(.show,.collapsing){
    display:grid!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-service-submenu-v21>a{
    display:grid!important;
    grid-template-columns:30px minmax(0,1fr)!important;
    min-height:40px!important;
    align-items:center!important;
    gap:9px!important;
    width:100%!important;
    margin:0!important;
    padding:6px 8px!important;
    border-radius:10px!important;
    color:var(--font_main)!important;
    font-size:11px!important;
    line-height:1.3!important;
    text-align:left!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-service-submenu-v21>a>i{
    display:grid!important;
    width:30px!important;
    height:30px!important;
    place-items:center!important;
    margin:0!important;
    border-radius:9px!important;
    color:var(--main)!important;
    background:color-mix(in srgb,var(--main) 9%,var(--bg_main))!important;
  }
}

/* The wallet is an overlay dock in every preset, never a document section. */
html body[data-site-theme="1"][data-wallet-style] .bottom-panel{
  position:fixed!important;
  top:auto!important;
  right:auto!important;
  bottom:0!important;
  left:50%!important;
  display:block!important;
  box-sizing:border-box!important;
  width:min(100%,550px)!important;
  height:auto!important;
  min-height:0!important;
  max-height:110px!important;
  margin:0!important;
  z-index:1039!important;
  transform:translate3d(-50%,0,0)!important;
}

html body[data-site-theme="1"][data-wallet-style="1"] .bottom-panel{max-width:550px!important}
html body[data-site-theme="1"][data-wallet-style="2"] .bottom-panel{max-width:560px!important}
html body[data-site-theme="1"][data-wallet-style="3"] .bottom-panel{max-width:580px!important}
html body[data-site-theme="1"][data-wallet-style="4"] .bottom-panel{max-width:590px!important}
html body[data-site-theme="1"][data-wallet-style="5"] .bottom-panel{max-width:565px!important}

html body[data-site-theme="1"][data-wallet-style="0"] :is(.bottom-panel,#openMenuBtn){
  display:none!important;
}

html body[data-site-theme="1"][data-wallet-style] .bottom-panel.hide{
  opacity:0!important;
  pointer-events:none!important;
  transform:translate3d(-50%,125%,0)!important;
}

html body[data-site-theme="1"][data-wallet-style] .bottom-panel>.footer{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  width:100%!important;
  height:auto!important;
  min-height:58px!important;
  align-items:stretch!important;
  gap:2px!important;
  margin:0!important;
  overflow:visible!important;
}

html body[data-site-theme="1"][data-wallet-style] .bottom-panel .footer-link{
  display:block!important;
  min-width:0!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  text-decoration:none!important;
}

html body[data-site-theme="1"][data-wallet-style] .bottom-panel .footer-item{
  display:flex!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  min-height:54px!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  gap:2px!important;
  margin:0!important;
  padding:5px 2px!important;
  text-align:center!important;
}

html body[data-site-theme="1"][data-wallet-style] .bottom-panel .footer-item>div{
  display:block!important;
  width:100%!important;
  max-width:78px!important;
  margin:0!important;
  overflow:hidden!important;
  color:var(--font_main)!important;
  font-size:8px!important;
  line-height:1.25!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

html body[data-site-theme="1"][data-wallet-style] .bottom-panel :is(.footer-profile-avatar,.footer-custom-nav-image){
  position:static!important;
  display:block!important;
  flex:0 0 auto!important;
  margin:0 auto 2px!important;
  object-fit:contain!important;
  transform:none;
}

html body[data-site-theme="1"][data-wallet-style] #openMenuBtn{
  position:fixed!important;
  top:auto!important;
  right:auto!important;
  bottom:0!important;
  left:50%!important;
  transform:translateX(-50%)!important;
}

/* The current interaction restores the full dock on upward scroll. */
html body[data-site-theme="1"][data-wallet-style] #openMenuBtn{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

@media (max-width:575.98px){
  html body[data-site-theme="1"][data-wallet-style] .bottom-panel{
    width:100%!important;
    max-width:100%!important;
    padding-right:0!important;
    padding-left:0!important;
  }

  html body[data-site-theme="1"][data-wallet-style] .bottom-panel>.footer{
    min-height:62px!important;
    border-right:0!important;
    border-left:0!important;
    border-radius:15px 15px 0 0!important;
  }
}

/* Redesigned gaming HUD wallet (preset 4): precise command-deck styling. */
html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel.bottom-panel{
  box-sizing:border-box!important;
  width:min(100%,550px)!important;
  max-width:550px!important;
  bottom:0!important;
  padding:0!important;
}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel>.footer,
html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel>.footer:hover{
  position:relative!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:4px!important;
  box-sizing:border-box!important;
  height:70px!important;
  min-height:70px!important;
  padding:6px max(8px,env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-right))!important;
  border:2px solid transparent!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,color-mix(in srgb,var(--bg_sub) 92%,var(--main)),color-mix(in srgb,var(--bg_main) 97%,#000)) padding-box,linear-gradient(120deg,var(--main),var(--sub),var(--main)) border-box!important;
  box-shadow:0 0 24px color-mix(in srgb,var(--main) 25%,transparent),0 0 38px color-mix(in srgb,var(--sub) 16%,transparent),inset 0 1px color-mix(in srgb,#fff 12%,transparent)!important;
  animation:none!important;
  overflow:visible!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel>.footer::before{
  content:none!important;
  display:none!important;
  animation:none!important;
  pointer-events:none!important;
}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel>.footer::after{
  content:none!important;
  display:none!important;
}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-link{
  position:relative!important;
  display:block!important;
  min-width:0!important;
  height:auto!important;
  overflow:visible!important;
  border:0!important;
  border-radius:14px!important;
  text-decoration:none!important;
  background:transparent!important;
}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-item{
  display:flex!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  min-height:54px!important;
  height:100%!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  padding:5px 2px!important;
  border:1px solid transparent!important;
  border-radius:14px!important;
  color:var(--font_main)!important;
  background:transparent!important;
  box-shadow:none!important;
  clip-path:none!important;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-item>i{
  display:grid!important;
  width:29px!important;
  height:29px!important;
  place-items:center!important;
  margin:0!important;
  border:1px solid color-mix(in srgb,var(--main) 48%,var(--bg_border))!important;
  border-radius:50%!important;
  color:var(--main)!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--main) 16%,var(--bg_sub)),color-mix(in srgb,var(--sub) 9%,var(--bg_main)))!important;
  font-size:14px!important;
  filter:none!important;
  transition:color .18s ease,background .18s ease,box-shadow .18s ease!important;
  font-family:"Font Awesome 6 Pro","Font Awesome 6 Free"!important;
  font-weight:900!important;
}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-item>img{
  display:none!important;
}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-item:has(>.footer-custom-nav-image)::before{
  display:grid!important;
  width:29px!important;
  height:29px!important;
  flex:0 0 29px!important;
  place-items:center!important;
  margin:0!important;
  border:1px solid color-mix(in srgb,var(--main) 48%,var(--bg_border))!important;
  border-radius:50%!important;
  color:var(--main)!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--main) 16%,var(--bg_sub)),color-mix(in srgb,var(--sub) 9%,var(--bg_main)))!important;
  background-image:none!important;
  font-family:"Font Awesome 6 Pro","Font Awesome 6 Free"!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1!important;
  filter:none!important;
}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-link:nth-child(1) .footer-item:has(>.footer-custom-nav-image)::before{content:"\f015"!important}
html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-link:nth-child(2) .footer-item:has(>.footer-custom-nav-image)::before{content:"\f555"!important}
html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-link:nth-child(3) .footer-item:has(>.footer-custom-nav-image)::before{content:"\f07a"!important}
html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-link:nth-child(4) .footer-item:has(>.footer-custom-nav-image)::before{content:"\f11b"!important}
html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-link:nth-child(5) .footer-item:has(>.footer-custom-nav-image)::before{content:"\f2bd"!important}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-profile-avatar{
  display:none!important;
  box-sizing:border-box!important;
  width:29px!important;
  height:29px!important;
  min-width:29px!important;
  min-height:29px!important;
  max-width:29px!important;
  max-height:29px!important;
  margin:0!important;
  border:1px solid color-mix(in srgb,var(--main) 65%,#fff)!important;
  border-radius:9px!important;
  object-fit:cover!important;
  box-shadow:none!important;
}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-item>div{
  display:block!important;
  width:100%!important;
  max-width:90px!important;
  margin:0!important;
  padding:0 1px!important;
  overflow:hidden!important;
  color:var(--font_main)!important;
  font-size:9px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-align:center!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  text-shadow:none!important;
}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-link.is-active .footer-item,
html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-link:hover .footer-item,
html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-link:focus-visible .footer-item{
  border-color:transparent!important;
  background:color-mix(in srgb,var(--main) 9%,transparent)!important;
  box-shadow:none!important;
}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-link:is(:hover,.is-active,:focus-visible) .footer-item>i{
  color:var(--font_main)!important;
  border-color:color-mix(in srgb,var(--main) 62%,var(--sub))!important;
  background:linear-gradient(140deg,var(--main),color-mix(in srgb,var(--sub) 74%,var(--main)))!important;
  box-shadow:0 0 14px color-mix(in srgb,var(--main) 34%,transparent)!important;
}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-link:is(:hover,.is-active,:focus-visible) .footer-item>div{
  color:var(--font_main)!important;
}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .hide-menu-btn{
  top:-21px!important;
  right:12px!important;
  width:48px!important;
  min-width:48px!important;
  height:22px!important;
  border:1px solid color-mix(in srgb,var(--main) 50%,var(--bg_border))!important;
  border-bottom:0!important;
  border-radius:9px 9px 0 0!important;
  color:var(--font_main)!important;
  background:var(--bg_sub)!important;
  clip-path:none!important;
  box-shadow:0 -5px 14px color-mix(in srgb,var(--main) 12%,transparent)!important;
}
html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .hide-menu-btn span{font-size:9px!important;letter-spacing:.02em!important}

html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-link:nth-child(5) .footer-item>i{
  display:grid!important;
}

@media (min-width:576px){
  html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-link{
    display:flex!important;
    align-items:stretch!important;
    justify-content:center!important;
  }

  html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-item{
    display:flex!important;
    width:100%!important;
    height:100%!important;
    min-height:54px!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    text-align:center!important;
  }

  html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-item>i,
  html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-item>div{
    align-self:center!important;
    margin-inline:auto!important;
    text-align:center!important;
  }

  html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-link:nth-child(5) .footer-item>i{
    display:grid!important;
    width:29px!important;
    height:29px!important;
    place-items:center!important;
    border:1px solid color-mix(in srgb,var(--main) 48%,var(--bg_border))!important;
    border-radius:50%!important;
    color:var(--main)!important;
    background:linear-gradient(145deg,color-mix(in srgb,var(--main) 16%,var(--bg_sub)),color-mix(in srgb,var(--sub) 9%,var(--bg_main)))!important;
    font-size:14px!important;
    line-height:1!important;
  }
}

/* Redesigned glass wallet (preset 5): soft frosted surface and quiet controls. */
html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel.bottom-panel{
  box-sizing:border-box!important;
  width:min(100%,550px)!important;
  max-width:550px!important;
  bottom:calc(10px + env(safe-area-inset-bottom))!important;
  padding:0 9px!important;
}

html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel>.footer,
html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel>.footer:hover{
  position:relative!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:5px!important;
  box-sizing:border-box!important;
  height:70px!important;
  min-height:70px!important;
  padding:7px!important;
  border:1px solid color-mix(in srgb,#fff 20%,var(--bg_border))!important;
  border-radius:20px!important;
  background:color-mix(in srgb,var(--bg_sub) 48%,transparent)!important;
  box-shadow:0 14px 36px rgba(0,0,0,.2),0 0 22px color-mix(in srgb,var(--main) 12%,transparent),inset 0 1px color-mix(in srgb,#fff 30%,transparent),inset 0 -1px color-mix(in srgb,var(--sub) 12%,transparent)!important;
  animation:none!important;
  overflow:hidden!important;
  -webkit-backdrop-filter:blur(26px) saturate(155%)!important;
  backdrop-filter:blur(26px) saturate(155%)!important;
}

html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel>.footer::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  display:block!important;
  padding:1px!important;
  border-radius:inherit!important;
  background:linear-gradient(115deg,color-mix(in srgb,#fff 55%,transparent),color-mix(in srgb,var(--main) 42%,transparent) 38%,color-mix(in srgb,var(--sub) 32%,transparent) 72%,color-mix(in srgb,#fff 20%,transparent))!important;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;
  -webkit-mask-composite:xor!important;
  mask-composite:exclude!important;
  filter:none!important;
  animation:none!important;
  pointer-events:none!important;
}

html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel>.footer::after{
  content:""!important;
  position:absolute!important;
  inset:1px!important;
  display:block!important;
  border-radius:21px!important;
  background:linear-gradient(135deg,color-mix(in srgb,#fff 8%,transparent),transparent 48%,color-mix(in srgb,var(--sub) 8%,transparent))!important;
  pointer-events:none!important;
}

html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel .footer-link{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  min-width:0!important;
  border-radius:15px!important;
  overflow:hidden!important;
  background:transparent!important;
}

html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel .footer-item{
  display:flex!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  min-height:54px!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  padding:5px 2px!important;
  border:1px solid transparent!important;
  border-radius:14px!important;
  color:var(--font_main)!important;
  background:transparent!important;
  box-shadow:none!important;
  transition:background .18s ease,border-color .18s ease!important;
}

html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel .footer-item>i{
  display:block!important;
  margin:0!important;
  color:color-mix(in srgb,var(--font_main) 84%,var(--main))!important;
  font-size:19px!important;
  line-height:1!important;
  filter:none!important;
}

html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel .footer-profile-avatar{
  display:block!important;
  width:25px!important;
  height:25px!important;
  min-width:25px!important;
  min-height:25px!important;
  max-width:25px!important;
  max-height:25px!important;
  margin:0!important;
  border:1px solid color-mix(in srgb,#fff 48%,var(--main))!important;
  border-radius:50%!important;
  object-fit:cover!important;
  box-shadow:0 2px 8px rgba(0,0,0,.2)!important;
}

html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel .footer-item>div{
  display:block!important;
  width:100%!important;
  max-width:90px!important;
  margin:0!important;
  padding:0 1px!important;
  overflow:hidden!important;
  color:var(--font_main)!important;
  font-size:9px!important;
  font-weight:650!important;
  line-height:1.25!important;
  text-align:center!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel .footer-link.is-active .footer-item,
html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel .footer-link:focus-visible .footer-item{
  border-color:color-mix(in srgb,var(--main) 34%,transparent)!important;
  background:color-mix(in srgb,var(--main) 10%,transparent)!important;
  box-shadow:inset 0 1px color-mix(in srgb,#fff 16%,transparent)!important;
}

html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel .footer-link:hover .footer-item{
  border-color:transparent!important;
  outline:0!important;
  background:color-mix(in srgb,#fff 6%,transparent)!important;
  box-shadow:none!important;
}

html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel .footer-link:hover,
html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel .footer-link:hover .footer-item{
  text-decoration:none!important;
  outline:0!important;
}

html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel .footer-link.is-active .footer-item>i,
html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel .footer-link.is-active .footer-item>div{
  color:var(--main)!important;
}

@media (max-width:575.98px){
  html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel>.footer,
  html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel>.footer:hover{
    gap:2px!important;
    height:auto!important;
    min-height:62px!important;
    padding:5px max(5px,env(safe-area-inset-left)) calc(5px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-right))!important;
    border-radius:18px!important;
  }

  html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-item{min-height:50px!important;gap:4px!important}
  html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-item>i,
  html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-profile-avatar{width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;max-width:26px!important;max-height:26px!important}
  html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel .footer-item>div,
  html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel .footer-item>div{font-size:8px!important}

  html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel.bottom-panel{bottom:calc(6px + env(safe-area-inset-bottom))!important;padding-inline:5px!important}
  html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel>.footer,
  html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel>.footer:hover{gap:2px!important;height:62px!important;min-height:62px!important;padding:5px!important;border-radius:18px!important}
  html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel .footer-item{min-height:50px!important;gap:4px!important}
}

/* Basic header preset (style 3), desktop only.
   Keep the brand and utilities anchored to the viewport edges while the main
   navigation owns the visual centre.  Other selectable header presets retain
   their independent layouts. */
@media (min-width:992px){
  html body[data-site-theme="1"][data-menu-head-style="3"] #nav-original{
    width:100%!important;
    max-width:none!important;
    margin-right:0!important;
    margin-left:0!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="3"] #nav-original>.container-fluid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
    align-items:center!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding-inline:14px!important;
    gap:12px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="3"] #nav-original .navbar-brand{
    grid-column:1!important;
    justify-self:start!important;
    min-width:0!important;
    margin:0!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="3"] #nav-original #offcanvasDarkNavbar,
  html body[data-site-theme="1"][data-menu-head-style="3"] #nav-original #offcanvasDarkNavbar>.offcanvas-body{
    display:contents!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="3"] #offcanvasDarkNavbar .desktop-menu{
    grid-column:2!important;
    justify-self:center!important;
    width:max-content!important;
    min-width:0!important;
    max-width:none!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding:0!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="3"] #nav-original :is(.desktop-member-actions,.desktop-guest-actions){
    grid-column:3!important;
    justify-self:end!important;
    align-self:center!important;
    width:max-content!important;
    margin:0!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="3"] #nav-original :is(.nav-search-icon,.nav-checkin-icon,.site-language-toggle){
    appearance:none!important;
    -webkit-appearance:none!important;
    display:grid!important;
    box-sizing:border-box!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    place-items:center!important;
    margin:0!important;
    padding:0!important;
    border:1px solid color-mix(in srgb,var(--main) 34%,var(--bg_border))!important;
    border-radius:11px!important;
    color:var(--main)!important;
    background:color-mix(in srgb,var(--bg_sub) 90%,var(--bg_main))!important;
    box-shadow:none!important;
    line-height:1!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="3"] #nav-original :is(.nav-search-icon,.nav-checkin-icon,.site-language-toggle):is(:hover,:focus-visible){
    border-color:var(--main)!important;
    color:var(--main)!important;
    background:color-mix(in srgb,var(--main) 12%,var(--bg_sub))!important;
    box-shadow:0 0 0 3px color-mix(in srgb,var(--main) 10%,transparent)!important;
    outline:0!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="3"] #nav-original :is(.nav-search-icon,.nav-checkin-icon)>i{
    display:block!important;
    margin:0!important;
    color:inherit!important;
    font-size:15px!important;
    line-height:1!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="3"] #nav-original .site-language-toggle.nav-search-icon{
    display:inline-flex!important;
    width:auto!important;
    min-width:64px!important;
    padding:0 9px!important;
    align-items:center!important;
    justify-content:center!important;
    flex-flow:row nowrap!important;
    gap:6px!important;
    white-space:nowrap!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="3"] #nav-original .site-language-toggle .site-language-flag{
    display:block!important;
    width:22px!important;
    height:16px!important;
    min-width:22px!important;
    flex:0 0 22px!important;
    margin:0!important;
    object-fit:cover!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="3"] #nav-original .site-language-toggle .site-language-code{
    display:inline-block!important;
    margin:0!important;
    color:var(--font_main)!important;
    font-size:9px!important;
    font-weight:700!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
}

@media (min-width:992px) and (max-width:1199.98px){
  html body[data-site-theme="1"][data-menu-head-style="3"] #nav-original>.container-fluid{
    padding-inline:10px!important;
    gap:7px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="3"] #offcanvasDarkNavbar .desktop-menu>.nav-item>.nav-link{
    padding-inline:7px!important;
    gap:4px!important;
    font-size:10px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="3"] #nav-original :is(.nav-search-icon,.nav-checkin-icon,.site-language-toggle){
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
  }
}

/* --------------------------------------------------------------------------
   Basic theme / Gaming header (preset 6)
   Rebuild the three rails after the Digital Hub preset introduced global
   header rules.  This section is deliberately scoped to the original theme.
   -------------------------------------------------------------------------- */
@media (min-width:992px){
  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original{
    position:relative!important;
    width:100%!important;
    max-width:none!important;
    min-height:70px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-bottom:1px solid color-mix(in srgb,var(--main) 48%,var(--bg_border))!important;
    border-radius:0!important;
    background:var(--bg_main)!important;
    box-shadow:0 8px 24px rgba(0,0,0,.18)!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original>.container-fluid{
    display:grid!important;
    grid-template-columns:minmax(170px,1fr) minmax(520px,auto) minmax(280px,1fr)!important;
    width:100%!important;
    max-width:1440px!important;
    min-height:70px!important;
    align-items:center!important;
    gap:14px!important;
    margin:0 auto!important;
    padding:0 20px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original .navbar-brand{
    grid-column:1!important;
    justify-self:start!important;
    display:flex!important;
    width:auto!important;
    min-width:0!important;
    align-items:center!important;
    gap:9px!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original .navbar-brand>img{
    display:block!important;
    width:auto!important;
    max-width:44px!important;
    height:44px!important;
    max-height:44px!important;
    object-fit:contain!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original .site-brand-name{
    display:inline-flex!important;
    min-width:0!important;
    max-width:128px!important;
    overflow:hidden!important;
    color:var(--font_main)!important;
    font-size:16px!important;
    font-weight:750!important;
    line-height:1!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original #offcanvasDarkNavbar,
  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original #offcanvasDarkNavbar>.offcanvas-body{
    display:contents!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .desktop-menu{
    position:static!important;
    grid-column:2!important;
    justify-self:center!important;
    display:flex!important;
    width:max-content!important;
    max-width:100%!important;
    min-width:0!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    margin:0!important;
    padding:5px 7px!important;
    overflow:visible!important;
    border:1px solid color-mix(in srgb,var(--main) 32%,var(--bg_border))!important;
    border-radius:999px!important;
    background:color-mix(in srgb,var(--bg_sub) 86%,var(--bg_main))!important;
    box-shadow:none!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .desktop-menu>.nav-item{
    flex:0 0 auto!important;
    margin:0!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .desktop-menu>.nav-item>.nav-link{
    display:flex!important;
    min-height:38px!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    margin:0!important;
    padding:7px 12px!important;
    border:1px solid transparent!important;
    border-radius:999px!important;
    color:var(--font_sub)!important;
    background:transparent!important;
    box-shadow:none!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:1!important;
    white-space:nowrap!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .desktop-menu>.nav-item>.nav-link:is(:hover,.active){
    border-color:color-mix(in srgb,var(--main) 62%,var(--bg_border))!important;
    color:var(--font_main)!important;
    background:color-mix(in srgb,var(--main) 14%,var(--bg_sub))!important;
    box-shadow:inset 0 0 12px color-mix(in srgb,var(--main) 12%,transparent)!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original :is(.desktop-member-actions,.desktop-guest-actions){
    grid-column:3!important;
    justify-self:end!important;
    gap:7px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original :is(.nav-search-icon,.nav-checkin-icon,.site-language-toggle){
    appearance:none!important;
    position:relative!important;
    display:grid!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    place-items:center!important;
    margin:0!important;
    padding:0!important;
    border:1px solid color-mix(in srgb,var(--main) 28%,var(--bg_border))!important;
    border-radius:50%!important;
    color:var(--main)!important;
    background:var(--bg_main)!important;
    box-shadow:none!important;
    clip-path:none!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original :is(.nav-search-icon,.nav-checkin-icon,.site-language-toggle) i{
    color:inherit!important;
    font-family:"Font Awesome 6 Pro","Font Awesome 6 Free"!important;
    font-size:14px!important;
    font-weight:900!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original .site-language-toggle{
    display:flex!important;
    width:auto!important;
    min-width:58px!important;
    padding:0 9px!important;
    gap:6px!important;
    border-radius:999px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original .site-language-code{
    display:inline!important;
    color:var(--font_main)!important;
    font-size:10px!important;
    line-height:1!important;
  }
}

@media (min-width:992px) and (max-width:1240px){
  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original>.container-fluid{
    grid-template-columns:90px minmax(0,1fr) minmax(230px,auto)!important;
    gap:7px!important;
    padding-inline:12px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original .site-brand-name{
    display:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .desktop-menu{
    justify-self:start!important;
    padding-inline:4px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .desktop-menu>.nav-item>.nav-link{
    gap:5px!important;
    padding-inline:8px!important;
    font-size:10px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original :is(.nav-search-icon,.nav-checkin-icon){
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original .site-language-toggle{
    height:34px!important;
    min-width:48px!important;
    padding-inline:6px!important;
  }
}

/* Gaming mobile drawer: same information architecture as the original clean
   drawer, with all labels kept in a horizontal icon/text row. */
@media (max-width:991.98px){
  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar>.offcanvas-header{
    display:flex!important;
    min-height:62px!important;
    flex:0 0 62px!important;
    align-items:center!important;
    justify-content:flex-start!important;
    margin:0!important;
    padding:10px 13px!important;
    border-bottom:1px solid var(--bg_border)!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar>.offcanvas-header>a{
    display:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .offcanvas-close-v21{
    order:1!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid color-mix(in srgb,var(--main) 40%,var(--bg_border))!important;
    border-radius:10px!important;
    color:var(--font_main)!important;
    background:var(--bg_main)!important;
    box-shadow:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar>.offcanvas-body{
    display:block!important;
    padding:12px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .mobile-main-menu{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:5px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .mobile-main-menu>.nav-item{
    width:100%!important;
    margin:0!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .mobile-main-menu .nav-link{
    display:flex!important;
    width:100%!important;
    min-height:44px!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    margin:0!important;
    padding:8px 11px!important;
    border:1px solid transparent!important;
    border-radius:11px!important;
    color:var(--font_main)!important;
    background:transparent!important;
    box-shadow:none!important;
    font-size:12px!important;
    line-height:1.25!important;
    text-align:left!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .mobile-main-menu .nav-link>i:first-child{
    position:static!important;
    display:grid!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    flex:0 0 28px!important;
    place-items:center!important;
    margin:0!important;
    border-radius:9px!important;
    color:var(--main)!important;
    background:color-mix(in srgb,var(--main) 10%,var(--bg_sub))!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .mobile-main-menu .nav-link>span{
    display:block!important;
    min-width:0!important;
    flex:1 1 auto!important;
    color:var(--font_main)!important;
    text-align:left!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .mobile-main-menu .nav-link:is(:hover,.active){
    border-color:color-mix(in srgb,var(--main) 62%,var(--bg_border))!important;
    background:color-mix(in srgb,var(--main) 10%,var(--bg_sub))!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .mobile-service-toggle-v21{
    display:grid!important;
    grid-template-columns:28px minmax(0,1fr) 24px!important;
    align-items:center!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .mobile-service-chevron-v21{
    position:static!important;
    grid-column:3!important;
    margin:0!important;
  }
}

/* --------------------------------------------------------------------------
   Basic theme / image bottom menu (preset 2)
   -------------------------------------------------------------------------- */
html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original .navbar-brand .site-brand-name{
  display:none!important;
}

html body[data-site-theme="1"][data-menu-head-style="6"] :is(#nav-original,#offcanvasDarkNavbar,#site-topbar) :is(i.fas,i.fa-solid){
  font-family:"Font Awesome 6 Pro","Font Awesome 6 Free"!important;
  font-weight:300!important;
}

html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel.bottom-panel{
  bottom:0!important;
  width:min(100%,575px)!important;
  max-width:575px!important;
  padding:0 5px 5px!important;
  background:transparent!important;
}

html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel>.footer,
html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel>.footer:hover{
  position:relative!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:3px!important;
  width:100%!important;
  min-height:68px!important;
  margin:0!important;
  padding:5px!important;
  overflow:hidden!important;
  border:1px solid color-mix(in srgb,var(--main) 78%,var(--sub))!important;
  border-radius:18px!important;
  background:color-mix(in srgb,var(--bg_main) 96%,var(--bg_sub))!important;
  background-image:none!important;
  box-shadow:
    0 0 12px color-mix(in srgb,var(--main) 52%,transparent),
    0 0 28px color-mix(in srgb,var(--sub) 26%,transparent),
    0 10px 28px rgba(0,0,0,.32),
    inset 0 0 16px color-mix(in srgb,var(--main) 9%,transparent)!important;
  animation:none!important;
}

html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel .footer-link{
  display:block!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:12px!important;
  color:var(--font_main)!important;
  background:transparent!important;
}

html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel .footer-item{
  display:flex!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  min-height:56px!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  margin:0!important;
  padding:4px 2px!important;
  overflow:hidden!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}

html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel .footer-link:is(:hover,.is-active) .footer-item{
  border:2px solid color-mix(in srgb,var(--main) 88%,var(--sub))!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--main) 18%,var(--bg_sub)),color-mix(in srgb,var(--sub) 8%,var(--bg_sub)))!important;
  box-shadow:
    0 0 10px color-mix(in srgb,var(--main) 62%,transparent),
    0 0 20px color-mix(in srgb,var(--sub) 26%,transparent),
    inset 0 0 15px color-mix(in srgb,var(--main) 15%,transparent)!important;
}

html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel .footer-custom-nav-image,
html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel .footer-profile-avatar{
  position:static!important;
  display:block!important;
  width:31px!important;
  height:31px!important;
  min-width:31px!important;
  min-height:31px!important;
  max-width:31px!important;
  max-height:31px!important;
  flex:0 0 31px!important;
  margin:0 auto 2px!important;
  padding:0!important;
  border:0!important;
  border-radius:8px!important;
  object-fit:contain!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}

html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel .footer-profile-avatar{
  border:1px solid color-mix(in srgb,var(--main) 58%,var(--bg_border))!important;
  border-radius:50%!important;
  object-fit:cover!important;
}

html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel .footer-item>div{
  display:block!important;
  width:100%!important;
  max-width:92px!important;
  margin:0!important;
  overflow:hidden!important;
  color:var(--font_main)!important;
  font-size:8px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-align:center!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

@media (max-width:575.98px){
  html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel.bottom-panel{
    width:100%!important;
    max-width:100%!important;
    padding:0!important;
  }

  html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel>.footer,
  html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel>.footer:hover{
    min-height:66px!important;
    border:1px solid color-mix(in srgb,var(--main) 78%,var(--sub))!important;
    border-radius:17px!important;
  }

  html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel .footer-custom-nav-image,
  html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel .footer-profile-avatar{
    width:29px!important;
    height:29px!important;
    min-width:29px!important;
    min-height:29px!important;
    max-width:29px!important;
    max-height:29px!important;
    flex-basis:29px!important;
  }
}

/* --------------------------------------------------------------------------
   Final navigation contract

   The preset stylesheet intentionally owns decoration only.  These rules keep
   the shared member controls and menu rails in a predictable layout for every
   selectable header/wallet preset in the original theme.
   -------------------------------------------------------------------------- */
@media (min-width:992px){
  html body[data-site-theme="1"][data-menu-head-style] #nav-original :is(.desktop-member-actions,.desktop-guest-actions){
    position:static!important;
    inset:auto!important;
    display:flex!important;
    width:max-content!important;
    min-width:0!important;
    max-width:none!important;
    height:auto!important;
    flex:0 0 auto!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:6px!important;
    margin:0 0 0 auto!important;
    padding:0!important;
    overflow:visible!important;
    list-style:none!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original :is(.desktop-member-actions,.desktop-guest-actions)>.nav-item{
    position:relative!important;
    display:flex!important;
    width:auto!important;
    height:auto!important;
    flex:0 0 auto!important;
    align-items:center!important;
    margin:0!important;
    padding:0!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .member-nav-compact{
    display:flex!important;
    width:auto!important;
    min-width:0!important;
    flex:0 0 auto!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    gap:7px!important;
    margin:0!important;
    padding:0!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .nav-balance-compact{
    position:static!important;
    display:flex!important;
    box-sizing:border-box!important;
    width:auto!important;
    min-width:112px!important;
    max-width:148px!important;
    height:40px!important;
    min-height:40px!important;
    flex:0 0 auto!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    gap:6px!important;
    margin:0!important;
    padding:5px 5px 5px 8px!important;
    overflow:hidden!important;
    border:1px solid color-mix(in srgb,var(--main) 28%,var(--bg_border))!important;
    border-radius:12px!important;
    background:color-mix(in srgb,var(--bg_sub) 90%,var(--bg_main))!important;
    box-shadow:none!important;
    clip-path:none!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .nav-balance-icon{
    position:static!important;
    display:grid!important;
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    flex:0 0 26px!important;
    place-items:center!important;
    margin:0!important;
    padding:0!important;
    border-radius:8px!important;
    color:var(--main)!important;
    background:color-mix(in srgb,var(--main) 11%,var(--bg_main))!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .nav-balance-info{
    position:static!important;
    display:block!important;
    width:auto!important;
    min-width:0!important;
    max-width:72px!important;
    flex:1 1 auto!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .nav-balance-info>strong{
    position:static!important;
    display:flex!important;
    min-width:0!important;
    align-items:baseline!important;
    gap:3px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    color:var(--font_main)!important;
    font-size:12px!important;
    line-height:1!important;
    white-space:nowrap!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .nav-amount{
    position:static!important;
    display:block!important;
    min-width:0!important;
    overflow:hidden!important;
    color:var(--font_main)!important;
    font-size:12px!important;
    font-weight:750!important;
    line-height:1!important;
    text-overflow:ellipsis!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .nav-point-suffix{
    position:static!important;
    display:inline!important;
    flex:0 0 auto!important;
    color:var(--font_sub)!important;
    font-size:7px!important;
    font-weight:700!important;
    line-height:1!important;
    text-transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .nav-balance-refresh{
    appearance:none!important;
    -webkit-appearance:none!important;
    position:static!important;
    display:grid!important;
    box-sizing:border-box!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    flex:0 0 28px!important;
    place-items:center!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:8px!important;
    color:var(--main)!important;
    background:color-mix(in srgb,var(--main) 10%,var(--bg_main))!important;
    box-shadow:none!important;
    clip-path:none!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .nav-balance-refresh>i{
    position:static!important;
    display:block!important;
    margin:0!important;
    color:inherit!important;
    font-size:11px!important;
    line-height:1!important;
    transform:none;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .member-profile-trigger.member-avatar-trigger{
    position:relative!important;
    inset:auto!important;
    display:grid!important;
    box-sizing:border-box!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    flex:0 0 40px!important;
    place-items:center!important;
    margin:0!important;
    padding:3px!important;
    overflow:hidden!important;
    border:1px solid color-mix(in srgb,var(--main) 48%,var(--bg_border))!important;
    border-radius:50%!important;
    background:var(--bg_sub)!important;
    box-shadow:none!important;
    clip-path:none!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .member-profile-trigger.member-avatar-trigger>img{
    position:static!important;
    inset:auto!important;
    display:block!important;
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    margin:0!important;
    border:0!important;
    border-radius:50%!important;
    object-fit:cover!important;
    transform:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .member-profile-trigger.member-avatar-trigger :is(.member-profile-trigger-copy,.member-profile-trigger-name,.member-profile-trigger-meta){
    display:none!important;
  }

  /* Gaming keeps three rails, but every rail is allowed to shrink safely. */
  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original>.container-fluid{
    grid-template-columns:minmax(170px,1fr) minmax(520px,auto) minmax(280px,1fr)!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original :is(.desktop-member-actions,.desktop-guest-actions){
    grid-column:3!important;
    justify-self:end!important;
  }
}

@media (min-width:992px) and (max-width:1199.98px){
  html body[data-site-theme="1"][data-menu-head-style="6"] #nav-original>.container-fluid{
    grid-template-columns:90px minmax(0,1fr) minmax(230px,auto)!important;
    gap:7px!important;
    padding-inline:12px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .nav-balance-compact{
    min-width:98px!important;
    max-width:112px!important;
    padding-left:6px!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .nav-balance-icon{
    display:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #nav-original .nav-point-suffix{
    display:none!important;
  }
}

@media (max-width:991.98px){
  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-main-menu .nav-link{
    justify-content:flex-start!important;
    border:1px solid transparent!important;
    border-radius:11px!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-main-menu .nav-link:is(:hover,.active){
    border-color:color-mix(in srgb,var(--main) 46%,var(--bg_border))!important;
    background:color-mix(in srgb,var(--main) 10%,var(--bg_sub))!important;
  }

  html body[data-site-theme="1"][data-menu-head-style] #offcanvasDarkNavbar .mobile-main-menu .nav-link>span{
    min-width:0!important;
    color:var(--font_main)!important;
    text-align:left!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="6"] #offcanvasDarkNavbar .mobile-main-menu{
    grid-template-columns:1fr!important;
  }
}

/* Fixed bottom dock shared by every wallet preset.  Variant rules may decorate
   it, but cannot turn it into a normal document section. */
html body[data-site-theme="1"][data-wallet-style] #bottomPanel.bottom-panel{
  position:fixed!important;
  inset:auto auto 0 50%!important;
  width:min(100%,var(--wallet-dock-width,550px))!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  z-index:1039!important;
  transform:translate3d(-50%,0,0)!important;
}

html body[data-site-theme="1"][data-wallet-style="1"] #bottomPanel{--wallet-dock-width:550px}
html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel{--wallet-dock-width:560px}
html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel{--wallet-dock-width:580px}
html body[data-site-theme="1"][data-wallet-style="4"] #bottomPanel{--wallet-dock-width:590px}
html body[data-site-theme="1"][data-wallet-style="5"] #bottomPanel{--wallet-dock-width:565px}

html body[data-site-theme="1"][data-wallet-style] #bottomPanel.hide{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translate3d(-50%,125%,0)!important;
}

html body[data-site-theme="1"][data-wallet-style] #bottomPanel>.footer{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:stretch!important;
  width:100%!important;
  margin:0!important;
}

html body[data-site-theme="1"][data-wallet-style] #bottomPanel .footer-link{
  display:block!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
}

html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel .footer-custom-nav-image{
  position:static!important;
  display:block!important;
  width:29px!important;
  height:29px!important;
  min-width:29px!important;
  max-width:29px!important;
  min-height:29px!important;
  max-height:29px!important;
  flex:0 0 29px!important;
  margin:0 auto 3px!important;
  object-fit:contain!important;
  filter:none!important;
  transform:none;
}

html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel .footer-item>i,
html body[data-site-theme="1"][data-wallet-style="2"] #bottomPanel .footer-item:before{
  display:none!important;
  content:none!important;
}

@media (max-width:575.98px){
  html body[data-site-theme="1"][data-wallet-style] #bottomPanel.bottom-panel{
    --wallet-dock-width:100%;
    position:fixed!important;
    top:auto!important;
    bottom:0!important;
    right:0!important;
    left:0!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    transform:translate3d(0,0,0)!important;
    z-index:1039!important;
  }

  html body[data-site-theme="1"][data-wallet-style] #bottomPanel.hide{
    transform:translate3d(0,125%,0)!important;
  }

  html body[data-site-theme="1"][data-wallet-style] #bottomPanel>.footer{
    width:100%!important;
    height:auto!important;
    min-height:62px!important;
    margin:0!important;
  }
}

/* Mobile viewport guard for every basic-theme wallet preset.
   Some preset decorations add padding/fixed item widths after the dock has
   already been set to 100%, which intermittently made the root scroll area
   wider than the visual viewport during boot and hide/show transitions. */
@media (max-width:575.98px){
  html:has(> body[data-site-theme="1"][data-wallet-style]){
    width:100%;
    max-width:100%;
    overflow-x:hidden;
    overflow-x:clip;
  }

  html body[data-site-theme="1"][data-wallet-style]{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    overflow-x:clip!important;
  }

  html body[data-site-theme="1"][data-wallet-style] #bottomPanel.bottom-panel{
    box-sizing:border-box!important;
    inset-inline:0!important;
    inline-size:100%!important;
    min-inline-size:0!important;
    max-inline-size:100%!important;
    padding-inline:0!important;
    contain:layout style;
  }

  html body[data-site-theme="1"][data-wallet-style] #bottomPanel.bottom-panel,
  html body[data-site-theme="1"][data-wallet-style] #bottomPanel.bottom-panel::before,
  html body[data-site-theme="1"][data-wallet-style] #bottomPanel.bottom-panel::after,
  html body[data-site-theme="1"][data-wallet-style] #bottomPanel>.footer,
  html body[data-site-theme="1"][data-wallet-style] #bottomPanel>.footer::before,
  html body[data-site-theme="1"][data-wallet-style] #bottomPanel>.footer::after,
  html body[data-site-theme="1"][data-wallet-style] #bottomPanel .footer-link,
  html body[data-site-theme="1"][data-wallet-style] #bottomPanel .footer-item{
    box-sizing:border-box!important;
  }

  html body[data-site-theme="1"][data-wallet-style] #bottomPanel>.footer{
    inline-size:100%!important;
    min-inline-size:0!important;
    max-inline-size:100%!important;
  }

  html body[data-site-theme="1"][data-wallet-style] #bottomPanel .footer-link,
  html body[data-site-theme="1"][data-wallet-style] #bottomPanel .footer-item{
    min-inline-size:0!important;
    max-inline-size:100%!important;
  }

  html body[data-site-theme="1"][data-wallet-style] #bottomPanel .hide-menu-btn{
    max-width:calc(100% - 16px)!important;
  }
}

/* Left-aligned header preset (style 5): restore the search control decoration
   without sharing the basic or gaming header layout. */
@media (min-width:992px){
  html body[data-site-theme="1"][data-menu-head-style="5"] #nav-original :is(.nav-search-icon,.nav-checkin-icon){
    appearance:none!important;
    -webkit-appearance:none!important;
    display:grid!important;
    box-sizing:border-box!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    place-items:center!important;
    margin:0!important;
    padding:0!important;
    border:1px solid color-mix(in srgb,var(--main) 34%,var(--bg_border))!important;
    border-radius:11px!important;
    color:var(--main)!important;
    background:color-mix(in srgb,var(--bg_sub) 90%,var(--bg_main))!important;
    box-shadow:none!important;
    line-height:1!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="5"] #nav-original :is(.nav-search-icon,.nav-checkin-icon):is(:hover,:focus-visible){
    border-color:var(--main)!important;
    color:var(--main)!important;
    background:color-mix(in srgb,var(--main) 12%,var(--bg_sub))!important;
    box-shadow:0 0 0 3px color-mix(in srgb,var(--main) 10%,transparent)!important;
    outline:0!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="5"] #nav-original :is(.nav-search-icon,.nav-checkin-icon)>i{
    display:block!important;
    margin:0!important;
    color:inherit!important;
    font-size:15px!important;
    line-height:1!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="5"] #nav-original .site-language-toggle.nav-search-icon{
    display:inline-flex!important;
    width:auto!important;
    min-width:64px!important;
    padding:0 9px!important;
    align-items:center!important;
    justify-content:center!important;
    flex-flow:row nowrap!important;
    gap:6px!important;
    white-space:nowrap!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="5"] #nav-original .site-language-toggle .site-language-flag{
    display:block!important;
    width:22px!important;
    height:16px!important;
    min-width:22px!important;
    flex:0 0 22px!important;
    margin:0!important;
    object-fit:cover!important;
  }

  html body[data-site-theme="1"][data-menu-head-style="5"] #nav-original .site-language-toggle .site-language-code{
    display:inline-block!important;
    margin:0!important;
    color:var(--font_main)!important;
    font-size:9px!important;
    font-weight:700!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
}

/* Center-profile wallet preset (style 3).
   The shared five-column safety contract must not flatten its dedicated centre
   profile slot back into the basic wallet layout. */
html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel.bottom-panel{
  box-sizing:border-box!important;
  width:min(100%,580px)!important;
  max-width:580px!important;
  padding:30px 9px 0!important;
}

html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel>.footer,
html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel>.footer:hover{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 84px minmax(0,1fr) minmax(0,1fr)!important;
  align-items:end!important;
  gap:5px!important;
  min-height:58px!important;
  padding:5px 7px!important;
  overflow:visible!important;
}

html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(1){order:1!important}
html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(2){order:2!important}
html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(5){order:3!important}
html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(3){order:4!important}
html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(4){order:5!important}

html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(5){
  position:relative!important;
  z-index:3!important;
  display:block!important;
  box-sizing:border-box!important;
  width:84px!important;
  min-width:84px!important;
  max-width:84px!important;
  height:82px!important;
  min-height:82px!important;
  margin:-30px 0 0!important;
  overflow:visible!important;
  align-self:end!important;
  justify-self:center!important;
}

html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(5)>.footer-item{
  position:relative!important;
  display:flex!important;
  box-sizing:border-box!important;
  width:84px!important;
  min-width:84px!important;
  max-width:84px!important;
  height:82px!important;
  min-height:82px!important;
  max-height:82px!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  border:0!important;
  background:transparent!important;
}

html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(5)>.footer-item::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  top:0!important;
  left:50%!important;
  display:block!important;
  box-sizing:border-box!important;
  width:66px!important;
  height:66px!important;
  border:6px solid transparent!important;
  border-radius:50%!important;
  background:linear-gradient(var(--bg_main),var(--bg_main)) padding-box,linear-gradient(135deg,var(--main),var(--sub)) border-box!important;
  box-shadow:0 0 16px color-mix(in srgb,var(--main) 35%,transparent),0 0 22px color-mix(in srgb,var(--sub) 24%,transparent)!important;
  transform:translateX(-50%)!important;
}

html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(5) :is(.footer-profile-avatar,.footer-item>i){
  position:absolute!important;
  z-index:2!important;
  top:6px!important;
  left:50%!important;
  display:grid!important;
  box-sizing:border-box!important;
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  min-height:54px!important;
  max-width:54px!important;
  max-height:54px!important;
  place-items:center!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  object-fit:cover!important;
  transform:translateX(-50%)!important;
}

html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(5) .footer-profile-name,
html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(5)>.footer-item>div{
  position:absolute!important;
  z-index:3!important;
  top:72px!important;
  left:50%!important;
  display:block!important;
  width:82px!important;
  max-width:82px!important;
  min-height:13px!important;
  margin:0!important;
  padding:0 2px!important;
  overflow:hidden!important;
  color:#fff!important;
  font-size:8px!important;
  font-weight:700!important;
  line-height:1.35!important;
  text-align:center!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  transform:translateX(-50%)!important;
}

@media (max-width:575.98px){
  html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel.bottom-panel{
    right:0!important;
    left:0!important;
    width:100%!important;
    max-width:100%!important;
    padding:30px 0 0!important;
  }

  html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel>.footer,
  html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel>.footer:hover{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 76px minmax(0,1fr) minmax(0,1fr)!important;
    gap:2px!important;
    padding-inline:3px!important;
  }

  html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(5),
  html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(5)>.footer-item{
    width:76px!important;
    min-width:76px!important;
    max-width:76px!important;
  }

  html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(5) .footer-profile-name,
  html body[data-site-theme="1"][data-wallet-style="3"] #bottomPanel .footer-link:nth-child(5)>.footer-item>div{
    width:74px!important;
    max-width:74px!important;
  }
}

/* Capsule header: brand and menu share the left rail; utilities stay at far right. */
@media (min-width:992px){
  body[data-menu-head-style="7"] #nav-original>.container-fluid{
    display:grid!important;
    grid-template-columns:max-content minmax(0,1fr) max-content!important;
    align-items:center!important;
    width:100%!important;
    max-width:none!important;
    gap:clamp(10px,1.4vw,22px)!important;
    padding-inline:clamp(14px,2vw,30px)!important;
  }

  body[data-menu-head-style="7"] #nav-original .navbar-brand{
    grid-column:1!important;
    justify-self:start!important;
    gap:9px!important;
    margin:0!important;
    white-space:nowrap!important;
  }

  body[data-menu-head-style="7"] #nav-original .site-brand-name{
    display:inline-flex!important;
    align-items:center!important;
    font-size:clamp(12px,1.1vw,16px)!important;
    line-height:1!important;
  }

  body[data-menu-head-style="7"] #nav-original #offcanvasDarkNavbar,
  body[data-menu-head-style="7"] #nav-original #offcanvasDarkNavbar>.offcanvas-body{
    display:contents!important;
  }

  body[data-menu-head-style="7"] #offcanvasDarkNavbar .desktop-menu{
    grid-column:2!important;
    justify-self:start!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
  }

  body[data-menu-head-style="7"] #nav-original :is(.desktop-member-actions,.desktop-guest-actions){
    grid-column:3!important;
    justify-self:end!important;
    align-self:center!important;
    flex-wrap:nowrap!important;
    width:max-content!important;
    max-width:none!important;
    margin:0!important;
  }
}

@media (max-width:991.98px){
  body[data-menu-head-style="7"] #offcanvasDarkNavbar>.offcanvas-header{
    justify-content:flex-start!important;
  }

  body[data-menu-head-style="7"] #offcanvasDarkNavbar .offcanvas-close-v21{
    order:-1!important;
    flex:0 0 36px!important;
    width:36px!important;
    height:36px!important;
    margin:0 9px 0 0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
  }

  body[data-menu-head-style="7"] #offcanvasDarkNavbar .offcanvas-close-v21:is(:hover,:focus,:active){
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:color-mix(in srgb,var(--main) 10%,transparent)!important;
  }
}

/* Capsule desktop header: keep the brand, primary links, and member controls
   on one horizontal rail. The offcanvas wrappers are flattened only at the
   desktop breakpoint so their contents can participate in this flex row. */
@media (min-width:992px){
  html body[data-site-theme="1"][data-menu-head-style="7"] #nav-original>.container-fluid{
    display:flex!important;
    flex-flow:row nowrap!important;
    justify-content:flex-start!important;
    align-items:center!important;
    gap:clamp(8px,1.2vw,18px)!important;
    width:calc(100% - 28px)!important;
    max-width:1380px!important;
    min-width:0!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #nav-original .mobile-nav-tools{
    display:none!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #nav-original .navbar-brand{
    flex:0 0 auto!important;
    margin:0!important;
    white-space:nowrap!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #nav-original #offcanvasDarkNavbar,
  html body[data-site-theme="1"][data-menu-head-style="7"] #nav-original #offcanvasDarkNavbar>.offcanvas-body{
    display:contents!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #nav-original #offcanvasDarkNavbar>.offcanvas-header{
    display:none!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #offcanvasDarkNavbar .desktop-menu{
    display:flex!important;
    flex:0 1 auto!important;
    justify-content:flex-start!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:4px!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #offcanvasDarkNavbar .desktop-menu>.nav-item{
    flex:0 1 auto!important;
    min-width:0!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #offcanvasDarkNavbar .desktop-menu>.nav-item>.nav-link{
    white-space:nowrap!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #nav-original :is(.desktop-member-actions,.desktop-guest-actions){
    display:flex!important;
    flex:0 0 auto!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    width:auto!important;
    max-width:none!important;
    margin:0 0 0 auto!important;
  }
}

@media (min-width:992px) and (max-width:1199.98px){
  html body[data-site-theme="1"][data-menu-head-style="7"] #nav-original>.container-fluid{
    gap:6px!important;
    padding-inline:10px!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #nav-original .navbar-brand img{
    height:36px!important;
    max-width:86px!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #nav-original .site-brand-name{
    font-size:12px!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #offcanvasDarkNavbar .desktop-menu{
    gap:0!important;
    padding:2px!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #offcanvasDarkNavbar .desktop-menu>.nav-item>.nav-link{
    min-height:34px!important;
    gap:4px!important;
    padding:6px 7px!important;
    font-size:10px!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #nav-original :is(.nav-search-icon,.nav-checkin-icon,.site-language-toggle){
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #nav-original .nav-balance-compact{
    min-height:36px!important;
    padding:3px 4px 3px 7px!important;
    gap:4px!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #nav-original .nav-balance-info{
    min-width:68px!important;
  }
  html body[data-site-theme="1"][data-menu-head-style="7"] #nav-original .member-profile-trigger.member-avatar-trigger{
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
  }
}
