:root {
  color-scheme: light dark;
  background: #f5f5f7;
  color: #515154;
  font:
    13px Arial,
    sans-serif;
}

body {
  margin: 0;
}
main {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding-top: 24px;
}
web-music-ipod {
  display: block;
  width: min(350px, calc(100vw - 24px));
}
.region {
  display: flex;
  gap: 10px;
}

.region button {
  min-width: 34px;
  height: 24px;
  padding: 0 7px;
  border: 1px solid #8b8b87;
  border-bottom-color: #666663;
  border-radius: 3px;
  background: linear-gradient(#eeeeec, #c5c5c1);
  color: #454542;
  box-shadow:
    inset 0 1px 0 #fff,
    0 1px 1px #0004;
  font:
    11px Arial,
    sans-serif;
  cursor: pointer;
}

.region button[aria-pressed="true"],
.region button:active {
  background: linear-gradient(#a4a4a0, #d0d0cc);
  border-color: #777773;
  box-shadow: inset 0 1px 2px #0005;
  color: #242421;
}

.region button:focus-visible {
  outline: 2px solid #777;
  outline-offset: 3px;
}
.region button:disabled {
  cursor: default;
}
#error {
  max-width: 30ch;
  margin: 0 20px;
  line-height: 1.5;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #18181a;
    color: #b7b7bd;
  }
}
