:root {
  --mobile-tabbar-height: 60px;
  --mobile-tabbar-bottom: max(21px, env(safe-area-inset-bottom, 0px));
}

.mobile-tabbar {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  height: calc(var(--mobile-tabbar-height) + var(--mobile-tabbar-bottom));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 7px 16px calc(7px + var(--mobile-tabbar-bottom));
  border: 0;
  border-radius: 0;
  background: #0d1012;
}

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

.mobile-tabbar > a.is-active { color: var(--wydsp-accent, #fd2d55); }
.mobile-tabbar > a:focus-visible { outline: 2px solid var(--wydsp-accent, #fd2d55); outline-offset: 2px; }

.mobile-tabbar__icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: none;
  place-items: center;
}

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