.speaking-user-shell .question-block {
  margin: 18px 0;
  padding: 16px 14px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(20,40,60,0.08);
  box-sizing: border-box;
}

.speaking-user-shell .question-number {
  text-align: left;
  font-weight: 800;
}

.speaking-part-instruction {
  font-family: Nunito, Manrope, system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #607080;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: left;
}

.speaking-part-question {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
  white-space: pre-line;
  margin-bottom: 18px;
}

.speaking-prep-zone,
.speaking-recording-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.speaking-mic-btn {
  width: 112px;
  height: 112px;
  border: none;
  background: transparent;
  position: relative;
  border-radius: 999px;
  cursor: pointer;
  margin: 0 auto;
}

.speaking-mic-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  --ring-progress: 1;
  --ring-color: #22c55e;
  background: conic-gradient(
    var(--ring-color) calc(var(--ring-progress) * 1turn),
    #e5e7eb 0turn
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 7px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 7px));
  box-sizing: border-box;
  transition: background 0.06s linear;
}

.speaking-mic-core {
  position: absolute;
  inset: 15px;
  border-radius: 999px;
  background: #00BAFF;
  color: #fff;
  font-size: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.speaking-submit-btn {
  width: 106px;
  height: 106px;
  border: 0;
  border-radius: 999px;
  background: #00BAFF;
  color: #fff;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(20,40,60,0.08);
  transition: transform 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  box-sizing: border-box;
  white-space: normal;
  overflow-wrap: anywhere;
}

.speaking-submit-btn.is-busy {
  font-size: 12px;
  line-height: 1.2;
}

.speaking-admin-controls {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.speaking-force-btn {
  width: auto;
  min-width: 128px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  padding: 0 16px;
  box-shadow: 0 8px 24px rgba(20,40,60,0.08);
}

.speaking-recording-timer {
  margin-top: 10px;
  font-weight: 700;
  font-size: 16px;
  color: #17212B;
}

.speaking-recording-timer.phase-2,
.speaking-submit-btn.phase-2 {
  color: #b45309;
}

.speaking-recording-timer.phase-3,
.speaking-submit-btn.phase-3 {
  color: #dc2626;
}

.speaking-submit-btn.phase-3 {
  animation: speaking-heartbeat 0.9s ease-in-out infinite;
}

.speaking-submit-btn.speaking-audio-active {
  transform: scale(1.05);
}

.speaking-stage-message {
  min-height: 20px;
  margin-top: 8px;
  text-align: center;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 600;
}

.speaking-transition-card {
  text-align: center;
  padding-top: 28px;
  padding-bottom: 28px;
}

.speaking-transition-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.speaking-transition-text {
  font-size: 14px;
  color: #607080;
  margin-bottom: 14px;
  line-height: 1.5;
}

.speaking-transition-loader {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 4px solid rgba(0,186,255,0.18);
  border-top-color: #00BAFF;
  margin: 0 auto;
  animation: speaking-spin 0.8s linear infinite;
}

@keyframes speaking-heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.06);
  }
  70% {
    transform: scale(0.98);
  }
}

@keyframes speaking-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
