.onf-social-bar {
	box-sizing: border-box;
	position: fixed;
	z-index: 990;
	top: 50%;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 8px 4px;
	border-radius: 0 18px 18px 0;
	background-color: var(--onf-social-tab-background, #2aa837);
	transform: translateY(-50%);
}

.onf-social-floating__toggle {
	display: none;
}

.onf-social-bar a {
	box-sizing: border-box;
	display: flex;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border-radius: 3px;
	transition: background-color 160ms ease;
}

.onf-social-bar a:hover {
	background-color: rgb(255 255 255 / 12%);
}

.onf-social-bar a:focus-visible {
	outline: 2px solid var(--theme-palette-color-8);
	outline-offset: -3px;
}

.onf-social-bar__icon {
	display: block;
	width: 28px;
	height: 28px;
	object-fit: contain;
	transition: transform 160ms ease;
}

.onf-social-bar a:hover .onf-social-bar__icon {
	transform: scale(1.05);
}

@media (max-width: 1024px) {
	.onf-social-bar a {
		width: 38px;
		height: 38px;
	}

	.onf-social-bar__icon {
		width: 25px;
		height: 25px;
	}
}

@media (max-width: 999.98px) {
	.onf-social-floating {
		height: calc(88px + env(safe-area-inset-bottom, 0px));
	}
}

@media (max-width: 767px) {

	.onf-social-floating__toggle {
		box-sizing: border-box;
		position: fixed;
		z-index: 991;
		top: auto;
		right: auto;
		bottom: calc(24px + env(safe-area-inset-bottom, 0px));
		left: calc(16px + env(safe-area-inset-left, 0px));
		display: grid;
		width: 48px;
		height: 48px;
		place-items: center;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background-color: var(--onf-social-tab-background, #2aa837);
		color: var(--theme-palette-color-8);
		cursor: pointer;
		transform: none;
	}

	.onf-social-floating .onf-social-floating__toggle,
	.onf-social-floating .onf-social-floating__toggle:hover,
	.onf-social-floating .onf-social-floating__toggle:focus-visible,
	.onf-social-floating .onf-social-floating__toggle:active {
		background-color: var(--onf-social-tab-background, #2aa837);
	}

	.onf-social-floating__toggle:focus-visible {
		outline: 2px solid var(--theme-palette-color-8);
		outline-offset: -4px;
	}

	.onf-social-bar {
		top: auto;
		right: auto;
		bottom: calc(84px + env(safe-area-inset-bottom, 0px));
		left: calc(16px + env(safe-area-inset-left, 0px));
		flex-direction: column;
		gap: 8px;
		width: 48px;
		max-width: none;
		max-height: calc(100dvh - 108px - env(safe-area-inset-bottom, 0px));
		overflow-x: hidden;
		overflow-y: auto;
		padding: 0;
		border-radius: 0;
		background: transparent;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(16px);
		transition: transform 220ms ease, opacity 220ms ease, visibility 220ms;
	}

	.onf-social-bar a {
		flex: 0 0 42px;
		width: 42px;
		height: 42px;
		border-radius: 50%;
		background-color: var(--onf-social-tab-background, #2aa837);
	}

	.onf-social-bar__icon {
		width: 22px;
		height: 22px;
	}

	.onf-social-bar a:hover {
		background-color: var(--onf-social-tab-background, #2aa837);
		filter: brightness(1.1);
	}

	.onf-social-floating.is-open .onf-social-bar {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.onf-social-bar {
		transition: none;
	}
}
