.side {
	display: flex;
	min-height: 100vh;
	width: 100%;
	overflow-x: hidden;
}
.content {
	flex: 1 1 auto;
	width: auto;
	min-width: 0; /* flex item overflow 방지 */
	/* 고정 메뉴바+상단바 높이만큼만 (추가 여백 없음) */
	padding-top: calc(var(--pland-topbar-height, 100px) + var(--pland-menubar-height, 48px));
	transition: padding-top 0.22s ease;
}

.display-none {
	display: none;
}

/* searchBox: PC 전용 고정 흰 백드롭 — 본문보다 위(1030), 글로벌 메뉴(1040)·상단바(1060)·메뉴바(1080)보다 아래 */
.pland-header-backdrop {
	display: none;
}
@media (min-width: 992px) {
	.pland-header-backdrop {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1030;
		pointer-events: none;
		background-color: #ffffff;
		height: calc(var(--pland-menubar-height) + var(--pland-topbar-height) + 12px);
		transition: height 0.22s ease;
	}
	body.pland-header-scrolled .pland-header-backdrop {
		height: calc(var(--pland-topbar-height, 76px) + 12px);
	}
}

searchBox.pland-search-box,
.pland-search-box {
	display: block;
}

/* Search-line topbar (unified color system) */
:root {
	--pland-topbar-height: 100px;
	--pland-menubar-height: 48px;
	--pland-topbar-text: #374151;
	--pland-topbar-text-strong: #111827;
	--pland-topbar-icon: #6b7280;
	--pland-topbar-hover-bg: rgba(0, 0, 0, 0.04);
	--pland-topbar-border: #cbd5e1;
	--pland-accent-border: #94a3f8;
	--pland-accent: #667eea;
	/* 브랜드 블루(검색줄 배경·액센트). 가로 메뉴바 배경은 .pland-main-menu-bar에서 흰색 */
	--pland-menubar-bg: #6e84ff;
	/* 구글 검색창에 가까운 pill (높이·여백) — PC 기본은 모바일(36px)보다 크게, 이전 48px보다 한 단계 작게 */
	--pland-search-pill-border: #dadce0;
	--pland-search-row-h: 40px;
	--pland-search-icon-sz: 40px;
	/* Bootstrap 4 .container / .container-fluid 좌우 패딩과 동일 — 로고·본문 시작선 정렬 */
	--pland-main-gutter-x: 15px;
	/* 데스크톱: 하단 탭 없음 · 모바일에서만 991px 이하에서 덮어씀 */
	--pland-bottomnav-height: 0px;
}
/* 본문 컨테이너 좌우선 = 상단 로고선과 동일 거터 */
.content > main .container,
.content > main .container-fluid {
	padding-left: var(--pland-main-gutter-x);
	padding-right: var(--pland-main-gutter-x);
}
/* 스크롤 다운 시: 상단바 줄 높이는 컴팩트 값 (모바일·PC 동일) */
body.pland-header-scrolled {
	--pland-topbar-height: 76px;
}

.pland-topbar {
	position: fixed;
	top: var(--pland-menubar-height);
	left: 0;
	right: 0;
	z-index: 1060;
	height: var(--pland-topbar-height);
	/* 메뉴바와 색 반전: 검색줄 = 브랜드 블루, 위 메뉴줄 = 흰색 */
	--pland-topbar-text: rgba(255, 255, 255, 0.92);
	--pland-topbar-text-strong: #ffffff;
	--pland-topbar-icon: rgba(255, 255, 255, 0.88);
	--pland-topbar-hover-bg: rgba(255, 255, 255, 0.16);
	--pland-topbar-border: rgba(255, 255, 255, 0.38);
	background: var(--pland-menubar-bg) !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	box-shadow: none !important;
	padding: 0 !important;           /* style_dining .header padding: 62px… 무효 */
	text-align: initial !important;
	transition: top 0.22s ease, height 0.22s ease;
}
.pland-topbar-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 17px var(--pland-main-gutter-x);
	height: 100%;
	width: 100%;
	max-width: none;            /* 로고/우측영역은 화면 끝으로 */
	margin: 0;
	color: var(--pland-topbar-text);
	transition: padding 0.22s ease;
}
.pland-topbar-left {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	min-width: 0;
	justify-content: flex-start;
}
.pland-topbar-right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	min-width: 0;
	justify-content: flex-end;
	align-self: stretch;
}
/* 모험단 트리거와 햄버거 사이 — 상단바 높이의 70%만 차지하는 세로선 */
.pland-topbar-right-vsep {
	flex: 0 0 1px;
	width: 1px;
	height: 70%;
	min-height: 1.25rem;
	align-self: center;
	background: rgba(255, 255, 255, 0.38);
	pointer-events: none;
}
/* 세로선 위치는 유지, 햄버거만 오른쪽으로(시각적 중앙에 맞춤) */
.pland-topbar .pland-topbar-right .global-menu-btn {
	margin: -12px 0px -12px 0px;
}
.pland-topbar-center {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}
/* PC: 검색 pill + 내 모험단을 한 블록으로 가운데 정렬 — 920px는 과도하게 넓음 → 좁혀서 ‘중앙 검색창’ 느낌 */
@media (min-width: 992px) {
	.pland-topbar-center {
		justify-content: center;
		padding: 0 18px;
	}
	.pland-topbar-search-cluster {
		margin-left: auto;
		margin-right: auto;
	}
}
/* 검색 박스 + 내 모험단 — 둘 사이 간격은 버튼 margin 한 곳만 사용(gap·양쪽 마진 중복 방지) */
.pland-topbar-search-cluster {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0;
	width: 100%;
	max-width: 560px;
	/* width:100% + 좌우 margin 이 부모보다 넓어져 우측 버튼에 가려짐 → margin 제거, 부모 padding으로 간격 */
	margin: 0;
	padding: 0 12px;
	box-sizing: border-box;
}
.pland-topbar-search-cluster .search-container {
	flex: 1 1 auto;
	width: auto;
	max-width: none;
}

