﻿.tournament-results {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    margin-bottom: 60px;
    font-family: var(--font-family-primary, sans-serif);
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

    .tournament-results thead {
        background-color: #222;
        color: white;
    }

        .tournament-results thead th {
            padding: 12px 8px;
            font-weight: bold;
            text-align: center;
            border-bottom: 1px solid #444;
            font-size: 0.95rem;
            white-space: nowrap;
        }

    .tournament-results tbody td {
        padding: 10px 8px;
        text-align: center;
        border-bottom: 1px solid #eee;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .tournament-results tbody tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .tournament-results tbody tr:hover {
        background-color: #f1f1f1;
    }

    .tournament-results .rank {
        font-weight: bold;
    }

    .tournament-results .name {
        text-align: left;
        padding-left: 16px;
    }

    .tournament-results .points {
        font-weight: bold;
    }

.tournament-results__details-toggle {
    display: none;
}

@media (max-width: 768px) {
    .mobile-hide {
        display: none;
    }

    .tournament-results {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

        .tournament-results thead th,
        .tournament-results tbody td {
            white-space: nowrap;
        }
}
