.checkbox-menu::-webkit-scrollbar {
	width: 6px;
	background-color: #F5F5F5;
}
.checkbox-menu::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

.checkbox-menu::-webkit-scrollbar {
	width: 6px;
	background-color: #F5F5F5;
	background-color: rgba(0, 0, 0, 0.5);
}

.checkbox-menu::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.5);
}

.checkbox-menu li label {
  display: block;
  padding: 3px 10px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333;
  white-space: nowrap;
  margin:0;
  transition: background-color .4s ease;
}
.checkbox-menu li input {
  margin: 0px 5px;
  top: 2px;
  position: relative;
}

.checkbox-menu li.active label {
  background-color: #cbcbff;
  font-weight:bold;
}

.checkbox-menu li label:hover,
.checkbox-menu li label:focus {
  background-color: rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.checkbox-menu li.active label:hover,
.checkbox-menu li.active label:focus {
  background-color: #b8b8ff;
}

#onair .main_banner {
  width: 100%;
  height: 150px;
  margin-bottom: 2em;
  object-fit: cover;
}

#onair .img_new_thumb {
  position: absolute;
  left: 5px;
  width: 26px;
  height: 26px;
  object-fit: cover;
}

#onair #new_links .card__title.simply,
#onair #fav_dom .card__title.simply {
  margin-left: 28px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

#onair .img_icon {
  width: 14px;
  height: 14px;
}

.new_icon {
  left: 2px;
  top: 2px;
}

.img_checkbox_job {
  width: 18px;
  height: 18px;
  vertical-align: text-top;
}


.filter_list {
  font-size: 24px;
  font-weight: bold;
}

.filter_list .img_icon {
  width: 14px !important;
  height: 14px !important;
  vertical-align: text-top;
}

.img_filter {
  width: 14px !important;
  height: 14px !important;
  vertical-align: text-top;
  margin: 0 10px;
  filter: contrast(0.1);
}

.filter_list .img_remove {
  width: 0.75em !important;
  height: 0.75em !important;
  vertical-align: middle;
  filter: brightness(0.7);
}

.filter_list .img_remove:hover {
  filter: brightness(0.2);
  cursor: pointer;
}

.img_platform {
  width: 20px !important;
  height: 20px !important;
}

.img_platform.live_onair {
  box-shadow: 0 0 4px 1px red;
  background-color: red;
}

.thumb_onair_banner {
  font-family: "MaplestoryOTFBold";
  position: absolute;
  background-color: red;
  width: 70px;
  border-radius: 7px;
  text-align: center;
  color: white;
  font-size: 14px;
  bottom: 5px;
  left: 25px;
}

.modal-title .thumb_onair_banner {
  width: 60px;
  font-size: 9px;
  left: 35px;
}

.modal_thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 100%;
  margin: 0 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.modal_thumb.thumb_onair {
  box-shadow: 0 0 0px 4px red;
}

#modalDetailLabel .btn_favorite {
  position: relative;
  top: 0.7em;
  width: 1.5em;
  height: 1.5em;
  padding: 0;
  margin-left: 0.5em;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#modalDetailLabel .btn_favorite i {
  font-size: 0.75rem;
  color: #ddd;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#modalDetailLabel .btn_favorite:hover,
#modalDetailLabel .btn_favorite.on {
  background: rgba(255, 193, 7, 0.1);
  box-shadow: 0 2px 12px rgba(255, 193, 7, 0.3);
}

#modalDetailLabel .btn_favorite:hover i,
#modalDetailLabel .btn_favorite.on i {
  color: #ffc107;
}

/* 다크 테마 지원 */
[data-bs-theme="dark"] #modalDetailLabel .btn_favorite {
  background: rgba(50, 50, 50, 0.9);
}

[data-bs-theme="dark"] #modalDetailLabel .btn_favorite:hover,
[data-bs-theme="dark"] #modalDetailLabel .btn_favorite.on {
  background: rgba(255, 193, 7, 0.2);
  box-shadow: 0 2px 12px rgba(255, 193, 7, 0.4);
}

