/* Externalise (passe 2) — bloc inline #35 — position inchangee */

/* G6M_LOGIN_CAPTCHA_CHROME_V406
   Hide Cloudflare Turnstile white hairline on dark login.
   Technique: clip host + inset box-shadow matching CF dark fill (#232323).
*/

html#XF[data-template="login"] .g6m397-col--form form.block .formRow:has(.cf-turnstile),
html#XF[data-template="login"] .g6m397-col--form form.block .formRow:has([data-xf-init="turnstile"]),
html#XF[data-template="login"] .g6m397-col--form form.block .formRow[context="xf_login"],
html#XF[data-template="login"] .g6m397-col--form .g6m404-captcha,
html#XF[data-template="login"] .g6m397-col--form .g6m405-captcha,
html#XF[data-template="login"] .g6m397-col--form .g6m406-captcha,
html#XF[data-template="login"] form.block .formRow:has(.cf-turnstile),
html#XF[data-template="login"] form.block .formRow:has([data-xf-init="turnstile"]),
html#XF[data-template="login"] form.block .formRow[context="xf_login"] {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	margin: 0 0 16px !important;
	padding: 0 !important;
	border: 0 none transparent !important;
	border-radius: 0 !important;
	outline: none !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	filter: none !important;
	transform: none !important;
	overflow: visible !important;
	isolation: isolate !important;
	gap: 0 !important;
	line-height: 0 !important;
}

html#XF[data-template="login"] .g6m397-col--form form.block .formRow:has(.cf-turnstile) > dt,
html#XF[data-template="login"] .g6m397-col--form form.block .formRow:has([data-xf-init="turnstile"]) > dt,
html#XF[data-template="login"] .g6m397-col--form form.block .formRow[context="xf_login"] > dt,
html#XF[data-template="login"] form.block .formRow:has(.cf-turnstile) > dt,
html#XF[data-template="login"] form.block .formRow[context="xf_login"] > dt {
	display: none !important;
}

html#XF[data-template="login"] .g6m397-col--form form.block .formRow:has(.cf-turnstile) > dd,
html#XF[data-template="login"] .g6m397-col--form form.block .formRow:has([data-xf-init="turnstile"]) > dd,
html#XF[data-template="login"] .g6m397-col--form form.block .formRow[context="xf_login"] > dd,
html#XF[data-template="login"] form.block .formRow:has(.cf-turnstile) > dd,
html#XF[data-template="login"] form.block .formRow[context="xf_login"] > dd {
	display: block !important;
	width: max-content !important;
	max-width: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	line-height: 0 !important;
	font-size: 0 !important;
}

html#XF[data-template="login"] .g6m397-col--form form.block .cf-turnstile,
html#XF[data-template="login"] .g6m397-col--form form.block [data-xf-init="turnstile"],
html#XF[data-template="login"] .g6m397-col--form form.block .formRow[context="xf_login"] .cf-turnstile,
html#XF[data-template="login"] .g6m397-col--form form.block .formRow[context="xf_login"] [data-xf-init="turnstile"],
html#XF[data-template="login"] form.block .cf-turnstile,
html#XF[data-template="login"] form.block [data-xf-init="turnstile"],
html#XF[data-template="login"] .cf-turnstile,
html#XF[data-template="login"] [data-xf-init="turnstile"] {
	--g6m-cf-fill: #232323;
	display: block !important;
	position: relative !important;
	width: 300px !important;
	max-width: 100% !important;
	height: 65px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0 none transparent !important;
	border-radius: 4px !important;
	outline: 0 none transparent !important;
	background: var(--g6m-cf-fill) !important;
	/* Cover CF/browser white hairline on all edges */
	box-shadow: inset 0 0 0 2px var(--g6m-cf-fill) !important;
	filter: none !important;
	transform: translateZ(0) !important;
	overflow: hidden !important;
	isolation: isolate !important;
	-webkit-backface-visibility: hidden !important;
	backface-visibility: hidden !important;
	line-height: 0 !important;
	font-size: 0 !important;
}

/* Extra paint over fringe without blocking clicks */
html#XF[data-template="login"] .g6m397-col--form form.block .cf-turnstile::after,
html#XF[data-template="login"] .g6m397-col--form form.block [data-xf-init="turnstile"]::after,
html#XF[data-template="login"] form.block .cf-turnstile::after,
html#XF[data-template="login"] form.block [data-xf-init="turnstile"]::after,
html#XF[data-template="login"] .cf-turnstile::after,
html#XF[data-template="login"] [data-xf-init="turnstile"]::after {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	border-radius: 4px !important;
	box-shadow: inset 0 0 0 2px #232323 !important;
	pointer-events: none !important;
	z-index: 2 !important;
}

html#XF[data-template="login"] .g6m397-col--form form.block .cf-turnstile > div,
html#XF[data-template="login"] .g6m397-col--form form.block [data-xf-init="turnstile"] > div,
html#XF[data-template="login"] form.block .cf-turnstile > div,
html#XF[data-template="login"] form.block [data-xf-init="turnstile"] > div {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
	line-height: 0 !important;
	font-size: 0 !important;
	width: 100% !important;
	height: 100% !important;
}

html#XF[data-template="login"] .g6m397-col--form form.block .cf-turnstile iframe,
html#XF[data-template="login"] .g6m397-col--form form.block [data-xf-init="turnstile"] iframe,
html#XF[data-template="login"] .g6m397-col--form form.block .formRow[context="xf_login"] iframe,
html#XF[data-template="login"] form.block .cf-turnstile iframe,
html#XF[data-template="login"] form.block [data-xf-init="turnstile"] iframe,
html#XF[data-template="login"] form.block iframe[src*="challenges.cloudflare"],
html#XF[data-template="login"] iframe[src*="challenges.cloudflare"] {
	display: block !important;
	width: 300px !important;
	max-width: 100% !important;
	height: 65px !important;
	min-height: 65px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 none transparent !important;
	outline: 0 none transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: #232323 !important;
	filter: none !important;
	transform: none !important;
	visibility: visible !important;
	opacity: 1 !important;
	vertical-align: top !important;
}

@media (max-width: 420px) {
	html#XF[data-template="login"] form.block .cf-turnstile,
	html#XF[data-template="login"] form.block [data-xf-init="turnstile"] {
		width: min(300px, 100%) !important;
		transform: none !important;
	}
	html#XF[data-template="login"] form.block .cf-turnstile iframe,
	html#XF[data-template="login"] form.block [data-xf-init="turnstile"] iframe {
		width: 100% !important;
		height: 65px !important;
	}
}

/* END G6M_LOGIN_CAPTCHA_CHROME_V406 */

