/* Public station metrics policy: do not expose listener totals, backend source labels or technical stream details. */

/* Global player */
.player-listeners {
  display: none !important;
}

/* Homepage hero / on-air card */
.hero-stat:has([data-np-listeners]),
.hero-stat:has([data-np-quality]),
.onair-stats > span:has([data-np-listeners]) {
  display: none !important;
}

/* Listen page */
.listen-stats > div:has([data-np-listeners]),
.listen-stats > div:has([data-np-quality]) {
  display: none !important;
}

/* Do not expose AzuraCast backend/source labels such as "default". */
[data-np-source] {
  display: none !important;
}
.station-strip-item:has([data-np-source]) {
  display: none !important;
}

/* Rebalance the station strip after removing the source column. */
.station-strip-grid {
  grid-template-columns: 1.2fr 1.2fr .8fr !important;
}

/* Do not publish technical mount choices such as 192 kbps / MP3. */
.stream-options {
  display: none !important;
}

/* Last-resort protection for any future component using these live data hooks. */
[data-np-listeners],
[data-np-quality] {
  display: none !important;
}

/* Rebalance the persistent player after removing the listener column. */
.global-player {
  grid-template-columns: 54px 46px minmax(0,1fr) 150px 150px auto !important;
}

@media (max-width: 1050px) {
  .global-player {
    grid-template-columns: 48px 42px minmax(0,1fr) auto !important;
  }
}

@media (max-width: 780px) {
  .global-player {
    grid-template-columns: 44px 40px minmax(0,1fr) !important;
  }

  .station-strip-grid {
    grid-template-columns: 1fr !important;
  }
}
