.nia-account-page {
  --account-bg: #090d12;
  --account-panel: rgba(16, 23, 33, .92);
  --account-border: rgba(124, 156, 191, .17);
  --account-muted: #93a4b6;
  --account-blue: #80baff;
  --account-purple: #a79bff;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: #090d12;
  color: #f4f7fa;
}

.nia-account-page [hidden] {
  display: none !important;
}

.account-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 35% at 80% 4%, rgba(64, 83, 166, .16), transparent 90%),
    radial-gradient(ellipse 40% 45% at 6% 32%, rgba(19, 89, 139, .14), transparent 90%),
    linear-gradient(180deg, #0b111b 0%, #090d12 60%);
}

.account-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .19;
  background-image:
    linear-gradient(rgba(117, 157, 203, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 157, 203, .08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}

.nia-account-wrap {
  position: relative;
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: 32px 0 40px;
}

.account-header,
.account-brand,
.account-section-topline,
.account-membership-header,
.account-membership-card-top,
.account-membership-card-bottom,
.account-plan-choice,
.account-dashboard-footer,
.account-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-header {
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(145, 174, 210, .12);
}

.account-brand {
  justify-content: flex-start;
  gap: 13px;
  color: #fff;
  text-decoration: none;
}

.account-brand-symbol {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(139, 191, 255, .48);
  border-radius: 12px;
  background: linear-gradient(135deg, #203a58, #111a2b);
  color: #cbe5ff;
  font-size: 25px;
  font-weight: 800;
}

.account-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.account-brand-text strong {
  font-size: 20px;
  line-height: 1;
  letter-spacing: .16em;
}

.account-brand-text small {
  color: #91a8c0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .26em;
}

.account-header-label,
.account-overline,
.account-kicker,
.account-detail-label,
.account-membership-label,
.account-footer-eyebrow,
.account-page-footer,
.account-profile-footer {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .17em;
}

.account-header-label { color: #7891aa; }

.account-intro {
  padding: 67px 0 43px;
}

.account-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
  color: var(--account-blue);
}

.account-kicker-line {
  width: 24px;
  height: 1px;
  background: var(--account-blue);
}

.account-intro h1 {
  font-size: clamp(44px, 6vw, 70px);
  font-weight: 750;
  letter-spacing: -.055em;
}

.account-title-dot { color: #8c9fff; }

.account-intro > p {
  max-width: 620px;
  margin: 19px 0 0;
  color: #a2b0bf;
  font-size: 16px;
  line-height: 1.7;
}

.account-panel {
  position: relative;
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--account-border);
  border-radius: 20px;
  background: var(--account-panel);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .18);
}

.account-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25px;
  right: 25px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127, 182, 255, .3), transparent);
}

.account-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.account-section-topline {
  margin-bottom: 28px;
}

.account-overline { color: #86a4c4; }

.account-section-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6caeff;
  box-shadow: 0 0 0 4px rgba(108, 174, 255, .09);
}

.account-indicator-purple {
  background: #a69bff;
  box-shadow: 0 0 0 4px rgba(166, 155, 255, .09);
}

.account-panel h2 {
  margin: 0;
  color: #f4f7ff;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.035em;
}

.account-panel-description,
.account-panel-heading p {
  margin: 9px 0 0;
  color: var(--account-muted);
  font-size: 13px;
  line-height: 1.65;
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 35px 0 31px;
  border: 1px solid #476e9b;
  border-radius: 20px;
  background: linear-gradient(135deg, #223b5d, #101c2c);
  color: #c9e4ff;
  font-size: 38px;
  font-weight: 750;
}

.account-detail {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 20px 0;
  border-top: 1px solid rgba(145, 174, 210, .11);
}

.account-detail-label { color: #7f92a7; }

.account-detail strong {
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 550;
}

.account-verification {
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(104, 202, 164, .24);
  border-radius: 7px;
  background: rgba(52, 147, 110, .09);
  color: #8bd7b8;
  font-size: 12px;
  font-weight: 650;
}

.account-profile-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 35px;
  color: #70869c;
}

.account-secure-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fc7a8;
}

.account-membership-header {
  align-items: flex-start;
  gap: 12px;
}

.account-membership-monogram {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(158, 151, 255, .25);
  border-radius: 11px;
  background: rgba(102, 91, 192, .12);
  color: #b9b3ff;
  font-weight: 800;
}

