/* 音乐分享页专属样式，复用 style.css 的 .glass/.card/.btn-solid/.btn-ghost/.field */

.music-main{
  max-width: 960px;
  margin: 110px auto 60px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* 页头 */
.music-head{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; margin-bottom:22px;
}
.music-head h1{
  font-size:20px; font-weight:800; letter-spacing:1px; margin:0;
}
.music-head .crumb{
  font-size:12px; color:#8b93a7;
}
.music-head .crumb a{ color:#22d3ee; text-decoration:none; }
.music-head .crumb a:hover{ text-decoration:underline; }

/* 专辑网格 */
.album-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:18px;
}
.album-card{
  cursor:pointer; overflow:hidden; padding:14px; text-align:left;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.album-card:hover{ transform:translateY(-4px); }
.album-cover{
  width:100%; aspect-ratio:1/1; border-radius:10px; object-fit:cover;
  background:linear-gradient(135deg,#0e1522,#131c2e);
  border:1px solid rgba(34,211,238,.15);
  display:block;
}
.album-meta{ margin-top:12px; }
.album-meta .cn{ font-size:16px; font-weight:800; color:#e6edf7; }
.album-meta .en{ font-size:12px; color:#8b93a7; margin-top:2px; }

/* 歌曲列表 */
.song-list{ list-style:none; padding:0; margin:0; }
.song-item{
  display:flex; align-items:center; gap:12px;
  padding:14px 16px; margin-bottom:10px; cursor:pointer;
  transition:transform .2s ease, border-color .2s ease;
}
.song-item:hover{ transform:translateX(4px); }
.song-item .idx{
  width:26px; text-align:center; color:#22d3ee; font-weight:800; font-size:13px;
}
.song-item .song-name{ flex:1; font-size:15px; color:#e6edf7; }
.song-item .song-slug{ font-size:11px; color:#8b93a7; }

/* 详情 / 播放器 */
.player-wrap{ padding:22px; margin-bottom:16px; }
.now-title{ font-size:18px; font-weight:800; margin-bottom:4px; }
.now-album{ font-size:12px; color:#8b93a7; margin-bottom:16px; }

.source-tabs{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.source-tabs .btn-solid, .source-tabs .btn-ghost{ font-size:12px; padding:8px 14px; }
.source-credit{
  font-size:12px; color:#8b93a7; margin-top:-4px; margin-bottom:14px;
  border-left:2px solid rgba(168,85,247,.5); padding-left:10px;
}

/* 自定义播放条 */
.player-bar{
  display:flex; align-items:center; gap:14px;
  padding:12px 16px; border-radius:12px;
  background:rgba(8,11,18,.55);
  border:1px solid rgba(34,211,238,.15);
}
.play-btn{
  width:40px; height:40px; border-radius:50%; flex:0 0 40px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#22d3ee,#a855f7);
  border:none; cursor:pointer; color:#07101a; font-size:16px;
  box-shadow:0 0 18px rgba(34,211,238,.35);
}
.play-btn:active{ transform:scale(.95); }
.time{ font-size:11px; color:#8b93a7; width:38px; text-align:center; }
.progress{
  flex:1; height:6px; border-radius:6px; background:rgba(255,255,255,.08);
  cursor:pointer; position:relative; overflow:hidden;
}
.progress-fill{
  height:100%; width:0%; border-radius:6px;
  background:linear-gradient(90deg,#22d3ee,#a855f7);
  transition:width .1s linear;
}
.volume{
  width:80px; accent-color:#22d3ee; cursor:pointer;
}

/* 歌词 */
.lyrics-box{
  padding:22px; margin-top:16px;
  text-align:center; font-size:14px; line-height:2;
  color:#c6d0e2; white-space:pre-line; word-break:break-word;
}

/* 空状态 / 加载 */
.hint{
  text-align:center; color:#8b93a7; font-size:13px; padding:30px 0;
}

/* 返回按钮 */
.back-btn{ margin-bottom:16px; }

/* 响应式 */
@media (max-width:720px){
  .album-grid{ grid-template-columns:repeat(2,1fr); }
  .volume{ display:none; }
}
@media (max-width:440px){
  .album-grid{ grid-template-columns:1fr; }
  .player-bar{ flex-wrap:wrap; }
  .progress{ order:3; width:100%; flex:0 0 100%; margin-top:8px; }
}