
#strategyHubV1 #rbTipsheetOpen {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #b5ff00 !important;
    color: #090c08 !important;
    border: 1px solid #b5ff00 !important;
    border-radius: 8px;
    padding: 12px 22px;
    margin: 6px 0 20px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .5px;
    cursor: pointer;
    min-height: 42px;
    transition: background .15s ease;
}

#strategyHubV1 #rbTipsheetOpen:hover {
    background: #d0ff65 !important;
}

@media(max-width:700px) {
    #strategyHubV1 #rbTipsheetOpen {
        width: 100%;
        margin-bottom: 14px;
    }
}



#rbCompactHomeTools {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}

#rbHomeTipsheetOpen {
    background: #202b10 !important;
    border: 1px solid #9bd600 !important;
    color: #b5ff00 !important;
    cursor: pointer;
}

#rbHomeTipsheetOpen strong {
    color: #b5ff00 !important;
}

#rbHomeTipsheetOpen small {
    color: #a5afa2 !important;
}

#rbHomeTipsheetOpen:hover {
    background: #303e17 !important;
}

#rbTipsheetDialog .rb-ts-toolbar {
    background: #111610;
    border-bottom: 1px solid #30382d;
}

#rbTipsheetDialog .rb-ts-toolbar input,
#rbTipsheetDialog .rb-ts-toolbar select,
#rbTipsheetDialog .rb-ts-toolbar button {
    background: #20261e;
    border-color: #414b3b;
    color: #ffffff;
    color-scheme: dark;
}

#rbTipsheetDialog #rbTipsheetPrint {
    background: #b5ff00;
    border-color: #b5ff00;
    color: #090c08;
}

#rbTipsheetDialog .rb-ts-header {
    background: #090c0b;
    border-bottom: 3px solid #b5ff00;
    padding: 20px 24px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 16px;
}

#rbTipsheetDialog .rb-ts-logo {
    width: 290px;
    max-width: 90%;
}

#rbTipsheetDialog .rb-ts-kicker {
    color: #b5ff00;
    margin-top: 12px;
}

#rbTipsheetDialog .rb-ts-title {
    color: #ffffff;
}

#rbTipsheetDialog .rb-ts-meta {
    color: #9ce4e8;
}

#rbTipsheetDialog .rb-ts-stat {
    background: #f5f7f2;
    border: 1px solid #d8dfd2;
}

#rbTipsheetDialog .rb-ts-stat strong {
    color: #111610;
}

#rbTipsheetDialog .rb-ts-table th {
    background: #151b13;
    color: #ffffff;
    border-bottom: 2px solid #b5ff00;
}

#rbTipsheetDialog .rb-ts-price {
    color: #111610;
}

#rbTipsheetDialog .rb-ts-footer {
    border-top: 2px solid #9bd600;
}

@media(max-width:700px) {
    #rbCompactHomeTools {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }

    #rbHomeTipsheetOpen {
        min-width: 0;
    }

    #rbTipsheetDialog .rb-ts-header {
        padding: 15px;
    }
}

@media print {
    #rbTipsheetDialog .rb-ts-header {
        padding: 12px 16px;
        background: #090c0b !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    #rbTipsheetDialog .rb-ts-logo {
        width: 210px;
    }

    #rbTipsheetDialog .rb-ts-title {
        font-size: 24px;
        color: #ffffff !important;
    }

    #rbTipsheetDialog .rb-ts-kicker {
        color: #b5ff00 !important;
        margin-top: 6px;
    }

    #rbTipsheetDialog .rb-ts-meta {
        color: #9ce4e8 !important;
    }

    #rbTipsheetDialog .rb-ts-stats {
        margin: 10px 0;
    }

    #rbTipsheetDialog .rb-ts-stat {
        padding: 6px 10px;
    }

    #rbTipsheetDialog .rb-ts-table th {
        background: #151b13 !important;
        color: #ffffff !important;
    }

    #rbTipsheetDialog .rb-ts-table td {
        padding: 5px 4px;
    }
}



/* RB_CURRENT_GEAR_V1: this race's gear change under the horse name */
.rb-current-gear {
    margin-top: 4px;
    font-size: 11.5px;
    line-height: 1.35;
    color: #f5c451;
    font-weight: 600;
    white-space: normal;
    max-width: 260px;
}
.rb-current-gear-label {
    display: inline-block;
    margin-right: 4px;
    padding: 0 5px;
    border-radius: 4px;
    background: rgba(245, 196, 81, 0.14);
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: 0.06em;
}



.rb-rf-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.rb-rf-track {
    width: 29px;
    height: 16px;
    border-radius: 20px;
    background: #414941;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
}

.rb-rf-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #b6bcb6;
    transition: transform .15s;
}

.rb-rf-toggle[aria-checked="true"] .rb-rf-track {
    background: #b6f500;
}

.rb-rf-toggle[aria-checked="true"] .rb-rf-thumb {
    transform: translateX(13px);
    background: #19210d;
}

.rb-rf-status {
    font-size: 9px;
    opacity: .8;
}

.rb-rf-cell {
    padding: 3px 9px 6px !important;
    text-align: left !important;
    background: rgba(100,120,100,.045);
}

.rb-rf-content {
    width: 100%;
    font-size: 11px;
    line-height: 1.35;
    color: inherit;
}

.rb-rf-run {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    align-items: center;
    gap: 9px;
    padding: 4px 5px;
    border-bottom: 1px solid rgba(140,150,140,.13);
}

.rb-rf-run.has-rating {
    grid-template-columns: 42px minmax(0,1fr) 48px;
}

.rb-rf-run:nth-child(odd) {
    background: rgba(140,150,140,.045);
}

.rb-rf-run:last-child {
    border-bottom: 0;
}

.rb-rf-position {
    font-size: 12px;
    font-weight: 750;
    text-align: center;
}

.rb-rf-position.win {
    color: #b6f500;
}

.rb-rf-position.place {
    color: #d8b86c;
}

.rb-rf-lines {
    min-width: 0;
}

.rb-rf-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px 9px;
    min-height: 14px;
}

.rb-rf-line span {
    white-space: nowrap;
}

.rb-rf-secondary {
    opacity: .78;
}

.rb-rf-trackname {
    font-weight: 750;
}

.rb-rf-rating {
    text-align: center;
    color: #b6f500;
    font-size: 12px;
    font-weight: 750;
}

.rb-rf-rating small {
    display: block;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .25px;
}

.rb-rf-message {
    padding: 6px 10px;
    opacity: .65;
}

@media(max-width:700px) {

    .rb-hs-actions {
        flex-wrap: wrap !important;
    }

    .rb-rf-row,
    .rb-rf-cell {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-column: 1 / -1 !important;
        box-sizing: border-box !important;
    }

    .rb-rf-row::before,
    .rb-rf-cell::before,
    .rb-rf-cell::after {
        display: none !important;
        content: none !important;
    }

    .rb-rf-cell {
        padding: 3px 5px !important;
    }

    .rb-rf-run {
        grid-template-columns: 32px minmax(0,1fr);
        gap: 5px;
        padding: 5px 3px;
    }

    .rb-rf-run.has-rating {
        grid-template-columns: 32px minmax(0,1fr) 39px;
    }

    .rb-rf-content {
        font-size: 10px;
    }

    .rb-rf-line {
        gap: 1px 6px;
    }

    .rb-rf-line span {
        white-space: normal;
    }

    .rb-rf-position,
    .rb-rf-rating {
        font-size: 11px;
    }
}

