/* Edit this file to change the page's appearance. */
:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: #000;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: #000;
  color: #eee;
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
}

.artwork {
  display: block;
  width: min(100%, 400px);
  height: auto;
}

.text-below {
  width: min(100%, 40rem);
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
}

.text-below:empty {
  display: none;
}

.text-below p {
  margin: 0 0 1rem;
}

.music-player {
  width: min(100%, 400px);
}

.music-player[hidden],
.player-message[hidden] {
  display: none;
}

.now-playing {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  text-align: center;
}

.music-player audio {
  display: block;
  width: 100%;
}

.track-list {
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
}

.track-list button {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #444;
  border-radius: 0;
  background: #151515;
  color: #eee;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.track-list button:hover,
.track-list button:focus-visible {
  background: #292929;
}

.track-list button[aria-current="true"] {
  border-color: #ddd;
}

.player-message {
  margin: 0.75rem 0 0;
  color: #ddd;
  font-size: 0.9rem;
}
