#frdb-results-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 15px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#frdb-results-container h2 {
    font-size: 2.1rem;
    margin-bottom: 25px;
    color: #1e2937;
    font-weight: 700;
}

.fr-sort-links {
    text-align: right;
    margin-bottom: 25px;
}

.fr-sort-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #2563eb;
    font-weight: 500;
}

.fr-sort-links a:hover,
.fr-sort-links a.active {
    font-weight: bold;
    color: #1e40af;
}

/* Grid */
.fr-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: start;
}
.frdb-race-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 0;
    padding: 0;
}

.frdb-results-table {
    margin: 0;
    padding: 0;
}

.frdb-results-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
}

.frdb-results-table tr:last-child td {
    border-bottom: none;
}

.frdb-results-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Grid Lines */
.frdb-results-table.show-grid-lines th,
.frdb-results-table.show-grid-lines td {
    border: 1px solid #e2e8f0 !important;
}

.fr-course-break {
    grid-column: 1 / -1;
    height: 0;
    margin: 0;
    padding: 0;
    visibility: hidden;
}

/* Responsive */
@media (max-width: 1100px) {
    .fr-content {
        grid-template-columns: 1fr;
    }
}