/* POGAMES login — presentation only, scoped to .pg-auth */
.pg-auth{
    width:100%;
    max-width:520px;
    margin:0 auto;
    padding:32px 16px 56px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:16px;
}
.pg-auth-card{
    width:100%;
    background:var(--pg-surface);
    border:1px solid var(--pg-border);
    border-radius:24px;
    padding:34px 32px 30px;
    box-shadow:0 24px 60px #0004;
}
.pg-auth-logo{
    display:inline-flex;
    align-items:center;
    min-height:44px;
    margin-bottom:22px;
}
.pg-auth-logo img{
    width:180px;
    height:44px;
    object-fit:contain;
}
.pg-auth-card .pg-eyebrow{
    margin:0 0 10px;
    color:var(--pg-purple);
    font-size:12px;
    font-weight:800;
    letter-spacing:1.6px;
    text-transform:uppercase;
}
.pg-auth-card h1{
    margin:0 0 10px;
    font-size:30px;
    letter-spacing:-.6px;
}
.pg-auth-lede{
    margin:0 0 22px;
    color:var(--pg-muted);
    font-size:15px;
    line-height:1.55;
}
.pg-auth-alert{
    display:block;
    margin:0 0 20px;
    padding:13px 16px;
    border:1px solid #ff6b6b;
    border-left-width:4px;
    border-radius:12px;
    background:#3a1720;
    color:#ffd9de;
    font-size:14px;
    font-weight:600;
    line-height:1.5;
}
[data-theme=light] .pg-auth-alert{
    background:#fdecef;
    color:#8f1d2c;
}
.pg-auth-form{
    display:flex;
    flex-direction:column;
    gap:18px;
    margin:0;
}
.pg-auth-field{
    display:flex;
    flex-direction:column;
    gap:8px;
    min-width:0;
}
.pg-auth-field label{
    color:var(--pg-text);
    font-size:14px;
    font-weight:700;
    letter-spacing:.2px;
}
.pg-auth-input{
    width:100%;
    min-height:48px;
    padding:12px 16px;
    border:1px solid transparent;
    border-radius:12px;
    background:var(--pg-field);
    color:var(--pg-text);
    font-size:16px;
    line-height:1.4;
    transition:background .15s,border-color .15s;
}
.pg-auth-input::placeholder{color:var(--pg-muted);opacity:1}
.pg-auth-input:hover{background:var(--pg-border)}
.pg-auth-input:focus{background:var(--pg-panel);border-color:var(--pg-purple)}
.pg-auth-input:disabled{opacity:.62;cursor:not-allowed}
.pg-auth-secret{position:relative;display:flex}
.pg-auth-secret .pg-auth-input{padding-right:60px}
.pg-auth-toggle{
    position:absolute;
    top:2px;
    right:2px;
    width:44px;
    height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:10px;
    background:transparent;
    color:var(--pg-muted);
}
.pg-auth-toggle:hover{background:var(--pg-border);color:var(--pg-text)!important}
.pg-auth-help{
    margin:0;
    color:var(--pg-muted);
    font-size:13px;
    line-height:1.45;
}
.pg-auth-submit{
    width:100%;
    min-height:48px;
    padding:13px 24px;
    border:0;
    border-radius:28px;
    background:var(--pg-lime);
    color:#162000;
    font-size:16px;
    font-weight:800;
    letter-spacing:.2px;
    transition:filter .15s,transform .1s;
    touch-action:manipulation;
}
.pg-auth-submit:hover{filter:brightness(.94)}
.pg-auth-submit:active{transform:scale(.99)}
.pg-auth-links{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px 18px;
    margin-top:22px;
    padding-top:20px;
    border-top:1px solid var(--pg-border);
}
.pg-auth-links a{
    display:inline-flex;
    align-items:center;
    min-height:44px;
    color:var(--pg-purple);
    font-size:14px;
    font-weight:600;
}
.pg-auth-links a:hover{color:var(--pg-lime)}
.pg-auth-note{
    margin:0;
    max-width:420px;
    color:var(--pg-muted);
    font-size:13px;
    line-height:1.5;
    text-align:center;
}
.pg-auth .g-recaptcha{margin:2px 0 4px}
.pg-auth-wide{max-width:580px}
.pg-auth-grid{display:grid;grid-template-columns:1fr;gap:18px}
@media (min-width:480px){.pg-auth-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pg-auth-success{
    display:block;
    margin:0 0 20px;
    padding:13px 16px;
    border:1px solid var(--pg-lime);
    border-left-width:4px;
    border-radius:12px;
    background:#22320a;
    color:#e7ffb8;
    font-size:14px;
    font-weight:600;
    line-height:1.5;
}
[data-theme=light] .pg-auth-success{
    background:#f2fbdc;
    color:#3c5200;
}
.pg-auth-terms{
    display:flex;
    align-items:flex-start;
    gap:12px;
    min-height:44px;
    color:var(--pg-muted);
    font-size:14px;
    line-height:1.5;
    cursor:pointer;
}
.pg-auth-terms input{
    width:20px;
    height:20px;
    flex:0 0 20px;
    margin-top:2px;
    accent-color:var(--pg-purple);
}
.pg-auth-terms a{color:var(--pg-purple);font-weight:600}
.pg-auth-terms a:hover{color:var(--pg-lime)}
@media (max-width:520px){
    .pg-auth{padding:18px 12px 44px}
    .pg-auth-card{padding:24px 20px 22px;border-radius:18px}
    .pg-auth-card h1{font-size:25px}
    .pg-auth-logo{margin-bottom:18px}
}
@media (prefers-reduced-motion:reduce){
    .pg-auth-submit,.pg-auth-input{transition:none}
}
