/* 공유 카드 — 초청장(/)·리플릿(/leaflet/) 공용. 브랜드 색은 브랜드 원(.wj-share-mark) 안에만 */
.wj-share {
	box-sizing: border-box;
	padding: 22px 20px 20px;
	border-radius: 18px;
	background: #ffffff;
	color: #1f1a2b;
	text-align: left;
	font-family: 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

.wj-share *,
.wj-share *::before,
.wj-share *::after {
	box-sizing: border-box;
}

.wj-share-head h2 {
	margin: 0;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.3px;
	color: #1f1a2b;
}

.wj-share-head p {
	margin: 6px 0 0;
	font-size: 14px;
	color: #6b6576;
}

.wj-share-main {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 16px;
}

.wj-share-b {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 14px;
	border: 1px solid #e3e0ea;
	border-radius: 14px;
	background: #f6f5f9;
	color: #1f1a2b;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.wj-share-b:hover {
	background: #efedf4;
}

.wj-share-b:active,
.wj-share-chip:active {
	transform: scale(0.98);
}

.wj-share-b:focus-visible,
.wj-share-chip:focus-visible {
	outline: 2px solid #b85567;
	outline-offset: 2px;
}

.wj-share-ic {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	color: #3a3446;
}

.wj-share-chips {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin-top: 10px;
}

.wj-share-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 72px;
	padding: 8px 4px;
	border: 1px solid #e8e5ee;
	border-radius: 14px;
	background: #ffffff;
	color: #1f1a2b;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.wj-share-chip:hover {
	background: #f8f7fb;
}

.wj-share-mark {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: #ffffff;
}

.wj-share-mark svg {
	display: block;
}

.wj-share-mark.is-kakaotalk { background: #FEE500; color: #191919; }
.wj-share-mark.is-naver { background: #03C75A; }
.wj-share-mark.is-naver svg { transform: scale(.72); }
.wj-share-mark.is-x { background: #000000; }
.wj-share-mark.is-facebook { background: #0866FF; }
.wj-share-mark.is-line { background: #06C755; }
.wj-share-mark.is-line svg,
.wj-share-mark.is-x svg { transform: scale(.82); }

.wj-share-toast {
	position: fixed;
	left: 50%;
	top: 72px;
	z-index: 5000;
	transform: translateX(-50%);
	padding: 11px 20px;
	border-radius: 22px;
	background: rgba(28, 23, 48, 0.94);
	color: #ffffff;
	font-size: 14px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s;
}

.wj-share-toast.on {
	opacity: 1;
}

@media (max-width: 359px) {
	.wj-share { padding: 18px 14px 16px; }
	.wj-share-b { font-size: 15px; gap: 8px; padding: 0 10px; }
	.wj-share-chip { font-size: 12px; }
}
