/* 사용자 상세화면 공통 SNS 공유 UI */
.oda-detail-share {
	position: relative;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	width: 100%;
	min-height: 30px;
}
.oda-share-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	overflow: visible;
	background: #fff;
	cursor: pointer;
	transition: opacity .15s;
}
.oda-share-button img {
	display: block;
	width: 30px;
	height: 30px;
	object-fit: cover;
}
.oda-share-button:hover {
	z-index: 20;
	opacity: .82;
}
.oda-share-button:focus-visible {
	z-index: 20;
	outline: 2px solid #5267bd;
	outline-offset: 2px;
}
.oda-share-button::after {
	content: attr(data-share-label);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 7px);
	min-width: max-content;
	padding: 6px 9px;
	border-radius: 4px;
	background: rgba(25, 29, 38, .96);
	box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
	color: #fff;
	font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -.02em;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%) translateY(3px);
	pointer-events: none;
	transition: opacity .15s, transform .15s;
}
.oda-share-button:hover::after,
.oda-share-button:focus-visible::after {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}
.oda-share-x {
	background: #050505;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-weight: 700;
}
.oda-share-link {
	background: #85878c;
	color: #fff;
	font-size: 14px;
}
.oda-share-status {
	position: absolute;
	right: 0;
	top: calc(100% + 7px);
	z-index: 30;
	max-width: 320px;
	padding: 7px 10px;
	border-radius: 4px;
	background: rgba(32, 36, 44, .94);
	color: #fff;
	font-size: 12px;
	line-height: 1.4;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .15s;
}
.oda-share-status.is-visible {
	opacity: 1;
	visibility: visible;
}

@media (max-width: 640px) {
	.oda-detail-share {
		justify-content: flex-start;
	}
	.oda-share-status {
		right: auto;
		left: 0;
		max-width: min(320px, calc(100vw - 80px));
		white-space: normal;
	}
}
