body.body-djs {
  font-weight: 200;
  letter-spacing: -0.02em;
}

body.body-djs strong,
body.body-djs b {
  font-weight: 700;
}
.toggle-wrap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}

/* ============================= */
/* toggle button */
/* ============================= */

.toggle-btn {
  position: absolute;
  top: 5px;
  left: 5px;

  border-radius: 5px;
  width: 24px;
  height: 24px;

  display: flex;
  justify-content: center;
  align-items: center;

  border: none;
  cursor: pointer;

  transition: opacity 0.15s ease;
}

.toggle-btn i {
  line-height: 0;
}
.toggle-btn.toggled + .toggle-menu{
	opacity: 1 !important;
	pointer-events: auto !important;
}

/* ============================= */
/* toggle menu */
/* ============================= */

.toggle-menu {
  position: absolute;
  top: 100%;
  left: 0;

  padding: 5px;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);

  display: flex;
  gap: 0.7rem;

  z-index: 1;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.15s ease;
}

/* ============================= */
/* hover 동작 */
/* ============================= */

/* 버튼 hover → 메뉴 show */
.toggle-btn:hover + .toggle-menu {
  opacity: 1;
  pointer-events: auto;
}

/* 메뉴 hover 유지 */
.toggle-menu:hover {
  opacity: 1;
  pointer-events: auto;
}

/* 메뉴 hover 시 버튼 hide */
.toggle-menu:hover ~ .toggle-btn {
  opacity: 0;
}

/* wrap hover 시 버튼 hide + 메뉴 show (안정성) */
.toggle-wrap:hover .toggle-btn {
  opacity: 0;
}

.toggle-wrap:hover .toggle-menu {
  opacity: 1;
  pointer-events: auto;
}



.toggle-menu button {
  border-radius: 5px;
  border: none;
  min-width: 30px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  line-height: 0;
  white-space: nowrap;
  cursor: pointer;
}

.toggle-menu button i {
  line-height: 0;
}

.toggle-menu button.btn-pill {
  border-radius: 5rem;
  padding: 3px 16px;
  font-weight: 600;
}

.side-close {
	display: none;
	z-index: 9999;
	position: fixed;
  top: 4px;
  left: 0;
  border: 0;
  font-size: 0.8rem;
  border-radius: 5px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  box-shadow: 0 0.1875rem 0.75rem 0 rgba(24, 27, 33, 0.60);
}

.control-wrap {
  position: absolute;
  top: 5px;
  left: 35px;
  display: flex;
  gap: 0.4rem;
}

.control-wrap button {
  font-size: 1.1rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

body.body-djs .side_menu_layer {
  left: -170px;
  width: 0px;
  z-index: 10;
  box-shadow: 0 0.1875rem 0.75rem 0 rgba(24, 27, 33, 0.60);
}

body.body-djs .layer {
  padding-left: 0px !important;
  height: 100%;
}

body.body-djs.screen_max .open_menu_btn.show {
  display: none !important;
}

body.body-djs.screen_max .side-close {
  left: 0 !important;
  opacity: 0 !important;
}

body.body-djs.screen_max .side_menu_layer.close>* {
  opacity: 1 !important;
}

/* 
body.body-djs.screen_max .btn_mag i::before {
  content: '\f104';
}

.btn_mini {
  display: none !important;
}

body.body-djs.screen_max .btn_mini {
  display: block !important;
} */


.djs-wrap {
  flex: 1;
  position: relative;
  z-index: 7;
  padding: 2rem;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  display: grid;
  gap: 2rem;
}

.djs-wrap .card-box {
  position: relative;
  overflow: hidden;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  border-radius: 0.8rem 0.8rem 0 0;
  overflow: hidden;
  grid-row-start: 1;
  grid-row-end: 2;
}

.djs-wrap .card-box::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border-radius: 0.75rem 0.75rem 0 0;
  transition: opacity 0.4s ease-in;
  opacity: 0;
}

.djs-wrap .card-box.show::after {
  opacity: 1;
}

.card-box.show::after {
  animation: fadeOutAfter 3s forwards;
}

@keyframes fadeOutAfter {
  0% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.djs-wrap .card-box.box-1 {
  grid-column-start: 1;
  grid-column-end: 2;
}

.djs-wrap .card-box.box-2 {
  grid-column-start: 2;
  grid-column-end: 3;
}

.djs-wrap .card-box.box-3 {
  grid-column-start: 3;
  grid-column-end: 4;
}

.djs-wrap .card-box h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 39px;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: 1.3rem;
}

.card-slide {
  height: calc(100% - 140px);
  max-width: 100vw;
  width: 100%;
  overflow: hidden !important;
  position: relative;
  z-index: 2;
}

.card-slide .slick-list,
.card-slide .slick-track {
  height: 100%;
}

