/* Mofito — minimalistyczne poprawki pod Bootstrap */
:root {
  --app-max: 860px;
  --app-bottom-nav-h: 64px;
}

.app-container {
  max-width: var(--app-max);
}

.app-main {
  padding-bottom: calc(var(--app-bottom-nav-h) + env(safe-area-inset-bottom));
}

.app-stat .display-6 {
  line-height: 1.1;
}

/* Mobile bottom nav */
.app-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--app-bottom-nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--bs-body-bg);
  border-top: 1px solid var(--bs-border-color);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 1030;
}

.app-bottom-item {
  display: grid;
  place-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--bs-body-color);
  padding: 10px 0;
  font-size: 12px;
}

.app-bottom-item i {
  font-size: 18px;
  line-height: 1;
}

.app-bottom-item.active {
  color: var(--bs-primary);
  font-weight: 600;
}

.app-avatar{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--bs-border-color);
  background: color-mix(in srgb, var(--bs-body-bg) 80%, var(--bs-secondary-bg) 20%);
  font-size: 20px;
}
