/* 自定义 tabBar — 统一底部导航样式 */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  height: 100rpx;
  background: #ffffff;
  border-top: 1rpx solid #eeeeee;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 999;
}

/* 3 按钮：等宽三分 */
.tab-bar--3 .tab-bar-item {
  flex: 1;
}

/* 2 按钮：各占一半，内容居中 */
.tab-bar--2 .tab-bar-item {
  width: 50%;
  flex: none;
}

.tab-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4rpx;
  height: 100%;
}

.tab-bar-icon {
  width: 44rpx;
  height: 44rpx;
}

.tab-bar-label {
  font-size: 20rpx;
  color: #8b8b8b;
}

.tab-bar-item--active .tab-bar-label {
  color: #0052d9;
  font-weight: 500;
}
