body {
  word-break: auto-phrase;
}

#search_option {
  margin-right: 1px;
  border-bottom: 0;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0;
}

.custom_tooltip img.img_monster {
  height: 100px;
}

.custom_tooltip img.img_map_monster {
  height: 2em;
}

img.img_symbol {
  height: 1em!important;
}

.info_container {
  background-color: rgb(67, 78, 85);
  border: 2px solid rgb(100, 120, 129);
  box-shadow: 0px 0px 0px 2px rgb(40, 47, 55);
}

.txt_title {
  color: rgb(221, 254, 1);
  text-shadow: 1px 1px 1px rgb(30, 38, 47);
  font-size: 1.25rem;
}

.txt_total {
  color: rgb(221, 254, 1);
}

.txt_disabled {
  color: rgb(190, 199, 212)!important;
}

.character_info {
  background-image: url('https://1951dcaf3338f8d2.kinxzone.com/upload/asset/background/여로.webp');
  background-size: cover;
  background-position: center;
  width: 100%;
  justify-content: center;
  align-items: center;

  position: relative;
  isolation: isolate;

  text-shadow: 0px 0px 2px rgb(62, 74, 86);
  box-shadow: 0px 1px 0px 2px rgba(46, 53, 61, .4);
  
}

.character_info::after {
  content: '';
  position: absolute;
  background: black;
  z-index: -1;
  inset: 0;
  opacity: 0.6;
  border-radius: var(--bs-border-radius-xl) !important;
  border: 2px solid rgba(150, 150, 150, .5);
}

.character_info .btn_character_info {
  position: absolute;
  right: 50px;
  top: 20px;
  width: auto;
  padding: 5px 25px;
  border-radius: 50px;
  border: 2px solid rgb(89, 221, 235);
  background: linear-gradient(0, rgb(55, 185, 209), rgb(69, 205, 225));
  color: white;
  font-size: 1rem;
  font-weight: bold;
  text-shadow: 1px 1px 0px rgb(35, 149, 175);
  box-shadow: 0px 0px 0px 1px rgb(108, 119, 133);
  border-bottom: none;
  text-decoration: none;
  cursor: pointer;
  appearance: button;
  -webkit-appearance: button;
  text-transform: none;
  margin: 0;
  line-height: inherit;
  text-align: center;
}

.character_info .btn_character_info:hover {
  text-shadow: 0px 0px 3px white;
}

#exp_history_card .btn_character_info {
  width: auto;
  margin-top: 7px;
  margin-bottom: 5px;
  padding: 2px 15px;
  border-radius: 50px;
  border: 2px solid rgb(89, 221, 235);
  background: linear-gradient(0, rgb(55, 185, 209), rgb(69, 205, 225));
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  text-shadow: 1px 1px 0px rgb(35, 149, 175);
  box-shadow: 0px 0px 0px 1px rgb(108, 119, 133);
  border-bottom: none;
  text-decoration: none;
  cursor: pointer;
  appearance: button;
  -webkit-appearance: button;
  text-transform: none;
  line-height: inherit;
  text-align: center;
}

#exp_history_card .btn_character_info:hover {
  text-shadow: 0px 0px 3px white;
}

img.img_character {
  width: 140px;
  height: 140px;
  pointer-events: none;
  scale: 3;
  object-position: 1px -5px;
}

.character_card img {
  vertical-align: text-top;
  width: 1.25rem;
  height: 1.25rem;
}

.nickname {
  background-color: rgb(60, 193, 215);
  border-radius: 100px;
  max-width: 240px;
  color: white;
}

.character_card {
  background: linear-gradient(0, rgba(200, 200, 200, .6) -200%, rgba(150, 150, 150, 0.5) 50%, rgba(200, 200, 200, .6) 200%);
  color: white;
}

.card_title {
  color: #DDD;
}

.union_text {
  font-size: 12px;
}

.character_level {
  width: 150px;
  background-color: rgba(30, 30, 30, .6);
  color: rgba(200, 200, 200, .6);
}

@keyframes flow2 {
  0%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

.exp_bar {
  display: block;
  position: relative;
  width: 100%;
  height: 36px;
  overflow: hidden;
  background: linear-gradient(0, rgba(10, 10, 10, .8), rgba(150, 150, 150, .8));
}

.exp_per {
  background: linear-gradient(-60deg, rgba(242,250,0,.9) 45%, rgba(255,255,255,.9), rgba(242,250,0,.9) 55%); 
  background-size: 300% 300%;
  animation: flow2 4s ease infinite;
  height:100%;
  min-width:30px;
  position:absolute;
  width: 50%;
}

.txt_exp_per {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0);
  width: 100%;
  height: 100%;
  line-height: 2em;
  color: white;
  text-shadow: 0px 0px 4px black;
}






