/* 页面整体样式 */
body {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: #f0f4f8;
  color: #222;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

/* 每个模块容器 */
.entry {
  overflow: hidden;
  min-height: 100px;
  padding: 16px;
  margin-bottom: 13px;
  border-radius: 12px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
}

.entry:nth-child(even) {
  background: #eef2f5;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.time {
  color: #999;
  font-style: italic;
}

/* 播放器样式 */
.player {
  position: relative;
  display: block;
  width: 220px;
  margin: 0;
  left: 10px;
  box-sizing: border-box;
}


.cover {
  width: 100%;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}

.cover-inner {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
}

.cover-inner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: calc(100% - 55px);
  left: 30px;
  background: #1db954;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.play-btn.transparent {
  opacity: 0.6;
  pointer-events: auto;
}

.play-btn.transparent:hover {
  opacity: 0.8;
}

.progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px 10px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4);
}

.time {
  position: absolute;
  right: 10px;
  top: -18px;
  font-size: 13px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 6px;
  border-radius: 4px;
}

.progress {
  width: 100%;
  height: 6px;
  background: #444;
  border-radius: 3px;
  overflow: hidden;
}

.progress-filled {
  height: 100%;
  width: 0%;
  background: #1db954;
  transition: width 0.2s;
}

/* 音乐信息区块 */
.music-info {
  margin-top: 16px;
  padding: 14px;
  background: #222;
  color: #eee;
  font-size: 14px;
  border-radius: 6px;
  line-height: 1.3;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.music-info p {
  margin: 5px 0;
}


.music-info h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #eee;
}

.music-info a {
  color: #1db954;
  text-decoration: none;
}

.music-info a:hover {
  text-decoration: underline;
}