/* Topbar 아이콘 톤 보정 */
.pland-topbar-inner i,
.pland-topbar-inner .fas,
.pland-topbar-inner .far {
	color: var(--pland-topbar-icon);
}
.pland-topbar-inner .dropdown-menu i,
.pland-topbar-inner .dropdown-menu .fas,
.pland-topbar-inner .dropdown-menu .far {
	color: inherit; /* 드롭다운 내부는 기존 톤 유지 */
}
/* 내 모험단 버튼 아이콘: 브랜드 블루(글자는 버튼 color) */
.pland-topbar-inner .my-adventure-search-button i.my-adventure-search-button__icon {
	color: var(--pland-menubar-bg);
}

/* PLAND 로고 — 왼쪽은 본문 gutter와 일치(음수 마진 없음), 오른쪽만 탭 여유 */
.pland-topbar a.pland-brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	text-decoration: none;
	padding: 0 8px 0 0;
	margin: 0;
	border-radius: 8px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.95);
}
.pland-topbar a.pland-brand:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
	text-decoration: none;
}
@media (min-width: 992px) {
	.pland-topbar a.pland-brand {
		transform: translateY(-2px);
	}
}
.pland-topbar .pland-brand-text {
	font-weight: 900;
	margin: 0;
	font-size: 21pt;
	line-height: 1;
	letter-spacing: 0.02em;
	color: inherit;
}
.pland-top-link {
	color: var(--pland-topbar-text);
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
	padding: 8px 10px;
	border-radius: 10px;
}
.pland-top-link:hover {
	background: var(--pland-topbar-hover-bg);
	text-decoration: none;
	color: var(--pland-topbar-text-strong);
}
.pland-user-trigger .top-adventure-name {
	color: var(--pland-topbar-text);
}
.pland-user-trigger .top-account-icon {
	color: #ffffff;
}
/* 상단바: 모험단명 — 블루 배경 위에서 살짝 덜 튀는 밝은 톤 */
.pland-topbar .pland-user-trigger .top-adventure-name {
	font-size: 14px;
	font-weight: 600;
	max-width: 260px;
	margin-right: 12px;
	color: rgba(255, 255, 255, 0.88);
	transform: translateY(1px);
}
.pland-topbar .pland-user-trigger .top-account-icon {
	font-size: 28px;
	line-height: 1;
	transform: translateY(1px);
	color: #ffffff;
	margin-right: 4px;
}
.pland-user-trigger:hover {
	background: var(--pland-topbar-hover-bg);
	border-radius: 12px;
}

/* 햄버거 색도 밝게 */
.pland-topbar .global-menu-btn span {
	background: var(--pland-topbar-icon);
}

