.analysis-header {
  text-align: center;
  color: #f39c12;
  margin-bottom: 1rem;
}
.analysis-header h2 {
  font-size: 1.2rem;
  color: red;
}
.analysis-header p {
  font-size: 0.9rem;
  color: #00f0c0;
}

.top-progress {
  height: 5px;
  width: 90%;
  background: linear-gradient(to right, #00f0c0, #f39c12);
  animation: progress 2s linear forwards;
  margin-top: 0.5rem;
  margin-left: 1.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 0 0.5rem;
}

.card {
  background: #122236;
  padding: 0.6rem;
  border-radius: 8px;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.card h3 {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: #00f0c0;
}

canvas {
  width: 100% !important;
  height: auto !important;
  max-height: 180px;
}

.sub-indicator {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #ccc;
}

.sub-progress {
  height: 6px;
  background: linear-gradient(to right, #00e3aa, #00b3ff);
  width: 70%;
  border-radius: 3px;
  margin: 4px auto 0;
}

@keyframes progress {
  0% {
    width: 0;
  }
  100% {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: repeat(2, 1fr); /* 依旧两列 */
    gap: 0.6rem;
  }
  canvas {
    max-height: 150px;
  }
}