.chart-wrap {
  padding: 1rem;
  height: calc(50% - 2rem);
}

.chart-wrap .nums {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: .6rem;
}

.chart-wrap .nums>div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.chart-wrap .nums .num-1 {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
}

.chart-wrap .nums .num-1 .badge.nation,
.chart-wrap .nums .num-1 .badge.region {
  padding: 4px 7px 4px 6px;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1;
  color: #fff;
}

.chart-wrap .nums .num-1 p strong {
  font-size: 1.5rem;
  font-weight: 500;
  margin-right: 0.3rem;
}

.chart-wrap .nums .num-2 {
  font-size: 1.1rem;
}

.chart-wrap .nums .num-2 strong {
  font-size: 2.5rem;
  margin-right: 0.3rem;
}

.chart-wrap .nums .num-3 {
  font-size: 0.9rem;
  text-align: right;
}

.chart-wrap .nums .arrow-up,
.chart-wrap .nums .arrow-down,
.chart-wrap .nums .arrow-hyphen {
  font-weight: 600;
  text-align: right;
}

.chart-wrap .nums .arrow-up strong,
.chart-wrap .nums .arrow-down strong,
.chart-wrap .nums .arrow-hyphen strong {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0.1rem 0 0.4rem;
}

.chart-wrap .nums .arrow-up i,
.chart-wrap .nums .arrow-down i,
.chart-wrap .nums .arrow-hyphen i {
  font-size: 1.4rem;
}


.chart .highcharts-figure {
  height: 100%;
}

.chart .highcharts-figure div {
  height: 100%;
}

.highcharts-point {
  opacity: unset !important;
  fill-opacity: 0.5;
  transition: fill-opacity 50ms;
}

.highcharts-column-series .highcharts-point-hover,
.highcharts-bar-series .highcharts-point-hover {
  fill-opacity: 1;
  transition: fill-opacity 50ms;
}

.highcharts-xaxis-labels text {
  font-size: 16px;
  white-space: nowrap;
}

.highcharts-yaxis-labels text {
  font-size: 17px;
  white-space: nowrap;
}

.highcharts-column-series path.highcharts-point,
.series-column rect {
  stroke: none;
}

.series-line path {
  stroke-width: 2px;
}

.series-line .highcharts-point {
  stroke-width: 0;
}

.highcharts-data-label text,
text.highcharts-data-label,
.series-line .highcharts-data-label text {
  font-size: 18px !important;
  font-weight: bold;
}

.highcharts-tooltip-box {
  stroke-width: 0 !important;
}

.highcharts-tooltip .highcharts-color-0 {
  stroke: none;
}

.highcharts-tooltip .highcharts-color-1 {
  stroke: none;
}

.tooltip-content {
  font-size: 18px;
  padding: 5px;
  color: #000;
  pointer-events: none;
  white-space: nowrap;
}

.tooltip-bullet {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.tooltip-bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
}

.series-line path.highcharts-graph {
  stroke-width: 2 !important;
  fill: none;
  opacity: 0.6;
}

.series-line .highcharts-point {
  stroke: none !important;
  stroke-width: 0 !important;
}

.series-line .highcharts-markers>.highcharts-point {
  stroke: none !important;
  stroke-width: 0 !important;
  opacity: 0.6 !important;
  r: 6 !important;
}

.series-line .highcharts-markers>.highcharts-point-hover {
  stroke: none !important;
  stroke-width: 0 !important;
  opacity: 1 !important;
  r: 6 !important;
}

.item-wrap {
  height: 100px;
}

.item-wrap:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.item-wrap .item {
  display: flex;
}

.item-wrap .item>div {
  display: flex;
  justify-content: space-between;
  flex: 1 1 50%;
  padding: 0.25rem 1rem;
  font-size: 0.9rem;
  align-items: center;
}

.item-wrap.flip .item>div {
  padding: 0.3rem 1rem;
}

.item-wrap .item .title {
  font-weight: 200;
}

.item-wrap .item .value {
  font-weight: 400;
}

.line {
  perspective: 600px;
  overflow: hidden;
}

.line.flip {
  animation: flipAnimation 0.6s forwards;
}

.line.no-flip {
  animation: none;
}

