/* A entrada mantém a marca do Concord mesmo após usar outro tema no aplicativo. */
#auth {
  --font:"Manrope","Segoe UI",system-ui,sans-serif; --font-ui:"Space Grotesk","Manrope",system-ui,sans-serif;
  --rail:#191a20; --panel:#24262c; --raised:#2c2e36; --line:#363841; --line-2:#50535e;
  --text:#f3f4f6; --text-2:#bcc0c8; --text-3:#a1a5ae; --accent:#ffad80; --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 "Manrope",sans-serif;color-scheme:dark;
}
#auth ::selection{background:#ffad80;color:#251b20}
#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 line,.auth-mark line{transform-box:fill-box;transform-origin:left center}
.auth-brand .wordmark{font-size:25px;letter-spacing:-.035em}
.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:600 clamp(28px,2.4vw,36px)/1.18 var(--font-ui);letter-spacing:-.035em;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:#22242b;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:#282930}
#auth-form input:-webkit-autofill{-webkit-text-fill-color:var(--text);box-shadow:0 0 0 1000px #22242b 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:#291c20;border:0;text-shadow:none;border-radius:8px;font-size:15px;font-weight:700;margin-top:3px;box-shadow:none}
#auth-submit:hover{background:#ffc09d;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:#2d242a;display:flex;flex-direction:column;padding:36px clamp(32px,4vw,64px);color:#fff1e8}
.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:#d5b9b8}
.auth-world-signal{height:24px;display:flex;align-items:center;gap:4px;color:#ffad80}
.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;width:76%;height:calc(100% - 470px);object-fit:contain;right:0;top:80px;opacity:.92;transform:rotate(-9deg);pointer-events:none}
.auth-world-copy{position:relative;margin-top:auto;padding:0 0 36px}
.auth-world h2{margin:0 0 24px;font:600 clamp(48px,5vw,80px)/1.06 var(--font-ui);letter-spacing:-.04em}
.auth-world h2 span{color:#ffb183}
.auth-world-copy p{margin:0;color:#dec4c1;font-size:18px;line-height:1.65}
.auth-world-bottom{padding-top:23px;border-top:1px solid #5a3f46;color:#e6c7bf;font-size:13px}
#auth:has(.busy) .auth-world-signal i{background:#fff1e8}
@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}}
