.srv-block {
    margin: 24px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    font-size: 14px;
}

.srv-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.srv-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.srv-sub {
    margin: 2px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.srv-score {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.srv-score-value {
    padding: 4px 10px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: var(--bs-primary, #0d6efd);
    border-radius: 8px;
}

.srv-score-scale,
.srv-score-count {
    font-size: 13px;
    color: #6b7280;
}

.srv-bars {
    display: grid;
    gap: 6px;
    max-width: 420px;
    margin-bottom: 16px;
}

.srv-bar {
    display: grid;
    grid-template-columns: 40px 1fr 32px;
    gap: 8px;
    align-items: center;
    font-size: 12px;
}

.srv-bar-label .fa-star {
    color: #f5a623;
}

.srv-bar-track {
    height: 8px;
    overflow: hidden;
    background: #eef0f3;
    border-radius: 4px;
}

.srv-bar-fill {
    display: block;
    height: 100%;
    background: #f5a623;
}

.srv-bar-count {
    text-align: right;
    color: #6b7280;
}

.srv-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.srv-item {
    padding: 12px 0;
    border-top: 1px solid #f0f1f4;
}

.srv-item-head {
    display: flex;
    gap: 10px;
    align-items: center;
}

.srv-avatar {
    display: inline-flex;
    flex: 0 0 36px;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-weight: 700;
    color: var(--bs-primary, #0d6efd);
    background: #eef3ff;
    border-radius: 50%;
}

.srv-item-meta {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.srv-author {
    font-weight: 600;
}

.srv-date {
    font-size: 12px;
    color: #6b7280;
}

.srv-item-score {
    padding: 2px 8px;
    font-weight: 700;
    color: var(--bs-primary, #0d6efd);
    background: #eef3ff;
    border-radius: 6px;
}

.srv-comment {
    margin: 8px 0 0;
    line-height: 1.5;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.srv-comment--clamped {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.srv-link {
    min-height: 36px;
    padding: 0;
    font-size: 13px;
    color: var(--bs-primary, #0d6efd);
    background: none;
    border: 0;
}

.srv-more {
    margin-top: 12px;
    text-align: center;
}

.srv-more .btn {
    min-height: 36px;
}

.srv-block--pwa {
    margin: 16px 0;
    padding: 16px;
    border-radius: 10px;
}

.srv-block--pwa .srv-bars {
    max-width: none;
}

@media (max-width: 575.98px) {
    .srv-block {
        padding: 16px;
    }

    .srv-bars {
        max-width: none;
    }
}

.srv-badge {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 2px 6px;
    font-size: 12px;
    line-height: 1.4;
    color: #374151;
    white-space: nowrap;
    background: #f3f4f6;
    border-radius: 6px;
}

.srv-badge-score {
    font-weight: 700;
    color: var(--bs-primary, #0d6efd);
}
