html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  background: black;
}

#ascii-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  font-family: monospace;
  color: #ffffff;
  white-space: pre;
  background: black;
}

.o {
  color: #ffffff;
}

.radio-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  left: 50%;
  bottom: 15%;
  transform: translateX(-50%);
  z-index: 10;
  color: white;
  text-align: center;
  justify-content: space-between;
  font-family: monospace;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 6px;
  padding: 0.5rem;
  margin: 0.5rem 0;
}

.radio-controls::-webkit-scrollbar {
  display: none;
}

.radio-controls {
  overflow: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.station-select {
  flex: 1;
  max-height: 200px;
  overflow-y: auto;
}

label {
  margin-bottom: 0.25rem;
  display: block;
}

.volume-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.5rem;
}

.volume-slider {
  width: 100%;
  max-width: 21em;
  height: auto;
  box-sizing: border-box;
}

select, input[type="range"], button, optgroup {
  align-items: center;
  justify-content: space-between;
  font-style: normal;
  text-align: center;
  font-family: monospace;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border: 1px solid white;
  border-radius: 4px;
  padding: 0.5rem;
  margin: 0;
  height: auto;
  box-sizing: border-box;
}

optgroup {
  font-weight: bold;
}

select option {
  color: #ffffff;
  background: black;
}

button {
  padding: 0.5rem 1rem;
  min-width: 80px;
  height: auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .radio-controls {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }

  .station-select {
    width: 100%;
  }

  button {
    width: 100%;
  }
  label {
    margin-left: 0;
  }
}