/* 상단 검색: 블루 배경 위에서 흰 알약 */
.pland-topbar .search-main.pland-search-pill {
	background: #ffffff !important;
	background-color: #ffffff !important;
	border: 1px solid var(--pland-search-pill-border) !important;
	border-radius: 9999px;
	padding: 4px 8px 4px 20px;
	display: flex;
	align-items: center;
	gap: 0;
	box-shadow: none !important;
	min-height: calc(var(--pland-search-row-h) + 10px);
	transition: border-color 0.15s ease, padding 0.22s ease, min-height 0.22s ease;
}
.pland-topbar .search-main.pland-search-pill:focus-within {
	border-color: #8ab4f8 !important;
}
.pland-topbar .search-main.pland-search-pill select,
.pland-topbar .search-main.pland-search-pill input {
	height: var(--pland-search-row-h);
	min-height: var(--pland-search-row-h);
	border: 0;
	outline: none;
	background: transparent;
	border-radius: 0;
	padding: 0 10px;
	font-size: 14px;
	line-height: 1.25;
	transition: height 0.22s ease, min-height 0.22s ease, font-size 0.22s ease;
}
/* 구분·모험단 등 선택 — 보조 톤 */
.pland-topbar .search-main.pland-search-pill select {
	color: #6b7280;
	min-width: 88px;
	flex: 0 0 auto;
	cursor: pointer;
	padding-left: 4px;
	padding-right: 4px;
}
/* 검색어 — 한 단계만 진하게(본문 입력) */
.pland-topbar .search-main.pland-search-pill input {
	color: #4b5563;
	flex: 1 1 auto;
	min-width: 80px;
	padding-left: 6px;
	padding-right: 10px;
}
.pland-topbar .search-main.pland-search-pill input::placeholder {
	color: #9ca3af;
	opacity: 1;
}
.pland-topbar .search-main.pland-search-pill option {
	color: #1f2937;
	background: #ffffff;
}
/* 좁은 화면: 입력 16px 미만이면 iOS Safari가 포커스 시 확대 — 레이아웃은 PC와 동일, 글자만 유지 */
@media (max-width: 991px) {
	.pland-topbar .search-main.pland-search-pill input,
	.pland-topbar .search-main.pland-search-pill select {
		font-size: 16px;
	}
}
.pland-topbar .pland-search-vsep {
	flex: 0 0 auto;
	width: 1px;
	height: calc(var(--pland-search-row-h) - 6px);
	min-height: 28px;
	margin: 0 8px 0 6px;
	background: #dadce0;
	border-radius: 1px;
}
.pland-topbar .pland-search-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
	padding-right: 4px;
}
.pland-topbar .pland-search-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--pland-search-icon-sz);
	height: var(--pland-search-icon-sz);
	min-width: var(--pland-search-icon-sz);
	min-height: var(--pland-search-icon-sz);
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: var(--pland-menubar-bg);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, width 0.22s ease, height 0.22s ease, min-width 0.22s ease, min-height 0.22s ease;
}
.pland-topbar .pland-search-icon-btn:hover {
	background: rgba(110, 132, 255, 0.14);
	color: var(--pland-menubar-bg);
}
.pland-topbar .pland-search-icon-btn.expanded {
	background: rgba(110, 132, 255, 0.2);
	color: var(--pland-menubar-bg);
}
.pland-topbar .pland-search-icon-btn--submit {
	background: transparent;
	color: var(--pland-menubar-bg);
}
.pland-topbar .pland-search-icon-btn--submit:hover {
	background: rgba(110, 132, 255, 0.14);
	color: var(--pland-menubar-bg);
	filter: none;
}
.pland-topbar .pland-search-icon-btn--submit.expanded {
	background: rgba(110, 132, 255, 0.2);
	color: var(--pland-menubar-bg);
}
.pland-topbar .pland-search-icon-btn i {
	font-size: 17px;
	line-height: 1;
	pointer-events: none;
	color: inherit;
	transition: font-size 0.22s ease;
}

/* style_dun.css #fetch-button(id 단독)보다 우선 — 메뉴바색 아이콘만 */
.pland-topbar #fetch-button.pland-search-icon-btn--submit {
	background: transparent !important;
	background-color: transparent !important;
	color: var(--pland-menubar-bg) !important;
	border-radius: 50% !important;
	padding: 0 !important;
	font-weight: 600 !important;
	width: var(--pland-search-icon-sz) !important;
	height: var(--pland-search-icon-sz) !important;
	min-width: var(--pland-search-icon-sz) !important;
	min-height: var(--pland-search-icon-sz) !important;
	margin-left: 0 !important;
}
.pland-topbar #fetch-button.pland-search-icon-btn--submit:hover {
	background: transparent !important;
	background-color: rgba(110, 132, 255, 0.14) !important;
	color: var(--pland-menubar-bg) !important;
}

/* 상단바 내 버튼/링크 기본 톤 통일 */
.pland-topbar a,
.pland-topbar button {
	color: var(--pland-topbar-text);
}
.pland-topbar a:hover,
.pland-topbar button:hover {
	color: var(--pland-topbar-text-strong);
}
/* 모험단 드롭다운은 흰 배경 — 위 규칙의 밝은 글자색이 물려와 본문이 사라지지 않게 */
.pland-topbar .dropdown-menu {
	color: #374151;
	background-color: #ffffff;
}
.pland-topbar .dropdown-menu .dropdown-item {
	color: #374151 !important;
}
.pland-topbar .dropdown-menu .dropdown-item:hover,
.pland-topbar .dropdown-menu .dropdown-item:focus {
	color: #111827 !important;
	background-color: #f3f4f6;
}
.pland-topbar .dropdown-menu .dropdown-header {
	color: #6b7280 !important;
}
.pland-topbar .dropdown-menu .dropdown-item i {
	color: #9ca3af !important;
}
/*
 * PC·모바일 공통: sb-admin growIn(scale)가 transform을 쓰고 Popper도 translate3d를 써서
 * 메뉴가 잘못된 곳에 떴다가 모험단 버튼 아래로 재배치되는 현상 방지
 */
.pland-topbar .dropdown-menu.animated--grow-in {
	animation: none !important;
	-webkit-animation: none !important;
	opacity: 1;
}
.pland-topbar .pland-search-icon-btn:hover,
.pland-topbar .pland-search-icon-btn--submit:hover {
	color: var(--pland-menubar-bg);
}

