/* MHQ MLBB Lab v8 — centered icon navigation + global back-to-top */
@media (min-width:1101px){
  .mlbb-data-site .mlab-header-main{
    display:grid!important;
    grid-template-columns:150px minmax(0,1fr) 220px!important;
    align-items:center!important;
    column-gap:18px!important;
  }
  .mlbb-data-site .mlab-desktop-nav{
    width:max-content!important;
    max-width:100%!important;
    margin:0 auto!important;
    justify-self:center!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:clamp(8px,1vw,15px)!important;
  }
  .mlbb-data-site .mlab-desktop-nav a{
    min-width:0!important;
    height:48px!important;
    display:inline-flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    padding:5px 7px!important;
    border-radius:7px!important;
    line-height:1!important;
    text-align:center!important;
  }
  .mlbb-data-site .mlab-desktop-nav a svg{
    display:block!important;
    width:16px!important;
    height:16px!important;
    flex:0 0 16px!important;
    color:#5f819f!important;
    transition:color .15s ease,transform .15s ease!important;
  }
  .mlbb-data-site .mlab-desktop-nav a span{
    display:block!important;
    white-space:nowrap!important;
    font-size:.66rem!important;
    font-weight:700!important;
    color:inherit!important;
  }
  .mlbb-data-site .mlab-desktop-nav a:hover svg{
    color:#73d9ff!important;
    transform:translateY(-1px)!important;
  }
  .mlbb-data-site .mlab-desktop-nav a[aria-current=page] svg{
    color:#ffd34d!important;
  }
  .mlbb-data-site .mlab-header-actions{
    width:220px!important;
    justify-self:end!important;
    justify-content:flex-end!important;
  }
}
@media (min-width:1101px) and (max-width:1320px){
  .mlbb-data-site .mlab-header-main{grid-template-columns:132px minmax(0,1fr) 190px!important;column-gap:10px!important}
  .mlbb-data-site .mlab-desktop-nav{gap:5px!important}
  .mlbb-data-site .mlab-desktop-nav a{padding-left:4px!important;padding-right:4px!important}
  .mlbb-data-site .mlab-desktop-nav a span{font-size:.6rem!important}
  .mlbb-data-site .mlab-header-actions{width:190px!important}
}
/* Keep the floating back-to-top available on every /mlbb page. */
.mlbb-data-site .mlbb-back-top{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(18px,calc(env(safe-area-inset-bottom) + 12px));z-index:140;display:flex;align-items:center;gap:8px;min-width:48px;height:48px;padding:0 13px;border:1px solid #3b6386;border-radius:9px;background:#0b1d2eef;color:#ddecf7;box-shadow:0 14px 36px #0008;backdrop-filter:blur(10px);opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .18s ease,transform .18s ease,border-color .18s ease,background .18s ease}
.mlbb-data-site .mlbb-back-top.is-visible{opacity:1;transform:none;pointer-events:auto}
.mlbb-data-site .mlbb-back-top:hover{border-color:#56cfff;background:#102941}
.mlbb-data-site .mlbb-back-top b{display:grid;place-items:center;width:22px;height:22px;border-radius:4px;background:#12304a;color:#62d7ff;font-size:1rem;line-height:1}
.mlbb-data-site .mlbb-back-top span{font-size:.54rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
@media(max-width:560px){.mlbb-data-site .mlbb-back-top{width:46px;min-width:46px;height:46px;padding:0;justify-content:center}.mlbb-data-site .mlbb-back-top span{display:none}}
@media(prefers-reduced-motion:reduce){.mlbb-data-site .mlab-desktop-nav a svg,.mlbb-data-site .mlbb-back-top{transition:none!important}}