.auth{background:var(--background);color:var(--foreground);align-content:center;place-items:center;padding:24px;display:grid;position:fixed;inset:0;overflow-y:auto}.auth-dialog[data-slot=dialog-content]{background:var(--background);width:min(820px,100% - 48px);max-width:820px;max-height:calc(100dvh - 48px);color:var(--foreground);border:0;border-radius:10px;gap:0;padding:0;overflow:hidden auto;box-shadow:0 24px 80px #0006}.auth-layout{background:var(--background);border-radius:10px;grid-template-columns:1fr 1fr;width:min(820px,100%);min-height:580px;display:grid;overflow:hidden}.auth-art{background:var(--card);min-width:0;position:relative;overflow:hidden}.auth-art .auth-art-image{object-fit:cover;object-position:center top;opacity:0;transition:opacity .3s ease-out}.auth-art .auth-art-image[data-active=true][data-loaded=true]{opacity:1}.auth-art-brand{--wordmark-size:46px;--wordmark-stroke:0px;--wordmark-color:#fff;background:linear-gradient(#0000,#0009);place-items:center;padding:76px 20px 34px;display:grid;position:absolute;inset:auto 0 0}.auth-panel{flex-direction:column;min-width:0;display:flex}.auth-panel-content{flex:1;padding:40px 40px 28px}.auth-title{color:var(--foreground);letter-spacing:-.035em;margin:0 0 20px;font-size:24px;font-weight:800;line-height:1.25}.auth-credentials{flex-direction:column;gap:16px;display:flex}.auth-input-wrap{position:relative}.auth-input-wrap>svg{z-index:1;width:19px;height:19px;color:var(--muted-foreground);pointer-events:none;stroke-width:2px;position:absolute;top:14px;left:12px}.auth-input-wrap input{border:1px solid var(--input);background:color-mix(in srgb, var(--foreground) 4%, var(--background));height:46px;color:var(--foreground);box-shadow:none;border-radius:10px;padding:0 44px 0 40px;font-size:14px}.auth-input-wrap input::placeholder{color:var(--foreground-2);opacity:1}.auth-input-wrap input:focus-visible{border-color:var(--primary);outline:2px solid color-mix(in srgb, var(--primary) 22%, transparent);outline-offset:1px}.auth-password-toggle{width:42px;color:var(--foreground-2);background:0 0;border:0;border-radius:9px;place-items:center;display:grid;position:absolute;inset:1px 1px 1px auto}.auth-password-toggle svg{width:20px;height:20px}.auth-hint{color:var(--muted-foreground);margin:8px 0 0;font-size:13px;line-height:1.5}.auth-help-links{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.auth-help-links button,.auth-retry{color:var(--foreground);text-underline-offset:3px;text-align:left;background:0 0;border:0;padding:0;font-size:12px;font-weight:600;line-height:1.5;text-decoration:underline}.auth-submit[data-slot=button]{background:var(--primary-ink);color:#fff;width:100%;height:44px;box-shadow:none;border:0;border-radius:10px;margin-top:8px;font-size:14px;font-weight:700;transition:opacity .15s ease-out,transform .15s ease-out}.auth-submit[data-slot=button]:hover:not(:disabled){background:var(--primary-ink);filter:none;opacity:.92}.auth-divider{color:var(--foreground);white-space:nowrap;align-items:center;gap:16px;margin:26px 0 22px;font-size:12px;font-weight:600;line-height:1.5;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--border);flex:1;height:1px}.auth-socials{gap:10px;display:grid}.auth-social[data-slot=button]{width:100%;height:44px;box-shadow:none;border-radius:10px;justify-content:center;align-items:center;gap:10px;padding:0 12px;font-size:14px;font-weight:500;text-decoration:none;transition:opacity .15s ease-out,transform .15s ease-out;display:flex;position:relative}.auth-social[data-slot=button] img{object-fit:contain;flex:none}.auth-google[data-slot=button],.auth-google[data-slot=button]:hover{color:#1f1f1f;background:#fff;border:1px solid #dadce0}.auth-google small{color:#6a6a6a;font-size:10px}.auth-telegram[data-slot=button],.auth-telegram[data-slot=button]:hover{color:#fff;background:#289dd0;border:1px solid #289dd0}.auth-social[data-slot=button]:hover{opacity:.92}.auth-telegram[aria-disabled=true]{opacity:.55;cursor:wait}.auth-submit:active:not(:disabled),.auth-social:active:not([aria-disabled=true]),.auth-password-toggle:active,.auth-switch button:active{transform:scale(.98)}.auth-social[data-slot=button]:focus-visible,.auth-submit[data-slot=button]:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.auth-error{color:#f27b80;margin:12px 0 0;font-size:12px;line-height:1.5}.auth-credentials .auth-error{margin:0}.auth-legal{color:var(--muted-foreground);text-align:center;margin:20px 0 0;font-size:10px;line-height:1.7}.auth-switch{border-top:1px solid var(--border-strong);flex-wrap:wrap;justify-content:center;align-items:baseline;gap:8px;min-height:64px;padding:22px 20px;font-size:12px;font-weight:600;display:flex}.auth-switch button{color:var(--primary-strong);font:inherit;background:0 0;border:0;padding:0;transition:opacity .15s ease-out,transform .15s ease-out}.auth-switch button:hover{opacity:.8}.auth-mobile-brand{display:none}.auth-dialog-compact[data-slot=dialog-content],.auth-layout-compact{width:min(420px,100vw - 40px)}.auth-layout-compact{min-height:auto;display:block}.auth-layout-compact .auth-panel-content{padding:36px 28px 28px}.auth-layout-compact .auth-form{gap:20px;padding:0;display:grid}.auth-layout-compact .auth-title{text-align:center}.auth-page-footer{--legal-footer-gap:16px;padding-bottom:var(--app-safe-area-bottom,env(safe-area-inset-bottom))}.auth-gate-emoji{margin:-12px auto 8px;display:block}.auth-doc-link{color:var(--primary-soft);text-decoration:underline;-webkit-text-decoration-color:color-mix(in srgb, var(--primary-soft) 45%, transparent);text-decoration-color:color-mix(in srgb, var(--primary-soft) 45%, transparent);text-underline-offset:2px}.auth-consent-row{align-items:flex-start;gap:10px;padding:6px 0;display:flex}.auth-consent-row [data-slot=checkbox]{margin-top:2px}.auth-consent-row label{color:var(--muted-foreground);cursor:pointer;font-size:13px;font-weight:400;line-height:1.45;display:block}.auth-notice[data-slot=dialog-content]{background:var(--background);border-radius:12px;gap:16px;width:min(380px,100% - 40px);max-height:calc(100dvh - 40px);padding:28px;overflow-y:auto}.auth-notice [data-slot=dialog-description]{line-height:1.6}.auth-close{width:32px;height:32px;color:var(--foreground);border-radius:6px;position:absolute;top:8px;right:8px}.auth-close svg{width:19px;height:19px}@media (max-width:720px){.auth{padding:20px}.auth-dialog[data-slot=dialog-content]{width:min(380px,100% - 40px);max-height:calc(100dvh - max(20px, var(--app-safe-area-top,env(safe-area-inset-top))) - max(20px, var(--app-safe-area-bottom,env(safe-area-inset-bottom))))}.auth-layout{width:min(380px,100%);min-height:0;display:block}.auth-art{display:none}.auth-panel-content{padding:28px 24px 24px}.auth-title{margin-bottom:20px;font-size:23px}.auth-input-wrap input{font-size:16px}.auth-help-links{gap:12px}.auth-help-links button{font-size:12px}.auth-switch{min-height:60px;padding:20px 16px 16px}.auth-mobile-brand{--wordmark-size:26px;--wordmark-stroke:0px;place-items:center;padding:4px 20px 22px;display:grid}}@media (prefers-reduced-motion:reduce){.auth-art .auth-art-image,.auth-submit[data-slot=button],.auth-social[data-slot=button],.auth-switch button{transition:none}}
