section#thread-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    
    border: 16px var(--border-color-01) ridge;
    width: 80vw;
    margin-bottom: 10px;
}

.thread-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    
    border: 16px var(--border-color-01) ridge;
}

section.thread-list-section {
    margin: 16px 0;
}
section.thread-list-section > header {
    font-weight: bold;
    font-size: 2rem;
}

.thread-list-header {
    display: grid;
    grid-template-columns: 6.4fr 1fr 2fr;
    color: white;
    background-color: black;
    font-weight: bold;
    padding: 2px;
}
.moderatable-thread-list-header {
    display: grid;
    grid-template-columns: 6.4fr 1fr 2fr 0.4fr;
}
.thread-list-header > span {
    padding: 4px;
    border-left: 1px solid var(--border-color-01);
}
.thread-list-header > span:first-child {
    border-left: none;
}

.catalog-item-title > a, .last-post-link {
    color: var(--link-color-01);
}

.thread-reply-count-header {
    text-align: center;
}
.thread-reply-count {
    display: grid;
    place-items: center;
}
div.thread-reply-count {
    color: var(--text-color-01);
}

.thread-title-author {
    display: flex;
    flex-direction: column;
    padding: 5px;
    color: var(--text-color-01);
}

.thread-item {
    display: grid;
    grid-template-columns: 0.4fr 6fr 1fr 2fr;
    border-top: 1px solid var(--border-color-01);
}
.moderatable-thread-item {
    grid-template-columns: 0.4fr 6fr 1fr 2fr 0.4fr;
}
.thread-item > div {
    border-left: 1px solid var(--border-color-01);
}
.thread-item > div:first-child {
    border-left: none;
}

.thread-status-icons {
    position: relative;
    border-right: 1px solid var(--border-color-01);
}
.thread-status-icon {
    width: 16px;
}

.thread-deleted-icon {
    position: absolute;
    top: 4px;
    left: 4px;
}
.thread-locked-icon {
    position: absolute;
    bottom: 4px;
    right: 4px;
}
.thread-pinned-icon {
    position: absolute;
    top: 4px;
    right: 4px;
}

.header-link {
    color: white;
    text-decoration: none;
}
.header-link:hover {
    color: white;
    text-decoration: underline;
}

.thread-newest-post-header {
    margin-right: 5px;
    text-align: right;
}
.thread-newest-post {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 5px;
    align-items: flex-end;
}
div.thread-newest-post {
    color: var(--text-color-01);
}

div.thread-no-newest-post {
    display: grid;
    color: var(--text-color-01);
    place-items: center;
}

.thread-tags-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    margin: 5px 0;
    padding: 0;
    color: var(--text-color-06);
    max-width: 480px;
    overflow-x: auto;
}
a.thread-item-tag {
    color: var(--text-color-06);
}

a.thread-item-tag::before {
    margin-left: 10px;
    content: '#';
}

.thread-header-checkbox {
    display: grid;
    place-items: center;
}
.thread-checkbox-holder {
    display: grid;
    place-items: center;
}

.thread-list-pagination {
    color: var(--text-color-01);
}
.thread-list-pagination a {
    color: var(--link-color-01);
}

#moderation-section {
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
#threads-moderation-action-form {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
}
.moderation-actions-fieldset-buttons {
    border-left: 2px solid var(--bgcolor-grabbable-border);
    padding-top: 4px;
    padding-left: 4px;
    padding-bottom: 4px;
}