@charset "utf-8";
@import url('//fonts.googleapis.com/css?family=Roboto:400,700');
@import url('../../../nariya/css/g5.css');
@import url('//fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
/********************************************************
■ Theme Common
********************************************************/
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  transition: background var(--transition-fast), color var(--transition-fast);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Pretendard', sans-serif;
}
h1, h2, h3, h4, h5, h6, .en { font-family: 'Pretendard', sans-serif; }

/********************************************************
■ Theme Layout : 테마 레이아웃
********************************************************/
.view_user_img { width:30px; }
.wrapper { }
@media all and (max-width:991px) {
	.responsive .wrapper { overflow-x:hidden; }
}
.nt-container,
.nt-container-wide { margin:0 auto; }
@media all and (min-width:992px) {
	.responsive .boxed-a.wrapper .nt-container.px-xl-0 { padding-left:1.5rem !important; padding-right:1.5rem !important; }
	.responsive .boxed-b.wrapper { padding-left:1.5rem !important; padding-right:1.5rem !important; }
	.responsive .boxed-b.wrapper #nt_title .nt-container.px-xl-0,
	.responsive .boxed-b.wrapper #nt_wing .nt-container.px-xl-0 { padding-left:1.5rem !important; padding-right:1.5rem !important; }
}

/* 비반응형 */
.no-responsive .boxed-a.wrapper .nt-container.px-xl-0 { padding-left:1.5rem !important; padding-right:1.5rem !important; }
.no-responsive .boxed-b.wrapper { padding-left:1.5rem !important; padding-right:1.5rem !important; }
.no-responsive .boxed-b.wrapper #nt_title .nt-container.px-xl-0,
.no-responsive .boxed-b.wrapper #nt_wing .nt-container.px-xl-0 { padding-left:1.5rem !important; padding-right:1.5rem !important; }
@media all and (max-width:1200px) {
	.no-responsive .wrapper.wided .nt-container.px-xl-0 { padding-left:1.5rem !important; padding-right:1.5rem !important; }
	.no-responsive .wrapper.wided #nt_title .nt-container.px-xl-0,
	.no-responsive .wrapper.wided #nt_wing .nt-container.px-xl-0 { padding-left:1.5rem !important; padding-right:1.5rem !important; }
}

.badge_color { color:#000 !important; font-size:16px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ 다크모드: CSS 변수 정의 (기본: 라이트모드)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  --bg: #ffffff;
  --surface: #fbfbfb;
  --card: #ffffff;
  --text: #222222;
  --text2: #222222;
  --muted: #666666;
  --link: #000;
  --link2: #000;
  --border: #e6e6e6;
  --border2: #e6e6e6;
  --accent: #0066cc;
  --gray: #fafafa;
  --gray2: #333;
  --gray3: #f8f9fa;
  --gray4: #fafafa;
  --ibtn: rgba(0, 0, 0, .5) !important;
  --shadow: rgba(0,0,0,0.06);
  --transition-fast: 180ms;
}

/* 다크모드: html[data-theme="dark"] 로 전체 변수 오버라이드 */
html[data-theme="dark"] {
  --bg: #0f1115;
  --surface: #0b0d10;
  --card: #101217;
  --text: #e6eef6;
  --text2: #222222;
  --muted: #9aa6b2;
  --link: #fff;
  --link2: #fff;
  --border: #22272d;
  --border2: #858585;
  --accent: #66a8ff;
  --gray: #0f1115;
  --gray2: #fff;
  --gray3: #0f1115;
  --gray4: #313131;
  --ibtn: rgba(255, 255, 255, .5) !important;
  --shadow: rgba(0,0,0,0.6);
}