.btn_group {
  border-bottom: 3px solid rgb(40, 47, 55);
  box-shadow: 0px 1px 0px 1px rgb(100, 120, 129);
}

.btn_target, .btn_inner, .btn-check:checked+.btn {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  background: linear-gradient(0, rgba(84, 95, 109, .5), rgba(108, 119, 133, .5));
  color:white;
  text-shadow: 1px 1px 1px rgb(62, 74, 86);
  border: 2px solid rgb(127, 138, 153);
  border-bottom: none;
  box-shadow: 0px 0px 0px 1px rgba(46, 53, 61, .4);
  cursor: pointer;
  user-select: none;
}

.btn-check+.btn:hover {
  color:white;
  text-shadow: 0px 0px 3px white;
  border: 2px solid rgb(127, 138, 153);
  border-bottom: none;
}

.btn-check:checked+.btn {
  background: linear-gradient(0, rgb(84, 95, 109), rgb(108, 119, 133));
  border: 1px solid rgb(136, 149, 165);
  border-bottom: none;
  color:white;
  text-shadow: 0px 0px 3px white;
}

/* 탭 네비게이션 버튼 간격 및 테두리 조정 */
.tab-nav-item:not(:last-child) .btn {
  border-right: 1px solid rgba(46, 53, 61, .6);
}

/* 모바일에서 마지막 아이템 테두리 제거 */
@media (max-width: 767px) {
  .tab-nav-item:last-child .btn {
    border-right: 2px solid rgb(127, 138, 153);
  }
  
  .tab-nav-item:nth-child(even) .btn {
    border-right: none;
  }
  
  .tab-nav-item:not(:last-child):not(:nth-last-child(2)) .btn {
    border-bottom: 1px solid rgba(46, 53, 61, .6);
  }
}

/* 작은 모바일에서 세로 배치시 테두리 조정 */
@media (max-width: 480px) {
  .tab-nav-item:not(:last-child) .btn {
    border-right: 2px solid rgb(127, 138, 153);
    border-bottom: 1px solid rgba(46, 53, 61, .6);
  }
  
  .tab-nav-item:last-child .btn {
    border-right: 2px solid rgb(127, 138, 153);
  }
}



.data_card {
  background-color: rgb(108, 119, 133);
  border: 2px solid rgb(127, 138, 153);
  box-shadow: 0px 1px 0px 1px rgba(46, 53, 61, .4);
  color: white;
  text-shadow: 1px 1px 1px rgb(62, 74, 86);
}

.data_card_title {
  font-size: 1.5rem;
  font-weight: bold;
}

.data_card_content {
  background-color: rgb(134, 147, 159);
  border: 1px solid rgb(157, 169, 181);
  box-shadow: 0px 1px 0px 1px rgba(46, 53, 61, .4);
  margin: 7.5px 5px;
}

.data_card_content img,
.data_card_input img {
  height: 1.25rem;
  vertical-align: text-top;
}

.data_card_content h6 img {
  height: 1rem;
}

.data_card_content table {
  width: 100%;
}

.data_card_content table label{
  cursor: pointer;
}

.data_card_content table tr.tr_hover:hover {
  background-color: rgb(67, 79, 92);
}

.data_card_input table tr.tr_hover:hover {
  background-color: rgb(71, 119, 149);
}

