/* =========================================================
   먹튀유(MTGAL) 리뉴얼 스타일시트 v2
   - 화이트 카드 + 블루 포인트의 깔끔한 커뮤니티 디자인
   - 테마 색상(Red 등)과 무관하게 블루로 강제 통일
   - 모든 폰트 사이즈 상향
   ========================================================= */

:root {
	--mg-blue: #3d8bff;
	--mg-blue-dark: #2a6fe8;
	--mg-blue-bg: #eef5ff;
	--mg-green: #2fb877;
	--mg-orange: #ff9f2e;
	--mg-red: #ff5a5a;
	--mg-gold: #f5b02e;
	--mg-dark: #3b4353;
	--mg-bg: #f4f6fa;
	--mg-border: #e8edf4;
	--mg-text: #333a45;
	--mg-sub: #6b7382;
	--mg-radius: 14px;
	--mg-shadow: 0 2px 10px rgba(30, 60, 110, .06);
}

/* =========================================================
   0. 테마 색상 강제 통일 (Red.css 등 색상 테마 덮어쓰기)
   ========================================================= */
.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled,
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.page-item.active .page-link,
.show > .btn-outline-primary.dropdown-toggle,
.custom-control-input:checked ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
	background-color: var(--mg-blue) !important;
	border-color: var(--mg-blue) !important;
}
hr.hr::after,
.dropdown-item.active,
.dropdown-item:active,
.bg-primary {
	background-color: var(--mg-blue) !important;
}
.border-primary { border-color: var(--mg-blue) !important; }
.text-primary,
.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
	color: var(--mg-blue) !important;
}
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:hover {
	background-color: var(--mg-blue-dark) !important;
	border-color: var(--mg-blue-dark) !important;
}
.btn-outline-primary {
	color: var(--mg-blue) !important;
	border-color: var(--mg-blue) !important;
}
.btn-outline-primary:hover { color: #fff !important; }
a.bg-primary:hover,
a.bg-primary:focus,
button.bg-primary:hover,
button.bg-primary:focus {
	background-color: var(--mg-blue-dark) !important;
}
a { color: var(--mg-text); }
a:hover { color: var(--mg-blue); text-decoration: none; }

/* =========================================================
   1. 기본 (배경/폰트 크기 상향)
   ========================================================= */
html { font-size: 15px !important; }
body {
	background: var(--mg-bg) !important;
	color: var(--mg-text);
	/* 시스템 폰트 스택 : 웹폰트 다운로드 없이 기기 내장 한글 폰트 사용 (성능 최적화) */
	font-family: 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', -apple-system, sans-serif !important;
	font-size: 15px !important;
	letter-spacing: -.02em;
	line-height: 1.75;
}
/* 폰트 CSS 미로드에 따른 크기 클래스 보완 */
.f-lg { font-size: 17px !important; }
.f-mo { font-size: 16px !important; }

/* FontAwesome font-display 최적화 (아이콘 폰트 로딩 지연 시 렌더 차단 방지) */
@font-face {
	font-family: 'FontAwesome';
	src: url('../../../js/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),
	     url('../../../js/font-awesome/fonts/fontawesome-webfont.woff?v=4.7.0') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
.f-de { font-size: 14.5px !important; }
.f-sm { font-size: 13.5px !important; }
.f-md { font-size: 15.5px !important; }
.f-xs { font-size: 12.5px !important; }

/* 사이드/본문 컬럼 폭 통일 (메인의 26.6% 커스텀 → 서브페이지와 동일한 25%) */
@media (min-width: 768px) {
	#row-area-side { -ms-flex: 0 0 25% !important; flex: 0 0 25% !important; max-width: 25% !important; }
	#row-area-content { -ms-flex: 0 0 75% !important; flex: 0 0 75% !important; max-width: 75% !important; }
}
@media (max-width: 767px) {
	#row-area-side, #row-area-content { -ms-flex: 0 0 100% !important; flex: 0 0 100% !important; max-width: 100% !important; }
}

/* 게시판 리스트/제목 폰트 상향 */
.na-subject { font-size: 15px !important; }
#bo_list td, .na-table td { font-size: 14.5px; }
#bo_v_title { font-size: 22px !important; font-weight: 700; }
#bo_v_con { font-size: 16px !important; }
.page-title { font-size: 21px !important; font-weight: 700; }

/* =========================================================
   2. 헤더 / 메뉴
   ========================================================= */
#nt_header { background: #fff; }
#nt_lnb {
	background: #fff !important;
	border-bottom: none !important;
	font-size: 13.5px !important;
}
#nt_lnb a { color: var(--mg-sub); }
#nt_lnb a:hover { color: var(--mg-blue); }
#nt_lnb .btn_nt_lnb_01 {
	border: 1px solid var(--mg-border) !important;
	background: #fff !important;
	color: var(--mg-text) !important;
	border-radius: 8px !important;
	font-size: 13px !important;
	font-weight: 500;
	padding: 4px 14px !important;
}
#nt_lnb .btn_nt_lnb_01:hover {
	border-color: var(--mg-blue) !important;
	color: var(--mg-blue) !important;
}
#nt_lnb .btn_register {
	background: var(--mg-blue) !important;
	border: 1px solid var(--mg-blue) !important;
	color: #fff !important;
	border-radius: 8px !important;
	font-size: 13px !important;
	font-weight: 700;
	padding: 4px 14px !important;
}
#nt_lnb .btn_register:hover { background: var(--mg-blue-dark) !important; }
#nt_lnb .header-search .form-control {
	border-radius: 8px;
	font-size: 13.5px;
	border: 1px solid var(--mg-border);
}

/* LNB 정렬 : 좌측 텍스트 · 우측 검색/버튼 수직 중앙 통일 */
#nt_lnb .nt-container {
	display: flex !important;
	align-items: center;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	min-height: 56px;
}
#nt_lnb .nt-container > ul.float-left,
#nt_lnb .nt-container > ul.float-right {
	float: none !important;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
}
#nt_lnb .nt-container > ul.float-right { margin-left: auto; gap: 8px; }
#nt_lnb .nt-container > ul.float-left li,
#nt_lnb .nt-container > ul.float-right li {
	display: flex;
	align-items: center;
	margin: 0;
}
#nt_lnb .nt-container > ul.float-left li { margin-right: 6px; }
#nt_lnb .header-search-wrap { margin-right: 4px; }
#nt_lnb .header-search form { margin: 0; }
#nt_lnb .header-search .input-group { flex-wrap: nowrap; }
#nt_lnb .header-search .form-control { height: 38px; width: 220px; }
#nt_lnb .header-search .btn { height: 38px; display: flex; align-items: center; }
#nt_lnb .btn_nt_lnb_01,
#nt_lnb .btn_register {
	height: 38px;
	display: flex !important;
	align-items: center;
	white-space: nowrap;
}

#nt_menu {
	background: #fff !important;
	border-bottom: none !important;
	box-shadow: none !important;
}
#nt_menu .me-a {
	font-size: 16.5px !important;
	font-weight: 700 !important;
	color: var(--mg-text) !important;
	height: 62px !important;
	line-height: 62px !important;
}
#nt_menu .me-icon, #nt_menu .me-icon:hover { box-shadow: none !important; }

