/* G6M_BUNDLE_10 — 3 feuilles, ordre du document preserve */
/* ==== g6m-login-page-unity-v339.css ==== */
/* G6M_LOGIN_PAGE_UNITY_V339
   Continuous forum-hero background + sticky footer shell for auth pages.
   Same assets/overlay family as G6M_FORUM_BG_V47; cover fills short pages (no black band).
*/

html:has(body[data-template="login"]),
html:has(body[data-template="login_password"]),
html:has(body[data-template="login_two_step"]),
html:has(body[data-template="register_form"]),
html body[data-template="login"],
html body[data-template="login_password"],
html body[data-template="login_two_step"],
html body[data-template="register_form"],
html body.template-login,
html body.template-login_password,
html body.template-login_two_step,
html body.template-register_form {
	--g6m-auth-bg: #050508;
	--g6m-auth-overlay: linear-gradient(
		180deg,
		rgba(5, 5, 8, 0.08) 0%,
		rgba(5, 5, 8, 0.18) 42%,
		rgba(5, 5, 8, 0.42) 78%,
		rgba(5, 5, 8, 0.55) 100%
	);
	min-height: 100%;
	background-color: var(--g6m-auth-bg);
}

/* Shell: fill viewport, column flex, continuous cover BG */
html#XF body[data-template="login"] .p-pageWrapper,
html#XF body.template-login .p-pageWrapper,
html#XF body[data-template="login_password"] .p-pageWrapper,
html#XF body[data-template="login_two_step"] .p-pageWrapper,
html#XF body[data-template="register_form"] .p-pageWrapper,
html#XF body.template-register_form .p-pageWrapper {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	min-height: 100vh !important;
	min-height: 100dvh !important;
	width: 100% !important;
	max-width: 100vw !important;
	overflow-x: hidden !important;
	position: relative !important;
	isolation: auto !important;
	filter: none !important;
	background-color: var(--g6m-auth-bg) !important;
	background-image:
		var(--g6m-auth-overlay),
		url(/site/public/assets/img/hero/gta6modding-forum-bg.webp?v=1784478984) !important;
	background-position: center center, center center !important;
	background-size: cover, cover !important;
	background-repeat: no-repeat, no-repeat !important;
	background-attachment: fixed, fixed !important;
}

html#XF body[data-template="login"] .p-pageWrapper::before,
html#XF body[data-template="login"] .p-pageWrapper::after,
html#XF body.template-login .p-pageWrapper::before,
html#XF body.template-login .p-pageWrapper::after,
html#XF body[data-template="login_password"] .p-pageWrapper::before,
html#XF body[data-template="login_password"] .p-pageWrapper::after,
html#XF body[data-template="login_two_step"] .p-pageWrapper::before,
html#XF body[data-template="login_two_step"] .p-pageWrapper::after,
html#XF body[data-template="register_form"] .p-pageWrapper::before,
html#XF body[data-template="register_form"] .p-pageWrapper::after,
html#XF body.template-register_form .p-pageWrapper::before,
html#XF body.template-register_form .p-pageWrapper::after {
	content: none !important;
	display: none !important;
	opacity: 0 !important;
	background: none !important;
	background-image: none !important;
	pointer-events: none !important;
}

@media (max-width: 2560px) {
	html#XF body[data-template="login"] .p-pageWrapper,
	html#XF body.template-login .p-pageWrapper,
	html#XF body[data-template="login_password"] .p-pageWrapper,
	html#XF body[data-template="login_two_step"] .p-pageWrapper,
	html#XF body[data-template="register_form"] .p-pageWrapper,
	html#XF body.template-register_form .p-pageWrapper {
		background-image:
			var(--g6m-auth-overlay),
			url(/site/public/assets/img/hero/gta6modding-forum-bg-desktop.webp?v=1784478984) !important;
		background-size: cover, cover !important;
		background-position: center center, center center !important;
	}
}

@media (max-width: 1920px) {
	html#XF body[data-template="login"] .p-pageWrapper,
	html#XF body.template-login .p-pageWrapper,
	html#XF body[data-template="login_password"] .p-pageWrapper,
	html#XF body[data-template="login_two_step"] .p-pageWrapper,
	html#XF body[data-template="register_form"] .p-pageWrapper,
	html#XF body.template-register_form .p-pageWrapper {
		background-image:
			var(--g6m-auth-overlay),
			url(/site/public/assets/img/hero/gta6modding-forum-bg-tablet.webp?v=1784478984) !important;
		background-size: cover, cover !important;
		background-position: center center, center center !important;
	}
}

@media (max-width: 900px) {
	html#XF body[data-template="login"] .p-pageWrapper,
	html#XF body.template-login .p-pageWrapper,
	html#XF body[data-template="login_password"] .p-pageWrapper,
	html#XF body[data-template="login_two_step"] .p-pageWrapper,
	html#XF body[data-template="register_form"] .p-pageWrapper,
	html#XF body.template-register_form .p-pageWrapper {
		background-image:
			var(--g6m-auth-overlay),
			url(/site/public/assets/img/hero/gta6modding-forum-bg-mobile.webp?v=1784478984) !important;
		background-size: cover, cover !important;
		background-position: center center, center center !important;
		background-attachment: scroll, scroll !important;
	}
}

/* Main grows; form stays clear of footer */
html#XF body[data-template="login"] .p-body,
html#XF body.template-login .p-body,
html#XF body[data-template="login_password"] .p-body,
html#XF body[data-template="login_two_step"] .p-body,
html#XF body[data-template="register_form"] .p-body,
html#XF body.template-register_form .p-body {
	flex: 1 0 auto !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	align-items: stretch !important;
	width: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	border: 0 !important;
}

