/* Text-only mobile header controls 20260911 */
@media(max-width:600px){
  body.home-signed-in .compact-member-nav .nav-user,
  html body.home-signed-in.home-admin-enabled .compact-member-nav .nav-user{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    column-gap:4px!important;
    row-gap:4px!important;
    padding-inline:4px!important;
  }

  body.home-signed-in .compact-member-nav .mobile-dashboard-link,
  body.home-signed-in .compact-member-nav .header-notification-host,
  body.home-signed-in .compact-member-nav .nav-logout,
  html body.home-signed-in.home-admin-enabled .compact-member-nav .home-admin-link,
  body.home-signed-in .compact-member-nav .site-notification-bell{
    box-sizing:border-box!important;
    min-width:0!important;
    max-width:none!important;
    height:48px!important;
    min-height:48px!important;
    margin:0!important;
  }

  body.home-signed-in .compact-member-nav .mobile-dashboard-link,
  body.home-signed-in .compact-member-nav .nav-logout,
  html body.home-signed-in.home-admin-enabled .compact-member-nav .home-admin-link,
  body.home-signed-in .compact-member-nav .site-notification-bell{
    width:100%!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
    padding:0 4px!important;
    border:var(--mobile-frame-border)!important;
    border-radius:14px!important;
    background:var(--mobile-frame-bg)!important;
    box-shadow:var(--mobile-frame-shadow)!important;
    color:var(--hero-cream)!important;
    font-family:Arial,sans-serif!important;
    font-size:14px!important;
    font-weight:800!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-align:center!important;
  }

  body.home-signed-in .compact-member-nav .header-tile-icon{display:none!important}

  body.home-signed-in .compact-member-nav .header-tile-label{
    display:inline-block!important;
    flex:0 1 auto!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    color:var(--hero-cream)!important;
    font-family:Arial,sans-serif!important;
    font-size:14px!important;
    font-weight:800!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }

  body.home-signed-in .compact-member-nav .site-notification-bell::before,
  body.home-signed-in .compact-member-nav .site-notification-bell::after{
    content:none!important;
    display:none!important;
  }

  /* Beat older !important icon rules with higher specificity. */
  html body.home-signed-in .compact-member-nav .mobile-dashboard-link .header-tile-icon,
  html body.home-signed-in .compact-member-nav .site-notification-bell .header-tile-icon,
  html body.home-signed-in.home-admin-enabled .compact-member-nav .home-admin-link .header-tile-icon{
    display:none!important;
    width:0!important;
    height:0!important;
    flex:0 0 0!important;
    margin:0!important;
  }

  html body.home-signed-in .compact-member-nav .site-notification-bell::before,
  html body.home-signed-in .compact-member-nav .site-notification-bell::after{
    content:none!important;
    display:none!important;
  }

  body.home-signed-in .compact-member-nav .site-notification-badge{
    box-sizing:border-box!important;
    z-index:2!important;
  }
}

/* Final mobile header inter-control gap 4px */
@media(max-width:600px){
  html body.home-signed-in .compact-member-nav .nav-user,
  html body.home-signed-in.home-admin-enabled .compact-member-nav .nav-user{
    gap:4px!important;
    column-gap:4px!important;
    row-gap:4px!important;
  }
}

