/* ============================================================
   灵䶮免费体质自测 — Styles
   Phlox-inspired color palette:
     Primary:   #1bb0ce (teal blue)
     Text:      #3D3D3D
     Light bg:  #f0fafd
     Border:    #EAEAEA
     Gray text: #707070
   ============================================================ */

.lst-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #3D3D3D;
  line-height: 1.6;
}

.lst-screen {
  display: none;
  animation: lstFadeIn 0.4s ease;
}

.lst-screen.lst-active {
  display: block;
}

@keyframes lstFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Intro ---------- */
.lst-intro-content {
  text-align: center;
  padding: 48px 20px;
}

.lst-icon-wrap {
  margin-bottom: 20px;
}

.lst-title {
  font-size: 26px;
  font-weight: 700;
  color: #3D3D3D;
  margin: 0 0 8px;
}

.lst-subtitle {
  font-size: 16px;
  color: #1bb0ce;
  font-weight: 500;
  margin: 0 0 16px;
}

.lst-desc {
  font-size: 15px;
  color: #707070;
  margin: 0 0 32px;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.lst-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.lst-btn-primary {
  background: #1bb0ce;
  color: #fff;
  border-color: #1bb0ce;
}

.lst-btn-primary:hover {
  background: #1599b3;
  border-color: #1599b3;
}

.lst-btn-secondary {
  background: #fff;
  color: #3D3D3D;
  border-color: #DEDEDE;
}

.lst-btn-secondary:hover {
  border-color: #1bb0ce;
  color: #1bb0ce;
}

.lst-btn-outline {
  background: transparent;
  color: #1bb0ce;
  border-color: #1bb0ce;
}

.lst-btn-outline:hover {
  background: #1bb0ce;
  color: #fff;
}

/* ---------- Quiz Header ---------- */
.lst-quiz-header {
  text-align: center;
  margin-bottom: 28px;
}

.lst-progress-bar {
  height: 4px;
  background: #EAEAEA;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}

.lst-progress-fill {
  height: 100%;
  background: #1bb0ce;
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.lst-progress-text {
  font-size: 13px;
  color: #707070;
  margin-bottom: 4px;
}

.lst-dim-label {
  font-size: 14px;
  font-weight: 600;
  color: #1bb0ce;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Quiz Body ---------- */
.lst-quiz-body {
  margin-bottom: 28px;
}

.lst-question-text {
  font-size: 17px;
  font-weight: 500;
  color: #3D3D3D;
  margin: 0 0 24px;
  line-height: 1.7;
}

.lst-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lst-option {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border: 2px solid #EAEAEA;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}

.lst-option:hover {
  border-color: #b8e6f0;
  background: #f7fcfe;
}

.lst-option.lst-selected {
  border-color: #1bb0ce;
  background: #f0fafd;
}

.lst-option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #DEDEDE;
  flex-shrink: 0;
  margin-right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lst-selected .lst-option-radio {
  border-color: #1bb0ce;
}

.lst-selected .lst-option-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1bb0ce;
}

.lst-option-label {
  font-size: 15px;
  color: #3D3D3D;
}

.lst-option-score {
  margin-left: auto;
  font-size: 12px;
  color: #707070;
  opacity: 0;
  transition: opacity 0.2s;
}

.lst-selected .lst-option-score {
  opacity: 1;
}

/* ---------- Quiz Footer ---------- */
.lst-quiz-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.lst-quiz-footer .lst-btn {
  flex: 1;
  max-width: 160px;
  text-align: center;
}

/* ---------- Email Screen ---------- */
.lst-email-content {
  text-align: center;
  padding: 48px 20px;
}

.lst-email-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 380px;
  margin: 0 auto;
}

.lst-input {
  padding: 14px 18px;
  border: 2px solid #DEDEDE;
  border-radius: 12px;
  font-size: 15px;
  color: #3D3D3D;
  outline: none;
  transition: border-color 0.2s;
  text-align: center;
}

.lst-input:focus {
  border-color: #1bb0ce;
}

.lst-input::placeholder {
  color: #ACACAC;
}

.lst-note {
  font-size: 12px;
  color: #ACACAC;
  margin-top: 16px;
}

/* ---------- Result Screen ---------- */
.lst-result-content {
  text-align: center;
  padding: 20px 0;
}

.lst-radar-wrap {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

.lst-radar-wrap canvas {
  max-width: 100%;
  height: auto;
}

.lst-score-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.lst-total-score {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lst-score-num {
  font-size: 42px;
  font-weight: 700;
  color: #1bb0ce;
  line-height: 1;
}

.lst-score-label {
  font-size: 13px;
  color: #707070;
  margin-top: 4px;
}

.lst-max-score {
  font-size: 14px;
  color: #ACACAC;
}

/* Dimension mini-bars */
.lst-dim-scores {
  margin: 20px 0;
  text-align: left;
}

.lst-dim-score-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.lst-dim-score-label {
  width: 80px;
  font-size: 13px;
  font-weight: 500;
  color: #3D3D3D;
  flex-shrink: 0;
}

.lst-dim-score-bar-wrap {
  flex: 1;
  height: 8px;
  background: #EAEAEA;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 10px;
}

.lst-dim-score-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
}

.lst-dim-score-value {
  font-size: 12px;
  color: #707070;
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

/* Suggestions */
.lst-suggestions {
  text-align: left;
  margin: 24px 0;
}

.lst-suggestion-item {
  background: #f7fcfe;
  border-left: 3px solid #1bb0ce;
  padding: 14px 18px;
  margin-bottom: 12px;
  border-radius: 0 8px 8px 0;
}

.lst-suggestion-item .lst-sug-title {
  font-weight: 600;
  font-size: 14px;
  color: #1bb0ce;
  margin-bottom: 4px;
}

.lst-suggestion-item .lst-sug-text {
  font-size: 14px;
  color: #505050;
  line-height: 1.6;
}

/* CTA box */
.lst-cta-box {
  background: linear-gradient(135deg, #f0fafd 0%, #e6f6fa 100%);
  border: 1px solid #b8e6f0;
  border-radius: 12px;
  padding: 24px 20px;
  margin: 28px 0 16px;
}

.lst-cta-text {
  font-size: 15px;
  color: #3D3D3D;
  margin: 0 0 16px;
  line-height: 1.7;
}

.lst-cta-text strong {
  color: #1bb0ce;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .lst-container {
    padding: 12px 12px;
  }

  .lst-title {
    font-size: 22px;
  }

  .lst-question-text {
    font-size: 16px;
  }

  .lst-quiz-footer {
    flex-direction: column;
    align-items: center;
  }

  .lst-quiz-footer .lst-btn {
    max-width: 100%;
    width: 100%;
  }

  .lst-dim-score-label {
    width: 64px;
    font-size: 12px;
  }

  .lst-score-num {
    font-size: 34px;
  }
}
