/* Tela inicial exclusiva do Politica Global: imagem ORIGINAL enviada pelo usuario. */
#pgWelcome{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:#070b13;overflow:hidden;color:#f4ebd7;font-family:system-ui,-apple-system,Arial,sans-serif}
#pgWelcome.pg-welcome-closed{display:none!important}
body.pg-welcome-active{overflow:hidden}
#pgWelcome .pg-welcome-art{position:relative;width:min(100vw,56.25dvh);height:min(100dvh,177.7778vw);aspect-ratio:9/16;flex:none;overflow:hidden;background:#111822}
#pgWelcome .pg-welcome-art img{display:block;width:100%;height:100%;object-fit:fill;user-select:none;-webkit-user-drag:none;pointer-events:none}
#pgWelcome .pg-welcome-hit{position:absolute;left:14%;width:72%;border:0;border-radius:9px;background:transparent;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
#pgWelcome .pg-welcome-hit:focus-visible{outline:3px solid #ffe39a;outline-offset:2px;background:#ffffff1c}
#pgWelcome .pg-welcome-hit:active{background:#ffffff22}
#pgWelcome .pg-welcome-enter{top:75.8%;height:6.7%}
#pgWelcome .pg-welcome-register{top:83.9%;height:6.7%}
#pgWelcome .pg-screenreader{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#pgWelcome .pg-welcome-modal{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:14px;overflow-y:auto;background:#060b15e8}
#pgWelcome .pg-welcome-modal.hidden{display:none!important}
#pgWelcome .pg-welcome-dialog{width:min(430px,100%);max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(150deg,#23334a,#121c2c);border:1px solid #bf9d5f;border-radius:17px;padding:18px 17px 20px;box-shadow:0 15px 55px #0009}
#pgWelcome .pg-welcome-back{background:transparent;border:0;color:#f0ce8e;font-size:14px;padding:7px 4px;cursor:pointer}
#pgWelcome .pg-welcome-dialog h2{color:#f0ce8e;margin:7px 0 16px;font-size:22px;text-align:center}
#pgWelcome #accountForm .grid{display:grid;grid-template-columns:1fr;gap:4px}
#pgWelcome #accountForm .field{color:#e4dfd7;font-size:13px}
#pgWelcome #accountForm .field input,#pgWelcome #accountForm .field select{background:#0a1321;color:#fff;border:1px solid #857451;border-radius:9px;padding:12px;width:100%;font-size:16px}
#pgWelcome #accountForm .buttons{display:flex;flex-direction:column;margin-top:14px}
#pgWelcome #accountForm .buttons button{display:block;width:100%;padding:13px;background:#d1ab67;border:1px solid #e8c38a;border-radius:9px;color:#132033;font-weight:700}
#pgWelcome.pg-welcome-mode-login #accountForm .grid>.field:nth-child(n+3),#pgWelcome.pg-welcome-mode-login #accountForm .buttons button:first-child,#pgWelcome.pg-welcome-mode-login #accountForm>.small:not(:last-child){display:none!important}
#pgWelcome.pg-welcome-mode-register #accountForm .buttons button:nth-child(2){display:none!important}
#pgWelcome #pgAccountError{display:none;line-height:1.45}
#pgWelcome #accountForm>.small{font-size:11px;line-height:1.55;color:#abb9ca;margin-top:13px}
@media(prefers-reduced-motion:reduce){#pgWelcome *,#pgWelcome *::before{animation:none!important;transition:none!important}}

/* Preenche a tela vertical do celular sem distorcer a arte original. */
@media(max-aspect-ratio:3/4){
 #pgWelcome .pg-welcome-art{width:100vw;height:100dvh;aspect-ratio:auto}
 #pgWelcome .pg-welcome-art img{object-fit:cover;object-position:center center}
}


/* 1.59 — arte original no carregamento após login/cadastro bem-sucedidos. */
#pgSessionLoading{position:fixed;inset:0;z-index:10010;display:flex;align-items:center;justify-content:center;background:#090b11;color:#f4ebd7;overflow:hidden;animation:pgSessionFadeIn .25s ease both}
#pgSessionLoading[hidden]{display:none!important}
#pgSessionLoading .pg-session-loading-art{width:min(100vw,56.25dvh);height:min(100dvh,177.7778vw);aspect-ratio:9/16;flex:none;background:#0c1018;overflow:hidden}
#pgSessionLoading .pg-session-loading-art img{display:block;width:100%;height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none;pointer-events:none}
#pgSessionLoading .pg-screenreader{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body.pg-session-loading-active{overflow:hidden}
@keyframes pgSessionFadeIn{from{opacity:0}to{opacity:1}}
@media (max-aspect-ratio:3/4){
 #pgSessionLoading .pg-session-loading-art{width:100vw;height:100dvh;aspect-ratio:auto}
 #pgSessionLoading .pg-session-loading-art img{object-fit:cover;object-position:center center}
}
@media(prefers-reduced-motion:reduce){#pgSessionLoading{animation:none!important}}