/* 메뉴 활성/호버 : 알약(pill) 하이라이트 방식 */
#nt_menu .me-list .me-li > a { text-align: center; }
#nt_menu .me-list .me-a {
	display: inline-block !important;
	position: relative;
	height: 38px !important;
	line-height: 38px !important;
	padding: 0 20px !important;
	margin: 12px 0;
	border-radius: 30px;
	transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
#nt_menu .me-list .me-li:hover > a .me-a {
	background: var(--mg-blue-bg);
	color: var(--mg-blue) !important;
}
#nt_menu .me-list .me-li.on > a .me-a {
	background: linear-gradient(135deg, #5ea2ff, var(--mg-blue-dark));
	color: #fff !important;
	box-shadow: 0 4px 10px rgba(61, 139, 255, .35);
}

/* 메뉴 호버 삼각형 제거 */
.nt-menu .sub-1div-triangle { display: none !important; }

/* 드롭다운 하위메뉴 : 빨간 박스 → 화이트 카드 */
.nt-menu .sub-1div {
	background: #fff !important;
	border: 1px solid var(--mg-border) !important;
	border-radius: 12px !important;
	box-shadow: 0 10px 24px rgba(30, 60, 110, .12) !important;
	overflow: hidden;
	padding: 6px !important;
	margin-top: -6px;
}
.nt-menu .sub-1da {
	background: #fff !important;
	color: var(--mg-text) !important;
	font-size: 14.5px !important;
	font-weight: 600 !important;
	border-radius: 8px !important;
	padding: 10px 18px !important;
	text-align: center;
}
.nt-menu .sub-1dli:hover .sub-1da,
.nt-menu .sub-1dli.on .sub-1da {
	background: var(--mg-blue-bg) !important;
	color: var(--mg-blue) !important;
}
#nt_menu .sub-2div {
	border: 1px solid var(--mg-border) !important;
	border-radius: 12px !important;
	box-shadow: 0 10px 24px rgba(30, 60, 110, .12) !important;
}
#nt_menu .sub-2da { border-bottom: none !important; border-radius: 8px; }
#nt_menu .sub-2dli.on .sub-2da,
#nt_menu .sub-2dli:hover .sub-2da {
	background: var(--mg-blue-bg) !important;
	color: var(--mg-blue) !important;
}

/* 햄버거 아이콘: 62px 바 정중앙 정렬 */
#nt_menu .me-icon a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	margin-top: 0 !important;
	width: 40px !important;
	height: 62px !important;
	line-height: 1 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: var(--mg-text) !important;
}
#nt_menu .me-icon a:hover { color: var(--mg-blue) !important; }
#nt_title { background: #fff; border-bottom: none; }

/* 테마 CSS의 빨간색(#DB3232) 하드코딩 제거 */
#nt_body { border-bottom: none !important; background: var(--mg-bg) !important; }
.nt-menu .sub-1div-triangle { border-bottom-color: var(--mg-blue) !important; }
#nt_menu_mobile { background-color: var(--mg-blue) !important; }
.hd-top-bar { background: var(--mg-blue) !important; }
.wg_head_event { background-color: var(--mg-blue) !important; }
.input-group > .input-group-append > .btn { background: var(--mg-blue) !important; }

/* =========================================================
   3. 메인 상단 배너
   ========================================================= */
.mg-main-banner {
	display: block;
	margin-bottom: 22px;
	border-radius: var(--mg-radius);
	overflow: hidden;
	box-shadow: var(--mg-shadow);
	text-decoration: none;
}
.mg-main-banner img { width: 100%; display: block; }
.mg-main-banner-default {
	background: linear-gradient(120deg, #2a6fe8 0%, #5ea2ff 60%, #7cc4ff 100%);
	color: #fff;
	padding: 36px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.mg-main-banner-default strong {
	font-size: 28px;
	font-weight: 800;
	display: block;
	margin-bottom: 8px;
	line-height: 1.35;
	color: #fff;
}
.mg-main-banner-default span { font-size: 16px; opacity: .92; }
.mg-main-banner-default .fa { font-size: 74px; opacity: .3; }

/* 배너 이미지 버전 : 이미지 위 텍스트 오버레이 (배너 왼쪽 여백에 출력) */
.mg-main-banner-img {
	position: relative;
	background-size: cover;
	background-position: right center;
	display: flex;
	align-items: center;
	min-height: 210px;
	padding: 36px 40px;
}
.mg-main-banner-img::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .35) 55%, rgba(255, 255, 255, 0) 100%);
}
.mg-main-banner-img > div { position: relative; }
.mg-main-banner-img strong {
	font-size: 28px;
	font-weight: 800;
	display: block;
	margin-bottom: 8px;
	line-height: 1.35;
	color: #23406e;
}
.mg-main-banner-img span { font-size: 16px; color: #4a6291; }
@media (max-width: 767px) {
	.mg-main-banner-img {
		min-height: 150px;
		padding: 22px 20px;
		background-position: right -60px center;
	}
	.mg-main-banner-img::before {
		background: linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .55) 70%, rgba(255, 255, 255, .2) 100%);
	}
	.mg-main-banner-img strong { font-size: 19px; }
	.mg-main-banner-img span { font-size: 13.5px; }
}

/* 텔레그램 배너 : 하단 알약 위 텍스트 오버레이 */
.mg-tg-banner { position: relative; display: block; }
.mg-tg-banner img { width: 100%; display: block; }
.mg-tg-banner span {
	position: absolute;
	left: 50%; bottom: 9%;
	transform: translateX(-50%);
	width: 86%;
	text-align: center;
	font-size: 13.5px;
	font-weight: 700;
	color: #1d76c9;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 모바일 헤더 : 로고를 절대좌표로 정중앙 고정 (햄버거/검색은 양옆 유지) */
#header_mo h3 {
	position: relative;
	height: 58px;
	margin: 0;
}
#header_mo h3 > a[onclick] {
	position: absolute;
	left: 0; top: 50%;
	transform: translateY(-50%);
	margin: 0 !important;
	float: none !important;
	padding: 8px;
}
#header_mo h3 > .float-right {
	position: absolute;
	right: 0; top: 50%;
	transform: translateY(-50%);
	margin: 0 !important;
	float: none !important;
	padding: 8px;
}
#header_mo h3 > a:not([onclick]) {
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	margin: 0 !important;
	white-space: nowrap;
}
#header_mo h3 > a:not([onclick]) img { display: block; }

/* 로고 크기 제약 (theme.css의 #logo_img{width:240px}, .header-logo{height:90px} 무효화) */
#logo_img { width: auto !important; max-height: 48px !important; display: block; }
.header-logo {
	height: 62px !important;
	padding: 0 22px 0 4px;
}
#nt_menu .me-li > a { display: flex !important; align-items: center; height: 100%; }
.header-logo a { display: flex; align-items: center; }
#nt_menu .header-logo img { max-height: 44px !important; }
#nt_footer.mg-footer .ft-logo img { max-height: 44px; width: auto; }

/* =========================================================
   4. 공통 카드
   ========================================================= */
