@charset "UTF-8";

.primary-tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100vw, 430px);
  height: 64px;
  padding: 5px 10px calc(5px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(209, 222, 242, 0.86);
  box-shadow: 0 -6px 18px rgba(27, 77, 142, 0.07);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.primary-tabbar button {
  appearance: none;
  display: flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  padding: 1px 0 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #738198;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.primary-tabbar button:active {
  background: rgba(22, 112, 245, 0.08);
  transform: translateY(1px);
}

.primary-tabbar svg {
  width: 23px;
  height: 23px;
  display: block;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.primary-tabbar .active {
  color: #1676ff;
  font-weight: 750;
}

.primary-tabbar .active svg {
  stroke: #1676ff;
}

.primary-tabbar .tab-icon-fill {
  fill: rgba(22, 118, 255, 0.12);
  stroke: currentColor;
}

.primary-tabbar .active .tab-icon-fill {
  fill: rgba(22, 118, 255, 0.18);
}

.has-primary-tabbar .page-scroll {
  padding-bottom: 88px !important;
}

.has-primary-tabbar .service-scroll {
  padding-bottom: 92px !important;
}

.primary-tabbar + .home-indicator,
.service-page > .home-indicator {
  display: none !important;
}

@media (max-width: 390px) {
  .primary-tabbar {
    height: 62px;
    padding-inline: 8px;
  }

  .primary-tabbar button {
    min-height: 45px;
    font-size: 11.25px;
  }

  .primary-tabbar svg {
    width: 22px;
    height: 22px;
  }
}
