

.frame-left {
    position:fixed; left:0; top:63px; bottom:0; background:#FBFBFE;
    width:380px; overflow-y:auto;
}
  .frame-left .btn-new-chat {
    height: 40px; line-height: 40px;
    background: #F2F0FF;
    border-radius: 6px 6px 6px 6px;
    border: 1px solid rgba(96,81,170,0.5);
    display:inline-block;
    margin-left:16px; padding:0 14px; margin-top:20px;
    font-size:14px; color:#6051AA; font-weight: bold; 
  }
  .frame-left .left-title {
    margin-left:16px; border-bottom: 1px solid #eee; margin-top:20px;
    padding:10px 0; font-size:13px; color: #333; font-weight: bold;
  }
  .frame-left .item-list {
        
  }
    .frame-left .item-list .item-you {
        padding-left:16px; cursor: pointer;
    }
    .frame-left .item-list .item-you .item-content {
        border-bottom: 1px solid #ccc; padding: 16px; padding-left: 0;
    }
      .frame-left .item-list .item-you.active {
      }
      .frame-left .item-list .item-you .item-top {
        display:flex; justify-content: flex-start; align-items: center;
      }
      .frame-left .item-list .item-you .item-top .item-icon{
        width:40px; height:40px; margin-right:10px; overflow: hidden; border-radius: 10px;
        background:url(../img/noimg.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
      }
      .frame-left .item-list .item-you .item-top .item-title{
        width:280px; font-size:14px; font-weight: bold; color: #333;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal; 
        word-break: break-word;
      }
      .frame-left .item-list .item-remark{
        font-size:12px; color:#999; margin:10px 0px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal; 
        word-break: break-word;
        line-height: 1.5; 
        max-height: 3em;
      }
      .frame-left .item-list .item-bot{
        display: flex; justify-content: space-between; align-items: center;
      }
    .frame-left .item-list .item-bot .item-dt{
        font-size:12px; color:#939393;
    }
    .frame-left .item-list .item-bot .item-score{
        height:40px; line-height: 40px; padding:0 10px; font-size:18px; font-weight: bold; color: #6051AA;
        background: #F4F1FF; border-radius: 5px;
    }
    .frame-left .item-list .item-bot .item-score span{
        font-size:12px; font-weight: normal; color:#666666; margin-right:4px;
    }

    .frame-left .item-list .item-you.active{
        background: #F2F0FF;
    }
    .frame-left .item-list .item-you.active .item-content{
        border-bottom:none;
    }
    .frame-left .item-list .item-you.active .item-content .item-score{
        background:#6051AA; color:#fff;
    }
    .frame-left .item-list .item-you.active .item-content .item-score span{
        color:#fff;
    }

    .frame-left .item-list .item-you .item-dr-row{
        display:flex; align-items: center; padding:14px 0;
    }
    .frame-left .item-list .item-you .item-dr-row .remark{
        font-size:14px; color:#666666; margin-left:30px;
    }
    .frame-left .item-list .item-you .item-dr-row .remark b{
        font-weight: bold; color:#6051AA;
    }
    
    .frame-left .item-list .item-you .item-dr-row .dr-head{
        width:33px; height:33px; overflow: hidden; border-radius: 33px;
        background:url(../img/noimg.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        border:1px solid #fff; 
        margin-right:-10px;
    }

    .frame-right{
        position:fixed; left:380px; top:63px; bottom:0; right:0; overflow-y: auto;
        background:#fff;
    }
    .frame-right .message-inputer{
        position:fixed; bottom:0; left:400px; right:20px; 
        display:flex; flex-direction: column; align-items: center;
        background:#fff; padding-bottom:40px;
    }
    .frame-right .message-inputer .inputer-top{
        width:80%; max-width: 800px; display:flex; margin-bottom: 10px;
    }
    .frame-right .message-inputer .inputer-top .inputer-tab-item{
        margin-right:10px;
    }
    .frame-right .message-inputer .inputer-box{
        width:80%; max-width: 800px; height:auto; position: relative; overflow: hidden;
        margin-top:0px; border-radius: 20px; padding:2px; background:#ccc;
    }
    .frame-right .message-inputer .inputer-box.active{
        background:var(--border-gradient);
    }
    .frame-right .message-inputer .inputer-box .inputer-parent{
        width:100%; height:100%; background:#fff; border-radius:18px;
        overflow:hidden; position: relative;
    }
    .frame-right .message-inputer .inputer-box textarea{
        font-size:15px; padding:15px; border-radius:18px;  
        border:none; outline: none;  overflow:hidden; resize: none;
        width:100%; 
        min-height: calc(1.5em * 2); 
        max-height: calc(1.5em * 10);
        line-height: 1.5em; height: 75px;
        margin-bottom:50px;
    }
    .frame-right .message-inputer .inputer-box .inputer-bl{
        position:absolute; left:15px; bottom:15px;display: flex;
    }
    .frame-right .message-inputer .inputer-box .inputer-br{
        position:absolute; right:15px; bottom:15px; display: flex;
    }
    .circle-btn{
        display:flex; align-items: center; justify-content: center; width:36px; height:36px; border-radius: 36px; overflow: hidden;
        border:2px solid; font-size:16px;
    }
    .circle-btn i.fas{
        margin:0;
    }
    .circle-btn.send{
        background:var(--border-gradient); color:#fff;
    }
    .circle-btn.send.disable{
        background:#999; cursor:default;
    }
    .circle-btn.stop{
        position: relative; z-index:1;
        width:36px; height:36px;
        color:#6051AA; border:none; background:none;
    }
    .circle-btn.stop:hover{
        color:#3d3275;
    }
/* 伪元素：作为旋转的背景 */
.circle-btn.stop::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    background: url(../img/outring.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%); /* 居中 */
    animation: rotate-bg 2s linear infinite;
    z-index: 2; /* 放在内容后面 */
  }
  
  /* 旋转动画 */
  @keyframes rotate-bg {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

    .message-list{
        width:80%; max-width: 800px; margin:auto; padding-top:40px; padding-bottom: 340px;
    }
    .message-list .message-box{
        width:100%; overflow: hidden; margin-bottom:20px; font-size:14px; color:#333;
    }
    .message-box .ai-message{
        float:left; max-width: 80%; padding:8px 10px;
    }
    .message-box .human-message{
        max-width: 80%;
        float:right; padding:8px 10px; border-radius: 10px; background: #F2F0FF;
    }
    
    .inputer-tab-item{
        border: 1px solid #eee; font-size:14px; color:#333; padding:5px 8px; border-radius:6px;
    }

    

.img-input-wrapper{
    display: block; width:80%; max-width: 800px; overflow: hidden;
}
.img-wrapper{
    float:left; position:relative;
    padding:10px; margin-left:-10px; margin-right:10px;
}
.img-wrapper .close{
    position:absolute; background:#eee; display: flex; justify-content: center; align-items: center;
    width:20px; height:20px; line-height: 20px; border-radius: 25px;
    font-size:12px; right:0; top:0; font-weight: normal; color:#666; 
}
.img-wrapper .close i{margin:0;}
.img-wrapper .close:hover{
    background:#e4e4e4; font-weight: bold;
}
.img-wrapper .img{
    width:80px; height:50px; overflow: hidden; border-radius: 10px; border:1px solid #ccc;
}
.img-wrapper .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; 
}



.img-content{
    overflow:hidden; margin-bottom:8px;
}
.img-content a{
    color:#fff; text-decoration: none; font-size:12px;
    width:80px; height:80px; display: block; overflow: hidden;
    float:left; margin-right:10px; margin-bottom:10px; position:relative;
    border-radius: 10px;
}
.img-content div{
    position:absolute; width:100%; height:100%;
    text-align: center; line-height: 80px;
    background:rgba(0,0,0,0.5); display:none;
}
.img-content a.active div{
    display:block;
}
.img-content div i{
    margin-right:5px;
}
.img-content img{
    width:100%; height:100%;
    object-fit: cover;
    object-position: center; 
    border:1px solid #ccc;
}


.watching-breathing {
    animation: breathing 1.5s ease-in-out infinite;
}

@keyframes breathing {
    0% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.6; transform: scale(1); }
}

