:root {
  --mobile-tabbar-height: 60px;
}

.mobile-tabbar {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: calc(var(--mobile-tabbar-height) + env(safe-area-inset-bottom, 0px));
  align-items: center;
  padding: 7px 16px calc(7px + env(safe-area-inset-bottom, 0px));
  background: #0d1012;
}

.mobile-tabbar > a {
  display: flex;
  height: 46px;
  min-width: 0;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
  color: #92969f;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.mobile-tabbar > a.is-active { color: #ffc000; }

.mobile-tabbar > a:focus-visible {
  border-radius: 4px;
  outline: 2px solid #ffc000;
  outline-offset: -2px;
}

.mobile-tabbar__icon {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  flex: none;
}

.mobile-tabbar__icon > img {
  display: block;
  width: 26px;
  height: 26px;
}

.mobile-tabbar__icon-active,
.mobile-tabbar > a.is-active .mobile-tabbar__icon-default { display: none !important; }
.mobile-tabbar > a.is-active .mobile-tabbar__icon-active { display: block !important; }
