/* R349 – native Blizzard-inspired account modal, independent NexVerse artwork. */
.nv-auth-links button[data-register-open],
.nv-auth-footer button[data-register-close] {
  background:transparent;border:0;padding:0;color:#74d5ff;font:inherit;
  text-decoration:underline;text-underline-offset:3px;cursor:pointer;
}
.nv-auth-links button[data-register-open]:focus-visible,
.nv-auth-footer button[data-register-close]:focus-visible {outline:2px solid #8bdfff;outline-offset:5px}
.nv-register-dialog {
  position:fixed;inset:0;margin:auto;padding:0;
  width:min(1060px,calc(100% - 36px));
  max-width:1060px;max-height:min(92dvh,1120px);
  overflow-y:auto;overflow-x:hidden;
  border:1px solid rgba(85,162,223,.7);border-radius:18px;
  color:#f5faff;
  background:#070f21;
  box-shadow:0 35px 130px #000e,0 0 55px rgba(22,120,235,.35);
  scrollbar-color:#376da4 #0c1729;
}
.nv-register-dialog:not([open]){display:none}
.nv-register-dialog::backdrop{
  background:radial-gradient(ellipse at center,rgba(2,14,32,.87),rgba(0,4,14,.97));
  backdrop-filter:blur(8px);
}
.nv-register-modal-frame{display:grid;grid-template-columns:minmax(230px,37%) minmax(0,1fr);min-height:100%}
.nv-register-modal-illustration{
  position:sticky;top:0;align-self:start;min-height:560px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;
  padding:35px 28px;
  text-align:center;
  background:
    linear-gradient(180deg,rgba(2,11,33,.32),rgba(3,12,31,.95)),
    url('/assets/nexverse-home-bg.webp?v=ref-r23') center/cover no-repeat,#071b3b;
  border-right:1px solid rgba(90,164,241,.28);
}
.nv-register-modal-illustration:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse at 45% 43%,rgba(28,151,238,.32),transparent 65%);
}
.nv-register-modal-illustration>*{position:relative;z-index:1}
.nv-register-modal-world{font-size:10px;font-weight:800;letter-spacing:.19em;color:#82d6ff}
.nv-register-modal-illustration img{display:block;width:min(100%,290px);height:auto;max-height:135px;object-fit:contain;filter:drop-shadow(0 0 25px rgba(65,187,255,.6))}
.nv-register-modal-illustration strong{font-size:clamp(20px,2vw,30px);line-height:1.14;font-weight:800;letter-spacing:-.02em}
.nv-register-modal-illustration>span:last-child{font-size:13px;color:#b5d9f6}
#nvRegistrationDialog .nv-auth-card {
  border:0;box-shadow:none;border-radius:0;margin:0;
  max-width:none;width:100%;background:linear-gradient(155deg,#101b32,#071122);
  padding:clamp(18px,2.3vw,34px);
}
.nv-register-modal-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 21px;
 color:#7da8dc;font-size:10px;font-weight:850;letter-spacing:.17em}
.nv-register-modal-top i{color:#61c6ff}
.nv-register-modal-close{
  border:1px solid rgba(120,166,224,.35);border-radius:9px;
  color:#d5e9ff;background:rgba(26,48,78,.6);
  width:40px;height:40px;display:grid;place-items:center;cursor:pointer;
}
.nv-register-modal-close:hover,.nv-register-modal-close:focus-visible{
  color:white;border-color:#80cdff;background:#225078;
}
#nvRegistrationDialog .nv-registration-heading h3{font-size:clamp(24px,2.5vw,31px)}
#nvRegistrationDialog .nv-starter-options{gap:13px}
#nvRegistrationDialog .nv-starter-art{aspect-ratio:4/5}
#nvRegistrationDialog .nv-starter-art img{width:100%;height:100%;object-fit:cover}
#nvRegistrationDialog .nv-starter-card-content{padding:12px 14px}
#nvRegistrationDialog .nv-starter-card-content strong{font-size:17px}
#nvRegistrationDialog .nv-auth-footer{padding:12px 0 0}
#nvRegistrationDialog .nv-login-button{
  background:linear-gradient(135deg,#147ce2,#0a53b8);
  border:1px solid rgba(100,195,255,.8);box-shadow:0 10px 26px rgba(4,89,191,.24);
  color:#fff;
}
#nvRegistrationDialog .nv-login-button:focus-visible{outline:3px solid #d0f6ff;outline-offset:2px}
@media(max-width:760px){
 .nv-register-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:14px}
 .nv-register-modal-frame{display:block}
 .nv-register-modal-illustration{
   position:relative;min-height:115px;padding:13px 14px 11px;gap:5px;border:0;border-bottom:1px solid #33648a;
   background:linear-gradient(125deg,rgba(2,17,35,.5),rgba(5,23,55,.94)),url('/assets/nexverse-home-bg.webp?v=ref-r23') center 39%/cover no-repeat;
 }
 .nv-register-modal-illustration img{width:135px;max-height:50px}
 .nv-register-modal-illustration strong{font-size:17px}
 .nv-register-modal-illustration>span:last-child{display:none}
 #nvRegistrationDialog .nv-auth-card{padding:18px 16px 23px}
 #nvRegistrationDialog .nv-starter-options{gap:10px}
 #nvRegistrationDialog .nv-starter-card-content{padding:9px}
 #nvRegistrationDialog .nv-starter-card-content strong{font-size:15px}
}
@media(prefers-reduced-motion:reduce){
 .nv-register-dialog,.nv-register-dialog *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

/* R351: progress wizard, fixed compact login link and visual step hierarchy */
body[data-active="start"] .nv-auth-links button[data-register-open] {
  display:inline-block!important;
  width:auto!important;height:auto!important;min-width:0!important;
  margin:0!important;padding:0!important;border:0!important;
  border-radius:0!important;box-shadow:none!important;
  background:transparent!important;
  font-family:inherit!important;font-size:13px!important;font-weight:500!important;
  line-height:1.4!important;letter-spacing:normal!important;
  color:#34d8ff!important;text-decoration:underline!important;
  text-underline-offset:3px;white-space:nowrap;
  justify-self:end!important;text-align:right!important;
  cursor:pointer;
}
body[data-active="start"] .nv-auth-links button[data-register-open]:hover {color:#aff5ff!important}
body[data-active="start"] .nv-auth-links button[data-register-open]:focus-visible {
  outline:2px solid #87e5ff!important;outline-offset:4px;
}
#nvRegistrationDialog .nv-register-progress[hidden],
#nvRegistrationDialog [hidden] {display:none!important}
#nvRegistrationDialog .nv-reg-wizard-overline {font-size:10px;font-weight:800;color:#5ad4fd;letter-spacing:.17em}
#nvRegistrationDialog .nv-registration-heading p {margin:6px 0 12px}
#nvRegistrationDialog .nv-register-progress {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  margin:0 0 26px;padding:0;list-style:none;gap:8px;
  border-bottom:1px solid rgba(87,156,204,.27);
}
#nvRegistrationDialog .nv-register-progress li {
  display:flex;align-items:center;gap:8px;position:relative;
  min-height:54px;padding:8px 0 13px;
  color:#91a7bf;font-size:11px;font-weight:650;
  white-space:nowrap;
}
#nvRegistrationDialog .nv-register-progress li:after {
  position:absolute;bottom:-1px;left:0;right:0;content:"";height:3px;
  background:transparent;border-radius:4px 4px 0 0;
}
#nvRegistrationDialog .nv-register-progress li.nv-register-current {color:#fff}
#nvRegistrationDialog .nv-register-progress li.nv-register-current:after {
  background:linear-gradient(90deg,#1e99ef,#56d8ff);
  box-shadow:0 0 14px rgba(60,194,255,.4);
}
#nvRegistrationDialog .nv-register-progress li.nv-register-finished {color:#8de4ce}
#nvRegistrationDialog .nv-register-progress li.nv-register-finished:after {background:#2d9b85}
#nvRegistrationDialog .nv-register-progress-number {
  display:grid;place-items:center;flex:none;width:28px;height:28px;
  border-radius:50%;border:1px solid #56738e;background:#0d253c;color:inherit;
  font-size:11px;font-variant-numeric:tabular-nums;
}
#nvRegistrationDialog .nv-register-current .nv-register-progress-number {
  background:#126fbb;border-color:#63d3ff;color:white;
}
#nvRegistrationDialog .nv-register-step-heading {margin:0 0 22px}
#nvRegistrationDialog .nv-register-step-heading>span {font-size:10px;color:#76d0ff;font-weight:800;letter-spacing:.14em}
#nvRegistrationDialog .nv-register-step-heading h4 {
  font-size:clamp(19px,2vw,25px);font-weight:750;line-height:1.25;
  margin:7px 0 7px;color:#fff;
}
#nvRegistrationDialog .nv-register-step-heading p {font-size:13px;line-height:1.5;color:#a8c1d9;margin:0}
#nvRegistrationDialog .nv-register-wizard-actions {
  display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:10px;
}
#nvRegistrationDialog .nv-register-wizard-actions .nv-register-next {
  width:100%;height:48px;
}
#nvRegistrationDialog .nv-register-back {
  flex:0 0 auto;border:1px solid #416788;border-radius:6px;
  background:#112f4a;color:#d6e9fa;
  padding:0 22px;height:48px;font-size:14px;font-weight:600;cursor:pointer;
}
#nvRegistrationDialog .nv-register-back:hover {border-color:#71d3ff;background:#1b4969}
#nvRegistrationDialog .nv-register-back:focus-visible {outline:2px solid #8ae2ff;outline-offset:3px}
#nvRegistrationDialog .nv-register-summary {
  border:1px solid #365979;border-radius:12px;
  background:rgba(8,32,57,.74);overflow:hidden;margin:0 0 21px;
}
#nvRegistrationDialog .nv-register-summary div {
  display:flex;gap:15px;justify-content:space-between;align-items:center;
  padding:12px 15px;border-bottom:1px solid rgba(89,156,198,.21);
}
#nvRegistrationDialog .nv-register-summary div:last-child {border-bottom:0}
#nvRegistrationDialog .nv-register-summary span {font-size:12px;color:#97b8cc}
#nvRegistrationDialog .nv-register-summary strong {
  font-size:13px;color:#dff6ff;max-width:68%;
  overflow-wrap:anywhere;text-align:right;
}
#nvRegistrationDialog .nv-register-wizard-panel .nv-starter-art {aspect-ratio:4/5}
#nvRegistrationDialog .nv-register-wizard-panel .nv-starter-card {max-width:none}
@media(max-width:760px) {
 #nvRegistrationDialog .nv-register-progress {gap:4px;margin-bottom:17px}
 #nvRegistrationDialog .nv-register-progress li {flex-direction:column;gap:5px;font-size:10px;padding:7px 0 11px;text-align:center}
 #nvRegistrationDialog .nv-register-progress-number {width:24px;height:24px}
 #nvRegistrationDialog .nv-register-step-heading {margin-bottom:15px}
 #nvRegistrationDialog .nv-register-back {padding:0 14px}
}

