.race_shop_overlay [data-high-risk-shop-section] .return_rush_shop_description {
  margin-top: 10px;
}

#highRiskBanner {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

#highRiskBanner[hidden], #highRiskEventOpenBtn[hidden], #raceReturnRushEventOpenBtn[hidden],
.is_high_risk_event #raceReturnRushEventOpenBtn {
  display: none;
}

#highRiskPeriod, #highRiskLimit {
  color: #ffd400;
  font-weight: bold;
}

#highRiskPeriod, #highRiskEventOverlay .high_risk_intro {
  text-align: center;
}

#highRiskLimit {
  text-align: center;
}

.high_risk_stats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 12px;
  margin: 30px 0;
}

.high_risk_stats p {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0px;
  min-width: 0;
  margin: 0;
  text-align: center;
  font-size: 15px;
}

.high_risk_stats strong {
  display: block;
  color: #fff;
  font-family: "clother", sans-serif;
  font-weight: 900;
  font-size: 34px;
}

.high_risk_stats .race_ranking_num {
  color: inherit;
  font-size: inherit;
}

.high_risk_fixed_bet_class:not([hidden]) {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: #ffd400;
  font-weight: bold;
  white-space: nowrap;
}

.high_risk_stat_value {
  position: relative;
  display: inline-block;
}

.high_risk_stat_unit {
  position: absolute;
  left: 100%;
  bottom: 3px;
  margin-left: 5px;
  font-size: 14px;
}

#highRiskEventOverlay .return_rush_current_point {
  display: block;
  margin-left: 0;
}

.high_risk_point_label {
  display: block;
}

#highRiskPoints {
  letter-spacing: 0;
}

.high_risk_flow {
  display: block;
  width: 480px;
  height: auto;
  margin: 16px auto;
}

#highRiskEventOverlay .high_risk_pt_formula {
  margin: 30px 0;
}

.high_risk_end_actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 10px;
}

.high_risk_end_button {
  padding: 12px 20px;
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
  font-size: 18px;
  font-weight: bold;
  background: #ff0000;
  color: #fff;
}

.high_risk_end_button:disabled {
  opacity: 1;
  cursor: not-allowed;
}

.high_risk_confirm {
  z-index: 43000;
}

.high_risk_confirm .app_modal_panel {
  width: 520px;
  padding: 28px;
}

.high_risk_confirm .high_risk_actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.high_risk_effect {
  position: fixed;
  inset: 0;
  z-index: 45000;
  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;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  opacity: 1;
  -webkit-transition: opacity 1s linear;
  transition: opacity 1s linear;
}
.high_risk_effect[hidden] {
  display: none;
}
.high_risk_effect.is_fading {
  opacity: 0;
}
.high_risk_effect.is_c_fading {
  -webkit-transition: none;
  transition: none;
}

.high_risk_effect_inner {
  position: relative;
  width: 680px;
}

.high_risk_effect_image {
  display: block;
  width: 680px;
  height: auto;
}

.high_risk_stock {
  position: absolute;
  top: -20px;
  right: 0;
  font-family: "clother", sans-serif;
  font-style: normal;
  font-size: 48px;
  font-weight: bold;
  isolation: isolate;
}
.high_risk_stock::before {
  content: attr(data-stock-text);
  position: absolute;
  inset: 0;
  z-index: 0;
  font: inherit;
  letter-spacing: inherit;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 4px #fff;
  text-shadow: none;
  pointer-events: none;
}
.high_risk_stock > .is_rainbow {
  position: relative;
  z-index: 1;
  font: inherit;
  letter-spacing: inherit;
  text-shadow: none;
}

#highRiskError {
  color: #ffdd9e;
}

@media (min-width: 980px) {
  .race_ranking_overlay .high_risk_ranking_chain_unit {
    font-size: 12px;
  }
}
@media (max-width: 767px) {
  .high_risk_effect_inner, .high_risk_effect_image {
    width: 560px;
  }
}
@media (max-width: 979px) {
  #highRiskPeriod, #highRiskEventOverlay .high_risk_intro {
    text-align: left;
  }
  #highRiskEventOverlay .return_rush_ranking_reward_table .race_ranking_num {
    font-size: inherit;
  }
  #highRiskEventOverlay .return_rush_ranking_reward_table.is_wide .return_rush_ranking_top .race_ranking_num {
    font-size: 32px;
  }
  #highRiskPoints {
    font-size: 70px;
  }
  .high_risk_stats p {
    font-size: 24px;
  }
  .high_risk_stats strong {
    font-size: 60px;
  }
  .high_risk_fixed_bet_class:not([hidden]) {
    font-size: 20px;
  }
  .high_risk_stock {
    font-size: 72px;
  }
  .high_risk_stat_unit {
    bottom: 6px;
    font-size: 30px;
  }
  .race_ranking_overlay [data-high-risk-ranking-tabs] {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
  }
  .race_ranking_overlay [data-high-risk-ranking-tabs] .race_ranking_tab {
    min-width: 0;
    padding: 20px 40px;
  }
  .high_risk_flow {
    width: 100%;
  }
  .high_risk_end_button {
    padding: 18px 30px;
    font-size: 27px;
  }
}