.recording-guide {
  display: grid;
  gap: 5px;
  margin: 12px 0 2px;
  padding: 12px 14px;
  border: 1px solid rgba(200, 155, 61, .32);
  border-radius: 13px;
  color: #173f35;
  background: rgba(255, 247, 223, .82);
}

.recording-guide strong,
.recording-guide span,
.recording-guide small {
  display: block;
}

.recording-guide strong {
  font-size: 14px;
}

.recording-guide span,
.recording-guide small {
  font-size: 11px;
  line-height: 1.45;
}

.recording-result .feedback-wait {
  display: grid;
  align-items: stretch;
  gap: 15px;
  padding: 22px;
  border: 1px solid rgba(200, 155, 61, .44);
  border-radius: 16px;
  color: #fff7df;
  background: linear-gradient(135deg, #173f35, #0f3129);
  box-shadow: 0 12px 30px rgba(10, 43, 37, .18);
}

.feedback-stay-message {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 15px;
  padding: 18px;
  border: 2px solid rgba(246, 207, 103, .76);
  border-radius: 16px;
  color: #173f35;
  background: linear-gradient(135deg, #ffe49b, #e8c35f);
  box-shadow: 0 8px 24px rgba(4, 24, 20, .22);
  animation: lessonStayMessageGlow 1.8s ease-in-out infinite;
}

.feedback-stay-message small,
.feedback-stay-message strong,
.feedback-stay-message > div > span {
  display: block;
}

.feedback-stay-message small {
  margin-bottom: 0;
  color: #6e4d08;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.feedback-stay-message strong {
  margin-top: 5px;
  color: #0b3c32;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(25px, 6vw, 38px);
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: .01em;
}

.feedback-stay-message > div > span {
  margin-top: 7px;
  color: #59400c;
  font-size: 12px;
  font-weight: 800;
}

.feedback-stay-message .voice-wave {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff7df;
  background: #0f493d;
  font-size: 9px;
  letter-spacing: 2px;
  animation: voicePulse 1s ease-in-out infinite;
}

.feedback-wait-copy {
  min-width: 0;
}

.feedback-wait-elapsed {
  padding: 10px 12px;
  border-radius: 10px;
  color: #fff7df;
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.feedback-wait-steps {
  display: grid;
  gap: 7px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.feedback-wait-steps li {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 10px;
  color: rgba(255, 247, 223, .48);
  background: rgba(255, 255, 255, .04);
}

.feedback-wait-steps li.active {
  color: #fff7df;
  background: rgba(232, 204, 131, .14);
}

.feedback-wait-steps li.done {
  color: rgba(255, 247, 223, .72);
}

.feedback-wait-steps i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(232, 204, 131, .32);
  border-radius: 50%;
  color: #e8cc83;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.feedback-wait-steps b,
.feedback-wait-steps span {
  display: block;
}

.feedback-wait-steps b {
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 11px;
}

.feedback-wait-steps span {
  margin-top: 1px;
  font-size: 9px;
}

.feedback-summary {
  display: grid;
  gap: 4px;
}

.feedback-summary > span,
.feedback-summary > small {
  display: block;
}

.monkey-translation {
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(232, 204, 131, .34);
  border-radius: 12px;
  color: #fff7df;
  background: rgba(255, 255, 255, .07);
}

.monkey-translation b {
  display: block;
  margin-bottom: 4px;
  color: #e8cc83;
  font-size: 11px;
  letter-spacing: .08em;
}

.monkey-translation p {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.65;
}

.retry-ai {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(23, 96, 80, .28);
  border-radius: 14px;
  color: #173f35;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

@keyframes lessonStayMessageGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(4, 24, 20, .22);
  }
  50% {
    transform: scale(1.012);
    box-shadow: 0 12px 32px rgba(232, 195, 95, .32);
  }
}

@media (max-width: 520px) {
  .recording-result .feedback-wait {
    padding: 14px;
  }

  .feedback-stay-message {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 17px 13px;
    text-align: center;
  }

  .feedback-stay-message strong {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feedback-stay-message,
  .feedback-stay-message .voice-wave {
    animation: none;
  }
}
.ai-service-status {
  margin: .75rem 0;
  padding: .7rem .9rem;
  border-radius: .75rem;
  font-weight: 700;
  line-height: 1.45;
}
.ai-service-status.online { background: #e9f8ee; color: #176b3a; border: 1px solid #91d2a8; }
.ai-service-status.offline { background: #fff4df; color: #7c4a00; border: 1px solid #e4bd72; }
