/* EloRadio — floating glass player (OpenFM Trap), ~75% of original */
.eg-radio{
  --eg-radio-red:rgba(218,54,51,.16);
  --eg-radio-red2:rgba(218,54,51,.28);
  position:fixed;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  z-index:99990;
  display:flex;
  align-items:center;
  gap:9px;
  width:min(270px, calc(100vw - 18px));
  padding:8px 9px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.22);
  background:
    linear-gradient(135deg, var(--eg-radio-red), rgba(255,255,255,.06) 55%, rgba(0,0,0,.18)),
    rgba(20,10,12,.28);
  backdrop-filter:blur(14px) saturate(1.2);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
  box-shadow:
    0 8px 20px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.18);
  color:#fff;
  font-family:Manrope,"Manrope Fallback",Segoe UI,sans-serif;
  pointer-events:auto;
  user-select:none;
}
.eg-radio[hidden]{display:none!important}
.eg-radio__logo{
  flex:none;
  width:42px;height:42px;
  border-radius:9px;
  object-fit:cover;
  object-position:center;
  background:#000;
  border:1px solid rgba(255,255,255,.12);
  padding:0;
  box-sizing:border-box;
}
.eg-radio__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.eg-radio__top{display:flex;align-items:center;justify-content:space-between;gap:6px}
.eg-radio__title{
  margin:0;
  font-size:11px;
  font-weight:800;
  letter-spacing:.02em;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.eg-radio__viz{
  display:inline-flex;align-items:flex-end;gap:1.5px;height:11px;opacity:.85
}
.eg-radio__viz span{
  display:block;width:2px;border-radius:1px;background:#fff;
  height:40%;
  transform-origin:bottom center;
}
.eg-radio.is-playing .eg-radio__viz span{
  animation:egRadioEq 0.9s ease-in-out infinite;
}
.eg-radio.is-playing .eg-radio__viz span:nth-child(1){animation-delay:0s;height:55%}
.eg-radio.is-playing .eg-radio__viz span:nth-child(2){animation-delay:.15s;height:100%}
.eg-radio.is-playing .eg-radio__viz span:nth-child(3){animation-delay:.3s;height:70%}
.eg-radio.is-playing .eg-radio__viz span:nth-child(4){animation-delay:.08s;height:45%}
@keyframes egRadioEq{
  0%,100%{transform:scaleY(.45)}
  50%{transform:scaleY(1)}
}
.eg-radio__progress{display:grid;gap:2px}
.eg-radio__bar{
  height:2px;border-radius:99px;background:rgba(255,255,255,.22);overflow:hidden
}
.eg-radio__bar > i{
  display:block;height:100%;width:18%;
  border-radius:99px;background:#fff;
  transition:width .35s ease;
}
.eg-radio.is-playing .eg-radio__bar > i{
  width:100%;
  animation:egRadioLive 2.4s linear infinite;
}
@keyframes egRadioLive{
  0%{transform:translateX(-100%)}
  100%{transform:translateX(120%)}
}
.eg-radio__meta{
  display:flex;justify-content:space-between;gap:6px;
  font-size:8px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:rgba(255,255,255,.72)
}
.eg-radio__controls{
  display:flex;align-items:center;justify-content:center;gap:0;margin-top:1px
}
.eg-radio__btn{
  appearance:none;border:0;background:transparent;color:#fff;padding:0;
  width:21px;height:21px;display:inline-grid;place-items:center;cursor:pointer;
  opacity:.9
}
.eg-radio__btn:hover{opacity:1}
.eg-radio__btn svg{width:12px;height:12px;fill:currentColor}
.eg-radio__play{
  width:30px;height:30px;border-radius:50%;
  background:#fff;color:#da3633;
  box-shadow:0 3px 10px rgba(0,0,0,.25);
}
.eg-radio__play svg{width:14px;height:14px}
.eg-radio__play:hover{filter:brightness(1.05)}
.eg-radio.is-loading .eg-radio__play{opacity:.7}
.eg-radio__status{
  position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)
}

@media (max-width:760px){
  .eg-radio{
    bottom:10px;
    width:min(100vw - 14px, 270px);
    padding:7px 8px;
    border-radius:12px;
    gap:8px;
  }
  .eg-radio__logo{width:36px;height:36px;border-radius:8px;padding:0}
  .eg-radio__title{font-size:10px}
  .eg-radio__play{width:28px;height:28px}
}

@supports (bottom: max(10px, env(safe-area-inset-bottom))){
  .eg-radio{bottom:max(10px, env(safe-area-inset-bottom))}
}
