.hf-consent {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}
.hf-consent.is-open {
	display: block;
}
.hf-consent__overlay {
	position: absolute;
	inset: 0;
	background: rgba(3, 6, 20, 0.72);
	backdrop-filter: blur(2px);
}
.hf-consent__dialog {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.hf-consent__card {
	position: relative;
	width: 100%;
	max-width: 480px;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 32px;
	border-radius: 16px;
	background: #0c0f2c;
	font-family: "Inter", sans-serif;
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
}

.hf-consent__card > * {
	flex-shrink: 0;
}

.hf-consent__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 20px;
}
.hf-consent__brand {
	display: flex;
	align-items: center;
	gap: 10px;
}
.hf-consent__shield {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	background: #2db77b;
	opacity: 0.84;
}
.hf-consent__shield img {
	width: 16px;
	height: 16px;
	display: block;
}
.hf-consent__eyebrow {
	font-weight: 600;
	font-size: 14px;
	color: #fff;
}
.hf-consent__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.hf-consent__close img {
	width: 18px;
	height: 18px;
	display: block;
}

.hf-consent__titles {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.hf-consent__title {
	margin: 0;
	font-weight: 700;
	font-size: 32px;
	line-height: 1.1;
	color: #fff;
}
.hf-consent__subtitle {
	margin: 0;
	font-weight: 600;
	font-size: 14px;
	color: #9c9a91;
}

.hf-consent__notice {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.hf-consent__notice p {
	margin: 0;
	font-weight: 400;
	font-size: 13.5px;
	line-height: 1.55;
	color: #cccccc;
}

.hf-consent__accordion {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid #333;
	border-radius: 8px;
	background: #262626;
	cursor: pointer;
}
.hf-consent__accordion-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 14px;
	color: #fff;
}
.hf-consent__accordion-icon {
	width: 16px;
	height: 16px;
	display: block;
}
.hf-consent__chevron {
	width: 16px;
	height: 16px;
	display: block;
	transition: transform 0.25s ease;
}
.hf-consent__accordion[aria-expanded="true"] .hf-consent__chevron {
	transform: rotate(180deg);
}

.hf-consent__policy {
	max-height: 280px;
	overflow-y: auto;
	padding: 16px;
	border: 1px solid #262626;
	border-radius: 8px;
	background: #141414;
}
.hf-consent__policy-eff {
	margin: 0 0 12px;
	font-size: 11px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: #7a7a7a;
}
.hf-consent__policy-body p {
	margin: 0 0 10px;
	font-weight: 400;
	font-size: 12.5px;
	line-height: 1.5;
	color: #bdbdbd;
}
.hf-consent__policy-body h4 {
	margin: 16px 0 6px;
	font-weight: 600;
	font-size: 13px;
	color: #eaeaea;
}
.hf-consent__policy-body h4:first-child {
	margin-top: 0;
}

.hf-consent__foot {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.hf-consent__agree {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
}
.hf-consent__checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.hf-consent__box {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border: 1.5px solid #444;
	border-radius: 4px;
	background: transparent;
	transition: background 0.15s ease, border-color 0.15s ease;
	position: relative;
}
.hf-consent__checkbox:checked + .hf-consent__box {
	background: #2db77b;
	border-color: #2db77b;
}
.hf-consent__checkbox:checked + .hf-consent__box::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1.5px;
	width: 5px;
	height: 9px;
	border: solid #06101f;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.hf-consent__checkbox:focus-visible + .hf-consent__box {
	outline: 2px solid #2db77b;
	outline-offset: 2px;
}
.hf-consent__agree-text {
	font-weight: 400;
	font-size: 12px;
	line-height: 1.4;
	color: #cccccc;
}
.hf-consent__agree-text a {
	color: #9ca3af;
	text-decoration: underline;
}
.hf-consent__submit {
	width: 100%;
	height: 44px;
	border: 0;
	border-radius: 6px;
	background: #fff;
	color: #1c1c1c;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}
.hf-consent__submit:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

@media (max-width: 600px) {
	.hf-consent__dialog {
		padding: 16px;
		align-items: flex-end;
	}
	.hf-consent__card {
		padding: 24px;
		max-height: calc(100vh - 32px);
	}
	.hf-consent__title {
		font-size: 26px;
	}
}
