#kws-voice-btn{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1f6feb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  cursor: pointer;
  z-index: 9999;
  transition: transform .12s ease, background .2s ease, opacity .2s ease;
}
#kws-voice-btn:hover{ transform: translateY(-1px); }
#kws-voice-btn.kws-busy{ background:#a371f7; pointer-events:none; opacity:.85; }
#kws-voice-btn.kws-error{ background:#d73a49; }

#kws-voice-badge{
  position: fixed;
  right: 22px;
  bottom: 86px;
  padding: 9px 12px;
  background: rgba(0,0,0,.8);
  color: #fff;
  border-radius: 10px;
  font: 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
  display: none;
  z-index: 9999;
  max-width: 60vw;
}
#kws-voice-badge.kws-show{ display:block; }
/* 提升层级、确保可点击 */
#kws-voice-btn{
  z-index: 2147483647 !important;
  pointer-events: auto !important;
}
#kws-voice-btn *{ pointer-events: none; } /* 图标本身不拦截事件 */
#kws-voice-badge{ z-index: 2147483647 !important; }
