/* stylelint-disable max-nesting-depth */
.image_posts_includes_image_post_list_multi_files_mark {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 1;
  display: flex;
  gap: 2px;
  align-items: center;
  padding: 0 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}
.image_posts_includes_image_post_list_multi_files_mark_icon {
  width: 10px;
  height: 10px;
  margin-top: 1px;
}
.image_posts_includes_image_post_list_multi_files_mark_count {
  font-size: 10px;
  font-weight: bold;
  color: #ffffff;
}

.events_ai_fantasy_header {
  max-width: 2000px;
  margin: auto;
}
.events_ai_fantasy_land_container {
  color: #ffffff;
  background-color: #171717;
}
.events_ai_fantasy_land {
  display: flex;
  gap: 3rem;
}
.events_ai_fantasy_judge_list {
  display: flex;
  flex-wrap: nowrap;
  gap: 2rem;
}
.events_ai_fantasy_judge_list_item {
  display: flex;
  width: 25%;
}
.events_ai_fantasy_countries {
  color: #ffffff;
  background-color: #171717;
}
.events_ai_fantasy_countries_country_entry_button {
  padding: 1.5rem 2rem;
  color: #ffffff;
  background-color: #171717;
  border: 3px solid #ffffff;
  border-radius: 0;
}
.events_ai_fantasy_countries_country_entry_button:hover {
  color: #ffffff;
  opacity: 0.7;
}
.events_ai_fantasy_countries_country_modal_logo {
  max-height: 270px;
}
.events_ai_fantasy_country_points_list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.events_ai_fantasy_country_points_list_item {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: calc(25% - 1.5rem);
  padding: 1rem;
  border: 1px solid #414141;
}
.events_ai_fantasy_country_points_list_item_point {
  font-size: 1.5rem;
}
.events_ai_fantasy_country_points_list_item_detail_button {
  display: block;
  width: fit-content;
  margin: auto;
  color: #4a4a4a;
  border-bottom: 1px solid #4a4a4a;
}
.events_ai_fantasy_ranking_list_item {
  position: relative;
  display: block;
}
.events_ai_fantasy_ranking_list_item_num {
  position: absolute;
  z-index: 10;
  width: 35px;
  height: 35px;
  font-weight: bold;
  line-height: 35px;
  color: #ffffff;
  text-align: center;
  background-color: #646464;
  border-top-left-radius: 2px;
}
.events_ai_fantasy_ranking_list_item_num_first {
  background-color: #e6b422;
}
.events_ai_fantasy_ranking_list_item_num_second {
  background-color: #c9caca;
}
.events_ai_fantasy_ranking_list_item_num_third {
  background-color: #b87333;
}

@media screen and (max-width: 1216px) {
  .events_ai_fantasy_judge_list {
    margin-right: -3rem;
    margin-left: -3rem;
    overflow-x: scroll;
  }
  .events_ai_fantasy_judge_list::-webkit-scrollbar {
    display: none;
  }
  .events_ai_fantasy_judge_list_item {
    position: relative;
    width: 30%;
    min-width: 30%;
  }
  .events_ai_fantasy_judge_list_item:first-child {
    margin-left: 3rem;
  }
  .events_ai_fantasy_judge_list_item:last-child::after {
    position: absolute;
    left: 100%;
    width: 3rem;
    height: 1px;
    content: "";
  }
}
@media screen and (max-width: 1024px) {
  .events_ai_fantasy_judge_list {
    margin-right: -1.5rem;
    margin-left: -1.5rem;
  }
  .events_ai_fantasy_judge_list_item {
    position: relative;
    width: 50%;
    min-width: 50%;
  }
  .events_ai_fantasy_judge_list_item:first-child {
    margin-left: 1.5rem;
  }
  .events_ai_fantasy_judge_list_item:last-child::after {
    position: absolute;
    left: 100%;
    width: 1.5rem;
    height: 1px;
    content: "";
  }
  .events_ai_fantasy_country_points_list {
    gap: 1rem;
  }
  .events_ai_fantasy_country_points_list_item {
    width: calc(50% - 0.5rem);
  }
  .events_ai_fantasy_country_points_list_item_point {
    font-size: 1rem;
  }
}
@media screen and (max-width: 768px) {
  .events_ai_fantasy_land {
    flex-direction: column-reverse;
  }
  .events_ai_fantasy_land_grave_image {
    display: block;
    max-height: 300px;
    margin: auto;
  }
  .events_ai_fantasy_judge_list {
    margin-right: -0.8rem;
    margin-left: -0.8rem;
  }
  .events_ai_fantasy_judge_list_item {
    min-width: 70%;
  }
  .events_ai_fantasy_judge_list_item:first-child {
    margin-left: 0.8rem;
  }
  .events_ai_fantasy_judge_list_item:last-child::after {
    width: 0.8rem;
  }
  .events_ai_fantasy_countries_country_name {
    font-size: 0.75rem !important;
  }
  .events_ai_fantasy_countries_country_entry_button {
    width: 100%;
    padding: 1rem;
    font-size: 0.75rem !important;
    border: 1px solid #ffffff;
  }
}
