.lp-player-table-frame {
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.lp-player-table-scroll {
    position: relative;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.lp-player-table-cue {
    display: none;
}

.lp-player-table-cue.is-visible {
    display: none;
}

.lp-player-table-cue-left {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
}

.lp-player-table-cue-right {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
}

table.player_result_table.lp-player-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    --lp-cell-pad-y: 4px;
    --lp-cell-pad-x: 6px;
    --lp-col-gap: 8px;
}

table.player_result_table.lp-player-table th,
table.player_result_table.lp-player-table td {
    padding: var(--lp-cell-pad-y) var(--lp-cell-pad-x);
    white-space: nowrap;
    box-sizing: border-box;
}

table.player_result_table.lp-player-table thead th {
    cursor: pointer;
    user-select: none;
}

table.player_result_table.lp-player-table thead th[data-dt-order="disable"] {
    cursor: default;
}

table.player_result_table.lp-player-table thead th.lp-sort-desc::before {
    content: " ▼";
    font-size: 11px;
    opacity: 0.75;
}

table.player_result_table.lp-player-table thead th.lp-sort-asc::before {
    content: " ▲";
    font-size: 11px;
    opacity: 0.75;
}

table.player_result_table.lp-player-table .lp-fixed-start,
table.player_result_table.lp-player-table .lp-fixed-end {
    position: sticky;
    z-index: 4;
    background-color: #ffffff;
}

table.player_result_table.lp-player-table th.lp-fixed-start,
table.player_result_table.lp-player-table th.lp-fixed-end {
    z-index: 5;
    background-color: #dddddd;
}

table.player_result_table.lp-player-table > tbody > tr:nth-of-type(even) > .lp-fixed-start,
table.player_result_table.lp-player-table > tbody > tr:nth-of-type(even) > .lp-fixed-end {
    background-color: #efeeee;
}

.lp-player-table-frame.can-scroll-left table.player_result_table.lp-player-table .lp-fixed-start-edge,
.lp-player-table-frame.can-scroll-right table.player_result_table.lp-player-table .lp-fixed-end-edge {
    position: sticky;
    z-index: 6;
}

/* Keep body-row boundary cells above scrolling siblings so edge fades are visible. */
table.player_result_table.lp-player-table td.lp-fixed-start-edge,
table.player_result_table.lp-player-table td.lp-fixed-end-edge {
    z-index: 7;
    overflow: visible;
}

table.player_result_table.lp-player-table .lp-fixed-start-edge::after,
table.player_result_table.lp-player-table .lp-fixed-end-edge::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 10px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 120ms ease-out;
}

table.player_result_table.lp-player-table .lp-fixed-start-edge::after {
    right: -10px;
    z-index: 3;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
}

table.player_result_table.lp-player-table .lp-fixed-end-edge::before {
    left: -10px;
    z-index: 3;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
}

.lp-player-table-frame.can-scroll-left table.player_result_table.lp-player-table .lp-fixed-start-edge::after,
.lp-player-table-frame.can-scroll-right table.player_result_table.lp-player-table .lp-fixed-end-edge::before {
    opacity: 1;
}
