/* Voice recording + scoring panel */
.mic-area {
  border-top: 1px dashed var(--border);
  padding-top: 18px; margin-top: 18px;
}
.mic-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-navy); margin-bottom: 10px;
}
.mic-targets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.mic-target {
  background: #fff; border: 1.5px solid var(--border); color: var(--muted);
  padding: 6px 14px; border-radius: 18px; cursor: pointer;
  font-family: var(--sans); font-size: .85rem; font-weight: 500;
  transition: all .15s;
}
.mic-target.sel { border-color: var(--brand-navy); color: var(--brand-navy); background: rgba(15,31,61,.06); font-weight: 600; }

.mic-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.mic-btn {
  width: 72px; height: 72px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--brand-navy); color: #fff; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s, background .2s;
  box-shadow: 0 3px 12px rgba(15,31,61,.3);
  flex-shrink: 0;
}
.mic-btn:hover { transform: scale(1.06); }
.mic-btn.listening {
  background: var(--wrong);
  animation: micPulse 1.2s ease-in-out infinite;
}
@keyframes micPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(192,57,43,.5); }
  50%     { box-shadow: 0 0 0 16px rgba(192,57,43,0); }
}
.mic-btn:disabled { opacity: .5; cursor: default; transform: none; animation: none; }

.mic-status { font-size: .88rem; color: var(--muted); min-height: 1.4em; }
.mic-status b { color: var(--brand-navy); }

.score-wrap { display: none; align-items: center; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.score-wrap.show { display: flex; }
.score-ring-box { position: relative; width: 92px; height: 92px; flex-shrink: 0; }
.score-ring-box svg { transform: rotate(-90deg); }
.score-num {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
}
.score-num small { font-size: .58rem; font-family: var(--sans); font-weight: 600; color: var(--muted); letter-spacing: .05em; }
.score-detail { flex: 1; min-width: 200px; }
.score-heard { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.score-heard b { color: var(--ink); }
.score-fb { font-size: .92rem; line-height: 1.55; }
.score-fb b { color: var(--brand-navy); }
.score-fb.good { color: var(--right); }
.retry-link {
  display: inline-block; margin-top: 8px; font-size: .8rem; font-weight: 600;
  color: var(--brand-navy); cursor: pointer; text-decoration: underline;
  background: none; border: none; font-family: var(--sans); padding: 0;
}
.mic-unsupported {
  font-size: .85rem; color: var(--muted); background: #FDF6E3;
  border-left: 3px solid var(--brand-amber); padding: 10px 14px; border-radius: 0 8px 8px 0;
  display: block;
}
