:root{--srpsr-bg:rgba(23,28,50,.94);--srpsr-text:#fff;--srpsr-muted:rgba(255,255,255,.66);--srpsr-line:rgba(255,255,255,.14);--srpsr-accent:#ffd400;--srpsr-red:#ff3138;--srpsr-ink:#171c32}
.srpsr-player{position:fixed;left:0;right:0;bottom:8px;z-index:100000;width:calc(100% - 72px);max-width:1460px;margin:auto;color:var(--srpsr-text);background:var(--srpsr-bg);border:1px solid rgba(255,255,255,.06);border-radius:12px;box-shadow:0 8px 26px rgba(0,0,0,.2);font-family:inherit;overflow:visible}
.srpsr-player *{box-sizing:border-box}
.srpsr-main{display:grid;grid-template-columns:minmax(310px,1.2fr) minmax(120px,.34fr) minmax(200px,.58fr) 82px;align-items:center;min-height:84px;padding:0 8px 0 14px}
.srpsr-left,.srpsr-center,.srpsr-right,.srpsr-tools{display:flex;align-items:center;min-width:0}
.srpsr-left{gap:12px;padding-right:14px}.srpsr-thumb{width:54px;height:54px;object-fit:cover;border-radius:8px;background:rgba(255,255,255,.08);flex:0 0 auto}.srpsr-thumb-fallback{display:flex;align-items:center;justify-content:center;background:#2a3049}.srpsr-thumb-fallback span{font-size:17px;font-weight:800}
.srpsr-meta{min-width:0;overflow:hidden}.srpsr-station{font-size:12px;line-height:14px!important;font-weight:500;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.srpsr-program{margin-top:3px!important;font-size:15px;line-height:18px!important;font-weight:800;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.srpsr-presenter-inline{display:block;margin-top:2px!important;font-size:11.5px;line-height:14px!important;font-weight:500;color:var(--srpsr-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.srpsr-next-info{margin-top:2px!important;font-size:10.5px;line-height:13px!important;font-weight:500;color:rgba(255,255,255,.56);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.srpsr-center{position:relative;flex-direction:column;justify-content:center;align-items:center;padding:7px 8px}.srpsr-transport{width:100%;display:flex;align-items:center;justify-content:center}.srpsr-play{width:52px;height:52px;border:0;border-radius:999px;background:var(--srpsr-accent);display:flex;align-items:center;justify-content:center;position:relative;padding:0;cursor:pointer;flex:0 0 auto}.srpsr-play svg{width:24px;height:24px;fill:#13182b}.srpsr-icon{position:absolute;inset:0;display:none;align-items:center;justify-content:center}.srpsr-icon-play{display:flex}.srpsr-play.playing .srpsr-icon-play{display:none}.srpsr-play.playing .srpsr-icon-pause{display:flex}
.srpsr-track-progress{display:none;align-items:center;gap:7px;width:100%;max-width:250px;font-size:9px;font-variant-numeric:tabular-nums;color:rgba(255,255,255,.7);margin-top:4px}.srpsr-player.srpsr-track-mode .srpsr-track-progress{display:flex}.srpsr-track-seek{position:relative;flex:1;height:3px;border-radius:999px;background:rgba(255,255,255,.18);cursor:pointer;outline:none}.srpsr-track-bar{position:absolute;left:0;top:0;height:100%;width:0;border-radius:inherit;background:rgba(255,255,255,.86)}.srpsr-track-knob{position:absolute;left:0;top:50%;width:8px;height:8px;border-radius:50%;background:#fff;transform:translate(-50%,-50%)}.srpsr-track-current,.srpsr-track-duration{min-width:29px;text-align:center}.srpsr-player.srpsr-track-mode .srpsr-next-info,.srpsr-player.srpsr-track-mode .srpsr-panel-next{display:none!important}
.srpsr-right{justify-content:flex-end;align-self:stretch}.srpsr-cta,.srpsr-cta:visited,.srpsr-cta:hover,.srpsr-cta:focus{appearance:none;color:#fff!important;background:transparent;border:0;border-left:1px solid var(--srpsr-line);text-decoration:none!important;min-width:92px;max-width:118px;flex:1;height:100%;padding:8px 7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;font:inherit;font-size:11px;line-height:13px!important;font-weight:750;cursor:pointer}.srpsr-cta svg{width:22px;height:22px}.srpsr-cta-live{color:rgba(255,255,255,.48)!important}.srpsr-player:not(.srpsr-track-mode) .srpsr-cta-live{color:#fff!important}
.srpsr-tools{height:100%;justify-content:center;border-left:1px solid var(--srpsr-line);gap:4px;padding-left:4px}.srpsr-tool-btn{appearance:none;border:0;background:transparent;color:rgba(255,255,255,.68);width:36px;height:36px;border-radius:999px;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}.srpsr-tool-btn:hover,.srpsr-tool-btn:focus-visible{color:#fff;background:rgba(255,255,255,.08)}.srpsr-tool-btn svg{width:19px;height:19px}.srpsr-volume{position:relative;display:flex;align-items:center;justify-content:center}.srpsr-volume-off{display:none}.srpsr-player.srpsr-muted .srpsr-volume-on{display:none}.srpsr-player.srpsr-muted .srpsr-volume-off{display:flex}.srpsr-volume-popover{position:absolute;left:50%;bottom:39px;transform:translateX(-50%);width:42px;height:112px;border-radius:10px;background:rgba(23,28,50,.98);box-shadow:0 6px 18px rgba(0,0,0,.24);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .14s ease,visibility .14s ease}.srpsr-volume:hover .srpsr-volume-popover,.srpsr-volume:focus-within .srpsr-volume-popover{opacity:1;visibility:visible;pointer-events:auto}.srpsr-vol-range{-webkit-appearance:none;appearance:none;width:82px;height:4px;transform:rotate(-90deg);background:rgba(255,255,255,.22);border-radius:999px;outline:none}.srpsr-vol-range::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:rgba(255,255,255,.22)}.srpsr-vol-range::-webkit-slider-thumb{-webkit-appearance:none;width:11px;height:11px;border-radius:50%;background:#fff;margin-top:-3.5px}.srpsr-vol-range::-moz-range-track{height:4px;border-radius:999px;background:rgba(255,255,255,.22)}.srpsr-vol-range::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:#fff;border:0}
.srpsr-mini-player{display:none!important}.srpsr-restore{appearance:none;border:0;background:rgba(255,255,255,.07);color:rgba(255,255,255,.8);width:34px;height:34px;border-radius:999px;align-items:center;justify-content:center;cursor:pointer;padding:0;flex:0 0 auto}.srpsr-restore:hover,.srpsr-restore:focus-visible{background:rgba(255,255,255,.13);color:#fff}.srpsr-restore svg{width:17px;height:17px;flex:0 0 auto}.srpsr-player.srpsr-minimized{left:auto;right:14px;width:min(440px,calc(100% - 28px));max-width:none;background:transparent;border:0;box-shadow:none}.srpsr-player.srpsr-minimized .srpsr-main,.srpsr-player.srpsr-minimized .srpsr-mobile-panel,.srpsr-player.srpsr-minimized .srpsr-mobile-toggle{display:none!important}.srpsr-player.srpsr-minimized .srpsr-mini-player{display:grid!important;grid-template-columns:54px minmax(0,1fr) 34px 48px;align-items:center;gap:10px;min-height:70px;padding:8px 9px 8px 9px;border:1px solid rgba(255,255,255,.10);border-radius:16px;background:rgba(23,28,50,.95);color:#fff;box-shadow:0 8px 26px rgba(0,0,0,.24)}.srpsr-mini-thumb-wrap{width:54px;height:54px}.srpsr-mini-thumb{width:54px;height:54px;border-radius:10px;object-fit:cover;background:#2a3049;display:flex;align-items:center;justify-content:center}.srpsr-mini-thumb.srpsr-thumb-fallback span{font-size:14px;font-weight:800}.srpsr-mini-meta{min-width:0;overflow:hidden}.srpsr-mini-status{display:flex;align-items:center;gap:6px;color:var(--srpsr-accent);font-size:10px;line-height:12px!important;font-weight:800;letter-spacing:.08em;white-space:nowrap}.srpsr-mini-live-dot,.srpsr-mini-track-dot{width:7px;height:7px;border-radius:50%;background:var(--srpsr-accent);flex:0 0 auto}.srpsr-mini-track-dot{background:var(--srpsr-accent)}.srpsr-mini-title{margin-top:4px;font-size:14px;line-height:17px!important;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff}.srpsr-mini-play{width:46px;height:46px;border:0;border-radius:999px;background:var(--srpsr-accent);display:flex;align-items:center;justify-content:center;position:relative;padding:0;cursor:pointer;flex:0 0 auto}.srpsr-mini-play-icon{position:absolute;inset:0;display:none;align-items:center;justify-content:center}.srpsr-mini-play-triangle{display:flex}.srpsr-mini-play.playing .srpsr-mini-play-triangle{display:none}.srpsr-mini-play.playing .srpsr-mini-pause-bars{display:flex}.srpsr-mini-play svg{width:21px;height:21px;fill:#13182b}.srpsr-player.srpsr-minimized .srpsr-restore{display:flex}
.srpsr-mobile-toggle{display:flex;align-items:center;justify-content:center;position:absolute;right:8px;top:-35px;width:74px;height:27px;border-radius:999px;border:1.5px solid rgba(255,255,255,.68);background:rgba(20,20,20,.92);color:#fff;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.17);z-index:8;padding:0}.srpsr-toggle-icon{display:flex;align-items:center;justify-content:center}.srpsr-toggle-icon svg{width:20px;height:20px}.srpsr-toggle-down{display:none}.srpsr-player.srpsr-open .srpsr-toggle-up{display:none}.srpsr-player.srpsr-open .srpsr-toggle-down{display:flex}
.srpsr-mobile-panel{display:none;max-height:0;overflow:hidden;background:rgba(255,255,255,.98);color:var(--srpsr-ink);border-radius:12px 12px 0 0;opacity:0;transition:max-height .24s ease,opacity .18s ease}.srpsr-player.srpsr-open .srpsr-mobile-panel{display:block;max-height:340px;opacity:1;background:#fff!important}.srpsr-panel-inner{padding:18px 24px 17px}.srpsr-mobile-live-title{display:flex;align-items:center;justify-content:center;gap:6px;font-size:17px;line-height:20px!important;font-weight:500;margin-bottom:14px}.srpsr-mobile-live-title svg{width:22px;height:22px}.srpsr-panel-card{display:grid;grid-template-columns:58px minmax(0,1fr) 50px;align-items:center;gap:11px;background:#fff;border-radius:13px;padding:10px 11px;box-shadow:0 4px 16px rgba(21,26,45,.12);max-width:1180px;margin:auto}.srpsr-panel-thumb{width:52px;height:52px;border-radius:8px;object-fit:cover}.srpsr-panel-meta{min-width:0}.srpsr-panel-station{font-size:11.5px;line-height:14px!important;color:#303442}.srpsr-panel-title{font-size:14px;line-height:17px!important;color:#111522;font-weight:800;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.srpsr-panel-presenter,.srpsr-panel-next{font-size:10.5px;line-height:13px!important;color:#727786;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.srpsr-panel-play{width:46px;height:46px;border:0;border-radius:999px;background:var(--srpsr-accent);display:flex;align-items:center;justify-content:center;position:relative;cursor:pointer}.srpsr-panel-play-icon{position:absolute;inset:0;display:none;align-items:center;justify-content:center}.srpsr-panel-play-triangle{display:flex}.srpsr-panel-play.playing .srpsr-panel-play-triangle{display:none}.srpsr-panel-play.playing .srpsr-panel-pause-bars{display:flex}.srpsr-panel-play svg{width:22px;height:22px;fill:#14192d}.srpsr-mobile-links{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;max-width:720px;margin:18px auto 0;text-align:center}.srpsr-mobile-link,.srpsr-mobile-link:visited,.srpsr-mobile-link:hover,.srpsr-mobile-link:focus{appearance:none;border:0;background:transparent;color:var(--srpsr-ink)!important;text-decoration:none!important;min-height:72px;padding:6px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font:inherit;font-size:12px;line-height:14px!important;font-weight:750;cursor:pointer}.srpsr-mobile-link+.srpsr-mobile-link{border-left:1px solid rgba(23,28,50,.12)}.srpsr-mobile-link svg{width:27px;height:27px}
.srpsr-inline-live{display:none;appearance:none;border:0;background:transparent;color:#fff;padding:0;margin-top:4px;font:inherit;font-size:10.5px;line-height:13px!important;font-weight:700;align-items:center;gap:5px;cursor:pointer}.srpsr-inline-live-dot{width:7px;height:7px;border-radius:50%;background:var(--srpsr-red)}
@media(max-width:1250px){.srpsr-player{width:calc(100% - 32px)}.srpsr-main{grid-template-columns:minmax(260px,1.1fr) 110px minmax(190px,.56fr) 78px}.srpsr-cta{min-width:82px;font-size:10.5px}.srpsr-program{font-size:14px}.srpsr-thumb{width:50px;height:50px}}
@media(max-width:1020px){.srpsr-main{grid-template-columns:minmax(0,1fr) 70px 78px;min-height:78px}.srpsr-right{display:none}.srpsr-center{padding:0}.srpsr-tools{border-left:1px solid var(--srpsr-line)}}
@media(max-width:720px){body{padding-bottom:82px!important}.srpsr-player{width:calc(100% - 12px);bottom:5px;border-radius:10px;background:rgba(23,28,50,.95)}.srpsr-main{grid-template-columns:minmax(0,1fr) 52px;column-gap:6px;min-height:68px;padding:0 7px 0 9px}.srpsr-left{gap:8px;padding-right:0}.srpsr-thumb{width:42px;height:42px;border-radius:7px}.srpsr-station{font-size:10px;line-height:12px!important}.srpsr-program{font-size:12px;line-height:14px!important;margin-top:2px!important}.srpsr-presenter-inline{font-size:9.5px;line-height:11px!important;margin-top:1px!important}.srpsr-next-info{font-size:9px;line-height:10.5px!important;margin-top:1px!important;color:rgba(255,255,255,.55)}.srpsr-center{width:50px;justify-self:end;align-items:flex-end}.srpsr-transport{justify-content:flex-end}.srpsr-play{width:46px;height:46px}.srpsr-play svg{width:20px;height:20px}.srpsr-right,.srpsr-tools{display:none}.srpsr-player.srpsr-track-mode .srpsr-main{min-height:80px;padding-bottom:10px}.srpsr-player.srpsr-track-mode .srpsr-track-progress{display:flex!important;position:absolute;left:8px;right:8px;bottom:3px;width:auto;max-width:none}.srpsr-player.srpsr-track-mode .srpsr-inline-live{display:inline-flex}.srpsr-mobile-toggle{right:7px;top:-31px;width:66px;height:24px}.srpsr-toggle-icon svg{width:18px;height:18px}.srpsr-player.srpsr-minimized{left:auto;right:6px;width:min(390px,calc(100% - 12px));bottom:5px}.srpsr-player.srpsr-minimized .srpsr-mini-player{grid-template-columns:44px minmax(0,1fr) 30px 42px;gap:8px;min-height:60px;padding:7px;border-radius:13px}.srpsr-mini-thumb-wrap,.srpsr-mini-thumb{width:44px;height:44px;border-radius:8px}.srpsr-mini-status{font-size:9px;line-height:10px!important}.srpsr-mini-title{font-size:12px;line-height:14px!important;margin-top:3px}.srpsr-mini-play{width:40px;height:40px}.srpsr-mini-play svg{width:18px;height:18px}.srpsr-player.srpsr-minimized .srpsr-restore{width:30px;height:30px}.srpsr-player.srpsr-minimized .srpsr-restore svg{width:15px;height:15px}.srpsr-player.srpsr-open .srpsr-mobile-panel{max-height:340px;background:#fff!important}.srpsr-panel-inner{padding:15px 10px 14px}.srpsr-mobile-live-title{font-size:15px;margin-bottom:11px}.srpsr-panel-card{grid-template-columns:44px minmax(0,1fr) 40px;gap:8px;padding:8px}.srpsr-panel-thumb{width:40px;height:40px}.srpsr-panel-station{font-size:10px}.srpsr-panel-title{font-size:12.5px;line-height:15px!important}.srpsr-panel-presenter,.srpsr-panel-next{font-size:9.5px;line-height:11px!important}.srpsr-panel-play{width:38px;height:38px}.srpsr-panel-play svg{width:19px;height:19px}.srpsr-mobile-links{margin-top:13px}.srpsr-mobile-link{font-size:11px;line-height:13px!important;min-height:64px;padding:5px}.srpsr-mobile-link svg{width:24px;height:24px}}

/* v1.2.15: extra isolation from Newspaper/theme rules */
#srpsrPlayer>#srpsrAudio{display:none!important}
#srpsrPlayer:not(.srpsr-minimized)>#srpsrMiniPlayer{display:none!important}


/* v1.2.16 — centre the main yellow play on the PLAYER itself on tablet/desktop.
   Mobile deliberately keeps the play button on the right, as requested. */
@media (min-width:721px){
  .srpsr-main{position:relative}
  .srpsr-center{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    width:270px!important;
    max-width:34vw;
    padding:7px 8px!important;
    z-index:4;
  }
  .srpsr-center .srpsr-transport{justify-content:center!important}
  .srpsr-left{grid-column:1}
}
@media (min-width:1021px){
  .srpsr-right{grid-column:3}
  .srpsr-tools{grid-column:4}
}
@media (min-width:721px) and (max-width:1020px){
  .srpsr-main{grid-template-columns:minmax(0,1fr) 78px!important}
  .srpsr-right{display:none!important}
  .srpsr-tools{grid-column:2!important}
}


/* v1.2.19 — [nrll_en_directe]
   Pill launcher inspired by the supplied reference: white background,
   soft grey rounded border and a red/orange dot that fades in/out. */
.srpsr-live-shortcode-wrap {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  line-height: 1 !important;
}
button.srpsr-live-shortcode-button,
.srpsr-live-shortcode-wrap > .srpsr-live-shortcode-button {
  all: unset !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  min-width: 0 !important;
  width: auto !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  padding: 0 15px !important;
  margin: 0 !important;
  border: 2px solid #d0d0d0 !important;
  border-radius: 9999px !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #111111 !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 26px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
  text-decoration: none !important;
  text-transform: none !important;
  cursor: pointer !important;
  vertical-align: middle !important;
  transition: border-color .18s ease, background-color .18s ease, transform .12s ease !important;
}
button.srpsr-live-shortcode-button:hover,
button.srpsr-live-shortcode-button:focus-visible {
  border-color: #bdbdbd !important;
  background: #ffffff !important;
  color: #111111 !important;
  box-shadow: none !important;
  outline: none !important;
}
button.srpsr-live-shortcode-button:active {
  transform: scale(.985) !important;
}
.srpsr-live-shortcode-dot {
  display: block !important;
  box-sizing: border-box !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  flex: 0 0 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #ff4528 !important;
  box-shadow: none !important;
  opacity: 1;
  animation: srpsr-shortcode-live-fade 1.45s ease-in-out infinite !important;
}
.srpsr-live-shortcode-label {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #111111 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
@keyframes srpsr-shortcode-live-fade {
  0%, 100% { opacity: 1; }
  50% { opacity: .10; }
}
@media (prefers-reduced-motion: reduce) {
  .srpsr-live-shortcode-dot { animation: none !important; }
}
@media (max-width: 720px) {
  button.srpsr-live-shortcode-button,
  .srpsr-live-shortcode-wrap > .srpsr-live-shortcode-button {
    gap: 9px !important;
    height: 39px !important;
    min-height: 39px !important;
    max-height: 39px !important;
    padding: 0 13px !important;
    border-width: 1.5px !important;
    font-size: 21px !important;
  }
  .srpsr-live-shortcode-dot {
    width: 11px !important;
    height: 11px !important;
    min-width: 11px !important;
    min-height: 11px !important;
    flex-basis: 11px !important;
  }
}


/* =====================================================================
   v1.3.0 — Reproductor més alt (~+20 %), més estret (1068 px a escriptori),
   textos més grans, sense línia "Nova Ràdio Lloret", ticker i panell amb aire.
   ===================================================================== */

/* ---- Ticker (títols llargs): es mou mentre sona; en pausa, fade en lloc de "..." ---- */
.srpsr-program,.srpsr-panel-title,.srpsr-mini-title{overflow:hidden;text-overflow:clip!important;white-space:nowrap}
.srpsr-ticker{display:flex;width:max-content;white-space:nowrap}
.srpsr-ticker-item{flex:0 0 auto;display:block;white-space:nowrap}
.srpsr-program.is-overflow,.srpsr-panel-title.is-overflow,.srpsr-mini-title.is-overflow{
  -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 30px),transparent);
          mask-image:linear-gradient(90deg,#000 calc(100% - 30px),transparent)}
.is-marquee .srpsr-ticker-item{padding-right:56px}
.is-marquee .srpsr-ticker{animation:srpsr-ticker var(--srpsr-tk-dur,14s) linear infinite;will-change:transform}
@keyframes srpsr-ticker{0%,10%{transform:translate3d(0,0,0)}100%{transform:translate3d(-50%,0,0)}}
@media (prefers-reduced-motion:reduce){.is-marquee .srpsr-ticker{animation:none}}

/* ---- Anell que batega al voltant del play: mentre sona (o quan cal un toc per reprendre el directe) ----
   Es dibuixa amb un pseudo-element i només anima transform/opacity (GPU, sense repintar). */
.srpsr-play::after,.srpsr-panel-play::after,.srpsr-mini-play::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid rgba(255,212,0,.75);opacity:0;pointer-events:none;transform:scale(1)}
.srpsr-play.playing::after,.srpsr-panel-play.playing::after,.srpsr-mini-play.playing::after,
.srpsr-player.srpsr-resume-pending .srpsr-play::after{animation:srpsr-ring 1.9s ease-out infinite;will-change:transform,opacity}
@keyframes srpsr-ring{0%{opacity:.85;transform:scale(1)}100%{opacity:0;transform:scale(1.6)}}
@media (prefers-reduced-motion:reduce){
  .srpsr-play.playing::after,.srpsr-panel-play.playing::after,.srpsr-mini-play.playing::after,
  .srpsr-player.srpsr-resume-pending .srpsr-play::after{animation:none;opacity:.5;transform:scale(1.18)}
}

/* ---- Estructura comuna ---- */
.srpsr-end{display:flex;align-items:stretch;justify-content:flex-end;min-width:0;height:100%}
.srpsr-player{box-sizing:border-box}
.srpsr-station,.srpsr-panel-station{display:none!important}
.srpsr-program{margin-top:0!important}

/* ---- Escriptori / tauleta (>=721px): 1068 px, play centrat de debò ---- */
@media (min-width:721px){
  .srpsr-player{width:calc(100% - 32px);max-width:1068px}
  .srpsr-main{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;min-height:calc(var(--srpsr-h) - 2px);padding:0 10px 0 16px;position:relative}
  .srpsr-left{grid-column:1!important;gap:14px;padding-right:14px}
  .srpsr-center{grid-column:2!important;position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:auto!important;max-width:none!important;padding:0 8px!important}
  .srpsr-player.srpsr-track-mode .srpsr-center{width:260px!important}
  .srpsr-end{grid-column:3!important}
  .srpsr-thumb{border-radius:10px}
  .srpsr-program{font-size:17px;line-height:22px!important}
  .srpsr-presenter-inline{font-size:13px;line-height:17px!important;margin-top:3px!important}
  .srpsr-next-info{font-size:12px;line-height:16px!important;margin-top:3px!important}
  .srpsr-inline-live{font-size:12px;line-height:15px!important;margin-top:5px}
  .srpsr-play{width:60px;height:60px}.srpsr-play svg{width:27px;height:27px}
  .srpsr-track-progress{font-size:11px;max-width:none;gap:8px;margin-top:6px}
  .srpsr-track-seek{height:4px}.srpsr-track-knob{width:10px;height:10px}
  .srpsr-track-current,.srpsr-track-duration{min-width:34px}
  .srpsr-cta,.srpsr-cta:visited,.srpsr-cta:hover,.srpsr-cta:focus{font-size:12px;line-height:14px!important;min-width:90px;max-width:112px}
  .srpsr-cta svg{width:24px;height:24px}
  .srpsr-tool-btn{width:40px;height:40px}.srpsr-tool-btn svg{width:21px;height:21px}
  .srpsr-mini-title{font-size:15px}
}
@media (min-width:721px) and (max-width:1020px){
  .srpsr-main{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important}
  .srpsr-right{display:none!important}
  .srpsr-tools{grid-column:auto!important}
  .srpsr-program{font-size:16px}
}

/* ---- Mòbil (<=720px): ~+20 % d'alçada i textos més grans ---- */
@media (max-width:720px){
  .srpsr-end{display:none!important}
  /* La barra de progrés s'ancora al reproductor (no a la columna del play de 56px) */
  .srpsr-center{position:static!important}
  .srpsr-main{grid-template-columns:minmax(0,1fr) 60px;column-gap:8px;min-height:calc(var(--srpsr-h-m) - 2px);padding:0 8px 0 10px}
  .srpsr-left{gap:11px}
  .srpsr-thumb{border-radius:9px}
  .srpsr-program{font-size:15px;line-height:19px!important}
  .srpsr-presenter-inline{font-size:12px;line-height:15px!important;margin-top:2px!important}
  .srpsr-next-info{font-size:11px;line-height:14px!important;margin-top:2px!important}
  .srpsr-center{width:56px}
  .srpsr-play{width:54px;height:54px}.srpsr-play svg{width:24px;height:24px}
  .srpsr-player.srpsr-track-mode .srpsr-main{min-height:calc(var(--srpsr-h-mt) - 2px);padding-bottom:16px}
  .srpsr-player.srpsr-track-mode .srpsr-track-progress{bottom:5px;font-size:11px;gap:8px}
  .srpsr-track-seek{height:4px}.srpsr-track-knob{width:10px;height:10px}
  .srpsr-inline-live{font-size:12px;line-height:15px!important;margin-top:3px}
  .srpsr-mini-title{font-size:13px}
  .srpsr-mobile-toggle{top:-33px;width:70px;height:26px}
}

/* ---- Panell desplegable (fons blanc): més aire entre foto i textos ---- */
.srpsr-panel-inner{padding:22px 28px 22px}
.srpsr-mobile-live-title{font-size:18px;line-height:22px!important;margin-bottom:16px}
.srpsr-panel-card{grid-template-columns:68px minmax(0,1fr) 54px;gap:20px;padding:14px 18px}
.srpsr-panel-meta{padding-left:2px}
.srpsr-panel-title{font-size:17px;line-height:22px!important;margin-top:0}
.srpsr-panel-presenter,.srpsr-panel-next{font-size:13px;line-height:17px!important;margin-top:3px}
.srpsr-panel-play{width:52px;height:52px}.srpsr-panel-play svg{width:24px;height:24px}
.srpsr-mobile-links{margin-top:20px}
.srpsr-mobile-link{font-size:13px;line-height:16px!important}
@media (max-width:720px){
  .srpsr-panel-inner{padding:16px 14px 16px}
  .srpsr-mobile-live-title{font-size:16px;margin-bottom:12px}
  .srpsr-panel-card{grid-template-columns:56px minmax(0,1fr) 46px;gap:15px;padding:11px 12px}
  .srpsr-panel-title{font-size:15px;line-height:19px!important}
  .srpsr-panel-presenter,.srpsr-panel-next{font-size:12px;line-height:15px!important}
  .srpsr-panel-play{width:44px;height:44px}.srpsr-panel-play svg{width:21px;height:21px}
  .srpsr-mobile-links{margin-top:14px}
  .srpsr-mobile-link{font-size:12px;line-height:14px!important;min-height:66px}
}

/* v1.3.0 — línies secundàries: fade en lloc de "..." */
.srpsr-presenter-inline,.srpsr-next-info,.srpsr-panel-presenter,.srpsr-panel-next{
  text-overflow:clip!important;
  -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent);
          mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent)}


/* =====================================================================
   v1.3.1 — REGLES CRÍTIQUES (abans s'imprimien dins l'HTML i la caché de pàgina
   en servia la versió antiga). Prefix "html body" => guanyen sempre a les antigues.
   Per canviar l'alçada del reproductor només cal tocar aquestes tres variables.
   ===================================================================== */
:root{--srpsr-h:108px;--srpsr-h-m:92px;--srpsr-h-mt:108px}
html body{padding-bottom:calc(var(--srpsr-h) + 22px)}
html body .srpsr-player{bottom:calc(8px + env(safe-area-inset-bottom,0px))}
html body #srpsrPlayer:not(.srpsr-open):not(.srpsr-minimized){height:var(--srpsr-h)!important;max-height:var(--srpsr-h)!important;min-height:0!important}
html body #srpsrPlayer:not(.srpsr-open):not(.srpsr-minimized)>#srpsrExpandedPanel{display:none!important;height:0!important;max-height:0!important;min-height:0!important;overflow:hidden!important;opacity:0!important;visibility:hidden!important;padding:0!important;margin:0!important;border:0!important;pointer-events:none!important}
html body #srpsrPlayer:not(.srpsr-minimized)>#srpsrMiniPlayer{display:none!important;height:0!important;max-height:0!important;min-height:0!important;overflow:hidden!important;visibility:hidden!important;pointer-events:none!important}
html body #srpsrPlayer .srpsr-volume-popover{display:none!important}
html body #srpsrPlayer .srpsr-volume:hover>.srpsr-volume-popover,html body #srpsrPlayer .srpsr-volume:focus-within>.srpsr-volume-popover{display:flex!important}
html body #srpsrPlayer.srpsr-open:not(.srpsr-minimized){height:auto!important;max-height:480px!important}
html body #srpsrPlayer.srpsr-open:not(.srpsr-minimized)>#srpsrExpandedPanel{display:block!important;height:auto!important;max-height:340px!important;min-height:0!important;overflow:hidden!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
html body #srpsrPlayer.srpsr-minimized{height:auto!important;max-height:none!important;min-height:0!important}
html body #srpsrPlayer.srpsr-minimized>.srpsr-main,html body #srpsrPlayer.srpsr-minimized>#srpsrExpandedPanel,html body #srpsrPlayer.srpsr-minimized>#srpsrMobileToggle{display:none!important}
html body #srpsrPlayer.srpsr-minimized>#srpsrMiniPlayer{display:grid!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;visibility:visible!important;pointer-events:auto!important}
html body #srpsrPlayer .srpsr-thumb{width:68px!important;height:68px!important;max-width:68px!important;max-height:68px!important;object-fit:cover!important}
html body #srpsrPlayer .srpsr-panel-thumb{width:68px!important;height:68px!important;max-width:68px!important;max-height:68px!important;object-fit:cover!important}
html body #srpsrPlayer .srpsr-mini-thumb{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;object-fit:cover!important}
@media(max-width:720px){
  html body{padding-bottom:calc(var(--srpsr-h-m) + 18px)!important}
  html body .srpsr-player{bottom:calc(5px + env(safe-area-inset-bottom,0px))}
  html body #srpsrPlayer:not(.srpsr-open):not(.srpsr-minimized){height:var(--srpsr-h-m)!important;max-height:var(--srpsr-h-m)!important}
  html body #srpsrPlayer.srpsr-track-mode:not(.srpsr-open):not(.srpsr-minimized){height:var(--srpsr-h-mt)!important;max-height:var(--srpsr-h-mt)!important}
  html body #srpsrPlayer.srpsr-open:not(.srpsr-minimized){height:auto!important;max-height:480px!important}
  html body #srpsrPlayer.srpsr-open:not(.srpsr-minimized)>#srpsrExpandedPanel{max-height:340px!important}
  html body #srpsrPlayer .srpsr-thumb{width:56px!important;height:56px!important;max-width:56px!important;max-height:56px!important}
  html body #srpsrPlayer .srpsr-panel-thumb{width:56px!important;height:56px!important;max-width:56px!important;max-height:56px!important}
  html body #srpsrPlayer .srpsr-mini-thumb{width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important}
}
html.srpsr-soft-loading,html.srpsr-soft-loading a{cursor:progress}
