/* HoFi Billard - skomager_statistics.css v1.0 */

.skomager-statistics-page {
    max-width: 1200px;
}

.skomager-stat-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.skomager-stat-card {
    padding: 1rem 1.15rem;
}

.skomager-stat-card span {
    display: block;
    font-size: .8rem;
    opacity: .75;
    margin-bottom: .35rem;
}

.skomager-stat-card strong {
    font-size: 1.8rem;
}

.skomager-player-stats {
    padding: 0;
    overflow: hidden;
}

.skomager-player-stats h2 {
    margin: 0;
    padding: 1rem 1rem .7rem;
}

.skomager-stat-table-wrap {
    overflow-x: auto;
}

.skomager-stat-table {
    width: 100%;
    border-collapse: collapse;
}

.skomager-stat-table th,
.skomager-stat-table td {
    padding: .7rem .75rem;
    border-bottom: 1px solid rgba(255,255,255,.11);
    text-align: right;
    white-space: nowrap;
}

.skomager-stat-table th {
    font-size: .78rem;
    opacity: .8;
}

.skomager-stat-table th:nth-child(2),
.skomager-stat-table td:nth-child(2) {
    text-align: left;
}

.skomager-stat-table .player-name,
.skomager-stat-table .match-points {
    font-weight: 800;
}

.skomager-stat-note {
    padding: .8rem 1rem;
    font-size: .78rem;
    opacity: .7;
}

@media (max-width: 800px) {
    .skomager-stat-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
