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

.mobile-tabbar {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: var(--mobile-tabbar-height);
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 24px;
  border-top: .5px solid rgba(255, 255, 255, .1);
  background: #0e1012;
}

.mobile-tabbar > a {
  display: flex;
  min-width: 52px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  color: #989898;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 10px;
  line-height: 16px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

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

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

.mobile-tabbar__icon > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 350px) {
  .mobile-tabbar { padding-right: 12px; padding-left: 12px; }
}
