/* R343: registration verification stages and admin configurable World spawn. */
.nv-reg-field-label{display:block;margin:12px 0 7px;color:#c8e8fb;font-size:13px;font-weight:650}
#registerGender{appearance:auto;width:100%;min-width:0;min-height:47px;padding:10px 13px 10px 42px;background:rgba(3,22,38,.9);color:#eafbff;border:1px solid rgba(89,184,222,.43);border-radius:9px}
#registerGender option{background:#08253a;color:#f5fbff}
.nv-reg-bot-trap{position:absolute;left:-10000px;top:-10000px;width:1px;height:1px;overflow:hidden}
.nv-reg-captcha{display:flex;align-items:center;min-height:67px;margin:12px 0 16px;max-width:100%;overflow:hidden}
.nv-reg-complete-form{display:grid;gap:13px;margin-top:12px}
.nv-reg-complete-form .nv-field{margin:0}
.nv-reg-complete-form>p{line-height:1.55;color:#c3e4f3}
.nv-reg-complete-form[hidden]{display:none!important}
.nv-registration-back{margin-top:16px}
.nv-reg-home-panel{margin-top:21px;border:1px solid rgba(105,187,225,.34);border-radius:13px;background:rgba(6,30,49,.66);padding:18px}
.nv-reg-home-panel h3{color:#ebfaff;font-size:17px}
.nv-reg-home-panel .admin-registration-readiness-head p{font-size:13px;line-height:1.5}
.nv-reg-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:15px;align-items:end}
.nv-reg-home-grid label{display:grid;gap:7px;font-size:13px;color:#d4eef9;min-width:0}
.nv-reg-home-grid .form-control{min-width:0;width:100%;min-height:40px}
.nv-reg-home-enable{display:flex!important;align-items:center;gap:10px!important;grid-column:1/3;flex-wrap:wrap}
.nv-reg-home-enable input{width:18px;height:18px}
#nvRegistrationHomeSave{justify-self:end;min-height:40px}
#nvRegistrationHomeStatus{margin:15px 0 0}
@media(max-width:1000px){.nv-reg-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nv-reg-home-enable{grid-column:1/-1}}
@media(max-width:580px){.nv-reg-home-grid{grid-template-columns:minmax(0,1fr)}.nv-reg-home-enable{grid-column:1}#nvRegistrationHomeSave{justify-self:stretch}}

.nv-reg-optional-name{margin:0 0 10px;border-radius:8px;color:#a5cde2;font-size:12px}
.nv-reg-optional-name summary{cursor:pointer;list-style:auto;font-size:12px;padding:4px 2px;line-height:1.45}
.nv-reg-optional-name .nv-field{margin-top:8px}
.nv-reg-name-status{min-height:24px;margin:3px 0 12px;padding:7px 10px;border:1px solid rgba(115,175,209,.34);border-radius:8px;font-size:12px;line-height:1.5;color:#c3dce8;background:rgba(3,21,38,.65)}
.nv-reg-name-status[data-name-state="taken"]{color:#ffd1ce;border-color:rgba(255,110,105,.55);background:rgba(88,22,27,.26)}
.nv-reg-name-status[data-name-state="unverified"]{color:#bfdaed;border-color:rgba(92,163,207,.44)}
.nv-reg-name-status[data-name-state="checking"]{color:#bedefa}

/* R345 — Registration workbench, distinctive live name feedback and starter cards.
   Scoped to registration so public login and admin settings remain unchanged. */
#nvRegistrationDialog .nv-home-stage>.row {
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
}
#nvRegistrationDialog .nv-home-stage>.row>.col-xl-8,
#nvRegistrationDialog .nv-home-stage>.row>.col-xl-4 {
  min-width:0;
  box-sizing:border-box;
}
@media(min-width:1200px) {
  #nvRegistrationDialog .nv-home-stage>.row>.col-xl-8 {width:57%}
  #nvRegistrationDialog .nv-home-stage>.row>.col-xl-4 {width:43%;display:flex;justify-content:flex-end}
}
@media(min-width:1200px) {
  #nvRegistrationDialog .nv-home-stage>.row>.col-xl-8 {flex:0 0 57%;max-width:57%}
  #nvRegistrationDialog .nv-home-stage>.row>.col-xl-4 {flex:0 0 43%;max-width:43%}
}
#nvRegistrationDialog .nv-auth-card {
  width:min(100%,720px);
  max-width:none;
  padding:clamp(22px,1.65vw,34px);
  border:1px solid rgba(108,186,229,.52);
  border-radius:20px;
  background:linear-gradient(150deg,rgba(10,32,52,.98),rgba(3,17,33,.98));
  box-shadow:0 24px 70px rgba(0,7,16,.56),0 0 40px rgba(34,167,230,.09);
}
#nvRegistrationDialog .nv-auth-eyebrow {margin-bottom:14px;color:#77d3f2}
#nvRegistrationDialog .nv-auth-card .nv-registration-heading h3 {
  text-align:left;
  font-size:clamp(23px,1.7vw,31px);
  line-height:1.2;
  letter-spacing:-.025em;
  margin:13px 0 6px;
}
.nv-registration-heading>p {
  font-size:13px;
  color:#b6cfdf;
  line-height:1.55;
  margin:0 0 17px;
}
.nv-registration-step {display:flex;align-items:center;gap:10px;color:#89dff8;font-size:10px;font-weight:800;letter-spacing:.14em}
.nv-registration-step-index {display:grid;place-items:center;width:25px;height:25px;flex:none;border:1px solid #4dbfeb;border-radius:7px;color:#d4f6ff;background:rgba(22,119,170,.3);font-variant-numeric:tabular-nums}
.nv-registration-step-track {display:block;flex:1;height:3px;border-radius:10px;background:#26465e;overflow:hidden}
.nv-registration-step-track>span {display:block;width:49%;height:100%;background:linear-gradient(90deg,#158ec8,#50e6fd);border-radius:10px}
#nvRegistrationDialog #registerForm {display:grid;gap:0}
#nvRegistrationDialog #registerForm[hidden]{display:none!important}
#nvRegistrationDialog #nvRegisterApiHint {
  padding:11px 13px;
  border-radius:9px;
  background:rgba(29,84,112,.2);
  border:1px solid rgba(71,162,208,.28);
  font-size:12px;
  line-height:1.5;
  color:#c4e4f1;
  margin:0 0 21px;
}
.nv-registration-section-heading {
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  margin:0 0 11px;
  color:#ecfaff;
  font-size:14px;
  font-weight:730;
}
.nv-registration-section-heading label {margin:0;cursor:text}
.nv-registration-section-heading small {
  margin-left:auto;
  flex-shrink:0;
  font-size:11px;
  font-weight:500;
  color:#8eb9ce;
  white-space:nowrap;
}
.nv-registration-section-num {
  flex:none;
  display:grid;
  place-items:center;
  width:23px;height:23px;
  border:1px solid rgba(85,173,217,.5);
  background:rgba(25,111,156,.25);
  border-radius:50%;
  color:#88defb;
  font-size:12px;
  font-variant-numeric:tabular-nums;
}
#nvRegistrationDialog #registerForm .nv-field {
  height:49px;
  min-height:49px;
  margin:0;
  border:1px solid rgba(118,174,209,.45);
  border-radius:9px;
  background:rgba(2,16,29,.88);
  transition:border-color .15s,box-shadow .15s;
}
#nvRegistrationDialog #registerForm .nv-field:focus-within {
  border-color:#58d2f3;
  box-shadow:0 0 0 3px rgba(46,177,230,.13);
}
#nvRegistrationDialog #registerForm .nv-field input {font-size:14px;padding-right:13px}
#nvRegistrationDialog #registerForm .nv-field>i {color:#88c9e4}
#nvRegistrationDialog #registerForm .nv-registration-name-field[data-name-state="taken"] {border-color:#f38b8f;box-shadow:0 0 0 2px rgba(233,100,110,.1)}
#nvRegistrationDialog .nv-reg-optional-name {
  margin:8px 0 13px;
  color:#9dcde4;
}
#nvRegistrationDialog .nv-reg-optional-name summary {
  color:#b3dcf0;
  font-size:12px;
  line-height:1.5;
  font-weight:550;
}
#nvRegistrationDialog .nv-reg-optional-name .nv-field {margin-top:9px!important}
.nv-registration-name-preview {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 13px 9px;
  border:1px solid rgba(72,159,200,.38);
  border-bottom:0;
  border-radius:10px 10px 0 0;
  background:linear-gradient(110deg,rgba(16,67,102,.48),rgba(6,36,55,.4));
  min-width:0;
}
.nv-registration-name-preview-main {display:grid;gap:4px;min-width:0}
.nv-registration-preview-overline {font-size:9px;letter-spacing:.12em;font-weight:800;color:#91cfe7}
#registerUsernamePreview {
  display:block;
  min-width:0;
  overflow-wrap:anywhere;
  color:#f3fbff;
  font-size:16px;
  line-height:1.22;
  font-weight:770;
}
.nv-registration-name-state-icon {
  display:grid;
  place-items:center;
  width:32px;height:32px;
  flex:none;
  border-radius:50%;
  color:#a6d4e7;
  background:rgba(83,143,175,.16);
}
.nv-registration-name-state-icon .bi-arrow-repeat {animation:nv-registration-spin 1s linear infinite}
@keyframes nv-registration-spin {to{transform:rotate(360deg)}}
#nvRegistrationDialog #registerNameStatus {
  display:flex;
  align-items:flex-start;
  gap:7px;
  margin:0 0 24px;
  padding:10px 13px 12px;
  min-height:42px;
  border:1px solid rgba(72,159,200,.38);
  border-top:1px solid rgba(72,159,200,.16);
  border-radius:0 0 10px 10px;
  font-size:12px;
  line-height:1.45;
  background:rgba(5,29,47,.62);
  color:#bdd9e9;
}
#nvRegistrationDialog #registerNameStatus[data-name-state="taken"] {
  border-color:rgba(255,126,136,.53);
  color:#ffd3d2;
  background:rgba(100,29,45,.32);
}
#nvRegistrationDialog #registerNameStatus[data-name-state="unverified"] {
  color:#d9e9c8;
  border-color:rgba(196,182,102,.42);
  background:rgba(88,82,33,.16);
}
#nvRegistrationDialog #registerNameStatus[data-name-state="checking"] {color:#a7ddf4}
.nv-registration-starter-title {margin-bottom:12px}
.nv-starter-fieldset {min-width:0;margin:0 0 21px;padding:0;border:0}
.nv-starter-options {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nv-starter-card {
  position:relative;
  min-width:0;
  display:grid;
  grid-template-rows:minmax(115px,150px) auto;
  cursor:pointer;
  overflow:hidden;
  border:1px solid rgba(115,161,197,.41);
  border-radius:13px;
  background:linear-gradient(160deg,#10334d,#071a2d);
  transition:transform .15s,border-color .15s,box-shadow .15s;
}
.nv-starter-card-benjamin {--nv-choice-glow:rgba(50,187,240,.42);--nv-choice-border:#3bbde9}
.nv-starter-card-luna {--nv-choice-glow:rgba(180,112,232,.42);--nv-choice-border:#bf82f5}
.nv-starter-card:focus-within {outline:2px solid #b6e9ff;outline-offset:2px}
.nv-starter-card:has(input:checked) {
  border-color:var(--nv-choice-border);
  box-shadow:0 0 0 2px var(--nv-choice-glow),inset 0 0 30px var(--nv-choice-glow);
}
.nv-starter-card:has(input:checked) .nv-starter-check {opacity:1;transform:scale(1)}
.nv-starter-card:hover {transform:translateY(-2px);border-color:#93cced}
.nv-starter-card>input {
  position:absolute;
  top:11px;left:11px;z-index:5;
  width:18px;height:18px;
  margin:0;cursor:pointer;
  accent-color:#21bdf2;
}
.nv-starter-art {
  position:relative;
  display:grid;
  place-items:end center;
  min-width:0;
  background:radial-gradient(ellipse at 50% 80%,rgba(74,198,232,.22),transparent 65%),linear-gradient(150deg,#13364d,#051c32);
}
.nv-starter-card-luna .nv-starter-art {background:radial-gradient(ellipse at 50% 80%,rgba(189,98,231,.2),transparent 65%),linear-gradient(150deg,#322442,#0a1a34)}
.nv-starter-art:after {content:"";position:absolute;inset:auto 0 0;height:26px;background:linear-gradient(transparent,rgba(2,17,32,.26));pointer-events:none}
.nv-starter-art svg {display:block;width:min(100%,190px);height:150px;max-height:100%;object-fit:contain;filter:drop-shadow(0 7px 9px rgba(0,5,14,.4))}
.nv-starter-card-content {
  display:grid;
  align-content:start;
  gap:1px;
  min-width:0;
  padding:11px 13px 13px;
  border-top:1px solid rgba(104,171,205,.25);
}
.nv-starter-card-content strong {font-size:16px;line-height:1.2;color:#f1faff;letter-spacing:.01em}
.nv-starter-card-content>span {color:#b4dcea;font-size:12px;font-weight:500}
.nv-starter-card-content small {color:#93bdce;font-size:11px;margin-top:6px}
.nv-starter-check {
  position:absolute;right:10px;top:10px;z-index:3;
  display:grid;place-items:center;
  width:26px;height:26px;
  border:1px solid var(--nv-choice-border);
  border-radius:50%;
  background:rgba(5,25,40,.9);
  color:#fff;
  box-shadow:0 0 16px var(--nv-choice-glow);
  opacity:0;
  transform:scale(.8);
  transition:opacity .15s,transform .15s;
}
.nv-starter-disclosure {margin:10px 0 0;color:#94b2c4;font-size:11px;line-height:1.5}
.nv-registration-email-title {margin:2px 0 11px}
#nvRegistrationDialog .nv-reg-captcha {margin:14px 0 12px}
#nvRegistrationDialog .nv-register-rules {
  margin:4px 0 15px;
  display:flex;
  align-items:flex-start;
  gap:11px;
  padding:11px 12px;
  border:1px solid rgba(101,153,187,.23);
  border-radius:9px;
  background:rgba(6,27,44,.62);
}
#nvRegistrationDialog .nv-register-rules input {margin-top:2px;flex:none;width:18px;height:18px}
#nvRegistrationDialog .nv-register-rules label {font-size:12px;line-height:1.5}
#nvRegistrationDialog #registerSubmit {
  height:50px;
  border-radius:10px;
  margin-top:9px;
  font-weight:750;
}
#nvRegistrationDialog #registerSubmit:disabled {opacity:.58;cursor:not-allowed}
#nvRegistrationDialog .nv-reg-complete-form h3 {font-size:21px;margin:0;text-align:left}
#nvRegistrationDialog .nv-reg-complete-form p {font-size:13px;line-height:1.6}
@media(min-width:2560px) {
  #nvRegistrationDialog .nv-home-stage {padding-top:70px}
  #nvRegistrationDialog .nv-auth-card {margin-top:0}
}
@media(max-width:1199px) {
  #nvRegistrationDialog .nv-home-stage>.row>.col-xl-8 {width:100%}
  #nvRegistrationDialog .nv-home-stage>.row>.col-xl-4 {width:100%;max-width:720px;margin-inline:auto}
  #nvRegistrationDialog .nv-auth-card {width:100%;max-width:720px}
}
@media(max-width:767px) {
  #nvRegistrationDialog .nv-home-stage {padding-top:18px}
  #nvRegistrationDialog .nv-home-stage>.row>.col-xl-4 {order:-1}
  #nvRegistrationDialog .nv-home-stage>.row>.col-xl-8 {order:1}
  #nvRegistrationDialog .nv-auth-card {padding:19px 16px;border-radius:14px}
  #nvRegistrationDialog .nv-home-copy {padding-top:10px}
  #nvRegistrationDialog .nv-registration-heading h3 {font-size:24px}
  #nvRegistrationDialog .nv-registration-step {font-size:9px;letter-spacing:.09em}
  #nvRegistrationDialog .nv-registration-section-heading {font-size:13px}
  #nvRegistrationDialog .nv-registration-section-heading small {font-size:10px}
  .nv-starter-options {gap:9px}
  .nv-starter-card {grid-template-rows:115px auto}
  .nv-starter-art svg {height:115px}
  .nv-starter-card-content {padding:9px}
  .nv-starter-card-content strong {font-size:15px}
}
@media(max-width:360px) {
  #nvRegistrationDialog .nv-registration-section-heading {flex-wrap:wrap}
  #nvRegistrationDialog .nv-registration-section-heading small {margin-left:32px}
}
@media(prefers-reduced-motion:reduce) {
  .nv-starter-card {transition:none}
  .nv-starter-card:hover {transform:none}
  .nv-registration-name-state-icon .bi-arrow-repeat {animation:none}
}

/* R346: account credentials are entered once at the beginning. */
#nvRegistrationDialog .nv-registration-password-title {margin:16px 0 10px}
#nvRegistrationDialog .nv-registration-password-field {
  margin:0 0 10px!important;
  display:flex;
  align-items:center;
}
#nvRegistrationDialog .nv-registration-password-field input {min-width:0;flex:1}
#nvRegistrationDialog .nv-registration-password-field button {
  display:grid;place-items:center;flex:none;
  width:43px;height:43px;
  color:#a8d8ef;border:0;background:transparent;cursor:pointer;
}
#nvRegistrationDialog .nv-registration-password-field button:hover,
#nvRegistrationDialog .nv-registration-password-field button:focus-visible {color:white}
#nvRegistrationDialog #registerPasswordHint {
  margin:2px 0 12px;
  font-size:11px;
  color:#a8c6d5;
  line-height:1.5;
}
#nvRegistrationDialog .nv-reg-legacy-password {
  margin:10px 0 14px;
  border:1px solid rgba(96,153,186,.22);
  border-radius:9px;
  padding:10px;
  font-size:12px;
  color:#b0cddd;
}
#nvRegistrationDialog .nv-reg-legacy-password summary {cursor:pointer}
#nvRegistrationDialog .nv-reg-legacy-password[open] {display:grid;gap:10px}
#nvRegistrationDialog .nv-reg-legacy-password .nv-field {margin:6px 0 0}
#nvRegistrationDialog .nv-starter-card-content>small {padding-top:6px}


/* R347: genuine operator-supplied Benjamin/Luna preview images.
   The art section preserves a large, portrait-first area on every viewport. */
#nvRegistrationDialog .nv-starter-card {
  grid-template-rows: auto auto;
}
#nvRegistrationDialog .nv-starter-art {
  display:block;
  position:relative;
  width:100%;
  aspect-ratio:4 / 5;
  overflow:hidden;
  background:#0c2942;
}
#nvRegistrationDialog .nv-starter-art img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 22%;
  color:#cbe4f3;
  font-size:12px;
}
#nvRegistrationDialog .nv-starter-card-benjamin .nv-starter-art {
  background:linear-gradient(125deg,#234a62,#081e32);
}
#nvRegistrationDialog .nv-starter-card-luna .nv-starter-art {
  background:linear-gradient(125deg,#664068,#151f39);
}
#nvRegistrationDialog .nv-starter-art:after {
  height:36px;
  background:linear-gradient(180deg,transparent,rgba(2,14,28,.36));
}
#nvRegistrationDialog .nv-starter-card:has(input:checked) .nv-starter-card-content strong {
  color:#fff;
}
@media(max-width:767px) {
 #nvRegistrationDialog .nv-starter-card {grid-template-rows:auto auto}
 #nvRegistrationDialog .nv-starter-art {aspect-ratio:4 / 5}
}


/* R353: authoritative read-only UserAccounts name availability feedback. */
#nvRegistrationDialog #registerNameStatus[data-name-state="available"] {
  color:#9befd2;background:rgba(13,91,73,.26);
  border:1px solid rgba(103,229,183,.65);
}
#nvRegistrationDialog #registerNameStatus[data-name-state="available"] .bi-check-circle-fill {
  color:#80ffd3;
}
#nvRegistrationDialog #registerForm .nv-registration-name-field[data-name-state="available"] {
  border-color:#55c4a3;box-shadow:0 0 0 2px rgba(36,190,134,.13);
}


/* R375: forbidden registration names are not a transient World outage. */
#nvRegistrationDialog #registerNameStatus[data-name-state="blocked"],
.nv-reg-name-status[data-name-state="blocked"] {
 color:#ffcccc;border-color:rgba(250,102,105,.66);
 background:rgba(106,28,32,.32);
}
#nvRegistrationDialog #registerForm .nv-registration-name-field[data-name-state="blocked"] {
 border-color:#ff9a9e;box-shadow:0 0 0 2px rgba(233,100,110,.1);
}