html#XF body[data-template="login"] .p-body-inner,
html#XF body.template-login .p-body-inner,
html#XF body[data-template="login_password"] .p-body-inner,
html#XF body[data-template="login_two_step"] .p-body-inner,
html#XF body[data-template="register_form"] .p-body-inner,
html#XF body.template-register_form .p-body-inner {
	width: 100% !important;
	max-width: min(800px, calc(100vw - 24px)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-top: clamp(0.65rem, 1.8vh, 1.15rem) !important;
	padding-bottom: clamp(2.5rem, 6vh, 4rem) !important;
	background: transparent !important;
	box-sizing: border-box !important;
}

/* Register keeps its own shell width (~700px) */
html#XF body[data-template="register_form"] .p-body-inner,
html#XF body.template-register_form .p-body-inner {
	max-width: min(700px, calc(100vw - 24px)) !important;
}

html#XF body[data-template="login"] .p-body-content,
html#XF body[data-template="login"] .p-body-pageContent,
html#XF body[data-template="login"] .p-body-main,
html#XF body.template-login .p-body-content,
html#XF body.template-login .p-body-pageContent,
html#XF body[data-template="register_form"] .p-body-content,
html#XF body[data-template="register_form"] .p-body-pageContent {
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	border: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* Footer docks to bottom of flex shell — transparent over continuous BG */
html#XF body[data-template="login"] .p-footer,
html#XF body.template-login .p-footer,
html#XF body[data-template="login_password"] .p-footer,
html#XF body[data-template="login_two_step"] .p-footer,
html#XF body[data-template="register_form"] .p-footer,
html#XF body.template-register_form .p-footer,
html#XF body[data-template="login"] .g6m-forum-footer,
html#XF body[data-template="register_form"] .g6m-forum-footer {
	flex: 0 0 auto !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-top: auto !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	border: 0 !important;
	position: relative !important;
	z-index: 2 !important;
}

html#XF body[data-template="login"] .p-footer-inner,
html#XF body[data-template="register_form"] .p-footer-inner,
html#XF body[data-template="login"] .g6m-forum-footer__bottom,
html#XF body[data-template="register_form"] .g6m-forum-footer__bottom {
	background: transparent !important;
	background-image: none !important;
}

/* Credits / legal: centered, even spacing, no edge collision */
html#XF body[data-template="login"] .g6m-forum-footer__bottom,
html#XF body[data-template="register_form"] .g6m-forum-footer__bottom,
html#XF body[data-template="login"] .g6m-footer-credits,
html#XF body[data-template="register_form"] .g6m-footer-credits {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	width: 100% !important;
	box-sizing: border-box !important;
	padding-left: clamp(1rem, 4vw, 2rem) !important;
	padding-right: clamp(1rem, 4vw, 2rem) !important;
}

/* Credits panel layout owned by g6m-footer-credits-balance-v348.css
   (do NOT set margin:auto on © / brand / rights — that stretches them edge-to-edge). */
html#XF body[data-template="login"] .g6m-footer-legal,
html#XF body[data-template="register_form"] .g6m-footer-legal,
html#XF body[data-template="login"] .g6m-footer-legal.g6m-footer-legal--premium,
html#XF body[data-template="register_form"] .g6m-footer-legal.g6m-footer-legal--premium {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box !important;
}

html#XF body[data-template="login"] .g6m-forum-footer__body,
html#XF body[data-template="register_form"] .g6m-forum-footer__body {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* Kill leftover solid strips between form and footer */
html#XF body[data-template="login"] .p-body::before,
html#XF body[data-template="login"] .p-body::after,
html#XF body[data-template="login"] .p-footer::before,
html#XF body[data-template="register_form"] .p-body::before,
html#XF body[data-template="register_form"] .p-body::after {
	content: none !important;
	display: none !important;
	background: none !important;
}

@media (prefers-reduced-motion: reduce) {
	html#XF body[data-template="login"] .p-pageWrapper,
	html#XF body[data-template="register_form"] .p-pageWrapper {
		background-attachment: scroll, scroll !important;
	}
}

/* END G6M_LOGIN_PAGE_UNITY_V339 */

/* ==== g6m-inline-p2-02-v701.css ==== */
/* Externalise (passe 2) — bloc inline #2 — position inchangee */

/* Beat critical AUTH_PRO / login-page-pro / solde — keep EXACT forum V47 bg */
html#XF body[data-template="login"] .p-pageWrapper,
html#XF body.template-login .p-pageWrapper,
html#XF body[data-template="login_password"] .p-pageWrapper,
html#XF body[data-template="login_two_step"] .p-pageWrapper {
  background-color:#050508!important;
  background-image:linear-gradient(180deg,rgba(5,5,8,.08) 0%,rgba(5,5,8,.18) 48%,rgba(5,5,8,.62) 82%,#050508 100%),url(/site/public/assets/img/hero/gta6modding-forum-bg-desktop.webp?v=1784478984)!important;
  background-position:center top,center top!important;
  background-size:100% 100%,100% auto!important;
  background-repeat:no-repeat,no-repeat!important;
  background-attachment:scroll,scroll!important;
  filter:none!important;
  isolation:auto!important;
}
html#XF body[data-template="login"] .p-pageWrapper::before,
html#XF body[data-template="login"] .p-pageWrapper::after,
html#XF body.template-login .p-pageWrapper::before,
html#XF body.template-login .p-pageWrapper::after,
html#XF body[data-template="login_password"] .p-pageWrapper::before,
html#XF body[data-template="login_password"] .p-pageWrapper::after {
  content:none!important; display:none!important; opacity:0!important;
  background:none!important; background-image:none!important;
  filter:none!important; pointer-events:none!important;
}
@media (max-width:1920px){
  html#XF body[data-template="login"] .p-pageWrapper,
  html#XF body.template-login .p-pageWrapper{
    background-image:linear-gradient(180deg,rgba(5,5,8,.08) 0%,rgba(5,5,8,.18) 48%,rgba(5,5,8,.62) 82%,#050508 100%),url(/site/public/assets/img/hero/gta6modding-forum-bg-tablet.webp?v=1784478984)!important;
  }
}
@media (max-width:900px){
  html#XF body[data-template="login"] .p-pageWrapper,
  html#XF body.template-login .p-pageWrapper{
    background-image:linear-gradient(180deg,rgba(5,5,8,.08) 0%,rgba(5,5,8,.18) 48%,rgba(5,5,8,.62) 82%,#050508 100%),url(/site/public/assets/img/hero/gta6modding-forum-bg-mobile.webp?v=1784478984)!important;
    background-size:100% 100%,140% auto!important;
  }
}
html#XF body[data-template="login"] .p-body-inner,
html#XF body.template-login .p-body-inner{
  max-width:min(800px,calc(100vw - 24px))!important;
  width:100%!important;
  margin-left:auto!important; margin-right:auto!important;
}
html#XF body[data-template="login"] form.block > .block-container,
html#XF body[data-template="login"] .blocks > .block .block-container{
  border-radius:18px!important;
  border:1px solid transparent!important;
  background:linear-gradient(rgba(12,9,20,.62),rgba(12,9,20,.62)) padding-box,linear-gradient(135deg,rgba(255,11,139,.9),rgba(139,61,255,.75),rgba(0,215,255,.9)) border-box!important;
  box-shadow:0 28px 70px rgba(0,0,0,.62),0 0 40px rgba(139,61,255,.16),0 0 28px rgba(255,11,139,.1),inset 0 1px 0 rgba(255,255,255,.07)!important;
  backdrop-filter:blur(18px) saturate(1.12)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.12)!important;
}
html#XF body[data-template="login"] form.block input.input{
  width:100%!important; height:52px!important; min-height:52px!important;
  border-radius:12px!important; box-sizing:border-box!important;
}
html#XF body[data-template="login"] .formSubmitRow .button--primary{
  width:100%!important; height:54px!important; min-height:54px!important;
}
html#XF body[data-template="login"] form.block label.iconic:not(.iconic--hideShow){
  display:inline-flex!important; align-items:center!important;
}
html#XF body[data-template="login"] form.block label.iconic:not(.iconic--hideShow) > input + i{
  top:0!important; margin:0!important; transform:none!important;
}

