/* MUSIC LIST */

.music-list {
  border-collapse: collapse;
  font-size: 0.95rem;
}

.music-list th {
  text-align: left;
  vertical-align: top;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  padding: 6px 12px 6px 0;
  border-bottom: 1px solid #e0e0e0;
}

.music-list td {
  padding: 0px 12px 0px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}

.music-list tbody tr:hover {
  background: #fafafa;
}

.music-list {
  margin: 0px;
}

.music-list .ml-title {
  width: 240px;
  font-size: 1rem;
  font-weight: 600;
}

.music-list .ml-artist {
  width: 240px;
}

.music-list .ml-time {
  width: 67px;
  text-align: end;
}

.music-list .ml-emoji {
  width: 52px;
  text-align: center;
  font-family: 'Segoe UI Emoji';
  font-size: 16pt;
}

.music-list .ml-play, .music-list .ml-lyrics {
  cursor: pointer;
  text-decoration: none;
}

/* PLAYER PANEL */

#player-panel {
  display: flex;
  opacity: 0.3;
  pointer-events: none;
  transition: opacity 0.4s ease;
  width: fit-content;
  margin: 16px auto;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  padding: 0px 10px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#player-panel.active {
  opacity: 1;
  pointer-events: auto;
}

.player-btn {
  font-family: 'Segoe UI Emoji';
  font-size: 18pt;
  cursor: pointer;
  text-align: right;
  line-height: 1;
  margin-top: .5rem;
  letter-spacing: normal;
  display: inline-block;
}

.player-time {
  font-size: 0.72rem;
  color: #999;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  margin-left: 6px;
}

.player-close {
  cursor: pointer;
  color: #999;
  font-size: 1rem;
  flex-shrink: 0;
  margin-left: 6px;
  font-weight: bold;
  font-family: 'Orbitron';
  margin-top: .5rem;
  margin-left: .6rem;
}

.player-close:hover {
  color: #1a1a1a;
  vertical-align: top;
}

.player-row {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

.player-seek-row {
  gap: 6px;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.player-spacer {
  flex: 1;
}

.player-seek-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 12px;
}

.player-seek-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.player-seek-time {
  font-size: 0.68rem;
  color: #999;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  white-space: nowrap;
}

.player-vol-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-left: 8px;
  margin-right: 6px;
}

.player-vol-icon {
  font-family: 'Segoe UI Emoji';
  font-size: 13pt;
}

.player-seek {
  width: 136px;
}

.player-volume {
  width: 80px;
}

.player-seek, .player-volume {
  cursor: pointer;
  accent-color: #1a1a1a;
  -webkit-appearance: none;
  appearance: none;
  height: 2px;
  background: #ccc;
  border-radius: 2px;
  outline: none;
  margin-top: 2px;
}

.player-seek::-webkit-slider-thumb, .player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1a1a1a;
  cursor: pointer;
}

.player-seek::-moz-range-track, .player-volume::-moz-range-track {
  height: 2px;
  background: #ccc;
  border-radius: 2px;
}

.player-seek::-moz-range-thumb, .player-volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1a1a1a;
  border: none;
  cursor: pointer;
}

/* LYRICS PANEL */

#lyrics-panel {
  position: fixed;
  top: 0;
  right: -540px;
  width: 520px;
  height: 100vh;
  background: #fff;
  border-left: 1px solid #e0e0e0;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 200;
  display: flex;
  flex-direction: column;
}

#lyrics-panel.open {
  right: 0;
}

#lyrics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #e0e0e0;
  font-weight: 700;
  font-size: 0.95rem;
}

#lyrics-close {
  cursor: pointer;
  color: #999;
  font-size: 1rem;
}

#lyrics-close:hover {
  color: #1a1a1a;
}

#lyrics-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.4;
  color: #444;
  white-space: pre-wrap;
}

.player-info-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.7rem;
  color: rgb(153, 153, 153);
}