.data_card_content table th {
  padding: 5px;
  text-align: left;
  max-width: 150px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.data_card_content table td {
  padding: 5px;
  text-align: right;
}

.data_card_content table td.bonus,
.data_card_input table .bonus {
  color: rgb(255, 204, 0);
}

.data_card_content table td.bonus span {
  display: block;
}

.data_card_content .btn_external,
.data_card_input .btn_external {
  border-radius: 0.5rem;
  border: 2px solid rgb(89, 221, 235);
  background: linear-gradient(0, rgb(55, 185, 209), rgb(69, 205, 225));
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 0px rgb(35, 149, 175);
  box-shadow: 0px 0px 0px 1px rgb(108, 119, 133);
  border-bottom: none;
  text-decoration: none;
  cursor: pointer;
  appearance: button;
  -webkit-appearance: button;
  text-transform: none;
  margin: 0;
  line-height: inherit;
  text-align: center;
}

.btn_external.btn_large {
  height:80px;
  font-size: 2rem;
  line-height: 5rem;
}

.data_card_content .btn_external:hover,
.data_card_input .btn_external:hover {
  text-shadow: 0px 0px 3px white;
}

.data_card_content .btn_detail {
  border-radius: 0.5rem;
  background: linear-gradient(0, rgb(84, 95, 109), rgb(108, 119, 133));
  border: 2px solid rgb(127, 138, 153);
  border-bottom: none;
  box-shadow: 0px 0px 0px 1px rgba(46, 53, 61, .4);
  color: white;
  font-weight: bold;
  text-shadow: 0px 1px 0px rgb(0, 0, 0);
}

.data_card_content .btn_detail:hover {
  text-shadow: 0px 0px 3px white;
  border: 2px solid rgb(127, 138, 153);
  border-bottom: none;
}


.data_card .data_card_input {
  margin: 7.5px 5px;
}

.data_card_input {
  border: 2px solid rgb(71, 119, 149);
  background-color: rgb(62, 96, 118);
  box-shadow: 0px 1px 0px 1px rgba(46, 53, 61, .4);
  color: white;
  text-shadow: 1px 1px 1px rgb(62, 74, 86);
}

.data_card_input table th {
  padding: 5px;
  text-align: left;
}

.data_card_input table td {
  padding: 5px;
  text-align: right;
}

.input-group .form-control {
  border-radius: 0.375rem;
}

.group_burning {
  padding: .25rem .5rem;
}

.form-check-input.chk_burning {
  width: 40px;
  height: 25px;
  background-image: url('/upload/asset/icons/하이퍼버닝max.png');
  background-size: 15px 17px;
  background-position-x: 4px;
  box-shadow: 0px 0px 1px 1px #aaa;
  filter: grayscale(1);
  transition: background-position .15s ease-in-out;
  cursor: pointer;
  margin-right: 0.25em;
}

.form-check-input.chk_burning:checked {
  background-color: rgb(85, 204, 255);
  background-position-x: calc(100% - 4px);
  border: 1px solid rgb(51, 68, 221);
  box-shadow: 0px 0px 8px 2px rgb(255, 255, 119);
  filter: grayscale(0);
}

.form-check-input.chk_beyond {
  width: 40px;
  height: 25px;
  background-image: url('/upload/asset/icons/버닝비욘드.png');
  background-size: 20px 20px;
  background-position-x: 4px;
  box-shadow: 0px 0px 1px 1px #aaa;
  filter: grayscale(1);
  transition: background-position .15s ease-in-out;
  cursor: pointer;
  margin-right: 0.25em;
}

.form-check-input.chk_beyond:checked {
  background-color: rgb(221, 68, 0);
  background-position-x: calc(100% - 4px);
  border: 1px solid rgb(221, 0, 0);
  box-shadow: 0px 0px 8px 2px rgb(255, 221, 34);
  filter: grayscale(0);
}

#result_target .data_card_input .input-group {
  min-width: 200px;
  max-width: 40%;
}

.data_card_input .input-group .form-control,
.data_card_content .input-group .form-control {
  border: none;
  border-bottom: 1px solid #E0E0E0;
  height: 2.5rem;
  padding: 1.25rem;
  box-shadow: inset 0px 1px 8px rgba(0, 0, 0, 0.4);
}

.btn_level {
  border: 2px solid rgba(81, 125, 154, .5);
  background-color: none;
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 0px rgb(45, 54, 64);
  box-shadow: 0px 0px 0px 1px rgb(44, 66, 81);
}

.btn_level:hover {
  border: 2px solid rgba(81, 125, 154, .5);
  background-color: none;
  text-shadow: 0px 0px 4px rgb(98, 176, 187);
}



table.table_fixed {
  table-layout: fixed;
}

.chk_button {
  border-radius: 0.5rem;
  background: linear-gradient(0, rgb(84, 95, 109), rgb(108, 119, 133));
  border: 2px solid rgb(127, 138, 153);
  border-bottom: none;
  box-shadow: 0px 0px 0px 1px rgba(46, 53, 61, .4);
  color: white;
  font-weight: bold;
  text-shadow: 0px 1px 0px rgb(0, 0, 0);
  width: 100%;
  overflow: hidden;
  text-align: center;
  margin: 0;
}

