/* 小喇叭浮动入口（点击调起客服弹窗） */
#ysHorn {
  position: fixed;
  right: 12px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px 9px 11px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd21e 0%, #ff9500 100%);
  color: #4a2600;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 160, 0, 0.42);
  -webkit-tap-highlight-color: transparent;
  animation: ysHornPulse 2.4s ease-in-out infinite;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#ysHorn:active { transform: translateY(-50%) scale(0.94); }
#ysHorn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  animation: ysHornSwing 2.4s ease-in-out infinite;
  transform-origin: 30% 60%;
}
@keyframes ysHornPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(255, 160, 0, 0.42); }
  50% { box-shadow: 0 6px 24px rgba(255, 160, 0, 0.65); }
}
@keyframes ysHornSwing {
  0%, 55%, 100% { transform: rotate(0deg); }
  62% { transform: rotate(-14deg); }
  70% { transform: rotate(10deg); }
  78% { transform: rotate(-8deg); }
  86% { transform: rotate(0deg); }
}
#ysHornClose {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(40, 44, 52, 0.82);
  color: #fff;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  padding: 0;
  cursor: pointer;
}
@media (max-width: 480px) {
  #ysHorn { font-size: 13px; padding: 8px 12px 8px 10px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #ysHorn, #ysHorn svg { animation: none; }
}
