.content {
    position: absolute;
    display: flex;
    justify-content: flex-start;
}

:root.details section#list,
:root:not(.details) section#details {
    display: none;
}

#sorter {
    margin: 0.5rem auto 3rem;
    text-align: center;
    padding: 0.85rem 1.5rem;
    background: rgba(255,255,255,0.1);
    width: max-content;
    border: 1px solid rgb(103 105 127 / 43%);
    border-radius: 2rem;
    display: flex;
    gap: 1rem;
    line-height: 1.5;
}

#sorter label {
    position: relative;
    border: 1px solid rgb(103 105 127 / 43%);
    padding: 0 0.85rem;
    border-radius: 1rem;
}

#sorter label input {
    cursor: pointer;
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
}

#sorter label input:checked + span {
    color: #fff;
}

section#list {
    ul {
        li {
            display: flex;
            list-style: none;
            border: 1px solid rgb(103 105 127 / 43%);
            border-radius: 4px;
            a {
                display: flex;
                flex-direction: column;
                align-items: center;
                max-width: 200px;
                text-overflow: ellipsis;
                text-align: center;
                text-decoration: none;
            }
        }
        padding: 0;
        width: 80vw;
        display: grid;
        grid-template-columns: repeat(auto-fill, 200px);
        gap: clamp(1rem,4vw,2rem);
        justify-content: center;
    }
}

section#details {
    border: 1px solid rgb(103 105 127 / 43%);
    border-radius: 4px;
    height: max-content;
    a {
        display: flex;
        flex-direction: column;
        text-decoration: none;
        align-items: center;
    }
}

#hero {
    aspect-ratio: 2/3;
    border-radius: 4px 4px 0 0;
}

.thumb {
    aspect-ratio: 2/3;
    border-radius: 4px 4px 0 0;
    max-width: 100%;
}

.title {
    font-weight: bold;
    padding: 0.85rem 0.5rem;
    margin: auto;
}

.title--single {
    font-size: 1.5rem;
    padding: 2rem 1rem;
    max-width: 400px;
    text-align: center;
}