.bgm-radio {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 92px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.bgm-radio:focus-visible { outline: 3px solid #26332e; outline-offset: 5px; }
.bgm-radio img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  animation: bgm-radio-float 3.6s ease-in-out infinite;
  animation-play-state: paused;
}
.bgm-radio.is-playing img { animation-play-state: running; }
@keyframes bgm-radio-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 700px) {
  .bgm-radio {
    width: 68px;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .bgm-radio img { animation: none; }
}
