.kklv-quick {
	--kklv-quick-bg: #f59f34;
	--kklv-quick-color: #291700;
	--kklv-quick-size: 60px;
	--kklv-quick-x: 24px;
	--kklv-quick-bottom: 24px;
	--kklv-quick-mobile-size: 58px;
	--kklv-quick-mobile-x: 16px;
	--kklv-quick-mobile-bottom: 16px;
	--kklv-quick-border: #dedfe3;
	--kklv-quick-ink: #202124;
	--kklv-quick-muted: #686a70;
	position: fixed;
	z-index: 9998;
	pointer-events: none;
	font-family: inherit;
}

.kklv-quick *,
.kklv-quick *::before,
.kklv-quick *::after {
	box-sizing: border-box;
}

.kklv-quick [hidden] {
	display: none !important;
}

.kklv-quick .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.kklv-quick__trigger {
	position: fixed;
	bottom: calc(var(--kklv-quick-bottom) + env(safe-area-inset-bottom, 0px));
	display: inline-flex;
	min-width: var(--kklv-quick-size);
	height: var(--kklv-quick-size);
	padding: 0 20px;
	gap: 9px;
	align-items: center;
	justify-content: center;
	color: var(--kklv-quick-color);
	background: var(--kklv-quick-bg);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 10px 30px rgba(18, 18, 18, 0.25);
	font: inherit;
	font-size: 15px;
	font-weight: 750;
	line-height: 1;
	cursor: pointer;
	pointer-events: auto;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.kklv-quick--right .kklv-quick__trigger,
.kklv-quick--right .kklv-quick__panel {
	right: var(--kklv-quick-x);
}

.kklv-quick--left .kklv-quick__trigger,
.kklv-quick--left .kklv-quick__panel {
	left: var(--kklv-quick-x);
}

.kklv-quick--display-icon .kklv-quick__trigger {
	width: var(--kklv-quick-size);
	padding: 0;
}

.kklv-quick--display-text .kklv-quick__trigger-icon {
	display: none;
}

.kklv-quick__trigger:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(18, 18, 18, 0.3);
}

.kklv-quick__trigger:focus-visible,
.kklv-quick button:focus-visible,
.kklv-quick a:focus-visible,
.kklv-quick [tabindex="-1"]:focus-visible {
	outline: 3px solid #8f4800;
	outline-offset: 3px;
}