/* 다크모드: 인라인 스타일 색상 강제 오버라이드 */
html[data-theme="dark"] [style*="color:rgb(0,0,0)"] { color: var(--text) !important; }
html[data-theme="dark"] [style*="color:rgb(255,255,255)"] { color: #ddd !important; }
html[data-theme="dark"] [style*="color:rgb(53, 46, 44)"] { color: var(--text) !important; }
html[data-theme="dark"] [style*="color:rgb(37,37,37)"] { color: #ddd !important; }

/* 다크모드: 헤더(통합 메뉴바) */
html[data-theme="dark"] #nt_title { background: #1e1e1e !important; border-bottom: 1px solid #333; }
html[data-theme="dark"] #nt_menu { background: #0f1115; }
html[data-theme="dark"] #nt_menu a:hover,
html[data-theme="dark"] #nt_menu a:focus,
html[data-theme="dark"] #nt_menu a:active { color: var(--link2) !important; }

/* 다크모드: 사이드바 */
html[data-theme="dark"] .sidebar-list .me-ul { background: #000; }
html[data-theme="dark"] .sidebar-list li a:hover,
html[data-theme="dark"] .sidebar-list li a:focus,
html[data-theme="dark"] .sidebar-list li a:active { color: var(--text) !important; }
html[data-theme="dark"] .sidebar-list li a { border-bottom: 1px solid #333; }
html[data-theme="dark"] .sidebar-list .me-ul1 { background: #1e1e1e; }

/* 다크모드: 테두리 */
html[data-theme="dark"] .list-group-item { border: 1px solid #333; }
html[data-theme="dark"] .border-top { border-top: 1px solid #333 !important; }
html[data-theme="dark"] .border-bottom { border-bottom: 1px solid #333 !important; }
html[data-theme="dark"] .border-right { border-right: 1px solid #333 !important; }

/* 다크모드: 배경 */
html[data-theme="dark"] .by-writer { background: #333 !important; }
html[data-theme="dark"] .bg-white { background-color: #1e1e1e !important; }
html[data-theme="dark"] hr.hr::before { background-color: #333; }

/* 다크모드: 메뉴 서브 */
/* 하위메뉴 다크모드 색상은 _menu.php 인라인 style에서 통합 관리 */

/* 다크모드: 탭 */
html[data-theme="dark"] .sly-tab hr { border-top: 1px solid #333; }
html[data-theme="dark"] .sly-tab li a { color:#fff; background: #000; border: 1px solid #333; }
html[data-theme="dark"] .sly-tab li.active a { background: #333; border-bottom: 1px solid #333; }

/* 다크모드: 캘린더 */
html[data-theme="dark"] #calendar .flipover .goto-btn .btn { color:#fff; }

/* 전역 링크, 카드 */
a { color: var(--link); }
.header, .gnb, .navbar { background: var(--surface); border-bottom: 1px solid var(--border); }
.card { background: var(--card); box-shadow: 0 6px 18px var(--shadow); border: 1px solid var(--border); color: var(--text); }

/* 폼 요소 */
textarea, select {
  background: linear-gradient(var(--card), var(--card));
  color: var(--text);
  border: 1px solid var(--border);
}
input {
  color: var(--text2) !important;
  border: 1px solid var(--border2) !important;
}

/* 이미지 다크모드 보정 (선택 적용) */
img.invert-in-dark { transition: filter var(--transition-fast); }
html[data-theme="dark"] img.invert-in-dark { filter: brightness(0.95) contrast(1.02); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ 다크모드 스위치 (기존 LNB용 - 현재 미사용, 하위호환 유지)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.switch {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 16px;
  margin-bottom: 1px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 8px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 12px; width: 12px;
  left: 3px; bottom: 2px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}
input:checked + .slider { background-color: #020202; }
input:checked + .slider:before { transform: translateX(17px); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ LNB (상단 유틸바) - 레이아웃 변경으로 숨김 처리
   완전 제거 대신 숨김 처리하여 그누보드 구조 영향 최소화
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#nt_lnb { display: none !important; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ PC 헤더 로고 단독 영역 - 레이아웃 변경으로 숨김 처리
   로고는 이제 통합 메뉴바(_menu.php)에서 표시
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#header_pc { display: none !important; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ PC 통합 메뉴바 (#nt_menu) - 전체 레이아웃
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* 공통 */
#nt_menu {
  position: relative;
  z-index: 20;
  background: var(--bg);
  box-shadow: 0px 5px 5px -2px rgba(50, 60, 70, 0.15);
  -webkit-box-shadow: 0px 5px 5px -2px rgba(50, 60, 70, 0.15);
  -moz-box-shadow: 0px 5px 5px -2px rgba(50, 60, 70, 0.15);
  border-bottom: 1px solid #020202;
}
html[data-theme="dark"] #nt_menu {
  border-bottom: 1px solid #333;
}
#nt_menu .nt-container,
#nt_menu .me-list .me-li,
#nt_menu .sub-1dul,
#nt_menu .sub-1dli { position: relative; }
#nt_menu .sub-slide { display:none; visibility:visible; }
#nt_menu .sub-icon::after { font-family: "FontAwesome"; float: right; position: relative; content: "\f105"; }
#nt_menu .me-icon { width:4.0rem; text-align:center; }
#nt_menu .me-a { display:block; position:relative; text-align:center; }
#nt_menu .sub-2div { left:100%; top:0; position:absolute; z-index:22; background: var(--card); box-shadow: 0 6px 12px rgba(0,0,0,.175); }
#nt_menu .sub-2da { display:block; color:var(--link); border-bottom: 1px solid var(--border); }
#nt_menu .sub-2dli.on .sub-2da,
#nt_menu .sub-2dli:hover .sub-2da { color:var(--link); background: var(--gray4); border-color: var(--border); font-weight: bold; }
#nt_menu .sub-2line { display:block; color:var(--link); font-weight:bold; background:var(--gray3); }

/* 서브메뉴 드롭다운 위치 기본값 - 색상/배경은 _menu.php 인라인 style에서 관리 */
.nt-menu .sub-1div {
  position: absolute;
  left: 0;
  z-index: 21;
  width: auto;
  text-align: left;
  top: 100%;
}
.nt-menu .sub-1div::before { left: 50%; margin-left:-8px; }
.nt-menu .sub-1da { display:block; }
.nt-menu .sub-1line { position:relative; display:block; }
.nt-menu .me-sh { padding:0.59rem 0.7rem; } /* 서브메뉴 항목 높이 */

/* 메뉴 상단 고정 */
#nt_sticky_wrap.me-sticky { position:fixed; width:100%; z-index:999; left:0; top:0; }
@media all and (min-width:992px) {
	.wrapper.m-lg-auto #nt_sticky_wrap.me-sticky nav { margin:0 auto !important; }
	.wrapper.ml-lg-auto #nt_sticky_wrap.me-sticky nav { margin:0 0 0 auto !important; }
	.wrapper.mr-lg-auto #nt_sticky_wrap.me-sticky nav { margin:0 auto 0 0 !important; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ 모바일 헤더
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#header_mo {
  box-shadow: 0px 5px 5px -2px rgba(50, 60, 70, 0.15);
  -webkit-box-shadow: 0px 5px 5px -2px rgba(50, 60, 70, 0.15);
  -moz-box-shadow: 0px 5px 5px -2px rgba(50, 60, 70, 0.15);
  border-bottom: 2px solid #020202;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ 페이지 타이틀
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#nt_title { position:relative; overflow:hidden; color:var(--text); background:var(--gray); border-bottom:1px solid #dee2e6; }
#nt_title .nt-container { position:relative; z-index:2; height:70px; }
#nt_title .page-title { font-size:26px; letter-spacing:-1px; line-height:1.4; }
#nt_title .breadcrumb a { color:var(--gray2); }
#nt_title .breadcrumb-item + .breadcrumb-item::before { font-family: dotum; font-weight: normal; color:#aaa; content:">"; }
@media all and (max-width:991px) {
	.responsive #nt_title .page-title { font-size:24px; letter-spacing:0; }
}
@media all and (max-width:767px) {
	.responsive #nt_title .page-title { font-size:22px; }
	.responsive #nt_title .nt-container { height:60px; }
}
@media all and (max-width:575px) {
	.responsive #nt_title .page-title { font-size:20px; }
	.responsive #nt_title .nt-container { height:50px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ Wing
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#nt_wing .nt-container { position:relative; overflow:visible !important; }
#nt_wing img { max-width:100%; }
#nt_wing .wing-left,
#nt_wing .wing-right { position:absolute; width:160px; }
#nt_wing .wing-left { left:-180px; }
#nt_wing .wing-right { right:-180px; }
.boxed-b #nt_wing .wing-left { left:-200px; }
.boxed-b #nt_wing .wing-right { right:-200px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ Footer
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#nt_footer .nt-links ul { list-style: none; margin: 0; padding:0; }
#nt_footer .nt-links ul > li { float: left; padding: 0 13px; }
#nt_footer ul > li:first-child { padding-left:0; }
#nt_footer ul > li:last-child { padding-right:0; }
#nt_footer .nt-links ul > li::after { font-family: dotum; font-weight: normal; float: right; color:#ccc; content: "|"; margin-right:-15px; }
#nt_footer .nt-links ul > li:last-child::after { content: ""; }
#nt_footer .nt-links ul > li > a { white-space:nowrap; }
@media all and (max-width:991px) {
	.responsive #nt_footer .nt-links ul > li { float:none; display:inline-block; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ Widget Title
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
h3.h3 { padding:0; margin:0; font-weight:bold; }
hr.hr::before { width:100%; height:1px; content: ""; position:absolute; left:0; bottom:1px; line-height:1px; background-color:#ddd; }
hr.hr { display:block; position:relative; height:3px; border: none; line-height:1px; padding:0; margin:0; }
hr.hr::after { width:4.0rem; height:3px; content: ""; position:absolute; left:0; bottom:0; line-height:1px; }
@media all and (max-width:575px) {
	.responsive h3.h3 { padding-left:1.0rem; padding-right:1.0rem; }
	.responsive hr.hr::after { left:1.0rem; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ Bootstrap 4 기본 속성
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* 툴팁 */
.tooltip .tooltip-inner { font-size:1.0rem !important; }

/* 체크박스, 라디오버튼 */
.custom-checkbox .custom-control-label::before,
.custom-checkbox .custom-control-label::after,
.custom-radio .custom-control-label::before,
.custom-radio .custom-control-label::after { top:0.15rem !important; width:1.4rem !important; height:1.4rem !important; }
.custom-checkbox .custom-control-label span,
.custom-radio .custom-control-label span { cursor: pointer; padding-left:0.5rem !important; }

/* 스위치 버튼 */
.custom-switch .custom-control-label::before,
.custom-switch .custom-control-label::after { margin-top:2px; }

/* 버튼 */
.btn-lg { padding: 10px 16px; border-radius: 3px; line-height: 1.33; font-size: 18px; }
.btn-lg i { top: 3px; font-size: 24px; position: relative; }

/* 폼 라벨 */
.col-form-label { font-weight:bold; }

/* 페이지네이션 */
.page-link,
.page-link:hover,
.page-link:focus { color: #333; }

/* 라운드 스타일 */
.na-round,
.view_image img,
.pretty-embed img { border-radius: 0.3rem !important; }

/* 사각 스타일 */
.is-square .na-round,
.is-square .view_image img,
.is-square .pretty-embed img,
.is-square .btn,
.is-square .alert,
.is-square .nav-link,
.is-square .form-control,
.is-square .input-group-prepend,
.is-square .input-group-append,
.is-square .input-group-text,
.is-square .custom-file-label,
.is-square .custom-file-label:after,
.is-square .custom-select,
.is-square .label,
.is-square .progress,
.is-square .pagination li a,
.is-square .list-group-item { border-radius:0 !important; }

/* 내용 관리 영역 링크 밑줄 */
#ctt a { text-decoration: underline; }

/* 모바일 팝업 */
@media (max-width: 768px) {
	.hd_pops { left: 5% !important; right: 5% !important; width: 90% !important; }
	.hd_pops_con { width: 100% !important; height: auto !important; }
	.hd_pops_con img { width: 100% !important; height: auto !important; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ 기타 공통 스타일
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.affiliate01_title { width:100%; height:auto; overflow:hidden; color:#fff; font-size:17px; font-weight:600; background: linear-gradient(145deg, #555, #1a1a1a); border-radius: 5px; padding:5px; }
.radioicon { width:100px; color:#020202; font-size:20px; }
.bg-light { background-color: var(--gray3) !important; }
.text-black-50 { color:var(--ibtn) !important; }
.list-group-item { background-color:var(--bg) !important; }
.table { color:var(--link) !important; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ 탭 컨테이너
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tab-container { display: flex; gap: 20px; }
.tab-box { flex: 1; border: 1px solid var(--border2); padding:10px; border-radius:6px; color:#282828; }
.tab-box2 { flex: 1; color:#282828; }
.tab-menu { display: flex; margin: 0; padding: 0; list-style: none; }
.tab-menu li { flex: 1; text-align: center; padding: 8px 0; cursor: pointer; font-weight: bold; font-size: 14px; color: #aaa; }
.tab-menu li:last-child { border-right: none; }
.tab-menu li.active { color: var(--link); }
.tab-content { display: none; padding: 10px; }
.tab-content .tab_halfbox { width:100%; height:auto; overflow:hidden; display:flex; gap:15px; }
.tab-content .tab_halfbox2 { width:100%; height:auto; overflow:hidden; }
.tab-content .tab_half { width:50%; height:auto; overflow:hidden; }
.tab-content.active { display: block; }
.tab-content ol { margin: 0; padding-left: 0px; }
.tab-content li { font-size: 14px; margin: 4px 0; }
.tab-content li a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab-box2 .tab-menu { border: 1px solid #020202; line-height:23px; border-radius:4px; }
.tab-box2 .tab-menu li.active { background-color: #020202; color: #fff; }
.tab-box2 .tab-content { padding:0px 0px; }
.vstyle { font-size:14px; padding: 10px !important; }
.bgray { color:#ccc; }
.bred { color:#dd4957; }

@media all and (max-width:991px) {
	.tab-container { flex-direction: column; gap: 10px; }
	.tab-box { padding:0px; }
	.tab-content .tab_halfbox { flex-direction: column; gap:0px; }
	.tab-content .tab_half { width:100%; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ 갤러리
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.gallery-wrapper { width: 100%; display: flex; gap: 10px; flex-wrap: wrap; }
.gallery { width: calc(25% - 8px); box-sizing: border-box; cursor: pointer; }
.gallery-item { width: 100%; height: 180px; overflow: hidden; border-radius: 8px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-info { margin-top: 5px; font-size: 14px; color: var(--link); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
@media all and (max-width: 700px) {
	.gallery { width: calc(50% - 5px); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ 기타 유틸
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media all and (max-width:767px) {
	.morder1 { order: 1; }
	.morder2 { order: 2; }
}

#mlogo_img { max-height:27px; }
.mo_left { width:87px; }
.mo_right { width:87px; font-size:13px; line-height:27px; }
.rankcenter { display: flex; width: 100%; justify-content: flex-start; gap: 3px; }
.state_btn { width:150px; height:auto; overflow:hidden; margin:0px auto; padding:2px 15px; color:#fff; background:#020202; text-align:center; font-weight:bold; cursor:pointer; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ 테이블
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.vboard { border-collapse: collapse; width: 100%; border: 1px solid #ccc; }
.vboard th, table td { border: 1px solid #ddd; padding: 6px; text-align: center; font-size:14px; }
.vboard th { background-color: #f5f5f5; font-weight: bold; }

/* 모바일 본문 헤딩 크기 조정 */
@media all and (max-width: 991px) {
	#ctt h1 { font-size:25px !important; }
	#ctt h2 { font-size:20px !important; }
	#ctt h2 span { font-size:20px !important; }
	#ctt h3 { font-size:18px !important; }
	#ctt h3 span { font-size:18px !important; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ 프로그레스 바
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.progress-bar2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #e83e8c;
    transition: width .6s ease;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ 페이지 로딩바
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#nt_loader { background: #fff; left: 0; top: 0; width: 100%; height: 100%; display: block; position: fixed; z-index: 100000; }
#nt_loader .loader { margin: -25px 0 0 -25px; left: 50%; top: 50%; width: 50px; height: 50px; line-height:50px; font-size: 45px; position: absolute; z-index: 10001; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ 커스텀 탭 메뉴
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* 탭 메뉴 컨테이너 */
.custom-tab-menu { display:flex; list-style:none; padding:0; margin:0 0 5px 0; gap:5px; border-bottom:none; }

/* 기본(비활성) li → 어두운 블랙 */
.custom-tab-menu li { flex:1; border-radius:6px; border:1px solid #2a2a2a; background:linear-gradient(145deg, #1a1a1a, #111); box-shadow:0 4px 16px rgba(0,0,0,0.4); transition:border-color 0.25s, box-shadow 0.25s;     justify-content: center;}

/* 활성(active) li → 밝은 그레이 */
.custom-tab-menu li.active { background:linear-gradient(145deg, #555, #1a1a1a); border-color:#555; box-shadow:0 0 0 1.5px #888, 0 4px 24px rgba(150,150,150,0.25); }

/* 탭 버튼 공통 → 비활성 텍스트 어둡게 */
.custom-tab-menu .tab-btn1,
.custom-tab-menu .tab-btn2,
.custom-tab-menu .tab-btn3 { display:flex; align-items:center; justify-content:space-between; width:100%; padding:10px 18px; color:#555; border:none; cursor:pointer; font-weight:700; font-size:15px; border-radius:6px; transition:color 0.2s; border:1px solid; }

/* 활성 버튼 → 텍스트 밝게 */
.custom-tab-menu .tab-btn1.active,
.custom-tab-menu .tab-btn2.active,
.custom-tab-menu .tab-btn3.active { color:#fff; }

/* 탭 콘텐츠 기본(비활성) */
.tab-content1, .tab-content2, .tab-content3 { border:1px solid #2a2a2a; border-radius:6px; padding:10px; background:linear-gradient(160deg, #141414, #0e0e0e); box-shadow:0 4px 20px rgba(0,0,0,0.5); }

/* 탭 콘텐츠 활성(active) */
.tab-content1.active, .tab-content2.active, .tab-content3.active { border-color:#55555533; background:linear-gradient(160deg, #2a2a2a, #1a1a1a); box-shadow:0 4px 24px rgba(150,150,150,0.08); }

/* 리스트 */
.tab-content1 ul, .tab-content2 ul, .tab-content3 ul { list-style:none; margin:0; padding:0; }
.tab-content1 li a, .tab-content2 li a, .tab-content3 li a { color:#aaa; text-decoration:none; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; max-width:100%; display:block; transition:color 0.15s; }
.tab-content1 li a:hover, .tab-content2 li a:hover, .tab-content3 li a:hover { color:#fff; }
.tab-content1 li .date, .tab-content2 li .date, .tab-content3 li .date { color:#444; font-size:13px; }

/* 빈 콘텐츠 */
.tab-content1 .empty, .tab-content2 .empty, .tab-content3 .empty { text-align:center; padding:32px 0; color:#444; font-size:14px; }

/* 라이트모드에서도 블랙 유지 */
html:not([data-theme="dark"]) .custom-tab-menu li { background:linear-gradient(145deg, #1a1a1a, #111); border-color:#2a2a2a;  justify-content: center;}
html:not([data-theme="dark"]) .custom-tab-menu li.active { background:linear-gradient(145deg, #555, #1a1a1a); border-color:#555; }
html:not([data-theme="dark"]) .tab-content1,
html:not([data-theme="dark"]) .tab-content2,
html:not([data-theme="dark"]) .tab-content3 { background:linear-gradient(160deg, #1a1a1a, #555); border-color:#2a2a2a; }