@charset "utf-8";
/* CSS Document */


/* 重置 */

* { margin: 0; padding: 0; }
body, html { margin: 0; padding: 0; }
img { display: block; }
a { /*display: block;*/
text-decoration: none; color: #000; }
#page { max-width: 100vw; min-height: 100vh;height: auto; background: url(bg.png) no-repeat center center; background-size: cover; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow-y: auto;overflow-x: hidden;  box-sizing: border-box; padding: 30px 0;}
.container { width: 1200px; margin: 0 auto; }
.logo { display: flex; justify-content: center; align-items: center; gap: 20px; }
.logo>img { width: 106px; height: 106px; }
header { height: 170px; }
.main { height: auto; }
.headnav { width: 100%; display: flex; justify-content: center; align-items: center; gap: 26px; }
.bar { width: 1px; height: 58px; background: rgba(255,255,255,0.8); }
.logotxt .zh-cn { font-size: 42px; color: #000; text-shadow: 0px 0px 4px #ffffff; margin-bottom: 10px; }
.tab { display: flex; justify-content: center; align-items: center; gap: 14px; }
.tab>span { background: rgba(255,255,255,0.8); display: flex; flex-direction: column; text-align: center; margin: 0 auto; border-radius: 12px; width: 126px; height: 82px; }
.tab>span.on { background: rgba(255,255,255,1); }
.deepseek, .qwen { display: flex; justify-content: center; align-items: center; cursor: pointer; transition: all 0.3s; }
.deepseek:hover, .qwen:hover { background: rgba(255,255,255,1); }
.deepseek img { width: 53px; margin-top: 6px; }
.qwen img { margin-top: 6px; width: 42px; }
.deepseek-txt, .qwen-txt { font-size: 16px; height: 26px; line-height: 26px; }
.tip { font-size: 16px; color: #143b61; text-align: center; margin-top: 12px; }
.prompt_content { width: 100%; height: 100%; display: flex; justify-content: flex-start; align-items: center; flex-direction: column; background: rgba(255,255,255,0.8); border-radius: 20px; min-height: 200px; border: 1px solid #286397; position: relative; }
.prompt_content textarea { width: calc(100% - 40px); margin: 10px auto 10px 10px; height: 100px; padding: 10px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word; font-size: 16px; color: #333; line-height: 1.5; text-align: left; resize: none; outline: none; border: none; background: transparent; }
.ajax_btn, .stop_btn { width: 54px; height: 54px; border-radius: 50%; border: none; background: #092037; color: #fff; cursor: pointer; position: absolute; right: 12px; bottom: 12px; }
.stop_btn { display: none; }
#chat { flex: 1; overflow: auto; background-color: #f5f5f5; padding: 30px; border: 1px solid #ccc; border-radius: 5px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); font-family: "Courier New", Courier, monospace; white-space: pre-wrap; word-break: break-all; word-wrap: break-word; font-size: 14px; color: #333; line-height: 1.5; text-align: left; background: rgba(255,255,255,0.8); border-radius: 20px; min-height: 200px; border: 1px solid #286397; margin-bottom: 10px; display: none; max-height: 40vh; flex-direction: column; }
.output { display: none; flex-direction: row; border-radius: 4px; padding: 12px 0; min-width: 50px; max-width: 100vw; }
.output .output_cont { text-align: left; white-space: pre-wrap; word-break: break-all; word-wrap: break-word; border-radius: 4px; padding: 12px 16px; background: #fff; color: #333; background-size: auto 100%; }
.ajax_btn:hover { background: #0cebbe; }
.stop_btn:hover { background: #ff4d4d; }
.input { display: flex; flex-direction: row-reverse; border-radius: 4px; min-width: 50px; max-width: 100vw; padding: 12px 0; }
.input .input_cont { border-radius: 4px; background: #93ef6c; color: #111; padding: 12px 16px; background-size: auto 100%; text-align: left; float: right; white-space: pre-wrap; word-break: break-all; word-wrap: break-word; }
.error { color: #dc3545; border: 1px solid #f8d7da; background: #f8d7da; padding: 8px; border-radius: 4px; line-height: 24px; font-size: 14px; text-align: center; margin-top: 30px; }
.loading { display: flex; align-items: center; color: #666; }
.loading::after { content: ""; display: inline-block; width: 20px; height: 20px; margin-left: 10px; border: 3px solid #f3f3f3; border-top: 3px solid #0cebbe; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin {  0% {
transform: rotate(0deg);
}
 100% {
transform: rotate(360deg);
}
}

/*分开*/
#popup { width: 700px; position: fixed; left: 50%; top: 50%; z-index: 999; margin: -170px 0 0 -350px; background-color: #fff; }
#closedX { cursor: pointer; color: #fff; background-color: #359dfd; width: 120px; margin: 15px 0; padding: 5px 0; text-align: center; border-radius: 5px; display: block; float: right; }
.BrBg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #666666; opacity: 0.7; z-index: 99; display: none; }
.pad30 { padding: 30px; }
.nameBr { font-size: 20px; margin: 0; font-family: "楷体"; color: #000; }
.talkingBr { font-size: 14px; margin: 0; font-family: "微软雅黑"; color: #000; font-weight: normal; }
.talkingBr p { margin: 0 0 5px 0; padding: 0; line-height: 160%; }
h1 { font-size: 20px; padding: 20px; text-align: center; background-color: #359dfd; color: #fff; margin: 0; line-height: 150%; }
.hot { margin: 30px 0 0 0; padding: 0; }
.hot li { float: left; width: 23%; margin: 10px 1% 0 1%; border: 0px solid #6275df; padding: 0 5px; border-radius: 5px; list-style: none; height: 36px; line-height: 36px; box-sizing: border-box; background-color: rgba(255,255,255,0.8); box-shadow:3px 3px 5px rgba(0,0,0,0.3) ;}
.hot li .dotA { width: 20px; height: 20px; background-image: url(dotA.png); background-position: center; background-repeat: no-repeat; display: inline-block; position: relative; top: -8px; }
.hot li .dotB { width: 20px; height: 20px; background-image: url(dotB.png); background-position: center; background-repeat: no-repeat; display: inline-block; position: relative; top: -8px; }
.hot li a { width: calc(100% - 50px); margin: 0 5px; display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #1740a9;}
.moreA { text-align: right; background-image: url(dotC.png); background-position: right center; background-repeat: no-repeat; padding: 0 25px 0 0; margin: 10px 20px 0 0; }
.fc { clear: both; }

.list { margin: 20px 0 0 0;padding: 15px; background-color: rgba(255, 255, 255, 0.8); box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);  border-radius: 10px;max-height: calc(100vh - 250px); overflow-y: auto; }
.list li { float: left; width:100%; margin:25px 0 0 0; border: 0px solid #6275df; padding: 0 5px; border-radius: 5px; list-style: none; height: 36px; line-height: 36px; box-sizing: border-box; font-size: 20px; }
.list li .dotA { width: 20px; height: 20px; background-image: url(dotA.png); background-position: center; background-repeat: no-repeat; display: inline-block; position: relative; top: -8px; }
.list li .dotB { width: 20px; height: 20px; background-image: url(dotB.png); background-position: center; background-repeat: no-repeat; display: inline-block; position: relative; top: -8px; }
.list li a { width: calc(100% - 30px); margin: 0 5px; display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #13227a;}

.page { width: 100vw; height: 100vh; background: url(bg.png) no-repeat center center; background-size: cover; display: block; flex-direction: column; align-items: center; justify-content: center; padding: 30px 0 0 0; }
header.h110{ height: 110px;}


@media screen and (max-width: 768px) {
#page {max-width: 100vw;  min-height: 100vh; height: auto; background: url(bg.png) no-repeat center center; background-size: cover; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow-y: auto;overflow-x: hidden;  box-sizing: border-box; padding: 30px 0; }
.container { width: calc(100% - 20px); padding: 10px; }
.headnav { display: block; }
.logo { zoom: 0.6; }
.bar { display: none; }

header { height: auto; }
.tab { margin-top: 20px; }
.main { width: calc(100% - 20px); padding: 0 10px; }
.prompt_content { height: 18vh; max-height: unset; min-height: unset; }
.prompt_content textarea { height: 8vh; min-height: unset; }
.ajax_btn, .stop_btn { width: 42px; height: 30px; line-height: 30px; font-size: 12px; border-radius: 4px; right: 10px; bottom: 10px; }
#chat { flex-direction: column; padding: 10px;/* max-height: 20vh; */   }


.hot { margin: 20px 0 0 0; padding: 0; }
.hot li { float: left; width: 98%; margin: 10px 1% 0 1%; border: 1px solid #6275df; padding: 0 5px; border-radius: 5px; list-style: none; height: 36px; line-height: 36px; box-sizing: border-box; }
.hot li .dotA { width: 20px; height: 20px; background-image: url(dotA.png); background-position: center; background-repeat: no-repeat; display: inline-block; position: relative; top: -8px; }
.hot li .dotB { width: 20px; height: 20px; background-image: url(dotB.png); background-position: center; background-repeat: no-repeat; display: inline-block; position: relative; top: -8px; }
.hot li a { width: calc(100% - 50px); margin: 0 5px; display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.moreA { text-align: right; background-image: url(dotC.png); background-position: right center; background-repeat: no-repeat; padding: 0 25px 0 0; margin: 10px 20px 0 0;color: #13227a; }
    
.list { margin: 20px 0 0 0; padding: 15px; background-color: rgba(255, 255, 255, 0.8); box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);  border-radius: 10px;max-height: calc(100vh - 190px); overflow-y: auto; }
.list li { float: left; width: 100%; margin:20px 0 0 0; border: 0px solid #6275df; padding: 0 5px; border-radius: 5px; list-style: none; height: 36px; line-height: 36px; box-sizing: border-box; font-size: 20px; }
.list li .dotA { width: 20px; height: 20px; background-image: url(dotA.png); background-position: center; background-repeat: no-repeat; display: inline-block; position: relative; top: -8px; }
.list li .dotB { width: 20px; height: 20px; background-image: url(dotB.png); background-position: center; background-repeat: no-repeat; display: inline-block; position: relative; top: -8px; }
.list li a { width: calc(100% - 30px); margin: 0 5px; display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;color: #13227a; }

.page { width: 100vw; height: 100vh; background: url(bg.png) no-repeat center center; background-size: cover; display: block; flex-direction: column; align-items: center; justify-content: center; padding: 30px 0 0 0; }
header.h110{ height: 80px;}

}

 @media screen and (min-width:350px) and (max-width:750px) {
#popup { width: 90%; position: fixed; left: 5%; top: 15%; z-index: 999; margin: 0px; background-color: #fff; }
.pad30 { padding: 15px; }
.talkingBr { font-size: 14px; margin: 0; font-family: "微软雅黑"; color: #000; font-weight: normal; max-height: calc( 70vh - 100px ); overflow-y: auto; }
}
.chatarea { display: flex; flex-direction: column; }