#modal_header_platform {
  margin-top: 0.5em;
}

.img_modal_button {
  width: 1.25em;
  height: 1.25em;
}

#live_wrap #live_thumb {
  border-radius: 10px;
  box-shadow: 0 1px 8px 1px #00000099;
}

.modal_link_soop.btn_live,
.modal_link_chzzk.btn_live {
  box-shadow: 0 0 5px 1px red;
}

.img_modal_button.btn_live {
  box-shadow: 0 0 5px 1px red;
  background-color: red;
}

.character_card {
  color: #181a1a;
  
  width:  100%;
  height: auto;
  box-shadow: 0 1px 5px #00000099;
  
  border-radius: 10px;
  background-color: #222;
  
  position: relative;
  cursor: pointer;
  transition-duration: 300ms;
  transition-property: transform, box-shadow;
  transition-timing-function: ease-out;
  transform: rotate3d(0);
}

.character_card:hover {
  transition-duration: 150ms;
  box-shadow: 0 5px 20px 5px #00000044;
}

.character_card.on {
  box-shadow: 0px 0px 6px 4px rgba(165, 32, 32, 0.78) !important
}

.character_card .character_card_title {
  background-color: rgba(153, 102, 255, 0.3);
  padding-left: 5px;
  border-radius: 9px 9px 0 0;
}

.character_card img.img_character {
  width: 96px;
  height: 96px;
  pointer-events: none;
  scale: 3;
  object-position: 1px -5px;
}

.character_card .character_card_title.sub_character {
  background-color: rgba(62, 96, 118, 0.3);
}

.character_card .character_card_body {
  padding: 0.5em 1em;
}

.character_card .glow {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  
  background-image: radial-gradient(circle at 50% -20%, #ffffff22, #0000000f);
}

.character_card .img_seal {
  width: 24px;
  height: 24px;
  vertical-align: sub;
}

.character_card .img_character_server {
  width: 16px !important;
  height: 16px !important;
  vertical-align: text-top;
}

.modal_introduction {
  line-height: 1.75em;
  font-family: 'NEXON Lv2 Gothic';
  white-space: pre-wrap;
  word-break: keep-all;
}

.youtube_preview {
  width: 100%;
  height: 200px;
}

.bg-light-red {
  background-color: rgba(255, 50, 50, 0.05);
}

.bg-light-blue {
  background-color: rgba(50, 50, 255, 0.05);
}

.bg-light-green {
  background-color: rgba(50, 255, 50, 0.05);
}

.bg-light-purple {
  background-color: rgba(255, 50, 255, 0.05);
}

.bg-light-gray {
  background-color: rgba(0, 0, 0, 0.05);
}


#onair_contact .form-group {
  margin-bottom: 2em;
}

#onair_contact .form-control,
#onair_contact .form-select {
  border-radius: 7px;
}

#onair_contact .form-control::placeholder {
  color: #aaa;
}

#onair_contact .form-group label {
  margin-left: 3px;
}

#onair_contact .form-group sub {
  vertical-align: super;
  margin-left: 5px;
  font-style: italic;
  color: #aaa;
}

#onair_contact .input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn_cyan {
  border-radius: 0.5rem;
  border: 2px solid rgb(91, 233, 240);
  background: linear-gradient(0, rgb(54, 150, 181), rgb(54, 183, 208));
  color: white;
  text-shadow: 1px 1px 1px rgb(34, 99, 122);
  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_cyan.btn_large {
  font-weight: bold;
  text-shadow: 2px 2px 2px rgb(34, 99, 122);
  box-shadow: 0px 1px 0px 2px rgb(35, 41, 47);
}

.btn_cyan:hover {
  text-shadow: 0px 0px 3px white;
  box-shadow: 0 0 3px 2px white;
}

