.lwpc-banner {
	box-sizing: border-box;
	position: fixed;
	right: 0;
	left: 0;
	z-index: 999999;
	padding: 16px;
	color: #1d2327;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.45;
}

.lwpc-banner * {
	box-sizing: border-box;
}

.lwpc-bottom {
	bottom: 0;
}

.lwpc-top {
	top: 0;
}

.lwpc-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	max-width: 1120px;
	margin: 0 auto;
	padding: 16px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.lwpc-main h2 {
	margin: 0 0 8px;
	color: #1d2327;
	font-size: 18px;
	line-height: 1.25;
}

.lwpc-main p,
.lwpc-category p,
.lwpc-gated-notice p {
	margin: 0;
}

.lwpc-links {
	margin-top: 10px;
	font-size: 13px;
}

.lwpc-links a {
	color: #2271b1;
}

.lwpc-actions {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	min-width: 360px;
}

.lwpc-button {
	min-height: 36px;
	padding: 6px 12px;
	border: 1px solid #2271b1;
	border-radius: 3px;
	background: #f6f7f7;
	color: #135e96;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	text-align: center;
}

.lwpc-button:hover,
.lwpc-button:focus {
	border-color: #135e96;
	color: #0a4b78;
}

.lwpc-button-primary {
	background: #2271b1;
	color: #fff;
}

.lwpc-button-primary:hover,
.lwpc-button-primary:focus {
	background: #135e96;
	color: #fff;
}

.lwpc-button-ghost {
	border-color: #8c8f94;
	background: #fff;
	color: #2c3338;
}

.lwpc-preferences {
	grid-column: 1 / -1;
	border-top: 1px solid #dcdcde;
}

.lwpc-category {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 48px;
	gap: 14px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px solid #f0f0f1;
}

.lwpc-category strong {
	display: block;
	margin-bottom: 3px;
}

.lwpc-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
}

.lwpc-switch input {
	width: 1px;
	height: 1px;
	opacity: 0;
}

.lwpc-switch span {
	position: absolute;
	inset: 0;
	border-radius: 24px;
	background: #8c8f94;
	transition: background 120ms ease;
}

.lwpc-switch span::before {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	content: "";
	transition: transform 120ms ease;
}

.lwpc-switch input:checked + span {
	background: #2271b1;
}

.lwpc-switch input:checked + span::before {
	transform: translateX(20px);
}

.lwpc-switch input:disabled + span {
	background: #646970;
	cursor: not-allowed;
	opacity: 0.75;
}

.lwpc-cookie-table {
	width: 100%;
	border-collapse: collapse;
}

.lwpc-cookie-table th,
.lwpc-cookie-table td {
	padding: 10px;
	border: 1px solid #dcdcde;
	text-align: left;
	vertical-align: top;
}

.lwpc-preference-center {
	display: grid;
	gap: 12px;
	max-width: 720px;
	padding: 16px;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	background: #f6f7f7;
}

.lwpc-preference-center p {
	margin: 0;
}

.lwpc-preference-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.lwpc-withdraw-status {
	color: #166534;
	font-weight: 600;
}

.lwpc-floating-preferences {
	box-sizing: border-box;
	position: fixed;
	z-index: 999998;
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid #135e96;
	border-radius: 50%;
	background: #2271b1;
	color: #fff;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
	cursor: pointer;
}

.lwpc-floating-preferences:hover,
.lwpc-floating-preferences:focus {
	background: #135e96;
	color: #fff;
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.lwpc-floating-preferences svg {
	display: block;
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.lwpc-floating-preferences span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.lwpc-floating-bottom_left {
	bottom: 18px;
	left: 18px;
}

.lwpc-floating-bottom_right {
	right: 18px;
	bottom: 18px;
}

.lwpc-floating-top_left {
	top: 18px;
	left: 18px;
}

.lwpc-floating-top_right {
	top: 18px;
	right: 18px;
}

.lwpc-banner-open .lwpc-floating-preferences {
	display: none;
}

.lwpc-gated:not(.lwpc-gated-open) .lwpc-gated-content {
	display: none;
}

.lwpc-gated-notice {
	padding: 14px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #f6f7f7;
}

.lwpc-gated-notice .lwpc-button,
.lwpc-embed-notice .lwpc-button {
	margin-top: 10px;
}

.lwpc-embed {
	display: block;
	width: 100%;
}

.lwpc-embed iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
}

.lwpc-embed-notice {
	display: grid;
	place-items: center;
	min-height: 180px;
	padding: 18px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #f6f7f7;
	text-align: center;
}

.lwpc-policy {
	max-width: 860px;
}

.lwpc-policy h2,
.lwpc-policy h3 {
	margin-top: 1.5em;
}

.lwpc-policy h2:first-child {
	margin-top: 0;
}

@media (max-width: 720px) {
	.lwpc-banner {
		padding: 10px;
	}

	.lwpc-panel {
		grid-template-columns: 1fr;
		padding: 14px;
	}

	.lwpc-actions {
		display: grid;
		grid-template-columns: 1fr;
		min-width: 0;
	}

	.lwpc-button {
		width: 100%;
	}

	.lwpc-preference-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.lwpc-floating-preferences {
		width: 42px;
		height: 42px;
	}

	.lwpc-floating-bottom_left {
		bottom: 12px;
		left: 12px;
	}

	.lwpc-floating-bottom_right {
		right: 12px;
		bottom: 12px;
	}

	.lwpc-floating-top_left {
		top: 12px;
		left: 12px;
	}

	.lwpc-floating-top_right {
		top: 12px;
		right: 12px;
	}
}
