﻿.horses_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.horses_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

    .horses_container.popular_events {
        padding: 0;
    }

    .horses_container.horseracing {
        gap: 8px;
    }

.horses_header {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.horses_header_title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

.horses_media_container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.horses_media_nav {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px;
    background-color: var(--dark);
    border-radius: 4px;
}

.horses_media_nav_button {
    width: 100%;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--dark);
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

    .horses_media_nav_button:focus,
    .horses_media_nav_button:active {
        border-color: var(--primary-orange);
        transition: 0.2s ease-out;
    }

.horses_media_nav_link {
    width: 100%;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    line-height: 12px;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 4px;
}

    .horses_media_nav_link:focus,
    .horses_media_nav_link:active,
    .horses_media_nav_link:hover {
        border-color: var(--primary-orange);
        transition: 0.2s ease-out;
    }

.horses_body {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hr_podcast_container {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border: 2px solid var(--primary-orange);
    border-radius: 4px;
}

    .hr_podcast_container[data-active="true"] {
        display: flex;
    }

.hr_podcast_header {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 2px solid var(--primary-orange);
}

.hr_podcast_header_title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

.close_hr_podcast_button {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    background-color: var(--light);
    border: 2px solid var(--dark);
    border-radius: 4px;
    cursor: pointer;
}

.hr_podcast_body {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hr_podcast_message {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hr_podcast_message_text {
    width: 100%;
    display: block;
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    text-align: center;
}

    .hr_podcast_message_text a {
        font-size: inherit;
        font-weight: inherit;
        line-height: inherit;
        color: inherit;
    }

.live_hr_streaming_container {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    border: 2px solid var(--dark);
    border-radius: 4px;
}

.live_hr_stream_message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.close_hr_stream_message_button {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 auto;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    background-color: var(--light);
    border: 2px solid var(--dark);
    border-radius: 2px;
    cursor: pointer;
    z-index: 1;
}

.live_hr_stream_message_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--dark);
    text-align: center;
}

    .live_hr_stream_message_text a {
        color: var(--dark);
        font-weight: 600;
    }

    .live_hr_stream_frame a {
        font-size: inherit;
        font-weight: inherit;
        line-height: inherit;
        color: var(--dark);
    }

.live_hr_stream_frame {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .live_hr_stream_frame iframe {
        width: 100%;
        height: 250px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 2px;
    }

    .horses {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

.horses_coupon_info_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.horses_coupon_info_description {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background-color: var(--dark);
    border-radius: 4px;
}

.horses_coupon_info_description_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
}

.horses_card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--grey);
    border-radius: 8px;
}

.horses_card_header {
    width: 100%;
    min-height: 58px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px;
    background-color: var(--dark);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.horses_card_header_group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    padding-left: 2px;
}

    .horses_card_header_group:nth-child(1) {
        flex: 1;
    }

    .horses_card_header_group:nth-child(2) {
        flex: 0;
    }

.flag_icon {
    min-width: 32px;
    min-height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    border-radius: 50%;
}

    .flag_icon img {
        width: 100%;
        max-width: 28px;
        height: auto;
        display: block;
    }

.horses_card_header_title {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.horses_card_header_title_text {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
}

.horses_card_header_date_text {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--light);
}

.horses_card_header_track {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--light);
}

.live_hr_streaming_button {
    width: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background-color: transparent;
    border: 2px solid var(--light);
    border-radius: 4px;
    cursor: pointer;
}


.live_hr_streaming_icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.live_hr_stream_text {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
}

