.f1ms-score,
.f1ms-admin {
    --f1ms-red: #f42b3b;
    --f1ms-border: #dedede;
    --f1ms-text: #222;
    --f1ms-muted: #666;
    --f1ms-soft: #f7f7f7;
}

.f1ms-score {
    color: var(--f1ms-text);
    font-family: inherit;
    margin: 0 0 32px;
}

.f1ms-page {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 18px;
}

.f1ms-header {
    border-left: 6px solid var(--f1ms-red);
    margin: 0 0 18px;
    padding-left: 14px;
}

.f1ms-title {
    color: var(--f1ms-text);
    font-family: inherit;
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
}

.f1ms-intro {
    color: var(--f1ms-muted);
    font-size: 18px;
    line-height: 1.45;
    margin: 0 0 24px !important;
    max-width: 860px;
}

.f1ms-nav {
    background: #fff;
    border: 1px solid var(--f1ms-border);
    border-left: 6px solid var(--f1ms-red);
    border-radius: 6px;
    margin: 0 0 24px;
    padding: 14px 18px;
}

.f1ms-nav-primary,
.f1ms-nav-races,
.f1ms-nav-years {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.f1ms-nav-primary {
    margin-bottom: 10px;
}

.f1ms-nav-primary:last-child {
    margin-bottom: 0;
}

.f1ms-nav a {
    border: 1px solid #e4e4e4;
    color: var(--f1ms-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    padding: 8px 10px;
    text-decoration: none;
}

.f1ms-nav a:hover,
.f1ms-nav-race.is-active {
    border-color: var(--f1ms-red);
    color: var(--f1ms-red);
}

.f1ms-nav-live {
    background: var(--f1ms-red);
    border-color: var(--f1ms-red) !important;
    color: #fff !important;
}

.f1ms-nav-live span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    opacity: .9;
    text-transform: uppercase;
}

.f1ms-nav-races strong,
.f1ms-nav-years strong {
    color: var(--f1ms-muted);
    font-size: 12px;
    margin-right: 4px;
    text-transform: uppercase;
}

.f1ms-nav-years {
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 10px;
}

.f1ms-nav-races {
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 10px;
}

.f1ms-nav-race,
.f1ms-nav-year {
    background: #f8f8f8;
}

.f1ms-nav-year.is-active {
    background: var(--f1ms-red);
    border-color: var(--f1ms-red);
    color: #fff;
}

.f1ms-card {
    background: #fff;
    border: 1px solid var(--f1ms-border);
    border-radius: 6px;
    box-sizing: border-box;
    margin: 0 0 24px;
    padding: 22px 30px;
}

.f1ms-card h2 {
    align-items: center;
    color: var(--f1ms-text);
    display: flex;
    font-family: inherit;
    font-size: 25px;
    font-weight: 800;
    gap: 14px;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0 0 16px;
}

.f1ms-card h2::before {
    background: var(--f1ms-red);
    content: "";
    display: inline-block;
    flex: 0 0 auto;
    height: 36px;
    width: 6px;
}

.f1ms-ranking {
    counter-reset: f1ms-rank;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.f1ms-ranking li {
    align-items: center;
    border-bottom: 1px solid #ececec;
    display: grid;
    gap: 12px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-height: 44px;
    padding: 8px 0;
}

.f1ms-ranking li::marker,
.f1ms-link-list li::marker {
    content: "";
    font-size: 0;
}

.f1ms-ranking li:last-child {
    border-bottom: 0;
}

.f1ms-position {
    color: var(--f1ms-red);
    font-size: 20px;
    font-weight: 800;
}

.f1ms-name {
    color: var(--f1ms-text);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    min-width: 0;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.f1ms-name:hover {
    color: var(--f1ms-red);
}

.f1ms-score-value {
    color: var(--f1ms-text);
    font-size: 20px;
    font-variant-numeric: tabular-nums;
    min-width: 48px;
    text-align: right;
}

.f1ms-link-list {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.f1ms-link-list li {
    border-bottom: 1px solid #ececec;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    padding: 10px 0;
}

.f1ms-link-list li:last-child {
    border-bottom: 0;
}

.f1ms-link-list a {
    color: var(--f1ms-text);
    text-decoration: none;
}

.f1ms-link-list a:hover {
    color: var(--f1ms-red);
}

.f1ms-hub-card {
    max-width: 760px;
}

.f1ms-season-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.f1ms-season-tile {
    background: #f7f7f7;
    border: 1px solid #e1e1e1;
    border-left: 6px solid var(--f1ms-red);
    color: var(--f1ms-text);
    display: block;
    padding: 18px 20px;
    text-decoration: none;
}

.f1ms-season-tile span {
    color: var(--f1ms-muted);
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.f1ms-season-tile strong {
    display: block;
    font-size: 34px;
    line-height: 1;
}

.f1ms-season-tile:hover {
    background: #fff;
    color: var(--f1ms-red);
}

.f1ms-breadcrumbs {
    color: var(--f1ms-muted);
    font-size: 14px;
    margin: 0 0 18px;
}

.f1ms-breadcrumbs a {
    color: var(--f1ms-muted);
    text-decoration: none;
}

.f1ms-breadcrumbs a:hover {
    color: var(--f1ms-red);
}

.f1ms-separator {
    display: inline-block;
    margin: 0 8px;
}

.f1ms-empty {
    color: var(--f1ms-muted);
    margin: 0;
}

.f1ms-methodology {
    background: #f7f7f7;
    border-left: 6px solid var(--f1ms-red);
    color: var(--f1ms-text);
    margin: 0 0 26px;
    max-width: 980px;
    padding: 18px 22px;
}

.f1ms-methodology h2 {
    color: var(--f1ms-text);
    font-family: inherit;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 10px;
}

.f1ms-methodology p {
    color: var(--f1ms-muted);
    font-size: 16px;
    line-height: 1.45;
    margin: 0 0 10px;
}

.f1ms-methodology p:last-child {
    margin-bottom: 0;
}

.f1ms-driver-hero {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: 132px minmax(0, 1fr);
    margin: 0 0 28px;
    max-width: 980px;
}

.f1ms-driver-photo {
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    height: 132px;
    object-fit: cover;
    width: 132px;
}

.f1ms-driver-summary p {
    color: var(--f1ms-muted);
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 14px;
}

.f1ms-driver-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.f1ms-driver-facts span {
    background: #f7f7f7;
    border-left: 4px solid var(--f1ms-red);
    color: var(--f1ms-muted);
    display: inline-flex;
    gap: 6px;
    padding: 8px 10px;
}

.f1ms-driver-facts strong {
    color: var(--f1ms-text);
}

.f1ms-driver-facts a {
    color: var(--f1ms-text);
    text-decoration: none;
}

.f1ms-driver-facts a:hover {
    color: var(--f1ms-red);
}

.f1ms-driver-races {
    display: block;
}

.f1ms-driver-races-head,
.f1ms-driver-race-row {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) 90px 90px;
}

.f1ms-driver-races-head-detail,
.f1ms-driver-race-row-detail {
    grid-template-columns: minmax(240px, 1.25fr) 56px 76px minmax(320px, 1fr);
}

.f1ms-team-races {
    display: block;
}

.f1ms-team-races-head,
.f1ms-team-race-row {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(220px, 1fr) 70px minmax(260px, 1.1fr) 90px;
}

.f1ms-team-races-head-detail,
.f1ms-team-race-row-detail {
    grid-template-columns: minmax(220px, 1fr) 54px minmax(300px, 1.25fr) 76px minmax(320px, 1fr);
}

.f1ms-team-races-head {
    color: var(--f1ms-muted);
    font-size: 14px;
    font-weight: 800;
    padding: 0 0 8px;
    text-transform: uppercase;
}

.f1ms-team-race-row {
    border-top: 1px solid #ececec;
    min-height: 56px;
}

.f1ms-team-race-row a {
    color: var(--f1ms-text);
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.f1ms-team-race-row a:hover {
    color: var(--f1ms-red);
}

.f1ms-team-race-row span,
.f1ms-team-race-row strong {
    color: var(--f1ms-text);
    font-size: 18px;
}

.f1ms-team-race-row > span a {
    color: var(--f1ms-text);
    text-decoration: none;
}

.f1ms-team-race-row > span a:hover {
    color: var(--f1ms-red);
}

.f1ms-team-race-row span:first-of-type,
.f1ms-team-race-row strong {
    text-align: right;
}

.f1ms-component-chips {
    align-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.f1ms-component-chips span {
    background: #f7f7f7;
    border: 1px solid #e1e1e1;
    color: var(--f1ms-muted);
    font-size: 11px;
    line-height: 1.15;
    padding: 3px 5px;
}

.f1ms-component-chips b {
    color: var(--f1ms-text);
}

.f1ms-driver-races-head {
    color: var(--f1ms-muted);
    font-size: 14px;
    font-weight: 800;
    padding: 0 0 8px;
    text-transform: uppercase;
}

.f1ms-driver-race-row {
    border-top: 1px solid #ececec;
    min-height: 52px;
}

.f1ms-driver-race-row a {
    color: var(--f1ms-text);
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.f1ms-driver-race-row a:hover {
    color: var(--f1ms-red);
}

.f1ms-driver-race-row span,
.f1ms-driver-race-row strong {
    color: var(--f1ms-text);
    font-size: 20px;
    text-align: right;
}

.f1ms-driver-race-row .f1ms-component-chips span,
.f1ms-team-race-row .f1ms-component-chips span {
    color: var(--f1ms-muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.15;
    text-align: left;
}

.f1ms-grid-two {
    display: grid;
    gap: 28px;
}

.f1ms-standings {
    background: #fff;
    border-radius: 6px;
    margin: 0 0 28px;
    overflow: hidden;
}

.f1ms-standings-table {
    border-radius: 6px;
    overflow: hidden;
}

.f1ms-standings h2 {
    border-left: 6px solid var(--f1ms-red);
    color: var(--f1ms-text);
    font-family: inherit;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0 0 18px;
    padding-left: 14px;
}

.f1ms-standings-head {
    background: #ea3444;
    border-radius: 6px 6px 0 0;
    color: #fff;
    display: grid;
    font-size: 22px;
    font-weight: 800;
    gap: 20px;
    grid-template-columns: 72px minmax(320px, 1.6fr) minmax(180px, .9fr) 100px;
    letter-spacing: 0;
    padding: 18px 34px;
    text-transform: uppercase;
}

.f1ms-standings-head span:last-child {
    text-align: right;
}

.f1ms-standings-body {
    display: block !important;
    list-style: none !important;
    margin: 0;
    padding: 0 !important;
}

.f1ms-standings-row,
.f1ms-standings-body > li {
    align-items: center;
    border-bottom: 1px solid #cfcfcf;
    box-sizing: border-box;
    display: grid !important;
    gap: 16px;
    grid-template-columns: 72px minmax(320px, 1.6fr) minmax(180px, .9fr) 100px;
    height: 70px;
    min-height: 0;
    padding: 7px 34px;
}

.f1ms-standings-row:nth-child(even),
.f1ms-standings-body > li:nth-child(even) {
    background: #f7f7f7;
}

.f1ms-standings-body > li::marker {
    content: "" !important;
    font-size: 0 !important;
}

.f1ms-standings-pos {
    color: var(--f1ms-red);
    font-size: 20px;
    font-weight: 800;
    grid-column: 1;
    grid-row: 1;
}

.f1ms-standings-driver {
    align-items: center;
    display: flex;
    gap: 12px;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.f1ms-standings-driver img {
    border: 1px solid #ccc;
    border-radius: 6px;
    flex: 0 0 auto;
    height: 50px;
    object-fit: cover;
    width: 50px;
}

.f1ms-standings-driver a,
.f1ms-standings-driver strong {
    color: var(--f1ms-text);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.f1ms-standings-driver a:hover {
    color: var(--f1ms-red);
}

.f1ms-standings-team {
    color: var(--f1ms-text);
    font-size: 20px;
    grid-column: 3;
    grid-row: 1;
}

.f1ms-standings-team a {
    color: var(--f1ms-text);
    text-decoration: none;
}

.f1ms-standings-team a:hover {
    color: var(--f1ms-red);
}

.f1ms-standings-score {
    color: #111;
    font-size: 20px;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    grid-column: 4;
    grid-row: 1;
    text-align: right;
}

.f1ms-team-head,
.f1ms-team-row {
    grid-template-columns: 72px minmax(260px, 1.2fr) minmax(260px, 1fr) 100px;
}

.f1ms-team-name {
    color: var(--f1ms-text);
    font-size: 22px;
    font-weight: 800;
    grid-column: 2;
    grid-row: 1;
    line-height: 1.15;
}

.f1ms-team-name a {
    color: var(--f1ms-text);
    text-decoration: none;
}

.f1ms-team-name a:hover {
    color: var(--f1ms-red);
}

.f1ms-team-drivers {
    color: var(--f1ms-muted);
    font-size: 16px;
    grid-column: 3;
    grid-row: 1;
    line-height: 1.25;
}

.f1ms-team-drivers a {
    color: var(--f1ms-muted);
    text-decoration: none;
}

.f1ms-team-drivers a:hover {
    color: var(--f1ms-red);
}

.f1ms-voting {
    margin-top: 8px;
}

.f1ms-vote-summary,
.f1ms-vote-help,
.f1ms-vote-message {
    color: var(--f1ms-muted);
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 12px;
}

.f1ms-vote-message[data-state="success"] {
    color: #147a35;
}

.f1ms-vote-message[data-state="error"] {
    color: var(--f1ms-red);
}

.f1ms-vote-grid {
    border-top: 1px solid #ececec;
    margin: 16px 0 18px;
}

.f1ms-vote-head,
.f1ms-vote-row {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) 150px 80px;
}

.f1ms-vote-head {
    color: var(--f1ms-muted);
    font-size: 13px;
    font-weight: 800;
    padding: 9px 0;
    text-transform: uppercase;
}

.f1ms-vote-row {
    border-top: 1px solid #ececec;
    min-height: 42px;
    padding: 8px 0;
}

.f1ms-vote-driver {
    color: var(--f1ms-text);
    font-size: 16px;
    font-weight: 800;
}

.f1ms-vote-row span,
.f1ms-vote-row strong {
    font-size: 16px;
    line-height: 1.15;
    text-align: right;
}

.f1ms-vote-row [data-f1ms-community-score] {
    white-space: nowrap;
}

.f1ms-vote-row .f1ms-vote-driver {
    text-align: left;
}

.f1ms-vote-slider {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-column: 1 / -1;
    grid-template-columns: 76px minmax(160px, 1fr) 34px;
    margin-top: 6px;
}

.f1ms-vote-slider span {
    color: var(--f1ms-muted);
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
}

.f1ms-vote-slider input {
    width: 100%;
}

.f1ms-vote-slider b {
    color: var(--f1ms-red);
    font-size: 18px;
    text-align: right;
}

.f1ms-vote-submit {
    align-self: start;
    background: var(--f1ms-red);
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    padding: 10px 16px;
}

.f1ms-vote-submit:disabled {
    cursor: wait;
    opacity: .65;
}

.f1ms-admin .f1ms-admin-card {
    margin-top: 20px;
    max-width: 1280px;
}

.f1ms-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.f1ms-admin-actions form {
    margin: 0;
}

.f1ms-components {
    color: #555;
    font-size: 12px;
    max-width: 360px;
}

.f1ms-maintenance-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.f1ms-maintenance-grid form {
    background: #fff;
    border: 1px solid #dcdcde;
    border-left: 4px solid #d63638;
    padding: 18px;
}

.f1ms-maintenance-grid h3 {
    margin-top: 0;
}

@media (max-width: 700px) {
    .f1ms-page {
        padding: 0 12px;
    }

    .f1ms-card {
        padding: 18px 20px;
    }

    .f1ms-card h2 {
        font-size: 22px;
    }

    .f1ms-ranking li {
        grid-template-columns: 34px minmax(0, 1fr) 46px;
    }

    .f1ms-position,
    .f1ms-name,
    .f1ms-score-value {
        font-size: 17px;
    }

    .f1ms-standings-head {
        display: none;
    }

    .f1ms-standings-row,
    .f1ms-standings-body > li {
        gap: 12px;
        grid-template-columns: 34px minmax(0, 1fr) 54px;
        height: 64px;
        min-height: 0;
        padding: 8px 0;
    }

    .f1ms-standings-driver {
        gap: 10px;
    }

    .f1ms-standings-driver img {
        height: 44px;
        width: 44px;
    }

    .f1ms-standings-driver a,
    .f1ms-standings-driver strong,
    .f1ms-standings-team,
    .f1ms-standings-score,
    .f1ms-standings-pos {
        font-size: 17px;
    }

    .f1ms-standings-team {
        display: none;
    }

    .f1ms-team-head {
        display: none;
    }

    .f1ms-team-row {
        grid-template-columns: 34px minmax(0, 1fr) 54px;
    }

    .f1ms-team-name {
        font-size: 18px;
        grid-column: 2;
    }

    .f1ms-team-drivers {
        display: none;
    }

    .f1ms-standings-driver {
        grid-column: 2;
    }

    .f1ms-standings-score {
        grid-column: 3;
    }

    .f1ms-maintenance-grid {
        grid-template-columns: 1fr;
    }

    .f1ms-driver-hero {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .f1ms-driver-photo {
        height: 74px;
        width: 74px;
    }

    .f1ms-driver-summary p,
    .f1ms-driver-race-row a,
    .f1ms-driver-race-row span,
    .f1ms-driver-race-row strong {
        font-size: 17px;
    }

    .f1ms-driver-races-head,
    .f1ms-driver-race-row {
        grid-template-columns: minmax(0, 1fr) 56px 64px;
    }

    .f1ms-driver-races-head-detail {
        display: none;
    }

    .f1ms-driver-race-row-detail {
        gap: 6px 10px;
        grid-template-columns: minmax(0, 1fr) 46px 56px;
        padding: 10px 0;
    }

    .f1ms-driver-race-row-detail .f1ms-component-chips {
        grid-column: 1 / -1;
    }

    .f1ms-team-races-head {
        display: none;
    }

    .f1ms-team-race-row {
        align-items: start;
        gap: 4px 10px;
        grid-template-columns: minmax(0, 1fr) 52px;
        min-height: auto;
        padding: 10px 0;
    }

    .f1ms-team-race-row-detail .f1ms-component-chips {
        grid-column: 1 / -1;
    }

    .f1ms-team-race-row a {
        font-size: 17px;
        grid-column: 1;
    }

    .f1ms-team-race-row > span:first-of-type {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
    }

    .f1ms-team-race-row > span:nth-of-type(2) {
        color: var(--f1ms-muted);
        font-size: 14px;
        grid-column: 1 / -1;
    }

    .f1ms-team-race-row strong {
        font-size: 17px;
        grid-column: 2;
        grid-row: 2;
        text-align: right;
    }

    .f1ms-driver-race-row .f1ms-component-chips span,
    .f1ms-team-race-row .f1ms-component-chips span {
        font-size: 10.5px;
        padding: 2px 4px;
    }

    .f1ms-vote-head {
        display: none;
    }

    .f1ms-vote-row {
        grid-template-columns: minmax(0, 1fr) 58px 58px;
    }

    .f1ms-vote-driver,
    .f1ms-vote-row span,
    .f1ms-vote-row strong {
        font-size: 14px;
    }

    .f1ms-vote-slider {
        gap: 6px;
        grid-template-columns: minmax(0, 1fr) 38px;
    }

    .f1ms-vote-slider input {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .f1ms-vote-slider b {
        grid-column: 2;
        grid-row: 1;
    }
}

html[data-f1-theme="dark"] .f1ms-score {
    --f1ms-border: var(--f1-border, #3a3a3d);
    --f1ms-text: var(--f1-text, #f1f3f5);
    --f1ms-muted: var(--f1-muted, #c4c4c7);
    --f1ms-soft: var(--f1-surface, #090b0f);
    color: var(--f1ms-text);
}

html[data-f1-theme="dark"] .f1ms-title,
html[data-f1-theme="dark"] .f1ms-card h2,
html[data-f1-theme="dark"] .f1ms-methodology h2,
html[data-f1-theme="dark"] .f1ms-name,
html[data-f1-theme="dark"] .f1ms-score-value,
html[data-f1-theme="dark"] .f1ms-link-list a,
html[data-f1-theme="dark"] .f1ms-season-tile,
html[data-f1-theme="dark"] .f1ms-driver-facts strong,
html[data-f1-theme="dark"] .f1ms-driver-facts a,
html[data-f1-theme="dark"] .f1ms-team-race-row a,
html[data-f1-theme="dark"] .f1ms-team-race-row span,
html[data-f1-theme="dark"] .f1ms-team-race-row strong,
html[data-f1-theme="dark"] .f1ms-driver-race-row a,
html[data-f1-theme="dark"] .f1ms-driver-race-row span,
html[data-f1-theme="dark"] .f1ms-driver-race-row strong,
html[data-f1-theme="dark"] .f1ms-standings h2,
html[data-f1-theme="dark"] .f1ms-standings-driver a,
html[data-f1-theme="dark"] .f1ms-standings-driver strong,
html[data-f1-theme="dark"] .f1ms-standings-team,
html[data-f1-theme="dark"] .f1ms-standings-team a,
html[data-f1-theme="dark"] .f1ms-standings-score,
html[data-f1-theme="dark"] .f1ms-team-name,
html[data-f1-theme="dark"] .f1ms-team-name a {
    color: var(--f1ms-text);
}

html[data-f1-theme="dark"] .f1ms-intro,
html[data-f1-theme="dark"] .f1ms-nav-races strong,
html[data-f1-theme="dark"] .f1ms-nav-years strong,
html[data-f1-theme="dark"] .f1ms-breadcrumbs,
html[data-f1-theme="dark"] .f1ms-breadcrumbs a,
html[data-f1-theme="dark"] .f1ms-empty,
html[data-f1-theme="dark"] .f1ms-methodology p,
html[data-f1-theme="dark"] .f1ms-driver-summary p,
html[data-f1-theme="dark"] .f1ms-driver-facts span,
html[data-f1-theme="dark"] .f1ms-team-races-head,
html[data-f1-theme="dark"] .f1ms-component-chips span,
html[data-f1-theme="dark"] .f1ms-driver-races-head,
html[data-f1-theme="dark"] .f1ms-team-drivers,
html[data-f1-theme="dark"] .f1ms-team-drivers a,
html[data-f1-theme="dark"] .f1ms-vote-summary,
html[data-f1-theme="dark"] .f1ms-vote-help,
html[data-f1-theme="dark"] .f1ms-vote-message,
html[data-f1-theme="dark"] .f1ms-vote-head {
    color: var(--f1ms-muted);
}

html[data-f1-theme="dark"] .f1ms-nav,
html[data-f1-theme="dark"] .f1ms-card,
html[data-f1-theme="dark"] .f1ms-methodology,
html[data-f1-theme="dark"] .f1ms-standings {
    background: var(--f1-surface, #090b0f);
    border-color: var(--f1ms-border);
}

html[data-f1-theme="dark"] .f1ms-nav a,
html[data-f1-theme="dark"] .f1ms-nav-race,
html[data-f1-theme="dark"] .f1ms-nav-year,
html[data-f1-theme="dark"] .f1ms-season-tile,
html[data-f1-theme="dark"] .f1ms-driver-facts span,
html[data-f1-theme="dark"] .f1ms-component-chips span {
    background: var(--f1ms-soft);
    border-color: var(--f1ms-border);
}

html[data-f1-theme="dark"] .f1ms-nav-years,
html[data-f1-theme="dark"] .f1ms-nav-races,
html[data-f1-theme="dark"] .f1ms-ranking li,
html[data-f1-theme="dark"] .f1ms-link-list li,
html[data-f1-theme="dark"] .f1ms-team-race-row,
html[data-f1-theme="dark"] .f1ms-driver-race-row,
html[data-f1-theme="dark"] .f1ms-standings-row,
html[data-f1-theme="dark"] .f1ms-standings-body > li,
html[data-f1-theme="dark"] .f1ms-vote-grid,
html[data-f1-theme="dark"] .f1ms-vote-row {
    border-color: var(--f1ms-border);
}

html[data-f1-theme="dark"] .f1ms-standings-row:nth-child(even),
html[data-f1-theme="dark"] .f1ms-standings-body > li:nth-child(even) {
    background: rgba(255, 255, 255, 0.035);
}

html[data-f1-theme="dark"] .f1ms-season-tile:hover,
html[data-f1-theme="dark"] .f1ms-nav a:hover,
html[data-f1-theme="dark"] .f1ms-nav-race.is-active {
    background: rgba(244, 43, 59, 0.14);
}
