/* Vintage album-cover row, Off The Clock section */
.music-covers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
}

.music-cover {
  display: inline-block;
  line-height: 0;
  border: 1px solid #888888;
  cursor: pointer;
}
.music-cover img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.music-cover:focus {
  outline: 2px solid #0000FF;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .music-cover img {
    width: 72px;
    height: 72px;
  }
}

/* Reusable Spotify playback modal */
.spotify-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
  box-sizing: border-box;
}
.spotify-modal[hidden] {
  display: none;
}

.spotify-modal-content {
  position: relative;
  background-color: #F5F2E8;
  border: 2px solid #888888;
  padding: 40px 16px 16px;
  width: 100%;
  max-width: 456px;
  box-sizing: border-box;
}

.spotify-modal-title {
  font-family: "Times New Roman", serif;
  color: #008000;
  font-size: 18px;
  margin: 0 28px 10px 0;
}

.spotify-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 0;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  line-height: 0;
}
.spotify-modal-close img {
  display: block;
  height: 24px;
}
.spotify-modal-close:hover img,
.spotify-modal-close:focus img {
  opacity: 0.75;
}

.spotify-modal-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: #008000;
}
.spotify-modal-status img {
  display: block;
}

.spotify-modal-player {
  width: 100%;
}
.spotify-modal-player iframe {
  display: block;
  width: 100%;
  height: 152px;
  border: 0;
}

@media (max-width: 480px) {
  .spotify-modal-content {
    max-width: 100%;
  }
}
