/* ==========================================================================
   HONEY 5-Tab 底部导航
   顺序: 发现 / 动态 / 首页 / 消息 / 我的
   ========================================================================== */

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  height: calc(var(--tabbar-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  display: flex;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(236, 231, 221, 0.6);
  box-shadow: 0 -2px 20px rgba(20, 20, 20, .04);
}
.tabbar-inner {
  width: 100%; max-width: 480px; margin: 0 auto;
  display: flex; align-items: stretch; justify-content: space-around;
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; color: var(--ink-3); position: relative; padding: 6px 0;
  transition: color .2s;
}
.tabbar a .ico { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; position: relative; }
.tabbar a .ico svg { width: 22px; height: 22px; fill: currentColor; }
.tabbar a .label { font-size: 10px; line-height: 1; letter-spacing: 0.02em; }
.tabbar a.active { color: var(--c-pink-d); }
.tabbar a.active .ico { color: var(--c-pink); }
.tabbar a.active .label { font-weight: 600; }

/* 中间"首页"特别样式 - 突出 */
.tabbar a.tab-home .ico {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  margin-top: -14px;
  box-shadow: var(--sh-glow);
  border: 3px solid var(--bg);
}
.tabbar a.tab-home .ico svg { width: 22px; height: 22px; fill: #fff; }
.tabbar a.tab-home.active .ico { transform: scale(1.05); }
.tabbar a.tab-home .label { color: var(--ink-2); font-weight: 600; }

/* 红点 / 数字徽章 */
.tabbar a .badge {
  position: absolute; top: 0; right: -2px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--c-danger); color: #fff;
  font-size: 9px; line-height: 16px; text-align: center;
  font-weight: 600; font-family: var(--f-num);
}
.tabbar a.tab-home .badge { top: 4px; right: 4px; }

/* 红点(无数字) */
.tabbar a .dot-notify {
  position: absolute; top: 2px; right: 4px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-danger);
  border: 2px solid var(--bg);
}
