.rpbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(7, 9, 14, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  color: #fff;
}

.rpbar[hidden] {
  display: none !important;
}

.rpbar__inner {
  display: grid;
  grid-template-columns: 88px 1fr 190px;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 10px 16px;
}

.rpbar__side {
  display: flex;
  align-items: center;
}

.rpbar__side--left {
  justify-content: flex-start;
}

.rpbar__side--right {
  justify-content: flex-end;
  gap: 12px;
}

.rpbar__center {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.rpbar__station,
.rpbar__now {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rpbar__station-logo,
.rpbar__now-cover {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex: 0 0 56px;
  background: rgba(255, 255, 255, 0.06);
}

.rpbar__station-logo img,
.rpbar__now-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.rpbar__station-meta,
.rpbar__now-meta {
  min-width: 0;
}

.rpbar__station-name,
.rpbar__now-title,
.rpbar__now-top,
.rpbar__station-sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rpbar__station-name {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
}

.rpbar__station-sub {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.56);
}

.rpbar__now-top {
  font-size: 13px;
  line-height: 1.2;
  color: rgba(255,255,255,0.56);
}

.rpbar__now-title {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
}

.rpbar__btn {
  appearance: none;
  border: 0;
  outline: 0;
  cursor: pointer;
  color: #fff;
  background: rgba(255,255,255,0.08);
  transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

.rpbar__btn:hover {
  background: rgba(255,255,255,0.14);
}

.rpbar__btn:active {
  transform: scale(0.97);
}

/* PLAY */
.rpbar__btn--play {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #4DA3FF !important;
  border: none !important;
  box-shadow: none !important;
}

.rpbar__btn--play:hover,
.rpbar__btn--play:active {
  background: #4DA3FF !important;
}

/* MUTE НЕ ТРОГАЕМ */
.rpbar__btn--ghost,
.rpbar__btn--mute {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rpbar__podcast-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* КАЧЕЛЬКА */
.rpbar__volume {
  width: 96px;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

/* track */
.rpbar__volume::-webkit-slider-runnable-track {
  height: 4px;
  background: #4DA3FF;
  border-radius: 999px;
  border: none;
}

.rpbar__volume::-moz-range-track {
  height: 4px;
  background: #4DA3FF;
  border-radius: 999px;
  border: none;
}

/* thumb */
.rpbar__volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border-radius: 50%;
  background: #4DA3FF;
  border: none;
}

.rpbar__volume::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4DA3FF;
  border: none;
}

body.has-rpbar {
  padding-bottom: 92px;
}

@media (max-width: 1100px) {
  .rpbar__inner {
    grid-template-columns: 74px 1fr 150px;
    min-height: 78px;
  }

  .rpbar__station-name {
    font-size: 20px;
  }

  .rpbar__station-logo,
  .rpbar__now-cover {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }
}

@media (max-width: 800px) {
  .rpbar__inner {
    grid-template-columns: 62px 1fr 118px;
    gap: 10px;
    padding: 10px 12px;
  }

  .rpbar__center {
    justify-content: flex-start;
    gap: 12px;
  }

  .rpbar__station-name {
    font-size: 16px;
  }

  .rpbar__station-sub,
  .rpbar__now-top {
    font-size: 12px;
  }

  .rpbar__now-title {
    font-size: 14px;
  }

  .rpbar__btn--play {
    width: 48px;
    height: 48px;
  }

  .rpbar__btn--mute,
  .rpbar__btn--ghost {
    width: 38px;
    height: 38px;
  }

  .rpbar__volume {
    width: 62px;
  }
}

@media (max-width: 640px) {
  .rpbar__inner {
    grid-template-columns: 54px 1fr 88px;
  }

  .rpbar__now {
    display: none !important;
  }

  .rpbar__station-logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 6px;
  }

  .rpbar__station-name {
    font-size: 14px;
  }

  .rpbar__station-sub {
    font-size: 11px;
  }

  .rpbar__volume {
    display: none;
  }
}

.rpbar__now[hidden] {
  display: none !important;
}

.rpbar__podcast-nav[hidden] {
  display: none !important;
}

.rpbar__now-cover img:not([src]),
.rpbar__now-cover img[src=""] {
  display: none;
}

.rpbar__now-cover:empty {
  display: none;
}