/* LINEPORTAL v374 — guest mobile header spacing, centered hero image, two upcoming tournaments */
@media (max-width:760px){
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden])){
    position:relative!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 44px!important;
    grid-template-rows:44px auto!important;
    align-items:center!important;
    justify-content:stretch!important;
    column-gap:8px!important;
    row-gap:9px!important;
    height:auto!important;
    min-height:0!important;
    padding:9px 0 10px!important;
    box-sizing:border-box!important;
  }
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden]))>.spacer,
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden]))>#lpNotificationWrap,
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden]))>#accountMenuWrap{
    display:none!important;
  }
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden]))>.logo{
    position:relative!important;
    inset:auto!important;
    left:auto!important;
    top:auto!important;
    transform:none!important;
    grid-column:1!important;
    grid-row:1!important;
    justify-self:center!important;
    align-self:center!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
    width:max-content!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    font-size:clamp(18px,5.2vw,22px)!important;
    line-height:1!important;
    letter-spacing:-.9px!important;
    white-space:nowrap!important;
    z-index:2!important;
  }
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden]))>.logo .lp-brand-mark{
    width:39px!important;
    height:34px!important;
    max-width:39px!important;
    object-fit:contain!important;
    margin:0 7px 0 0!important;
    flex:0 0 39px!important;
  }
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden]))>.mobile-menu{
    position:relative!important;
    inset:auto!important;
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
    align-self:center!important;
    display:grid!important;
    place-items:center!important;
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    min-height:40px!important;
    margin:0!important;
    padding:0!important;
    z-index:3!important;
  }
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden]))>#authGuestActions{
    position:relative!important;
    grid-column:1/-1!important;
    grid-row:2!important;
    display:flex!important;
    flex:initial!important;
    width:100%!important;
    min-width:0!important;
    align-items:stretch!important;
    justify-content:center!important;
    gap:9px!important;
    margin:0!important;
    padding:0!important;
    white-space:normal!important;
    z-index:2!important;
  }
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden]))>#authGuestActions #accountBtn,
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden]))>#authGuestActions #registerBtn{
    display:flex!important;
    flex:1 1 0!important;
    width:50%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:42px!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:8px 10px!important;
    border-radius:11px!important;
    font-size:13px!important;
    line-height:1.15!important;
    font-weight:750!important;
    white-space:nowrap!important;
    text-align:center!important;
  }
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden]))>#nav.navlinks.mobile{
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:calc(100% + 5px)!important;
    width:auto!important;
    margin:0!important;
    z-index:10050!important;
  }
  /* Keep the ball centered in the full mobile hero-art viewport. */
  .lp-home-hero-art{
    position:relative!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    justify-self:stretch!important;
    overflow:hidden!important;
  }
  .lp-home-hero-photo{
    left:0!important;
    right:0!important;
    top:0!important;
    bottom:0!important;
    width:100%!important;
    height:100%!important;
    background-size:contain!important;
    background-position:50% 50%!important;
    background-repeat:no-repeat!important;
    mask-image:none!important;
  }
}
@media(max-width:370px){
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden]))>#authGuestActions{gap:7px!important}
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden]))>#authGuestActions #accountBtn,
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden]))>#authGuestActions #registerBtn{font-size:12px!important;padding:7px 6px!important}
  header>.container.nav:has(>#authGuestActions.auth-guest-actions:not([hidden]))>.logo{font-size:18px!important;letter-spacing:-.8px!important}
}
