/* LS 모바일 명함 — 다크 네이비 */
.lsnc {
	--lsnc-bg: #0b1530;
	--lsnc-bg2: #13224a;
	--lsnc-ink: #eef2ff;
	--lsnc-mute: #a9b4d6;
	--lsnc-line: rgba(255, 255, 255, 0.14);
	--lsnc-card: rgba(255, 255, 255, 0.06);
	box-sizing: border-box;
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
	padding: 16px;
	color: var(--lsnc-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: -0.01em;
	-webkit-text-size-adjust: 100%;
}
.lsnc *,
.lsnc *::before,
.lsnc *::after {
	box-sizing: border-box;
}

.lsnc-card {
	position: relative;
	overflow: hidden;
	padding: 40px 22px 24px;
	text-align: center;
	background: radial-gradient(120% 70% at 50% 0%, #1d3270 0%, var(--lsnc-bg2) 40%, var(--lsnc-bg) 100%);
	border: 1px solid var(--lsnc-line);
	border-radius: 28px;
	box-shadow: 0 24px 60px rgba(4, 9, 28, 0.5);
}
.lsnc-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 120px;
	height: 3px;
	transform: translateX(-50%);
	background: var(--lsnc-accent);
	border-radius: 0 0 4px 4px;
	opacity: 0.9;
}

/* 로고 */
.lsnc .lsnc-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 104px;
	margin: 0 auto 18px;
	padding: 4px;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--lsnc-accent), rgba(255, 255, 255, 0.18));
	box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04), 0 10px 30px rgba(0, 0, 0, 0.35);
}
.lsnc .lsnc-logo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border-radius: 50%;
	object-fit: cover;
	background: var(--lsnc-bg);
}
.lsnc .lsnc-initial {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: var(--lsnc-bg);
	color: var(--lsnc-accent);
	font-size: 40px;
	font-weight: 700;
	text-transform: uppercase;
}

/* 텍스트 */
.lsnc .lsnc-name {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--lsnc-ink);
	word-break: keep-all;
	overflow-wrap: anywhere;
}
.lsnc .lsnc-title {
	margin-top: 6px;
	font-size: 15px;
	font-weight: 600;
	color: var(--lsnc-accent);
}
.lsnc .lsnc-tagline {
	margin: 12px auto 0;
	max-width: 30em;
	font-size: 15px;
	line-height: 1.6;
	color: var(--lsnc-mute);
	word-break: keep-all;
}

