.gl-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
    display: none;
    padding: 0.35rem 0;
}

.gl-mobile-bar__item {
    flex: 1 1 0;
    text-align: center;
    text-decoration: none;
    color: #143b7d;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.7rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.gl-mobile-bar__icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #143b7d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gl-mobile-bar__label {
    white-space: nowrap;
}

/* Maison */
.gl-mobile-bar__icon-house {
    width: 14px;
    height: 14px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
    position: relative;
    transform: translateY(1px);
}
.gl-mobile-bar__icon-house::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

/* Horloge */
.gl-mobile-bar__icon-clock-hand {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    position: relative;
}
.gl-mobile-bar__icon-clock-hand::before,
.gl-mobile-bar__icon-clock-hand::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    background: #fff;
}
.gl-mobile-bar__icon-clock-hand::before {
    height: 5px;
    transform: translate(-50%, -50%);
}
.gl-mobile-bar__icon-clock-hand::after {
    height: 4px;
    transform: translate(-50%, -50%) rotate(60deg);
}

/* TV */
.gl-mobile-bar__icon-tv-screen {
    width: 16px;
    height: 11px;
    border: 2px solid #fff;
    border-radius: 2px;
}
.gl-mobile-bar__icon-tv-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-30%, -50%);
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #fff;
}

/* Casque */
.gl-mobile-bar__icon-headband {
    width: 16px;
    height: 10px;
    border-radius: 10px 10px 0 0;
    border: 2px solid #fff;
    border-bottom: none;
    position: absolute;
    top: 5px;
}
.gl-mobile-bar__icon-ear {
    position: absolute;
    width: 4px;
    height: 8px;
    border-radius: 2px;
    background: #fff;
    top: 11px;
}
.gl-mobile-bar__icon-ear--left {
    left: 4px;
}
.gl-mobile-bar__icon-ear--right {
    right: 4px;
}

/* Livre */
.gl-mobile-bar__icon-book-cover {
    width: 14px;
    height: 16px;
    border-radius: 1px;
    border: 2px solid #fff;
    border-left-width: 3px;
    position: relative;
}
.gl-mobile-bar__icon-book-cover::before,
.gl-mobile-bar__icon-book-cover::after {
    content: "";
    position: absolute;
    left: 3px;
    right: 3px;
    height: 1px;
    background: #fff;
}
.gl-mobile-bar__icon-book-cover::before {
    top: 3px;
}
.gl-mobile-bar__icon-book-cover::after {
    top: 6px;
}

/* Enveloppe */
.gl-mobile-bar__icon-envelope {
    width: 16px;
    height: 11px;
    border-radius: 2px;
    border: 2px solid #fff;
    position: relative;
}
.gl-mobile-bar__icon-envelope::before,
.gl-mobile-bar__icon-envelope::after {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    height: 0;
    border-top: 2px solid #fff;
}
.gl-mobile-bar__icon-envelope::before {
    top: 3px;
    transform: skewX(25deg);
}
.gl-mobile-bar__icon-envelope::after {
    top: 3px;
    transform: skewX(-25deg);
}

/* Hover */
.gl-mobile-bar__item:hover,
.gl-mobile-bar__item:focus {
    color: #0d2854;
}
.gl-mobile-bar__item:hover .gl-mobile-bar__icon,
.gl-mobile-bar__item:focus .gl-mobile-bar__icon {
    background: #0d2854;
}

/* Affichage uniquement < 1024px */
@media (max-width: 1024px) {
    .gl-mobile-bar {
        display: flex;
    }
    body {
        padding-bottom: 60px;
    }
}
