/* Music — relaxing ambient player */
.music-root { height: 100%; display: flex; flex-direction: column; background: linear-gradient(180deg,#1d1b2e,#15131f); color: #f2f0f7; }
.music-head { padding: 16px 20px 6px; font-size: 20px; font-weight: 800; }

/* Hero */
.music-hero {
  display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto;
  gap: 6px 18px; align-items: center;
  padding: 14px 20px 18px; margin: 0 14px 10px;
  background: rgba(255,255,255,0.06); border-radius: 16px;
}
.music-art { grid-row: 1 / 3; width: 96px; height: 96px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 46px; box-shadow: 0 10px 26px rgba(0,0,0,0.4); }
.music-info { align-self: end; }
.music-title { font-size: 19px; font-weight: 700; }
.music-sub { font-size: 12.5px; color: rgba(255,255,255,0.55); }
.music-time { font-size: 12px; color: rgba(255,255,255,0.45); font-variant-numeric: tabular-nums; margin-top: 2px; }
.music-viz { grid-column: 2; width: 100%; height: 38px; align-self: start; }
.music-controls { grid-column: 1 / 3; display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 6px; }
.music-ctl { font-size: 22px; color: #fff; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.music-ctl:hover { background: rgba(255,255,255,0.12); }
.music-play { font-size: 26px; background: rgba(255,255,255,0.14); }
.music-play:hover { background: rgba(255,255,255,0.24); }

/* List */
.music-list { flex: 1; overflow-y: auto; padding: 4px 12px 16px; }
.music-row { display: flex; align-items: center; gap: 13px; padding: 8px 10px; border-radius: 11px; cursor: default; }
.music-row:hover { background: rgba(255,255,255,0.06); }
.music-row.active { background: rgba(255,255,255,0.10); }
.music-row-art { width: 46px; height: 46px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex: 0 0 auto; box-shadow: 0 3px 8px rgba(0,0,0,0.3); }
.music-row-meta { flex: 1; min-width: 0; }
.music-row-name { font-size: 14.5px; font-weight: 600; }
.music-row-vibe { font-size: 12px; color: rgba(255,255,255,0.5); }
.music-row-eq { display: flex; align-items: flex-end; gap: 2px; height: 16px; opacity: 0; }
.music-row-eq.on { opacity: 1; }
.music-row-eq i { width: 3px; height: 100%; background: #6ee7b7; border-radius: 2px; transform-origin: bottom; animation: eq 0.9s ease-in-out infinite; }
.music-row-eq i:nth-child(2) { animation-delay: 0.2s; }
.music-row-eq i:nth-child(3) { animation-delay: 0.45s; }
.music-row-eq i:nth-child(4) { animation-delay: 0.1s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }

@media (max-width: 640px) {
  .music-hero { margin: 0 10px 8px; padding: 12px; }
  .music-art { width: 80px; height: 80px; font-size: 38px; }
}
