/* Compiègne Endurance landing page - isolated production layout. */
html[data-theme="light"] body.compiegne-showcase-page,
body.compiegne-showcase-page {
    margin: 0 !important;
    background: #fff !important;
    color: #171717 !important;
    overflow-x: hidden;
}
body.compiegne-showcase-page .site-rail,
body.compiegne-showcase-page .mobile-header,
body.compiegne-showcase-page .site-footer,
body.compiegne-showcase-page .back-to-top { display: none !important; }
body.compiegne-showcase-page .site-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
}
body.compiegne-showcase-page .cex-page {
    width: 100%;
    background: #fff;
    color: #171717;
}
body.compiegne-showcase-page .cex-hero {
    position: relative;
    isolation: isolate;
    min-height: 860px;
    padding: 62px 0 36px;
    overflow: hidden;
    background: #fff;
}
body.compiegne-showcase-page .cex-hero-flag {
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 670px;
    background: url('../images/events/compiegne-layout/french-flag.webp') center top / cover no-repeat;
}
body.compiegne-showcase-page .cex-hero-flag::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.02) 68%, #fff 100%);
}
body.compiegne-showcase-page .cex-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 535px) minmax(0, 515px);
    gap: 58px;
    align-items: start;
    width: min(calc(100% - 56px), 1110px);
    margin: 0 auto;
}
body.compiegne-showcase-page .cex-poster {
    margin: 0;
    padding: 0;
}
body.compiegne-showcase-page .cex-poster a,
body.compiegne-showcase-page .cex-poster img {
    display: block;
    width: 100%;
}
body.compiegne-showcase-page .cex-poster img {
    height: auto;
    background: #fff;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.08));
}
body.compiegne-showcase-page .cex-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding-top: 2px;
}
body.compiegne-showcase-page .cex-hero-content h1 {
    width: 410px;
    max-width: calc(100% - 54px);
    margin: 0 0 28px 54px;
    color: #272727 !important;
    font-family: "Cairo", Arial, sans-serif;
    font-size: 39px;
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.09;
    text-transform: none;
}
body.compiegne-showcase-page .cex-video-card {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(8,28,41,.35);
    border-radius: 14px;
    background: #07141e;
    box-shadow: 0 16px 36px rgba(11,30,42,.22);
}
body.compiegne-showcase-page .cex-video-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 35px;
    padding: 8px 12px;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .035em;
    text-transform: uppercase;
}
body.compiegne-showcase-page .cex-video-head span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
body.compiegne-showcase-page .cex-video-head small {
    color: rgba(255,255,255,.62);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}