/* 내 모험단: pill보다 한 단계 작게 · 라벨은 보조 톤(입력창보다 연한 회색) */
.pland-topbar .my-adventure-search-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex: 0 0 auto;
	padding: 4px 11px;
	min-height: 0;
	box-sizing: border-box;
	background: #ffffff;
	border: 1px solid var(--pland-search-pill-border);
	color: #6b7280;
	border-radius: 999px;
	font-weight: 500;
	font-size: 12px;
	line-height: 1.25;
	letter-spacing: -0.01em;
	white-space: nowrap;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
	margin-left: 6px !important; /* style_dun margin-left: auto 덮음 · pill–버튼 간격은 이 값만 */
}
.pland-topbar .my-adventure-search-button:hover {
	background: #f9fafb;
	color: #4b5563;
	border-color: #d1d5db;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.07);
}
.pland-topbar .my-adventure-search-button:hover .my-adventure-search-button__icon {
	color: #5c6cdb;
}
.pland-topbar .my-adventure-search-button:active {
	background: #f3f4f6;
	color: #374151;
	border-color: #c7d2fe;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.pland-topbar .my-adventure-search-button:focus-visible {
	outline: 2px solid #8ab4f8;
	outline-offset: 2px;
}
.pland-topbar .my-adventure-search-button__icon {
	font-size: 0.9em;
	line-height: 1;
	opacity: 0.92;
}

/* 가로 메뉴바: 흰 바탕(검색줄과 색 반전) — pland-topbar(1060)보다 위 */
.pland-main-menu-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1080;
	height: var(--pland-menubar-height);
	background: #ffffff;
	/* 검색줄과의 경계는 border 한 줄만(box-shadow와 겹치면 이중 선처럼 보임) */
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	transform: translateY(0);
	opacity: 1;
	transition: transform 0.26s ease, opacity 0.22s ease;
}
/* 모바일 전용 로고(PC에서는 상단바 왼쪽 로고만 사용) */
.pland-main-menu-bar .pland-menu-bar-logo {
	display: none;
	align-items: center;
	flex-shrink: 0;
	margin-right: auto;
	text-decoration: none;
	color: var(--pland-menubar-bg);
	padding: 0 4px 0 0;
}
.pland-main-menu-bar .pland-menu-bar-logo .pland-brand-text {
	font-weight: 900;
	font-size: 17px;
	line-height: 1;
	letter-spacing: 0.02em;
	color: inherit;
}
.pland-main-menu-bar .pland-menu-bar-logo:hover {
	color: #5c6fe8;
	text-decoration: none;
}
.pland-main-menu-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 100%;
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 16px;
}
.pland-main-menu-item {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
}
.pland-main-menu-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 16px 0 18px;
	color: #374151;
	font-weight: 400;
	font-size: 17px;
	letter-spacing: 0.02em;
	text-shadow: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}