.btn_gray {
  border-radius: 0.5rem;
  background: linear-gradient(0, rgb(84, 95, 109), rgb(108, 119, 133));
  border: 1px solid rgb(136, 149, 165);
  color: white;
  text-shadow: 1px 1px 1px rgb(62, 74, 86);
  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_gray.btn_large {
  font-weight: bold;
  box-shadow: 0px 0px 0px 1px rgba(46, 53, 61, .4);
}

.btn_gray:hover {
  text-shadow: 0px 0px 3px white;
  box-shadow: 0 0 3px 2px white;
}


[type="file"] {
  padding:0;
}

[type="file"]::-webkit-file-upload-button {
  border: 2px solid rgb(91, 233, 240);
  background: linear-gradient(0, rgb(54, 150, 181), rgb(54, 183, 208));
  color: white;
  text-shadow: 1px 1px 1px rgb(34, 99, 122);
  border-radius: 7px;
  cursor: pointer;
  font-size: 1em;
  outline: none;
  padding: 10px 25px;
  transition: all 1s ease;
  margin: 0;
  height: 100%;
  margin-right: 10px;
}

[type="file"]::-webkit-file-upload-button:hover {
  text-shadow: 0px 0px 3px white;
  box-shadow: 0 0 3px 2px white;
}

.modal_equipment_container {
  padding: 5px;
  background-color: rgb(50, 50, 50);
  border-radius: 10px;
  border: 1px solid black;
  box-shadow: 0 0 1px 1px white inset;
  width: fit-content;
}

.modal_equipment_header {
  display: flex;
  column-gap: 3px;
  border-bottom: 1px solid rgb(238, 119, 0);
  box-shadow: 0 1px 1px 0 rgb(255, 187, 0);
  margin-bottom: 1px;
}

.btn_inventory {
  width: 65px;
  color: white;
  text-shadow: -1px 0px 2px rgb(119, 119, 119), 0px 1px 2px rgb(119, 119, 119), 1px 0px 2px rgb(119, 119, 119), 0px -1px 2px rgb(119, 119, 119);
  background: linear-gradient(0, rgb(153, 153, 153) 0%, rgb(204, 204, 204) 50%);
  border: 1px solid white;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0px 1px 1px rgb(136, 136, 136);
  margin-top: auto;
}

.btn_inventory.on {
  text-shadow: -1px 0px 2px rgb(204, 102, 0), 0px 1px 2px rgb(204, 102, 0), 1px 0px 2px rgb(204, 102, 0), 0px -1px 2px rgb(204, 102, 0);
  background: linear-gradient(0, rgb(255, 170, 0) 0%, rgb(255, 221, 136) 50%);
  box-shadow: 0 0px 1px 1px rgb(238, 119, 0);
  padding-bottom: 5px;
}

.modal_equipment_wrap {
  padding: 5px;
  background-color: #eee;
  border-radius: 8px;
  border: 1px solid rgb(50, 50, 50);
}

.modal_equipment {
  display: grid;
  justify-content: center;
  background-color: rgb(221, 221, 221);
  border: 1px solid rgb(170, 170, 170);
  border-radius: 5px;
  box-shadow: 0 0 1px 1px rgb(238, 238, 238);
  padding: 10px;
  margin-top: 3px;
  width: 280px;
}

.modal_equipment#pet_equipment_dom {
  display: flex;
}

table.tbl_equipment td {
  width: 46px;
  height: 46px;
  padding: 2px;
}

.modal_equipment#pet_equipment_dom table.tbl_equipment td {
  padding: 7px;
}

