/* === Desktop & default styles === */
.audio-right-panel {
  background-color: transparent;
  overflow-y: auto;
  padding: 20px;
  min-height: 500px;
}

.audio-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}

.audio-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 4px;
}

.audio-text { flex: 1; }

.audio-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #000;
  font-size: 14px;
  margin-top: 8px;
}

.play-btn .icon svg {
  display: inline-block;
  vertical-align: middle;
}

.audio-right-panel::-webkit-scrollbar { width: 6px; }
.audio-right-panel::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 6px;
}

#main-player {
  position: relative;
  height: 100%;
  overflow: hidden;
}

#external-player {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  z-index: 10;
  margin-top: 200px !important;
}

.audio-play-box {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 100%;
}

/* === Mobile & tablet responsiveness === */
@media (max-width: 768px) {
  .audio-right-panel {
    padding: 10px;
    min-height: auto;
  }

  .audio-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 20px;
  }

  .audio-item img {
    width: 80px;
    height: 80px;
  }

  .audio-title {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .play-btn {
    font-size: 13px;
    margin-top: 5px;
  }

  #external-player {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    width: 95%;
    margin-top: 20px !important;
  }
}
