.torrent__name {
    font-size: 22px;
    font-family:
        -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial,
        sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
    font-weight: bold;
    text-align: center;
    margin: 10px 0;
}

.torrent__buttons {
    margin: 10px 0;
    padding: 0;
}

/* Tags
---------------------------------------------------------------------------- */

.torrent__tags {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style-type: none;
    align-items: baseline;
    font-size: 14px;
    justify-content: center;
}

.torrent__tags li:not(:last-child)::after {
    content: '\2022';
    display: inline-block;
    margin-left: -0.5ch;
}

.torrent__tags li {
    white-space: nowrap;
}

.torrent__tags > li > a,
.torrent__tags > li > span,
.torrent__tags > li > time {
    color: var(--torrent-tag-fg);
    padding: 6px 12px;
    display: inline-block;
}

.torrent__tags > li > a:hover {
    background-color: var(--torrent-tag-hover-bg);
    border-radius: 9999px;
    color: var(--torrent-tag-hover-fg);
}

@media screen and (max-width: 767px) {
    .torrent__tags {
        display: flex;
        gap: 6px;
    }

    .torrent__tags.torrent__tags > li::after {
        display: none;
    }
}

/* Also Downloaded
---------------------------------------------------------------------------- */

.also-downloaded {
    display: grid;
    grid-auto-columns: 150px;
    grid-auto-flow: column;
    gap: 12px 24px;
    overflow-x: auto;
}

/* Recommendations
---------------------------------------------------------------------------- */

.recommendations {
    display: grid;
    grid-auto-columns: 150px;
    grid-auto-flow: column;
    gap: 12px 24px;
    overflow-x: auto;
}

/* NFO
---------------------------------------------------------------------------- */

.torrent__nfo {
    line-height: 1 !important;
    letter-spacing: -1px;
    white-space: pre;
}

.torrent__nfo-pre {
    width: max-content;
    line-height: 1 !important;
}

/* Peer counts
---------------------------------------------------------------------------- */

/* Doubled up to override link colors */
.torrent__seeder-count.torrent__seeder-count {
    color: var(--torrent-row-seeders-fg);
}

/* Doubled up to override link colors */
.torrent__leecher-count.torrent__leecher-count {
    color: var(--torrent-row-leechers-fg);
}

/* Doubled up to override link colors */
.torrent__times-completed-count.torrent__times-completed-count {
    color: var(--torrent-row-completed-fg);
}