body.compiegne-showcase-page .cex-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}
body.compiegne-showcase-page .cex-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
body.compiegne-showcase-page .cex-results-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    margin-top: 14px;
    padding: 0 17px;
    border: 0;
    background: #a8792c;
    color: #fff !important;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .025em;
    text-transform: uppercase;
    transition: background .2s ease, transform .2s ease;
}
body.compiegne-showcase-page .cex-results-button:hover,
body.compiegne-showcase-page .cex-results-button:focus-visible {
    background: #805817;
    transform: translateY(-1px);
}
body.compiegne-showcase-page .cex-title-lockup {
    width: min(calc(100% - 48px), 410px);
    margin: -18px auto 26px;
}
body.compiegne-showcase-page .cex-title-lockup img {
    display: block;
    width: 100%;
    height: auto;
}
body.compiegne-showcase-page .cex-hub {
    width: min(calc(100% - 40px), 990px);
    margin: 0 auto;
    padding: 0;
}
body.compiegne-showcase-page .cex-hub-brand {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    align-items: center;
    gap: 18px;
    min-height: 76px;
    margin-bottom: 10px;
}
body.compiegne-showcase-page .cex-hub-brand > img {
    display: block;
    width: 105px;
    max-height: 72px;
    margin: auto;
    object-fit: contain;
}
body.compiegne-showcase-page .cex-hub-mark,
body.compiegne-showcase-page .cex-hub-language {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #ad7b27;
    font-size: 19px;
    font-weight: 900;
}
body.compiegne-showcase-page .cex-hub-language {
    justify-self: end;
    border: 3px solid #e3e7e9;
    border-radius: 50%;
    background: #fff;
    font-size: 19px;
    box-shadow: 0 3px 9px rgba(0,0,0,.05);
}
body.compiegne-showcase-page .cex-disciplines {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
body.compiegne-showcase-page .cex-disciplines > * {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 100px;
    padding: 16px 18px;
    border: 1px solid #e2e4e5;
    border-radius: 15px;
    background: #fff;
    color: #192a35;
    text-align: left;
    box-shadow: 0 5px 14px rgba(27,38,46,.08);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.compiegne-showcase-page .cex-disciplines > *:hover,
body.compiegne-showcase-page .cex-disciplines > *:focus-visible {
    transform: translateY(-2px);
    border-color: #c69d4e;
    box-shadow: 0 10px 23px rgba(27,38,46,.12);
}
body.compiegne-showcase-page .cex-disciplines > .is-active {
    border-color: #b88732;
    background: linear-gradient(135deg, #ac7928 0%, #dfbd62 100%);
    color: #fff;
}
body.compiegne-showcase-page .cex-discipline-image {
    display: block;
    width: 66px;
    height: 46px;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
}
body.compiegne-showcase-page .cex-discipline-image-blank {
    border: 0;
    background: #fff;
}
body.compiegne-showcase-page .cex-discipline-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.compiegne-showcase-page .cex-discipline-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}
body.compiegne-showcase-page .cex-discipline-copy strong {
    color: inherit;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.15;
}
body.compiegne-showcase-page .cex-discipline-copy small {
    color: #8d959b;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.2;
}
body.compiegne-showcase-page .cex-disciplines > .is-active small { color: rgba(255,255,255,.82); }
body.compiegne-showcase-page .cex-media {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
}
body.compiegne-showcase-page .cex-media a {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    min-height: 55px;
    padding: 7px 4px;
    border: 1px solid #e2e4e5;
    border-radius: 12px;
    background: #fff;
    color: #151f26;
    box-shadow: 0 4px 12px rgba(27,38,46,.06);
}
body.compiegne-showcase-page .cex-media strong {
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}
body.compiegne-showcase-page .cex-media small {
    color: #4e565b;
    font-size: 7px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}
body.compiegne-showcase-page .cex-countries {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    margin-top: 10px;
    padding-bottom: 2px;
}
body.compiegne-showcase-page .cex-countries button {
    flex: 0 0 auto;
    min-height: 33px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: #eef0f1;
    color: #20272b;
    font-size: 10px;
    font-weight: 900;
}
body.compiegne-showcase-page .cex-countries button.is-active {
    background: #e2b84e;
    color: #fff;
}
body.compiegne-showcase-page .compiegne-results-section {
    padding: 30px 0 0 !important;
    background: #fff !important;
}
body.compiegne-showcase-page .compiegne-results-section > .container-fluid {
    width: min(calc(100% - 40px), 900px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing {
    width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .compiegne-events-list { padding: 0 !important; }
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .compiegne-events-list > .eiev-app-section-heading { display: none !important; }
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-list {
    display: grid !important;
    gap: 8px !important;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-card {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 118px minmax(0,1fr) 112px !important;
    min-height: 122px !important;
    overflow: visible !important;
    border: 0 !important;
    border-bottom: 1px solid #dfe3e5 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #171717 !important;
    box-shadow: none !important;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 12px;
    border: 4px solid #17628c;
    border-right: 0;
    border-radius: 18px 0 0 18px;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-card:hover,
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-card:focus-visible {
    transform: none !important;
    color: #171717 !important;
    background: #fbfcfc !important;
    box-shadow: none !important;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-ride-count {
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    gap: 7px !important;
    margin-left: 12px !important;
    padding: 14px 13px !important;
    border-right: 1px dashed #a6abb0 !important;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-ride-count strong {
    color: #111 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-ride-count span {
    min-width: 58px !important;
    padding: 5px 9px !important;
    border: 2px solid #e0b953 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #b4862e !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-copy {
    display: grid !important;
    align-content: center !important;
    min-width: 0 !important;
    padding: 14px 18px !important;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-copy > span {
    color: #9a9a9a !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-copy h3 {
    margin: 4px 0 5px !important;
    color: #111 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-copy small {
    color: #969696 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-open {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
    padding: 14px 8px 14px 12px !important;
    color: #13bd56 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-open b {
    color: #d5a83e !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}
body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-bottom-nav { display: none !important; }
body.compiegne-showcase-page .cex-sponsor-footer {
    width: min(calc(100% - 32px), 1175px);
    margin: 66px auto 34px;
    overflow: hidden;
    background: #fff;
}
body.compiegne-showcase-page .cex-sponsor-footer img {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 1024px) {
    body.compiegne-showcase-page .cex-hero { min-height: auto; padding: 42px 0 34px; }
    body.compiegne-showcase-page .cex-hero-flag { height: 590px; }
    body.compiegne-showcase-page .cex-hero-inner {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
        gap: 34px;
        width: min(calc(100% - 36px), 930px);
    }
    body.compiegne-showcase-page .cex-hero-content h1 {
        width: 100%;
        max-width: none;
        margin-left: 0;
        font-size: clamp(28px, 4vw, 38px);
    }
    body.compiegne-showcase-page .cex-title-lockup { margin-top: 20px; }
}
@media (max-width: 767.98px) {
    body.compiegne-showcase-page .cex-hero { padding: 22px 0 28px; }
    body.compiegne-showcase-page .cex-hero-flag { height: 360px; background-position: center top; }
    body.compiegne-showcase-page .cex-hero-inner {
        grid-template-columns: 1fr;
        gap: 22px;
        width: min(calc(100% - 24px), 560px);
    }
    body.compiegne-showcase-page .cex-poster { width: min(100%, 420px); margin: 0 auto; }
    body.compiegne-showcase-page .cex-hero-content { align-items: stretch; }
    body.compiegne-showcase-page .cex-hero-content h1 {
        width: 100%;
        max-width: none;
        margin: 0 0 20px;
        padding: 18px;
        border-radius: 14px;
        background: rgba(255,255,255,.94);
        font-size: clamp(24px, 7vw, 32px);
        box-shadow: 0 10px 30px rgba(0,0,0,.09);
    }
    body.compiegne-showcase-page .cex-results-button { align-self: flex-start; }
    body.compiegne-showcase-page .cex-title-lockup { width: min(calc(100% - 44px), 390px); margin: 16px auto 22px; }
    body.compiegne-showcase-page .cex-hub { width: calc(100% - 24px); }
    body.compiegne-showcase-page .cex-hub-brand { grid-template-columns: 42px 1fr 42px; min-height: 62px; }
    body.compiegne-showcase-page .cex-hub-brand > img { width: 84px; max-height: 60px; }
    body.compiegne-showcase-page .cex-hub-mark,
    body.compiegne-showcase-page .cex-hub-language { width: 39px; height: 39px; font-size: 16px; }
    body.compiegne-showcase-page .cex-disciplines { gap: 7px; }
    body.compiegne-showcase-page .cex-disciplines > * {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 7px;
        min-height: 126px;
        padding: 11px 6px;
        text-align: center;
    }
    body.compiegne-showcase-page .cex-discipline-image { width: 58px; height: 40px; }
    body.compiegne-showcase-page .cex-discipline-copy strong { font-size: 11px; }
    body.compiegne-showcase-page .cex-discipline-copy small { font-size: 7px; }
    body.compiegne-showcase-page .cex-media { gap: 5px; }
    body.compiegne-showcase-page .cex-media a { min-height: 50px; }
    body.compiegne-showcase-page .cex-media small { display: none; }
    body.compiegne-showcase-page .compiegne-results-section > .container-fluid { width: calc(100% - 24px) !important; }
    body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-card {
        grid-template-columns: 82px minmax(0,1fr) 65px !important;
        min-height: 112px !important;
    }
    body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-ride-count {
        margin-left: 9px !important;
        padding: 10px 8px !important;
    }
    body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-ride-count strong { font-size: 19px !important; }
    body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-ride-count span { min-width: 50px !important; padding: 4px 6px !important; font-size: 9px !important; }
    body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-copy { padding: 11px 10px !important; }
    body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-copy > span { font-size: 10px !important; }
    body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-copy h3 { font-size: 16px !important; }
    body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-copy small { font-size: 9px !important; }
    body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-open { gap: 5px !important; padding: 8px 4px !important; font-size: 9px !important; }
    body.compiegne-showcase-page .eiev-results-app.is-compiegne-landing .eiev-app-event-open b { font-size: 23px !important; }
    body.compiegne-showcase-page .cex-sponsor-footer { width: calc(100% - 16px); margin: 42px auto 22px; overflow-x: auto; }
    body.compiegne-showcase-page .cex-sponsor-footer img { width: 900px; max-width: none; }
}

/* Unified light results workspace for every state opened inside Live Event. */
html[data-theme="dark"] body.compiegne-showcase-page,
html[data-theme="light"] body.compiegne-showcase-page,
body.compiegne-showcase-page {
    background: #fff !important;
    color: #171717 !important;
}
body.compiegne-showcase-page .compiegne-results-section {
    position: relative;
    padding: 46px 0 54px !important;
    background: linear-gradient(180deg, #fff 0%, #fbf7ef 100%) !important;
}
body.compiegne-showcase-page .compiegne-results-section > .container-fluid {
    width: min(calc(100% - 40px), 1180px) !important;
}
body.compiegne-showcase-page #officialEventData.eiev-results-app.is-compiegne-landing {
    --app-gold: #d7b25e;
    --app-gold-dark: #9b6c25;
    --app-green: #18b95a;
    --app-green-soft: #def7e6;
    --app-red: #dc4b48;
    --app-red-soft: #ffe1e0;
    --app-blue: #2d6f93;
    --app-blue-soft: #e7f2f8;
    --app-text: #171717;
    --app-muted: #7a7f82;
    --app-line: #e7dfd2;
    --app-card: #fff;
    --app-bg: #fff;
    overflow: hidden !important;
    border: 1px solid #eee6d9 !important;
    border-radius: 24px !important;
    background: #fff !important;
    color: #171717 !important;
    box-shadow: 0 24px 62px rgba(62, 42, 12, .11) !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-detail-header,
body.compiegne-showcase-page #officialEventData .eiev-event-mini-banner,
body.compiegne-showcase-page #officialEventData .eiev-app-race-head,
body.compiegne-showcase-page #officialEventData .eiev-app-list-section,
body.compiegne-showcase-page #officialEventData .eiev-app-result-view,
body.compiegne-showcase-page #officialEventData .eiev-app-rider-result {
    background: #fff !important;
    color: #171717 !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-list-section,
body.compiegne-showcase-page #officialEventData .eiev-app-result-view,
body.compiegne-showcase-page #officialEventData .eiev-app-rider-result {
    padding: clamp(1.15rem, 3vw, 2.4rem) !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-rider-result {
    background: #faf7f1 !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-detail-header {
    min-height: 170px;
    border-color: #eee6d9 !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-detail-header > img,
body.compiegne-showcase-page #officialEventData .eiev-event-mini-banner.has-brand-mark img {
    filter: none !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-back,
body.compiegne-showcase-page #officialEventData .eiev-app-detail-title strong,
body.compiegne-showcase-page #officialEventData .eiev-event-mini-banner strong,
body.compiegne-showcase-page #officialEventData .eiev-app-section-heading h2,
body.compiegne-showcase-page #officialEventData .eiev-app-ride-copy h3,
body.compiegne-showcase-page #officialEventData .eiev-app-event-copy h3,
body.compiegne-showcase-page #officialEventData .eiev-app-rider-copy h1,
body.compiegne-showcase-page #officialEventData .eiev-app-rider-copy h2,
body.compiegne-showcase-page #officialEventData .eiev-app-summary-grid strong,
body.compiegne-showcase-page #officialEventData .eiev-app-more-details summary,
body.compiegne-showcase-page #officialEventData .eiev-app-detail-grid strong {
    color: #171717 !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-event-card,
body.compiegne-showcase-page #officialEventData .eiev-app-ride-card,
body.compiegne-showcase-page #officialEventData .eiev-app-rider-profile,
body.compiegne-showcase-page #officialEventData .eiev-app-summary-grid article,
body.compiegne-showcase-page #officialEventData .eiev-app-race-gates article,
body.compiegne-showcase-page #officialEventData .eiev-app-more-details,
body.compiegne-showcase-page #officialEventData .eiev-app-empty,
body.compiegne-showcase-page #officialEventData .eiev-app-no-match,
body.compiegne-showcase-page #officialEventData .eiev-app-result-tools input,
body.compiegne-showcase-page #officialEventData .eiev-app-result-tools select {
    border-color: #e8e0d4 !important;
    background: #fff !important;
    color: #171717 !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-ride-card {
    border-left-color: #1a759f !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-rider-summary article {
    background: #24475d !important;
    color: #fff !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-rider-summary span,
body.compiegne-showcase-page #officialEventData .eiev-app-rider-summary strong {
    color: #fff !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-results-table thead th {
    background: #a7782e !important;
    color: #fff !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-result-row td {
    border-color: #eadfcd !important;
    background: #fff !important;
    color: #171717 !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-result-row:hover td,
body.compiegne-showcase-page #officialEventData .eiev-app-result-row:focus-within td {
    background: #fff9ec !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-bib {
    background: #f4ead1 !important;
    color: #8c621e !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-detail-grid article {
    background: #f5f1e9 !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-result-tabs a {
    color: #2a2a2a !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-result-tabs a.is-active {
    color: #9b6c25 !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-rider-gate {
    background: #344f60 !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-gate-metrics > div {
    background: rgba(255,255,255,.035);
}
body.compiegne-showcase-page #officialEventData .eiev-app-bottom-nav {
    display: none !important;
}

/* In-page navigation loading and error states. */
body.compiegne-showcase-page .compiegne-results-section.is-ajax-loading #officialEventData {
    opacity: .58;
    pointer-events: none;
    filter: saturate(.75);
}
.eiev-live-ajax-loader {
    position: absolute;
    z-index: 30;
    inset: 50% auto auto 50%;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-width: 230px;
    padding: 1rem 1.25rem;
    transform: translate(-50%, -50%);
    border: 1px solid #e5d6ba;
    border-radius: 999px;
    background: rgba(255,255,255,.97);
    color: #6d4a18;
    box-shadow: 0 16px 42px rgba(74,47,5,.18);
}
.eiev-live-ajax-loader[hidden] { display: none !important; }
.eiev-live-ajax-loader > span {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border: 3px solid #ead9b9;
    border-top-color: #a7782e;
    border-radius: 50%;
    animation: eiev-live-spin .75s linear infinite;
}
.eiev-live-ajax-loader strong { font-size: .86rem; }
.eiev-live-inline-error {
    margin: 1rem;
    padding: .9rem 1rem;
    border: 1px solid #efc9c7;
    border-radius: 12px;
    background: #fff1f0;
    color: #9a2c27;
    font-weight: 800;
    text-align: center;
}
@keyframes eiev-live-spin { to { transform: rotate(360deg); } }

@media (max-width: 767.98px) {
    body.compiegne-showcase-page .compiegne-results-section { padding: 24px 0 34px !important; }
    body.compiegne-showcase-page .compiegne-results-section > .container-fluid { width: calc(100% - 18px) !important; }
    body.compiegne-showcase-page #officialEventData.eiev-results-app.is-compiegne-landing { border-radius: 16px !important; }
    body.compiegne-showcase-page #officialEventData .eiev-app-detail-header { min-height: 145px; }
    .eiev-live-ajax-loader { min-width: 205px; padding: .85rem 1rem; }
}


/* Final live-event single-page hardening: preserve headings for rides, riders and gate views. */
body.compiegne-showcase-page #officialEventData .eiev-app-section-heading {
    display: block !important;
}
body.compiegne-showcase-page #officialEventData .compiegne-events-list > .eiev-app-section-heading {
    display: none !important;
}
body.compiegne-showcase-page,
html[data-theme="dark"] body.compiegne-showcase-page,
body.compiegne-showcase-page main,
body.compiegne-showcase-page .site-main,
body.compiegne-showcase-page .compiegne-showcase-main {
    background: #fff !important;
    color: #171717 !important;
}
body.compiegne-showcase-page .compiegne-results-section,
body.compiegne-showcase-page #liveResults {
    background: linear-gradient(180deg, #fff 0%, #fbf7ef 100%) !important;
}

/* --------------------------------------------------------------------------
   Live-event polish: lightweight motion, live signal and mobile-first video.
   -------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body.compiegne-showcase-page .cex-live-now-bar[hidden] { display: none !important; }
body.compiegne-showcase-page .cex-live-now-bar {
    position: sticky;
    z-index: 1200;
    top: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    padding: 8px max(18px, env(safe-area-inset-left));
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.3);
    background: linear-gradient(100deg, #087a38 0%, #13b85b 48%, #087a38 100%);
    background-size: 220% 100%;
    color: #fff;
    font-family: "Cairo", Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .13em;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 9px 28px rgba(7, 119, 52, .25);
}
body.compiegne-showcase-page .cex-live-now-bar.is-visible { display: flex; }
body.compiegne-showcase-page .cex-live-now-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.22) 47%, transparent 68%);
    transform: translateX(-115%);
    animation: cex-live-sweep 2.8s ease-in-out infinite;
}
body.compiegne-showcase-page .cex-live-now-pulse {
    position: relative;
    z-index: 1;
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255,255,255,.68);
    animation: cex-live-pulse 1.25s ease-out infinite;
}
body.compiegne-showcase-page .cex-live-now-bar strong,
body.compiegne-showcase-page .cex-live-now-wave { position: relative; z-index: 1; }
body.compiegne-showcase-page .cex-live-now-wave {
    width: 34px;
    height: 12px;
    opacity: .9;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,.98) 0 3px, transparent 3px 6px);
    clip-path: polygon(0 45%, 8% 15%, 16% 72%, 25% 30%, 34% 85%, 44% 18%, 54% 76%, 64% 34%, 74% 90%, 84% 25%, 92% 68%, 100% 45%, 100% 100%, 0 100%);
}

/* Smooth entrance without heavy JavaScript or animation libraries. */
body.compiegne-showcase-page .cex-poster,
body.compiegne-showcase-page .cex-hero-content > *,
body.compiegne-showcase-page .cex-title-lockup,
body.compiegne-showcase-page .cex-hub-brand,
body.compiegne-showcase-page .cex-disciplines,
body.compiegne-showcase-page .cex-media,
body.compiegne-showcase-page .cex-countries,
body.compiegne-showcase-page .compiegne-results-section,
body.compiegne-showcase-page .cex-sponsor-footer {
    animation: cex-soft-reveal .72s cubic-bezier(.2,.72,.2,1) both;
}
body.compiegne-showcase-page .cex-poster { animation-delay: .04s; }
body.compiegne-showcase-page .cex-hero-content > h1 { animation-delay: .10s; }
body.compiegne-showcase-page .cex-video-card { animation-delay: .17s; }
body.compiegne-showcase-page .cex-results-button { animation-delay: .23s; }
body.compiegne-showcase-page .cex-title-lockup { animation-delay: .18s; }
body.compiegne-showcase-page .cex-hub-brand { animation-delay: .24s; }
body.compiegne-showcase-page .cex-disciplines { animation-delay: .29s; }
body.compiegne-showcase-page .cex-media { animation-delay: .34s; }
body.compiegne-showcase-page .cex-countries { animation-delay: .39s; }
body.compiegne-showcase-page .compiegne-results-section { animation-delay: .32s; }
body.compiegne-showcase-page .cex-sponsor-footer { animation-delay: .38s; }
body.compiegne-showcase-page #officialEventData.cex-panel-enter {
    animation: cex-panel-enter .48s cubic-bezier(.2,.72,.2,1) both;
}

body.compiegne-showcase-page .cex-video-card {
    transform: translateZ(0);
    transition: transform .32s ease, box-shadow .32s ease;
}
@media (hover:hover) {
    body.compiegne-showcase-page .cex-video-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 22px 48px rgba(11,30,42,.25);
    }
}

/* The active Endurance discipline now uses the supplied endurance photograph. */
body.compiegne-showcase-page .cex-disciplines > .is-active .cex-discipline-image {
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 5px 13px rgba(71,45,7,.16);
}
body.compiegne-showcase-page .cex-disciplines > .is-active .cex-discipline-image img {
    object-position: center 52%;
}

/* Live statuses remain obvious throughout event, ride and rider views. */
body.compiegne-showcase-page .eiev-live-blink-label,
body.compiegne-showcase-page #officialEventData .eiev-app-status.is-live {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    color: #0aad50 !important;
    font-weight: 900 !important;
    text-shadow: 0 0 16px rgba(12,184,83,.18);
    animation: cex-live-label 1.15s ease-in-out infinite;
}
body.compiegne-showcase-page .eiev-live-blink-label::before,
body.compiegne-showcase-page #officialEventData .eiev-app-status.is-live::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #12c45c;
    box-shadow: 0 0 0 0 rgba(18,196,92,.55);
    animation: cex-live-pulse 1.2s ease-out infinite;
}

@keyframes cex-soft-reveal {
    from { opacity: 0; transform: translateY(18px) scale(.992); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cex-panel-enter {
    from { opacity: .28; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes cex-live-sweep {
    0%, 35% { transform: translateX(-115%); }
    72%, 100% { transform: translateX(115%); }
}
@keyframes cex-live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,.65); }
    70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@keyframes cex-live-label {
    0%, 100% { opacity: 1; }
    50% { opacity: .55; }
}

@media (max-width: 767.98px) {
    /* Mobile begins with the broadcast, followed immediately by the compact hub. */
    body.compiegne-showcase-page .cex-live-now-bar {
        min-height: 40px;
        gap: 9px;
        padding-top: max(7px, env(safe-area-inset-top));
        padding-bottom: 7px;
        font-size: 11px;
        letter-spacing: .10em;
    }
    body.compiegne-showcase-page .cex-live-now-wave { width: 27px; }
    body.compiegne-showcase-page .cex-hero {
        min-height: 0 !important;
        padding: 0 0 10px !important;
        background: #fff !important;
    }
    body.compiegne-showcase-page .cex-hero-flag,
    body.compiegne-showcase-page .cex-poster,
    body.compiegne-showcase-page .cex-hero-content h1,
    body.compiegne-showcase-page .cex-results-button {
        display: none !important;
    }
    body.compiegne-showcase-page .cex-hero-inner {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
    body.compiegne-showcase-page .cex-hero-content {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
    }
    body.compiegne-showcase-page .cex-video-card {
        width: 100% !important;
        border-width: 0 0 1px !important;
        border-radius: 0 0 16px 16px !important;
        box-shadow: 0 10px 24px rgba(8,28,41,.16) !important;
    }
    body.compiegne-showcase-page .cex-video-head {
        min-height: 34px;
        padding: 7px 12px;
    }
    body.compiegne-showcase-page .cex-video-frame { aspect-ratio: 16 / 9; }
    body.compiegne-showcase-page .cex-title-lockup {
        width: min(calc(100% - 38px), 360px) !important;
        margin: 17px auto 8px !important;
    }
    body.compiegne-showcase-page .cex-hub {
        width: calc(100% - 16px) !important;
        margin-top: 0 !important;
    }
    body.compiegne-showcase-page .cex-hub-brand { margin-bottom: 5px; }
    body.compiegne-showcase-page .cex-disciplines > * {
        min-height: 122px;
        border-radius: 16px;
    }
    body.compiegne-showcase-page .cex-discipline-image {
        width: 66px;
        height: 48px;
        border-radius: 8px;
    }
    body.compiegne-showcase-page .compiegne-results-section { padding-top: 18px !important; }
    body.compiegne-showcase-page .cex-sponsor-footer {
        width: calc(100% - 16px);
        overflow: hidden;
    }
    body.compiegne-showcase-page .cex-sponsor-footer img {
        width: 100%;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    body.compiegne-showcase-page *,
    body.compiegne-showcase-page *::before,
    body.compiegne-showcase-page *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------------------
   EIEV live leaderboard — official API fields, app-style presentation
   -------------------------------------------------------------------------- */
body.compiegne-showcase-page #officialEventData .eiev-app-race-head.is-live-race {
    background: #fff !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-race-meta {
    min-height: 54px;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(1.25rem, 5vw, 4rem);
    padding: .8rem clamp(1rem, 4vw, 2.25rem);
    border-top: 1px solid #f3eee5;
    color: #d2aa54 !important;
    font-size: clamp(.9rem, 1.8vw, 1.15rem);
}
body.compiegne-showcase-page #officialEventData .eiev-app-race-meta strong {
    color: #d2aa54 !important;
    font-weight: 700;
}
body.compiegne-showcase-page #officialEventData .eiev-app-result-tabs {
    background: #fff;
}
body.compiegne-showcase-page #officialEventData .eiev-app-result-tabs a {
    padding: .92rem .35rem !important;
    font-size: clamp(.76rem, 1.5vw, 1rem);
    font-weight: 500 !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-result-tabs a.is-active {
    color: #151515 !important;
}
body.compiegne-showcase-page #officialEventData .eiev-app-result-tabs a.is-active::after {
    height: 4px;
    background: #d8b35d !important;
}
body.compiegne-showcase-page #officialEventData .eiev-live-result-view {
    padding: 1.35rem clamp(.65rem, 2vw, 1.3rem) 2rem !important;
}
body.compiegne-showcase-page #officialEventData .eiev-live-result-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    align-items: center;
    gap: .7rem;
    margin: 0 0 1rem;
}
body.compiegne-showcase-page #officialEventData .eiev-live-search input {
    min-height: 50px;
    border: 1px solid #d5d5d5 !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: #171717 !important;
    box-shadow: none !important;
}
body.compiegne-showcase-page #officialEventData .eiev-live-filter {
    position: relative;
    display: block;
    width: 58px;
    height: 50px;
}
body.compiegne-showcase-page #officialEventData .eiev-live-filter select {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 12px;
    background: transparent !important;
    color: transparent !important;
    cursor: pointer;
    opacity: .01;
}
body.compiegne-showcase-page #officialEventData .eiev-live-filter > span {
    position: absolute;
    inset: 6px 10px;
    display: block;
    pointer-events: none;
}
body.compiegne-showcase-page #officialEventData .eiev-live-filter > span::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 5px;
    width: 31px;
    height: 30px;
    border: 3px solid #161616;
    clip-path: polygon(0 0, 100% 0, 63% 44%, 63% 82%, 39% 100%, 39% 44%);
}
body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard {
    width: 100%;
    overflow: hidden;
    border: 1px solid #eadbbd;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(117, 79, 19, .06);
}
body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-head,
body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-row {
    display: grid;
    grid-template-columns: 112px minmax(250px, 1.8fr) minmax(145px, .85fr) minmax(130px, .7fr) minmax(125px, .65fr);
    align-items: stretch;
}
body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-head {
    min-height: 58px;
    background: #ddb860;
    color: #fff;
}
body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-head > div {
    display: flex;
    align-items: center;
    padding: .72rem .8rem;
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.08;
}
body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-head > div:not(:nth-child(2)) {
    justify-content: center;
    text-align: center;
}
body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-body {
    display: block;
}
body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-row {
    min-height: 116px;
    border-bottom: 1px solid #ebe5d8;
    background: #fff;
    color: #171717;
    text-decoration: none;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-row:nth-child(even) {
    background: #fffdf4;
}
body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-row:last-child {
    border-bottom: 0;
}
body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-row:hover,
body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-row:focus-visible {
    z-index: 2;
    background: #fff9e8;
    box-shadow: inset 4px 0 0 #d8b35d;
    outline: 0;
}
body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-row > div {
    min-width: 0;
    padding: .85rem .75rem;
}
body.compiegne-showcase-page #officialEventData .eiev-live-pos-loop {
    display: grid;
    place-items: center;
    align-content: center;
    gap: .65rem;
    border-right: 1px dashed #d3c29b;
}
body.compiegne-showcase-page #officialEventData .eiev-live-pos-loop strong {
    color: #8d8d8d;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1;
}
body.compiegne-showcase-page #officialEventData .eiev-live-pos-loop span {
    display: inline-grid;
    place-items: center;
    min-width: 43px;
    min-height: 32px;
    padding: .2rem .6rem;
    border: 1.5px solid #d9b75f;
    border-radius: 999px;
    color: #c59a34;
    font-size: 1rem;
    font-weight: 800;
}
body.compiegne-showcase-page #officialEventData .eiev-live-rider-horse {
    display: grid;
    align-content: center;
    gap: .72rem;
}
body.compiegne-showcase-page #officialEventData .eiev-live-rider-horse > div,
body.compiegne-showcase-page #officialEventData .eiev-live-rider-horse > small {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: .65rem;
}
body.compiegne-showcase-page #officialEventData .eiev-live-rider-horse strong {
    color: #151515;
    font-size: clamp(.88rem, 1.55vw, 1.08rem);
    font-weight: 700;
    line-height: 1.12;
}
body.compiegne-showcase-page #officialEventData .eiev-live-rider-horse small {
    color: #111;
    font-size: clamp(.82rem, 1.35vw, 1rem);
    font-weight: 600;
    line-height: 1.15;
}
body.compiegne-showcase-page #officialEventData .eiev-live-bib {
    color: #181818;
    font-weight: 600;
    text-align: center;
}
body.compiegne-showcase-page #officialEventData .eiev-live-flag {
    min-width: 30px;
    font-size: 1.05rem;
    text-align: center;
}
body.compiegne-showcase-page #officialEventData .eiev-live-status-cell {
    display: grid;
    place-items: center;
    align-content: center;
    gap: .45rem;
    color: #775247;
    text-align: center;
}
body.compiegne-showcase-page #officialEventData .eiev-live-status-cell strong {
    max-width: 130px;
    color: #1b1b1b;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.12;
}
body.compiegne-showcase-page #officialEventData .eiev-live-status-cell.is-finished strong { color: #139a48; }
body.compiegne-showcase-page #officialEventData .eiev-live-status-cell.is-ftq strong { color: #d13d37; }
body.compiegne-showcase-page #officialEventData .eiev-live-horse-icon {
    display: block;
    width: 58px;
    height: 36px;
    color: #775247;
}
body.compiegne-showcase-page #officialEventData .eiev-live-horse-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
body.compiegne-showcase-page #officialEventData .eiev-live-time-cell,
body.compiegne-showcase-page #officialEventData .eiev-live-speed-cell {
    display: grid;
    place-items: center;
    align-content: center;
    gap: .35rem;
    color: #171717;
    text-align: center;
}
body.compiegne-showcase-page #officialEventData .eiev-live-time-cell strong,
body.compiegne-showcase-page #officialEventData .eiev-live-speed-cell strong {
    font-size: clamp(.9rem, 1.7vw, 1.1rem);
    font-weight: 500;
}
body.compiegne-showcase-page #officialEventData .eiev-live-speed-cell small {
    display: inline-flex;
    min-width: 64px;
    justify-content: center;
    padding: .2rem .5rem;
    border: 1px solid #dbc88f;
    border-radius: 999px;
    color: #171717;
    font-size: .78rem;
    font-weight: 600;
}
body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-row[hidden] {
    display: none !important;
}

