.dfcb-wrap,
.dfcb-wrap * {
	box-sizing: border-box;
}

.dfcb-wrap {
	position: fixed;
	z-index: 999998;
	left: 50%;
	bottom: calc(var(--dfcb-offset, 18px) + env(safe-area-inset-bottom, 0px));
	width: min(calc(100% - 28px), var(--dfcb-width, 460px));
	font-family: inherit;
	line-height: 1.2;
	transform: translateX(-50%);
}

.dfcb-bar {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 6px;
	padding: 6px;
	border: 1px solid rgb(255 255 255 / 10%);
	border-radius: var(--dfcb-radius, 999px);
	background: var(--dfcb-bg, #0b0b0b);
	box-shadow: 0 16px 44px rgb(0 0 0 / 32%);
	overflow: hidden;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.dfcb-button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	min-width: 0;
	min-height: 58px;
	padding: 8px 18px;
	border-radius: max(0px, calc(var(--dfcb-radius, 999px) - 6px));
	color: var(--dfcb-text, #fff) !important;
	text-decoration: none !important;
	transition: background-color .22s ease, transform .22s ease;
}

.dfcb-button + .dfcb-button::before {
	position: absolute;
	top: 11px;
	bottom: 11px;
	left: -3.5px;
	width: 1px;
	background: var(--dfcb-divider, #333);
	content: '';
	pointer-events: none;
}

.dfcb-button:hover,
.dfcb-button:focus-visible {
	background: var(--dfcb-hover, #1d1d1d);
	color: var(--dfcb-text, #fff) !important;
	transform: translateY(-1px);
}

.dfcb-icon {
	flex: 0 0 34px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgb(255 255 255 / 9%);
	color: var(--dfcb-text, #fff);
}

.dfcb-line .dfcb-icon {
	background: var(--dfcb-line, #06c755);
}

.dfcb-icon svg {
	display: block;
	width: 21px;
	height: 21px;
}

.dfcb-line .dfcb-icon img {
	display: block;
	width: 22px;
	height: 22px;
	filter: brightness(0) invert(1);
	object-fit: contain;
}

.dfcb-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}

.dfcb-copy strong,
.dfcb-copy small {
	display: block;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.dfcb-copy strong {
	color: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.15;
}

.dfcb-copy small {
	max-width: 125px;
	overflow: hidden;
	color: inherit;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.2;
	opacity: .66;
	text-overflow: ellipsis;
}

@media (min-width: 769px) {
	.dfcb-hide-desktop {
		display: none !important;
	}
}

@media (max-width: 768px) {
	.dfcb-hide-mobile {
		display: none !important;
	}

	.dfcb-wrap {
		bottom: calc(max(10px, var(--dfcb-offset, 18px)) + env(safe-area-inset-bottom, 0px));
		width: min(calc(100% - 20px), var(--dfcb-width, 460px));
	}

	.dfcb-bar {
		gap: 5px;
		padding: 5px;
	}

	.dfcb-button + .dfcb-button::before {
		left: -3px;
	}

	.dfcb-button {
		min-height: 54px;
		padding: 7px 10px;
	}

	.dfcb-icon {
		flex-basis: 31px;
		width: 31px;
		height: 31px;
	}

	.dfcb-copy strong {
		font-size: 13px;
	}

	.dfcb-copy small {
		max-width: 94px;
		font-size: 10px;
	}
}

@media (max-width: 370px) {
	.dfcb-button {
		gap: 7px;
		padding-inline: 7px;
	}

	.dfcb-copy small {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dfcb-button {
		transition: none;
	}
}
