        @media (max-width: 1200px) {
            .race_upcoming_entries_col_notes { display: none; }
        }

        @media (min-width: 1200px) {
            .race_upcoming_entries_col_more { display: none; }
        }

        @media (max-width: 1100px) {
            .race_upcoming_entries_col_bred { display: none; }
        }

        @media (max-width: 1000px) {
            .race_upcoming_entries_col_owner { display: none; }
        }

        @media (max-width: 900px) {
            .race_upcoming_entries_col_usd { display: none; text-align:right;  }
        }

        @media (max-width: 800px) {
            .race_upcoming_entries_col_badges { display: none; }
        }

        @media (max-width: 700px) {
            .race_upcoming_entries_col_im { display: none; }
        }

        @media (max-width: 600px) {
            .race_upcoming_entries_col_r { display: none; }
        }

        @media (max-width: 550px) {
            .race_upcoming_entries_col_w { display: none; }
        }

        @media (max-width: 500px) {
            .race_upcoming_entries_col_as { display: none; }
        }

        @media (max-width: 450px) {
            .race_upcoming_entries_col_epnt { display: none; }
        }

        @media (max-width: 400px) {
            .race_upcoming_entries_col_capper { display: none; }
        }



        .raceresults_bot_body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f5f5f5;
        }

        .raceresults_bot_container {
            max-width: 1600px;
            margin: 0 auto;
        }

        .raceresults_bot_table {
            width: 100%;
            background-color: white;
            border-collapse: collapse;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .raceresults_bot_table th {
            background-color: #E8E8D0;
            padding: 8px 6px;
            text-align: left;
            font-weight: bold;
            border-bottom: 2px solid #999;
            border-right: 1px solid #ccc;
            font-size: 13px;
        }

        .raceresults_bot_table td {
            padding: 8px 6px;
            border-bottom: 1px solid #ddd;
            border-right: 1px solid #eee;
            font-size: 12px;
        }

        .raceresults_bot_table tr:hover {
            background-color: #f9f9f9;
        }

        .raceresults_bot_post_position {
            background-color: #FF0000;
            color: white;
            font-weight: bold;
            text-align: center;
            min-width: 30px;
        }

        .raceresults_bot_post_position.raceresults_bot_pp_1 { background-color: #FF0000; }
        .raceresults_bot_post_position.raceresults_bot_pp_2 { background-color: #FFFFFF; color: #000; border: 1px solid #000; }
        .raceresults_bot_post_position.raceresults_bot_pp_3 { background-color: #0000FF; }
        .raceresults_bot_post_position.raceresults_bot_pp_4 { background-color: #FFFF00; color: #000; }
        .raceresults_bot_post_position.raceresults_bot_pp_5 { background-color: #00FF00; color: #000; }
        .raceresults_bot_post_position.raceresults_bot_pp_6 { background-color: #000000; }
        .raceresults_bot_post_position.raceresults_bot_pp_7 { background-color: #FFA500; }
        .raceresults_bot_post_position.raceresults_bot_pp_8 { background-color: #FFC0CB; color: #000; }

        .raceresults_bot_horse_name {
            color: #006400;
            font-weight: bold;
        }

        .raceresults_bot_owner_name {
            color: #0000FF;
        }

        .raceresults_bot_sp_cell {
            font-weight: bold;
        }

        .raceresults_bot_sp_superscript {
            font-size: 10px;
            vertical-align: super;
        }

        .raceresults_bot_badges {
            display: flex;
            gap: 2px;
            flex-wrap: wrap;
        }

        .raceresults_bot_badge {
            padding: 2px 5px;
            border-radius: 3px;
            font-size: 10px;
            font-weight: bold;
            color: white;
            border: 1px solid #000;
            display: inline-block;
        }

        .raceresults_bot_badge_gp { background-color: #FFD700; color: black; }
        .raceresults_bot_badge_sw { background-color: #4169E1; }
        .raceresults_bot_badge_500 { background-color: #8B4513; }
        .raceresults_bot_badge_gm { background-color: #C0C0C0; color: #000; }
        .raceresults_bot_badge_star { background-color: #FFD700; color: #000; }
        .raceresults_bot_badge_250 { background-color: #228B22; }

        /* Responsive Design */
        @media (max-width: 1400px) {
            .raceresults_bot_col_jockey { display: none; }
        }

        @media (max-width: 1300px) {
            .raceresults_bot_col_bred { display: none; }
        }

        @media (max-width: 1200px) {
            .raceresults_bot_col_badges { display: none; }
        }

        @media (max-width: 1100px) {
            .raceresults_bot_col_2nd { display: none; }
        }

        @media (max-width: 1000px) {
            .raceresults_bot_col_3rd { display: none; }
        }

        @media (max-width: 900px) {
            .raceresults_bot_col_1st { display: none; }
        }

        @media (max-width: 800px) {
            .raceresults_bot_col_owner { display: none; }
        }

        @media (max-width: 700px) {
            .raceresults_bot_col_as { display: none; }
        }

        @media (max-width: 600px) {
            .raceresults_bot_col_odds { display: none; text-align:right; }
        }
	
        .raceresults_top_body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f5f5f5;
        }

        .raceresults_top_container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .raceresults_top_header_section {
            background-color: #fff;
            padding: 15px 20px;
            margin-bottom: 10px;
            border-radius: 5px;
        }

        .raceresults_top_title_row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .raceresults_top_track_name {
            font-size: 20px;
            font-weight: bold;
            margin: 0;
        }

        .raceresults_top_datetime {
            font-size: 14px;
            margin: 5px 0;
        }

        .raceresults_top_weather_icons {
            display: flex;
            gap: 5px;
        }

        .raceresults_top_weather_icon {
            width: 30px;
            height: 30px;
            border-radius: 3px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 11px;
            color: white;
        }

        .raceresults_top_icon_g1 { background-color: #8B0000; }
        .raceresults_top_icon_r { background-color: #FFD700; color: #000; }
        .raceresults_top_icon_t { background-color: #006400; }
        .raceresults_top_icon_plus { background-color: #008B8B; }
        .raceresults_top_icon_op { background-color: #800080; }

        .raceresults_top_race_info {
            margin-top: 10px;
        }

        .raceresults_top_race_name {
            font-size: 18px;
            font-weight: bold;
            margin: 5px 0;
        }

        .raceresults_top_race_grade {
            font-size: 14px;
            margin: 3px 0;
        }

        .raceresults_top_race_restrictions {
            font-size: 13px;
            color: #666;
            margin: 3px 0;
        }

        .raceresults_top_race_distance {
            font-size: 13px;
            margin: 3px 0;
            display: flex;
            justify-content: space-between;
        }

        .raceresults_top_table {
            width: 100%;
            background-color: white;
            border-collapse: collapse;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-top: 10px;
        }

        .raceresults_top_table th {
            background-color: #E8E8E0;
            padding: 10px 8px;
            text-align: left;
            font-weight: bold;
            border-bottom: 2px solid #999;
            border-right: 1px solid #ccc;
            font-size: 14px;
        }

        .raceresults_top_table td {
            padding: 10px 8px;
            border-bottom: 1px solid #ddd;
            border-right: 1px solid #eee;
            font-size: 13px;
        }

        .raceresults_top_table tbody tr:nth-child(odd) {
            background-color: #f9f9f9;
        }

        .raceresults_top_table tbody tr:hover {
            background-color: #f0f0f0;
        }

        .raceresults_top_post_position {
            background-color: #FF0000;
            color: white;
            font-weight: bold;
            text-align: center;
            min-width: 30px;
        }

        .raceresults_top_post_position.raceresults_top_pp_1 { background-color: #FF0000; }
        .raceresults_top_post_position.raceresults_top_pp_8 { background-color: #FFC0CB; color: #000; }
        .raceresults_top_post_position.raceresults_top_pp_5 { background-color: #00FF00; color: #000; }

        .raceresults_top_horse_name {
            font-weight: bold;
        }

        .raceresults_top_stable_name {
            color: #0000FF;
        }

        .raceresults_top_money {
            color: #006400;
            font-weight: bold;
            text-align:right;
        }

        /* Responsive Design */
        @media (max-width: 900px) {
            .raceresults_top_col_stable { display: none; }
        }

        @media (max-width: 700px) {
            .raceresults_top_col_show { display: none; }
        }

        @media (max-width: 600px) {
            .raceresults_top_col_place { display: none; }
        }

        
