.footer-mobile {
  display: none;
}

@media screen and (max-width: 1023px) {
  .footer-mobile {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #000;
    padding: 0 env(safe-area-inset-left, 12px) 0 env(safe-area-inset-right, 12px);
    -webkit-tap-highlight-color: transparent;
  }
}

.footer-mobile-nav {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-around;
  padding: 8px 0 max(8px, env(safe-area-inset-bottom, 8px));
}

.footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-shrink: 0;
  gap: 3px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  padding: 6px 0;
  min-height: 44px;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.footer-item svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  color: #fff;
  display: block;
}

.footer-item span {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  display: block;
}

.footer-item.active svg,
.footer-item.active .footer-icon-wrap,
.footer-item.active span:not(.footer-badge) {
  color: #FFB800;
}

.footer-item {
  position: relative;
  overflow: visible;
}

.footer-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #ff0000;
  color: #fff !important;
  font-size: 10px;
  font-weight: bold;
  min-width: 16px;
  height: 16px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 4px;
  line-height: 1;
  pointer-events: none;
}
