.scb-games-filter {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    align-items: end;
    margin-bottom: 16px;
}

.scb-games-filter label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.scb-games-filter input,
.scb-games-filter select {
    padding: 8px 10px;
    border: 1px solid #c5cbcd;
    border-radius: 6px;
    font: inherit;
}

.scb-games-filter button {
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    background: var(--scb-accent);
    color: #fff;
    font: 600 15px/1.2 inherit;
    cursor: pointer;
}

.scb-games-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.scb-games-list li {
    margin: 0;
    padding: 0;
}

.scb-games-item {
    display: block;
    background: var(--scb-card);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 8px;
    text-decoration: none;
    color: inherit;
}

.scb-games-item strong {
    display: block;
}

.scb-games-meta {
    margin: 4px 0 0;
    color: var(--scb-muted);
    font-size: 0.9rem;
}

.scb-games-win {
    color: var(--scb-accent);
}

.scb-games-loss {
    color: #9b2226;
}

.scb-games-pager {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
}

.scb-games-empty {
    color: var(--scb-muted);
}

.scb-error {
    color: #8b1e1e;
}

/* Счётчики приёмов в строке партии. Партии без подсчёта строки не имеют */
.scb-games-tactics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0 0;
    font-size: 13px;
}

.scb-games-tactic-found {
    color: var(--scb-accent);
}

.scb-games-tactic-missed {
    color: #9a6b12;
}

.scb-games-tactic-conceded {
    color: #8b1e1e;
}
