/* SJB R11 — player duplo SJB Notícias / SJB Cristã */
:root{--player-h:66px}
body.has-fixed-radio-player{padding-bottom:calc(var(--player-h) + 10px)!important}

.fixed-radio-player{
  --radio-accent:#facc15;
  --radio-accent-soft:rgba(250,204,21,.13);
  --radio-edge:#f2c400;
  height:var(--player-h)!important;
  padding:0!important;
  overflow:visible;
  background:#05070a!important;
  border-top:2px solid var(--radio-edge)!important;
  box-shadow:0 -12px 36px rgba(0,0,0,.34)!important;
  transition:background-color .35s ease,border-color .35s ease,box-shadow .35s ease;
}
.fixed-radio-player.station-gospel{
  --radio-accent:#d8b4fe;
  --radio-accent-soft:rgba(192,132,252,.16);
  --radio-edge:#a855f7;
  background:#130b24!important;
  box-shadow:0 -12px 42px rgba(76,29,149,.38)!important;
}
.fixed-radio-player .sjb-radio-bar{
  height:100%;display:flex;align-items:center;gap:10px;
  padding:0 max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left));
  background:radial-gradient(circle at 18% -50%,var(--radio-accent-soft),transparent 38%),linear-gradient(100deg,#030405 0%,#0b0f16 58%,#050607 100%)!important;
  transition:background .35s ease;
}
.fixed-radio-player.station-gospel .sjb-radio-bar{
  background:radial-gradient(circle at 18% -50%,rgba(216,180,254,.26),transparent 40%),radial-gradient(circle at 82% 120%,rgba(126,34,206,.35),transparent 34%),linear-gradient(100deg,#0c0714 0%,#201036 56%,#130b24 100%)!important;
}
.sjb-radio-stage{height:100%;display:flex;align-items:center;min-width:0;flex:1}
.sjb-radio-controls{height:100%;display:flex;align-items:center;gap:9px;min-width:0;width:100%}
.sjb-radio-controls[hidden],.sjb-radio-embed[hidden],.sjb-radio-unavailable[hidden],.sjb-radio-cta[hidden],.sjb-station-switch[hidden]{display:none!important}
.sjb-radio-toggle{
  width:42px!important;height:42px!important;flex:0 0 42px!important;border-radius:12px!important;
  border:1px solid color-mix(in srgb,var(--radio-accent) 48%,transparent)!important;
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.012))!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 7px 20px rgba(0,0,0,.28)!important;
  transition:transform .18s ease,border-color .25s ease,box-shadow .25s ease!important;
}
.sjb-radio-toggle:hover{border-color:var(--radio-accent)!important;transform:translateY(-1px);box-shadow:0 0 22px var(--radio-accent-soft)!important}
.sjb-radio-toggle:focus-visible,.sjb-radio-mute:focus-visible,.sjb-station-switch:focus-visible{outline:2px solid #fff;outline-offset:2px}
.sjb-play-mark{border-left-color:var(--radio-accent)!important;filter:drop-shadow(0 0 6px var(--radio-accent-soft))!important}
.sjb-pause-mark i{background:var(--radio-accent)!important}
.sjb-radio-pulse{flex:0 0 auto}
.sjb-radio-pulse i{background:var(--radio-accent)!important}
.sjb-radio-live{display:inline-flex!important;align-items:center;gap:7px;flex:0 0 auto;color:#cbd5e1;font-size:.61rem;font-weight:850;letter-spacing:.075em;text-transform:uppercase;white-space:nowrap}
.sjb-radio-live>i{background:var(--radio-accent)!important;box-shadow:0 0 0 4px var(--radio-accent-soft)!important}
.fixed-radio-player.is-playing .sjb-radio-live>i{animation:sjbLiveGlow 1.5s ease-in-out infinite}
.sjb-radio-identity{min-width:0;display:flex;flex-direction:column;justify-content:center;border-left:1px solid rgba(255,255,255,.1);padding-left:10px;line-height:1.08}
.sjb-radio-identity strong{max-width:190px;color:#fff;font-size:.83rem;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sjb-radio-identity small{max-width:230px;margin-top:3px;color:#94a3b8;font-size:.62rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.station-gospel .sjb-radio-identity small{color:#d8b4fe}
.sjb-radio-mute{margin-left:auto!important;flex:0 0 auto;color:#94a3b8!important}
.sjb-radio-mute:hover{color:var(--radio-accent)!important;background:var(--radio-accent-soft)!important}
.fixed-radio-player.is-buffering .sjb-radio-pulse{opacity:.3}

.sjb-radio-embed{height:100%;min-width:0;flex:1;overflow:hidden}
.sjb-radio-embed iframe,.sjb-radio-embed embed,.sjb-radio-embed object{width:100%!important;height:62px!important;min-height:62px!important;border:0!important;border-radius:0!important;display:block!important}
.sjb-radio-unavailable{color:#94a3b8!important;font-size:.76rem!important;padding-left:10px!important}
.sjb-radio-cta{flex:0 0 auto;max-width:126px;padding:7px 10px!important;border:1px solid rgba(255,255,255,.12)!important;border-left:1px solid rgba(255,255,255,.12)!important;border-radius:9px;color:#e5e7eb!important;background:rgba(255,255,255,.04);font-size:.67rem!important;font-weight:750;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sjb-radio-cta:hover{border-color:var(--radio-accent)!important;color:var(--radio-accent)!important;background:var(--radio-accent-soft)}

.sjb-station-switch{
  position:relative;isolation:isolate;height:50px;min-width:244px;max-width:280px;flex:0 0 auto;
  display:grid;grid-template-columns:34px minmax(0,1fr) 17px;align-items:center;gap:9px;
  padding:6px 11px 6px 8px;border-radius:14px;border:1px solid rgba(192,132,252,.52);
  color:#fff;text-align:left;background:radial-gradient(circle at 15% 0,rgba(216,180,254,.18),transparent 42%),linear-gradient(120deg,rgba(76,29,149,.76),rgba(126,34,206,.58));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035),0 0 24px rgba(126,34,206,.18);
  overflow:hidden;transition:transform .2s ease,border-color .25s ease,box-shadow .25s ease,background .35s ease;
}
.sjb-station-switch::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.1) 48%,transparent 70%);transform:translateX(-110%);transition:transform .55s ease}
.sjb-station-switch:hover{transform:translateY(-1px);border-color:#d8b4fe;box-shadow:0 0 30px rgba(168,85,247,.34)}
.sjb-station-switch:hover::before{transform:translateX(110%)}
.station-gospel .sjb-station-switch{border-color:rgba(250,204,21,.5);background:radial-gradient(circle at 15% 0,rgba(250,204,21,.16),transparent 42%),linear-gradient(120deg,rgba(3,4,5,.96),rgba(17,24,39,.9) 62%,rgba(29,78,216,.62));box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),0 0 24px rgba(250,204,21,.1)}
.station-gospel .sjb-station-switch:hover{border-color:#facc15;box-shadow:0 0 28px rgba(250,204,21,.2)}
.sjb-switch-orbit{position:relative;width:32px;height:32px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:50%}
.sjb-switch-orbit::before{content:"";width:8px;height:8px;border-radius:50%;background:#d8b4fe;box-shadow:0 0 11px #c084fc}
.station-gospel .sjb-switch-orbit::before{background:#facc15;box-shadow:0 0 11px rgba(250,204,21,.7)}
.sjb-switch-orbit i{position:absolute;inset:3px;border:1px solid rgba(216,180,254,.4);border-top-color:transparent;border-radius:50%;animation:sjbOrbit 5s linear infinite}
.station-gospel .sjb-switch-orbit i{border-color:rgba(250,204,21,.38);border-top-color:transparent}
.sjb-switch-orbit i:last-child{inset:7px;animation-direction:reverse;animation-duration:3.6s}
.sjb-switch-copy{min-width:0;display:flex;flex-direction:column;line-height:1.05}
.sjb-switch-copy small{margin-bottom:4px;color:#d8b4fe;font-size:.57rem;font-weight:700;letter-spacing:.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.station-gospel .sjb-switch-copy small{color:#fde68a}
.sjb-switch-copy strong{font-size:.72rem;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sjb-switch-arrow{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.78;transition:transform .2s ease}
.sjb-station-switch:hover .sjb-switch-arrow{transform:translateX(2px)}

html[data-radio-station="gospel"] body,body.radio-station-gospel{
  --brand:#3b0764;--brand-2:#7e22ce;--brand-3:#c084fc;--accent:#a855f7;
}
html[data-radio-station="gospel"] .site-navbar,body.radio-station-gospel .site-navbar{background:linear-gradient(118deg,rgba(20,8,38,.97),rgba(76,29,149,.96) 58%,rgba(126,34,206,.94))!important;border-bottom-color:rgba(216,180,254,.22)!important;box-shadow:0 12px 38px rgba(59,7,100,.24)!important}
html[data-radio-station="gospel"] .radio-hero,body.radio-station-gospel .radio-hero{background-image:linear-gradient(rgba(35,9,61,.6),rgba(59,7,100,.64)),var(--theme-bg-top),radial-gradient(circle at 16% 20%,rgba(216,180,254,.3),transparent 30%),radial-gradient(circle at 86% 12%,rgba(168,85,247,.34),transparent 32%),linear-gradient(135deg,#160b2d 0%,#4c1d95 48%,#7e22ce 76%,#a855f7 100%)!important;background-position:center!important;background-size:cover!important}
html[data-radio-station="gospel"] .btn-primary,body.radio-station-gospel .btn-primary{background:linear-gradient(135deg,#4c1d95,#7e22ce,#c084fc)!important;box-shadow:0 10px 26px rgba(126,34,206,.26)!important}
html[data-radio-station="gospel"] .section-title::before,html[data-radio-station="gospel"] .radio-module-title::before,body.radio-station-gospel .section-title::before,body.radio-station-gospel .radio-module-title::before{background:linear-gradient(180deg,#d8b4fe,#9333ea)!important}
html[data-radio-station="gospel"] .mobile-quick-link.active,html[data-radio-station="gospel"] .mobile-quick-link:focus,html[data-radio-station="gospel"] .mobile-quick-link:hover,body.radio-station-gospel .mobile-quick-link.active,body.radio-station-gospel .mobile-quick-link:focus,body.radio-station-gospel .mobile-quick-link:hover{color:#7e22ce!important;background:rgba(168,85,247,.09)!important}
html[data-radio-station="gospel"] .module-icon,body.radio-station-gospel .module-icon{background:linear-gradient(135deg,rgba(216,180,254,.22),rgba(126,34,206,.15))!important}
.site-navbar,.radio-hero,.btn-primary,.section-title::before,.radio-module-title::before,.module-icon{transition:background-color .35s ease,border-color .35s ease,box-shadow .35s ease,color .35s ease}

@keyframes sjbOrbit{to{transform:rotate(360deg)}}
@keyframes sjbLiveGlow{0%,100%{box-shadow:0 0 0 4px var(--radio-accent-soft)}50%{box-shadow:0 0 0 7px transparent}}

@media(max-width:1050px){
  .sjb-radio-identity small,.sjb-radio-cta{display:none!important}
  .sjb-radio-identity strong{max-width:145px}
  .sjb-station-switch{min-width:224px}
}
@media(max-width:767.98px){
  :root{--player-h:62px}
  .fixed-radio-player .sjb-radio-bar{gap:6px;padding-left:max(7px,env(safe-area-inset-left));padding-right:max(7px,env(safe-area-inset-right))}
  .sjb-radio-controls{gap:6px}
  .sjb-radio-toggle{width:40px!important;height:40px!important;flex-basis:40px!important}
  .sjb-radio-live span{display:none}
  .sjb-radio-identity{padding-left:7px}
  .sjb-radio-identity strong{max-width:118px;font-size:.77rem}
  .sjb-radio-pulse{gap:2px!important}
  .sjb-radio-pulse i:nth-child(n+4){display:none}
  .sjb-station-switch{height:48px;min-width:182px;max-width:190px;grid-template-columns:30px minmax(0,1fr) 14px;gap:7px;padding:5px 8px 5px 6px;border-radius:13px}
  .sjb-switch-orbit{width:29px;height:29px}.sjb-switch-copy strong{font-size:.67rem}.sjb-switch-copy small{font-size:.53rem}.sjb-switch-arrow{width:14px}
  .sjb-radio-embed iframe,.sjb-radio-embed embed,.sjb-radio-embed object{height:58px!important;min-height:58px!important}
  .pwa-floating-install{bottom:calc(var(--player-h) + 8px)!important}
}
@media(max-width:540px){
  .sjb-radio-pulse{display:none!important}
  .sjb-radio-identity strong{max-width:94px;font-size:.72rem}
  .sjb-radio-mute{width:30px!important;height:30px!important}
  .sjb-station-switch{min-width:148px;max-width:154px;grid-template-columns:26px minmax(0,1fr) 12px;gap:5px;padding-left:5px;padding-right:6px}
  .sjb-switch-orbit{width:26px;height:26px}.sjb-switch-copy small{display:none}.sjb-switch-copy strong{font-size:.64rem;line-height:1.12;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.sjb-switch-arrow{width:12px}
}
@media(max-width:390px){
  .fixed-radio-player .sjb-radio-bar{gap:4px;padding-left:max(5px,env(safe-area-inset-left));padding-right:max(5px,env(safe-area-inset-right))}
  .sjb-radio-toggle{width:38px!important;height:38px!important;flex-basis:38px!important}
  .sjb-radio-identity{border-left:0;padding-left:1px}.sjb-radio-identity strong{max-width:76px;font-size:.68rem}
  .sjb-radio-mute{width:27px!important;height:27px!important}.sjb-radio-mute svg{width:16px!important;height:16px!important}
  .sjb-station-switch{min-width:134px;max-width:138px;grid-template-columns:24px minmax(0,1fr);padding-right:5px}.sjb-switch-orbit{width:24px;height:24px}.sjb-switch-arrow{display:none}
}
@media(prefers-reduced-motion:reduce){
  .sjb-switch-orbit i,.fixed-radio-player.is-playing .sjb-radio-live>i{animation:none!important}
  .sjb-station-switch,.fixed-radio-player,.fixed-radio-player .sjb-radio-bar,.site-navbar,.radio-hero,.btn-primary{transition:none!important}
}
