.hccm-root,
.hccm-root * {
	box-sizing: border-box;
}

.hccm-root[hidden],
.hccm-root [hidden] {
	display: none !important;
}

.hccm-root {
	--hccm-text: #f7f7f2;
	--hccm-muted: rgba(247, 247, 242, 0.74);
	--hccm-line: rgba(255, 255, 255, 0.12);
	position: fixed;
	z-index: 2147483000;
	right: 22px;
	bottom: 22px;
	width: min(var(--hccm-width, 390px), calc(100vw - 44px));
	color: var(--hccm-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 14px;
	line-height: 1.55;
}

.hccm-root--bottom-left {
	right: auto;
	left: 22px;
}

.hccm-banner,
.hccm-preferences {
	position: relative;
	overflow: hidden;
	width: 100%;
	border: 1px solid var(--hccm-line);
	border-radius: 11px;
	background: rgba(3, 9, 7, var(--hccm-glass-opacity, 0.72));
	background:
		radial-gradient(circle at 92% 0%, color-mix(in srgb, var(--hccm-accent) 10%, transparent), transparent 42%),
		linear-gradient(145deg, rgba(0, 255, 136, 0.025), rgba(19, 5, 24, 0.035)),
		rgba(3, 9, 7, var(--hccm-glass-opacity, 0.72));
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	-webkit-backdrop-filter: blur(20px) saturate(125%);
	backdrop-filter: blur(20px) saturate(125%);
}

.hccm-banner::before,
.hccm-preferences::before {
	position: absolute;
	top: 0;
	left: 18px;
	width: 58px;
	height: 1px;
	background: var(--hccm-accent);
	box-shadow: 0 0 12px color-mix(in srgb, var(--hccm-accent) 65%, transparent);
	content: "";
}

.hccm-banner {
	padding: 18px;
	animation: hccm-rise 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hccm-eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	color: var(--hccm-accent);
	font-size: 9px;
	font-weight: 750;
	letter-spacing: 0.16em;
	line-height: 1.2;
}

.hccm-pulse {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--hccm-accent) 15%, transparent);
}

.hccm-banner h2,
.hccm-preferences h2 {
	margin: 0;
	color: var(--hccm-text);
	font-family: inherit;
	font-size: clamp(20px, 4.5vw, 24px);
	font-weight: 680;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

.hccm-banner > p {
	margin: 10px 0 7px;
	color: var(--hccm-muted);
	font-size: 12px;
	line-height: 1.5;
}

.hccm-legal-link {
	display: inline-flex;
	margin: 0 0 14px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 10px;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.28);
	text-underline-offset: 3px;
}

.hccm-legal-link:hover,
.hccm-legal-link:focus-visible {
	color: var(--hccm-accent);
}

.hccm-actions,
.hccm-preferences__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
}

.hccm-button,
.hccm-reset,
.hccm-inline-manage,
.hccm-embed-placeholder button {
	appearance: none;
	border: 0;
	font: inherit;
	cursor: pointer;
}

