#submenu, .custom-menu-icon {
    position: absolute;
    z-index: 1050
}

.circle-logo, .custom-menu-icon {
    border-radius: 50%;
    overflow: hidden
}

.custom-menu-icon {
    width: 1.4rem;
    height: 1.4rem;
    cursor: pointer;
    display: block;
    top: .4rem;
    left: .4rem;
    object-fit: cover;
    border-radius: 100%;
    font-size: 0;
}

.custom-menu-icon img {
    width: 100%;
    height: 100%;
}

#submenu .row {
    --bs-gutter-x: 0;
}

#submenu {
    top: 2rem;
    max-height: 14rem;
    min-height: 10rem;
    width: 9.5rem;
    padding: .3rem;
    padding-top: 0;
    box-sizing: border-box;
    font-size: .4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1051;
    scrollbar-width: none; /* firefox */
    -ms-overflow-style: none; /* IE 10+ */
    overflow: hidden;
}

#submenu > div {
    max-height: calc(14rem - 1.4rem);
    overflow: scroll;
    overflow-x: hidden;
    /*padding-top: 0.8rem;*/
    scrollbar-width: none; /* firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

#submenu > div::-webkit-scrollbar {
    display: none;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none;
}

#submenu:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url("../img/底框.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: .93;
}

#search-box {
    display: flex;
    align-items: center;
    margin: 0.4rem 0 0.8rem 0;
}
#search-box > input{
    border: 3px solid #f8b500;
    border-radius: 6px;
    flex: 1;
    padding: .1rem .2rem;
}


.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center
}

.circle-logo {
    width: 1.4rem;
    height: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    border: .06rem solid transparent;
    background-image: linear-gradient(to right, gold, #f8b500, gold)
}

.menu-item {
    text-align: center;
    margin-bottom: 10px
}

.circle-logo img {
    width: 100%;
    height: auto
}

.menu-item a {
    color: #fd3051;
    padding: 0;
    text-decoration: none
}

.circle-logo-container {
    position: relative;
    display: inline-block
}

.badge {
    position: absolute;
    top: -10px;
    right: -3px;
    background-color: red;
    color: #fff;
    border-radius: 20%;
    padding: 4px;
    font-size: 10px
}

.menu-item .nav-link {
    display: block;
    text-align: center
}