:root {
	--bwcc-bg: #101214;
	--bwcc-panel: #181b1f;
	--bwcc-text: #f5f5f2;
	--bwcc-muted: #b8bdc3;
	--bwcc-border: rgba(255,255,255,.13);
	--bwcc-accent: #e7b64a;
	--bwcc-accent-text: #151515;
	--bwcc-radius: 18px;
}

html.bwcc-open { overflow: hidden; }

.bwcc-root[hidden],
.bwcc-settings[hidden],
.bwcc-actions[hidden] { display: none !important; }

.bwcc-root {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: grid;
	place-items: end center;
	padding: 18px;
	font-family: inherit;
}

.bwcc-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.58);
	backdrop-filter: blur(3px);
}

.bwcc-card {
	position: relative;
	width: min(780px, 100%);
	max-height: min(86vh, 760px);
	overflow: auto;
	background: var(--bwcc-bg);
	color: var(--bwcc-text);
	border: 1px solid var(--bwcc-border);
	border-radius: var(--bwcc-radius);
	box-shadow: 0 24px 80px rgba(0,0,0,.42);
	padding: 24px;
}

.bwcc-card__head {
	display: flex;
	gap: 18px;
	justify-content: space-between;
	align-items: flex-start;
}

.bwcc-kicker {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .16em;
	color: var(--bwcc-accent);
}

.bwcc-card h2 {
	margin: 0;
	color: var(--bwcc-text);
	font-size: clamp(22px, 4vw, 30px);
	line-height: 1.15;
}

.bwcc-message {
	color: var(--bwcc-muted);
	line-height: 1.6;
	margin: 16px 0 20px;
}

.bwcc-close {
	border: 0;
	background: transparent;
	color: var(--bwcc-muted);
	font-size: 30px;
	line-height: 1;
	padding: 0 4px;
	cursor: pointer;
}

.bwcc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.bwcc-btn {
	appearance: none;
	border: 1px solid var(--bwcc-border);
	border-radius: 999px;
	padding: 11px 17px;
	font: inherit;
	font-weight: 750;
	cursor: pointer;
	transition: transform .15s ease, opacity .15s ease;
}

.bwcc-btn:hover { transform: translateY(-1px); }
.bwcc-btn:focus-visible { outline: 3px solid rgba(231,182,74,.35); outline-offset: 2px; }

.bwcc-btn--primary {
	background: var(--bwcc-accent);
	border-color: var(--bwcc-accent);
	color: var(--bwcc-accent-text);
}

.bwcc-btn--secondary {
	background: #2b3035;
	color: var(--bwcc-text);
}

.bwcc-btn--ghost {
	background: transparent;
	color: var(--bwcc-text);
}

.bwcc-settings {
	border-top: 1px solid var(--bwcc-border);
	margin-top: 20px;
	padding-top: 4px;
}

.bwcc-category {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 17px 0;
	border-bottom: 1px solid var(--bwcc-border);
	color: var(--bwcc-text);
}

.bwcc-category strong { display: block; margin-bottom: 5px; }
.bwcc-category p { margin: 0; color: var(--bwcc-muted); font-size: 14px; line-height: 1.5; }

.bwcc-always {
	flex: 0 0 auto;
	color: var(--bwcc-accent);
	font-size: 12px;
	font-weight: 800;
}

.bwcc-switch { position: relative; flex: 0 0 auto; }
.bwcc-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bwcc-switch span {
	display: block;
	width: 48px;
	height: 27px;
	border-radius: 99px;
	background: #4a5057;
	position: relative;
	transition: .18s ease;
}
.bwcc-switch span::after {
	content: "";
	position: absolute;
	width: 21px;
	height: 21px;
	top: 3px;
	left: 3px;
	border-radius: 50%;
	background: white;
	transition: .18s ease;
}
.bwcc-switch input:checked + span { background: var(--bwcc-accent); }
.bwcc-switch input:checked + span::after { transform: translateX(21px); }
.bwcc-switch input:focus-visible + span { outline: 3px solid rgba(231,182,74,.35); outline-offset: 3px; }

.bwcc-links {
	display: flex;
	gap: 16px;
	margin-top: 20px;
	font-size: 13px;
}
.bwcc-links a { color: var(--bwcc-muted); text-decoration: underline; }

.bwcc-reopen {
	position: fixed;
	z-index: 2147482000;
	left: 14px;
	bottom: 14px;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 999px;
	padding: 8px 12px;
	background: #171a1d;
	color: #f4f4f1;
	font: inherit;
	font-size: 12px;
	cursor: pointer;
	box-shadow: 0 8px 28px rgba(0,0,0,.22);
}

.bwcc-inline-link {
	border: 0;
	background: none;
	padding: 0;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
	font: inherit;
}

.bwcc-embed {
	min-height: 220px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: #15181b;
	color: #f5f5f2;
	border: 1px solid rgba(255,255,255,.12);
	padding: 24px;
	box-sizing: border-box;
}

.bwcc-embed__placeholder {
	max-width: 560px;
	text-align: center;
}
.bwcc-embed__placeholder p { color: #b8bdc3; line-height: 1.5; }

@media (max-width: 620px) {
	.bwcc-root { padding: 10px; }
	.bwcc-card { padding: 19px; border-radius: 15px; }
	.bwcc-actions { display: grid; grid-template-columns: 1fr; }
	.bwcc-btn { width: 100%; }
	.bwcc-category { align-items: flex-start; gap: 14px; }
	.bwcc-reopen { font-size: 0; width: 42px; height: 42px; padding: 0; }
	.bwcc-reopen span { font-size: 16px; }
}


.bwcc-cookie-declaration {
	margin: 1.5rem 0;
	overflow-x: auto;
}
.bwcc-cookie-declaration table {
	width: 100%;
	border-collapse: collapse;
	min-width: 760px;
	font-size: 14px;
}
.bwcc-cookie-declaration th,
.bwcc-cookie-declaration td {
	text-align: left;
	vertical-align: top;
	padding: 10px 12px;
	border: 1px solid rgba(127,127,127,.25);
}
.bwcc-cookie-declaration th {
	font-weight: 800;
}
.bwcc-cookie-declaration code {
	white-space: nowrap;
}
.bwcc-cookie-declaration__note {
	font-size: 13px;
	opacity: .78;
	margin-top: 10px;
}


.bwcc-audit-button {
	position: fixed;
	right: 14px;
	bottom: 14px;
	z-index: 2147482000;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 999px;
	padding: 8px 12px;
	background: #171a1d;
	color: #f4f4f1;
	font: inherit;
	font-size: 12px;
	cursor: pointer;
	box-shadow: 0 8px 28px rgba(0,0,0,.22);
}
.bwcc-audit-status--floating {
	position: fixed;
	right: 14px;
	bottom: 55px;
	z-index: 2147482000;
	max-width: 320px;
	padding: 7px 10px;
	border-radius: 8px;
	background: rgba(15,18,20,.94);
	color: #fff;
	font-size: 12px;
}
.bwcc-audit-status--floating:empty { display: none; }

@media (max-width: 620px) {
	.bwcc-audit-button {
		right: 10px;
		bottom: 10px;
		font-size: 11px;
	}
}

/* 1.7.1 audit UI fix */
.bwcc-audit-button {
	bottom: 64px !important;
	pointer-events: auto !important;
	z-index: 2147483646 !important;
}
.bwcc-audit-button:hover,
.bwcc-audit-button:focus {
	transform: translateY(-1px);
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
.bwcc-audit-status--floating {
	bottom: 106px !important;
	pointer-events: none;
}
