/* Authentication retains the original forum layout; community styles must not
   turn it into a dashboard card. All columns share one horizontal grid. */
.center-shell{--auth-width:1100px;--auth-label:28%;--auth-gutter:20px;display:block;min-height:100vh;padding:0 0 48px;background:#121212;color:#ededed}
.center-shell .auth{width:100%;max-width:none;margin:0;padding:0}
.center-shell .auth-logo{display:flex;align-items:center;justify-content:center;min-height:174px;padding:40px 20px;margin:0}
.center-shell .auth-wordmark{width:400px;max-width:80vw}
.center-shell .auth-nav{width:100%;max-width:none;margin:0;padding:0;background:#1a1a1a;border:0;border-top:1px solid #2c2c2c;border-bottom:1px solid #333;box-shadow:none}
.center-shell .auth-nav-inner{width:min(var(--auth-width),calc(100% - 40px));height:50px;min-height:50px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.center-shell .auth-forums{display:flex;align-items:center;gap:9px;color:#c7c7c7;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.25px}
.center-shell .auth-nav .tabs{display:flex;gap:6px;margin:0;padding:0;border:0;border-radius:0;background:none}
.center-shell .auth-nav .tab{position:relative;height:50px;min-height:50px;padding:0 16px;border:0;border-radius:0;background:none;color:#999;font-size:13px;font-weight:400;transform:none;box-shadow:none}
.center-shell .auth-nav .tab.active{color:#f1f1f1;background:#202020}
.center-shell .auth-nav .tab.active:after{content:"";position:absolute;bottom:-1px;left:14px;right:14px;height:2px;background:#ddd}
.center-shell .auth-nav .tab:hover{background:#232323;color:#fff}
.center-shell .auth-card{width:min(var(--auth-width),calc(100% - 40px));max-width:none;margin:30px auto 0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.center-shell .auth-title{margin:0 0 18px;padding:0;border:0;text-align:left}
.center-shell .auth-title h1{margin:0;font-size:23px;line-height:1.4;font-weight:500;letter-spacing:-.3px}
.center-shell .auth-title p{margin:7px 0 0;color:#949494;font-size:12px;line-height:1.6}
.center-shell #auth-content>form{padding:0;overflow:hidden;border:1px solid #333;border-radius:7px;background:#181818}
.center-shell #auth-content .auth-fields{display:block;gap:0;margin:0;padding:10px 0;background:linear-gradient(90deg,#202020 0 var(--auth-label),#181818 var(--auth-label) 100%)}
.center-shell #auth-content form .field{display:grid;grid-template-columns:var(--auth-label) minmax(0,1fr);align-items:center;column-gap:0;min-height:66px;margin:0;padding:0}
.center-shell #auth-content form .field>span,.center-shell #auth-content .password-field>label{display:flex;align-items:center;justify-content:flex-end!important;align-self:stretch;width:auto;min-width:0;margin:0;padding:12px var(--auth-gutter);text-align:right!important;line-height:1.5;font-size:13px;font-weight:400;color:#d5d5d5}
.center-shell #auth-content .auth-fields .input,.center-shell #auth-content .password-control{width:calc(100% - var(--auth-gutter)*2);max-width:none;min-width:0;min-height:40px;height:40px;margin:0 var(--auth-gutter);padding:0 12px;border:1px solid #3b3b3b;border-radius:5px;background:#222;color:#f5f5f5;font-family:inherit;font-size:13px;font-weight:400;box-shadow:none;filter:none;text-shadow:none}
.center-shell #auth-content .input::placeholder{color:#999;opacity:1;font-weight:400}
.center-shell #auth-content .password-control{display:flex;align-items:stretch;padding:0;overflow:hidden;position:relative}
.center-shell #auth-content .password-control .input{flex:1;width:100%;height:38px;min-height:38px;margin:0;padding:0 12px;border:0;border-radius:4px 0 0 4px;background:transparent;outline:0!important;box-shadow:none!important}
.center-shell #auth-content .password-toggle{position:static;display:flex;align-items:center;justify-content:center;flex:0 0 74px;width:74px;min-width:74px;height:auto;margin:0;padding:0 10px;gap:6px;border:0;border-left:1px solid #393939;border-radius:0;background:#292929;color:#bdbdbd;font-size:12px;font-weight:400}
.center-shell #auth-content .password-toggle:hover,.center-shell #auth-content .password-toggle[aria-pressed=true]{color:#fff;background:#333}
.center-shell #auth-content .input:focus,.center-shell #auth-content .password-control:focus-within{border-color:#888;background:#242424;box-shadow:none;outline:0!important}
.center-shell #auth-content .input:focus-visible{outline:1px solid #bcbcbc!important;outline-offset:1px}
.center-shell #auth-content .password-control .input:focus-visible{outline:0!important}
.center-shell #auth-content .auth-row{display:flex;align-items:flex-start;flex-direction:column;min-height:0;margin:0;padding:5px var(--auth-gutter) 13px calc(var(--auth-label) + var(--auth-gutter));gap:14px;background:none}
.center-shell #auth-content .auth-row .link-btn{display:inline-flex;align-items:center;min-height:26px;margin:0;padding:0;color:#b5b5b5;font-size:12px;font-weight:400}
.center-shell #auth-content .check{display:flex;gap:8px;line-height:1.5;color:#ddd;font-size:12px;font-weight:400}
.center-shell #auth-content .check input{width:14px;height:14px;margin:0;accent-color:#ddd}
.center-shell #auth-content .auth-form-actions{display:flex;align-items:center;min-height:58px;padding:10px var(--auth-gutter) 10px calc(var(--auth-label) + var(--auth-gutter));margin:0;border:0;border-top:1px solid #333;background:#242424}
.center-shell #auth-content .auth-form-actions .primary.full{width:auto;min-width:110px;height:34px;min-height:34px;margin:0;padding:0 18px;border:1px solid #e3e3e3;border-radius:5px;background:#e3e3e3;color:#171717;font-size:12px;font-weight:500;line-height:1.4;box-shadow:none;transform:none}
.center-shell #auth-content .auth-form-actions .primary.full:hover{background:#fff;border-color:#fff;transform:none}
.center-shell .auth-foot{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;margin:16px 0 0;padding:0;gap:12px;border:0;background:none;color:#a4a4a4;font-size:12px}
.center-shell #auth-content .auth-foot .register-button{display:inline-flex;align-items:center;height:32px;min-height:32px;margin:0;padding:0 12px;border:1px solid #3d3d3d;border-radius:5px;background:#242424;color:#eee;font-size:12px;font-weight:400;transform:none;box-shadow:none}
.center-shell .auth-divider{width:100%;margin:22px 0;text-align:center;font-size:11px;color:#777}.center-shell .auth-divider:before{border-color:#2d2d2d}.center-shell .auth-divider span{background:#121212;padding:0 14px}
.center-shell #auth-content .passkey-row{display:grid;grid-template-columns:var(--auth-label) minmax(0,1fr);align-items:center;min-height:62px;margin:0;padding:0;gap:0;overflow:hidden;border:1px solid #333;border-radius:7px;background:#181818}
.center-shell #auth-content .passkey-row>span{display:flex;align-items:center;justify-content:flex-end;align-self:stretch;width:auto;padding:12px var(--auth-gutter);background:#202020;color:#c6c6c6;font-size:13px;text-align:right}
.center-shell #auth-content .passkey-button{display:inline-flex;align-items:center;justify-self:start;height:34px;min-height:34px;margin:0 var(--auth-gutter);padding:0 12px;gap:7px;border:1px solid #3d3d3d;border-radius:5px;background:#272727;color:#eee;font-size:12px;font-weight:400;box-shadow:none;transform:none}
.center-shell #auth-content .turnstile-wrap{padding:8px var(--auth-gutter) 8px calc(var(--auth-label) + var(--auth-gutter));background:none;overflow:visible}
.center-shell #auth-content #turnstile-widget{width:min(100%,360px);min-height:0}
.center-shell .inline-error{min-height:46px;padding:12px 16px;gap:12px;background:#271b1c;border:1px solid #563235;border-radius:6px;color:#f0b8bd;font-size:13px;line-height:1.5;animation:none}.center-shell .inline-error-icon{width:20px;height:20px;border-width:1px;animation:none}.center-shell .inline-error-icon:before,.center-shell .inline-error-icon:after{width:10px;height:1px;animation:none}
.center-shell #auth-content,.center-shell #auth-content>*{animation:none!important;transform:none;filter:none}
.center-shell .verify-actions{display:flex;gap:10px;margin-top:20px}.center-shell .verify-actions button{font-size:12px}
@media(max-width:620px){
  .center-shell{--auth-gutter:16px;padding:0 0 32px}
  .center-shell .auth-logo{min-height:126px;padding:28px 16px}.center-shell .auth-wordmark{width:285px;max-width:80vw}
  .center-shell .auth-nav-inner,.center-shell .auth-card{width:calc(100% - 28px)}.center-shell .auth-card{margin-top:24px}.center-shell .auth-title h1{font-size:21px}
  .center-shell .auth-nav .tab{padding:0 12px}.center-shell .auth-forums{font-size:11px}
  .center-shell #auth-content .auth-fields{padding:18px var(--auth-gutter) 16px;background:#181818}
  .center-shell #auth-content form .field{display:block;min-height:0;margin:0 0 18px}.center-shell #auth-content form .field:last-child{margin-bottom:0}
  .center-shell #auth-content form .field>span,.center-shell #auth-content .password-field>label{display:block;padding:0;margin:0 0 8px;text-align:left!important;font-size:12px}
  .center-shell #auth-content .auth-fields .input,.center-shell #auth-content .password-control{width:100%;margin:0;height:44px;min-height:44px;font-size:16px}.center-shell #auth-content .password-control .input{height:42px;min-height:42px}
  .center-shell #auth-content .auth-row{padding:3px 0 0;gap:16px}.center-shell #auth-content .auth-row .link-btn{min-height:32px}
  .center-shell #auth-content .auth-form-actions{padding:12px var(--auth-gutter)}.center-shell #auth-content .auth-form-actions .primary.full{height:42px;min-height:42px;width:100%;font-size:13px}
  .center-shell .auth-foot{gap:10px;font-size:12px}.center-shell #auth-content .auth-foot .register-button{min-height:40px}
  .center-shell #auth-content .passkey-row{display:flex;align-items:center;justify-content:space-between;padding:12px var(--auth-gutter);gap:10px;min-height:66px}.center-shell #auth-content .passkey-row>span{display:block;align-self:auto;background:none;padding:0;text-align:left;font-size:12px}.center-shell #auth-content .passkey-button{height:40px;min-height:40px;margin:0}
  .center-shell #auth-content .turnstile-wrap{padding:0;background:none}
}
@media(forced-colors:active){.center-shell #auth-content :is(form,.input,.password-control,.passkey-row){border-color:CanvasText}}
