.chat-float-btn{
    position:fixed;
    right:3%;
    bottom:70px;
    /*width:64px;
    height:64px;*/
     width: 93.6px;
    height: 153.6px;
    /*border-radius:50%;*/
    border:none;
    cursor:pointer;
    z-index:9999;
    /*box-shadow:0 4px 16px rgba(22,119,255,0.2);*/
    /* 替换为你的图片logo */
    background:url('../images/raycus-ip.gif') center center / cover no-repeat;
    /* 隐藏原来的文字 */
    /*text-indent:-9999px;
    overflow:hidden;*/
}
.bubble {
    position: absolute;
    bottom: 78%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    margin-bottom: 36px;
    padding: 10px 10px;
    background: transparent;
    border: 1px solid #007aff61;
    border-radius: 999px;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    font-family: "Microsoft YaHei", system-ui, sans-serif;
    white-space: nowrap;
    /* opacity: 0; */
    pointer-events: none;
    box-shadow: 0 3px 12px rgba(52, 168, 142, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-modal{position:fixed;right:0;top:10%;width:30vw;height:80vh;background:#fff;border-radius:12px 0 0 12px;box-shadow:-5px 0 20px rgba(0,0,0,0.1);display:flex;flex-direction:column;z-index:10000;opacity:0;visibility:hidden;transition:opacity 0.3s ease;overflow:hidden;min-width:320px;min-height:400px;max-width:720px;max-height:90vh;}
.chat-modal.show{opacity:1;visibility:visible;}
.resize-corner{position:absolute;width:14px;height:14px;background:transparent;z-index:10;}
.c-tl{top:0;left:0;cursor:nw-resize;}
.c-tr{top:0;right:0;cursor:ne-resize;}
.c-bl{bottom:0;left:0;cursor:sw-resize;}
.c-br{bottom:0;right:0;cursor:se-resize;}
@media(max-width:768px){
.chat-modal{width:100vw;height:100vh;top:0;right:0;border-radius:0;}
.resize-corner{display:none;}
}
.chat-header{padding:16px;background:#1677ff;color:#fff;display:flex;justify-content:space-between;align-items:center;cursor:move;flex-shrink:0;user-select:none;}
.chat-close{background:none;border:none;color:#fff;font-size:20px;cursor:pointer;}
.chat-body{flex:1;padding:16px;overflow-y:auto;background:#f7f8fa;}

.chat-item{
    margin-bottom:12px;
    max-width:85%;
    line-height:1.6;
    font-size:14px;
    padding:10px 12px;
    border-radius:12px;
    background:#fff;
}
.chat-user{
    background:#E6F2FF;
    color:#333;
    float:right;
    clear:both;
    border-bottom-right-radius:4px;
}
.chat-robot{
    background:#ffffff;
    color:#222;
    float:left;
    clear:both;
    border-bottom-left-radius:4px;
}
.chat-think{color:#888;}
/* 修复列表溢出：给列表加内边距，保证序号在气泡内 */
.chat-robot ul, .chat-robot ol {
    padding-left:24px;
    margin:8px 0;
}
.chat-robot li {
    margin:6px 0;
}
.chat-robot table {border-collapse:collapse;width:100%;margin:10px 0;border:1px solid #ddd;}
.chat-robot th,.chat-robot td {border:1px solid #ddd;padding:8px;text-align:center;}
.chat-robot th {background-color:#f2f2f2;}
.chat-robot p {margin:6px 0;}
/*.chat-robot img{display:none !important;}*/
.chat-footer{padding:12px;border-top:1px solid #eee;display:flex;gap:10px;background:#fff;flex-shrink:0;position:sticky;bottom:0;z-index:10;}
.chat-input{flex:1;padding:10px 16px;border:1px solid #dcdfe6;border-radius:24px;outline:none;font-size:14px;}
.chat-send{padding:0 18px;background:#1677ff;color:#fff;border:none;border-radius:24px;cursor:pointer;font-size:14px;}

/* 推荐问题：自适应自动换行 */
.recommend-ques{
    max-width:75%;
    float:left;
    clear:both;
    margin-top:4px;
}
.recommend-ques-item{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    padding:10px 16px;
    font-size:14px;
    color:#333;
    cursor:pointer;
    background:#f0f2f5;
    border-radius:20px;
    margin:4px 0;
    /* 关键改动：去掉nowrap，允许自动换行 */
    white-space:normal;
    line-height:1.5;
    gap:8px;
}
.recommend-ques-item::after{
    content:"→";
    color:#999;
    /* 箭头固定在右上角，不随文字挤压 */
    flex-shrink:0;
    margin-top:2px;
}
.recommend-ques-item:hover{
    background:#e5e7eb;
}