@keyframes flipAnimation {
  0% {
    transform: rotateX(0deg);
    opacity: 1;
  }

  50% {
    transform: rotateX(90deg);
    opacity: 0;
  }

  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

.loader_wrap {
  display: none;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -55px 0 0 -25px;
  width: 50px;
  aspect-ratio: 1;
  display: grid;
  border-radius: 50%;
  background:
    linear-gradient(0deg, rgb(255 255 255/50%) 30%, #0000 0 70%, rgb(255 255 255/100%) 0) 50%/8% 100%,
    linear-gradient(90deg, rgb(255 255 255/25%) 30%, #0000 0 70%, rgb(255 255 255/75%) 0) 50%/100% 8%;
  background-repeat: no-repeat;
  animation: l23 1s infinite steps(12);
  opacity: .5;
}

.loader::before,
.loader::after {
  content: "";
  grid-area: 1/1;
  border-radius: 50%;
  background: inherit;
  opacity: 0.915;
  transform: rotate(30deg);
}

.loader::after {
  opacity: 0.83;
  transform: rotate(60deg);
}

@keyframes l23 {
  100% {
    transform: rotate(1turn)
  }
}

/* Color Theme */
.dark {
  color: #fff;
}

.dark .toggle-btn {
  background: #181b21;
  color: #ffffff;
}

.dark .toggle-menu {
  background-color: #222429;
}

.dark .toggle-menu button {
  color: #fff;
  background-color: #3b3e47;
}

.dark .side-close {
  color: #fff;
  background: #181b21;
}

.dark .control-wrap button {
  background: #181b21;
  color: #ffffff;
}

.dark .layer {
  background-color: #3f434d;
}

.dark .djs-wrap .card-box {
  background: #181b21;
  box-shadow: 0 0.1875rem 0.75rem 0 rgba(24, 27, 33, 0.50);
  position: relative;
  z-index: 1;
}

.dark .djs-wrap .card-box::after {
  border: 4px solid #5c9195;
}

.dark .djs-wrap .card-box h3 {
  /* border-bottom: 1px solid rgb(255 255 255 / 30%); */
  background: rgb(41 94 98 / 50%);
}

.dark .chart-wrap .nums .num-1 {
  color: #ccc;
}

.dark .chart-wrap .nums .num-3 {
  color: #ccc;
}

.dark .chart-wrap .nums .arrow-up {
  color: #fb288f;
}

.dark .chart-wrap .nums .arrow-down {
  color: #00cccc;
}

.dark .chart-wrap .nums .arrow-hyphen {
  color: #fff;
}

.dark .chart-wrap .nums .num-1 .badge.nation {
  background-color: #1c71ff;
}

.dark .chart-wrap .nums .num-1 .badge.region {
  background-color: #ea7b0e;
}

.dark .highcharts-background {
  fill: #2f2f31 !important;
}

.dark .highcharts-xaxis-labels text,
.dark .highcharts-yaxis-labels text {
  fill: #ffffff;
}

.dark .highcharts-column-series path.highcharts-point,
.dark .series-column rect {
  fill: #38bbc3;
}

.dark .highcharts-data-label text,
.dark text.highcharts-data-label,
.dark .series-line .highcharts-data-label text {
  fill: #ffffff !important;
}

.dark .highcharts-tooltip-box {
  fill: #ffffff !important;
}

.dark .highcharts-tooltip .highcharts-color-0 {
  fill: #38bbc3 !important;
}

.dark .highcharts-tooltip .highcharts-color-1 {
  fill: #9fd192 !important;
}

.dark .highcharts-tooltip {
  color: #000;
}

.dark .highcharts-tooltip span {
  color: #000;
}

.dark .tooltip-bullet-0 {
  background-color: #38bbc3;
}

.dark .tooltip-bullet-1 {
  background-color: #9fd192;
}

.dark .series-line path {
  stroke: #9fd192;
}

.dark .series-line path.highcharts-graph {
  stroke: #9fd192 !important;
}

.dark .series-line .highcharts-point {
  fill: #9fd192 !important;
}

.dark .item-wrap {
  border-top: 2px solid rgb(255 255 255 / 30%);
  position: relative;
}

.dark .item-wrap:after {
  background: #000000;
  background: linear-gradient(0deg, rgb(0 0 0 / 72%) 0%, rgb(0 0 0 / 40%) 30%, rgba(0, 0, 0, 0) 90%);
}

.dark .item-wrap .item {
  border-bottom: 1px solid rgb(204 204 204 / 20%);
}

.light {
  color: #000;
}

.light .toggle-btn {
  background: #ebebeb;
  color: #1e3050;
}

.light .toggle-menu {
  background-color: #ebebeb;
}

.light .toggle-menu button {
  color: #ffffff;
  background-color: #6d7585;
}

.light .side-close {
  color: #1e3050;
  background: #ebebeb;
}

.light .control-wrap button {
  background: #ebebeb;
  color: #6d7a8c;
}

.light .layer {
  background-color: #d5d5d5;
}

.light .djs-wrap .card-box {
  background-color: #ebebeb;
  box-shadow: 0 0.1875rem 0.75rem 0 rgba(47, 43, 61, 0.3);
}

.light .djs-wrap .card-box::after {
  border: 4px solid #609789;
}

.light .djs-wrap .card-box h3 {
  border-bottom: 1px solid rgb(0 0 0 / 30%);
  font-weight: 500;
  background: #b8d4cd;
  color: #0b3329;
}

.light .chart-wrap .nums .num-1 {
  color: #575757;
}

.light .chart-wrap .nums .num-3 {
  color: #575757;
  font-weight: 300;
}

.light .chart-wrap .nums .arrow-up {
  color: #fb2837;
}

.light .chart-wrap .nums .arrow-down {
  color: #1e5dfe;
}

.light .chart-wrap .nums .arrow-hyphen {
  color: #000000;
}

.light .chart-wrap .nums .num-1 .badge.nation {
  background-color: #1c71ff;
}

.light .chart-wrap .nums .num-1 .badge.region {
  background-color: #ea7b0e;
}

.light .highcharts-background {
  fill: #fff !important;
}

.light .highcharts-xaxis-labels text,
.light .highcharts-yaxis-labels text {
  fill: #000;
}

.light .highcharts-column-series path.highcharts-point,
.light .series-column rect {
  fill: #2ca67d;
}

.light .series-line path {
  stroke: #6F42C1;
}

.light .series-line .highcharts-point {
  fill: #6F42C1 !important;
  stroke: #000 !important;
}

.light .highcharts-data-label text,
.light text.highcharts-data-label,
.light .series-line .highcharts-data-label text {
  fill: #000 !important;
}

.light .highcharts-tooltip-box {
  fill: #ffffff !important;
}

.light .highcharts-tooltip .highcharts-color-0 {
  fill: #2ca67d !important;
}

.light .highcharts-tooltip .highcharts-color-1 {
  fill: #6F42C1 !important;
}

.light .highcharts-tooltip span {
  color: #000;
}

.light .tooltip-bullet-0 {
  background-color: #2ca67d;
}

.light .tooltip-bullet-1 {
  background-color: #6F42C1;
}

.light .series-line path {
  stroke: #6F42C1;
}

.light .series-line path.highcharts-graph {
  stroke: #6F42C1 !important;
}

.light .series-line .highcharts-point {
  fill: #6F42C1 !important;
  stroke: #000 !important;
}

.light .item-wrap {
  border-top: 2px solid rgb(0 0 0 / 30%);
  position: relative;
}

.light .item-wrap:after {
  background: rgb(136 136 136);
  background: linear-gradient(0deg, rgb(136 136 136 / 40%) 0%, rgb(136 136 136 / 15%) 40%, rgb(136 136 136 / 0%) 90%);
}

.light .item-wrap .item {
  border-bottom: 1px solid rgb(55 55 55 / 20%);
}

.light .item-wrap .item .title {
  font-weight: 300;
}

.light .item-wrap .item .value {
  font-weight: 500;
}

.light .loader {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
  border-radius: 50%;
  background:
    linear-gradient(0deg, rgb(0 0 0/50%) 30%, #0000 0 70%, rgb(0 0 0/100%) 0) 50%/8% 100%,
    linear-gradient(90deg, rgb(0 0 0/25%) 30%, #0000 0 70%, rgb(0 0 0/75%) 0) 50%/100% 8%;
  background-repeat: no-repeat;
  animation: l23 1s infinite steps(12);
}


@media(max-width:1024px) {
	.dark .highcharts-xaxis-labels text, .dark .highcharts-yaxis-labels text{
		font-size:12px;
	}
}
@media(max-width:1024px) {
	#bodyId  .djs-wrap{
		grid-template-columns: repeat(1, 1fr);
		display: block;
		
	}
	#bodyId .djs-wrap .card-box{
		grid-column: 1 / -1;
		width: 100%;
		max-width: 100%;
		margin-bottom:20px;
	}
	

	.chart-wrap .nums .num-1 p strong {
	  font-size: 140%;
	  font-weight: 500;
	  margin-right: 0.3rem;
	  display: block;
	  width: 100%;
	}
	.chart-wrap .nums .num-2 strong{
	font-size: 170%;
		
	}

	.chart-wrap .nums .num-3 {
	  font-size: 85%;
	}
}





.chart-navigate{
	display: flex;
	justify-content: space-between;
	margin-top:10px;
	height: 40px;
}
.hovered .chart-navigate button{
	opacity: 1;
	
}

.chart-navigate button{display: flex;cursor: pointer;padding: 10px 30px;background: #2f2f31;border: none;color: #fff;
opacity: 0;
transition: 0.5s;
}
.chart-navigate button:hover{background-color: inherit;outline: 1px solid #fff;}

.light .chart-navigate button{	background: #fff;color:#000;outline: 1px solid #fff;}
.light .chart-navigate button:hover{	background: #fff;color:#000;outline: 1px solid #fff;}


@media(max-width:1024px) {
.layer.dash-wrap{display: block;}
.slick-slide .chart-navigate button{opacity: 1.0;}
}