.account-membership-card {
  position: relative;
  display: flex;
  min-height: 240px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  margin-top: 30px;
  padding: 26px;
  border: 1px solid rgba(149, 177, 255, .3);
  border-radius: 17px;
  background:
    radial-gradient(ellipse at 90% 15%, rgba(130, 116, 255, .25), transparent 50%),
    linear-gradient(125deg, #1b3653 0%, #18253e 45%, #25204c 100%);
  box-shadow: 0 16px 45px rgba(13, 19, 43, .27);
}

.account-membership-card::after {
  content: "N";
  position: absolute;
  right: -5px;
  bottom: -94px;
  color: rgba(204, 218, 255, .045);
  font-size: 320px;
  font-weight: 850;
  line-height: 1;
  pointer-events: none;
}

.account-membership-card-top,
.account-membership-card-bottom {
  position: relative;
  z-index: 1;
  gap: 10px;
  color: #b5c8e4;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .16em;
}

.account-membership-card-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.account-membership-label { color: #aabfe0; }

#subscriptionPlan {
  color: #fff;
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 750;
  letter-spacing: -.04em;
}

#subscriptionStatus {
  padding: 6px 10px;
  border: 1px solid rgba(134, 222, 187, .3);
  border-radius: 6px;
  background: rgba(72, 173, 134, .14);
  color: #a4f0d0;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.account-manage-section,
.account-subscribe-options {
  margin-top: 27px;
}

.account-manage-section > p,
.account-offer-heading > p {
  margin: 0 0 18px;
  color: #a3b2c3;
  font-size: 13px;
  line-height: 1.7;
}

.account-offer-heading h3 {
  margin: 0 0 7px;
  font-size: 19px;
}

.account-plan-choice {
  gap: 12px;
  margin: 20px 0 13px;
  padding-top: 19px;
  border-top: 1px solid rgba(145, 174, 210, .13);
}

.account-plan-choice > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.account-plan-choice strong { font-size: 15px; }
.account-plan-choice span { color: #8499af; font-size: 12px; }
.account-plan-price { color: #f0f5ff; font-size: 20px; font-weight: 750; white-space: nowrap; }
.account-plan-price small { color: #92a3b8; font-size: 11px; font-weight: 450; }

.account-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.account-button:hover:not(:disabled) { transform: translateY(-1px); }
.account-button:disabled { opacity: .5; cursor: wait; }

.account-button-primary {
  background: #c8e3ff;
  color: #101a29;
}

.account-button-primary:hover:not(:disabled) { background: #e3f1ff; }

.account-button-secondary {
  border-color: rgba(141, 174, 210, .27);
  background: rgba(45, 65, 90, .3);
  color: #dceaff;
}

.account-button-secondary:hover:not(:disabled) {
  border-color: rgba(141, 174, 210, .55);
  background: rgba(55, 77, 107, .45);
}

.account-full-button { width: 100%; }

.account-dashboard-footer {
  gap: 20px;
  margin-top: 22px;
  padding: 23px 30px;
  border: 1px solid rgba(124, 156, 191, .13);
  border-radius: 15px;
  background: rgba(15, 23, 33, .66);
}

.account-footer-eyebrow { color: #87a2be; }

.account-dashboard-footer p {
  margin: 7px 0 0;
  color: #91a1b3;
  font-size: 12px;
}

.account-signout-button {
  border-color: rgba(141, 174, 210, .25);
  background: rgba(33, 48, 67, .45);
  color: #dce9fa;
}

.account-signout-button:hover:not(:disabled) { background: rgba(54, 74, 100, .55); }

.account-auth-panel { max-width: 550px; }

.account-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}

.account-panel-heading h2 { margin-top: 11px; }

.account-panel-icon {
  color: #87b9f4;
  font-size: 24px;
}

.account-auth-panel label {
  display: block;
  margin: 20px 0 9px;
  color: #9bb1c8;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
}

.account-auth-panel input {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid #34465c;
  border-radius: 9px;
  outline: none;
  background: #0c1521;
  color: #f4f7ff;
  font: inherit;
  font-size: 14px;
}

.account-auth-panel input:focus {
  border-color: #8bbcff;
  box-shadow: 0 0 0 3px rgba(99, 153, 223, .12);
}

.account-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.account-forgot-link {
  display: inline-block;
  margin-top: 24px;
  color: #a5caff;
  font-size: 13px;
  text-decoration: none;
}

.account-forgot-link:hover { text-decoration: underline; }

.account-message {
  min-height: 22px;
  margin: 19px 0;
  color: #b7c9e0;
  font-size: 13px;
  line-height: 1.6;
}

.account-page-footer {
  gap: 15px;
  padding-top: 28px;
  border-top: 1px solid rgba(145, 174, 210, .1);
  color: #5f758c;
  font-size: 9px;
}

@media (max-width: 780px) {
  .account-dashboard-grid { grid-template-columns: 1fr; }
  .account-intro { padding: 50px 0 35px; }
  .account-panel { padding: 26px; }
}

@media (max-width: 520px) {
  .nia-account-wrap { width: min(100% - 28px, 1120px); padding-top: 20px; }
  .account-header-label { font-size: 9px; }
  .account-intro h1 { font-size: 46px; }
  .account-intro > p { font-size: 14px; }
  .account-panel { padding: 21px; border-radius: 15px; }
  .account-membership-card { min-height: 210px; padding: 20px; }
  .account-dashboard-footer { align-items: flex-start; flex-direction: column; padding: 21px; }
  .account-auth-actions { flex-direction: column; }
  .account-auth-actions .account-button { width: 100%; }
  .account-page-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .account-button { transition: none; }
  .account-button:hover:not(:disabled) { transform: none; }
}
/* NIA FUTURISTIC GEOMETRIC BACKGROUND - EXPERIMENT 1 */
.nia-account-page .account-atmosphere {
  background:
    linear-gradient(
      180deg,
      rgba(9,13,18,.20),
      rgba(9,13,18,.20)
    ),
    url("/account-geometry.svg") center top / cover no-repeat,
    #090d12;
}
/* NIA ACTUAL FUTURISTIC BACKGROUND */
.nia-account-page .account-atmosphere {
  background:
    linear-gradient(
      180deg,
      rgba(9,13,18,.20),
      rgba(9,13,18,.20)
    ),
    url("/nia-futuristic-background.png") center center / cover no-repeat,
    #090d12;
}
/* NIA ACTUAL FUTURISTIC BACKGROUND */
.nia-account-page .account-atmosphere {
  background:
    linear-gradient(
      180deg,
      rgba(9,13,18,.20),
      rgba(9,13,18,.20)
    ),
    url("/nia-futuristic-background.png") center center / cover no-repeat,
    #090d12;
}