.mg-card {
	background: #fff;
	border: 1px solid var(--mg-border);
	border-radius: var(--mg-radius);
	box-shadow: var(--mg-shadow);
	padding: 34px 30px;
	margin-bottom: 22px;
}
.mg-section-title {
	text-align: center;
	font-size: 25px;
	font-weight: 700;
	color: var(--mg-blue);
	margin: 0 0 12px;
	line-height: 1.4;
}
.mg-section-title.dark { color: var(--mg-text); font-size: 28px; }
.mg-section-desc {
	text-align: center;
	color: var(--mg-sub);
	font-size: 15px;
	line-height: 1.85;
	margin-bottom: 0;
}

/* ---------- 메인 히어로 ---------- */
.mg-hero { text-align: center; padding: 38px 30px 34px; }
.mg-hero-links { margin-top: 20px; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.mg-hero-links a {
	color: var(--mg-blue);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}
.mg-hero-links a:hover { color: var(--mg-blue-dark); text-decoration: underline; }

/* ---------- 퀵메뉴 6종 카드 ---------- */
.mg-quick {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 22px;
}
.mg-quick a {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--mg-border);
	border-radius: var(--mg-radius);
	box-shadow: var(--mg-shadow);
	padding: 24px 20px;
	text-decoration: none;
	color: var(--mg-text);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.mg-quick a:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(30, 60, 110, .12);
	border-color: var(--mg-blue);
}
.mg-quick .q-icon {
	flex: 0 0 60px;
	width: 60px; height: 60px;
	border-radius: 16px;
	display: flex; align-items: center; justify-content: center;
	font-size: 27px;
	color: #fff;
	overflow: hidden;
}
.mg-quick .q-icon img { width: 100%; height: 100%; object-fit: contain; }
.q-blue   { background: linear-gradient(135deg, #5ea2ff, #2a6fe8); }
.q-indigo { background: linear-gradient(135deg, #7d9bff, #4a63e8); }
.q-red    { background: linear-gradient(135deg, #ff8a7a, #f0402e); }
.q-green  { background: linear-gradient(135deg, #4fd39a, #1da565); }
.q-orange { background: linear-gradient(135deg, #ffc069, #ff8a1e); }
.q-gold   { background: linear-gradient(135deg, #ffd76e, #f0a020); }
.q-icon.has-img { background: none; }
.mg-quick .q-title { font-size: 19px; font-weight: 700; color: var(--mg-blue); margin-bottom: 4px; }
.mg-quick a:nth-child(3) .q-title { color: var(--mg-red); }
.mg-quick .q-desc { font-size: 14px; color: var(--mg-sub); line-height: 1.6; }

/* ---------- 운영 이유 4단 ---------- */
.mg-why {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-top: 28px;
}
.mg-why .w-item { text-align: center; padding: 0 8px; }
.mg-why .w-icon {
	width: 72px; height: 72px;
	margin: 0 auto 16px;
	border-radius: 20px;
	display: flex; align-items: center; justify-content: center;
	font-size: 30px; color: #fff;
	overflow: hidden;
}
.mg-why .w-icon img { width: 100%; height: 100%; object-fit: contain; }
.mg-why .w-icon.has-img { background: none; }
.mg-why .w-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.mg-why .w-desc { font-size: 14px; color: var(--mg-sub); line-height: 1.75; word-break: keep-all; }

/* ---------- 메인 확인 콘텐츠 2x2 ---------- */
.mg-check {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px 34px;
	margin-top: 28px;
}
.mg-check .c-item { display: flex; gap: 15px; }
.mg-check .c-icon {
	flex: 0 0 50px; width: 50px; height: 50px;
	border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	font-size: 22px; color: #fff;
}
.mg-check .c-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.mg-check .c-desc { font-size: 14px; color: var(--mg-sub); line-height: 1.75; word-break: keep-all; }

/* ---------- 이용 안내(스텝) ---------- */
.mg-guide-intro { font-size: 15px; color: var(--mg-sub); line-height: 1.95; }
.mg-bar-title {
	background: var(--mg-blue);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	border-radius: 30px;
	padding: 12px 24px;
	margin: 28px 0 24px;
}
.mg-steps { list-style: none; margin: 0 0 24px; padding: 0 4px; }
.mg-steps li {
	display: flex; align-items: flex-start; gap: 13px;
	font-size: 15px;
	line-height: 1.75;
	margin-bottom: 16px;
}
.mg-steps .s-num {
	flex: 0 0 28px; width: 28px; height: 28px;
	background: var(--mg-blue);
	color: #fff;
	border-radius: 50%;
	font-size: 13px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
	margin-top: 1px;
}

/* ---------- FAQ ---------- */
.mg-faq {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 26px;
}
.mg-faq .f-item {
	border: 1px solid var(--mg-border);
	border-radius: 12px;
	padding: 24px 22px;
	background: #fff;
}
.mg-faq .f-tag {
	display: inline-block;
	background: var(--mg-blue-bg);
	color: var(--mg-blue);
	font-size: 12.5px; font-weight: 700;
	border-radius: 20px;
	padding: 4px 14px;
	margin-bottom: 12px;
}
.mg-faq .f-q { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
.mg-faq .f-a { font-size: 14px; color: var(--mg-sub); line-height: 1.8; word-break: keep-all; }
.mg-faq .f-a a { color: var(--mg-blue); font-weight: 500; }

/* =========================================================
   5. 게시판 하단 가이드
   ========================================================= */
.mg-bo-guide { margin-top: 26px; }
.mg-bo-guide .g-head {
	background: #fff;
	border: 1px solid var(--mg-border);
	border-radius: var(--mg-radius);
	box-shadow: var(--mg-shadow);
	padding: 30px 28px;
	margin-bottom: 18px;
}
.mg-bo-guide .g-head h1,
.mg-bo-guide .g-head h2 {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 12px;
	color: var(--mg-text);
}
.mg-bo-guide .g-head p { font-size: 14.5px; color: var(--mg-sub); line-height: 1.9; margin: 0; word-break: keep-all; }

.mg-bo-guide .g-sec {
	background: #fff;
	border: 1px solid var(--mg-border);
	border-radius: var(--mg-radius);
	box-shadow: var(--mg-shadow);
	padding: 0 28px 26px;
	margin-bottom: 18px;
	overflow: hidden;
}
.mg-bo-guide .g-sec > h3 {
	margin: 0 -28px 22px;
	padding: 15px 26px;
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	background: var(--mg-blue);
}
.mg-bo-guide .g-sec.sec-green > h3  { background: var(--mg-green); }
.mg-bo-guide .g-sec.sec-orange > h3 { background: var(--mg-orange); }
.mg-bo-guide .g-sec.sec-red > h3    { background: var(--mg-red); }
.mg-bo-guide .g-sec.sec-dark > h3   { background: var(--mg-dark); }
.mg-bo-guide .g-sec p { font-size: 14.5px; color: var(--mg-sub); line-height: 1.9; word-break: keep-all; }
.mg-bo-guide .g-sec ol,
.mg-bo-guide .g-sec ul { padding-left: 4px; margin: 0; list-style: none; }
.mg-bo-guide .g-sec li {
	display: flex; align-items: flex-start; gap: 12px;
	font-size: 14.5px; line-height: 1.75;
	color: var(--mg-text);
	margin-bottom: 14px;
	word-break: keep-all;
}
.mg-bo-guide .g-num {
	flex: 0 0 26px; width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--mg-blue);
	color: #fff;
	font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
	margin-top: 2px;
}
.mg-bo-guide .sec-green .g-num  { background: var(--mg-green); }
.mg-bo-guide .sec-orange .g-num { background: var(--mg-orange); }
.mg-bo-guide .sec-red .g-num    { background: var(--mg-red); }
.mg-bo-guide .sec-dark .g-num   { background: var(--mg-dark); }

.mg-bo-guide table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin: 6px 0 10px;
}
.mg-bo-guide table th {
	background: #f6f9fd;
	color: var(--mg-text);
	font-weight: 700;
	border: 1px solid var(--mg-border);
	padding: 11px 14px;
	white-space: nowrap;
}
.mg-bo-guide table td {
	border: 1px solid var(--mg-border);
	padding: 11px 14px;
	color: var(--mg-sub);
	line-height: 1.65;
	word-break: keep-all;
}

/* =========================================================
   6. 사이드바 위젯
   ========================================================= */
.mg-widget {
	background: #fff;
	border: 1px solid var(--mg-border);
	border-radius: var(--mg-radius);
	box-shadow: var(--mg-shadow);
	margin-bottom: 18px;
	overflow: hidden;
}
.mg-widget .wg-head {
	display: flex; align-items: center;
	padding: 14px 18px 12px;
	border-bottom: 2px solid var(--mg-blue);
	font-size: 16px;
	font-weight: 700;
	color: var(--mg-text);
}
.mg-widget .wg-head .more {
	margin-left: auto;
	color: #b6bdc9;
	font-size: 15px;
	line-height: 1;
	text-decoration: none;
}
.mg-widget .wg-head .more:hover { color: var(--mg-blue); }
.mg-widget .wg-body { padding: 10px 18px 12px; }
.mg-widget ul.wg-list { list-style: none; margin: 0; padding: 0; }
.mg-widget ul.wg-list li {
	display: flex; align-items: center; gap: 8px;
	padding: 8px 0;
	font-size: 14px;
}
.mg-widget ul.wg-list li + li { border-top: 1px dashed #f0f2f6; }
.mg-widget ul.wg-list .wg-subject {
	flex: 1 1 auto;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
	color: var(--mg-text);
	text-decoration: none;
}
.mg-widget ul.wg-list .wg-subject:hover { color: var(--mg-blue); }
.mg-widget ul.wg-list .wg-dot {
	flex: 0 0 auto;
	width: 5px; height: 5px;
	border-radius: 50%;
	background: var(--mg-blue);
}
.mg-widget ul.wg-list li.hot .wg-dot { background: var(--mg-red); }
.mg-widget ul.wg-list .wg-cnt { color: var(--mg-red); font-size: 12px; font-weight: 700; }
.mg-widget ul.wg-list .wg-date { flex: 0 0 auto; color: #aab1bd; font-size: 12.5px; }

/* 랭킹 탭 */
.mg-rank-tabs { display: flex; border-bottom: 1px solid var(--mg-border); }
.mg-rank-tabs a {
	flex: 1;
	text-align: center;
	padding: 13px 0 11px;
	font-size: 15px;
	font-weight: 700;
	color: var(--mg-sub);
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
.mg-rank-tabs a.on { color: var(--mg-text); border-bottom-color: var(--mg-blue); }
.mg-rank-list { list-style: none; margin: 0; padding: 10px 18px 12px; }
.mg-rank-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14px; }
.mg-rank-list li + li { border-top: 1px dashed #f0f2f6; }
.mg-rank-list .r-num {
	flex: 0 0 22px; width: 22px; height: 22px;
	border-radius: 6px;
	background: #eef1f6;
	color: var(--mg-sub);
	font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.mg-rank-list li:nth-child(1) .r-num { background: var(--mg-gold); color: #fff; }
.mg-rank-list li:nth-child(2) .r-num { background: #b9c2d0; color: #fff; }
.mg-rank-list li:nth-child(3) .r-num { background: #d8a06a; color: #fff; }
.mg-rank-list .r-nick { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg-rank-list .r-val { color: var(--mg-red); font-size: 12.5px; font-weight: 700; }

/* 로그인(아웃로그인) 박스 리뉴얼 */
.profile_box {
	background: #fff;
	border: 1px solid var(--mg-border);
	border-radius: var(--mg-radius);
	box-shadow: var(--mg-shadow);
	padding: 18px 16px 14px;
}
.profile_box .widget_outlogin_wrap,
.profile_box .bg_gray_boxshadow_slope {
	background: #fff !important;
	box-shadow: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
.profile_box .form-control {
	border: 1px solid var(--mg-border);
	border-radius: 8px;
	font-size: 14px !important;
}
.profile_box .btn-primary { border-radius: 8px; font-size: 14.5px !important; font-weight: 700; }
.profile_box .login_menu { display: flex; justify-content: space-around; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--mg-border); list-style: none; }
.profile_box .login_menu a { color: var(--mg-sub); font-size: 17px; }
.profile_box .login_menu a:hover { color: var(--mg-blue); }

/* 프로필 박스 리뉴얼 (mg-pf) */
.mg-pf-top { display: flex; align-items: center; gap: 12px; }
.mg-pf-avatar { flex: 0 0 auto; display: block; }
.mg-pf-avatar img {
	width: 54px; height: 54px;
	border-radius: 50%;
	border: 3px solid #fff;
	box-shadow: 0 0 0 3px #dcebff;
	object-fit: cover;
}
.mg-pf-who { flex: 1 1 auto; min-width: 0; }
.mg-pf-nick { font-size: 16px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.mg-pf-nick a { color: var(--mg-text); }
.mg-pf-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.mg-chip {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 11.5px; font-weight: 700;
	border-radius: 20px;
	padding: 3px 10px;
	line-height: 1.4;
	text-decoration: none;
}
.mg-chip .fa { font-size: 10.5px; }
.mg-chip-grade { background: #fff3d6; color: #c07f00; }
.mg-chip-point { background: var(--mg-blue-bg); color: var(--mg-blue); }
.mg-chip-point:hover { background: #dcebff; color: var(--mg-blue-dark); }

.mg-pf-exp { margin-top: 14px; }
.mg-pf-exp .t {
	display: flex; justify-content: space-between; align-items: center;
	font-size: 11.5px; color: var(--mg-sub);
	margin-bottom: 5px;
}
.mg-pf-exp .t span:first-child { font-weight: 700; color: var(--mg-blue); font-size: 12.5px; }
.mg-pf-exp .bar { height: 8px; background: #eef1f6; border-radius: 8px; overflow: hidden; }
.mg-pf-exp .bar span {
	display: block; height: 100%;
	background: linear-gradient(90deg, #5ea2ff, #2a6fe8);
	border-radius: 8px;
	min-width: 4px;
}

.mg-pf-menu {
	display: flex; gap: 2px;
	list-style: none;
	margin: 14px 0 0; padding: 12px 0 0;
	border-top: 1px dashed #eef1f6;
}
.mg-pf-menu li { flex: 1; }
.mg-pf-menu a {
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 8px 0 6px;
	border-radius: 10px;
	color: var(--mg-sub);
	font-size: 10.5px;
	text-decoration: none;
}
.mg-pf-menu a .fa { font-size: 16px; }
.mg-pf-menu a:hover { background: var(--mg-blue-bg); color: var(--mg-blue); }

/* =========================================================
   7. 게시판 탭 내비게이션
   (sub_style.css의 옛 빨간 #bo_nav 스타일 전면 무효화)
   ========================================================= */
#bo_nav.mg-bo-nav {
	margin: 0 0 20px !important;
	border: none !important;
	border-radius: 0 !important;
	background: transparent !important;
}
#bo_nav.mg-bo-nav ul li,
#bo_nav.mg-bo-nav ul li:first-child {
	float: none !important;
	height: auto !important;
	line-height: 1.5 !important;
	background: transparent !important;
	padding: 0 !important;
	font-size: 14.5px !important;
	color: var(--mg-sub) !important;
}
#bo_nav.mg-bo-nav ul li a,
#bo_nav.mg-bo-nav ul li:first-child a {
	position: static !important;
	display: block !important;
	height: auto !important;
	line-height: 1.5 !important;
	font-size: 14.5px !important;
	font-weight: 500 !important;
	padding: 9px 20px !important;
	background: #fff !important;
	border: 1px solid var(--mg-border) !important;
	border-radius: 30px !important;
	color: var(--mg-sub) !important;
}
#bo_nav.mg-bo-nav ul li a:hover {
	border-color: var(--mg-blue) !important;
	color: var(--mg-blue) !important;
}
#bo_nav.mg-bo-nav ul li.on a::after { display: none !important; }
#bo_nav.mg-bo-nav ul li.on a {
	background: var(--mg-blue) !important;
	border-color: var(--mg-blue) !important;
	color: #fff !important;
	font-weight: 700 !important;
}
#bo_nav.mg-bo-nav ul {
	display: flex; flex-wrap: wrap; gap: 8px;
	list-style: none; margin: 0; padding: 0;
}
#bo_nav.mg-bo-nav li a {
	display: block;
	background: #fff;
	border: 1px solid var(--mg-border);
	border-radius: 30px;
	padding: 9px 20px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--mg-sub);
	text-decoration: none;
	transition: all .15s ease;
}
#bo_nav.mg-bo-nav li a:hover { border-color: var(--mg-blue); color: var(--mg-blue); }
#bo_nav.mg-bo-nav li.on a {
	background: var(--mg-blue);
	border-color: var(--mg-blue);
	color: #fff;
	font-weight: 700;
}

/* =========================================================
   8. 푸터
   ========================================================= */
#nt_footer.mg-footer {
	background: #fff;
	border-top: 1px solid var(--mg-border) !important;
	margin-top: 40px;
	padding: 40px 0 34px;
}
#nt_footer.mg-footer .ft-wrap {
	display: flex; align-items: flex-start; gap: 34px; flex-wrap: wrap;
	padding: 0 16px;
}
#nt_footer.mg-footer .ft-logo img { max-height: 56px; }
#nt_footer.mg-footer .ft-info { flex: 1 1 300px; font-size: 14px; color: var(--mg-sub); line-height: 1.95; }
#nt_footer.mg-footer .ft-info .copy { margin-top: 8px; color: #aab1bd; font-size: 13px; }
#nt_footer.mg-footer .ft-contact { flex: 0 0 auto; text-align: right; }
#nt_footer.mg-footer .ft-contact .tel {
	display: flex; align-items: center; gap: 8px;
	font-size: 22px; font-weight: 700; color: var(--mg-text);
	justify-content: flex-end;
}
#nt_footer.mg-footer .ft-contact .tel .fa { color: var(--mg-red); }
#nt_footer.mg-footer .ft-contact .tg {
	display: flex; align-items: center; gap: 8px;
	justify-content: flex-end;
	margin-top: 8px;
	font-size: 15px; font-weight: 500; color: var(--mg-text);
}
#nt_footer.mg-footer .ft-contact .tg .fa { color: #2ba3e0; font-size: 19px; }
#nt_footer.mg-footer .ft-btns { display: flex; flex-direction: column; gap: 8px; }
#nt_footer.mg-footer .ft-btns a {
	display: block;
	min-width: 140px;
	text-align: center;
	border-radius: 8px;
	padding: 9px 20px;
	font-size: 14.5px; font-weight: 700;
	text-decoration: none;
}
#nt_footer.mg-footer .ft-btns .b-primary { background: var(--mg-blue); color: #fff; }
#nt_footer.mg-footer .ft-btns .b-primary:hover { background: var(--mg-blue-dark); }
#nt_footer.mg-footer .ft-btns .b-dark { background: var(--mg-dark); color: #fff; }
#nt_footer.mg-footer .ft-btns .b-dark:hover { background: #2b3140; }

/* =========================================================
   7-1. 게시판 페이지 히어로 (제목 + 설명)
   ========================================================= */
.mg-page-head {
	position: relative;
	background: #fff;
	border-bottom: none;
	padding: 34px 0 30px;
	margin-bottom: 4px;
	overflow: hidden;
}
/* 좌상단/우하단 구름 : 천천히 떠다니는 애니메이션 */
.mg-page-head::before {
	content: '';
	position: absolute;
	top: 16px; left: 3%;
	width: 130px; height: 38px;
	background: #e3efff;
	border-radius: 40px;
	box-shadow: 44px -14px 0 -6px #ecf4ff, -36px -10px 0 -10px #f1f7ff;
	animation: mg-cloud-drift-a 10s ease-in-out infinite alternate;
}
.mg-page-head::after {
	content: '';
	position: absolute;
	bottom: 14px; right: 4%;
	width: 110px; height: 32px;
	background: #eaf3ff;
	border-radius: 40px;
	box-shadow: -38px 12px 0 -6px #f0f6ff, 34px 10px 0 -9px #f4f9ff;
	animation: mg-cloud-drift-b 13s ease-in-out infinite alternate;
}
@keyframes mg-cloud-drift-a {
	0%   { transform: translateX(0); }
	100% { transform: translateX(300px); }
}
@keyframes mg-cloud-drift-b {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-320px); }
}

/* 본문 컨텐츠 영역 구름 : 카드 뒤로 지나감 */
#nt_body { overflow-x: clip; }
#nt_body > .nt-container { position: relative; z-index: 0; }
#nt_body > .nt-container::before {
	content: '';
	position: absolute;
	z-index: -1;
	top: 140px; left: -60px;
	width: 150px; height: 44px;
	background: #e0edff;
	border-radius: 50px;
	box-shadow: 50px -16px 0 -7px #eaf3ff, -40px -12px 0 -11px #f0f6ff;
	animation: mg-cloud-body-a 16s ease-in-out infinite alternate;
}
#nt_body > .nt-container::after {
	content: '';
	position: absolute;
	z-index: -1;
	bottom: 220px; right: -40px;
	width: 130px; height: 38px;
	background: #e6f1ff;
	border-radius: 50px;
	box-shadow: -44px 14px 0 -7px #edf5ff, 38px 12px 0 -10px #f2f8ff;
	animation: mg-cloud-body-b 20s ease-in-out infinite alternate;
}
@keyframes mg-cloud-body-a {
	0%   { transform: translateX(0); }
	100% { transform: translateX(55vw); }
}
@keyframes mg-cloud-body-b {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-55vw); }
}
@media (max-width: 767px) {
	#nt_body > .nt-container::before,
	#nt_body > .nt-container::after { display: none; }
}
.mg-page-head h1 {
	position: relative;
	font-size: 27px;
	font-weight: 800;
	color: var(--mg-text);
	margin: 0 0 10px;
	letter-spacing: -.03em;
}
.mg-page-head p {
	position: relative;
	font-size: 15px;
	color: var(--mg-sub);
	margin: 0;
	line-height: 1.7;
	word-break: keep-all;
}
@media (max-width: 767px) {
	.mg-page-head { padding: 24px 0 22px; }
	.mg-page-head h1 { font-size: 21px; }
	.mg-page-head p { font-size: 13.5px; }
}

/* 게시판 리스트 공통 다듬기 */
.na-table-head {
	border-top: none !important;
	border-bottom: 2px solid var(--mg-blue) !important;
}

/* 답변 상태 배지 (BS4-MT-Status 스킨) */
.mg-status {
	display: inline-block;
	min-width: 66px;
	text-align: center;
	font-size: 12.5px;
	font-weight: 700;
	border-radius: 6px;
	padding: 4px 10px;
	line-height: 1.5;
	color: #fff;
}
.mg-status-wait { background: var(--mg-blue); }
.mg-status-done { background: var(--mg-red); }
.mg-badge-notice {
	display: inline-block;
	background: var(--mg-blue);
	color: #fff;
	font-size: 11.5px;
	font-weight: 700;
	border-radius: 4px;
	padding: 2px 9px;
	line-height: 1.6;
}

/* 카드 그림자 통일 (강한 검정 그림자 제거 → 공통 그림자) */
#bo_list_wrap,
#bo_v,
.widget-board {
	box-shadow: var(--mg-shadow) !important;
	border: 1px solid var(--mg-border) !important;
	border-radius: var(--mg-radius) !important;
	background: #fff !important;
}
#bo_list_wrap { padding: 16px !important; }
#bo_v { padding: 16px !important; }

/* 추천/비추천 버튼 리뉴얼 : 분리형 알약 */
#bo_v_btn_group {
	display: flex !important;
	justify-content: center;
	align-items: center;
	gap: 10px;
}
#bo_v_btn_group #btn_bo_good,
#bo_v_btn_group #btn_bo_nogood {
	width: auto !important;
	min-width: 116px;
	height: 46px;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 30px !important;
	padding: 0 26px !important;
	text-align: center !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	transition: all .15s ease;
}
#bo_v_btn_group #btn_bo_good {
	background: linear-gradient(135deg, #5ea2ff, var(--mg-blue-dark)) !important;
	border: 1px solid transparent !important;
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(61, 139, 255, .3);
}
#bo_v_btn_group #btn_bo_good:hover { filter: brightness(1.06); }
#bo_v_btn_group #btn_bo_nogood {
	background: #fff !important;
	border: 1px solid var(--mg-border) !important;
	color: var(--mg-sub) !important;
	margin-left: 0 !important;
}
#bo_v_btn_group #btn_bo_nogood:hover {
	border-color: var(--mg-red) !important;
	color: var(--mg-red) !important;
	background: #fff5f5 !important;
}
#bo_v_btn_group #btn_bo_good #wr_good,
#bo_v_btn_group #btn_bo_nogood #wr_nogood {
	position: static !important;
	width: auto !important;
	text-align: center !important;
	font-weight: 700;
}
#bo_v_btn_group #btn_bo_good img,
#bo_v_btn_group #btn_bo_nogood img { display: none !important; }

