:host {
  --tab-bar-height: 104rpx;
}

button::after {
  content: '';
  border: none;
}

.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
  height: var(--tab-bar-height);
  width: 100vw;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  box-sizing: content-box;
  background-color: #fff;
}

.tab-bar-bg {
  position: absolute;
  left: 0;
  bottom: constant(safe-area-inset-bottom);
  bottom: env(safe-area-inset-bottom);
  width: 100%;
}

.tab-bar-login {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}

.tab-bar-main {
  height: var(--tab-bar-height);
  width: 100vw;
  display: flex;
  align-items: center;
}

.tab-bar-hidden {
  opacity: 0;
  pointer-events: none;
}

.tab-bar-item {
  flex: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
}

.tab-bar-item .image {
  width: 48rpx;
  height: 48rpx;
  margin-bottom: 8rpx;
}

.tab-bar-item .image-big {
  position: absolute;
  left: 50%;
  bottom: 24rpx;
  transform: translateX(-50%);
  width: 110rpx;
  height: 110rpx;
}

.tab-bar-item .text {
  font-size: 20rpx;
  font-weight: 400;
  color: #646E7E;
}

.tab-bar-item .selected-color {
  color: #347DFF;
  font-weight: 500;
}

.tab-bar-charge {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 98;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, #000000 100%);
  transition: all 0.3;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-sizing: content-box;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}

.tab-bar-charge>view {
  display: flex;
  align-items: center;
  padding-bottom: 206rpx;
  box-sizing: border-box;
}

.tab-bar-charge_menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.tab-bar-charge_menu--text {
  font-size: 28rpx;
  color: #fff;
  margin-top: 16rpx;
}