:root{--auth-accent:#5ea82d;--auth-accent-glow:rgba(94,168,45,0.28);--auth-danger-glow:rgba(220,38,38,0.14);--auth-btn-shadow:0 4px 14px rgba(28,25,23,0.16);--auth-btn-shadow-hover:0 10px 26px -4px rgba(28,25,23,0.24);--auth-card-shadow:0 24px 70px -28px rgba(28,25,23,0.14);--auth-field-bg:#fefdfb;--auth-field-border:#ebe5db}.dark{--auth-accent:#79c842;--auth-accent-glow:rgba(121,200,66,0.3);--auth-danger-glow:rgba(220,38,38,0.2);--auth-btn-shadow:0 4px 14px rgba(0,0,0,0.3);--auth-btn-shadow-hover:0 10px 26px -4px rgba(0,0,0,0.5);--auth-card-shadow:0 24px 70px -28px rgba(0,0,0,0.45);--auth-field-bg:#1c1917;--auth-field-border:#44403c}.auth-card{box-shadow:var(--auth-card-shadow)}@media (prefers-reduced-motion:no-preference){.auth-glow{animation:authGlowPulse 8s ease-in-out infinite}@keyframes authGlowPulse{0%,to{transform:scale(1);opacity:.8}50%{transform:scale(1.12);opacity:1}}}@media (prefers-reduced-motion:no-preference){.auth-rise{animation:authRise .56s cubic-bezier(.16,1,.3,1) both}@keyframes authRise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}.auth-pop{animation:authPop .45s cubic-bezier(.3,1.6,.4,1) both}@keyframes authPop{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}}.auth-input-box{background:var(--auth-field-bg);border:1.5px solid var(--auth-field-border);transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.auth-input-box:hover{border-color:var(--control-border)}.auth-input-box:focus-within{border-color:var(--auth-accent);background-color:var(--surface);box-shadow:0 0 0 4px var(--auth-accent-glow)}.auth-input-box:has(input:user-valid:not(:-moz-placeholder)){border-color:var(--auth-accent)}.auth-input-box:has(input:user-valid:not(:placeholder-shown)){border-color:var(--auth-accent)}.auth-input-box.auth-valid{border-color:var(--auth-accent)}.auth-input-box.auth-invalid,.auth-input-box:has(input:user-invalid){border-color:var(--status-critical);background-color:var(--tint-critical)}.auth-input-box.auth-invalid:focus-within,.auth-input-box:has(input:user-invalid):focus-within{border-color:var(--status-critical);box-shadow:0 0 0 4px var(--auth-danger-glow)}.auth-field-error{display:none}.auth-field-error.is-shown,.auth-field:has(input:user-invalid) .auth-field-error{display:flex}.auth-rules li{transition:color .15s ease}.auth-rules li:before{content:"";width:10px;height:10px;border-radius:9999px;border:1.5px solid var(--control-border);flex:none;transition:background-color .15s ease,border-color .15s ease}.auth-rules li[data-met=true]{color:var(--foreground)}.auth-rules li[data-met=true]:before{background:var(--auth-accent);border-color:var(--auth-accent)}.auth-btn{position:relative;overflow:hidden;background:var(--foreground);color:var(--canvas);box-shadow:var(--auth-btn-shadow);transition:transform .22s cubic-bezier(.3,1.6,.4,1),box-shadow .22s ease,opacity .15s ease}.auth-btn:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);transform:translateX(-100%);pointer-events:none}.auth-btn:disabled{opacity:.75;cursor:not-allowed}.auth-btn>*{position:relative}@media (prefers-reduced-motion:no-preference){.auth-btn:hover:not(:disabled){transform:translateY(-2px) scale(1.015);box-shadow:var(--auth-btn-shadow-hover)}.auth-btn:active:not(:disabled){transform:scale(.98)}.auth-btn:hover:not(:disabled):before{transform:translateX(100%);transition:transform .65s linear}.auth-theme-toggle:hover{transform:rotate(12deg) scale(1.05)}}.auth-theme-toggle{transition:transform .15s ease,border-color .15s ease,color .15s ease,background-color .15s ease}