.typing-text {
    
}

.typing-text::after {
    content: '';
    animation: typing-dots 1.5s infinite step-start;
    font-weight: bold;
}

@keyframes typing-dots {
    0%, 33%  { content: '.'; }     /* 前 1/3 时间显示 . */
    34%, 66% { content: '..'; }    /* 中间 1/3 时间显示 .. */
    67%, 100%{ content: '...'; }   /* 最后 1/3 时间显示 ... */
}


.url-read{
    padding:5px; display: flex; justify-content: flex-start; align-items: center;
    border:1px solid #e5e6ff; border-radius: 10px; position: relative; margin:5px 0;
}
.url-read div{
    text-align: center; display:none;
    position:absolute; right:0; top:-24px;
}
.url-read div i.fa-times{
    color:rgb(169, 46, 46);
}
.url-read div i.fa-check{
    color:rgb(19, 192, 19);
}
fa-check{color:rgb(19, 192, 19);}
.markdown-body p i.fa-times{color:rgb(169, 46, 46);}
.url-read.active{margin-top:24px;}
.url-read.active div{
    display:block; color:#333;
}
.url-read p{
    margin:0; max-width:100%;
    color: #007bff;
    word-break: break-all;
}
.url-read:hover p{
    color: #0026ff; 
}
.url-read.active p{max-width: 100%;}

