.e1-results { max-width:100%; line-height:1.5; font-family:inherit; }
.e1-results section { margin:1.5rem 0; }
.e1-tabs, .e1-filters, .e1-champ-legend { display:flex; flex-wrap:wrap; align-items:end; gap:.75rem; margin:1rem 0; }
.e1-tab { padding:.55rem 1rem; border:1px solid #263529; border-radius:4px; text-decoration:none; }
.e1-tab.is-active { background:#263529; color:white; }
.e1-filters label { display:grid; gap:.3rem; font-weight:600; }
.e1-filters select { max-width:100%; min-height:2.5rem; padding:.35rem .65rem; border:1px solid #aaa; border-radius:4px; background:white; color:#222; }
.e1-scroll { overflow-x:auto; }
.e1-race-table, .e1-champ-table { width:100%; min-width:43rem; border-collapse:separate; border-spacing:0 .45rem; font-size:.92rem; color:#232822; }
.e1-scroll th { background:#303531; color:white; padding:.65rem; font-size:.83rem; text-align:left; }
.e1-scroll td { padding:.75rem .65rem; vertical-align:middle; background:#f0f2ef; }
.e1-scroll tbody > tr:nth-child(even) > td { background:#e6e9e5; }
.e1-race-position, .e1-champ-position { color:#286820; font-weight:800; font-size:1.35rem; white-space:nowrap; }
.e1-certificate-icon { display:inline-flex; margin-left:.4rem; vertical-align:middle; color:inherit; }
.e1-country-flag { width:1.8rem; height:auto; }
.e1-driver-photo { width:3.2rem; height:3.8rem; object-fit:cover; border-radius:3px; }
.e1-profile { border:0; background:transparent; padding:0; cursor:pointer; font:inherit; color:inherit; text-decoration:underline; text-underline-offset:.15em; }
.e1-driver-cell small, .e1-champ-person small, .e1-race-team { display:block; color:#4a514c; font-size:.85rem; margin-top:.25rem; }
.e1-race-note, .e1-champ-legend { font-size:.9rem; }
.e1-champ-score { font-weight:750; font-size:1.15rem; }
.e1-score-pair, .e1-race-points { display:flex; gap:3px; flex-wrap:wrap; }
.e1-score-pair { margin-bottom:.4rem; }
.e1-race-point, .e1-score-pair span { display:inline-grid; place-items:center; min-width:2em; padding:.2rem .3rem; font-size:.83rem; font-weight:650; background:#515953; color:white; }
.e1-race-point-empty { background:#cdd2ce; }
.e1-score-pair .e1-score-total { background:#286820; }
.e1-score-pair .e1-score-drop { background:#86352b; }
.e1-total summary { cursor:pointer; text-decoration:underline; font-weight:700; white-space:nowrap; }
.e1-results table.e1-splits { min-width:13rem; width:auto; border-collapse:collapse; margin:.6rem 0; }
.e1-results .e1-splits th, .e1-results .e1-splits td { font-size:.85rem; padding:.3rem .45rem; text-align:left; }
.e1-download-wrap { margin:1rem 0; text-align:right; }
.e1-profile-dialog { width:min(90vw,42rem); max-height:88vh; overflow:auto; background:#171c19; color:white; border:0; border-top:5px solid #4baf32; padding:1.5rem; }
.e1-profile-dialog::backdrop { background:#101512dd; }
.e1-profile-dialog h3 { color:inherit; margin:1rem 0 .25rem; }
.e1-profile-dialog img { max-width:100%; max-height:46vh; object-fit:contain; }
.e1-profile-dialog p { white-space:pre-line; }
.e1-profile-dialog button { display:block; margin-left:auto; padding:.4rem .8rem; cursor:pointer; }
@media(max-width:680px) {
    .e1-scroll td, .e1-scroll th { padding:.45rem; }
    .e1-race-table, .e1-champ-table { min-width:36rem; font-size:.85rem; }
    .e1-driver-photo { width:2.5rem; height:3rem; }
}
