/* RPIT player v2: glass bar + compact panel (desktop) / bottom sheet (phone). Never takes over the page. */
#rp2{--g-bg:rgba(255,255,255,.66);--g-bd:rgba(255,255,255,.6);--g-ink:#0b2b30;--g-mut:#587b86;--g-acc:#128fa4;--g-soft:rgba(11,43,48,.07);--g-shadow:0 12px 44px rgba(11,43,48,.25);font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;color:var(--g-ink)}
@media(prefers-color-scheme:dark){#rp2{--g-bg:rgba(22,30,34,.68);--g-bd:rgba(255,255,255,.14);--g-ink:#eef6f7;--g-mut:#9db4ba;--g-acc:#43c1d6;--g-soft:rgba(255,255,255,.08);--g-shadow:0 12px 44px rgba(0,0,0,.5)}}
html[data-theme=dark] #rp2{--g-bg:rgba(22,30,34,.68);--g-bd:rgba(255,255,255,.14);--g-ink:#eef6f7;--g-mut:#9db4ba;--g-acc:#43c1d6;--g-soft:rgba(255,255,255,.08);--g-shadow:0 12px 44px rgba(0,0,0,.5)}
html[data-theme=light] #rp2{--g-bg:rgba(255,255,255,.66);--g-bd:rgba(255,255,255,.6);--g-ink:#0b2b30;--g-mut:#587b86;--g-acc:#128fa4;--g-soft:rgba(11,43,48,.07);--g-shadow:0 12px 44px rgba(11,43,48,.25)}
#rp2 *{box-sizing:border-box}#rp2 button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;padding:0;-webkit-tap-highlight-color:transparent}
#rp2 svg{display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}#rp2 svg .f{fill:currentColor;stroke:none}
#rp2 .rp2-glass{background:var(--g-bg);-webkit-backdrop-filter:blur(24px) saturate(1.7);backdrop-filter:blur(24px) saturate(1.7);border:1px solid var(--g-bd);box-shadow:var(--g-shadow),inset 0 1px 0 rgba(255,255,255,.35)}
/* ---------- the bar ---------- */
#rp2 .rp2-bar{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));transform:translate(-50%,140%);width:min(660px,calc(100vw - 24px));z-index:9000;display:flex;align-items:center;gap:10px;padding:9px 10px 11px 9px;border-radius:22px;transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .25s;opacity:0;pointer-events:none}
#rp2[data-view=bar] .rp2-bar{transform:translate(-50%,0);opacity:1;pointer-events:auto}
#rp2 .rp2-open{display:flex;align-items:center;gap:11px;flex:1;min-width:0;text-align:left}#rp2 .rp2-art{width:46px;height:46px;border-radius:12px;object-fit:cover;flex:none;background:var(--g-soft)}
#rp2 .rp2-txt{min-width:0;display:flex;flex-direction:column;gap:2px}#rp2 .rp2-t{font-weight:700;font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#rp2 .rp2-s{font-size:12px;color:var(--g-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#rp2 .rp2-ctl{display:flex;align-items:center;gap:2px;flex:none}#rp2 .rp2-ib{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;transition:background .15s}#rp2 .rp2-ib:hover{background:var(--g-soft)}#rp2 .rp2-ib svg{width:20px;height:20px}
#rp2 .rp2-play{width:46px;height:46px;background:var(--g-ink);color:var(--g-bg)!important;border-radius:50%;display:grid;place-items:center}#rp2 .rp2-play:hover{background:var(--g-ink)!important}#rp2 .rp2-play svg{width:20px;height:20px}
#rp2 .rp2-x{color:#d6384a}
#rp2 .rp2-prog{position:absolute;left:16px;right:16px;bottom:4px;height:3px;border-radius:3px;background:var(--g-soft);overflow:hidden}#rp2 .rp2-prog i{display:block;height:100%;width:0;background:var(--g-acc);border-radius:3px}
/* ---------- the panel (desktop card, phone sheet) ---------- */
#rp2 .rp2-panel{position:fixed;right:20px;bottom:calc(14px + env(safe-area-inset-bottom));width:392px;max-height:min(690px,calc(100vh - 40px));z-index:9100;border-radius:26px;display:flex;flex-direction:column;overflow:hidden;opacity:0;transform:translateY(24px) scale(.98);pointer-events:none;transition:transform .3s cubic-bezier(.2,.8,.2,1),opacity .2s}
#rp2[data-view=panel] .rp2-panel{opacity:1;transform:none;pointer-events:auto}
#rp2 .rp2-ph{display:flex;align-items:center;justify-content:space-between;padding:12px 12px 4px 18px}#rp2 .rp2-ph b{font-size:13px;letter-spacing:.4px;text-transform:uppercase;color:var(--g-mut)}#rp2 .rp2-ph div{display:flex;gap:2px}
#rp2 .rp2-pb{overflow:auto;padding:6px 18px 18px;overscroll-behavior:contain}
#rp2 .rp2-bigart{display:block;width:min(220px,60%);aspect-ratio:1;margin:6px auto 14px;border-radius:20px;object-fit:cover;box-shadow:0 14px 34px rgba(0,0,0,.28)}
#rp2 .rp2-bt{font-weight:800;font-size:18px;line-height:1.2;text-align:center;margin:0 0 4px;text-decoration:none;display:block;color:inherit}#rp2 .rp2-bs{text-align:center;color:var(--g-mut);font-size:13px;margin:0 0 12px}
#rp2 .rp2-seek{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--g-mut);font-variant-numeric:tabular-nums}#rp2 .rp2-seek input{flex:1;accent-color:var(--g-acc);height:22px}
#rp2 .rp2-trans{display:flex;justify-content:center;align-items:center;gap:6px;margin:6px 0 10px}#rp2 .rp2-trans .rp2-ib{width:46px;height:46px}#rp2 .rp2-trans .rp2-play{width:58px;height:58px}#rp2 .rp2-trans .rp2-play svg{width:24px;height:24px}
#rp2 .rp2-row{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}#rp2 .rp2-pill{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border-radius:99px;background:var(--g-soft);font-weight:700;font-size:13px}#rp2 .rp2-pill svg{width:16px;height:16px}#rp2 .rp2-pill:hover{background:rgba(127,127,127,.2)}
#rp2 .rp2-seg{display:flex;background:var(--g-soft);border-radius:99px;padding:3px;gap:2px;width:max-content;margin:0 auto 14px}#rp2 .rp2-seg button{height:34px;padding:0 16px;border-radius:99px;font-weight:700;font-size:13px;color:var(--g-mut)}#rp2 .rp2-seg button.on{background:var(--g-ink);color:var(--g-bg)}
#rp2 .rp2-h{display:flex;justify-content:space-between;align-items:center;margin:6px 0 8px;font-size:12px;letter-spacing:.5px;text-transform:uppercase;color:var(--g-mut);font-weight:700}#rp2 .rp2-h button{text-transform:none;letter-spacing:0;font-size:12px;color:var(--g-acc);font-weight:700}
#rp2 .rp2-q{list-style:none;margin:0;padding:0;display:grid;gap:6px}#rp2 .rp2-q li{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:14px;background:var(--g-soft)}#rp2 .rp2-q li.cur{outline:2px solid var(--g-acc)}
#rp2 .rp2-q img{width:40px;height:40px;border-radius:9px;object-fit:cover;flex:none}#rp2 .rp2-q .qt{flex:1;min-width:0;font-size:13px;font-weight:600;line-height:1.25;text-align:left;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#rp2 .rp2-q .qt small{display:block;font-weight:500;color:var(--g-mut)}
#rp2 .rp2-q .rp2-ib{width:30px;height:30px}#rp2 .rp2-q .rp2-ib svg{width:16px;height:16px}#rp2 .rp2-empty{font-size:13px;color:var(--g-mut);margin:2px 0 10px}
#rp2 .rp2-scrim{position:fixed;inset:0;z-index:9050;background:rgba(5,20,24,.38);opacity:0;pointer-events:none;transition:opacity .25s;display:none}
/* ---------- phones: bar full width, panel = bottom sheet ---------- */
@media(max-width:640px){
 #rp2 .rp2-bar{width:calc(100vw - 16px);bottom:calc(8px + env(safe-area-inset-bottom));padding:8px 8px 10px 8px}
 #rp2 .rp2-art{width:42px;height:42px}#rp2 .rp2-ib{width:38px;height:38px}#rp2 .rp2-play{width:44px;height:44px}
 #rp2 .rp2-panel{right:0;left:0;bottom:0;width:100%;max-height:88vh;border-radius:28px 28px 0 0;transform:translateY(100%)}
 #rp2[data-view=panel] .rp2-panel{transform:none}
 #rp2 .rp2-scrim{display:block}#rp2[data-view=panel] .rp2-scrim{opacity:1;pointer-events:auto}
 #rp2 .rp2-ph::before{content:"";position:absolute;left:50%;top:7px;width:38px;height:4px;border-radius:4px;background:var(--g-mut);opacity:.5;transform:translateX(-50%)}
}
/* keep the site's own floating buttons clear of the player */
body.rp2-on{padding-bottom:calc(var(--rp2-h,78px) + 18px)}
body.rp2-on .fab{bottom:calc(var(--rp2-h,78px) + 30px)!important}
body.rp2-on .fx-pill{bottom:calc(var(--rp2-h,78px) + 24px)!important}
@media(max-width:640px){body.rp2-on .fab{width:58px;height:58px;right:16px}body.rp2-on .fx-pill{left:12px}}
@media(prefers-reduced-motion:reduce){#rp2 .rp2-bar,#rp2 .rp2-panel{transition:none}}
/* page-navigation progress line */
#nvBar{position:fixed;left:0;top:0;height:3px;width:0;background:linear-gradient(90deg,#128fa4,#9e52d5);z-index:9999;transition:width .3s,opacity .3s;opacity:0}

#rp2 .rp2-gl,.mk-gl{display:inline-flex;align-items:center;background:var(--g-soft,rgba(11,43,48,.08));border-radius:99px;padding:2px;gap:1px;flex:none}
#rp2 .rp2-gl button,.mk-gl button{height:28px;min-width:34px;padding:0 9px;border-radius:99px;font:800 12px system-ui,sans-serif;color:var(--g-mut,#587b86);cursor:pointer;border:0;background:none}
#rp2 .rp2-gl button.on,.mk-gl button.on{background:var(--g-ink,#0b2b30);color:var(--g-bg,#fff)}
#rp2 .rp2-lh{text-align:center;font-size:11px;letter-spacing:.5px;text-transform:uppercase;color:var(--g-mut);font-weight:700;margin:2px 0 6px}
#rp2 .rp2-seg{margin-bottom:12px}
@media(max-width:640px){#rp2 .rp2-ctl [data-a=mute]{display:none}#rp2 .rp2-gl button{min-width:30px;padding:0 7px}}
#rp2 .rp2-panel.rp2-glass{background:rgba(255,255,255,.9)}
@media(prefers-color-scheme:dark){#rp2 .rp2-panel.rp2-glass{background:rgba(20,28,32,.92)}}
html[data-theme=dark] #rp2 .rp2-panel.rp2-glass{background:rgba(20,28,32,.92)}
html[data-theme=light] #rp2 .rp2-panel.rp2-glass{background:rgba(255,255,255,.9)}

#rp2 .rp2-fab{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:8900;display:none;align-items:center;gap:4px;padding:4px 5px 4px 4px;border-radius:99px}
#rp2[data-view=hidden] .rp2-fab{display:inline-flex}
#rp2 .rp2-fab-b{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px 0 12px;border-radius:99px;background:var(--g-ink);color:var(--g-bg);font-weight:800;font-size:14px}
#rp2 .rp2-fab-b svg{width:18px;height:18px}
@media(max-width:480px){#rp2 .rp2-fab{bottom:calc(14px + env(safe-area-inset-bottom))}#rp2 .rp2-fab-b{height:38px;padding:0 12px 0 10px;font-size:13px}}

#rp2.rp2-empty .rp2-bigart,#rp2.rp2-empty .rp2-seek,#rp2.rp2-empty .rp2-trans,#rp2.rp2-empty .rp2-row,#rp2.rp2-empty .rp2-pb>.rp2-h:not(.sg),#rp2.rp2-empty .rp2-pb>.rp2-q:not(.rp2-sug),#rp2.rp2-empty .rp2-empty{display:none}
#rp2.rp2-empty .rp2-ph b{font-size:0}#rp2.rp2-empty .rp2-ph b::after{content:"Podcast";font-size:13px}
#rp2.rp2-empty .rp2-bt{font-size:22px;margin-top:8px}#rp2.rp2-empty .rp2-bs{margin-bottom:16px}
/* ---------- phone bar: art + title | play next close. Language and volume live in the header, the Listen pill and the panel ---------- */
#rp2 .rp2-l{flex:1;min-width:0}
@media(max-width:899px){
 #rp2 .rp2-ctl .rp2-gl,#rp2 .rp2-ctl [data-a=mute]{display:none}
 #rp2 .rp2-bar .rp2-open{width:100%}
 #rp2 .rp2-t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #rp2 .rp2-panel{max-height:74vh}
}

/* ---------- desktop: compact card, bottom right (never a full-width strip) ---------- */
#rp2 .rp2-c,#rp2 .rp2-r{display:none}
@media(min-width:900px){
 #rp2 .rp2-bar{left:auto;right:20px;bottom:calc(16px + env(safe-area-inset-bottom));transform:translateY(140%);width:372px;padding:8px 8px 14px 8px;border-radius:18px;gap:6px}
 #rp2[data-view=bar] .rp2-bar,#rp2[data-view=panel] .rp2-bar{transform:none;opacity:1;pointer-events:auto}
 #rp2 .rp2-art{width:42px;height:42px;border-radius:10px}
 #rp2 .rp2-t{font-size:13px}#rp2 .rp2-s{font-size:11px}
 #rp2 .rp2-ctl .rp2-ib{width:32px;height:32px}#rp2 .rp2-ctl .rp2-ib svg{width:17px;height:17px}
 #rp2 .rp2-ctl .rp2-play{width:38px;height:38px}#rp2 .rp2-ctl .rp2-play svg{width:17px;height:17px}
 #rp2 .rp2-ctl .rp2-gl,#rp2 .rp2-ctl [data-a=mute]{display:none}
 #rp2 .rp2-c,#rp2 .rp2-r{display:none!important}
 #rp2 .rp2-prog{display:block;left:12px;right:12px;bottom:5px}
 #rp2 .rp2-panel{right:20px;bottom:calc(98px + env(safe-area-inset-bottom));width:372px;max-height:min(560px,calc(100vh - 130px));border-radius:22px}
 #rp2 .rp2-bigart{width:min(170px,50%)}
 #rp2 .rp2-bt{font-size:16px}
 #rp2 .rp2-ph [data-a=close]{display:inline-grid}
 #rp2 .rp2-fab{left:auto;right:20px;transform:none;bottom:calc(16px + env(safe-area-inset-bottom))}
 #rp2 .rp2-fab-b{height:34px;font-size:13px;padding:0 12px 0 10px}#rp2 .rp2-gl button{height:26px}
 body.rp2-on{padding-bottom:0}
 body.rp2-on .fab{bottom:calc(var(--rp2-h,88px) + 24px)!important;right:26px}
 body.rp2-on .fx-pill{bottom:24px!important}
 body{--rp2-h:88px}
}

/* ---------- hidden to a small pill (audio keeps playing) ---------- */
#rp2 .rp2-mini{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));z-index:8950;display:none;align-items:center;gap:2px;padding:4px;border-radius:99px}
#rp2[data-view=mini] .rp2-mini{display:inline-flex}
#rp2 .rp2-mini-b{position:relative;width:44px;height:44px;border-radius:50%;overflow:hidden;background:var(--g-soft)}
#rp2 .rp2-mini-art{width:100%;height:100%;object-fit:cover;display:block}
#rp2 .rp2-mini-eq{position:absolute;right:3px;bottom:3px;display:none;gap:2px;align-items:flex-end;height:14px;padding:2px 3px;border-radius:6px;background:rgba(11,43,48,.78)}
#rp2.rp2-playing .rp2-mini-eq{display:inline-flex}
#rp2 .rp2-mini-eq i{display:block;width:3px;background:#fff;border-radius:2px;animation:rp2eq 1s ease-in-out infinite alternate}#rp2 .rp2-mini-eq i:nth-child(2){animation-delay:.25s}#rp2 .rp2-mini-eq i:nth-child(3){animation-delay:.5s}
@keyframes rp2eq{from{height:3px}to{height:11px}}
#rp2 .rp2-mini-p{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--g-ink);color:var(--g-bg)}#rp2 .rp2-mini-p svg{width:17px;height:17px}
html.lite #rp2 .rp2-mini-eq i{animation:none;height:8px}@media(prefers-reduced-motion:reduce){#rp2 .rp2-mini-eq i{animation:none;height:8px}}
body.rp2-mini-on .fab{bottom:calc(86px + env(safe-area-inset-bottom))!important}
@media(max-width:899px){#rp2 .rp2-mini{right:12px;bottom:calc(12px + env(safe-area-inset-bottom))}}
@media(min-width:900px){#rp2 .rp2-ctl .rp2-ib[data-a=hide]{display:inline-grid}}
/* titles never run under the controls, on any screen */
#rp2 .rp2-l{flex:1 1 0;min-width:0;overflow:hidden}
#rp2 .rp2-open{min-width:0;max-width:100%}
#rp2 .rp2-txt{min-width:0;flex:1 1 0;overflow:hidden}
#rp2 .rp2-t,#rp2 .rp2-s{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#rp2 .rp2-ctl{flex:none}

/* ======== branded sliders (seek and volume): teal fill, round thumb, no browser defaults ======== */
#rp2 input[type=range]{-webkit-appearance:none;appearance:none;background:transparent;height:24px;margin:0;padding:0;cursor:pointer;accent-color:var(--g-acc);--v:0%;--trk:rgba(127,140,145,.3)}
#rp2 input[type=range]:focus{outline:none}
#rp2 input[type=range]::-webkit-slider-runnable-track{height:5px;border-radius:5px;background:linear-gradient(90deg,var(--g-acc) var(--v),var(--trk) var(--v))}
#rp2 input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:14px;height:14px;margin-top:-4.5px;border-radius:50%;background:var(--g-acc);border:2px solid var(--g-bg-solid,#fff);box-shadow:0 1px 4px rgba(0,0,0,.35);transition:transform .12s}
#rp2 input[type=range]:hover::-webkit-slider-thumb,#rp2 input[type=range]:active::-webkit-slider-thumb{transform:scale(1.25)}
#rp2 input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 4px rgba(18,143,164,.35)}
#rp2 input[type=range]::-moz-range-track{height:5px;border-radius:5px;background:var(--trk)}
#rp2 input[type=range]::-moz-range-progress{height:5px;border-radius:5px;background:var(--g-acc)}
#rp2 input[type=range]::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:var(--g-acc);border:2px solid var(--g-bg-solid,#fff);box-shadow:0 1px 4px rgba(0,0,0,.35)}
#rp2 .rp2-vrow{display:flex!important;align-items:center;gap:10px;margin:2px 4px 14px}
#rp2 .rp2-vrow .rp2-ib{width:34px;height:34px;flex:none}
#rp2 .rp2-vrow .rp2-pvol{flex:1;min-width:0;width:auto}
#rp2 .rp2-vp{flex:none;min-width:38px;text-align:right;font-size:12px;font-weight:700;color:var(--g-mut);font-variant-numeric:tabular-nums}
#rp2 .rp2-seek{gap:12px}#rp2 .rp2-seek input{flex:1;min-width:0}
@media(prefers-color-scheme:dark){#rp2{--g-bg-solid:#141c20}}html[data-theme=dark] #rp2{--g-bg-solid:#141c20}html[data-theme=light] #rp2{--g-bg-solid:#fff}
@media(max-width:899px){#rp2 .rp2-vrow{display:none!important}}

/* ======== v3: one round icon. Tap to open, tap outside to fold it back. Audio keeps playing. ======== */
#rp2 .rp2-fab,#rp2 .rp2-mini{display:none!important}#rp2 .rp2-bar{display:none}#rp2[data-view=bar] .rp2-bar{display:flex}#rp2[data-view=bar] .rp2-orb{display:none}
#rp2 .rp2-orb{position:fixed;z-index:8950;right:110px;bottom:34px;width:54px;height:54px;padding:0;border-radius:50%;display:grid;place-items:center;overflow:hidden;border:2px solid var(--g-bd);transition:transform .15s,box-shadow .2s}
#rp2 .rp2-orb:hover{transform:scale(1.06)}
#rp2 .rp2-orb .rp2-orb-ic{width:24px;height:24px;color:var(--g-ink)}
#rp2 .rp2-orb .rp2-mini-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:none}
#rp2.rp2-has .rp2-orb .rp2-mini-art{display:block}#rp2.rp2-has .rp2-orb .rp2-orb-ic{display:none}
#rp2 .rp2-orb .rp2-mini-eq{display:none;right:auto;left:50%;bottom:4px;transform:translateX(-50%)}
#rp2.rp2-playing .rp2-orb .rp2-mini-eq{display:inline-flex}
#rp2.rp2-playing .rp2-orb{box-shadow:0 0 0 3px rgba(18,143,164,.35),var(--g-shadow)}
#rp2[data-view=panel] .rp2-orb{opacity:.0;pointer-events:none}
#rp2 .rp2-panel{bottom:104px;right:20px}
@media(max-width:899px){
 #rp2 .rp2-orb{right:84px;bottom:28px;width:50px;height:50px}
 #rp2 .rp2-panel{bottom:0;right:0;left:0;width:100%}
}
body.rp2-on,body{padding-bottom:0}

/* ticker */
#rp2 .rp2-bt{white-space:nowrap;overflow:hidden;text-align:center}
#rp2 .rp2-bt .mq-in,#rp2 .rp2-bs .mq-in,#rp2 .rp2-t .mq-in,#rp2 .rp2-s .mq-in,#rp2 .qt-t .mq-in,#pulse .mq-in{display:inline-block;white-space:nowrap}
#rp2 .rp2-bs{white-space:nowrap;overflow:hidden}
#rp2 .rp2-q .qt{display:block!important;-webkit-line-clamp:unset!important;overflow:hidden;white-space:nowrap}
#rp2 .rp2-q .qt-t{display:block;overflow:hidden;white-space:nowrap}#rp2 .rp2-q .qt small{display:block;overflow:hidden;text-overflow:ellipsis}
.mq>.mq-in{animation:rp2mq var(--mq-t,8s) ease-in-out infinite alternate;will-change:transform}
@keyframes rp2mq{0%,14%{transform:translateX(0)}86%,100%{transform:translateX(var(--mq-x,0))}}
html.lite .mq>.mq-in{animation:none}@media(prefers-reduced-motion:reduce){.mq>.mq-in{animation:none}}

/* ---- compact bar (from the minus) ---- */
#rp2[data-view=bar] .rp2-bar{transform:none;opacity:1;pointer-events:auto}
#rp2 .rp2-prog{height:5px;bottom:5px;cursor:pointer;touch-action:none}#rp2 .rp2-prog::after{content:"";position:absolute;left:0;right:0;top:-9px;bottom:-9px}
@media(min-width:900px){#rp2 .rp2-bar{left:auto;right:118px;bottom:26px;width:340px;transform:none}body.rp2-on .fab{bottom:26px!important}body.rp2-on .fx-pill{bottom:16px!important}}
@media(max-width:899px){#rp2 .rp2-bar{left:8px;right:8px;width:auto;bottom:calc(8px + env(safe-area-inset-bottom));transform:none}}
/* ---- round icon with a caption so it says what it is ---- */
#rp2 .rp2-orb{overflow:visible!important}#rp2 .rp2-orb .rp2-mini-art{border-radius:50%}
#rp2 .rp2-orb .rp2-mini-eq{right:-3px!important;left:auto!important;top:-3px;bottom:auto!important;transform:none!important;width:22px;height:22px;padding:0;border-radius:50%;background:var(--g-acc);border:2px solid var(--g-bg-solid,#fff);align-items:center;justify-content:center;gap:1.5px}
#rp2 .rp2-orb .rp2-mini-eq i{width:2.5px;background:#fff}
#rp2 .rp2-orb-cap{position:absolute;left:50%;bottom:-10px;transform:translateX(-50%);background:var(--g-ink);color:var(--g-bg);font:800 10px/1 system-ui,sans-serif;letter-spacing:.4px;text-transform:uppercase;padding:4px 8px;border-radius:99px;white-space:nowrap;box-shadow:0 2px 6px rgba(0,0,0,.3)}
#rp2 .rp2-orb-pp{position:absolute;inset:0;border-radius:50%;display:none;place-items:center;background:rgba(11,43,48,.45);color:#fff}
#rp2 .rp2-orb-pp svg{width:22px;height:22px}
#rp2.rp2-has:not(.rp2-playing) .rp2-orb-pp{display:grid}
#rp2.rp2-playing .rp2-orb{animation:rp2ring 2.2s ease-out infinite}
@keyframes rp2ring{0%{box-shadow:0 0 0 0 rgba(18,143,164,.45),var(--g-shadow)}70%,100%{box-shadow:0 0 0 12px rgba(18,143,164,0),var(--g-shadow)}}
html.lite #rp2.rp2-playing .rp2-orb{animation:none}@media(prefers-reduced-motion:reduce){#rp2.rp2-playing .rp2-orb{animation:none}}
#rp2 .rp2-orb{bottom:40px}@media(max-width:899px){#rp2 .rp2-orb{bottom:36px}}
/* ---- one-time hint bubble ---- */
#rp2 .rp2-hint{position:fixed;right:110px;bottom:112px;z-index:8940;max-width:220px;padding:10px 12px;border-radius:14px;background:var(--g-ink);color:var(--g-bg);font:12px/1.35 system-ui,sans-serif;display:none;box-shadow:0 8px 24px rgba(0,0,0,.3)}
#rp2 .rp2-hint.on{display:block;animation:rp2pop .3s ease-out}
#rp2 .rp2-hint b{display:block;font-size:13px;margin-bottom:2px}#rp2 .rp2-hint span{opacity:.85}
#rp2 .rp2-hint::after{content:"";position:absolute;right:26px;bottom:-6px;width:12px;height:12px;background:inherit;transform:rotate(45deg)}
@keyframes rp2pop{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:899px){#rp2 .rp2-hint{right:70px;bottom:104px}}
/* ---- ticker ---- */
#rp2 .rp2-bt{white-space:nowrap;overflow:hidden;text-align:center}
#rp2 .mq-in,#pulse .mq-in{display:inline-block;white-space:nowrap}#rp2 .rp2-bs{white-space:nowrap;overflow:hidden}
#rp2 .rp2-q .qt{display:block!important;-webkit-line-clamp:unset!important;overflow:hidden;white-space:nowrap}
#rp2 .rp2-q .qt-t{display:block;overflow:hidden;white-space:nowrap}#rp2 .rp2-q .qt small{display:block;overflow:hidden;text-overflow:ellipsis}
.mq>.mq-in{animation:rp2mq var(--mq-t,8s) ease-in-out infinite alternate;will-change:transform}
@keyframes rp2mq{0%,14%{transform:translateX(0)}86%,100%{transform:translateX(var(--mq-x,0))}}
html.lite .mq>.mq-in{animation:none}@media(prefers-reduced-motion:reduce){.mq>.mq-in{animation:none}}

/* ===== v4: placement + solid surfaces ===== */
#rp2,html[data-theme=light] #rp2{--g-bg:rgba(255,255,255,.96)}
@media(prefers-color-scheme:dark){#rp2{--g-bg:rgba(22,30,34,.96)}}
html[data-theme=dark] #rp2{--g-bg:rgba(22,30,34,.96)}
#rp2 .rp2-glass{-webkit-backdrop-filter:none;backdrop-filter:none}
/* the round icon stacks directly above the WhatsApp button, same edge */
#rp2 .rp2-orb{right:34px!important;bottom:112px!important;width:54px;height:54px}
@media(max-width:899px){#rp2 .rp2-orb{right:20px!important;bottom:98px!important;width:50px;height:50px}}
#rp2 .rp2-hint{right:20px!important;bottom:190px!important}@media(max-width:899px){#rp2 .rp2-hint{bottom:166px!important;max-width:200px}}
#rp2 .rp2-panel{bottom:112px;max-height:min(580px,calc(100vh - 140px))}
/* phone: compact solid bar, WhatsApp and Lite button lift above it */
@media(max-width:899px){
 #rp2 .rp2-bar{padding:7px 8px 12px 8px;gap:4px;border-radius:16px;box-shadow:0 6px 22px rgba(0,0,0,.25)}
 #rp2 .rp2-art{width:40px;height:40px}
 #rp2 .rp2-ctl .rp2-ib{width:34px;height:34px}#rp2 .rp2-ctl .rp2-ib svg{width:17px;height:17px}
 #rp2 .rp2-ctl .rp2-play{width:38px;height:38px}
 #rp2 .rp2-ctl [data-a=open]{display:none}
 #rp2 .rp2-t{font-size:13px}#rp2 .rp2-s{font-size:11px}
 body.rp2-on{--rp2-h:70px}
}
/* queue rows never widen the card */
#rp2 .rp2-q{display:grid!important;grid-template-columns:minmax(0,1fr)}
#rp2 .rp2-q li{min-width:0;font-size:13px;line-height:1.25}
#rp2 .rp2-q .qt{font-size:13px;min-width:0}
#rp2 .rp2-q .qt small{font-size:11px;font-weight:500}
#rp2 .rp2-pb{overflow-x:hidden}
#rp2 .rp2-panel,#rp2 .rp2-pb{max-width:100%}

/* ===== v5: fully solid surfaces ===== */
#rp2{--g-solid:#ffffff}
@media(prefers-color-scheme:dark){#rp2{--g-solid:#161e22}}
html[data-theme=dark] #rp2{--g-solid:#161e22}html[data-theme=light] #rp2{--g-solid:#ffffff}
#rp2 .rp2-panel.rp2-glass,#rp2 .rp2-bar.rp2-glass,#rp2 .rp2-orb.rp2-glass,#rp2 .rp2-glass{background:var(--g-solid)!important}
#rp2 .rp2-scrim{background:rgba(5,20,24,.5)}
/* icon: beside WhatsApp (left of it), never above. JS aligns it to WhatsApp's real position. */
#rp2 .rp2-orb{right:110px!important;bottom:34px!important}
@media(max-width:899px){#rp2 .rp2-orb{right:84px!important;bottom:32px!important}}
#rp2 .rp2-hint{right:110px!important;bottom:110px!important}@media(max-width:899px){#rp2 .rp2-hint{right:70px!important;bottom:104px!important}}

/* ===== v6: back to the frosted-glass look; the title wraps (no ticker) ===== */
#rp2{--g-bg:rgba(255,255,255,.80)}
@media(prefers-color-scheme:dark){#rp2{--g-bg:rgba(24,32,36,.82)}}
html[data-theme=dark] #rp2{--g-bg:rgba(24,32,36,.82)}html[data-theme=light] #rp2{--g-bg:rgba(255,255,255,.80)}
#rp2 .rp2-panel.rp2-glass,#rp2 .rp2-bar.rp2-glass,#rp2 .rp2-orb.rp2-glass,#rp2 .rp2-glass{background:var(--g-bg)!important;-webkit-backdrop-filter:blur(26px) saturate(1.7)!important;backdrop-filter:blur(26px) saturate(1.7)!important}
#rp2 .rp2-bt{white-space:normal!important;overflow:visible!important;text-align:center;line-height:1.25}
#rp2 .rp2-bs{white-space:normal!important;overflow:visible!important}
#rp2 .rp2-bt .mq-in,#rp2 .rp2-bs .mq-in{white-space:normal;display:inline}

/* ===== v7: the panel as it looked at its best: wrapped title, two-line queue rows, frosted glass ===== */
#rp2 .rp2-q .qt{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2!important;white-space:normal!important;overflow:hidden;text-align:left;font-size:13px;line-height:1.3}
#rp2 .rp2-q .qt-t{display:inline!important;white-space:normal!important;overflow:visible!important}
#rp2 .rp2-q .qt .mq-in{display:inline;white-space:normal}
#rp2 .rp2-q .qt small{display:block;font-size:11px}
#rp2 .rp2-q li{padding:8px 10px;gap:10px;align-items:center}
#rp2 .rp2-q img{width:44px;height:44px;border-radius:10px}
#rp2 .rp2-bigart{width:min(200px,56%);margin:4px auto 14px}
@media(max-width:899px){#rp2 .rp2-panel{max-height:82vh}#rp2 .rp2-bigart{width:min(190px,52%)}}
/* ===== v8: card location restored: bottom-right corner on desktop, bottom sheet on phone ===== */
@media(min-width:900px){#rp2 .rp2-panel{right:20px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;width:392px;max-height:min(640px,calc(100vh - 40px))}}
@media(max-width:899px){#rp2 .rp2-panel{right:0!important;left:0!important;bottom:0!important;width:100%}}
/* ===== v9: compact card ===== */
@media(min-width:900px){
 #rp2 .rp2-panel{width:360px;max-height:min(470px,calc(100vh - 110px))!important}
 #rp2 .rp2-ph{padding:8px 10px 0 16px}
 #rp2 .rp2-pb{padding:2px 16px 12px}
 #rp2 .rp2-bigart{width:104px!important;height:104px;margin:0 auto 8px!important;border-radius:14px}
 #rp2 .rp2-bt{font-size:14.5px;margin:0 0 2px}#rp2 .rp2-bs{font-size:12px;margin:0 0 6px}
 #rp2 .rp2-trans{margin:2px 0 6px}#rp2 .rp2-trans .rp2-ib{width:36px;height:36px}#rp2 .rp2-trans .rp2-play{width:46px;height:46px}
 #rp2 .rp2-row{gap:6px;margin-bottom:6px}#rp2 .rp2-pill{height:30px;padding:0 11px;font-size:12px}
 #rp2 .rp2-vrow{margin:0 0 6px}#rp2 .rp2-vrow .rp2-ib{width:30px;height:30px}
 #rp2 .rp2-lh{display:none}
 #rp2 .rp2-seg{margin:0 auto 8px}#rp2 .rp2-seg button{height:30px;padding:0 14px;font-size:12px}
 #rp2 .rp2-h{margin:4px 0 6px}
 #rp2 .rp2-q img{width:38px;height:38px}
}
@media(max-width:899px){
 #rp2 .rp2-panel{max-height:76vh}
 #rp2 .rp2-bigart{width:min(150px,42%)!important;margin:2px auto 10px!important}
 #rp2 .rp2-pill{height:34px}
}

/* the WhatsApp button moves without animation, so the icon beside it never lags behind */
body.rp2-on .fab,body .fab{transition:none!important}

/* ===== the player has its own light/dark, dark by default, saved on the device ===== */
html #rp2[data-ptheme=dark]{--g-bg:rgba(24,32,36,.86);--g-ink:#eef6f7;--g-mut:#9db4ba;--g-acc:#43c1d6;--g-soft:rgba(255,255,255,.09);--g-shadow:0 12px 44px rgba(0,0,0,.55);--g-bd:rgba(255,255,255,.14);--g-bg-solid:#141c20;--g-solid:#161e22;--trk:rgba(160,180,186,.3);color:#eef6f7}
html #rp2[data-ptheme=light]{--g-bg:rgba(255,255,255,.86);--g-ink:#0b2b30;--g-mut:#587b86;--g-acc:#128fa4;--g-soft:rgba(11,43,48,.07);--g-shadow:0 12px 44px rgba(11,43,48,.25);--g-bd:rgba(255,255,255,.7);--g-bg-solid:#ffffff;--g-solid:#ffffff;--trk:rgba(88,123,134,.3);color:#0b2b30}

/* ===== v10: icon placed by CSS only, same fixed edges as WhatsApp, so it never lags during scroll ===== */
#rp2 .rp2-orb{position:fixed!important;right:108px!important;bottom:34px!important;transform:translateZ(0)}
#rp2 .rp2-hint{right:100px!important;bottom:104px!important}
@media(max-width:899px){
 #rp2 .rp2-orb{right:80px!important;bottom:12px!important;width:52px;height:52px}
 #rp2 .rp2-hint{right:60px!important;bottom:76px!important}
}

/* pages without the WhatsApp button (the blog): the icon sits in the corner */
body.rp2-nofab #rp2 .rp2-orb{right:18px!important;bottom:22px!important}
body.rp2-nofab #rp2 .rp2-hint{right:12px!important;bottom:92px!important}
body.rp2-nofab #rp2 .rp2-bar{right:18px}