/* 전화 / 문자 / 이메일 */
.lsnc .lsnc-actions {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 10px;
	margin-top: 28px;
}
.lsnc .lsnc-act {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 76px;
	padding: 12px 6px;
	color: var(--lsnc-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	background: var(--lsnc-card);
	border: 1px solid var(--lsnc-line);
	border-radius: 18px;
	box-shadow: none;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.lsnc .lsnc-act .lsnc-ico {
	color: var(--lsnc-accent);
}

/* QR / 카카오 공유 */
.lsnc .lsnc-sub {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	gap: 10px;
	margin-top: 10px;
}
.lsnc .lsnc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	margin: 0;
	padding: 0 12px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	color: var(--lsnc-ink);
	background: var(--lsnc-card);
	border: 1px solid var(--lsnc-line);
	border-radius: 16px;
	box-shadow: none;
	text-transform: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: transform 0.15s ease, background 0.15s ease;
}
.lsnc .lsnc-btn .lsnc-ico {
	color: var(--lsnc-accent);
}
.lsnc .lsnc-btn.lsnc-kakao {
	color: #191919;
	background: #fee500;
	border-color: #fee500;
}
.lsnc .lsnc-btn.lsnc-kakao .lsnc-ico {
	color: #191919;
}

/* 사이트 링크 */
.lsnc .lsnc-links {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	text-align: left;
}
.lsnc .lsnc-links li {
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}
.lsnc .lsnc-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 56px;
	padding: 10px 16px;
	color: var(--lsnc-ink);
	text-decoration: none;
	background: var(--lsnc-card);
	border: 1px solid var(--lsnc-line);
	border-radius: 16px;
	box-shadow: none;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.lsnc .lsnc-link-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.lsnc .lsnc-link-label {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
}
.lsnc .lsnc-link-host {
	margin-top: 2px;
	font-size: 12.5px;
	line-height: 1.3;
	color: var(--lsnc-mute);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.lsnc .lsnc-links .lsnc-ico {
	flex: none;
	width: 18px;
	height: 18px;
	color: var(--lsnc-mute);
}

/* 상호작용 */
.lsnc a:focus-visible,
.lsnc button:focus-visible {
	outline: 2px solid var(--lsnc-accent);
	outline-offset: 2px;
}
@media (hover: hover) {
	.lsnc .lsnc-act:hover,
	.lsnc .lsnc-btn:hover,
	.lsnc .lsnc-links a:hover {
		background: rgba(255, 255, 255, 0.11);
		border-color: rgba(255, 255, 255, 0.28);
		transform: translateY(-1px);
	}
	.lsnc .lsnc-btn.lsnc-kakao:hover {
		background: #ffec3d;
		border-color: #ffec3d;
	}
}
.lsnc .lsnc-act:active,
.lsnc .lsnc-btn:active,
.lsnc .lsnc-links a:active {
	transform: scale(0.98);
}

/* QR 대화상자 */
.lsnc .lsnc-dialog {
	position: fixed;
	inset: 0;
	margin: auto;
	width: min(92vw, 360px);
	max-height: 92vh;
	overflow: auto;
	padding: 24px 22px 22px;
	color: #0b1530;
	text-align: center;
	background: #fff;
	border: 0;
	border-radius: 24px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	font-family: inherit;
}
.lsnc .lsnc-dialog::backdrop {
	background: rgba(5, 10, 30, 0.72);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.lsnc .lsnc-x {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	color: #0b1530;
	background: transparent;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}
.lsnc .lsnc-x:hover {
	background: rgba(11, 21, 48, 0.07);
}
.lsnc .lsnc-dialog-title {
	margin: 0 0 14px;
	font-size: 17px;
	font-weight: 700;
	color: #0b1530;
}
.lsnc .lsnc-qr-canvas {
	display: block;
	width: 100%;
	max-width: 280px;
	height: auto;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	border: 1px solid #e3e7f3;
	border-radius: 12px;
}
.lsnc .lsnc-qr-url {
	margin: 12px 0 0;
	font-size: 12.5px;
	line-height: 1.4;
	color: #56608a;
	word-break: break-all;
}
.lsnc .lsnc-dialog-btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 16px;
}
.lsnc .lsnc-dbtn {
	min-height: 48px;
	margin: 0;
	padding: 0 10px;
	font: inherit;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background: #0b1530;
	border: 1.5px solid #0b1530;
	border-radius: 14px;
	box-shadow: none;
	text-transform: none;
	cursor: pointer;
}
.lsnc .lsnc-dbtn.lsnc-dbtn-ghost {
	color: #0b1530;
	background: #fff;
}
.lsnc .lsnc-dialog button:focus-visible {
	outline: 2px solid #0b1530;
	outline-offset: 2px;
}

/* 토스트 */
.lsnc .lsnc-toast {
	position: fixed;
	left: 50%;
	bottom: max(24px, env(safe-area-inset-bottom));
	z-index: 2147483000;
	max-width: min(92vw, 380px);
	padding: 12px 18px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.4;
	color: #0b1530;
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 12px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.lsnc .lsnc-toast.is-on {
	opacity: 1;
	transform: translate(-50%, 0);
}

@media (max-width: 360px) {
	.lsnc {
		padding: 10px;
	}
	.lsnc-card {
		padding: 34px 16px 20px;
	}
	.lsnc .lsnc-name {
		font-size: 23px;
	}
	.lsnc .lsnc-btn {
		gap: 6px;
		padding: 0 8px;
		font-size: 14px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.lsnc *,
	.lsnc *::before,
	.lsnc *::after {
		transition: none !important;
	}
}
