body {
  background: #ddd;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.ipod-wrapper {
  position: relative;
  display: inline-block;
}

.ipod-label {
  position: absolute;
  top: -18px;
  left: 0;
  font-size: 12px;
  font-weight: bold;
  color: #333;
}

.ipod {
  width: 250px;
  height: 130px;
  background: linear-gradient(#f2f2f2, #d6d6d6);
  border-radius: 18px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .2);
  gap: 10px;
}

.screen {
  width: 140px;
  height: 100px;
  background-image: url("/media/backgrounds/dotted.png");
  background-size: 40%;
  border: 2px solid black;
  border-radius: 8px;
  padding: 6px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
}

.album-art {
  width: 45%;
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 55%;
  overflow: hidden;
}

.now-playing {
  font-size: 9px;
  margin: 0 0 2px;
  opacity: .8;
}

.song-name {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  font-size: 11px;
  font-weight: 600;
}

.artist {
  font-size: 10px;
  opacity: .75;
  white-space: nowrap;
  overflow: hidden;
}

.wheel {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #f7f7f7;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .15);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  right: 2px;
  z-index: 1;
}

.wheel-btn {
  position: absolute;
  pointer-events: auto;
  user-select: none;
  color: #aaa;
  transition: color 0.2s ease;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-btn:hover {
  color: #666;
}

.top.wheel-btn {
  top: 13px; 
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: bold;
  font-family: sans-serif !important;
}

i.wheel-btn {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  font-size: 10px; 
}

#ipodPlayPause {
  font-size: 8px !important;
  bottom: 13px;
  left: 50%;
  transform: translateX(-50%);
}

.left {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.right {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.bottom {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.center {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0e0e0;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, .2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.song-name,
.artist {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.song-name .marquee-track,
.artist .marquee-track {
  display: inline-block;
  white-space: nowrap;
  gap: 40px;
  animation: marquee-loop 8s linear infinite;
  will-change: transform;
}

.song-name .marquee-track span,
.artist .marquee-track span {
  display: inline-block;
  padding-right: 40px;
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee-loop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.tooltip {
  max-width: 300px;
  border-radius: 0px;
  padding: 3px 4px 5px 4px;
  margin: 10px 7px -2px 10px;
  background-color: #FEF8FC;
  border: 1px dotted #AAAAAA;
  font-family: tahoma;
  font-size: 7px;
  letter-spacing: 2px;
  color: #848484;
  z-index: 9999;
  display: inline;
  position: relative;
}