/* ==== g6m-register-premium-v332.css ==== */
/* G6M_REGISTER_PREMIUM_V332 — Full-page register (NO overlay/modal)
   Same forum V47 background as login. Shell max 760px.
   Benefits cards + social placeholders. XF macros untouched. */
html[data-template="register_form"],
html body[data-template="register_form"],
html body.template-register_form,
html body.template-register_form {
	--g6m-rp-bg: #050508;
	--g6m-rp-card: rgba(12, 9, 20, 0.62);
	--g6m-rp-pink: #ff0b8b;
	--g6m-rp-violet: #8b3dff;
	--g6m-rp-violet-bright: #b47aff;
	--g6m-rp-cyan: #00d7ff;
	--g6m-rp-ink: #ffffff;
	--g6m-rp-muted: #c4c0d4;
	--g6m-rp-muted-soft: rgba(196, 192, 212, 0.72);
	--g6m-rp-input: rgba(8, 6, 14, 0.92);
	--g6m-rp-ease: 260ms cubic-bezier(0.22, 1, 0.36, 1);
	--g6m-rp-radius: 18px;
	--g6m-rp-field-r: 12px;
	--g6m-rp-btn-h: 54px;
	--g6m-rp-field-h: 52px;
	--g6m-rp-shell-w: 700px;
	--g6m-rp-grad-border: linear-gradient(135deg, rgba(255, 11, 139, 0.9), rgba(139, 61, 255, 0.75), rgba(0, 215, 255, 0.9));
	--g6m-rp-grad: linear-gradient(115deg, #ff0b8b 0%, #8b3dff 48%, #00d7ff 100%);
	--g6m-rp-grad-btn: linear-gradient(115deg, #ff0b8b 0%, #c2189a 35%, #8b3dff 68%, #5ec8ff 100%);
	--g6m-rp-glow: 0 0 0 3px rgba(139, 61, 255, 0.28), 0 0 22px rgba(255, 11, 139, 0.22);
	--g6m-rp-bg-url: url(/site/public/assets/img/hero/gta6modding-forum-bg.webp?v=1784478984);
}

@keyframes g6mRegFadeUp {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

/* —— Page stage: forum hero cover (no black band) + sticky footer shell —— */
html[data-template="register_form"] .p-pageWrapper,
html body[data-template="register_form"] .p-pageWrapper,
html body.template-register_form .p-pageWrapper,
html#XF body[data-template="register_form"] .p-pageWrapper,
html#XF body.template-register_form .p-pageWrapper {
	position: relative !important;
	isolation: auto !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	min-height: 100vh !important;
	min-height: 100dvh !important;
	overflow-x: hidden !important;
	max-width: 100vw !important;
	filter: none !important;
	background-color: #050508 !important;
	background-image:
		linear-gradient(180deg, rgba(5, 5, 8, 0.08) 0%, rgba(5, 5, 8, 0.18) 42%, rgba(5, 5, 8, 0.42) 78%, rgba(5, 5, 8, 0.55) 100%),
		url(/site/public/assets/img/hero/gta6modding-forum-bg.webp?v=1784478984) !important;
	background-position: center center, center center !important;
	background-size: cover, cover !important;
	background-repeat: no-repeat, no-repeat !important;
	background-attachment: fixed, fixed !important;
}

html[data-template="register_form"] .p-pageWrapper::before,
html[data-template="register_form"] .p-pageWrapper::after,
html body[data-template="register_form"] .p-pageWrapper::before,
html body[data-template="register_form"] .p-pageWrapper::after,
html body.template-register_form .p-pageWrapper::before,
html body.template-register_form .p-pageWrapper::after,
html#XF body[data-template="register_form"] .p-pageWrapper::before,
html#XF body[data-template="register_form"] .p-pageWrapper::after,
html#XF body.template-register_form .p-pageWrapper::before,
html#XF body.template-register_form .p-pageWrapper::after {
	content: none !important;
	display: none !important;
	opacity: 0 !important;
	background: none !important;
	background-image: none !important;
	pointer-events: none !important;
}

@media (max-width: 2560px) {
	html[data-template="register_form"] .p-pageWrapper,
	html body[data-template="register_form"] .p-pageWrapper,
	html body.template-register_form .p-pageWrapper,
	html#XF body[data-template="register_form"] .p-pageWrapper {
		background-image:
			linear-gradient(180deg, rgba(5, 5, 8, 0.08) 0%, rgba(5, 5, 8, 0.18) 42%, rgba(5, 5, 8, 0.42) 78%, rgba(5, 5, 8, 0.55) 100%),
			url(/site/public/assets/img/hero/gta6modding-forum-bg-desktop.webp?v=1784478984) !important;
		background-size: cover, cover !important;
		background-position: center center, center center !important;
	}
}

