.youtube-channels-page .youtube-channel-list {
    max-height: none;
    overflow: visible;
}

.youtube-channel-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.youtube-channel-card-link:hover {
    background: rgba(12, 96, 64, .04);
    color: inherit;
    text-decoration: none;
}

.youtube-channel-card-link:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(12, 96, 64, .18);
    outline: 0;
}

.youtube-channel-row {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 10px 12px;
}

.youtube-channel-card-link:hover .youtube-channel-name {
    text-decoration: underline;
}

.youtube-channel-name {
    display: block;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    color: var(--color-link);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youtube-channel-latest {
    display: flex;
    align-items: baseline;
    min-width: 0;
    margin-top: 4px;
    color: var(--color-text-light);
    font-size: .82rem;
    line-height: 1.4;
}

.youtube-channel-latest-label {
    flex-shrink: 0;
}

.youtube-channel-latest-title {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: var(--color-text);
    font-size: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.youtube-channel-no-video {
    display: block;
    margin-top: 4px;
    color: var(--color-text-light);
    font-size: .82rem;
    line-height: 1.4;
}

.youtube-channel-meta-no-video {
    justify-content: flex-end;
}

.youtube-channel-ad {
    list-style: none;
}

@media (max-width: 599px) {
    .youtube-channel-row {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 10px;
        padding: 9px 8px;
    }

    .youtube-channel-name {
        font-size: .9rem;
    }

    .youtube-channel-latest,
    .youtube-channel-no-video {
        font-size: .72rem;
    }
}
