.nv-account-launcher {
  position: fixed;
  top: 9px;
  right: 18px;
  z-index: 1201;
  display: flex;
  align-items: center;
  gap: 9px;
  box-sizing: border-box;
  min-height: 42px;
  height: 42px;
  padding: 6px 12px 6px 7px;
  border: 1px solid rgba(126, 157, 196, .28);
  border-radius: 12px;
  background: rgba(8, 16, 27, .9);
  color: #edf6ff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.nv-account-launcher:hover {
  transform: translateY(-1px);
  border-color: rgba(108, 205, 255, .62);
}

.nv-account-launcher.intro-mode {
  right: 154px;
}

.nv-account-launcher-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: linear-gradient(145deg, #14344a, #0b1b2c);
  color: #8ce1ff;
  font-weight: 800;
}

.nv-account-launcher span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}

.nv-account-launcher small {
  color: #829bb5;
  font-size: 13px;
  letter-spacing: .12em;
}

.nv-account-launcher strong {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.nv-account-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  overscroll-behavior: contain;
  background: rgba(1, 5, 11, .76);
  backdrop-filter: blur(18px);
}

.nv-account-overlay[hidden] {
  display: none;
}

.nv-account-dialog {
  overflow: hidden;
  border: 1px solid rgba(118, 175, 215, .3);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(51, 145, 194, .1), transparent 34%),
    linear-gradient(180deg, #0d1827, #07111d);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .72), 0 0 60px rgba(39, 130, 190, .08);
  color: #e8f2fc;
}

.nv-account-dialog-auth {
  width: min(680px, calc(100vw - 36px));
  max-height: min(820px, calc(100dvh - 40px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.nv-account-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(118, 172, 211, .14);
  background: rgba(5, 15, 26, .72);
}

.nv-account-modal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nv-account-modal-brand > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(91, 210, 255, .38);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(25, 83, 116, .96), rgba(6, 23, 39, .96));
  color: #8fe3ff;
  font-size: 15px;
  font-weight: 900;
}

.nv-account-modal-brand div {
  display: grid;
  gap: 3px;
}

.nv-account-modal-brand strong {
  font-size: 13px;
  letter-spacing: .17em;
}

.nv-account-modal-brand small {
  color: #6f8ba2;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nv-account-modal-header > button,
.nv-account-dialog-profile > header button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(121, 170, 207, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: #cfe0ec;
  cursor: pointer;
  font-size: 22px;
}

.nv-account-auth-header {
  padding: 18px 24px 0;
}

.nv-account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(118, 151, 188, .16);
  border-radius: 13px;
  background: rgba(2, 10, 18, .42);
}

.nv-account-tabs button {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #839db5;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.nv-account-tabs button:hover {
  color: #d8eaf7;
}

.nv-account-tabs button.active {
  border-color: rgba(83, 199, 255, .38);
  background: linear-gradient(180deg, rgba(35, 126, 169, .28), rgba(24, 80, 112, .22));
  color: #f0fbff;
  box-shadow: inset 0 1px rgba(255, 255, 255, .05), 0 8px 22px rgba(0, 0, 0, .18);
}

.nv-account-scroll {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(94, 203, 255, .42) rgba(4, 12, 22, .25);
}

.nv-account-form {
  display: grid;
  gap: 23px;
  padding: 25px 24px 28px;
}

.nv-account-copy h2 {
  margin: 5px 0 9px;
  color: #f4f9fd;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.nv-account-copy p {
  max-width: 620px;
  margin: 0;
  color: #94aabd;
  line-height: 1.6;
}

.nv-account-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.nv-account-field {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}

.nv-account-field-full {
  grid-column: 1 / -1;
}

.nv-account-field > span,
.nv-account-form label > span {
  color: #aec3d5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.nv-account-field small {
  color: #6f879d;
  font-size: 13px;
}

.nv-account-form input {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(116, 151, 189, .25);
  border-radius: 11px;
  background: rgba(4, 14, 25, .76);
  color: #eef8ff;
  outline: none;
  font: inherit;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.nv-account-form input:hover {
  border-color: rgba(116, 170, 207, .4);
}

.nv-account-form input:focus {
  border-color: rgba(78, 202, 255, .72);
  background: rgba(5, 17, 29, .96);
  box-shadow: 0 0 0 3px rgba(43, 168, 227, .11);
}

.nv-account-input-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.nv-account-input-action button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 132px;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid rgba(88, 190, 235, .31);
  border-radius: 11px;
  background: rgba(27, 99, 132, .16);
  color: #bdeaff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.nv-account-input-action button:hover {
  transform: translateY(-1px);
  border-color: rgba(88, 205, 255, .62);
  background: rgba(31, 123, 165, .24);
}

.nv-account-input-action svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.nv-account-submit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 230px);
  align-items: center;
  gap: 18px;
  padding-top: 4px;
}

.nv-account-submit-row > span {
  color: #7890a5;
  font-size: 13px;
  line-height: 1.5;
}

.nv-account-submit-row > span strong {
  color: #a7c3d7;
}

