body[data-auth-modal=open]:after{content:none}body:has(.auth-page):after{content:none}.auth-page{background:var(--w2e-bg-page);min-height:100vh;min-height:100dvh}.auth-page-main{flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:calc(100vh - 65px);min-height:calc(100dvh - 65px);padding:24px 20px 64px;display:flex}.auth-card{border:1px solid var(--w2e-border);width:100%;max-width:448px;color:var(--w2e-text-main);background:var(--w2e-bg-card);border-radius:20px;padding:32px;position:relative;box-shadow:0 8px 32px #0000000f}.auth-heading{margin-bottom:22px}.auth-heading h1,.auth-heading h2{color:var(--w2e-text-main);letter-spacing:-.025em;margin:0;font-size:24px;font-weight:700;line-height:1.4}.auth-description{color:var(--w2e-text-muted);margin:8px 0 0;font-size:14px;line-height:1.75}.auth-modal{overscroll-behavior:contain;width:calc(100% - 32px);max-width:448px;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);color:inherit;background:0 0;border:0;border-radius:20px;margin:auto;padding:0;overflow:auto}.auth-modal::backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0006}.dark .auth-modal::backdrop{background:#000000a6}.auth-modal-card{border:0;padding:0;overflow:hidden}.auth-banner{background:var(--w2e-primary-soft);margin:0;padding:28px 32px}.auth-banner h1,.auth-banner h2{font-size:25px}.auth-banner .auth-description{margin-top:6px;font-size:13px}.auth-panel-body{padding:24px 32px 28px}.auth-form-footer{justify-content:flex-start;margin-top:14px;display:flex}.auth-form-footer .auth-forgot{min-height:32px}.auth-recovery-content>.auth-heading{background:var(--w2e-primary-soft);margin:0;padding:28px 32px}.auth-recovery-content>.auth-form{margin:0;padding:24px 32px 0}.auth-recovery-content>.auth-agree{text-align:left;margin:0;padding:12px 32px 24px}.auth-close{width:44px;height:44px;color:var(--w2e-text-muted);cursor:pointer;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;top:8px;right:8px}.auth-close:hover{color:var(--w2e-text-main);background:var(--w2e-bg-page)}.auth-close svg{width:20px;height:20px}.auth-password{position:relative}.auth-field .auth-password-input{padding-right:48px}.auth-password-toggle{width:44px;height:44px;color:var(--w2e-text-muted);cursor:pointer;border-radius:7px;justify-content:center;align-items:center;display:flex;position:absolute;top:2px;right:2px}.auth-password-toggle:hover{color:var(--w2e-primary)}.auth-password-toggle svg{width:18px;height:18px}.auth-field-hint{color:var(--w2e-text-muted);margin:6px 0 0;font-size:12px;line-height:1.65}.auth-label-row{justify-content:space-between;align-items:center;display:flex}.auth-label-row label{margin:0}.auth-text-action{min-height:36px;color:var(--w2e-primary);cursor:pointer;align-items:center;gap:4px;font-size:12px;display:inline-flex}.auth-text-action svg{width:14px;height:14px}.auth-captcha-field>.auth-field-hint{margin-bottom:6px}.auth-tab:focus-visible,.auth-close:focus-visible,.auth-password-toggle:focus-visible,.auth-text-action:focus-visible,.auth-code-btn:focus-visible,.auth-captcha-box:focus-visible,.auth-submit:focus-visible,.auth-forgot:focus-visible{outline:2px solid var(--w2e-primary);outline-offset:3px}.auth-tabs{grid-template-columns:repeat(2,1fr);gap:24px;width:fit-content;margin-bottom:20px;display:grid;position:relative}.auth-tab{color:var(--w2e-text-body);text-align:center;background:0 0;flex:none;padding:10px 0 12px;font-size:16px;font-weight:700;text-decoration:none;transition:color .15s;position:relative}.auth-tab:hover,.auth-tab[data-state=active]{color:var(--w2e-text-main)}.auth-tab-indicator{background:var(--w2e-primary);pointer-events:none;border-radius:2px;width:calc(50% - 12px);height:2.5px;transition:transform .28s cubic-bezier(.4,0,.2,1);position:absolute;bottom:-1.5px;left:0;transform:translate(0)}.auth-tabs[data-mode=register] .auth-tab-indicator{transform:translate(calc(100% + 24px))}.auth-field{margin-bottom:16px}.auth-field label{color:var(--w2e-text-muted);margin-bottom:7px;font-size:13px;font-weight:700;display:block}.auth-field input{border:1px solid color-mix(in srgb, var(--w2e-text-muted) 38%, var(--w2e-bg-card));width:100%;min-height:48px;color:var(--w2e-text-main);background:var(--w2e-bg-card);box-shadow:none;border-radius:9px;outline:none;padding:12px 14px;font-family:inherit;font-size:16px;transition:border-color .15s,box-shadow .15s}.auth-field input:focus,.auth-field input:focus-visible{border-color:var(--w2e-primary);box-shadow:0 0 0 3px var(--w2e-primary-ring)}.auth-field input::placeholder{color:var(--w2e-text-light)}.auth-field-error{color:var(--destructive);margin:6px 0 0;font-size:12px}.auth-code-row{gap:10px;display:flex}.auth-code-row input{flex:1;min-width:0}.auth-code-row:has(.auth-code-btn){border:1px solid var(--w2e-border);border-radius:9px;gap:0;overflow:hidden}.auth-code-row:has(.auth-code-btn) input{border:0;border-radius:0}.auth-code-row:has(.auth-code-btn) .auth-code-btn{border:0;border-left:1px solid var(--w2e-border);border-radius:0}.auth-code-row:has(.auth-code-btn):focus-within{outline:2px solid var(--w2e-primary);outline-offset:1px}.auth-captcha-box img{pointer-events:none}.auth-captcha-box{border:1.5px solid var(--w2e-border);background:var(--w2e-bg-card);border-radius:9px;flex:none;min-height:46px}.auth-code-btn{color:var(--w2e-primary);white-space:nowrap;cursor:pointer;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-family:inherit;font-size:13.5px;font-weight:700;display:inline-flex}.auth-code-btn:hover:not(:disabled){border-color:var(--w2e-primary)}.auth-code-btn:disabled{cursor:not-allowed;opacity:.6}.auth-captcha-box{width:110px;height:50px;color:var(--w2e-text-muted);cursor:pointer;justify-content:center;align-items:center;font-size:12px;display:flex;overflow:hidden}.auth-captcha-box img{object-fit:cover;width:100%;height:100%}.auth-row-between{justify-content:space-between;align-items:center;gap:16px;margin:6px 0 22px;display:flex}.auth-check{color:var(--w2e-text-muted);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:9px;min-height:32px;font-size:13px;display:inline-flex;position:relative}.auth-check-box{border:2px solid var(--w2e-text-muted);border-radius:4px;flex:none;justify-content:center;align-items:center;width:19px;height:19px;transition:border-color .15s;display:inline-flex;position:relative}.auth-check-box.checked{border-color:var(--w2e-primary)}.auth-check-box svg{width:14px;height:14px;color:var(--w2e-primary);stroke-width:3px}.auth-forgot{color:var(--w2e-primary);font-size:13px;font-weight:700;text-decoration:none}.auth-forgot:hover{color:var(--w2e-primary-hover);text-decoration:underline}.auth-form-error{border:1px solid var(--w2e-primary-border);color:var(--w2e-text-body);background:var(--w2e-primary-soft);border-radius:9px;margin:0 0 16px;padding:10px 12px;font-size:13px;line-height:1.55}.auth-submit{color:#fff;background:var(--w2e-primary);cursor:pointer;border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:48px;padding:14px;font-family:inherit;font-size:15.5px;font-weight:700;transition:transform .15s,box-shadow .15s,background .15s;display:inline-flex;box-shadow:0 2px 6px #00000014}.auth-submit:hover:not(:disabled){background:var(--w2e-primary-hover);box-shadow:0 3px 10px #0000001a}.auth-submit:disabled{cursor:not-allowed;opacity:.75}.auth-submit svg{width:16px;height:16px}.auth-agree{color:var(--w2e-text-muted);text-align:center;margin:16px 0 0;font-size:12px;line-height:1.7}.auth-agree button{color:var(--w2e-primary);font:inherit;cursor:pointer;background:0 0;border:0;padding:0 3px;font-weight:600}.auth-agree button:hover{text-decoration:underline}.auth-recovery-dots{background-image:radial-gradient(circle,#00000009 1px,#0000 1px);background-size:24px 24px}@media (max-width:639px){.auth-page-main{justify-content:flex-start;min-height:0;padding:32px 20px}.auth-card{border-radius:16px;padding:24px}.auth-heading h1,.auth-heading h2{font-size:23px}.auth-modal{border-radius:16px;width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}.auth-modal-card{border-radius:16px;padding:0}.auth-banner,.auth-recovery-content>.auth-heading{padding:28px 24px}.auth-panel-body{padding:24px}.auth-recovery-content>.auth-form{padding:24px 24px 0}.auth-recovery-content>.auth-agree{padding:12px 24px 24px}.auth-close{top:8px;right:8px}}@media (max-width:359px){.auth-page-main{padding:24px 12px}.auth-card{padding:20px}.auth-modal-card{padding:0}.auth-banner,.auth-recovery-content>.auth-heading{padding:28px 20px}.auth-panel-body{padding:20px}.auth-recovery-content>.auth-form{padding:20px 20px 0}.auth-recovery-content>.auth-agree{padding:12px 20px 20px}.auth-code-btn{padding:0 10px;font-size:12px}}@media (prefers-reduced-motion:reduce){.auth-submit,.auth-tab,.auth-tab-indicator,.auth-field input{transition:none}}
