/**
 * 하키러브 공유 브랜드 토큰 + 모드 스위치
 * 커뮤니티(라이믹스) / 오픈하키(Django) 공통
 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
	--hl-ink: #111827;
	--hl-soft: #6B7280;
	--hl-line: #E5E7EB;
	--hl-fog: #F3F5F7;
	--hl-ice: #FFFFFF;
	--hl-blue: #2563EB;
	--hl-red: #DC2626;
	--hl-teal: #0E7C66;
}

body,
#wrapper {
	font-family: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

/* 모드 스위치 */
.hl-mode-switch {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 3px;
	border: 1px solid var(--hl-line);
	background: var(--hl-fog);
	font-size: 13px;
	line-height: 1;
	vertical-align: middle;
	white-space: nowrap;
}
.hl-mode-switch a {
	display: inline-block;
	padding: 7px 12px;
	color: var(--hl-soft) !important;
	font-weight: 700;
	text-decoration: none !important;
	background: transparent;
}
.hl-mode-switch a:hover {
	color: var(--hl-ink) !important;
}
.hl-mode-switch a.on {
	background: var(--hl-ice);
	color: var(--hl-ink) !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.hl-mode-switch a.on.community {
	box-shadow: inset 0 -2px 0 var(--hl-red);
}
.hl-mode-switch a.on.open {
	box-shadow: inset 0 -2px 0 var(--hl-teal);
}

/* 라이믹스 PC: 검색창 왼쪽 */
.hl-mode-search {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 5;
}
.hl-mode-search .global_search_mid {
	position: static !important;
	left: auto !important;
	margin-left: 0 !important;
}
.hl-mode-search .global_search_mid form {
	display: flex !important;
	align-items: center;
	height: auto !important;
}

/* 오픈하키: 브랜딩 줄 */
.hl-mode-inline {
	margin-left: auto;
	flex-shrink: 0;
	align-self: center;
}

@media (max-width: 900px) {
	.hl-mode-search {
		position: static;
		transform: none;
		justify-content: center;
		padding: 6px 0 8px;
		flex-wrap: wrap;
	}
	.hl-mode-switch {
		font-size: 12px;
	}
	.hl-mode-switch a {
		padding: 6px 10px;
	}
}
