/* NEMAZING V849 — окно входа/регистрации: одна аккуратная тёмная карточка по центру */
#auth-modal.nm848-auth{background:rgba(5,6,10,.8)!important;backdrop-filter:blur(8px);padding:16px!important;overflow-y:auto!important;align-items:start!important;justify-items:center!important}
#auth-modal.nm848-auth .auth-dialog{--a:#ffb020;--line:rgba(255,255,255,.08);--line2:rgba(255,255,255,.12);--mut:#8f96a3;
  display:block!important;width:min(460px,100%)!important;max-width:none!important;height:auto!important;max-height:none!important;min-height:0!important;
  margin:max(16px,calc((100vh - 760px)/2)) auto 24px!important;padding:0!important;grid-template-columns:none!important;
  background:#14161d!important;border:1px solid var(--line)!important;border-radius:22px!important;box-shadow:0 30px 90px rgba(0,0,0,.55)!important;overflow:visible!important;color:#eceef3!important}
#auth-modal.nm848-auth .auth-dialog *{box-sizing:border-box}
#auth-modal.nm848-auth .auth-art{display:none!important}
#auth-modal.nm848-auth .auth-form-side{position:relative!important;display:block!important;padding:26px 28px 28px!important;max-height:none!important;overflow:visible!important;background:transparent!important;border:0!important}
#auth-modal.nm848-auth .nm849-logo{display:block;width:150px;height:auto;margin:2px auto 18px;filter:none!important}
#auth-modal.nm848-auth .auth-close{position:absolute!important;top:16px!important;right:16px!important;width:34px!important;height:34px!important;border-radius:10px!important;background:rgba(255,255,255,.06)!important;border:0!important;color:#9aa1ad!important;font-size:20px!important;line-height:1!important;display:grid!important;place-items:center!important;box-shadow:none!important;padding:0!important}
#auth-modal.nm848-auth .auth-close:hover{background:rgba(255,255,255,.12)!important;color:#fff!important}
#auth-modal.nm848-auth .auth-tabs-modern{display:grid!important;grid-template-columns:1fr 1fr!important;gap:4px!important;width:100%!important;padding:4px!important;margin:0 0 20px!important;border-radius:12px!important;background:#0d0f14!important;border:1px solid var(--line)!important;box-shadow:none!important}
#auth-modal.nm848-auth .auth-tabs-modern button{min-height:38px!important;padding:0 10px!important;border-radius:9px!important;border:0!important;background:transparent!important;color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important;font-weight:750!important;font-size:14px!important;box-shadow:none!important}
#auth-modal.nm848-auth .auth-tabs-modern button:hover{color:#fff!important;-webkit-text-fill-color:#fff!important}
#auth-modal.nm848-auth .auth-form-side .auth-tabs-modern button.active{background:#262a35!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:inset 0 -2px 0 var(--a)!important}

#auth-modal.nm848-auth .auth-modern-form{display:flex!important;flex-direction:column!important;gap:12px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
#auth-modal.nm848-auth .auth-modern-form[hidden]{display:none!important}
#auth-modal.nm848-auth .auth-modern-form h2{margin:0 0 2px!important;font-size:22px!important;line-height:1.2!important;font-weight:800!important;text-transform:none!important;letter-spacing:-.01em!important;color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important;text-align:left}
#auth-modal.nm848-auth .auth-modern-form label{display:block!important;margin:0!important;color:#b9bec9!important;font-size:12.5px!important;font-weight:700!important}
#auth-modal.nm848-auth .auth-modern-form .input,#auth-modal.nm848-auth .auth-modern-form input[type=text],#auth-modal.nm848-auth .auth-modern-form input[type=email],#auth-modal.nm848-auth .auth-modern-form input[type=password]{
  display:block!important;width:100%!important;height:44px!important;min-height:44px!important;margin:6px 0 0!important;padding:0 13px!important;border-radius:11px!important;background:#0d0f14!important;border:1px solid var(--line2)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:15px!important;font-weight:500!important;box-shadow:none!important;outline:none!important}
#auth-modal.nm848-auth .auth-modern-form .input::placeholder{color:#5c6370!important;-webkit-text-fill-color:#5c6370!important}
#auth-modal.nm848-auth .auth-modern-form .input:focus{border-color:rgba(255,176,32,.65)!important;box-shadow:0 0 0 3px rgba(255,176,32,.13)!important}
#auth-modal.nm848-auth .auth-modern-form .input:-webkit-autofill{-webkit-box-shadow:0 0 0 40px #0d0f14 inset!important}
#auth-modal.nm848-auth .auth-form-side .password-field{position:relative!important;display:block!important}
#auth-modal.nm848-auth .auth-form-side .password-field .input{padding-right:90px!important}
#auth-modal.nm848-auth .auth-form-side .password-field .password-toggle{position:absolute!important;right:5px!important;bottom:5px!important;top:auto!important;transform:none!important;height:34px!important;min-height:0!important;padding:0 10px!important;border-radius:8px!important;background:#1d2029!important;border:0!important;color:#b9bec9!important;-webkit-text-fill-color:#b9bec9!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important}
#auth-modal.nm848-auth .auth-policy{margin:-4px 0 0!important;color:var(--mut)!important;font-size:12px!important;font-weight:500!important}

