/* FM-24 global radio player (fixed bottom bar) */
.fmgp{
  position:fixed;left:0;right:0;bottom:0;z-index:99990;
  transform:translateY(120%);transition:transform .35s cubic-bezier(.4,0,.2,1);
  pointer-events:none;
}
.fmgp.on{transform:translateY(0);pointer-events:auto}
.fmgp__in{
  max-width:1000px;margin:0 auto;
  display:flex;align-items:center;gap:14px;
  padding:10px 16px;margin-bottom:10px;border-radius:18px;
  background:linear-gradient(135deg,rgba(26,22,46,.96),rgba(16,14,28,.96));
  border:1px solid rgba(124,92,255,.35);
  box-shadow:0 18px 50px -14px rgba(124,92,255,.55),0 6px 20px rgba(0,0,0,.4);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  color:#fff;
}
@media(max-width:1032px){.fmgp__in{margin-left:12px;margin-right:12px}}

.fmgp__station{display:flex;align-items:center;gap:12px;min-width:0;flex:1;text-decoration:none;color:inherit}
.fmgp__cover{width:48px;height:48px;border-radius:12px;object-fit:cover;flex-shrink:0;
  background:linear-gradient(135deg,#7c5cff,#9f7aea);box-shadow:0 6px 16px -6px rgba(124,92,255,.8)}
.fmgp__meta{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.fmgp__name{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fmgp__station:hover .fmgp__name{color:#c9b8ff}
.fmgp__sub{font-size:11.5px;color:#a49fc4;display:flex;align-items:center;gap:6px}
.fmgp__sub::before{content:"";width:7px;height:7px;border-radius:50%;background:#39d0ff;
  box-shadow:0 0 8px #39d0ff;animation:fmgpLive 1.6s ease-in-out infinite}
@keyframes fmgpLive{0%,100%{opacity:1}50%{opacity:.35}}

.fmgp__play{
  width:52px;height:52px;flex-shrink:0;border:none;border-radius:50%;cursor:pointer;
  background:linear-gradient(135deg,#39d0ff,#7c5cff);color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 24px -8px rgba(57,208,255,.8);transition:transform .18s}
.fmgp__play:hover{transform:scale(1.06)}
.fmgp__play svg{fill:#fff}
.fmgp__spin{width:22px;height:22px;border-radius:50%;border:3px solid rgba(255,255,255,.35);
  border-top-color:#fff;animation:fmgpSpin .8s linear infinite}
@keyframes fmgpSpin{to{transform:rotate(360deg)}}

.fmgp__vol{display:flex;align-items:center;gap:8px;flex-shrink:0}
.fmgp__vol svg{fill:#a49fc4}
.fmgp__vol input[type=range]{
  -webkit-appearance:none;appearance:none;width:96px;height:5px;border-radius:3px;cursor:pointer;
  background:linear-gradient(90deg,#7c5cff var(--v,80%),rgba(255,255,255,.18) var(--v,80%))}
.fmgp__vol input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;
  width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid #7c5cff;cursor:pointer}
.fmgp__vol input[type=range]::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid #7c5cff;cursor:pointer}

.fmgp__close{width:34px;height:34px;flex-shrink:0;border:none;border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,.08);color:#c7c3dd;display:flex;align-items:center;justify-content:center;transition:all .18s}
.fmgp__close:hover{background:rgba(255,90,120,.2);color:#ff8fa3}

body.fmgp-pad{padding-bottom:86px}

@media(max-width:560px){
  .fmgp__in{gap:10px;padding:9px 12px;border-radius:14px;margin-bottom:8px}
  .fmgp__cover{width:42px;height:42px;border-radius:10px}
  .fmgp__name{font-size:14px}
  .fmgp__play{width:46px;height:46px}
  .fmgp__vol{display:none}                 /* system volume on mobile */
  body.fmgp-pad{padding-bottom:76px}
}
