* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  text-align: center;
  background: #000;
}
section {
  margin: 0;
  padding: 0;
  line-height: 0;
}
.title-main {
  font-size: 35px;
  font-weight: bold;
}
.text-accuracy {
  font-size: 45px;
}
.text-accuracy .mark {
  color: #f00;
  font-weight: bold;
}
.text-desc {
  margin-top: 5%;
  font-size: 28px;
}
.text-red {
  color: red;
}
.text-green {
  color: #01ffa2;
}
.progress-card {
  background: rgb(9, 76, 137);
  border-radius: 12px;
  padding: 32px 18px;
  max-width: 680px;
  margin: 60px auto;
}
.progress-title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 18px;
}
.progress-content {
  margin: 0 auto;
}
.step {
  margin-bottom: 16px;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.step-title {
  font-size: 25px;
  margin-bottom: 8px;
  color: #fff;
}
.bar, .bar-track {
  width: 100%;
  background: #eee;
  border-radius: 8px;
  height: 16px;
  overflow: hidden;
}
.bar-fill {
  width: 0%;
  height: 100%;
  border-radius: 8px;
  background: #00dcf4;
  transform-origin: left center;
}
@keyframes fillA {
  from { width: 0%; } to { width: 100%; }
}
@keyframes fillB {
  from { width: 0%; } to { width: 100%; }
}
@keyframes fillC {
  from { width: 0%; } to { width: 100%; }
}
.fill-anim-a {
  animation: fillA 1.5s linear forwards;
}
.fill-anim-b {
  animation: fillB 1.2s linear 0.45s forwards;
}
.fill-anim-c {
  animation: fillC 0.8s linear 0.95s forwards;
}
.result-card {
  background: url("../images/tankuang.png");
  width: 90%;
  margin: 0 auto;
  background-size: 100% 100%;
  border: 0;
  padding: 48px;
  background-repeat: no-repeat;
  max-width: 680px;
}
#code-tip { color: #15a223; }
.result-text {
  font-size: 26px;
  margin-bottom: 18px;
  color: #fff;
}
.chat-btn {
  background: #15a223;
  color: #fff;
  padding: 12px 0;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  font-size: 30px;
}
.btn-analyze, .btn-join{ animation: btn-pulse 1s linear infinite; }

.wrap {
  position: relative;
  max-width: 720px;
  left: 50%;
  transform: translateX(-50%);
}
.header {
  position: absolute;
  width: 720px;
  text-align: center;
  top: 3%;
}
.form-area {
  position: absolute;
  width: 720px;
  text-align: center;
  top: 66%;
}
.form-area img { padding: 20px; }
.intro {
  position: absolute;
  width: 720px;
  text-align: center;
  top: 47%;
}
.extra {
  position: absolute;
  width: 720px;
  text-align: center;
  top: 34%;
}
.extra img { padding: 20px; }
.stock-input {
  width: 82%;
  height: 8%;
  border-radius: 1.5rem;
  border: 3px solid rgb(3 206 210);
  margin-top: 1rem;
  padding: 2rem 2rem;
  text-align: center;
  font-size: 28px;
  background: rgba(9, 60, 91, 0.7);
  color: white;
}
.stock-input::placeholder { color: white; }
.msg-error {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
}
.msg-box {
  padding: 30px;
  line-height: 1.5;
  word-break: break-word;
  overflow: auto;
  font-size: 35px;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  max-width: 750px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
@keyframes btn-pulse {
  0% { transform: scale(0.9); }
  50% { transform: scale(1); }
  100% { transform: scale(0.9); }
}
.ai-popup {
  position: fixed;
  display: none;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  color: white;
}
.result-wrap .result-card { text-align: center; }
