/* PUBLICBOOST ACCESS v4 — independent visual language, not a NOKOR copy.
   A distinct aurora / control-desk identity, with phone or email account entry. */
.auth-gate:not([hidden]){
  display:flex;align-items:center;justify-content:center;
  padding:clamp(12px,3vw,28px);
  background:
   radial-gradient(ellipse at 10% 15%,rgba(107,70,224,.16),transparent 35%),
   radial-gradient(ellipse at 87% 90%,rgba(33,135,223,.13),transparent 34%),
   #0e1018;
  overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;
}
.auth-gate:not([hidden])>.auth-panel.pb-auth-v4{
  position:relative;flex:none;width:min(940px,100%);max-width:940px;
  background:#191b27;border:1px solid #39344f;border-radius:23px;
  padding:0;max-height:calc(100dvh - 34px);overflow-y:auto;overflow-x:hidden;
  box-shadow:0 24px 85px #0006,0 0 50px #664de712;
  scrollbar-width:thin;
}
.auth-gate:not([hidden])>.auth-panel.pb-auth-v4::before{
  content:"";position:absolute;z-index:1;top:0;left:0;width:100%;height:3px;
  border-radius:0;transform:none;
  background:linear-gradient(90deg,#337bff 4%,#7554f1 54%,#db52da 95%);
}
.pb-auth-v4 .auth-brandmark{
  margin:0;justify-content:flex-start;align-items:center;gap:9px;
}
.pb-auth-v4 .auth-brandmark>img{width:49px;height:49px}
.pb-auth-v4 .auth-brandmark b{font-size:23px;letter-spacing:-.9px}
.pb-auth-v4 .auth-brandmark small{font-size:7px;letter-spacing:2px}
.pb-auth-v4 .auth-copy{display:none}
.pb-auth-v4 .pb-v4-header{
  position:relative;z-index:0;min-height:180px;
  display:flex;flex-direction:column;justify-content:center;gap:19px;
}
.pb-v4-kicker{
  display:flex;align-items:center;gap:9px;
  font:750 9.5px/1.2 Inter,sans-serif;letter-spacing:2px;
  color:#a89cf7;text-transform:uppercase;
}
.pb-v4-led{width:7px;height:7px;border-radius:50%;background:#a66cff;box-shadow:0 0 0 5px #9b71e120;flex:none}
.pb-v4-kicker-line{height:1px;max-width:40px;flex:1;background:#7665b080}
.pb-v4-heading{position:relative;z-index:0}
.pb-v4-heading h1{
  position:relative;z-index:1;font-size:clamp(23px,2.4vw,30px);
  font-weight:820;letter-spacing:-.65px;line-height:1.48;color:#f4f4fe;margin:0;
}
.pb-v4-heading p{
  margin:7px 0 0;max-width:315px;line-height:1.8;font-size:12px;
  color:#a7a5ba;position:relative;z-index:1;
}
.pb-v4-orbit{position:absolute;z-index:0;bottom:-84px;left:18px;width:246px;height:246px;pointer-events:none;opacity:.72}
.pb-v4-orbit i{position:absolute;inset:0;border:1px solid #8e74e93b;border-radius:50%;transform:rotate(-27deg) scaleX(.78)}
.pb-v4-orbit i:nth-child(2){inset:29px;border-color:#6a92ed39;transform:rotate(30deg) scaleX(.82)}
.pb-v4-orbit i:nth-child(3){inset:66px;border-color:#be62e74a;transform:none;box-shadow:0 0 70px #724cec20}
.pb-v4-mode-nav{
  display:flex;gap:20px;align-items:stretch;justify-content:flex-start;
  border-bottom:1px solid #37364a;min-height:42px;
}
.pb-v4-mode-nav button{
  position:relative;background:transparent;border:0;min-height:42px;
  font-size:13.5px;font-weight:800;color:#9c9bb4;padding:4px 1px 12px;
  white-space:nowrap;cursor:pointer;
}
.pb-v4-mode-nav button.active{color:#fff}
.pb-v4-mode-nav button.active::after{
  content:"";position:absolute;bottom:-1px;left:0;right:0;height:3px;
  border-radius:99px;background:linear-gradient(90deg,#557bff,#bd56df);
}
.pb-v4-mode-nav button:focus-visible,
.pb-v4-method-grid button:focus-visible,
.pb-v4-primary:focus-visible{outline:2px solid #bca9ff;outline-offset:2px}
.pb-v4-methods{margin-top:16px}
.pb-v4-method-title{font-size:10.5px;font-weight:700;color:#a9a8be;margin-bottom:9px}
.pb-v4-method-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}
.pb-v4-method-grid button{
  min-height:72px;min-width:0;border:1px solid #37374b;
  border-radius:13px;background:#141822;color:#d7d6e5;
  display:flex;align-items:center;gap:9px;padding:11px;
  text-align:left;cursor:pointer;position:relative;transition:.16s ease;
}
.pb-v4-method-grid button>svg{flex:none;width:21px;height:21px;color:#9898bc}
.pb-v4-method-grid button>span:nth-child(2){min-width:0;display:grid;gap:3px}
.pb-v4-method-grid button b{display:block;font-size:12px;font-weight:800;white-space:nowrap}
.pb-v4-method-grid button small{display:block;font-size:9.5px;color:#8d91a6;line-height:1.45}
.pb-v4-method-grid button .pb-v4-choice-dot{
  width:8px;height:8px;flex:none;margin-left:auto;border:1.5px solid #85849f;border-radius:50%;
}
.pb-v4-method-grid button[aria-pressed=true]{
  border-color:#8e76ec;background:linear-gradient(125deg,#393051,#232444);
  box-shadow:inset 0 0 0 1px #7461e62a,0 5px 16px #0002;
}
.pb-v4-method-grid button[aria-pressed=true]>svg{color:#bc9aff}
.pb-v4-method-grid button[aria-pressed=true] .pb-v4-choice-dot{background:#9870ef;border-color:#b299ff;box-shadow:0 0 0 3px #9971ec27}
.pb-auth-v4 .auth-form{display:grid;gap:13px;margin-top:18px}
.pb-auth-v4 .auth-form label{display:grid;gap:6px;min-width:0}
.pb-auth-v4 .auth-form label>span:first-child{font-size:11px;color:#c6c4da;font-weight:740}
.pb-v4-field{position:relative;display:flex;align-items:center;min-width:0}
.pb-v4-field>input{
  width:100%;height:46px;border-radius:11px;
  border:1px solid #3a3a50;background:#11141f;color:#f4f4fd;
  padding:0 12px 0 44px;font-size:13px;
}
.pb-v4-input-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);height:19px;width:19px;display:grid;place-items:center;z-index:1;color:#8a8dab;pointer-events:none}
.pb-v4-input-icon svg{width:19px;height:19px}
.pb-v4-field:focus-within .pb-v4-input-icon{color:#aa8ef7}
.pb-v4-field>input:focus{border-color:#9381f1;outline:none;box-shadow:0 0 0 3px #7764de27}
.pb-auth-v4 .auth-password-field{border-radius:11px;background:#11141f;border-color:#3a3a50;min-height:46px;height:46px}
.pb-auth-v4 .auth-password-field input{height:44px!important;font-size:13px}
.pb-auth-v4 .auth-password-toggle{width:39px;height:39px}
.pb-auth-v4 .auth-password-field:focus-within{border-color:#9381f1;box-shadow:0 0 0 3px #7764de27}
.pb-auth-v4 .auth-form input::placeholder{color:#7c7d93;opacity:1}
.pb-auth-v4 .auth-submit{
  display:flex;justify-content:center;align-items:center;gap:12px;
  width:100%;height:47px;min-height:47px;border-radius:11px;
  font-size:13px;font-weight:820;box-shadow:0 10px 28px #6746d22f;
  background:linear-gradient(106deg,#7155f0 0%,#8954df 55%,#ae57e8 100%);
  margin:4px 0 0;color:#fff;
}
.pb-auth-v4 .auth-submit svg{width:18px;height:18px}
.pb-auth-v4 .auth-google-section{margin-top:15px}
.pb-auth-v4.pb-auth-phone .auth-google-section{display:none!important}
.pb-auth-v4 .auth-google-button{min-height:44px}
.pb-auth-v4>.auth-switch{display:none!important}
.auth-gate .pb-auth-v4 .auth-form>.auth-forgot,
.auth-gate .pb-auth-v4 .auth-form>.auth-forgot:hover{
  min-height:24px;max-width:max-content;margin:0 0 -4px auto;padding:0;
  background:transparent;border:0;border-radius:0;box-shadow:none;
  color:#b394ff;font-size:11.5px;font-weight:800;text-decoration:none;
}
.pb-auth-v4 .auth-error{font-size:11px;line-height:1.6;margin:2px 0;color:#faadba}
.pb-auth-v4:not(.pb-v4-phone-wait){display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1fr);column-gap:0;align-items:start;}
.pb-auth-v4:not(.pb-v4-phone-wait)::after{
  position:absolute;top:0;left:0;bottom:0;width:43%;z-index:0;content:"";
  background:radial-gradient(ellipse at 23% 20%,#6455cb3c,transparent 65%),
    linear-gradient(150deg,#282441,#191d30 69%,#20223b);
  border-right:1px solid #3b3554;pointer-events:none;
}
.pb-auth-v4:not(.pb-v4-phone-wait)>.auth-brandmark{
  grid-column:1;grid-row:1;
  margin:28px 26px 0;position:relative;z-index:1;
}
.pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-header{
  grid-column:1;grid-row:2 / span 4;
  padding:42px 27px 60px;z-index:1;align-self:stretch;justify-content:flex-start;
  min-height:455px;
}
.pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-mode-nav{
  grid-column:2;grid-row:1;margin:28px 28px 0;
}
.pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-methods{
  grid-column:2;grid-row:2;margin:20px 28px 0;
}
.pb-auth-v4:not(.pb-v4-phone-wait)>.auth-form{
  grid-column:2;grid-row:3;margin:18px 28px 0;
}
.pb-auth-v4:not(.pb-v4-phone-wait)>.auth-google-section{
  grid-column:2;grid-row:4;margin:14px 28px 24px;
}
.pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-header h1{font-size:30px}
.pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-header p{font-size:13px}
.pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-header .pb-v4-orbit{bottom:-115px;left:20px}
.pb-auth-v4 .auth-google-button > div{max-width:100%}
.pb-v4-phone-wait{width:min(450px,100%)!important;max-width:450px!important;padding:22px!important}
.pb-v4-phone-wait .pb-v4-header{min-height:105px;gap:8px}
.pb-v4-phone-wait .pb-v4-heading h1{font-size:23px}
.pb-v4-phone-wait .pb-v4-orbit{display:none}
.pb-v4-wait-steps{display:grid;gap:9px;padding:15px 0;margin:3px 0}
.pb-v4-wait-steps>div{display:flex;align-items:center;gap:12px;color:#d4d0e8;font-size:12px}
.pb-v4-wait-steps b{flex:none;display:grid;place-items:center;width:29px;height:29px;background:#312a4e;border:1px solid #584b81;border-radius:10px;color:#a99aff;font-size:11px}
.pb-v4-tg-link,.pb-v4-primary{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:45px;border-radius:11px;font-size:13px;font-weight:820;text-decoration:none}
.pb-v4-tg-link{background:#0f7cb3;color:#fff}
.pb-v4-primary{border:1px solid #8676d8;color:#c5b2ff;background:#332b4c;margin-top:9px}
.pb-v4-tg-link svg,.pb-v4-primary svg{width:18px;height:18px}
.pb-phone-verification-status{margin:11px 0;font-size:11px;color:#aaa7c5;text-align:center;line-height:1.7}
.pb-phone-verification-status.error{color:#ffc4c4}
.pb-v4-back{display:block;margin:0 auto;padding:9px 12px;background:transparent;color:#b9adff;font-size:11px}

/* Compact mobile identity: an original stacked interface rather than a login card copied from NOKOR. */
@media (max-width:760px){
 .auth-gate:not([hidden]){padding:10px max(12px,env(safe-area-inset-right,0px)) 10px max(12px,env(safe-area-inset-left,0px))}
 .auth-gate:not([hidden])>.auth-panel.pb-auth-v4{
  width:100%;max-width:460px;max-height:calc(100dvh - 20px);
  border-radius:18px;
 }
 .pb-auth-v4:not(.pb-v4-phone-wait){display:block}
 .pb-auth-v4:not(.pb-v4-phone-wait)::after{
  width:100%;height:166px;bottom:auto;border-right:0;border-bottom:1px solid #353355;
  background:radial-gradient(ellipse at 0% 10%,#6849b64d,transparent 67%),linear-gradient(140deg,#25223d,#1a1c2a);
 }
 .pb-auth-v4:not(.pb-v4-phone-wait)>.auth-brandmark{margin:20px 20px 0}
 .pb-auth-v4 .auth-brandmark>img{width:41px;height:41px}
 .pb-auth-v4 .auth-brandmark b{font-size:21px}
 .pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-header{
  min-height:118px;padding:16px 20px 14px;gap:11px;
 }
 .pb-v4-heading h1{font-size:22px}
 .pb-v4-heading p{font-size:10.5px;margin-top:4px}
 .pb-v4-kicker{font-size:8.5px;letter-spacing:1.5px}
 .pb-v4-orbit{left:auto;right:-25px;bottom:-40px;width:155px;height:155px}
 .pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-mode-nav{margin:4px 20px 0}
 .pb-v4-mode-nav button{font-size:12.5px;min-height:37px;padding-bottom:10px}
 .pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-methods{margin:14px 20px 0}
 .pb-v4-method-grid{gap:8px}
 .pb-v4-method-grid button{padding:9px 8px;min-height:64px;gap:7px}
 .pb-v4-method-grid button>svg{height:18px;width:18px}
 .pb-v4-method-grid button b{font-size:11px}
 .pb-v4-method-grid button small{font-size:8.5px}
 .pb-v4-choice-dot{width:7px!important;height:7px!important}
 .pb-auth-v4:not(.pb-v4-phone-wait)>.auth-form{margin:15px 20px 0;gap:10px}
 .pb-v4-field>input,.pb-auth-v4 .auth-password-field{height:44px;min-height:44px}
 .pb-auth-v4 .auth-password-field input{height:42px!important}
 .pb-auth-v4 .auth-submit{height:45px;min-height:45px}
 .pb-auth-v4:not(.pb-v4-phone-wait)>.auth-google-section{margin:12px 20px 20px}
 .pb-auth-v4.pb-auth-phone{padding-bottom:22px}
 .pb-v4-phone-wait{padding:19px!important}
}
@media (max-width:370px){
 .pb-v4-method-grid button small{display:none}
 .pb-v4-method-grid button{min-height:49px}
 .pb-auth-v4:not(.pb-v4-phone-wait)>.auth-form{gap:8px}
}
@media (max-height:730px){
 .auth-gate:not([hidden])>.auth-panel.pb-auth-v4{max-height:calc(100dvh - 12px)}
 .pb-auth-v4:not(.pb-v4-phone-wait)>.auth-brandmark{margin-top:14px}
 .pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-header{padding-top:9px;padding-bottom:9px;min-height:106px}
 .pb-v4-method-grid button{min-height:56px}
 .pb-auth-v4:not(.pb-v4-phone-wait)>.auth-form{margin-top:10px;gap:8px}
 .pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-methods{margin-top:9px}
}
@media(prefers-reduced-motion:reduce){.pb-v4-method-grid button{transition:none}}

/* Post-QA refinement: keep the editorial desktop split compact rather than
   letting CSS Grid distribute the left panel's minimum height into the form. */
@media(min-width:761px){
 .auth-gate:not([hidden])>.auth-panel.pb-auth-v4:not(.pb-v4-phone-wait){
  display:block;position:relative;
  min-height:565px;
  padding:27px 0 28px 43%;
  max-height:calc(100dvh - 36px);
 }
 .pb-auth-v4:not(.pb-v4-phone-wait)>.auth-brandmark{
  position:absolute;left:31px;top:28px;z-index:2;
  width:calc(43% - 61px);margin:0;padding:0;
 }
 .pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-header{
  position:absolute;left:31px;top:122px;z-index:2;
  width:calc(43% - 61px);height:360px;min-height:0;
  margin:0;padding:0;display:block;
 }
 .pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-header .pb-v4-heading{margin-top:26px}
 .pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-header .pb-v4-orbit{
  width:205px;height:205px;left:18px;bottom:-80px;opacity:.55;
 }
 .pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-mode-nav{
  position:relative;margin:0 28px;
 }
 .pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-methods{
  position:relative;margin:19px 28px 0;
 }
 .pb-auth-v4:not(.pb-v4-phone-wait)>.auth-form{
  position:relative;margin:17px 28px 0;
 }
 .pb-auth-v4:not(.pb-v4-phone-wait)>.auth-google-section{
  position:relative;margin:12px 28px 0;
 }
 .pb-auth-v4:not(.pb-v4-phone-wait):has(.auth-google-section:not([hidden])){
  padding-bottom:26px;
 }
}
@media(max-width:760px){
 .pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-header{
  height:auto;min-height:115px;
  overflow:hidden;
 }
 .pb-auth-v4:not(.pb-v4-phone-wait)>.pb-v4-header .pb-v4-heading h1{
  font-size:clamp(20px,5vw,24px);line-height:1.45;
  letter-spacing:-.35px;
 }
 .pb-auth-v4:not(.pb-v4-phone-wait) .pb-v4-orbit{
  width:108px;height:108px;
  right:-22px;top:-3px;bottom:auto;left:auto;
  opacity:.28;
 }
 .pb-auth-v4:not(.pb-v4-phone-wait) .pb-v4-orbit i:nth-child(3){inset:30px}
}

/* v20261017.57 — one login identity, phone/email only as a signup choice. */
.pb-auth-v4.pb-auth-login .pb-v4-mode-nav {margin-bottom:7px}
.pb-auth-v4.pb-auth-login .auth-form {gap:13px}
.pb-auth-v4.pb-auth-login .auth-form label:first-child > span:first-child {
 font-size:11.5px;
}
.pb-auth-v4.pb-auth-login .auth-form .pb-v4-field input {
 height:49px;font-size:13.5px;
}
.pb-auth-v4 .auth-password-field {position:relative}
.pb-v4-pass-symbol {
 position:absolute;z-index:1;left:14px;top:50%;transform:translateY(-50%);
 display:grid;place-items:center;width:18px;height:18px;color:#9292b4;pointer-events:none;
}
.pb-v4-pass-symbol svg {width:18px;height:18px}
.pb-auth-v4 .auth-password-field input {padding-left:43px!important}
.pb-auth-v4 .auth-password-field:focus-within .pb-v4-pass-symbol {color:#b59aff}
.pb-v4-login-options {
 display:flex;align-items:center;justify-content:space-between;gap:12px;
 flex-wrap:wrap;margin:1px 0 0;
}
.pb-auth-v4 .pb-v4-login-options .pb-v4-remember {
 display:flex!important;align-items:center;justify-content:flex-start;
 gap:9px!important;min-width:0;cursor:pointer;margin:0;
 padding:3px 0;color:#b2b0c6;font-size:11.5px;font-weight:640;
}
.pb-auth-v4 .pb-v4-login-options .pb-v4-remember>input[type=checkbox] {
 display:block!important;appearance:auto;-webkit-appearance:checkbox;
 accent-color:#9870f2;cursor:pointer;
 width:16px!important;height:16px!important;min-height:16px!important;
 padding:0!important;margin:0;border-radius:4px;box-shadow:none;
 flex:none;
}
.pb-auth-v4 .pb-v4-login-options .pb-v4-remember>span {
 white-space:nowrap;line-height:1.35;color:#b2b0c6;font-size:11.5px;font-weight:650;
}
.auth-gate .pb-auth-v4 .pb-v4-login-options>.auth-forgot,
.auth-gate .pb-auth-v4 .pb-v4-login-options>.auth-forgot:hover {
 display:inline-flex!important;align-items:center;justify-content:flex-end;
 flex:none;width:auto;height:auto;min-height:21px;max-width:none;
 padding:1px 0;margin:0;border:0;box-shadow:none;background:transparent;
 color:#bda5ff;font-size:11.5px;font-weight:790;text-align:right;
 border-radius:0;
}
.auth-gate .pb-auth-v4 .pb-v4-login-options>.auth-forgot:focus-visible {
 outline:2px solid #bda5ff;outline-offset:3px;
}
.pb-auth-v4.pb-auth-login .auth-submit {margin-top:4px}
@media(min-width:761px) {
 .auth-gate:not([hidden])>.auth-panel.pb-auth-v4.pb-auth-login {min-height:508px}
 .pb-auth-v4.pb-auth-login>.pb-v4-header {height:315px}
 .pb-auth-v4.pb-auth-login>.auth-form {margin-top:22px}
 .pb-auth-v4.pb-auth-login>.auth-google-section {margin-top:19px}
}
@media(max-width:760px) {
 .pb-auth-v4.pb-auth-login .pb-v4-mode-nav {margin-bottom:0}
 .pb-auth-v4.pb-auth-login .auth-form {gap:11px}
 .pb-v4-login-options {gap:8px}
 .auth-gate .pb-auth-v4 .pb-v4-login-options>.auth-forgot {font-size:11px}
 .pb-auth-v4 .pb-v4-login-options .pb-v4-remember>span {font-size:11px}
 .pb-auth-v4.pb-auth-login .auth-form .pb-v4-field input {height:46px}
}