.nv-account-submit-row .button-primary {
  min-height: 48px;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: .01em;
  box-shadow: 0 12px 28px rgba(23, 115, 165, .2);
}

.nv-account-submit-row-login {
  grid-template-columns: minmax(0, 1fr) minmax(160px, 210px);
}

.nv-account-error {
  margin: 17px 24px 0;
  padding: 11px 13px;
  border: 1px solid rgba(255, 104, 104, .32);
  border-radius: 11px;
  background: rgba(137, 29, 29, .14);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nv-account-error span {
  color: #ffc0c0;
  font-size: 13px;
}

.nv-account-dialog-profile {
  width: min(620px, calc(100vw - 34px));
  max-height: calc(100dvh - 44px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.nv-account-dialog-profile > header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(122, 156, 193, .16);
  background: #0d1827;
}

.nv-account-dialog-profile > header div {
  display: flex;
  flex-direction: column;
}

.nv-account-dialog-profile > header strong {
  font-size: 13px;
  letter-spacing: .14em;
}

.nv-account-dialog-profile > header small {
  margin-top: 3px;
  color: #8198ae;
}

.nv-account-details {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid rgba(120, 151, 184, .18);
  border-radius: 12px;
  overflow: hidden;
}

.nv-account-details div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(120, 151, 184, .12);
}

.nv-account-details div:last-child {
  border-bottom: 0;
}

.nv-account-details dt {
  color: #8198ae;
}

.nv-account-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.nv-account-success {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid rgba(82, 182, 232, .2);
  border-radius: 10px;
  background: rgba(41, 132, 177, .11);
}

.nv-account-success span {
  color: #9eb5c9;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.nv-account-secondary {
  padding: 10px 13px;
  border: 1px solid rgba(119, 154, 190, .25);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  color: #dceaf6;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .nv-landing-header {
    gap: 20px;
  }

  .nv-landing-nav {
    gap: 18px;
  }

  .nv-landing-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nv-landing-statbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nv-landing-statbar > div:nth-child(3) {
    border-right: 0;
  }

  .nv-landing-statbar > div:nth-child(-n+3) {
    border-bottom: 1px solid rgba(117, 179, 218, .13);
  }
}

@media (max-width: 900px) {
  .nv-landing-header {
    grid-template-columns: auto 1fr;
    min-height: 68px;
    padding: 10px 18px;
  }

  .nv-landing-nav {
    display: none;
  }

  .nv-landing-header-actions {
    justify-content: flex-end;
  }

  .nv-landing-header-actions .nv-landing-button {
    min-height: 40px;
    padding: 9px 13px;
  }

  .nv-landing-hero {
    min-height: 760px;
  }

  .nv-landing-hero-shade {
    background:
      linear-gradient(90deg, rgba(1, 5, 12, .94) 0%, rgba(2, 8, 17, .72) 62%, rgba(2, 8, 17, .28) 100%),
      linear-gradient(180deg, rgba(1, 5, 12, .2), transparent 46%, rgba(2, 7, 14, .96) 100%);
  }

  .nv-landing-hero-content {
    width: min(680px, calc(100% - 38px));
    margin-left: 24px;
    padding-top: 100px;
  }

  .nv-landing-hero h1 {
    font-size: clamp(45px, 10vw, 68px);
  }

  .nv-landing-section {
    width: min(100% - 36px, 900px);
    padding: 92px 0;
  }

  .nv-landing-world {
    min-height: 720px;
  }

  .nv-landing-world-copy {
    width: min(650px, calc(100% - 48px));
    margin-left: 24px;
  }

  .nv-landing-deep-dive {
    grid-template-columns: 1fr;
  }

  .nv-landing-deep-copy {
    max-width: 720px;
  }

  .nv-landing-civilization-panel {
    aspect-ratio: 16 / 10;
  }

  .nv-landing-civilization-overlay {
    grid-template-columns: repeat(2, 1fr);
  }

  .nv-landing-civilization-overlay > div:nth-child(2) {
    border-right: 0;
  }

  .nv-landing-civilization-overlay > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(112, 180, 221, .14);
  }

  .nv-landing-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
  }

  .nv-account-launcher {
    top: auto;
    right: 12px;
    bottom: 54px;
    height: auto;
  }

  .nv-account-launcher.intro-mode {
    right: 12px;
  }
}

