/* PlayNovaEra public authentication UI by StarDev.
   Scoped to .pne-public-shell so the authenticated Control Panel is untouched. */

html:has(body.pne-public-shell){background:#070c13}
body.pne-public-shell{
  --pne-gold:#f5ad26;
  --pne-gold-2:#ff7d0b;
  --pne-ink:#070c13;
  --pne-card:rgba(14,24,38,.96);
  --pne-card-2:rgba(19,31,49,.96);
  --pne-line:rgba(170,194,224,.14);
  --pne-soft:#91a0b5;
  --pne-white:#f3f7fd;
  min-height:100vh;
  margin:0;
  overflow-x:hidden;
  background:#070c13;
  color:var(--pne-white);
  font-family:Inter,Segoe UI,Arial,sans-serif;
}
body.pne-public-shell::before{
  content:"";position:fixed;inset:0;z-index:-4;
  background:
    linear-gradient(180deg,rgba(2,8,14,.58),rgba(2,8,14,.82)),
    url('/assets/img/background.jpg') center/cover no-repeat;
  transform:scale(1.015);
}
body.pne-public-shell::after{
  content:"";position:fixed;inset:0;z-index:-3;pointer-events:none;
  background:
    radial-gradient(circle at 50% 8%,rgba(255,177,35,.11),transparent 28%),
    linear-gradient(90deg,rgba(2,7,13,.82),rgba(2,7,13,.24) 34%,rgba(2,7,13,.24) 66%,rgba(2,7,13,.82));
}
.pne-public-background{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none}
.pne-public-background::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(115deg,transparent 0 74px,rgba(255,255,255,.012) 75px,transparent 76px)}
.pne-public-orb{position:absolute;width:440px;height:440px;border-radius:50%;filter:blur(90px);opacity:.12;background:#ff8b11}
.pne-orb-one{top:-220px;left:-160px}.pne-orb-two{right:-180px;bottom:-260px;opacity:.08}
.pne-public-wrap{width:min(100%,1120px);min-height:100vh;margin:0 auto;padding:22px 24px 28px;display:flex;flex-direction:column;position:relative}
.pne-public-topline{height:30px;display:flex;justify-content:flex-end;align-items:center}
.pne-public-lang{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:30px;padding:0 10px;border:1px solid rgba(255,188,72,.28);border-radius:999px;color:#f4bf58!important;background:rgba(5,10,17,.54);font-size:12px;font-weight:900;letter-spacing:.8px;text-decoration:none!important;backdrop-filter:blur(10px)}
.pne-public-lang:hover{border-color:rgba(255,188,72,.58);background:rgba(255,166,24,.08)}
.pne-public-brand{width:310px;max-width:72vw;margin:2px auto 12px;display:flex;flex-direction:column;align-items:center;text-decoration:none!important;color:inherit!important}
.pne-public-brand img{display:block;width:100%;height:auto;filter:drop-shadow(0 12px 32px rgba(0,0,0,.55))}
.pne-public-brand span{margin-top:-12px;color:#8999ad;font-size:10px;font-weight:800;letter-spacing:2px;text-align:center}
.pne-public-main{width:100%;margin:0!important;display:grid;place-items:start center;flex:1}
.pne-public-card{width:min(100%,600px);margin:0 auto;border:1px solid rgba(150,177,211,.16);border-radius:26px;background:linear-gradient(155deg,rgba(20,33,52,.97),rgba(10,18,29,.98));box-shadow:0 34px 90px rgba(0,0,0,.52),inset 0 1px 0 rgba(255,255,255,.035);overflow:hidden;position:relative}
.pne-public-card::before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,rgba(255,184,62,.72),transparent);opacity:.8}
.pne-public-route-register .pne-public-card{width:min(100%,680px)}
.pne-auth-switch{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;padding:10px;background:rgba(6,12,20,.64);border-bottom:1px solid rgba(147,173,204,.11)}
.pne-auth-switch a{min-height:52px;padding:0 16px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:15px;color:#8e9caf!important;background:transparent;font-weight:900;text-decoration:none!important;transition:.18s ease}
.pne-auth-switch a:hover{color:#dfe9f5!important;background:rgba(255,255,255,.025)}
.pne-auth-switch a.active{color:#ffc454!important;border-color:rgba(245,173,38,.56);background:linear-gradient(180deg,rgba(245,173,38,.095),rgba(245,173,38,.035));box-shadow:inset 0 0 24px rgba(255,164,21,.03)}

.pne-tab-icon,.pne-input-icon,.pne-button-icon,.pne-public-mini-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.pne-tab-icon::before,.pne-input-icon::before,.pne-button-icon::before,.pne-public-mini-icon::before{content:"";display:block;background:currentColor;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:contain;-webkit-mask-size:contain}
.pne-tab-icon{width:18px;height:18px;color:#f4a91e}
.pne-tab-icon::before{width:18px;height:18px}
.pne-input-icon{width:48px;min-width:48px;display:grid;place-items:center;color:#8aa0bc}
.pne-input-icon::before{width:18px;height:18px;opacity:.96}
.pne-input-wrap:focus-within .pne-input-icon{color:#ffd070}
.pne-button-icon{width:18px;height:18px;color:#111820}
.pne-button-icon::before{width:18px;height:18px}
.pne-public-mini-icon{width:16px;height:16px;color:#77efb0}
.pne-public-mini-icon::before{width:16px;height:16px}
.icon-login::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 3H6a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h4v-2H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h4V3Zm5.586 4.586L14.172 9 16.586 11H8v2h8.586l-2.414 2.414L15.586 17 21 11.586 15.586 6.172Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 3H6a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h4v-2H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h4V3Zm5.586 4.586L14.172 9 16.586 11H8v2h8.586l-2.414 2.414L15.586 17 21 11.586 15.586 6.172Z'/%3E%3C/svg%3E")}
.icon-register::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M15 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4Zm-8 8a7 7 0 0 1 14 0Zm10-9V8h-3V6h3V3h2v3h3v2h-3v3Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M15 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4Zm-8 8a7 7 0 0 1 14 0Zm10-9V8h-3V6h3V3h2v3h3v2h-3v3Z'/%3E%3C/svg%3E")}
.icon-mail::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6.5A2.5 2.5 0 0 1 5.5 4h13A2.5 2.5 0 0 1 21 6.5v11a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 17.5Zm2 0v.235l7 5.25 7-5.25V6.5a.5.5 0 0 0-.5-.5h-13a.5.5 0 0 0-.5.5Zm16 2.735-6.4 4.8a3 3 0 0 1-3.6 0L4 9.235V17.5a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6.5A2.5 2.5 0 0 1 5.5 4h13A2.5 2.5 0 0 1 21 6.5v11a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 17.5Zm2 0v.235l7 5.25 7-5.25V6.5a.5.5 0 0 0-.5-.5h-13a.5.5 0 0 0-.5.5Zm16 2.735-6.4 4.8a3 3 0 0 1-3.6 0L4 9.235V17.5a.5.5 0 0 0 .5.5h13a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E")}
.icon-user::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4.5 4.5 0 1 0-4.5-4.5A4.5 4.5 0 0 0 12 12Zm0 2c-4.136 0-7.5 2.916-7.5 6.5a1 1 0 1 0 2 0c0-2.336 2.467-4.5 5.5-4.5s5.5 2.164 5.5 4.5a1 1 0 1 0 2 0C19.5 16.916 16.136 14 12 14Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4.5 4.5 0 1 0-4.5-4.5A4.5 4.5 0 0 0 12 12Zm0 2c-4.136 0-7.5 2.916-7.5 6.5a1 1 0 1 0 2 0c0-2.336 2.467-4.5 5.5-4.5s5.5 2.164 5.5 4.5a1 1 0 1 0 2 0C19.5 16.916 16.136 14 12 14Z'/%3E%3C/svg%3E")}
.icon-lock::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 9V7a5 5 0 1 0-10 0v2H5.5A2.5 2.5 0 0 0 3 11.5v8A2.5 2.5 0 0 0 5.5 22h13a2.5 2.5 0 0 0 2.5-2.5v-8A2.5 2.5 0 0 0 18.5 9Zm-8 0V7a3 3 0 1 1 6 0v2Zm3 3a2 2 0 0 1 1 3.732V18a1 1 0 1 1-2 0v-2.268A2 2 0 0 1 12 12Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 9V7a5 5 0 1 0-10 0v2H5.5A2.5 2.5 0 0 0 3 11.5v8A2.5 2.5 0 0 0 5.5 22h13a2.5 2.5 0 0 0 2.5-2.5v-8A2.5 2.5 0 0 0 18.5 9Zm-8 0V7a3 3 0 1 1 6 0v2Zm3 3a2 2 0 0 1 1 3.732V18a1 1 0 1 1-2 0v-2.268A2 2 0 0 1 12 12Z'/%3E%3C/svg%3E")}
.icon-gift::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 7h-2.18A3 3 0 0 0 12 5.3 3 3 0 0 0 6.18 7H4a2 2 0 0 0-2 2v2h1v9a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9h1V9a2 2 0 0 0-2-2Zm-5-2a1 1 0 1 1-.001 2.001A1 1 0 0 1 15 5Zm-6 0a1 1 0 1 1-.001 2.001A1 1 0 0 1 9 5Zm11 4v1H13V9Zm-9 0v11H5v-9h6Zm2 0h6v9h-6Zm-1 2H4V9h7Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 7h-2.18A3 3 0 0 0 12 5.3 3 3 0 0 0 6.18 7H4a2 2 0 0 0-2 2v2h1v9a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-9h1V9a2 2 0 0 0-2-2Zm-5-2a1 1 0 1 1-.001 2.001A1 1 0 0 1 15 5Zm-6 0a1 1 0 1 1-.001 2.001A1 1 0 0 1 9 5Zm11 4v1H13V9Zm-9 0v11H5v-9h6Zm2 0h6v9h-6Zm-1 2H4V9h7Z'/%3E%3C/svg%3E")}
.icon-shield::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5.25 3.438 9.594 8 11 4.562-1.406 8-5.75 8-11V5Zm0 2.117 6 2.25V11c0 4.22-2.635 7.868-6 9.158C8.635 18.868 6 15.22 6 11V6.367Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5.25 3.438 9.594 8 11 4.562-1.406 8-5.75 8-11V5Zm0 2.117 6 2.25V11c0 4.22-2.635 7.868-6 9.158C8.635 18.868 6 15.22 6 11V6.367Z'/%3E%3C/svg%3E")}
.icon-shield-check::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5.25 3.438 9.594 8 11 4.562-1.406 8-5.75 8-11V5Zm3.707 7.707-4.5 4.5a1 1 0 0 1-1.414 0l-2-2 1.414-1.414 1.293 1.293 3.793-3.793Z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5.25 3.438 9.594 8 11 4.562-1.406 8-5.75 8-11V5Zm3.707 7.707-4.5 4.5a1 1 0 0 1-1.414 0l-2-2 1.414-1.414 1.293 1.293 3.793-3.793Z'/%3E%3C/svg%3E")}
.pne-public-card>.panel,.pne-public-card>.hero,.pne-public-card>.card{max-width:none!important;margin:0!important;padding:34px 38px 38px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.pne-public-card>.panel.narrow{max-width:none!important}
.pne-public-card .pne-auth-heading{margin-bottom:26px}
.pne-public-card .pne-auth-kicker{display:block;margin-bottom:8px;color:#f5ad26;font-size:11px;font-weight:950;letter-spacing:1.8px}
.pne-public-card .pne-auth-heading h1,.pne-public-card>.panel h1{margin:0 0 10px!important;font-size:clamp(30px,5vw,42px)!important;line-height:1.05!important;letter-spacing:-1.2px;color:#f5f8fc}
.pne-public-card .pne-auth-heading p{margin:0;color:#8e9caf;font-size:14px;line-height:1.55}
.pne-public-card form{gap:18px}
.pne-public-card label{gap:8px;color:#93a3b7;font-size:12px;font-weight:800}
.pne-public-card label>span:first-child{display:flex;align-items:center;gap:6px}
.pne-public-card label em{font-style:normal;color:#6f7d90;font-size:11px;font-weight:700}
.pne-input-wrap{position:relative;display:flex;align-items:center;border:1px solid rgba(145,169,200,.18);border-radius:14px;background:rgba(5,12,21,.62);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;overflow:hidden}
.pne-input-wrap:focus-within{border-color:rgba(245,173,38,.72);box-shadow:0 0 0 3px rgba(245,173,38,.09),0 12px 32px rgba(0,0,0,.18);background:rgba(7,15,25,.85)}
.pne-public-card .pne-input-wrap input{height:52px;padding:0 14px 0 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#eef4fb!important;box-shadow:none!important;font-size:14px}
.pne-public-card input::placeholder{color:#5f6d80;opacity:1}
.pne-password-toggle{height:34px;margin-right:8px;padding:0 11px;border:0;border-left:1px solid rgba(145,169,200,.13);background:transparent;color:#8e9caf;font:700 12px/1 Inter,Segoe UI,Arial,sans-serif;cursor:pointer;white-space:nowrap}
.pne-password-toggle:hover{color:#ffc454}
.pne-field-hint{display:block;color:#657489;font-size:11px;font-weight:600;line-height:1.45}
.pne-auth-submit{width:100%;min-height:54px;margin-top:3px;border-radius:14px!important;display:flex!important;align-items:center;justify-content:center;gap:12px;background:linear-gradient(105deg,#ffb21f,#ff7a09)!important;color:#111820!important;box-shadow:0 12px 28px rgba(255,130,9,.17);font-size:14px;font-weight:950;letter-spacing:.1px;transition:transform .16s ease,filter .16s ease,box-shadow .16s ease}
.pne-auth-submit:hover{transform:translateY(-1px);filter:brightness(1.04);box-shadow:0 16px 34px rgba(255,130,9,.22)}
.pne-auth-submit b{font-size:18px}
.pne-forgot-link{display:block;width:max-content;margin:0 auto;color:#8393a9!important;font-size:12px;font-weight:750;text-decoration:none!important}
.pne-forgot-link:hover{color:#ffc454!important}
.pne-auth-trust{display:flex;gap:11px;align-items:center;margin-top:24px;padding:14px 15px;border:1px solid rgba(91,200,145,.15);border-radius:14px;background:rgba(34,150,96,.055)}
.pne-auth-trust>span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(57,217,138,.14);color:#77efb0;font-weight:900}
.pne-auth-trust strong,.pne-auth-trust small{display:block}.pne-auth-trust strong{font-size:12px;color:#cfe8db}.pne-auth-trust small{margin-top:2px;color:#6f8393;font-size:10.5px;line-height:1.4}
.account-kind-notice{margin:0 0 22px;padding:14px 16px;border:1px solid rgba(245,173,38,.18);border-radius:14px;background:rgba(245,173,38,.05)}
.account-kind-notice strong{display:block;color:#e9eef6;font-size:12px}.account-kind-notice p{margin:5px 0 0;color:#79899f;font-size:11.5px;line-height:1.5}
.pne-form-footnote{margin:0;text-align:center;color:#67768a;font-size:10.5px;line-height:1.55}
.pne-public-card .flash{margin:18px 38px 0;border-radius:13px;font-size:12px}
.pne-public-card .flash+.panel{padding-top:24px!important}
.pne-public-card .flash.success{background:rgba(57,217,138,.09);border-color:rgba(57,217,138,.23)}
.pne-public-card .flash.error{background:rgba(255,92,92,.09);border-color:rgba(255,92,92,.25)}
.pne-security-check{margin:2px 0 0!important;padding:16px!important;border:1px solid rgba(145,169,200,.16)!important;border-radius:16px!important;background:rgba(5,12,21,.43)!important;gap:13px!important}
.pne-security-check legend{padding:0 8px;color:#8999ae!important;font-size:11px;font-weight:850!important;letter-spacing:.7px!important}
.pne-security-check-head{display:flex;align-items:center;gap:10px}
.pne-security-check-head strong,.pne-security-check-head small{display:block}.pne-security-check-head strong{color:#dbe5f0;font-size:12px}.pne-security-check-head small{margin-top:2px;color:#718196;font-size:10.5px}
.pne-security-icon{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:rgba(245,173,38,.10);border:1px solid rgba(245,173,38,.18);color:#ffc453;font-weight:900}
.pne-security-check img{width:100%!important;height:auto!important;border-radius:12px!important;border:1px solid rgba(145,169,200,.10)!important}
.pne-captcha-answer{margin-top:2px}.pne-captcha-answer input{max-width:120px}
.pne-turnstile-wrap{min-height:66px;display:flex;align-items:center;justify-content:flex-start;overflow:hidden;border-radius:10px}
.ref-invite-hint{padding:11px 13px;border-radius:12px;background:rgba(76,201,240,.06);border:1px solid rgba(76,201,240,.14);color:#9cb0c6;font-size:11px}.ref-invite-hint strong{color:#e7eef7}
.pne-2fa-input{font-size:22px!important;letter-spacing:7px!important;font-weight:900!important;font-variant-numeric:tabular-nums}
.pne-public-footer{border:0!important;margin-top:18px;padding:14px 0 0!important;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;color:#58677b!important;font-size:10.5px;text-align:center}
.pne-public-footer strong{color:#8fa1b7;font-weight:850}.pne-public-footer-sep{color:#364456}.pne-live-dot{display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:#39d98a;box-shadow:0 0 0 3px rgba(57,217,138,.08)}

/* Existing guest recovery / verification screens inherit the same shell. */
.pne-public-card>.panel:not(.pne-auth-content) h1{font-size:32px!important}.pne-public-card>.panel:not(.pne-auth-content) p{color:#8e9caf}.pne-public-card>.panel:not(.pne-auth-content) .button{width:100%}.pne-public-card>.panel:not(.pne-auth-content) a:not(.button){font-size:12px}

@media(max-width:700px){
  .pne-public-wrap{padding:12px 12px 22px}.pne-public-topline{height:32px}.pne-public-brand{width:250px;margin-top:0}.pne-public-brand span{font-size:8.5px;letter-spacing:1.5px;margin-top:-8px}.pne-public-card{border-radius:20px}.pne-public-card>.panel,.pne-public-card>.hero,.pne-public-card>.card{padding:26px 20px 28px!important}.pne-public-card .flash{margin:14px 20px 0}.pne-auth-switch{padding:8px}.pne-auth-switch a{min-height:48px;padding:0 8px;font-size:12px}.pne-public-footer{padding-inline:12px!important}.pne-public-footer-sep{display:none}.pne-public-footer span:first-child{width:100%}.pne-password-toggle{padding:0 8px;font-size:10.5px}.pne-input-icon{width:42px;min-width:42px}.pne-turnstile-wrap{justify-content:center;overflow-x:auto}
}
@media(max-width:390px){.pne-public-card>.panel,.pne-public-card>.hero,.pne-public-card>.card{padding-inline:16px!important}.pne-public-card .flash{margin-inline:16px}.pne-auth-switch a{font-size:11px}.pne-public-brand{width:220px}.pne-public-card .pne-auth-heading h1{font-size:30px!important}}
