/* Bottom tab bar on narrow screens (below Bootstrap's lg breakpoint). */
.app-tab-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    background-color: var(--color-navbar);
    border-top: 2px solid var(--color-rss);
    /* Clear the iPhone home indicator; needs viewport-fit=cover. */
    padding-bottom: env(safe-area-inset-bottom);
}

.app-tab {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    padding: .5rem 0 .4rem;
    color: rgba(255, 255, 255, .6);
    font-size: .7rem;
    text-decoration: none;
}

.app-tab svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: currentColor;
}

.app-tab.active,
.app-tab:hover {
    color: var(--color-rss);
}

@media (max-width: 991.98px) {
    /* Keep the end of the page (footer) clear of the fixed bar. */
    body {
        padding-bottom: calc(4rem + env(safe-area-inset-bottom));
    }
}
