.bgm {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
  }

  .bgm-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .bgm-controls span {
    display: inline-block;
    padding: 6px 10px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    border: 1px solid #aaa;
    border-radius: 4px;
    margin: 0 2px;
    background-color: #f9f9f9;
  }

  .bgm-controls span:hover {
    background-color: #e0f0ff;
  }

  #current-track {
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1rem;
  }

.bgm-list {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px;
  font-size: 0.95rem;
  color: #333;
}

.bgm-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bgm-list li {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}

.bgm-list li:last-child {
  border-bottom: none;
}

  .bgm-button-group {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}
.bgm-button-group span:hover {
  background-color: #eee;
}
.bgm-buttons button {
  display: block;
  width: 100%;
  margin-bottom: 6px;   /* ✅ 동일하게 맞추기 */
  padding: 8px;         /* ✅ 패딩도 통일 */
  background: #90caf9;  /* action-buttons와 동일하게 할 경우 */
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 4px;
}
    .bgm-button-group span {
  cursor: pointer;       /* 마우스를 올리면 손모양 */
  padding: 0 4px;         /* 좌우 여백 */
  font-size: 18px;        /* 아이콘 크기 키움 */
}
.bgm {
  height: 700px;
  box-sizing: border-box;
}