/* Phone navigation: fixed bottom tab bar, shown at ≤768px in responsive.css */
.tab-bar {
    display: none;
    position: fixed;
    /* Reset the generic nav rules in navigation.css */
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    border-bottom: none;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 0.25rem 0.25rem calc(0.25rem + env(safe-area-inset-bottom));
    gap: 0.25rem;
}

.tab-bar a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
}

.tab-bar span {
    white-space: nowrap;
}

.tab-bar a:active {
    background: rgba(255, 255, 255, 0.08);
}

.tab-bar a.active {
    color: var(--accent-primary);
}
