/* ===== 右侧联系悬浮条（主题蓝渐变卡片 · 图标圆衬 · 悬停反白） ===== */
.fixed-contact.fixed-contact {
    position: fixed;
    right: 18px;
    top: 50%;
    width: 70px;
    margin: 0;
    padding: 0;
    opacity: 1;
    filter: none;
    z-index: 1042;
    /* 纯渐变底，顶部只留 1px 内高光，避免大面积白色高光与圆角错位 */
    background: linear-gradient(165deg, #2f74ff 0%, #1e56d8 100%);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(27, 79, 208, .20), 0 14px 26px rgba(27, 79, 208, .16), inset 0 1px 0 rgba(255, 255, 255, .32);
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease;
}

.fixed-contact.fixed-contact:hover {
    width: 70px;
    transform: translateY(-50%) translateX(-5px);
    box-shadow: 0 8px 18px rgba(27, 79, 208, .24), 0 18px 32px rgba(27, 79, 208, .20), inset 0 1px 0 rgba(255, 255, 255, .34);
}

.fixed-contact .item-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.fixed-contact .item-list li {
    position: relative;
    height: auto;
    overflow: visible;
    list-style: none;
    background: transparent;
    background-image: none;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    cursor: pointer;
}

.fixed-contact .item-list li:last-child {
    border-bottom: none;
}

.fixed-contact .column {
    display: block;
    padding: 0;
    text-align: center;
}

/* 整项可点：图标在上、文字在下 */
.fixed-contact .column > a {
    position: static;
    top: auto;
    right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    width: auto;
    margin: 0;
    padding: 15px 6px 14px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: .8px;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: center;
    text-decoration: none;
    opacity: 1;
    transition: background .28s ease, color .28s ease;
}

.fixed-contact .column > a span {
    display: block;
    text-align: center;
}

/* 线条图标 + 半透明白衬底 */
.fixed-contact .fc-icon {
    display: block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    padding: 9px;
    box-sizing: content-box;
    border-radius: 50%;
    margin: 0;
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    background: rgba(255, 255, 255, .18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
    transition: background .28s ease, stroke .28s ease, box-shadow .28s ease;
}

/* 悬停整行反白 */
.fixed-contact .column > a:hover {
    background: #ffffff;
    color: #22539a;
}

.fixed-contact .column > a:hover .fc-icon {
    stroke: #2460f2;
    background: linear-gradient(180deg, #eff5ff 0%, #e2ebff 100%);
    box-shadow: inset 0 0 0 1px rgba(36, 96, 242, .12);
}

/* 「在线客服」图标轻微呼吸光，抓注意力又不吵 */
.fixed-contact .item-list li:nth-child(2) .fc-icon {
    animation: fcPulse 2.8s ease-in-out infinite;
}

@keyframes fcPulse {
    0%, 100% {
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 0 rgba(255, 255, 255, .30);
    }
    55% {
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 9px rgba(255, 255, 255, 0);
    }
}

/* 在线客服入口已并入悬浮框：桌面端隐藏原来独立的客服浮球及其气泡提示 */
@media (min-width: 992px) {
    .KeFu #kefu_button,
    .KeFu .kefu_popover {
        display: none !important;
    }
}
