html {
    overflow-y: scroll;
}

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

header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-right: 1rem;
}

header h1 {
    font-size: 1.5rem;
    margin-top: 0;
}

.user-controls {
    font-size: 0.9rem;
}

.user-controls input {
    border: 1px solid #000;
    padding: 2px 5px;
}

.text-button {
    background: none;
    border: none;
    cursor: pointer;
    color: blue;
    text-decoration: underline;
    font-size: inherit;
    padding: 0;
    margin-left: 5px;
}

a.home-link {
    color: black;
    text-decoration: none;
    font-style: italic;
}

a.home-link:visited {
    color: black;
}

a.home-link:hover {
    color: black;
    text-decoration: underline;
}

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

#results {
    margin-top: 20px;
}

.result-type {
    display: inline-block;
    width: 60px;
    color: #666;
}

.pagination-container {
    margin-bottom: 1em;
}

.pagination-limit-row {
    margin-bottom: 0.5em;
}

.include-followed-toggle {
    margin-bottom: 0.5em;
}

.pagination-info {
    margin-right: 10px;
}

.pagination-disabled {
    color: grey;
    margin-right: 10px;
}

.pagination-container a {
    margin-right: 10px;
}

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

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

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

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

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

.tracks-summary h2 {
    margin: 0;
    margin-right: 0.5rem;
}

.tracks-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] .tracks-summary::after {
    transform: rotate(90deg);
}

.bandcamp-embed {
    border: 0;
    width: 100%;
    height: 120px;
}