.training_sub_race_host {
  position: fixed;
  inset: 0;
  z-index: 1200020;
  display: block;
  overflow: auto;
  background: #000;
  opacity: 1;
  -webkit-transition: opacity 1s;
  transition: opacity 1s;
}
.training_sub_race_host.is_fading_out {
  opacity: 0;
  pointer-events: none;
}

.training_sub_race_body {
  margin: 0;
  min-height: 720px;
  background: #000;
  opacity: 0;
  -webkit-transition: opacity 1s;
  transition: opacity 1s;
}
.training_sub_race_body.is_sub_a_visible {
  opacity: 1;
}
.training_sub_race_body .race_demo_inner {
  opacity: 1;
}
.training_sub_race_body .race_main_header {
  z-index: 20;
}
.training_sub_race_body .race_cheer_button {
  -ms-touch-action: none;
      touch-action: none;
}
.training_sub_race_body .col_win_place, .training_sub_race_body .col_formation, .training_sub_race_body .col_win, .training_sub_race_body .col_place,
.training_sub_race_body .entry_win_bet_cell, .training_sub_race_body .entry_place_bet_cell, .training_sub_race_body .entry_formation_cell, .training_sub_race_body .entry_box_cell,
.training_sub_race_body .bet_btn, .training_sub_race_body .formation_btn, .training_sub_race_body .box_btn {
  display: none !important;
}
.training_sub_race_body .odds_demo {
  min-height: 0;
}
.training_sub_race_body .race_training_glory {
  opacity: 1 !important;
}
.training_sub_race_body [hidden] {
  display: none !important;
}

.training_sub_race_preparing {
  position: fixed;
  inset: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0;
  color: #fff;
  font: bold 22px "Kaisei Decol", serif;
}

.training_sub_race_entry_panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.training_sub_race_controls {
  position: relative;
  margin: 30px auto 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 24px;
  z-index: 50000;
}
.training_sub_race_controls button {
  width: 240px;
  min-height: 58px;
  border: 2px solid #fff;
  border-radius: 0;
  background: #000;
  color: #fff;
  font: bold 22px "Kaisei Decol", serif;
  cursor: pointer;
}

.training_sub_race_popularity {
  z-index: 60000;
  opacity: 1;
  -webkit-transition: opacity 1s;
  transition: opacity 1s;
}
.training_sub_race_popularity .app_modal_overlay {
  background: rgba(0, 0, 0, 0.8);
}
.training_sub_race_popularity .app_modal_panel {
  max-width: 432px;
  opacity: 1 !important;
}
.training_sub_race_popularity .app_modal_head h2 {
  min-width: 0;
  font-size: 19.8px !important;
  text-align: center;
  overflow-wrap: anywhere;
}
.training_sub_race_popularity .training_sub_popularity_favorite {
  color: #ff3030;
}
.training_sub_race_popularity.is_fading_out {
  opacity: 0;
  pointer-events: none;
}

@media screen and (max-width: 979px) {
  .training_sub_race_body {
    min-height: 1400px;
  }
  .training_sub_race_body .race_demo .training_sub_race_entry_panel {
    margin-left: 40px;
  }
  .training_sub_race_body .race_demo .training_sub_race_entry_panel .race_entry_mini {
    margin-left: 0;
  }
  .training_sub_race_controls button {
    width: 300px;
    min-height: 80px;
    font-size: 32px;
  }
  .training_sub_race_preparing {
    font-size: 32px;
  }
  .training_sub_race_popularity .app_modal_head h2 {
    font-size: 17.6px !important;
  }
}