

html body #strategyHubProduct .rb-edge-positive {
    color: #b6ff38 !important;
    font-weight: 700;
}

html body #strategyHubProduct .rb-edge-negative {
    color: #e59a9a !important;
    font-weight: 650;
}

html body #strategyHubProduct .rb-edge-neutral {
    color: #e5eae5 !important;
}

html body #strategyHubProduct .rb-edge-missing {
    color: #929e94 !important;
}



/* RB_NAV_NOWRAP_V1: keep each nav label on one line */
@media (min-width: 1401px) {
    .topbar .nav a { white-space: nowrap !important; max-width: none !important; }
}
@media (max-width: 1400px) {
    .topbar .nav { column-gap: 7px !important; }
    .topbar .nav a { font-size: 11px !important; }
}
/* The header logo image's box is wider than the drawn logo and overlapped
   the TODAY link, swallowing its clicks. Keep the nav above the logo. */
.topbar .nav { position: relative; z-index: 3; }
/* Mid-width desktops: the floating Ask the Brain button stays visible,
   so drop the duplicate nav item to stop the nav running into Sign In. */
@media (min-width: 1101px) and (max-width: 1400px) {
    .topbar .nav a[href="#ask"] { display: none !important; }
    .topbar .nav a { white-space: nowrap !important; max-width: none !important; }
}
/* Mobile home shortcuts: an odd last card spans the row instead of sitting alone. */
@media (max-width: 700px) {
    #rbCompactHomeTools > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* Profile pages: the full Ask the Brain section repeated under every horse,
   jockey and trainer. The floating Ask the Brain button stays available. */
body:has(#horsePage.visible) #ask,
body:has(#jockeyPage.visible) #ask,
body:has(#trainerPage.visible) #ask {
    display: none !important;
}
/* Next to Jump: the list reserves height while loading (avoids a layout
   jump). Once race cards exist, size to them so fewer than five races
   don't stretch into tall empty cards. */
#homeTopLayoutV4 #rbHomepageNext5 .rb-n5-list:has(> .rb-n5-item) {
    min-height: 0 !important;
}
@media (max-width: 700px) {
    #rbHomepageNext5 .rb-n5-list > .rb-n5-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}
/* RB_HORSE_SUMMARY_V1: server-written summary shown until the profile loads */
.rb-horse-ssr { padding: 8px 0 24px; color: var(--muted, #99a49a); font-size: 14px; line-height: 1.6; }
.rb-horse-ssr h1 { color: var(--text, #e4e9e3); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: 4px 0 8px; }
.rb-horse-ssr h2 { color: var(--text, #e4e9e3); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 18px 0 6px; }
.rb-horse-ssr ul { margin: 0; padding-left: 18px; }
.rb-horse-ssr strong { color: var(--text, #e4e9e3); }
.rb-ssr-eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--accent, #b9ff35); }
.rb-ssr-loading { margin-top: 14px; opacity: .7; }


#rb-rg-banner {
    box-sizing: border-box;
    width: 100%;
    background: #ffffff;
    color: #000000;
    border-top: 2px solid #e53935;
    border-bottom: 1px solid #dddddd;
    padding: 16px 20px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}
#rb-rg-banner .rb-rg-title {
    margin: 0 0 6px;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
}
#rb-rg-banner .rb-rg-support {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
}
#rb-rg-banner a {
    color: #000000;
    text-decoration: underline;
}
@media (max-width: 600px) {
    #rb-rg-banner {
        padding: 15px 12px;
    }
    #rb-rg-banner .rb-rg-title {
        font-size: 19px;
    }
    #rb-rg-banner .rb-rg-support {
        font-size: 14px;
    }
}
