/* BP Radio widget styles — from the original widget, scoped to #bpradio. */
@font-face{font-family:'BPR Inter';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/Inter-Regular.woff) format('woff')}
@font-face{font-family:'BPR Inter';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/Inter-SemiBold.woff) format('woff')}
@font-face{font-family:'BPR Inter';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/Inter-Bold.woff) format('woff')}
@font-face{font-family:'BPR Inter';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/Inter-ExtraBold.woff) format('woff')}
@font-face{font-family:'BPR Inter';font-style:normal;font-weight:900;font-display:swap;src:url(fonts/Inter-Black.woff) format('woff')}
#bpradio{
  --blanco:#FFFFFF; --negro:#000000; --gris-medio:#333333;
  --rojo:#FF3B30; --verde:#4CAF50; --ambar:#FFA500;
  --cream:#F8F4F0;
  --teal:#28BCB8;
  --yellow:#FCD834;
  --navy:#305878;
}
#bpradio,#bpradio *{margin:0;padding:0;box-sizing:border-box;font-family:var(--brw-font,'Proxima Nova','Inter','BPR Inter','Helvetica Neue',Arial,sans-serif)}
/* Neutralise theme styles for elements inside the widget (component rules below win). */
#bpradio :where(button,input){-webkit-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-shadow:none;color:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:normal;min-height:0;min-width:0;width:auto;height:auto;text-decoration:none;text-transform:none;text-shadow:none;outline-offset:0}
#bpradio :where(button:hover,button:focus){background:none;color:inherit;box-shadow:none}
#bpradio :where(img){max-width:none;height:auto;border:0;border-radius:0;box-shadow:none}
#bpradio :where(ul,li){list-style:none}
#bpradio :where(li)::before,#bpradio :where(li)::marker{content:none}
#bpradio :where(a){color:inherit;box-shadow:none;border:0}
#bpradio :where(svg){max-width:none}
#bpradio{position:fixed;right:var(--brw-x,20px);bottom:calc(var(--brw-y,20px) + var(--brw-lift,0px));z-index:var(--brw-z,9990);transition:bottom .25s ease;touch-action:none;user-select:none;-webkit-user-select:none}
#bpradio.dragging{cursor:grabbing}
#bpradio .brw-compact{
  display:flex;align-items:center;gap:12px;background:var(--navy);color:var(--cream);
  border:2px solid var(--yellow);border-radius:50px;padding:10px 18px 10px 14px;cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,.3);transition:transform .2s,box-shadow .2s;position:relative;
  font-size:12px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;white-space:nowrap
}
#bpradio .brw-compact:hover{transform:scale(1.05);box-shadow:0 6px 16px rgba(0,0,0,.4)}
#bpradio .brw-compact:focus-visible,#bpradio button:focus-visible,#bpradio input:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
#bpradio .brw-compact.live{border-color:var(--rojo);animation:pulse-border 2s infinite}
#bpradio .brw-compact.fallback{border-color:var(--verde)}
#bpradio .brw-compact.off{border-color:var(--gris-medio)}
#bpradio .brw-circle{width:36px;height:36px;border-radius:50%;background:var(--yellow);display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative}
#bpradio .brw-circle svg{width:16px;height:16px;fill:var(--navy)}
#bpradio .brw-compact .i-pause{display:none}
#bpradio.playing .brw-compact .i-play{display:none}
#bpradio.playing .brw-compact .i-pause{display:block}
#bpradio .dot-mini{position:absolute;top:-2px;right:-2px;width:10px;height:10px;border-radius:50%;border:2px solid var(--navy)}
#bpradio .brw-panel{
  position:fixed;width:min(340px,calc(100vw - 16px));
  max-height:calc(100vh - 16px);overflow-y:auto;overscroll-behavior:contain;
  background:var(--cream);color:var(--navy);border:2px solid var(--navy);border-radius:14px;
  font-size:13px;box-shadow:0 6px 16px rgba(0,0,0,.35);display:none;cursor:default;
  transition:width .2s ease
}
#bpradio .brw-panel::before{content:'';display:block;height:5px;border-radius:12px 12px 0 0;background:linear-gradient(90deg,var(--teal),var(--yellow))}
#bpradio .brw-panel.chat-open{width:min(380px,calc(100vw - 16px))}
#bpradio.open .brw-panel{display:block;animation:slideUp .25s ease}
#bpradio .brw-head{padding:14px 40px 12px 15px;display:flex;align-items:center;gap:12px;position:relative}
#bpradio .brw-logo{height:52px;width:52px;object-fit:contain;flex-shrink:0;background:var(--blanco);border-radius:50%;padding:5px;box-shadow:0 1px 4px rgba(48,88,120,.25)}
#bpradio .brw-watermark{position:absolute;right:-18px;bottom:-18px;width:130px;height:130px;object-fit:contain;opacity:.07;pointer-events:none;transform:rotate(-8deg)}
#bpradio .brw-name{font-size:17px;font-weight:900;letter-spacing:.3px;text-transform:uppercase;line-height:1.05;color:var(--teal)}
#bpradio .brw-sub{font-size:11px;color:var(--navy);opacity:.75;font-weight:600;line-height:1.3}
#bpradio .brw-close{position:absolute;top:8px;right:8px;width:32px;height:32px;background:transparent;border:0;color:var(--navy);font-size:22px;cursor:pointer;opacity:.6}
#bpradio .brw-close:hover{opacity:1}
#bpradio .brw-tabs{display:flex;border-top:1px solid rgba(48,88,120,.15);border-bottom:1px solid rgba(48,88,120,.15)}
#bpradio .brw-tab{flex:1;background:transparent;border:0;color:var(--navy);opacity:.45;padding:9px 0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;border-bottom:2px solid transparent}
#bpradio .brw-tab svg{width:18px;height:18px;fill:currentColor}
#bpradio .brw-tab:hover{opacity:.75}
#bpradio .brw-tab[aria-selected="true"]{opacity:1;border-bottom-color:var(--teal)}
#bpradio .brw-body{padding:15px;position:relative;overflow:hidden}
#bpradio .brw-status{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700;margin-bottom:12px;text-transform:uppercase;letter-spacing:.3px}
#bpradio .dot{width:8px;height:8px;border-radius:50%;background:var(--ambar);animation:pulse 1s infinite}
#bpradio .dot.live{background:var(--rojo);animation:pulse 2s infinite}
#bpradio .dot.fallback{background:var(--verde);animation:none}
#bpradio .dot.off{background:#888;animation:none}
#bpradio .brw-row{display:flex;align-items:center;gap:12px}
#bpradio .brw-play{width:50px;height:50px;border-radius:50%;background:var(--teal);border:1px solid var(--teal);display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:transform .2s,background .2s}
#bpradio .brw-play:hover{background:var(--navy);transform:scale(1.05)}
#bpradio .brw-play svg{width:20px;height:20px;fill:var(--blanco)}
#bpradio .brw-play .i-pause{display:none}
#bpradio.playing .brw-play .i-play{display:none}
#bpradio.playing .brw-play .i-pause{display:block}
#bpradio .brw-info{flex:1;min-width:0}
#bpradio .brw-title{font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:3px;color:var(--navy)}
#bpradio .brw-artist{font-size:12px;color:var(--navy);opacity:.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#bpradio .brw-vol{display:flex;align-items:center;gap:10px;margin-top:14px}
#bpradio .brw-mute{background:none;border:0;cursor:pointer;width:28px;height:28px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
#bpradio .brw-mute svg{width:18px;height:18px;fill:var(--navy)}
#bpradio .brw-slider{width:100%;height:4px;-webkit-appearance:none;appearance:none;background:rgba(48,88,120,.2);border-radius:2px}
#bpradio .brw-slider::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;background:var(--teal);border-radius:50%;cursor:pointer}
#bpradio .brw-slider::-moz-range-thumb{width:16px;height:16px;background:var(--teal);border:0;border-radius:50%;cursor:pointer}
#bpradio .brw-next{display:none;align-items:baseline;gap:6px;margin-top:12px;padding:7px 9px;
  background:rgba(40,188,184,.12);border:1px solid rgba(40,188,184,.35);border-radius:8px;font-size:11px;overflow:hidden}
