
#menu {
    position: fixed;
    bottom: 0;
    z-index: 10003;
    display: none;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 3.5rem;
    background: url(/theme4/assets/mobile/footer-bg.f8d528b6.png) no-repeat 50%/cover
}

[data-theme=light] #menu {
    box-shadow: 0 -.06rem .1rem 0 rgba(160,172,200,.14)!important
}

[data-theme=dark] #menu {
    box-shadow: 0 -.06rem .1rem 0 rgba(32,34,39,.14)!important
}

@media only screen and (device-width >= 390px)and (device-width <= 844px)and (-webkit-device-pixel-ratio: 3) {
    #menu {
        height:calc(1.69rem + (var(--safe-area-inset-bottom)));
        padding-bottom: var(--safe-area-inset-bottom)
    }
}

@media only screen and (device-width >= 428px)and (device-width <= 926px)and (-webkit-device-pixel-ratio: 3) {
    #menu {
        height:calc(1.69rem + (var(--safe-area-inset-bottom)));
        padding-bottom: var(--safe-area-inset-bottom)
    }
}

@media only screen and (device-width >= 375px)and (device-width <= 812px)and (-webkit-device-pixel-ratio: 3) {
    #menu {
        height:calc(1.69rem + (var(--safe-area-inset-bottom)));
        padding-bottom: var(--safe-area-inset-bottom)
    }
}

@media only screen and (device-width >= 414px)and (device-width <= 896px)and (-webkit-device-pixel-ratio: 3) {
    #menu {
        height:calc(1.69rem + (var(--safe-area-inset-bottom)));
        padding-bottom: var(--safe-area-inset-bottom)
    }
}

@media only screen and (device-width >= 414px)and (device-width <= 896px)and (-webkit-device-pixel-ratio: 2) {
    #menu {
        height:calc(1.69rem + (var(--safe-area-inset-bottom)));
        padding-bottom: var(--safe-area-inset-bottom)
    }
}

#menu a {
    position: relative;
    display: flex;
    flex: 1 1 0%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: .22rem;
    font-weight: 500;
    color: #bdbdbd;
    text-align: center
}

#menu a.promo {
    margin-right: 1.07rem
}

#menu a.footer_title {
    justify-content: flex-end
}

#menu a.footer_title span {
    margin-bottom: .9rem
}

#menu a .footer_icon {
    position: relative;
    width: 2rem;
    /* height: .79rem; */
    margin-bottom: .09rem;
    display: flex;
    align-items: center;
    justify-content: center
}

#menu a .footer_icon img {
    width: 100% !important;
}

#menu a .footer_icon svg {
    display: block
}

#menu a .footer_icon.home svg {
    width: .41rem;
    height: .375rem
}

#menu a .footer_icon.promo svg {
    width: .41rem;
    height: .41rem
}

#menu a .footer_icon.invite {
    position: absolute;
    bottom: 2.16rem;
    width: 5rem !important;
    filter: drop-shadow(0 .03rem .2rem #fdd653)
}

#menu a .footer_icon.invite svg ,#menu a .footer_icon.invite img{
   margin-bottom: -10px;
}

#menu a .footer_icon.cs svg {
    width: .45rem;
    height: .45rem
}

#menu a .footer_icon.member svg {
    width: .32rem;
    height: .32rem
}

#menu a.on {
    color: #ffee41;
    background: url(/theme4/assets/mobile/footer-decorate.c1664878.png) no-repeat 50%/cover
}

#menu a.on .footer_icon {
    filter: drop-shadow(0 .03rem .1rem #fdd653)
}

[data-theme=light] #menu a.on .footer_icon svg {
    /* fill: !important */
}

[data-theme=dark] #menu a.on .footer_icon svg {
    fill: #b1c2ec!important
}

#menu a span {
    width: 100%;
    margin-top: .03rem;
    margin-bottom: .03rem;
    font-size: .45rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap
}

#menu a.footer-deposit {
    width: 2.2rem
}

#menu .service_item_list {
    position: absolute;
    right: -50%;
    bottom: 100%;
    display: none;
    flex-direction: column;
    gap: .44rem;
    width: 100%;
    min-width: 2.56rem;
    padding: .2rem;
    border-radius: .16rem
}

#menu .service_item_list:after {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vh;
    height: 100vh;
    content: "";
    background: rgba(0,0,0,.5);
    -webkit-backdrop-filter: blur(.12rem);
    backdrop-filter: blur(.12rem)
}

