.auth-dialog{width:min(560px,94vw);max-height:91vh;overflow:auto;padding:35px;border:1px solid #3d4a63;border-radius:24px;background:linear-gradient(145deg,#222b44,#192438);color:#eef2fc;font:16px/1.6 'Segoe UI',Arial,sans-serif}.auth-dialog::backdrop{background:#030712ce;backdrop-filter:blur(5px)}.auth-close{float:right;color:#9faec7;border:0;background:transparent;font-size:28px;cursor:pointer;padding:0 3px}.auth-heading{display:flex;gap:15px;align-items:center;margin:8px 0 26px}.auth-heading img{width:60px;height:60px;flex:none}.auth-heading h2{font-size:34px;line-height:1.2;margin:0 0 6px;letter-spacing:-1px}.auth-heading p{font-size:14px;color:#bac7da;margin:0}.auth-dialog form{display:grid;gap:16px}.auth-dialog label{font-size:14px;font-weight:650;display:grid;gap:8px;color:#c5d0e1}.auth-dialog input:not([type=checkbox]):not([type=file]){box-sizing:border-box;width:100%;min-width:0;border:1px solid #44516c;border-radius:13px;background:#e7edfb;color:#162039;font:16px system-ui;padding:15px;min-height:53px}.auth-input{display:flex;align-items:center;border-radius:14px;background:#e7edfb;padding-left:15px;color:#8294b1;gap:8px}.auth-input input{border:0!important;background:transparent!important;padding-left:0!important;flex:1}.auth-input>button{border:0;background:transparent;color:#637eab;padding:14px;font-size:20px;cursor:pointer}.auth-dialog input:disabled{opacity:.6}.auth-primary,.auth-demo{width:100%;min-height:51px;border:0;border-radius:13px;background:linear-gradient(110deg,#8350e7,#b330d4);color:white;font-size:16px;font-weight:700;padding:12px;cursor:pointer;margin-top:4px}.auth-primary:disabled{opacity:.45;cursor:default}.auth-demo{background:#303a55;border:1px solid #69799d}.auth-dialog small{font-size:12px;color:#9eacc4}.auth-switch{border-top:1px solid #3a455d;margin-top:25px;padding-top:18px;text-align:center}.auth-switch p{color:#b8c5da;font-size:14px}.auth-switch button,.auth-tools button{width:100%;background:transparent;color:#e6ecf9;border:1px solid #44516a;border-radius:12px;padding:14px;cursor:pointer;font-size:15px;font-weight:650}.auth-link{display:block;margin:18px auto 0;border:0;background:transparent;color:#c09cff;font-size:14px;cursor:pointer}.auth-caption{font-size:13px!important;color:#aebdd5!important;line-height:1.7}.auth-footer{margin-top:20px;border-top:1px solid #354158;padding-top:18px;text-align:center;font-size:12px;color:#93a4bf}.auth-loading{display:grid;justify-items:center;gap:13px;background:radial-gradient(circle,#342653,#15233c);padding:25px;border-radius:16px;margin-top:20px}.auth-loading img{width:70px;height:70px;animation:logoPulse 1.4s ease-in-out infinite}.auth-loading span{font-size:12px;letter-spacing:1px}.auth-loading div{height:4px;width:150px;border-radius:3px;background:linear-gradient(90deg,#4b3a76,#c798ff,#4b3a76);background-size:200%;animation:authBar 1.3s linear infinite}.auth-accept{display:flex!important;flex-wrap:wrap;align-items:center;font-size:12px!important;font-weight:400!important}.auth-accept a,.auth-tools a{color:#c09cff}.auth-badge{display:inline-block;background:#443455;border:1px solid #79539b;padding:4px 10px;border-radius:9px;font-size:10px;letter-spacing:1.2px;margin-bottom:18px}.photo-editor{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.photo-preview{width:78px;height:78px;border-radius:50%;background:#34445b;display:grid;place-items:center;font-size:33px;overflow:hidden;flex:none}.photo-preview img,.profile-avatar img{width:100%;height:100%;object-fit:cover}.photo-choose{padding:10px 13px;border:1px solid #6c7895;border-radius:11px;color:#e3eafd!important;cursor:pointer}.photo-choose input{max-width:220px;font-size:11px;margin-top:8px}.photo-editor button{font-size:12px;background:transparent;color:#b5c5de;border:0;cursor:pointer}.auth-tools{display:grid;gap:15px;margin-top:24px;text-align:center}.profile-avatar{width:37px;height:37px;min-width:37px;border-radius:50%;border:1px solid #765ca3;background:#352b52;color:#eee1ff;padding:0;display:grid;place-items:center;font:700 16px system-ui;overflow:hidden;cursor:pointer}.site-header.has-profile{grid-template-columns:auto 1fr auto auto auto}.auth-dialog [hidden]{display:none!important}#authStatus{font-size:13px;color:#ebc58c;overflow-wrap:anywhere}@keyframes logoPulse{50%{transform:scale(1.07)}}@keyframes authBar{to{background-position:200%}}@media(max-width:1100px){.site-header.has-profile{grid-template-columns:auto 1fr auto auto}}@media(max-width:800px){.site-header.has-profile{grid-template-columns:1fr auto auto;gap:10px}.site-header.has-profile nav{grid-column:1/-1;order:4}.site-header.has-profile .profile-avatar{grid-column:2;grid-row:1}.site-header.has-profile .site-menu-button{grid-column:3;grid-row:1}.auth-dialog{padding:25px;max-height:91vh}.auth-heading{gap:12px;margin-top:6px}.auth-heading img{width:49px;height:49px}.auth-heading h2{font-size:27px}.auth-heading p{font-size:12px}.auth-dialog form{gap:14px}.auth-dialog input:not([type=checkbox]):not([type=file]){font-size:16px;padding:13px}.auth-input input{padding-left:0!important}.auth-heading{margin-bottom:23px}.photo-choose input{max-width:190px}.auth-dialog label{font-size:13px}}@media(max-width:420px){.auth-dialog{padding:22px}.auth-heading h2{font-size:25px}.auth-heading img{width:43px;height:43px}.auth-close{font-size:24px}.photo-editor{gap:10px}.photo-choose input{max-width:155px}.workspace>header>div:first-of-type{max-width:95px}.workspace>header .profile-avatar{width:30px;height:30px;min-width:30px}}@media(prefers-reduced-motion:reduce){.auth-loading img,.auth-loading div{animation:none}}
.auth-dialog button.auth-primary,.auth-dialog button.auth-primary:hover{background:linear-gradient(110deg,#8350e7,#b330d4);color:#fff;border:0}.auth-dialog button.auth-demo,.auth-dialog button.auth-demo:hover{background:#303a55;color:#fff}.auth-dialog .photo-choose{position:relative;overflow:hidden;display:grid;min-height:42px;align-items:center}.auth-dialog .photo-choose input[type=file]{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;opacity:0;cursor:pointer}.auth-dialog .auth-heading h2{color:#eef2fc}.auth-dialog .auth-tools button:hover{background:#303a55;color:#fff}
