.nrp-player {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-family: inherit;
  color: #111;
}

.nrp-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  padding: 16px;
  width: 100%;
  max-width: 100%;
}

.nrp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.nrp-station {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #111;
}

.nrp-status {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #666;
}

.nrp-track-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.nrp-art-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #ff8a00 0%, #ffb347 100%);
  flex-shrink: 0;
}

.nrp-art {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nrp-art-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.nrp-art-placeholder.is-visible {
  display: flex;
}

.nrp-meta {
  min-width: 0;
  width: 100%;
}

.nrp-title {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.nrp-progress-block {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
}

.nrp-time {
  font-size: 12px;
  line-height: 1;
  color: #777;
  white-space: nowrap;
}

.nrp-progress {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.nrp-progress-bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8a00 0%, #ffb347 100%);
  transition: width 0.3s ease;
}

.nrp-eq-wrap {
  margin-top: 12px;
  width: 100%;
  overflow: hidden;
}

.nrp-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  min-height: 48px;
  height: 48px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.nrp-eq-bar {
  display: block;
  flex: 1 1 0;
  min-width: 2px;
  max-width: 4px;
  min-height: 8px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb347 0%, #ff8a00 100%);
  opacity: 0.35;
  transition: height 0.12s linear, opacity 0.12s linear;
  will-change: height, opacity;
}

.nrp-eq.is-playing .nrp-eq-bar {
  opacity: 0.9;
}

.nrp-ticker-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  padding: 10px 0;
}

.nrp-ticker-track {
  --nrp-ticker-duration: 60s;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  min-width: max-content;
  padding-left: 100%;
  animation-name: nrpTickerMove;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: var(--nrp-ticker-duration);
  will-change: transform;
}

.nrp-ticker-item {
  display: inline-block;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
}

.nrp-ticker-sep {
  display: inline-block;
  margin: 0 16px;
  color: #ffb347;
  font-size: 14px;
  line-height: 1;
}

@keyframes nrpTickerMove {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

.nrp-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 14px 0 12px;
}

.nrp-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.nrp-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a00 0%, #ffb347 100%);
  color: #111;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 138, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.nrp-play:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 138, 0, 0.34);
}

.nrp-play:active {
  transform: translateY(0);
}

.nrp-play svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

.nrp-volume-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  max-width: 260px;
  width: 100%;
  flex: 1 1 220px;
}

.nrp-volume-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #555;
  flex: 0 0 auto;
}

.nrp-volume-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

.nrp-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  outline: none;
  cursor: pointer;
}

.nrp-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff8a00;
  border: 0;
  box-shadow: 0 2px 8px rgba(255, 138, 0, 0.35);
}

.nrp-volume::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ff8a00;
  border: 0;
  box-shadow: 0 2px 8px rgba(255, 138, 0, 0.35);
}

.nrp-volume::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
}

/* Планшет */
@media (max-width: 991px) {
  .nrp-card {
    padding: 14px;
    border-radius: 16px;
  }

  .nrp-track-row {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .nrp-art-wrap {
    width: 76px;
    height: 76px;
    border-radius: 14px;
  }

  .nrp-station {
    font-size: 18px;
  }

  .nrp-title {
    font-size: 16px;
  }

  .nrp-eq {
    gap: 2px;
    min-height: 40px;
    height: 40px;
  }

  .nrp-eq-bar {
    max-width: 3px;
  }
}

/* Мобильные */
@media (max-width: 767px) {
  .nrp-card {
    padding: 12px;
    border-radius: 14px;
  }

  .nrp-head {
    gap: 10px;
    margin-bottom: 12px;
  }

  .nrp-station {
    font-size: 17px;
  }

  .nrp-status {
    font-size: 12px;
  }

  .nrp-track-row {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .nrp-art-wrap {
    width: 72px;
    height: 72px;
    border-radius: 12px;
  }

  .nrp-title {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .nrp-progress-block {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px;
  }

  .nrp-time {
    font-size: 11px;
  }

  .nrp-eq-wrap {
    margin-top: 10px;
  }

  .nrp-eq {
    min-height: 32px;
    height: 32px;
    gap: 2px;
  }

  .nrp-eq-bar {
    max-width: 3px;
    min-width: 2px;
  }

  .nrp-ticker-wrap {
    margin-top: 12px;
    border-radius: 10px;
    padding: 8px 0;
  }

  .nrp-ticker-item,
  .nrp-ticker-sep {
    font-size: 13px;
  }

  .nrp-divider {
    margin: 12px 0 10px;
  }

  .nrp-controls-row {
    gap: 10px;
  }

  .nrp-play {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .nrp-play svg {
    width: 20px;
    height: 20px;
  }

  .nrp-volume-wrap {
    min-width: 0;
    flex: 1 1 auto;
    max-width: none;
  }
}

/* Очень узкие экраны */
@media (max-width: 480px) {
  .nrp-card {
    padding: 10px;
    border-radius: 12px;
  }

  .nrp-head {
    margin-bottom: 10px;
  }

  .nrp-station {
    font-size: 16px;
  }

  .nrp-track-row {
    gap: 10px;
  }

  .nrp-art-wrap {
    width: 64px;
    height: 64px;
    border-radius: 10px;
  }

  .nrp-art-placeholder {
    font-size: 14px;
  }

  .nrp-title {
    font-size: 14px;
    line-height: 1.3;
  }

  .nrp-progress-block {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 5px;
  }

  .nrp-time {
    font-size: 10px;
  }

  .nrp-eq {
    min-height: 26px;
    height: 26px;
    gap: 1px;
  }

  .nrp-eq-bar {
    max-width: 2px;
    min-width: 1px;
  }

  .nrp-ticker-item,
  .nrp-ticker-sep {
    font-size: 12px;
  }

  .nrp-controls-row {
    flex-wrap: wrap;
    align-items: center;
  }

  .nrp-play {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .nrp-volume-wrap {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }
}