/*마비옛체*/
@font-face {
    font-family: 'MabinogiClassicR';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2207-01@1.0/MabinogiClassicR.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/*neo둥근모*/
@font-face {
    font-family: 'NeoDunggeunmo';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.3/NeoDunggeunmo.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*조선굵은명조*/
@font-face {
    font-family: 'ChosunKm';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/ChosunKm.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*마초체*/
@font-face {
    font-family: 'EF_MACHO';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2206-01@1.0/EF_MACHO.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


/*여기서 커스텀 변경*/
:root{
    --table-bg:linear-gradient(to bottom, rgb(0 1 33 / 98%), rgb(107 91 186 / 72%)); /*카운터 표 배경*/
    --table-font:'Pretendard-Regular'; /*테이블 전체 폰트*/
    --table-sd:0 3px 6px rgba(0, 0, 0, 0.325), 0 3px 6px rgba(0, 0, 0, 0.467); /*테이블 그림자*/
    --table-title:#ffffff; /*신드롬브리드각성등등 표제목*/
    --table-tr:#e9e2f5; /*카운터 내부 글씨*/
    --table-value:#e9e2f5; /*카운터숫자값*/
    --table-value-sd:#E62335; /*카운터숫자섀도우*/
}

/*  캐릭터 리스트  */
.cha-detail {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.cha-detail select {
  min-height: 35px;
}
.cha-status {
  display: flex;
  gap: 15px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
  box-sizing: border-box;
  color: #444 !important;
  height: 30px;
  border-width: 1px;
  border-style: solid;
  padding: 0 10px;
  max-width: 100%;
  min-height: 35px !important;
  border-radius: 10px;
  letter-spacing: -0.3px;
  font-family: "NanumSquare" !important;
  font-size: 12px !important;
}

.line-text-custom-left {
  position: absolute;
  left: 0px;
  margin-top: 20px;
  width: 110px;
  z-index: 999;
  pointer-events: none; /* 클릭 막으려면 */
  transform: translateX(0px);
  transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
  opacity: 0;
}

.line-text-custom-right {
  position: absolute;
  right: 0px;
  margin-top: 20px;
  width: 110px;
  z-index: 999;
  pointer-events: none; /* 클릭 막으려면 */
  transform: translateX(0px);
  transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
  opacity: 0;
}
.cha_card {
  overflow: visible;
  padding: 0;
  filter: none;
}
.cha_card:hover {
  filter: none;
}
.info_overlay {
  border-radius: 0 0 8px 8px;
}
.cha_inner_card {
  width: 100%;
  height: 100%;
  overflow: hidden;
  filter: brightness(0.6) drop-shadow(1px 3px 0px rgba(0, 0, 0, 0.7));
}
.cha_inner_card a {
  overflow: hidden;
}
.cha_inner_card:hover {
  filter: brightness(1) drop-shadow(1px 3px 3px rgba(0, 0, 0, 0.5));
}
.cha_card:hover > .line-text-custom-left {
  transform: translate(-80px);
  opacity: 100;
}
.cha_card:hover > .line-text-custom-right {
  transform: translate(80px);
  opacity: 100;
}

/* 리스트 하단 카운터 */
table {
  border-collapse: separate !important;
  width: 100%;
  margin-bottom: 20px;
  border-spacing: 5px 5px !important;
  border-radius: 12px;
  font-family:var(--table-font);
  background-image: var(--table-bg);
}

.overed-counter-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.counter-table {
  /*border: 2px solid #000000;*/
  max-width: 250px;
  color: #000000;
  text-align: center;
  height: fit-content;
  /*background-color:#333;*/
  box-shadow: var(--table-sd);
}
.two-column.counter-table {
  max-width: 120px;
}
.counter-table th {
  /*background-image: linear-gradient(to bottom, rgb(0, 0, 0), rgb(0 0 0 / 51%));*/
  color: var(--table-title);
  font-size:15px;
  font-family:'NeoDunggeunmo';
  text-shadow: 2px 2px 7px var(--table-title);
}
.counter-table td.td-key {
  /*background-color: #f3f3f3ef;*/
  color:var(--table-tr);
  font-weight:bold;
}
.counter-table td.td-value {
  /*background-color: #ffffff2b;*/
  font-family:'EF_MACHO';
  color: var(--table-value);
  text-shadow: 2px 2px 2px var(--table-value-sd);
}
.counter-table th,
.counter-table td {
  padding: 8px;
  /*border: 1px solid #333;*/
  border-collapse: collapse;
  border-radius:7px;
}

/* 드래그 앤 드롭 */
#cha-d-s {
  user-select: none;
}

.stat-graph {
  text-align: center;
  position: fixed;
  left: 520px;
  bottom: 14px;
}

#statCanvas {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.5s ease-out 2.5s;
}

#statCanvas.visible {
  opacity: 1;
}

/* 카운터 목록 */
.line-text {
  top: unset;
  right: unset;
  transform-origin: bottom left;
  transform: rotate(50deg) translate(15px, -100px);
}
.line-text div {
  white-space: nowrap;
}

/*리스트 갭 추가*/
.list_row {gap:12px;}

/*리스트 마우스오버 css*/
.overed_info{
  background-image: linear-gradient(to bottom, rgb(0, 0, 0), rgba(0, 0, 0, 0.605));
  border:4px double rgb(255, 255, 255);
  margin-bottom:10px;
  font-family: 'NeoDunggeunmo';
  font-size:15px;
  padding:3px;
  border-radius:8px;
  color:white;
}