/* =========================================================================
   S15: TWO-WAY REVIEW & TRUSTSCORE REPUTATION STYLES
   ========================================================================= */
.s15-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.s15-hero h1 {
    font-size: 1.45rem;
    margin: 0.35rem 0;
}

.s15-my-score {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #93c5fd;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.s15-my-score span {
    font-size: 0.78rem;
    color: #1e40af;
}

.s15-my-score strong {
    font-size: 1.35rem;
    color: #1e3a8a;
}

.s15-my-score small {
    font-size: 0.75rem;
    color: #2563eb;
}

.s15-workspace {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 980px) {
    .s15-workspace {
        grid-template-columns: 1fr;
    }
}

.s15-left-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.s15-form-card h3,
.s15-leaderboard-card h3,
.s15-feed-head h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.02rem;
}

.s15-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.s15-leader-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.s15-leader-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.s15-rank {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1e293b;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.s15-leader-info {
    flex: 1;
}

.s15-leader-info strong {
    display: block;
    font-size: 0.88rem;
}

.s15-leader-info small {
    font-size: 0.74rem;
    color: #64748b;
}

.s15-leader-score {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
}

.s15-leader-score small {
    font-size: 0.72rem;
    color: #475569;
}

.s15-feed-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0.9rem;
    flex-wrap: wrap;
}

.s15-filter-pills {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.s15-pill {
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    cursor: pointer;
}

.s15-pill.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.s15-review-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.s15-review-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    background: #fff;
}

.s15-review-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.45rem;
    font-size: 0.88rem;
}

.s15-stars {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.s15-delta {
    font-size: 0.78rem;
    font-weight: 700;
    margin-left: 0.35rem;
}

.s15-delta.pos {
    color: #15803d;
}

.s15-delta.neg {
    color: #b91c1c;
}

.s15-review-comment {
    margin: 0.35rem 0 0.55rem 0;
    color: #1e293b;
    font-size: 0.9rem;
    line-height: 1.45;
}

.s15-review-foot {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
}
