.luy-np{--luy-gap:16px;max-width:100%;box-sizing:border-box}.luy-np *{box-sizing:border-box}.luy-np-card,.luy-np-list-item{display:flex;align-items:center;gap:var(--luy-gap);padding:16px;border:1px solid rgba(127,127,127,.25);border-radius:12px;background:var(--luy-np-bg,#fff);box-shadow:0 4px 18px rgba(0,0,0,.06)}.luy-np-art{width:96px;height:96px;flex:0 0 96px;object-fit:cover;border-radius:9px;background:#eee}.luy-np-copy{min-width:0}.luy-np-label{font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;opacity:.65;margin-bottom:4px}.luy-np-title{font-size:1.25rem;font-weight:700;line-height:1.2;overflow-wrap:anywhere}.luy-np-artist{font-size:1rem;margin-top:3px;opacity:.82;overflow-wrap:anywhere}.luy-np-album,.luy-np-time,.luy-np-meta{font-size:.86rem;margin-top:6px;opacity:.62}.luy-np-list{display:grid;gap:10px}.luy-np-list-item{padding:10px;border-radius:10px;box-shadow:none}.luy-np-list-item .luy-np-art{width:64px;height:64px;flex-basis:64px;border-radius:7px}.luy-np-list-item .luy-np-title{font-size:1rem}.luy-np-list-item .luy-np-artist{font-size:.92rem}.luy-np-loading,.luy-np-empty{padding:14px;border:1px dashed rgba(127,127,127,.35);border-radius:10px;opacity:.72}@media (max-width:520px){.luy-np-card{align-items:flex-start}.luy-np-card .luy-np-art{width:76px;height:76px;flex-basis:76px}.luy-np-title{font-size:1.08rem}.luy-np-list-item .luy-np-art{width:56px;height:56px;flex-basis:56px}}
.luy-player-shell{display:grid;gap:14px}.luy-stream-player{display:flex}.luy-stream-toggle{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:999px;padding:12px 20px;cursor:pointer;font:inherit;font-weight:700;background:#222;color:#fff}.luy-stream-toggle:hover,.luy-stream-toggle:focus{filter:brightness(1.12)}.luy-stream-toggle.is-playing{box-shadow:0 0 0 3px rgba(0,0,0,.15)}.luy-stream-toggle .dashicons{width:20px;height:20px;font-size:20px}

/* Integrated stream control */
.luy-player-now-wrap{position:relative}
.luy-player-shell.has-integrated-stream .luy-np-card{position:relative;min-height:128px}
.luy-stream-player-integrated{position:absolute;z-index:3;left:64px;top:64px;transform:translate(-50%,-50%)}
.luy-stream-player-integrated .luy-stream-toggle{width:52px;height:52px;padding:0;border-radius:50%;gap:0;background:rgba(20,20,20,.88);color:#fff;box-shadow:0 4px 16px rgba(0,0,0,.35);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.luy-stream-player-integrated .luy-stream-toggle:hover,.luy-stream-player-integrated .luy-stream-toggle:focus{transform:scale(1.06);filter:none;outline:2px solid currentColor;outline-offset:3px}
.luy-stream-player-integrated .luy-stream-toggle.is-playing{background:rgba(20,20,20,.94);box-shadow:0 0 0 4px rgba(255,255,255,.45),0 5px 18px rgba(0,0,0,.4)}
.luy-stream-player-integrated .luy-stream-toggle .dashicons{width:26px;height:26px;font-size:26px;line-height:26px}
.luy-stream-player-integrated audio{display:none}
@media (max-width:520px){.luy-stream-player-integrated{left:54px;top:54px}.luy-stream-player-integrated .luy-stream-toggle{width:46px;height:46px}.luy-player-shell.has-integrated-stream .luy-np-card{min-height:108px}}

/* Pop-out player control */
.luy-player-popout{position:absolute;z-index:4;right:14px;top:14px;display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:999px;background:rgba(20,20,20,.78);color:#fff;text-decoration:none;box-shadow:0 3px 12px rgba(0,0,0,.22)}
.luy-player-popout:hover,.luy-player-popout:focus{color:#fff;background:rgba(20,20,20,.94);transform:scale(1.05);outline:2px solid currentColor;outline-offset:2px}
.luy-player-popout .dashicons{width:20px;height:20px;font-size:20px;line-height:20px}

/* Editor wrapper keeps the dynamic preview selectable. */
.luy-player-editor-block{position:relative;min-height:80px;border:1px dashed rgba(0,0,0,.22);padding:8px}
.luy-player-editor-label{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin:0 0 6px;opacity:.7}
.luy-player-editor-preview{pointer-events:none;user-select:none}

/* Standalone player */
.luy-standalone-body{margin:0;background:#f2f3f5;color:#161719;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.luy-standalone-player{width:min(720px,100%);margin:0 auto;padding:18px}
.luy-standalone-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:12px 14px;border-radius:12px;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.06)}
.luy-standalone-header label{font-weight:700}
.luy-standalone-header select{min-width:150px;max-width:60%;padding:9px 34px 9px 11px;border:1px solid rgba(0,0,0,.2);border-radius:8px;background:#fff;font:inherit}
.luy-standalone-shell{gap:16px}
.luy-history-heading{font-size:1.1rem;margin:4px 0 -4px}
.luy-stream-toggle.autoplay-blocked:after{content:"Tap to play";position:absolute;left:50%;top:calc(100% + 8px);transform:translateX(-50%);white-space:nowrap;background:#111;color:#fff;font-size:11px;padding:4px 7px;border-radius:5px}
@media(max-width:520px){.luy-standalone-player{padding:10px}.luy-standalone-header{align-items:flex-start;flex-direction:column}.luy-standalone-header select{max-width:100%;width:100%}.luy-player-popout{right:9px;top:9px}}
.luy-standalone-brand{display:flex;align-items:center;gap:12px;min-width:0}.luy-standalone-logo{width:110px;height:58px;object-fit:contain;display:block}.luy-standalone-logo[hidden]{display:none}.luy-standalone-brand strong{font-size:1.15rem}.luy-standalone-station-picker{display:flex;align-items:center;gap:10px}.luy-standalone-station-picker label{white-space:nowrap}@media(max-width:520px){.luy-standalone-brand{width:100%}.luy-standalone-logo{width:96px;height:50px}.luy-standalone-station-picker{width:100%;flex-direction:column;align-items:flex-start}.luy-standalone-station-picker select{width:100%;max-width:none}}

.luy-player-station-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .55rem;
}

.luy-player-ad-zone {
  width: 100%;
  box-sizing: border-box;
  margin: 14px 0;
  text-align: center;
  overflow: hidden;
}
.luy-player-ad-zone iframe,
.luy-player-ad-zone img,
.luy-player-ad-zone video {
  max-width: 100%;
}
.luy-player-ad-zone:empty { display: none; }
.luy-standalone-ad { margin-left: auto; margin-right: auto; }

/* v2.0.9: unobstructed integrated stream controls */
.luy-player-shell.has-integrated-stream .luy-np-card{min-height:0}
.luy-player-now-wrap{display:grid;gap:10px}
.luy-player-control-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid rgba(127,127,127,.25);border-radius:10px;background:var(--luy-np-bg,#fff);box-shadow:0 3px 12px rgba(0,0,0,.05)}
.luy-stream-player-integrated{position:static;transform:none;z-index:auto;display:flex;align-items:center}
.luy-stream-player-integrated .luy-stream-toggle{width:auto;height:auto;min-height:42px;padding:9px 15px;border-radius:999px;gap:8px;background:#222;color:#fff;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.luy-stream-player-integrated .luy-stream-toggle:hover,.luy-stream-player-integrated .luy-stream-toggle:focus{transform:none;filter:brightness(1.12);outline:2px solid currentColor;outline-offset:2px}
.luy-stream-player-integrated .luy-stream-toggle.is-playing{background:#222;box-shadow:0 0 0 3px rgba(0,0,0,.12)}
.luy-stream-player-integrated .luy-stream-toggle .dashicons{width:20px;height:20px;font-size:20px;line-height:20px}
.luy-stream-toggle-text{font-weight:700;line-height:1}
.luy-player-control-bar .luy-player-popout{position:static;width:auto;height:auto;min-height:38px;padding:8px 12px;gap:7px;border-radius:999px;background:transparent;color:inherit;border:1px solid rgba(127,127,127,.35);box-shadow:none}
.luy-player-control-bar .luy-player-popout:hover,.luy-player-control-bar .luy-player-popout:focus{color:inherit;background:rgba(127,127,127,.1);transform:none}
.luy-player-popout-text{font-size:.88rem;font-weight:600}
@media(max-width:520px){.luy-player-control-bar{align-items:stretch;flex-direction:column}.luy-stream-player-integrated,.luy-stream-player-integrated .luy-stream-toggle,.luy-player-control-bar .luy-player-popout{width:100%}.luy-stream-player-integrated .luy-stream-toggle,.luy-player-control-bar .luy-player-popout{justify-content:center}}

/* v2.0.10: centered, single-label pop-out playback control */
.luy-standalone-shell .luy-player-control-bar{justify-content:center;text-align:center}
.luy-standalone-shell .luy-stream-player-integrated{justify-content:center}
.luy-standalone-shell .luy-stream-toggle{justify-content:center;min-width:170px}


/* v2.0.11: responsive popup and bounded mobile controls */
.luy-player-shell,.luy-player-shell *,.luy-standalone-player,.luy-standalone-player *{box-sizing:border-box}
.luy-player-shell,.luy-player-now-wrap,.luy-player-control-bar,.luy-stream-player-integrated,.luy-player-control-bar .luy-player-popout{min-width:0;max-width:100%}
.luy-player-control-bar .luy-player-popout{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.luy-player-popout-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.luy-standalone-body{width:100%;max-width:100vw;overflow-x:hidden}
.luy-standalone-player{width:100%;max-width:720px;min-width:0;overflow-x:hidden}
.luy-standalone-header,.luy-standalone-shell,.luy-standalone-brand,.luy-standalone-station-picker,.luy-np,.luy-np-card,.luy-np-list,.luy-np-list-item,.luy-player-ad-zone{min-width:0;max-width:100%}
.luy-standalone-header select{min-width:0}
.luy-player-ad-zone iframe,.luy-player-ad-zone img,.luy-player-ad-zone video,.luy-player-ad-zone embed,.luy-player-ad-zone object{max-width:100%!important}
@media(max-width:520px){
  .luy-player-control-bar{width:100%;padding:10px}
  .luy-stream-player-integrated,.luy-stream-player-integrated .luy-stream-toggle,.luy-player-control-bar .luy-player-popout{display:flex;width:100%;max-width:100%;min-width:0}
  .luy-stream-player-integrated .luy-stream-toggle,.luy-player-control-bar .luy-player-popout{padding-left:10px;padding-right:10px}
  .luy-player-control-bar .luy-player-popout{align-self:stretch}
  .luy-standalone-player{padding:8px}
  .luy-standalone-header{width:100%;padding:10px}
  .luy-standalone-logo{max-width:42vw}
  .luy-np-card,.luy-np-list-item{width:100%;gap:10px;padding:10px}
  .luy-np-copy{flex:1 1 auto;min-width:0}
}

/* v2.0.12: hard-bound embedded controls inside narrow cards */
.luy-player-control-bar{
  width:100%;
  max-width:100%;
  overflow:hidden;
}
.luy-player-control-bar > *{
  min-width:0;
  max-width:100%;
}
.luy-player-control-bar .luy-player-popout{
  margin:0!important;
  flex:0 1 auto;
}
@media(max-width:520px){
  .luy-player-control-bar{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-items:stretch;
  }
  .luy-player-control-bar > .luy-stream-player-integrated,
  .luy-player-control-bar > .luy-player-popout{
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    justify-self:stretch;
  }
  .luy-player-control-bar .luy-stream-toggle,
  .luy-player-control-bar .luy-player-popout{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
  }
  .luy-player-control-bar .luy-player-popout .dashicons{
    flex:0 0 20px;
  }
  .luy-player-control-bar .luy-player-popout-text{
    flex:0 1 auto;
    max-width:calc(100% - 28px);
  }
}

/* v2.0.13: constrain the actual Open Player anchor box */
.luy-player-control-bar,
.luy-player-control-bar *,
.luy-player-control-bar *::before,
.luy-player-control-bar *::after{
  box-sizing:border-box!important;
}
@media(max-width:520px){
  .luy-player-control-bar > .luy-player-popout{
    display:flex!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    inset:auto!important;
    float:none!important;
    clear:both!important;
    flex:0 0 100%!important;
    justify-self:stretch!important;
    align-self:stretch!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    margin:0!important;
    padding:8px 10px!important;
    transform:none!important;
    overflow:hidden!important;
  }
}


/* v2.0.14: use a native button and fully neutralize theme link/button sizing */
.luy-player-control-bar button.luy-player-popout{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:inline-flex!important;
  position:static!important;
  box-sizing:border-box!important;
  inline-size:auto!important;
  min-inline-size:0!important;
  max-inline-size:100%!important;
  block-size:auto!important;
  max-block-size:none!important;
  margin:0!important;
  transform:none!important;
  text-indent:0!important;
  letter-spacing:normal!important;
}
@media(max-width:520px){
  .luy-player-control-bar button.luy-player-popout{
    inline-size:100%!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    justify-self:stretch!important;
    align-self:stretch!important;
    padding:8px 10px!important;
  }
}

/* v2.0.15: iOS Safari hard containment and fresh asset delivery */
@media (max-width: 520px) {
  .luy-player-shell .luy-player-control-bar {
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    inline-size: 100% !important;
    max-inline-size: 100% !important;
    padding-inline: 10px !important;
    overflow: clip !important;
    contain: inline-size;
  }
  .luy-player-shell .luy-player-control-bar > button.luy-player-popout {
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
    display: flex !important;
    inline-size: 100% !important;
    width: 100% !important;
    max-inline-size: 100% !important;
    max-width: 100% !important;
    min-inline-size: 0 !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
    padding-inline: 10px !important;
    overflow: hidden !important;
  }
}
@supports (-webkit-touch-callout: none) {
  @media (max-width: 520px) {
    .luy-player-shell .luy-player-control-bar > button.luy-player-popout {
      inline-size: calc(100% - 1px) !important;
      width: calc(100% - 1px) !important;
    }
  }
}

/* v2.1.0: Google IMA audio/video preroll stage */
.luy-stream-player{position:relative;flex-wrap:wrap}
.luy-preroll-stage{position:relative;flex:0 0 100%;width:100%;max-width:720px;aspect-ratio:16/9;margin-top:12px;background:#000;border-radius:10px;overflow:hidden;box-shadow:0 6px 22px rgba(0,0,0,.22)}
.luy-preroll-stage[hidden]{display:none!important}
.luy-preroll-ad-container{position:absolute;inset:0;width:100%;height:100%}
.luy-preroll-ad-container>div,.luy-preroll-ad-container iframe,.luy-preroll-ad-container video{max-width:100%!important;max-height:100%!important}
.luy-preroll-status{position:absolute;z-index:2;left:10px;top:10px;padding:4px 8px;border-radius:999px;background:rgba(0,0,0,.72);color:#fff;font-size:12px;line-height:1.2;pointer-events:none}
.luy-preroll-stage.is-audio-ad:after{content:'Audio Advertisement';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;letter-spacing:.02em;pointer-events:none}
.luy-stream-toggle.is-ad-playing{cursor:wait;opacity:.85}
.luy-player-control-bar:has(.luy-preroll-stage:not([hidden])){align-items:flex-start}
@media(max-width:520px){.luy-preroll-stage{border-radius:8px;margin-top:10px}.luy-stream-player{width:100%}}

/* v2.1.2: keep player control visible while IMA loads */
.luy-stream-toggle[aria-busy="true"]{display:inline-flex!important;visibility:visible!important;opacity:.85!important;pointer-events:none}


/* v2.1.3: keep the IMA container rendered without covering or hiding the player controls. */
.luy-preroll-stage.is-ad-pending,
.luy-preroll-stage.is-audio-ad{
  position:absolute!important;
  left:-9999px!important;
  top:0!important;
  width:2px!important;
  height:2px!important;
  min-width:2px!important;
  min-height:2px!important;
  max-width:2px!important;
  aspect-ratio:auto!important;
  margin:0!important;
  opacity:.01!important;
  overflow:hidden!important;
  pointer-events:none!important;
  box-shadow:none!important;
}
.luy-preroll-stage.is-video-ad{
  position:relative!important;
  left:auto!important;
  top:auto!important;
  width:100%!important;
  height:auto!important;
  max-width:720px!important;
  aspect-ratio:16/9!important;
  margin-top:12px!important;
  opacity:1!important;
  pointer-events:auto!important;
}
.luy-stream-toggle.is-ad-playing,
.luy-stream-toggle[aria-busy="true"]{
  display:inline-flex!important;
  visibility:visible!important;
  pointer-events:auto!important;
}


/* v2.1.4: harden player controls and follow Google's audio-only IMA container guidance. */
.luy-player-control-bar,
.luy-stream-player,
.luy-stream-player-integrated {
  overflow: visible !important;
}
.luy-player-control-bar .luy-stream-toggle,
.luy-stream-player .luy-stream-toggle,
button.luy-stream-toggle {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 20 !important;
  pointer-events: auto !important;
  min-height: 42px !important;
}
.luy-preroll-stage,
.luy-preroll-stage.is-ad-pending,
.luy-preroll-stage.is-audio-ad {
  display: none !important;
}
.luy-preroll-stage.is-video-ad {
  display: block !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  max-width: 720px !important;
  aspect-ratio: 16 / 9 !important;
  margin-top: 12px !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.luy-preroll-stage.is-video-ad .luy-preroll-ad-container {
  display: block !important;
}

/* v3.0.0: deterministic IMA preroll flow and always-available primary control. */
button.luy-stream-toggle,
.luy-player-control-bar button.luy-stream-toggle,
.luy-stream-player button.luy-stream-toggle {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 50 !important;
}
button.luy-stream-toggle[aria-busy="true"] {
  cursor: wait;
  pointer-events: auto !important;
}
.luy-preroll-stage[hidden],
.luy-preroll-stage.is-audio-ad {
  display: none !important;
}
.luy-preroll-stage.is-video-ad {
  display: block !important;
}


/* v3.0.1: final control visibility fallback. */
.luy-player-control-bar{display:flex!important;visibility:visible!important;opacity:1!important;min-height:64px!important;overflow:visible!important}
.luy-stream-player.luy-stream-player-integrated{display:flex!important;visibility:visible!important;opacity:1!important;min-height:44px!important;overflow:visible!important}
button.luy-stream-toggle{display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;min-width:170px!important;min-height:44px!important;align-items:center!important;justify-content:center!important;background:#222!important;color:#fff!important}
button.luy-stream-toggle .luy-stream-toggle-text{display:inline!important;visibility:visible!important;opacity:1!important;color:#fff!important}



/* v3.0.3: keep both controls inside their own control card in normal document flow. */
.luy-player-shell.has-integrated-stream .luy-player-now-wrap {
  position: static !important;
  display: grid !important;
  gap: 10px !important;
}
.luy-player-shell.has-integrated-stream .luy-np-card {
  padding-bottom: 16px !important;
  min-height: 0 !important;
}
.luy-player-shell.has-integrated-stream .luy-player-control-bar {
  position: static !important;
  inset: auto !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 64px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  overflow: hidden !important;
  z-index: auto !important;
}
.luy-player-shell.has-integrated-stream .luy-stream-player-integrated {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  z-index: auto !important;
  display: flex !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  overflow: visible !important;
}
.luy-player-shell.has-integrated-stream button.luy-stream-toggle {
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  min-width: 170px !important;
  min-height: 44px !important;
  z-index: auto !important;
}
.luy-player-shell.has-integrated-stream .luy-player-control-bar > button.luy-player-popout {
  position: static !important;
  margin: 0 !important;
  flex: 0 1 auto !important;
}
@media (max-width: 520px) {
  .luy-player-shell.has-integrated-stream .luy-player-control-bar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
  }
  .luy-player-shell.has-integrated-stream .luy-stream-player-integrated,
  .luy-player-shell.has-integrated-stream button.luy-stream-toggle,
  .luy-player-shell.has-integrated-stream .luy-player-control-bar > button.luy-player-popout {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    justify-content: center !important;
  }
}


/* v3.1.0: clickable companion creative for audio prerolls */
.luy-preroll-stage.is-audio-ad.has-companion{
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  height:auto!important;
  min-height:90px;
  max-width:100%;
  aspect-ratio:auto!important;
  margin-top:10px;
  padding:12px;
  display:flex!important;
  align-items:center;
  justify-content:center;
  background:#f5f5f5;
  border:1px solid rgba(127,127,127,.25);
  box-shadow:none;
  overflow:hidden;
}
.luy-preroll-stage.is-audio-ad.has-companion:after{display:none!important}
.luy-preroll-stage.is-audio-ad.has-companion .luy-preroll-status{
  top:6px;
  left:8px;
  font-size:10px;
  z-index:3;
}
.luy-preroll-companion{
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:50px;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.luy-preroll-companion[hidden]{display:none!important}
.luy-preroll-companion iframe,
.luy-preroll-companion img,
.luy-preroll-companion a,
.luy-preroll-companion > div{
  max-width:100%!important;
}
.luy-preroll-companion a{cursor:pointer}


/* v3.2.0: compact Google 120x60 "Button 2" companion for audio prerolls */
.luy-preroll-stage.is-audio-ad.has-companion.is-button-companion{
  flex:0 0 auto!important;
  width:auto!important;
  max-width:180px!important;
  min-height:84px!important;
  margin:0 0 0 10px!important;
  padding:18px 10px 6px!important;
  border-radius:10px!important;
  background:rgba(127,127,127,.08)!important;
  align-self:center!important;
  overflow:visible!important;
}
.luy-preroll-stage.is-audio-ad.has-companion.is-button-companion .luy-preroll-status{
  top:4px!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  text-align:center!important;
  font-size:9px!important;
  line-height:12px!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  color:inherit!important;
}
.luy-preroll-stage.is-audio-ad.has-companion.is-button-companion .luy-preroll-companion{
  width:120px!important;
  min-width:120px!important;
  max-width:120px!important;
  height:60px!important;
  min-height:60px!important;
  max-height:60px!important;
  display:flex!important;
  overflow:hidden!important;
  border-radius:7px!important;
  box-shadow:0 2px 7px rgba(0,0,0,.14)!important;
}
.luy-preroll-stage.is-audio-ad.has-companion.is-button-companion .luy-preroll-companion iframe,
.luy-preroll-stage.is-audio-ad.has-companion.is-button-companion .luy-preroll-companion img,
.luy-preroll-stage.is-audio-ad.has-companion.is-button-companion .luy-preroll-companion a,
.luy-preroll-stage.is-audio-ad.has-companion.is-button-companion .luy-preroll-companion > div{
  width:120px!important;
  height:60px!important;
  min-width:120px!important;
  min-height:60px!important;
  max-width:120px!important;
  max-height:60px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
@media(max-width:520px){
  .luy-preroll-stage.is-audio-ad.has-companion.is-button-companion{
    margin:8px auto 0!important;
    align-self:center!important;
  }
}


/* v3.3.1: render audio companions independently so the IMA stage never covers the player. */
.luy-stream-player > .luy-preroll-companion{
  flex:0 0 auto!important;
  align-self:center!important;
  margin-left:10px!important;
  padding:18px 10px 6px!important;
  width:auto!important;
  max-width:180px!important;
  min-width:0!important;
  min-height:84px!important;
  position:relative!important;
  display:none!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(127,127,127,.25)!important;
  border-radius:10px!important;
  background:rgba(127,127,127,.08)!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.luy-stream-player > .luy-preroll-companion.is-visible{display:flex!important}
.luy-stream-player > .luy-preroll-companion.is-visible:before{
  content:'Advertisement';
  position:absolute;
  left:0;right:0;top:4px;
  text-align:center;
  font-size:9px;
  line-height:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  opacity:.72;
  pointer-events:none;
}
.luy-stream-player > .luy-preroll-companion.is-button-companion{
  width:140px!important;
  max-width:140px!important;
}
.luy-stream-player > .luy-preroll-companion.is-button-companion iframe,
.luy-stream-player > .luy-preroll-companion.is-button-companion img,
.luy-stream-player > .luy-preroll-companion.is-button-companion a,
.luy-stream-player > .luy-preroll-companion.is-button-companion > div{
  width:120px!important;
  height:60px!important;
  min-width:120px!important;
  min-height:60px!important;
  max-width:120px!important;
  max-height:60px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
@media(max-width:520px){
  .luy-stream-player > .luy-preroll-companion.is-visible{
    flex-basis:100%!important;
    margin:8px auto 0!important;
  }
}


/* v3.3.2: isolate IMA playback from the visible station player. */
.luy-ima-playback-proxy{
  position:fixed!important;
  left:-10000px!important;
  top:-10000px!important;
  width:1px!important;
  height:1px!important;
  min-width:1px!important;
  min-height:1px!important;
  max-width:1px!important;
  max-height:1px!important;
  opacity:.001!important;
  pointer-events:none!important;
  visibility:visible!important;
  z-index:-2147483647!important;
}
.luy-preroll-stage.is-ad-pending:not(.is-video-ad),
.luy-preroll-stage.is-audio-ad,
.luy-preroll-stage.is-audio-ad .luy-preroll-ad-container{
  display:none!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  max-width:0!important;
  max-height:0!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}


/* v3.3.3: plugin-styled, simplified audio companion creatives. */
.luy-stream-player > .luy-preroll-companion{
  margin-left:12px!important;
  padding:15px 6px 4px!important;
  width:132px!important;
  max-width:132px!important;
  min-height:68px!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  overflow:visible!important;
}
.luy-stream-player > .luy-preroll-companion.is-visible:before{
  content:'Sponsored';
  top:0!important;
  font-size:8px!important;
  line-height:12px!important;
  font-weight:700!important;
  letter-spacing:.1em!important;
  opacity:.55!important;
}
.luy-stream-player > .luy-preroll-companion .luy-companion-link{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:120px!important;
  height:48px!important;
  min-width:120px!important;
  min-height:48px!important;
  max-width:120px!important;
  max-height:48px!important;
  margin:0!important;
  padding:6px 10px!important;
  border:1px solid rgba(255,255,255,.24)!important;
  border-radius:9px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#005bbb,#004799)!important;
  box-shadow:0 4px 12px rgba(0,0,0,.16)!important;
  color:#fff!important;
  font-family:Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.15!important;
  text-align:center!important;
  text-decoration:none!important;
  cursor:pointer!important;
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease!important;
}
.luy-stream-player > .luy-preroll-companion .luy-companion-link:hover,
.luy-stream-player > .luy-preroll-companion .luy-companion-link:focus-visible{
  transform:translateY(-1px)!important;
  box-shadow:0 6px 16px rgba(0,0,0,.22)!important;
  filter:brightness(1.08)!important;
  outline:none!important;
}
.luy-stream-player > .luy-preroll-companion.has-image-companion .luy-companion-link{
  height:60px!important;
  min-height:60px!important;
  max-height:60px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.luy-stream-player > .luy-preroll-companion .luy-companion-image{
  display:block!important;
  width:120px!important;
  height:60px!important;
  max-width:120px!important;
  max-height:60px!important;
  object-fit:contain!important;
  border-radius:8px!important;
}
@media(max-width:520px){
  .luy-stream-player > .luy-preroll-companion.is-visible{
    flex-basis:100%!important;
    width:132px!important;
    margin:8px auto 0!important;
  }
}


/* v3.3.6: native companion CTA button and compact ad row. */
.luy-stream-player > .luy-preroll-companion,
.luy-stream-player > .luy-preroll-companion.is-button-companion{
  flex:0 0 auto!important;
  align-self:center!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  min-height:0!important;
  margin:0 0 0 14px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.luy-stream-player > .luy-preroll-companion.is-visible{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.luy-stream-player > .luy-preroll-companion.is-visible:before{
  display:none!important;
  content:none!important;
}
.luy-stream-player > .luy-preroll-companion .luy-companion-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  width:auto!important;
  height:44px!important;
  min-width:138px!important;
  min-height:44px!important;
  max-width:240px!important;
  max-height:44px!important;
  margin:0!important;
  padding:0 18px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  border:1px solid rgba(0,0,0,.12)!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#1479e8 0%,#075bbd 100%)!important;
  box-shadow:0 3px 8px rgba(0,91,187,.28),inset 0 1px 0 rgba(255,255,255,.28)!important;
  color:#fff!important;
  font-family:Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease!important;
}
.luy-stream-player > .luy-preroll-companion .luy-companion-button:hover,
.luy-stream-player > .luy-preroll-companion .luy-companion-button:focus-visible{
  transform:translateY(-1px)!important;
  filter:brightness(1.07)!important;
  box-shadow:0 5px 13px rgba(0,91,187,.34),inset 0 1px 0 rgba(255,255,255,.3)!important;
  outline:3px solid rgba(20,121,232,.22)!important;
  outline-offset:2px!important;
}
.luy-stream-player > .luy-preroll-companion .luy-companion-button:active{
  transform:translateY(0)!important;
  box-shadow:0 2px 5px rgba(0,91,187,.25)!important;
}
.luy-stream-player > .luy-preroll-companion .luy-companion-button-label{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.luy-stream-player > .luy-preroll-companion .luy-companion-button-arrow{
  display:block!important;
  flex:0 0 auto!important;
  font-size:18px!important;
  line-height:1!important;
  transform:translateY(-1px)!important;
}
.luy-stream-player > .luy-preroll-companion.has-image-companion .luy-companion-button{
  width:120px!important;
  height:60px!important;
  min-width:120px!important;
  min-height:60px!important;
  max-width:120px!important;
  max-height:60px!important;
  padding:0!important;
  border:0!important;
  border-radius:8px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.luy-stream-player > .luy-preroll-companion .luy-companion-image{
  display:block!important;
  width:120px!important;
  height:60px!important;
  max-width:120px!important;
  max-height:60px!important;
  object-fit:contain!important;
  border-radius:8px!important;
}
@media(max-width:520px){
  .luy-stream-player > .luy-preroll-companion.is-visible{
    flex-basis:auto!important;
    width:auto!important;
    margin:8px 0 0!important;
  }
  .luy-stream-player > .luy-preroll-companion .luy-companion-button{
    min-width:150px!important;
  }
}

/* v3.4.1: visible IMA stage with SDK-managed iOS video playback. */
.luy-preroll-stage.is-ad-pending.is-video-ad,
.luy-preroll-stage.is-video-ad {
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:16 / 9!important;
  min-height:1px!important;
  visibility:visible!important;
  opacity:1!important;
  background:#000!important;
  overflow:hidden!important;
}
.luy-preroll-stage.is-video-ad .luy-preroll-ad-container,
.luy-preroll-stage.is-ad-pending.is-video-ad .luy-preroll-ad-container {
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:1px!important;
  min-height:1px!important;
  visibility:visible!important;
  opacity:1!important;
  background:#000!important;
}
.luy-preroll-stage.is-video-ad .luy-preroll-ad-container > div,
.luy-preroll-stage.is-video-ad .luy-preroll-ad-container iframe,
.luy-preroll-stage.is-video-ad .luy-preroll-ad-container video {
  visibility:visible!important;
  opacity:1!important;
}


/* v3.4.2: full-width, centered responsive video preroll. */
.luy-stream-player > .luy-preroll-stage.is-video-ad,
.luy-stream-player > .luy-preroll-stage.is-ad-pending.is-video-ad {
  box-sizing:border-box!important;
  flex:0 0 100%!important;
  align-self:stretch!important;
  width:100%!important;
  max-width:none!important;
  margin:12px auto 0!important;
  aspect-ratio:16 / 9!important;
}
.luy-preroll-stage.is-video-ad .luy-preroll-ad-container,
.luy-preroll-stage.is-ad-pending.is-video-ad .luy-preroll-ad-container {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  overflow:hidden!important;
}


/* v3.4.3: give video prerolls the entire control-card width. */
.luy-player-control-bar.has-video-preroll{
  flex-wrap:wrap!important;
  align-items:flex-start!important;
}
.luy-player-control-bar.has-video-preroll > .luy-stream-player-integrated{
  flex:0 0 100%!important;
  width:100%!important;
  max-width:100%!important;
}
.luy-player-control-bar.has-video-preroll > .luy-player-popout{
  flex:0 0 auto!important;
  margin-left:auto!important;
}
.luy-player-control-bar.has-video-preroll .luy-preroll-stage.is-video-ad,
.luy-player-control-bar.has-video-preroll .luy-preroll-stage.is-ad-pending.is-video-ad{
  flex-basis:100%!important;
  width:100%!important;
  max-width:100%!important;
}
@media(max-width:520px){
  .luy-player-control-bar.has-video-preroll > .luy-player-popout{
    width:100%!important;
    margin-left:0!important;
  }
}


/* v3.4.4: keep both controls above the full-width video preroll. */
.luy-player-control-bar.has-video-preroll{
  flex-wrap:wrap!important;
  align-items:flex-start!important;
}
.luy-player-control-bar.has-video-preroll > .luy-stream-player-integrated{
  flex:1 1 auto!important;
  width:auto!important;
  max-width:100%!important;
  order:1!important;
}
.luy-player-control-bar.has-video-preroll > .luy-player-popout{
  flex:0 1 auto!important;
  margin-left:0!important;
  order:2!important;
}
.luy-player-control-bar.has-video-preroll > .luy-preroll-stage.is-video-ad,
.luy-player-control-bar.has-video-preroll > .luy-preroll-stage.is-ad-pending.is-video-ad{
  flex:0 0 100%!important;
  width:100%!important;
  max-width:100%!important;
  order:3!important;
  margin-top:12px!important;
}
@media(max-width:520px){
  .luy-player-control-bar.has-video-preroll > .luy-stream-player-integrated,
  .luy-player-control-bar.has-video-preroll > .luy-player-popout{
    flex:0 0 100%!important;
    width:100%!important;
  }
  .luy-player-control-bar.has-video-preroll > .luy-preroll-stage.is-video-ad,
  .luy-player-control-bar.has-video-preroll > .luy-preroll-stage.is-ad-pending.is-video-ad{
    margin-top:10px!important;
  }
}



/* v3.4.7: preserve Google IMA's native click-through and internal stacking. */
.luy-preroll-stage.is-video-ad,
.luy-preroll-stage.is-ad-pending.is-video-ad {
  position:relative!important;
  isolation:isolate;
}
.luy-preroll-stage.is-video-ad .luy-preroll-ad-container,
.luy-preroll-stage.is-ad-pending.is-video-ad .luy-preroll-ad-container {
  display:block!important;
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  pointer-events:auto!important;
  overflow:hidden!important;
}
/* IMA controls the size, stacking order, and pointer handling of every child
   it creates. Deliberately do not target its child divs, iframe, or video. */

/* v3.4.8: center the Listen Live control in the standalone pop-out player. */
.luy-standalone-body .luy-standalone-shell .luy-player-control-bar {
  justify-content: center !important;
}
.luy-standalone-body .luy-standalone-shell .luy-stream-player-integrated {
  flex: 0 1 auto !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-content: center !important;
}
.luy-standalone-body .luy-standalone-shell .luy-stream-toggle {
  margin-left: auto !important;
  margin-right: auto !important;
}
.luy-standalone-body .luy-standalone-shell .luy-player-control-bar.has-video-preroll > .luy-stream-player-integrated {
  flex: 0 1 auto !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 520px) {
  .luy-standalone-body .luy-standalone-shell .luy-stream-player-integrated,
  .luy-standalone-body .luy-standalone-shell .luy-stream-toggle {
    width: min(100%, 260px) !important;
  }
}

/* v3.4.9: keep the pop-out button centered without constraining video width. */
.luy-standalone-body .luy-standalone-shell .luy-player-control-bar.has-video-preroll {
  width: 100% !important;
}
.luy-standalone-body .luy-standalone-shell .luy-player-control-bar.has-video-preroll > .luy-stream-player-integrated {
  display: flex !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-items: center !important;
}
.luy-standalone-body .luy-standalone-shell .luy-player-control-bar.has-video-preroll .luy-stream-toggle {
  align-self: center !important;
  width: auto !important;
  max-width: min(100%, 260px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.luy-standalone-body .luy-standalone-shell .luy-player-control-bar.has-video-preroll .luy-preroll-stage.is-video-ad,
.luy-standalone-body .luy-standalone-shell .luy-player-control-bar.has-video-preroll .luy-preroll-stage.is-ad-pending.is-video-ad {
  align-self: stretch !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* v3.5.0: show text only in the Listen Live button. */
.luy-stream-toggle .dashicons,
.luy-stream-toggle::before,
.luy-stream-toggle::after,
.luy-stream-toggle .luy-stream-toggle-text::before,
.luy-stream-toggle .luy-stream-toggle-text::after {
  display: none !important;
  content: none !important;
  background-image: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}


/* v4.3.0 responsive player layout system */
.luy-player-layout-grid{display:grid;gap:var(--luy-layout-gap,14px);min-width:0}
.luy-player-primary,.luy-player-history-panel{min-width:0}
.luy-spacing-compact{--luy-layout-gap:8px}.luy-spacing-comfortable{--luy-layout-gap:14px}.luy-spacing-spacious{--luy-layout-gap:24px}
.luy-align-center{text-align:center}.luy-align-center .luy-np-card,.luy-align-center .luy-np-list-item{justify-content:center}.luy-align-center .luy-player-control-bar{justify-content:center}
.luy-art-square .luy-np-art{border-radius:0!important}.luy-art-rounded .luy-np-art{border-radius:10px!important}.luy-art-circle .luy-np-art{border-radius:999px!important}
.luy-layout-split .luy-player-layout-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
.luy-layout-split.luy-ratio-40-60 .luy-player-layout-grid{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
.luy-layout-split.luy-ratio-60-40 .luy-player-layout-grid{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
.luy-layout-hero .luy-player-primary .luy-np-card{display:grid;justify-items:center;text-align:center;padding:clamp(16px,3vw,32px)}
.luy-layout-hero .luy-player-primary .luy-np-art{width:clamp(180px,36vw,360px);height:clamp(180px,36vw,360px);flex-basis:auto}
.luy-layout-hero .luy-player-primary .luy-np-title{font-size:clamp(1.35rem,3vw,2.25rem)}
.luy-layout-hero .luy-player-control-bar{justify-content:center}
.luy-layout-compact .luy-player-primary .luy-np-card{padding:8px 10px}.luy-layout-compact .luy-player-primary .luy-np-art{width:72px;height:72px;flex-basis:72px}.luy-layout-compact .luy-player-control-bar{padding:7px 9px}
.luy-layout-minimal .luy-player-history-panel{display:none}.luy-layout-minimal .luy-player-primary .luy-np-card{max-width:560px}.luy-layout-minimal .luy-player-layout-grid{grid-template-columns:1fr}
.luy-history-cards .luy-np-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.luy-history-cards .luy-np-list-item{height:100%}
@media(max-width:760px){
 .luy-layout-split .luy-player-layout-grid{grid-template-columns:minmax(0,1fr)}
 .luy-mobile-history-above .luy-player-history-panel{order:-1}
 .luy-mobile-history-hidden .luy-player-history-panel{display:none}
 .luy-layout-hero .luy-player-primary .luy-np-art{width:min(70vw,280px);height:min(70vw,280px)}
}
