@charset "utf-8";
/* ==========================================================================
   winnersclass 사용자 화면 다크 테마 (관리자 _awsAdm 은 로드하지 않음)
   - dark.auto.css : 기존 CSS 색상을 자동 변환한 결과 (backup/tools/gen_dark.py)
   - dark.css      : 공통 톤/버튼/폼/헤더/푸터 등 수동 보정 (이 파일)
   ========================================================================== */
:root {
	--wc-bg: #0b0b0b;
	--wc-surface: #181818;
	--wc-surface-2: #1b1b1b;
	--wc-surface-3: #232323;
	--wc-line: #2a2a2a;
	--wc-line-2: #3a3a3a;
	--wc-text: #f2f2f2;
	--wc-text-strong: #ffffff;
	--wc-text-muted: #b8b8b8;
	--wc-gold: #c1b092;
	--wc-gold-hover: #cec0a6;
	--wc-gold-text: #c1b092;
	--wc-on-gold: #0b0b0b;
	--wc-price: #e53935;
}

/* 기존 CSS 변수(contents.css, style.css)를 다크 톤으로 재정의 */
body.theme-dark,
.wc-dark-scope {
	--main: #c1b092;
	--sub: #c1b092;
	--black: #f2f2f2;
	--border: rgba(255,255,255,0.12);
	--brand: #c1b092;
	--ink: #f2f2f2;
	--muted: #b8b8b8;
	--bg: #0b0b0b;
	--card: #181818;
}

/* ---------- 기본 바탕 ---------- */
html { background: var(--wc-bg); }
body.theme-dark { background: var(--wc-bg) !important; color: var(--wc-text); }
.theme-dark #wrap,
.theme-dark #wrapmain,
.theme-dark .sub-body,
.theme-dark #sub-container_bg,
.theme-dark .section-new-subject,
.theme-dark .section-best-subject,
.theme-dark .sub-content { background-color: transparent !important; }
.theme-dark .sub-body { background: var(--wc-bg) !important; }

.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4, .theme-dark h5, .theme-dark h6 { color: var(--wc-text-strong); }
.theme-dark hr { border-color: var(--wc-line); }
.theme-dark a:link, .theme-dark a:visited, .theme-dark a:active { color: var(--wc-text); }
.theme-dark a:hover { color: var(--wc-gold-text); }
.theme-dark ::selection { background: var(--wc-gold); color: var(--wc-on-gold); }

/* ---------- 헤더 / GNB ---------- */
.theme-dark #header,
.theme-dark #gnb_area,
.theme-dark .gnbDiv .gnbWrap .gnb { background: var(--wc-bg) !important; }
.theme-dark #header > .min768 { border-bottom: 1px solid var(--wc-line) !important; }
.theme-dark .topmenu-info,
.theme-dark .topmenu-info a,
.theme-dark .topmenu-info span { color: var(--wc-text-muted) !important; }
.theme-dark .topmenu-info a:hover { color: var(--wc-gold-text) !important; }
.theme-dark .topmenu-info .menu_line { background: var(--wc-line-2) !important; }
.theme-dark .topmenu-info { border-top-color: transparent !important; }

