body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 1.5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #222;
  box-sizing: border-box;
}

main {
  width: 100%;
  max-width: 480px;
}

h1 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: 0.5rem;
}

#now-playing {
  font-size: clamp(1rem, 3vw, 1.25rem);
  min-height: 1.5em;
  color: #666;
  margin-bottom: 1.5rem;
}

#play-btn {
  font-size: clamp(1.25rem, 6vw, 2rem);
  padding: 1rem 3rem;
  border-radius: 999px;
  border: none;
  background: #222;
  color: #fff;
  cursor: pointer;
}

#play-btn:disabled {
  background: #999;
  cursor: not-allowed;
}

#up-next,
#message-box {
  margin-top: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
}

.label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  margin-bottom: 0.25rem;
}

#message-box {
  display: flex;
  flex-direction: column;
  text-align: left;
}

#message-text {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
  min-height: 4rem;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}

#message-send-btn {
  align-self: flex-end;
  font-size: 1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: #222;
  color: #fff;
  cursor: pointer;
}

#message-send-btn:disabled {
  background: #999;
  cursor: not-allowed;
}

#message-status {
  margin: 0.5rem 0 0 0;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}

#player {
  display: none;
}

@media (min-width: 768px) {
  #play-btn {
    padding: 1.25rem 4rem;
  }
}
