/* ==========================================================================
   ALLTAGSFUCHS – EDITORIAL SHARE SHEET
   ========================================================================== */

body.af-share-sheet-open {
	overflow: hidden;
}

/* Trigger im Artikelkopf */
.sp-share-toggle {
	width: 42px !important;
	height: 42px !important;
	background: #fff !important;
	border: 1px solid #d8d8d5 !important;
	border-radius: 50% !important;
	color: #171717 !important;
	transition:
		background .15s ease,
		border-color .15s ease,
		color .15s ease !important;
}

.sp-share-toggle:hover,
.sp-share-toggle:focus-visible,
.sp-share-toggle[aria-expanded="true"] {
	background: #171717 !important;
	border-color: #171717 !important;
	outline: none;
}

.sp-share-toggle svg path {
	fill: #171717 !important;
	transition: fill .15s ease;
}

.sp-share-toggle:hover svg path,
.sp-share-toggle:focus-visible svg path,
.sp-share-toggle[aria-expanded="true"] svg path {
	fill: #fff !important;
}

/* Backdrop */
.sp-share-overlay.af-share-sheet {
	position: fixed !important;
	inset: 0 !important;
	z-index: 100000 !important;
	display: none !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 24px !important;
	background: rgba(15,15,15,.58) !important;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.sp-share-overlay.af-share-sheet.active {
	display: flex !important;
}

/* Panel */
.af-share-sheet__panel {
	width: min(100%, 450px) !important;
	max-width: 450px !important;
	overflow: hidden !important;
	background: #fff !important;
	border: 1px solid rgba(255,255,255,.45) !important;
	border-radius: 16px !important;
	box-shadow: 0 28px 80px rgba(0,0,0,.24) !important;
	outline: none;
}

/* Header */
.af-share-sheet__header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 24px;
	padding: 22px 22px 17px !important;
	border: 0 !important;
}

.af-share-sheet__heading {
	min-width: 0;
}

.af-share-sheet__eyebrow {
	display: block;
	margin-bottom: 4px;
	color: #7b7b78;
	font-size: 9px;
	font-weight: 850;
	letter-spacing: .14em;
	line-height: 1.2;
	text-transform: uppercase;
}

.af-share-sheet__heading h2 {
	margin: 0 !important;
	padding: 0 !important;
	color: #171717 !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.55rem !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	letter-spacing: -.015em;
}

.af-share-sheet__heading h2::after {
	content: none !important;
}

.af-share-sheet__close {
	flex: 0 0 38px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0 !important;
	background: #f3f3f0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	color: #242424 !important;
	cursor: pointer;
	opacity: 1 !important;
	transition: background .15s ease, color .15s ease !important;
}

.af-share-sheet__close:hover,
.af-share-sheet__close:focus-visible {
	background: #171717 !important;
	color: #fff !important;
	outline: none;
}

.af-share-sheet__close svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
}

/* Plattformen */
.af-share-sheet__grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px !important;
	padding: 4px 18px 18px !important;
}

.af-share-sheet__item {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 12px;
	min-height: 56px;
	padding: 9px 12px !important;
	background: #fff;
	border: 1px solid #e5e5e2;
	border-radius: 10px !important;
	color: #252525 !important;
	text-decoration: none !important;
	transition:
		background .15s ease,
		border-color .15s ease,
		color .15s ease,
		transform .15s ease !important;
}

.af-share-sheet__item:hover,
.af-share-sheet__item:focus-visible {
	background: #f5f5f2 !important;
	border-color: #cececa;
	color: #111 !important;
	transform: translateY(-1px);
	outline: none;
}

.af-share-sheet__item-icon {
	flex: 0 0 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: #f3f3f0;
	border-radius: 50%;
	color: #242424;
	transition: background .15s ease, color .15s ease;
}

.af-share-sheet__item:hover .af-share-sheet__item-icon,
.af-share-sheet__item:focus-visible .af-share-sheet__item-icon {
	background: #171717;
	color: #fff;
}

.af-share-sheet__item-icon svg {
	display: block;
	color: currentColor;
}

.af-share-sheet__item-icon .af-share-brand-icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
	stroke: none;
}

.af-share-sheet__item-icon .af-share-ui-icon {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}


.af-share-sheet__item-name {
	font-size: 13px;
	font-weight: 720;
}

/* Copy-Aktion */
.af-share-sheet__copy {
	display: block !important;
	padding: 16px 18px 18px !important;
	background: #f5f5f2;
	border-top: 1px solid #e2e2df !important;
}

.af-share-sheet__copy-btn {
	display: grid !important;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	align-items: center;
	gap: 11px;
	width: 100%;
	padding: 9px 10px !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 9px !important;
	color: #1c1c1c !important;
	text-align: left;
	cursor: pointer;
	user-select: none;
	filter: none !important;
	transition: background .15s ease !important;
}

