.tag-discovery-page .discovery-container {
    padding-top: 6px;
}

.tag-discovery-page .discovery-page-intro h1 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.tag-discovery-page .cast-count {
    font-weight: 700;
}

.tag-discovery-page .cast-count-unit {
    font-size: 0.75em;
}

.tag-discovery-page .tag-page-pagination {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.tag-discovery-page .tag-page-pagination[hidden] {
    display: none;
}

.tag-discovery-page .tag-page-next-button {
    display: inline-flex;
    min-width: 140px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
}

.tag-infinite-scroll-enabled .tag-discovery-page .tag-page-pagination {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.tag-discovery-page .discovery-sort-menu .chatted-sort-option {
    text-decoration: none;
}

.tag-discovery-footer {
    max-width: 450px;
    margin-right: auto;
    margin-left: auto;
    box-sizing: border-box;
}
