/* Winsen-style float contact bar (desktop: right rail / mobile: bottom bar) */
.seedz1-m-foot {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    width: 54px;
    background: #004ba5;
}

.seedz1-m-foot ul {
    font-size: 0;
    text-align: center;
    height: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.seedz1-m-foot ul li {
    width: 54px;
    min-height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #004ba5;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.seedz1-m-foot ul li:first-child {
    border-top: none;
}

.seedz1-m-foot ul li:hover {
    background: #003d88;
}

.seedz1-m-foot ul li a,
.seedz1-m-foot ul li .seedz1-float-email-disabled {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    padding: 6px 4px;
    color: #fff;
    text-decoration: none;
}

.seedz1-m-foot ul li a.seedz1-float-email-link {
    cursor: pointer;
}

.seedz1-m-foot ul li .seedz1-float-email-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.seedz1-m-foot ul li svg.icon {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0 auto 4px;
    fill: #fff;
    flex-shrink: 0;
}

.seedz1-m-foot ul li span {
    display: block;
    line-height: 14px;
    font-size: 11px;
    color: #fff;
    transition: color 0.4s;
    writing-mode: horizontal-tb;
    text-transform: none;
}

.seedz1-m-foot ul li:hover span {
    color: #fff;
}

@media only screen and (max-width: 768px) {
    .seedz1-m-foot {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
    }

    .seedz1-m-foot ul {
        flex-direction: row;
        height: 54px;
    }

    /* 移动端不显示「回到顶部」，与已移除的 scroll-to-top 一致 */
    .seedz1-m-foot .seedz1-float-top-item {
        display: none !important;
    }

    .seedz1-m-foot ul li:not(.seedz1-float-top-item) {
        flex: 1 1 33.333%;
        width: 33.333%;
        height: 54px;
        min-height: 54px;
        border-top: 1px solid #dbdbdb;
        border-left: 1px solid #dbdbdb;
    }

    .seedz1-m-foot ul li:not(.seedz1-float-top-item):first-child {
        border-left: none;
    }

    .seedz1-m-foot ul li:not(.seedz1-float-top-item):nth-child(3) {
        border-left: 1px solid #fff;
        border-right: 1px solid #fff;
    }

    .seedz1-m-foot ul li svg.icon {
        margin-top: 4px;
        margin-bottom: 2px;
    }

    .seedz1-m-foot ul li span {
        font-size: 12px;
    }
}
