
    /* Bottom tab bar visible UNIQUEMENT mobile/tablet portrait */
    .ea-mtab {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(13, 17, 68, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 0.5px solid rgba(255, 255, 255, 0.08);
        padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
        z-index: 9998;
        font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    }
    @media (max-width: 768px) {
        .ea-mtab { display: grid; grid-template-columns: repeat(5, 1fr); }
        body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
    }
    .ea-mtab__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 6px 4px;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.55);
        position: relative;
        transition: color 0.15s ease;
        -webkit-tap-highlight-color: transparent;
    }
    .ea-mtab__item:hover, .ea-mtab__item:focus { color: rgba(255, 255, 255, 0.85); }
    .ea-mtab__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 22px;
    }
    .ea-mtab__icon svg { width: 22px; height: 22px; }
    .ea-mtab__label {
        font-size: 10px;
        font-weight: 600;
        margin-top: 2px;
        letter-spacing: 0.01em;
    }
    .ea-mtab__indicator {
        display: block;
        height: 2px;
        width: 20px;
        background: transparent;
        border-radius: 1px;
        margin-top: 3px;
        transition: background 0.2s ease;
    }
    /* État actif */
    .ea-mtab__item.is-active { color: #fff; }
    .ea-mtab__item.is-active .ea-mtab__indicator { background: #FFD60A; }

    /* Cache le tab bar quand le clavier soft est ouvert (focus on input) */
    body.ea-mtab-keyboard .ea-mtab { display: none !important; }
    @media (max-width: 768px) {
        body.ea-mtab-keyboard { padding-bottom: 0 !important; }
    }

    /* Hide on print */
    @media print { .ea-mtab { display: none !important; } }
    