.app-bottom-frame {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
}

.app-navbar {
  display: flex;
  width: 100%;
  height: 88px;
  flex: 0 0 88px;
  align-items: flex-end;
  padding: 5px 5px 20px;
  border-top: 1px solid #383838;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, rgb(7 7 7 / 95%) 0%, #070707 100%);
  box-sizing: border-box;
}

.app-navbar--modules-first-time { display: none; }
html[data-navbar-variant="modules-first-time"] .app-navbar--modules { display: none; }
html[data-navbar-variant="modules-first-time"] .app-navbar--modules-first-time { display: flex; }

.app-navbar__item {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
}

.app-navbar__item:not(.is-active) { opacity: .4; }
.app-navbar__item.is-disabled { opacity: .24; pointer-events: none; }
.app-navbar[data-variant="home-first-time"] [data-nav-item="stats"],
.app-navbar[data-variant="modules-first-time"] [data-nav-item="stats"] { opacity: .14; }

.app-navbar[data-variant="home-first-time"] [data-nav-item="modules"]:not(.is-active),
.app-navbar[data-variant="modules-first-time"] [data-nav-item="home"]:not(.is-active) {
  animation: carix-first-time-nav-prompt 2s ease-in-out infinite;
}

@keyframes carix-first-time-nav-prompt {
  0%, 100% { opacity: .4; }
  50% { opacity: .8; }
}
.app-navbar__icon {
  display: block;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  object-fit: contain;
  background: transparent;
}
.app-navbar__label {
  display: inline-flex;
  width: fit-content;
  height: fit-content;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-family: "Aeonik", Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .22px;
  white-space: nowrap;
}

.app-navbar__label[data-notification-state="notify"] {
  padding-left: 4px;
}

.app-navbar__label[data-notification-state="notify"]::after {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: #e500ff;
  content: "";
}

html.is-android .app-navbar {
  height: auto;
  flex-basis: auto;
  padding-bottom: 5px;
}

@media (prefers-reduced-motion: reduce) {
  .app-navbar[data-variant="home-first-time"] [data-nav-item="modules"]:not(.is-active),
  .app-navbar[data-variant="modules-first-time"] [data-nav-item="home"]:not(.is-active) {
    animation: none;
    opacity: .4;
  }
}
