/* [HP-VOICE 01] 智能朗读条 —— 适配 gangtie1 企业模板（蓝色系）
   与 gangtie60 的朗读条功能一致：浏览器原生语音合成，不依赖第三方 TTS 接口。
   后台：AI 超级客服 → 智能朗读（开关 + 前置朗读文字）。 */
.hp-voice{display:inline-flex;align-items:center;gap:8px;margin:18px 0 10px;padding:6px 12px 6px 8px;border-radius:6px;
  background:#f5faff;border:1px solid #d9e9f8;max-width:100%;font-family:"Microsoft YaHei",sans-serif}
.hp-voice[hidden]{display:none}
.hp-voice-ico{flex:0 0 auto;width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  color:#fff;background:#38f}
.hp-voice-t{flex:0 0 auto;font-size:13px;font-weight:600;color:#333;letter-spacing:.1em}
.hp-voice-st{flex:0 1 auto;min-width:0;font-size:12px;color:#888;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:34em}
.hp-voice-act{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px}
.hp-voice-btn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border-radius:50%;
  border:1px solid #cfe3f7;background:#fff;color:#38f;cursor:pointer;font-family:inherit;transition:.2s}
.hp-voice-btn:hover{background:#e8f3ff;border-color:#9ecbf5}
.hp-voice-btn.is-on{background:#e8f3ff}
.hp-voice-rate{flex:0 0 auto;height:24px;line-height:24px;padding:0 9px;border-radius:999px;background:#fff;
  border:1px solid #d9e9f8;color:#555;font-size:12px;font-style:normal;cursor:pointer;user-select:none;transition:.2s}
.hp-voice-rate:hover{background:#eef6ff;color:#38f}
.hp-voice.is-playing .hp-voice-ico{animation:hp-voice-pulse 1.6s ease-in-out infinite}
@keyframes hp-voice-pulse{0%,100%{box-shadow:0 0 0 0 rgba(51,136,255,.35)}
  50%{box-shadow:0 0 0 6px rgba(51,136,255,.12)}}
.hp-voice-nosupport .hp-voice-act{display:none}
@media (max-width:600px){
  .hp-voice{margin-top:14px}
  .hp-voice-st{display:none}
}
