@charset "gb2312";
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;  background:url(../images/bj05.jpg) center top repeat; /*linear-gradient(135deg, #667eea 0%, #764ba2 100%); */ margin: 0;  padding: 0;  overflow-y: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }


.flash  { width:100%; height:100vh; overflow:hidden; position:relative; opacity:.9;}
.flash li { position:absolute; left:0; top:0; width:100%; height:100vh; overflow: hidden; background-size: cover; background-position: center; background-repeat: no-repeat; filter: blur(0px); /*背景模糊*/ }
.flash li b { position:absolute; width:100%; height:100%; display:block; background:rgba(9,129,68,.2); z-index: 5; }

.chat-uikit-on-boarding__bot__with__onboarding { display:none;}
.coze-chat-sdk { padding-top: 30px; }


#chat-container { z-index: 9999;  height: 70vh;  overflow-y: auto; width:1000px; margin-left: -500px; left: 50%; top:16vh; position:fixed; border-radius: 16px;  z-index: 888; }

#chat-icon { /*right:calc( 25% + 40px) ;*/ width: 1000px; left: 50%; margin-left: -510px;  text-align: right;
position: fixed;  top:4vh;  cursor: pointer;  z-index: 99999; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* border-radius: 50%; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); */ background: none;  display: flex;  align-items: center; justify-content: center; border: none;  outline: none; }
#chat-icon:hover, #chat-icon:active { /* transform: scale(1.1);  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2); */ }
#chat-icon img {  width:auto;  height: 19vh;  /*border-radius: 50%; */}

#info-container { display: none; max-width: 100%; margin: 20px; padding: 24px;  background: rgba(255, 255, 255, 0.95);  border-radius: 16px;  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);  backdrop-filter: blur(10px);  border: 1px solid rgba(255, 255, 255, 0.2);  }
#info-container h2 {  color: #333;  margin-bottom: 20px; font-size: 24px;  font-weight: 600;   text-align: center;}
#info-container p {  margin: 16px 0;  font-size: 16px;  color: #555;  line-height: 1.6;  word-break: break-all; }
#info-container p.f1 { text-align:center;  margin-top:24px;  color:#888;  font-size:14px;}
#info-container span {  color: #667eea; font-weight: 600;  display: block; margin-top: 8px; padding: 8px 12px; background: rgba(102, 126, 234, 0.1); border-radius: 8px; font-family: "Courier New", monospace; font-size: 14px; word-break: break-all; word-wrap: break-word;  white-space: pre-wrap; line-height: 1.4; max-height: none;  overflow: visible;  cursor: pointer;  transition: all 0.2s ease;  position: relative; }
#info-container span:hover { background: rgba(102, 126, 234, 0.2);  transform: translateY(-1px); }
#info-container span:active { transform: translateY(0);  }

.copy-hint { position: absolute;  top: -30px; left: 50%;  transform: translateX(-50%); background: #333; color: white; padding: 4px 8px; border-radius: 4px; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s ease;  z-index: 1000;}
.copy-hint.show { opacity: 1; }
.copy-hint::after { content: "";  position: absolute; top: 100%;  left: 50%; transform: translateX(-50%);  border: 4px solid transparent;  border-top-color: #333; }


/* 移动端优化 */
@media (max-width: 768px) {
	
#chat-container { z-index: 9999;  height: 100vh;  overflow-y: auto; width:90%; margin-left: 0; left:0; top:16vh; position:fixed; border-radius: 16px;  z-index: 888; }	
	
body { font-size: 16px;  }

#info-container { margin: 16px;  padding: 20px;  border-radius: 12px;  }
#info-container h2 { font-size: 20px; margin-bottom: 16px; }
#info-container p { font-size: 15px;  margin: 12px 0;  }
#info-container span { font-size: 12px;  padding: 6px 10px; line-height: 1.3;  word-break: break-all;}

.coze-chat-sdk { padding-top: 10px; }	
	
#chat-icon { right: -100%;  width: 56px; top:0; left: auto; margin-left:0;  }
#chat-icon img { width: 4rem; height: auto; }
.flash { display: none;}	
}

/* 超小屏幕优化 */
@media (max-width: 480px) { 
#info-container { margin: 12px;  padding: 16px;  }
#info-container h2 { font-size: 18px; }
#info-container p { font-size: 14px; }
#info-container span { font-size: 11px; padding: 4px 8px;  line-height: 1.2;
}
}

/* 横屏优化 */
@media (orientation: landscape) and (max-height: 500px) {
#info-container {  margin: 10px;  padding: 16px;  }
#info-container h2 { font-size: 18px;  margin-bottom: 12px; }
#info-container p { margin: 8px 0;  }
}

/* 加载动画 */
.loading { display: inline-block;  width: 20px;  height: 20px;  border: 3px solid rgba(102, 126, 234, 0.3);  border-radius: 50%; border-top-color: #667eea;  animation: spin 1s ease-in-out infinite; }
@keyframes spin {
to { transform: rotate(360deg); }
}

/* 淡入动画 */
.fade-in {  animation: fadeIn 0.5s ease-in-out;  }
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
 }

/* 添加到样式表中 */ 
.coze-chat-window { max-height: 100vh; overflow-y: auto; -webkit-overflow-scrolling: touch;  }/* 增强iOS滚动体验 */
.coze-chat-messages {  overflow-y: auto;  -webkit-overflow-scrolling: touch; }