@media (max-width: 1920px) {
	html[data-template="register_form"] .p-pageWrapper,
	html body[data-template="register_form"] .p-pageWrapper,
	html body.template-register_form .p-pageWrapper,
	html#XF body[data-template="register_form"] .p-pageWrapper {
		background-image:
			linear-gradient(180deg, rgba(5, 5, 8, 0.08) 0%, rgba(5, 5, 8, 0.18) 42%, rgba(5, 5, 8, 0.42) 78%, rgba(5, 5, 8, 0.55) 100%),
			url(/site/public/assets/img/hero/gta6modding-forum-bg-tablet.webp?v=1784478984) !important;
		background-size: cover, cover !important;
		background-position: center center, center center !important;
	}
}

@media (max-width: 900px) {
	html[data-template="register_form"] .p-pageWrapper,
	html body[data-template="register_form"] .p-pageWrapper,
	html body.template-register_form .p-pageWrapper,
	html#XF body[data-template="register_form"] .p-pageWrapper {
		background-image:
			linear-gradient(180deg, rgba(5, 5, 8, 0.08) 0%, rgba(5, 5, 8, 0.18) 42%, rgba(5, 5, 8, 0.42) 78%, rgba(5, 5, 8, 0.55) 100%),
			url(/site/public/assets/img/hero/gta6modding-forum-bg-mobile.webp?v=1784478984) !important;
		background-attachment: scroll, scroll !important;
		background-size: cover, cover !important;
		background-position: center center, center center !important;
	}
}

html[data-template="register_form"] .p-header,
html[data-template="register_form"] .p-nav,
html[data-template="register_form"] .p-body,
html[data-template="register_form"] .p-footer,
html body[data-template="register_form"] .p-header,
html body[data-template="register_form"] .p-nav,
html body[data-template="register_form"] .p-body,
html body[data-template="register_form"] .p-footer {
	position: relative !important;
	z-index: 1 !important;
	background: transparent !important;
	background-image: none !important;
}

html[data-template="register_form"] .p-body,
html body[data-template="register_form"] .p-body,
html#XF body[data-template="register_form"] .p-body,
html#XF body.template-register_form .p-body {
	flex: 1 0 auto !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	min-height: 0 !important;
}

html[data-template="register_form"] .p-footer,
html body[data-template="register_form"] .p-footer,
html#XF body[data-template="register_form"] .p-footer,
html#XF body[data-template="register_form"] .g6m-forum-footer {
	flex: 0 0 auto !important;
	margin-top: auto !important;
}

html[data-template="register_form"] .p-body-sidebar,
html[data-template="register_form"] .p-body-sidebarCol,
html[data-template="register_form"] .g6m-forum-cta,
html[data-template="register_form"] .p-body-header,
html[data-template="register_form"] .p-title,
html[data-template="register_form"] .p-description,
html body[data-template="register_form"] .p-body-sidebar,
html body[data-template="register_form"] .g6m-forum-cta,
html body[data-template="register_form"] .p-body-header,
html body[data-template="register_form"] .p-title {
	display: none !important;
}

