html body footer.mb66-footnav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 50 !important;
    width: 100% !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    box-sizing: border-box !important;
    background: #fff !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: 0 -1px 0 #eee !important;
    padding: 0 0 env(safe-area-inset-bottom, 0px) !important;
}

html body footer.mb66-footnav ul {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 6px 0 4px !important;
    list-style: none !important;
}

html body footer.mb66-footnav li {
    position: relative !important;
    flex: 1 1 0 !important;
    width: 20% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    text-align: center !important;
}

html body footer.mb66-footnav a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    width: 100% !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    color: #999 !important;
}

html body footer.mb66-footnav span {
    display: block !important;
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 12px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    color: #999 !important;
    -webkit-text-fill-color: #999 !important;
}

html body footer.mb66-footnav li.current a,
html body footer.mb66-footnav li.current span {
    color: #FF0F00 !important;
    -webkit-text-fill-color: #FF0F00 !important;
}

html body footer.mb66-footnav i.icon,
html body footer.mb66-footnav i.icon:before,
html body footer.mb66-footnav i.icon:after {
    content: none !important;
    font-size: 0 !important;
    color: transparent !important;
}

html body footer.mb66-footnav i.icon {
    display: block !important;
    width: 30px !important;
    height: 27px !important;
    margin: 0 auto 2px !important;
    background-color: transparent !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    -webkit-mask: none !important;
    mask: none !important;
}

html body footer.mb66-footnav i.icon.home {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/footer_home.591680793e3775e9.png") !important;
}

html body footer.mb66-footnav li.current i.icon.home {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/footer_home_active.29fd2f547d7b712f.png") !important;
}

html body footer.mb66-footnav i.icon.promotion {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/footer_promotion.b370ed8d90680d61.png") !important;
}

html body footer.mb66-footnav li.current i.icon.promotion {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/footer_promotion_active.2a141c7038ece838.png") !important;
}

html body footer.mb66-footnav i.icon.app {
    background-image: none !important;
    background-color: #3d3d3d !important;
    -webkit-mask: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/app.a41085c6f6bd00e0.svg") center / contain no-repeat !important;
    mask: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/app.a41085c6f6bd00e0.svg") center / contain no-repeat !important;
}

html body footer.mb66-footnav i.icon.chat {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/footer_chat.aea67269e6142627.png") !important;
}

html body footer.mb66-footnav i.icon.member {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/footer_member.7ac45d62c26a101e.png") !important;
}

html body footer.mb66-footnav li.current i.icon.member {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/footer_member_active.e062c7e687f34468.png") !important;
}

html body .bottom-nav.mb66-bnav.is-in {
    display: block !important;
}

html body:has(footer.mb66-footnav) .app-body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
}

html body:has(footer.mb66-footnav):not(:has(.app-body)) {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
}

/* restore MB66 bottom-nav icons for .bottom-nav.mb66-bnav */
html body .bottom-nav.mb66-bnav {
    position: fixed !important;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    width: 100%;
    margin: 0;
    background: #fff !important;
    box-shadow: 0 -1px 0 #eee !important;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
}
html body .bottom-nav.mb66-bnav ul {
    display: flex !important;
    margin: 0 !important;
    padding: 6px 0 4px !important;
    list-style: none !important;
}
html body .bottom-nav.mb66-bnav li {
    flex: 1 1 0 !important;
    text-align: center !important;
    list-style: none !important;
    color: #3d3d3d !important;
}
html body .bottom-nav.mb66-bnav h3 {
    margin: 0 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 12px !important;
    color: #3d3d3d !important;
    -webkit-text-fill-color: #3d3d3d !important;
}
html body .bottom-nav.mb66-bnav li.current h3 {
    color: #d93228 !important;
    -webkit-text-fill-color: #d93228 !important;
}
html body .bottom-nav.mb66-bnav i,
html body .bottom-nav.mb66-bnav i:before,
html body .bottom-nav.mb66-bnav i:after {
    content: none !important;
    font-size: 0 !important;
    color: transparent !important;
}
html body .bottom-nav.mb66-bnav i.icon {
    display: block !important;
    width: 30px !important;
    height: 27px !important;
    margin: 0 auto 2px !important;
    background: center / contain no-repeat !important;
}
html body .bottom-nav.mb66-bnav i.icon.home {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/footer_home.591680793e3775e9.png") !important;
}
html body .bottom-nav.mb66-bnav li.current i.icon.home {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/footer_home_active.29fd2f547d7b712f.png") !important;
}
html body .bottom-nav.mb66-bnav i.icon.promotion {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/footer_promotion.b370ed8d90680d61.png") !important;
}
html body .bottom-nav.mb66-bnav li.current i.icon.promotion {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/footer_promotion_active.2a141c7038ece838.png") !important;
}
html body .bottom-nav.mb66-bnav i.icon.app {
    background-image: none !important;
    background-color: #3d3d3d !important;
    -webkit-mask: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/app.a41085c6f6bd00e0.svg") center / contain no-repeat !important;
    mask: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/app.a41085c6f6bd00e0.svg") center / contain no-repeat !important;
}
html body .bottom-nav.mb66-bnav li.current i.icon.app {
    background-color: #d93228 !important;
}
html body .bottom-nav.mb66-bnav i.icon.chat {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/footer_chat.aea67269e6142627.png") !important;
}
html body .bottom-nav.mb66-bnav i.icon.member {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/footer_member.7ac45d62c26a101e.png") !important;
}
html body .bottom-nav.mb66-bnav li.current i.icon.member {
    background-image: url("https://8jvf.katawee.net/system-requirement/Web.MobileNew/UK262-01/a5b8dce9bf/footer_member_active.e062c7e687f34468.png") !important;
}

/* force-show-logged-in-bnav */
html body #root .bottom-nav.mb66-bnav,
html body #root .bottom-nav.mb66-bnav.is-in,
html body .bottom-nav.mb66-bnav.is-in {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
