.auth-modal-backdrop{position:fixed;inset:0;background:rgba(8,6,5,.72);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:1000;animation:auth-modal-fade .18s ease}@keyframes auth-modal-fade{0%{opacity:0}to{opacity:1}}.auth-modal{position:relative;background:#1f1c19;border:1px solid hsla(43,42%,82%,.16);border-radius:16px;padding:36px 32px 28px;width:100%;max-width:420px;max-height:92vh;overflow-y:auto;box-shadow:0 32px 80px rgba(0,0,0,.65);animation:auth-modal-pop .18s ease}@keyframes auth-modal-pop{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.auth-modal-close{position:absolute;top:14px;right:14px;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:1px solid hsla(43,42%,82%,.18);border-radius:8px;color:hsla(38,35%,94%,.6);cursor:pointer;transition:background .14s,color .14s,border-color .14s}.auth-modal-close:hover{background:rgba(217,119,6,.1);border-color:rgba(217,119,6,.4);color:#f5f1ea}.auth-modal-brand{display:flex;justify-content:center;margin-bottom:24px}.auth-modal-sub{margin:0 0 26px;text-align:center;font-size:14px;line-height:1.5;color:#a8a094}.auth-modal-oauth-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:12px 16px;background:rgba(0,0,0,.32);color:#f5f1ea;border:1px solid hsla(43,42%,82%,.22);border-radius:10px;font-family:var(--font-dl-sans,var(--font-manrope,ui-sans-serif,system-ui,sans-serif));font-size:14px;font-weight:600;letter-spacing:-.005em;cursor:pointer;transition:background .14s,border-color .14s,transform .14s}.auth-modal-oauth-btn:hover{background:hsla(43,42%,82%,.06);border-color:hsla(43,42%,82%,.35);transform:translateY(-1px)}.auth-modal-oauth-btn--yandex:hover{border-color:rgba(252,63,29,.45)}.auth-modal-yandex-logo{display:inline-flex;align-items:center;flex-shrink:0}.auth-modal-soon{margin:14px 0 0;text-align:center;font-size:11px;letter-spacing:.04em;color:hsla(43,42%,82%,.38)}.auth-modal-divider,.auth-modal-soon{font-family:var(--font-dl-mono,monospace)}.auth-modal-divider{display:flex;align-items:center;gap:12px;margin:20px 0;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:hsla(43,42%,82%,.5)}.auth-modal-divider:after,.auth-modal-divider:before{content:"";flex:1;height:1px;background:hsla(43,42%,82%,.12)}.auth-modal-form{display:flex;flex-direction:column;gap:10px}.auth-modal-input-wrap{position:relative}.auth-modal-input-icon{position:absolute;top:50%;left:12px;transform:translateY(-50%);color:hsla(43,42%,82%,.5);pointer-events:none}.auth-modal-input{width:100%;padding:12px 14px 12px 36px;background:rgba(0,0,0,.32);border:1px solid hsla(43,42%,82%,.22);border-radius:10px;color:#f5f1ea;font-family:var(--font-dl-sans,var(--font-manrope,ui-sans-serif,system-ui,sans-serif));font-size:14px;outline:none;transition:border-color .14s,background .14s}.auth-modal-input:focus{border-color:rgba(217,119,6,.5);background:rgba(0,0,0,.45)}.auth-modal-input::-moz-placeholder{color:hsla(43,42%,82%,.32)}.auth-modal-input::placeholder{color:hsla(43,42%,82%,.32)}.auth-modal-input:disabled{opacity:.6;cursor:not-allowed}.auth-modal-submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:13px 20px;background:linear-gradient(180deg,#d97706,#b45309);color:#fef3c7;border:1px solid #92400e;border-radius:10px;font-family:var(--font-dl-sans,var(--font-manrope,ui-sans-serif,system-ui,sans-serif));font-size:14px;font-weight:600;letter-spacing:-.005em;cursor:pointer;box-shadow:0 3px 10px rgba(217,119,6,.25);transition:background .16s,transform .16s,box-shadow .16s}.auth-modal-submit:hover:not(:disabled){background:linear-gradient(180deg,#f59e0b,#d97706);transform:translateY(-1px);box-shadow:0 5px 16px rgba(217,119,6,.35)}.auth-modal-submit:disabled{opacity:.7;cursor:not-allowed}.auth-modal-error{margin:-6px 0 14px;text-align:center;font-size:13px;line-height:1.45;color:var(--aivid-coral,#ff4d5e)}.auth-modal-form .auth-modal-error{margin:-4px 0 0;text-align:left;font-size:12px}.auth-modal-notice{margin:-6px 0 14px;text-align:center;font-size:13px;line-height:1.45;color:var(--theme-text-secondary,#a8a094)}.auth-modal-sent{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:20px 4px}.auth-modal-sent-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:rgba(52,211,153,.16);border:1px solid rgba(52,211,153,.5);color:#34d399;margin-bottom:4px}.auth-modal-sent strong{font-family:var(--font-dl-serif,Georgia,serif);font-weight:500;font-size:18px;color:#f5f1ea}.auth-modal-sent p{margin:4px 0 12px;font-size:13px;line-height:1.55;color:#a8a094;max-width:320px}.auth-modal-sent p b{color:#e6b468;font-weight:600}.auth-modal-sent .auth-modal-form{width:100%}.auth-modal-code-input{width:100%;padding:14px;background:rgba(0,0,0,.32);border:1px solid hsla(43,42%,82%,.22);border-radius:10px;color:#f5f1ea;font-family:var(--font-dl-sans,var(--font-manrope,ui-sans-serif,system-ui,sans-serif));font-size:26px;font-weight:600;letter-spacing:.32em;text-indent:.32em;text-align:center;outline:none;transition:border-color .14s,background .14s}.auth-modal-code-input:focus{border-color:rgba(217,119,6,.5);background:rgba(0,0,0,.45)}.auth-modal-code-input::-moz-placeholder{color:hsla(43,42%,82%,.22);font-weight:500}.auth-modal-code-input::placeholder{color:hsla(43,42%,82%,.22);font-weight:500}.auth-modal-code-input:disabled{opacity:.6;cursor:not-allowed}.auth-modal-sent .auth-modal-error{margin:-4px 0 12px;max-width:320px;color:var(--aivid-coral,#ff4d5e);text-align:center}.auth-modal-sent .auth-modal-code-actions{margin:12px 0 0;font-size:13px;color:#a8a094}.auth-modal-code-actions .auth-modal-link-btn:disabled{opacity:.6;cursor:not-allowed;text-decoration:none}.auth-modal-foot{margin:22px 0 0;text-align:center;font-size:13px;color:#a8a094}.auth-modal-link-btn{background:transparent;border:none;padding:0;font-family:inherit;font-size:inherit;font-weight:600;color:#e6b468;cursor:pointer;text-decoration:none}.auth-modal-link-btn:hover{color:#f59e0b;text-decoration:underline}.auth-modal-legal{margin:18px 0 0;font-size:11px;line-height:1.55;color:hsla(43,42%,82%,.4);text-align:center}.auth-modal-legal a{color:hsla(43,42%,82%,.65);text-decoration:underline;text-decoration-color:hsla(43,42%,82%,.25)}.auth-modal-legal a:hover{color:#e6b468;text-decoration-color:#e6b468}html[data-aivid-theme] .auth-modal-backdrop{background:color-mix(in srgb,var(--theme-bg-deep) 76%,transparent)}html[data-aivid-theme] .auth-modal{background:var(--theme-surface);border-color:var(--theme-border);color:var(--theme-text);box-shadow:var(--theme-shadow)}html[data-aivid-theme=light] .auth-modal{background:#fff}html[data-aivid-theme] :where(.auth-modal-sent strong){color:var(--theme-text)}html[data-aivid-theme] :where(.auth-modal-sub,.auth-modal-foot,.auth-modal-sent p){color:var(--theme-text-secondary)}html[data-aivid-theme] :where(.auth-modal-soon,.auth-modal-divider,.auth-modal-legal){color:var(--theme-text-muted)}html[data-aivid-theme] .auth-modal-divider:after,html[data-aivid-theme] .auth-modal-divider:before{background:var(--theme-border-soft)}html[data-aivid-theme] :where(.auth-modal-oauth-btn,.auth-modal-input){background:var(--theme-surface-soft);border-color:var(--theme-border);color:var(--theme-text)}html[data-aivid-theme] .auth-modal-input::-moz-placeholder{color:var(--theme-text-muted)}html[data-aivid-theme] .auth-modal-input::placeholder{color:var(--theme-text-muted)}html[data-aivid-theme] .auth-modal-close,html[data-aivid-theme] .auth-modal-input-icon{color:var(--theme-text-muted)}html[data-aivid-theme] .auth-modal-close{border-color:var(--theme-border)}html[data-aivid-theme] .auth-modal-legal a{color:var(--theme-text-secondary);text-decoration-color:var(--theme-border)}.auth-page{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:32px 16px 40px;background:var(--theme-bg,#1a1715)}.auth-modal--page{animation:none;box-shadow:0 24px 60px rgba(0,0,0,.32)}.auth-page-home{font-family:var(--font-dl-sans,var(--font-manrope,ui-sans-serif,system-ui,sans-serif));font-size:13px;color:var(--theme-text-secondary,#a8a094);text-decoration:none;border-bottom:1px solid transparent;transition:color .14s,border-color .14s}.auth-page-home:hover{color:var(--theme-text,#f5f1ea);border-bottom-color:var(--theme-border,hsla(43,42%,82%,.24))}