/* Pforzheimer-Musikwelt – einzelner Radioplayer V29 */
.hero {
  height: 305px;
}

.pmw-radio-player {
  position: absolute;
  left: 50%;
  top: 92px;
  z-index: 4;
  width: min(920px, calc(100% - 32px));
  transform: translateX(-50%);
  overflow: hidden;
  color: #fff1c2;
  background: rgba(8, 7, 6, 0.97);
  border: 1px solid #c99a35;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.48);
}

.pmw-radio-player::before,
.pmw-radio-player::after {
  content: none !important;
  display: none !important;
}

.pmw-player-statusbar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 15px;
  border-bottom: 1px solid rgba(201, 154, 53, 0.35);
  background: rgba(15, 11, 7, 0.94);
}

.pmw-radio-player .status-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  width: max-content;
  flex: 0 0 auto;
  padding: 4px 9px;
  font-size: 10px;
  line-height: 1;
  border-radius: 999px;
}

.pmw-connection-state {
  min-width: 0;
  overflow: hidden;
  color: #d8bd7a;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pmw-player-body {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr) 265px;
  align-items: center;
  gap: 15px;
  padding: 10px 16px 9px;
}

.pmw-presenter {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.pmw-radio-player .presenter-photo {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid #c99a35;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #0f0b07;
}

.pmw-radio-player .listener-mini {
  position: static;
  width: 98px;
  padding: 3px 7px;
  color: #fff1c2;
  font-size: 10px;
  text-align: center;
  border: 1px solid #9f7420;
  border-radius: 7px;
  background: #0f0b07;
}

.pmw-radio-player .track-info {
  min-width: 0;
}

.pmw-radio-player .moderation-line {
  margin: 0 0 4px;
  color: #e8be5d;
  font-size: 11px;
}

.pmw-radio-player .moderation-line strong {
  margin-left: 8px;
  color: #fff1c2;
}

.pmw-radio-player .track-info h2 {
  margin: 0 0 4px;
  overflow: hidden;
  color: #fff1c2;
  font-size: clamp(17px, 2.3vw, 24px);
  line-height: 1.15;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pmw-radio-player .track-info p {
  margin: 3px 0;
  font-size: 12px;
  line-height: 1.35;
}

.pmw-radio-player .gold-line {
  color: #d6a83d;
  font-weight: 800;
}

.pmw-radio-player .song-line {
  max-width: 100%;
  overflow: hidden;
  color: #fff1c2;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pmw-controls {
  display: grid;
  grid-template-columns: 74px 1fr 1fr;
  align-items: center;
  gap: 10px;
}

.pmw-main-play {
  grid-row: 1 / span 2;
  width: 74px;
  height: 74px;
  border: 1px solid #d5a73e;
  border-radius: 50%;
  color: #ffd878;
  background: radial-gradient(circle at 38% 32%, #4c350d, #080706 68%);
  font-size: 27px;
  cursor: pointer;
}

.pmw-main-play:hover,
.pmw-main-play:focus-visible {
  box-shadow: 0 0 22px rgba(201, 154, 53, 0.34);
}

.pmw-main-play.playing {
  animation: pmw-player-pulse 1.7s infinite;
}

@keyframes pmw-player-pulse {
  50% { box-shadow: 0 0 25px rgba(201, 154, 53, 0.5); }
}

.pmw-control-button {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 7px;
  color: #f4cf79;
  border: 1px solid #6f4e12;
  border-radius: 9px;
  background: #0f0b07;
  cursor: pointer;
}

.pmw-control-button span {
  font-size: 15px;
}

.pmw-control-button small {
  font-size: 9px;
}

.pmw-control-button:hover,
.pmw-control-button:focus-visible {
  border-color: #c99a35;
}

.pmw-volume-row {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: 34px minmax(90px, 1fr) 30px;
  align-items: center;
  gap: 8px;
}

.pmw-mute-button {
  width: 34px;
  height: 29px;
  padding: 0;
  color: #f4cf79;
  border: 1px solid #6f4e12;
  border-radius: 8px;
  background: #0f0b07;
  cursor: pointer;
}

.pmw-volume-row input {
  width: 100%;
  accent-color: #c99a35;
}

.pmw-radio-player .equalizer {
  height: 19px;
}

.pmw-player-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 6px 12px 8px;
  border-top: 1px solid rgba(201, 154, 53, 0.28);
  background: rgba(15, 11, 7, 0.82);
}

.pmw-player-actions button {
  min-height: 31px;
  padding: 5px 9px;
  overflow: hidden;
  color: #f6d687;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
  border: 1px solid #6f4e12;
  border-radius: 8px;
  background: #080706;
  cursor: pointer;
}

.pmw-player-actions button:hover,
.pmw-player-actions button:focus-visible {
  color: #fff1c2;
  border-color: #c99a35;
  background: #151006;
}

.pmw-radio-player audio {
  display: none;
}

@media (max-width: 900px) {
  .hero {
    height: 395px;
  }

  .pmw-radio-player {
    top: 124px;
    width: min(94%, 720px);
  }

  .pmw-player-body {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .pmw-controls {
    grid-column: 1 / -1;
    grid-template-columns: 70px 1fr 1fr;
  }

  .pmw-main-play {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 620px) {
  .hero {
    height: 500px;
  }

  .pmw-radio-player {
    top: 142px;
    width: calc(100% - 18px);
    border-radius: 13px;
  }

  .pmw-player-statusbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 7px 10px;
  }

  .pmw-connection-state {
    width: 100%;
    font-size: 10px;
  }

  .pmw-player-body {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 10px 8px;
  }

  .pmw-radio-player .presenter-photo {
    width: 66px;
    height: 66px;
  }

  .pmw-radio-player .listener-mini {
    width: 78px;
    font-size: 9px;
  }

  .pmw-radio-player .track-info h2 {
    font-size: 17px;
    white-space: normal;
  }

  .pmw-radio-player .track-info p,
  .pmw-radio-player .moderation-line {
    font-size: 10px;
  }

  .pmw-radio-player .song-line {
    white-space: normal;
  }

  .pmw-controls {
    grid-template-columns: 64px 1fr 1fr;
    gap: 6px;
  }

  .pmw-main-play {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }

  .pmw-control-button {
    min-height: 36px;
  }

  .pmw-control-button small {
    display: none;
  }

  .pmw-player-actions {
    grid-template-columns: 1fr;
  }
}
