/* Roster Radio Player — modern glass UI */
.rrpe-player{
  --rrpe-bg: rgba(20,20,28,0.55);
  --rrpe-fg: #fff;
  --rrpe-accent: #38bdf8;
  --rrpe-muted: rgba(255,255,255,0.65);
  --rrpe-shadow: 0 10px 30px rgba(0,0,0,0.25);
  position: relative;
  border-radius: 18px;
  padding: 14px 16px;
  background: var(--rrpe-bg);
  color: var(--rrpe-fg);
  backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: var(--rrpe-shadow);
}

.rrpe-player.rrpe-sticky{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
}

.rrpe-shell{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.rrpe-btn{
  appearance: none;
  border: 0;
  outline: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(56,189,248,0.22), rgba(59,130,246,0.22));
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,.2), inset 0 0 0 1px rgba(255,255,255,.08);
}

.rrpe-btn:hover{ transform: translateY(-1px); }
.rrpe-btn:active{ transform: translateY(0); }

.rrpe-icon{
  display:inline-block;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.rrpe-icon-play{
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M8 5v14l11-7z"/></svg>') no-repeat center/contain;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M8 5v14l11-7z"/></svg>') no-repeat center/contain;
  background: #fff;
}
.rrpe-icon-pause{
  display: none;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M6 5h4v14H6zm8 0h4v14h-4z"/></svg>') no-repeat center/contain;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M6 5h4v14H6zm8 0h4v14h-4z"/></svg>') no-repeat center/contain;
  background: #fff;
}

.is-playing .rrpe-icon-play{ display:none; }
.is-playing .rrpe-icon-pause{ display:inline-block; }

.rrpe-title{
  font-weight: 700;
  line-height: 1.2;
}
.rrpe-status{
  font-size: 12px;
  color: var(--rrpe-muted);
  margin-top: 2px;
}

.rrpe-progress{
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
  margin-top: 8px;
  position: relative;
}
.rrpe-progress-bar{
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--rrpe-accent), #60a5fa);
}

.rrpe-volume{
  display: flex;
  align-items: center;
  gap: 8px;
}
.rrpe-volume-range{
  width: 120px;
  accent-color: #60a5fa;
}

@media (max-width: 600px){
  .rrpe-volume-range{ width: 90px; }
}

/* Notice for missing URL */
.rrpe-notice{
  background:#fff3cd;
  border:1px solid #ffeeba;
  color:#856404;
  padding:10px 12px;
  border-radius:10px;
}