/* Mobile signed-in universal 4px spacing 20260911 */
@media(max-width:600px){
  html body.home-signed-in{
    --mobile-gap:4px;
  }

  html body.home-signed-in .home-header .compact-member-nav{
    width:calc(100% - 8px)!important;
    padding-block:var(--mobile-gap)!important;
    gap:var(--mobile-gap)!important;
  }

  html body.home-signed-in .compact-member-nav .nav-user,
  html body.home-signed-in.home-admin-enabled .compact-member-nav .nav-user{
    gap:var(--mobile-gap)!important;
    column-gap:var(--mobile-gap)!important;
    row-gap:var(--mobile-gap)!important;
    padding-inline:0!important;
  }

  html body.home-signed-in .home-hero{
    padding:var(--mobile-gap) 0!important;
  }

  html body.home-signed-in .home-hero>.wrap,
  html body.home-signed-in #ranking>.wrap{
    width:calc(100% - 8px)!important;
    margin-inline:auto!important;
  }

  html body.home-signed-in .home-hero h1{
    margin:var(--mobile-gap) 0!important;
  }

  html body.home-signed-in .home-hero p{
    margin:0 0 var(--mobile-gap)!important;
  }

  html body.home-signed-in .hero-live-stats{
    gap:var(--mobile-gap)!important;
    margin-bottom:var(--mobile-gap)!important;
  }

  html body.home-signed-in .home-hero .home-board-actions{
    gap:var(--mobile-gap)!important;
    row-gap:var(--mobile-gap)!important;
    column-gap:var(--mobile-gap)!important;
    margin-bottom:var(--mobile-gap)!important;
  }

  html body.home-signed-in #ranking{
    padding:var(--mobile-gap)!important;
  }

  html body.home-signed-in #ranking .head{
    gap:var(--mobile-gap)!important;
    padding:var(--mobile-gap)!important;
  }

  html body.home-signed-in #ranking .ranking-filters{
    gap:var(--mobile-gap)!important;
    row-gap:var(--mobile-gap)!important;
    column-gap:var(--mobile-gap)!important;
  }
}

/* Final equal mobile header tiles and ranking width 20260911 */
@media(max-width:600px){
  html body.home-signed-in .compact-member-nav .mobile-dashboard-link,
  html body.home-signed-in.home-admin-enabled .compact-member-nav .home-admin-link,
  html body.home-signed-in .compact-member-nav .header-notification-host,
  html body.home-signed-in .compact-member-nav .nav-logout{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:48px!important;
    min-height:48px!important;
    margin:0!important;
    padding:0 4px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:var(--mobile-frame-border)!important;
    border-radius:14px!important;
    background:var(--mobile-frame-bg)!important;
    box-shadow:var(--mobile-frame-shadow)!important;
    color:var(--hero-cream)!important;
    font-family:Arial,sans-serif!important;
    font-size:14px!important;
    font-weight:800!important;
    line-height:1!important;
    text-align:center!important;
    white-space:nowrap!important;
  }

  html body.home-signed-in .compact-member-nav .header-notification-host{
    padding:0!important;
  }

  html body.home-signed-in .compact-member-nav .header-notification-host .site-notification-bell{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0 4px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    box-shadow:none!important;
    color:inherit!important;
    font:inherit!important;
  }

  html body.home-signed-in #ranking{padding:0 0 var(--mobile-gap)!important}
  html body.home-signed-in #ranking>.wrap{width:calc(100% - 8px)!important}
  html body.home-signed-in #ranking>.wrap{margin-inline:auto!important}
}

/* Final mobile hero-to-ranking gap 4px 20260911 */
@media(max-width:600px){
  html body.home-signed-in .home-hero .home-board-actions{margin-bottom:0!important}
}

/* Home header cleanup 20260914 */
#headerMember{display:none!important}

@media(min-width:901px){
  html body.home-signed-in .compact-member-nav .dashboard-link .header-tile-icon,
  html body.home-signed-in .compact-member-nav .home-admin-link .header-tile-icon,
  html body.home-signed-in .compact-member-nav .site-notification-bell .header-tile-icon{
    width:22px!important;
    height:22px!important;
    flex:0 0 22px!important;
    display:inline-grid!important;
    place-items:center!important;
    color:var(--hero-gold)!important;
    font-size:16px!important;
    line-height:1!important;
  }

  html body.home-signed-in .compact-member-nav .header-tile-svg{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    max-width:22px!important;
    display:block!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:2!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
    overflow:visible!important;
  }
}

