/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { text-align: center; font-family: Arial, sans-serif; }

/* 主容器 */
.main-container {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.bg-img { width: 100%; }

/* 顶部元素 */
.header {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 3%;
}
.middle-content {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 67%;
}

/* 输入框部分 */
.input-section {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 48%;
}
.stock-input {
  width: 82%;
  height: 8%;
  border-radius: 1.5rem;
  border: 3px solid rgb(3 206 210);
  margin-top: 1rem;
  padding: 2rem;
  text-align: center;
  font-size: 28px;
  background: rgb(9 60 91);
  color: #fff;
}
.stock-input::placeholder { color: #fff; }

/* 错误提示 */
.error-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
}
.error-box {
  padding: 30px;
  font-size: 35px;
  color: #fff;
  background: rgba(0,0,0,0.8);
  border-radius: 10px;
  max-width: 750px;
  text-align: center;
}

/* 分析弹窗 */
.analysis-modal {
  position: fixed;
  display: none;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
}

/* 进度条 */
.progress-container {
  background: rgb(9,76,137);
  border-radius: 12px;
  padding: 32px 18px;
  max-width: 680px;
  margin: 60px auto;
  color: #fff;
}
.progress-header {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 18px;
}
.progress-item {
  margin-bottom: 16px;
  width: 500px;
  margin: 0 auto 16px;
}
.step-title { font-size: 25px; margin-bottom: 8px; }
.progress-bar {
  background: #eee;
  border-radius: 8px;
  height: 16px;
}
.progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 8px;
  background: #00dcf4;
  transition: width 0.2s linear;
}

/* 结果框 */
.result-box {
	background: rgb(9, 76, 137);
	border-radius: 12px;
	padding: 32px 18px;
	margin: 26px auto;
	max-width: 680px;
}
.result-title .word {
	font-size: 30px;
	font-weight: bold;
	color: #3fffb4;
}
#tips-code {
	color: #15a223;
}
.result-con .con {
	font-size: 25px;
	margin-bottom: 18px;
}
.large-text {
	font-size: 30px;
	margin-bottom: 18px;
}

/* 按钮 */
.chat-btn {
	background: #15a223;
	color: #fff;
	padding: 12px 10px;
	border-radius: 8px;
	text-align: center;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 0 auto;
	font-size: 27px;
}
.anniu{
	-webkit-animation: pulse2 1s linear infinite;
	-moz-animation: pulse2 1s linear infinite;
	animation: pulse2 1s linear infinite;
}
@-webkit-keyframes pulse2 {
	0% {
	  -webkit-transform: scale(0.9);
	}
	50% {
	  -webkit-transform: scale(1);
	}
	100% {
	  -webkit-transform: scale(0.9);
	}
}
@keyframes pulse2 {
	0% {
	  -webkit-transform: scale(0.9);
	}
	50% {
	  -webkit-transform: scale(1);
	}
	100% {
	  -webkit-transform: scale(0.9);
	}
}
/* 动画按钮 */
.pulse-btn {
  width: 90%;
  cursor: pointer;
  animation: pulseAnim 1s linear infinite;
}
@keyframes pulseAnim {
  0% { transform: scale(0.9); }
  50% { transform: scale(1); }
  100% { transform: scale(0.9); }
}
