/* NETXGEN SLOTSEPETİ — P39R: Compact auth screens / crimson-black-gold.
   Presentation only: no form handlers, input names, validation or OTP changes. */
body #authOverlay.auth-overlay{
  --nx-login-accent:#bd2147!important;
  --nx-login-accent-hover:#8c1636!important;
  --nx-login-gold:#f3ce89!important;
  --nx-login-panel:#1a0d17!important;
  --nx-login-border:#714457!important;
  --nx-reg-accent:#bd2147!important;
  --nx-reg-gold:#f3ce89!important;
  --nx-reg-bg:#110a12!important;
  --nx-reg-panel:#1a0d17!important;
  --nx-reg-border:#714457!important;
  --nx39r-bottom-nav:88px;
  box-sizing:border-box!important;z-index:11050!important;
  background:#09040bdc!important;
  backdrop-filter:blur(5px)!important;
  padding:12px!important;
  overscroll-behavior:contain;
}
body #authOverlay.auth-overlay[hidden]{display:none!important}
body #authOverlay.auth-overlay:not([hidden]){display:flex!important;align-items:center!important;justify-content:center!important}
body #authOverlay .auth-card{
  box-sizing:border-box!important;
  display:block!important;grid-template-columns:none!important;
  position:relative!important;
  width:min(430px,100%)!important;max-width:430px!important;
  min-width:0!important;min-height:0!important;height:auto!important;
  max-height:calc(100dvh - 24px)!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:thin;scrollbar-color:#805063 #1b0e18;
  background:radial-gradient(ellipse at 100% 0%,#7f193027,transparent 62%),#1b0d18!important;
  border:1px solid #a46c4d!important;border-radius:16px!important;
  box-shadow:0 24px 70px #000b!important;color:#f6e8de!important;
}
body #authOverlay .auth-card > .nx-reg-art,
body #authOverlay .auth-card > .auth-media{display:none!important}
body #authOverlay .auth-content{
  display:block!important;box-sizing:border-box!important;
  grid-column:auto!important;grid-row:auto!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  padding:19px 20px 18px!important;background:transparent!important;color:#f6e9dc!important;
}
body #authOverlay .auth-close{
  position:absolute!important;top:9px!important;right:10px!important;z-index:12!important;
  width:36px!important;height:36px!important;min-height:36px!important;
  display:grid!important;place-items:center!important;
  padding:0!important;margin:0!important;border-radius:50%!important;
  background:#3b1426!important;border:1px solid #8c583d!important;
  color:#f8d598!important;box-shadow:none!important;
}
body #authOverlay .auth-brand{min-height:0!important;height:auto!important;margin:0 45px 6px 0!important;max-height:42px!important;}
body #authOverlay .auth-brand .nx38r-logo-holder{margin:0!important}
body #authOverlay .auth-brand .nx38r-logo-holder img{max-height:38px!important;max-width:175px!important}
body #authOverlay .auth-brand .auth-logo{max-height:38px!important}
body #authOverlay .auth-tabs{
  display:flex!important;box-sizing:border-box!important;
  width:min(245px,calc(100% - 48px))!important;max-width:245px!important;
  margin:0 48px 10px 0!important;padding:3px!important;gap:3px!important;
  border:1px solid #60404b!important;border-radius:9px!important;
  background:#100911!important;
}
body #authOverlay .auth-tabs button{
  flex:1!important;width:auto!important;min-width:0!important;min-height:36px!important;
  padding:7px 9px!important;margin:0!important;border-radius:6px!important;
  font-size:12px!important;line-height:1.3!important;font-weight:650!important;
  color:#d4b8bd!important;background:transparent!important;border:0!important;
}
body #authOverlay .auth-tabs button:is(.active,[aria-selected="true"]){background:#921936!important;color:#ffe1ad!important;}
body #authOverlay #authTitle{
  font-size:clamp(20px,5.5vw,23px)!important;line-height:1.2!important;
  letter-spacing:-.035em!important;margin:2px 0 8px!important;
  color:#ffe0a0!important;font-weight:600!important;
}
body #authOverlay :is(.nx-login-intro,.nx-reg-intro){margin:0 0 11px!important;color:#cfb0bd!important}
body #authOverlay :is(.nx-login-intro,.nx-reg-intro)>span,
body #authOverlay :is(.nx-login-caption,.nx-reg-kicker,.nx-reg-step-caption){color:#eec783!important}
body #authOverlay .nx-login-intro p{font-size:11px!important;line-height:1.45!important;margin:3px 0 0!important;color:#c7aeba!important}
body #authOverlay .nx-login-caption{margin:0!important;font-size:10px!important;line-height:1.2!important}
body #authOverlay :is(#loginForm,#registerForm,#resetRequestForm,#resetConfirmForm){gap:9px!important;margin-top:0!important}
body #authOverlay #loginForm:not([hidden]){display:grid!important}
body #authOverlay :is(#loginForm,#registerForm,#resetRequestForm,#resetConfirmForm)[hidden],
body #authOverlay .nx-reg-step[hidden]{display:none!important}
body #authOverlay .nx-login-methods{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:4px!important;padding:3px!important;margin:0!important;
  border:1px solid #6b4050!important;border-radius:9px!important;background:#110a13!important;
}
body #authOverlay .nx-login-methods button{
  min-width:0!important;min-height:39px!important;padding:6px 5px!important;
  font-size:11px!important;line-height:1.15!important;border-radius:7px!important;
  color:#dbc6cb!important;background:transparent!important;border:1px solid transparent!important;
}
body #authOverlay .nx-login-methods button:is(.is-active,[aria-pressed="true"]){
  background:#9d1c3e!important;border-color:#b85768!important;color:#fff3d8!important;
}
body #authOverlay .auth-content label{gap:4px!important;color:#f0d8d5!important;font-size:11px!important;line-height:1.4!important}
body #authOverlay :is(.nx-login-account-field,.nx-login-phone-field){gap:4px!important}
body #authOverlay :is(.nx-login-field,.nx-login-password-wrap,.nx-reg-secret){min-width:0!important}
body #authOverlay :is(input:not([type="checkbox"]),select){
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  min-height:43px!important;height:43px!important;
  border:1px solid #7b4c5c!important;border-radius:8px!important;
  background:#120b13!important;color:#fff1e2!important;
  font-size:15px!important;padding:9px 12px!important;
  box-shadow:none!important;
}
body #authOverlay input::placeholder{color:#b399a6!important;opacity:1!important}
body #authOverlay :is(input:not([type="checkbox"]),select):focus,
body #authOverlay :is(input:not([type="checkbox"]),select):focus-visible{
  border-color:#e5b573!important;outline:2px solid #e5b5734d!important;outline-offset:0!important;
}
body #authOverlay :is(.nx-login-field input){padding-left:36px!important}
body #authOverlay .nx-login-field-icon{left:12px!important;color:#efc68a!important}
body #authOverlay .nx-login-password-label{display:flex!important;justify-content:space-between!important;gap:7px!important;align-items:center!important;margin:0!important}
body #authOverlay .nx-login-forgot{color:#f1c981!important;font-size:11px!important;min-height:32px!important;padding:4px!important}
body #authOverlay :is(.nx-login-password-wrap,.nx-reg-secret) input{padding-right:51px!important}
body #authOverlay :is(.nx-login-password-wrap,.nx-reg-secret,.password-field)>button,
body #authOverlay :is(.nx-login-password-wrap,.nx-reg-secret,.password-field) button[data-password-toggle]{
  box-sizing:border-box!important;position:absolute!important;top:4px!important;right:4px!important;
  bottom:4px!important;width:36px!important;height:auto!important;min-height:35px!important;
  border:1px solid #8d4a56!important;border-radius:7px!important;
  background:#53182c!important;color:#f3cd89!important;padding:3px!important;
}
body #authOverlay .nx-login-remember,
body #authOverlay .nx-reg-terms{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  gap:8px!important;margin:0!important;padding:0!important;
  min-height:25px!important;line-height:1.4!important;color:#d7bbc4!important;
}
body #authOverlay :is(.nx-login-remember,.nx-reg-terms) input[type="checkbox"]{
  display:block!important;box-sizing:border-box!important;
  width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;
  flex:0 0 17px!important;margin:0!important;padding:0!important;
  border:1px solid #a66a55!important;accent-color:#bb244c!important;
  border-radius:4px!important;background:#150c16!important;
}
body #authOverlay :is(.nx-login-remember,.nx-reg-terms) span{font-size:11px!important;line-height:1.4!important}
body #authOverlay :is(.nx-login-primary,.nx-reg-primary,button[type="submit"].primary){
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-height:43px!important;padding:9px 15px!important;margin:0!important;
  border-radius:9px!important;border:1px solid #efc785!important;
  background:linear-gradient(110deg,#bc843a,#ffe7a9 47%,#cc9140)!important;
  color:#2c160d!important;box-shadow:0 3px 11px #0003!important;
  font-weight:750!important;font-size:12px!important;letter-spacing:0!important;
}
body #authOverlay :is(.nx-login-primary,.nx-reg-primary,button[type="submit"].primary):disabled{opacity:.6!important}
body #authOverlay .nx-login-new{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:4px!important;margin:0!important;font-size:11px!important;line-height:1.3!important}
body #authOverlay .nx-login-new button,
body #authOverlay .auth-foot button,
body #authOverlay .nx-login-forgot,
body #authOverlay .nx-reg-help span{color:#f1c981!important}
body #authOverlay .auth-foot{margin-top:11px!important;padding-top:8px!important;border-top:1px solid #482c38!important;color:#cfb5c0!important}
body #authOverlay .auth-foot :is(a,button){color:#f1c981!important}
body #authOverlay .nx-reg-track{gap:6px!important;margin:7px 0 3px!important}
body #authOverlay .nx-reg-track-item{padding-top:6px!important;border-top-color:#764452!important;color:#c5adb5!important;font-size:10px!important}
body #authOverlay .nx-reg-track-item.is-active{border-top-color:#c62b54!important;color:#fff0d8!important}
body #authOverlay .nx-reg-track-item.is-done{border-top-color:#d5a05c!important;color:#f4d18c!important}
body #authOverlay .nx-reg-progress-label{margin:4px 0 0!important;color:#ead0b9!important;font-size:10px!important}
body #authOverlay .nx-reg-v2-form{margin-top:9px!important}
body #authOverlay .nx-reg-step{gap:9px!important}
body #authOverlay .nx-reg-fields{gap:9px!important}
body #authOverlay .nx-reg-two{gap:9px!important}
body #authOverlay .nx-reg-help{margin:0!important;color:#ccb4bd!important;font-size:10px!important;line-height:1.5!important}
body #authOverlay .nx-reg-phone-row,
body #authOverlay .nx-login-phone-row{gap:7px!important;grid-template-columns:minmax(0,115px) minmax(0,1fr)!important}
body #authOverlay :is(.nx-reg-phone-row,.nx-login-phone-row) select{font-size:13px!important;padding:8px 5px!important}
body #authOverlay .nx-reg-promo{background:#25111d!important;border:1px solid #704050!important}
body #authOverlay .nx-reg-promo summary{color:#f1d3bb!important;padding:10px!important}
body #authOverlay .nx-reg-actions{gap:8px!important}
body #authOverlay .nx-reg-back{background:#371627!important;border:1px solid #89505a!important;color:#f3cb8b!important}
body #authOverlay .nx-reg-secret button{color:#f3cd89!important;background:#53182c!important}
body #authOverlay .nx-reg-strength>span{background:#65404a!important}
body #authOverlay .nx-reg-strength i{background:#d5a05c!important}
body #authOverlay .nx-reg-strength small,
body #authOverlay .nx-reg-match{color:#dec0ca!important}
body #authOverlay .nx-reg-match.is-error{color:#ffaaaa!important}
body #authOverlay .nx-reg-phone-field small,
body #authOverlay .nx-login-phone-field small{color:#c9aeba!important}
body #authOverlay .nx-reg-phone-row option,
body #authOverlay .nx-login-phone-row option{background:#20101b!important;color:#fcebdc!important}
body #authOverlay .form-error{color:#ffb7bd!important;border-color:#9c4051!important;background:#421722!important}
/* Mobile: fit above the existing dock. The modal itself scrolls, not the page. */
@media(max-width:820px){
  body #authOverlay.auth-overlay:not([hidden]){
    top:0!important;right:0!important;left:0!important;
    bottom:var(--nx39r-bottom-nav,86px)!important;
    height:auto!important;min-height:0!important;
    padding:8px 9px!important;align-items:center!important;
  }
  body #authOverlay .auth-card{
    width:100%!important;max-width:430px!important;
    max-height:100%!important;min-height:0!important;
    border-radius:13px!important;
  }
  body #authOverlay .auth-content{padding:15px 16px 14px!important}
  body #authOverlay .auth-brand{margin-bottom:4px!important}
  body #authOverlay .auth-tabs{margin-bottom:8px!important}
  body #authOverlay #authTitle{font-size:21px!important;margin:1px 0 6px!important}
  body #authOverlay .nx-login-intro{margin-bottom:9px!important}
  body #authOverlay .nx-login-intro p{display:none!important}
  body #authOverlay .nx-login-caption{display:none!important}
  body #authOverlay #loginForm{gap:8px!important}
  body #authOverlay :is(input:not([type="checkbox"]),select){font-size:16px!important}
  body:has(#authOverlay:not([hidden])) :is(.mobile-nav,.royal-mobile-nav,.royal-bottom-nav,.nx-mobile-nav,.nx-bottom-nav,.egt-mobile-nav){pointer-events:none!important;filter:brightness(.72)!important}
}
@media(max-width:360px){
  body #authOverlay .auth-content{padding:12px 12px 11px!important}
  body #authOverlay .auth-tabs button{font-size:11px!important}
  body #authOverlay .nx-reg-two{grid-template-columns:minmax(0,1fr)!important}
  body #authOverlay .nx-reg-phone-row,
  body #authOverlay .nx-login-phone-row{grid-template-columns:minmax(0,1fr)!important}
  body #authOverlay .nx-reg-track-item b{font-size:9px!important}
}
@media(max-height:520px) and (max-width:920px){
  body #authOverlay.auth-overlay:not([hidden]){bottom:0!important;padding:4px!important}
  body #authOverlay .auth-card{max-height:100%!important;border-radius:9px!important}
  body:has(#authOverlay:not([hidden])) :is(.mobile-nav,.royal-mobile-nav,.royal-bottom-nav,.nx-mobile-nav,.nx-bottom-nav,.egt-mobile-nav){pointer-events:none!important}
}
@media(prefers-reduced-motion:reduce){body #authOverlay *{transition:none!important;animation:none!important}}