/* Desktop notification tile alignment 20260914 */
@media(min-width:901px){
  html body.home-signed-in .compact-member-nav .header-notification-host{
    height:52px!important;
    min-height:52px!important;
    display:inline-flex!important;
    align-items:center!important;
  }

  html body.home-signed-in .compact-member-nav .header-notification-host .site-notification-bell{
    width:auto!important;
    min-width:118px!important;
    height:52px!important;
    min-height:52px!important;
    margin:0!important;
    padding:0 12px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    border:1px solid var(--hero-line)!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.035)!important;
    color:var(--hero-cream)!important;
    font:800 12px Arial,sans-serif!important;
    line-height:1!important;
    white-space:nowrap!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important;
  }

  html body.home-signed-in .compact-member-nav .header-notification-host .site-notification-bell .header-tile-icon{
    width:22px!important;
    height:22px!important;
    flex:0 0 22px!important;
    display:inline-grid!important;
    place-items:center!important;
    color:var(--hero-gold)!important;
  }

  html body.home-signed-in .compact-member-nav .header-notification-host .site-notification-bell .header-tile-label{
    display:inline-block!important;
    margin:0!important;
    color:var(--hero-cream)!important;
    font:800 12px/1 Arial,sans-serif!important;
  }
}

/* Desktop member identity and ticker polish 20260914 */
@media(min-width:901px){
  html body.home-signed-in .compact-member-nav #headerMember:not([hidden]){
    display:flex!important;
    order:1!important;
    flex:0 0 auto!important;
    align-items:center!important;
  }

  html body.home-signed-in .compact-member-nav #headerMember .header-member-link.header-tile{
    min-width:198px!important;
    max-width:250px!important;
    height:52px!important;
    min-height:52px!important;
    padding:4px 10px!important;
    gap:10px!important;
    justify-content:flex-start!important;
  }

  html body.home-signed-in .compact-member-nav #headerMember .header-member-avatar-wrap,
  html body.home-signed-in .compact-member-nav #headerMember .header-member-avatar{
    width:42px!important;
    height:42px!important;
    flex:0 0 42px!important;
  }

  html body.home-signed-in .compact-member-nav #headerMember .header-member-avatar{
    border-radius:6px!important;
    object-fit:cover!important;
  }

  html body.home-signed-in .compact-member-nav #headerMember .header-member-fallback{
    border-radius:6px!important;
  }

  html body.home-signed-in .compact-member-nav #headerMember .header-member-copy{
    min-width:0!important;
    align-items:flex-start!important;
    text-align:right!important;
  }

  html body.home-signed-in .compact-member-nav #headerMember .header-member-copy strong{
    max-width:170px!important;
    font-size:13px!important;
    line-height:1.15!important;
  }

  html body.home-signed-in .compact-member-nav #headerMember .header-member-points{
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    margin-top:4px!important;
  }
}

@media(max-width:900px){
  #headerMember{display:none!important}
}

#welcomeTicker .welcome-ticker-label,
#tournamentResultsTicker .welcome-ticker-label{
  min-width:118px!important;
  width:118px!important;
  justify-content:center!important;
  padding:0 12px!important;
  border-left:1px solid rgba(216,182,101,.52)!important;
  background:linear-gradient(180deg,rgba(216,182,101,.13),rgba(13,59,57,.96))!important;
  color:var(--hero-gold-2)!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1!important;
  text-align:center!important;
  box-shadow:-7px 0 16px rgba(0,0,0,.14)!important;
}

#welcomeTicker .welcome-ticker-track,
#tournamentResultsTicker .welcome-ticker-track{
  animation-duration:38s!important;
}

@media(max-width:800px){
  #welcomeTicker .welcome-ticker-label,
  #tournamentResultsTicker .welcome-ticker-label{
    min-width:94px!important;
    width:94px!important;
    padding:0 8px!important;
    font-size:10px!important;
  }
}
