/* WHMFA mobile navigation — emerald glass, 2026-10-20.
   Presentation-only: leaves all Nexo actions, links, badge and JS active bubble intact. */
@media (max-width:1023px) {
  body .nx-bnav {
    width:min(448px,calc(100% - 26px));
    bottom:calc(11px + env(safe-area-inset-bottom));
    filter:drop-shadow(0 10px 17px rgba(3,25,30,.15));
  }
  body .nx-bnav__bar {
    isolation:isolate;
    height:76px;
    padding:7px 7px 8px;
    border:1px solid rgba(15,176,133,.47);
    border-radius:25px;
    background:
      radial-gradient(ellipse 85% 155% at 52% -85%,rgba(10,175,130,.24),transparent 90%),
      linear-gradient(138deg,rgba(7,36,43,.985),rgba(4,22,30,.985) 65%,rgba(4,31,36,.985));
    box-shadow:
      0 19px 36px -15px rgba(0,30,30,.52),
      0 5px 13px -5px rgba(1,19,26,.25),
      inset 0 1px rgba(194,255,227,.17),
      inset 0 -1px rgba(0,0,0,.25);
    -webkit-backdrop-filter:blur(20px) saturate(145%);
    backdrop-filter:blur(20px) saturate(145%);
  }
  body .nx-bnav__bar::before {
    content:"";
    position:absolute;
    inset:0 auto auto 15%;
    width:70%;
    height:1px;
    pointer-events:none;
    border-radius:50%;
    background:linear-gradient(90deg,transparent,rgba(53,255,185,.72),transparent);
  }
  body .nx-bnav__bubble {
    top:6px;
    bottom:6px;
    border-radius:18px;
    background:
      linear-gradient(157deg,rgba(10,174,125,.34),rgba(0,117,100,.25) 70%,rgba(6,130,101,.23));
    box-shadow:
      inset 0 0 0 1px rgba(82,248,189,.28),
      inset 0 1px rgba(167,255,217,.14),
      0 7px 15px -8px rgba(0,255,167,.27);
    pointer-events:none;
  }
  body .nx-bnav__item {
    min-width:0;
    height:100%;
    gap:4px;
    padding:5px 2px 3px;
    border-radius:18px;
    background:transparent;
    color:#a9c7cc;
    font-family:inherit;
    outline-offset:-2px;
    transition:color .22s ease,transform .22s ease;
  }
  body .nx-bnav__item .nx-bnav__icon {
    display:grid;
    place-items:center;
    width:32px;
    height:32px;
    min-height:32px;
    border-radius:12px;
    border:1px solid rgba(168,249,222,.075);
    background:rgba(255,255,255,.03);
    color:inherit;
    transition:transform .3s cubic-bezier(.2,.8,.2,1),background .25s ease,color .25s ease,box-shadow .25s ease;
  }
  body .nx-bnav__icon > .nx-icon {
    width:22px;
    height:22px;
    stroke-width:1.9;
    color:inherit;
  }
  body .nx-bnav__label,
  body .nx-bnav.has-labels .nx-bnav__label {
    position:static;
    display:block;
    width:auto;
    height:auto;
    clip:auto;
    clip-path:none;
    overflow:visible;
    white-space:nowrap;
    color:inherit;
    font-size:9.5px;
    font-weight:700;
    line-height:1.3;
    letter-spacing:0;
    opacity:.94;
  }
  body .nx-bnav.has-labels .nx-bnav__bar {
    height:76px;
  }
  body .nx-bnav__item:is(:hover,:focus-visible) {
    color:#e3fff4;
  }
  body .nx-bnav__item:is(:hover,:focus-visible) .nx-bnav__icon {
    background:rgba(4,166,128,.15);
    border-color:rgba(93,239,177,.26);
  }
  body .nx-bnav__item.is-active {
    color:#dffff0;
  }
  body .nx-bnav__item.is-active .nx-bnav__icon {
    transform:translateY(-1px);
    color:#fff;
    background:linear-gradient(145deg,#00d99c 0%,#05987e 100%);
    border-color:rgba(157,255,224,.43);
    box-shadow:0 7px 14px -7px rgba(0,234,162,.8),inset 0 1px rgba(255,255,255,.2);
  }
  body .nx-bnav__item.is-active .nx-bnav__icon > .nx-icon {
    color:#fff;
    filter:none;
    stroke-width:2.2;
  }
  body .nx-bnav__item.is-active .nx-bnav__label {
    color:#bdffe8;
    opacity:1;
    font-weight:850;
  }
  body .nx-bnav__item.is-active::after {
    content:"";
    position:absolute;
    bottom:2px;
    width:15px;
    height:2px;
    border-radius:10px;
    background:#2af7b5;
    box-shadow:0 0 9px rgba(11,234,155,.8);
  }
  body .nx-bnav__item.is-pressed .nx-bnav__icon {
    transform:scale(.91);
  }
  body .nx-bnav__item:focus-visible {
    outline:2px solid #75ffcc;
  }
  body .nx-bnav__icon .nx-avatar {
    width:25px;
    height:25px;
    object-fit:cover;
    border-radius:50%;
    box-shadow:0 0 0 1px rgba(216,255,244,.8);
  }
  body .nx-bnav__item.is-active .nx-bnav__icon .nx-avatar {
    box-shadow:0 0 0 2px #e4fff4,0 0 0 3px rgba(6,230,160,.36);
  }
  body .nx-bnav__icon .nx-count {
    top:-5px;
    inset-inline-end:-9px;
    border:2px solid #09262d;
    background:#ff4f70;
    color:#fff;
    box-shadow:0 2px 6px rgba(255,64,104,.3);
    font-size:10px;
    font-weight:800;
  }
  body .nx-bnav__icon .nx-count.is-empty {
    transform:scale(0);
  }
}
@media (max-width:360px) {
  body .nx-bnav {width:calc(100% - 18px);}
  body .nx-bnav__bar {height:73px;padding-inline:4px;}
  body .nx-bnav.has-labels .nx-bnav__bar {height:73px;}
  body .nx-bnav__item .nx-bnav__icon {width:30px;height:30px;min-height:30px;}
  body .nx-bnav__label {font-size:8.8px;}
}
@media (prefers-reduced-motion:reduce) {
  body .nx-bnav__bubble,body .nx-bnav__item,body .nx-bnav__item .nx-bnav__icon {
    transition:none!important;
  }
}