/* сервер */
#auth-modal.nm848-auth .nm804-servers{margin:0!important;padding:0!important;border:0!important;min-width:0!important;display:grid!important;gap:6px!important;background:none!important}
#auth-modal.nm848-auth .nm804-servers legend{float:left;width:100%;padding:0!important;margin:0 0 6px!important;color:#b9bec9!important;font-size:12.5px!important;font-weight:700!important}
#auth-modal.nm848-auth .nm804-server{display:flex!important;align-items:center!important;gap:12px!important;min-height:52px!important;margin:0!important;padding:8px 12px!important;border-radius:11px!important;background:#0d0f14!important;border:1px solid var(--line2)!important;box-shadow:none!important;cursor:pointer}
#auth-modal.nm848-auth .nm804-server:has(input:checked){border-color:rgba(255,176,32,.6)!important}
#auth-modal.nm848-auth .nm804-server input{position:absolute;opacity:0;pointer-events:none}
#auth-modal.nm848-auth .nm804-server-dot{width:32px!important;height:32px!important;flex:0 0 32px!important;border-radius:9px!important;display:grid!important;place-items:center!important;background:#1d2029!important;color:#fff!important;font-weight:800!important;border:0!important;box-shadow:none!important}
#auth-modal.nm848-auth .nm804-server-copy{flex:1;min-width:0}
#auth-modal.nm848-auth .nm804-server-copy :is(b,strong){color:#fff!important;-webkit-text-fill-color:#fff!important}
#auth-modal.nm848-auth .nm804-server-copy :is(small,span){color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important}
#auth-modal.nm848-auth .nm804-server-state{flex:0 0 auto;padding:3px 9px!important;border-radius:99px!important;font-size:11.5px!important;background:rgba(255,255,255,.06)!important;color:var(--mut)!important;-webkit-text-fill-color:var(--mut)!important;border:0!important}
#auth-modal.nm848-auth .nm804-server-state:not(.is-off){background:rgba(53,208,127,.14)!important;color:#5fe39d!important;-webkit-text-fill-color:#5fe39d!important}

/* капча */
#auth-modal.nm848-auth .auth-captcha-field{display:block!important}
#auth-modal.nm848-auth #login-form .auth-captcha-row,#auth-modal.nm848-auth #register-form .auth-captcha-row{display:grid!important;grid-template-columns:132px minmax(0,1fr) 44px!important;grid-template-rows:auto!important;gap:8px!important;align-items:center!important;margin-top:6px!important}
#auth-modal.nm848-auth #login-form .auth-captcha-row>*,#auth-modal.nm848-auth #register-form .auth-captcha-row>*{grid-column:auto!important;grid-row:1!important;margin:0!important;min-width:0!important}
#auth-modal.nm848-auth #login-form .auth-captcha-row>img,#auth-modal.nm848-auth #register-form .auth-captcha-row>img{width:132px!important;height:44px!important;object-fit:cover!important;border-radius:11px!important;border:1px solid var(--line2)!important;background:#fff!important;filter:none!important}
#auth-modal.nm848-auth .auth-captcha-row .input{text-align:center!important;letter-spacing:.25em!important}
#auth-modal.nm848-auth #login-form .auth-captcha-row>button,#auth-modal.nm848-auth #register-form .auth-captcha-row>button{width:44px!important;height:44px!important;min-height:0!important;padding:0!important;border-radius:11px!important;background:#1d2029!important;border:1px solid var(--line2)!important;color:#d6d9e0!important;box-shadow:none!important;display:grid!important;place-items:center!important}
#auth-modal.nm848-auth .auth-captcha-field small{display:block;margin-top:5px!important;color:var(--mut)!important;font-weight:500!important;font-size:12px!important}
#auth-modal.nm848-auth .human-check{display:flex!important;gap:10px!important;align-items:flex-start!important;color:var(--mut)!important;font-weight:500!important;font-size:12.5px!important;line-height:1.45!important}
#auth-modal.nm848-auth .human-check input{accent-color:#ff9500;width:17px!important;height:17px!important;margin:1px 0 0!important;flex:0 0 17px}
#auth-modal.nm848-auth .human-check a{color:var(--a)!important;-webkit-text-fill-color:var(--a)!important}
#auth-modal.nm848-auth .auth-form-status:empty{display:none!important}
#auth-modal.nm848-auth .auth-form-status:not(:empty){padding:9px 12px;border-radius:11px;background:rgba(255,93,93,.1);border:1px solid rgba(255,93,93,.3);color:#ffb3b3!important;font-size:13px}
#auth-modal.nm848-auth .auth-modern-form .btn-primary{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:48px!important;min-height:48px!important;margin:4px 0 0!important;border-radius:12px!important;border:0!important;background:linear-gradient(180deg,#ffc043,#ff9500)!important;color:#1a1200!important;font-size:15px!important;font-weight:800!important;text-transform:none!important;letter-spacing:0!important;box-shadow:0 10px 24px rgba(255,160,0,.25)!important}
#auth-modal.nm848-auth .auth-modern-form .btn-primary *{color:#1a1200!important;-webkit-text-fill-color:#1a1200!important;background:none!important}
#auth-modal.nm848-auth .auth-modern-form .btn-primary:hover{filter:brightness(1.05)}
@media(max-width:520px){
  #auth-modal.nm848-auth{padding:10px!important}
  #auth-modal.nm848-auth .auth-dialog{margin:10px auto!important;border-radius:18px!important}
  #auth-modal.nm848-auth .auth-form-side{padding:20px 16px 22px!important}
  #auth-modal.nm848-auth #login-form .auth-captcha-row,#auth-modal.nm848-auth #register-form .auth-captcha-row{grid-template-columns:112px minmax(0,1fr) 44px!important}
  #auth-modal.nm848-auth #login-form .auth-captcha-row>img,#auth-modal.nm848-auth #register-form .auth-captcha-row>img{width:112px!important}
}
