:root {
  --tabbar-h: 56px;
}

html.has-tabbar body {
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b, env(safe-area-inset-bottom, 0px)));
}

.app-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(12, 12, 12, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.app-tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: #8a8a8a;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
}

.app-tabbar__item.is-on {
  color: #f22e52;
}

.app-tabbar__icon {
  width: 22px;
  height: 22px;
  display: block;
}

.app-tabbar__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.app-tabbar__label {
  line-height: 1.1;
  max-width: 92%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
