:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101114;
  color: #f6f2ea;
}

body {
  margin: 0;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #181a20;
  border-bottom: 1px solid #2a2d36;
}

.brand, a {
  color: #f6f2ea;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.logout-form {
  display: inline;
}

button, .primary {
  cursor: pointer;
  border: 0;
  border-radius: .75rem;
  padding: .7rem 1rem;
  font-weight: 700;
}

.primary {
  background: #f6f2ea;
  color: #101114;
}

.container {
  width: min(920px, calc(100% - 2rem));
  margin: 2rem auto;
}

.card, .song-row {
  background: #181a20;
  border: 1px solid #2a2d36;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.setlist-card, .song-row {
  text-decoration: none;
}

.song-list {
  display: grid;
  gap: .75rem;
}

.song-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: 1rem;
}

.pos {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #2a2d36;
  font-weight: 800;
}

small, .muted, .meta {
  color: #b8b2a8;
}

small {
  display: block;
}

.auth-card {
  max-width: 420px;
  margin: 4rem auto;
}

label {
  display: block;
  margin-top: 1rem;
  margin-bottom: .35rem;
}

input {
  width: 100%;
  box-sizing: border-box;
  border-radius: .75rem;
  border: 1px solid #2a2d36;
  padding: .8rem;
  background: #101114;
  color: #f6f2ea;
}

form .primary {
  margin-top: 1rem;
  width: 100%;
}

.error {
  color: #ffb4b4;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.facts div {
  padding: .75rem;
  border-radius: .75rem;
  background: #101114;
}

dt {
  color: #b8b2a8;
  font-size: .85rem;
}

dd {
  margin: .25rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
}


@media (max-width: 640px) {
  .song-row {
    grid-template-columns: 2.5rem 1fr;
  }
  .meta {
    grid-column: 2;
  }
}

.link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .75rem;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  padding: .7rem 1rem;
  background: #f6f2ea;
  color: #101114;
  font-weight: 800;
  text-decoration: none;
}