.chk_button:hover {
  text-shadow: 0px 0px 3px white;
  border: 2px solid rgb(127, 138, 153);
  border-bottom: none;
}

.chk_button input:disabled + span{
  border: none;
  color: rgba(0, 0, 0, .3);
  text-shadow: none;
  background-color: rgb(108, 119, 133);
  cursor: default;
}

.chk_button input:disabled + span img{
  filter: grayscale(1);
}

.chk_button label {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.chk_button label span {
  text-align: center;
  padding: 3px 0;
  display: block;
}

.chk_button label input {
  position: absolute;
  display: none;
  color: #fff !important;
}

.chk_button label input + span{color: #fff;}

.chk_button input:checked + span {
  background-color: rgb(68, 79, 89);
  text-shadow: 0px 0px 3px white;
  box-shadow: inset 0px 1px 8px rgba(0, 0, 0, 0.4);
  border: none;
}

.chk_button.btn_green {
  background: linear-gradient(0, rgb(135, 170, 35), rgb(170, 201, 49));
  border: 2px solid rgb(189, 215, 59);
  border-bottom: none;
  box-shadow: 0px 1px 0px 1px rgb(120, 120, 120);
}

.chk_button.btn_green input:checked + span {
  background-color: rgb(125, 153, 0);
}

.form-control::placeholder {
  color: #aaa;
}

/* 탭 네비게이션 반응형 스타일 */
.tab-nav-container {
  width: 100%;
  overflow: hidden;
}

.tab-nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  gap: 0;
  width: 100%;
}

.tab-nav-item {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
}

.tab-nav-item .btn-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tab-nav-item .btn {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  min-height: 44px; /* 터치 영역 최소 크기 보장 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  word-break: keep-all; /* 한글 단어 단위 줄바꿈 */
}

.tab-nav-item .btn sub {
  font-size: 0.75em;
  vertical-align: baseline;
}

/* 모바일 드롭다운 스타일 */
.tab-nav-mobile {
  width: 100%;
  padding: 0;
}

.tab-nav-select {
  width: 100%;
  border: 2px solid rgb(127, 138, 153);
  border-bottom: none;
  border-radius: 0.375rem;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  box-shadow: 0px 0px 0px 1px rgba(46, 53, 61, .4);
  color: white;
  text-shadow: 1px 1px 1px rgb(62, 74, 86);
  font-size: 1rem;
  padding: 0.875rem 3rem 0.875rem 1rem;
  min-height: 50px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* 그라데이션과 화살표를 함께 적용 - background-image에 여러 배경 레이어 사용 */
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E"),
    linear-gradient(0, rgb(84, 95, 109), rgb(108, 119, 133));
  background-repeat: no-repeat, no-repeat;
  background-position: right 1rem center, center;
  background-size: 12px, 100% 100%;
}

.tab-nav-select:focus {
  border-color: rgb(136, 149, 165);
  color: white;
  text-shadow: 0px 0px 3px white;
  box-shadow: 0px 0px 0px 1px rgba(46, 53, 61, .4), 0px 0px 0px 3px rgba(136, 149, 165, 0.3);
  outline: none;
  /* 포커스 시 그라데이션과 화살표 함께 적용 */
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E"),
    linear-gradient(0, rgb(84, 95, 109), rgb(108, 119, 133));
  background-repeat: no-repeat, no-repeat;
  background-position: right 1rem center, center;
  background-size: 12px, 100% 100%;
}

.tab-nav-select option {
  background-color: rgb(84, 95, 109);
  color: white;
  font-size: 1.125em;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .character_info .btn_character_info {
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 15px;
    width: 200px;
  }
}

/* 데스크톱: 유연한 그리드 (항목이 많아도 대응) */
@media (min-width: 992px) {
  .tab-nav-list {
    flex-wrap: wrap;
    max-height: none;
  }
  
  /* 6개 항목: 한 줄에 6개씩 배치 */
  .tab-nav-item {
    flex: 1 1 calc(16.666% - 2px);
    min-width: calc(16.666% - 2px);
  }
  
  /* 항목이 7개 이상일 때 자동으로 다음 줄로 */
  .tab-nav-item:nth-child(n+7) {
    flex: 1 1 calc(16.666% - 2px);
  }
  
  /* 항목이 12개 이상일 때 더 작은 크기로 조정 (2행 배치) */
  .tab-nav-item:nth-child(n+12) {
    min-width: calc(16.666% - 2px);
    flex: 1 1 calc(16.666% - 2px);
  }
  
  .tab-nav-item .btn {
    font-size: 1.1rem;
    padding: 0.75rem 1.25rem;
  }
  
  /* 항목이 많을 때 폰트 크기 자동 조정 */
  .tab-nav-item:nth-child(n+7) .btn {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
  
  .tab-nav-item:nth-child(n+12) .btn {
    font-size: 0.95rem;
    padding: 0.75rem 0.875rem;
  }
  
  /* 항목이 매우 많을 때(18개 이상) 더 작게 */
  .tab-nav-item:nth-child(n+18) {
    min-width: calc(14.285% - 2px); /* 7개씩 배치 */
    flex: 1 1 calc(14.285% - 2px);
  }
  
  .tab-nav-item:nth-child(n+18) .btn {
    font-size: 0.9rem;
    padding: 0.625rem 0.875rem;
  }
}

/* 태블릿: 유연한 그리드 */
@media (min-width: 768px) and (max-width: 991px) {
  .tab-nav-list {
    flex-wrap: wrap;
  }
  
  /* 6개 항목: 3개씩 2행 배치 */
  .tab-nav-item {
    flex: 1 1 calc(33.333% - 2px);
    min-width: calc(33.333% - 2px);
  }
  
  /* 항목이 7개 이상일 때 3개씩으로 계속 배치 */
  .tab-nav-item:nth-child(n+7) {
    flex: 1 1 calc(33.333% - 2px);
    min-width: calc(33.333% - 2px);
  }
  
  .tab-nav-item .btn {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
  }
}

/* 모바일: 드롭다운만 표시 (버튼 그룹 숨김) */
@media (max-width: 767px) {
  .tab-nav-select {
    font-size: 0.95rem;
    padding: 0.875rem 3rem 0.875rem 1rem;
  }
}

/* 작은 모바일: 드롭다운 스타일 조정 */
@media (max-width: 480px) {
  .tab-nav-select {
    font-size: 0.9rem;
    padding: 0.875rem 3rem 0.875rem 1rem;
    min-height: 48px;
  }
}

/* 기존 Swiper 스타일 호환성 유지 (다른 곳에서 사용 가능) */
#sub-nav nav.swiper-container > ul.swiper-wrapper {
  list-style: none;
  display: flex;
  padding: 0;
}

#sub-nav nav.swiper-container > ul.swiper-wrapper > li.swiper-slide {
  width: auto;
}

