/* Phase 8B-4B: runner-facing V1 race detail foundation only. */
.ukvr-public-theme .site-main:has(> .v1-race-detail) {
    max-width: none;
    padding: 0;
    background: #f8f3e8;
}

.ukvr-public-theme .v1-race-detail {
    --race-green: #004f32;
    --race-green-deep: #003c28;
    --race-green-soft: #0b6f49;
    --race-gold: #d3a62d;
    --race-gold-light: #f4d36b;
    --race-blue: #165fa8;
    --race-cream: #f8f3e8;
    --race-paper: #fffdf8;
    --race-ink: #12372a;
    --race-muted: #53675e;
    max-width: none;
    width: 100%;
    align-self: stretch;
    margin: 0;
    padding: 0 0 clamp(3rem, 7vw, 6rem);
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 24%, rgba(211,166,45,.08), transparent 24rem),
        repeating-radial-gradient(ellipse at 95% 38%, transparent 0 24px, rgba(0,79,50,.025) 25px 26px),
        var(--race-cream);
    color: var(--race-ink);
}

.ukvr-public-theme .v1-race-detail--event { --race-accent: var(--race-blue); }
.ukvr-public-theme .v1-race-detail--challenge { --race-accent: var(--race-gold); }
.ukvr-public-theme .v1-race-detail--special { --race-accent: #245fc7; }

.ukvr-public-theme .v1-race-detail > :not(.v1-premium-hero):not(.v1-race-preview-banner) {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.ukvr-public-theme .v1-race-preview-banner {
    width: min(1180px, calc(100% - 48px));
    margin: 1rem auto;
}

.ukvr-public-theme .v1-premium-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(420px, .9fr);
    width: 100%;
    min-height: clamp(390px, 42vw, 650px);
    margin: 0;
    padding: 0 0 clamp(48px, 6vw, 78px);
    isolation: isolate;
    overflow: hidden;
    background: var(--race-green-deep);
    color: #fff;
}

.ukvr-public-theme .v1-premium-hero figure {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    place-items: center;
    min-width: 0;
    margin: 0;
    padding: clamp(1rem, 2.4vw, 2rem);
    background: linear-gradient(135deg, #062f24, #07543c);
}

.ukvr-public-theme .v1-premium-hero figure img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 18px 30px rgba(0,0,0,.28));
}

.ukvr-public-theme .v1-premium-hero__copy {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(2.25rem, 5vw, 5rem) clamp(1.5rem, 3vw, 3rem) clamp(3rem, 6vw, 6rem);
    background:
        linear-gradient(135deg, rgba(0,79,50,.4), transparent 58%),
        var(--race-green-deep);
}

.ukvr-public-theme .v1-premium-hero__copy::before {
    content: "";
    position: absolute;
    inset: 8% auto 18% 0;
    width: 1px;
    background: linear-gradient(transparent, var(--race-gold-light), transparent);
}

.ukvr-public-theme .v1-premium-hero .section-eyebrow {
    color: var(--race-gold-light);
    letter-spacing: .16em;
}

.ukvr-public-theme .v1-premium-hero h1 {
    max-width: 13ch;
    margin: .25rem 0 .8rem;
    color: #fff;
    font-size: clamp(2.3rem, 3.7vw, 4.2rem);
    line-height: .94;
    white-space: normal;
    word-break: normal;
    text-wrap: balance;
}

.ukvr-public-theme .v1-premium-hero__copy > p:not(.v1-race-hero__status) {
    max-width: 38rem;
    margin: 0 0 1.2rem;
    color: rgba(255,255,255,.88);
    font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.ukvr-public-theme .v1-premium-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: .25rem 0 1rem;
}

.ukvr-public-theme .v1-premium-hero__facts > * {
    padding: .45rem .72rem;
    border: 1px solid rgba(244,211,107,.7);
    border-radius: 999px;
    background: rgba(0,0,0,.18);
    color: #fff;
    font-size: .83rem;
}

.ukvr-public-theme .v1-race-hero__status { color: #fff; }

.ukvr-public-theme .v1-premium-hero__curve {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: -1px;
    left: 0;
    display: block;
    width: 100%;
    height: clamp(50px, 6vw, 90px);
    pointer-events: none;
}

.ukvr-public-theme .v1-premium-hero__curve-green { fill: var(--race-green); }
.ukvr-public-theme .v1-premium-hero__curve-gold { fill: var(--race-gold-light); }
.ukvr-public-theme .v1-premium-hero__curve-cream { fill: var(--race-cream); }

.ukvr-public-theme .v1-premium-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: clamp(1.5rem, 5vw, 5rem);
    padding: clamp(2rem, 5vw, 4.5rem) 0;
    color: var(--race-ink);
}

.ukvr-public-theme .v1-premium-intro h2,
.ukvr-public-theme .v1-race-section-heading h2,
.ukvr-public-theme .v1-public-variant h3 {
    color: var(--race-green-deep);
    text-wrap: balance;
}

.ukvr-public-theme .v1-premium-intro dl {
    align-self: start;
    margin: 0;
    padding: 1.15rem;
    border: 1px solid rgba(211,166,45,.55);
    border-radius: 20px;
    background: rgba(255,253,248,.88);
    box-shadow: 0 14px 36px rgba(19,55,42,.08);
}

.ukvr-public-theme .v1-premium-intro dl > div {
    padding: .8rem 0;
    border-bottom: 1px solid rgba(211,166,45,.25);
}
.ukvr-public-theme .v1-premium-intro dl > div:last-child { border-bottom: 0; }
.ukvr-public-theme .v1-premium-intro dt { color: var(--race-green-soft); font-weight: 800; }
.ukvr-public-theme .v1-premium-intro dd { margin: .2rem 0 0; color: var(--race-ink); }

