/* Poem */
.text-poem { padding: 20px; }

/* ===== Music player ===== */
#music-player {
  margin-top: 36px;
  background: rgba(30, 30, 30, 0.85);
  border-radius: 12px;
  padding: 14px 16px 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#visualizer {
  display: block;
  width: 100%;
  height: 60px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.3);
}

#player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

#player-buttons {
  display: flex;
  gap: 6px;
}

#player-buttons button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #e0e0e0;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  padding: 0;
  line-height: 1;
}

#player-buttons button:hover {
  background: rgba(255, 182, 193, 0.35);
  color: #fff;
}

#player-buttons button.active {
  background: rgba(255, 182, 193, 0.5);
  color: #fff;
}

#volume-control {
  display: flex;
  align-items: center;
  gap: 6px;
}

#volume-icon {
  color: #aaa;
  font-size: 16px;
  user-select: none;
}

#volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: pink;
  cursor: pointer;
  border: none;
}

#volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: pink;
  cursor: pointer;
  border: none;
}
