.v1-mobile-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    display: flex; justify-content: space-around; align-items: center;
    height: 4rem;
    padding-bottom: env(safe-area-inset-bottom, 0);
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -1px 12px rgba(0,0,0,0.05);
}
.dark .v1-mobile-nav {
    background: #0e1726;
    border-top-color: #1f2937;
    box-shadow: 0 -1px 12px rgba(0,0,0,0.3);
}
.v1-mnav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.125rem; flex: 1;
    text-decoration: none;
    color: #9ca3af;
    font-size: 0.625rem; font-weight: 600;
    padding: 0.375rem 0;
    transition: color 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}
.v1-mnav-item i { font-size: 1.35rem; transition: transform 0.2s; }
.v1-mnav-item:active { transform: scale(0.9); }
.v1-mnav-item.active { color: #8b5cf6; }
.v1-mnav-item.active::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 2rem; height: 2.5px;
    background: linear-gradient(135deg, #8b5cf6, #4cc9f0);
    border-radius: 2px;
}
.v1-mnav-item.active i { transform: scale(1.1); }
@media(min-width:1024px) { .v1-mobile-nav { display:none !important; } }

/* the Tailwind arbitrary pb-[calc(...)] class on the footer is not in the compiled CSS: keep the footer text clear of the fixed bottom nav */
@media (max-width: 1023px) { .app-footer { padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px) + 4.5rem) !important; } }