#result_hunt .chk_button input + span img,
#result_meso .chk_button input + span img {
  height: 2.5rem;
  vertical-align: middle;
}

#result_hunt img.img_union_rank,
#result_meso img.img_union_rank {
  height: 27px;
  max-width: 100%;
  padding: 10px 0;
}

.monster_list,
.map_list {
  height: 300px;
  overflow-y: scroll;
  background-color: white;
}

.monster_list::-webkit-scrollbar,
.map_list::-webkit-scrollbar {
	width: 12px;
	background-color: #F5F5F5;
}

.monster_list::-webkit-scrollbar-thumb,
.map_list::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}

.chart_exp_history_wrap {
  width: 100%;
  max-width: 1000px;
  height: 170px;
}

#chart_exp_history {
  width: 100%;
  height: 170px;
}


@media screen and (max-width: 1000px) {
  .fs-5, h5 {
    font-size: 1.1rem!important;
  }

  .data_card_title {
    font-size: 1.25rem!important;
  }

  .fs-4, .fs-4:checked+.btn {
    font-size: 1.25rem!important;
  }

  #result_target .data_card_input .input-group {
    max-width: 80%;
  }
}



@media (prefers-color-scheme: dark) {
  .info_container {
    background-color: rgb(67, 78, 85)!important;
    border: 2px solid rgb(100, 120, 129);
    box-shadow: 0px 0px 0px 2px rgb(40, 47, 55);
  }
  
  .txt_title {
    color: rgb(221, 254, 1);
    text-shadow: 1px 1px 1px rgb(30, 38, 47);
  }
  
  .txt_total {
    color: rgb(221, 254, 1);
  }
  
  .txt_disabled {
    color: rgb(190, 199, 212)!important;
  }
  
  .character_info {
    text-shadow: 0px 0px 2px rgb(62, 74, 86);
    box-shadow: 0px 1px 0px 2px rgba(46, 53, 61, .4);
    
  }
  
  .character_info::after {
    background: black;
    opacity: 0.6;
    border-radius: var(--bs-border-radius-xl) !important;
    border: 2px solid rgba(150, 150, 150, .5);
  }

  .nickname {
    background-color: rgb(60, 193, 215);
    color: white;
  }
  
  .character_card {
    background: linear-gradient(0, rgba(200, 200, 200, .6) -200%, rgba(150, 150, 150, 0.5) 50%, rgba(200, 200, 200, .6) 200%);
    color: white;
  }
  
  .card_title {
    color: #DDD;
  }
  
  .character_level {
    background-color: rgba(30, 30, 30, .6);
    color: rgba(200, 200, 200, .6);
  }

  .exp_bar {
    background: linear-gradient(0, rgba(10, 10, 10, .8), rgba(150, 150, 150, .8));
  }
  
  .exp_per {
    background: linear-gradient(-60deg, rgba(242,250,0,.9) 45%, rgba(255,255,255,.9), rgba(242,250,0,.9) 55%); 
  }
  
  .txt_exp_per {
    color: white;
    text-shadow: 0px 0px 4px black;
  }
    
  
  .btn_group {
    border-bottom: 3px solid rgb(40, 47, 55);
    box-shadow: 0px 1px 0px 1px rgb(100, 120, 129);
  }
  
  .btn_target, .btn_inner, .btn-check:checked+.btn {
    background: linear-gradient(0, rgba(84, 95, 109, .5), rgba(108, 119, 133, .5));
    color:white;
    text-shadow: 1px 1px 1px rgb(62, 74, 86);
    border: 2px solid rgb(127, 138, 153);
    box-shadow: 0px 0px 0px 1px rgba(46, 53, 61, .4);
  }
  
  .btn-check+.btn:hover {
    color:white;
    text-shadow: 0px 0px 3px white;
    border: 2px solid rgb(127, 138, 153);
  }
  
  .btn-check:checked+.btn {
    background: linear-gradient(0, rgb(84, 95, 109), rgb(108, 119, 133));
    border: 1px solid rgb(136, 149, 165);
    color:white;
    text-shadow: 0px 0px 3px white;
  }
  
  
  
  .data_card {
    background-color: rgb(108, 119, 133);
    border: 2px solid rgb(127, 138, 153);
    box-shadow: 0px 1px 0px 1px rgba(46, 53, 61, .4);
    color: white;
    text-shadow: 1px 1px 1px rgb(62, 74, 86);
  }
  
  .data_card_content {
    background-color: rgb(134, 147, 159);
    border: 1px solid rgb(157, 169, 181);
    box-shadow: 0px 1px 0px 1px rgba(46, 53, 61, .4);
  }
  
  .data_card_content table tr.tr_hover:hover {
    background-color: rgb(67, 79, 92);
  }
  
  .data_card_input table tr.tr_hover:hover {
    background-color: rgb(71, 119, 149);
  }
  
  .data_card_content table td.bonus,
  .data_card_input table .bonus {
    color: rgb(255, 204, 0);
  }
  
  .data_card_content .btn_external,
  .data_card_input .btn_external {
    border: 2px solid rgb(89, 221, 235);
    background: linear-gradient(0, rgb(55, 185, 209), rgb(69, 205, 225));
    color: white;
    text-shadow: 1px 1px 0px rgb(35, 149, 175);
    box-shadow: 0px 0px 0px 1px rgb(108, 119, 133);
  }

  .data_card_content .btn_external:hover,
  .data_card_input .btn_external:hover {
    text-shadow: 0px 0px 3px white;
  }
  
  .data_card_content .btn_detail {
    background: linear-gradient(0, rgb(84, 95, 109), rgb(108, 119, 133));
    border: 2px solid rgb(127, 138, 153);
    box-shadow: 0px 0px 0px 1px rgba(46, 53, 61, .4);
    color: white;
    text-shadow: 0px 1px 0px rgb(0, 0, 0);
  }
  
  .data_card_content .btn_detail:hover {
    text-shadow: 0px 0px 3px white;
    border: 2px solid rgb(127, 138, 153);
  }

  .data_card_input {
    border: 2px solid rgb(71, 119, 149);
    background-color: rgb(62, 96, 118);
    box-shadow: 0px 1px 0px 1px rgba(46, 53, 61, .4);
    color: white;
    text-shadow: 1px 1px 1px rgb(62, 74, 86);
  }
  
  .form-check-input.chk_burning:checked {
    background-color: rgb(255, 255, 119);
    border: 1px solid rgb(238, 153, 34);
    box-shadow: 0px 0px 8px 2px rgb(0, 119, 221);
  }

  .form-check-input.chk_beyond:checked {
    background-color: rgb(119, 255, 226);
    border: 1px solid rgb(34, 129, 238);
    box-shadow: 0px 0px 8px 2px rgb(0, 221, 85);
  }
  
  .data_card_input .input-group .form-control,
  .data_card_content .input-group .form-control {
    border-bottom: 1px solid #E0E0E0;
    box-shadow: inset 0px 1px 8px rgba(0, 0, 0, 0.4);
  }
  
  .btn_level {
    border: 2px solid rgba(81, 125, 154, .5);
    color: white;
    text-shadow: 1px 1px 0px rgb(45, 54, 64);
    box-shadow: 0px 0px 0px 1px rgb(44, 66, 81);
  }
  
  .btn_level:hover {
    border: 2px solid rgba(81, 125, 154, .5);
    text-shadow: 0px 0px 4px rgb(98, 176, 187);
  }
  
  .chk_button {
    background: linear-gradient(0, rgb(84, 95, 109), rgb(108, 119, 133));
    border: 2px solid rgb(127, 138, 153);
    box-shadow: 0px 0px 0px 1px rgba(46, 53, 61, .4);
    color: white;
    text-shadow: 0px 1px 0px rgb(0, 0, 0);
  }
  
  .chk_button:hover {
    text-shadow: 0px 0px 3px white;
    border: 2px solid rgb(127, 138, 153);
  }
  
  .chk_button input:disabled + span{
    color: rgba(0, 0, 0, .3);
    background-color: rgb(108, 119, 133);
  }
  
  .chk_button input:disabled + span img{
    filter: grayscale(1);
  }
  
  .chk_button label input {
    color: #fff !important;
  }
  
  .chk_button label input + span{color: #fff;}
  
  .chk_button input:checked + span {
    background-color: rgb(68, 79, 89);
    text-shadow: 0px 0px 3px white;
    box-shadow: inset 0px 1px 8px rgba(0, 0, 0, 0.4);
  }
  
  .chk_button.btn_green {
    background: linear-gradient(0, rgb(135, 170, 35), rgb(170, 201, 49));
    border: 2px solid rgb(189, 215, 59);
    box-shadow: 0px 1px 0px 1px rgb(120, 120, 120);
  }
  
  .chk_button.btn_green input:checked + span {
    background-color: rgb(125, 153, 0);
  }
  
  .form-control::placeholder {
    color: #aaa;
  }
  
  .monster_list,
  .map_list {
    background-color: white;
  }
  
  .monster_list::-webkit-scrollbar,
  .map_list::-webkit-scrollbar {
    background-color: #F5F5F5;
  }
  
  .monster_list::-webkit-scrollbar-thumb,
  .map_list::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
  }
}

