        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Trebuchet MS', 'Lucida Sans Unicode', sans-serif;
            background: linear-gradient(135deg, #1a472a 0%, #2d5016 50%, #1a472a 100%);
            min-height: 100vh;
            padding: 20px;
            color: #f0e6d2;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .header {
            text-align: center;
            padding: 30px;
            background: linear-gradient(135deg, #8b7355 0%, #654321 100%);
            border-radius: 10px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
            margin-bottom: 30px;
            border: 3px solid #d4af37;
            position: relative;
        }

        h1 {
            font-size: 3em;
            color: #ffd700;
            text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .subtitle {
            color: #b8860b;
            font-size: 1.2em;
            margin-top: 10px;
        }

        .nav-link {
            position: absolute;
            top: 50%;
            right: 20px;
            transform: translateY(-50%);
            background: linear-gradient(135deg, #228b22 0%, #006400 100%);
            color: white;
            padding: 12px 24px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: bold;
            font-size: 14px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            transition: all 0.2s;
            text-transform: uppercase;
        }
        
        .nav-link:hover {
            transform: translateY(-50%) translateY(-2px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.4);
        }

        .section {
            background: rgba(139, 115, 85, 0.3);
            border: 2px solid #8b7355;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
            margin-bottom: 30px;
            overflow-x: auto;
        }

        .table-wrapper {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            margin: 15px 0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            border-radius: 8px;
        }

        .table-wrapper table {
            min-width: 100%;
        }

        .section-title {
            font-size: 2em;
            color: #ffd700;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
            margin-bottom: 20px;
            text-align: center;
            text-transform: uppercase;
            border-bottom: 2px solid #d4af37;
            padding-bottom: 15px;
        }

        .category-header {
            background: linear-gradient(135deg, #2d5016 0%, #1a472a 100%);
            color: #ffd700;
            padding: 15px;
            font-size: 1.3em;
            font-weight: bold;
            text-align: center;
            border-radius: 8px;
            margin: 25px 0 10px 0;
            border: 2px solid #654321;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 8px;
            table-layout: auto;
        }

        thead, tbody {
            width: 100%;
        }

        thead {
            background: linear-gradient(135deg, #654321 0%, #4a3218 100%);
        }

        th {
            padding: 10px 6px;
            text-align: center;
            color: #ffd700;
            font-weight: bold;
            text-transform: uppercase;
            font-size: 0.7em;
            border-bottom: 2px solid #8b7355;
            line-height: 1.3;
            word-wrap: break-word;
            vertical-align: middle;
        }

        td {
            padding: 10px 6px;
            border-bottom: 1px solid rgba(139, 115, 85, 0.3);
            color: #f0e6d2;
            font-size: 0.8em;
            line-height: 1.4;
            text-align: center;
            vertical-align: middle;
        }

        td:first-child {
            text-align: left;
            font-weight: bold;
        }

        th:first-child {
            text-align: left;
        }

        .wide-table td:first-child {
            position: sticky;
            left: 0;
            background: rgba(101, 67, 33, 0.98);
            z-index: 10;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        }

        .wide-table th:first-child {
            position: sticky;
            left: 0;
            background: rgba(74, 50, 24, 0.98);
            z-index: 11;
            box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
        }

        .wide-table tbody tr:nth-child(even) td:first-child {
            background: rgba(90, 60, 30, 0.98);
        }

        .wide-table tbody tr:hover td:first-child {
            background: rgba(101, 67, 33, 1);
        }

        tbody tr {
            transition: background 0.3s;
        }

        tbody tr:nth-child(even) {
            background: rgba(0, 0, 0, 0.15);
        }

        tbody tr:hover {
            background: rgba(255, 215, 0, 0.1);
        }

        .best-time {
            background: rgba(255, 215, 0, 0.2);
            font-weight: bold;
        }

        .complete-row {
            background: rgba(255, 215, 0, 0.15);
        }

        .dnf {
            color: #ff6b6b;
            font-style: italic;
        }

        .rank-1 { color: #ffd700; font-weight: bold; }
        .rank-2 { color: #c0c0c0; font-weight: bold; }
        .rank-3 { color: #cd7f32; font-weight: bold; }

        .time-cell {
            font-family: 'Courier New', monospace;
            font-weight: bold;
            color: #90ee90;
        }

        .player-name {
            font-weight: bold;
            color: #ffd700;
        }

        .date-cell {
            color: #b8860b;
            font-size: 0.9em;
        }

        .loading {
            text-align: center;
            padding: 40px;
            color: #b8860b;
            font-size: 1.2em;
        }

        .error {
            background: rgba(139, 0, 0, 0.3);
            border: 2px solid #8b0000;
            color: #ffcccb;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            margin: 20px 0;
        }

        @media (max-width: 768px) {
            h1 { font-size: 2em; }
            .section { padding: 15px; }
            .category-header { font-size: 1.1em; padding: 12px; }
            th { font-size: 0.6em; padding: 8px 4px; }
            td { font-size: 0.7em; padding: 8px 4px; }
            .nav-link {
                position: static;
                transform: none;
                display: inline-block;
                margin-top: 15px;
            }
        }

        .best-possible-cell {
    background: rgba(212, 175, 55, 0.15);
    color: #ffd700 !important;
    font-weight: bold;
    font-style: italic;
}