#menu .service_item_list.open {
    display: flex
}

#menu .service_item_list .service-item {
    display: flex;
    gap: .24rem;
    align-items: center;
    height: .5rem
}

#menu .service_item_list .service-item .service-icon {
    width: .5rem;
    height: .5rem
}

#menu .service_item_list .service-name {
    font-size: .3rem;
    font-weight: 400;
    color: #bdbdbd;
    text-align: left;
    white-space: break-spaces;
    background: radial-gradient(133.25% 123.93% at 10.91% 8.98%,#ffffe8 0,#fce887 38.82%,#d89f4d 67.84%,#ffee8c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

#menu .service_item_list svg {
    min-width: .5rem
}

#menu .circle-menu {
    position: absolute;
    top: -.55rem;
    left: -.3rem;
    width: 1.06rem;
    height: 1.06rem;
    padding: .12rem;
    background-image: linear-gradient(47deg,#212e3b 14%,#3890f9 85%);
    border-radius: 50%;
    box-shadow: 0 0 .1rem 0 rgba(0,0,0,.2)
}

#menu .circle-menu .circle-1 {
    width: 100%;
    height: 100%;
    background-color: rgba(194,221,253,.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center
}

#menu .circle-menu .icon-wrap-home svg {
    display: block;
    width: .6rem;
    height: .52rem
}

#menu .circle-menu .icon-wrap-chat {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(159deg,rgba(255,246,206,.6) 14%,hsla(45,88%,84%,0) 82%);
    border-radius: 50%
}

#menu .circle-menu .icon-wrap-chat .footer__chat {
    width: 100%;
    height: 100%;
    padding-top: 0
}

#menu .circle-menu .icon-wrap-chat .footer__chat .footer__chat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0
}

#menu .circle-menu .icon-wrap-chat .footer__chat .footer__chat-icon svg {
    width: .5rem;
    fill: #000
}

#menu .circle-menu .icon-wrap-chat .footer__chat .footer__chat-text {
    display: none
}

@media only screen and (device-width >= 390px)and (device-width <= 844px)and (-webkit-device-pixel-ratio: 3) {
    #root.app {
        --safe-area-inset-bottom:0.37rem!important
    }

    #root.app #menu {
        height: calc(1.69rem + (var(--safe-area-inset-bottom)));
        padding-bottom: var(--safe-area-inset-bottom)
    }
}

@media only screen and (device-width >= 428px)and (device-width <= 926px)and (-webkit-device-pixel-ratio: 3) {
    #root.app {
        --safe-area-inset-bottom:0.37rem!important
    }

    #root.app #menu {
        height: calc(1.69rem + (var(--safe-area-inset-bottom)));
        padding-bottom: var(--safe-area-inset-bottom)
    }
}

@media only screen and (device-width >= 375px)and (device-width <= 812px)and (-webkit-device-pixel-ratio: 3) {
    #root.app {
        --safe-area-inset-bottom:0.37rem!important
    }

    #root.app #menu {
        height: calc(1.69rem + (var(--safe-area-inset-bottom)));
        padding-bottom: var(--safe-area-inset-bottom)
    }
}

@media only screen and (device-width >= 414px)and (device-width <= 896px)and (-webkit-device-pixel-ratio: 3) {
    #root.app {
        --safe-area-inset-bottom:0.37rem!important
    }

    #root.app #menu {
        height: calc(1.69rem + (var(--safe-area-inset-bottom)));
        padding-bottom: var(--safe-area-inset-bottom)
    }
}

@media only screen and (device-width >= 414px)and (device-width <= 896px)and (-webkit-device-pixel-ratio: 2) {
    #root.app {
        --safe-area-inset-bottom:0.37rem!important
    }


}

@media (max-width: 992px) {
    #menu{
        display: flex;
    }
}

     #menu {
        /* height: calc(1.69rem + (var(--safe-area-inset-bottom))); */
        height: 5.2rem;
        padding-bottom: var(--safe-area-inset-bottom)
    }
    #menu a .footer_icon.invite{
        bottom: 3.16rem;
    }
    #menu a .footer_icon{
        width: 2.6rem;
        margin-bottom: 5px;
    }
    #menu a span{
        font-size: 0.7rem;
        margin-top: .13rem;
    }
    #menu a .footer_icon.invite{
        width: 6.5rem !important;
        span{
            margin-bottom: 0.9rem;
        }
    }