/*
:root {
    --bs-btn-border-color: #f8f9fa40;
}
    */

.zindex-1060 {
    z-index: 1060;
}
.user-avatar {
    width: 48px;
    height: 48px;
    font-weight: 600
}

.rating-panel {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 16px;
}

.rating-left {
    text-align: center;
    padding-right: 20px;
    border-right: 1px solid #eee;
    min-width: 140px;
}

.rating-left .score {
    font-size: 28px;
    font-weight: 700;
    color: #ee4d2d;
}

.rating-left .score-text {
    font-size: 13px;
    color: #666;
}

.stars {
    color: #ffb400;
    font-size: 20px;
    margin-top: 6px;
}

.rating-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-item {
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.filter-item.active {
    background: #ee4d2d;
    color: #fff;
}

.comment-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.user-name {
    font-weight: 600;
    color: #0f1111;
    text-decoration: none;
}

.meta {
    color: #6b6b6b;
    font-size: 13px;
}

.thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 8px;
    cursor: pointer;
    position: relative;
}

.thumb-wrap {
    gap: 6px;
    overflow: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
}

.play {
    position: absolute;
    left: 6px;
    top: 6px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
}

.attr-row {
    font-size: 13px;
    color: #444;
    margin-top: 8px;
}

.category {
    color: #ff5722;
    font-weight: 600;
    font-size: 13px;
}

.report-btn {
    color: #8b8b8b;
    cursor: pointer;
}

.like-btn {
    color: #ff5722;
    font-weight: 600;
    cursor: pointer;
}

#pagination {
    margin-top: 12px;
}

.btn-like {
    font-size: 0.8rem;
}

.btn-like.liked {
    color: #b2b2b2;
}

.btn-like.liked i {
    color: #b2b2b2;
}



#mediaCarousel.fade-out {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

#mediaCarousel.fade-in {
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}


@media(max-width:576px) {
    .comment-card {
        padding: 10px;
    }

    .user-avatar {
        width: 38px;
        height: 38px;
    }

    .thumb {
        width: 60px;
        height: 60px;
    }

    .rating-panel {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
    }

    .rating-left {
        display: flex;
        align-items: center;
        text-align: left;
        padding-right: 0;
        padding-bottom: 5px;
        border-right: none !important;
        border-bottom: 1px solid #eee;
        min-width: auto;
        width: 100%;
        margin-bottom: 16px;
        gap: 12px;
    }

    .rating-left .score {
        flex: 3;
        font-size: 24px;
        text-align: center;
        border-right: 1px solid #eee;
    }

    .rating-left .score-detail {
        flex: 7;
    }

    .rating-left .stars {
        font-size: 16px;
        margin-top: 4px;
    }

    .rating-right {
        width: 100%;
    }

    .rating-filters {
        justify-content: center;
        gap: 6px;
    }

    .filter-item {
        padding: 4px 10px;
        font-size: 13px;
    }
}