/* today_rank */
.today_rank {
  padding: 22px 10px;
  margin-bottom: 20px;
  background: linear-gradient(to bottom, #d7d7d7 0%, #e0e0e0 33%, #f0f0f0 66%, #ffffff 100%);
}

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

.today_rank_header .title {
  padding-left: 25px;
  font-size: 16px;
  font-weight: 500;
}

.today_rank_cate {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn_cate {
  padding: 4px 16px;
  color: #737373;
  font-size: 11px;
  font-weight: 500;
  border-radius: 3px;
  background: #ececec;
  border: 1px solid #737373;
}

.btn_cate.active {
  background: #484848;
  color: #ececec;
  border: 1px solid #000;
}

.rank_area {
  text-align: center;
}

.swiper_title {
  margin-bottom: 10px;
  display: block;
  width: 100%;
  color: #ff7a00;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
}

.rank_builder {
  padding: 2px 13px;
  display: inline-flex;
  align-items: center;
  color: #777879;
  font-size: 12px;
  font-weight: 350;
  background: #fff;
  border-radius: 10px;
}

.rank_builder .builder_img {
  margin: 0 5px;
  height: 100%;
  max-height: 16px;
  width: auto; /* 이미지 비율을 유지 */
  object-fit: contain; /* 이미지가 부모 요소에 맞게 조절됨 */
}

.rank_list {
  margin: 12px auto 0;
  width: 100%;
  max-width: 460px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: flex-end;
}

.rank_list li {
  width: 30%;
}

.rank_list li:nth-child(2) {
  width: 33%;
}

.rank_list li .img_area {
  display: flex;
  align-items: center;
  height: 175px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}

.rank_list li:nth-child(2) .img_area {
  height: 200px;
}

.rank_list li .img_area::after {
  content: "";
  display: block;
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 30px;
  height: 35px;
}
.rank_list li:nth-child(1) .img_area:after {
  background: url(/assets/images/main/rank_label_02.png) no-repeat center / 100% auto;
}
.rank_list li:nth-child(2) .img_area:after {
  background: url(/assets/images/main/rank_label_01.png) no-repeat center / 100% auto;
}
.rank_list li:nth-child(3) .img_area:after {
  background: url(/assets/images/main/rank_label_03.png) no-repeat center / 100% auto;
}

.rank_list li .item_name_area {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}

.rank_list li img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* swiper */
.main_swiper {
  padding-bottom: 30px;
}

.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 0.3s opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  background: #b0b0b0;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #ff7900 !important;
  transition: 0.3s;
}
/* //today_rank */

/* live_build */
.live_build {
  padding: 0 10px;
  margin-bottom: 26px;
}

.live_build .title {
  display: block;
  margin: 0 0 11px 5px;
  font-weight: 500;
}

.vtikcer_area {
  padding: 20px 12px;
  background: #444;
  border-radius: 10px;
}

.live_vticker {
  color: #fff;
}

.live_vticker ul {
  width: 100%;
}

.vticker_item > a {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 350;
}

.vticker_item > a span:nth-child(1) {
  padding-right: 10px;
  width: 50%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vticker_item > a .user_icon {
  margin-left: auto;
  margin-right: 5px;
  width: auto;
  max-height: 20px;
}
/* //live_build */

/* table_wrap */
.table_wrap {
  position: relative;
  margin-bottom: 21px;
  padding: 20px 10px;
  background: #eaeef3;
}

.table_wrap .table_top {
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table_wrap .title {
  display: block;
  margin: 0 0 0 5px;
  font-weight: 500;
}

.table_wrap .table_cate {
  display: flex;
  gap: 4px;
  justify-content: space-between;
  align-items: center;
}

.table_wrap .table_cate button {
  padding: 2px 4px;
  min-width: 50px;
  color: #7b7d80;
  font-size: 11px;
  font-weight: 500;
  background: #f5f7f9;
  border: 1px solid #7b7d80;
  border-radius: 3px;
}

.table_wrap .table_cate button.active {
  background: #484848;
  border: 1px solid #000;
  color: #fff;
}

.table_wrap .table_area li {
  position: relative;
  margin-bottom: 5px;
  padding: 11px 12px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #dee0e4;
}

.table_wrap .table_area li:last-child {
  margin: 0;
}
/* //table_wrap */

/* total_build */

.total_build .total_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.table_item_info {
  width: 70%;
}

.table_item_info b {
  margin-bottom: 10px;
  display: block;
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.total_item_user {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.total_item_user > span {
  font-size: 11px;
  font-weight: 300;
  color: #767678;
}

.total_item_user > span:nth-child(1) {
  width: 40%;
}

.total_item_user > span:nth-child(2) {
  position: relative;
  padding-left: 18px;
}

.total_item_user > span:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 12px;
  height: 100%;
  background: url(/assets/images/common/ico_profile_min.png) no-repeat 0 center / 100%;
}

.table_timer {
  padding-left: 25px;
  color: #e92e21;
  font-size: 12px;
  background: url(/assets/images/common/ico_clock.png) no-repeat 0 center / auto 13px;
  white-space: nowrap;
}

.table_area li.hot::after {
  content: "";
  position: absolute;
  display: block;
  top: -7px;
  left: -10px;
  width: 22px;
  height: 23px;
  background: url(/assets/images/common/ico_hot.png) no-repeat center / 100% auto;
}
/* //total_build */

/* my_build */
.my_build .table_timer {
  padding-left: 20px;
  color: #767678;
}

.my_build .table_item_info b {
  margin-bottom: 5px;
}

.my_build .build_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.my_build .table_stat {
  padding-left: 30px;
  font-size: 12px;
}

.my_build .table_stat.saving {
  color: #595959;
  background: url(/assets/images/common/ico_saving.png) no-repeat 0 center / auto 15px;
}
.my_build .table_stat.saved {
  color: #ff2e00;
  background: url(/assets/images/common/ico_saved.png) no-repeat 0 center / auto 15px;
}
/* //my_build */

/* table_pagination */
.table_pagination {
  margin: 18px auto 0;
  width: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.table_pagination .btn_page {
  width: 10px;
  height: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 5px auto;
}

.btn_page_left {
  background-image: url(/assets/images/common/ico_arrow_left.png);
}

.btn_page_right {
  background-image: url(/assets/images/common/ico_arrow_right.png);
}

.table_pagination .page_list {
  margin: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #fff;
}

.table_pagination .page_list li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  font-size: 0px;
  cursor: pointer;
}

.table_pagination .page_list li.active {
  width: 18px;
  height: 18px;
  background: #ff7a00;
  font-size: 12px;
}
/* //table_pagination */

/* tutorial modal */
.modal_backdrop.modal_user_tutorial {
  display: none;
}

.modal_user_tutorial.modal_backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999;
}

.modal_user_tutorial .modal_content {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.modal_user_tutorial .modal_inner {
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 640px;
  min-height: 30vh;
  height: 670px;
  text-align: center;
  background-color: #fff;
  z-index: 9999;
}

.modal_user_tutorial .modal_content {
  position: relative;
  padding: 30px 0;
}

.modal_user_tutorial .tuto_hd {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffbd6f;
}

.modal_user_tutorial .tuto_hd .swiper-pagination {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  height: 100%;
  font-size: 13px;
  letter-spacing: 2px;
}

.modal_user_tutorial .tuto_hd .tuto_btn_close {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #575757;
  cursor: pointer;
  z-index: 99;
}

.modal_user_tutorial .tuto_hd .tuto_btn_close > img {
  margin: 2px 3px 0 0;
  display: block;
  width: 13px;
  height: 100%;
  background-color: #fff;
}

.modal_user_tutorial .tuto_swiper {
  height: 100%;
}

.modal_user_tutorial .tuto_swiper .swiper-slide {
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.modal_user_tutorial .modal_inner .txt_color_normal,
.modal_user_tutorial .modal_inner .txt_color_red {
  margin-bottom: 25px;
  display: block;
  width: 100%;
  color: #151515;
  font-size: 15px;
  line-height: 1.8;
  word-break: keep-all;
}

.modal_user_tutorial .modal_inner .txt_color_red {
  color: #fd0202;
  font-size: 13px;
}

.modal_user_tutorial .modal_inner .txt_color_normal .txt_color_main {
  display: inline;
  font-size: 18px;
}

.modal_user_tutorial .modal_inner .txt_color_main {
  display: block;
  width: 100%;
  font-weight: 400;
  font-size: 15px;
  color: #ff7a00;
}

.modal_user_tutorial .modal_inner .img_area {
  text-align: center;
  height: 75%;
}

.modal_user_tutorial .modal_inner .img_area > img {
  margin: 0 auto;
  display: block;
  height: 100%;
  object-fit: scale-down;
}

.modal_user_tutorial .tuto_swiper .swiper-slide:nth-child(1) .img_area {
  height: 65%;
}

.modal_user_tutorial .swiper-button-next:after,
.modal_user_tutorial .swiper-rtl .swiper-button-prev:after {
  display: none;
}

.modal_user_tutorial .swiper-button-prev:after,
.modal_user_tutorial .swiper-rtl .swiper-button-next:after {
  display: none;
}

.modal_user_tutorial .swiper-button-next.swiper-button-disabled,
.modal_user_tutorial .swiper-button-prev.swiper-button-disabled {
  display: none;
}

.modal_user_tutorial .tuto_swiper .swiper-button-next > img,
.modal_user_tutorial .tuto_swiper .swiper-button-prev > img {
  width: 50%;
}
/* //torial modal */

/* 20250302 추가  */
/* event modal */
.modal_user_event{
	display: none;
}
.modal_user_event.modal_backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999;
}

.modal_user_event .modal_content {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.modal_user_event .modal_inner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 420px;
  text-align: center;
  background-color: #fff;
  z-index: 9999;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.modal_user_event .modal_inner .swiper-pagination {
  padding: 1px 0;
  width: auto;
  min-width: 40px;
  left: auto;
  right: 20px;
  bottom: 10px;
  font-size: 12px;
  color: #fff;
  background: rgba(85 85 85 / 0.7);
  border-radius: 20px;
}

.modal_user_event .modal_inner .swiper-slide > img, .modal_user_event .modal_inner .swiper-slide > a > img {
  display: block;
  width: 100%;
}

.modal_user_event .event_swiper {
}

.modal_user_event .modal_inner .evt_ft {
  padding: 0 15px;
  display: flex;
  height: 35px;
  justify-content: space-between;
  align-items: center;
  color: #444;
  background: #f3f3f3;
  font-size: 12px;
}

.modal_user_event .modal_inner .evt_ft > button {
  color: inherit;
  font-size: inherit;
}

@media (max-width: 420px) {
  .modal_user_event .modal_inner {
    left: 0;
    transform: none;
  }
}
/* //event modal */
/* //20250302 추가  */
@media (max-width: 640px) {
  .rank_list li .img_area {
    height: 150px;
  }

  .rank_list li:nth-child(2) .img_area {
    height: 180px;
  }

  .vtikcer_area {
    padding: 15px 12px;
  }

  .vticker_item {
    font-size: 12px;
  }

  .rank_list li .img_area {
    border-radius: 10px;
  }

  .table_stat {
    width: 100%;
  }

  /* tutorial modal */
  .modal_user_tutorial .modal_inner {
    max-height: 85dvh;
  }

  .modal_user_tutorial .tuto_hd .tuto_btn_close {
    right: 10px;
  }

  .modal_user_tutorial .modal_inner .txt_color_normal {
    font-size: 14px;
  }

  .modal_user_tutorial .modal_inner .txt_color_red {
    font-size: 12px;
  }

  .modal_user_tutorial .modal_inner .txt_color_normal .txt_color_main {
    font-size: 16px;
  }

  .modal_user_tutorial .modal_inner .txt_color_main {
    font-size: 13px;
  }
}