/* 챌린저스 서버 랭킹 */
.challengers_ranking_header {
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.challengers_ranking_updated_label {
  display: inline-block;
  margin-right: 0.15rem;
  padding: 0.05rem 0.35rem;
  border-radius: 0.2rem;
  background: rgba(108, 117, 125, 0.12);
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.challengers_ranking_side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0.35rem;
  background: linear-gradient(180deg, #2b3035 0%, #212529 100%);
  color: #fff;
  border-radius: 0.375rem 0 0 0.375rem;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05);
}

.challengers_ranking_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-align: center;
  min-height: 38px;
}

.challengers_ranking_icon {
  width: 1.35em;
  height: 1.35em;
}

.challengers_ranking_title_text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.15;
}

.challengers_ranking_title_main {
  font-size: 0.85rem;
  font-weight: 700;
}

.challengers_ranking_title_main--short {
  display: none;
}

@media (max-width: 575px) {
  .challengers_ranking_title_main--full {
    display: none;
  }

  .challengers_ranking_title_main--short {
    display: inline;
  }
}

.challengers_ranking_title_sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.challengers_ranking_card {
  border-radius: 0 0.375rem 0.375rem 0;
  overflow: hidden;
}

.challengers_ranking_body {
  background: #fff;
  border-radius: 0 0.375rem 0.375rem 0;
  overflow: hidden;
}