/* 서브 상단 비주얼 띠 (넓은 영역은 골드 대신 다크) */
.theme-dark .topvisual .sub_bg,
.theme-dark .topvisual [class*="bg_"] { background-color: var(--wc-surface) !important; color: var(--wc-text-strong) !important; border-bottom: 1px solid var(--wc-line); }
.theme-dark .topvisual .sub_img { color: var(--wc-text-strong) !important; }
.theme-dark .topvisual .sub_img::after { background-color: var(--wc-gold) !important; }
.theme-dark .topvisual .section_bg3 { background: #101010 !important; color: var(--wc-text-muted) !important; }
.theme-dark .topvisual .section_bg3 ul li a { color: var(--wc-text-muted) !important; }
.theme-dark .topvisual .section_bg3 ul li:last-child a { color: var(--wc-gold-text) !important; }
.theme-dark #menu-line { background: var(--wc-gold) !important; }

/* 서브 페이지 타이틀 */
.theme-dark .subject-title { color: var(--wc-text-strong) !important; }
.theme-dark .subject-title::before { background-color: var(--wc-gold) !important; }
.theme-dark .sub-title .subject { background: var(--wc-surface) !important; border-color: var(--wc-line) !important; color: var(--wc-text-strong) !important; }
.theme-dark .sub-title .subject-title { background: var(--wc-surface) !important; border-color: var(--wc-line) !important; }
.theme-dark .gnbDiv .gnbWrap .gnb ul li a.oneDep { color: var(--wc-text-strong) !important; }
.theme-dark .gnbDiv .gnbWrap .gnb ul li:hover a.oneDep,
.theme-dark .gnbDiv .gnbWrap .gnb ul li.on a.oneDep { color: var(--wc-gold-text) !important; }
.theme-dark .gnbDiv .gnbWrap .gnb ul li a.oneDep:after { background: var(--wc-gold) !important; }
.theme-dark .gnbDiv .gnbWrap .twoDep { background: #262626 !important; border-top: 1px solid #3a3a3a !important; border-bottom: 1px solid var(--wc-gold) !important; }
.theme-dark .gnbDiv .gnbWrap li.on .twoDep { background: #303030 !important; border-top: 1px solid #3a3a3a !important; border-bottom: 1px solid var(--wc-gold) !important; }
.theme-dark .gnbDiv .gnbWrap li .twoDep a { color: var(--wc-text) !important; }
.theme-dark .gnbDiv .gnbWrap li .twoDep a:hover,
.theme-dark .gnbDiv .gnbWrap li.on .twoDep a.off:hover { color: var(--wc-on-gold) !important; background: var(--wc-gold) !important; }
.theme-dark .menu-icon img,
.theme-dark .closebtn img { filter: invert(1) brightness(1.6); }

/* 모바일 사이드 메뉴 */
.theme-dark .sidenav { background: var(--wc-surface) !important; border-left: 1px solid var(--wc-line) !important; }
.theme-dark .sidenav a,
.theme-dark .sidenav > button,
.theme-dark .dropdown-btn { color: var(--wc-text) !important; }
.theme-dark .dropdown-container { background: var(--wc-bg) !important; }
.theme-dark .dropdown-container a.btn-submenu { color: var(--wc-text-muted) !important; }
.theme-dark .dropdown-btn.active,
.theme-dark .dropdown-container a.btn-submenu:hover { color: var(--wc-gold-text) !important; }
.theme-dark .m-login button { background: var(--wc-gold) !important; color: var(--wc-on-gold) !important; border: 0 !important; }
.theme-dark .m-login button img { filter: brightness(0); }

/* ---------- 메인 타이틀 (투톤 → 화이트 + 골드) ---------- */
.theme-dark .main-title-text,
.theme-dark .main-title-text-1 { color: var(--wc-text-strong) !important; }
.theme-dark .main-title-text .title-tone--navy,
.theme-dark .section-new-subject .main-title-text .title-tone--navy { color: var(--wc-text-strong) !important; }
.theme-dark .main-title-text .title-tone--sky,
.theme-dark .section-new-subject .main-title-text .title-tone--sky { color: var(--wc-gold-text) !important; }
.theme-dark .main-subtitle-text { color: var(--wc-text-muted) !important; }
.theme-dark .b-title,
.theme-dark .b-title2 { color: var(--wc-text-strong) !important; }

/* ---------- 카드 공통 ---------- */
.theme-dark .best-subject li,
.theme-dark .board_box,
.theme-dark .bbody,
.theme-dark .bboard,
.theme-dark .detailFormBox,
.theme-dark .detailWrap .detailLeft,
.theme-dark .detailWrap .detailRight .detailFormBox { background-color: var(--wc-surface) !important; border-color: var(--wc-line) !important; }
@media (max-width: 767px) {
	.theme-dark .best-subject li,
	.theme-dark .board_box,
	.theme-dark .bbody,
	.theme-dark .bboard,
	.theme-dark .detailFormBox,
	.theme-dark .detailWrap .detailLeft,
	.theme-dark .detailWrap .detailRight .detailFormBox {
		background-color: #000000 !important;
		border-color: var(--wc-line) !important;
	}
}
.theme-dark .section_pass_bg { background: #2d2d2d; }
/* 성과리뷰 배경 거품 — 골드 톤, 매우 은은하게 */
.theme-dark .section_pass_bg--fx .pass-bubble {
	background: rgba(193, 176, 146, 0.04);
	box-shadow: none;
}
.theme-dark .section_pass_bg--fx .pass-bubble--2 {
	background: rgba(193, 176, 146, 0.03);
}
.theme-dark .section_pass_bg--fx .pass-bubble--3 {
	background: rgba(206, 192, 166, 0.035);
}
.theme-dark .section_pass_bg--fx .pass-bubble--4 {
	background: rgba(193, 176, 146, 0.025);
}
.theme-dark .section_pass_bg--fx .pass-bubble--5 {
	background: rgba(193, 176, 146, 0.022);
}
.theme-dark .section_pass_bg--fx .pass-bubble--6 {
	background: rgba(206, 192, 166, 0.045);
}
.theme-dark .nm-video-wrap { background: var(--wc-surface) !important; border-color: var(--wc-line) !important; }
.theme-dark .nm-video-wrap::before { display: none; }
.theme-dark .nm-video-wrap .nm-play-overlay { background: rgba(255,255,255,0.4); border: 0; box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.theme-dark .nm-video-wrap .nm-play-overlay::before { display: none; }
.theme-dark .nm-video-wrap .nm-play-overlay .nm-play-overlay-icon { border-left-color: #111111; filter: none; }
.theme-dark .nm-video-wrap:hover .nm-play-overlay,
.theme-dark .nm-video-wrap:focus-within .nm-play-overlay { background: #ffffff; border: 0; box-shadow: 0 10px 24px rgba(0,0,0,0.45); }
.theme-dark .bx-wrapper { border: 0 !important; background: transparent !important; box-shadow: none !important; }
.theme-dark .ns-ss-all { border-color: var(--wc-line) !important; background: var(--wc-surface); }
.theme-dark .ns-ss-all { transition: border-color .35s ease, box-shadow .35s ease, background-color .35s ease; }
.theme-dark .ns-ss-all .bs-ss-box img { transition: transform .7s cubic-bezier(.22,.61,.36,1), filter .7s ease; }
.theme-dark .ns-ss-all .bs-ss-text h1 { transition: color .3s ease; }
.theme-dark .ns-ss-all:hover { opacity: 1 !important; border-color: rgba(193,176,146,.75) !important; box-shadow: 0 0 0 1px rgba(193,176,146,.18), 0 12px 28px rgba(0,0,0,.55) !important; }
.theme-dark .ns-ss-all:hover .bs-ss-box img { transform: scale(1.04); filter: brightness(1.06); }
.theme-dark .ns-ss-all:hover .bs-ss-text h1 { color: var(--wc-gold) !important; }
.theme-dark .section-new-subject .ns-ss-all { background: #2f2f2f; }
.theme-dark .section-new-subject .ns-ss-all:hover { background: #353535; }
.theme-dark .bs-ss-box .stateBtn.state2 { display: none; }
.theme-dark .section-new-subject .best-subject li { background-color: transparent !important; }

/* ---------- 버튼 : 주 버튼(골드 채움) / 보조 버튼(골드 테두리) ---------- */
.theme-dark .box_btn > button,
.theme-dark button.confirm,
.theme-dark button.payment,
.theme-dark button.buyGo,
.theme-dark button.buyCart,
.theme-dark button.myStudy,
.theme-dark button.btn-cate,
.theme-dark .btn_bbs_search,
.theme-dark .bbs-normalbtn.bbs-confirm,
.theme-dark .btn-primary,
.theme-dark .btn-gold {
	background: var(--wc-gold) !important;
	color: var(--wc-on-gold) !important;
	border: 1px solid var(--wc-gold) !important;
	font-weight: 700;
	border-radius: 4px;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
/* 게시판 폼 하단 확인/리스트만 동일 크기 (로그인 .box_btn 에는 적용하지 않음) */
.theme-dark .btn_center.bbs-form-btns {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
.theme-dark .btn_center.bbs-form-btns #mobile_wait {
	flex-basis: 100%;
	text-align: center;
}
.theme-dark .btn_center.bbs-form-btns .bbs-normalbtn {
	width: 110px !important;
	height: 45px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 4px !important;
	font-size: 15px !important;
	font-weight: 700;
	line-height: 43px !important;
	box-sizing: border-box;
	vertical-align: middle;
}
/* 로그인 버튼: 전체 너비 유지 + 구 레이아웃 위치값 무력화 */
.theme-dark .login_sbox .box_btn {
	position: static !important;
	left: auto !important;
	top: auto !important;
	width: 100% !important;
	margin-top: 12px;
}
.theme-dark .login_sbox .box_btn > button {
	width: 100% !important;
	height: 50px !important;
	padding: 0 !important;
	line-height: 48px !important;
	font-size: 18px !important;
	border-radius: 5px !important;
}
.theme-dark .box_btn > button:hover,
.theme-dark button.confirm:hover,
.theme-dark button.payment:hover,
.theme-dark button.buyGo:hover,
.theme-dark button.buyCart:hover,
.theme-dark button.myStudy:hover,
.theme-dark button.btn-cate:hover,
.theme-dark .btn_bbs_search:hover,
.theme-dark .bbs-normalbtn.bbs-confirm:hover,
.theme-dark .btn-primary:hover,
.theme-dark .btn-gold:hover { background: var(--wc-gold-hover) !important; border-color: var(--wc-gold-hover) !important; color: var(--wc-on-gold) !important; }

.theme-dark button.joinCode,
.theme-dark button.normal,
.theme-dark button.small-line,
.theme-dark button.add-btn,
.theme-dark .bbs-normalbtn,
.theme-dark .btn_white,
.theme-dark .btn-line,
.theme-dark .btn-default {
	background: transparent !important;
	color: var(--wc-gold-text) !important;
	border: 1px solid var(--wc-gold) !important;
	border-radius: 4px;
	transition: background-color .2s ease, color .2s ease;
}
.theme-dark button.joinCode:hover,
.theme-dark button.normal:hover,
.theme-dark button.small-line:hover,
.theme-dark button.add-btn:hover,
.theme-dark .bbs-normalbtn:hover,
.theme-dark .btn_white:hover,
.theme-dark .btn-line:hover,
.theme-dark .btn-default:hover { background: rgba(193,176,146,0.12) !important; color: var(--wc-gold-hover) !important; }

/* 게시판 목록 글쓰기/리스트 버튼 — 오른쪽 끝 붙음 방지 */
.theme-dark .bbs-list-actions {
	box-sizing: border-box !important;
	padding-right: 12px !important;
	margin: 12px 0 4px !important;
}
.theme-dark .bbs-list-actions .bbs-normalbtn { margin-left: 6px; }

/* 결제하기 = 레드 채움 / 장바구니 = 골드 테두리 (클라이언트 지정). 무료 '신청하기'(coursFree)는 골드 채움 유지 */
.theme-dark button.buyGo,
.theme-dark button.payment,
.theme-dark .pay-rail .pay-card.v2 .pay-btn.v2 {
	background: var(--wc-price) !important;
	color: #fff !important;
	border: 1px solid var(--wc-price) !important;
	box-shadow: 0 10px 20px rgba(229,57,53,0.22) !important;
}
.theme-dark button.buyGo:hover,
.theme-dark button.payment:hover,
.theme-dark .pay-rail .pay-card.v2 .pay-btn.v2:hover { background: #c62828 !important; border-color: #c62828 !important; color: #fff !important; }
/* 플로팅 결제창 무료 신청하기 = 본문 coursFree 와 동일 골드 + 카드/버튼 중앙정렬 */
.theme-dark .pay-rail .pay-card.v2 .pay-btn.v2.coursFree {
	background: var(--wc-gold) !important;
	color: var(--wc-on-gold) !important;
	border: 1px solid var(--wc-gold) !important;
	box-shadow: none !important;
	filter: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	line-height: 1 !important;
	width: 145px !important;
	max-width: calc(100% - 18px) !important;
	margin: 10px auto 8px !important;
	padding: 0 12px !important;
	box-sizing: border-box !important;
}
.theme-dark .pay-rail .pay-card.v2 .pay-btn.v2.coursFree:hover {
	background: var(--wc-gold-hover) !important;
	border-color: var(--wc-gold-hover) !important;
	color: var(--wc-on-gold) !important;
	box-shadow: none !important;
	filter: none !important;
	transform: none;
}
.theme-dark .pay-rail .pay-card.v2 .pay-btn.v2.coursFree::before {
	display: none;
}
.theme-dark .pay-rail .pay-card.v2 .pay-btn.v2.coursFree img {
	width: 18px;
	height: 18px;
	display: block;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 1;
	filter: brightness(0) saturate(100%) invert(100%);
}
.theme-dark .pay-rail .pay-card.v2 .pay-btn.v2.coursFree > span {
	display: inline-block !important;
	margin: 0;
	padding: 0;
	line-height: 1 !important;
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
}
.theme-dark button.buyCart:not(.coursFree),
.theme-dark .pay-rail .pay-card.v2 .pay-ghost {
	background: transparent !important;
	color: var(--wc-gold-text) !important;
	border: 1px solid var(--wc-gold) !important;
}
.theme-dark button.buyCart:not(.coursFree):hover,
.theme-dark .pay-rail .pay-card.v2 .pay-ghost:hover { background: rgba(193,176,146,0.12) !important; color: var(--wc-gold-hover) !important; }
/* 장바구니: 선택주문=골드 채움, 전체주문=레드 채움, 선택항목 삭제=골드 테두리 */
.theme-dark .cartList-btn button.bl-bnt { background: var(--wc-price) !important; color: #fff !important; border: 1px solid var(--wc-price) !important; }
.theme-dark .cartList-btn button.bl-bnt:hover { background: #c62828 !important; border-color: #c62828 !important; }
.theme-dark .cartList-btn button.cart-btn-choice,
.theme-dark .cartList-btn button.g-bnt.cart-btn-choice {
	background: var(--wc-gold) !important;
	color: var(--wc-on-gold, #0b0b0b) !important;
	border: 1px solid var(--wc-gold) !important;
}
.theme-dark .cartList-btn button.cart-btn-choice:hover,
.theme-dark .cartList-btn button.g-bnt.cart-btn-choice:hover {
	background: #d4c4a4 !important;
	border-color: #d4c4a4 !important;
	color: #0b0b0b !important;
}
.theme-dark .cartList-btn button.cart-btn-choice img {
	filter: brightness(0) saturate(100%) !important;
}
.theme-dark .cartList-btn button.b-bnt { background: transparent !important; color: var(--wc-gold-text) !important; border: 1px solid var(--wc-gold) !important; }
.theme-dark .cartList-btn button.b-bnt:hover { background: rgba(193,176,146,0.12) !important; }
.theme-dark .cartList-btn button.b-bnt img { filter: brightness(0) saturate(100%) invert(76%) sepia(12%) saturate(520%) hue-rotate(2deg) brightness(92%) !important; }
.theme-dark button.buyCart:not(.coursFree) img { filter: brightness(0) saturate(100%) invert(76%) sepia(12%) saturate(520%) hue-rotate(2deg) brightness(92%) !important; }

/* 골드 배경 위 텍스트는 항상 어둡게 */
.theme-dark .cate-tap li.active,
.theme-dark .cate-tap li.active a,
.theme-dark .cate-tap li a:hover,
.theme-dark .cd-pagination li .current,
.theme-dark .pagination > .active > a,
.theme-dark .pagination > .active > span,
.theme-dark .check-con input:checked ~ .marking { color: var(--wc-on-gold) !important; }
.theme-dark .cate-tap li.active,
.theme-dark .cd-pagination li .current,
.theme-dark .pagination > .active > a,
.theme-dark .pagination > .active > span { background: var(--wc-gold) !important; border-color: var(--wc-gold) !important; }
.theme-dark .cate-tap li { background: transparent !important; border-color: var(--wc-line-2) !important; }
.theme-dark .cate-tap li a { color: var(--wc-text) !important; }
.theme-dark .cate-tap li a:hover { background: var(--wc-gold) !important; }
.theme-dark .check-con input:checked ~ .marking { background-color: var(--wc-gold) !important; }
.theme-dark .check-con .marking:after { border-color: var(--wc-on-gold) !important; }
.theme-dark .marking { background-color: var(--wc-surface-2) !important; border: 1px solid var(--wc-line-2); }

/* 탭(상세/게시판) — border 두께 고정 + inset shadow 로 상단 강조 (PC 한줄) */
.theme-dark .detail-tab {
	border-bottom-color: var(--wc-line) !important;
	overflow: visible !important;
	padding-top: 0 !important;
}
.theme-dark .detail-tab button {
	background: transparent !important;
	color: var(--wc-text-muted) !important;
	border: 1px solid var(--wc-line) !important;
	border-bottom: 0 !important;
	font-weight: 700 !important;
	box-sizing: border-box !important;
	box-shadow: none !important;
}
.theme-dark .detail-tab button.active {
	background: var(--wc-gold) !important;
	color: var(--wc-on-gold) !important;
	border-color: var(--wc-gold) !important;
	border-bottom: 0 !important;
	/* 상단 강조선 — border 두께 변경 없이 표시(잘림/요동 방지) */
	box-shadow: inset 0 3px 0 #5c4f38 !important;
}
/* 터치 기기는 탭한 버튼에 hover 가 남으므로 마우스 환경에서만 */
@media (hover: hover) {
	.theme-dark .detail-tab button:not(.active):hover {
		color: var(--wc-gold-text) !important;
		border-color: var(--wc-gold) !important;
	}
}
/* 모바일: 칩형 버튼 (두줄 그리드용) — PC 탭 스트립 스타일 해제 */
@media (max-width: 767px) {
	.theme-dark .detail-tab {
		border-bottom: 0 !important;
	}
	.theme-dark .detail-tab button,
	.theme-dark .detail-tab button.tablinks {
		background: var(--wc-surface-2) !important;
		color: var(--wc-text-muted) !important;
		border: 1px solid var(--wc-line) !important;
		border-radius: 8px !important;
		font-weight: 600 !important;
		box-shadow: none !important;
	}
	.theme-dark .detail-tab button.active,
	.theme-dark .detail-tab button.tablinks.active {
		background: var(--wc-gold) !important;
		color: var(--wc-on-gold) !important;
		border-color: var(--wc-gold) !important;
		box-shadow: none !important;
	}
}
@media (hover: hover) and (max-width: 767px) {
	.theme-dark .detail-tab button:not(.active):hover {
		color: var(--wc-gold-text) !important;
		border-color: var(--wc-gold) !important;
		background: var(--wc-surface-2) !important;
	}
}

/* ---------- 폼 ---------- */
.theme-dark input[type="text"],
.theme-dark input[type="password"],
.theme-dark input[type="email"],
.theme-dark input[type="tel"],
.theme-dark input[type="number"],
.theme-dark input[type="search"],
.theme-dark input[type="date"],
.theme-dark input:not([type]),
.theme-dark select,
.theme-dark textarea,
.theme-dark .form-control {
	background-color: var(--wc-surface-2) !important;
	color: var(--wc-text) !important;
	border: 1px solid var(--wc-line-2) !important;
}
.theme-dark input:focus,
.theme-dark select:focus,
.theme-dark textarea:focus,
.theme-dark .form-control:focus { border-color: var(--wc-gold) !important; outline: none; box-shadow: 0 0 0 2px rgba(193,176,146,0.18) !important; }
.theme-dark input[readonly],
.theme-dark input:disabled,
.theme-dark select:disabled,
.theme-dark textarea[readonly] { background-color: var(--wc-surface) !important; color: var(--wc-text-muted) !important; }
.theme-dark ::placeholder { color: #6f6f6f !important; }
.theme-dark select option { background: var(--wc-surface-2); color: var(--wc-text); }
.theme-dark input:-webkit-autofill,
.theme-dark input:-webkit-autofill:hover,
.theme-dark input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--wc-text);
	-webkit-box-shadow: 0 0 0 1000px var(--wc-surface-2) inset;
	transition: background-color 9999s ease-in-out 0s;
}
.theme-dark input[type="checkbox"],
.theme-dark input[type="radio"] { accent-color: var(--wc-gold); }

/* 로그인 */
.theme-dark .login-title { color: var(--wc-text-strong) !important; }
.theme-dark button.joinFind { background: transparent !important; color: var(--wc-text-muted) !important; }
.theme-dark button.joinFind:hover { color: var(--wc-gold-text) !important; }
.theme-dark .check-con { color: var(--wc-text-muted); }

/* ---------- 표 / 게시판 ---------- */
.theme-dark table { border-color: var(--wc-line); }
.theme-dark th { color: var(--wc-text-strong); }
.theme-dark td { color: var(--wc-text); }
.theme-dark .table > thead > tr > th,
.theme-dark .table_board_for th,
.theme-dark .table_write tr > th,
.theme-dark .table-th { background: var(--wc-surface) !important; color: var(--wc-text-strong) !important; }
.theme-dark .table > tbody > tr:hover > td,
.theme-dark .table_board_for tr:hover td { background: rgba(255,255,255,0.02); }
/* 글쓰기 표 좌·우 외곽선 (th/td에 border-left 없음) */
.theme-dark .table_write {
	border-left: 1px solid var(--wc-line-2);
	border-right: 1px solid var(--wc-line-2);
}
.theme-dark .bbs-file-row .bbs-file-input {
	padding: 0 10px !important;
	line-height: 33px;
}
.theme-dark .bbs-file-row .bbs-file-input::file-selector-button,
.theme-dark .bbs-file-row .bbs-file-input::-webkit-file-upload-button {
	vertical-align: middle;
	margin-top: 0;
	margin-bottom: 0;
	background: #4a4a4a !important;
	color: #e0e0e0 !important;
}
.theme-dark .bbs-file-clear,
.theme-dark .bbs-file-saved,
.theme-dark .bbs-file-add,
.theme-dark .bbs-file-remove {
	background: var(--wc-surface-2) !important;
	border-color: var(--wc-line-2) !important;
	color: var(--wc-text) !important;
}
.theme-dark .bbs-file-add__label {
	color: #fff;
}
.theme-dark .bbs-file-clear:hover,
.theme-dark .bbs-file-saved:hover,
.theme-dark .bbs-file-add:hover:not(:disabled),
.theme-dark .bbs-file-remove:hover:not(:disabled) {
	border-color: var(--wc-gold) !important;
	color: var(--wc-gold-text) !important;
}
.theme-dark .bbs-file-face {
	background: var(--wc-surface-2) !important;
	border-color: var(--wc-line-2) !important;
}
.theme-dark .bbs-file-face__btn {
	background: #4a4a4a !important;
	color: #e0e0e0 !important;
	font-size: 14px !important;
	font-weight: 400 !important;
}
.theme-dark .bbs-file-face__name {
	color: var(--wc-text) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
}
.theme-dark .bbs-file-row .bbs-file-input {
	font-size: 14px !important;
	font-weight: 400 !important;
}
.theme-dark .bbs-file-clear,
.theme-dark .bbs-file-saved {
	font-size: 14px !important;
	font-weight: 400 !important;
}

@media (max-width: 767px) {
	.theme-dark .table_write.lecture-bbs {
		border-left: 0;
		border-right: 0;
		border-top: 1px solid var(--wc-line-2);
	}
	.theme-dark .table_write.lecture-bbs tr > th,
	.theme-dark .table_write.lecture-bbs tr > th.bbs-wrname,
	.theme-dark .table_write.lecture-bbs tr > th.bbs-wropti,
	.theme-dark .table_write.lecture-bbs tr > th.bbs-wrlect,
	.theme-dark .table_write.lecture-bbs tr > th.bbs-wruser,
	.theme-dark .table_write.lecture-bbs tr > th.bbs-wrpass,
	.theme-dark .table_write.lecture-bbs tr > th.bbs-wrfile,
	.theme-dark .table_write.lecture-bbs tr > th.bbs-wryuot,
	.theme-dark .table_write.lecture-bbs tr > th.bbs-wrcaptcha,
	.theme-dark .table_write.lecture-bbs tr > th.bold {
		display: block !important;
		background: transparent !important;
		color: var(--wc-text-strong) !important;
		border: 0 !important;
	}
	.theme-dark .table_write.lecture-bbs tr > td {
		border: 0 !important;
		border-bottom: 1px solid var(--wc-line) !important;
	}
	.theme-dark .bbs-file-clear,
	.theme-dark .bbs-file-saved {
		position: static;
		transform: none;
	}
}

/* 게시글/상품상세 본문 (에디터 입력 HTML) */
.theme-dark .content_box,
.theme-dark .detail-center,
.theme-dark .tabcontent { color: var(--wc-text); }
.theme-dark .content_box [style*="background-color: rgb(255, 255, 255)"],
.theme-dark .content_box [style*="background-color:#ffffff"],
.theme-dark .content_box [style*="background-color: #ffffff"],
.theme-dark .detail-center [style*="background-color: rgb(255, 255, 255)"] { background-color: transparent !important; }

/* ---------- 별점 (이미지 스프라이트 → ★ 문자, 메인 수강후기 별과 동일 톤) ---------- */
.theme-dark .starImg { width: 84px; height: 16px; vertical-align: middle; }
.theme-dark .starImg span {
	background: none !important;
	width: 84px;
	height: 16px;
	overflow: hidden;
	white-space: nowrap;
	font-size: 16px;
	line-height: 16px;
	letter-spacing: 1px;
	color: #3a3a3a;
}
.theme-dark .starImg span::before { content: "★★★★★"; display: block; width: 84px; }
.theme-dark .starImg span.on { color: #e53935; }

/* ---------- 모달 ---------- */
.theme-dark .modal-content,
.theme-dark .modal-inner-content { background: var(--wc-surface) !important; color: var(--wc-text) !important; border-color: var(--wc-line) !important; }
.theme-dark .modal-header,
.theme-dark .modal-footer { border-color: var(--wc-line) !important; }
.theme-dark .modal-backdrop { background: #000; }
.theme-dark .close { color: var(--wc-text-strong); text-shadow: none; opacity: .7; }

/* ---------- 가격 ---------- */
.theme-dark .price,
.theme-dark .totalMoney,
.theme-dark .salePrice { color: var(--wc-price); }
/* 무료강좌 표기 = 합계금액(0원)과 동일 레드 (base .detailFormBox td .price 청록 덮어쓰기) */
.theme-dark .detailFormBox td .price.free_price,
.theme-dark .detailFormBox td #p_price.free_price {
	color: var(--wc-price) !important;
}
.theme-dark .pay-rail .pay-card.v2 .pay-price .num:not(:has(.won)) {
	color: var(--wc-price) !important;
}

/* ---------- 메인 커뮤니티 배너 / 문의 버튼 ---------- */
.theme-dark .nb-right-banner {
	background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.82)), url(/files/images/m_bg.jpg) !important;
	background-size: cover !important;
	background-position: center !important;
	border: 1px solid var(--wc-line);
}
.theme-dark .nb-b-tag { color: var(--wc-gold-text); }
.theme-dark .nb-q-btn { background: var(--wc-gold) !important; color: var(--wc-on-gold) !important; border-color: var(--wc-gold) !important; }
.theme-dark .nb-q-btn span,
.theme-dark .nb-q-btn i { color: var(--wc-on-gold) !important; }

/* ---------- 푸터 ---------- */
.theme-dark .foot-privit { background: var(--wc-bg) !important; border-top: 1px solid var(--wc-line) !important; border-bottom: 1px solid var(--wc-line) !important; }
.theme-dark .foot-privit li a { color: var(--wc-text-muted) !important; }
.theme-dark .foot-privit li a.privit,
.theme-dark .foot-privit li a:hover { color: var(--wc-gold-text) !important; }
.theme-dark .foot-privit li:after { background: var(--wc-line-2) !important; }
.theme-dark .foot-bottom { background: #070707 !important; }
.theme-dark .foot-bottom-info h1 { color: var(--wc-text-strong) !important; }
.theme-dark .foot-bottom-info li,
.theme-dark .fb-info-copylight,
.theme-dark .foot-bottom .by,
.theme-dark .foot-bottom .by a { color: #b0b0b0 !important; }

/* 모바일 하단 내비 */
.theme-dark #bottomNav {
	background: rgba(11,11,11,0.96) !important;
	border-top: 1px solid var(--wc-line);
	color: var(--wc-gold-text) !important;
}
.theme-dark #bottomNav .menu-icon-wrapper { color: var(--wc-text-muted) !important; }
.theme-dark #bottomNav .svg-icon path { fill: #6f6f6f !important; }
.theme-dark #bottomNav .nav-item.on .menu-icon-wrapper,
.theme-dark #bottomNav .nav-item.active .menu-icon-wrapper { color: var(--wc-gold-text) !important; }
.theme-dark #bottomNav .nav-item.on .svg-icon path,
.theme-dark #bottomNav .nav-item.active .svg-icon path { fill: var(--wc-gold) !important; }

/* TOP 버튼 */
.theme-dark .goTop { background: var(--wc-surface-2) !important; color: var(--wc-gold-text) !important; border: 1px solid var(--wc-line-2) !important; box-shadow: 0 6px 18px rgba(0,0,0,.5) !important; }
.theme-dark .goTop:hover,
.theme-dark .goTop:active { background: var(--wc-gold) !important; color: var(--wc-on-gold) !important; border-color: var(--wc-gold) !important; }

/* ---------- jQuery UI 달력 ---------- */
.theme-dark .ui-datepicker { background: var(--wc-surface) !important; border: 1px solid var(--wc-line) !important; color: var(--wc-text); }
.theme-dark .ui-datepicker .ui-datepicker-header { background: var(--wc-surface-2) !important; border-color: var(--wc-line) !important; color: var(--wc-text-strong); }
.theme-dark .ui-datepicker .ui-state-active { background: var(--wc-gold) !important; color: var(--wc-on-gold) !important; border-color: var(--wc-gold) !important; }

/* ---------- 템플릿 인라인 스타일 보정 ---------- */
.theme-dark [style*="color:#000000"], .theme-dark [style*="color: #000000"],
.theme-dark [style*="color:#000;"], .theme-dark [style*="color: #000;"],
.theme-dark [style*="color:#000\""], .theme-dark [style*="color:black"],
.theme-dark [style*="color: rgb(0, 0, 0)"], .theme-dark [style*="color:rgb(0,0,0)"],
.theme-dark [style*="color:#111"], .theme-dark [style*="color: #111"],
.theme-dark [style*="color:#222"], .theme-dark [style*="color: #222"],
.theme-dark [style*="color:#333"], .theme-dark [style*="color: #333"],
.theme-dark [style*="color:#383838"], .theme-dark [style*="color:#11184f"] { color: #f2f2f2 !important; }
.theme-dark [style*="color:#444"], .theme-dark [style*="color: #444"],
.theme-dark [style*="color:#555"], .theme-dark [style*="color: #555"],
.theme-dark [style*="color:#666"], .theme-dark [style*="color: #666"],
.theme-dark [style*="color: rgb(102, 102, 102)"], .theme-dark [style*="color:rgb(102,102,102)"],
.theme-dark [style*="color:#1f4f7a"] { color: var(--wc-text-muted) !important; }
.theme-dark [style*="color:#777"], .theme-dark [style*="color: #777"],
.theme-dark [style*="color:#888"], .theme-dark [style*="color: #888"] { color: var(--wc-text-muted) !important; }
.theme-dark [style*="background:#fff;"], .theme-dark [style*="background: #fff;"],
.theme-dark [style*="background:#fff\""], .theme-dark [style*="background:#ffffff"],
.theme-dark [style*="background: #ffffff"], .theme-dark [style*="background-color:#ffffff"],
.theme-dark [style*="background-color: #ffffff"], .theme-dark [style*="background-color:#fff;"],
.theme-dark [style*="background-color: rgb(255, 255, 255)"],
.theme-dark [style*="background:#f7f7f7"], .theme-dark [style*="background-color:#f7f7f7"],
.theme-dark [style*="background:#f5f5f5"], .theme-dark [style*="background:#eeeeee"],
.theme-dark [style*="background:#fcfcfc"], .theme-dark [style*="background:#f7eeee"],
.theme-dark [style*="background:#e6f4ff"] { background-color: var(--wc-surface) !important; }
.theme-dark [style*="background-color:#2563eb"] { background-color: var(--wc-gold) !important; color: var(--wc-on-gold) !important; border-color: var(--wc-gold) !important; }
.theme-dark [style*="color:#0066ff"], .theme-dark [style*="color:#3399cc"],
.theme-dark [style*="color:#3399ff"], .theme-dark [style*="color:#3366cc"],
.theme-dark [style*="color:#2e4ab1"] { color: var(--wc-gold-text) !important; }
.theme-dark [style*="color:#336600"], .theme-dark [style*="color:#339900"] { color: #8bc34a !important; }
.theme-dark [style*="color:#330000"], .theme-dark [style*="color:#660000"] { color: var(--wc-price) !important; }

/* 게시판 상세 강좌명: 단과/패키지 라벨 + 제목 흰색 */
.theme-dark .bbs-course-name { color: #f2f2f2 !important; }
.theme-dark .bbs-course-name .bbs-course-title {
	color: #f2f2f2 !important;
	font-weight: 600;
	vertical-align: middle;
}
.theme-dark .bbs-course-name .bbs-course-badge {
	display: none; /* 단과/패키지 라벨 임시 숨김 */
	margin-right: 8px;
	padding: 3px 9px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	vertical-align: middle;
	letter-spacing: -0.02em;
}
.theme-dark .bbs-course-name .bbs-course-badge--1 {
	background: #2f3d2a;
	color: #c5e0a8;
	border: 1px solid #4a6340;
}
.theme-dark .bbs-course-name .bbs-course-badge--2 {
	background: #2a3550;
	color: #b4c8ef;
	border: 1px solid #455a7a;
}
.theme-dark .bbs-course-name .bbs-course-badge--3 {
	background: #3d2c2c;
	color: #e5bdbd;
	border: 1px solid #6a4545;
}
.theme-dark .bbs-course-name .bbs-course-badge--7 {
	background: #2a3550;
	color: #b4c8ef;
	border: 1px solid #455a7a;
}
/* 인라인 강조색 → 클라이언트 팔레트 (빨강 계열 = 레드, 보라/파랑/주황 계열 = 골드) */
.theme-dark [style*="color:#ff0000" i], .theme-dark [style*="color: #ff0000" i],
.theme-dark [style*="color:#f00;" i], .theme-dark [style*="color:red" i],
.theme-dark [style*="color:#d9261b" i], .theme-dark [style*="color:#e50914" i] { color: var(--wc-price) !important; }
.theme-dark [style*="color:#6600cc" i], .theme-dark [style*="color:#6600ff" i],
.theme-dark [style*="color:#6666ff" i], .theme-dark [style*="color:#3300ff" i],
.theme-dark [style*="color:#0000ff" i], .theme-dark [style*="color:#ff00cc" i],
.theme-dark [style*="color:#ff00ff" i], .theme-dark [style*="color:#3f8dc2" i],
.theme-dark [style*="color:#bda300" i], .theme-dark [style*="color:#ff6600" i] { color: var(--wc-gold-text) !important; }
.theme-dark [style*="background:#ff0000" i], .theme-dark [style*="background-color:#ff0000" i] { background-color: var(--wc-price) !important; color: #fff !important; }
.theme-dark [style*="background:#28aab7" i], .theme-dark [style*="background:#ff9900" i] { background-color: var(--wc-gold) !important; color: var(--wc-on-gold) !important; }
/* 카카오 로그인: 노란 바탕 + 검정 글자 (카카오 가이드) */
.theme-dark .kakaologin { color: #000 !important; }
/* 구글 로그인: 흰 바탕 + 어두운 글자 (구글 브랜드 가이드) */
.theme-dark .googlelogin { background-color: #fff !important; color: #1f1f1f !important; border: 1px solid #dadce0 !important; }
.theme-dark .googlelogin:hover { background-color: #f7f8f8 !important; }
.theme-dark font[color="#000000"], .theme-dark font[color="#000"], .theme-dark font[color="black"],
.theme-dark font[color="#333333"], .theme-dark font[color="#333"] { color: #f2f2f2 !important; }

/* ---------- CKEditor 5 (게시판/마이홈 글쓰기) ----------
   ckeditor.js 가 주입하는 !important 색상보다 우선하도록 .theme-dark 로 덮어씀.
   드롭다운/말풍선 패널은 body 직속(.ck-body-wrapper)에 그려지므로 변수는 body 에 지정 */
body.theme-dark {
	--ck-color-base-background: #1b1b1b;
	--ck-color-base-foreground: var(--wc-surface-2);
	--ck-color-base-border: var(--wc-line-2);
	--ck-color-base-text: var(--wc-text);
	--ck-color-base-active: var(--wc-gold);
	--ck-color-base-active-focus: var(--wc-gold-hover);
	--ck-color-text: var(--wc-text);
	--ck-color-shadow-drop: rgba(0,0,0,0.5);
	--ck-color-shadow-inner: rgba(0,0,0,0.3);
	--ck-color-toolbar-background: var(--wc-surface-2);
	--ck-color-toolbar-border: var(--wc-line-2);
	--ck-color-button-default-background: transparent;
	--ck-color-button-default-hover-background: var(--wc-surface-3);
	--ck-color-button-default-active-background: var(--wc-surface-3);
	--ck-color-button-on-background: var(--wc-surface-3);
	--ck-color-button-on-hover-background: #2a2a2a;
	--ck-color-button-on-active-background: #2a2a2a;
	--ck-color-button-on-color: var(--wc-gold);
	--ck-color-button-action-background: var(--wc-gold);
	--ck-color-button-action-hover-background: var(--wc-gold-hover);
	--ck-color-button-action-text: var(--wc-on-gold);
	--ck-color-split-button-hover-background: var(--wc-surface-3);
	--ck-color-split-button-hover-border: var(--wc-line-2);
	--ck-color-dropdown-panel-background: var(--wc-surface-2);
	--ck-color-dropdown-panel-border: var(--wc-line-2);
	--ck-color-panel-background: var(--wc-surface-2);
	--ck-color-panel-border: var(--wc-line-2);
	--ck-color-input-background: #1b1b1b;
	--ck-color-input-border: var(--wc-line-2);
	--ck-color-input-text: var(--wc-text);
	--ck-color-input-disabled-background: var(--wc-surface-3);
	--ck-color-input-disabled-text: var(--wc-text-muted);
	--ck-color-labeled-field-label-background: var(--wc-surface-2);
	--ck-color-list-background: var(--wc-surface-2);
	--ck-color-list-button-hover-background: var(--wc-surface-3);
	--ck-color-list-button-on-background: var(--wc-gold);
	--ck-color-list-button-on-background-focus: var(--wc-gold-hover);
	--ck-color-list-button-on-text: var(--wc-on-gold);
	--ck-color-focus-border: var(--wc-gold);
	--ck-color-focus-outer-shadow: rgba(193,176,146,0.25);
	--ck-color-widget-blurred-border: var(--wc-line-2);
	--ck-color-widget-hover-border: var(--wc-gold);
	--ck-color-widget-editable-focus-background: #1b1b1b;
	--ck-color-link-default: var(--wc-gold-text);
	--ck-color-tooltip-background: #000;
	--ck-color-tooltip-text: #fff;
}
.theme-dark .ck.ck-reset_all,
.theme-dark .ck.ck-reset_all *,
.theme-dark .ck-editor__editable,
.theme-dark .ck-editor__editable.ck-content { color: var(--wc-text) !important; }
.theme-dark .ck.ck-tooltip, .theme-dark .ck.ck-tooltip .ck-tooltip__text { color: #fff !important; }
.theme-dark .ck.ck-editor__main > .ck-editor__editable,
.theme-dark .ck.ck-editor__editable:not(.ck-editor__nested-editable) { background: #1b1b1b !important; }
.theme-dark .ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable) { border-color: var(--wc-gold) !important; box-shadow: none !important; }
/* 글쓰기 에디터 포커스 보더 하단 잘림 방지 */
.theme-dark .table_write.lecture-bbs td:has(.ckeditor5-resizable-wrapper),
.theme-dark .ckeditor5-resizable-wrapper,
.theme-dark .ckeditor5-resizable-wrapper .ck-editor__main { overflow: visible !important; }
.theme-dark .ckeditor5-resizable-wrapper .ck.ck-editor__editable {
	box-sizing: border-box;
	overflow-y: auto;
}
.theme-dark .ck.ck-dropdown__panel .ck-list__item:hover .ck-button,
.theme-dark .ck.ck-dropdown__panel .ck-list__item:hover .ck-button * { background: var(--wc-surface-3) !important; color: var(--wc-text-strong) !important; }
.theme-dark .ck.ck-dropdown__panel .ck-list__item.ck-on .ck-button,
.theme-dark .ck.ck-dropdown__panel .ck-list__item.ck-on .ck-button * { background: var(--wc-gold) !important; color: var(--wc-on-gold) !important; }
.theme-dark .ck-content a { color: var(--wc-gold-text) !important; }
.theme-dark .ck-content table td, .theme-dark .ck-content table th { border-color: var(--wc-line-2) !important; }
.theme-dark .ck-content blockquote { border-left-color: var(--wc-line-2) !important; }
.theme-dark .ck-content hr { background: var(--wc-line-2) !important; }
.theme-dark .ck-placeholder::before, .theme-dark .ck .ck-placeholder::before { color: var(--wc-text-muted) !important; }
.theme-dark .ckeditor5-resize-handle {
	display: none !important;
	pointer-events: none !important;
	visibility: hidden !important;
}
/* 소스 보기(CodeMirror) */
.theme-dark .ck-source-editing-area textarea { background: #1b1b1b !important; color: var(--wc-text) !important; border-color: var(--wc-line-2) !important; }
.theme-dark .ck-editor__main .CodeMirror { background: #1b1b1b; color: var(--wc-text); border-color: var(--wc-line-2); }
.theme-dark .ck-editor__main .CodeMirror-gutters { background: var(--wc-surface-2); border-right-color: var(--wc-line-2); }
.theme-dark .ck-editor__main .CodeMirror-linenumber { color: #666; }
.theme-dark .ck-editor__main .CodeMirror-cursor { border-left-color: var(--wc-text); }
.theme-dark .ck-editor__main .CodeMirror-selected { background: #333 !important; }
.theme-dark .ck-editor__main .cm-tag { color: #e5c07b; }
.theme-dark .ck-editor__main .cm-attribute { color: #98c379; }
.theme-dark .ck-editor__main .cm-string { color: #61afef; }
.theme-dark .ck-editor__main .cm-comment { color: #7f848e; }
.theme-dark .ck-editor__main .cm-bracket { color: #abb2bf; }

/* ---------- 본문만 라이트로 보여주는 페이지 (결제 페이지: cart.html wmod=pay) ----------
   body 에 theme-dark 대신 theme-dark-shell 을 주고, 헤더/푸터만 .wc-dark-scope 로 감싸 다크 유지 */
body.theme-dark-shell { background: var(--wc-bg) !important; }
.wc-dark-scope { background: var(--wc-bg); color: var(--wc-text); }
body.theme-dark-shell #sub-container { background: #fff; }

/* 결제 페이지 흰 본문에서도 시그니처 색 유지 (클라이언트 지정값: 블랙 #0B0B0B / 골드 #C1B092 / 레드 #E53935) */
body.theme-dark-shell #sub-container {
	--sig-black: #0B0B0B;
	--sig-gold: #C1B092;
	--sig-gold-hover: #b09d7c;
	--sig-red: #E53935;
	--sig-red-hover: #c62828;
	accent-color: var(--sig-gold);
}
/* 제목 + 왼쪽 세로 막대 */
body.theme-dark-shell #sub-container .subject-title { color: var(--sig-black) !important; }
body.theme-dark-shell #sub-container .subject-title::before { background-color: var(--sig-gold) !important; }
body.theme-dark-shell #sub-container .carttitle { margin: 25px 0 8px; padding: 0 0 0 10px; border-left: 4px solid var(--sig-gold); line-height: 1.2; color: var(--sig-black); }
/* 선 */
body.theme-dark-shell #sub-container .table_board_for th { border-top: 2px solid var(--sig-gold) !important; color: var(--sig-black); }
body.theme-dark-shell #sub-container table.totalprice { border-top: 2px solid var(--sig-gold); }
/* 결제수단 선택 */
body.theme-dark-shell #sub-container .pay_mode .check-con:hover { border-color: var(--sig-gold); background: #faf8f4; }
body.theme-dark-shell #sub-container .pay_mode .check-con:has(input:checked) { background: var(--sig-gold); color: var(--sig-black); border-color: var(--sig-gold); font-weight: 600; }
/* 체크박스/라디오 */
body.theme-dark-shell #sub-container .check-con input:checked ~ .marking { background-color: var(--sig-gold) !important; }
body.theme-dark-shell #sub-container .check-con .marking:after { border-color: var(--sig-black) !important; }
/* 입력칸 포커스 */
body.theme-dark-shell #sub-container .form-control:focus { border-color: var(--sig-gold) !important; box-shadow: 0 0 0 2px rgba(193,176,146,0.25) !important; outline: none; }
/* 쿠폰함·주소검색 단추: 골드 테두리 */
body.theme-dark-shell #sub-container .couponBtn,
body.theme-dark-shell #sub-container .address-find { background: #fff !important; color: var(--sig-black) !important; border: 1px solid var(--sig-gold) !important; }
body.theme-dark-shell #sub-container .couponBtn:hover,
body.theme-dark-shell #sub-container .address-find:hover { background: var(--sig-gold) !important; color: var(--sig-black) !important; }
/* 쿠폰 모달 닫기 */
body.theme-dark-shell #sub-container .login-close { background: var(--sig-gold) !important; color: var(--sig-black) !important; }
body.theme-dark-shell #sub-container .login-close:hover { background: var(--sig-gold-hover) !important; }
/* 가격 글자 */
body.theme-dark-shell #sub-container .red { color: var(--sig-red) !important; }
body.theme-dark-shell #sub-container .goods_money li:first-child { color: var(--sig-red); font-weight: 600; }
/* 결제하기(일반/토스) = 레드, 취소 = 블랙 */
body.theme-dark-shell #sub-container #paySubmitBtn,
body.theme-dark-shell #sub-container #payment-button { background: var(--sig-red) !important; color: #fff !important; }
body.theme-dark-shell #sub-container #paySubmitBtn:hover,
body.theme-dark-shell #sub-container #payment-button:hover { background: var(--sig-red-hover) !important; }
body.theme-dark-shell #sub-container button.large.r-bnt { background: var(--sig-black) !important; color: #fff !important; }
body.theme-dark-shell #sub-container button.large.r-bnt:hover { background: #2A2A2A !important; }
/* 링크 */
body.theme-dark-shell #sub-container .option_list a:hover { color: var(--sig-gold-hover); }
/* 인라인 강조색: 빨강 = 레드, 옵션 문구(보라/파랑) = 흰 바탕에서 읽히는 진한 골드 */
body.theme-dark-shell #sub-container [style*="color:#ff0000" i],
body.theme-dark-shell #sub-container [style*="color:#e50914" i] { color: var(--sig-red) !important; }
body.theme-dark-shell #sub-container [style*="color:#6600ff" i],
body.theme-dark-shell #sub-container [style*="color:#3366cc" i] { color: #8c7a5b !important; }

/* ---------- 토스 결제위젯 (awsToss/widget.do, widget_gigan.do) ----------
   위젯은 토스 도메인 iframe 이라 다크 적용 불가 → 감싸는 영역을 흰색 카드로 처리 */
.theme-dark #tossWidget {
	background: #fff !important;
	color: #333;
	border-radius: 8px;
	margin-top: 20px;
	padding: 8px 0;
	overflow: hidden;
}

/* ---------- 스크롤바 ---------- */
.theme-dark ::-webkit-scrollbar { width: 10px; height: 10px; }
.theme-dark ::-webkit-scrollbar-track { background: var(--wc-bg); }
.theme-dark ::-webkit-scrollbar-thumb { background: #2f2f2f; border-radius: 6px; border: 2px solid var(--wc-bg); }
.theme-dark ::-webkit-scrollbar-thumb:hover { background: #4a4a4a; }

/* ---------- 후기 별점 ---------- */
.theme-dark .star-bg { color: #3a3a3a; }
.theme-dark .star-fill { color: #e53935; }
.theme-dark .section_pass_bg .review-card--modern .review-footer { padding-top: 14px; border-top: 1px solid #333333; }

/* ---------- 강좌상세 상단 후기 카드 (약한 회색, 인컴엑셀 크기) ---------- */
.theme-dark .classDetailTopReview-swiper-wrap .review-card,
.theme-dark .classDetailTopReview .review-card {
	background: #3a3a3a;
	border: none;
	border-top: 3px solid #555555;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
@media (max-width: 767px) {
	.theme-dark .classDetailTopReview-swiper-wrap .review-card,
	.theme-dark .classDetailTopReview .review-card {
		border-top: 0 !important;
		box-shadow: inset 0 3px 0 #555555, 0 2px 8px rgba(0, 0, 0, 0.25);
	}
	.theme-dark .classDetailTopReview-swiper-wrap .review-footer {
		background: #3a3a3a;
	}
}
.theme-dark .wc-star-popup__box {
	background: #3a3a3a;
	border: 1px solid #555555;
	box-shadow: 0 12px 40px rgba(0,0,0,0.55);
}
.theme-dark .wc-star-popup__close { color: #9a9a9a; }
.theme-dark .wc-star-popup__title { color: #f2f2f2; }
.theme-dark .wc-star-popup__star { color: #6a6a6a; }
.theme-dark .wc-star-popup__star.is-on { color: #e53935; }
.theme-dark .wc-star-popup__count { color: #b0b0b0; }
.theme-dark .wc-star-popup__confirm { background: #e53935; color: #fff; }
.theme-dark .classDetailTopReview-swiper-wrap .review-card:hover,
.theme-dark .classDetailTopReview .review-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.theme-dark .classDetailTopReview-swiper-wrap .review-card h3,
.theme-dark .classDetailTopReview .review-card h3 {
	color: #f2f2f2;
}
.theme-dark .classDetailTopReview-swiper-wrap .review-card p,
.theme-dark .classDetailTopReview .review-card p {
	color: #b8b8b8;
}
.theme-dark .classDetailTopReview-swiper-wrap .review-user-name,
.theme-dark .classDetailTopReview .review-user-name {
	color: #e0e0e0;
}
.theme-dark .classDetailTopReview-nav .cdtr-btn {
	background: rgba(40, 40, 40, 0.95);
	color: #f2f2f2;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.theme-dark .classDetailTopReview-nav .cdtr-btn:hover {
	background: #555;
	color: #fff;
}
.theme-dark .classDetailTopReview-nav .cdtr-btn__icon {
	border-top-color: #cfcfcf;
	border-right-color: #cfcfcf;
}

/* ---------- 후기/메인강좌 슬라이드 화살표 (동일 스타일) ---------- */
.theme-dark .section_pass_bg .review-swiper-nav__btn,
.theme-dark .section-new-subject .wc-course-nav .review-swiper-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: #1b1b1b;
	border: 1px solid var(--wc-gold);
	border-radius: 50%;
	box-shadow: none;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease;
}
.theme-dark .section_pass_bg .review-swiper-nav__icon,
.theme-dark .section-new-subject .wc-course-nav .review-swiper-nav__icon {
	display: block;
	width: 7px;
	height: 7px;
	border-top: 2px solid var(--wc-gold);
	border-right: 2px solid var(--wc-gold);
	transition: border-color .2s ease;
}
.theme-dark .section_pass_bg .review-swiper-nav__btn--prev .review-swiper-nav__icon,
.theme-dark .section-new-subject .wc-course-nav .review-swiper-nav__btn--prev .review-swiper-nav__icon {
	transform: rotate(-135deg);
	margin-left: 3px;
}
.theme-dark .section_pass_bg .review-swiper-nav__btn--next .review-swiper-nav__icon,
.theme-dark .section-new-subject .wc-course-nav .review-swiper-nav__btn--next .review-swiper-nav__icon {
	transform: rotate(45deg);
	margin-right: 3px;
}
.theme-dark .section_pass_bg .review-swiper-nav__btn:hover,
.theme-dark .section-new-subject .wc-course-nav .review-swiper-nav__btn:hover {
	background: var(--wc-gold);
	border-color: var(--wc-gold);
	box-shadow: none;
}
.theme-dark .section_pass_bg .review-swiper-nav__btn:hover .review-swiper-nav__icon,
.theme-dark .section-new-subject .wc-course-nav .review-swiper-nav__btn:hover .review-swiper-nav__icon {
	border-color: #0b0b0b;
}

/* ---------- 게시판 페이징 (.cd-pagination) ---------- */
.theme-dark .cd-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; overflow: visible; }
.theme-dark .cd-pagination li,
.theme-dark .cd-pagination li.button { float: none; margin: 0; line-height: 1; background: transparent !important; }
.theme-dark .cd-pagination li a,
.theme-dark .cd-pagination li.button a,
.theme-dark .cd-pagination li .current {
	display: flex; align-items: center; justify-content: center;
	width: auto; min-width: 40px; height: 40px; padding: 0 10px; box-sizing: border-box;
	background: #222222 !important;
	border: 1px solid #444444 !important;
	border-radius: 999px;
	color: #e6e6e6 !important;
	font-size: 15px; font-weight: 600; line-height: 1;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.theme-dark .cd-pagination li.button + li:not(.button),
.theme-dark .cd-pagination li:not(.button) + li.button { margin-left: 12px; }
.theme-dark .cd-pagination li a b { font-weight: 800; }
.theme-dark .cd-pagination li a img { width: 18px; height: 18px; filter: brightness(1.7); }
.theme-dark .cd-pagination li a:hover,
.theme-dark .cd-pagination li.button a:hover {
	background: #2d2a24 !important;
	border-color: var(--wc-gold) !important;
	color: var(--wc-gold) !important;
	transform: translateY(-1px);
}
.theme-dark .cd-pagination li a.current,
.theme-dark .cd-pagination li a.current:hover {
	background: var(--wc-gold) !important;
	border-color: var(--wc-gold) !important;
	color: var(--wc-on-gold) !important;
	box-shadow: 0 0 0 3px rgba(193,176,146,.22);
	transform: none;
	cursor: default;
}
.theme-dark .cd-pagination li.button a.disabled,
.theme-dark .cd-pagination li.button a.disabled:hover {
	background: #161616 !important;
	border-color: #2a2a2a !important;
	opacity: .45;
	transform: none;
	cursor: default;
}
@media (max-width: 480px) {
	.theme-dark .cd-pagination { gap: 4px; }
	.theme-dark .cd-pagination li a,
	.theme-dark .cd-pagination li.button a,
	.theme-dark .cd-pagination li .current { min-width: 34px; height: 34px; padding: 0 8px; font-size: 14px; }
}

/* 수강중인강의 (/web/21) */
.theme-dark .lecturestudy > li,
.theme-dark .lecturestudy > li.finishstudy {
	background: #1b1b1b;
	border-color: #777777;
}
.theme-dark .pack-list-wrap .pack-item-row {
	border-top-color: #444;
	color: #e8e8e8;
}
.theme-dark .pack-list-wrap .pack-item-title {
	color: #e8e8e8;
}
.theme-dark .pack-list-wrap .pack-item-title .txt-gray {
	color: #9a9a9a;
}
.theme-dark .pack-list-wrap .lec-review-write-btn,
.theme-dark .pack-list-wrap .pack-item-review-btn {
	color: #fff !important;
	background: #4a8f89;
	border: 1px solid #4a8f89;
}
.theme-dark .pack-list-wrap .lec-review-write-btn:hover,
.theme-dark .pack-list-wrap .pack-item-review-btn:hover {
	color: #fff !important;
	background: #3d7a75;
	border-color: #3d7a75;
}
/* PC: 세련된 아웃라인 버튼 / 모바일: 기존 채움 버튼 */
@media (min-width: 481px) {
	.theme-dark .mylec-side .lec-list-open-btn,
	.theme-dark .mylec-side button.listOpen,
	.theme-dark button.listOpen.lec-list-open-btn,
	.theme-dark button.listOpen.lec-list-open-btn.active {
		height: 34px;
		line-height: 34px;
		padding: 0 14px;
		font-size: 13px;
		font-weight: 600;
		letter-spacing: -0.02em;
		color: #e8dcc4;
		background: transparent;
		border: 1px solid rgba(193, 176, 146, .55);
		border-radius: 6px;
		box-shadow: none;
		transition: background .2s ease, color .2s ease, border-color .2s ease;
	}
	.theme-dark .mylec-side .lec-review-write-btn {
		height: 34px;
		line-height: 34px;
		padding: 0 14px;
		font-size: 13px;
		font-weight: 600;
		letter-spacing: -0.02em;
		color: #fff;
		background: #4a8f89;
		border: 1px solid #4a8f89;
		border-radius: 6px;
		box-shadow: none;
		transition: background .2s ease, color .2s ease, border-color .2s ease;
	}
	.theme-dark .mylec-side .lec-list-open-btn:hover,
	.theme-dark .mylec-side button.listOpen:hover,
	.theme-dark button.listOpen.lec-list-open-btn:hover {
		color: #0b0b0b;
		background: #c1b092;
		border-color: #c1b092;
	}
	.theme-dark .mylec-side .pack_list_open,
	.theme-dark .mylec-side button.listOpen.pack_list_open {
		color: #0b0b0b;
		background: #4b7e92;
		border: 1px solid #4b7e92;
	}
	.theme-dark .mylec-side .pack_list_open:hover,
	.theme-dark .mylec-side button.listOpen.pack_list_open:hover {
		color: #0b0b0b;
		background: #3f6b7c;
		border-color: #3f6b7c;
	}
	.theme-dark .mylec-side .pack_list_open.active,
	.theme-dark .mylec-side button.listOpen.pack_list_open.active {
		color: #0b0b0b;
		background: #355a69;
		border-color: #355a69;
	}
	.theme-dark .mylec-side .lec-review-write-btn:hover {
		color: #fff;
		background: #3d7a75;
		border-color: #3d7a75;
	}
}
@media (max-width: 480px) {
	.theme-dark .mylec-side .lec-list-open-btn,
	.theme-dark .mylec-side button.listOpen,
	.theme-dark button.listOpen.lec-list-open-btn,
	.theme-dark button.listOpen.lec-list-open-btn.active {
		height: 42px;
		line-height: 42px;
		padding: 0;
		font-size: 15px;
		font-weight: 500;
		letter-spacing: 0;
		color: #e8dcc4;
		background: transparent;
		border: 1px solid rgba(193, 176, 146, .55);
		border-radius: 5px;
		width: 100%;
	}
	.theme-dark .mylec-side .lec-review-write-btn {
		height: 42px;
		line-height: 42px;
		padding: 0;
		font-size: 15px;
		font-weight: 500;
		letter-spacing: 0;
		color: #fff;
		background: #4a8f89;
		border: 0;
		border-radius: 5px;
	}
	.theme-dark .mylec-side .pack_list_open,
	.theme-dark .mylec-side button.listOpen.pack_list_open {
		color: #0b0b0b;
		background: #4b7e92;
		border: 1px solid #4b7e92;
	}
	.theme-dark .mylec-side .pack_list_open:hover,
	.theme-dark .mylec-side button.listOpen.pack_list_open:hover {
		color: #0b0b0b;
		background: #3f6b7c;
		border-color: #3f6b7c;
	}
	.theme-dark .mylec-side .pack_list_open.active,
	.theme-dark .mylec-side button.listOpen.pack_list_open.active {
		color: #0b0b0b;
		background: #355a69;
		border-color: #355a69;
	}
	.theme-dark .lectureTxt span.list_tit::before {background-color: #666;}
}
.theme-dark #lec-list td.data img { filter: brightness(0) invert(1); }
.theme-dark .pause_open .pause-btn {
	color: #e8dcc4;
	background: rgba(193, 176, 146, .14);
	border: 1px solid #c1b092;
	border-radius: 6px;
	font-weight: 600;
	transition: background .2s ease, color .2s ease;
}
.theme-dark .pause_open .pause-btn:hover { color: #0b0b0b; background: #c1b092; }

/* 결제상태 텍스트 (webPayState 인라인 색상) */
.theme-dark span[style*="color: #656565"] { color: #e3d3b2 !important; }
.theme-dark span[style*="color: #336600"] { color: #8fd17a !important; }
.theme-dark span[style*="color: #336699"] { color: #7fb3e0 !important; }

/* 메인 비주얼 배너 하단 구분선 */
.theme-dark .bx-wrapper:has(> .bx-viewport > .bannerWrap) { border-bottom: 1px solid #2e2e2e !important; }

/* 모바일 메인 성과리뷰: 구 배너용 .swiper-slide::before 오버레이 제거 */
@media (max-width: 768px) {
  .main-hero-review .swiper-slide::before { content: none !important; display: none !important; }
}

/* ---------- 성과리뷰 게시판 모바일 카드형 목록 ----------
   iframe 폭은 PC에서도 768 미만일 수 있어, 미디어쿼리 대신 부모 화면 기준 html.bbs-m 사용 */
html.bbs-m body.theme-dark .contable.board_sugang { padding: 0 !important; margin: 0 0 8px !important; }
html.bbs-m body.theme-dark .contable.board_sugang .table-title { display: none !important; }
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; border-top: 2px solid var(--wc-line-2); }
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .section-box { margin: 0; padding: 0; }
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .section-box .ul-1 {
  display: flex !important; flex-wrap: wrap; align-items: center;
  width: 100%; box-sizing: border-box; padding: 16px 4px 14px;
  background: transparent !important;
  border: 0 !important; border-bottom: 1px solid var(--wc-line) !important; border-radius: 0;
  transition: background .2s ease;
}
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .section-box .ul-1:has(.bbsSubject:active),
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .section-box .ul-1:has(.bbsSubject:hover) { background: #141414 !important; }
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .section-box .ul-1 > li {
  display: block !important; width: auto !important; max-width: none !important; min-height: 0; padding: 0 !important;
  border: 0 !important; background: none !important; line-height: 1.4; text-align: left;
  font-size: 13px; color: var(--wc-text-muted); letter-spacing: -0.2px;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .ul-1 > li:nth-child(1) {
  order: 2; margin-left: auto; width: auto !important; min-width: 0 !important; max-width: none !important;
  padding: 0 !important; text-align: right !important; font-size: 12px; color: #7a7a7a; white-space: nowrap !important;
}
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .ul-1 > li:nth-child(1)::before { content: none; }
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .ul-1 > li.starpnt { order: 1; display: flex !important; align-items: center; }
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .ul-1 > li.starpnt .starImg { margin: 0; }
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .ul-1 > li.bbsSubject {
  order: 3; flex: 0 0 100%; max-width: none !important; margin: 10px 0 12px; padding-bottom: 12px !important;
  border-bottom: 1px solid #1d1d1d !important; cursor: pointer;
  white-space: normal !important; overflow: hidden;
}
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .ul-1 > li.bbsSubject .subject,
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .ul-1 > li.bbsSubject .subject span {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--wc-text) !important; letter-spacing: -0.3px; word-break: keep-all;
  white-space: normal;
}
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .ul-1 > li.bbsName { order: 4; display: flex !important; align-items: center; max-width: 60% !important; color: #d6d6d6; font-weight: 500; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; }
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .ul-1 > li.bbsName .max480 { display: none !important; }
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .ul-1 > li.bbsDate {
  order: 5; display: inline-flex !important; align-items: center; gap: 4px; white-space: nowrap !important;
}
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .ul-1 > li.bbsDate::before { content: "·"; margin: 0 6px 0 0; color: #555; }
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .ul-1 > li:last-child { order: 6; margin-left: auto; font-size: 12px; color: #8a8a8a; }
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist .ul-1 > li:last-child::before { content: "조회 "; }
html.bbs-m body.theme-dark .contable.board_sugang .table-textlist section:last-child ul.ul-1 { border-bottom: 1px solid var(--wc-line) !important; }
/* 모바일: 잠금=날짜 오른쪽, 첨부아이콘 숨김 / PC: 제목옆 잠금만 */
.bbs-lock-m { display: none; }
html.bbs-m body.theme-dark .contable.board_sugang .bbs-lock-pc,
html.bbs-m body.theme-dark .contable.board_qna .bbs-lock-pc { display: none !important; }
html.bbs-m body.theme-dark .contable.board_sugang .bbs-lock-m,
html.bbs-m body.theme-dark .contable.board_qna .bbs-lock-m { display: inline-flex !important; align-items: center; margin-left: 2px; }
html.bbs-m body.theme-dark .contable.board_sugang .bbs-lock-m .lockIcon,
html.bbs-m body.theme-dark .contable.board_qna .bbs-lock-m .lockIcon { margin-left: 0 !important; vertical-align: middle; }
html.bbs-m body.theme-dark .contable.board_sugang .bbs-file-icon,
html.bbs-m body.theme-dark .contable.board_qna .bbs-file-icon { display: none !important; }

/* ---------- 1:1 문의(qna) 게시판 모바일 카드형 목록 (성과리뷰와 동일 패턴) ---------- */
html.bbs-m body.theme-dark .contable.board_qna { padding: 0 !important; margin: 0 0 8px !important; }
html.bbs-m body.theme-dark .contable.board_qna .table-title { display: none !important; }
html.bbs-m body.theme-dark .contable.board_qna .table-textlist { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; border-top: 2px solid var(--wc-line-2); }
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .section-box { margin: 0; padding: 0; }
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .section-box .ul-1 {
  display: flex !important; flex-wrap: wrap; align-items: center;
  width: 100%; box-sizing: border-box; padding: 16px 4px 14px;
  background: transparent !important;
  border: 0 !important; border-bottom: 1px solid var(--wc-line) !important; border-radius: 0;
  transition: background .2s ease;
}
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .section-box:active .ul-1,
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .section-box:hover .ul-1 { background: #141414 !important; }
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .section-box .ul-1 > li {
  display: block !important; width: auto !important; max-width: none !important; min-width: 0 !important; min-height: 0; padding: 0 !important;
  border: 0 !important; background: none !important; line-height: 1.4; text-align: left;
  font-size: 13px; color: var(--wc-text-muted); letter-spacing: -0.2px;
  white-space: normal; overflow: visible; text-overflow: unset;
}
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsStatus {
  order: 1; display: flex !important; align-items: center;
}
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsStatus .repl-1,
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsStatus .repl-2,
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsStatus .repl-3 {
  pointer-events: none; width: auto; min-width: 64px; height: 26px; padding: 0 10px;
  font-size: 12px; line-height: 26px; border-radius: 999px;
}
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsNo {
  order: 2; margin-left: auto; width: auto !important; min-width: 0 !important; max-width: none !important;
  padding: 0 !important; text-align: right !important; font-size: 12px; color: #7a7a7a; white-space: nowrap !important;
}
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsNo::before { content: none; }
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsSubject {
  order: 3; flex: 0 0 100%; max-width: none !important; margin: 10px 0 12px; padding-bottom: 12px !important;
  border-bottom: 1px solid #1d1d1d !important;
  display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 6px;
  white-space: normal !important; overflow: hidden;
}
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsSubject .subject,
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsSubject .subject span {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  flex: 1 1 100%; min-width: 0;
  font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--wc-text) !important; letter-spacing: -0.3px;
  word-break: break-word; overflow-wrap: anywhere; white-space: normal;
}
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsSubject img,
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsSubject .cateName {
  flex: 0 0 auto; vertical-align: middle; margin: 0;
}
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsName {
  order: 4; display: flex !important; align-items: center; max-width: 48% !important;
  color: #d6d6d6; font-weight: 500; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis;
}
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsName .max480 { display: none !important; }
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsDate {
  order: 5; display: inline-flex !important; align-items: center; gap: 4px; white-space: nowrap !important;
}
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsDate::before {
  content: "·"; margin: 0 6px 0 0; color: #555;
}
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsHit {
  order: 6; margin-left: auto; font-size: 12px; color: #8a8a8a; white-space: nowrap !important;
}
html.bbs-m body.theme-dark .contable.board_qna .table-textlist .ul-1 > li.bbsHit::before { content: "조회 "; }
html.bbs-m body.theme-dark .contable.board_qna .table-textlist section:last-child ul.ul-1 { border-bottom: 1px solid var(--wc-line) !important; }

@media (max-width: 767px) {
  .theme-dark .sub-body .boardSearch {
    display: flex; align-items: stretch; gap: 6px;
    width: 100%; max-width: 100%; box-sizing: border-box;
    margin: 18px 0 0; padding: 0; overflow: visible;
  }
  .theme-dark .sub-body .boardSearch select.form-control.board {
    flex: 0 0 70px; width: 70px !important; min-width: 0 !important; max-width: 70px !important;
    height: 44px; margin: 0; padding: 0 4px; border-radius: 10px; box-sizing: border-box;
  }
  .theme-dark .sub-body .boardSearch input.board_search {
    flex: 1 1 0; width: auto !important; min-width: 0 !important;
    height: 44px; margin: 0; padding-left: 10px; padding-right: 10px;
    border-radius: 10px; box-sizing: border-box;
  }
  .theme-dark .sub-body .boardSearch .btn_bbs_search,
  .theme-dark .sub-body .boardSearch button {
    flex: 0 0 auto; width: auto !important; min-width: 58px; max-width: none;
    height: 44px; margin: 0; padding: 0 14px;
    border-radius: 10px; box-sizing: border-box;
    white-space: nowrap; font-size: 14px; line-height: 44px;
  }
}

/* ---------- 성과리뷰 상세 모바일 표 ---------- */
@media (max-width: 767px) {
  .theme-dark .detail_sugang { border-top: 2px solid var(--wc-line-2) !important; }
  .theme-dark .detail_sugang > .dtable {
    display: flex !important; flex-wrap: wrap; width: 100%;
    border-bottom: 1px solid var(--wc-line) !important;
  }
  .theme-dark .detail_sugang > .dtable > .table-th,
  .theme-dark .detail_sugang > .dtable > .table-td {
    float: none !important; display: flex !important; align-items: center;
    box-sizing: border-box; height: auto !important; min-height: 52px; margin: 0;
    padding: 12px 14px !important; border: 0 !important; border-radius: 0 !important;
    line-height: 1.5;
  }
  .theme-dark .detail_sugang > .dtable > .table-th {
    flex: 0 0 30%; width: 30% !important;
    background: #1f1f1f !important; border-right: 1px solid var(--wc-line) !important;
    font-size: 14px; font-weight: 600; color: var(--wc-text);
  }
  .theme-dark .detail_sugang > .dtable > .table-td {
    flex: 1 1 70%; width: 70% !important;
    background: #151515 !important; font-size: 15px; color: #e6e6e6;
  }
  .theme-dark .detail_sugang > .dtable.col2 > :nth-child(n+3) { border-top: 1px solid var(--wc-line) !important; }
  .theme-dark .detail_sugang > .dtable > .table-td:only-child {
    display: block !important; flex: 0 0 100%; width: 100% !important; min-height: 0;
    padding: 20px 16px !important; background: transparent !important;
  }
  .theme-dark .detail_sugang > .dtable > .table-td .starWrap { display: flex; align-items: center; }
  .theme-dark .detail_sugang > .dtable > .table-td .starImg { margin: 0; }
  .theme-dark .detail_sugang > .dtable > .table-td > a { color: var(--wc-text); }
}

/* ---------- 답변글 원문 질문 참조(메일 회신형) ---------- */
.theme-dark .bbs-reply-quote {
	margin-top: 28px;
	padding: 14px 16px 16px;
	border-left: 3px solid var(--wc-gold);
	background: rgba(255, 255, 255, 0.04);
	border-radius: 0 8px 8px 0;
	color: #b8b8b8;
}
.theme-dark .bbs-reply-quote__head {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--wc-gold-text);
}
.theme-dark .bbs-reply-quote__meta {
	margin: 0 0 12px;
	font-size: 12px;
	line-height: 1.7;
	color: #9a9a9a;
}
.theme-dark .bbs-reply-quote__meta strong {
	color: #cfcfcf;
	font-weight: 600;
	margin-right: 4px;
}
.theme-dark .bbs-reply-quote__body {
	font-size: 13px;
	line-height: 1.7;
	color: #a8a8a8;
	word-break: break-word;
}
.theme-dark .bbs-reply-quote__body p { margin: 0 0 0.6em; }
.theme-dark .bbs-reply-quote__body p:last-child { margin-bottom: 0; }

/* ---------- 게시판 글보기 하단 버튼 (본문·댓글 사이 상하 중앙) ---------- */
.theme-dark .bbs-read-actions { display: flex; align-items: center; gap: 12px; clear: both; margin: 20px 0; }
.theme-dark .bbs-read-actions + div[style*="clear"] { height: 0; margin: 0; padding: 0; line-height: 0; }
.theme-dark .bbs-read-actions ~ .commnet_title { margin-top: 0; }
.theme-dark .bbs-read-actions ~ form .table_comment.comment_header,
.theme-dark .bbs-read-actions ~ .table_comment.comment_header { margin-top: 0; }
.theme-dark .bbs-read-actions > .bbslist {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  float: none !important; width: auto !important; padding: 0 !important; text-align: left !important;
}
.theme-dark .bbs-read-actions > .btn_right { margin-left: auto; }
.theme-dark .bbs-read-actions .bbs-normalbtn {
  height: 40px; min-width: 64px; margin: 0; padding: 0 16px; box-sizing: border-box;
  border-radius: 8px !important; font-size: 14px; font-weight: 600; line-height: 38px; letter-spacing: -0.2px;
}
.theme-dark .bbs-read-actions .bbs-normalbtn:not(.bbs-act--list):not(.bbs-act--del) { background: transparent !important; color: var(--wc-gold-text) !important; border-color: var(--wc-gold) !important; }
.theme-dark .bbs-read-actions .bbs-normalbtn:not(.bbs-act--list):not(.bbs-act--del):hover { background: rgba(193,176,146,.12) !important; }
.theme-dark .bbs-read-actions .bbs-normalbtn.bbs-act--list {
  min-width: 88px; background: var(--wc-gold) !important; border-color: var(--wc-gold) !important; color: var(--wc-on-gold) !important;
}
.theme-dark .bbs-read-actions .bbs-normalbtn.bbs-act--list:hover { background: var(--wc-gold-hover) !important; border-color: var(--wc-gold-hover) !important; color: var(--wc-on-gold) !important; }
.theme-dark .bbs-read-actions .bbs-normalbtn.bbs-act--del { order: 3; color: #e57373 !important; border-color: rgba(229,115,115,.55) !important; }
.theme-dark .bbs-read-actions .bbs-normalbtn.bbs-act--del:hover { background: rgba(229,57,53,.12) !important; color: #ef9a9a !important; }
@media (max-width: 767px) {
  .theme-dark .bbs-read-actions { margin: 16px 0; gap: 8px; }
  .theme-dark .bbs-read-actions .bbs-normalbtn { height: 38px; min-width: 56px; padding: 0 14px; line-height: 36px; font-size: 13px; }
  .theme-dark .bbs-read-actions .bbs-normalbtn.bbs-act--list { min-width: 76px; }
}
.theme-dark .table_comment.comment_header textarea[name="comment"],
.theme-dark .table_comment.comment_header textarea.bbs-comment-input {
	font-size: 14px !important;
	color: var(--wc-text) !important;
	background: var(--wc-surface-2) !important;
	border-color: var(--wc-line-2) !important;
}
.theme-dark .table_comment.comment_header .commSbm {
	height: 38px !important;
	font-size: 14px;
}
.theme-dark .comment_list .comment-meta__user {
	color: var(--wc-gold-text) !important;
}
.theme-dark .comment_list .comment-meta__time {
	color: var(--wc-text-muted) !important;
}
.theme-dark .comment_list .comment-meta__time .clock-icon {
	opacity: 0.9;
}
.theme-dark .comment_list .comment-body {
	color: var(--wc-text) !important;
}
.theme-dark .comment_list .comment-meta__actions .comment-btn.b-bnt,
.theme-dark .comment_list .comment-meta__actions .comment-btn.bl-bnt {
	background: var(--wc-gold) !important;
	color: var(--wc-on-gold) !important;
}
.theme-dark .comment_list .comment-meta__actions .comment-btn.b-bnt span,
.theme-dark .comment_list .comment-meta__actions .comment-btn.bl-bnt span {
	color: var(--wc-on-gold) !important;
}
.theme-dark .comment_list .comment-meta__actions .comment-btn.rp-bnt {
	background: #555 !important;
	color: #fff !important;
}
.theme-dark .comment_list .comment-meta__actions .comment-btn.rp-bnt span {
	color: #fff !important;
}
.theme-dark .comment_list .comment-more-btn {
	color: #fff !important;
}
.theme-dark .comment_list .comment-more-btn:active,
.theme-dark .comment_list .comment-meta__actions.is-open .comment-more-btn {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #fff !important;
}
@media (max-width: 767px) {
	.theme-dark .comment_list .comment-more-panel {
		background: #1c1c1c !important;
		border-color: #333 !important;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
	}
}

/* ---------- 모바일 사이드메뉴 환영문구: 줄바꿈 시 버튼과 겹치지 않게 ---------- */
.m-login > div { height: auto !important; min-height: 40px; padding-bottom: 6px !important; word-break: keep-all; }

/* ---------- 모바일 사이드메뉴: 스크롤바 숨김(스크롤은 유지) ---------- */
.sidenav { scrollbar-width: none; -ms-overflow-style: none; }
.sidenav::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ---------- 모바일 헤더 로고: 우측 메뉴 아이콘과 세로 중심 맞춤 ---------- */
@media screen and (max-width: 834px) {
  #header .max768.toggle .top-logo-m { margin-top: 14px; }
}

/* ---------- 모바일 사이드메뉴 로그인 영역: 두 번째 버튼은 골드 라인 ---------- */
.theme-dark .m-login > button:nth-of-type(2) {
  background: transparent !important; color: var(--wc-gold-text) !important;
  box-shadow: inset 0 0 0 1px var(--wc-gold);
}
.theme-dark .m-login > button:nth-of-type(2) img {
  filter: brightness(0) saturate(100%) invert(78%) sepia(13%) saturate(560%) hue-rotate(2deg) brightness(92%) contrast(88%);
}

/* ---------- 강좌 목록(web/158 등): 3열 강제 (base.css 시간캐시 우회) ---------- */
.theme-dark .listBox > ul.course_1 {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 40px 20px !important;
	width: 100% !important;
	box-sizing: border-box !important;
}
.theme-dark .listBox > ul.course_1 > li {
	flex: 0 0 calc((100% - 40px) / 3) !important;
	width: calc((100% - 40px) / 3) !important;
	max-width: calc((100% - 40px) / 3) !important;
	min-width: 0 !important;
	margin: 0 !important;
	float: none !important;
	box-sizing: border-box !important;
}
.theme-dark .listBox > ul.course_1 > li .ns-ss-all {
	width: 100% !important;
	box-sizing: border-box !important;
}
@media (max-width: 768px) {
	.theme-dark .listBox > ul.course_1 {
		gap: 20px !important;
	}
	.theme-dark .listBox > ul.course_1 > li {
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 520px !important;
	}
}

/* ---------- 메인 강좌 슬라이드: 하단 이전/다음 ---------- */
.theme-dark .section-new-subject .courseWrap {
	position: relative;
}
.theme-dark .section-new-subject .wc-course-nav.review-swiper-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	position: relative;
	z-index: 2;
}
.theme-dark .section-new-subject .bx-wrapper .bx-pager {
	display: none !important;
}
@media (max-width: 768px) {
	.theme-dark .section-new-subject .wc-course-nav { display: none; }
}

/* ---------- 나의강의실: 수강중 / 찜한 클래스 ---------- */
.theme-dark .wc-my-section {
	margin: 0 0 68px;
}
.theme-dark .wc-my-section:last-of-type,
.theme-dark .wc-my-section--wish {
	margin-bottom: 0;
}
.theme-dark .wc-my-section__title {
	margin: 0 0 14px;
	font-size: 22px;
	font-weight: 700;
	color: #f2f2f2;
	letter-spacing: -0.03em;
	line-height: 1.3;
}
.theme-dark .wc-my-section__desc {
	margin: -6px 0 18px;
	font-size: 14px;
	color: #9a9a9a;
	letter-spacing: -0.02em;
}
.theme-dark .wc-my-section--wish {
	opacity: 0;
	transition: opacity .55s ease;
	pointer-events: none;
}
.theme-dark .wc-my-section--wish.is-revealed {
	opacity: 1;
	pointer-events: auto;
}
.theme-dark .wc-my-section--wish.is-tab-mode {
	display: none !important;
}
.theme-dark .myClassTab .wc-my-wish-tab {
	display: none;
}
@media (prefers-reduced-motion: reduce) {
	.theme-dark .wc-my-section--wish {
		opacity: 1;
		transition: none;
		pointer-events: auto;
	}
}
@media (max-width: 768px) {
	.theme-dark .wc-my-section--wish {
		display: none !important;
	}
	.theme-dark .wc-my-section--study {
		margin-bottom: 0;
	}
	.theme-dark .myClassTab {
		display: flex;
		width: 100%;
		box-sizing: border-box;
		float: none;
	}
	.theme-dark .myClassTab .wc-my-wish-tab {
		display: block;
	}
	.theme-dark .myClassTab a {
		float: none;
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		margin-left: 0 !important;
		box-sizing: border-box;
		padding: 10px 4px;
		font-size: 13px;
	}
	.theme-dark .myClassTab a + a {
		margin-left: 4px !important;
	}
	/* 찜한 강좌: listBox flex가 빈 상태/카드 폭을 줄어들게 함 → 전체 너비 강제 */
	.theme-dark .wc-my-wish-list-wrap.listBox {
		display: block;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		gap: 0;
	}
	.theme-dark .wc-my-wish-list-wrap .wc-wish-empty {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.theme-dark .wc-my-wish-list-wrap .course_1 {
		display: block;
		margin: 0;
		padding: 0;
		list-style: none;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.theme-dark .wc-my-wish-list-wrap .course_1 > li {
		float: none;
		width: 100% !important;
		max-width: 100% !important;
		flex: none !important;
		margin: 0 0 16px;
		box-sizing: border-box;
	}
	.theme-dark .wc-my-wish-list-wrap .course_1 > li .ns-ss-all {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.theme-dark .wc-my-wish-list-wrap .wc-wish-item.is-removing {
		opacity: 0;
		transform: scale(.98);
		pointer-events: none;
		transition: opacity .2s ease, transform .2s ease;
	}
}
.theme-dark .wc-wish-slider-wrap {
	position: relative;
	overflow: visible;
}
.theme-dark .wc-wish-box { width: 100%; position: relative; overflow: visible; }
.theme-dark .wc-wish-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.theme-dark .wc-wish-list > .wc-wish-item {
	flex: 0 0 calc((100% - 48px) / 4);
	width: calc((100% - 48px) / 4);
	max-width: calc((100% - 48px) / 4);
	min-width: 0;
	margin: 0;
	box-sizing: border-box;
}
/* bxSlider: 가로 슬라이드 고정 */
.theme-dark .wc-wish-list.course_wishSlider,
.theme-dark .wc-wish-slider-wrap .bx-wrapper .wc-wish-list {
	display: block !important;
	flex-wrap: nowrap;
	gap: 0;
}
.theme-dark .wc-wish-slider-wrap .bx-viewport {
	/* 양끝 카드 좌·우 보더가 viewport에 잘리지 않도록 */
	overflow: hidden !important;
	padding-left: 2px !important;
	padding-right: 2px !important;
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	box-sizing: border-box !important;
}
.theme-dark .wc-wish-slider-wrap .bx-wrapper .wc-wish-list > .wc-wish-item {
	float: left;
	flex: none;
	min-width: 0;
	max-width: none;
	box-sizing: border-box;
}
.theme-dark .wc-wish-card {
	display: block;
	overflow: hidden;
	border-radius: 14px;
	background: #1f1f1f;
	border: 1px solid #2e2e2e;
	box-sizing: border-box;
	transition: border-color .2s ease;
}
.theme-dark .wc-wish-card:hover,
.theme-dark .wc-wish-card:focus-within {
	border-color: #c1b092;
}
.theme-dark .wc-wish-card__thumb {
	display: block;
	position: relative;
	overflow: hidden;
	border-radius: 0;
	background: #151515;
	aspect-ratio: 16 / 9;
	text-decoration: none !important;
}
.theme-dark .wc-wish-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
}
.theme-dark .wc-wish-card__body {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px 12px;
	color: inherit;
}
.theme-dark .wc-wish-card__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 1 auto;
	min-width: 0;
	text-decoration: none !important;
	color: inherit;
}
.theme-dark .wc-wish-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: 0;
	min-height: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.03em;
	color: #f2f2f2;
}
.theme-dark .wc-wish-card__price {
	display: block;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: #f2f2f2;
}
.theme-dark .wc-wish-card__body .wc-wish-btn--card {
	position: relative;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	min-width: 34px;
	height: 34px !important;
	padding: 0;
	margin: 0 0 0 auto;
	border: 0 !important;
	border-radius: 50%;
	background: transparent !important;
	cursor: pointer;
	align-self: flex-end;
}
.theme-dark .wc-wish-card__body .wc-wish-btn--card .wc-wish-btn__label {
	display: none !important;
}
.theme-dark .wc-wish-card__body .wc-wish-btn--card svg {
	width: 22px;
	height: 22px;
	fill: #ff2d55;
	stroke: #ff2d55;
	stroke-width: 1.8;
}
.theme-dark .wc-wish-card__body .wc-wish-btn--card:not(.is-on) svg {
	fill: transparent;
	stroke: #9a9a9a;
}
.theme-dark .wc-wish-card__body .wc-wish-btn--card:hover {
	background: rgba(255,255,255,.08) !important;
}
.theme-dark .wc-wish-slider-wrap .bx-wrapper {
	margin: 0 auto;
	max-width: 100% !important;
	position: relative;
	overflow: visible;
	box-shadow: none;
	border: 0;
	background: transparent;
}
.theme-dark .wc-wish-slider-wrap .bx-controls-direction--wish {
	display: block;
}
.theme-dark .wc-wish-slider-wrap .bx-controls-direction--wish .bx-prev,
.theme-dark .wc-wish-slider-wrap .bx-controls-direction--wish .bx-next {
	position: absolute;
	top: 50%;
	z-index: 5;
	width: 32px;
	height: 32px;
	margin-top: 0;
	transform: translateY(-50%);
	border-radius: 50%;
	border: 1px solid #d0d0d0;
	background-color: #f2f2f2;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 16px 24px;
	box-shadow: 0 2px 8px rgba(0,0,0,.35);
	opacity: .4;
	text-indent: -9999px;
	overflow: hidden;
	transition: opacity .2s ease;
}
/* 1100px 콘텐츠(카드) 양끝보다 바깥 */
.theme-dark .wc-wish-slider-wrap .bx-controls-direction--wish .bx-prev {
	left: -56px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
}
.theme-dark .wc-wish-slider-wrap .bx-controls-direction--wish .bx-next {
	right: -56px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}
.theme-dark .wc-wish-slider-wrap .bx-controls-direction--wish .bx-prev:hover,
.theme-dark .wc-wish-slider-wrap .bx-controls-direction--wish .bx-next:hover {
	background-color: #ffffff;
	border-color: #ffffff;
	opacity: 1;
}
.theme-dark .wc-wish-slider-wrap .bx-controls-direction--wish .bx-prev.disabled,
.theme-dark .wc-wish-slider-wrap .bx-controls-direction--wish .bx-next.disabled {
	display: none !important;
	pointer-events: none !important;
	opacity: 0 !important;
}
.theme-dark .wc-wish-item {
	transition: opacity .2s ease, transform .2s ease;
}
.theme-dark .wc-wish-item.is-removing {
	opacity: 0;
	transform: scale(.96);
	pointer-events: none;
}
@media (max-width: 1220px) {
	.theme-dark .wc-wish-slider-wrap .bx-controls-direction--wish .bx-prev { left: -28px; }
	.theme-dark .wc-wish-slider-wrap .bx-controls-direction--wish .bx-next { right: -28px; }
}
@media (max-width: 1100px) {
	.theme-dark .wc-wish-slider-wrap .bx-controls-direction--wish .bx-prev { left: 0; }
	.theme-dark .wc-wish-slider-wrap .bx-controls-direction--wish .bx-next { right: 0; }
}
.theme-dark .wc-wish-empty {
	padding: 36px 20px;
	border: 1px solid #2a2a2a;
	border-radius: 12px;
	background: #1b1b1b;
	text-align: center;
}
.theme-dark .wc-wish-empty p {
	margin: 0;
	color: #b8b8b8;
	font-size: 14px;
}
/* 무료클래스(/web/175)만 안내하던 버튼 — 노출 중단 */
.theme-dark .wc-wish-empty__link {
	display: none !important;
}
@media (max-width: 1100px) {
	.theme-dark .wc-wish-list > .wc-wish-item {
		flex-basis: calc((100% - 32px) / 3);
		width: calc((100% - 32px) / 3);
		max-width: calc((100% - 32px) / 3);
	}
}
@media (max-width: 767px) {
	.theme-dark .wc-my-section { margin-bottom: 56px; }
	.theme-dark .wc-my-section:last-of-type,
	.theme-dark .wc-my-section--wish { margin-bottom: 0; }
	.theme-dark .wc-my-section__title { font-size: 19px; }
	.theme-dark .wc-wish-list,
	.theme-dark .wc-wish-list.course_wishSlider,
	.theme-dark .wc-wish-list.is-stacked {
		display: flex !important;
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 14px;
		float: none !important;
		width: 100% !important;
		transform: none !important;
	}
	.theme-dark .wc-wish-list > .wc-wish-item,
	.theme-dark .wc-wish-list.course_wishSlider > .wc-wish-item,
	.theme-dark .wc-wish-list.is-stacked > .wc-wish-item {
		float: none !important;
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	.theme-dark .wc-wish-card {
		display: grid;
		grid-template-columns: 132px 1fr;
		gap: 12px;
		align-items: stretch;
		padding: 10px;
	}
	.theme-dark .wc-wish-card__thumb {
		aspect-ratio: 16 / 9;
		align-self: center;
		border-radius: 8px;
	}
	.theme-dark .wc-wish-card__body {
		padding: 2px 2px 2px 0;
		min-height: 100%;
	}
	.theme-dark .wc-wish-card__title { min-height: 0; font-size: 13px; }
}

/* ---------- 메인 강좌 카드: 별점·리뷰수 / 찜 ---------- */
.ns-ss-all .wc-card-meta {
  clear: both; display: flex; align-items: center; justify-content: space-between;
  margin: 0; padding: 10px 15px 12px;
  border-top: 1px solid var(--wc-line);
  /* 카드 본문과 아주 약간만 다른 하단 구간 배경 */
  background: rgba(255, 255, 255, 0.035);
}
.theme-dark .section-new-subject .ns-ss-all .wc-card-meta {
  background: rgba(0, 0, 0, 0.18);
}
.theme-dark .listBox > ul.course_1 > li .ns-ss-all .wc-card-meta {
  background: rgba(255, 255, 255, 0.04);
}
.ns-ss-all .wc-card-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; line-height: 1; color: var(--wc-text-muted); }
.ns-ss-all .wc-card-rating__star { color: #f5b301; font-size: 15px; }
.ns-ss-all .wc-card-rating b { font-weight: 700; color: var(--wc-text); }
.ns-ss-all .wc-card-rating__cnt { color: #8a8a8a; font-size: 13px; }
.ns-ss-all .wc-card-rating.is-empty .wc-card-rating__star { color: #4a4a4a; }
.ns-ss-all .wc-card-rating.is-empty b { color: #8a8a8a; font-weight: 600; }
.ns-ss-all .wc-wish-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; min-width: 34px; height: 34px !important;
  padding: 0; margin: -4px -6px -4px 0;
  background: transparent !important; border: 0 !important; border-radius: 50%; cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
  overflow: visible;
  opacity: 1 !important;
}
.ns-ss-all .wc-wish-btn__label {
  position: absolute;
  right: calc(100% + 2px);
  top: 50%;
  transform: translateY(-50%);
  display: block;
  max-width: 0;
  padding: 0;
  margin: 0;
  opacity: 1;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ff2d55;
  line-height: 1;
  text-align: right;
  pointer-events: none;
  transition: max-width .22s ease;
}
.ns-ss-all .wc-wish-btn svg {
  position: relative;
  z-index: 1;
  width: 22px; height: 22px; flex-shrink: 0;
  fill: transparent; stroke: #9a9a9a; stroke-width: 1.8;
  opacity: 1 !important;
  transition: fill .15s ease, stroke .15s ease;
}
.ns-ss-all .wc-wish-btn:hover,
.ns-ss-all .wc-wish-btn:hover svg,
.ns-ss-all .wc-wish-btn:hover .wc-wish-btn__label {
  opacity: 1 !important;
}
.ns-ss-all .wc-wish-btn:hover { background: rgba(255,255,255,.08) !important; }
.ns-ss-all .wc-wish-btn:hover .wc-wish-btn__label {
  max-width: 3.5em;
}
.ns-ss-all .wc-wish-btn:hover svg { fill: #ff2d55; stroke: #ff2d55; }
.ns-ss-all .wc-wish-btn:active { transform: scale(.94); }
.ns-ss-all .wc-wish-btn.is-on svg { fill: #ff2d55; stroke: #ff2d55; }
@media (hover: none) {
  .ns-ss-all .wc-wish-btn:hover .wc-wish-btn__label { max-width: 0; }
  .ns-ss-all .wc-wish-btn:hover svg { fill: transparent; stroke: #9a9a9a; }
  .ns-ss-all .wc-wish-btn.is-on:hover svg { fill: #ff2d55; stroke: #ff2d55; }
}

/* 찜하기 완료/취소 토스트 — PC·모바일 동일 위치 (상단 중앙), 결제바보다 위 */
.wc-wish-toast {
  position: fixed;
  z-index: 100100;
  top: 28px;
  left: 50%;
  right: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  max-width: calc(100vw - 24px);
  padding: 12px 18px;
  border-radius: 999px;
  background: #f4f4f4;
  border: 1px solid #e0e0e0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}
.wc-wish-toast.is-show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .28s ease, transform .28s ease, visibility 0s;
}
.wc-wish-toast.is-hiding {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 18px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.wc-wish-toast__text::before {
  content: "♥";
  display: inline-block;
  margin-right: 6px;
  color: #e53935;
  font-size: 12px;
}
.wc-wish-toast.is-cancel .wc-wish-toast__text::before {
  content: "♡";
  color: #888;
}
.bs-source-subjcet:has(.wc-card-meta) { height: 396px; }
@media (max-width: 768px) {
  .bs-source-subjcet:has(.wc-card-meta) { height: auto; padding-bottom: 16px; }
}

/* ---------- 강좌상세 추천 탭 (메인 카드와 동일 형태, 2열) ---------- */
.detail-rec-list {
	padding: 0 0 24px;
	width: 100%;
	margin: 0;
	box-sizing: border-box;
}
.detail-rec-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	column-gap: 12px;
	row-gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	box-sizing: border-box;
}
.detail-rec-grid > li {
	flex: 0 0 calc(50% - 6px);
	max-width: calc(50% - 6px);
	width: calc(50% - 6px);
	margin: 0;
	float: none;
	box-sizing: border-box;
}
/* 커진 화면: 좌/사이/우 여백을 평균값(22px)으로 통일 */
@media screen and (min-width: 841px) {
	.detail-rec-grid {
		padding: 0 22px;
		column-gap: 22px;
		row-gap: 22px;
	}
	.detail-rec-grid > li {
		flex: 0 0 calc((100% - 22px) / 2);
		max-width: calc((100% - 22px) / 2);
		width: calc((100% - 22px) / 2);
	}
}
/* 메인 contents.css 의 3열 강제 규칙 무력화 → 카드가 칸 전체 사용 */
.detail-rec-grid .bs-source-subjcet {
	display: block !important;
	height: auto;
	padding-bottom: 0;
	width: 100%;
}
.detail-rec-grid .bs-source-subjcet > .ns-ss-all {
	flex: none !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	height: 100%;
	border: 1px solid var(--wc-line, rgba(255,255,255,.12));
	border-radius: 10px;
	overflow: hidden;
	background: var(--wc-surface, #2a2a2a);
	box-sizing: border-box;
}
.detail-rec-grid .bs-ss-text h1 {
	font-size: 16px;
	line-height: 1.45;
	color: #f2f2f2;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.detail-rec-grid .bs-ss-text2:after {
	content: "";
	display: block;
	clear: both;
}
.detail-rec-grid .main_lec_stit { color: #cfcfcf; font-size: 13px; margin-right: 5px; }
.detail-rec-grid .main_date,
.detail-rec-grid .main_teacher { color: #9a9a9a; font-size: 14px; }
.detail-rec-grid .main_price { color: #e53935 !important; }
@media (max-width: 768px) {
	.detail-rec-grid {
		column-gap: 0;
		row-gap: 14px;
	}
	.detail-rec-grid > li {
		flex: 0 0 100%;
		max-width: 100%;
		width: 100%;
	}
}

/* ---------- 푸터 약관 링크: 모바일에서 3개 한 줄 ---------- */
@media screen and (max-width: 480px) {
  .foot-privit li { width: auto; }
}

/* ---------- 주문내역 목록 ---------- */
.theme-dark .myOrder td { background: rgba(255,255,255,0.04); }
.theme-dark .myOrder tr:hover td { background: rgba(255,255,255,0.07); }
.theme-dark .myOrder .pay-method--8 span { color: #ff5a5a !important; }
.theme-dark .myOrder .myOrder-empty-row:hover td,
.theme-dark .myOrder .myOrder-empty-row td {
	background: transparent !important;
	padding: 0;
	border-bottom: 0;
}
.theme-dark .wc-order-empty {
	margin: 12px 0 8px;
	padding: 36px 20px;
	border: 1px solid #2a2a2a;
	border-radius: 12px;
	background: #1b1b1b;
	text-align: center;
	color: #b8b8b8;
	font-size: 14px;
	letter-spacing: -0.02em;
}

/* cache-bust 20261111184029 */

/* ========== kimzongyool 스타일 메인 (다크 보정) ========== */
.theme-dark .main-title-text.title-recommend { color: #ffffff !important; }
.theme-dark .main-title-text.title-recommend .title-recommend-accent { color: #1ea7c6 !important; }
.theme-dark .title-recommend-sub { color: #b8b8b8 !important; }
.theme-dark .title-recommend-tag {
	background: #181818 !important;
	border-color: #3a3a3a !important;
	color: #f2f2f2 !important;
}
.theme-dark .title-recommend-tag.is-active {
	border-color: #1ea7c6 !important;
	color: #1ea7c6 !important;
	background: #101010 !important;
}
.theme-dark .section_pass_bg {
	background: linear-gradient(180deg, #141414 0%, #0b0b0b 100%) !important;
}
.theme-dark .section_pass_bg .main-title-text { color: #ffffff !important; }
.theme-dark .section_pass_bg .main-subtitle-text { color: #b8b8b8 !important; }
.theme-dark .section_pass_bg .pass-more-link { color: #1ea7c6 !important; }
.theme-dark .section_pass_bg .review-card--modern {
	background: #181818 !important;
	border-color: #2a2a2a !important;
	box-shadow: none !important;
	color: #f2f2f2 !important;
}
.theme-dark .books-slide-title { color: #ffffff !important; }
.theme-dark .books-card {
	background: #181818 !important;
	border-color: #2a2a2a !important;
	color: #f2f2f2 !important;
}
.theme-dark .books-name { color: #ffffff !important; }
.theme-dark .books-desc { color: #b8b8b8 !important; }
.theme-dark .board_box,
.theme-dark .guide_info {
	background: #181818 !important;
	border-color: #2a2a2a !important;
}
.theme-dark .b-title { color: #ffffff !important; }
.theme-dark .custom_box {
	border-color: #2a2a2a !important;
	box-shadow: none !important;
}
.theme-dark .custom_box .cb-inquiry,
.theme-dark .custom_box .cb-video {
	background: #181818 !important;
}
.theme-dark .custom_box .cb-title-dark { color: #f2f2f2 !important; }
.theme-dark .custom_box .cb-desc-dark { color: #b8b8b8 !important; }
.theme-dark .custom_box .cb-item { border-color: #2a2a2a !important; }
.theme-dark .section_bg.mbtm80 .main-title-text { color: #ffffff !important; }