.markdown-body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #24292e;
}

.markdown-body h1, .markdown-body h2 {
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0.3em;
}

.markdown-body code {
    background-color: rgba(175, 184, 193, 0.2);
    border-radius: 6px;
    padding: 0.2em 0.4em;
    font-size: 85%;
}

.markdown-body pre {
    background-color: #f6f8fa;
    border-radius: 6px;
    padding: 16px;
    overflow: auto;
}

.markdown-body table {
    border-collapse: collapse;
    width: 100%;
}

.markdown-body th, .markdown-body td {
    border: 1px solid #dfe2e5;
    padding: 6px 13px; background:#fff;
}


.markdown-body table{
    width:100%; border:1px solid #eee;border-radius: 6px; overflow: hidden;
    margin-top:10px; margin-bottom: 10px;
    font-size:14px; color:#333;
}
.markdown-body table tbody tr td{
    padding:5px; border-top:1px solid #eee;
}
.markdown-body table tbody tr td:first-child{
    width:auto;
}
.markdown-body table tbody tr td input[type=text]{
    width:100%; height:24px; padding:0; border:none; outline: none;
}
.markdown-body table tbody tr td select{
    width:243px; height:26px; padding:0; border:none; outline: none;
}

.markdown-body table thead tr th{
    border:none !important; background:#eee;
}

.markdown-body table tbody tr td{
    border:none !important;
}

.markdown-body table tbody tr:nth-child(even) td {
    background-color: #fafafa; /* 浅灰色，可自定义 */
}

.btn-submit{
    border-radius: 4px; border:none; 
    padding:6px 20px; background:#6e48aa; color:#fff; font-weight: bold;
    display:inline-block; text-decoration-line: none; margin-right:5px; margin-bottom: 20px;
}
.btn-submit:hover{
    background:#613f98;
}
.markdown-body p i{margin-right:5px;}
.markdown-body p i.fa-check{color:rgb(19, 192, 19);}
.markdown-body p i.fa-times{color:rgb(169, 46, 46);}
.markdown-body p i.fa-circle-info{color:rgb(216, 127, 26);}


.list-loading{
    display:flex; justify-content: center; align-items: center;
    padding:10px; color:#999;
    border-radius: 20px; border-bottom: 1px solid #eee;
}


