/* Entry screen shares the existing forms and authentication handlers. */
html.nekon-entry{--entry-bg:#090711;--entry-surface:#141020;--entry-text:#f7f4ff;--entry-muted:#c2b8d2;color-scheme:dark;background:var(--entry-bg)}
html.nekon-entry body{background:var(--entry-bg)!important;overflow-x:hidden}
html.nekon-entry body>:is(header,main,footer),html.nekon-entry :is(.arena-bottom-nav,#premium-support-float,.theme-float,.nekon-theme-float){display:none!important}
html.nekon-entry #memberAuthDialog{position:relative!important;inset:auto!important;display:block!important;margin:0!important;width:100%!important;max-width:none!important;height:auto!important;min-height:100dvh!important;max-height:none!important;border:0!important;border-radius:0!important;background:var(--entry-bg)!important;color:var(--entry-text)!important;overflow:visible!important}
html.nekon-entry #memberAuthDialog .member-auth-shell{grid-template-columns:minmax(0,1fr) minmax(390px,1fr)!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important;border-radius:0!important;background:var(--entry-bg)!important}
html.nekon-entry #memberAuthDialog .member-auth-brand{position:sticky!important;top:0;align-self:start;height:100dvh!important;box-sizing:border-box;display:flex!important;flex-direction:column;justify-content:flex-end;padding:50px!important;background:linear-gradient(0deg,#090711 0%,#09071122 75%),url('assets/hero/nekon-home-analysis-cat-v2735.jpg') 27% center/cover!important;color:#fff!important}
html.nekon-entry #memberAuthDialog .member-auth-brand img{position:absolute;top:35px;left:40px;width:140px!important;height:80px!important;object-fit:contain}
html.nekon-entry #memberAuthDialog .member-auth-brand small{color:#dbc4ff!important;letter-spacing:.2em}
html.nekon-entry #memberAuthDialog .member-auth-brand h2{font-size:clamp(32px,3.6vw,56px)!important;max-width:470px;margin:12px 0!important;color:#fff!important}
html.nekon-entry #memberAuthDialog .member-auth-brand p{color:#eee4ff!important;max-width:390px}
html.nekon-entry #memberAuthDialog .member-auth-content{align-self:center;box-sizing:border-box;width:100%;max-width:550px;margin:auto;padding:40px 48px!important;max-height:none!important;overflow:visible!important;background:transparent!important;color:var(--entry-text)!important;scrollbar-gutter:auto!important}
html.nekon-entry #memberAuthDialog .member-auth-mobile-heading{display:block!important;margin:0 0 24px!important;color:var(--entry-text)!important}
html.nekon-entry #memberAuthDialog .member-auth-mobile-heading h2{font-size:30px!important;margin:8px 0!important;color:var(--entry-text)!important}
html.nekon-entry #memberAuthDialog .member-auth-mobile-heading p{font-size:14px;color:var(--entry-muted)!important;margin:0}
html.nekon-entry #memberAuthDialog .member-auth-mobile-heading small{letter-spacing:.2em;color:#c9a3ff!important}
#memberAuthDialog .entry-logo{display:block;width:74px;height:74px;object-fit:contain;margin:0 0 18px}
html.nekon-entry #memberAuthDialog .member-auth-close{display:none!important}
html.nekon-entry #memberAuthDialog .member-auth-tabs{display:flex!important;border:0!important;border-bottom:1px solid #362b49!important;border-radius:0!important;background:transparent!important;padding:0!important;gap:20px;margin:0 0 24px!important}
html.nekon-entry #memberAuthDialog .member-auth-tabs button{flex:1;border:0!important;border-radius:0!important;padding:12px 0!important;background:transparent!important;color:#bfb3cd!important;font-size:12px!important}
html.nekon-entry #memberAuthDialog .member-auth-tabs button.is-active{color:#e3cfff!important;border-bottom:2px solid #b57bff!important;background:transparent!important}
html.nekon-entry #memberAuthDialog :is(#memberLoginForm,#memberRegisterForm){display:grid;gap:16px!important}
html.nekon-entry #memberAuthDialog form[hidden]{display:none!important}
html.nekon-entry #memberAuthDialog :is(#memberLoginForm,#memberRegisterForm) label{display:grid!important;gap:7px!important;min-width:0!important;padding:0!important;background:transparent!important;border:0!important}
html.nekon-entry #memberAuthDialog label::before{display:none!important}
html.nekon-entry #memberAuthDialog label>span{font-size:12px!important;color:#d8cde6!important}
html.nekon-entry #memberAuthDialog input{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;height:48px!important;border:1px solid #443552!important;border-radius:12px!important;background:#15111e!important;color:#fff!important;padding:12px 14px!important;font-size:16px!important;box-shadow:none!important}
html.nekon-entry #memberAuthDialog input::placeholder{color:#a89ab8!important}
html.nekon-entry #memberAuthDialog input:focus-visible{outline:2px solid #b780ff!important;outline-offset:2px!important}
html.nekon-entry #memberAuthDialog .auth-field-icon{display:none!important}
html.nekon-entry #memberAuthDialog .password-field{width:100%;position:relative;min-width:0}
html.nekon-entry #memberAuthDialog .password-field input{padding-right:48px!important}
html.nekon-entry #memberAuthDialog .password-toggle{right:9px!important;top:50%!important;transform:translateY(-50%);color:#e0caff!important;background:transparent!important}
html.nekon-entry #memberAuthDialog :is(label small,.registration-verification-note){color:#bfb3cd!important;background:transparent!important;font-size:11px!important}
html.nekon-entry #memberAuthDialog .member-primary-button{min-height:48px!important;width:100%!important;border:1px solid #bc8dff!important;border-radius:12px!important;background:linear-gradient(120deg,#7425d8,#aa5bef)!important;color:#fff!important;font-weight:800!important;box-shadow:0 6px 24px #8533dc30!important}
#memberAuthDialog .entry-forgot{justify-self:end;border:0;background:transparent;color:inherit;font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:4px}
#memberAuthDialog .entry-welcome{font-size:12px;line-height:1.5;margin:18px 0 0;text-align:center;color:inherit}
#memberAuthDialog .entry-footer{margin-top:22px;text-align:center;font-size:11px;color:inherit;opacity:.7}
#memberAuthDialog .entry-brand-bonus{font-size:13px;color:#dbc4ff;padding-top:12px}
html.nekon-entry #memberAuthDialog .member-feedback{color:#ffe5e5!important;border:1px solid #9b4242!important;background:#381721!important;border-radius:12px;padding:12px;font-size:13px;line-height:1.5}
html.nekon-entry #memberAuthDialog .member-feedback.is-success{color:#d5ffe4!important;border-color:#467c5a!important;background:#122a20!important}
@media(max-width:850px){
html.nekon-entry #memberAuthDialog .member-auth-shell{grid-template-columns:minmax(0,1fr)!important}
html.nekon-entry #memberAuthDialog .member-auth-brand{display:none!important}
html.nekon-entry #memberAuthDialog .member-auth-content{padding:calc(24px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom))!important;max-width:510px}
html.nekon-entry #memberAuthDialog{background:radial-gradient(ellipse at 50% 0%,#2b123f,transparent 60%),#090711!important}
html.nekon-entry #memberAuthDialog .member-auth-mobile-heading{text-align:center}
html.nekon-entry #memberAuthDialog .entry-logo{width:94px;height:94px;margin:0 auto 12px}
html.nekon-entry #memberAuthDialog .member-auth-mobile-heading h2{font-size:26px!important}
}
@media(prefers-reduced-motion:reduce){html.nekon-entry *{animation:none!important;transition:none!important}}
html.nekon-entry :is(#menu,#overlay){display:none!important}
html.nekon-entry #memberAuthDialog .member-auth-form .member-form-grid{min-width:0}
#memberResetDialog input{display:block;width:100%;box-sizing:border-box;min-height:46px;border-radius:12px;padding:10px;border:1px solid var(--page-border,#655878);background:var(--page-bg,#090711);color:var(--text,#fff);font:inherit;margin-top:8px}
/* Remove the old icon column in every viewport, including Safari's implicit grid. */
html.nekon-entry #memberAuthDialog #memberLoginForm .member-auth-field{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;width:100%!important;box-sizing:border-box!important;column-gap:0!important}
html.nekon-entry #memberAuthDialog #memberLoginForm .member-auth-field>:is(span,input,.password-field){grid-column:1!important;grid-row:auto!important;width:100%!important;max-width:none!important;min-width:0!important;justify-self:stretch!important}
html.nekon-entry #memberAuthDialog #memberLoginForm .member-auth-field>span{position:static!important;width:auto!important;height:auto!important;margin:0!important;overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:normal!important}
html.nekon-entry #memberAuthDialog #memberLoginForm input{font-size:16px!important;-webkit-text-fill-color:#fff!important;font-weight:400!important;letter-spacing:normal!important;transform:none!important}
html.nekon-entry #memberAuthDialog .member-auth-form .member-primary-button{-webkit-text-fill-color:#fff!important}
html.nekon-entry .arena-guest-auth{display:none!important}
#memberAuthDialog .entry-footer{display:none!important}
.member-recovery-dialog{width:min(420px,calc(100vw - 32px))!important;padding:24px!important;background:#141020!important;color:#f7f4ff!important;border:1px solid #5a416e!important;overflow-y:auto!important;box-sizing:border-box!important;max-height:calc(100dvh - 32px)!important}
.member-recovery-dialog header{align-items:center}
.member-recovery-dialog h3{color:#f7f4ff!important;font-size:22px!important}
.member-recovery-dialog p,.member-recovery-dialog small{color:#cfc2df!important}
.member-recovery-dialog form{display:grid;gap:12px;min-width:0}
.member-recovery-dialog label{font-size:13px;color:#e8dcef!important}
.member-recovery-dialog input{display:block;box-sizing:border-box;width:100%!important;min-width:0;min-height:48px;background:#090711!important;color:#fff!important;border:1px solid #675080!important;border-radius:12px;padding:12px 14px;margin:0!important;font:inherit;font-size:16px!important}
.member-recovery-dialog input:focus-visible{outline:2px solid #b57bff;outline-offset:2px}
.member-recovery-dialog .password-field{position:relative;width:100%;min-width:0}
#memberResetDialog .password-field input{padding-right:52px!important}
#memberResetDialog .password-toggle{position:absolute!important;inset:50% 7px auto auto!important;transform:translateY(-50%)!important;display:grid;place-items:center;width:36px;height:36px;padding:7px;border:0!important;border-radius:9px;background:transparent!important;color:#e3c9ff!important;cursor:pointer}
#memberResetDialog .password-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.member-recovery-dialog .home-save{margin-top:4px;background:linear-gradient(120deg,#7425d8,#aa5bef)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #bc8dff!important;min-height:48px}
#closeMemberRecovery{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border:1px solid #675080;border-radius:50%;background:#090711;color:#f7f4ff;font-size:22px;cursor:pointer}
.member-recovery-dialog .member-feedback{margin:0;color:#ffdada!important;background:#381721!important;border:1px solid #9b4242!important;border-radius:12px;padding:12px;font-size:13px;line-height:1.5}
.member-recovery-dialog .member-feedback.is-success{color:#d5ffe4!important;background:#122a20!important;border-color:#467c5a!important}

/* Keep recovery headers independent from the site's responsive navigation header. */
html #memberRecoveryDialog,html #memberResetDialog{width:min(460px,calc(100vw - 32px))!important;max-width:460px!important;border-radius:24px!important;padding:54px 24px 24px!important;}
html #memberResetDialog{padding-top:24px!important}
html #memberRecoveryDialog>header,html #memberResetDialog>header{position:static!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;padding:16px 12px!important;margin:0 0 18px!important;background:linear-gradient(120deg,#251734,#1a1228)!important;border:1px solid #604376!important;border-radius:14px!important;box-shadow:none!important;transform:none!important;z-index:auto!important;}
html #memberRecoveryDialog #memberRecoveryTitle,html #memberResetDialog #memberResetTitle{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;color:#f7f4ff!important;-webkit-text-fill-color:#f7f4ff!important;font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(18px,4.8vw,24px)!important;font-weight:700!important;line-height:1.25!important;letter-spacing:normal!important;white-space:nowrap!important;text-align:center!important;}
html #memberRecoveryDialog #closeMemberRecovery{position:absolute!important;inset:10px 10px auto auto!important;top:10px!important;right:10px!important;bottom:auto!important;left:auto!important;display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;padding:8px!important;margin:0!important;transform:none!important;border:1px solid #604376!important;border-radius:11px!important;background:#21162e!important;color:#f7f4ff!important;box-shadow:none!important;}
html #memberRecoveryDialog #closeMemberRecovery svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
html #memberRecoveryDialog #closeMemberRecovery:focus-visible{outline:2px solid #c59bff;outline-offset:2px}
html #memberRecoveryDialog>p{margin:0 0 20px!important;font-size:14px!important;line-height:1.5!important}
html #memberRecoveryDialog .home-save{width:100%!important;border-radius:12px!important;font-size:15px!important;line-height:1.4!important;padding:13px 12px!important}
@media(max-width:480px){html #memberRecoveryDialog,html #memberResetDialog{padding-right:16px!important;padding-left:16px!important;}}

/* The full-page mobile entry has no close button: do not reserve its old space. */
@media(max-width:850px){
 html.nekon-entry #memberAuthDialog .member-auth-mobile-heading{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:9px!important;width:100%!important;max-width:none!important;margin:0 0 24px!important;padding:0!important;text-align:center!important;background:transparent!important;}
 html.nekon-entry #memberAuthDialog .member-auth-mobile-heading>small{display:block!important;width:100%!important;margin:0!important;padding:0!important;color:#d5b8ff!important;font-size:11px!important;line-height:1.4!important;letter-spacing:.18em!important;text-indent:.18em!important;text-align:center!important;}
 html.nekon-entry #memberAuthDialog .member-auth-mobile-heading>.entry-logo{position:static!important;inset:auto!important;display:block!important;align-self:center!important;width:82px!important;height:82px!important;max-width:100%!important;margin:0!important;padding:0!important;object-fit:contain!important;transform:none!important;filter:drop-shadow(0 6px 16px #a65eff24);}
 html.nekon-entry #memberAuthDialog .member-auth-mobile-heading>h2{box-sizing:border-box!important;width:100%!important;max-width:none!important;margin:3px 0 0!important;padding:0!important;font-size:clamp(22px,6.2vw,28px)!important;line-height:1.18!important;letter-spacing:-.025em!important;text-align:center!important;overflow-wrap:anywhere!important;}
 html.nekon-entry #memberAuthDialog .member-auth-mobile-heading>p{box-sizing:border-box!important;width:100%!important;max-width:340px!important;margin:0!important;padding:0!important;font-size:13px!important;line-height:1.5!important;text-align:center!important;}
}