.hccm-button {
	min-height: 36px;
	padding: 7px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.hccm-button:active {
	transform: translateY(1px);
}

.hccm-button:focus-visible,
.hccm-close:focus-visible,
.hccm-reset:focus-visible,
.hccm-embed-placeholder button:focus-visible {
	outline: 2px solid var(--hccm-accent);
	outline-offset: 2px;
}

.hccm-button--choice {
	border: 1px solid rgba(255, 255, 255, 0.23);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.hccm-button--choice:hover {
	border-color: rgba(255, 255, 255, 0.42);
	background: rgba(255, 255, 255, 0.14);
}

.hccm-button--customize {
	grid-column: 1 / -1;
	min-height: 29px;
	padding-block: 5px;
	background: transparent;
	color: var(--hccm-muted);
	font-size: 10px;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.28);
	text-underline-offset: 3px;
}

.hccm-button--customize:hover {
	color: var(--hccm-accent);
}

.hccm-preferences {
	max-height: min(720px, calc(100vh - 44px));
	padding: 18px;
	overflow-y: auto;
	animation: hccm-rise 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.hccm-preferences__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.hccm-preferences__header span:not(.hccm-close span) {
	display: block;
	margin-bottom: 4px;
	color: var(--hccm-accent);
	font-size: 9px;
	font-weight: 760;
	letter-spacing: 0.18em;
}

.hccm-preferences h2 {
	font-size: 23px;
}

.hccm-close {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid var(--hccm-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	font-size: 21px;
	line-height: 1;
	cursor: pointer;
}

.hccm-category {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 0;
	border-top: 1px solid var(--hccm-line);
}

.hccm-category__copy {
	flex: 1 1 auto;
	min-width: 0;
}

.hccm-category strong {
	display: block;
	margin-bottom: 4px;
	color: #fff;
	font-size: 13px;
	font-weight: 680;
}

.hccm-category p {
	margin: 0;
	color: var(--hccm-muted);
	font-size: 11px;
	line-height: 1.5;
}

.hccm-always-on {
	flex: 0 0 auto;
	padding-top: 2px;
	color: var(--hccm-accent);
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.hccm-category--switch {
	cursor: default;
}

.hccm-switch {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: 42px;
	height: 24px;
	cursor: pointer;
}

.hccm-category-details {
	margin-top: 9px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hccm-category-details summary {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 8px 0 1px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 9px;
	font-weight: 700;
	list-style: none;
	cursor: pointer;
}

.hccm-category-details summary::-webkit-details-marker {
	display: none;
}

.hccm-category-details summary span:first-child {
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.24);
	text-underline-offset: 3px;
}

.hccm-category-details summary small {
	padding: 2px 5px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	color: rgba(255, 255, 255, 0.46);
	font-size: 7px;
	font-weight: 650;
}

.hccm-category-details summary svg {
	width: 13px;
	height: 13px;
	margin-left: auto;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
	transition: transform 180ms ease;
}

.hccm-category-details[open] summary {
	color: var(--hccm-accent);
}

.hccm-category-details[open] summary svg {
	transform: rotate(180deg);
}

.hccm-category-details__content {
	padding: 11px 0 3px;
}

.hccm-detail-providers > b,
.hccm-detail-cookies > b {
	display: block;
	margin-bottom: 7px;
	color: var(--hccm-accent);
	font-size: 7px;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.hccm-detail-providers ul {
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.hccm-detail-providers li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hccm-detail-providers li:last-child {
	border-bottom: 0;
}

.hccm-detail-providers li > span,
.hccm-detail-providers li strong,
.hccm-detail-providers li small {
	display: block;
}

.hccm-detail-providers li strong {
	margin: 0;
	font-size: 9px;
	font-weight: 680;
}

.hccm-detail-providers li small {
	margin-top: 1px;
	color: rgba(255, 255, 255, 0.42);
	font-size: 7px;
}

.hccm-detail-providers a {
	flex: 0 0 auto;
	color: rgba(255, 255, 255, 0.58);
	font-size: 7px;
	text-decoration: none;
}

.hccm-detail-providers a:hover,
.hccm-detail-providers a:focus-visible {
	color: var(--hccm-accent);
}

.hccm-detail-cookies article {
	margin-top: 7px;
	padding: 9px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.035);
}

.hccm-detail-cookies article header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 7px;
}

.hccm-detail-cookies code {
	padding: 2px 5px;
	border-radius: 3px;
	background: rgba(0, 255, 136, 0.09);
	color: var(--hccm-accent);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 8px;
}

.hccm-detail-cookies article header span {
	color: rgba(255, 255, 255, 0.48);
	font-size: 7px;
	font-weight: 650;
}

.hccm-detail-cookies dl,
.hccm-detail-cookies dd {
	margin: 0;
}

.hccm-detail-cookies dl > div {
	display: grid;
	grid-template-columns: 63px 1fr;
	gap: 7px;
	padding: 3px 0;
}

.hccm-detail-cookies dt {
	color: rgba(255, 255, 255, 0.4);
	font-size: 7px;
	font-weight: 700;
	text-transform: uppercase;
}

.hccm-detail-cookies dd {
	color: rgba(255, 255, 255, 0.72);
	font-size: 8px;
	line-height: 1.4;
}

.hccm-detail-empty {
	margin: 3px 0 0 !important;
	padding: 8px;
	border-left: 2px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.025);
	color: rgba(255, 255, 255, 0.56) !important;
	font-size: 8px !important;
}

.hccm-switch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.hccm-switch span {
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	transition: 180ms ease;
}

.hccm-switch span::after {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.72);
	content: "";
	transition: 180ms ease;
}

.hccm-switch input:checked + span {
	border-color: var(--hccm-accent);
	background: color-mix(in srgb, var(--hccm-accent) 22%, transparent);
}

.hccm-switch input:checked + span::after {
	transform: translateX(18px);
	background: var(--hccm-accent);
	box-shadow: 0 0 12px color-mix(in srgb, var(--hccm-accent) 55%, transparent);
}

.hccm-switch input:focus-visible + span {
	outline: 2px solid var(--hccm-accent);
	outline-offset: 2px;
}

.hccm-preferences__actions {
	margin-top: 7px;
}

.hccm-button--save {
	grid-column: 1 / -1;
	background: var(--hccm-accent);
	color: #06110b;
}

.hccm-button--save:hover {
	filter: brightness(1.07);
}

.hccm-reset {
	display: block;
	margin: 10px auto 0;
	padding: 5px;
	background: transparent;
	color: rgba(255, 255, 255, 0.5);
	font-size: 10px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hccm-noscript {
	position: fixed;
	z-index: 2147482999;
	right: 18px;
	bottom: 18px;
	max-width: 360px;
	margin: 0;
	padding: 12px 15px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 12px;
	background: #111;
	color: #fff;
	font: 12px/1.45 system-ui, sans-serif;
}

.hccm-inline-manage {
	padding: 9px 14px;
	border: 1px solid currentColor;
	border-radius: 6px;
	background: transparent;
	color: inherit;
}

.hccm-embed-gate {
	position: relative;
	display: grid;
	min-height: 176px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: inherit;
	background: #0b0d0c;
	isolation: isolate;
}

.hccm-embed-gate iframe {
	width: 100%;
	border: 0;
}

.hccm-embed-gate iframe[data-hccm-blocked] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.hccm-embed-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 176px;
	padding: 24px;
	background:
		radial-gradient(circle at 50% 0%, rgba(0, 255, 136, 0.12), transparent 46%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent);
	color: #f7f7f2;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	text-align: center;
}

.hccm-embed-placeholder__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 10px;
	border: 1px solid rgba(0, 255, 136, 0.32);
	border-radius: 50%;
	color: #00ff88;
}

.hccm-embed-placeholder__icon svg {
	width: 24px;
	height: 24px;
}

.hccm-embed-placeholder strong {
	font-size: 14px;
}

.hccm-embed-placeholder p {
	max-width: 420px;
	margin: 6px auto 14px;
	color: rgba(255, 255, 255, 0.62);
	font-size: 12px;
}

.hccm-embed-placeholder button {
	padding: 9px 14px;
	border-radius: 6px;
	background: #00ff88;
	color: #07110c;
	font-size: 11px;
	font-weight: 760;
}

@keyframes hccm-rise {
	from { opacity: 0; transform: translateY(12px) scale(0.985); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 560px) {
	.hccm-root,
	.hccm-root--bottom-left {
		right: 14px;
		bottom: 14px;
		left: 14px;
		width: auto;
	}

	.hccm-banner {
		padding: 17px;
		border-radius: 10px;
	}

	.hccm-banner h2 {
		font-size: 21px;
	}

	.hccm-banner > p {
		font-size: 12px;
	}

	.hccm-preferences {
		max-height: calc(100vh - 28px);
		padding: 17px;
		border-radius: 10px;
	}

	.hccm-always-on {
		max-width: 74px;
		white-space: normal;
		text-align: right;
	}
}

@media (max-width: 370px) {
	.hccm-actions,
	.hccm-preferences__actions {
		grid-template-columns: 1fr;
	}

	.hccm-button--customize,
	.hccm-button--save {
		grid-column: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hccm-banner,
	.hccm-preferences {
		animation: none;
	}

	.hccm-root * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