/* R385: Optional surname must never be hidden behind an expander. */
#nvRegistrationDialog .nv-reg-surname-group {
  display:grid;gap:8px;margin:10px 0 15px;min-width:0;
}
#nvRegistrationDialog .nv-reg-surname-heading {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
}
#nvRegistrationDialog .nv-reg-surname-heading label {
  color:#ebf9ff;font-size:13px;font-weight:750;cursor:text;
}
#nvRegistrationDialog .nv-reg-surname-optional {
  border:1px solid rgba(103,217,240,.45);
  border-radius:999px;padding:3px 10px;
  color:#9debf9;background:rgba(20,123,161,.18);
  font-size:10px;font-weight:850;letter-spacing:.09em;
}
#nvRegistrationDialog .nv-reg-surname-field {
  width:100%;margin:0!important;
}
#nvRegistrationDialog .nv-reg-surname-hint {
  display:flex;align-items:center;flex-wrap:wrap;gap:5px 7px;
  margin:1px 0 0;padding:12px 13px;
  border:1px solid rgba(255,198,97,.7);border-left:4px solid #ffc568;
  border-radius:10px;background:linear-gradient(110deg,rgba(105,67,13,.34),rgba(53,40,24,.44));
  color:#ffefd2;font-size:12px;font-weight:650;line-height:1.55;
  box-shadow:0 0 16px rgba(250,173,50,.1);
}
#nvRegistrationDialog .nv-reg-surname-hint > i {flex:none;font-size:17px;color:#ffcf73}
#nvRegistrationDialog #registerSurnameDefaultBadge {
  padding:2px 9px;border:1px solid rgba(255,227,154,.7);
  border-radius:6px;background:#ffd28b;color:#38200a;
  font-size:14px;font-weight:900;letter-spacing:.02em;
}
#nvRegistrationDialog #registerSurnameDefaultBadge[hidden] {display:none!important}
#nvRegistrationDialog .nv-reg-surname-group[data-surname-mode="custom"] .nv-reg-surname-hint {
  border-color:rgba(83,193,207,.45);border-left-color:#64e6e6;
  background:rgba(15,79,88,.27);color:#caeff5;box-shadow:none;
}
#nvRegistrationDialog .nv-reg-surname-group[data-surname-mode="custom"] .nv-reg-surname-hint > i {color:#65e6e6}
#nvRegistrationDialog .nv-reg-surname-hint:focus-within {outline:2px solid #ffd28b}
@media(max-width:560px) {
  #nvRegistrationDialog .nv-reg-surname-hint {padding:10px 11px;font-size:12px}
}

/* R578: explicit Resident surname is reserved for automatic blank-field fallback. */
#nvRegistrationDialog .nv-reg-surname-group[data-surname-mode="reserved"] .nv-reg-surname-hint{
 border-color:#fa8d9c;border-left-color:#ff8397;background:rgba(126,28,48,.34);
 color:#ffe3e7;box-shadow:0 0 0 1px rgba(255,132,152,.16)
}
#nvRegistrationDialog .nv-reg-surname-group[data-surname-mode="reserved"] .nv-reg-surname-field input{
 border-color:#ff8397!important;outline-color:#ff8397
}
#nvRegistrationDialog .nv-reg-surname-group[data-surname-mode="reserved"] .nv-reg-surname-hint > i{color:#ffc5cf}
#nvRegistrationDialog #registerStepNext:disabled,
#nvRegistrationDialog #registerSubmit:disabled{
 color:#c1d1dd!important;background:#3b5267!important;
 border-color:#658099!important;box-shadow:none!important;opacity:.62;cursor:not-allowed
}