table.tbl_equipment td .equipment_box {
  position: relative;
  width: 44px;
  height: 44px;
  background-color: rgb(153, 153, 153);
  border-radius: 3px;
  box-shadow: 0 0 6px 2px #777777 inset;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}

table.tbl_equipment td .equipment_box.legendary { border: 1px solid rgb(0, 255, 0); }
table.tbl_equipment td .equipment_box.unique { border: 1px solid rgb(255, 204, 0); }
table.tbl_equipment td .equipment_box.epic { border: 1px solid rgb(194, 97, 255); }
table.tbl_equipment td .equipment_box.rare { border: 1px solid rgb(92, 161, 255); }

table.tbl_equipment td .equipment_box .equipment_category {
  position: absolute;
  top: 3px;
  left: 3px;
  color: rgb(187, 187, 187);
  font-size: 7px;
  text-align: left;
}

table.tbl_equipment td .equipment_box img.equipment_icon {
  position: absolute;
  cursor: pointer;
  image-rendering: pixelated;
  max-width: 45px;
  max-height: 45px;
}

table.tbl_equipment td .equipment_box img.equipment_icon.no-hover {
  cursor: default;
}

table.tbl_equipment td .equipment_box img.equipment_icon:hover {
  filter: drop-shadow(0px 0px 5px white);
}

table.tbl_equipment td .equipment_box img.equipment_icon.no-hover:hover {
  filter: none;
}

table.tbl_equipment td .equipment_box img.equipment_ring_lv,
table.tbl_equipment td .equipment_box img.equipment_prism {
  position: absolute;
  left: 6px;
  bottom: 7px;
  image-rendering: pixelated;
}

table.tbl_equipment td .equipment_box img.equipment_pet_grade {
  position: absolute;
  right: 6px;
  bottom: 5px;
  image-rendering: pixelated;
}

table.tbl_equipment td .equipment_box img.equipment_label {
  position: absolute;
  right: 6px;
  bottom: 6px;
  image-rendering: pixelated;
}


.pet_info {
  background-color: rgb(85, 68, 51);
  border: 1px solid rgb(119, 102, 85);
  border-radius: 5px 0 0 5px;
  box-shadow: 0 0 1px 1px rgb(51, 51, 51);
}

.pet_info table.tbl_equipment td .equipment_box {
  background-color: rgb(55, 53, 51);
  box-shadow: 0 0 6px 2px rgb(40, 40, 36) inset;
}

.pet_info table.tbl_equipment td .equipment_box .equipment_category {
  color: rgb(119, 102, 102);
}

.pet_equip_info,
.pet_skill_info {
  margin-left: 1px;
  background-color: rgb(187, 170, 153);
  border: 1px solid rgb(204, 204, 187);
  box-shadow: 0 0 1px 1px rgb(153, 136, 136);
}

.pet_skill_info {
  padding-left: 10px;
  border-radius: 0 5px 5px 0;
}

.pet_equip_info table.tbl_equipment td .equipment_box,
.pet_skill_info table.tbl_equipment td .equipment_box {
  background-color: rgb(173, 156, 140);
  box-shadow: 0 0 6px 2px rgb(146, 129, 126) inset;
}

.pet_equip_info table.tbl_equipment td .equipment_box .equipment_category,
.pet_skill_info table.tbl_equipment td .equipment_box .equipment_category {
  color: rgb(202, 185, 167);
}

.preset_wrap {
  margin: 10px 0;
  padding: 5px 0;
  background-color: rgb(153, 153, 153);
  border-radius: 10px;
}

.txt_presets {
  text-shadow: 1px 1px 2px rgb(51, 51, 51);
  color: white;
  margin: 0 10px;
}

.btn_preset {
  background-color: rgb(136, 136, 136);
  text-shadow: 1px 1px 2px rgb(51, 51, 51);
  box-shadow: 0 0 4px 1px rgb(91, 91, 91);
  color: white;
}

.btn_preset:hover {
  background-color: rgb(100, 100, 100);
  text-shadow: 0px 0px 3px white;
  box-shadow: 0 0 3px 2px white;
  color: white;
}

.btn_preset.on {
  background-color: rgb(153, 187, 17);
  text-shadow: 1px 1px 2px rgb(85, 119, 0);
  box-shadow: 0 0 3px 2px white;
}

.btn_preset.on:hover {
  background-color: rgb(125, 153, 15);
}

#modalDetail #detail_stat .img_character,
#modalDetail #lookbook_wrap .img_character {
  width: 96px;
  height: 96px;
  scale: 3;
  pointer-events: none;
  object-position: 1px -5px;
}