.webpw-auth-open{overflow:hidden}
.webpw-auth-dialog{box-sizing:border-box;width:min(520px,calc(100% - 24px));height:min(800px,calc(100dvh - 32px));max-width:none;max-height:none;margin:auto;padding:0;border:1px solid #987447;border-radius:8px;background:#170d0a;color:#f3e6ce;box-shadow:0 24px 80px #0009;overflow:hidden}
.webpw-auth-dialog::backdrop{background:rgba(0,0,0,.72)}
.webpw-auth-heading{height:54px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;padding:0 12px 0 22px;border-bottom:1px solid #98744766;font:700 14px/1.3 Manrope,Arial,sans-serif;letter-spacing:0}
.webpw-auth-close{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:4px;background:transparent;color:inherit;font:30px/1 Arial;cursor:pointer}
.webpw-auth-close:hover,.webpw-auth-close:focus-visible{background:#98744733;outline:1px solid #bc945b}
.webpw-auth-dialog iframe{display:block;border:0;width:100%;height:calc(100% - 54px);background:transparent}
.webpw-auth-dialog iframe[hidden],.webpw-auth-loading[hidden]{display:none}
.webpw-auth-loading{padding:24px;font:14px/1.6 Arial,sans-serif;color:inherit}
html[data-theme="light"] .webpw-auth-dialog{background:#f7eddf;color:#392717}
body.webpw-auth-frame{margin:0;padding:22px;background:#170d0a;color:#eee1ce;font:14px/1.5 Arial,sans-serif;letter-spacing:0;min-height:100vh;box-sizing:border-box}
.webpw-auth-frame *{box-sizing:border-box}
.webpw-auth-frame .container{width:100%;max-width:none;padding:0;margin:0}
.webpw-auth-frame .pwe-login-hero{display:none}
.webpw-auth-frame [data-webpw-theme-toggle]{display:none}
.webpw-auth-frame [data-webpw-turnstile]{margin:16px 0;padding:12px 0}
.webpw-auth-frame [data-turnstile-status]{font-size:12px;line-height:1.5;color:#cbbca9}
.webpw-auth-frame [data-turnstile-retry]{padding:8px 12px;border:1px solid #987447;border-radius:4px;background:transparent;color:inherit;cursor:pointer}
.webpw-auth-frame h1{font-size:26px;font-weight:700;margin:0 0 8px;color:#f5d695}
.webpw-auth-frame a{color:#e9bd70;text-decoration:underline;text-underline-offset:3px}
.webpw-auth-frame .links_,.webpw-auth-frame .links{font-size:13px;line-height:1.5;margin:0 0 20px;color:#cbbca9}
.webpw-auth-frame .form-group{margin-bottom:15px}
.webpw-auth-frame .border-lable-flt{display:flex;flex-direction:column}
.webpw-auth-frame .border-lable-flt>label{order:-1;margin:0 0 6px;font-weight:600;font-size:13px}
.webpw-auth-frame .form-control{height:44px;padding:10px 12px;background:#0f0b09;color:#fff;border:1px solid #746047;border-radius:5px;font-size:16px;box-shadow:none}
.webpw-auth-frame .form-control:focus{border-color:#efc475;box-shadow:0 0 0 2px #efc47530}
.webpw-auth-frame input::placeholder{color:#a79988}
.webpw-auth-frame .btn.gam1ng{min-height:46px;background:#dfae58;color:#23170c;border:1px solid #eccb88;border-radius:5px;font-size:14px;font-weight:700;letter-spacing:0;margin-bottom:18px}
.webpw-auth-frame .btn.gam1ng:hover{background:#edc77e}
.webpw-auth-frame .btn[aria-disabled="true"]{opacity:.7;cursor:wait}
.webpw-auth-frame .checkbox{font-size:13px;margin-top:15px}
.webpw-auth-frame .checkbox input{accent-color:#dba742}
.webpw-auth-frame .pwe-human-check{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;padding:14px;border:1px solid #746047;border-radius:6px;background:#221810}
.webpw-auth-frame .pwe-human-check__icon{align-self:center;font-size:24px;color:#d4b06c}
.webpw-auth-frame .pwe-human-check__icon b{display:none}
.webpw-auth-frame .pwe-human-check__copy strong,.webpw-auth-frame .pwe-human-check__copy span{display:block}
.webpw-auth-frame .pwe-human-check__copy span{font-size:12px;color:#cbbca9}
.webpw-auth-frame .pwe-human-check__challenge{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:18px;font-weight:700}
.webpw-auth-frame .pwe-human-check__challenge input[type="number"]{width:86px;height:42px;background:#100c09;color:#fff;border:1px solid #987447;border-radius:4px;text-align:center}
.webpw-auth-frame .pwe-avatar-gender__options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.webpw-auth-frame .pwe-avatar-gender__option{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;padding:10px;border:1px solid #746047;border-radius:5px;cursor:pointer;font-size:12px}
.webpw-auth-frame .pwe-avatar-gender__option img{width:44px;height:44px;object-fit:cover;border-radius:50%}
.webpw-auth-frame .pwe-avatar-gender__option:has(input:checked){border-color:#edc77e;background:#dba74222}
.webpw-auth-frame .modal-content,.webpw-auth-frame .swal2-popup{background:#221810;color:#eee1ce;border:1px solid #987447}
.webpw-auth-frame .swal2-title,.webpw-auth-frame .swal2-content{color:inherit}
.webpw-auth-frame .text-muted{color:#b9aa95!important}
.webpw-auth-error{padding:12px;border:1px solid #df8f80;border-radius:4px;background:#56271c;color:#ffe6dc;font-size:14px}
html[data-theme="light"] body.webpw-auth-frame{background:#f7eddf;color:#392717}
html[data-theme="light"] .webpw-auth-frame h1{color:#684214}
html[data-theme="light"] .webpw-auth-frame a{color:#78500e}
html[data-theme="light"] .webpw-auth-frame :is(.links_,.links,.pwe-human-check__copy span){color:#675541}
html[data-theme="light"] .webpw-auth-frame :is(.form-control,.pwe-human-check__challenge input[type="number"]){background:#fffdf9;color:#302317;border-color:#a9906a}
html[data-theme="light"] .webpw-auth-frame :is(.pwe-human-check,.modal-content,.swal2-popup){background:#f0e2ce;color:#392717}
@media(max-width:540px){.webpw-auth-dialog{width:calc(100% - 16px);height:calc(100dvh - 16px)}body.webpw-auth-frame{padding:18px 16px}.webpw-auth-heading{padding-left:16px}.webpw-auth-frame .pwe-avatar-gender__option{gap:5px;padding:8px}}

/* Keep the dialog fitted to the form, including the asynchronous challenge. */
.webpw-auth-dialog{width:min(460px,calc(100% - 24px));height:min(var(--auth-height,560px),calc(100dvh - 24px));border:0;border-radius:4px;box-shadow:0 24px 80px #0009}
.webpw-auth-dialog::after{content:"";position:absolute;inset:5px;pointer-events:none;border:1px solid #b58e494d;border-radius:2px;background:linear-gradient(#dfbf78,#dfbf78) left top/18px 2px no-repeat,linear-gradient(#dfbf78,#dfbf78) left top/2px 18px no-repeat,linear-gradient(#dfbf78,#dfbf78) right top/18px 2px no-repeat,linear-gradient(#dfbf78,#dfbf78) right top/2px 18px no-repeat,linear-gradient(#dfbf78,#dfbf78) left bottom/18px 2px no-repeat,linear-gradient(#dfbf78,#dfbf78) left bottom/2px 18px no-repeat,linear-gradient(#dfbf78,#dfbf78) right bottom/18px 2px no-repeat,linear-gradient(#dfbf78,#dfbf78) right bottom/2px 18px no-repeat}
.webpw-auth-dialog::backdrop{background:#080605b8;backdrop-filter:blur(5px)}
.webpw-auth-heading{height:44px;padding:0 10px 0 20px;font-size:13px}
.webpw-auth-close{width:34px;height:34px}
.webpw-auth-dialog iframe{height:calc(100% - 44px)}
body.webpw-auth-frame{min-height:0;padding:16px 20px;overflow-x:hidden}
.webpw-auth-frame h1{font-family:Georgia,serif;font-size:24px;line-height:1.2;margin:0 0 4px}
.webpw-auth-frame .links_,.webpw-auth-frame .links{margin:0 0 12px;line-height:1.4}
.webpw-auth-frame form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}
.webpw-auth-frame form> :not(.form-group){grid-column:1/-1;min-width:0}
.webpw-auth-frame .form-group{min-width:0;margin:0}
.webpw-auth-frame .border-lable-flt>label{font-size:12px;line-height:1.3;margin-bottom:4px}
.webpw-auth-frame .form-control{height:42px;min-width:0;width:100%;padding:8px 10px;border-radius:4px}
.webpw-auth-frame .form-text:empty{display:none}
.webpw-auth-frame[data-auth-mode="cadastro"] .form-group:has([name="login"]){grid-column:1/-1}
.webpw-auth-frame .pwe-avatar-gender{grid-column:1/-1}
.webpw-auth-frame .pwe-avatar-gender>label{font-size:12px;font-weight:600;margin-bottom:4px!important}
.webpw-auth-frame .pwe-avatar-gender__options{gap:12px}
.webpw-auth-frame .pwe-avatar-gender__option{height:44px;margin:0;padding:5px 10px;justify-content:flex-start;flex-wrap:nowrap;gap:9px;border-radius:4px}
.webpw-auth-frame .pwe-avatar-gender__option img{width:30px;height:30px}
.webpw-auth-frame .pwe-avatar-gender__option input{accent-color:#dba742;margin:0}
.webpw-auth-frame [data-webpw-turnstile]{padding:0;margin:0!important}
.webpw-auth-frame [data-webpw-turnstile]>strong{font-size:12px}
.webpw-auth-frame [data-turnstile-status]{font-size:12px;line-height:1.3;color:#cbbca9}
html[data-theme="light"] .webpw-auth-frame [data-turnstile-status]{color:#675541}
.webpw-auth-frame .checkbox{margin:0;font-size:12px}
.webpw-auth-frame .checkbox label{margin:0;min-height:24px;display:flex;align-items:center;gap:7px}
.webpw-auth-frame .btn.gam1ng{margin:0!important;min-height:44px;border-radius:4px;background:linear-gradient(#f0cd85,#dba548);color:#23170c}
.webpw-auth-frame form>.links{font-size:12px;margin:0}
.webpw-auth-frame form>._links{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0}
.webpw-auth-frame form>._links br{display:none}
@media(max-width:460px){
 .webpw-auth-dialog{width:calc(100% - 16px);height:min(var(--auth-height,560px),calc(100dvh - 16px))}
 body.webpw-auth-frame{padding:12px 14px}
 .webpw-auth-frame form{gap:9px 10px}
 .webpw-auth-frame[data-auth-mode="cadastro"] .form-group:has([name="username"], [name="user_email"]){grid-column:1/-1}
 .webpw-auth-frame .pwe-avatar-gender__option{gap:5px;padding:5px;font-size:11px}
 .webpw-auth-frame .pwe-avatar-gender__option img{width:26px;height:26px}
 .webpw-auth-frame h1{font-size:22px}
 .webpw-auth-frame .links_{font-size:12px;margin-bottom:10px}
}
@media(max-width:360px){
 .webpw-auth-dialog{width:calc(100% - 8px)}
 body.webpw-auth-frame{padding:10px 5px}
 .webpw-auth-frame h1{display:none}
 .webpw-auth-frame form{row-gap:6px}
 .webpw-auth-frame .form-control{height:40px}
 .webpw-auth-frame .links_{margin-bottom:8px}
}
.webpw-auth-frame .swal2-container{padding:10px!important;align-items:center!important;overflow-y:auto!important}.webpw-auth-frame .swal2-popup{box-sizing:border-box!important;width:100%!important;max-width:380px!important;max-height:calc(100dvh - 20px)!important;margin:auto!important;padding:16px!important;overflow-y:auto!important}.webpw-auth-frame .swal2-icon{margin:0 auto 10px!important;transform:scale(.65);height:64px!important}.webpw-auth-frame .swal2-title{font-size:23px!important;padding:0!important;margin:4px 0 10px!important}.webpw-auth-frame .swal2-content,.webpw-auth-frame .swal2-html-container{font-size:14px!important;line-height:1.4!important;margin:0!important}.webpw-auth-frame .swal2-actions{margin:14px 0 0!important}.webpw-auth-frame .swal2-styled{padding:9px 24px!important;font-size:14px!important}
