@charset "utf-8";

header {
    height: 455px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-position: center -40px;
    box-sizing: border-box;
    padding-bottom: 0;
    overflow: hidden;
}

.site-notice {
    width: min(980px, 92%);
    height: 50px;
    line-height: 50px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 8px 18px rgba(65, 67, 82, 0.10);
}

.notice-track {
    display: inline-block;
    min-width: 100%;
    white-space: nowrap;
    font-size: 28px;
    font-weight: 700;
    color: var(--sc03);
    text-align: center;
    animation: notice-move 12s linear infinite;
}

@keyframes notice-move {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.header-title {
    width: min(920px, 100%);
    padding: 0;
}

.header-title .tongyong_bt {
    padding: 10px 0 10px;
}

.site-notice + .header-title {
    margin-top: 4px;
}

.header-title .tongyong_bt dt h2 {
    font-size: 32px;
}

.header-title .tongyong_bt dd p {
    font-size: 14px;
}

.header-download {
    width: min(780px, 100%);
    margin: 8px auto 8px;
    padding: 0;
}

.header-download .xz_tg {
    justify-content: space-between;
}

.header-download .xz_tg dt {
    width: 260px;
}

.header-download .xz_tg dd {
    margin-left: 28px;
}

.header-download .xz_tg dd a {
    width: 112px;
    height: 42px;
    box-sizing: border-box;
}

.contact-title .tongyong_bt {
    padding-top: 6px;
}

header .logo_ms {
    margin: 5px auto 9px;
    height: 42px;
    font-size: 29px;
}

.header-contact {
    width: min(860px, 100%);
    display: block;
    margin: 0 auto;
}

.header-contact dt {
    display: none;
}

.header-contact dd {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 110px;
    margin: 0;
    padding: 0;
}

.header-contact dd ul {
    width: 360px;
    height: 54px;
    border-radius: 8px;
    margin: 0;
    background: var(--bai);
    box-shadow: 0 8px 18px rgba(65, 67, 82, 0.18);
}

.header-contact dd ul li {
    width: 54px;
    height: 54px;
}

.header-contact dd ul li span {
    width: 43px;
    height: 43px;
    background-size: 43px 43px;
}

.header-contact dd ul input {
    width: 206px;
    height: 54px;
    font-size: 30px;
    color: var(--sc03);
}

.header-contact dd ul button {
    height: 54px;
    border-radius: 0 8px 8px 0;
}

.pingtai {
    margin-top: -8px;
    padding-bottom: 42px;
}

.pt_box .lafei_badge img {
    display: none;
}

.pt_box .lafei_badge {
    width: 82px;
    height: 82px;
    overflow: hidden;
    right: -4px;
    top: -4px;
}

.pt_box .lafei_badge::before {
    content: "拉菲系列";
    position: absolute;
    width: 112px;
    height: 28px;
    line-height: 28px;
    right: -33px;
    top: 12px;
    transform: rotate(45deg);
    background: #25a867;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 2px 4px rgba(65, 67, 82, 0.18);
}

.pt_box .anxin_badge img {
    display: none;
}

.pt_box .anxin_badge {
    width: 82px;
    height: 82px;
    overflow: hidden;
    right: -4px;
    top: -4px;
}

.pt_box .anxin_badge::before {
    content: "安信系列";
    position: absolute;
    width: 112px;
    height: 28px;
    line-height: 28px;
    right: -33px;
    top: 12px;
    transform: rotate(45deg);
    background: #c92a2a;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 2px 4px rgba(65, 67, 82, 0.18);
}

header + .bt_box {
    margin-top: -6px;
}

header + .bt_box .tongyong_bt {
    padding-top: 12px;
    padding-bottom: 16px;
}

.banquan {
    color: var(--bai);
}

@media only screen and (max-width: 980px) {
    header {
        height: auto;
        min-height: 70vw;
        padding-bottom: 0;
        background-size: auto 100%;
    }

    .site-notice {
        height: 8vw;
        line-height: 8vw;
        margin-top: 2vw;
    }

    .notice-track {
        font-size: 4vw;
    }

    .header-title {
        width: 92%;
    }

    .site-notice + .header-title {
        margin-top: 0.5vw;
    }

    header + .bt_box {
        margin-top: -2vw;
    }

    .header-title .tongyong_bt dt h2 {
        font-size: 5vw;
    }

    .header-download .xz_tg {
        flex-direction: column;
        gap: 2.5vw;
    }

    .header-download .xz_tg dd {
        margin-left: 0;
    }

    .header-contact {
        width: 92%;
    }

    .header-contact dd {
        gap: 4vw;
    }

    .header-contact dd ul {
        width: 42vw;
        height: 7vw;
    }

    .header-contact dd ul li {
        width: 7vw;
        height: 7vw;
    }

    .header-contact dd ul li span {
        width: 5.4vw;
        height: 5.4vw;
        background-size: 5.4vw 5.4vw;
    }

    .header-contact dd ul input {
        width: calc(100% - 17vw);
        height: 7vw;
        font-size: 3.2vw;
    }

    .header-contact dd ul button {
        width: 10vw;
        height: 7vw;
        font-size: 1.8vw;
    }
}

@media only screen and (max-width: 560px) {
    .header-contact dd {
        flex-direction: column;
        align-items: center;
        gap: 3vw;
    }

    .header-contact dd ul {
        width: 84vw;
        height: 12vw;
    }

    .header-contact dd ul li {
        width: 12vw;
        height: 12vw;
    }

    .header-contact dd ul li span {
        width: 9vw;
        height: 9vw;
        background-size: 9vw 9vw;
    }

    .header-contact dd ul input {
        width: calc(100% - 30vw);
        height: 12vw;
        font-size: 6vw;
    }

    .header-contact dd ul button {
        width: 18vw;
        height: 12vw;
        font-size: 3.4vw;
    }
}

/* 简易在线客服 */
.chat-widget {
    width: 450px;
    height: 560px;
    position: fixed;
    right: 24px;
    bottom: 38px;
    z-index: 10020;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(31, 41, 55, 0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

.chat-widget.is-minimized {
    height: 62px;
}

.chat-widget.is-minimized .chat-body,
.chat-widget.is-minimized .chat-composer {
    display: none;
}

.chat-head {
    height: 62px;
    flex: 0 0 62px;
    background: #1479f6;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 12px;
    box-sizing: border-box;
}

.chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 9px;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chat-title {
    flex: 1;
    min-width: 0;
}

.chat-title strong {
    display: block;
    font-size: 17px;
    line-height: 21px;
}

.chat-title span {
    display: block;
    font-size: 13px;
    opacity: 0.88;
    line-height: 17px;
}

.chat-actions {
    display: flex;
    gap: 5px;
}

.chat-actions button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 18px;
    line-height: 30px;
    cursor: pointer;
}

.chat-body {
    flex: 1;
    background: #f5f6f8;
    padding: 18px 16px;
    overflow-y: auto;
    box-sizing: border-box;
}

.chat-message {
    display: flex;
    margin-bottom: 12px;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-bubble {
    max-width: 78%;
    padding: 9px 11px;
    border-radius: 8px;
    line-height: 1.5;
    font-size: 15px;
    color: #2f3144;
    background: #fff;
    box-shadow: 0 1px 4px rgba(31, 41, 55, 0.06);
    word-break: break-word;
}

.chat-message.user .chat-bubble {
    background: #1479f6;
    color: #fff;
}

.chat-bubble img {
    display: block;
    max-width: 230px;
    max-height: 190px;
    border-radius: 6px;
}

.chat-time {
    margin: 4px 0 8px;
    text-align: center;
    color: #9aa1ad;
    font-size: 12px;
}

.chat-composer {
    flex: 0 0 130px;
    background: #fff;
    border-top: 1px solid #e6e8ee;
    padding: 28px 10px 10px;
    box-sizing: border-box;
}

.chat-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-image-btn {
    width: 48px;
    height: 48px;
    border: 1px solid #d8dde8;
    border-radius: 6px;
    background: #fff;
    color: #1479f6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
}

.chat-input {
    flex: 1;
    height: 48px;
    border: 1px solid #d8dde8;
    border-radius: 6px;
    padding: 0 10px;
    box-sizing: border-box;
    outline: none;
    font-size: 15px;
}

.chat-send {
    width: 78px;
    height: 48px;
    border: 0;
    border-radius: 6px;
    background: #1479f6;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
}

.chat-note {
    padding-top: 8px;
    color: #99a1ad;
    font-size: 12px;
}

.chat-launcher {
    width: 58px;
    height: 58px;
    position: fixed;
    right: 24px;
    bottom: 38px;
    z-index: 10019;
    border: 0;
    border-radius: 50%;
    background: #1479f6;
    color: #fff;
    box-shadow: 0 8px 22px rgba(20, 121, 246, 0.35);
    font-size: 25px;
    display: none;
    cursor: pointer;
}

.chat-launcher.is-visible {
    display: block;
}

@media only screen and (max-width: 560px) {
    .chat-widget {
        width: calc(100% - 24px);
        height: 410px;
        right: 12px;
        bottom: 44px;
    }

    .chat-launcher {
        right: 16px;
        bottom: 44px;
    }
}
