/* HUB Tools: [hub_player]. Colours: maroon #7C211E, orange #E4853A, cream #F4EBDC. Font: Roboto. */
.hubp{--m:#7C211E;--o:#E4853A;--c:#F4EBDC;--ink:#2B1A17;--soft:#6b5450;font-family:Roboto,Arial,sans-serif;color:var(--ink);box-sizing:border-box;position:relative}
.hubp *,.hubp *::before,.hubp *::after{box-sizing:border-box}
.hubp button{font:inherit;cursor:pointer}
.hubp-card{background:var(--c);border-radius:18px;padding:22px 24px;box-shadow:0 10px 30px rgba(43,26,23,.22);max-width:620px;margin:0 auto;border-top:6px solid var(--o)}
.hubp-top{text-align:center}
.hubp-logo{display:block;width:min(100%,420px);height:auto;margin:0 auto}
.hubp-h{margin:10px 0 0;font:900 .82rem/1.2 "Roboto Condensed",Roboto,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--m)}
.hubp-main{display:flex;align-items:center;gap:20px;margin:18px 0 14px}
.hubp-play{flex:none;position:relative;width:96px;height:96px;border-radius:50%;border:0;background:var(--o);color:#fff;display:grid;place-items:center;box-shadow:0 6px 0 #b9612a,0 10px 22px rgba(124,33,30,.35);transition:transform .08s,background .15s}
.hubp-play:hover{background:#ec9450}
.hubp-play:active{transform:translateY(3px);box-shadow:0 3px 0 #b9612a,0 6px 14px rgba(124,33,30,.35)}
.hubp-play:focus-visible,.hubp-st:focus-visible,.hubp-mute:focus-visible,.hubp-range:focus-visible,.hubp-tap-b:focus-visible{outline:3px solid var(--m);outline-offset:3px}
.hubp-play svg{width:46%;height:46%;fill:currentColor}
.hubp-i-pause,.hubp[data-status=playing] .hubp-i-play,.hubp[data-status=connecting] .hubp-i-play,.hubp[data-status=reconnecting] .hubp-i-play{display:none}
.hubp[data-status=playing] .hubp-i-pause,.hubp[data-status=connecting] .hubp-i-pause,.hubp[data-status=reconnecting] .hubp-i-pause{display:block}
.hubp-spin{position:absolute;inset:-7px;border-radius:50%;border:4px solid transparent;border-top-color:var(--m);opacity:0}
.hubp[data-status=connecting] .hubp-spin,.hubp[data-status=reconnecting] .hubp-spin{opacity:1;animation:hubp-spin 1s linear infinite}
@keyframes hubp-spin{to{transform:rotate(360deg)}}
.hubp-info{min-width:0;flex:1}
.hubp-live{margin:0 0 6px;display:flex;align-items:center;gap:8px;font:900 .8rem/1 "Roboto Condensed",Roboto,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--soft)}
.hubp-live-t{background:var(--soft);color:#fff;border-radius:4px;padding:3px 6px}
.hubp[data-status=playing] .hubp-live-t{background:#c62828}
.hubp-dot{width:10px;height:10px;border-radius:50%;background:#b8a9a5}
.hubp[data-status=playing] .hubp-dot{background:#c62828;animation:hubp-pulse 1.6s ease-in-out infinite}
@keyframes hubp-pulse{50%{opacity:.35}}
.hubp-stn{color:var(--m);font-size:1rem;letter-spacing:.08em}
.hubp-np{display:flex;align-items:center;gap:12px}
.hubp-art{flex:none;width:64px;height:64px;border-radius:8px;overflow:hidden;background:#e7d9c4}
.hubp-art img{width:100%;height:100%;object-fit:cover;display:block}
.hubp-art[hidden]{display:none}
.hubp-now{margin:0;font-weight:700;font-size:1.15rem;line-height:1.3;color:var(--ink);overflow-wrap:anywhere}
.hubp-status{margin:6px 0 0;min-height:1.2em;font-size:.88rem;color:var(--m);font-weight:500}
.hubp-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 18px;padding-top:14px;border-top:1px solid rgba(124,33,30,.18)}
.hubp-stations{display:inline-flex;background:#fff;border-radius:999px;padding:4px;box-shadow:inset 0 0 0 2px rgba(124,33,30,.25)}
.hubp-st{border:0;background:transparent;color:var(--m);font-weight:700;font-size:.95rem;padding:9px 18px;border-radius:999px;min-height:40px}
.hubp-st[aria-pressed=true]{background:var(--m);color:#fff}
.hubp-vol{display:flex;align-items:center;gap:10px;flex:1;min-width:170px;max-width:280px}
.hubp-mute{flex:none;width:42px;height:42px;border:0;border-radius:50%;background:transparent;color:var(--m);display:grid;place-items:center}
.hubp-mute:hover{background:rgba(124,33,30,.08)}
.hubp-mute svg{width:26px;height:26px;fill:currentColor}
.hubp-i-mute,.hubp.is-muted .hubp-i-vol{display:none}
.hubp.is-muted .hubp-i-mute{display:block}
.hubp-range{--v:80%;flex:1;-webkit-appearance:none;appearance:none;height:8px;border-radius:8px;background:linear-gradient(to right,var(--o) var(--v),#dccbb6 var(--v));outline:none;margin:0}
.hubp-range::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;border-radius:50%;background:var(--m);border:3px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.3)}
.hubp-range::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:var(--m);border:3px solid #fff}
.hubp-sponsor{margin-top:16px;padding-top:14px;border-top:1px solid rgba(124,33,30,.18);display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;text-align:center}
.hubp-by{font:700 .75rem/1 "Roboto Condensed",Roboto,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--soft)}
.hubp-slogo{display:block;max-height:56px;max-width:220px;width:auto;height:auto}
.hubp-sname{font:900 1.15rem/1.2 Roboto,sans-serif;color:var(--m)}
.hubp-slink{text-decoration:none}
.hubp.is-tuning .hubp-now{animation:hubp-fade .5s}
@keyframes hubp-fade{from{opacity:.2}}
.hubp-tap{position:absolute;inset:0;display:grid;place-items:center;background:rgba(124,33,30,.96);border-radius:18px;z-index:2}
.hubp-tap[hidden]{display:none}
.hubp-tap-b{display:flex;flex-direction:column;align-items:center;gap:12px;border:0;background:none;color:#fff;font-weight:900;font-size:1.3rem}
.hubp-tap-i{width:90px;height:90px;border-radius:50%;background:var(--o);display:grid;place-items:center;font-size:2.4rem;padding-left:6px}
@media(prefers-reduced-motion:reduce){.hubp *{animation:none!important;transition:none!important}}

/* ---------- full-screen in-store page ---------- */
html.hubp-doc,.hubp-body{margin:0;min-height:100%;height:100%}
.hubp-doc--full .hubp-body{background:radial-gradient(120% 90% at 50% 0%,#9a2f2a 0%,#7C211E 45%,#4d1412 100%);display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom))}
.hubp--full{width:100%;max-width:760px}
.hubp--full .hubp-card{max-width:none;padding:clamp(20px,4vw,40px);border-radius:24px}
.hubp--full .hubp-logo{width:min(100%,520px)}
.hubp--full .hubp-h{font-size:clamp(.8rem,1.6vw,1rem)}
.hubp--full .hubp-play{width:clamp(96px,16vw,150px);height:clamp(96px,16vw,150px)}
.hubp--full .hubp-now{font-size:clamp(1.15rem,2.6vw,1.7rem)}
.hubp--full .hubp-art{width:clamp(64px,10vw,96px);height:clamp(64px,10vw,96px)}
.hubp--full .hubp-slogo{max-height:80px;max-width:280px}
.hubp--full .hubp-sname{font-size:clamp(1.15rem,2.6vw,1.6rem)}
.hubp--full .hubp-tap{border-radius:24px}


@media(max-width:480px){
 .hubp-card{padding:18px 16px}
 .hubp-main{gap:14px}
 .hubp-play{width:80px;height:80px}
 .hubp-controls{flex-direction:column;align-items:stretch}
 .hubp-stations{align-self:center}
 .hubp-vol{max-width:none}
}
.hubp-doc--full{background:#4d1412}
@media(max-width:480px){
 .hubp--full .hubp-main{flex-direction:column;text-align:center}
 .hubp--full .hubp-live,.hubp--full .hubp-np{justify-content:center}
 .hubp--full .hubp-np{flex-direction:column}
}
.hubp-range{min-width:0;width:100%}
/* inside a normal page: don't let the theme's h2/p/button styles leak in */
.hubp h2.hubp-h{margin:10px 0 0;padding:0;font:900 .82rem/1.2 "Roboto Condensed",Roboto,sans-serif!important;letter-spacing:.16em!important;text-transform:uppercase;color:var(--m);border:0;background:none}
.hubp p{margin-left:0;margin-right:0}

/* ---------- compact iframe for sponsors' sites (?embed=1): one slim bar, 96 px high ---------- */
.hubp-doc--embed,.hubp-doc--embed .hubp-body{background:transparent;height:auto;min-height:0}
.hubp-doc--embed .hubp-body{padding:4px}
.hubp.hubp--embed .hubp-card{max-width:none;margin:0;padding:10px 12px;border-radius:12px;border-top:0;border-left:5px solid var(--o);box-shadow:0 2px 8px rgba(43,26,23,.18);display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"play info ctrl" "play spon ctrl";column-gap:12px;row-gap:2px;align-items:center}
.hubp--embed .hubp-top{display:none}
.hubp--embed .hubp-main,.hubp--embed .hubp-np{display:contents}
.hubp--embed .hubp-play{grid-area:play;width:56px;height:56px;box-shadow:0 3px 0 #b9612a}
.hubp--embed .hubp-play:active{box-shadow:0 1px 0 #b9612a}
.hubp--embed .hubp-info{grid-area:info;min-width:0}
.hubp--embed .hubp-live{margin:0 0 2px;font-size:.68rem}
.hubp--embed .hubp-live-t{padding:2px 5px}
.hubp--embed .hubp-stn{font-size:.78rem}
.hubp--embed .hubp-art{display:none!important}
.hubp--embed .hubp-now{font-size:.9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hubp--embed .hubp-status{margin:0;min-height:0;font-size:.72rem}
.hubp--embed .hubp-status:empty{display:none}
.hubp--embed .hubp-controls{grid-area:ctrl;border:0;padding:0;flex-direction:column!important;flex-wrap:nowrap;align-items:flex-end!important;gap:6px}
.hubp--embed .hubp-stations{align-self:auto!important;padding:3px;box-shadow:inset 0 0 0 1.5px rgba(124,33,30,.25)}
.hubp--embed .hubp-st{padding:4px 10px;min-height:0;font-size:.75rem}
.hubp--embed .hubp-vol{flex:none;min-width:0;width:140px;max-width:none;gap:4px}
.hubp--embed .hubp-mute{width:28px;height:28px}
.hubp--embed .hubp-mute svg{width:20px;height:20px}
.hubp--embed .hubp-range{height:6px}
.hubp--embed .hubp-range::-webkit-slider-thumb{width:16px;height:16px;border-width:2px}
.hubp--embed .hubp-sponsor{grid-area:spon;margin:0;padding:0;border:0;justify-content:flex-start;gap:6px;flex-wrap:nowrap;min-width:0;white-space:nowrap;overflow:hidden}
.hubp--embed .hubp-by{font-size:.6rem}
.hubp--embed .hubp-sname{font-size:.8rem;overflow:hidden;text-overflow:ellipsis}
.hubp--embed .hubp-slogo{max-height:22px;max-width:110px}
.hubp--embed .hubp-tap{border-radius:12px}
.hubp--embed .hubp-tap-b{flex-direction:row}
.hubp--embed .hubp-tap-i{width:44px;height:44px;font-size:1.2rem}
.hubp.hubp--embed .hubp-tap-b{font-size:1rem}
.hubp--embed h2.hubp-h{display:none}
@media(max-width:420px){
 .hubp--embed .hubp-vol{width:auto}
 .hubp--embed .hubp-range{display:none}
 .hubp--embed .hubp-controls{flex-direction:column!important}
 .hubp.hubp--embed .hubp-card{column-gap:10px;padding:8px 10px}
 .hubp--embed .hubp-play{width:48px;height:48px}
}
.hubp--embed .hubp-live{white-space:nowrap;overflow:hidden}
@media(max-width:420px){
 .hubp--embed .hubp-dot{display:none}
 .hubp--embed .hubp-st{padding:4px 8px;font-size:.7rem}
 .hubp--embed .hubp-by{display:none}
 .hubp--embed .hubp-sname::before{content:"With ";font-weight:500;color:var(--soft)}
}
