.tg-mobile-bottom-nav {
    display: none;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    .tg-mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(68px + env(safe-area-inset-bottom));
        padding: 6px 0 env(safe-area-inset-bottom);
        background: #ffffff;
        border-top: 1px solid #e8edf5;
        box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.08);
        z-index: 99990;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        align-items: stretch;
    }

    .tg-mobile-bottom-nav .tg-mobile-nav-item {
        width: 100%;
        min-width: 0;
        height: 62px;
        min-height: 62px;
        margin: 0;
        padding: 5px 0 4px;
        border: 0;
        background: transparent;
        color: #64748b;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        font: inherit;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        box-sizing: border-box;
    }

    .tg-mobile-bottom-nav .tg-mobile-nav-item:hover,
    .tg-mobile-bottom-nav .tg-mobile-nav-item.is-active,
    .tg-mobile-bottom-nav .tg-mobile-lang-button[aria-expanded="true"] {
        color: #0d47ff;
    }

    .tg-mobile-nav-icon {
        width: 28px;
        height: 28px;
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .tg-mobile-nav-icon svg {
        width: 27px;
        height: 27px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.1;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .tg-mobile-nav-label {
        font-size: 13px;
        line-height: 1.1;
        font-weight: 700;
        white-space: nowrap;
    }

    .tg-mobile-nav-badge {
        position: absolute;
        top: -7px;
        right: -9px;
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        border-radius: 999px;
        background: #ff4d4f;
        color: #ffffff;
        font-size: 12px;
        line-height: 20px;
        font-weight: 800;
        text-align: center;
        border: 2px solid #ffffff;
    }

    .tg-mobile-lang {
        position: relative;
        padding: 0;
    }

    .tg-mobile-lang-button {
        width: 100%;
        height: 62px;
        min-height: 62px;
        margin: 0;
        padding: 5px 0 4px;
        border: 0;
        background: transparent;
        color: inherit;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        font: inherit;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        box-sizing: border-box;
    }

    .tg-mobile-lang-button:focus,
    .tg-mobile-lang-button:active {
        outline: none;
        box-shadow: none;
    }

    .tg-mobile-lang-panel {
        position: absolute;
        right: 8px;
        bottom: calc(100% + 12px);
        width: 188px;
        background: #ffffff;
        border: 1px solid #edf1f5;
        border-radius: 20px;
        padding: 10px;
        box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
        z-index: 100000;
    }

    .tg-mobile-lang-panel::after {
        content: "";
        position: absolute;
        right: 30px;
        bottom: -7px;
        width: 14px;
        height: 14px;
        background: #ffffff;
        border-right: 1px solid #edf1f5;
        border-bottom: 1px solid #edf1f5;
        transform: rotate(45deg);
    }

    .tg-mobile-lang-option {
        min-height: 50px;
        padding: 9px 12px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        gap: 12px;
        color: #0f172a;
        text-decoration: none;
        font-size: 15px;
        font-weight: 700;
        position: relative;
        z-index: 2;
    }

    .tg-mobile-lang-option:hover,
    .tg-mobile-lang-option:focus {
        background: #eef4ff;
        color: #0d47ff;
    }

    .tg-mobile-lang-mark {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #f1f5f9;
        color: #0d47ff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 800;
        flex: 0 0 34px;
        overflow: hidden;
    }

    .tg-mobile-lang-mark img {
        width: 24px;
        height: 16px;
        display: block;
        object-fit: cover;
        border-radius: 3px;
    }

    .tg-mobile-lang-option strong {
        font-weight: 800;
    }
}
