﻿.track-detail-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.track-detail-preview {
    width: 256px;
    height: 256px;
    background: #cccccc00;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border-radius: 6px;
    overflow: hidden;
}

    .track-detail-preview img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.track-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.track-detail-stats {
    font-size: 0.9rem;
    font-family: Title !important;
    color: #ffffff;
}

.leaderboard-controls {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

    .leaderboard-controls label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

.leaderboard-pagination {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comments-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.comments-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.comment-card {
    background-color: #2b2b51;
    border-radius: 2.3rem;
    corner-shape: squircle;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: Title;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 0%;
    border: 0px solid #dddddd00;
    background: #eeeeee00;
    flex-shrink: 0;
}

.comment-author-info {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 0.2rem;
}

    .comment-author-info strong {
        /* color: #39f70a; */
        margin-top: 50%;
    }

.comment-date {
    font-size: 0.85rem;
    color: #777;
}

.comment-body {
    color: #ffffff;
    line-height: 1.5;
    white-space: pre-wrap;
    font-size: larger;
    font-family: SubHeader;
}

.comment-stats {
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 0.5rem;

}

.comment-tags {
    font-style: italic;
}
@media (max-width: 600px) {
    
    .track-detail-header {
        display: flex;
        gap: 1rem;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }

    .track-detail-header h1{
        font-size: 25px;
    }

    .track-detail-preview {
        width: 128px;
        height: 128px;
        background: #cccccc00;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        border-radius: 6px;
        overflow: hidden;
    }

        .track-detail-preview img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .track-detail-meta {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }
}