/* 全站背景音乐 / 音效系统 · 播放控件 */
.jh-audio-btn{
  position: fixed;
  right: 22vw;
  bottom: 62px;
  z-index: 10020;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(201,168,76,.55);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(28,19,9,.92), rgba(9,7,4,.94));
  color: #c9a84c;
  font-family: "Microsoft YaHei", "SimSun", serif;
  font-size: 14px;
  line-height: 36px;
  text-align: center;
  cursor: grab;
  user-select: none;
  touch-action: none;
  box-shadow: 0 3px 12px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,215,0,.08);
  transition: border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.jh-audio-btn:hover{
  border-color: #ffd700;
  color: #ffd700;
  cursor: grab;
  box-shadow: 0 4px 18px rgba(0,0,0,.45), 0 0 12px rgba(201,168,76,.28);
  transform: translateY(-1px);
}
.jh-audio-btn.jh-audio-dragging,
.jh-audio-btn.jh-audio-dragging:hover{
  cursor: grabbing;
  transform: none !important;
  transition: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.5), 0 0 18px rgba(201,168,76,.3);
}
.jh-audio-btn:focus-visible{
  outline: 2px solid #ffd700;
  outline-offset: 3px;
}
.jh-audio-btn.on{
  color: #ffe7a3;
  border-color: #e8c477;
  background: linear-gradient(180deg, rgba(66,43,15,.96), rgba(27,17,7,.96));
  box-shadow: 0 0 0 2px rgba(201,168,76,.12), 0 0 18px rgba(201,168,76,.24);
}
.jh-audio-btn .jh-audio-note{
  display: block;
  transform: translateY(-.5px);
}
.jh-audio-btn::after{
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(201,168,76,.18);
  border-radius: 50%;
  pointer-events: none;
}
.jh-audio-btn.on::after{
  border-color: rgba(255,215,0,.32);
  animation: jhAudioPulse 2.2s ease-in-out infinite;
}
@keyframes jhAudioPulse{
  0%,100%{ opacity:.45; transform:scale(.96); }
  50%{ opacity:.9; transform:scale(1.03); }
}
@media (max-width: 760px){
  .jh-audio-btn{ width:34px; height:34px; line-height:32px; right:16px; bottom:62px; font-size:13px; }
}
@media (prefers-reduced-motion: reduce){
  .jh-audio-btn, .jh-audio-btn.on::after{ transition:none; animation:none; }
}