html[data-template="register_form"] .p-body-inner,
html body[data-template="register_form"] .p-body-inner {
	width: min(var(--g6m-rp-shell-w), calc(100vw - 24px)) !important;
	max-width: min(var(--g6m-rp-shell-w), calc(100vw - 24px)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 12px !important;
	padding-right: 12px !important;
	box-sizing: border-box !important;
}

html[data-template="register_form"] .uix_contentWrapper,
html[data-template="register_form"] .p-body-main,
html[data-template="register_form"] .p-body-content,
html body[data-template="register_form"] .uix_contentWrapper,
html body[data-template="register_form"] .p-body-main,
html body[data-template="register_form"] .p-body-content {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	float: none !important;
}

html[data-template="register_form"] .p-body-pageContent,
html body[data-template="register_form"] .p-body-pageContent {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: flex-start !important;
	padding: clamp(0.55rem, 1.5vh, 1rem) 0 clamp(2.5rem, 6vh, 4rem) !important;
	width: 100% !important;
}

/* —— Hero (outside card, like login) —— */
html[data-template="register_form"] .g6m-register-hero,
html body[data-template="register_form"] .g6m-register-hero {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
	margin: 0 0 1.1rem !important;
	padding: 0 0.35rem !important;
	animation: g6mRegFadeUp 420ms var(--g6m-rp-ease) both !important;
}

.g6m-register-hero__eyebrow {
	display: block !important;
	margin: 0 0 0.55rem !important;
	font-family: Rajdhani, Orbitron, "Segoe UI", sans-serif !important;
	font-size: clamp(0.78rem, 1.6vw, 0.88rem) !important;
	font-weight: 800 !important;
	letter-spacing: 0.28em !important;
	text-transform: uppercase !important;
	color: var(--g6m-rp-pink) !important;
	text-shadow: 0 0 18px rgba(255, 11, 139, 0.45) !important;
}

.g6m-register-hero__title {
	display: block !important;
	margin: 0 !important;
	font-family: Rajdhani, Orbitron, "Segoe UI", sans-serif !important;
	font-size: clamp(1.45rem, 3.2vw, 1.85rem) !important;
	font-weight: 800 !important;
	letter-spacing: 0.02em !important;
	line-height: 1.25 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	text-shadow: 0 0 24px rgba(139, 61, 255, 0.22) !important;
}

.g6m-register-hero__brand {
	display: inline !important;
	background: var(--g6m-rp-grad) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	color: transparent !important;
	-webkit-text-fill-color: transparent !important;
	filter: drop-shadow(0 0 14px rgba(255, 11, 139, 0.3)) !important;
}

.g6m-register-hero__lead {
	display: block !important;
	max-width: 34rem !important;
	margin: 0.85rem auto 0 !important;
	font-size: 0.94rem !important;
	line-height: 1.55 !important;
	color: var(--g6m-rp-muted-soft) !important;
}

/* —— Shell: premium card ~700px —— */
.g6m-register-shell,
html[data-template="register_form"] .g6m-register-shell {
	width: min(var(--g6m-rp-shell-w), 100%) !important;
	max-width: 700px !important;
	min-width: 0 !important;
	max-height: none !important;
	margin: 0 auto !important;
	display: flex !important;
	flex-direction: column !important;
	border-radius: var(--g6m-rp-radius) !important;
	background:
		linear-gradient(var(--g6m-rp-card), var(--g6m-rp-card)) padding-box,
		var(--g6m-rp-grad-border) border-box !important;
	backdrop-filter: blur(18px) saturate(1.12) !important;
	-webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
	border: 1px solid transparent !important;
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.62), 0 0 40px rgba(139, 61, 255, 0.16), 0 0 28px rgba(255, 11, 139, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
	overflow: visible !important;
	animation: g6mRegFadeUp 420ms var(--g6m-rp-ease) both !important;
	box-sizing: border-box !important;
	padding: 2rem 1.85rem 2.1rem !important;
}

/* —— Form: flex column only (NO grid) —— */
html body form.g6m-register-form {
	flex: 0 0 auto !important;
	min-height: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

html body form.g6m-register-form > div.block-container.g6m-register-card,
html body div.block-container.g6m-register-card {
	flex: 1 1 auto !important;
	min-height: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	grid-template-columns: none !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
	width: 100% !important;
	max-width: 100% !important;
}

.g6m-register-formPane {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	padding: 18px 22px 10px !important;
	border: 0 !important;
	border-right: 0 !important;
	background: transparent !important;
	overflow: visible !important;
	box-sizing: border-box !important;
}

.g6m-register-fields {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 14px !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: visible !important;
	grid-template-columns: none !important;
}

.g6m-register-actions {
	flex: 0 0 auto !important;
	width: 100% !important;
	padding: 6px 0 4px !important;
	border: 0 !important;
	background: transparent !important;
}

/* —— Honeypots —— */
html body .formRow.formRow--limited,
html body dl.formRow.formRow--limited,
html body form.g6m-register-form .formRow--limited,
html body form[action*="register/register"] .formRow--limited,
html body form[data-xf-init*="reg-form"] .formRow--limited,
html body .overlay .formRow--limited,
html body .overlay-container .formRow--limited {
	display: none !important;
	visibility: hidden !important;
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
	clip: rect(0, 0, 0, 0) !important;
}

/* —— Field rows: stacked label → control, full width —— */
html#XF body form.g6m-register-form dl.formRow:not(.formRow--limited):not(.formSubmitRow),
html#XF body form.g6m-register-form .g6m-register-fields > .formRow:not(.formRow--limited):not(.formSubmitRow),
html body form.g6m-register-form .g6m-register-fields > .formRow:not(.formRow--limited):not(.formSubmitRow),
html body form.g6m-register-form .g6m-register-captcha .formRow,
html body form.g6m-register-form .g6m-register-tos .formRow {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	justify-content: flex-start !important;
	gap: 6px !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	grid-template-columns: none !important;
	float: none !important;
	box-sizing: border-box !important;
}

html#XF body form.g6m-register-form .formRow > dt,
html#XF body form.g6m-register-form .formRow > dd,
html body form.g6m-register-form .formRow > dt,
html body form.g6m-register-form .formRow > dd {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	float: none !important;
	clear: both !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	text-align: left !important;
	box-sizing: border-box !important;
}

html body form.g6m-register-form .formRow-labelWrapper {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: baseline !important;
	gap: 8px !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	overflow: hidden !important;
}

html body form.g6m-register-form .formRow-label {
	flex: 0 1 auto !important;
	color: rgba(235, 232, 245, 0.95) !important;
	font-size: clamp(0.68rem, 1.6vw, 0.78rem) !important;
	font-weight: 700 !important;
	letter-spacing: 0.05em !important;
	text-transform: uppercase !important;
	line-height: 1.25 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	max-width: 100% !important;
}

html body form.g6m-register-form .formRow-hint {
	flex: 0 0 auto !important;
	margin: 0 !important;
	font-size: 0.65rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	color: rgba(180, 176, 200, 0.6) !important;
	white-space: nowrap !important;
}

html body form.g6m-register-form .formRow-explain {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-top: 6px !important;
	padding: 0 !important;
	font-size: 0.75rem !important;
	line-height: 1.4 !important;
	color: rgba(180, 176, 200, 0.68) !important;
	white-space: normal !important;
	overflow-wrap: anywhere !important;
	word-break: normal !important;
}

/* Errors as badges — no layout blow-up */
html body form.g6m-register-form .formRow-error,
html body form.g6m-register-form .error,
html body form.g6m-register-form .inputValidationError,
html body form.g6m-register-form .js-validationError:not(:empty) {
	display: inline-flex !important;
	align-items: center !important;
	margin-top: 8px !important;
	padding: 5px 10px !important;
	max-width: 100% !important;
	border-radius: 999px !important;
	border: 1px solid rgba(255, 72, 110, 0.55) !important;
	background: rgba(120, 18, 45, 0.72) !important;
	color: #ffd0dc !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	box-sizing: border-box !important;
}

html body form.g6m-register-form .g6m-password-mismatch {
	display: none !important;
	width: fit-content !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 5px 10px !important;
	border-radius: 999px !important;
	border: 1px solid rgba(255, 72, 110, 0.55) !important;
	background: rgba(120, 18, 45, 0.72) !important;
	color: #ffd0dc !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
}

html body form.g6m-register-form .g6m-password-mismatch.is-visible {
	display: inline-flex !important;
}

html body form.g6m-register-form .passwordStrength,
html body form.g6m-register-form [data-xf-init="password-strength"] {
	margin-top: 6px !important;
	font-size: 0.72rem !important;
	color: var(--g6m-rp-muted-soft) !important;
	max-width: 100% !important;
}

/* —— Inputs 100% × 52px —— */
html#XF body form.g6m-register-form .input,
html#XF body form.g6m-register-form input.input,
html#XF body form.g6m-register-form input[type="text"],
html#XF body form.g6m-register-form input[type="password"],
html#XF body form.g6m-register-form input[type="email"],
html body form.g6m-register-form .input,
html body form.g6m-register-form input.input,
html body form.g6m-register-form input[type="text"],
html body form.g6m-register-form input[type="password"],
html body form.g6m-register-form input[type="email"] {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	flex: 1 1 auto !important;
	height: 52px !important;
	min-height: 52px !important;
	max-height: 52px !important;
	padding: 0 0.95rem !important;
	border-radius: 12px !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	background: var(--g6m-rp-input) !important;
	color: var(--g6m-rp-ink) !important;
	font-size: 0.95rem !important;
	line-height: 1.2 !important;
	box-sizing: border-box !important;
	box-shadow: none !important;
	transition: border-color var(--g6m-rp-ease), box-shadow var(--g6m-rp-ease) !important;
}

html body form.g6m-register-form .input:hover {
	border-color: rgba(139, 61, 255, 0.55) !important;
}

html body form.g6m-register-form .input:focus {
	outline: none !important;
	border-color: var(--g6m-rp-violet-bright) !important;
	box-shadow: var(--g6m-rp-glow) !important;
}

html body form.g6m-register-form .inputGroup,
html body form.g6m-register-form .inputGroup.inputGroup--joined {
	display: flex !important;
	align-items: stretch !important;
	width: 100% !important;
	max-width: 100% !important;
}

html body form.g6m-register-form .inputGroup .input {
	flex: 1 1 auto !important;
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

html body form.g6m-register-form .inputGroup-text {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 var(--g6m-rp-field-h) !important;
	width: var(--g6m-rp-field-h) !important;
	min-width: var(--g6m-rp-field-h) !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-left: 0 !important;
	border-radius: 0 var(--g6m-rp-field-r) var(--g6m-rp-field-r) 0 !important;
	background: rgba(12, 10, 20, 0.95) !important;
	box-sizing: border-box !important;
}

html body form.g6m-register-form .iconic--hideShow {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	min-height: var(--g6m-rp-field-h) !important;
	color: var(--g6m-rp-violet-bright) !important;
	cursor: pointer !important;
}

html body form.g6m-register-form .iconic--hideShow .iconic-label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
}

/* —— Captcha bay —— */
html body form.g6m-register-form .g6m-register-captcha {
	width: 100% !important;
	max-width: 100% !important;
	margin: 2px 0 !important;
	padding: 20px !important;
	border-radius: 14px !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	background: rgba(6, 5, 12, 0.72) !important;
	box-sizing: border-box !important;
}

html body form.g6m-register-form .g6m-register-captcha .formRow > dd {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	min-height: 0 !important;
}

html body form.g6m-register-form .g6m-register-captcha [data-xf-init="turnstile"],
html body form.g6m-register-form .g6m-register-captcha .cf-turnstile {
	margin: 0 auto !important;
	transform: none !important;
	max-width: 100% !important;
}

/* —— TOS —— */
html body form.g6m-register-form .g6m-register-tos {
	width: 100% !important;
	padding: 2px 0 !important;
}

html body form.g6m-register-form .g6m-register-tos .formRow > dt {
	display: none !important;
}

html body form.g6m-register-form .inputChoices,
html body form.g6m-register-form .inputChoices-choice {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body form.g6m-register-form .g6m-register-tos label.iconic {
	display: inline-flex !important;
	align-items: flex-start !important;
	gap: 0.7rem !important;
	font-size: 0.9rem !important;
	line-height: 1.45 !important;
	color: var(--g6m-rp-muted) !important;
	cursor: pointer !important;
}

html body form.g6m-register-form .g6m-register-tos label.iconic > input + i {
	flex: 0 0 18px !important;
	width: 18px !important;
	height: 18px !important;
	margin-top: 0.15rem !important;
	border-radius: 5px !important;
	border-color: rgba(139, 61, 255, 0.55) !important;
	background: rgba(8, 6, 14, 0.9) !important;
}

html body form.g6m-register-form .g6m-register-tos a,
html body form.g6m-register-form .formRow a {
	color: var(--g6m-rp-violet-bright) !important;
	background-image: var(--g6m-rp-grad) !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	text-decoration: none !important;
}

html body form.g6m-register-form .g6m-register-tos a:hover {
	filter: brightness(1.15) !important;
	text-decoration: underline !important;
}

/* —— CTA 54px —— */
html body form.g6m-register-form .formSubmitRow {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

html body form.g6m-register-form .formSubmitRow > dt { display: none !important; }

html body form.g6m-register-form .formSubmitRow > dd,
html body form.g6m-register-form .formSubmitRow-main,
html body form.g6m-register-form .formSubmitRow-controls {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

html body form.g6m-register-form .formSubmitRow-bar { display: none !important; }

html body form.g6m-register-form #js-signUpButton,
html body form.g6m-register-form .formSubmitRow .button.button--primary,
html body form.g6m-register-form .g6m-register-actions .button {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 54px !important;
	min-height: 54px !important;
	max-height: 54px !important;
	padding: 0 1.25rem !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: var(--g6m-rp-grad-btn) !important;
	background-size: 140% 140% !important;
	background-position: 0% 50% !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	font-size: 0.95rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	line-height: 1 !important;
	box-sizing: border-box !important;
	box-shadow: 0 10px 28px rgba(255, 11, 139, 0.28), 0 0 22px rgba(139, 61, 255, 0.22) !important;
	transition: transform var(--g6m-rp-ease), box-shadow var(--g6m-rp-ease), background-position var(--g6m-rp-ease), filter var(--g6m-rp-ease) !important;
	cursor: pointer !important;
}

html body form.g6m-register-form #js-signUpButton:hover,
html body form.g6m-register-form .formSubmitRow .button.button--primary:hover {
	transform: translateY(-2px) !important;
	background-position: 100% 50% !important;
	filter: brightness(1.06) !important;
	box-shadow: 0 14px 34px rgba(255, 11, 139, 0.36), 0 0 30px rgba(139, 61, 255, 0.3) !important;
}

html body form.g6m-register-form #js-signUpButton:active {
	transform: translateY(0) scale(0.985) !important;
}

/* —— Social —— */
.g6m-register-social {
	margin: 1.35rem 0 0 !important;
	padding: 0 !important;
	width: 100% !important;
}

.g6m-register-social__divider {
	display: flex !important;
	align-items: center !important;
	gap: 1rem !important;
	margin: 0 0 1rem !important;
	width: 100% !important;
}

.g6m-register-social__divider::before,
.g6m-register-social__divider::after {
	content: "" !important;
	flex: 1 1 auto !important;
	height: 1px !important;
	background: linear-gradient(90deg, transparent, rgba(255, 11, 139, 0.45), rgba(0, 215, 255, 0.45), transparent) !important;
}

.g6m-register-social__divider > span {
	flex: 0 0 auto !important;
	width: 42px !important;
	height: 42px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	border: 1px solid rgba(139, 61, 255, 0.65) !important;
	background: rgba(16, 10, 28, 0.95) !important;
	color: #f2eefc !important;
	font-size: 0.68rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
	box-shadow: 0 0 18px rgba(139, 61, 255, 0.45) !important;
}

.g6m-register-social__label {
	margin: 0 0 0.85rem !important;
	text-align: center !important;
	font-size: 0.78rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase !important;
	color: var(--g6m-rp-cyan) !important;
}

.g6m-register-social__grid {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.7rem !important;
	width: 100% !important;
}

.g6m-register-social__btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0.65rem !important;
	width: 100% !important;
	min-height: 54px !important;
	height: 54px !important;
	padding: 0 1.1rem !important;
	border-radius: 14px !important;
	border: 1px solid rgba(0, 215, 255, 0.45) !important;
	background: rgba(0, 215, 255, 0.06) !important;
	color: #fff !important;
	font-family: Rajdhani, sans-serif !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
	transition: background var(--g6m-rp-ease), transform var(--g6m-rp-ease), box-shadow var(--g6m-rp-ease), border-color var(--g6m-rp-ease) !important;
}

.g6m-register-social__btn:hover {
	background: rgba(0, 215, 255, 0.14) !important;
	border-color: var(--g6m-rp-cyan) !important;
	box-shadow: 0 0 20px rgba(0, 215, 255, 0.22) !important;
	transform: translateY(-2px) !important;
	color: #fff !important;
	text-decoration: none !important;
}

.g6m-register-social__btn--google { border-color: rgba(255, 11, 139, 0.45) !important; background: rgba(255, 11, 139, 0.06) !important; }
.g6m-register-social__btn--google:hover { border-color: var(--g6m-rp-pink) !important; box-shadow: 0 0 20px rgba(255, 11, 139, 0.25) !important; }
.g6m-register-social__btn--discord { border-color: rgba(139, 61, 255, 0.5) !important; background: rgba(139, 61, 255, 0.08) !important; }
.g6m-register-social__btn--github { border-color: rgba(255, 255, 255, 0.22) !important; background: rgba(255, 255, 255, 0.04) !important; }

.g6m-register-social__icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 1.55rem !important;
	height: 1.55rem !important;
	border-radius: 6px !important;
	background: rgba(255, 255, 255, 0.08) !important;
	font-size: 0.72rem !important;
	font-weight: 800 !important;
}

/* —— Benefits cards —— */
.g6m-register-benefits {
	margin: 1.5rem 0 0 !important;
	padding: 0 !important;
	width: 100% !important;
	border: 0 !important;
	background: transparent !important;
}

.g6m-register-benefits__title {
	margin: 0 0 0.9rem !important;
	text-align: center !important;
	font-family: Rajdhani, sans-serif !important;
	font-size: 0.82rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase !important;
	color: var(--g6m-rp-violet-bright) !important;
}

.g6m-register-benefits__list {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 0.65rem !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.g6m-register-benefits__item {
	display: flex !important;
	align-items: center !important;
	gap: 0.55rem !important;
	margin: 0 !important;
	padding: 0.75rem 0.85rem !important;
	border-radius: 12px !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	background: rgba(8, 6, 14, 0.55) !important;
	color: var(--g6m-rp-muted) !important;
	font-size: 0.88rem !important;
	line-height: 1.35 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
	transition: border-color var(--g6m-rp-ease), transform var(--g6m-rp-ease), box-shadow var(--g6m-rp-ease) !important;
}

.g6m-register-benefits__item:hover {
	border-color: rgba(0, 215, 255, 0.35) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28) !important;
}

.g6m-register-benefits__check {
	flex: 0 0 auto !important;
	color: var(--g6m-rp-cyan) !important;
	font-weight: 800 !important;
	text-shadow: 0 0 10px rgba(0, 215, 255, 0.35) !important;
}

.g6m-register-login-hint {
	margin: 1.35rem 0 0 !important;
	text-align: center !important;
	font-size: 0.92rem !important;
	color: var(--g6m-rp-muted-soft) !important;
}

.g6m-register-login-hint a {
	color: var(--g6m-rp-cyan) !important;
	font-weight: 800 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
	margin-left: 0.35rem !important;
	transition: color var(--g6m-rp-ease), text-shadow var(--g6m-rp-ease) !important;
}

.g6m-register-login-hint a:hover {
	color: #fff !important;
	text-shadow: 0 0 14px rgba(0, 215, 255, 0.45) !important;
}

/* Kill any leftover overlay register chrome */
.overlay-container:has(.g6m-register-shell),
.overlay-container:has(form.g6m-register-form) {
	display: none !important;
}

@media (max-width: 640px) {
	.g6m-register-benefits__list {
		grid-template-columns: 1fr !important;
	}
	.g6m-register-shell,
	html[data-template="register_form"] .g6m-register-shell {
		padding: 1.25rem 1rem 1.35rem !important;
	}
}

/* END G6M_REGISTER_PREMIUM_V332 */

/* G6M_AUTH_FOOTER_RESTORE_V333 — full forum footer on login/register */
html#XF body[data-template="login"] .g6m-forum-footer,
html#XF body.template-login .g6m-forum-footer,
html#XF body[data-template="login_password"] .g6m-forum-footer,
html#XF body[data-template="login_two_step"] .g6m-forum-footer,
html#XF body[data-template="register_form"] .g6m-forum-footer,
html#XF body.template-register_form .g6m-forum-footer,
html#XF body[data-template="login"] .p-footer.g6m-p-footer--v48,
html#XF body[data-template="register_form"] .p-footer.g6m-p-footer--v48,
html#XF body[data-template="login"] .p-footer,
html#XF body[data-template="register_form"] .p-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  background: transparent !important;
  margin-top: auto !important;
  padding-top: 0 !important;
}

html#XF body[data-template="login"] .g6m-forum-footer__body,
html#XF body.template-login .g6m-forum-footer__body,
html#XF body[data-template="login_password"] .g6m-forum-footer__body,
html#XF body[data-template="login_two_step"] .g6m-forum-footer__body,
html#XF body[data-template="register_form"] .g6m-forum-footer__body,
html#XF body.template-register_form .g6m-forum-footer__body,
html#XF body[data-template="login"] .g6m-forum-footer__border,
html#XF body.template-login .g6m-forum-footer__border,
html#XF body[data-template="register_form"] .g6m-forum-footer__border,
html#XF body.template-register_form .g6m-forum-footer__border,
html#XF body[data-template="login"] .g6m-forum-footer__scene,
html#XF body.template-login .g6m-forum-footer__scene,
html#XF body[data-template="register_form"] .g6m-forum-footer__scene,
html#XF body.template-register_form .g6m-forum-footer__scene {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  width: auto !important;
  overflow: hidden !important;
  margin: 0 !important;
  pointer-events: auto !important;
}