/* 게시판 액션 버튼 : 메뉴와 동일한 알약 스타일 */
#bo_v a.btn:not(.dropdown-item),
#bo_v .btn_b01,
#bo_v .btn_admin,
#bo_list_wrap a.btn:not(.dropdown-item),
#bo_list_wrap .btn_admin {
	border-radius: 30px !important;
	border: 1px solid var(--mg-border) !important;
	background: #fff !important;
	color: var(--mg-sub) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	padding: 7px 18px !important;
	transition: all .15s ease;
}
#bo_v a.btn:not(.dropdown-item):hover,
#bo_v .btn_b01:hover,
#bo_v .btn_admin:hover,
#bo_list_wrap a.btn:not(.dropdown-item):hover,
#bo_list_wrap .btn_admin:hover {
	border-color: var(--mg-blue) !important;
	color: var(--mg-blue) !important;
	background: var(--mg-blue-bg) !important;
}
#bo_v a.btn.btn-primary,
#bo_list_wrap a.btn.btn-primary {
	background: linear-gradient(135deg, #5ea2ff, var(--mg-blue-dark)) !important;
	border-color: transparent !important;
	color: #fff !important;
	box-shadow: 0 4px 10px rgba(61, 139, 255, .35);
}
#bo_v a.btn.btn-primary:hover,
#bo_list_wrap a.btn.btn-primary:hover {
	background: linear-gradient(135deg, #4a91f5, #1f5fd0) !important;
	color: #fff !important;
}

