body {
  background: #ddd;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Overall iPod */
.ipod {
  width: 260px;
  height: 130px; /* smaller height */
  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 rectangle */
.screen {
  width: 140px;
  height: 100px;
  background: #bfc5d6;
  border: 2px solid black;
  border-radius: 8px;

  padding: 6px;
  display: flex;
  flex-direction: row;   /* image left, text right */
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden; /* ensures perfect fit */
}

/* Album image */
.album-art {
  width: 45%;
  aspect-ratio: 1/1;
  background-image: url("https://i.imgur.com/6ZQZQZL.png");
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Info container */
.info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 55%;
  overflow: hidden;
}

/* "Now playing:" text */
.now-playing {
  font-size: 10px;
  margin: 0 0 2px;
  opacity: .8;
}

/* Marquee effect */
.marquee {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  font-size: 13px;
  font-weight: 600;
}


/* Artist text */
.artist {
  font-size: 12px;
  opacity: .75;
  white-space: nowrap;
  overflow: hidden;
}

.artist span {
  animation: scroll-left 6s linear infinite;
}

.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;
}

/* Button labels inside wheel */
.wheel span {
  position: absolute;
  font-size: 10px;
  font-weight: bold;
  color: #666;
}

/* All buttons nudged slightly inward */
.top {
  top: 10px;   /* was 6px */
  left: 50%;
  transform: translateX(-50%);
}

.left {
  left: 10px;  /* was 6px */
  top: 50%;
  transform: translateY(-50%);
}

.right {
  right: 10px; /* was 6px */
  top: 50%;
  transform: translateY(-50%);
}

.bottom {
  bottom: 10px; /* was 6px */
  left: 50%;
  transform: translateX(-50%);
}

/* Center button */
.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%);
}