
/* ── MOBILE APP-STYLE BOTTOM NAV ── */
.bottom-tab-bar{display:none}
@media(max-width:768px){
  .tracker-tabs{display:none !important}
  .tracker-page,.page{padding-bottom:90px !important}

  .bottom-tab-bar{
    display:flex;position:fixed;bottom:0;left:0;right:0;z-index:200;
    background:#0d1c33;
    border-top:1px solid rgba(255,255,255,.08);
    padding:6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow:0 -4px 20px rgba(10,22,40,.15);
    transform:translateZ(0);
    -webkit-transform:translateZ(0);
    will-change:transform;
    backface-visibility:hidden;
  }
  .bt-item{
    flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:3px;padding:6px 2px;text-decoration:none;color:rgba(255,255,255,.45);
    transition:color .2s;position:relative;border-radius:10px;
  }
  .bt-item.active{color:var(--gold,#e8a020)}
  .bt-item.active::before{
    content:'';position:absolute;top:-6px;left:50%;transform:translateX(-50%);
    width:4px;height:4px;border-radius:50%;background:var(--gold,#e8a020);
  }
  .bt-icon{font-size:19px;line-height:1}
  .bt-icon svg{width:21px;height:21px}
  .bt-label{font-size:9.5px;font-weight:600;letter-spacing:.01em}

  /* Center FAB-style Scan button */
  .bt-item.bt-fab{margin-top:-18px}
  .bt-fab-circle{
    width:46px;height:46px;border-radius:50%;
    background:linear-gradient(135deg,var(--teal,#00b896),#009e7f);
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 4px 14px rgba(0,184,150,.45);margin-bottom:2px;
    border:3px solid var(--navy,#0a1628);
  }
  .bt-fab-circle svg{width:20px;height:20px;color:#fff}
  .bt-item.bt-fab .bt-label{color:rgba(255,255,255,.5)}
  .bt-item.bt-fab.active .bt-label{color:var(--teal2,#00d4ab)}

  /* More sheet */
  .bt-more-overlay{
    display:none;position:fixed;inset:0;background:rgba(10,22,40,.6);
    backdrop-filter:blur(2px);z-index:300;
  }
  .bt-more-overlay.show{display:block}
  .bt-more-sheet{
    position:fixed;bottom:0;left:0;right:0;background:#fff;
    border-radius:20px 20px 0 0;padding:8px 8px calc(20px + env(safe-area-inset-bottom));
    z-index:301;transform:translateY(100%);transition:transform .3s cubic-bezier(.32,.72,0,1);
    max-height:70vh;overflow-y:auto;
  }
  .bt-more-overlay.show .bt-more-sheet{transform:translateY(0)}
  .bt-more-handle{width:36px;height:4px;background:#e8ebf3;border-radius:2px;margin:8px auto 14px}
  .bt-more-title{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#9aa3b8;padding:0 16px 10px}
  .bt-more-link{
    display:flex;align-items:center;gap:14px;padding:13px 16px;text-decoration:none;
    color:#1a2942;border-radius:12px;transition:background .15s;
  }
  .bt-more-link:active{background:#f4f6fb}
  .bt-more-link.active{background:#f0fefa;color:#00b896}
  .bt-more-icon{width:36px;height:36px;background:#f4f6fb;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:17px;flex-shrink:0}
  .bt-more-link.active .bt-more-icon{background:#d9faf0}
  .bt-more-text{font-size:14px;font-weight:600}
  .bt-more-sub{font-size:11.5px;color:#9aa3b8;font-weight:400;margin-top:1px}
}
