.player {
  max-width: 520px;
  margin: 24px auto;
  padding: 12px;
  border: 1px solid #707070;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 16px;
}

.controls {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

button {
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fafafa;
  cursor: url("/cursors/Wii/wii-pointer-blue-ccw.cur"), auto;
  width: 20%;
}

button:active {
  transform: translateY(1px);
}

.time {
  font-size: 13px;
  min-width: 70px;
  text-align: right;
  color: #808080;
}

.progress {
  width: 100%;
  height: 12px;
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
  cursor: url("/cursors/Wii/wii-pointer-blue-ccw.cur"), auto;
  margin-bottom: 8px;
}

.progress > .bar {
  height: 100%;
  width: 0%;
  /* background: linear-gradient(90deg, #6aa6ff, #4a6cff); */
  background: linear-gradient(90deg, #479a5a, #356e42)
}

#autoplayToggle {
  accent-color: #479a5a;
  cursor: url("/cursors/Wii/wii-pointer-blue-ccw.cur"), auto;
}

#autoplayLabel {
  cursor: url("/cursors/Wii/wii-pointer-blue-ccw.cur"), auto;
}

.playlist {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 140px;
  overflow: auto;
  border-top: 1px solid #f0f0f0;
  margin-top: 8px;
}

.playlist li {
  padding: 8px;
  border-bottom: 1px solid #f6f6f6;
  cursor: url("/cursors/Wii/wii-pointer-blue-ccw.cur"), auto;
  font-size: 14px;
}

.playlist li.active {
  background: #514c47;
  font-weight: 600;
}

.small {
  font-size: 12px;
  color: #666;
  margin-left: 8px;
}

.row {
  display: flex;
  align-items: center;
  gap: 8px;
}