*{box-sizing:border-box}
body.authbody{margin:0;min-height:100vh;background:#090806;color:#f6f1e7;font-family:Inter,Arial,sans-serif}
body.authbody:before{content:'';position:fixed;inset:0;background:radial-gradient(circle at 90% 5%,#8a5b1f33,transparent 25%),radial-gradient(circle at 0 80%,#b47a2330,transparent 30%);pointer-events:none}
.auth-wrap{position:relative;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 18px;gap:26px}
.auth-logo img{height:40px;display:block}
.auth-card{width:100%;max-width:420px;background:#11100e;border:1px solid #4b3920;border-radius:18px;padding:30px;box-shadow:0 30px 70px #000}
.auth-card h1{font-family:Georgia,serif;color:#e6b75f;font-size:30px;margin:0 0 6px}
.auth-card>p{color:#aaa;margin:0 0 22px;line-height:1.5}
.auth-form{display:flex;flex-direction:column;gap:14px}
.auth-form label{display:flex;flex-direction:column;gap:7px;font-size:14px;color:#ddd}
.auth-form input{background:#0b0b0a;color:#eee;border:1px solid #5a4627;border-radius:9px;padding:13px;font-size:15px}
.auth-form input:focus{outline:none;border-color:#d5a44d}
.auth-btn{background:linear-gradient(135deg,#ffe19b,#bd7d26);color:#171008;padding:15px;border-radius:12px;font-weight:800;border:0;cursor:pointer;font-size:15px}
.auth-btn:disabled{opacity:.6;cursor:default}
.auth-google{background:#171511;border:1px solid #9b7130;color:#edc16d;border-radius:12px;padding:14px;cursor:pointer;font-weight:700;width:100%;font-size:15px}
.auth-divider{display:flex;align-items:center;gap:12px;color:#777;font-size:13px;margin:18px 0}
.auth-divider:before,.auth-divider:after{content:'';flex:1;height:1px;background:#3a2c19}
.auth-links{display:flex;justify-content:space-between;gap:10px;margin-top:18px;font-size:14px;flex-wrap:wrap}
.auth-links button{background:none;border:0;color:#e6b75f;cursor:pointer;padding:0;font-size:14px}
.auth-msg{border-radius:10px;padding:12px;font-size:14px;line-height:1.45}
.auth-msg.ok{background:#1b1609;border:1px solid #9b7130;color:#f0c66f}
.auth-msg.err{background:#1d0d0b;border:1px solid #7a2f25;color:#f1a596}
.auth-back{color:#aaa;text-decoration:none;font-size:14px}
.auth-wrap .auth-card h1{color:#e6b75f!important;-webkit-text-fill-color:#e6b75f}
.auth-wrap button:after,.auth-wrap button:before{display:none!important}
.auth-wrap .auth-back{color:#6f5429}
/* Refino: dourado só como acento */
.auth-form label{color:#d6d3cd}
.auth-form input{background:#0c0c0c;color:#f4f1ea;border:1px solid #2c2b29;transition:border-color .15s,box-shadow .15s}
.auth-form input:hover{border-color:#44423e}
.auth-form input:focus{border-color:#b98a3e;box-shadow:0 0 0 3px #d5a44d1f}
.auth-card{border-color:#26241f}
.auth-divider{color:#8a8782}
.auth-divider:before,.auth-divider:after{background:#2a2926}
.auth-msg{display:flex;gap:10px;align-items:flex-start}
.auth-msg.ok{background:#161614;border:1px solid #2e2d2a;color:#ece9e2}
.auth-msg.err{background:#161413;border:1px solid #3a2a27;color:#e8b1a6}
.auth-msg-icon{font-style:normal;color:#e0b058;font-weight:800;flex:none}
.auth-btn{transition:filter .15s,transform .15s}
.auth-btn:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px)}
.auth-switch .muted{color:#bdbab4}
.auth-switch .gold{color:#e6b75f}
.auth-switch:hover .gold{text-decoration:underline;text-underline-offset:3px}
.auth-pw-rules{font-size:13px;color:#a9a6a0;margin-top:-4px}
.auth-pw-rules ul{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:4px 12px}
.auth-pw-rules li{display:flex;gap:6px;align-items:center}
.auth-pw-rules li i{font-style:normal;width:12px;text-align:center}
.auth-pw-rules li.ok{color:#e4e1da}
.auth-pw-rules li.ok i{color:#d9ab55}
@media(max-width:420px){.auth-pw-rules ul{grid-template-columns:1fr}}
/* Paleta: fundo preto + card claro (tokens do painel: --p-bg #f5f4f1, --p-line #e7e4de, --p-line-2 #d9d5cc, --p-gold #c8932f, --p-gold-d #9a6c1c) */
body.authbody{background:#0a0a0a}
body.authbody:before{display:none}
.auth-card{background:#f5f4f1;border:1px solid #e7e4de;box-shadow:0 30px 70px #0009}
.auth-wrap .auth-card h1{color:#9a6c1c!important;-webkit-text-fill-color:#9a6c1c}
.auth-card>p{color:#6b6860}
.auth-form label{color:#2a2926}
.auth-form input{background:#fff;color:#1c1d21;border:1px solid #d9d5cc}
.auth-form input::placeholder{color:#a19d95}
.auth-form input:hover{border-color:#bdb8ad}
.auth-form input:focus{border-color:#c8932f;box-shadow:0 0 0 3px #c8932f26}
.auth-google{background:#fff;border:1px solid #d9d5cc;color:#1c1d21}
.auth-google:hover{border-color:#c8932f}
.auth-divider{color:#8a867e}
.auth-divider:before,.auth-divider:after{background:#e0dcd4}
.auth-links button{color:#9a6c1c}
.auth-switch .muted{color:#6b6860}
.auth-switch .gold{color:#9a6c1c}
.auth-msg.ok{background:#fbf4e6;border:1px solid #ecd6a6;color:#3a2e17}
.auth-msg.err{background:#fcefec;border:1px solid #efc6bd;color:#8a2c1f}
.auth-msg-icon{color:#9a6c1c}
.auth-pw-rules{color:#6b6860}
.auth-pw-rules li.ok{color:#1c1d21}
.auth-pw-rules li.ok i{color:#9a6c1c}
.auth-wrap .auth-back{color:#b9bcc3}