.ukvr-public-theme .v1-race-rewards-gallery {
    position: relative;
    margin-bottom: clamp(2.5rem, 6vw, 5rem) !important;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(211,166,45,.65);
    border-radius: 28px;
    background:
        radial-gradient(circle at 7% 20%, rgba(244,211,107,.12), transparent 25rem),
        linear-gradient(135deg, #003c28, #00603d);
    color: #fff;
    box-shadow: 0 24px 54px rgba(0,44,29,.2);
    overflow: hidden;
}

.ukvr-public-theme .v1-race-rewards-gallery::after {
    content: "";
    position: absolute;
    right: -7rem;
    bottom: -8rem;
    width: 25rem;
    height: 25rem;
    border: 1px solid rgba(244,211,107,.13);
    border-radius: 44% 56% 60% 40%;
}

.ukvr-public-theme .v1-race-rewards-gallery .v1-race-section-heading {
    position: relative;
    z-index: 1;
    margin-bottom: 1.4rem;
    text-align: center;
}
.ukvr-public-theme .v1-race-rewards-gallery .section-eyebrow { color: var(--race-gold-light); }
.ukvr-public-theme .v1-race-rewards-gallery h2 { color: #fff; }
.ukvr-public-theme .v1-race-rewards-gallery .v1-race-section-heading p { color: rgba(255,255,255,.78); }

.ukvr-public-theme .v1-race-rewards-gallery__variants {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1rem;
}

.ukvr-public-theme .v1-race-reward-group {
    padding: 1rem;
    border: 1px solid rgba(244,211,107,.3);
    border-radius: 20px;
    background: rgba(255,255,255,.07);
}

.ukvr-public-theme .v1-race-reward-group > h3 {
    margin: 0 0 .85rem;
    color: #fff;
    font-size: 1.15rem;
    text-align: center;
}

.ukvr-public-theme .v1-race-reward-group__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: .75rem;
}

.ukvr-public-theme .v1-race-reward {
    min-width: 0;
    margin: 0;
    padding: .8rem;
    border-radius: 16px;
    background: var(--race-paper);
    color: var(--race-ink);
    text-align: center;
}

.ukvr-public-theme .v1-race-reward__visual {
    display: grid;
    place-items: center;
    height: clamp(150px, 17vw, 230px);
    margin-bottom: .7rem;
}

.ukvr-public-theme .v1-race-reward img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ukvr-public-theme .v1-race-reward figcaption { display: grid; gap: .15rem; }
.ukvr-public-theme .v1-race-reward figcaption strong { color: var(--race-green-deep); }
.ukvr-public-theme .v1-race-reward figcaption span { color: var(--race-muted); font-size: .78rem; }

.ukvr-public-theme .v1-landmark-journey,
.ukvr-public-theme .v1-entry-selection,
.ukvr-public-theme .v1-race-steps,
.ukvr-public-theme .v1-race-detail__requirements,
.ukvr-public-theme .v1-requirements-reminder,
.ukvr-public-theme .v1-founding-participation-note {
    margin-block: clamp(2.2rem, 5vw, 4rem);
}

.ukvr-public-theme .v1-landmark-journey,
.ukvr-public-theme .v1-race-steps {
    color: var(--race-ink);
}

.ukvr-public-theme .v1-entry-selection {
    padding: clamp(1.25rem, 4vw, 3rem);
    border: 1px solid rgba(211,166,45,.55);
    border-radius: 28px;
    background: linear-gradient(140deg, rgba(255,253,248,.98), rgba(248,243,232,.98));
    color: var(--race-ink);
    box-shadow: 0 20px 45px rgba(19,55,42,.09);
}

.ukvr-public-theme .v1-entry-selection .v1-race-section-heading { text-align: center; }
.ukvr-public-theme .v1-public-variant__overview { color: var(--race-ink); }
.ukvr-public-theme .v1-public-variant__artwork { object-fit: contain; background: #062f24; }

.ukvr-public-theme .v1-variant-tabs button {
    border-color: var(--race-green);
    color: var(--race-green-deep);
    background: #fff;
}
.ukvr-public-theme .v1-variant-tabs button[aria-selected="true"] { background: var(--race-green); color: #fff; }

.ukvr-public-theme .v1-race-steps__grid article {
    border-color: rgba(211,166,45,.45);
    background: rgba(255,253,248,.9);
    color: var(--race-ink);
}
.ukvr-public-theme .v1-race-steps__grid b { background: var(--race-green); color: #fff; }

@media (max-width: 900px) {
    .ukvr-public-theme .v1-premium-hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: 0;
    }
    .ukvr-public-theme .v1-premium-hero figure {
        grid-column: 1;
        grid-row: 1;
        min-height: 300px;
        padding: 1rem;
    }
    .ukvr-public-theme .v1-premium-hero figure img { max-height: 480px; }
    .ukvr-public-theme .v1-premium-hero__copy {
        grid-column: 1;
        grid-row: 2;
        padding: 2rem 7vw 5.25rem;
    }
    .ukvr-public-theme .v1-premium-hero__copy::before { display: none; }
    .ukvr-public-theme .v1-premium-hero h1 { max-width: 15ch; }
    .ukvr-public-theme .v1-premium-intro { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 560px) {
    .ukvr-public-theme .v1-race-detail > :not(.v1-premium-hero):not(.v1-race-preview-banner),
    .ukvr-public-theme .v1-race-preview-banner { width: min(100% - 28px, 1180px); }
    .ukvr-public-theme .v1-premium-hero { padding-bottom: 36px; }
    .ukvr-public-theme .v1-premium-hero figure { min-height: 220px; padding: .65rem; }
    .ukvr-public-theme .v1-premium-hero figure img { max-height: 330px; }
    .ukvr-public-theme .v1-premium-hero__copy { padding: 1.6rem 1.15rem 3.7rem; }
    .ukvr-public-theme .v1-premium-hero h1 { font-size: clamp(2rem, 9.2vw, 3rem); line-height: 1; }
    .ukvr-public-theme .v1-premium-hero__facts { gap: .4rem; }
    .ukvr-public-theme .v1-premium-hero__facts > * { padding: .38rem .58rem; font-size: .74rem; }
    .ukvr-public-theme .v1-premium-hero__curve { height: 52px; }
    .ukvr-public-theme .v1-premium-intro { padding-block: 2rem; }
    .ukvr-public-theme .v1-race-rewards-gallery { padding: 1rem; border-radius: 20px; }
    .ukvr-public-theme .v1-race-rewards-gallery__variants { grid-template-columns: 1fr; }
    .ukvr-public-theme .v1-race-reward-group__items { grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); }
    .ukvr-public-theme .v1-race-reward { padding: .55rem; }
    .ukvr-public-theme .v1-race-reward__visual { height: 138px; }
    .ukvr-public-theme .v1-race-reward figcaption strong { font-size: .9rem; }
    .ukvr-public-theme .v1-race-reward figcaption span { font-size: .7rem; }
    .ukvr-public-theme .v1-entry-selection { padding: 1rem; border-radius: 20px; }
}


.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-participation-group {
    width: min(1180px, calc(100% - 2rem));
    margin: clamp(1.25rem, 3vw, 2.25rem) auto 1rem;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: 1px solid rgba(211,166,45,.38);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255,253,248,.96), rgba(248,243,232,.88));
    box-shadow: 0 12px 28px rgba(19,55,42,.07);
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-participation-group .v1-requirements-reminder,
.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-participation-group .v1-founding-participation-note,
.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-participation-group .v1-race-detail__requirements {
    width: auto;
    margin: 0;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-participation-group .v1-requirements-reminder,
.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-participation-group .v1-founding-participation-note {
    padding: .9rem 1rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-participation-group .v1-founding-participation-note {
    margin-top: .35rem;
    border-top: 1px solid rgba(211,166,45,.32);
    border-radius: 0;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-participation-group p {
    margin: .3rem 0 0;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-participation-group .v1-race-detail__requirements {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-top: .75rem;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-participation-group details {
    margin: 0;
    background: #fffdf8;
}

@media (max-width: 560px) {

    .ukvr-public-theme .v1-race-detail--founding-run .v1-founding-participation-group {
        width: min(100% - 1rem, 1180px);
        padding: .7rem;
    }

    .ukvr-public-theme .v1-race-detail--founding-run .v1-founding-participation-group .v1-race-detail__requirements {
        grid-template-columns: 1fr;
    }
}

/* Focused Founding Run hero correction. The title is already part of the
   approved artwork, so the supporting information is deliberately compact. */
.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero {
    position: relative;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: #002f21;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero figure {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 1975 / 796;
    margin: 0;
    background: #020403;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero__copy {
    position: absolute;
    z-index: 3;
    right: clamp(1rem, 4vw, 4rem);
    bottom: clamp(58px, 6.5vw, 92px);
    left: clamp(1rem, 4vw, 4rem);
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto minmax(230px, auto);
    gap: .65rem 1rem;
    width: auto;
    margin: 0;
    padding: .65rem .85rem;
    border: 1px solid rgba(244,211,107,.38);
    border-radius: 18px;
    background: linear-gradient(100deg, rgba(0,47,33,.96), rgba(0,62,42,.88) 68%, rgba(0,47,33,.78));
    box-shadow: 0 15px 34px rgba(0,0,0,.24);
    backdrop-filter: blur(5px);
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero__copy > .section-eyebrow,
.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero__copy > p:not(.v1-race-hero__status) {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin: 0;
    color: #fff;
    font-size: clamp(.88rem, 1.2vw, 1rem);
    line-height: 1.45;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero__facts {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-race-hero__status {
    grid-column: 2;
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    max-width: none;
    margin: 0;
    padding: .35rem .65rem;
    color: rgba(255,255,255,.9);
    font-size: .75rem;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero__copy > .btn {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    margin: 0;
    white-space: nowrap;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero__curve {
    z-index: 4;
    bottom: -1px;
    height: clamp(58px, 6.5vw, 94px);
}

@media (max-width: 760px) {
    .ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero figure {
        aspect-ratio: 1975 / 796;
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero__copy {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: .55rem;
        width: 100%;
        padding: .85rem 1rem clamp(3.4rem, 12vw, 4.2rem);
        border: 0;
        border-radius: 0;
        background: linear-gradient(135deg, #003c28, #005236);
        box-shadow: none;
        backdrop-filter: none;
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero__copy > p:not(.v1-race-hero__status),
    .ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero__facts,
    .ukvr-public-theme .v1-race-detail--founding-run .v1-race-hero__status,
    .ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero__copy > .btn {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero__facts { gap: .35rem; }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero__facts > * {
        padding: .32rem .5rem;
        font-size: .68rem;
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-race-hero__status {
        padding: .3rem .55rem;
        font-size: .68rem;
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero__curve {
        height: clamp(42px, 12vw, 56px);
    }
}

/* Founding Run refinement: seamless curve edge, editorial introduction and
   reward depth. These selectors cannot affect other race pages. */
.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-hero__curve--founding {
    right: auto;
    left: 0;
    width: 100%;
    overflow: visible;
    shape-rendering: geometricPrecision;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro--founding {
    position: relative;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: clamp(2rem, 6vw, 5.5rem);
    align-items: center;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: clamp(1rem, 3vw, 2.5rem);
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro--founding::after {
    content: none;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro__editorial {
    position: relative;
    z-index: 1;
    padding-left: clamp(1rem, 2.5vw, 2rem);
    border-left: 3px solid var(--race-gold);
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro__editorial h2 {
    max-width: 13ch;
    margin: .25rem 0 1rem;
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: .92;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro__editorial > div {
    max-width: 58ch;
    color: var(--race-muted);
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.7;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro--founding dl {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro--founding dl > div {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
    min-height: 0;
    padding: 1rem 0;
    border: 0;
    border-bottom: 1px solid rgba(211,166,45,.32);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,79,50,.08);
    color: var(--race-green);
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro--founding dt {
    color: #9a6b00;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro--founding dd {
    margin-top: .35rem;
    color: var(--race-green-deep);
    font-weight: 800;
    line-height: 1.35;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-race-rewards-gallery {
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin-top: clamp(.5rem, 1.5vw, 1.25rem) !important;
    padding-top: clamp(.75rem, 2vw, 1.5rem);
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-race-rewards-gallery .v1-race-section-heading {
    align-self: center;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward-group {
    position: relative;
    padding: 1rem 1rem .8rem;
    border-radius: 0;
    background: transparent;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward-group::after {
    content: none;
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward__visual {
    height: clamp(235px, 24vw, 350px);
    transform: translateY(-2px);
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward--achievement .v1-race-reward__visual {
    height: clamp(190px, 19vw, 280px);
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward img {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 14px rgba(13,46,35,.2)) drop-shadow(0 3px 3px rgba(0,0,0,.16));
}

.ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward figcaption {
    position: relative;
    z-index: 2;
}

@media (max-width: 760px) {
    .ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro--founding {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.25rem;
        border-radius: 0;
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro__editorial {
        padding-left: .85rem;
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro__editorial h2 {
        max-width: 12ch;
        font-size: clamp(2.25rem, 12vw, 3.3rem);
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro--founding dl {
        grid-template-columns: 1fr;
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-premium-intro--founding dl > div {
        min-height: 0;
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward-group { padding: .65rem .35rem; }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward__visual,
    .ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward--achievement .v1-race-reward__visual {
        height: 170px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ukvr-public-theme .v1-race-detail *,
    .ukvr-public-theme .v1-race-detail *::before,
    .ukvr-public-theme .v1-race-detail *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Phase 8B-4B visual revision: artwork-led composition matching the approved
   race concepts while leaving renderer decisions and controls untouched. */
.ukvr-public-theme .v1-premium-hero {
    display: block;
    min-height: 0;
    padding: 0 0 clamp(48px, 5vw, 76px);
    border: 0;
    border-radius: 0;
    background: var(--race-green-deep);
    box-shadow: none;
}

.ukvr-public-theme .v1-premium-hero figure {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
    background: #03170f;
}

.ukvr-public-theme .v1-premium-hero figure img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    filter: none;
}

.ukvr-public-theme .v1-premium-hero__copy {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(220px, .75fr) minmax(280px, 1.25fr) auto;
    align-items: center;
    gap: .55rem clamp(1rem, 3vw, 2.5rem);
    width: min(1180px, calc(100% - 48px));
    margin: -1px auto 0;
    padding: clamp(1rem, 2.2vw, 1.6rem) 0 clamp(1.25rem, 2.5vw, 2rem);
    background: transparent;
}

.ukvr-public-theme .v1-premium-hero__copy::before { display: none; }
.ukvr-public-theme .v1-premium-hero__copy > .section-eyebrow { grid-column: 1; grid-row: 1; }
.ukvr-public-theme .v1-premium-hero h1 {
    grid-column: 1;
    grid-row: 2 / span 2;
    align-self: start;
    max-width: 12ch;
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 3.6rem);
    line-height: .95;
}
.ukvr-public-theme .v1-premium-hero__copy > p:not(.v1-race-hero__status) {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    max-width: 48rem;
    margin: 0;
}
.ukvr-public-theme .v1-premium-hero__facts {
    grid-column: 2;
    grid-row: 3;
    margin: 0;
}
.ukvr-public-theme .v1-race-hero__status {
    grid-column: 3;
    grid-row: 1 / span 2;
    max-width: 18rem;
    margin: 0;
    padding: .55rem .8rem;
    border: 1px solid rgba(244,211,107,.45);
    border-radius: 999px;
    text-align: center;
}
.ukvr-public-theme .v1-premium-hero__copy > .btn { grid-column: 3; grid-row: 3; margin: 0; }

.ukvr-public-theme .v1-race-rewards-gallery {
    display: grid;
    grid-template-columns: minmax(190px, .38fr) minmax(0, 1.62fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    margin-top: clamp(1.5rem, 4vw, 3rem) !important;
    margin-bottom: clamp(1rem, 3vw, 2rem) !important;
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(211,166,45,.5);
    border-radius: 28px;
    background:
        radial-gradient(circle at 15% 50%, rgba(211,166,45,.11), transparent 24rem),
        rgba(255,253,248,.94);
    color: var(--race-ink);
    box-shadow: 0 22px 50px rgba(19,55,42,.11);
}
.ukvr-public-theme .v1-race-rewards-gallery::after { display: none; }
.ukvr-public-theme .v1-race-rewards-gallery .v1-race-section-heading {
    margin: 0;
    text-align: left;
}
.ukvr-public-theme .v1-race-rewards-gallery .section-eyebrow { color: #a77605; }
.ukvr-public-theme .v1-race-rewards-gallery h2 {
    color: var(--race-green-deep);
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: .92;
}
.ukvr-public-theme .v1-race-rewards-gallery .v1-race-section-heading p { color: var(--race-muted); }
.ukvr-public-theme .v1-race-rewards-gallery__variants {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
}
.ukvr-public-theme .v1-race-reward-group {
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.ukvr-public-theme .v1-race-reward-group > h3 {
    margin: 0 0 .65rem;
    padding-bottom: .45rem;
    border-bottom: 1px solid rgba(211,166,45,.45);
    color: var(--race-green-deep);
    font-size: 1.1rem;
    text-align: center;
}
.ukvr-public-theme .v1-race-reward-group__items {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: clamp(.6rem, 2vw, 1.25rem);
}
.ukvr-public-theme .v1-race-reward {
    flex: 1 1 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}
.ukvr-public-theme .v1-race-reward__visual {
    height: clamp(210px, 22vw, 330px);
    margin: 0 0 .65rem;
}
.ukvr-public-theme .v1-race-reward--certificate .v1-race-reward__visual { height: clamp(175px, 18vw, 270px); }
.ukvr-public-theme .v1-race-reward--achievement .v1-race-reward__visual { height: clamp(165px, 17vw, 250px); }
.ukvr-public-theme .v1-race-reward img { filter: drop-shadow(0 14px 14px rgba(13,46,35,.2)); }
.ukvr-public-theme .v1-race-reward figcaption strong { font-size: 1rem; }

.ukvr-public-theme .v1-premium-intro {
    padding: clamp(1.75rem, 4vw, 3.5rem) 0;
    border-top: 1px solid rgba(211,166,45,.4);
}

.ukvr-public-theme .v1-landmark-journey {
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid rgba(211,166,45,.6);
    border-radius: 26px;
    background: rgba(255,253,248,.96);
    color: var(--race-ink);
    box-shadow: 0 20px 42px rgba(19,55,42,.1);
}
.ukvr-public-theme .v1-landmark-journey .v1-race-section-heading { text-align: center; }
.ukvr-public-theme .v1-landmark-journey .v1-journey-map { margin: 1.25rem 0; }
.ukvr-public-theme .v1-landmark-journey .v1-journey-map img {
    width: 100%;
    max-height: 620px;
    object-fit: contain;
    border-radius: 18px;
}
.ukvr-public-theme .v1-landmark-journey li { background: var(--race-green-deep); color: #fff; }

.ukvr-public-theme .v1-entry-selection {
    margin-top: clamp(1.5rem, 4vw, 3rem) !important;
    padding: clamp(1.25rem, 3vw, 2.3rem);
}
.ukvr-public-theme .v1-public-variant__overview {
    grid-template-columns: 180px minmax(0,1fr);
    min-height: 0;
    padding: .8rem;
    border-color: rgba(0,79,50,.16);
    background: #eeece4;
}
.ukvr-public-theme .v1-public-variant__artwork {
    width: 180px;
    height: 105px;
    border-radius: 12px;
}
.ukvr-public-theme .v1-package-options { align-items: stretch; gap: 1rem; }
.ukvr-public-theme .v1-package-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, .55fr);
    grid-template-rows: auto auto 1fr auto;
    gap: .5rem 1rem;
    min-height: 0;
    padding: 1.1rem;
    color: var(--race-ink);
    background: linear-gradient(140deg, #fffdf8, #f0ece1);
    box-shadow: 0 10px 24px rgba(19,55,42,.1);
}
.ukvr-public-theme .v1-package-option--medal {
    border-color: rgba(211,166,45,.75);
    background: linear-gradient(140deg, #fff9e6, #f1e5ba);
}
.ukvr-public-theme .v1-package-option > div:first-child { grid-column: 1; grid-row: 1; }
.ukvr-public-theme .v1-package-option__price { color: #a87400; }
.ukvr-public-theme .v1-package-option .v1-medal-viewer,
.ukvr-public-theme .v1-package-option .v1-package-reward-art {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    min-height: 0;
    margin: 0;
    padding: .45rem;
    border: 0;
    background: transparent;
}
.ukvr-public-theme .v1-package-option .v1-medal-viewer__image { min-height: 120px; }
.ukvr-public-theme .v1-package-option .v1-medal-viewer__image img { height: 150px; }
.ukvr-public-theme .v1-package-option .v1-package-reward-art > img { height: 90px; }
.ukvr-public-theme .v1-package-option ul {
    grid-column: 1;
    grid-row: 2;
    margin: .25rem 0;
    color: var(--race-muted);
}
.ukvr-public-theme .v1-package-option .small-note,
.ukvr-public-theme .v1-package-option .v1-medal-specification { grid-column: 1; margin: .25rem 0; }
.ukvr-public-theme .v1-package-option__state { grid-column: 1; margin: .25rem 0; }
.ukvr-public-theme .v1-package-option .btn,
.ukvr-public-theme .v1-package-option form { grid-column: 1 / -1; margin: 0; }

@media (max-width: 900px) {
    .ukvr-public-theme .v1-premium-hero__copy {
        grid-template-columns: 1fr 1fr;
        padding-bottom: 2rem;
    }
    .ukvr-public-theme .v1-premium-hero h1 { grid-column: 1; grid-row: 1 / span 2; }
    .ukvr-public-theme .v1-premium-hero__copy > .section-eyebrow { display: none; }
    .ukvr-public-theme .v1-premium-hero__copy > p:not(.v1-race-hero__status) { grid-column: 2; grid-row: 1; }
    .ukvr-public-theme .v1-premium-hero__facts { grid-column: 2; grid-row: 2; }
    .ukvr-public-theme .v1-race-hero__status { grid-column: 1; grid-row: 3; justify-self: start; }
    .ukvr-public-theme .v1-premium-hero__copy > .btn { grid-column: 2; grid-row: 3; justify-self: end; }
    .ukvr-public-theme .v1-race-rewards-gallery { grid-template-columns: 1fr; }
    .ukvr-public-theme .v1-race-rewards-gallery .v1-race-section-heading { text-align: center; }
}

@media (max-width: 560px) {
    .ukvr-public-theme .v1-premium-hero { padding-bottom: 36px; }
    .ukvr-public-theme .v1-premium-hero figure { min-height: 0; }
    .ukvr-public-theme .v1-premium-hero figure img { max-height: none; }
    .ukvr-public-theme .v1-premium-hero__copy {
        display: flex;
        width: calc(100% - 28px);
        padding: 1rem 0 2.8rem;
    }
    .ukvr-public-theme .v1-premium-hero h1 { max-width: 100%; font-size: clamp(1.85rem, 9vw, 2.7rem); }
    .ukvr-public-theme .v1-premium-hero__copy > p:not(.v1-race-hero__status) { font-size: .86rem; }
    .ukvr-public-theme .v1-race-hero__status { align-self: flex-start; max-width: 100%; }
    .ukvr-public-theme .v1-race-rewards-gallery { padding: 1.15rem; }
    .ukvr-public-theme .v1-race-rewards-gallery h2 { font-size: 2.2rem; }
    .ukvr-public-theme .v1-race-reward-group__items { align-items: start; }
    .ukvr-public-theme .v1-race-reward__visual,
    .ukvr-public-theme .v1-race-reward--achievement .v1-race-reward__visual { height: 155px; }
    .ukvr-public-theme .v1-public-variant__overview { grid-template-columns: 1fr; }
    .ukvr-public-theme .v1-public-variant__artwork { width: 100%; height: auto; max-height: 190px; }
    .ukvr-public-theme .v1-package-option {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .ukvr-public-theme .v1-package-option > div:first-child,
    .ukvr-public-theme .v1-package-option .v1-medal-viewer,
    .ukvr-public-theme .v1-package-option .v1-package-reward-art,
    .ukvr-public-theme .v1-package-option ul,
    .ukvr-public-theme .v1-package-option .small-note,
    .ukvr-public-theme .v1-package-option .v1-medal-specification,
    .ukvr-public-theme .v1-package-option__state,
    .ukvr-public-theme .v1-package-option .btn,
    .ukvr-public-theme .v1-package-option form { grid-column: 1; grid-row: auto; }
    .ukvr-public-theme .v1-package-option .v1-medal-viewer__image img { height: 190px; }
}
/* Founding Run reward composition: explicit groups own layout; shared rules
   remain available to other races and administrator previews. */
.ukvr-public-theme .v1-race-detail--founding-run .v1-entry-selection {
    background: rgba(255,253,248,.5);
    box-shadow: none;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-entry-selection .v1-race-section-heading > p {
    color: var(--race-muted);
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-variant-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem;
    overflow: visible;
    margin-block: 1.25rem;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-variant-tabs button {
    flex: 1 1 140px;
    max-width: 240px;
    padding: .85rem 1rem;
    white-space: normal;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-public-variant__overview {
    grid-template-columns: minmax(100px,160px) minmax(0,1fr);
    gap: 1rem;
    padding: 0 0 1.25rem;
    margin-bottom: 1.25rem;
    border: 0;
    border-bottom: 1px solid rgba(211,166,45,.3);
    border-radius: 0;
    background: transparent;
    text-align: left;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-public-variant__artwork {
    width: 100%;
    height: auto;
    object-fit: contain;
    aspect-ratio: 1.5;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-public-variant__overview p {
    color: var(--race-muted);
    margin-block: .3rem;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-options {
    align-items: start;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-option {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    min-height: 0;
    background: #fffdf8;
    box-shadow: none;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-option--medal {
    background: #fbf3d9;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-option > .v1-founding-package__header,
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-option > .v1-founding-package__artwork,
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-option > .v1-founding-package__benefits,
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-option > .v1-founding-package__footer {
    min-width: 0;
    width: 100%;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-package__artwork {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: .8rem;
    align-items: center;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-option--medal .v1-founding-package__artwork {
    grid-template-columns: minmax(0,1fr);
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-option .v1-medal-viewer,
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-option .v1-package-reward-art {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
    padding: 0;
    min-height: 0;
    width: 100%;
    background: transparent;
    border: 0;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-option .v1-package-reward-art {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: .8rem;
    align-items: stretch;
    padding: .5rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-option--medal .v1-package-reward-art {
    grid-template-columns: repeat(2,minmax(0,1fr));
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-package__artwork figure {
    min-width: 0;
    margin: 0;
    text-align: center;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: .45rem;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-package__artwork figcaption,
.ukvr-public-theme .v1-race-detail--founding-run .v1-medal-viewer small {
    color: var(--race-muted);
    font-size: .85rem;
    line-height: 1.4;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-option .v1-medal-viewer__image {
    aspect-ratio: 1;
    min-height: 0;
    width: 100%;
    max-width: 180px;
    padding: .4rem;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-option .v1-medal-viewer__image img {
    width: 100%;
    height: auto;
    max-height: 180px;
    aspect-ratio: 1;
    object-fit: contain;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-package__certificate img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.414 / 1;
    object-fit: contain;
    margin: 0 auto .45rem;
    box-shadow: 0 6px 14px rgba(19,55,42,.15);
    align-self: center;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-package__achievement .v1-achievement-medal__art {
    width: min(100%,130px);
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-package__achievement .v1-achievement-medal__art img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-package__achievement .v1-achievement-medal__label {
    position: static;
    color: var(--race-green-deep);
    background: #fffdf8;
    margin: .25rem 0;
    font-size: .7rem;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-package-option .v1-founding-package__footer {
    margin-top: auto;
    display: grid;
    gap: .6rem;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-package__footer .v1-package-option__state {
    justify-self: start;
    margin: 0;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-race-rewards-gallery {
    grid-template-columns: minmax(0,1fr);
    gap: 1.5rem;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-race-rewards-gallery .v1-race-section-heading {
    text-align: center;
    max-width: 42rem;
    margin-inline: auto;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-race-rewards-gallery h2 {
    font-size: clamp(2rem,4vw,3rem);
    line-height: 1.1;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward-group__items {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: .8rem;
    align-items: start;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-founding-package__achievement .v1-achievement-medal {
    align-self: center;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward figcaption {
    grid-template-rows: 2.8em auto;
    align-items: start;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward figcaption strong {
    align-self: center;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward .v1-race-reward__visual {
    height: auto;
    aspect-ratio: 1;
    transform: none;
    margin-bottom: .75rem;
}
.ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward figcaption span {
    font-size: .85rem;
}
@media (max-width: 700px) {
    .ukvr-public-theme .v1-race-detail--founding-run .v1-package-options,
    .ukvr-public-theme .v1-race-detail--founding-run .v1-race-rewards-gallery__variants {
        grid-template-columns: minmax(0,1fr);
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-founding-package__footer { margin-top: 0; }
}
@media (max-width: 420px) {
    .ukvr-public-theme .v1-race-detail--founding-run .v1-public-variant__overview {
        grid-template-columns: minmax(0,1fr);
        gap: .65rem;
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-public-variant__artwork {
        max-width: 220px;
        justify-self: center;
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-package-option--medal .v1-founding-package__artwork {
        grid-template-columns: minmax(0,1fr);
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-package-option--medal .v1-package-reward-art {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward-group__items {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward--certificate {
        grid-column: 1 / -1;
        grid-row: 2;
        width: min(100%,280px);
        justify-self: center;
    }
    .ukvr-public-theme .v1-race-detail--founding-run .v1-race-reward--certificate .v1-race-reward__visual {
        aspect-ratio: 1.414 / 1;
    }
}
/* Founding Run connected journey; operational copy remains in the renderer. */
.ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps {
    border: 0;
    border-radius: 0;
    /* Original isolated contours terminate beyond the section edges. */
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201180%20400%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ad8737%22%20stroke-width%3D%221%22%20stroke-opacity%3D%22.12%22%3E%3Cpath%20d%3D%22M0%20205C28%20169%2070%20174%20103%20198S133%20248%20190%20239%22%2F%3E%3Cpath%20d%3D%22M0%20224C32%20183%2070%20186%2096%20210S135%20268%20203%20249%22%2F%3E%3Cpath%20d%3D%22M0%20245C31%20203%2059%20197%2088%20222S143%20289%20217%20258%22%2F%3E%3Cpath%20d%3D%22M0%20263C36%20224%2059%20213%2079%20236S145%20308%20234%20268%22%2F%3E%3Cpath%20d%3D%22M0%20283C31%20246%2052%20231%2070%20249S145%20326%20252%20278%22%2F%3E%3Cpath%20d%3D%22M0%20305C29%20272%2048%20248%2064%20266S149%20347%20274%20287%22%2F%3E%3Cpath%20d%3D%22M880%200C913%2028%20953%209%20982%2034S1013%2067%201058%2053%22%2F%3E%3Cpath%20d%3D%22M865%200C907%2047%20950%2024%20977%2049S1015%2087%201084%2061%22%2F%3E%3Cpath%20d%3D%22M847%200C890%2065%20942%2039%20971%2065S1036%20109%201112%2070%22%2F%3E%3Cpath%20d%3D%22M827%200C875%2082%20932%2055%20962%2082S1045%20130%201140%2079%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    box-shadow: none;
    padding: 1.25rem;
}
.ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-founding-route {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 54px;
    fill: none;
    stroke: #b58a25;
    stroke-width: 2;
    pointer-events: none;
}
.ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps__grid article {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1fr);
    align-content: start;
    justify-items: center;
    gap: .65rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
}
.ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps__grid b {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: auto;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0;
    border: 2px solid #c49b39;
    border-radius: 50%;
    background: var(--race-green-deep);
    color: #fff;
    font-size: 1.1rem;
    z-index: 1;
}
.ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-founding-step-icon {
    width: 32px;
    height: 32px;
    stroke: var(--race-green);
    stroke-width: 1.7;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps__grid strong { font-size: 1.1rem; grid-column: 1; grid-row: auto; }
.ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps__grid span,
.ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps__grid small {
    color: var(--race-muted);
    font-size: .9rem;
    line-height: 1.5;
    max-width: 28ch;
    grid-column: 1;
    grid-row: auto;
}
@media (max-width: 700px) {
    .ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps {
        background-image: none;
    }
    .ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps__grid {
        grid-template-columns: minmax(0,1fr);
        gap: 1.4rem;
    }
    .ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-founding-route { display: none; }
    .ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps__grid::before {
        content: "";
        position: absolute;
        top: 24px;
        bottom: 24px;
        left: 23px;
        border-left: 2px solid #b58a25;
        pointer-events: none;
    }
    .ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps__grid article {
        grid-template-columns: 48px 30px minmax(0,1fr);
        gap: .35rem .65rem;
        justify-items: start;
        text-align: left;
    }
    .ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps__grid b { grid-column: 1; grid-row: 1 / span 3; }
    .ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-founding-step-icon { grid-column: 2; grid-row: 1; width: 28px; height: 28px; }
    .ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps__grid strong { grid-column: 3; grid-row: 1; }
    .ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps__grid span,
    .ukvr-public-theme :is(.v1-race-detail--founding-run, :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey)) .v1-race-steps__grid small { grid-column: 3; }
}
/* Lancashire visual experiment: slug-scoped, configuration remains authoritative. */
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0 0 54px;
    border: 0;
    border-radius: 0;
    background: #003c28;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-hero figure {
    display: block;
    margin: 0;
    padding: 0;
    min-height: 0;
    background: transparent;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-hero figure img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-hero__copy {
    display: flex;
    flex-direction: row;
    min-height: 0;
    height: auto;
    flex: 0 0 auto;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.25rem;
    width: min(1180px,calc(100% - 2rem));
    margin: auto;
    padding: 1rem 0;
    background: transparent;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-hero h1,
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-hero__copy > .section-eyebrow {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    clip-path: inset(50%);
    overflow: hidden;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-hero__copy > p,
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-hero__facts { margin: 0; }
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-hero__curve {
    height: 54px;
    bottom: 0;
    overflow: visible;
    shape-rendering: geometricPrecision;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-intro {
    display: grid;
    grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
    gap: 2rem;
    padding: clamp(1.25rem,3vw,2.5rem);
    margin-block: 1.5rem;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-intro h2 {
    color: var(--race-green-deep);
    font-size: clamp(2rem,3.5vw,3.5rem);
    line-height: 1.08;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-intro dl {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: .75rem;
    background: transparent;
    border: 0;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-intro dl > div {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(180,139,35,.3);
    border-radius: 0;
    padding: .75rem;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-entry-selection {
    background: rgba(255,253,248,.65);
    border: 1px solid #c49b39;
    color: var(--race-ink);
    box-shadow: none;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-entry-selection h2 { color: var(--race-green-deep); }
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-entry-selection .v1-race-section-heading > p { color: var(--race-muted); }
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-public-variant__overview {
    grid-template-columns: 150px minmax(0,1fr);
    gap: 1rem;
    background: transparent;
    border: 0;
    color: var(--race-ink);
    padding: 0 0 1rem;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-public-variant__overview h3 { color: var(--race-green-deep); }
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-public-variant__overview p { color: var(--race-muted); }
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-public-variant__artwork {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-package-option {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    background: #fffdf8;
    box-shadow: none;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-package-option--medal { background: #fbf1ce; }
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-package-option__edition,
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-package-option .small-note { color: #53675e; }
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-entry-selection > .v1-public-variant > .small-note { color: #e7e7d9; }
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-race-rewards-gallery {
    border: 0;
    background: transparent;
    box-shadow: none;
    grid-template-columns: minmax(180px,.5fr) minmax(0,1.5fr);
    gap: 2rem;
    margin-block: 1rem !important;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-race-reward-group {
    background: transparent;
    padding: 0;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-race-reward-group__items {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(130px,1fr));
    align-items: end;
    gap: 2rem;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-race-reward__visual {
    height: auto;
    aspect-ratio: 1;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-race-reward img {
    filter: drop-shadow(0 8px 8px rgba(0,40,25,.2));
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-package-reward-art {
    flex: 0 0 auto;
    background: transparent;
    border: 0;
    min-height: 0;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-package-reward-art > img {
    width: min(100%,220px);
    height: auto;
    object-fit: contain;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-package-options { align-items: start; }
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-package-option .v1-package-option__state { margin-top: .5rem; }
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-package-reward-art:empty { display: none; }
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-medal-viewer {
    background: transparent;
    border: 0;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-medal-viewer__image img { height: 180px; }
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-route {
    display: grid;
    grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
    gap: 2rem;
    padding: 1.5rem;
    border-block: 1px solid rgba(180,139,35,.35);
    margin-block: 1.5rem;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-route h2 {
    font-size: clamp(2rem,3vw,3rem);
    line-height: 1.1;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-route ol {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-route img {
    display: block;
    width: 100%;
    aspect-ratio: 1.8;
    object-fit: cover;
    border-radius: 12px;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-route strong {
    display: block;
    color: var(--race-green-deep);
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-route small,
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-route .small-note {
    color: var(--race-muted);
}
@media (max-width:700px) {
    .ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-intro,
    .ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-race-rewards-gallery,
    .ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-route,
    .ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-package-options {
        grid-template-columns: minmax(0,1fr);
    }
    .ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-public-variant__overview {
        grid-template-columns: minmax(0,1fr);
        text-align: left;
    }
    .ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-public-variant__artwork {
        max-width: 220px;
        justify-self: center;
    }
    .ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-premium-hero__copy { gap: .75rem; }
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-route:has(.v1-lancashire-review-map) {
    grid-template-columns: minmax(0,1fr);
    gap: 1.25rem;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-map {
    min-width: 0;
    margin: 0;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-map img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border: 1px solid rgba(180,139,35,.4);
    border-radius: 12px;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-map figcaption {
    margin-top: .75rem;
    text-align: center;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-map .btn .small-note { color: inherit; }
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-map figcaption p {
    color: var(--race-muted);
    font-size: .9rem;
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-route:has(.v1-lancashire-review-map) ol {
    grid-template-columns: repeat(4,minmax(0,1fr));
}
@media (max-width:700px) {
    .ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-route:has(.v1-lancashire-review-map) ol {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-lancashire-review-route:has(.v1-lancashire-review-map) {
        padding-inline: .5rem;
    }
}
.ukvr-public-theme .v1-race-detail--illustrated-journey .v1-configured-map-journey {
    display: block;
    background: transparent;
    border: 0;
    border-block: 1px solid rgba(180,139,35,.35);
    box-shadow: none;
    padding: 1.5rem;
}
.ukvr-public-theme .v1-race-detail--illustrated-journey .v1-configured-map-journey .v1-race-section-heading { text-align: left; }
.ukvr-public-theme .v1-race-detail--illustrated-journey .v1-configured-map-journey .v1-journey-map img {
    max-height: none;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.ukvr-public-theme .v1-race-detail--illustrated-journey .v1-journey-map-action { text-align: center; margin: 1rem 0; }
.ukvr-public-theme .v1-race-detail--illustrated-journey .v1-configured-map-journey ol {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 1rem;
    padding: 0;
    list-style: none;
}
.ukvr-public-theme .v1-race-detail--illustrated-journey .v1-configured-map-journey li {
    display: block;
    padding: 0;
    background: transparent;
    color: var(--race-ink);
    border: 0;
}
.ukvr-public-theme .v1-race-detail--illustrated-journey .v1-configured-map-journey li img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1.8;
    object-fit: cover;
    border-radius: 12px;
}
.ukvr-public-theme .v1-race-detail--illustrated-journey .v1-configured-map-journey li div { padding: .5rem 0; }
.ukvr-public-theme .v1-race-detail--test-landmark-journey .v1-configured-map-journey li div { padding-inline: .5rem; }
.ukvr-public-theme .v1-race-detail--illustrated-journey .v1-configured-map-journey li strong,
.ukvr-public-theme .v1-race-detail--illustrated-journey .v1-configured-map-journey li small,
.ukvr-public-theme .v1-race-detail--illustrated-journey .v1-configured-map-journey li span { color: var(--race-ink); }
@media(max-width:700px) {
    .ukvr-public-theme .v1-race-detail--illustrated-journey .v1-configured-map-journey { padding-inline: .5rem; }
    .ukvr-public-theme .v1-race-detail--illustrated-journey .v1-configured-map-journey ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Phase 5: keep the rewards heading clear of the first medal on wide screens */
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-race-rewards-gallery {
    grid-template-columns: minmax(min-content, .5fr) minmax(0, 1.5fr);
}
.ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-race-rewards-gallery h2 {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    overflow-wrap: normal;
}
@media (max-width: 700px) {
    .ukvr-public-theme :is(.v1-race-detail--race-around-lancashire, .v1-race-detail--illustrated-journey) .v1-race-rewards-gallery {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Shared package text on light working surfaces; Founding Run keeps its approved styling. */
.ukvr-public-theme .v1-race-detail:not(.v1-race-detail--founding-run) .v1-package-option__edition { color:#40594d; font-size:.75rem; }
.ukvr-public-theme .v1-race-detail:not(.v1-race-detail--founding-run) .v1-package-option :is(ul,.small-note,.v1-medal-specification) { color:#304d3e; font-size:.9rem; line-height:1.5; }

/* Package readability: shared across event, challenge and special pages. */
.ukvr-public-theme .v1-race-detail.v1-race-detail .v1-package-option {
    border-color: #9aaa9d;
}
.ukvr-public-theme .v1-race-detail.v1-race-detail .v1-package-option--medal {
    border-color: #b9902e;
}
.ukvr-public-theme .v1-race-detail.v1-race-detail .v1-package-option :is(ul, .small-note, .v1-medal-specification),
.ukvr-public-theme .v1-race-detail.v1-race-detail .v1-package-option__edition,
.ukvr-public-theme .v1-race-detail.v1-race-detail .v1-package-option .v1-achievement-medal__label {
    color: #003c28;
}

/* Centre the tier label consistently on the light package-card surfaces. */
.ukvr-public-theme .v1-race-detail.v1-race-detail .v1-package-option .v1-achievement-medal__label {
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}
