@media (max-width: 860px) {
  body {
    padding-bottom: 96px;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 110;
    height: 74px;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .09);
    background:
      linear-gradient(180deg, rgba(17, 27, 44, .94) 0%, rgba(8, 13, 24, .96) 100%);
    box-shadow:
      0 18px 40px rgba(0, 0, 0, .34),
      0 3px 12px rgba(0, 0, 0, .18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .mobile-bottom-nav a {
    position: relative;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 18px;
    color: #97a4bb;
    transition: transform .18s ease, color .18s ease, background .18s ease;
  }

  .mobile-bottom-nav a .nav-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    background: transparent;
    transition: background .18s ease, box-shadow .18s ease, color .18s ease;
  }

  .mobile-bottom-nav a .nav-icon svg {
    width: 21px;
    height: 21px;
    display: block;
  }

  .mobile-bottom-nav a small {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-bottom-nav a.active {
    color: #ffffff;
  }

  .mobile-bottom-nav a.active .nav-icon {
    background: linear-gradient(135deg, #bf4d14 0%, #f27a2b 100%);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(242, 122, 43, .34);
  }

  .mobile-bottom-nav a.active small {
    color: #f6f7fb;
  }

  .mobile-bottom-nav a.active::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, #bf4d14 0%, #f27a2b 100%);
    opacity: .98;
  }

  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a:focus-visible {
    color: #d9e3f2;
    background: rgba(255,255,255,.03);
    outline: none;
  }

  .mobile-bottom-nav a:active {
    transform: translateY(1px) scale(.99);
  }
}
