/**
 * Buzz Card — share sheet (ported from the share-popup snippet).
 * Consumes the --dcard-* variable contract (§4.3); fallbacks reproduce the
 * prototype's exact look until the appearance module ships the presets.
 */
#dcard-share-overlay {
	position: fixed; inset: 0; z-index: 100000;
	background: rgba(0,0,0,0.6);
	display: none; align-items: center; justify-content: center;
	opacity: 0; transition: opacity .25s ease;
	padding: 20px;
}
#dcard-share-overlay.open { display: flex; opacity: 1; }
#dcard-share-sheet {
	width: 100%; max-width: 440px;
	background: var(--dcard-surface, #0d0d0d);
	border-radius: 18px;
	border: 2px solid var(--dcard-accent, #ffc41a);
	box-shadow: 0 0 0 1px rgba(255,196,26,0.15), 0 20px 60px rgba(0,0,0,0.5);
	transform: scale(0.92); opacity: 0;
	transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .28s ease;
	max-height: 85vh; overflow-y: auto;
}
#dcard-share-overlay.open #dcard-share-sheet { transform: scale(1); opacity: 1; }
.dcard-share-head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 20px; color: var(--dcard-text, #fff); font-size: 15px; font-weight: 600;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dcard-share-head .dcard-share-close {
	cursor: pointer; font-size: 22px; line-height: 1; color: var(--dcard-muted, #888);
	background: none; border: none; padding: 0 4px;
}
.dcard-share-row {
	display: flex; align-items: center; gap: 0;
	padding: 0; cursor: pointer; color: var(--dcard-text, #fff);
	border-bottom: 1px solid rgba(255,255,255,0.06);
	text-decoration: none; width: 100%;
	font-size: 16px; transition: background .15s ease;
	background: transparent; border-left: none; border-right: none; border-top: none;
	outline: none; box-shadow: none; font-family: inherit; text-align: left;
	-webkit-appearance: none; appearance: none;
	border-radius: 0; margin: 0;
}
.dcard-share-row:hover { background: rgba(255,255,255,0.04); }
.dcard-share-row:last-child { border-bottom: none; }
.dcard-share-ic {
	width: 64px; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	padding: 18px 0; font-size: 20px; color: var(--dcard-text, #fff);
}
.dcard-share-div { width: 1px; align-self: stretch; background: rgba(255,255,255,0.15); margin: 12px 0; }
.dcard-share-label { padding: 18px 20px; color: var(--dcard-text, #fff); }
.dcard-share-toast {
	position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
	background: var(--dcard-accent, #ffc41a); color: var(--dcard-accent-ink, #14141a);
	padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: 14px;
	z-index: 100001; opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.dcard-share-toast.show { opacity: 1; }
