/* ========== 底部栏外观 ========== */
.tab-bar-capsule {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #8e8e93;
  border-radius: 20px;
  height: 64px;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  overflow: visible;
}

/* 💡 和个人卡片完全一致的纯净毛玻璃（彻底去除 180% 增艳杂质，还原自然透光） */
.tab-bar-capsule.glass-effect {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.tab-item { 
  display: flex; 
  align-items: center; 
  justify-content: center;
  cursor: pointer; 
  padding: 0 12px;
  height: 100%;
  -webkit-user-select: none; 
  user-select: none;
}
.tab-item:active { opacity: .5; }

.tab-icon { 
  width: 32px; 
  height: 32px; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  overflow: visible;
  position: relative;
  flex-shrink: 0;
}
.tab-icon svg { 
  width: 25px; 
  height: 25px; 
  stroke: #8e8e93; 
  stroke-width: 1.5; 
  fill: none; 
  stroke-linecap: round; 
  stroke-linejoin: round; 
  transition: stroke .15s ease; 
}

/* 💡 有自定义图片时，SVG 必须彻底让位消失 */
.tab-icon.has-custom-icon svg {
  display: none !important;
}

.tab-item.active .tab-icon svg { stroke: #1c1c1e; }