/* Paint one stable player login; legacy scripts may enhance content, not move it. */
html.swe-player-login-first-paint:has(#auth:not(.hidden)) body{background:radial-gradient(circle at 50% 0%,#fff8e6,#eff5fd 70%)!important}
html.swe-player-login-first-paint #auth{width:min(470px,calc(100% - 28px))!important;max-width:470px!important;margin:7vh auto 0!important;min-height:0!important}
html.swe-player-login-first-paint #auth>.top{display:none!important}
html.swe-player-login-first-paint #auth #loginCard{background:#fff!important;border:1px solid #d8e4f3!important;border-radius:20px!important;box-shadow:0 15px 40px #0c28501b!important;padding:22px!important;margin:0 auto!important}
html.swe-player-login-first-paint:has(#auth:not(.hidden)) .app{max-width:600px!important;margin:auto!important;padding:16px!important}
html.swe-player-login-first-paint #auth #loginCard .auth-login-brand{display:flex!important;align-items:center!important;gap:12px!important;margin:0 0 16px!important}
html.swe-player-login-first-paint #auth #loginCard .auth-login-brand img{width:48px!important;height:48px!important;object-fit:contain!important}
html.swe-player-login-first-paint #sweLoginOffers4252,html.swe-player-login-first-paint #sweComplexHome4281,html.swe-player-login-first-paint #swePublicTabs4310{display:none!important}
@media(max-width:650px){html.swe-player-login-first-paint #auth{margin:32px auto!important}}

/* Keep the authentication shell visually stable while remote settings and enhancements load. */
html.swe-player-login-first-paint #auth:not(.hidden) #loginCard{max-width:470px!important;width:100%!important;box-sizing:border-box!important}
html.swe-player-login-first-paint #auth:not(.hidden)~#main{display:none!important}
html.swe-player-login-first-paint #auth:not(.hidden) #sweLoginOffers4252,html.swe-player-login-first-paint #auth:not(.hidden) .auth-offers{display:none!important}
html.swe-player-login-first-paint #auth:not(.hidden) #loginCard .auth-login-brand>img{width:48px!important;height:48px!important}
html.swe-player-login-first-paint #auth:not(.hidden) #loginCard input{box-sizing:border-box!important;max-width:100%!important}
