:root {
  color-scheme: dark;
  font: 14px/1.4 Arial, Helvetica, sans-serif;
  --green: #c5f891;
  --text: #eff0e9;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--text); }

main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 10px;
  background: repeating-linear-gradient(0deg, #25282a 0 1px, #282b2d 1px 3px);
  border: 2px solid;
  border-color: #747a7a #131515 #131515 #747a7a;
}

.faceplate {
  padding: 4px 9px;
  background: linear-gradient(90deg, #474b4a, #2c302f 70%, #3c4140);
  border: 1px solid #5b6260;
}

h1 { margin: 0; font-size: 1.125rem; letter-spacing: 0.04em; }
.band {
  margin: 0;
  color: #d4dace;
  font: bold 0.72rem/1.4 'Courier New', monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.display, .playlist {
  background: #10160e;
  border: 1px solid;
  border-color: #0b0f0b #5a6255 #5a6255 #0b0f0b;
  font-family: 'Courier New', monospace;
}

.display {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 8px;
  color: var(--green);
  font-weight: bold;
}

audio { display: block; width: 100%; height: 40px; margin: 5px 0; }

.playlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.playlist li + li { border-top: 1px solid #374131; }

.playlist button {
  display: flex;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  min-height: 30px;
  padding: 4px 8px;
  background: transparent;
  border: 0;
  color: #e0ead8;
  text-align: left;
}

.playlist button span { color: #aab8a1; }
.playlist button small { margin-left: auto; color: inherit; text-align: right; }
.playlist button:hover { background: #263624; }
.playlist button[aria-current] { background: #33462a; color: var(--green); }
.playlist button:focus-visible { outline-offset: -2px; }

button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.actions button {
  padding: 4px 8px;
  background: linear-gradient(#505553, #323735);
  border: 1px solid;
  border-color: #888f8a #111512 #111512 #888f8a;
}

.actions button:hover { color: var(--green); }
.actions button:active { border-color: #111512 #888f8a #888f8a #111512; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
#manual-copy { width: 100%; margin-top: 5px; }
#status { margin: 4px 0 0; color: var(--green); font-size: 0.82rem; }
#status:empty { display: none; }