/* 댓글 등록 버튼 · 댓글 입력창 라운드 */
#bo_v .na-convert .btn-primary,
#bo_vc_w .btn-primary {
	border-radius: 12px !important;
	font-weight: 700;
}
#bo_vc_w textarea,
#bo_v textarea { border-radius: 12px !important; border-color: var(--mg-border) !important; }

/* 글보기 섹션 탭 라인 (피해 내용 등) : 빨강 → 블루 */
.bo_mttip_view_con_line .text {
	border-color: var(--mg-blue) !important;
	color: var(--mg-blue) !important;
}
.bo_mttip_view_con_line .bar { background: var(--mg-blue) !important; }

/* 글보기 정보 테이블 리뉴얼 (구식 대각선 그림자 + 검은 헤더 제거) */
.bo_safety_info_tbl_wrap,
.bo_mttip_info_tbl_wrap {
	box-shadow: none !important;
	border: 1px solid var(--mg-border) !important;
	border-radius: 12px !important;
	overflow: hidden;
}
.tbl_bo_safety_info tr th,
.tbl_bo_mttip_info tr th {
	background: #f6f9fd !important;
	color: var(--mg-text) !important;
	font-weight: 700 !important;
	border-color: var(--mg-border) !important;
	font-size: 14.5px !important;
}
.tbl_bo_safety_info tbody tr:first-child th,
.tbl_bo_mttip_info tbody tr:first-child th {
	border-top-color: var(--mg-border) !important;
}
.tbl_bo_safety_info tr td,
.tbl_bo_mttip_info tr td {
	border-color: var(--mg-border) !important;
	font-size: 14.5px !important;
	color: var(--mg-text) !important;
}
.bo_mttip_info_img_wrap .img_wrap {
	box-shadow: var(--mg-shadow) !important;
}
#bo_gallery .img-wrap { box-shadow: none !important; border: 1px solid var(--mg-border); }
#bo_gallery .list-item .list-item-div { box-shadow: var(--mg-shadow) !important; border-radius: 12px; }
#bo_gallery .list-item:hover .list-item-div { border: 1px solid var(--mg-blue) !important; }
#bo_gallery .list-item:hover .list-item-div .list-item-title,
#bo_gallery .list-item:hover .list-item-div .list-item-wrap { margin: 0 !important; }
#bo_gallery .list-item:hover .list-item-div .list-item-title { margin-bottom: 0 !important; }
#bo_list_total { font-size: 14px; color: var(--mg-sub); }
#bo_list_total b { color: var(--mg-blue); }
.btn_bo_user .btn, #bo_btn_top .btn-primary {
	border-radius: 8px !important;
	font-weight: 700;
}