@media (max-width: 767.98px) {
    body.compiegne-showcase-page #officialEventData .eiev-app-race-meta {
        min-height: 48px;
        justify-content: flex-end;
        gap: 1.5rem;
        padding: .68rem .7rem;
        font-size: .8rem;
        white-space: nowrap;
        overflow-x: auto;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-result-view {
        padding: .95rem 0 1.35rem !important;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-result-tools {
        padding: 0 .75rem;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: none;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-head,
    body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-row {
        grid-template-columns: 56px minmax(118px, 1.65fr) minmax(74px, .9fr) minmax(72px, .78fr) minmax(60px, .65fr);
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-head {
        min-height: 52px;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-head > div {
        padding: .55rem .3rem;
        font-size: .62rem;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-row {
        min-height: 112px;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-row > div {
        padding: .62rem .32rem;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-pos-loop {
        gap: .55rem;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-pos-loop strong {
        font-size: .98rem;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-pos-loop span {
        min-width: 37px;
        min-height: 28px;
        padding: .1rem .35rem;
        font-size: .78rem;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-rider-horse {
        gap: .58rem;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-rider-horse > div,
    body.compiegne-showcase-page #officialEventData .eiev-live-rider-horse > small {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: .28rem;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-rider-horse strong {
        font-size: .7rem;
        line-height: 1.13;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-rider-horse small {
        font-size: .68rem;
        line-height: 1.12;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-bib,
    body.compiegne-showcase-page #officialEventData .eiev-live-flag {
        font-size: .7rem;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-horse-icon {
        width: 38px;
        height: 25px;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-status-cell {
        gap: .25rem;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-status-cell strong {
        font-size: .62rem;
        line-height: 1.05;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-time-cell strong,
    body.compiegne-showcase-page #officialEventData .eiev-live-speed-cell strong {
        font-size: .68rem;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-speed-cell small {
        min-width: 0;
        padding: .12rem .25rem;
        font-size: .58rem;
    }
}

@media (max-width: 390px) {
    body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-head,
    body.compiegne-showcase-page #officialEventData .eiev-live-leaderboard-row {
        grid-template-columns: 50px minmax(104px, 1.55fr) 66px 65px 54px;
    }
    body.compiegne-showcase-page #officialEventData .eiev-live-rider-horse strong,
    body.compiegne-showcase-page #officialEventData .eiev-live-rider-horse small {
        font-size: .61rem;
    }
}
/* EIEV mobile live-results application — isolated to the live-event page. */
:root {
    --eiev-gold: #d4af55;
    --eiev-gold-deep: #bd943b;
    --eiev-gold-soft: #fff8dc;
    --eiev-text: #111317;
    --eiev-muted: #929292;
    --eiev-line: #ececec;
    --eiev-green: #19bd52;
    --eiev-red: #f44336;
    --eiev-orange: #fdb53f;
    --eiev-brown: #795548;
    --eiev-blue: #3f51b5;
    --eiev-purple: #7986cb;
    --eiev-magenta: #a10c5b;
    --eiev-shadow: 0 5px 18px rgba(0, 0, 0, .10);
    --eiev-frame: 736px;
}
html[data-theme="light"] body.compiegne-showcase-page,
html[data-theme="dark"] body.compiegne-showcase-page,
body.compiegne-showcase-page {
    margin: 0 !important;
    background: #fff !important;
    color: var(--eiev-text) !important;
    overflow-x: hidden;
    font-family: "Cairo", Arial, sans-serif;
}
body.compiegne-showcase-page .site-rail,
body.compiegne-showcase-page .mobile-header,
body.compiegne-showcase-page .site-footer,
body.compiegne-showcase-page .back-to-top,
body.compiegne-showcase-page .skip-link { display: none !important; }
body.compiegne-showcase-page .site-main {
    width: 100% !important;
    max-width: none !important;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
}
body.compiegne-showcase-page * { box-sizing: border-box; }
body.compiegne-showcase-page a { color: inherit; text-decoration: none; }
body.compiegne-showcase-page button,
body.compiegne-showcase-page input,
body.compiegne-showcase-page select { font: inherit; }
body.compiegne-showcase-page svg { display: block; }

[data-live-event-app] {
    position: relative;
    width: min(100%, var(--eiev-frame));
    min-height: 100vh;
    margin: 0 auto;
    background: #fff;
    isolation: isolate;
}
.eiev-live-app {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-bottom: 92px;
    background: #fff;
    color: var(--eiev-text);
}
.eiev-live-app > * { max-width: 100%; }
.eiev-live-wordmark {
    display: block;
    width: clamp(102px, 27vw, 192px);
    height: auto;
    object-fit: contain;
}
.eiev-live-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: clamp(104px, 20vw, 154px);
    padding: max(18px, env(safe-area-inset-top)) clamp(17px, 4vw, 34px) 12px;
    background: #fff;
}
.eiev-live-top-left,
.eiev-live-top-right {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 10px;
}
.eiev-live-top-right { justify-content: flex-end; }
.eiev-live-topbar > .eiev-live-wordmark { justify-self: center; }
.eiev-live-icon-button,
.eiev-live-rider-top > a,
.eiev-live-rider-top > button,
.eiev-live-full-summary > header > a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #111;
}
.eiev-live-icon-button svg,
.eiev-live-rider-top svg,
.eiev-live-full-summary > header svg {
    width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.eiev-live-menu-mark {
    display: grid;
    grid-template-columns: repeat(2, 9px);
    gap: 7px;
    width: 31px;
    height: 31px;
    align-content: center;
}
.eiev-live-menu-mark i {
    display: block;
    width: 9px;
    height: 9px;
    border: 2px solid var(--eiev-gold);
    border-right-color: transparent;
    border-radius: 50%;
}
.eiev-live-flag {
    display: inline-block;
    width: 30px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    flex: 0 0 auto;
}
.eiev-live-flag.is-language {
    width: 35px; height: 35px; padding: 1px; border: 2px solid #d7bc73; border-radius: 50%; background: #fff;
}
.eiev-live-flag.is-inline { width: 23px; height: 18px; margin-inline: 3px; }
.eiev-live-flag.is-mini { width: 26px; height: 20px; }
.eiev-live-flag.is-chip { width: 25px; height: 20px; }
.eiev-live-flag.is-round,
.eiev-live-flag.is-profile {
    width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #fff; filter: drop-shadow(0 4px 7px rgba(0,0,0,.12));
}
.eiev-live-flag.is-row { width: 23px; height: 18px; margin-right: 8px; }
.eiev-live-flag-fallback { display: inline-grid; place-items: center; min-width: 24px; min-height: 20px; }

.eiev-live-weather { width: 35px; color: #111; }
.eiev-live-weather svg { width: 35px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eiev-live-clock-box { display: grid; justify-items: center; gap: 0; font-weight: 700; font-size: clamp(13px, 2.8vw, 21px); line-height: 1.1; }
.eiev-live-wifi { width: 34px; color: var(--eiev-gold); }
.eiev-live-wifi svg { width: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Home */
.eiev-live-home-controls { background: #fff; }
.eiev-live-disciplines {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 16px);
    padding: 0 clamp(55px, 14vw, 112px) 18px;
}
.eiev-live-disciplines button {
    display: grid;
    grid-template-rows: minmax(61px, 1fr) auto;
    align-items: center;
    justify-items: center;
    min-width: 0;
    min-height: clamp(128px, 28vw, 190px);
    padding: 12px 8px 15px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: #111;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    overflow: hidden;
}
.eiev-live-disciplines button.is-active { background: linear-gradient(145deg, #b48c38, #d9b75c); color: #fff; }
.eiev-live-disciplines button:disabled { opacity: 1; }
.eiev-live-disciplines strong { font-size: clamp(13px, 2.4vw, 18px); white-space: nowrap; }
.discipline-art { display: grid; place-items: center; width: 100%; height: 78px; overflow: hidden; }
.discipline-art img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .25; }
.discipline-art.is-endurance .eiev-live-status-icon { width: 77px; height: 66px; color: #fff; }
.discipline-art.is-endurance .eiev-live-status-icon i { -webkit-mask-image: url('../images/live-app/status/gallop-mask.png'); mask-image: url('../images/live-app/status/gallop-mask.png'); }
.eiev-live-socials {
    display: flex;
    gap: 12px;
    padding: 18px clamp(14px, 4vw, 30px);
    overflow-x: auto;
    border-top: 1px solid #f3f3f3;
    background: #fff;
    scrollbar-width: none;
}
.eiev-live-socials::-webkit-scrollbar { display: none; }
.eiev-live-socials a {
    display: grid;
    place-items: center;
    flex: 0 0 clamp(80px, 20vw, 126px);
    height: clamp(70px, 16vw, 106px);
    border: 1px solid #ececec;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.eiev-live-socials span { display: grid; place-items: center; }
.social-tv { width: 44px; height: 30px; border: 3px solid #111; border-radius: 5px; font-weight: 900; font-size: 16px; position: relative; }
.social-tv::after { content:""; position:absolute; width:13px; height:2px; background:#111; bottom:-7px; transform:rotate(-18deg); }
.social-facebook { width: 45px; height: 45px; border-radius: 10px; background: #1877f2; color: #fff; font: 42px/1 Arial; padding-top: 8px; }
.social-x { width: 48px; height: 48px; border-radius: 50%; background:#000; color:#fff; font: 30px/1 Arial; }
.social-instagram { width: 47px; height: 47px; border-radius: 13px; color:#fff; font: 35px/1 Arial; background: radial-gradient(circle at 70% 75%, #ffd600 0 18%, #ff7a00 28%, #ff0169 52%, #d300c5 72%, #7638fa); }
.social-tiktok { width: 48px; height: 48px; font: 42px/1 Arial; color:#111; text-shadow: 2px 0 #25f4ee, -2px 0 #fe2c55; }
.eiev-live-country-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    padding: 10px 8px 14px;
    background: #fff;
}
.eiev-live-country-filter button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 35px;
    padding: 4px 13px;
    border: 0;
    border-radius: 18px;
    background: #e9e9e9;
    color: #111;
    font-size: clamp(12px, 2.4vw, 17px);
    font-weight: 700;
    white-space: nowrap;
}
.eiev-live-country-filter button.is-active { background: linear-gradient(120deg, #bd9340, #e0c574); color: #fff; }
.eiev-live-country-filter svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.federation-mark { font-size: 11px; font-weight: 900; color: #6f6f6f; }
.eiev-live-event-list,
.eiev-live-rides-list { padding: 0 18px 110px; background: #fff; }
.eiev-live-event-card {
    position: relative;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 112px;
    align-items: center;
    min-height: 164px;
    margin: 0 0 16px;
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--eiev-shadow);
}
.eiev-live-event-card::before { content:""; position:absolute; inset:0 auto 0 0; width:4px; background:var(--eiev-green); }
.eiev-live-event-card.is-live::before { background: var(--eiev-red); }
.event-rides {
    display: grid; place-items: center; align-content: center; gap: 8px; height: 100%; border-right: 1px dashed #b9b9b9;
}
.event-rides strong { font-size: clamp(22px, 4vw, 31px); }
.event-rides span { padding: 4px 14px; border: 1px solid var(--eiev-gold); border-radius: 19px; color: var(--eiev-gold-deep); font-size: 16px; font-weight: 700; }
.event-copy { min-width: 0; padding: 14px 18px; }
.event-place { display:flex; align-items:center; color:#909090; font-size: clamp(14px, 2.6vw, 20px); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.event-copy h2 { margin: 2px 0 18px; font-size: clamp(17px, 3vw, 24px); line-height:1.2; font-weight:800; }
.event-copy time { color:#8c8c8c; font-size:clamp(13px,2.4vw,18px); }
.event-state { display:grid; justify-items:center; gap:8px; min-width:0; padding:12px; }
.event-state .eiev-live-flag.is-round { width:70px; height:70px; }
.event-state strong { color:var(--eiev-green); font-size:14px; white-space:nowrap; }
.event-state strong.eiev-live-now { color:var(--eiev-red); }
.eiev-live-now i { display:inline-block; width:8px; height:8px; margin-right:2px; border-radius:50%; background:var(--eiev-red); box-shadow:0 0 0 4px rgba(244,67,54,.16); animation:eievPulse 1.2s infinite; }
.event-state svg { width:16px; height:26px; fill:none; stroke:#999; stroke-width:2; }

/* Event rides */
.eiev-live-page-title { display:flex; align-items:center; justify-content:center; gap:8px; min-height:125px; padding:0 22px 30px; color:var(--eiev-gold); }
.eiev-live-page-title h1 { margin:0; font-size:clamp(22px,4vw,33px); font-weight:700; }
.eiev-live-ride-card {
    display:grid;
    grid-template-columns:96px minmax(0,1fr) 92px;
    align-items:center;
    min-height:180px;
    margin-bottom:14px;
    border-radius:15px;
    background:#fff;
    box-shadow:var(--eiev-shadow);
    overflow:hidden;
}
.ride-date { display:grid; place-items:center; align-content:center; gap:7px; height:calc(100% - 20px); border-right:1px dashed var(--eiev-gold); }
.ride-date strong { font-size:24px; }
.ride-date span { min-width:58px; padding:5px 10px; border-radius:18px; background:#fffbe2; color:var(--eiev-gold); font-size:18px; font-weight:700; text-align:center; }
.ride-copy { min-width:0; padding:18px; }
.ride-copy h2 { margin:0 0 18px; font-size:clamp(16px,3vw,22px); line-height:1.15; }
.ride-counts { display:flex; flex-wrap:wrap; gap:6px; }
.ride-counts span { padding:3px 9px; border-radius:4px; font-size:14px; white-space:nowrap; }
.ride-counts .is-entry { color:#438fe2; background:#e7f2ff; }
.ride-counts .is-finished { color:#19a94b; background:#ddf7e4; }
.ride-counts .is-ftq { color:#e54b47; background:#ffdede; }
.ride-state { display:grid; justify-items:center; gap:22px; padding:12px; color:var(--eiev-green); font-size:13px; }
.ride-state svg { width:16px; height:28px; fill:none; stroke:var(--eiev-gold); stroke-width:2; }

/* Race */
.eiev-live-race-title { display:flex; align-items:flex-start; justify-content:center; gap:8px; padding:0 22px 25px; color:var(--eiev-gold); text-align:center; }
.eiev-live-race-title h1 { max-width:620px; margin:0; font-size:clamp(17px,3.2vw,25px); line-height:1.25; font-weight:800; }
.eiev-live-race-facts {
    display:flex; gap:28px; align-items:center; padding:12px clamp(22px,5vw,52px); overflow-x:auto; border-top:1px solid #f4f4f4; border-bottom:1px solid #f0f0f0; color:var(--eiev-gold); font-size:clamp(13px,2.6vw,18px); white-space:nowrap; scrollbar-width:none;
}
.eiev-live-race-facts::-webkit-scrollbar { display:none; }
.eiev-live-race-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-bottom:1px solid #ddd; background:#fff; }
.eiev-live-race-tabs a { position:relative; display:grid; place-items:center; min-height:50px; padding:8px 4px; font-size:clamp(12px,2.5vw,17px); text-align:center; }
.eiev-live-race-tabs a.is-active { font-weight:700; }
.eiev-live-race-tabs a.is-active::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:3px; background:var(--eiev-gold); }
.eiev-live-rider-tools { display:grid; grid-template-columns:1fr 50px auto; gap:12px; align-items:center; padding:30px 28px 20px; }
.eiev-live-rider-tools input { width:100%; height:54px; padding:0 18px; border:1px solid #bbb; border-radius:12px; background:#fff; color:#111; outline:none; }
.eiev-live-rider-tools button { display:grid; place-items:center; width:48px; height:48px; padding:7px; border:0; background:transparent; }
.eiev-live-rider-tools button svg { width:100%; height:100%; fill:none; stroke:#111; stroke-width:2; stroke-linejoin:round; }
.eiev-live-rider-tools select { max-width:0; width:0; height:0; overflow:hidden; opacity:0; border:0; pointer-events:none; }
.eiev-live-rider-tools.is-filter-open select { max-width:160px; width:auto; height:44px; opacity:1; border:1px solid #bbb; border-radius:10px; pointer-events:auto; }
.eiev-live-leaderboard { padding-bottom:100px; background:#fff; }
.eiev-live-leader-head,
.eiev-live-leader-row {
    display:grid;
    grid-template-columns:34px minmax(0,154px) 53px 66px minmax(0,1fr);
    width:100%;
    min-width:0;
}
.eiev-live-leaderboard { overflow-x:hidden; }
.eiev-live-leader-head { position:sticky; left:0; top:0; z-index:2; min-height:43px; align-items:center; background:linear-gradient(120deg,#cfaa51,#e3c572); color:#fff; font-size:10px; font-weight:800; line-height:1.05; }
.eiev-live-leader-head span { padding:6px 2px; text-align:center; overflow:hidden; }
.eiev-live-leader-row { min-height:72px; align-items:stretch; border-bottom:1px solid #e9e9e9; background:#fff; }
.eiev-live-leader-row:nth-child(even) { background:#fffdf3; }
.eiev-live-leader-row.is-re-exam .leader-pos strong { color:#999; }
.leader-pos { display:grid; place-items:center; align-content:center; gap:5px; border-right:1px dashed #d1b56e; }
.leader-pos strong { font-size:15px; }
.leader-pos span { min-width:28px; padding:1px 5px; border:1px solid #dcc27e; border-radius:12px; color:#c8a758; font-size:11px; text-align:center; }
.leader-person { display:grid; align-content:center; gap:5px; padding:6px 7px; min-width:0; }
.leader-rider { display:flex; gap:6px; align-items:flex-start; min-width:0; }
.leader-rider b { flex:0 0 22px; font-size:11px; }
.leader-rider strong { min-width:0; font-size:12px; line-height:1.08; text-transform:none; overflow:hidden; }
.leader-horse { display:flex; align-items:center; min-width:0; padding-left:10px; font-size:11px; font-weight:700; line-height:1.05; }
.leader-horse span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.leader-horse .eiev-live-flag.is-row { width:17px; height:13px; margin-right:5px; }
.leader-status { display:grid; justify-items:center; align-content:center; gap:1px; min-width:0; padding:3px 1px; font-size:10px; line-height:1.05; text-align:center; overflow:hidden; }
.leader-status .eiev-live-status-icon { width:40px; height:31px; }
.leader-status span { max-width:100%; overflow-wrap:anywhere; }
.leader-time,
.leader-speed { display:grid; place-items:center; align-content:center; gap:3px; min-width:0; padding:3px 2px; text-align:center; overflow:hidden; }
.leader-time strong,.leader-speed strong { max-width:100%; font-size:12px; font-weight:500; overflow-wrap:anywhere; }
.leader-time-note { color:#e45d4d; font-size:9px; line-height:1; white-space:nowrap; }
.leader-speed span { max-width:100%; padding:1px 5px; border:1px solid #d8c883; border-radius:11px; background:#fff; font-size:10px; white-space:nowrap; }
.eiev-live-no-match { min-width:0; padding:35px; text-align:center; }

/* Exact status silhouettes extracted from the supplied EIEV screens. */
.eiev-live-status-icon { display:inline-grid; place-items:center; width:62px; height:58px; color:#777; flex:0 0 auto; }
.eiev-live-status-icon i { display:block; width:100%; height:100%; background:currentColor; -webkit-mask:url('../images/live-app/status/horse-mask.png') center/contain no-repeat; mask:url('../images/live-app/status/horse-mask.png') center/contain no-repeat; }
.eiev-live-status-icon img { display:block; width:100%; height:100%; object-fit:contain; }
.eiev-live-status-icon.is-ready { color:var(--eiev-orange); }
.eiev-live-status-icon.is-ready i { -webkit-mask-image:url('../images/live-app/status/gallop-mask.png'); mask-image:url('../images/live-app/status/gallop-mask.png'); }
.eiev-live-status-icon.is-on-loop { color:var(--eiev-brown); }
.eiev-live-status-icon.is-on-loop i { -webkit-mask-image:url('../images/live-app/status/on-loop-mask.png'); mask-image:url('../images/live-app/status/on-loop-mask.png'); }
.eiev-live-status-icon.is-ftq { color:var(--eiev-red); }
.eiev-live-status-icon.is-withdraw { color:#777; }
.eiev-live-status-icon.is-re-exam { color:var(--eiev-magenta); }
.eiev-live-status-icon.is-first-inspection { color:#616161; }
.eiev-live-status-icon.is-second-inspection { color:#9e9e9e; }
.eiev-live-status-icon.is-re-inspection { color:var(--eiev-purple); }
.eiev-live-status-icon.is-arrived { color:var(--eiev-blue); }
.eiev-live-status-icon.is-unknown { color:#a0a0a0; }

/* Summary */
.eiev-live-summary-page { padding:30px 18px 110px; background:#fff; }
.eiev-live-summary-box { margin:0 0 45px; padding:22px 18px 28px; border:1px solid var(--eiev-gold); border-left:0; border-bottom:0; border-radius:0 15px 0 0; background:#fff; }
.eiev-live-section-title { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:22px; }
.eiev-live-section-title h2 { margin:0; font-size:24px; }
.eiev-live-section-title a,.eiev-live-section-title > span { font-size:15px; }
.eiev-live-factsheet-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.eiev-live-factsheet-grid article { display:flex; justify-content:space-between; align-items:center; min-height:82px; padding:14px 22px; border:1.5px solid #111; border-radius:14px; background:#fff; }
.eiev-live-factsheet-grid strong { font-size:18px; }
.eiev-live-factsheet-grid span { color:#b9b9b9; font-size:18px; font-weight:700; }
.eiev-live-summary-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px 8px; align-items:start; }
.eiev-live-summary-tile { display:grid; justify-items:center; gap:8px; min-width:0; text-align:center; }
.eiev-live-summary-tile .summary-count { position:relative; display:grid; place-items:center; min-width:74px; min-height:54px; padding:7px 18px; border-radius:9px; background:#7f7f7f; color:#fff; font-size:24px; font-weight:800; }
.eiev-live-summary-tile .summary-count::after { content:""; position:absolute; left:50%; bottom:-10px; transform:translateX(-50%); border:10px solid transparent; border-top-color:#7f7f7f; border-bottom:0; }
.eiev-live-summary-tile .eiev-live-status-icon { width:66px; height:61px; }
.eiev-live-summary-tile strong { font-size:16px; color:#777; }
.eiev-live-summary-tile.is-ftq .summary-count { background:var(--eiev-red); }
.eiev-live-summary-tile.is-ftq .summary-count::after { border-top-color:var(--eiev-red); }
.eiev-live-summary-tile.is-ftq strong { color:var(--eiev-red); }
.eiev-live-summary-tile.is-finished .summary-count { background:#43a84d; }
.eiev-live-summary-tile.is-finished .summary-count::after { border-top-color:#43a84d; }
.eiev-live-summary-tile.is-finished strong { color:#43a84d; }
.eiev-live-summary-tile.is-ready .summary-count { background:var(--eiev-orange); }
.eiev-live-summary-tile.is-ready .summary-count::after { border-top-color:var(--eiev-orange); }
.eiev-live-summary-tile.is-ready strong { color:var(--eiev-orange); }
.eiev-live-summary-tile.is-on-loop { grid-column:2 / 4; }
.eiev-live-summary-tile.is-on-loop .summary-count { background:var(--eiev-brown); }
.eiev-live-summary-tile.is-on-loop .summary-count::after { border-top-color:var(--eiev-brown); }
.eiev-live-summary-tile.is-on-loop strong { color:var(--eiev-brown); }

/* Gate page */
.eiev-live-gates-page { padding:28px 20px 110px; }
.eiev-live-gate-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.eiev-live-gate-card { border:1px solid var(--eiev-gold); border-radius:16px; overflow:hidden; background:#fff; box-shadow:0 3px 10px rgba(0,0,0,.06); }
.eiev-live-gate-card header { display:flex; justify-content:space-between; gap:10px; padding:15px; background:#fff9e7; }
.eiev-live-gate-card dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:0; }
.eiev-live-gate-card dl div { padding:12px 15px; border-top:1px solid #eee; }
.eiev-live-gate-card dt { color:#888; font-size:12px; }
.eiev-live-gate-card dd { margin:3px 0 0; font-weight:700; }

/* Rider */
.eiev-live-rider-top { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; min-height:82px; padding:13px 20px 4px; }
.eiev-live-rider-top > .eiev-live-wordmark { justify-self:center; }
.eiev-live-rider-top > button { justify-self:end; }
.eiev-live-rider-profile { position:relative; display:grid; grid-template-columns:62px minmax(0,1fr); grid-template-rows:30px 31px 78px; column-gap:6px; align-items:start; min-height:158px; padding:8px 14px 11px; border-bottom:1px solid #ddd; background:#fff; }
.rider-bib-number { grid-column:1; grid-row:1; align-self:center; justify-self:center; font-size:19px; }
.rider-name-block { grid-column:2; grid-row:1 / 3; min-width:0; padding-right:64px; }
.rider-name-block h1,.rider-horse-block h2 { margin:0; color:#2995df; font-size:16px; line-height:1.14; font-weight:700; }
.rider-name-block span,.rider-horse-block span { color:#aaa; font-size:12px; line-height:1.2; }
.rider-profile-flag { grid-column:1; grid-row:2; align-self:start; justify-self:center; }
.eiev-live-flag.is-profile { width:42px; height:42px; }
.rider-photo { grid-column:1; grid-row:3; align-self:start; width:62px; height:73px; object-fit:cover; border-radius:6px; background:#eee; }
.rider-horse-block { grid-column:2; grid-row:3; min-width:0; padding:3px 70px 0 6px; }
.rider-view-toggle { position:absolute; top:49px; right:35px; display:grid; place-items:center; width:62px; height:62px; margin:0; border:0; border-radius:50%; background:#fff; color:#111; box-shadow:0 8px 24px rgba(0,0,0,.12); }
.rider-view-toggle svg { width:38px; height:38px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.rider-view-toggle .accent { stroke:#29b7b2; }
.rider-view-toggle .show-metrics { display:none; }
[data-rider-detail].is-performance + * {}
.eiev-live-rider-result.is-performance .rider-metrics { display:none; }
.eiev-live-rider-result.is-performance .rider-performance { display:block !important; }
.eiev-live-rider-profile.is-performance .show-chart { display:none; }
.eiev-live-rider-profile.is-performance .show-metrics { display:block; }
.rider-metrics { background:#fff; padding-bottom:130px; }
.rider-gate-band { background:#fff; }
.rider-gate-band > header { padding:10px 8px 7px; text-align:center; font-size:16px; font-weight:800; }
.rider-gate-metrics { --metric-columns:5; display:grid; grid-template-columns:repeat(var(--metric-columns),minmax(0,1fr)); border-top:1px solid #777; border-bottom:1px solid #777; background:#424242; color:#fff; }
.rider-gate-metrics.metric-count-4 { --metric-columns:4; }
.rider-gate-metrics.metric-count-5 { --metric-columns:5; }
.metric { display:grid; place-items:center; align-content:center; min-width:0; min-height:56px; padding:5px 3px; border-right:1px solid #6f6f6f; text-align:center; }
.metric:last-child { border-right:0; }
.metric span { color:#fff; font-size:11px; line-height:1.08; }
.metric strong { max-width:100%; margin-top:5px; font-size:19px; font-weight:500; overflow-wrap:anywhere; }
.metric.is-heart strong i { display:grid; place-items:center; width:46px; height:43px; background:#48b54e; color:#fff; font-size:14px; font-style:normal; clip-path:path('M23 41 C20 37 3 25 3 14 C3 3 16 0 23 10 C30 0 43 3 43 14 C43 25 26 37 23 41'); }
.rider-metric-tail { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); min-height:59px; background:#424242; color:#fff; }
.rider-metric-tail div { display:grid; place-items:center; align-content:center; min-width:0; padding:5px 3px; text-align:center; }
.rider-metric-tail div:first-child { grid-column:4; border-radius:0 0 15px 15px; background:#43ad4e; }
.rider-metric-tail div:last-child { grid-column:5; border-radius:0 0 15px 15px; background:#858585; }
.rider-metric-tail span { font-size:11px; line-height:1.05; }
.rider-metric-tail strong { margin-top:4px; font-size:18px; font-weight:500; }
.eiev-live-rider-nav { position:fixed; z-index:20; left:50%; bottom:max(16px,env(safe-area-inset-bottom)); transform:translateX(-50%); display:grid; grid-template-columns:62px minmax(150px,163px) 62px; gap:21px; align-items:center; justify-content:center; width:min(calc(100% - 32px),348px); pointer-events:none; }
.eiev-live-rider-nav > * { pointer-events:auto; }
.eiev-live-rider-nav > a,.eiev-live-rider-nav > span { display:grid; place-items:center; width:82px; height:82px; border-radius:50%; background:#d5d5d5; color:#fff; box-shadow:0 4px 14px rgba(0,0,0,.08); }
.eiev-live-rider-nav > a.rider-next,.eiev-live-rider-nav > span.rider-next { background:var(--eiev-gold); }
.eiev-live-rider-nav b { font-size:38px; line-height:.7; font-weight:400; }
.eiev-live-rider-nav span span,.eiev-live-rider-nav a span { font-size:14px; }
.eiev-live-rider-nav button { display:flex; align-items:center; justify-content:center; gap:11px; min-height:64px; padding:8px 18px; border:0; border-radius:9px; background:#aaa; color:var(--eiev-orange); box-shadow:0 4px 14px rgba(0,0,0,.08); }
.eiev-live-rider-nav button .eiev-live-status-icon { width:47px; height:39px; }
.eiev-live-rider-nav button strong { font-size:18px; }
.eiev-live-more-data { margin:250px 18px 130px; border:1px solid var(--eiev-gold); border-radius:12px; background:#fff; }
.eiev-live-more-data summary { padding:16px; font-weight:700; cursor:pointer; }
.more-data-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); border-top:1px solid #eee; }
.more-data-grid div { padding:12px 16px; border-bottom:1px solid #eee; }
.more-data-grid span { display:block; color:#888; font-size:12px; }
.more-data-grid strong { font-size:14px; }

/* Performance card */
.rider-performance { padding:18px 18px 120px; background:#fff; }
.performance-card { border-radius:14px; background:#fff; box-shadow:0 6px 22px rgba(0,0,0,.16); overflow:hidden; }
.performance-card > header { padding:25px 28px 18px; border-bottom:1px solid var(--eiev-gold); text-align:center; }
.performance-card > header h1 { margin:0 0 8px; color:var(--eiev-gold); font-size:24px; line-height:1.35; }
.performance-card > header span { color:#999; font-size:17px; }
.performance-person { display:grid; grid-template-columns:112px minmax(0,1fr) 110px; gap:15px; align-items:center; padding:18px 28px 25px; border-bottom:1px solid var(--eiev-gold); }
.performance-person > img { width:112px; height:132px; object-fit:cover; border-radius:7px; }
.performance-person h2 { margin:0; font-size:20px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.performance-person span,.performance-person b,.performance-person strong { display:block; margin-top:6px; color:#aaa; font-size:14px; }
.performance-person b,.performance-person strong { color:#222; }
.performance-status { display:grid; justify-items:center; color:var(--eiev-orange); text-align:center; }
.performance-status .eiev-live-status-icon { width:90px; height:70px; }
.performance-chart { padding:28px 18px 12px; }
.performance-chart h2 { margin:0 0 18px; text-align:center; font-size:25px; font-weight:500; }
.chart-legend { display:flex; flex-wrap:wrap; justify-content:center; gap:15px; margin-bottom:10px; font-size:13px; }
.chart-legend span::before { content:"∿"; margin-right:7px; font-size:23px; font-weight:800; vertical-align:-3px; }
.chart-legend .is-time::before { color:#2999e2; }
.chart-legend .is-heart::before { color:#45ae4e; }
.chart-legend .is-speed::before,.chart-legend .is-recovery::before { color:#f0443c; }
.performance-chart svg { width:100%; height:auto; overflow:visible; }
.performance-chart .grid { stroke:#ddd; stroke-width:1; }
.performance-chart .axis { fill:#444; font-size:15px; }
.performance-chart polyline { fill:none; stroke-width:4; }
.performance-chart .line-time { stroke:#2999e2; fill:#fff; }
.performance-chart .line-heart { stroke:#45ae4e; fill:#fff; }
.performance-chart .line-speed { stroke:#f0443c; fill:#fff; }
.performance-chart circle { stroke-width:4; }
.performance-chart .bar-recovery { fill:#f0443c; }
.performance-chart .point-label,.performance-chart .recovery-label,.performance-chart .loop-label { fill:#111; font-size:12px; }
.chart-axis-title { display:block; margin-top:-15px; text-align:center; font-size:22px; font-weight:500; }

/* Full summary scene */
.eiev-live-full-summary { min-height:100vh; padding-bottom:0; background:#fff; }
.eiev-live-full-summary > header { display:grid; grid-template-columns:52px 1fr 52px; align-items:center; min-height:108px; padding:18px 22px 5px; background:#fff; }
.eiev-live-full-summary > header h1 { margin:0; color:var(--eiev-gold); text-align:center; font-size:28px; font-weight:600; }
.summary-scene { position:relative; overflow:hidden; min-height:260px; }
.scene-farm { min-height:470px; background:linear-gradient(#9edbf4 0 54%,#acd82a 54% 63%,#70b33b 63%); }
.scene-farm::after { content:""; position:absolute; inset:auto 0 0; height:92px; background:linear-gradient(10deg,#6fa637,#9bbf3a); }
.scene-barn { position:absolute; left:50%; top:38px; transform:translateX(-50%); width:185px; height:175px; background:#e7192a; border:6px solid #a65a44; clip-path:polygon(12% 30%,50% 0,88% 30%,88% 100%,12% 100%); box-shadow:inset 0 0 0 4px #f1d1ad; }
.scene-barn::after { content:""; position:absolute; left:55px; bottom:0; width:72px; height:95px; border:6px solid #e9d7bd; background:linear-gradient(45deg,transparent 47%,#d6c2a5 48% 52%,transparent 53%),linear-gradient(-45deg,transparent 47%,#d6c2a5 48% 52%,transparent 53%),#7e351f; }
.scene-tree { position:absolute; left:-20px; top:45px; width:135px; height:160px; border-radius:48% 52% 42% 58%; background:#287f3c; box-shadow:45px 5px 0 -18px #287f3c; }
.scene-tree::after { content:""; position:absolute; left:75px; top:105px; width:12px; height:120px; background:#6e4b2f; transform:rotate(8deg); }
.scene-fence { position:absolute; left:0; right:0; bottom:25px; height:28px; border-top:6px solid #fff; border-bottom:6px solid #fff; background:repeating-linear-gradient(90deg,transparent 0 58px,#fff 58px 64px); z-index:1; }
.scene-pair,.scene-triple { position:absolute; z-index:3; left:0; right:0; bottom:30px; display:grid; align-items:end; justify-items:center; }
.scene-pair { grid-template-columns:repeat(2,1fr); padding:0 75px; gap:40px; }
.scene-triple { grid-template-columns:repeat(3,1fr); padding:0 25px; gap:12px; }
.scene-status { display:grid; justify-items:center; position:relative; color:#777; }
.scene-status > span { position:relative; z-index:2; display:grid; min-width:135px; padding:9px 17px; border-radius:10px; background:#777; color:#fff; text-align:center; font-size:20px; line-height:1.25; }
.scene-status > span::after { content:""; position:absolute; left:50%; bottom:-14px; transform:translateX(-50%); border:14px solid transparent; border-top-color:#777; border-bottom:0; }
.scene-status > span b { font-size:27px; }
.scene-status .eiev-live-status-icon { width:100px; height:93px; margin-top:18px; }
.scene-status.is-ftq > span { background:var(--eiev-red); }.scene-status.is-ftq > span::after { border-top-color:var(--eiev-red); }
.scene-status.is-withdraw > span { background:#737373; }.scene-status.is-withdraw > span::after { border-top-color:#737373; }
.scene-status.is-first-inspection > span { background:#616161; }.scene-status.is-first-inspection > span::after { border-top-color:#616161; }
.scene-status.is-second-inspection > span { background:#9e9e9e; }.scene-status.is-second-inspection > span::after { border-top-color:#9e9e9e; }
.scene-status.is-re-exam > span { background:#bdbdbd; }.scene-status.is-re-exam > span::after { border-top-color:#bdbdbd; }
.scene-status.is-arrived > span { background:var(--eiev-blue); }.scene-status.is-arrived > span::after { border-top-color:var(--eiev-blue); }
.scene-status.is-re-inspection > span { background:var(--eiev-purple); }.scene-status.is-re-inspection > span::after { border-top-color:var(--eiev-purple); }
.scene-status.is-ready > span { background:var(--eiev-orange); }.scene-status.is-ready > span::after { border-top-color:var(--eiev-orange); }
.scene-status.is-finished > span { background:#43a84d; }.scene-status.is-finished > span::after { border-top-color:#43a84d; }
.scene-status.is-on-loop > span { background:var(--eiev-brown); }.scene-status.is-on-loop > span::after { border-top-color:var(--eiev-brown); }
.scene-inspection { min-height:285px; background:linear-gradient(#b6d4e1 0 18%,#e5ba67 18% 100%); }
.scene-inspection::before { content:""; position:absolute; inset:35px 0 auto; height:55px; border-top:7px solid #fff; border-bottom:7px solid #fff; background:repeating-linear-gradient(90deg,transparent 0 55px,#fff 55px 61px); }
.scene-ready { min-height:305px; background:linear-gradient(#8dc7dc 0 31%,#93a73e 31% 100%); }
.scene-hills { position:absolute; inset:35px 0 auto; height:65px; background:linear-gradient(145deg,transparent 0 15%,#768b7b 16% 28%,transparent 29% 40%,#718a7e 41% 55%,transparent 56% 100%); opacity:.8; }
.scene-finish { min-height:285px; background:linear-gradient(#8dbde3 0 45%,#77a735 45% 100%); }
.scene-mountains { position:absolute; inset:40px 0 auto; height:110px; background:linear-gradient(145deg,transparent 0 12%,#758bc3 13% 27%,transparent 28% 39%,#657bb4 40% 56%,transparent 57% 68%,#7084b9 69% 86%,transparent 87%); opacity:.9; }
.scene-inspection .scene-triple,.scene-ready .scene-triple,.scene-finish .scene-pair { bottom:15px; }

/* Fixed app navigation */
.eiev-live-bottom-nav { position:fixed; z-index:30; left:50%; bottom:0; transform:translateX(-50%); display:grid; grid-template-columns:repeat(5,1fr); width:min(100%,var(--eiev-frame)); min-height:82px; padding:7px 6px max(7px,env(safe-area-inset-bottom)); border-top:1px solid #eee; background:rgba(255,255,255,.98); box-shadow:0 -4px 14px rgba(0,0,0,.05); }
.eiev-live-bottom-nav a { position:relative; display:grid; justify-items:center; align-content:center; gap:3px; color:#a2a2a2; }
.eiev-live-bottom-nav a.is-active { color:var(--eiev-gold); }
.eiev-live-bottom-nav a.is-active::before { content:""; position:absolute; top:-7px; width:55px; height:3px; background:var(--eiev-gold); }
.eiev-live-bottom-nav span { font-size:30px; line-height:1; filter:saturate(.85); }
.eiev-live-bottom-nav strong { font-size:13px; font-weight:600; }

/* Empty/error/loading */
.eiev-live-empty { display:grid; gap:8px; margin:25px 18px; padding:25px; border:1px solid #ead8a9; border-radius:14px; background:#fff; text-align:center; }
.eiev-live-empty span { color:#888; }
.eiev-live-api-notice,.eiev-live-inline-error { margin:14px 18px 105px; padding:14px 16px; border:1px solid #f1c9c6; border-radius:10px; background:#fff; color:#b7332d; text-align:center; }
.eiev-live-ajax-loader { position:fixed; z-index:80; left:50%; top:50%; transform:translate(-50%,-50%); display:flex; align-items:center; gap:12px; padding:14px 20px; border-radius:13px; background:#fff; color:#111; box-shadow:0 10px 35px rgba(0,0,0,.2); }
.eiev-live-ajax-loader[hidden] { display:none; }
.eiev-live-ajax-loader span { width:22px; height:22px; border:3px solid #eadcae; border-top-color:var(--eiev-gold); border-radius:50%; animation:eievSpin .7s linear infinite; }
.cex-panel-enter { animation:eievPanelIn .28s ease both; }
[data-live-event-app].is-ajax-loading #officialEventData { opacity:.72; pointer-events:none; }

@keyframes eievPulse { 50% { opacity:.35; transform:scale(.78); } }
@keyframes eievSpin { to { transform:rotate(360deg); } }
@keyframes eievPanelIn { from { opacity:.2; } to { opacity:1; } }

@media (max-width: 620px) {
    .eiev-live-disciplines { padding-inline:14%; }
    .eiev-live-event-card { grid-template-columns:74px minmax(0,1fr) 78px; min-height:134px; }
    .event-rides span { padding-inline:8px; font-size:12px; }
    .event-state .eiev-live-flag.is-round { width:48px; height:48px; }
    .event-copy { padding:10px 12px; }
    .event-copy h2 { margin-bottom:12px; }
    .eiev-live-ride-card { grid-template-columns:68px minmax(0,1fr) 68px; min-height:145px; }
    .ride-date span { min-width:50px; font-size:15px; }
    .ride-copy { padding:13px; }
    .ride-counts span { font-size:11px; padding:2px 6px; }
    .eiev-live-rider-profile { padding-inline:14px; min-height:158px; }
    .rider-view-toggle { width:58px; height:58px; right:34px; }
    .rider-view-toggle svg { width:36px; height:36px; }
    .eiev-live-rider-nav { grid-template-columns:62px minmax(150px,163px) 62px; gap:21px; }
    .eiev-live-rider-nav > a,.eiev-live-rider-nav > span { width:62px; height:62px; }
    .eiev-live-rider-nav b { font-size:29px; }
    .eiev-live-rider-nav button { min-height:54px; padding-inline:10px; }
    .eiev-live-rider-nav button strong { font-size:14px; }
    .eiev-live-summary-grid { gap:13px 3px; }
    .eiev-live-summary-tile .summary-count { min-width:58px; padding-inline:12px; font-size:20px; }
    .eiev-live-summary-tile .eiev-live-status-icon { width:52px; height:49px; }
    .eiev-live-summary-tile strong { font-size:13px; }
    .performance-person { grid-template-columns:70px minmax(0,1fr) 70px; padding-inline:15px; }
    .performance-person > img { width:70px; height:90px; }
    .performance-person h2 { font-size:15px; }
    .performance-person span,.performance-person b,.performance-person strong { font-size:11px; }
    .scene-pair { padding-inline:36px; gap:14px; }
    .scene-triple { padding-inline:8px; gap:3px; }
    .scene-status > span { min-width:96px; padding:7px 9px; font-size:14px; }
    .scene-status > span b { font-size:21px; }
    .scene-status .eiev-live-status-icon { width:73px; height:68px; }
    .eiev-live-gate-cards { grid-template-columns:1fr; }
}

@media (max-width: 390px) {
    .eiev-live-disciplines { padding-inline:13%; gap:7px; }
    .eiev-live-disciplines button { min-height:112px; padding-inline:4px; }
    .discipline-art { height:61px; }
    .eiev-live-socials a { flex-basis:74px; height:66px; }
    .social-facebook,.social-x,.social-instagram,.social-tiktok { transform:scale(.82); }
    .eiev-live-country-filter button { min-height:31px; padding-inline:9px; }
    .eiev-live-event-list,.eiev-live-rides-list { padding-inline:9px; }
    .eiev-live-event-card { margin-bottom:9px; }
    .eiev-live-rider-tools { padding-inline:14px; }
    .eiev-live-leader-head,.eiev-live-leader-row { min-width:0; }
    .eiev-live-factsheet-grid article { padding-inline:13px; }
    .more-data-grid { grid-template-columns:1fr; }
}

/* Compact race header proportions from the supplied mobile live screen. */
.eiev-live-topbar.has-race-tools { min-height:90px; padding-top:max(12px,env(safe-area-inset-top)); padding-bottom:5px; }
.eiev-live-topbar.has-race-tools .eiev-live-wordmark { width:104px; }
.eiev-live-race-title { padding-bottom:14px; }
.eiev-live-race-title h1 { font-size:16px; line-height:1.22; }
.eiev-live-race-facts { gap:25px; min-height:40px; padding:8px 22px; font-size:12px; }
.eiev-live-race-tabs a { min-height:42px; font-size:12px; }
.eiev-live-rider-tools { grid-template-columns:minmax(0,1fr) 42px auto; gap:8px; padding:15px 14px 13px; }
.eiev-live-rider-tools input { height:44px; padding-inline:14px; border-radius:10px; }
.eiev-live-rider-tools button { width:40px; height:40px; }
.rider-name-block { margin-left:-12px; }
.rider-horse-block { padding-left:0; }
.rider-view-toggle { right:47px; }
@media (max-width:620px) { .rider-view-toggle { right:47px; } }
.leader-horse { font-size:10.5px; }

/* Home and event-list proportions from the supplied app screens. */
.eiev-live-topbar:not(.has-race-tools) { min-height:75px; padding-top:max(12px,env(safe-area-inset-top)); padding-bottom:5px; }
.eiev-live-topbar:not(.has-race-tools) .eiev-live-wordmark { width:104px; }
.eiev-live-disciplines { gap:14px; padding:0 55px 8px; }
.eiev-live-disciplines button { min-height:80px; padding:7px 5px 8px; border-radius:12px; grid-template-rows:48px auto; }
.eiev-live-disciplines strong { font-size:12px; }
.discipline-art { height:48px; }
.discipline-art.is-endurance .eiev-live-status-icon { width:55px; height:45px; }
.eiev-live-socials { gap:12px; padding:10px 14px; }
.eiev-live-socials a { flex-basis:74px; height:56px; border-radius:10px; }
.social-tv { transform:scale(.82); }
.social-facebook,.social-x,.social-instagram,.social-tiktok { transform:scale(.72); }
.eiev-live-country-filter { gap:6px; padding:9px 7px 10px; }
.eiev-live-country-filter button { min-height:30px; padding:3px 9px; font-size:12px; }
.eiev-live-event-card { min-height:100px; margin-bottom:10px; border-radius:12px; }
.event-rides { gap:5px; }
.event-rides strong { font-size:18px; }
.event-rides span { padding:2px 9px; font-size:12px; }
.event-copy { padding:8px 11px; }
.event-place { font-size:12px; }
.event-copy h2 { margin:1px 0 8px; font-size:15px; }
.event-copy time { font-size:11px; }
.event-state { gap:4px; padding:7px; }
.event-state .eiev-live-flag.is-round { width:42px; height:42px; }
.event-state strong { font-size:11px; }
.eiev-live-page-title { min-height:105px; padding:0 22px 22px; }
.eiev-live-page-title h1 { font-size:21px; }
.eiev-live-ride-card { min-height:100px; margin-bottom:11px; border-radius:12px; }
.ride-date { gap:5px; }
.ride-date strong { font-size:20px; }
.ride-date span { min-width:50px; padding:3px 8px; font-size:14px; }
.ride-copy { padding:10px 13px; }
.ride-copy h2 { margin-bottom:9px; font-size:14px; line-height:1.15; }
.ride-counts { gap:4px; }
.ride-counts span { padding:2px 6px; font-size:10px; }
.ride-state { gap:12px; padding:7px; font-size:11px; }
@media (max-width:390px) {
  .eiev-live-disciplines { gap:14px; padding-inline:55px; }
  .eiev-live-disciplines button { min-height:80px; padding-inline:5px; }
  .discipline-art { height:48px; }
  .eiev-live-socials a { flex-basis:74px; height:56px; }
  .social-facebook,.social-x,.social-instagram,.social-tiktok { transform:scale(.72); }
  .eiev-live-event-card { min-height:100px; }
  .eiev-live-ride-card { min-height:100px; }
}
.eiev-live-ride-card { grid-template-columns:56px minmax(0,1fr) 68px; min-height:90px; }
.ride-state svg { order:1; }
.ride-state strong { order:2; white-space:nowrap; font-size:10px; }
@media (max-width:620px) {
  .eiev-live-ride-card { grid-template-columns:56px minmax(0,1fr) 68px; min-height:90px; }
}
@media (max-width:390px) {
  .eiev-live-ride-card { min-height:90px; }
}

/* Pixel-matched Ride Summary scenes from the supplied EIEV mobile layout.
   The artwork is fixed, while labels and counts remain live API values. */
.eiev-live-full-summary .summary-scene {
    min-height: 0;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.eiev-live-full-summary .scene-farm {
    aspect-ratio: 736 / 476;
    background-image: url('../images/live-app/summary/farm.webp');
}
.eiev-live-full-summary .scene-inspection {
    aspect-ratio: 736 / 300;
    background-image: url('../images/live-app/summary/inspection.webp');
}
.eiev-live-full-summary .scene-ready,
.eiev-live-full-summary .scene-finish {
    aspect-ratio: 736 / 305;
}
.eiev-live-full-summary .scene-ready { background-image: url('../images/live-app/summary/ready.webp'); }
.eiev-live-full-summary .scene-finish { background-image: url('../images/live-app/summary/finish.webp'); }
.eiev-live-full-summary .scene-farm::after,
.eiev-live-full-summary .scene-inspection::before,
.eiev-live-full-summary .scene-barn,
.eiev-live-full-summary .scene-tree,
.eiev-live-full-summary .scene-fence,
.eiev-live-full-summary .scene-hills,
.eiev-live-full-summary .scene-mountains { display:none; }
.eiev-live-full-summary .scene-pair,
.eiev-live-full-summary .scene-triple {
    inset:auto;
    bottom:auto;
    padding:0;
    gap:0;
    align-items:start;
}
.eiev-live-full-summary .scene-farm .scene-pair {
    top:49.8%;
    left:28%;
    width:51.9%;
    grid-template-columns:42.4% 42.4%;
    column-gap:15.2%;
}
.eiev-live-full-summary .scene-inspection .scene-triple {
    top:6%;
    left:10.7%;
    width:78.5%;
    grid-template-columns:24.1% 24.1% 24.1%;
    column-gap:13.85%;
}
.eiev-live-full-summary .scene-ready .scene-triple {
    top:20.7%;
    left:10.7%;
    width:78.5%;
    grid-template-columns:24.1% 24.1% 24.1%;
    column-gap:13.85%;
}
.eiev-live-full-summary .scene-finish .scene-pair {
    top:20.7%;
    left:20.5%;
    width:58.6%;
    grid-template-columns:32.2% 32.2%;
    column-gap:35.6%;
}
.eiev-live-full-summary .summary-scene .scene-status {
    display:block;
    width:100%;
    min-width:0;
}
.eiev-live-full-summary .summary-scene .scene-status > span {
    display:grid;
    align-content:center;
    width:100%;
    min-width:0;
    height:clamp(42px,10.9vw,80px);
    padding:3px 2px 4px;
    border-radius:clamp(7px,1.8vw,13px);
    font-size:clamp(13px,3.25vw,24px);
    line-height:1.08;
    box-shadow:none;
}
.eiev-live-full-summary .summary-scene .scene-status > span b {
    margin-top:2px;
    font-size:clamp(17px,4.5vw,33px);
    font-weight:600;
}
.eiev-live-full-summary .summary-scene .scene-status > span::after {
    bottom:clamp(-9px,-2.2vw,-16px);
    border-width:clamp(8px,2.1vw,15px);
    border-bottom:0;
}
.eiev-live-full-summary .summary-scene .scene-status .eiev-live-status-icon {
    visibility:hidden;
    width:0;
    height:0;
    margin:0;
}
.eiev-live-full-summary .scene-inspection .scene-status > span,
.eiev-live-full-summary .scene-ready .scene-status > span,
.eiev-live-full-summary .scene-finish .scene-status > span {
    height:clamp(38px,9.7vw,72px);
    font-size:clamp(12px,3.1vw,23px);
}
.eiev-live-full-summary .scene-inspection .scene-status > span b,
.eiev-live-full-summary .scene-ready .scene-status > span b,
.eiev-live-full-summary .scene-finish .scene-status > span b {
    font-size:clamp(17px,4.4vw,32px);
}

body.compiegne-showcase-page { scrollbar-width:none; }
body.compiegne-showcase-page::-webkit-scrollbar { width:0; height:0; }
.eiev-live-app.is-ride-summary { padding-bottom:0; }
.eiev-live-full-summary .summary-scene .scene-status > span strong { font-weight:700; }
.eiev-live-full-summary .scene-farm .scene-status > span { font-size:clamp(14px,3.75vw,27px); }
.eiev-live-full-summary .scene-inspection .scene-status > span,
.eiev-live-full-summary .scene-ready .scene-status > span,
.eiev-live-full-summary .scene-finish .scene-status > span { font-size:clamp(13px,3.45vw,25px); }

/* ========================================================================== */
/* Responsive native results layout — desktop, laptop, tablet and mobile.     */
/* The results are normal document HTML; no results iframe is used.            */
/* ========================================================================== */
:root {
    --eiev-frame: 1600px;
    --eiev-charcoal: #414141;
    --eiev-charcoal-soft: #505050;
    --eiev-panel-line: #d8bd72;
}

body.compiegne-showcase-page,
html[data-theme="light"] body.compiegne-showcase-page,
html[data-theme="dark"] body.compiegne-showcase-page {
    background: #fff !important;
    overflow-x: hidden;
}

body.compiegne-showcase-page .site-main,
body.compiegne-showcase-page .cex-page,
body.compiegne-showcase-page .compiegne-results-section,
body.compiegne-showcase-page .cex-sponsor-footer {
    background: #fff !important;
}

/* Keep the approved poster / introduction / YouTube header and use only the
   gold EIEV wordmark in the results-brand position. */
body.compiegne-showcase-page .cex-hub-brand.is-wordmark-only {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 104px;
    margin: 10px 0 18px;
}
body.compiegne-showcase-page .cex-hub-brand.is-wordmark-only > img {
    width: clamp(136px, 18vw, 220px);
    max-height: none;
    height: auto;
    margin: 0;
    object-fit: contain;
}
body.compiegne-showcase-page .cex-countries button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
body.compiegne-showcase-page .cex-countries button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}
body.compiegne-showcase-page .cex-countries .eiev-live-flag {
    width: 24px;
    height: 18px;
}

body.compiegne-showcase-page .compiegne-results-section {
    width: 100%;
    padding: clamp(28px, 4vw, 64px) 0 clamp(44px, 6vw, 90px) !important;
}
body.compiegne-showcase-page .compiegne-results-section > .container-fluid {
    width: min(calc(100% - clamp(24px, 5vw, 84px)), 1680px) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

[data-live-event-app],
.eiev-live-shell {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 auto;
    background: #fff;
    isolation: isolate;
}
.eiev-live-app {
    width: 100%;
    max-width: var(--eiev-frame);
    min-height: 0;
    margin: 0 auto;
    padding-bottom: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(190, 148, 59, .42);
    border-radius: clamp(14px, 2vw, 24px);
    background: #fff;
    color: var(--eiev-text);
    box-shadow: 0 18px 55px rgba(61, 45, 17, .10);
}
.eiev-live-app > * { max-width: none; }
.eiev-live-bottom-nav { display: none !important; }

/* EIEV-only results top bars. */
.eiev-live-topbar,
.eiev-live-rider-top {
    min-height: 98px !important;
    padding: 16px clamp(20px, 3vw, 46px) 10px !important;
    border-bottom: 1px solid #f0e6ca;
    background: #fff;
}
.eiev-live-topbar .eiev-live-wordmark,
.eiev-live-rider-top .eiev-live-wordmark {
    width: clamp(118px, 12vw, 185px) !important;
    height: auto;
}
.eiev-live-topbar.has-race-tools { min-height: 104px !important; }

/* Landing event cards now sit below the preserved hero instead of duplicating
   the mobile-app header. */
.eiev-live-results-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    grid-column: 1 / -1;
    padding: 0 0 12px;
    border-bottom: 1px solid #ead9aa;
}
.eiev-live-results-intro span {
    color: var(--eiev-gold-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.eiev-live-results-intro h1 {
    margin: 2px 0 0;
    font-size: clamp(26px, 3vw, 42px);
}
.eiev-live-results-intro p {
    max-width: 620px;
    margin: 0;
    color: #777;
    text-align: right;
}
.eiev-live-event-list,
.eiev-live-rides-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: clamp(24px, 4vw, 48px) !important;
    background: #fff;
}
.eiev-live-event-card,
.eiev-live-ride-card {
    width: 100%;
    margin: 0 !important;
    border: 1px solid #eee4c7;
    box-shadow: 0 8px 24px rgba(0,0,0,.07);
}
.eiev-live-page-title {
    min-height: 110px;
    padding: 24px 30px 20px;
}

/* Race header. */
.eiev-live-race-title {
    padding: 20px clamp(22px, 4vw, 60px) 18px;
}
.eiev-live-race-title h1 {
    max-width: 1050px;
    font-size: clamp(20px, 2.3vw, 34px) !important;
}
.eiev-live-race-facts {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 34px;
    min-height: 54px;
    padding: 12px clamp(20px, 4vw, 58px);
    overflow: visible;
    font-size: clamp(13px, 1.3vw, 18px) !important;
}
.eiev-live-race-tabs a {
    min-height: 58px;
    font-size: clamp(13px, 1.25vw, 18px) !important;
}
.eiev-live-rider-tools {
    grid-template-columns: minmax(260px, 1fr) 48px auto !important;
    max-width: 920px;
    margin: 0 auto;
    padding: 28px 28px 20px !important;
}
.eiev-live-rider-tools input {
    height: 50px !important;
    font-size: 15px;
}
.eiev-live-rider-tools select,
.eiev-live-rider-tools.is-filter-open select {
    width: auto;
    max-width: 190px;
    height: 46px;
    padding: 0 34px 0 12px;
    opacity: 1;
    border: 1px solid #c9b476;
    border-radius: 10px;
    background: #fff;
    pointer-events: auto;
}
.eiev-live-rider-tools button { display: none; }

/* Full desktop participant table. Every column remains present. */
.eiev-live-leaderboard {
    padding-bottom: 0 !important;
    overflow: visible !important;
    background: #fff;
}
.eiev-live-leader-table {
    width: 100%;
    overflow-x: auto;
    scrollbar-color: var(--eiev-gold) #f3eddc;
}
.eiev-live-leader-head,
.eiev-live-leader-row {
    display: grid;
    grid-template-columns: 76px 72px minmax(280px, 2.2fr) 90px minmax(150px, 1fr) 118px 118px 112px 112px;
    width: 100%;
    min-width: 1180px;
}
.eiev-live-leader-head {
    position: sticky;
    top: 0;
    left: auto;
    z-index: 5;
    min-height: 54px;
    background: linear-gradient(100deg, #bf9237, #e0c16b);
    color: #fff;
    font-size: 12px;
    letter-spacing: .01em;
}
.eiev-live-leader-head span {
    display: grid;
    place-items: center;
    padding: 9px 6px;
    border-right: 1px solid rgba(255,255,255,.24);
    overflow: visible;
}
.eiev-live-leader-row {
    min-height: 88px;
    align-items: stretch;
    border-bottom: 1px solid #ece6d6;
    background: #fff;
}
.eiev-live-leader-row:nth-child(even) { background: #fffdf7; }
.eiev-live-leader-row > div {
    display: grid;
    place-items: center;
    align-content: center;
    min-width: 0;
    padding: 9px 8px;
    border-right: 1px solid #eee7d4;
    text-align: center;
}
.eiev-live-leader-row > div::before { display: none; }
.leader-pos { border-right: 1px dashed #d1b56e !important; }
.leader-pos strong { font-size: 20px; }
.leader-pos span { margin-top: 5px; }
.leader-bib strong { font-size: 18px; }
.leader-person {
    justify-items: start !important;
    text-align: left !important;
}
.leader-person strong {
    font-size: 15px;
    line-height: 1.15;
}
.leader-person span {
    margin-top: 6px;
    color: #444;
    font-size: 14px;
    font-weight: 700;
}
.leader-country { gap: 5px; }
.leader-country .eiev-live-flag.is-row {
    width: 28px;
    height: 21px;
    margin: 0;
}
.leader-country span { font-size: 11px; font-weight: 700; }
.leader-status { gap: 3px; font-size: 11px; }
.leader-status .eiev-live-status-icon { width: 52px; height: 42px; }
.leader-departure,
.leader-arrival,
.leader-speed,
.leader-trail { font-size: 14px; }
.leader-departure strong,
.leader-arrival strong,
.leader-speed strong,
.leader-trail strong { font-weight: 600; }
.leader-trail strong {
    min-width: 72px;
    padding: 3px 9px;
    border: 1px solid #d8c883;
    border-radius: 14px;
    background: #fff;
}

/* Participant identity. */
.eiev-live-rider-top {
    display: grid;
    grid-template-columns: 54px 1fr 54px;
    align-items: center;
}
.eiev-live-rider-top > .eiev-live-wordmark { justify-self: center; }
.eiev-live-rider-profile {
    display: grid !important;
    grid-template-columns: 110px 112px minmax(0, 1fr) minmax(145px, 190px) !important;
    grid-template-rows: auto !important;
    gap: 20px !important;
    align-items: center !important;
    min-height: 190px !important;
    padding: 28px clamp(28px, 4vw, 64px) !important;
    border-bottom: 1px solid #e5d6aa;
    background: #fff;
}
.rider-bib-country {
    display: grid;
    justify-items: center;
    gap: 10px;
}
.rider-bib-country > strong {
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1;
}
.eiev-live-flag.is-profile { width: 62px; height: 62px; }
.rider-photo {
    position: static !important;
    width: 112px !important;
    height: 132px !important;
    border-radius: 12px;
    object-fit: cover;
}
.rider-profile-copy { min-width: 0; }
.rider-name-block,
.rider-horse-block {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
}
.rider-name-block h1,
.rider-horse-block h2 {
    margin: 0;
    color: #2697dc;
    font-size: clamp(20px, 2.2vw, 32px);
    line-height: 1.18;
}
.rider-horse-block { margin-top: 18px !important; }
.rider-horse-block h2 { font-size: clamp(18px, 1.9vw, 28px); }
.rider-name-block span,
.rider-horse-block span {
    display: block;
    margin-top: 3px;
    color: #9a9a9a;
    font-size: 14px;
}
.rider-current-status {
    display: grid;
    justify-items: center;
    gap: 8px;
    color: var(--eiev-gold-deep);
    text-align: center;
}
.rider-current-status .eiev-live-status-icon { width: 92px; height: 72px; }
.rider-current-status strong { font-size: 16px; }
.rider-view-toggle { display: none !important; }
.eiev-live-rider-race-context {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px clamp(22px, 4vw, 60px);
    border-bottom: 1px solid #eee5ca;
    text-align: center;
}
.eiev-live-rider-race-context span { color: #888; font-size: 13px; }
.eiev-live-rider-race-context h2 {
    margin: 2px 0 0;
    color: var(--eiev-gold-deep);
    font-size: clamp(18px, 2vw, 29px);
}

/* Poster-inspired complete gate matrix. */
.eiev-live-rider-matrix {
    padding: clamp(24px, 3.4vw, 50px) clamp(18px, 2.7vw, 44px) 30px;
    background: #fff;
}
.eiev-live-matrix-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}
.eiev-live-matrix-heading span {
    color: var(--eiev-gold-deep);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.eiev-live-matrix-heading h2 {
    margin: 3px 0 0;
    font-size: clamp(24px, 2.7vw, 38px);
}
.eiev-live-matrix-heading small {
    max-width: 520px;
    color: #777;
    font-size: 12px;
    text-align: right;
}
.eiev-live-matrix-scroll {
    width: 100%;
    overflow: visible;
    outline: none;
}
.eiev-live-matrix-table {
    display: grid;
    gap: 18px;
    width: 100%;
}
.eiev-live-matrix-gate {
    overflow: hidden;
    border: 1px solid #cfcfcf;
    border-radius: 14px;
    background: var(--eiev-charcoal);
    box-shadow: 0 8px 20px rgba(0,0,0,.09);
}
.eiev-live-matrix-gate > h3 {
    margin: 0;
    padding: 10px 12px;
    border-bottom: 1px solid #d3d3d3;
    background: #fff;
    color: #111;
    font-size: clamp(14px, 1.3vw, 19px);
    font-weight: 800;
    text-align: center;
}
.eiev-live-matrix-row {
    display: grid;
    grid-template-columns: repeat(15, minmax(72px, 1fr));
    width: 100%;
}
.eiev-live-matrix-cell {
    display: grid;
    place-items: center;
    align-content: center;
    min-width: 0;
    min-height: 106px;
    padding: 10px 5px;
    border-right: 1px solid rgba(255,255,255,.14);
    background: var(--eiev-charcoal);
    color: #fff;
    text-align: center;
}
.eiev-live-matrix-cell:last-child { border-right: 0; }
.eiev-live-matrix-cell > span {
    min-height: 32px;
    color: #f1f1f1;
    font-size: clamp(9px, .82vw, 13px);
    line-height: 1.12;
}
.eiev-live-matrix-cell > strong {
    margin-top: 8px;
    font-size: clamp(15px, 1.55vw, 25px);
    font-weight: 400;
    line-height: 1.05;
    overflow-wrap: anywhere;
}
.eiev-live-matrix-cell.is-heart strong {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 48px;
    margin-top: 2px;
    color: #fff;
}
.eiev-live-matrix-cell.is-heart strong::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #43ad4e;
    clip-path: polygon(50% 98%, 8% 58%, 0 30%, 8% 10%, 27% 0, 50% 10%, 73% 0, 92% 10%, 100% 30%, 92% 58%);
}
.eiev-live-matrix-cell.is-heart strong i {
    position: relative;
    z-index: 1;
    font-style: normal;
    font-size: 17px;
}
.eiev-live-matrix-cell.is-phase-average { background: #43ad4e; }
.eiev-live-matrix-cell.is-loop-average { background: #777; }
.eiev-live-gate-secondary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    border-top: 1px solid rgba(255,255,255,.16);
    background: #363636;
    color: #fff;
}
.eiev-live-gate-secondary > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px;
    border-right: 1px solid rgba(255,255,255,.12);
    text-align: center;
}
.eiev-live-gate-secondary > div:last-child { border-right: 0; }
.eiev-live-gate-secondary span { color: #cfcfcf; font-size: 10px; text-transform: uppercase; }
.eiev-live-gate-secondary strong { font-size: 13px; font-weight: 600; }

/* Performance and API information are visible rather than hidden behind the
   old four-page mobile metric carousel. */
.rider-metrics { display: none !important; }
.rider-performance {
    display: block !important;
    padding: 20px clamp(18px, 3vw, 44px) 38px !important;
    background: #fff;
}
.performance-card {
    max-width: 1120px;
    margin: 0 auto;
    border: 1px solid #ead8a7;
    box-shadow: 0 10px 28px rgba(0,0,0,.10);
}
.performance-person { grid-template-columns: 92px minmax(0,1fr) 120px; }
.performance-chart svg { max-height: 620px; }

.eiev-live-api-details {
    padding: 36px clamp(18px, 3vw, 44px) 28px;
    border-top: 1px solid #ead8a7;
    background: #fff;
}
.eiev-live-api-details .eiev-live-section-title {
    margin-bottom: 18px;
}
.eiev-live-data-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid #e2d3aa;
    border-radius: 12px;
    background: #e2d3aa;
}
.eiev-live-data-grid > div {
    min-width: 0;
    min-height: 72px;
    padding: 12px 14px;
    background: #fff;
}
.eiev-live-data-grid span {
    display: block;
    color: #8a7a52;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.eiev-live-data-grid strong {
    display: block;
    margin-top: 5px;
    color: #222;
    font-size: 14px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.eiev-live-raw-details {
    margin-top: 22px;
    border: 1px solid #e2d3aa;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.eiev-live-raw-details > summary {
    padding: 15px 18px;
    background: #fff9e9;
    color: #6d5420;
    font-weight: 800;
    cursor: pointer;
}
.eiev-live-raw-details > .eiev-live-data-grid,
.eiev-live-gate-records { border: 0; border-radius: 0; }
.eiev-live-gate-records { display: grid; gap: 20px; padding: 20px; }
.eiev-live-gate-records article > h3 {
    margin: 0 0 10px;
    color: var(--eiev-gold-deep);
    font-size: 18px;
}
.eiev-live-data-grid.is-raw { grid-template-columns: repeat(5, minmax(0,1fr)); }

/* Participant navigation is an in-flow control, never a fixed footer bar. */
.eiev-live-rider-nav {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: grid;
    grid-template-columns: 1fr auto 1fr !important;
    gap: 14px !important;
    width: auto !important;
    max-width: 760px;
    margin: 18px auto 42px;
    padding: 0 18px;
    pointer-events: auto;
}
.eiev-live-rider-nav > a,
.eiev-live-rider-nav > span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto !important;
    height: auto !important;
    min-height: 48px;
    padding: 10px 18px;
    border: 1px solid #d8c17f;
    border-radius: 999px !important;
    background: #fff !important;
    color: #5d4b21 !important;
    box-shadow: none !important;
}
.eiev-live-rider-nav .rider-next { justify-self: end; }
.eiev-live-rider-nav .rider-prev { justify-self: start; }
.eiev-live-rider-nav .rider-all {
    background: var(--eiev-gold-deep) !important;
    color: #fff !important;
}
.eiev-live-rider-nav b { font-size: 22px !important; line-height: 1 !important; }
.eiev-live-rider-nav .is-disabled { opacity: .4; }

.eiev-live-more-data { display: none !important; }
.eiev-live-api-notice,
.eiev-live-inline-error { margin-bottom: 24px; }

/* Other views remain centered and readable at desktop widths. */
.eiev-live-summary-page,
.eiev-live-gates-page { max-width: 1260px; margin: 0 auto; padding-bottom: 42px; }
.eiev-live-full-summary { width: min(100%, 736px); margin: 0 auto; }

@media (max-width: 1100px) {
    .eiev-live-event-list,
    .eiev-live-rides-list { grid-template-columns: 1fr; }
    .eiev-live-matrix-row { grid-template-columns: repeat(5, minmax(0,1fr)); }
    .eiev-live-matrix-cell { min-height: 94px; border-bottom: 1px solid rgba(255,255,255,.13); }
    .eiev-live-matrix-cell > span { min-height: 0; font-size: 11px; }
    .eiev-live-matrix-cell > strong { font-size: 20px; }
    .eiev-live-data-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .eiev-live-data-grid.is-raw { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 760px) {
    body.compiegne-showcase-page .compiegne-results-section > .container-fluid {
        width: calc(100% - 18px) !important;
    }
    .eiev-live-app { border-radius: 14px; }
    .eiev-live-topbar,
    .eiev-live-rider-top {
        min-height: 76px !important;
        padding: 10px 14px 7px !important;
    }
    .eiev-live-topbar .eiev-live-wordmark,
    .eiev-live-rider-top .eiev-live-wordmark { width: 105px !important; }
    .eiev-live-results-intro {
        display: block;
        padding-bottom: 16px;
    }
    .eiev-live-results-intro p { margin-top: 8px; text-align: left; }
    .eiev-live-event-list,
    .eiev-live-rides-list { padding: 18px 10px 24px !important; gap: 12px; }
    .eiev-live-race-facts { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; }
    .eiev-live-race-tabs { overflow-x: auto; grid-template-columns: repeat(4, minmax(105px,1fr)); }
    .eiev-live-rider-tools {
        grid-template-columns: 1fr !important;
        padding: 16px 12px !important;
    }
    .eiev-live-rider-tools select,
    .eiev-live-rider-tools.is-filter-open select { width: 100%; max-width: none; }

    .eiev-live-leader-table { overflow: visible; }
    .eiev-live-leader-head { display: none; }
    .eiev-live-leader-row {
        grid-template-columns: repeat(2, minmax(0,1fr));
        grid-template-areas:
            "pos bib"
            "person person"
            "country status"
            "departure arrival"
            "speed trail";
        width: auto;
        min-width: 0;
        margin: 0 10px 12px;
        border: 1px solid #ead9aa;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,.06);
        overflow: hidden;
    }
    .eiev-live-leader-row > div {
        position: relative;
        min-height: 74px;
        padding: 27px 10px 9px;
        border-right: 1px solid #eee7d4;
        border-bottom: 1px solid #eee7d4;
    }
    .eiev-live-leader-row > div::before {
        content: attr(data-label);
        position: absolute;
        top: 7px;
        left: 9px;
        display: block;
        color: #9a7b31;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .05em;
        text-transform: uppercase;
    }
    .leader-pos { grid-area: pos; border-right: 1px solid #eee7d4 !important; }
    .leader-bib { grid-area: bib; }
    .leader-person { grid-area: person; min-height: 82px !important; }
    .leader-country { grid-area: country; }
    .leader-status { grid-area: status; }
    .leader-departure { grid-area: departure; }
    .leader-arrival { grid-area: arrival; }
    .leader-speed { grid-area: speed; border-bottom: 0 !important; }
    .leader-trail { grid-area: trail; border-bottom: 0 !important; }
    .leader-person strong { font-size: 14px; }
    .leader-person span { font-size: 13px; }

    .eiev-live-rider-profile {
        grid-template-columns: 74px 78px minmax(0,1fr) !important;
        gap: 10px !important;
        min-height: 0 !important;
        padding: 18px 14px !important;
    }
    .rider-bib-country > strong { font-size: 26px; }
    .eiev-live-flag.is-profile { width: 44px; height: 44px; }
    .rider-photo { width: 78px !important; height: 96px !important; }
    .rider-current-status {
        grid-column: 1 / -1;
        grid-template-columns: 54px auto;
        justify-content: center;
        align-items: center;
    }
    .rider-current-status .eiev-live-status-icon { width: 54px; height: 44px; }
    .rider-name-block h1 { font-size: 17px; }
    .rider-horse-block h2 { font-size: 15px; }
    .rider-name-block span,
    .rider-horse-block span { font-size: 11px; }
    .rider-horse-block { margin-top: 10px !important; }

    .eiev-live-matrix-heading { display: block; }
    .eiev-live-matrix-heading small { display: block; margin-top: 8px; text-align: left; }
    .eiev-live-rider-matrix { padding: 22px 10px 24px; }
    .eiev-live-matrix-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .eiev-live-matrix-cell { min-height: 90px; padding: 10px 7px; }
    .eiev-live-matrix-cell > span { font-size: 10px; }
    .eiev-live-matrix-cell > strong { font-size: 18px; }
    .eiev-live-gate-secondary { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .eiev-live-gate-secondary > div:nth-child(2) { border-right: 0; }
    .eiev-live-gate-secondary > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }

    .rider-performance { padding: 12px 10px 26px !important; }
    .performance-person { grid-template-columns: 68px minmax(0,1fr) 70px; }
    .performance-card > header { padding: 18px 14px 12px; }
    .performance-card > header h1 { font-size: 17px; }
    .performance-card > header span { font-size: 12px; }
    .performance-chart { padding: 20px 8px 8px; overflow-x: auto; }
    .performance-chart svg { min-width: 620px; }

    .eiev-live-api-details { padding: 28px 10px 18px; }
    .eiev-live-data-grid,
    .eiev-live-data-grid.is-raw { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .eiev-live-data-grid > div { min-height: 66px; padding: 10px; }
    .eiev-live-data-grid strong { font-size: 12px; }
    .eiev-live-gate-records { padding: 12px; }

    .eiev-live-rider-nav {
        grid-template-columns: 1fr 1fr !important;
        max-width: none;
        margin-bottom: 28px;
    }
    .eiev-live-rider-nav .rider-all { grid-column: 1 / -1; grid-row: 1; }
    .eiev-live-rider-nav .rider-prev { grid-column: 1; grid-row: 2; }
    .eiev-live-rider-nav .rider-next { grid-column: 2; grid-row: 2; }
}

@media (max-width: 430px) {
    .eiev-live-event-card { grid-template-columns: 80px minmax(0,1fr) 78px; }
    .eiev-live-ride-card { grid-template-columns: 58px minmax(0,1fr) 68px; }
    .eiev-live-data-grid,
    .eiev-live-data-grid.is-raw { grid-template-columns: 1fr; }
    .eiev-live-rider-nav > a,
    .eiev-live-rider-nav > span { padding-inline: 12px; font-size: 12px; }
}

/* Final placement corrections: neutralize the former mobile carousel grid
   coordinates so the identity panel remains a single responsive row. */
.eiev-live-rider-profile > .rider-bib-country {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center;
}
.eiev-live-rider-profile > .rider-photo {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
}
.eiev-live-rider-profile > .rider-profile-copy {
    grid-column: 3 !important;
    grid-row: 1 !important;
    align-self: center;
}
.eiev-live-rider-profile > .rider-current-status {
    grid-column: 4 !important;
    grid-row: 1 !important;
    align-self: center;
}

/* Keep complete desktop matrix values on one readable line while preserving
   every column. At laptop/mobile breakpoints the matrix reflows into cards. */
@media (min-width: 1101px) {
    .eiev-live-matrix-cell > strong {
        white-space: nowrap;
        overflow-wrap: normal;
        font-size: clamp(14px, 1.15vw, 18px);
        font-variant-numeric: tabular-nums;
        letter-spacing: -.015em;
    }
    .eiev-live-matrix-cell.is-heart strong { font-size: 17px; }
}

@media (max-width: 760px) {
    .eiev-live-rider-profile > .rider-current-status {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
    }
}

/* Device-aware release: every EIEV brand position uses the official main
   Emirates International Endurance Village logo. */
body.compiegne-showcase-page .cex-hub-brand.is-wordmark-only > img {
    width: clamp(104px, 9vw, 142px) !important;
    max-height: 146px;
    object-fit: contain;
}
.eiev-live-wordmark,
.eiev-live-topbar .eiev-live-wordmark,
.eiev-live-rider-top .eiev-live-wordmark {
    width: clamp(72px, 7vw, 94px) !important;
    max-height: 96px;
    object-fit: contain;
}
@media (max-width: 760px) {
    body.compiegne-showcase-page .cex-hub-brand.is-wordmark-only > img {
        width: 104px !important;
        max-height: 108px;
    }
    .eiev-live-wordmark,
    .eiev-live-topbar .eiev-live-wordmark,
    .eiev-live-rider-top .eiev-live-wordmark {
        width: 72px !important;
        max-height: 74px;
    }
}

/* ========================================================================== 
   BRAGADO POSTER EXPERIENCE - DESKTOP/LAPTOP VARIANT ONLY
   Inspired by the supplied Bragado Endurance poster. The smartphone build
   uses compiegne-live-mobile.css and is intentionally not affected here.
   ========================================================================== */
body.compiegne-showcase-page.eiev-device-desktop {
    --bragado-navy: #114f7a;
    --bragado-navy-deep: #083a5d;
    --bragado-sky: #74b9e6;
    --bragado-sky-soft: #eaf7ff;
    --bragado-green: #008e53;
    --bragado-red: #e52335;
    --bragado-gold: #d6ad58;
    --bragado-ink: #112d42;
    --bragado-line: #cfe8f6;
    background: #fff !important;
    color: var(--bragado-ink) !important;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-page.cex-bragado-page {
    position: relative;
    overflow: clip;
    background: #fff;
    color: var(--bragado-ink);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-poster-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(54px, 6vw, 96px) 0 0;
    background:
        radial-gradient(circle at 13% 18%, rgba(116,185,230,.22), transparent 25%),
        radial-gradient(circle at 88% 18%, rgba(0,142,83,.12), transparent 25%),
        #fff;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-poster-fabric {
    position: absolute;
    z-index: -3;
    inset: 0 0 auto;
    height: clamp(230px, 28vw, 430px);
    background: url('../images/events/bragado-layout/flag-sweep.webp') center top / cover no-repeat;
    opacity: .93;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.96) 47%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.96) 47%, transparent 100%);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-poster-scene {
    position: absolute;
    z-index: -2;
    inset: auto 0 0;
    height: clamp(260px, 35vw, 520px);
    background: url('../images/events/bragado-layout/city-rider-scene.webp') center bottom / cover no-repeat;
    opacity: .085;
    filter: saturate(.15) contrast(.95);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 36%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 36%, #000 100%);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-poster-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .76fr);
    gap: clamp(42px, 5vw, 84px);
    align-items: center;
    width: min(calc(100% - 72px), 1420px);
    margin: 0 auto;
    padding-bottom: clamp(58px, 6vw, 92px);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-hero-story {
    position: relative;
    min-width: 0;
    padding: clamp(28px, 3vw, 46px);
    border: 1px solid rgba(255,255,255,.92);
    border-radius: 30px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 30px 80px rgba(17,79,122,.13);
    backdrop-filter: blur(10px);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-hero-story::before {
    content: "";
    position: absolute;
    inset: 20px auto 20px 0;
    width: 5px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, var(--bragado-sky), var(--bragado-green) 53%, var(--bragado-red));
}

body.compiegne-showcase-page.eiev-device-desktop .cex-hero-brand {
    display: inline-flex;
    align-items: center;
    width: clamp(112px, 10vw, 156px);
    margin-bottom: clamp(18px, 2vw, 28px);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-hero-brand img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-series-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 0 0 13px;
    color: var(--bragado-navy);
    font-size: clamp(11px, .95vw, 14px);
    font-weight: 900;
    letter-spacing: .13em;
    line-height: 1.35;
    text-transform: uppercase;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-series-kicker span {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--bragado-navy);
    color: #fff;
    font-size: .78em;
    letter-spacing: .09em;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-hero-story h1 {
    display: grid;
    gap: 1px;
    width: auto;
    max-width: none;
    margin: 0;
    color: var(--bragado-navy) !important;
    font-family: "Cairo", Arial, sans-serif;
    font-size: clamp(38px, 4.5vw, 74px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .98;
    text-transform: uppercase;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-hero-story h1 strong {
    color: var(--bragado-navy) !important;
    font-size: 1.28em;
    font-weight: 900;
    letter-spacing: -.065em;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-series-intro {
    max-width: 540px;
    margin: 18px 0 24px;
    color: #84939d;
    font-size: clamp(18px, 1.7vw, 26px);
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.22;
    text-transform: uppercase;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-patronage-card {
    display: grid;
    gap: 4px;
    margin: 0 0 24px;
    padding: 17px 20px;
    border-left: 4px solid var(--bragado-sky);
    background: linear-gradient(90deg, rgba(116,185,230,.15), rgba(255,255,255,.35));
}

body.compiegne-showcase-page.eiev-device-desktop .cex-patronage-card small {
    color: var(--bragado-navy);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-patronage-card strong {
    color: var(--bragado-navy);
    font-size: clamp(17px, 1.5vw, 23px);
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-patronage-card span {
    color: #526979;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-video-card {
    width: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: var(--bragado-navy-deep);
    box-shadow: 0 20px 45px rgba(8,58,93,.24);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-video-head {
    min-height: 44px;
    padding: 10px 16px;
    background: linear-gradient(90deg, var(--bragado-navy-deep), var(--bragado-navy));
    font-size: 11px;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-video-head small {
    color: rgba(255,255,255,.72);
    font-size: 10px;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-video-frame {
    aspect-ratio: 16 / 9;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-results-button,
body.compiegne-showcase-page.eiev-device-desktop .cex-poster-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 0;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-results-button {
    background: var(--bragado-navy);
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(17,79,122,.22);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-poster-button {
    border: 1px solid var(--bragado-navy);
    background: #fff;
    color: var(--bragado-navy) !important;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-results-button:hover,
body.compiegne-showcase-page.eiev-device-desktop .cex-results-button:focus-visible,
body.compiegne-showcase-page.eiev-device-desktop .cex-poster-button:hover,
body.compiegne-showcase-page.eiev-device-desktop .cex-poster-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(17,79,122,.2);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-poster {
    position: relative;
    width: min(100%, 540px);
    margin: 0 auto;
    padding: 0;
    filter: none;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-poster::before {
    content: "OFFICIAL POSTER";
    position: absolute;
    z-index: 2;
    top: 22px;
    right: -12px;
    padding: 8px 15px;
    border-radius: 999px;
    background: var(--bragado-red);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    box-shadow: 0 10px 24px rgba(229,35,53,.25);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-poster a {
    display: block;
    overflow: hidden;
    border: 10px solid rgba(255,255,255,.98);
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 35px 80px rgba(17,79,122,.25);
    transform: rotate(1.15deg);
    transition: transform .25s ease, box-shadow .25s ease;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-poster a:hover,
body.compiegne-showcase-page.eiev-device-desktop .cex-poster a:focus-visible {
    transform: rotate(0) translateY(-4px);
    box-shadow: 0 40px 90px rgba(17,79,122,.3);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-poster img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
    filter: none;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-event-band {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(15px, 2.4vw, 36px);
    min-height: 82px;
    padding: 16px 30px;
    background: var(--bragado-navy);
    color: #fff;
    box-shadow: 0 18px 42px rgba(17,79,122,.18);
    font-size: clamp(20px, 2vw, 34px);
    line-height: 1.15;
    text-transform: uppercase;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-event-band span,
body.compiegne-showcase-page.eiev-device-desktop .cex-event-band strong {
    color: #fff;
    font-weight: 700;
    letter-spacing: .02em;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-event-band i {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--bragado-sky);
    box-shadow: 20px 0 0 var(--bragado-green), 40px 0 0 var(--bragado-red);
    margin-right: 40px;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-hub {
    width: min(calc(100% - 72px), 1320px);
    margin: clamp(48px, 6vw, 82px) auto 0;
    padding: clamp(28px, 3.5vw, 48px);
    border: 1px solid var(--bragado-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(17,79,122,.09);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-hub-heading {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--bragado-line);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-hub-heading .cex-hub-brand {
    display: grid;
    place-items: center;
    min-height: 0;
    margin: 0;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-hub-heading .cex-hub-brand > img {
    width: 132px !important;
    max-height: 136px;
    margin: 0;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-hub-heading span {
    display: block;
    margin-bottom: 5px;
    color: var(--bragado-green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-hub-heading h2 {
    margin: 0;
    color: var(--bragado-navy);
    font-size: clamp(25px, 2.4vw, 38px);
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.1;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-hub-heading p {
    max-width: 780px;
    margin: 7px 0 0;
    color: #627988;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-disciplines {
    gap: 14px;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-disciplines > * {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    min-height: 122px;
    padding: 16px 20px;
    border-color: var(--bragado-line);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(17,79,122,.07);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-disciplines > .is-active {
    border-color: var(--bragado-navy);
    background: linear-gradient(135deg, var(--bragado-navy-deep), var(--bragado-navy));
    color: #fff;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-disciplines > *:hover,
body.compiegne-showcase-page.eiev-device-desktop .cex-disciplines > *:focus-visible {
    border-color: var(--bragado-sky);
    box-shadow: 0 16px 30px rgba(17,79,122,.13);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-discipline-image {
    width: 92px;
    height: 66px;
    border-radius: 12px;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-discipline-copy strong {
    font-size: 16px;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-discipline-copy small {
    color: #718895;
    font-size: 10px;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-media {
    gap: 10px;
    margin-top: 14px;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-media a {
    min-height: 68px;
    border-color: var(--bragado-line);
    border-radius: 15px;
    box-shadow: 0 7px 18px rgba(17,79,122,.06);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-media a:hover,
body.compiegne-showcase-page.eiev-device-desktop .cex-media a:focus-visible {
    transform: translateY(-2px);
    border-color: var(--bragado-sky);
    box-shadow: 0 13px 25px rgba(17,79,122,.12);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-media strong {
    color: var(--bragado-navy);
    font-size: 18px;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-media small {
    color: #617988;
    font-size: 8px;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-countries {
    gap: 9px;
    margin-top: 16px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--bragado-sky) transparent;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-countries button {
    min-height: 39px;
    padding: 0 15px;
    border: 1px solid var(--bragado-line);
    background: var(--bragado-sky-soft);
    color: var(--bragado-navy);
    font-size: 11px;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-countries button.is-active {
    border-color: var(--bragado-navy);
    background: var(--bragado-navy);
    color: #fff;
}

body.compiegne-showcase-page.eiev-device-desktop .compiegne-results-section {
    position: relative;
    margin-top: clamp(54px, 6vw, 86px);
    padding: clamp(48px, 6vw, 84px) 0 clamp(58px, 7vw, 100px) !important;
    background:
        linear-gradient(180deg, var(--bragado-sky-soft) 0%, #fff 18%, #fff 100%) !important;
}

body.compiegne-showcase-page.eiev-device-desktop .compiegne-results-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 8px;
    background: linear-gradient(90deg, var(--bragado-sky) 0 34%, var(--bragado-green) 34% 67%, var(--bragado-red) 67% 100%);
}

body.compiegne-showcase-page.eiev-device-desktop .cex-results-heading {
    width: min(calc(100% - 72px), 1180px);
    margin: 0 auto 30px;
    text-align: center;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-results-heading > span {
    color: var(--bragado-green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-results-heading h2 {
    margin: 6px 0 7px;
    color: var(--bragado-navy);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 900;
    letter-spacing: -.035em;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-results-heading p {
    max-width: 790px;
    margin: 0 auto;
    color: #627988;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

body.compiegne-showcase-page.eiev-device-desktop .compiegne-results-section > .container-fluid {
    width: min(calc(100% - 72px), 1380px) !important;
}

body.compiegne-showcase-page.eiev-device-desktop #officialEventData.eiev-results-app.is-compiegne-landing {
    --app-gold: var(--bragado-sky);
    --app-gold-dark: var(--bragado-navy);
    --app-green: var(--bragado-green);
    --app-red: var(--bragado-red);
    --app-blue: var(--bragado-navy);
    --app-line: var(--bragado-line);
    border-color: var(--bragado-line) !important;
    border-radius: 26px !important;
    box-shadow: 0 28px 74px rgba(17,79,122,.13) !important;
}

body.compiegne-showcase-page.eiev-device-desktop #officialEventData .eiev-app-results-table thead th {
    background: var(--bragado-navy) !important;
    color: #fff !important;
}

body.compiegne-showcase-page.eiev-device-desktop #officialEventData .eiev-app-bib {
    background: var(--bragado-sky-soft) !important;
    color: var(--bragado-navy) !important;
}

body.compiegne-showcase-page.eiev-device-desktop #officialEventData .eiev-app-result-row:hover td,
body.compiegne-showcase-page.eiev-device-desktop #officialEventData .eiev-app-result-row:focus-within td {
    background: #f2fbff !important;
}

body.compiegne-showcase-page.eiev-device-desktop #officialEventData .eiev-app-ride-card {
    border-left-color: var(--bragado-sky) !important;
}

body.compiegne-showcase-page.eiev-device-desktop #officialEventData .eiev-app-rider-summary article {
    background: var(--bragado-navy) !important;
}

body.compiegne-showcase-page.eiev-device-desktop #officialEventData .eiev-app-rider-gate {
    background: var(--bragado-navy-deep) !important;
}

body.compiegne-showcase-page.eiev-device-desktop #officialEventData .eiev-app-result-tabs a.is-active {
    color: var(--bragado-navy) !important;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-sponsor-footer {
    width: min(calc(100% - 44px), 1488px);
    margin: 0 auto;
    padding: 0 0 34px;
    overflow: hidden;
    background: #fff;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-sponsor-footer img {
    display: block;
    width: 100%;
    height: auto;
}

body.compiegne-showcase-page.eiev-device-desktop .cex-live-now-bar {
    min-height: 46px;
    background: linear-gradient(90deg, var(--bragado-navy-deep), var(--bragado-green), var(--bragado-navy-deep));
}

/* Laptop and tablet refinement within the desktop experience. */
@media (max-width: 1180px) {
    body.compiegne-showcase-page.eiev-device-desktop .cex-poster-hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(350px, .68fr);
        gap: 34px;
        width: min(calc(100% - 44px), 1100px);
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-hero-story {
        padding: 28px;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-poster {
        width: min(100%, 450px);
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-hub,
    body.compiegne-showcase-page.eiev-device-desktop .cex-results-heading,
    body.compiegne-showcase-page.eiev-device-desktop .compiegne-results-section > .container-fluid {
        width: calc(100% - 44px) !important;
    }
}

@media (max-width: 920px) {
    body.compiegne-showcase-page.eiev-device-desktop .cex-poster-hero-inner {
        grid-template-columns: 1fr;
        width: min(calc(100% - 36px), 760px);
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-poster {
        width: min(100%, 520px);
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-poster a {
        transform: none;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-event-band {
        flex-wrap: wrap;
        text-align: center;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-hub-heading {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 22px;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-hub-heading .cex-hub-brand > img {
        width: 102px !important;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-disciplines > * {
        grid-template-columns: 68px minmax(0, 1fr);
        padding: 14px;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-discipline-image {
        width: 68px;
        height: 52px;
    }
}

@media (max-width: 680px) {
    body.compiegne-showcase-page.eiev-device-desktop .cex-poster-hero {
        padding-top: 32px;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-poster-hero-inner {
        width: calc(100% - 22px);
        padding-bottom: 36px;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-hero-story {
        padding: 24px 18px;
        border-radius: 22px;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-hero-story h1 {
        font-size: clamp(34px, 11vw, 54px);
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-event-band {
        gap: 10px;
        min-height: 72px;
        padding: 13px 16px;
        font-size: clamp(17px, 5.5vw, 24px);
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-event-band i {
        display: none;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-hub,
    body.compiegne-showcase-page.eiev-device-desktop .cex-results-heading,
    body.compiegne-showcase-page.eiev-device-desktop .compiegne-results-section > .container-fluid {
        width: calc(100% - 22px) !important;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-hub {
        padding: 22px 14px;
        border-radius: 20px;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-hub-heading {
        grid-template-columns: 1fr;
        text-align: center;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-hub-heading .cex-hub-brand > img {
        width: 112px !important;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-disciplines {
        grid-template-columns: 1fr;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-disciplines > * {
        grid-template-columns: 78px minmax(0, 1fr);
        justify-items: start;
        min-height: 94px;
        text-align: left;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-discipline-image {
        width: 78px;
        height: 56px;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-media {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-media a {
        min-height: 54px;
        padding-inline: 2px;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-media small {
        display: none;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-sponsor-footer {
        width: 100%;
        overflow-x: auto;
    }
    body.compiegne-showcase-page.eiev-device-desktop .cex-sponsor-footer img {
        width: 980px;
        max-width: none;
    }
}

/* Desktop live-broadcast compatibility fix: keep a visible direct link while
   using YouTube's privacy-enhanced embed endpoint. Mobile CSS is untouched. */
body.compiegne-showcase-page.eiev-device-desktop .cex-video-head small {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
    text-align: right;
}
body.compiegne-showcase-page.eiev-device-desktop .cex-video-head small a {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 999px;
    color: #fff !important;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s ease, border-color .2s ease;
}
body.compiegne-showcase-page.eiev-device-desktop .cex-video-head small a:hover,
body.compiegne-showcase-page.eiev-device-desktop .cex-video-head small a:focus-visible {
    border-color: #fff;
    background: rgba(255,255,255,.17);
}
body.compiegne-showcase-page.eiev-device-desktop .cex-video-noscript {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #07141e;
    color: #fff !important;
    font-weight: 800;
    text-align: center;
}
