.results-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.results-panel {
    overflow: hidden;
}

.results-list {
    display: grid;
    gap: 10px;
}

.result-match {
    display: grid;
    grid-template-columns: 38px minmax(160px, 1fr) 150px minmax(160px, 1fr) 82px 155px;
    align-items: center;
    gap: 13px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #fff;
}

.result-locked {
    background: #f8fafc;
}

.result-order {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #175cd3;
    background: #eff6ff;
    font-weight: 900;
}

.result-team strong,
.result-team small {
    display: block;
}

.result-team small {
    margin-top: 4px;
    color: var(--muted);
    font-size: .76rem;
}

.result-team-away {
    text-align: right;
}

.score-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.score-inputs input {
    width: 57px;
    height: 44px;
    padding: 7px;
    text-align: center;
    font-size: 1.12rem;
    font-weight: 900;
}

.score-inputs span {
    font-size: 1.1rem;
    font-weight: 900;
}

.score-readonly {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 900;
}

.result-badge {
    min-height: 48px;
    display: grid;
    place-items: center;
    padding: 6px;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 900;
}

.result-badge small {
    display: block;
    margin-top: -3px;
    font-size: .64rem;
    font-weight: 700;
}

.result-local {
    color: #027a48;
    background: #d1fadf;
}

.result-draw {
    color: #b54708;
    background: #fef0c7;
}

.result-away {
    color: #175cd3;
    background: #d1e9ff;
}

.result-null {
    color: #344054;
    background: #eaecf0;
}

.result-pending {
    color: #667085;
    background: #f2f4f7;
}

.result-validation strong,
.result-validation small {
    display: block;
}

.result-validation small {
    margin-top: 4px;
    color: var(--muted);
    font-size: .7rem;
}

.result-null-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--muted);
    font-size: .78rem;
}

.result-null-option input {
    width: 17px;
    height: 17px;
    margin: 0;
}

.results-actions-panel {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin: 20px 0;
}

.ranking-filters {
    grid-template-columns: minmax(250px, 1fr) 210px auto;
}

.ranking-position {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #344054;
    background: #f2f4f7;
    font-weight: 900;
}

.ranking-top-1 .ranking-position {
    color: #7a4b00;
    background: #fef0c7;
}

.ranking-top-2 .ranking-position {
    color: #475467;
    background: #eaecf0;
}

.ranking-top-3 .ranking-position {
    color: #854a0e;
    background: #ffead5;
}

.hits-badge {
    display: inline-flex;
    min-width: 70px;
    justify-content: center;
    padding: 8px 11px;
    border-radius: 999px;
    color: #175cd3;
    background: #eff6ff;
    font-size: .95rem;
    font-weight: 900;
}

@media (max-width: 1150px) {
    .result-match {
        grid-template-columns: 38px 1fr 135px 1fr 72px;
    }

    .result-validation,
    .result-null-option {
        grid-column: 2 / -1;
    }
}

@media (max-width: 850px) {
    .results-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .result-match {
        grid-template-columns: 38px 1fr 82px;
    }

    .score-inputs,
    .score-readonly {
        grid-column: 2 / 3;
        grid-row: 2;
    }

    .result-team-away {
        grid-column: 2 / 3;
        text-align: left;
    }

    .result-badge {
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .result-validation,
    .result-null-option {
        grid-column: 2 / -1;
    }

    .ranking-filters {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .results-summary-grid {
        grid-template-columns: 1fr;
    }
}
