html {
    overflow-y: scroll;
}

:root {
    --muted-text-color: GrayText;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    padding: 0.5rem 1rem 0;
    line-height: 1.4;
}

body > h1 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

body > h1 a {
    color: black;
    text-decoration: none;
    font-style: italic;
}

body > h1 a:visited {
    color: black;
}

body > h1 a:hover {
    text-decoration: underline;
}

body > h2 {
    margin: 0 0 0.5rem;
}

body > h3 {
    margin: 1rem 0 0.35rem;
}

body > p {
    margin: 0.5rem 0;
}

h2 + p,
h3 + p,
p + p {
    margin-top: 0;
}

input,
select {
    font: inherit;
}

#search-box {
    -webkit-appearance: none;
    appearance: none;
    font-size: 1.2rem;
    padding: 0.6rem;
    width: 100%;
    max-width: 350px;
    border: 3px solid black;
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
}

#search-box::placeholder {
    color: var(--muted-text-color);
}

.collapsible-section {
    margin: 1rem 0 0.35rem;
}

.collapsible-summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    width: fit-content;
}

.collapsible-summary::-webkit-details-marker {
    display: none;
}

.collapsible-summary h3 {
    margin: 0;
    margin-right: 0.5rem;
}

.collapsible-summary::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid black;
}

details[open] > .collapsible-summary::after {
    transform: rotate(90deg);
}

table {
    border-collapse: collapse;
    margin-top: 0.75rem;
}

#search-results {
    list-style: none;
    padding-left: 0;
    margin-top: 0.75rem;
}

#search-results li + li {
    margin-top: 0.75rem;
}

td {
    padding: 0.2rem 1rem 0.2rem 0;
    vertical-align: top;
}

td:first-child {
    min-width: 3rem;
}

.result-type {
    display: inline-block;
    width: 4rem;
    color: var(--muted-text-color);
}

select[data-pagination-limit] {
    margin-left: 0.25rem;
}

.bandcamp-embed {
    border: 0;
    width: 100%;
    max-width: 500px;
    height: 120px;
    display: block;
    margin: 1rem 0;
}