/* =========================================================
   7-2. 검색 결과 페이지
   ========================================================= */
/* 검색어 하이라이트 : 핑크 → 블루 칩 */
.sch_word {
	background: var(--mg-blue-bg) !important;
	color: var(--mg-blue) !important;
	border-radius: 5px;
	padding: 1px 6px 2px !important;
	margin: 0 2px !important;
	font-weight: 700;
	line-height: 1.5 !important;
}

/* 검색 폼 카드 */
#sch_res_detail .alert {
	background: #fff !important;
	border: 1px solid var(--mg-border) !important;
	border-radius: var(--mg-radius) !important;
	box-shadow: var(--mg-shadow);
	padding: 20px 18px !important;
}
#sch_res_detail .custom-select,
#sch_res_detail .form-control {
	height: 42px;
	border-radius: 10px !important;
	border: 1px solid var(--mg-border) !important;
	font-size: 14px !important;
}
#sch_res_detail .btn { border-radius: 10px !important; }

/* 게시판 탭 : 알약형 */
.sly-tab { border-bottom: none !important; margin-bottom: 16px !important; }
.sly-tab .sly-list li a {
	display: inline-block;
	border: 1px solid var(--mg-border) !important;
	border-radius: 30px !important;
	background: #fff !important;
	color: var(--mg-sub) !important;
	font-size: 14px !important;
	margin-right: 6px;
	padding: 8px 18px !important;
}
.sly-tab .sly-list li a:hover { border-color: var(--mg-blue) !important; color: var(--mg-blue) !important; }
.sly-tab li.active a {
	background: var(--mg-blue) !important;
	border-color: var(--mg-blue) !important;
	color: #fff !important;
	font-weight: 700 !important;
}
.sly-tab .sly-btn { color: var(--mg-sub); }

