/* AfricaLove Radio widget — scoped styles; does not alter matchmaking UI. */
.alr-dock,.alr-feature,.alr-player-page{--alr-burgundy:#6b1034;--alr-gold:#efc67a;--alr-ink:#2e2330;box-sizing:border-box}
.alr-dock *, .alr-feature *, .alr-player-page * {box-sizing:border-box}
.alr-dock{position:fixed;z-index:1100;left:clamp(10px,2vw,24px);right:clamp(10px,2vw,24px);bottom:calc(10px + env(safe-area-inset-bottom,0px));max-width:640px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #ecd4db;border-radius:18px;padding:9px 13px;color:var(--alr-ink);background:#fffaf7;box-shadow:0 12px 38px rgba(42,11,26,.22);font:500 13px/1.35 system-ui,-apple-system,Segoe UI,sans-serif}
.alr-dock-brand{display:flex;align-items:center;gap:9px;min-width:0}.alr-dock-brand img{border-radius:50%;width:36px;height:36px;object-fit:contain;background:#f8e8eb}.alr-dock-brand span{display:flex;flex-direction:column;min-width:0}.alr-dock-brand strong{font-size:14px;white-space:nowrap}.alr-dock-brand small{color:#715d68;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}
.alr-dock-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.alr-dock a{color:var(--alr-burgundy);font-weight:700;text-decoration:none}.alr-play{appearance:none;border:0;border-radius:25px;background:var(--alr-burgundy);color:#fff;padding:9px 12px;font:700 12px/1.2 system-ui,sans-serif;cursor:pointer}.alr-play:disabled{background:#a69da1;cursor:not-allowed}.alr-popout,.alr-details{white-space:nowrap}.alr-details{font-size:12px}.alr-dock a:focus-visible,.alr-play:focus-visible{outline:3px solid #b57739;outline-offset:3px}
.alr-feature{max-width:1180px;margin:24px auto 35px;padding:24px 28px;border-radius:22px;display:flex;align-items:center;gap:24px;background:linear-gradient(105deg,#621436,#9c3c46 58%,#3c254f);color:white;box-shadow:0 10px 28px rgba(35,5,25,.12)}
.alr-feature-mark{flex:none}.alr-feature-mark img{width:92px;height:92px;object-fit:contain}.alr-feature-copy{flex:1;min-width:0}.alr-feature-copy h2{margin:0 0 5px;font:700 clamp(22px,3vw,32px)/1.2 Georgia,serif;color:#fff}.alr-feature-copy h2 em{color:#ffe7b0}.alr-feature-copy p{margin:0;font-size:14px;line-height:1.6;color:#fff1eb}.alr-eyebrow{display:block;color:#ffdeb0;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:6px}
.alr-feature-link{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:44px;max-width:190px;padding:10px 15px;flex:none;background:#fff;color:#6b1034!important;border-radius:14px;font-size:13px;font-weight:800;text-decoration:none}
/* Keep bottom padding so the fixed player does not cover website footer/content. */
body:has(.alr-dock){padding-bottom:105px}
@media(max-width:720px){.alr-feature{margin:16px 18px 25px;padding:20px;flex-wrap:wrap;gap:14px}.alr-feature-mark img{width:60px;height:60px}.alr-feature-link{width:100%;max-width:none}.alr-dock{padding:8px 10px;gap:8px}.alr-dock-brand small{max-width:145px}.alr-dock-brand strong{font-size:12px}.alr-dock-actions{gap:6px}.alr-popout{font-size:11px}.alr-details{display:none}}
@media(max-width:390px){.alr-dock-brand img{display:none}.alr-dock-brand small{max-width:100px}.alr-dock-actions{gap:5px}.alr-play{padding:8px}}

.alr-player-page{padding:18px;margin:0;background:#fff9f6;font-family:system-ui,sans-serif;color:#37152a}.alr-player-page .alr-dock{position:static;margin:20px 0;max-width:none}.alr-player-help{font-size:13px;line-height:1.6;color:#64505b}

/* v1.0.1: Avoid covering Customer Care and Speak with Bola on desktop. */
@media(min-width:1201px){
  .alr-dock:not(.alr-player-page .alr-dock){
    left:410px; right:320px; max-width:520px;
  }
}
@media(min-width:721px) and (max-width:1200px){
  .alr-dock:not(.alr-player-page .alr-dock){
    left:14px; right:14px; bottom:calc(88px + env(safe-area-inset-bottom,0px));
    max-width:560px;
  }
}
@media(max-width:720px){
  .alr-dock:not(.alr-player-page .alr-dock){
    bottom:calc(88px + env(safe-area-inset-bottom,0px));
  }
}

/* v1.0.2: visitor-friendly, compact status while public radio is disabled.
   Keeps the existing provider integration and the signed-in radio controls. */
.alr-dock-size{
  flex:0 0 auto;display:inline-grid;place-items:center;width:28px;height:28px;
  padding:0;border:1px solid #e1bcc8;border-radius:50%;background:#fff;
  color:#6b1034;font:700 19px/1 system-ui,sans-serif;cursor:pointer;
}
.alr-dock-size:focus-visible{outline:3px solid #b57739;outline-offset:2px}
.alr-dock.alr-compact:not(.alr-player-page .alr-dock){
  max-width:340px;padding:6px 9px;gap:10px;min-height:46px;
}
.alr-dock.alr-compact .alr-dock-actions{display:none}
.alr-dock.alr-compact .alr-dock-brand img{width:28px;height:28px}
.alr-dock.alr-compact .alr-dock-brand strong{font-size:12px}
.alr-dock.alr-compact .alr-dock-brand small{max-width:190px;font-size:10px}
@media(max-width:720px){
  .alr-dock.alr-compact:not(.alr-player-page .alr-dock){max-width:min(300px,calc(100vw - 28px));}
  .alr-dock.alr-compact .alr-dock-brand small{max-width:155px}
}


/* v1.0.3 — a true, visible play control even when the dock is minimised.
   The button is disabled (but visibly recognisable) during private testing.
   Once listening is enabled, the same control plays/pauses the actual stream. */
.alr-dock.alr-compact .alr-dock-actions {
  display:flex; order:-1; align-items:center; flex:0 0 auto;
}
.alr-dock.alr-compact .alr-dock-actions > a { display:none; }
.alr-dock.alr-compact .alr-play {
  display:inline-grid;place-items:center;position:relative;
  flex:0 0 34px;width:34px;height:34px;min-width:34px;
  margin:0;padding:0;border-radius:50%;font-size:0;line-height:0;
  box-shadow:0 2px 6px rgba(89,9,44,.17);
}
.alr-dock.alr-compact .alr-play::before {
  content:"";display:block;width:0;height:0;
  border-top:7px solid transparent;
  border-bottom:7px solid transparent;
  border-left:11px solid #fff;
  transform:translateX(2px);
}
.alr-dock.alr-compact .alr-play[aria-pressed="true"]::before {
  width:11px;height:13px;transform:none;border:0;
  background:linear-gradient(90deg,#fff 0 4px, transparent 4px 7px, #fff 7px 11px);
}
.alr-dock.alr-compact .alr-play:disabled {
  background:#eee1e6; border:1px solid #b999a7; box-shadow:none; cursor:not-allowed;
}
.alr-dock.alr-compact .alr-play:disabled::before { border-left-color:#805569; }
.alr-dock.alr-compact .alr-dock-brand { flex:1 1 auto; min-width:0; }
.alr-dock.alr-compact .alr-dock-size { order:2; flex:0 0 28px; }
.alr-dock.alr-compact .alr-dock-brand span { min-width:0; }
.alr-dock.alr-compact .alr-dock-brand strong {
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.alr-dock.alr-compact .alr-dock-brand small {
  display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
@media(max-width:390px){
  .alr-dock.alr-compact .alr-play { flex-basis:32px;width:32px;min-width:32px;height:32px; }
  .alr-dock.alr-compact .alr-dock-brand img { display:none; }
}