@media (max-width: 620px) {
  .nv-landing-header {
    grid-template-columns: auto auto;
  }

  .nv-landing-logo {
    gap: 9px;
  }

  .nv-landing-logo > span {
    width: 36px;
    height: 36px;
  }

  .nv-landing-logo strong {
    font-size: 13px;
  }

  .nv-landing-header-actions .secondary {
    display: none;
  }

  .nv-landing-header-actions .primary {
    min-width: 0;
    font-size: 13px;
  }

  .nv-landing-hero {
    min-height: 770px;
  }

  .nv-landing-hero-picture img {
    object-position: 64% center;
  }

  .nv-landing-hero-shade {
    background:
      linear-gradient(180deg, rgba(1, 5, 12, .42) 0%, rgba(2, 8, 17, .64) 34%, rgba(2, 7, 14, .97) 76%),
      linear-gradient(90deg, rgba(1, 5, 12, .56), transparent 100%);
  }

  .nv-landing-hero-content {
    align-self: end;
    width: calc(100% - 34px);
    margin: 0 17px;
    padding: 150px 0 98px;
  }

  .nv-landing-eyebrow {
    font-size: 13px;
    line-height: 1.5;
  }

  .nv-landing-hero h1 {
    margin-top: 13px;
    font-size: clamp(39px, 12vw, 55px);
  }

  .nv-landing-hero-content > p {
    font-size: 14px;
  }

  .nv-landing-hero-actions,
  .nv-landing-final-content > div {
    align-items: stretch;
    flex-direction: column;
  }

  .nv-landing-button.large {
    width: 100%;
  }

  .nv-landing-hero-pills span {
    flex: 1 1 100%;
  }

  .nv-landing-scroll-cue {
    display: none;
  }

  .nv-landing-statbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 24px);
    margin-top: -24px;
  }

  .nv-landing-statbar > div {
    padding: 20px 12px;
  }

  .nv-landing-statbar > div:nth-child(2n) {
    border-right: 0;
  }

  .nv-landing-statbar > div:nth-child(3) {
    border-right: 1px solid rgba(117, 179, 218, .13);
  }

  .nv-landing-statbar > div:nth-child(-n+4) {
    border-bottom: 1px solid rgba(117, 179, 218, .13);
  }

  .nv-landing-section {
    width: calc(100% - 26px);
    padding: 76px 0;
  }

  .nv-landing-section-heading {
    margin-bottom: 34px;
  }

  .nv-landing-section-heading h2,
  .nv-landing-world-copy h2,
  .nv-landing-deep-copy h2,
  .nv-landing-final-content h2 {
    font-size: 36px;
  }

  .nv-landing-section-heading p,
  .nv-landing-world-copy > p,
  .nv-landing-deep-copy > p,
  .nv-landing-final-content > p {
    font-size: 13px;
  }

  .nv-landing-feature-grid {
    grid-template-columns: 1fr;
  }

  .nv-landing-world {
    min-height: 800px;
    align-items: end;
  }

  .nv-landing-world-picture img {
    object-position: 62% center;
  }

  .nv-landing-world-shade {
    background: linear-gradient(180deg, rgba(2, 7, 14, .22) 0%, rgba(2, 7, 14, .74) 42%, rgba(2, 7, 14, .98) 75%);
  }

  .nv-landing-world-copy {
    width: calc(100% - 28px);
    margin: 0 14px;
    padding: 300px 0 52px;
  }

  .nv-landing-world-list > div {
    grid-template-columns: 35px 1fr;
  }

  .nv-landing-deep-copy dl {
    grid-template-columns: 1fr;
  }

  .nv-landing-civilization-panel {
    aspect-ratio: auto;
    min-height: 600px;
  }

  .nv-landing-civilization-picture img {
    object-position: 52% center;
  }

  .nv-landing-civilization-overlay {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr 1fr;
  }

  .nv-landing-civilization-overlay > div {
    padding: 14px;
  }

  .nv-landing-final-cta {
    min-height: 650px;
  }

  .nv-landing-footer {
    padding: 25px 16px;
  }

  .nv-landing-footer p {
    line-height: 1.5;
  }

  .nv-account-overlay {
    padding: 7px;
  }

  .nv-account-dialog-auth {
    width: calc(100vw - 8px);
    max-height: calc(100dvh - 14px);
    border-radius: 16px;
  }

  .nv-account-modal-header {
    padding: 15px 16px;
  }

  .nv-account-auth-header {
    padding: 14px 16px 0;
  }

  .nv-account-form {
    gap: 18px;
    padding: 20px 16px 22px;
  }

  .nv-account-copy h2 {
    font-size: 27px;
  }

  .nv-account-form-grid {
    grid-template-columns: 1fr;
  }

  .nv-account-field-full {
    grid-column: auto;
  }

  .nv-account-input-action {
    grid-template-columns: 1fr;
  }

  .nv-account-input-action button {
    min-width: 0;
  }

  .nv-account-submit-row,
  .nv-account-submit-row-login {
    grid-template-columns: 1fr;
  }

  .nv-account-submit-row > span {
    order: 2;
    text-align: center;
  }

  .nv-account-error {
    margin: 14px 16px 0;
  }

  .nv-account-details div {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nv-public-landing {
    scroll-behavior: auto;
  }

  .nv-landing-scroll-cue i {
    animation: none;
  }

  .nv-landing-feature-card,
  .nv-landing-card-picture img,
  .nv-landing-button {
    transition: none;
  }
}

.nv-account-launcher:focus-visible {
  outline: none;
  border-color: rgba(94, 203, 255, .72);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .28), 0 0 0 2px rgba(94, 203, 255, .22);
}
