@media (max-width: 767.98px) {
    [data-lidom-splits], [data-lidom-recent] {
        min-width: 0;
        max-width: 100%;
    }

    .bb-lidom-stat-filters.d-flex {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bb-lidom-stat-filters > label {
        min-width: 0;
        margin: 0;
    }

    .bb-lidom-stat-filters > .bb-lidom-stat-filter-wide,
    .bb-lidom-stat-filters > [data-split-metric-control],
    .bb-lidom-stat-filters > [data-split-record-filter] {
        grid-column: 1 / -1;
    }

    .bb-lidom-stat-filters select {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        margin-top: .25rem;
        font-size: 16px;
    }

    [data-split-open] > summary {
        min-height: 44px;
        padding-block: .625rem;
        cursor: pointer;
    }

    .bb-lidom-stat-scroll {
        min-width: 0;
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
    }

    .bb-lidom-stat-scroll :is(thead, tbody, tfoot) > tr > :first-child {
        position: sticky;
        inset-inline-start: 0;
        z-index: 1;
        background-color: var(--bs-table-bg, #fff);
        border-inline-end: 1px solid var(--bs-table-border-color, #dee2e6);
    }

    .bb-lidom-stat-scroll tbody > tr > :first-child,
    .bb-lidom-stat-scroll tfoot > tr > :first-child {
        background-color: var(--bs-body-bg, #fff);
    }

    [data-lidom-splits][data-player="0"] .bb-lidom-stat-scroll tbody th[scope="row"],
    [data-lidom-recent] .bb-lidom-stat-scroll tbody td:nth-child(2) {
        min-width: 7.25rem;
        max-width: 9rem;
        white-space: normal;
    }
}