.kklv-quick svg {
	display: block;
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.kklv-quick__backdrop {
	position: fixed;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	background: rgba(20, 20, 20, 0.16);
	border: 0;
	opacity: 0;
	pointer-events: auto;
	transition: opacity 180ms ease;
}

.kklv-quick.is-open .kklv-quick__backdrop {
	opacity: 1;
}

.kklv-quick__panel {
	position: fixed;
	bottom: calc(var(--kklv-quick-bottom) + var(--kklv-quick-size) + 14px + env(safe-area-inset-bottom, 0px));
	z-index: 2;
	width: min(390px, calc(100vw - 32px));
	max-height: min(650px, calc(100vh - 120px));
	overflow: hidden;
	color: var(--kklv-quick-ink);
	background: #fff;
	border: 1px solid var(--kklv-quick-border);
	border-radius: 18px;
	box-shadow: 0 22px 60px rgba(18, 18, 18, 0.25);
	opacity: 0;
	transform: translateY(10px) scale(0.98);
	transform-origin: bottom right;
	pointer-events: auto;
	transition: opacity 180ms ease, transform 180ms ease;
}

.kklv-quick--left .kklv-quick__panel {
	transform-origin: bottom left;
}

.kklv-quick.is-open .kklv-quick__panel {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.kklv-quick__header {
	display: flex;
	padding: 20px 20px 17px;
	gap: 18px;
	align-items: flex-start;
	justify-content: space-between;
	background: linear-gradient(135deg, #fff 0%, color-mix(in srgb, var(--kklv-quick-bg) 13%, white) 100%);
	border-bottom: 1px solid var(--kklv-quick-border);
}

.kklv-quick__header p {
	margin: 0 0 4px;
	color: #9a5200;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.07em;
	line-height: 1.2;
	text-transform: uppercase;
}

.kklv-quick__header h2 {
	margin: 0;
	color: var(--kklv-quick-ink);
	font-size: 22px;
	font-weight: 750;
	line-height: 1.25;
}

.kklv-quick__close {
	display: inline-flex;
	width: 40px;
	height: 40px;
	padding: 0;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	color: var(--kklv-quick-ink);
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid var(--kklv-quick-border);
	border-radius: 50%;
	cursor: pointer;
}

.kklv-quick__body {
	max-height: min(520px, calc(100vh - 220px));
	padding: 20px;
	overflow: auto;
	overscroll-behavior: contain;
}

.kklv-quick__step {
	animation: kklv-quick-enter 180ms ease both;
}

.kklv-quick__message {
	margin: 0 0 15px;
	color: var(--kklv-quick-ink);
	font-size: 18px;
	font-weight: 750;
	line-height: 1.35;
}

.kklv-quick__selection {
	display: inline-flex;
	margin: 8px 0 14px;
	padding: 7px 10px;
	color: #744000;
	background: color-mix(in srgb, var(--kklv-quick-bg) 16%, white);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 750;
}

.kklv-quick__choices {
	display: grid;
	gap: 9px;
}

.kklv-quick__choice {
	display: flex;
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	color: var(--kklv-quick-ink);
	background: #fff;
	border: 1px solid var(--kklv-quick-border);
	border-radius: 11px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.kklv-quick__choice:hover {
	color: var(--kklv-quick-ink);
	background: color-mix(in srgb, var(--kklv-quick-bg) 9%, white);
	border-color: color-mix(in srgb, var(--kklv-quick-bg) 70%, #806000);
	transform: translateY(-1px);
}

.kklv-quick__choice svg {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.kklv-quick__back {
	display: inline-flex;
	min-height: 40px;
	margin: -5px 0 2px;
	padding: 7px 3px;
	gap: 5px;
	align-items: center;
	color: var(--kklv-quick-muted);
	background: transparent;
	border: 0;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.kklv-quick__back svg {
	width: 17px;
	height: 17px;
}

@keyframes kklv-quick-enter {
	from { opacity: 0; transform: translateX(6px); }
	to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 781px) {
	.kklv-quick--devices-desktop {
		display: none;
	}

	.kklv-quick__trigger {
		bottom: calc(var(--kklv-quick-mobile-bottom) + env(safe-area-inset-bottom, 0px));
		min-width: var(--kklv-quick-mobile-size);
		height: var(--kklv-quick-mobile-size);
		padding-right: 17px;
		padding-left: 17px;
	}

	.kklv-quick--display-icon .kklv-quick__trigger {
		width: var(--kklv-quick-mobile-size);
	}

	.kklv-quick--right .kklv-quick__trigger { right: var(--kklv-quick-mobile-x); }
	.kklv-quick--left .kklv-quick__trigger { left: var(--kklv-quick-mobile-x); }

	.kklv-quick__panel,
	.kklv-quick--right .kklv-quick__panel,
	.kklv-quick--left .kklv-quick__panel {
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		max-height: min(82vh, 720px);
		padding-bottom: env(safe-area-inset-bottom, 0px);
		border-width: 1px 0 0;
		border-radius: 20px 20px 0 0;
		transform: translateY(24px);
		transform-origin: bottom center;
	}

	.kklv-quick.is-open .kklv-quick__panel {
		transform: translateY(0);
	}

	.kklv-quick__body {
		max-height: calc(82vh - 92px - env(safe-area-inset-bottom, 0px));
	}
}

@media (min-width: 782px) {
	.kklv-quick--devices-mobile {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kklv-quick *,
	.kklv-quick *::before,
	.kklv-quick *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
	.kklv-quick__header,
	.kklv-quick__choice:hover,
	.kklv-quick__selection {
		background: #fff8ef;
	}
}
