.ij-mobile-bottom-nav {
  --ij-mobile-nav-height: 104px;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 950;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

@media (min-width: 782px) {
  .ij-mobile-bottom-nav {
    display: none;
  }
}

.ij-mobile-bottom-nav__bar {
  max-width: 520px;
  margin: 0 auto;
  padding: 0.5rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 60px rgba(2, 6, 23, 0.22);
  backdrop-filter: saturate(180%) blur(16px);
  pointer-events: auto;
}

.ij-mobile-bottom-nav__items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
}

.ij-mobile-bottom-nav__link {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.6rem 0.35rem;
  border-radius: 18px;
  text-decoration: none;
  color: rgba(71, 85, 105, 0.95);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
  min-width: 0;
}

.ij-mobile-bottom-nav__link i {
  font-size: 1.35rem;
  line-height: 1;
}

.ij-mobile-bottom-nav__label {
  font-size: clamp(0.64rem, 2.8vw, 0.75rem);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 360px) {
  .ij-mobile-bottom-nav__link[data-ij-key="register"] .ij-mobile-bottom-nav__label {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    text-align: center;
  }
}

.ij-mobile-bottom-nav__link {
  font-weight: 400;
}

.ij-mobile-bottom-nav__link:hover {
  background: rgba(30, 100, 255, 0.08);
  color: rgba(30, 100, 255, 0.95);
}

.ij-mobile-bottom-nav__link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.22);
}

.ij-mobile-bottom-nav__link.is-active {
  background: rgba(79, 70, 229, 0.12);
  color: rgba(79, 70, 229, 0.98);
}

@media (max-width: 781px) {
  .site-main {
    padding-bottom: calc(var(--ij-mobile-nav-height) + env(safe-area-inset-bottom, 0px));
  }

  .ij-back-to-top {
    bottom: calc(
      1.25rem + env(safe-area-inset-bottom, 0px) + var(--ij-mobile-nav-height)
    );
  }
}
