/* FUMA PRO CLUB - Inscription, esquisse 2 validée. Visual only. */
/* Styling scoped to signup steps to avoid changes to site header, account and other sections. */
.fpcRulesGate, .fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm){
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  max-width:920px!important;width:100%!important;margin-inline:auto!important;
  border:1px solid #c8a343!important;border-radius:19px!important;
  background:linear-gradient(180deg,rgba(4,29,18,.98),rgba(2,13,11,.98))!important;
  color:#f6f4e9!important;
  box-shadow:0 18px 60px #000a,0 0 0 1px rgba(221,191,97,.18) inset!important;
  padding:clamp(22px,3.5vw,38px)!important;
}
/* Sports action imagery remains decorative and cannot intercept form interactions. */
.fpcRulesGate::before,.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm)::before{
  content:"";position:relative;display:block;height:clamp(128px,19vw,206px);width:calc(100% + 76px);
  margin:calc(-1 * clamp(22px,3.5vw,38px)) -38px 22px;
  background:linear-gradient(to bottom,rgba(1,18,13,.04),rgba(1,18,13,.12) 30%,#051c15 99%),url('assets/home_hero_clear_20261024.webp') center 48% / cover no-repeat;
  border-bottom:1px solid rgba(227,180,66,.55);pointer-events:none;
}
.fpcRulesGate::after,.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm)::after{
  content:"FUMA PRO CLUB  •  11 VS 11  •  FULL MANUEL";
  position:absolute;top:clamp(88px,15vw,163px);left:clamp(22px,3.5vw,38px);right:12px;
  color:#fff5d4;font-weight:900;font-size:clamp(11px,1.35vw,16px);letter-spacing:.08em;
  text-shadow:0 2px 7px #000,0 0 12px #000;pointer-events:none;
}
.fpcRulesGate h2,.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) h2{
  color:#f9f9f4!important;text-transform:uppercase;line-height:1.16!important;
  font-size:clamp(24px,3vw,36px)!important;letter-spacing:.035em!important;
  text-shadow:0 2px 10px #0009;
}
.fpcRulesGate .label,.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) .label{
  color:#e6c55f!important;letter-spacing:.1em!important;font-weight:900!important;
}
.fpcRulesGate .fpcRulesIntro,.fpcRulesGate .fpcRulesSteps li,
.fpcRulesGate .devRulesConsent,.fpcRulesGate .devRulesHint,
.fpcRulesGate .fpcSignupUILanguage,.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) label,
.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) .muted{
  color:#f5f1e5!important;opacity:1!important;
}
.fpcRulesGate .fpcRulesSteps{
  border:1px solid rgba(210,171,72,.55)!important;
  background:linear-gradient(110deg,#09281e,#061b16)!important;
  border-radius:15px!important;padding:20px!important;gap:16px!important;
}
.fpcRulesGate .fpcRulesSteps li:before{
  background:linear-gradient(135deg,#f3d978,#b28220)!important;color:#05170e!important;
  box-shadow:0 0 0 2px #123c29,0 0 18px #f6c13b55!important;
}
.fpcRulesGate .fpcSignupUILanguage select,
.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) input,
.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) select{
  background:#edf2e9!important;color:#14251c!important;border:1px solid #d5b765!important;
  border-radius:10px!important;min-height:46px!important;box-shadow:0 2px 0 #0005!important;
}
.fpcRulesGate :is(input,select,button):focus-visible,
.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) :is(input,select,button):focus-visible{
  outline:3px solid #e7c65c!important;outline-offset:3px!important;
}
.fpcRulesGate .devRulesView,
.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) button.primary{
  background:linear-gradient(180deg,#e9ce75,#ad7c20)!important;
  color:#0e1b10!important;border:1px solid #f3dc89!important;
  border-radius:10px!important;min-height:50px!important;
  font-weight:900!important;box-shadow:0 3px 13px #0007!important;
}
.fpcRulesGate .devRulesConsent{
  background:rgba(12,47,34,.92)!important;border:1px solid #a78c41!important;
  border-radius:12px!important;padding:17px!important;
}
.fpcRulesGate .devRulesConsent input{accent-color:#d9b955!important}
.fpcRulesGate .devRulesHint{color:#e3d2a4!important}
.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) form{gap:17px!important}
.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) .devAccountsGrid{gap:14px!important}
@media(max-width:650px){
 .fpcRulesGate,.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm){padding:19px!important;border-radius:14px!important}
 .fpcRulesGate::before,.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm)::before{width:calc(100% + 38px);margin:-19px -19px 18px;height:130px}
 .fpcRulesGate::after,.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm)::after{left:19px;top:92px;font-size:10px}
 .fpcRulesGate .fpcRulesSteps{padding:13px!important}
}
@media(prefers-reduced-motion:reduce){.fpcRulesGate *,.fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) *{scroll-behavior:auto!important}}

/* Correctif contraste page inscription uniquement — 2026-10-25. */
html body .fpcRulesGate h1,
html body .fpcRulesGate h2,
html body .fpcRulesGate h3,
html body .fpcRulesGate .devAccountsTitle,
html body .fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) h1,
html body .fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) h2 {
  color:#fffaf0!important;
  opacity:1!important;
  -webkit-text-fill-color:#fffaf0!important;
  text-shadow:0 2px 10px rgba(0,0,0,.65)!important;
}
html body .fpcRulesGate p,
html body .fpcRulesGate .fpcRulesIntro,
html body .fpcRulesGate .devRulesHint,
html body .fpcRulesGate .fpcRulesTranslationNotice,
html body .fpcRulesGate .fpcRulesSteps li,
html body .fpcRulesGate label,
html body .fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) p,
html body .fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) label {
  color:#f7f1e2!important;
  opacity:1!important;
  -webkit-text-fill-color:#f7f1e2!important;
}
html body .fpcRulesGate .label,
html body .fpcRulesGate .fpcSignupUILanguage label {
  color:#f3d87d!important;
  -webkit-text-fill-color:#f3d87d!important;
}
/* Controls keep their own readable foreground. */
html body .fpcRulesGate select,
html body .fpcRulesGate select option,
html body .fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) input:not([type=checkbox]),
html body .fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) select {
  color:#14251c!important;
  -webkit-text-fill-color:#14251c!important;
}
html body .fpcRulesGate .devRulesView,
html body .fpcWelcomeAuthChoice .devAccountsCard:has(#devSignupForm) button.primary {
  color:#102317!important;
  -webkit-text-fill-color:#102317!important;
}

/* PC players: PSN not applicable */
#devSignupForm .fpcPSNInactive input,#devFinishForm .fpcPSNInactive input{opacity:.42!important;cursor:not-allowed!important;background:#26352e!important;color:#a0aaa2!important}
