#bangaligamer-mobile-bottom-nav,
#bangaligamer-mobile-bottom-nav * {
    box-sizing: border-box;
}

#bangaligamer-mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: block;
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--bgmbn-bg, #fff);
    border-top: 2px solid #13A8FF;
    border-radius: 17px 17px 0 0;
    box-shadow: 0 -5px 24px rgba(15, 23, 42, 0.10);
    -webkit-tap-highlight-color: transparent;
}

body.bgmbn-active {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
}

.bgmbn-inner {
    min-height: 72px;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    max-width: 760px;
    margin: 0 auto;
    padding: 5px 5px 3px;
}

.bgmbn-item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    min-height: 64px;
    padding: 8px 2px 4px;
    color: var(--bgmbn-text, #64748B);
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    line-height: 1.1;
    font-weight: 500;
    text-align: center;
    transition: color .18s ease, transform .18s ease;
}

.bgmbn-item:hover,
.bgmbn-item:focus,
.bgmbn-item:active,
.bgmbn-item.is-active {
    color: var(--bgmbn-active, #050B18);
    text-decoration: none !important;
}

.bgmbn-icon-wrap {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.bgmbn-icon-wrap svg {
    display: block;
    width: 26px;
    height: 26px;
}

.bgmbn-icon-wrap .dashicons {
    display: block;
    width: 26px;
    height: 26px;
    font-size: 26px;
    line-height: 26px;
}

.bgmbn-avatar {
    width: 28px !important;
    height: 28px !important;
    max-width: none !important;
    border-radius: 999px !important;
    object-fit: cover;
    margin: 0 !important;
    padding: 0 !important;
    border: 1.5px solid currentColor;
}

.bgmbn-initial-avatar {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.bgmbn-label {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 26px;
    padding: 0 1px;
    line-height: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*
 * Reserve the same two-line label area for every menu item. This keeps all
 * icons on one horizontal line even when Reward Points / Refer & Earn wrap.
 */
.bgmbn-item-add_money .bgmbn-label,
.bgmbn-item-points .bgmbn-label,
.bgmbn-item-refer .bgmbn-label {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bgmbn-item.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 22px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 99px;
    background: #13A8FF;
    opacity: 1;
}

/* Optional raised/featured style */
.bgmbn-item.is-featured {
    padding-top: 0;
}

.bgmbn-item.is-featured .bgmbn-icon-wrap {
    width: 54px;
    height: 54px;
    margin-top: -25px;
    border-radius: 50%;
    background: #050505;
    color: #fff;
    border: 4px solid var(--bgmbn-bg, #fff);
    box-shadow: 0 3px 10px rgba(0,0,0,.18);
}

.bgmbn-item.is-featured .bgmbn-icon-wrap svg {
    width: 28px;
    height: 28px;
}

.bgmbn-item.is-featured .bgmbn-label {
    margin-top: -1px;
}

.bgmbn-item.is-featured.is-active::after {
    display: none;
}

@media (max-width: 389px) {
    .bgmbn-inner {
        min-height: 69px;
        padding-left: 2px;
        padding-right: 2px;
    }
    .bgmbn-item {
        min-height: 61px;
        font-size: 10.4px;
        gap: 3px;
        padding-left: 1px;
        padding-right: 1px;
    }
    .bgmbn-label {
        height: 24px;
        line-height: 12px;
    }
    .bgmbn-icon-wrap,
    .bgmbn-icon-wrap svg,
    .bgmbn-icon-wrap .dashicons {
        width: 24px;
        height: 24px;
        font-size: 24px;
        line-height: 24px;
    }
    .bgmbn-avatar {
        width: 25px !important;
        height: 25px !important;
    }
}
