.playerRadio {
  grid-column: span 6;
  grid-row: span 8;
  position: relative;
  width: 100%;
  min-height: 710px;
  padding: 29px 42px;
  overflow: hidden;
  border-radius: 50px;
  background: #002f1a;
}

.playerRadio-hero {
  position: relative;
  height: 240px;
}

.playerRadio-headset {
  position: absolute;
  top: 0;
  left: -12px;
  width: 205px;
  pointer-events: none;
}

.playerRadio h2 {
  position: relative;
  z-index: 1;
  padding-top: 38px;
  padding-left: 48px;
  color: #fff;
  font-family: "RedHatDisplay-Regular", sans-serif;
}

.playerRadio h2 span,
.playerRadio h2 strong {
  display: table;
  border-radius: 999px;
  background-color: #009640;
  white-space: nowrap;
}

.playerRadio h2 span {
  padding: 2px 24px 5px;
  font-size: 34px;
  line-height: 41px;
  background-color: #016537;
}

.playerRadio h2 strong {
  margin-top: 2px;
  padding: 3px 24px 7px;
  font-family: "RedHatDisplay-Bold", sans-serif;
  font-size: 48px;
  line-height: 57px;
}

.playerRadio-card {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 410px;
  padding: 16px;
  border: 2px solid #008147;
  border-radius: 18px 18px 28px 28px;
  background-color: #006637;
  box-shadow: 0 30px 60px #00000026;
}

.playerRadio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.playerRadio-tabs,
.playerRadio-actions {
  display: flex;
  align-items: center;
}

.playerRadio-tabs {
  gap: 0;
  border-radius: 999px;
  background-color: #002f1a;
}

.playerRadio-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background-color: transparent;
  color: #fff;
  font-family: "RedHatDisplay-Bold", sans-serif;
  font-size: 12px;
  line-height: 16px;
  cursor: pointer;
}

.playerRadio-tabs button.is-active {
  background-color: #009640;
}

.playerRadio-tabs button img {
  display: block;
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.playerRadio-actions {
  gap: 9px;
}

.playerRadio-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #009640;
  cursor: pointer;
}

.playerRadio-action img {
  display: block;
  max-width: 22px;
  max-height: 22px;
}

.playerRadio-chat img {
  max-width: 24px;
  max-height: 24px;
}

.playerRadio-media {
  overflow: hidden;
}

.playerRadio-video {
  width: 100%;
  aspect-ratio: 464 / 263;
  border-radius: 15px;
  background: #000;
}

.playerRadio-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.playerRadio-audio {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  height: 170px;
  padding: 16px 28px;
}

.playerRadio-card[data-mode="audio"] {
  min-height: 250px;
  margin-top: 59px;
  padding-bottom: 24px;
}

.playerRadio-card[data-mode="audio"] .playerRadio-video {
  display: none;
}

.playerRadio-card[data-mode="audio"] .playerRadio-audio {
  display: flex;
}

.playerRadio-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}

.playerRadio-wave span {
  width: 3px;
  height: 30px;
  border-radius: 999px;
  background-color: #fff;
  transform-origin: center;
  animation: playerRadioWave 1.15s ease-in-out infinite;
}

.playerRadio-wave span:nth-child(-n + 15) {
  background-color: #009640;
}

.playerRadio-wave span:nth-child(3n) {
  height: 18px;
  animation-duration: 0.95s;
}

.playerRadio-wave span:nth-child(4n) {
  height: 45px;
  animation-delay: -0.35s;
}

.playerRadio-wave span:nth-child(5n) {
  height: 24px;
  animation-delay: -0.7s;
}

.playerRadio-wave span:nth-child(2n) {
  animation-delay: -0.2s;
}

.playerRadio-wave span:nth-child(7n) {
  animation-duration: 1.35s;
}

@keyframes playerRadioWave {
  0%,
  100% {
    transform: scaleY(0.45);
  }

  50% {
    transform: scaleY(1);
  }
}

.playerRadio-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: #009640;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.playerRadio-play img {
  display: block;
  width: 100%;
  height: auto;
}

.playerRadio-current {
  margin-top: 12px;
  color: #fff;
  text-align: center;
}

.playerRadio-card[data-mode="audio"] .playerRadio-current {
  margin-top: -2px;
}

.playerRadio-current span {
  display: block;
  margin-bottom: 3px;
  font-family: "RedHatDisplay-Regular", sans-serif;
  font-size: 13px;
  line-height: 16px;
  text-transform: uppercase;
}

.playerRadio-current strong {
  display: block;
  font-family: "RedHatDisplay-Bold", sans-serif;
  font-size: 21px;
  line-height: 26px;
}

.playerRadio-chatContainer {
  display: none;
  width: 100%;
  height: 360px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 20px;
}

.playerRadio-chatContainer iframe {
  display: block;
  border-radius: 20px;
}

@media (max-width: 1024px) {
  .playerRadio {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .playerRadio {
    min-height: auto;
    padding: 0 6px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    grid-row: auto;
  }

  .playerRadio-hero {
    height: 202px;
  }

  .playerRadio-headset {
    top: 0;
    left: 50%;
    width: 188px;
    transform: translateX(-50%);
  }

  .playerRadio h2 {
    padding-top: 46px;
    padding-left: 0;
    text-align: center;
  }

  .playerRadio h2 span,
  .playerRadio h2 strong {
    display: table;
    margin-right: auto;
    margin-left: auto;
    white-space: normal;
  }

  .playerRadio h2 span {
    padding: 1px 22px 4px;
    font-size: 23px;
    line-height: 28px;
  }

  .playerRadio h2 strong {
    margin-top: 1px;
    padding: 3px 22px 5px;
    font-size: 34px;
    line-height: 41px;
  }

  .playerRadio-card {
    min-height: 298px;
    padding: 13px;
    border-radius: 16px 16px 27px 27px;
  }

  .playerRadio-card[data-mode="audio"] {
    min-height: 250px;
    margin-top: 0;
  }

  .playerRadio-toolbar {
    gap: 8px;
    margin-bottom: 27px;
  }

  .playerRadio-tabs button {
    height: 22px;
    gap: 6px;
    padding: 0 9px;
    font-size: 11px;
    line-height: 14px;
  }

  .playerRadio-tabs button img {
    width: 13px;
    height: 13px;
  }

  .playerRadio-actions {
    gap: 8px;
  }

  .playerRadio-action {
    width: 29px;
    height: 29px;
  }

  .playerRadio-action img {
    max-width: 15px;
    max-height: 15px;
  }

  .playerRadio-chat img {
    max-width: 17px;
    max-height: 17px;
  }

  .playerRadio-video {
    aspect-ratio: 285 / 161;
    border-radius: 8px;
  }

  .playerRadio-audio {
    height: 126px;
    padding: 10px 4px;
  }

  .playerRadio-wave {
    gap: 5px;
  }

  .playerRadio-wave span {
    width: 2px;
    height: 24px;
  }

  .playerRadio-wave span:nth-child(4n) {
    height: 35px;
  }

  .playerRadio-play {
    width: 58px;
    height: 58px;
  }

  .playerRadio-current {
    margin-top: 14px;
  }

  .playerRadio-card[data-mode="audio"] .playerRadio-current {
    margin-top: 0;
  }

  .playerRadio-current span {
    font-size: 10px;
    line-height: 13px;
  }

  .playerRadio-current strong {
    font-size: 16px;
    line-height: 20px;
  }

  .playerRadio-chatContainer {
    height: 320px;
  }
}
