.esl-md-meter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .25em .85em;
  margin-block: .65em 0;
  font-size: .875em;
  line-height: 1.6;
  color: #60442c;
}
.esl-md-meter a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.esl-md-card {
  --paper: #f4ead6;
  --panel: #e9dcc0;
  --ink: #60442c;
  --rule: #b69b65;
  box-sizing: border-box;
  margin: 1.5rem auto;
  padding: clamp(1rem, 4vw, 2.5rem);
  max-width: 920px;
  background: var(--paper);
  color: var(--ink);
  border: 4px double var(--rule);
  box-shadow: 0 5px 20px #60442c20;
  overflow-wrap: anywhere;
}
.esl-md-card *, .esl-md-card *::before, .esl-md-card *::after { box-sizing: border-box; }
.esl-md-card [hidden] { display: none !important; }
.esl-md-heading { text-align: center; }
.esl-md-card .esl-md-heading h2 {
  border: 0;
  background: none;
  margin: .25em 0;
  padding: 0;
  color: inherit;
  font: 700 clamp(1.55rem, 4vw, 2.5rem)/1.35 Georgia, 'Yu Mincho', serif;
}
.esl-md-card .esl-md-heading h2::before,
.esl-md-card .esl-md-heading h2::after { content: none; }
.esl-md-card .esl-md-library, .esl-md-card .esl-md-subtitle {
  margin: 0;
  text-transform: uppercase;
  font: 700 .84rem/1.55 Georgia, serif;
  letter-spacing: .14em;
}
.esl-md-heading svg { max-width: 85%; margin: .65rem auto .3rem; }
.esl-md-card .esl-md-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.45rem, 2vw, 1rem);
  margin: .8rem 0 1.4rem;
}
.esl-md-stats > div {
  padding: .65rem .3rem;
  background: var(--panel);
  border: 3px double var(--rule);
  text-align: center;
}
.esl-md-stats dt { font-size: .85rem; background: none; }
.esl-md-stats dd { margin: 0; font: 700 1.55rem/1.5 Georgia, 'Yu Mincho', serif; }
.esl-md-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; }
.esl-md-controls label { display: grid; gap: .2rem; font-size: .85rem; font-weight: 700; }
.esl-md-card :is(input[type=search], select, .esl-md-more) {
  min-height: 44px;
  margin: 0;
  padding: .35rem .65rem;
  color: var(--ink);
  font: inherit;
  background: #fff9ed;
  border: 1px solid #8a704b;
  border-radius: 3px;
}
.esl-md-card input[type=search] { width: 100%; min-width: 0; font-size: 1rem; }
.esl-md-card select { font-size: 1rem; }
.esl-md-card :focus-visible, .esl-md-meter a:focus-visible { outline: 2px solid #60442c; outline-offset: 2px; }
.esl-md-card .esl-md-status, .esl-md-card .esl-md-note { margin: .8rem 0; font-size: .86rem; }
.esl-md-card .esl-md-list {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.esl-md-card .esl-md-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .25rem 1rem;
  align-items: start;
  margin: 0;
  padding: .85rem 0;
  border-bottom: 1px solid var(--rule);
}
.esl-md-card .esl-md-row::before { content: none; }
.esl-md-track, .esl-md-artist, .esl-md-date, .esl-md-count { display: block; }
.esl-md-artist, .esl-md-meta, .esl-md-sources, .esl-md-no-spotify, .esl-md-spotify { font-size: .85rem; }
.esl-md-meta { text-align: end; }
.esl-md-count { font-weight: 700; }
.esl-md-card .esl-md-spotify { color: var(--ink); text-underline-offset: .15em; text-decoration: underline; }
.esl-md-card .esl-md-more { display: block; margin: 1rem auto; min-width: 9rem; cursor: pointer; }
.esl-md-card .esl-md-note { margin-bottom: 0; }
@media (max-width: 520px) {
  .esl-md-controls { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .esl-md-card .esl-md-row { grid-template-columns: minmax(0, 1fr); }
  .esl-md-meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; text-align: start; }
  .esl-md-card .esl-md-spotify { min-height: 44px; display: flex; align-items: center; justify-self: start; }
}