.af-share-sheet__copy-btn:hover,
.af-share-sheet__copy-btn:focus-visible {
	background: #fff !important;
	outline: none;
}

.af-share-sheet__copy-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: #171717;
	border-radius: 9px;
	color: #fff;
}

.af-share-sheet__copy-icon svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	shape-rendering: geometricPrecision;
}

.af-share-sheet__copy-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.af-share-sheet__copy-text strong {
	color: #202020;
	font-size: 12.5px;
	font-weight: 780;
	line-height: 1.25;
}

.af-share-sheet__copy-text small {
	overflow: hidden;
	color: #80807c;
	font-size: 10.5px;
	font-weight: 520;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.af-share-sheet__copy-action {
	color: #555552;
	font-size: 11px;
	font-weight: 750;
}

.af-share-sheet__copy-btn.is-copied .af-share-sheet__copy-icon {
	background: #ff7518;
}

.af-share-sheet__copy-btn.is-copied .af-share-sheet__copy-action {
	color: #ff7518;
}

/* Mobil: echtes Bottom-Sheet */
@media (max-width: 600px) {
	.sp-share-overlay.af-share-sheet {
		align-items: flex-end !important;
		padding: 12px !important;
	}

	.af-share-sheet__panel {
		width: 100% !important;
		max-width: none !important;
		border-radius: 16px !important;
	}

	.af-share-sheet__header {
		padding: 19px 18px 14px !important;
	}

	.af-share-sheet__heading h2 {
		font-size: 1.4rem !important;
	}

	.af-share-sheet__grid {
		padding: 3px 14px 14px !important;
	}

	.af-share-sheet__item {
		min-height: 51px;
		padding: 8px 10px !important;
	}

	.af-share-sheet__copy {
		padding: 13px 14px 15px !important;
	}
}

@media (max-width: 360px) {
	.af-share-sheet__grid {
		grid-template-columns: 1fr;
	}

	.af-share-sheet__item {
		min-height: 48px;
	}
}

/* Dark Mode */
html.dark-mode .af-share-sheet__panel {
	background: #1a1a1a !important;
	border-color: #303030 !important;
}

html.dark-mode .af-share-sheet__heading h2 {
	color: #f3f3f3 !important;
}

html.dark-mode .af-share-sheet__eyebrow {
	color: #929292;
}

html.dark-mode .af-share-sheet__close,
html.dark-mode .af-share-sheet__item-icon {
	background: #292929 !important;
	color: #e5e5e5 !important;
}

html.dark-mode .af-share-sheet__close:hover,
html.dark-mode .af-share-sheet__close:focus-visible,
html.dark-mode .af-share-sheet__item:hover .af-share-sheet__item-icon,
html.dark-mode .af-share-sheet__item:focus-visible .af-share-sheet__item-icon {
	background: #f1f1f1 !important;
	color: #111 !important;
}

html.dark-mode .af-share-sheet__item {
	background: #1a1a1a !important;
	border-color: #343434 !important;
	color: #e8e8e8 !important;
}

html.dark-mode .af-share-sheet__item:hover,
html.dark-mode .af-share-sheet__item:focus-visible {
	background: #242424 !important;
	border-color: #444 !important;
	color: #fff !important;
}

html.dark-mode .af-share-sheet__copy {
	background: #202020 !important;
	border-top-color: #343434 !important;
}

html.dark-mode .af-share-sheet__copy-btn:hover,
html.dark-mode .af-share-sheet__copy-btn:focus-visible {
	background: #292929 !important;
}

html.dark-mode .af-share-sheet__copy-text strong {
	color: #f0f0f0;
}

html.dark-mode .af-share-sheet__copy-text small,
html.dark-mode .af-share-sheet__copy-action {
	color: #a0a0a0;
}

html.dark-mode .sp-share-toggle {
	background: transparent !important;
	border-color: #444 !important;
}

html.dark-mode .sp-share-toggle svg path {
	fill: #ddd !important;
}

html.dark-mode .sp-share-toggle:hover,
html.dark-mode .sp-share-toggle:focus-visible,
html.dark-mode .sp-share-toggle[aria-expanded="true"] {
	background: #f2f2f2 !important;
	border-color: #f2f2f2 !important;
}

html.dark-mode .sp-share-toggle:hover svg path,
html.dark-mode .sp-share-toggle:focus-visible svg path,
html.dark-mode .sp-share-toggle[aria-expanded="true"] svg path {
	fill: #111 !important;
}

@media (prefers-reduced-motion: reduce) {
	.sp-share-toggle,
	.af-share-sheet__close,
	.af-share-sheet__item,
	.af-share-sheet__item-icon,
	.af-share-sheet__copy-btn {
		transition: none !important;
		transform: none !important;
	}
}