#common .floating-nav {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 6.02rem;
    aspect-ratio: 243 / 602;
    width: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    z-index: 99;
}
#common .floating-nav-mobile {
    display: none;
}

#common .floating-nav .floating-nav-content {
    position: absolute;
    right: 0;
    bottom: 10.5%;
    width: 80%;
    height: 50%;
    padding: 0 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.35rem;
    justify-content: space-evenly;
}

#common .floating-nav .floating-nav-item {
    height: 10%;
    position: relative;
    color: #ffffff;
    white-space: nowrap;
    font-size: 0.2rem;
    font-weight: unset;
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

#common .floating-nav .floating-nav-item.selected,
#common .floating-nav .floating-nav-item:hover {
    color: #fffad1;
    text-shadow: -1px -1px 0 #188dac, 1px -1px 0 #188dac, -1px 1px 0 #188dac,
    1px 1px 0 #188dac;
}

/* 横线span一直存在，只是初始收缩且透明 */
#common .floating-nav .floating-nav-item span:last-child {
    position: absolute;
    left: -50%;
    right: -50%;
    bottom: 0rem;
    height: 0.2rem;
    background: #48adc8;
    border-radius: 1rem;
    opacity: 0;
    transform: scaleX(0.4);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s;
    pointer-events: none;
    z-index: 0;
    display: block;
}

#common .floating-nav .floating-nav-item.selected span:last-child,
#common .floating-nav .floating-nav-item:hover span:last-child {
    opacity: 0.85;
    transform: scaleX(1);
}

#common .floating-nav .floating-nav-item span:first-child {
    position: relative;
    z-index: 1;
}

/* 移动端特殊处理（如果需要） */
@media (max-width: 768px) and (orientation: portrait) {
    #common .floating-nav {
        display: none;
    }

    #common .floating-nav-mobile {
        position: fixed;
        bottom: 0;
        z-index: 99;
        font-size: .1rem;
        width: 100vw;
        height: 4vh;
        background-color: #2b2e30;
        display: block;
    }
    #common .floating-nav-mobile .floating-nav-content {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-between;
    }
    #common .floating-nav-mobile .floating-nav-content  .floating-nav-item {
        flex: 0 0 16.66%;
        color: #bbc5ca;
        text-align: center;
        cursor: pointer;
        position: relative;
        text-decoration: none;
    }
    #common .floating-nav-mobile .floating-nav-content  .floating-nav-item.selected,
    #common .floating-nav-mobile .floating-nav-content  .floating-nav-item:hover {
        color: #fffad1;
        text-shadow: -1px -1px 0 #188dac, 1px -1px 0 #188dac, -1px 1px 0 #188dac,
        1px 1px 0 #188dac;
    }

    /* 横线span一直存在，只是初始收缩且透明 */
     #common .floating-nav-mobile .floating-nav-item span:last-child {
        position: absolute;
        left: -5%;
        right: -5%;
        bottom: 0rem;
        height: 10%;
        background: #48adc8;
        border-radius: 1rem;
        opacity: 0;
        transform: scaleX(0.4);
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s;
        pointer-events: none;
        z-index: 0;
        display: block;
    }
}

@media (max-width: 1024px) and (orientation: landscape) {
    #common .floating-nav {
        display: none;
    }

    #common .floating-nav-mobile {
        position: fixed;
        bottom: 0;
        z-index: 99;
        font-size: .16rem;
        width: 100vw;
        height: 7vh;
        background-color: #2b2e30;
        display: block;
    }
    #common .floating-nav-mobile .floating-nav-content {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-between;
    }
    #common .floating-nav-mobile .floating-nav-content .floating-nav-item {
        flex: 0 0 16.66%;
        color: #bbc5ca;
        text-align: center;
        cursor: pointer;
        position: relative;
        text-decoration: none;
    }
    #common .floating-nav-mobile .floating-nav-content  .floating-nav-item.selected,
    #common .floating-nav-mobile .floating-nav-content  .floating-nav-item:hover {
        color: #fffad1;
        text-shadow: -1px -1px 0 #188dac, 1px -1px 0 #188dac, -1px 1px 0 #188dac,
        1px 1px 0 #188dac;
    }

    /* 横线span一直存在，只是初始收缩且透明 */
    #common .floating-nav-mobile .floating-nav-item span:last-child {
        position: absolute;
        left: -5%;
        right: -5%;
        bottom: 0rem;
        height: 10%;
        background: #48adc8;
        border-radius: 1rem;
        opacity: 0;
        transform: scaleX(0.4);
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s;
        pointer-events: none;
        z-index: 0;
        display: block;
    }

    #common .floating-nav-mobile {
        font-size: 0.08rem;
    }
}