/* 手機底部導覽列（統一稿 v3 共用模塊）
   用在：前台首頁與帳號子頁、團員專區、團長專區。只在 760px 以下出現，最多 5 格。
   有底部列的頁面（body.has-tabbar），手機版頂列不再放橫滑導覽，只留 logo 與語言。
   .go＝主要動作（前台「申请」、團員「開帳號」），用首頁主按鈕同一道漸層；一頁最多一個。 */
.tabbar{display:none}
@media (max-width:760px){
  .tabbar{position:fixed;left:0;right:0;bottom:0;z-index:55;display:grid;grid-template-columns:repeat(var(--n,5),minmax(0,1fr));padding:4px 6px calc(4px + env(safe-area-inset-bottom));background:rgba(255,255,255,.95);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid #E3E4F1;box-shadow:0 -10px 28px -18px rgba(26,33,80,.35)}
  .tabbar a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:2px;min-height:56px;padding:4px 2px 5px;text-decoration:none;color:#686E96;font:700 11.5px/1.2 "Manrope","PingFang SC","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC",system-ui,sans-serif;-webkit-tap-highlight-color:transparent}
  .tabbar .ic{display:grid;place-items:center;width:48px;height:30px;border-radius:999px}
  .tabbar svg{width:23px;height:23px}
  .tabbar a[aria-current="page"]{color:#C2401D}
  .tabbar a[aria-current="page"] .ic{background:linear-gradient(120deg,#FFE7DC,#F1E4FF)}
  .tabbar a.go{color:#1A2150}
  .tabbar a.go .ic{width:50px;height:50px;margin-top:-22px;margin-bottom:1px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#ff7a5e,#a55eea);box-shadow:0 0 0 5px #fff,0 10px 20px -6px rgba(165,94,234,.6)}
  .tabbar a.go svg{width:25px;height:25px}
  .tabbar .dot{position:absolute;top:3px;left:calc(50% + 6px);min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#F2603F;color:#fff;font-size:11px;line-height:18px;text-align:center;box-shadow:0 0 0 2px #fff}
  body.has-tabbar{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  body.has-tabbar .site-top nav,body.has-tabbar .side nav{display:none}
  body.has-tabbar .switcher{bottom:calc(80px + env(safe-area-inset-bottom))}
  body.no-tabbar .tabbar{display:none}
  body.no-tabbar{padding-bottom:0}
}