html#XF body[data-template="login"] .g6m-forum-footer__body,
html#XF body[data-template="register_form"] .g6m-forum-footer__body {
  position: relative !important;
  min-height: clamp(320px, 42vw, 460px) !important;
}

html#XF body[data-template="login"] .g6m-forum-footer__grid,
html#XF body[data-template="register_form"] .g6m-forum-footer__grid {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
}

html#XF body[data-template="login"] .g6m-forum-footer__bottom,
html#XF body[data-template="register_form"] .g6m-forum-footer__bottom {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
}

html#XF body[data-template="login"] .g6m-footer-legal,
html#XF body[data-template="register_form"] .g6m-footer-legal {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
}

html#XF body[data-template="login"] .g6m-forum-cta,
html#XF body[data-template="register_form"] .g6m-forum-cta {
  display: none !important;
}


/* G6M_REGISTER_UNITY_LOCK_V345 — final cover BG + sticky footer */
html#XF body[data-template="register_form"] .p-pageWrapper,
html#XF body.template-register_form .p-pageWrapper {
	display: flex !important;
	flex-direction: column !important;
	min-height: 100vh !important;
	min-height: 100dvh !important;
	background-color: #050508 !important;
	background-image:
		linear-gradient(180deg, rgba(5, 5, 8, 0.08) 0%, rgba(5, 5, 8, 0.18) 42%, rgba(5, 5, 8, 0.42) 78%, rgba(5, 5, 8, 0.55) 100%),
		url(/site/public/assets/img/hero/gta6modding-forum-bg-desktop.webp?v=1784478984) !important;
	background-position: center center, center center !important;
	background-size: cover, cover !important;
	background-repeat: no-repeat, no-repeat !important;
	background-attachment: fixed, fixed !important;
}
@media (max-width: 1920px) {
	html#XF body[data-template="register_form"] .p-pageWrapper,
	html#XF body.template-register_form .p-pageWrapper {
		background-image:
			linear-gradient(180deg, rgba(5, 5, 8, 0.08) 0%, rgba(5, 5, 8, 0.18) 42%, rgba(5, 5, 8, 0.42) 78%, rgba(5, 5, 8, 0.55) 100%),
			url(/site/public/assets/img/hero/gta6modding-forum-bg-tablet.webp?v=1784478984) !important;
	}
}
@media (max-width: 900px) {
	html#XF body[data-template="register_form"] .p-pageWrapper,
	html#XF body.template-register_form .p-pageWrapper {
		background-image:
			linear-gradient(180deg, rgba(5, 5, 8, 0.08) 0%, rgba(5, 5, 8, 0.18) 42%, rgba(5, 5, 8, 0.42) 78%, rgba(5, 5, 8, 0.55) 100%),
			url(/site/public/assets/img/hero/gta6modding-forum-bg-mobile.webp?v=1784478984) !important;
		background-attachment: scroll, scroll !important;
	}
}
html#XF body[data-template="register_form"] .p-body,
html#XF body.template-register_form .p-body {
	flex: 1 0 auto !important;
	background: transparent !important;
}
html#XF body[data-template="register_form"] .p-footer,
html#XF body[data-template="register_form"] .g6m-forum-footer {
	flex: 0 0 auto !important;
	margin-top: auto !important;
	background: transparent !important;
	background-image: none !important;
}
/* END G6M_REGISTER_UNITY_LOCK_V345 */