/* 드롭다운 있음 표시 — 호버 시 아래로 내려 펼쳐진 메뉴와 연결됨을 표시 */
.pland-main-menu-label::after {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f078";
	font-size: 0.62em;
	margin-left: 0.45em;
	opacity: 0.85;
	line-height: 1;
	display: inline-block;
	transform: translateY(0);
	transition: transform 0.22s ease, opacity 0.2s ease;
}
.pland-main-menu-item:hover .pland-main-menu-label {
	font-weight: 700;
	background: rgba(0, 0, 0, 0.05);
	color: #111827;
}
.pland-main-menu-item:hover .pland-main-menu-label::after {
	opacity: 1;
	transform: translateY(6px);
}
.pland-main-menu-sub {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 280px;
	background: #ffffff;
	border: 1px solid #e8ecf2;
	border-radius: 0;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.08);
	padding: 12px 0;
	z-index: 1085;
}
.pland-main-menu-item:hover .pland-main-menu-sub {
	display: block;
}
.pland-main-menu-sub a,
.pland-main-menu-sub .pland-submenu-btn {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 14px 22px;
	color: #1f2937;
	font-size: 17px;
	font-weight: 400;
	text-decoration: none;
	text-align: left;
	background: none;
	border: 0;
	cursor: pointer;
}
.pland-main-menu-sub a:hover,
.pland-main-menu-sub .pland-submenu-btn:hover {
	background: #f3f4f6;
}
.pland-main-menu-sub a i,
.pland-main-menu-sub .pland-submenu-btn i {
	color: #6b7280;
	width: 1.5em;
	min-width: 1.5em;
	font-size: 1.15em !important;
	line-height: 1;
	text-align: center;
}
/* 모바일: 짧은 흰 메뉴바 + nav 안 로고 / 상단바 로고 숨김 / 모험단만 우측 fixed */
@media (max-width: 991px) {
	:root {
		--pland-menubar-height: 40px;
		/* 검색 한 줄만 — pill+패딩에 맞춘 고정 높이(아래 빈 칸 최소화) */
		/* inner 패딩 + pill + border-bottom 1px 합에 맞춤 */
		--pland-topbar-height: 66px;
		--pland-search-row-h: 36px;
		--pland-search-icon-sz: 34px;
		/* 하단 고정 탭 높이 — 초기값; dun_header.js가 실측(px)으로 덮어써 브라우저·폰트·safe-area 차이 제거 */
		--pland-bottomnav-height: 52px;
	}
	body.pland-header-scrolled {
		--pland-topbar-height: 58px;
	}
	/* 로고 흰 줄 아래 깔개 — z는 메뉴바(1008)보다만 아래, 하단 네비(1045)보다 낮게 */
	body::before {
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		height: var(--pland-menubar-height);
		background-color: #ffffff;
		z-index: 1006;
		pointer-events: none;
	}
	.pland-main-menu-inner {
		display: none !important;
	}
	.pland-main-menu-bar {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		width: 100%;
		min-height: var(--pland-menubar-height);
		height: var(--pland-menubar-height);
		padding: 0 var(--pland-main-gutter-x);
		box-sizing: border-box;
		background-color: #ffffff;
		-webkit-backface-visibility: hidden;
		/* 하단 탭(1045)·글로벌 메뉴(1040)보다 뒤 — 상단 흰 줄이 탭에 덮이지 않게 */
		z-index: 1008;
		/* 전역과 동일: 위로 슬라이드 + 페이드 */
		transition: transform 0.26s ease, opacity 0.22s ease;
	}
	.pland-main-menu-bar .pland-menu-bar-logo {
		display: inline-flex !important;
	}
	.pland-main-menu-bar .pland-menu-bar-logo .pland-brand-text {
		font-size: calc(16px + 2pt);
	}
	.pland-topbar {
		top: var(--pland-menubar-height);
		z-index: 1082;
		transition: top 0.26s ease, height 0.26s ease;
		/* border-bottom 1px이 시각적으로 '아래가 더 넓음'처럼 보임 → 톤만 살짝 줄임(구분은 유지) */
		border-bottom-color: rgba(0, 0, 0, 0.07);
	}
	.desktop-sidebar {
		top: calc(var(--pland-menubar-height) + var(--pland-topbar-height));
		transition: top 0.26s ease;
	}
	.content {
		padding-top: calc(var(--pland-menubar-height) + var(--pland-topbar-height));
		/* 하단 탭 높이는 JS 실측(--pland-bottomnav-height)에 safe-area 포함 → env() 이중 가산 제거 */
		padding-bottom: calc(var(--pland-bottomnav-height) + 12px);
		transition: padding-top 0.26s ease, padding-bottom 0.26s ease;
	}
	.pland-topbar-inner {
		overflow: visible;
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: center;
		align-items: stretch;
		align-content: center;
		box-sizing: border-box;
		height: 100%;
		/* 위·아래 합은 유지(66px 바 안 높이), 위만 살짝 줄여 검색줄이 1px 정도 덜 '아래로 처진' 느낌이 나게 */
		padding: 11px var(--pland-main-gutter-x) 6px;
		gap: 0;
		transition: padding 0.22s ease;
	}
	.header.pland-topbar {
		overflow: visible;
	}
	/* 로고는 .pland-menu-bar-logo (nav 내부)만 사용 */
	.pland-topbar .pland-topbar-left {
		display: none !important;
	}
	/* 메뉴바(1008) 바로 위 레이어 — 하단 네비보다는 뒤(1045) */
	.pland-topbar-right {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		width: auto;
		z-index: 1009;
		height: var(--pland-menubar-height);
		display: flex !important;
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		min-width: 0;
		padding: 0 max(var(--pland-main-gutter-x), env(safe-area-inset-right, 0px)) 0
			var(--pland-main-gutter-x);
		margin: 0;
		background: transparent;
		box-sizing: border-box;
		flex: none;
		gap: 4px;
		flex-shrink: 0;
		box-shadow: none;
		border: none;
		border-radius: 0;
		transform: translateY(0);
		opacity: 1;
		pointer-events: none;
		transition: transform 0.26s ease, opacity 0.22s ease;
	}
	.pland-topbar .pland-topbar-right .nav-item,
	.pland-topbar .pland-topbar-right > .global-menu-btn {
		pointer-events: auto;
	}
	/* 모험단 트리거와 햄버거 사이 세로선 — 흰 바에서 보이도록 */
	.pland-topbar .pland-topbar-right .pland-topbar-right-vsep {
		display: block !important;
		align-self: center;
		height: 56%;
		min-height: 1.1rem;
		background: rgba(15, 23, 42, 0.14);
	}
	/* 흰 메뉴줄 위 고정 — 햄버거 줄은 진한 회색(블루 상단바용 밝은 색 덮어씀) */
	.pland-topbar .pland-topbar-right .global-menu-btn span {
		background: #4b5563;
	}
	.pland-topbar .pland-topbar-right .nav-item {
		margin: 0;
		background: transparent;
		border: none;
		border-radius: 0;
		display: flex;
		justify-content: flex-end;
		flex: 0 0 auto;
		min-width: 0;
		max-width: 100%;
	}
	.pland-topbar .pland-topbar-right .pland-user-trigger {
		margin-left: 0;
		justify-content: flex-end;
		align-items: center;
		text-align: right;
		gap: 8px;
		padding: 4px 0 4px 8px !important;
		min-height: 0;
		background: transparent !important;
		border: none !important;
		box-shadow: none !important;
		border-radius: 0 !important;
	}
	.pland-topbar-center {
		order: 3;
		flex: 0 0 auto;
		width: 100%;
		min-width: 0;
		min-height: 0;
		align-items: center;
		justify-content: flex-start;
	}
	.pland-topbar-search-cluster {
		display: flex;
		flex-direction: row;
		align-items: center;
		flex-wrap: nowrap;
		max-width: 100%;
		width: 100%;
		margin: 0;
		padding: 0;
		gap: 0;
	}
	.pland-topbar-search-cluster .search-container {
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
	}
	.pland-topbar .search-main.pland-search-pill {
		padding: 3px 4px 3px 10px;
		min-height: calc(var(--pland-search-row-h) + 6px);
		flex: 1 1 auto;
		min-width: 0;
		box-sizing: border-box;
		align-items: center;
	}
	.pland-topbar .search-main.pland-search-pill select {
		min-width: 70px;
		max-width: 28vw;
		flex: 0 1 auto;
		padding-left: 2px;
		padding-right: 2px;
	}
	.pland-topbar .search-main.pland-search-pill input {
		min-width: 0;
		flex: 1 1 0;
		padding-left: 4px;
		padding-right: 4px;
	}
	.pland-topbar .pland-search-vsep {
		margin: 0 3px;
		height: calc(var(--pland-search-row-h) - 8px);
		min-height: 22px;
	}
	.pland-topbar .pland-search-icon-btn i {
		font-size: 16px;
	}
	.pland-topbar .my-adventure-search-button {
		display: none !important;
	}
	.pland-topbar .pland-user-trigger:hover {
		background: rgba(0, 0, 0, 0.06);
		border-radius: 10px;
	}
	.pland-topbar .pland-topbar-right .pland-user-trigger:hover {
		background: rgba(0, 0, 0, 0.05) !important;
		border-radius: 8px;
	}
	.pland-topbar .pland-user-trigger .top-adventure-name {
		color: #6b7280;
		max-width: min(38vw, 160px);
		font-size: 11px;
		font-weight: 600;
		margin-right: 0; /* PC용 12px 마진 제거 — gap으로만 간격 */
		min-width: 0;
		transform: translateY(1px);
	}
	.pland-topbar .pland-user-trigger .top-account-icon {
		color: var(--pland-menubar-bg);
		font-size: 22px;
		flex-shrink: 0;
		margin-left: 0;
		margin-right: 4px;
	}
	.pland-topbar .dropdown-menu {
		z-index: 1090;
	}
	body.pland-header-scrolled .pland-topbar-inner {
		justify-content: center;
		padding: 9px var(--pland-main-gutter-x) 5px;
	}
	body.pland-header-scrolled .pland-topbar .search-main.pland-search-pill {
		padding: 2px 4px 2px 8px;
		min-height: calc(var(--pland-search-row-h) + 4px);
	}
}