#bpradio .brw-next.show{display:flex}
#bpradio .brw-next b{color:var(--teal);font-weight:800;text-transform:uppercase;letter-spacing:.3px;flex-shrink:0;font-size:10px}
#bpradio .brw-next span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--navy)}
#bpradio .brw-agenda-panel{display:none}
#bpradio .brw-agenda-panel.active{display:block}
#bpradio .agenda-list{list-style:none;max-height:300px;overflow-y:auto}
#bpradio .agenda-day{font-size:10px;text-transform:uppercase;letter-spacing:.4px;font-weight:800;color:var(--navy);opacity:.55;margin:10px 0 2px}
#bpradio .agenda-day:first-child{margin-top:0}
#bpradio .agenda-item{padding:7px 0;border-bottom:1px solid rgba(48,88,120,.12);font-size:12px;display:flex;gap:8px}
#bpradio .agenda-item .time{color:var(--teal);font-weight:700;flex-shrink:0;min-width:46px}
#bpradio .agenda-empty{padding:30px 5px;text-align:center;font-size:12px;color:var(--navy);opacity:.6;line-height:1.5}
#bpradio .brw-foot{text-align:center;padding-top:12px;margin-top:14px;border-top:1px solid rgba(48,88,120,.15);font-size:10px;font-weight:700;color:var(--navy);opacity:.75}
#bpradio .brw-foot a{color:inherit;text-decoration:none}
#bpradio .brw-chat-panel{display:none}
#bpradio .brw-chat-panel.active{display:block}
#bpradio .brw-player-panel.hidden-tab{display:none}
#bpradio .brw-chat-slot{min-height:280px;max-height:60vh;background:var(--blanco)}
#bpradio .brw-chat-slot iframe{width:100%;height:420px;max-height:60vh;border:0;display:block}
#bpradio .brw-chat-placeholder{padding:30px 15px;text-align:center;font-size:12px;color:var(--navy);opacity:.6;line-height:1.5}
@keyframes pulse{0%,100%{opacity:.7}50%{opacity:1}}
@keyframes pulse-border{0%{box-shadow:0 0 0 0 rgba(255,59,48,.7)}70%{box-shadow:0 0 0 10px rgba(255,59,48,0)}100%{box-shadow:0 0 0 0 rgba(255,59,48,0)}}
@keyframes slideUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){#bpradio,#bpradio *{animation:none!important;transition:none!important}}
@media (max-width:350px){#bpradio .brw-compact{padding:8px 14px 8px 12px;font-size:11px}#bpradio .brw-name{font-size:15px}}


/* Plugin additions */
#bpradio [hidden]{display:none!important}
#bpradio.pos-left{right:auto;left:var(--brw-x,20px)}