.horses_card_header_market_type {
    min-width: 64px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.horses_card_header_market_type_text {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
}

.horses_card_body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.horse_card_body_message {
    padding: 16px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

.horse_card_body_results {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
}

.horse_card_body_results_text {
    width: 100%;
    display: none;
    flex-direction: row;
    align-items: center;
    padding: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    background-color: var(--light);
    border-radius: 4px;
}

    .horse_card_body_results_text[data-active="true"] {
        display: flex;
    }

    .horses_card_body_participants {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        border: 2px solid var(--dark);
    }

.horse_card_body_participant_group {
    width: 100%;
    min-height: 48px;
    display: none;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 1px 2px;
    background-color: var(--light);
}

    .horse_card_body_participant_group:nth-child(-n+5) {
        display: flex;
    }

.horses_card_body_participants[data-active="true"] .horse_card_body_participant_group {
    display: flex;
}

.horse_card_body_participant_group:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.horse_card_body_participant_info {
    display: flex;
    flex: 1;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding-right: 4px;
}

.participant_jockey_silk {
    min-width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.participant_jockey_silk_number {
    width: 100%;
    height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    background-color: var(--grey);
    border-radius: 4px;
}

    .participant_jockey_silk_number.no_image[data-number="1"] {
        color: #ffffff;
        background-color: #f44336;
    }

    .participant_jockey_silk_number.no_image[data-number="2"] {
        color: #000000;
        background-color: #FFFFFF;
    }

    .participant_jockey_silk_number.no_image[data-number="3"] {
        color: #ffffff;
        background-color: #3F51B5;
    }

    .participant_jockey_silk_number.no_image[data-number="4"] {
        color: #000000;
        background-color: #FFEB3B;
    }

    .participant_jockey_silk_number.no_image[data-number="5"] {
        color: #ffffff;
        background-color: #4CAF50;
    }

    .participant_jockey_silk_number.no_image[data-number="6"] {
        color: #D4AF34;
        background-color: #2E2923;
    }

    .participant_jockey_silk_number.no_image[data-number="7"] {
        color: #000000;
        background-color: #FF5722;
    }

    .participant_jockey_silk_number.no_image[data-number="8"] {
        color: #000000;
        background-color: #E91E63;
    }

    .participant_jockey_silk_number.no_image[data-number="9"] {
        color: #000000;
        background-color: #00BCD4;
    }

    .participant_jockey_silk_number.no_image[data-number="10"] {
        color: #ffffff;
        background-color: #673AB7;
    }

    .participant_jockey_silk_number.no_image[data-number="11"] {
        color: #f44336;
        background-color: #9E9E9E;
    }

    .participant_jockey_silk_number.no_image[data-number="12"] {
        color: #000000;
        background-color: #CDDC39;
    }

    .participant_jockey_silk_number.no_image[data-number="13"] {
        color: #ffffff;
        background-color: #795548;
    }

    .participant_jockey_silk_number.no_image[data-number="14"] {
        color: #FFEB3B;
        background-color: #9C27B0;
    }

    .participant_jockey_silk_number.no_image[data-number="15"] {
        color: #000000;
        background-color: #C3B091;
    }

    .participant_jockey_silk_number.no_image[data-number="16"] {
        color: #f44336;
        background-color: #91D0E0;
    }

    .participant_jockey_silk_number.no_image[data-number="17"] {
        color: #ffffff;
        background-color: #1A237E;
    }

    .participant_jockey_silk_number.no_image[data-number="18"] {
        color: #FFEB3B;
        background-color: #1B5E20;
    }

    .participant_jockey_silk_number.no_image[data-number="19"] {
        color: #f44336;
        background-color: #304FFE;
    }

    .participant_jockey_silk_number.no_image[data-number="20"] {
        color: #FFEB3B;
        background-color: #F50057;
    }

[data-number="21"] {
    color: #1A237E;
    background-color: #AB47BC;
}

.participant_jockey_silk_icon {
    width: 100%;
    max-width: 28px;
    height: auto;
    display: block;
}

.participant_runner {
    width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.participant_runner_text {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 95%;
    display: inline-block;
}

    .participant_runner_text:nth-child(2) {
        font-size: 12px;
        font-weight: 400;
        line-height: 1.2;
    }

.participant_runner.scratched .participant_runner_text:nth-child(1) {
    text-decoration: line-through;
    text-decoration-color: var(--red);
}

.participant_runner.scratched .participant_runner_text:nth-child(2) {
    font-weight: bold;
    color: var(--red);
}

.jockey_info_modal_button {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-orange);
    background-color: var(--dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.horse_card_body_participant_odds {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.add_bet_link {
    min-width: 64px;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    color: var(--light);
    background-color: var(--dark);
    border-radius: 4px;
}

    .add_bet_link:focus,
    .add_bet_link:active {
        font-weight: bold;
        color: var(--dark);
        background-color: var(--primary-orange);
        transition: 0.2s ease-out;
    }

.odds_changed_indicator {
    position: absolute;
    top: 2px;
    right: 2px;
}

.is_long {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 12px solid var(--red);
    border-bottom-right-radius: 2px;
    transform: rotateX(180deg);
}

.is_short {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 12px solid var(--green);
    border-bottom-right-radius: 2px;
    transform: rotateX(180deg);
}

.add_bet_button {
    min-width: 64px;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: var(--light);
    background-color: var(--dark);
    border-radius: 4px;
}

    .add_bet_button[disabled="disabled"] {
        opacity: 0.5;
        cursor: not-allowed;
    }

.odds_changed_indicator {
}

.load_more_participants {
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--dark);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.load_more_participants_button {
    width: calc(100% - 8px);
    height: 36px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

    .load_more_participants_button:focus,
    .load_more_participants_button:active {
        background-color: var(--grey);
        transition: border-color 0.2s ease-out;
    }

    .load_more_participants_button[data-active="true"] {
        background-color: var(--grey);
        transition: 0.2s ease-in-out;
    }

.load_more_participants_button_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

.load_more_participants_button[data-active="true"] .load_more_participants_button_text {
    color: var(--dark);
    transition: 0.2s ease-in-out;
}

.load_more_participants_button_icon {
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .load_more_participants_button_icon img {
        width: 100%;
        max-width: 24px;
        height: auto;
        display: block;
    }

.load_more_participants_button[data-active="true"] .load_more_participants_button_icon {
    transform: rotate(-180deg);
    transition: 0.2s ease-out;
}

.load_more_participants_button[data-active="false"] .load_more_participants_button_icon {
    transition: 0.2s ease-out;
}

.horses_page_content_container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px auto 0 auto;
    padding: 8px;
    border: 2px solid var(--grey);
    border-radius: 8px;
}

.horses_page_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.horses_page_content_title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

.horses_page_content_text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--dark);
}

    .horses_page_content_text a {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.5;
        color: var(--dark);
    }

.horses_page_content_list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 36px;
}

    .horses_page_content_list li {
        font-size: 14px;
        font-weight: 400;
        line-height: 1.2;
        color: var(--dark);
    }

        .horses_page_content_list li a {
            font-size: 14px;
            font-weight: 600;
            line-height: 1.2;
            text-decoration: underline;
            color: var(--dark);
        }

.horse_race_cards_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background-color: rgba(8, 21, 53, 0.75);
    z-index: 99999;
}

.horse_race_cards_modal {
    width: 100%;
    max-width: 480px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background-color: var(--dark);
    border-radius: 8px;
}

.horse_race_cards_modal_header {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
}

.horse_race_cards_modal_header_title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
}

.close_horse_race_cards_modal {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
}

.horse_race_cards_modal_body::-webkit-scrollbar {
    display: none;
}

.horse_race_cards_modal_body {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.race_cards_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.race_cards_message {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.race_cards_message_text {
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    color: var(--light);
}

.race_cards {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.race_cards_link {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 4px;
    text-decoration: none;
    background-color: var(--light);
    border-radius: 4px;
}

.race_cards_link_icon {
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.race_cards_link_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
}

.horse_race_results_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background-color: rgba(8, 21, 53, 0.75);
    z-index: 99999;
}

.horse_race_results_modal {
    width: 100%;
    max-width: 480px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background-color: var(--dark);
    border-radius: 8px;
}

.horse_race_results_modal_header {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
}

.horse_race_results_modal_header_title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
}

.close_horse_race_results_modal {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
}

.horse_race_results_modal_body::-webkit-scrollbar {
    display: none;
}

.horse_race_results_modal_body {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.results_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.results_message {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.results_message_text {
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    color: var(--light);
}

.results {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 4px;
    background-color: var(--light);
    border-radius: 4px;
}

.results_header {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.results_header_date {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
}

.results_header_event {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
}

.results_body {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.results_body_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    color: var(--dark);
}

.horse_jockey_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 999999;
}

.horse_jockey_modal {
    width: 100%;
    max-width: 480px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    background-color: var(--dark);
    border-radius: 8px;
}

.horse_jockey_modal_header {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 2px solid var(--light);
}

.horse_jockey_modal_header_title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--light);
}

.close_horse_jockey_modal {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
}

.horse_jockey_modal_body {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.jockey_info_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jockey_info {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--light);
}

    .jockey_info:last-child {
        border: none;
    }

.jockey_info_text {
    width: 50%;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--light);
}

@media only screen and (min-width: 680px) {
    .live_hr_stream_frame iframe {
        height: 350px;
    }

    .horses_card {
        width: calc(50% - 4px);
    }

    .participant_jockey_silk {
        min-width: 36px;
        height: 36px;
    }
}

@media only screen and (min-width: 960px) {
    .live_hr_stream_frame iframe {
        height: 380px;
    }
}

@media only screen and (min-width: 1200px) {
    .horses_media_nav_button:hover {
        border-color: var(--primary-orange);
        transition: 0.2s ease-in-out;
    }

    .horses_card {
        width: 100%;
    }

    .add_bet_link:hover {
        color: var(--dark);
        background-color: var(--primary-orange);
        transition: 0.2s ease-in-out;
    }

    .load_more_participants_button:hover {
        background-color: var(--grey);
        transition: 0.2s ease-in-out;
    }

        .load_more_participants_button:hover .load_more_participants_button_text {
            color: var(--dark);
            transition: 0.2s ease-in-out;
        }
}

@media only screen and (min-width: 1360px) {
    .horses_card {
        width: calc(50% - 4px);
    }
}