/* 스크롤 다운 시: 메뉴바 숨김 + 상단바 위·아래 패딩만 축소 (검색 pill/입력/아이콘 크기는 유지) */
body.pland-header-scrolled .pland-main-menu-bar {
	transform: translateY(-100%);
	opacity: 0;
	pointer-events: none;
}
body.pland-header-scrolled .pland-topbar {
	top: 0;
}
body.pland-header-scrolled .content {
	padding-top: var(--pland-topbar-height, 76px);
}
body.pland-header-scrolled .desktop-sidebar {
	top: var(--pland-topbar-height, 76px);
}
/* 모바일 스크롤 시: 로고 흰 nav는 전역과 동일하게 숨김 + 우측 모험단 고정줄도 같이 위로 제거 */
@media (max-width: 991px) {
	body.pland-header-scrolled .pland-topbar .pland-topbar-right {
		transform: translateY(-100%);
		opacity: 0;
		pointer-events: none;
	}
	/* 드롭다운이 열려 있을 때만 우측 줄(모험단 트리거·햄버거) 복구 */
	body.pland-header-scrolled .pland-topbar .pland-topbar-right:has(.dropdown.show) {
		transform: translateY(0) !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}
}
@media (min-width: 992px) {
	body.pland-header-scrolled .pland-topbar-inner {
		padding-top: 2px;
		padding-bottom: 1px;
		padding-left: var(--pland-main-gutter-x);
		padding-right: var(--pland-main-gutter-x);
	}
	body.pland-header-scrolled .pland-topbar .search-main.pland-search-pill {
		padding: 4px 8px 2px 20px;
		min-height: calc(var(--pland-search-row-h) + 6px);
	}
}

/* Compact right links on small screens */
@media (max-width: 768px) {
	.pland-top-link { display: none; }
}

@media (max-width: 484px) {
	.pland-topbar #fetch-button {
		margin-left: 0 !important;
	}
}

/* Desktop fixed sidebar (YouTube-style) */
.desktop-sidebar {
	display: none;
	width: 240px;
	flex: 0 0 240px;
	background: #ffffff;
	border-right: 1px solid #e5e7eb;
	min-height: 100vh;
	position: sticky;
	top: calc(var(--pland-menubar-height) + var(--pland-topbar-height));
	align-self: flex-start;
	z-index: 100;
	transition: top 0.22s ease;
}
.desktop-sidebar-nav {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 12px 10px;
	gap: 14px;
}
.desktop-sidebar-group {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.desktop-sidebar-title {
	font-size: 11px;
	font-weight: 700;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 8px 10px 6px 10px;
}
.desktop-sidebar-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 10px;
	border-radius: 12px;
	color: #374151;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.desktop-sidebar-item[type="button"] {
	background: transparent;
	border: 0;
	width: 100%;
	text-align: left;
	cursor: pointer;
}
.desktop-sidebar-item i {
	width: 18px;
	text-align: center;
	color: #6b7280 !important;
}
.desktop-sidebar-item:hover {
	background: #f3f4f6;
	text-decoration: none;
}
.desktop-sidebar-footer {
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid #eef2f7;
}

