/* SUP81 — MH cinematic login: original MH artwork, no reproduction of third-party footage.
   Additive scoped styles; only while authentication is visible. */
@media(min-width:830px){
 #auth.auth-wrap:not(.hidden){padding:20px!important;min-height:100dvh;place-items:center!important}
 #auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)){width:min(1050px,100%)!important;max-width:1050px!important;padding:22px 27px 24px calc(37% + 22px)!important;overflow:hidden!important;box-sizing:border-box!important;min-height:680px;animation:mh81-popup .9s cubic-bezier(.18,.83,.22,1) both!important}
 #auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)) .mh75-scene{display:block!important;width:35.5%!important;height:100%!important;inset:0 auto 0 0!important;border-radius:21px 0 0 21px!important;overflow:hidden}
 #auth .mh75-scene-top{inset:40px 15px auto!important;width:auto!important;text-align:center!important}
 #auth .mh75-scene-title{font-size:clamp(17px,2vw,25px)!important;margin-top:12px!important}
 #auth .mh75-scene-sub{display:block!important;line-height:1.6}
 #auth .mh75-scene-foot{display:block!important}
 #auth .mh75-scene-floor{bottom:78px!important}
 #auth .mh75-scene-gate{left:auto!important;right:12%!important;bottom:92px!important;width:84px!important;height:155px!important;border-width:3px!important;border-radius:14px!important;box-shadow:0 0 16px #ac304c,0 0 44px #8c1935 inset!important}
 #auth .mh75-scene-gate:before{font-size:24px!important;left:8px!important;right:8px!important;top:22px!important}
 #auth .mh75-scene-gate:after{width:42px!important;left:19px!important;bottom:23px!important;height:4px!important}
 #auth .mh75-character{display:block!important;left:8%!important;bottom:85px!important;width:110px!important;height:172px!important;animation:mh81-boy-push 2.6s cubic-bezier(.22,.84,.35,1) both!important}
 #auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)) .brand-auth{min-height:62px}
 #auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)) .auth-language-row{margin:8px 0 6px!important}
 #auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)) h1{margin:6px 0 2px!important}
 #auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden))>.muted{margin:7px 0!important}
 #auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)) .auth-tabs{margin:12px 0!important}
 #auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)) .social-auth-block{margin:12px 0!important;gap:7px!important}
 #auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)) .field{margin-bottom:10px!important}
 #auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)) .auth-tabs,#auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)) #loginForm,#auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)) .social-auth-block{animation:mh81-form-arrives 1.1s .27s both!important}
}
/* Tablet stage stays part of the card, never overlays form elements. */
@media(min-width:561px) and (max-width:829px){
 #auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)){padding-top:156px!important}
 #auth .mh75-character{display:block!important;left:61%!important;bottom:26px!important;width:60px!important;height:85px!important;animation:mh81-boy-tablet 2.6s both!important}
 #auth .mh75-scene-gate{right:5%!important}
}
@media(max-width:560px){
 #auth .mh75-character{display:block!important;left:58%!important;bottom:20px!important;width:44px!important;height:72px!important;animation:mh81-boy-tablet 2s both!important}
 #auth .mh75-scene-top{left:16px!important;right:auto!important;width:55%!important}
 #auth .mh75-scene-gate{right:3%!important;width:33px!important;height:58px!important}
 #auth .auth-card .auth-tabs.auth-tabs-3>button{font-size:12px!important;min-height:50px!important}
}
#auth .mh75-scene{background:radial-gradient(circle at 55% 76%,rgba(189,35,67,.25),transparent 48%),linear-gradient(150deg,#211016,#09090c 80%)!important}
#auth .mh75-character{filter:drop-shadow(0 5px 7px rgba(0,0,0,.5))}
#auth .mh75-character .mh75-leg-a,#auth .mh75-character .mh75-leg-b{animation-duration:.39s!important;animation-iteration-count:6!important}
#auth .mh75-scene-gate{animation:mh81-glow-gate 2.3s ease-out both!important}
#auth .mh75-scene-kicker{color:#ed8796!important}
@keyframes mh81-boy-push{0%{opacity:0;transform:translateX(-130px) rotate(-3deg)}12%{opacity:1}54%{transform:translateX(17px) rotate(0)}75%{transform:translateX(30px) rotate(-8deg)}100%{opacity:1;transform:translateX(24px)}}
@keyframes mh81-boy-tablet{0%{opacity:0;transform:translateX(-70px)}50%{opacity:1;transform:translateX(12px)}100%{opacity:1;transform:translateX(0)}}
@keyframes mh81-glow-gate{0%,20%{opacity:.15;box-shadow:none}67%{opacity:1;box-shadow:0 0 38px rgba(226,67,93,.75),0 0 34px rgba(226,67,93,.24) inset}100%{opacity:1}}
@keyframes mh81-form-arrives{0%{opacity:.32;transform:translateX(44px)}52%{opacity:1;transform:translateX(-6px)}100%{opacity:1;transform:translateX(0)}}
@keyframes mh81-popup{from{opacity:.7;transform:scale(.985)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){#auth .mh75-character,#auth .mh75-scene-gate,#auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)) .auth-tabs,#auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)) #loginForm,#auth:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)) .social-auth-block{animation:none!important;transform:none!important}}
/* Win over legacy body-tail rules without touching any form's application logic. */
@media(min-width:830px){
 html body #auth.auth-wrap:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)){width:min(1050px,100%)!important;max-width:1050px!important;padding:22px 27px 24px calc(37% + 22px)!important;min-height:680px!important;overflow:hidden!important}
 html body #auth .mh75-scene{width:35.5%!important;height:100%!important;inset:0 auto 0 0!important;border-radius:21px 0 0 21px!important}
 html body #auth .mh75-character{display:block!important;left:8%!important;bottom:85px!important;width:110px!important;height:172px!important}
}
@media(min-width:830px){
 html body #auth.auth-wrap:not(.hidden){grid-template-columns:minmax(0,1fr)!important;width:100%!important}
 html body #auth.auth-wrap:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)){width:min(1050px,calc(100vw - 40px))!important;max-width:calc(100vw - 40px)!important;justify-self:center!important}
}
@media(min-width:830px){html body #auth.auth-wrap:not(.hidden)>.auth-card:has(#loginForm:not(.hidden)){transition:none!important}}
