.playradio-header-player {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.72rem;
  min-width: min(19rem, 28vw);
  max-width: 22rem;
  color: var(--play-text, #fff);
}
.playradio-header-player-copy {
  display: grid;
  min-width: 0;
  max-width: min(18rem, 23vw);
  gap: 0.3rem;
  text-align: right;
}
.playradio-header-player-frequency,
.playradio-header-player-track {
  display: block;
  overflow: hidden;
}
.playradio-header-player-frequency {
  white-space: nowrap;
  text-overflow: ellipsis;
}
.playradio-header-player-frequency {
  font: 650 0.78rem/1.1 var(--play-font-body, system-ui, sans-serif);
  color: var(--play-text, #fff);
}
.playradio-header-player-track {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* Metadata is deliberately regular-weight so long artist/title strings
     remain visually calm in the persistent Play Radio header. */
  font: 400 0.83rem/1.18 var(--play-font-body, system-ui, sans-serif);
  color: var(--play-text, #fff);
  text-overflow: clip;
  white-space: normal;
}
.playradio-header-player-control {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 4.9rem;
  height: 4.9rem;
  padding: 0;
  color: #111;
  background: linear-gradient(135deg, var(--play-yellow, #ffd400), var(--play-green, #16c784));
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--play-radius, .85rem);
  box-shadow: 0 0 0 1px rgba(255,212,0,.2), 0 0 .9rem rgba(255,212,0,.28), 0 0 1.7rem rgba(0,199,111,.22);
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.playradio-header-player-control:hover,
.playradio-header-player-control:focus-visible {
  filter: saturate(1.08) brightness(1.05);
  box-shadow: 0 0 0 1px rgba(255,255,255,.42), 0 0 1.1rem rgba(255,212,0,.42), 0 0 2rem rgba(0,199,111,.34);
  outline: none;
  transform: translateY(-1px);
}
.playradio-player-icon { width: 2.2rem; height: 2.2rem; fill: currentColor; }
.playradio-player-icon-pause { display: none; }
.playradio-header-player.is-playing .playradio-player-icon-play { display: none; }
.playradio-header-player.is-playing .playradio-player-icon-pause { display: block; }
.playradio-header-player.is-error .playradio-header-player-track { color: var(--play-red, #ff3347); }
@media (max-width: 70em) and (min-width: 60.001em) {
  .playradio-header-player { min-width: 17rem; max-width: none; }
}
@media (max-width: 60em) {
  /* Mobile keeps the same audio engine, but exposes only the compact play/pause action in the header. */
  .playradio-header-player {
    display: inline-flex;
    width: auto;
    max-width: none;
    min-width: 0;
    gap: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  .playradio-header-player-copy { display: none; }
  .playradio-header-player-control { width: 3.05rem; height: 3.05rem; border-radius: calc(var(--play-radius, .85rem) * .9); }
  .playradio-player-icon { width: 1.56rem; height: 1.56rem; }
}

/* Play Radio Player 2.0.2 — transient reconnect state remains readable while
   the single-stream recovery engine retries in the background. */
.playradio-header-player.is-error:not(.is-playing) .playradio-header-player-control {
  filter: saturate(.84) brightness(.94);
}

/* Play Radio Player 2.1.0 — discreet feedback while page content is replaced.
   The header player deliberately remains fully active and interactive. */
html.playradio-navigation-loading #wrapper {
  opacity: .62;
  transition: opacity .16s ease;
}
html.playradio-navigation-loading #wrapper a,
html.playradio-navigation-loading #wrapper button,
html.playradio-navigation-loading #wrapper input,
html.playradio-navigation-loading #wrapper select,
html.playradio-navigation-loading #wrapper textarea {
  pointer-events: none;
}


/* Play Radio Player 2.1.8 — clearer header hierarchy and Play Radio warm action. */
@media (min-width: 60.001em) {
  .playradio-header-player-copy {
    gap: .44rem;
    transform: translateY(-.2rem);
  }

  .playradio-header-player-frequency {
    position: relative;
    top: -.04rem;
  }
}

.playradio-header-player-control {
  background: linear-gradient(135deg,
    #fff8f1 0%,
    #ffd8b8 27%,
    #ffab38 61%,
    #ff6b00 100%);
  box-shadow:
    0 0 0 1px rgba(255,236,218,.34),
    0 0 .9rem rgba(255,157,31,.38),
    0 0 1.7rem rgba(255,107,0,.32);
}

.playradio-header-player-control:hover,
.playradio-header-player-control:focus-visible {
  background: linear-gradient(135deg,
    #ffffff 0%,
    #ffe1c6 27%,
    #ffb54b 60%,
    #ff760f 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.48),
    0 0 1.1rem rgba(255,171,56,.54),
    0 0 2rem rgba(255,107,0,.42);
}


/* Play Radio Player 2.1.9 — warm action refined to a smooth logo-inspired blend. */
.playradio-header-player-control {
  background-color: #ff820b;
  background-image: linear-gradient(140deg,
    #fff3e8 0%,
    #ffe1c3 23%,
    #ffc06a 56%,
    #ff820b 78%,
    #ff6500 100%);
  box-shadow:
    0 0 0 1px rgba(255,183,103,.42),
    0 0 .72rem rgba(255,150,35,.28),
    0 0 1.65rem rgba(255,105,0,.24);
  transition: background-image .18s ease, box-shadow .18s ease, filter .18s ease, transform .18s ease;
}
.playradio-header-player-control:hover,
.playradio-header-player-control:focus-visible {
  background-image: linear-gradient(140deg,
    #fff7f0 0%,
    #ffe6cf 23%,
    #ffca7e 56%,
    #ff941f 78%,
    #ff7210 100%);
  box-shadow:
    0 0 0 1px rgba(255,204,151,.54),
    0 0 .92rem rgba(255,161,47,.36),
    0 0 1.9rem rgba(255,111,7,.30);
}


/* Play Radio Player 2.1.10 — match the refined LIVE surface without the pale inset edge. */
.playradio-header-player-control {
  background-color: #ff941c;
  background-image:
    radial-gradient(125% 150% at 0% 0%,
      rgba(255, 255, 255, .52) 0%,
      rgba(255, 250, 242, .22) 14%,
      rgba(255, 250, 242, 0) 39%),
    linear-gradient(135deg,
      #ffd36b 0%,
      #ffbd45 36%,
      #ff941c 68%,
      #ff7208 100%);
  background-position: center;
  background-size: 100% 100%;
  border-color: rgba(245, 133, 20, .82);
  box-shadow:
    0 0 0 1px rgba(255, 166, 57, .20),
    0 0 .72rem rgba(255, 151, 31, .26),
    0 0 1.58rem rgba(255, 102, 0, .22);
}
.playradio-header-player-control:hover,
.playradio-header-player-control:focus-visible {
  background-image:
    radial-gradient(125% 150% at 0% 0%,
      rgba(255, 255, 255, .62) 0%,
      rgba(255, 251, 244, .26) 14%,
      rgba(255, 251, 244, 0) 39%),
    linear-gradient(135deg,
      #ffe081 0%,
      #ffc554 36%,
      #ffa02b 68%,
      #ff7c11 100%);
  border-color: rgba(255, 153, 42, .92);
  box-shadow:
    0 0 0 1px rgba(255, 181, 81, .25),
    0 0 .92rem rgba(255, 163, 47, .34),
    0 0 1.84rem rgba(255, 111, 7, .28);
}

/* Play Radio Player 2.1.13 — blocked/unfilled WP QUADS slots must not leave labels or blank space. */
.playradio-quads-slot.playradio-ad-empty,
.playradio-inline-ad.playradio-ad-empty,
.playradio-ad-empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  border: 0 !important;
}
