/* H5 描述页：强化按住说话 + 解读后再出校验 */

.jh-panel--h5-voice .jh-h5-voice-title {
  display: block;
  font-size: 15px;
  color: var(--jh-ink, #2c241c);
}

.jh-h5-voice-hint {
  margin: 6px 0 0;
}

.jh-h5-mic-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 18px 0 8px;
  padding: 8px 0 4px;
}

.jh-mic--hero {
  position: relative;
  width: 88px;
  height: 88px;
  font-size: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff9a74, #ff6a35);
  box-shadow:
    0 12px 28px rgba(255, 106, 53, 0.42),
    0 0 0 6px rgba(255, 122, 69, 0.16);
  display: grid;
  place-items: center;
}

.jh-mic--hero .jh-mic__icon {
  position: relative;
  z-index: 1;
  line-height: 1;
}

.jh-mic--hero .jh-mic__pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 122, 69, 0.45);
  animation: jh-h5-pulse 1.8s ease-out infinite;
  pointer-events: none;
}

.jh-mic--hero.is-holding {
  transform: scale(1.06);
  box-shadow:
    0 0 0 12px rgba(255, 122, 69, 0.22),
    0 14px 30px rgba(255, 106, 53, 0.5);
}

.jh-mic--hero.is-holding .jh-mic__pulse {
  animation: none;
  opacity: 0;
}

@keyframes jh-h5-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.85;
  }
  70% {
    transform: scale(1.12);
    opacity: 0;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

.jh-h5-mic-label {
  margin: 0;
  text-align: center;
  line-height: 1.35;
}

.jh-h5-mic-label b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #d35400;
}

.jh-h5-mic-label small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--color-text-muted, #8a7a6c);
}

.jh-h5-type-toggle {
  display: block;
  margin: 4px auto 0;
  padding: 0;
  border: 0;
  background: none;
  color: #b06a3c;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.jh-h5-interpret {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #e8d5c4;
}

.jh-h5-interpret__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.jh-h5-interpret__head strong {
  font-size: 13px;
  color: var(--jh-ink, #2c241c);
}

.jh-h5-interpret__head span {
  font-size: 11px;
  color: var(--color-text-muted, #8a7a6c);
}

.jh-h5-check-wrap {
  margin-top: 12px;
}

.jh-h5-check-wrap .xh-btn {
  width: 100%;
}

.jh-h5-risk-demo {
  margin: 8px 0 0;
  text-align: center;
}

/* E：敏感内容温馨提示层 */
.jh-risk-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px 18px;
  background: rgba(28, 22, 16, 0.55);
  box-sizing: border-box;
}

.jh-risk-overlay[hidden] {
  display: none !important;
}

.jh-risk-card {
  width: 100%;
  max-width: 320px;
  padding: 20px 18px 16px;
  border-radius: 14px;
  background: #fffaf5;
  box-shadow: 0 16px 40px rgba(40, 28, 18, 0.28);
  box-sizing: border-box;
}

.jh-risk-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #2c241c;
}

.jh-risk-body {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: #4a3f35;
  white-space: pre-wrap;
}

.jh-risk-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jh-risk-dev {
  margin: 12px 0 0;
  padding: 8px;
  border-radius: 8px;
  background: #f3eee7;
  font-size: 10px;
  line-height: 1.4;
  color: #7a6a5c;
  word-break: break-all;
}
