/* A entrada mantém a marca do Brotta mesmo após usar outro tema no aplicativo. */
#auth {
  --font:"Nunito","Segoe UI",system-ui,sans-serif; --font-ui:"Nunito","Segoe UI",system-ui,sans-serif;
  --rail:#15161a; --panel:#1c1d22; --raised:#26272e; --line:#363843; --line-2:#4a4d5c;
  --text:#edeef2; --text-2:#a6a9b6; --text-3:#9a9eac; --accent:#ff6a3d; --red:#ff9098;
  display:grid;grid-template-columns:minmax(440px,.95fr) minmax(0,1.05fr);place-items:stretch;
  padding:20px;gap:20px;overflow:auto;background:var(--rail);color:var(--text);
  font:14px/1.5 "Nunito","Segoe UI",sans-serif;color-scheme:dark;
}
#auth ::selection{background:#ff6a3d;color:#15161a}
#auth :focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.auth-entry{display:flex;flex-direction:column;min-width:0;padding:24px clamp(24px,4vw,72px) 12px}
.auth-brand{display:inline-flex;align-items:center;gap:12px;align-self:flex-start;text-decoration:none;color:var(--text)}
.auth-logo{flex:none}
.auth-logo [data-signal],.auth-mark [data-signal]{transform-box:fill-box;transform-origin:left bottom}
.auth-brand .wordmark{font-size:27px;letter-spacing:-.01em}
.auth-content{width:100%;max-width:424px;align-self:center;margin:auto 0;padding:40px 0}
.auth-modes{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:34px}
.auth-modes button{border-radius:0;padding:0 0 13px;color:var(--text-3);font-size:14px;font-weight:600;position:relative}
.auth-modes button[aria-pressed=true]{color:var(--text)}
.auth-modes button[aria-pressed=true]::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--accent)}
.auth-modes button:hover{color:var(--accent)}
#auth-form{display:flex;flex-direction:column;gap:19px;width:100%;margin:0}
#auth-form.reg{gap:14px}
#auth:has(.reg) .auth-content{padding-block:24px}
#auth:has(.reg) .auth-modes{margin-bottom:24px}
#auth:has(.reg) .auth-heading{margin-bottom:0}
.auth-heading{margin:0 0 9px}
.auth-heading h1{font:800 clamp(28px,2.4vw,36px)/1.18 var(--font-ui);letter-spacing:-.01em;margin:0 0 12px;text-wrap:balance}
.auth-heading p{font-size:15px;color:var(--text-2);margin:0;line-height:1.6}
#auth-form label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px;font-weight:600;color:var(--text-2)}
#auth-form input,#auth-form select{width:100%;min-width:0;min-height:48px;padding:12px 14px;border:1px solid var(--line-2);border-radius:8px;background:#1c1d22;color:var(--text);font:400 15px/1.4 var(--font);caret-color:var(--accent);transition:border-color .15s,background .15s;box-shadow:none}
#auth-form input::placeholder{color:var(--text-3);opacity:1}
#auth-form input:hover,#auth-form select:hover{border-color:#7b7c88}
#auth-form input:focus,#auth-form select:focus{outline:2px solid var(--accent);outline-offset:2px;border-color:transparent;background:#22232a}
#auth-form input:-webkit-autofill{-webkit-text-fill-color:var(--text);box-shadow:0 0 0 1000px #1c1d22 inset}
.auth-names{display:grid;grid-template-columns:1fr;gap:14px}
#auth-form.reg .auth-names{grid-template-columns:1fr 1fr}
.auth-password{display:flex;position:relative}
#auth-form .auth-password input{padding-right:52px}
#auth-password-toggle{position:absolute;right:4px;top:4px;width:40px;height:40px;display:grid;place-items:center;color:var(--text-2);border-radius:6px}
#auth-password-toggle:hover{color:var(--text);background:#ffffff0c}
.auth-eye-slash{display:none}
#auth-password-toggle[aria-pressed=true] .auth-eye-slash{display:block}
.auth-birth{border:0;padding:0;margin:0;min-width:0}
.auth-birth legend{padding:0;margin-bottom:8px;font-weight:600;font-size:13px;color:var(--text-2)}
#auth-form .birth{gap:10px}
#auth-form .birth select{padding-inline:10px}
#auth-err{font-size:13px;line-height:1.5;color:var(--red);margin:0;min-height:0}
#auth-err:empty{display:none}
#auth-submit{height:50px;flex:none;background:var(--accent);color:#15161a;border:0;text-shadow:none;border-radius:8px;font-size:15px;font-weight:700;margin-top:3px;box-shadow:none}
#auth-submit:hover{background:#ff8259;filter:none}
#auth-submit:disabled{opacity:.65}
#auth-toggle{font-size:13px;color:var(--text-2);min-height:28px;text-underline-offset:4px}
#auth-toggle:hover{color:var(--accent)}
#auth-note{margin:-7px 0 0;text-align:center;font-size:12px;line-height:1.6;color:var(--text-3)}
.auth-footer{width:100%;max-width:424px;align-self:center;text-align:center;color:var(--text-3)}
.auth-footer>p{font-size:11px;margin:16px 0 0}
#auth .downloads{border-color:var(--line);padding-top:18px;gap:10px}
#auth .downloads .btn{background:transparent;color:var(--text-2);border:1px solid var(--line);font-size:12px;border-radius:6px;height:34px;box-shadow:none;text-shadow:none}
#auth .downloads .btn:hover{color:var(--text);background:var(--raised);filter:none}
#auth .downloads .tiny{font-size:12px;color:var(--text-3)}
#auth .downloads .ver{font-size:10px}
#auth-form .invite{margin:0;padding:14px;border:1px solid var(--line-2);border-radius:8px;background:var(--panel);color:var(--text)}
.auth-world{position:relative;isolation:isolate;height:calc(100dvh - 40px);min-height:660px;align-self:start;overflow:hidden;border-radius:16px;background:#1c1d22;display:flex;flex-direction:column;padding:36px clamp(32px,4vw,64px);color:#edeef2}
.auth-world-top,.auth-world-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;z-index:1}
.auth-world-top{font-size:13px;color:#a6a9b6}
.auth-world-signal{height:24px;display:flex;align-items:center;gap:4px;color:#ff6a3d}
.auth-world-signal i{display:block;width:3px;height:8px;background:currentColor;border-radius:2px}
.auth-world-signal i:nth-child(2),.auth-world-signal i:nth-child(4){height:16px}.auth-world-signal i:nth-child(3){height:24px}
.auth-mark{position:absolute;z-index:-1;left:0;bottom:0;width:auto;height:min(78%,700px);max-width:100%;fill:#282a32;pointer-events:none}.auth-mark path+path{fill:#22232a}
.auth-world-copy{position:relative;margin-top:auto;padding:0 0 36px}
.auth-world h2{margin:0 0 24px;font:900 clamp(48px,5vw,80px)/1.06 var(--font-ui);letter-spacing:-.01em}
.auth-world h2 span{color:#ff6a3d}
.auth-world-copy p{margin:0;color:#a6a9b6;font-size:18px;line-height:1.65}
.auth-world-bottom{padding-top:23px;border-top:1px solid #363843;color:#a6a9b6;font-size:13px}
#auth:has(.busy) .auth-world-signal i{background:#edeef2}
@media(min-width:901px) and (max-height:820px){.auth-entry{padding-top:12px}.auth-content{padding:28px 0}.auth-modes{margin-bottom:22px}.auth-world{min-height:660px}#auth-form.reg{gap:13px}#auth:has(.reg) .auth-content{padding-block:24px}#auth:has(.reg) .auth-heading{margin-bottom:0}}
@media(max-width:1050px){#auth{grid-template-columns:minmax(400px,1fr) minmax(0,1fr);padding:16px;gap:8px}.auth-entry{padding-inline:24px}.auth-world{padding-inline:30px}.auth-world h2{font-size:50px}}
@media(max-width:900px){#auth{display:block;padding:0}.auth-entry{min-height:100%;max-width:540px;margin:auto;padding:28px 28px 24px}.auth-content{padding:36px 0 28px}.auth-world{display:none}.auth-brand .wordmark{font-size:23px}.auth-brand .auth-logo{width:36px;height:36px}.auth-heading h1{font-size:32px}#auth-form input,#auth-form select{font-size:16px}.auth-modes{margin-bottom:28px}.auth-footer{margin-top:auto}#auth-form.reg{gap:16px}}
@media(max-width:380px){.auth-entry{padding-inline:20px}.auth-heading h1{font-size:29px}#auth-form.reg .auth-names{grid-template-columns:1fr}.auth-content{padding-top:28px}}
