/* Navigation on narrow screens; shared with tablet layout. */
.mobile-bottom-menu {
    display: none;
}
@media (max-width: 1050px) {
    .mobile-bottom-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex !important;
        justify-content: space-around;
        align-items: center;
        padding: 8px 5px;
        padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
        z-index: 1000;
    }
    .mobile-bottom-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        text-decoration: none;
        padding: 5px 0;
        flex: 1;
        min-width: 0;
    }
    .mobile-bottom-item i {
        font-size: 18px;
        color: inherit;
    }
    .main {
        padding-bottom: 78px;
    }
    .footer {
        padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    }
}
