/* Find a game (/games); the search comes from pros.css, the tournament cards from homepage.css */

.bi-games-search {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr) auto;
}

.bi-games-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.bi-games-jump a {
    padding: 5px 14px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    font-size: 0.9rem;
    text-decoration: none;
}

.bi-games-jump a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.bi-games-block {
    margin-bottom: 38px;
    scroll-margin-top: 16px;
}

.bi-games-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 20px;
    margin-bottom: 14px;
}

.bi-games-head h2 {
    margin: 0;
    font-size: 1.6rem;
}

.bi-games-head h2 .bi {
    margin-right: 6px;
    color: var(--bi-blue);
    font-size: 1.3rem;
}

.bi-games-head p {
    margin: 0;
    color: var(--bi-muted);
    font-size: 0.92rem;
}

.bi-games-online {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.bi-games-online-card {
    display: flex;
    flex-direction: column;
    padding: 14px 16px;
    border: 1px solid var(--bi-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--bi-shadow);
}

.bi-games-when {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 4px;
}

.bi-games-when time {
    color: var(--bi-deep-navy);
    font-size: 1.5rem;
    font-weight: 700;
}

.bi-games-when span {
    padding: 1px 9px;
    color: #1a6b3c;
    border-radius: 999px;
    background: #eaf7ef;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.bi-games-online-card h3 {
    margin: 0 0 6px;
    font-size: 1.08rem;
    font-weight: 700;
}

.bi-games-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 6px;
}

.bi-games-facts span {
    padding: 1px 8px;
    color: var(--bi-navy);
    border-radius: 6px;
    background: #eef4fb;
    font-size: 0.78rem;
    font-weight: 700;
}

.bi-games-facts .bi-games-platform {
    color: #fff;
    background: var(--bi-plum);
}

.bi-games-more {
    margin: 0 0 10px;
    color: var(--bi-muted);
    font-size: 0.85rem;
}

.bi-games-play {
    margin-top: auto;
    font-weight: 700;
}

.bi-games-where {
    margin-bottom: 38px;
}

.bi-games-day {
    margin: 18px 0 8px;
    color: var(--bi-plum);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bi-games-list {
    margin: 0;
    padding: 0;
    border: 1px solid var(--bi-border);
    border-radius: 14px;
    background: #fff;
    list-style: none;
    overflow: hidden;
}

.bi-games-list li {
    display: grid;
    grid-template-columns: 90px minmax(0, 1.6fr) minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 11px 16px;
    border-top: 1px solid #e3eef9;
}

.bi-games-list li:first-child {
    border-top: 0;
}

.bi-games-time {
    color: var(--bi-deep-navy);
    font-size: 1.1rem;
    font-weight: 700;
}

.bi-games-club {
    display: grid;
}

.bi-games-club a {
    color: var(--bi-deep-navy);
    font-weight: 700;
}

.bi-games-club small {
    color: var(--bi-muted);
}

.bi-games-club small .bi {
    margin-right: 3px;
    color: var(--bi-blue);
}

.bi-games-kind {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 0.92rem;
}

.bi-games-tag {
    padding: 0 7px;
    border-radius: 6px;
    background: #f3f3f3;
    font-size: 0.75rem;
}

.bi-games-tag.is-muted {
    color: #8a5a00;
    background: #fff4dd;
}

.bi-games-go {
    font-size: 0.9rem;
    white-space: nowrap;
}

.bi-games-caveat {
    margin: 12px 0 0;
    color: var(--bi-muted);
    font-size: 0.86rem;
}

@media (max-width: 767.98px) {
    .bi-games-search {
        grid-template-columns: minmax(0, 1fr);
    }

    .bi-games-list li {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 4px 12px;
    }

    .bi-games-kind,
    .bi-games-go {
        grid-column: 2;
    }
}