/* Desktop: center-content layout, left sidebar hidden */
@media (min-width: 992px) {
	.desktop-sidebar { display: none !important; }
	.content { min-width: 0; }
}

/* 사이드바 토글 기능 */
.sidebar {
	width: 250px;
	transition: all 0.3s ease;
}

.sidebar.toggled {
	width: 0;
	overflow: hidden;
}

/* 모바일에서 사이드바 숨김 */
@media (max-width: 768px) {
	.sidebar {
		position: fixed;
		left: -250px;
		z-index: 1050;
		height: 100vh;
	}
	
	.sidebar.toggled {
		left: 0;
		width: 250px;
	}
	
	.content {
		margin-left: 0;
	}
}

/* 데스크톱에서 사이드바 토글 */
@media (min-width: 769px) {
	.sidebar.toggled {
		width: 0;
	}
	
	.content {
		margin-left: 0;
	}
}

/* 상세검색: 본문 .container 안 상단광고 직전(plandMountDetailsAboveTopAd) — 일반 흐름 */
#details-container.pland-detail-search-region {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	position: relative;
	z-index: 2;
}
#details-container.hidden {
	display: none !important;
}
#details-container:not(.hidden) {
	display: block;
	max-height: min(72vh, 560px);
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	background-color: #f4f6fa;
	padding: 0;
	box-shadow: none;
	border-bottom: none;
}
#details-container:not(.hidden):hover {
	box-shadow: none;
}
#details-container:not(.hidden) > div {
	margin-top: 0;
	border-radius: 0 0 12px 12px;
	border: 1px solid #eaecf4;
	border-top: none;
	border-bottom: none;
	padding-top: 14px;
	background-color: #f8f9fc;
}

@media (prefers-reduced-motion: reduce) {
	.content,
	.pland-topbar,
	.pland-topbar-inner,
	.pland-bottomnav,
	.pland-bottomnav__item,
	.pland-main-menu-bar,
	.pland-topbar .pland-topbar-right,
	.desktop-sidebar,
	.global-side-menu,
	#details-container,
	#details-container.hidden,
	#details-container:not(.hidden),
	.pland-topbar .search-main.pland-search-pill,
	.pland-topbar .search-main.pland-search-pill select,
	.pland-topbar .search-main.pland-search-pill input,
	.pland-topbar .pland-search-icon-btn,
	.pland-topbar .pland-search-icon-btn i {
		transition: none;
	}
}

/* 모바일 하단 네비 — 5칸 균등(직계 자식 5개). space-around는 좌우에 반칸 여백이 생겨 끝이 비어 보임 → flex-start + flex:1로 꽉 채움 */
.pland-bottomnav {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1010; /* 모바일은 아래 @media에서 1045로 — 흰 메뉴바(1008)보다 앞 */
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0;
	/* 상단 8px: 아이콘·라벨을 이전(6px) 대비 2px 아래로 */
	padding: 8px max(2px, env(safe-area-inset-left, 0px)) max(8px, env(safe-area-inset-bottom, 0px))
		max(2px, env(safe-area-inset-right, 0px));
	background: #ffffff;
	border-top: 1px solid #e8eaef;
	box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);
	-webkit-tap-highlight-color: transparent;
}
.pland-bottomnav > * {
	flex: 1 1 0;
	min-width: 0;
}
.pland-bottomnav__item {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	margin: 0;
	padding: 4px 2px;
	border: none;
	background: transparent;
	color: #64748b;
	font-size: 8px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: color 0.15s ease, transform 0.12s ease;
}
/* 호버·포커스만으로는 '열림(파랑)'과 구분 — 닫은 직후 포커스가 남아도 활성처럼 보이지 않게 */
.pland-bottomnav__item:hover:not(.expanded):not([aria-expanded="true"]),
.pland-bottomnav__item:focus-visible:not(.expanded):not([aria-expanded="true"]) {
	color: #475569;
	text-decoration: none;
	outline: none;
}
.pland-bottomnav__item:active {
	transform: scale(0.96);
}
.pland-bottomnav__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	line-height: 1;
	color: inherit;
}
.pland-bottomnav__icon i {
	display: block;
	line-height: 1;
}
.pland-bottomnav__label {
	display: block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	letter-spacing: -0.02em;
}
/* 하단「모험단」: dropup 래퍼 — .pland-bottomnav > * 와 동일 flex( max-width 제거로 끝 빈칸 방지 ) */
.pland-bottomnav-adventure-dd.dropdown {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: stretch;
	min-height: 0;
}
.pland-bottomnav-adventure-dd > .pland-bottomnav__item {
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
	/* 부모가 버튼이었을 때와 동일: 세로 가운데 */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.pland-bottomnav .pland-bottomnav-user-menu {
	z-index: 1060;
	max-height: min(70vh, calc(100vh - 120px));
	overflow-y: auto;
}
/* 상세검색 열림 — common-search syncPlandDetailToggleExpanded(.expanded) */
.pland-bottomnav__item.expanded,
.pland-bottomnav__item.expanded .pland-bottomnav__icon {
	color: var(--pland-menubar-bg);
}
/* 전체 메뉴 열림 — aria-expanded가 단일 기준(dun_header syncGlobalMenuTriggerAria) */
#pland-bottomnav-global-menu[aria-expanded="true"],
#pland-bottomnav-global-menu[aria-expanded="true"] .pland-bottomnav__icon {
	color: var(--pland-menubar-bg);
}
/* 모험단 dropup 열림 — Bootstrap이 .dropdown에 .show 부여 */
.pland-bottomnav-adventure-dd.dropdown.show > .pland-bottomnav__item,
.pland-bottomnav-adventure-dd.dropdown.show > .pland-bottomnav__item .pland-bottomnav__icon {
	color: var(--pland-menubar-bg);
}
@media (max-width: 991px) {
	.pland-bottomnav {
		z-index: 1045;
	}
	/* 열릴 때: 하단 고정 탭(pland-bottomnav 1045)은 가리지 않음 — .global-side-menu에 bottom 여백으로 영역 제한 */
	.global-side-menu.open {
		z-index: 1042;
	}
	/* 글로벌 슬라이드 메뉴 패널 — 모바일에서 폭만 축소(헤더 인라인 300px 덮어씀) */
	.global-side-menu-inner {
		width: 258px !important;
		right: -258px !important;
		/* 패널이 탭 위에서 끊김 — 하단 safe-area는 탭이 담당, 여기서 또 넣으면 빈 줄이 생김 */
		padding: 14px 10px 14px 12px !important;
	}
	.global-side-menu.open .global-side-menu-inner {
		right: 0 !important;
	}
	/* 닫기(X) 제거 — 시스템 뒤로가기(popstate)로 닫기(dun_header.js) */
	.global-side-menu-header {
		display: none !important;
		min-height: 0 !important;
		margin-bottom: 0 !important;
	}
	#globalSideMenuClose,
	.global-side-menu-close {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}
}