/* =========================================================
   8-1. 사이드 전체메뉴 (햄버거 사이드바)
   ========================================================= */
#nt_sidebar { background: #fff !important; }
.nt_sidebar_m_header {
	position: relative;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: var(--mg-text) !important;
	background: #fff !important;
	border-bottom: none !important;
	padding: 14px 18px 12px !important;
}
.nt_sidebar_m_header::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 3px;
	background: linear-gradient(90deg, #ff8a7a, #ffc069, #ffe14d, #4fd39a, #5ea2ff, #a98bff);
}
.nt_sidebar_m_header .side-logo { display: inline-block; }
.nt_sidebar_m_header .side-logo img { max-height: 34px; width: auto; display: block; }
.icon_sidebar_m_x {
	width: auto !important;
	font-size: 20px;
	color: #b6bdc9;
	line-height: 1;
}
.icon_sidebar_m_x:hover { color: var(--mg-blue); }

.mg-side-menu { background: #fff; padding-bottom: 6px; }
.mg-side-title {
	font-size: 13px;
	font-weight: 700;
	color: #97a0af;
	padding: 16px 18px 8px;
	letter-spacing: .02em;
}
.mg-side-menu ul { list-style: none; margin: 0; padding: 0 10px; }
.mg-side-menu ul li a {
	display: flex; align-items: center; gap: 12px;
	padding: 8px 10px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--mg-text);
	border-radius: 12px;
	text-decoration: none;
	transition: background .15s ease;
}
/* 로고 감성의 컬러 아이콘 칩 */
.mg-side-menu ul li a .fa-fw {
	flex: 0 0 32px;
	width: 32px; height: 32px;
	line-height: 32px;
	text-align: center;
	border-radius: 10px;
	color: #fff !important;
	font-size: 14px !important;
}
.mg-side-menu ul li:nth-child(1) a .fa-fw { background: linear-gradient(135deg, #ffd76e, #f0a020); }
.mg-side-menu ul li:nth-child(2) a .fa-fw { background: linear-gradient(135deg, #5ea2ff, #2a6fe8); }
.mg-side-menu ul li:nth-child(3) a .fa-fw { background: linear-gradient(135deg, #7d9bff, #4a63e8); }
.mg-side-menu ul li:nth-child(4) a .fa-fw { background: linear-gradient(135deg, #ff8a7a, #f0402e); }
.mg-side-menu ul li:nth-child(5) a .fa-fw { background: linear-gradient(135deg, #4fd39a, #1da565); }
.mg-side-menu ul li:nth-child(6) a .fa-fw { background: linear-gradient(135deg, #ffc069, #ff8a1e); }
.mg-side-menu ul li:nth-child(7) a .fa-fw { background: linear-gradient(135deg, #6ec6ff, #2b8fd8); }
.mg-side-menu ul li:nth-child(8) a .fa-fw { background: linear-gradient(135deg, #b79aff, #8a63ff); }
.mg-side-menu ul li a .arrow { margin-left: auto; color: #c3cad6; }
.mg-side-menu ul li a:hover { background: var(--mg-blue-bg); color: var(--mg-blue); }
.mg-side-menu ul li.on a {
	background: linear-gradient(135deg, #5ea2ff, var(--mg-blue-dark));
	color: #fff;
	box-shadow: 0 4px 10px rgba(61, 139, 255, .35);
}
.mg-side-menu ul li.on a .fa-fw { background: rgba(255, 255, 255, .22) !important; }
.mg-side-menu ul li.on a .arrow { color: #fff; }

.mg-side-stats { border-top: 1px solid var(--mg-border); margin-top: 10px; }
.mg-side-stats ul { padding: 0 18px 10px; }
.mg-side-stats ul li {
	display: flex; align-items: center;
	padding: 7px 0;
	font-size: 13.5px;
	color: var(--mg-sub);
}
.mg-side-stats ul li + li { border-top: 1px dashed #f0f2f6; }
.mg-side-stats ul li a { display: flex; align-items: center; width: 100%; color: var(--mg-sub); }
.mg-side-stats ul li .num { margin-left: auto; font-weight: 700; color: var(--mg-blue); }

/* =========================================================
   8-2. 회원 페이지 (로그인 / 회원가입 / 정보찾기 등)
   ========================================================= */
.mbskin {
	max-width: 480px;
	margin: 30px auto 50px;
}
.mbskin_box,
#register_form, #fregister,
#find_info, #mb_confirm, #mb_leave {
	background: #fff;
	border: 1px solid var(--mg-border) !important;
	border-radius: var(--mg-radius);
	box-shadow: var(--mg-shadow);
	padding: 30px 28px !important;
}
.mbskin h1, .mbskin_box h1 {
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	color: var(--mg-blue);
	margin-bottom: 20px;
}
.mb_log_cate { display: flex; align-items: center; margin-bottom: 18px; }
.mb_log_cate h2 { font-size: 19px; font-weight: 700; margin: 0; }
.mb_log_cate .join {
	margin-left: auto;
	font-size: 13.5px;
	color: var(--mg-blue);
	font-weight: 600;
}
.frm_input,
.mbskin input[type=text],
.mbskin input[type=password] {
	width: 100%;
	height: 46px !important;
	border: 1px solid var(--mg-border) !important;
	border-radius: 10px !important;
	padding: 0 14px !important;
	font-size: 14.5px !important;
	margin-bottom: 10px;
	background: #fafbfd;
}
.frm_input:focus { border-color: var(--mg-blue) !important; background: #fff; outline: none; }
.btn_submit {
	background: var(--mg-blue) !important;
	border: none !important;
	color: #fff !important;
	border-radius: 10px !important;
	font-size: 15.5px !important;
	font-weight: 700 !important;
	height: 48px !important;
	width: 100%;
	cursor: pointer;
}
.btn_submit:hover { background: var(--mg-blue-dark) !important; }
#login_info { margin-top: 12px; font-size: 13.5px; display: flex; align-items: center; }
#login_info .login_if_lpl { margin-left: auto; }
#login_info a { color: var(--mg-sub); }
#login_info a:hover { color: var(--mg-blue); }

/* 로그인 페이지 카드 */
.mg-login-card {
	background: #fff;
	border: 1px solid var(--mg-border);
	border-radius: 16px;
	box-shadow: var(--mg-shadow);
	padding: 34px 30px 26px;
}
.mg-login-logo { text-align: center; margin-bottom: 18px; }
.mg-login-logo img { max-height: 46px; width: auto; }
.mg-login-logo-text { font-size: 24px; font-weight: 800; color: var(--mg-blue); }
.mg-login-title {
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	color: var(--mg-text);
	margin: 0 0 6px;
}
.mg-login-desc {
	text-align: center;
	font-size: 13.5px;
	color: var(--mg-sub);
	margin-bottom: 22px;
}
.mg-login-input {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--mg-border);
	border-radius: 12px;
	background: #fafbfd;
	padding: 0 16px;
	height: 48px;
	transition: border-color .15s ease, background .15s ease;
}
.mg-login-input:focus-within { border-color: var(--mg-blue); background: #fff; }
.mg-login-input .fa { color: #b6bdc9; font-size: 15px; }
.mg-login-input input {
	flex: 1;
	border: none;
	background: transparent;
	outline: none;
	height: 100%;
	font-size: 14.5px;
}
.mg-login-lost { color: var(--mg-sub); }
.mg-login-lost:hover { color: var(--mg-blue); }
.mg-login-btn {
	display: block;
	width: 100%;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #5ea2ff, var(--mg-blue-dark));
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	height: 50px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(61, 139, 255, .3);
	transition: filter .15s ease;
}
.mg-login-btn:hover { filter: brightness(1.06); }
.mg-login-join {
	text-align: center;
	font-size: 13.5px;
	color: var(--mg-sub);
	margin-top: 16px;
}
.mg-login-join a { color: var(--mg-blue); font-weight: 700; margin-left: 4px; }
.mg-login-home { font-size: 13.5px; color: var(--mg-sub); }
.mg-login-home:hover { color: var(--mg-blue); }

/* 정보찾기 (텔레그램 안내) */
.mg-find-tg {
	width: 76px; height: 76px;
	margin: 6px auto 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, #4fc3f7, #1e88e5);
	color: #fff;
	font-size: 38px;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 16px rgba(30, 136, 229, .3);
}
.mg-find-title { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.mg-find-desc { font-size: 14px; color: var(--mg-sub); line-height: 1.8; margin-bottom: 18px; }
.mg-find-id {
	background: #f6f9fd;
	border: 1px solid var(--mg-border);
	border-radius: 10px;
	padding: 13px 14px;
	font-size: 15px;
	margin-bottom: 14px;
}
.mg-find-id b { color: var(--mg-blue); }
.mg-find-btn { border-radius: 10px !important; font-weight: 700 !important; }
.mg-find-home {
	display: inline-block;
	margin-top: 14px;
	font-size: 13.5px;
	color: var(--mg-sub);
}
.mg-find-home:hover { color: var(--mg-blue); }

/* 회원가입 약관/폼 (그누보드 기본 클래스) */
#fregister { max-width: 700px; margin: 30px auto 50px; }
#fregister section { margin-bottom: 22px; }
#fregister h2 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
#fregister textarea,
#fregister .fregister_agree_textbox {
	border: 1px solid var(--mg-border);
	border-radius: 10px;
	background: #fafbfd;
	font-size: 13.5px;
}
#register_form { max-width: 700px; margin: 30px auto 50px; }
#register_form .frm_info { font-size: 13px; color: var(--mg-sub); }
#register_form th, #register_form td { font-size: 14.5px; }
.btn_cancel {
	border-radius: 10px !important;
	font-size: 15px !important;
	height: 48px !important;
}

/* =========================================================
   9. 반응형
   ========================================================= */
@media (max-width: 991px) {
	.mg-quick { grid-template-columns: repeat(2, 1fr); }
	.mg-why { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
	.mg-main-banner-default strong { font-size: 22px; }
}
@media (max-width: 767px) {
	/* 모바일 컨텐츠 좌우 여백 확보 */
	#nt_body > .nt-container { padding-left: 12px !important; padding-right: 12px !important; }
	.mg-card { padding: 24px 18px; border-radius: 12px; }
	.mg-quick { grid-template-columns: 1fr; gap: 10px; }
	.mg-check { grid-template-columns: 1fr; gap: 20px; }
	.mg-faq { grid-template-columns: 1fr; }
	.mg-section-title { font-size: 21px; }
	.mg-section-title.dark { font-size: 23px; }
	.mg-main-banner-default { padding: 26px 22px; }
	.mg-main-banner-default strong { font-size: 19px; }
	.mg-main-banner-default span { font-size: 14px; }
	.mg-main-banner-default .fa { font-size: 48px; }
	.mg-bo-guide .g-head, .mg-bo-guide .g-sec { padding-left: 18px; padding-right: 18px; }
	.mg-bo-guide .g-sec > h3 { margin: 0 -18px 18px; padding: 13px 18px; }
	.mg-bo-guide .g-head h1, .mg-bo-guide .g-head h2 { font-size: 20px; }
	#nt_footer.mg-footer .ft-wrap { flex-direction: column; }
	#nt_footer.mg-footer .ft-contact { text-align: left; }
	#nt_footer.mg-footer .ft-contact .tel,
	#nt_footer.mg-footer .ft-contact .tg { justify-content: flex-start; }
}