/* R352: uniform account wizard, verification and terminal state buttons. */
#nvRegistrationDialog .nv-register-action,
#nvRegistrationDialog .nv-register-wizard-actions .nv-register-next,
#nvRegistrationDialog #registerSubmit,
#nvRegistrationDialog #registerCompleteSubmit,
#nvRegistrationDialog .nv-register-wizard-actions .nv-register-back {
  box-sizing:border-box!important;
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  width:100%;min-height:46px;height:auto;
  margin:0;padding:12px 17px;
  border-radius:8px;
  font-family:inherit;font-size:14px;font-weight:700;line-height:1.35;
  letter-spacing:normal;text-align:center;text-decoration:none;
  white-space:normal;cursor:pointer;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;
}
#nvRegistrationDialog .nv-register-action-primary,
#nvRegistrationDialog .nv-register-wizard-actions .nv-register-next,
#nvRegistrationDialog #registerSubmit,
#nvRegistrationDialog #registerCompleteSubmit {
  color:#fff!important;
  background:linear-gradient(180deg,#167cce,#0e5aab)!important;
  border:1px solid #5dbbff!important;
  box-shadow:0 8px 25px rgba(5,90,180,.25)!important;
}
#nvRegistrationDialog .nv-register-action-primary:hover,
#nvRegistrationDialog .nv-register-wizard-actions .nv-register-next:hover,
#nvRegistrationDialog #registerSubmit:hover,
#nvRegistrationDialog #registerCompleteSubmit:hover {
  background:linear-gradient(180deg,#2593df,#1564b8)!important;
}
#nvRegistrationDialog .nv-register-action-secondary,
#nvRegistrationDialog .nv-register-wizard-actions .nv-register-back {
  color:#cce9ff!important;
  background:#102b47!important;
  border:1px solid #466f99!important;
  box-shadow:none!important;
}
#nvRegistrationDialog .nv-register-action-secondary:hover,
#nvRegistrationDialog .nv-register-wizard-actions .nv-register-back:hover {
  background:#193d61!important;border-color:#71bcef!important;
}
#nvRegistrationDialog .nv-register-action:focus-visible,
#nvRegistrationDialog #registerSubmit:focus-visible,
#nvRegistrationDialog #registerCompleteSubmit:focus-visible,
#nvRegistrationDialog .nv-register-next:focus-visible,
#nvRegistrationDialog .nv-register-back:focus-visible {
  outline:2px solid #b9ebff!important;outline-offset:3px;
}
#nvRegistrationDialog .nv-register-action[hidden],
#nvRegistrationDialog button[hidden] {display:none!important}
#nvRegistrationDialog button:disabled {opacity:.56;cursor:wait;box-shadow:none!important}
#nvRegistrationDialog .nv-reg-result {
  border-radius:12px;
  background:linear-gradient(145deg,rgba(11,43,69,.8),rgba(5,24,44,.88));
  border:1px solid rgba(83,164,211,.55);
  padding:25px 19px 20px;margin:8px 0 3px;
  color:#f0f9ff;text-align:center;
}
#nvRegistrationDialog .nv-reg-result>i {font-size:34px;color:#69dbd8}
#nvRegistrationDialog .nv-reg-result[data-state="error"] {
  border-color:rgba(241,173,98,.6);
  background:linear-gradient(145deg,rgba(73,42,28,.5),rgba(25,29,45,.86));
}
#nvRegistrationDialog .nv-reg-result[data-state="error"]>i {color:#ffbc73}
#nvRegistrationDialog .nv-reg-result h3 {font-size:21px;margin:12px 0 9px}
#nvRegistrationDialog .nv-reg-result p {margin:0 0 16px;line-height:1.6;color:#c4dcf0;font-size:13px}
#nvRegistrationDialog .nv-register-reference {
  font-size:11px;letter-spacing:.05em;color:#f5c38d;overflow-wrap:anywhere;
}
#nvRegistrationDialog .nv-register-result-actions {display:grid;gap:10px;margin-top:20px}
#nvRegistrationDialog .nv-reg-complete-form {
  padding:8px 0 0;
}
#nvRegistrationDialog .nv-reg-complete-form>h3 {text-align:left;font-size:21px;margin:8px 0 10px}
#nvRegistrationDialog .nv-reg-complete-form>p {font-size:13px;line-height:1.6;color:#c6d9ea}
#nvRegistrationDialog .nv-reg-complete-form #registerCompleteSubmit {margin-top:8px}
#nvRegistrationDialog .nv-auth-footer button[data-register-close] {
  appearance:none;display:inline!important;width:auto!important;height:auto!important;
  margin:0;padding:7px!important;border:0!important;
  font-family:inherit!important;font-size:12px!important;font-weight:500;
  background:none!important;box-shadow:none!important;color:#8bdbff!important;
  text-decoration:underline;text-underline-offset:3px;cursor:pointer;
}
#nvRegistrationDialog .nv-register-wizard-actions .nv-register-back {
  flex:0 0 auto;width:auto;min-width:112px;
}
@media(max-width:500px) {
 #nvRegistrationDialog .nv-register-action,
 #nvRegistrationDialog #registerCompleteSubmit,
 #nvRegistrationDialog #registerSubmit {font-size:13px;min-height:44px}
 #nvRegistrationDialog .nv-reg-result {padding:18px 12px}
}

/* On a World error the support action is primary; closing is secondary. */
#nvRegistrationDialog .nv-reg-result[data-state="error"] #registerResultSupport {
  background:linear-gradient(180deg,#167cce,#0e5aab)!important;
  border-color:#5dbbff!important;color:#fff!important;
  box-shadow:0 8px 25px rgba(5,90,180,.25)!important;
  order:-1;
}
#nvRegistrationDialog .nv-reg-result[data-state="error"] #registerResultLogin {
  background:#102b47!important;border-color:#466f99!important;
  color:#cce9ff!important;box-shadow:none!important;
}