.pdf-box{
    margin:20px; border-radius:12px; background:#fff; box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.3);
    border:1px solid #ccc; padding:0 20px; max-width:1000px; margin:auto; margin-top:40px; margin-bottom:40px;
}
.pdf-box h4{
    margin-bottom:-14px;
}
.pdf-head{
    color:#333; display:flex; justify-content: space-between; align-items: center;
    padding:15px 0; border-bottom: 1px solid #eee;
}
.pdf-head .head-left{
    
}
.pdf-head .head-left span,.back-btn{
    font-size:18px; font-weight: bold; margin-left:10px; color:#333;
}
.pdf-head .btn{
    display:flex; align-items: center; padding:6px 10px; border-radius:5px; border:1px solid #eee;
    color:#333; font-size:12px; font-weight: bold;
}
.pdf-head .btn:hover{border:1px solid #333;}
.pdf-row{display: flex; justify-content: space-between; align-items: flex-start; border-top:1px solid #eee; margin-top:20px;}
.pdf-row .left{padding:10px; color:#333; width:100%;}
.pdf-row .left > .pr-content > .you-canvas{width:100%; height:260px; display:block; margin-top:0px;}
.pdf-row .right{width:400px; height:400px;flex-shrink: 0;}
.pdf-row .pr-head-row{display: flex; justify-content: space-between; align-items: center;}
.pdf-row .pr-head-row .head-left{
    display: flex;  align-items: center;
}
.pdf-row .pr-head-row .head-icon{
    width:80px; height:80px; background:url(../img/noimg.png);
    border-radius: 80px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border:1px solid #fff; margin-right:10px;
    flex-shrink: 0;
}
.pdf-row .pr-head-row .head-name{font-size:20px; font-weight: bold;}
.pdf-row .pr-head-row .head-score{
    width: 80px;
    height: 80px;
    background: #F2F0FF;
    border-radius: 8px;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    flex-shrink: 0;
}
.pdf-row .pr-head-row .head-score div{
    background:var(--border-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size:20px; font-weight: bold;
}
.pdf-row .pr-head-row .head-score span{font-size:12px; color:#666;}
.pdf-row .block-title{
    font-size:16px; font-weight: bold; color:#333;
    border-bottom: 1px solid #eee; padding:20px 0;
}
.pdf-row .block-title span{
    margin-left:5px;
}
.pdf-row .block-title b{
    margin-left:10px;
    background:var(--border-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}
.pdf-row .block-title .fa-check-circle{
    color:rgb(19, 192, 19);
}
.pdf-row .pr-content{
    font-size:14px; color:#444;
}
.head-remark{
    margin-top:20px;
}


.daren-box-container{
    display:flex; justify-content: flex-start; align-items: flex-start;
    flex-wrap: wrap; padding:30px; padding-right:0;
}
.daren-box{
    height:210px; width:31%; border-radius: 12px; overflow: hidden;
    background: #fff;border: 1px solid #DBDCE0;
    margin-right:1%; margin-bottom: 1%; position: relative;
}
.daren-box .daren-top{
    display:flex; justify-content: space-between; align-items: center;
    margin:14px 20px;
}
.daren-box .daren-top .left{
    display:flex; justify-content: space-between; align-items: center; margin-right:10px;
}
.daren-box .daren-top .daren-head{
    width:49px; height:49px; border:1px solid #fff; border-radius: 50px;
    background:url(../img/noimg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border:1px solid #fff; 
    margin-right:10px; flex: 0 0 auto;
}
.daren-box .daren-top .daren-mid{
    flex: 1 1 0;min-width: 0; 
}
.daren-box .daren-top .daren-mid .daren-title{
    font-size:15px; color:#333; font-weight: bold;
    display:flex; align-items: center;
}
.daren-box .daren-top .daren-mid .daren-title b{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; 
    word-break: break-word;
    
}
.daren-box .daren-top .daren-mid .daren-title span{
    margin-left:5px; background: rgba(96,81,170,0.12); border-radius: 5px;
    font-size: 12px; padding:3px 8px;
}

.LV0{color:rgb(107,125,178);}
.LV1{color:rgb(88,88,255);}
.LV2{color:rgb(108,36,253);}
.LV3{color:rgb(158,45,245);}
.LV4{color:rgb(242,174,0);}
.LV5{color:rgb(254,97,8);}
.LV6{color:rgb(255,59,82);}
.LV7{color:#000;}
.head-name span{margin-left:5px; background: rgba(96,81,170,0.12); border-radius: 5px;
    font-size: 12px; padding:3px 8px;}

.daren-fance{
    margin-top:4px; font-size:12px; color:#666;
}
.daren-fance span{
    color:#333; font-weight: bold; margin-left:5px; margin-right:10px;
}
.daren-box .daren-top .right{
    flex-shrink: 0; position:relative;
}
.daren-box .daren-top .score{
    font-size:20px; font-weight: bold;
    background:var(--border-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; flex: 0 0 auto;
}
.daren-box .daren-remark{
    font-size:12px; color:#999; margin:10px 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; 
    word-break: break-word;
    line-height: 1.5; 
    max-height: 3em;
    height:54px;
}
.daren-box .daren-remark:empty{background:#eee; border-radius:5px;}
.daren-box .score-row{
    display: flex; height:30px; overflow: hidden;
    margin: 0 20px;
}
.daren-box .score-row:empty{background:#eee; border-radius:5px;}
.daren-box .score-row .score-item{
    line-height:30px; height:30px; overflow: hidden; border-radius: 8px; background:#F4F4F4;
    color:#666; font-size:12px; padding:0 10px; margin-right:6px;
}
.daren-box .score-row .score-item span{
    color:#333; font-weight: bold; margin-left: 5px;
}
.daren-box .daren-bot{
    display:flex; justify-content: space-between; align-items: center;
    position:absolute; left:0; bottom: 0; right:0; padding:14px;
}
.daren-box .btn-detail{
    font-size:14px; padding:5px 10px; border-radius: 5px;
    background:#eee; color:#666; font-weight: bold; 
}

.daren-box .btn-detail.active{
    background:#fff;color:#333;  border:1px solid #ccc;
}
.daren-more{
    font-size:24px;
    text-align: center;
    color:#666; cursor:pointer; width:100%; height:100%;
    padding-top:60px;
}
.daren-more i{font-size:40px; display:block;}
.daren-placeholder{
    position:absolute; background:#eee; border-radius: 6px; color:#666;
    left:20px;right:20px; top:80px; bottom:54px; font-size:12px; padding:10px;
    overflow-y:scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;
}
.daren-placeholder::-webkit-scrollbar {
    display: none; /* 完全隐藏滚动条 */
}