.challengers_ranking_swiper_wrap {
  padding: 0.65rem;
  min-height: 32px;
}

.challengers_ranking_swiper {
  position: relative;
  width: 100%;
  height: 24px;
  font-size: 13px;
}

.challengers_ranking_swiper .ranking_row,
.challengers_ranking_wrap .ranking_list--expanded .ranking_row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  padding-right: 2.4rem;
}

.challengers_ranking_swiper .ranking_row {
  overflow: hidden;
  white-space: nowrap;
}

.challengers_ranking_swiper .ranking_meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
}

.challengers_ranking_swiper .ranking_badge {
  flex-shrink: 0;
}

.challengers_ranking_wrap .ranking_trend {
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  padding: 0.05rem 0.28rem;
  border-radius: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.challengers_ranking_wrap .ranking_trend--new {
  background: rgba(25, 135, 84, 0.15);
  color: #198754;
}

.challengers_ranking_wrap .ranking_trend--up {
  background: rgba(220, 53, 69, 0.12);
  color: #dc3545;
}

.challengers_ranking_wrap .ranking_trend--down {
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
}

.challengers_ranking_wrap .ranking_list--expanded .ranking_row {
  flex-wrap: wrap;
  row-gap: 0.1rem;
}

.ranking_badge {
  min-width: 2.1rem;
  background: #5b6b7c !important;
  color: #fff !important;
  font-size: 0.72rem;
}

.ranking_badge--1 {
  background: linear-gradient(135deg, #d4af37, #b8860b) !important;
  color: #1a1a1a !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.ranking_badge--2 {
  background: linear-gradient(135deg, #d7dde4, #9aa3ad) !important;
  color: #1a1a1a !important;
}

.ranking_badge--3 {
  background: linear-gradient(135deg, #cd7f32, #a0522d) !important;
  color: #fff !important;
}

.ranking_meta {
  font-size: 0.85em;
}

.ranking_name {
  color: #212529;
}

.ranking_name_link {
  text-decoration: none;
  color: inherit;
}

.ranking_name_link:hover {
  color: rgb(108, 99, 255);
  text-decoration: underline;
  text-underline-position: under;
}

.ranking_world {
  color: #6c757d;
  font-weight: 600;
}

.ranking_exp {
  font-variant-numeric: tabular-nums;
}

.ranking_list_expanded {
  padding: 0.15rem 0.35rem 0.05rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.ranking_list--expanded {
  padding: 0.28rem 0.35rem;
  border-radius: 0.25rem;
  transition: background-color 0.15s ease;
}

.ranking_list--expanded:hover {
  background: rgba(108, 99, 255, 0.06);
}

.ranking_list--expanded + .ranking_list--expanded {
  margin-top: 0.05rem;
}

.ranking_toggle_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: auto;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background: linear-gradient(0, #eef0f3, #f8f9fa);
  padding: 0.28rem 0.5rem;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  color: #5c6670;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.ranking_toggle_btn:hover {
  color: rgb(108, 99, 255);
  background: linear-gradient(0, #e8e9ff, #f8f9ff);
}

.ranking_toggle_btn_icon {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.challengers_ranking_panel.is-expanded .challengers_ranking_swiper_wrap {
  display: none !important;
}

.challengers_ranking_panel.is-expanded .ranking_list_expanded {
  display: block !important;
}

.challengers_ranking_panel.is-expanded .ranking_toggle_btn_icon {
  transform: rotate(180deg);
}

[data-bs-theme="dark"] .challengers_ranking_body {
  background: var(--bs-body-bg);
}

[data-bs-theme="dark"] .challengers_ranking_wrap .ranking_name,
[data-bs-theme="dark"] .challengers_ranking_wrap .ranking_name_link {
  color: var(--bs-body-color);
}

[data-bs-theme="dark"] .challengers_ranking_wrap .ranking_name_link:hover {
  color: rgb(175, 173, 255);
}

[data-bs-theme="dark"] .challengers_ranking_wrap .ranking_world {
  color: #adb5bd;
}

[data-bs-theme="dark"] .challengers_ranking_wrap .ranking_class {
  color: #9ca3af !important;
}

[data-bs-theme="dark"] .challengers_ranking_wrap .ranking_exp {
  color: #adb5bd !important;
}

[data-bs-theme="dark"] .ranking_list_expanded {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  border-top-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .ranking_list--expanded:hover {
  background: rgba(108, 99, 255, 0.12);
}

[data-bs-theme="dark"] .ranking_toggle_btn {
  background: linear-gradient(0, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #adb5bd;
}