.kconsent {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 10001;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: min(320px, calc(100vw - 32px));
	box-sizing: border-box;
	padding: 16px 16px 0;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	font-family: var(--sans, Inter, -apple-system, sans-serif);
	color: #0a0a0a;
	animation: kconsent-in 160ms ease-out;
}

.kconsent-body {
	padding: 0;
	text-align: center;
}

.kconsent-body h2 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	color: #0a0a0a;
}

.kconsent-body p {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: #737373;
	text-wrap: balance;
}

.kconsent-body a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.kconsent-foot {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 0 -16px 0;
	padding: 16px;
	background: #fafafa;
	border-top: 1px solid #e5e5e5;
	border-radius: 0 0 12px 12px;
}

.kconsent-foot button {
	height: 32px;
	padding: 0 10px;
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
}

.kconsent-decline {
	background: #fff;
	color: #0a0a0a;
	border: 1px solid #e5e5e5;
}

.kconsent-accept {
	background: #0a0a0a;
	color: #fff;
	border: 1px solid #0a0a0a;
}

.kconsent-form {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	box-sizing: border-box;
	width: 100%;
	min-height: 534px;
	padding: 24px;
	text-align: center;
	text-wrap: balance;
	font-family: var(--sans, Inter, -apple-system, sans-serif);
}

.kconsent-form-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	max-width: 24rem;
}

.kconsent-form-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin-bottom: 8px;
	border-radius: 8px;
	background: #f5f5f5;
	color: #0a0a0a;
}

.kconsent-form-icon svg {
	display: block;
}

.kconsent-form-title {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.3;
	color: #0a0a0a;
}

.kconsent-form-description {
	font-size: 14px;
	line-height: 1.625;
	color: #737373;
}

.kconsent-form-description a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.kconsent-form-description a:hover {
	color: #0a0a0a;
}

.kconsent-form-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 24rem;
}

.kconsent-form button {
	height: 32px;
	padding: 0 10px;
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
}

.kconsent-reopen {
	padding: 0;
	background: none;
	border: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
}

.kconsent-reopen:hover {
	color: #fff;
}

.kconsent-reopen:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	border-radius: 2px;
}

@keyframes kconsent-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
	.kconsent-form { min-height: 696px; }
}

@media (max-width: 480px) {
	.kconsent {
		right: 16px;
		bottom: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kconsent { animation: none; }
}