@media (min-width: 992px) {
	.pland-bottomnav {
		display: none !important;
	}
	/* PC 슬라이딩 메뉴: 상단 X 제거(닫기는 패널 밖 클릭·햄버거 재클릭·히스토리 뒤로가기) */
	.global-side-menu-header {
		display: none;
		min-height: 0;
		margin-bottom: 0;
	}
}
/*
 * SB Admin 기본 "맨 위" 링크(a.scroll-to-top, fa-angle-up) — sb-admin-2.js가 스크롤 시 띄움.
 * 커스텀 TOP 버튼(.scroll-to-top-btn, util.js)과 겹쳐 보일 수 있어 템플릿 쪽만 끔.
 */
a.scroll-to-top {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

/* 모바일: 커스텀 TOP — 하단 탭 위 + 크기·패딩 축소(네이버/웨일은 util.js에서 버튼 미생성) */
@media (max-width: 991px) {
	.scroll-to-top-btn {
		right: 10px !important;
		bottom: calc(0.75rem + var(--pland-bottomnav-height) + 10px) !important;
		width: 40px !important;
		height: 40px !important;
		min-width: 40px !important;
		min-height: 40px !important;
		padding: 0 !important;
		font-size: 8px !important;
		font-weight: 600;
		gap: 0 !important;
		line-height: 1.1 !important;
		box-shadow: 0 2px 10px rgba(102, 126, 234, 0.32) !important;
		/* 하단 탭(1045)보다 위에서 탭과 겹쳐도 TOP 탭 가능 */
		z-index: 1048 !important;
	}
	.scroll-to-top-btn::before {
		font-size: 11px !important;
		margin-bottom: -3px !important;
	}
}

/* ── 글로벌(햄버거) 사이드 메뉴: 헤더(메뉴바+상단바) 아래만 — 헤더 z-index가 더 높음 */
.global-side-menu {
	position: fixed;
	inset: auto;
	top: calc(var(--pland-menubar-height, 48px) + var(--pland-topbar-height, 100px));
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1040;
	transition: top 0.22s ease;
}
@media (max-width: 991px) {
	.global-side-menu {
		top: calc(var(--pland-menubar-height, 48px) + var(--pland-topbar-height, 100px));
		/* 하단 고정바 높이와 동일 토큰만큼만 띄움 */
		bottom: var(--pland-bottomnav-height);
		transition: top 0.26s ease, bottom 0.26s ease;
	}
}
body.pland-header-scrolled .global-side-menu {
	top: var(--pland-topbar-height, 76px);
}
.global-side-menu .global-side-menu-inner {
	top: 0;
	height: 100%;
}

/*
 * 모달 스택 — 상단바(1060)·메뉴바(1080)·드롭다운(1090)보다 위에 표시
 * (sb-admin 기본 .modal 1050 / .modal-backdrop 1040은 헤더보다 낮음 → layout.css를 sb-admin 뒤에 로드)
 */
.modal-backdrop {
	z-index: 2000 !important;
}
.modal {
	z-index: 2005 !important;
}
/* modal.js 커스텀 확인창(.modal-mail) */
.modal-mail {
	z-index: 2005 !important;
}