:root {
  --account-cyan: #8cecff;
  --account-gold: #ffe0a3;
  --account-lilac: #c8baff;
  --account-white: #f7fbff;
  --account-muted: rgba(229, 241, 255, 0.68);
  --account-line: rgba(214, 237, 255, 0.22);
  --account-glass: rgba(10, 31, 91, 0.7);
}

body.account-body {
  min-width: 320px;
  background: #07133f;
  color: var(--account-white);
}

body.account-body .site-nav {
  background: linear-gradient(180deg, rgba(5, 15, 55, 0.88), rgba(10, 27, 79, 0.62));
  border-bottom-color: rgba(204, 232, 255, 0.2);
  box-shadow: 0 0.8rem 3rem rgba(5, 13, 55, 0.3);
  backdrop-filter: blur(22px) saturate(1.35);
}

body.account-body .site-nav .nav-logo {
  color: #fff0c9;
}

body.account-body .site-nav .nav-links a,
body.account-body .site-nav .nav-btn {
  color: rgba(238, 247, 255, 0.76);
}

.account-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: 7.3rem 1.5rem 5rem;
  background:
    radial-gradient(circle at 75% 12%, rgba(188, 154, 255, 0.3), transparent 25rem),
    radial-gradient(circle at 15% 58%, rgba(59, 202, 255, 0.2), transparent 32rem),
    linear-gradient(155deg, #091b58, #1d54a3 46%, #6648ad);
}

.account-backdrop,
.account-backdrop::before,
.account-backdrop::after,
.account-cosmic-image,
.account-deep-space {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.account-backdrop {
  z-index: -2;
  overflow: hidden;
  background: #123884;
  pointer-events: none;
}

.account-backdrop::before {
  z-index: 2;
  inset: -15%;
  width: auto;
  height: auto;
  content: "";
  background:
    radial-gradient(ellipse at 78% 22%, rgba(255, 250, 240, 0.2), transparent 18%),
    radial-gradient(ellipse at 18% 65%, rgba(83, 221, 255, 0.17), transparent 30%),
    radial-gradient(ellipse at 85% 76%, rgba(210, 145, 255, 0.16), transparent 34%);
  filter: blur(26px);
  mix-blend-mode: screen;
  animation: accountAurora 10s ease-in-out infinite alternate;
}

.account-backdrop::after {
  z-index: 4;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 17, 60, 0.76), rgba(7, 25, 76, 0.38) 45%, rgba(28, 26, 100, 0.18)),
    linear-gradient(180deg, rgba(4, 15, 54, 0.18), rgba(4, 12, 46, 0.76));
}

.account-cosmic-image {
  z-index: 0;
  object-fit: cover;
  object-position: 60% 38%;
  opacity: 0.86;
  filter: saturate(1.15) contrast(1.04) brightness(1.02);
  transform: scale(1.08);
  animation: accountGalaxyDrift 15s ease-in-out infinite alternate;
}

.account-deep-space {
  z-index: 3;
  filter: saturate(1.28) brightness(1.14);
}

.account-deep-space canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.account-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 1140px);
  margin: 0 auto;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.7rem;
}

.account-kicker,
.account-section-heading p,
.membership-card-head p,
.account-profile-eyebrow,
.account-privacy > div p {
  color: var(--account-cyan);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-shadow: 0 0 1.1rem rgba(100, 223, 255, 0.5);
}

.account-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.account-kicker::before {
  width: 1.8rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--account-cyan), transparent);
}

.account-hero h1 {
  margin-top: 0.5rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-shadow: 0 0.8rem 3rem rgba(9, 22, 77, 0.44), 0 0 2rem rgba(108, 211, 255, 0.17);
}

.account-hero > div:first-child > p:last-child {
  max-width: 44rem;
  margin-top: 0.8rem;
  color: rgba(241, 248, 255, 0.8);
  font-size: 0.86rem;
  line-height: 1.75;
}

.account-live-status {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 14rem;
  border: 1px solid var(--account-line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(19, 51, 127, 0.5), rgba(62, 43, 126, 0.4));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 1.2rem 3.5rem rgba(7, 18, 65, 0.22);
  padding: 1rem 1.1rem;
  backdrop-filter: blur(20px) saturate(1.25);
}

.account-status-orbit {
  position: relative;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(142, 235, 255, 0.42);
  border-radius: 50%;
  animation: accountOrbit 6s linear infinite;
}

.account-status-orbit::before {
  position: absolute;
  inset: 0.36rem;
  border: 1px solid rgba(201, 185, 255, 0.35);
  border-radius: 50%;
  content: "";
}

.account-status-orbit i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #8cf1c7;
  box-shadow: 0 0 0.9rem rgba(112, 239, 190, 0.95);
}

.account-live-status small {
  display: block;
  color: rgba(222, 240, 255, 0.56);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.16em;
}

.account-live-status strong {
  display: block;
  margin-top: 0.25rem;
  color: #b3f3d7;
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.account-alert {
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 219, 150, 0.34);
  border-radius: 12px;
  background: rgba(96, 63, 31, 0.28);
  color: #ffe9ba;
  font-size: 0.76rem;
  padding: 0.75rem 0.9rem;
  backdrop-filter: blur(16px);
}

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

.account-view.is-view-enter-forward {
  animation: accountViewEnterForward 460ms cubic-bezier(0.2, 0.78, 0.28, 1) both;
}

.account-view.is-view-enter-back {
  animation: accountViewEnterBack 460ms cubic-bezier(0.2, 0.78, 0.28, 1) both;
}

.account-view.is-view-leave-forward {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  animation: accountViewLeaveForward 320ms ease both;
  pointer-events: none;
}

.account-view.is-view-leave-back {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  animation: accountViewLeaveBack 320ms ease both;
  pointer-events: none;
}

.account-dashboard {
  display: grid;
  grid-template-columns: minmax(250px, 0.66fr) minmax(0, 1.6fr);
  gap: 1rem;
  align-items: stretch;
}

.account-profile-card,
.account-membership-card,
.account-settings,
.account-plan-section,
.account-services,
.account-privacy {
  border: 1px solid rgba(218, 238, 255, 0.28);
  background: linear-gradient(145deg, rgba(9, 31, 92, 0.8), rgba(48, 35, 107, 0.7));
  box-shadow: 0 2rem 6rem rgba(5, 13, 54, 0.28), inset 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(26px) saturate(1.28);
}

.account-settings {
  margin-top: 1rem;
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.account-settings-note {
  color: rgba(230, 242, 255, 0.58);
  font-size: 0.66rem;
}

.account-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.account-settings-form {
  border: 1px solid rgba(216, 238, 255, 0.16);
  border-radius: 16px;
  background: rgba(7, 25, 78, 0.3);
  padding: 1.15rem;
}

.account-settings-form--featured {
  position: relative;
  overflow: hidden;
  border-color: rgba(216, 239, 255, 0.3);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 5%, rgba(150, 221, 255, 0.13), transparent 15rem),
    linear-gradient(145deg, rgba(10, 34, 99, 0.88), rgba(46, 35, 108, 0.78));
  box-shadow: 0 2rem 6rem rgba(5, 14, 58, 0.28), inset 0 1px rgba(255, 255, 255, 0.12);
  padding: clamp(1.3rem, 3vw, 2rem);
  backdrop-filter: blur(28px) saturate(1.3);
}

.account-settings-form--featured::before {
  position: absolute;
  top: 0;
  left: 2rem;
  width: 8rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(151, 233, 255, 0.9), transparent);
  box-shadow: 0 0 1.2rem rgba(121, 221, 255, 0.55);
}

.account-form-heading {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.account-form-heading > span {
  color: var(--account-cyan);
  font: 700 0.62rem "Cinzel", sans-serif;
  letter-spacing: 0.14em;
}

.account-form-heading h3 {
  color: #fff;
  font-size: 0.9rem;
}

.account-form-heading p {
  margin-top: 0.3rem;
  color: rgba(226, 240, 255, 0.54);
  font-size: 0.62rem;
  line-height: 1.65;
}

.account-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

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

.account-form-wide {
  grid-column: 1 / -1;
}

.account-settings-form label {
  display: grid;
  gap: 0.38rem;
  color: rgba(230, 242, 255, 0.7);
  font-size: 0.62rem;
}

.account-settings-form input,
.account-settings-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(221, 239, 255, 0.24);
  border-radius: 9px;
  outline: none;
  background: rgba(8, 27, 82, 0.5);
  color: #fff;
  font: 500 0.72rem "Noto Sans SC", system-ui, sans-serif;
  padding: 0.7rem 0.72rem;
}

.account-settings-form input:focus,
.account-settings-form select:focus {
  border-color: rgba(140, 236, 255, 0.76);
  box-shadow: 0 0 0 3px rgba(140, 236, 255, 0.1);
}

.account-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: end;
  margin-top: 0.8rem;
}

.account-code-row > button,
.account-form-submit {
  min-height: 2.45rem;
  border: 1px solid rgba(255, 224, 163, 0.48);
  border-radius: 9px;
  background: rgba(255, 222, 159, 0.1);
  color: var(--account-gold);
  cursor: pointer;
  font: 600 0.66rem "Noto Sans SC", system-ui, sans-serif;
  padding: 0.65rem 0.85rem;
}

.account-code-row > button:disabled,
.account-form-submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

.account-form-submit {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  border-color: rgba(140, 236, 255, 0.44);
  background: linear-gradient(90deg, rgba(114, 218, 255, 0.13), rgba(255, 221, 157, 0.12));
  color: #f5fbff;
  letter-spacing: 0.08em;
  padding-inline: 1rem;
}

.account-form-submit b {
  color: var(--account-cyan);
  font-size: 0.85rem;
}

.account-form-message {
  min-height: 1.2rem;
  margin-top: 0.65rem;
  color: rgba(229, 241, 255, 0.68);
  font-size: 0.62rem;
}

.account-form-message.is-error { color: #ffc0bc; }
.account-form-message.is-success { color: #a9efd1; }

.account-profile-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  border-radius: 20px;
  padding: 1.55rem;
}

.account-profile-actions {
  display: flex;
  width: 100%;
  gap: 0.5rem;
  margin-top: 1rem;
}

.account-profile-actions button {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 2.25rem;
  border: 1px solid rgba(217, 239, 255, 0.2);
  border-radius: 999px;
  background: rgba(9, 31, 89, 0.42);
  color: rgba(240, 248, 255, 0.82);
  cursor: pointer;
  font: 600 0.58rem "Noto Sans SC", system-ui, sans-serif;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.account-profile-actions button i {
  color: var(--account-cyan);
  font-style: normal;
  text-shadow: 0 0 0.8rem rgba(131, 226, 255, 0.7);
}

.account-profile-actions button:hover,
.account-profile-actions button:focus-visible {
  border-color: rgba(151, 232, 255, 0.58);
  outline: none;
  background: linear-gradient(90deg, rgba(121, 219, 255, 0.16), rgba(255, 219, 151, 0.1));
  color: #fff;
  transform: translateY(-1px);
}

.account-subview {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding-top: 0.2rem;
}

.account-subview-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  border: 0;
  background: transparent;
  color: rgba(236, 246, 255, 0.72);
  cursor: pointer;
  font: 600 0.67rem "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: 0.08em;
  padding: 0.55rem 0;
  transition: color 180ms ease, transform 180ms ease;
}

.account-subview-back span {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 1px solid rgba(210, 237, 255, 0.25);
  border-radius: 50%;
}

.account-subview-back:hover,
.account-subview-back:focus-visible {
  outline: none;
  color: #fff;
  transform: translateX(-3px);
}

.account-subview-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  min-height: 14rem;
  border: 1px solid rgba(218, 240, 255, 0.32);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 24%, rgba(139, 232, 255, 0.28), transparent 15rem),
    linear-gradient(135deg, rgba(10, 39, 111, 0.88), rgba(67, 46, 135, 0.8));
  box-shadow: 0 2rem 7rem rgba(5, 13, 53, 0.32), inset 0 1px rgba(255, 255, 255, 0.16);
  padding: clamp(1.6rem, 4vw, 3rem);
  backdrop-filter: blur(28px) saturate(1.3);
}

.account-subview-hero::after {
  position: absolute;
  right: -5rem;
  bottom: -9rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(193, 235, 255, 0.13);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 2.5rem rgba(195, 167, 255, 0.04), 0 0 0 5rem rgba(122, 218, 255, 0.025);
}

.account-subview-hero--security {
  background:
    radial-gradient(circle at 88% 24%, rgba(255, 213, 142, 0.22), transparent 15rem),
    linear-gradient(135deg, rgba(12, 39, 105, 0.9), rgba(75, 43, 119, 0.82));
}

.account-subview-hero p {
  color: var(--account-cyan);
  font: 700 0.62rem "Cinzel", "Noto Sans SC", sans-serif;
  letter-spacing: 0.24em;
}

.account-subview-hero h1 {
  margin-top: 0.65rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.account-subview-hero > div:first-child > span {
  display: block;
  max-width: 38rem;
  margin-top: 0.75rem;
  color: rgba(237, 247, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.8;
}

.account-subview-symbol {
  position: relative;
  z-index: 1;
  display: grid;
  width: clamp(6rem, 11vw, 8rem);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(219, 242, 255, 0.42);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 224, 162, 0.9), rgba(131, 229, 255, 0.9));
  color: #102866;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 0 3rem rgba(112, 222, 255, 0.25), inset 0 1px rgba(255, 255, 255, 0.7);
}

.account-subview-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1.32fr);
  gap: 1rem;
  align-items: stretch;
  margin-top: 1rem;
}

.account-subview-guide {
  border: 1px solid rgba(218, 239, 255, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 10%, rgba(116, 220, 255, 0.13), transparent 12rem),
    linear-gradient(155deg, rgba(8, 30, 91, 0.76), rgba(42, 33, 102, 0.68));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.11);
  padding: clamp(1.3rem, 3vw, 2rem);
  backdrop-filter: blur(24px) saturate(1.24);
}

.account-guide-index {
  color: var(--account-cyan);
  font: 700 0.58rem "Cinzel", sans-serif;
  letter-spacing: 0.2em;
}

.account-subview-guide h2 {
  margin-top: 1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.account-subview-guide p {
  margin-top: 0.7rem;
  color: rgba(231, 244, 255, 0.65);
  font-size: 0.68rem;
  line-height: 1.85;
}

.account-subview-guide ul {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.3rem;
  list-style: none;
}

.account-subview-guide li {
  position: relative;
  color: rgba(235, 246, 255, 0.78);
  font-size: 0.64rem;
  line-height: 1.6;
  padding-left: 1rem;
}

.account-subview-guide li::before {
  position: absolute;
  top: 0.48rem;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  content: "";
  background: var(--account-cyan);
  box-shadow: 0 0 0.65rem rgba(122, 225, 255, 0.72);
}

.account-logout-link {
  width: 100%;
  margin-top: 1.5rem;
  border: 1px solid rgba(255, 199, 190, 0.2);
  border-radius: 10px;
  background: rgba(109, 44, 68, 0.16);
  color: rgba(255, 218, 213, 0.74);
  cursor: pointer;
  font: 600 0.62rem "Noto Sans SC", system-ui, sans-serif;
  padding: 0.7rem;
}

.account-logout-link:hover {
  border-color: rgba(255, 188, 180, 0.38);
  color: #ffe1dd;
}

.account-avatar {
  display: grid;
  width: 4.6rem;
  height: 4.6rem;
  place-items: center;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(255, 235, 193, 0.74);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 217, 146, 0.98), rgba(139, 230, 255, 0.94));
  color: #0a245f;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 0 2rem rgba(113, 218, 255, 0.2), inset 0 1px rgba(255, 255, 255, 0.72);
}

.account-profile-card h2 {
  margin-top: 0.35rem;
  color: #fff;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.account-identifier {
  margin-top: 0.32rem;
  color: var(--account-muted);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.7rem;
}

.account-profile-state {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  border: 1px solid rgba(218, 238, 255, 0.18);
  border-radius: 999px;
  color: rgba(225, 240, 255, 0.64);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.55rem;
}

.account-profile-state::before {
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  content: "";
  background: rgba(226, 239, 255, 0.5);
}

.account-profile-state.is-active {
  color: #aef0d3;
}

.account-profile-state.is-active::before {
  background: #88edc2;
  box-shadow: 0 0 0.65rem rgba(105, 235, 182, 0.86);
}

.account-details {
  display: grid;
  width: 100%;
  gap: 0.78rem;
  margin-top: auto;
  padding-top: 1.5rem;
}

.account-details div {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(215, 237, 255, 0.12);
}

.account-details dt {
  color: rgba(223, 240, 255, 0.5);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.account-details dd {
  overflow: hidden;
  color: rgba(246, 250, 255, 0.84);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.68rem;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-membership-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: clamp(1.35rem, 3vw, 2rem);
}

.account-membership-card::after {
  position: absolute;
  top: -8rem;
  right: -7rem;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(147, 229, 255, 0.12);
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(154, 132, 255, 0.13), transparent 68%);
  pointer-events: none;
}

.membership-card-head,
.account-section-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.membership-card-head h2,
.account-section-heading h2,
.account-privacy h2 {
  margin-top: 0.3rem;
  color: #fff;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.membership-state {
  border: 1px solid rgba(213, 235, 255, 0.22);
  border-radius: 999px;
  color: rgba(225, 240, 255, 0.62);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  padding: 0.38rem 0.7rem;
}

.membership-state.is-active {
  border-color: rgba(115, 235, 187, 0.3);
  background: rgba(64, 180, 133, 0.1);
  color: #a8f1d2;
}

.membership-primary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.78fr);
  gap: 1rem;
  margin-top: 1.3rem;
}

.membership-primary > div {
  border: 1px solid rgba(217, 238, 255, 0.16);
  border-radius: 14px;
  background: rgba(7, 24, 75, 0.28);
  padding: 1rem 1.1rem;
}

.membership-plan-label,
.membership-expiry span {
  color: rgba(221, 239, 255, 0.55);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.membership-primary h3 {
  margin-top: 0.35rem;
  color: var(--account-gold);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-shadow: 0 0 1.4rem rgba(255, 218, 148, 0.18);
}

.membership-cycle {
  margin-top: 0.3rem;
  color: rgba(230, 241, 255, 0.63);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.66rem;
}

.membership-expiry strong {
  display: block;
  margin-top: 0.35rem;
  color: #fff;
  font-family: "Cinzel", var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  letter-spacing: 0.04em;
}

.membership-expiry small {
  display: block;
  margin-top: 0.28rem;
  color: var(--account-cyan);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.62rem;
}

.membership-progress {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
}

.membership-progress > div {
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(215, 237, 255, 0.12);
}

.membership-progress > div span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--account-gold), var(--account-lilac), var(--account-cyan));
  box-shadow: 0 0 1rem rgba(105, 219, 255, 0.56);
  transition: width 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.membership-progress p {
  display: flex;
  justify-content: space-between;
  margin-top: 0.42rem;
  color: rgba(220, 238, 255, 0.42);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.54rem;
}

.membership-benefits {
  position: relative;
  z-index: 1;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(215, 237, 255, 0.12);
}

.membership-benefits > p {
  color: rgba(222, 239, 255, 0.54);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.membership-benefits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.65rem;
  list-style: none;
}

.membership-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border: 1px solid rgba(211, 235, 255, 0.16);
  border-radius: 999px;
  background: rgba(15, 48, 122, 0.28);
  color: rgba(238, 247, 255, 0.74);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.58rem;
  padding: 0.34rem 0.62rem;
}

.membership-benefits li::before {
  color: #99efcf;
  content: "·";
  font-size: 1.1rem;
  line-height: 0;
}

.membership-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.membership-primary-action,
.membership-secondary-action {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 10px;
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.7rem 0.9rem;
}

.membership-primary-action {
  flex: 1 1 15rem;
  border: 1px solid rgba(255, 236, 198, 0.8);
  background: linear-gradient(100deg, #f4ce82, #d9c4ff 52%, #84e9ff);
  color: #081d52;
  box-shadow: 0 0.8rem 2rem rgba(91, 200, 255, 0.14);
}

.membership-primary-action:hover {
  color: #061a4b;
  transform: translateY(-1px);
}

.membership-secondary-action {
  flex: 0 1 auto;
  border: 1px solid rgba(214, 237, 255, 0.22);
  color: rgba(239, 247, 255, 0.8);
}

.membership-secondary-action:hover {
  border-color: rgba(140, 235, 255, 0.5);
  color: #fff;
}

.account-plan-section,
.account-services,
.account-privacy {
  margin-top: 1rem;
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.account-section-heading > a {
  color: var(--account-gold);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.account-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.account-plan-option {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 9.5rem;
  border: 1px solid rgba(216, 238, 255, 0.16);
  border-radius: 14px;
  background: rgba(7, 25, 78, 0.3);
  color: #fff;
  padding: 1rem;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.account-plan-option:hover {
  border-color: rgba(143, 232, 255, 0.46);
  background: rgba(14, 42, 111, 0.44);
  color: #fff;
  transform: translateY(-2px);
}

.account-plan-option.is-current {
  border-color: rgba(255, 224, 163, 0.48);
  background: linear-gradient(145deg, rgba(94, 68, 151, 0.42), rgba(17, 65, 139, 0.4));
}

.account-plan-option > span {
  color: var(--account-cyan);
  font-family: "Cinzel", sans-serif;
  font-size: 0.54rem;
  letter-spacing: 0.16em;
}

.account-plan-option h3 {
  margin-top: 0.55rem;
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}

.account-plan-option p {
  margin-top: 0.55rem;
  color: rgba(224, 240, 255, 0.58);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.62rem;
}

.account-plan-option p strong {
  color: var(--account-gold);
  font-size: 0.86rem;
}

.account-plan-option > b {
  position: absolute;
  right: 1rem;
  bottom: 0.85rem;
  color: rgba(235, 245, 255, 0.62);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.56rem;
  font-weight: 500;
}

.account-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.account-service-card {
  position: relative;
  display: flex;
  min-height: 12.5rem;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(216, 238, 255, 0.15);
  border-radius: 14px;
  background: rgba(7, 25, 78, 0.28);
  color: #fff;
  padding: 1rem;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

a.account-service-card:hover,
.account-service-card--button:hover {
  border-color: rgba(144, 232, 255, 0.46);
  background: rgba(14, 43, 112, 0.43);
  color: #fff;
  transform: translateY(-2px);
}

.account-service-card--button {
  width: 100%;
  font-family: inherit;
  cursor: pointer;
}

.account-service-index {
  color: var(--account-cyan);
  font-family: "Cinzel", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}

.account-service-card h3 {
  margin-top: 1rem;
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.account-service-card p {
  margin-top: 0.55rem;
  color: rgba(225, 240, 255, 0.57);
  font-size: 0.65rem;
  line-height: 1.75;
}

.account-service-card > b,
.account-service-state {
  margin-top: auto;
  color: var(--account-gold);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.account-service-state {
  border: 1px solid rgba(214, 236, 255, 0.18);
  border-radius: 999px;
  color: #a9efd1;
  padding: 0.26rem 0.5rem;
}

.account-service-state.is-warning {
  border-color: rgba(255, 199, 124, 0.34);
  color: #ffd292;
}

.account-privacy {
  display: grid;
  grid-template-columns: minmax(10rem, 0.42fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.account-privacy > p {
  color: rgba(229, 241, 255, 0.62);
  font-size: 0.72rem;
  line-height: 1.85;
}

@keyframes accountGalaxyDrift {
  from { transform: scale(1.08) translate3d(-1.6%, -0.8%, 0); }
  to { transform: scale(1.16) translate3d(2%, 1.2%, 0); }
}

@keyframes accountAurora {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
}

@keyframes accountOrbit {
  to { transform: rotate(360deg); }
}

@keyframes accountViewEnterForward {
  from { opacity: 0; transform: translate3d(4rem, 0, 0) scale(0.985); filter: blur(8px); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}

@keyframes accountViewLeaveForward {
  from { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
  to { opacity: 0; transform: translate3d(-2.5rem, 0, 0) scale(0.99); filter: blur(6px); }
}

@keyframes accountViewEnterBack {
  from { opacity: 0; transform: translate3d(-3rem, 0, 0) scale(0.99); filter: blur(7px); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}

@keyframes accountViewLeaveBack {
  from { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
  to { opacity: 0; transform: translate3d(3rem, 0, 0) scale(0.99); filter: blur(6px); }
}

@media (max-width: 900px) {
  .account-hero,
  .account-dashboard {
    grid-template-columns: 1fr;
  }

  .account-live-status {
    width: min(100%, 22rem);
  }

  .account-profile-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1rem;
  }

  .account-avatar {
    grid-row: 1 / span 4;
  }

  .account-details {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .account-details dd {
    text-align: left;
  }

  .account-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .account-subview-layout {
    grid-template-columns: 1fr;
  }

  .account-subview-guide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    column-gap: 1.2rem;
  }

  .account-subview-guide .account-guide-index,
  .account-subview-guide h2 {
    grid-column: 1;
  }

  .account-subview-guide p,
  .account-subview-guide ul,
  .account-subview-guide .account-logout-link {
    grid-column: 2;
  }

  .account-subview-guide p {
    grid-row: 1 / span 2;
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  body.account-body .site-nav .nav-links li:nth-child(2),
  body.account-body .site-nav .nav-links li:nth-child(3),
  body.account-body .site-nav .nav-links li:last-child {
    display: none;
  }

  .account-page {
    padding: 6.2rem 0.85rem 3rem;
  }

  .account-hero h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .account-profile-card {
    display: flex;
  }

  .account-profile-actions {
    flex-wrap: wrap;
  }

  .account-subview-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .account-subview-symbol {
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 4.2rem;
    opacity: 0.34;
  }

  .account-subview-guide {
    display: block;
  }

  .account-subview-guide p,
  .account-subview-guide ul,
  .account-subview-guide .account-logout-link {
    margin-top: 0.8rem;
  }

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

  .membership-primary,
  .account-form-grid,
  .account-code-row,
  .account-plan-grid,
  .account-service-grid,
  .account-privacy {
    grid-template-columns: 1fr;
  }

  .membership-secondary-action {
    flex: 1 1 100%;
    justify-content: center;
  }

  .account-service-card {
    min-height: 10.5rem;
  }
}

/* Homepage-aligned observatory theme with a restrained rotating black hole. */
body.account-body {
  background: #050814;
  color: #f1eee6;
}

.account-page {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 54% 46% at 84% 10%, rgba(42, 88, 122, 0.2), transparent 74%),
    radial-gradient(ellipse 42% 52% at 10% 72%, rgba(113, 62, 114, 0.13), transparent 75%),
    #050814;
}

.account-page::before {
  position: absolute;
  z-index: -1;
  top: clamp(5.5rem, 9vw, 8rem);
  right: clamp(-13rem, -8vw, -5rem);
  width: min(67vw, 54rem);
  aspect-ratio: 1.72;
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(ellipse at center, #010207 0 12%, rgba(0, 0, 0, 0.98) 13% 21%, transparent 22%),
    radial-gradient(ellipse at center, transparent 0 23%, rgba(239, 199, 120, 0.16) 24% 27%, transparent 28% 34%, rgba(143, 213, 207, 0.18) 35% 37%, transparent 38% 46%, rgba(239, 199, 120, 0.12) 47% 50%, transparent 51%),
    repeating-radial-gradient(ellipse at center, transparent 0 6px, rgba(239, 199, 120, 0.08) 7px 10px, transparent 11px 25px),
    conic-gradient(from 18deg at 50% 50%, transparent 0deg, rgba(239, 199, 120, 0.5) 30deg, rgba(143, 213, 207, 0.16) 70deg, transparent 116deg, rgba(199, 166, 207, 0.28) 190deg, transparent 245deg, rgba(239, 199, 120, 0.34) 310deg, transparent 360deg);
  box-shadow: 0 0 5rem rgba(239, 199, 120, 0.16), 0 0 12rem rgba(74, 153, 180, 0.12);
  filter: blur(0.2px) saturate(1.1);
  opacity: 0.84;
  pointer-events: none;
  transform: rotate(-15deg);
  animation: accountBlackHoleSpin 32s linear infinite;
}

.account-page::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 8, 20, 0.98) 0%, rgba(5, 8, 20, 0.88) 35%, rgba(5, 8, 20, 0.5) 66%, rgba(5, 8, 20, 0.78) 100%),
    linear-gradient(180deg, rgba(5, 8, 20, 0.24), rgba(5, 8, 20, 0.86));
  pointer-events: none;
}

.account-backdrop {
  opacity: 0.32;
}

.account-backdrop::after {
  background: linear-gradient(90deg, rgba(5, 8, 20, 0.66), rgba(5, 8, 20, 0.2) 58%, rgba(5, 8, 20, 0.72));
}

.account-cosmic-image {
  opacity: 0.2;
  filter: saturate(0.52) contrast(1.06) brightness(0.6);
}

.account-deep-space {
  opacity: 0.32;
}

.account-shell {
  width: min(100%, 1120px);
}

.account-hero h1,
.account-profile-card h2,
.membership-card-head h2,
.account-section-heading h2,
.account-privacy h2,
.account-subview-hero h1,
.account-subview-guide h2,
.account-form-heading h3 {
  font-family: "Noto Serif SC", Georgia, serif;
}

.account-hero h1 {
  color: #f7f2e8;
  font-size: clamp(2.45rem, 5.4vw, 4.2rem);
  letter-spacing: 0.06em;
  line-height: 1.17;
}

.account-profile-card,
.account-membership-card,
.account-settings,
.account-plan-section,
.account-services,
.account-privacy {
  border-color: rgba(241, 238, 230, 0.13);
  border-radius: 2px;
  background: linear-gradient(145deg, rgba(17, 24, 38, 0.9), rgba(8, 13, 25, 0.86));
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.26), inset 0 1px rgba(255, 255, 255, 0.065);
}

.account-profile-card {
  padding: 1.8rem;
}

.account-avatar {
  border-radius: 50%;
  background: linear-gradient(145deg, #efc778, #8fd5cf);
  color: #101722;
  box-shadow: 0 0 2.4rem rgba(239, 199, 120, 0.16), inset 0 1px rgba(255, 255, 255, 0.75);
}

.account-profile-card h2,
.account-section-heading h2,
.account-privacy h2,
.account-subview-guide h2 {
  color: #f4eee1;
}

.account-membership-card {
  border-color: rgba(239, 199, 120, 0.28);
  background:
    radial-gradient(circle at 94% 8%, rgba(239, 199, 120, 0.14), transparent 17rem),
    linear-gradient(145deg, rgba(30, 33, 45, 0.96), rgba(8, 13, 25, 0.94));
}

.account-plan-section,
.account-services,
.account-privacy {
  margin-top: 1.1rem;
}

.account-plan-option,
.account-service-card {
  border-color: rgba(241, 238, 230, 0.12);
  border-radius: 2px;
  background: rgba(241, 238, 230, 0.035);
}

.account-plan-option:hover,
.account-service-card:hover,
.account-service-card--button:hover {
  border-color: rgba(239, 199, 120, 0.5);
  background: rgba(239, 199, 120, 0.07);
}

.account-plan-option.is-current {
  border-color: rgba(239, 199, 120, 0.52);
  background: rgba(239, 199, 120, 0.1);
}

.account-subview-hero {
  border-color: rgba(239, 199, 120, 0.25);
  border-radius: 2px;
  background:
    radial-gradient(circle at 88% 18%, rgba(143, 213, 207, 0.16), transparent 16rem),
    linear-gradient(135deg, rgba(23, 37, 53, 0.95), rgba(8, 13, 25, 0.92));
}

.account-subview-guide,
.account-settings-form--featured,
.account-settings-form {
  border-radius: 2px;
  background: linear-gradient(145deg, rgba(17, 26, 41, 0.92), rgba(8, 13, 25, 0.88));
}

@keyframes accountBlackHoleSpin {
  from { transform: rotate(-15deg) scale(1); }
  50% { transform: rotate(165deg) scale(1.035); }
  to { transform: rotate(345deg) scale(1); }
}

@media (max-width: 680px) {
  .account-page::before {
    top: 5.5rem;
    right: -13rem;
    width: 39rem;
    opacity: 0.62;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-page::before {
    animation: none;
  }
}

/* Exact homepage visual language: the account center sits inside the same
   dark observatory as the home hero, with no competing second theme. */
body.account-body {
  background: #050814;
  color: rgba(241, 238, 230, 0.9);
  font-family: "Noto Serif SC", Georgia, serif;
}

body.account-body .site-nav {
  min-height: 4rem;
  padding: 0.62rem clamp(1.25rem, 3.2vw, 3.5rem);
  background: linear-gradient(180deg, rgba(6, 10, 26, 0.88), rgba(6, 12, 31, 0.76));
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0.8rem 2.8rem rgba(2, 7, 24, 0.18);
  backdrop-filter: blur(20px) saturate(1.18);
}

body.account-body .site-nav .nav-logo {
  color: #f1eee6;
  font-family: "Cinzel", serif;
  letter-spacing: 0.3em;
}

body.account-body .site-nav .nav-links a,
body.account-body .site-nav .nav-btn {
  color: rgba(241, 238, 230, 0.62);
  font-family: "Noto Serif SC", serif;
}

body.account-body .site-nav .nav-links a:hover,
body.account-body .site-nav .nav-btn:hover {
  color: #f6ddaa;
}

body.account-body .site-nav .session-account-card {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 0.45rem 1.4rem rgba(5, 16, 54, 0.14);
  color: #f7fbff !important;
}

body.account-body .site-nav .session-account-avatar {
  border-color: rgba(255, 231, 183, 0.58);
  background: linear-gradient(145deg, rgba(255, 220, 153, 0.95), rgba(174, 223, 235, 0.94));
  color: #0b245d;
}

body.account-body .site-nav .session-account-name {
  color: #fff;
}

body.account-body .site-nav .session-account-meta {
  color: rgba(218, 239, 255, 0.5);
}

.account-page {
  overflow: hidden;
  padding: clamp(7.5rem, 13vh, 9.5rem) 1.5rem 5rem;
  background: #050814;
}

.account-page::before,
.account-page::after {
  display: none;
}

.account-backdrop {
  display: block;
  opacity: 1;
  background: #050814;
}

.account-backdrop::before {
  background:
    radial-gradient(ellipse at 78% 22%, rgba(255, 250, 240, 0.12), transparent 18%),
    radial-gradient(ellipse at 18% 65%, rgba(83, 221, 255, 0.1), transparent 30%),
    radial-gradient(ellipse at 85% 76%, rgba(210, 145, 255, 0.1), transparent 34%);
  filter: blur(28px);
  mix-blend-mode: screen;
}

.account-backdrop::after {
  background:
    linear-gradient(90deg, rgba(3, 6, 16, 0.92), rgba(3, 6, 16, 0.46) 47%, rgba(3, 6, 16, 0.78)),
    linear-gradient(180deg, rgba(3, 6, 16, 0.38), rgba(3, 6, 16, 0.94));
}

.account-cosmic-image {
  opacity: 0.36;
  filter: saturate(0.82) contrast(1.06);
  transform: scale(1.06);
  animation: accountHomeHeroDrift 18s ease-in-out infinite alternate;
}

.account-deep-space {
  opacity: 0.84;
  filter: none;
}

.account-shell {
  width: min(100%, 1140px);
}

.account-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.2rem;
  margin-bottom: 2rem;
}

.account-kicker,
.account-section-heading p,
.membership-card-head p,
.account-profile-eyebrow,
.account-privacy > div p {
  color: #f6ddaa;
  font-family: "Cinzel", "Noto Serif SC", serif;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-shadow: none;
}

.account-kicker::before {
  width: 2.6rem;
  background: #f6ddaa;
}

.account-hero h1 {
  color: #f7f2e8;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.7rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.18;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.36);
}

.account-hero > div:first-child > p:last-child {
  max-width: 38rem;
  color: rgba(241, 238, 230, 0.72);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  line-height: 2;
}

.account-live-status {
  min-width: 14rem;
  border: 1px solid rgba(241, 238, 230, 0.16);
  border-radius: 2px;
  background: rgba(14, 21, 37, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.account-status-orbit {
  border-color: rgba(239, 199, 120, 0.55);
  animation: accountOrbit 8s linear infinite;
}

.account-status-orbit::before {
  border-color: rgba(143, 213, 207, 0.32);
}

.account-status-orbit i {
  background: #8fd5cf;
  box-shadow: 0 0 0.9rem rgba(143, 213, 207, 0.9);
}

.account-live-status small {
  color: rgba(241, 238, 230, 0.48);
  font-family: "Cinzel", sans-serif;
}

.account-live-status strong {
  color: #8fd5cf;
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

.account-dashboard {
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.55fr);
  gap: 1rem;
}

.account-profile-card,
.account-membership-card,
.account-settings,
.account-plan-section,
.account-services,
.account-privacy {
  border: 1px solid rgba(241, 238, 230, 0.14);
  border-radius: 2px;
  background: linear-gradient(145deg, rgba(14, 22, 38, 0.9), rgba(8, 13, 25, 0.78));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(22px) saturate(1.08);
}

.account-profile-card {
  padding: 1.65rem;
}

.account-avatar {
  width: 4.6rem;
  height: 4.6rem;
  border: 1px solid rgba(239, 199, 120, 0.72);
  background: linear-gradient(145deg, rgba(255, 220, 153, 0.96), rgba(143, 213, 207, 0.94));
  color: #111a24;
  box-shadow: 0 0 1.8rem rgba(113, 218, 255, 0.17), inset 0 1px rgba(255, 255, 255, 0.72);
}

.account-profile-eyebrow {
  color: rgba(241, 238, 230, 0.48);
  text-shadow: none;
}

.account-profile-card h2,
.membership-card-head h2,
.account-section-heading h2,
.account-privacy h2,
.account-subview-hero h1,
.account-subview-guide h2,
.account-form-heading h3 {
  color: #f4eee1;
  font-family: "Noto Serif SC", Georgia, serif;
}

.account-profile-card h2 {
  font-size: 1.32rem;
  letter-spacing: 0.07em;
}

.account-identifier,
.account-details dt {
  color: rgba(241, 238, 230, 0.52);
}

.account-profile-state {
  border-color: rgba(143, 213, 207, 0.26);
  border-radius: 2px;
  color: #8fd5cf;
}

.account-profile-state.is-active {
  border-color: rgba(143, 213, 207, 0.34);
  background: rgba(143, 213, 207, 0.08);
  color: #8fd5cf;
}

.account-profile-actions button {
  min-height: 2.35rem;
  border: 1px solid rgba(241, 238, 230, 0.16);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(241, 238, 230, 0.8);
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

.account-profile-actions button i {
  color: #efc778;
  text-shadow: 0 0 0.8rem rgba(239, 199, 120, 0.58);
}

.account-profile-actions button:hover,
.account-profile-actions button:focus-visible {
  border-color: rgba(239, 199, 120, 0.55);
  background: rgba(239, 199, 120, 0.1);
  color: #f6ddaa;
}

.account-details div {
  border-top-color: rgba(241, 238, 230, 0.12);
}

.account-details dd {
  color: rgba(241, 238, 230, 0.84);
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

.account-membership-card {
  border-color: rgba(239, 199, 120, 0.28);
  background: linear-gradient(145deg, rgba(30, 36, 51, 0.94), rgba(8, 13, 25, 0.86));
}

.membership-card-head p,
.account-section-heading p,
.account-privacy > div p {
  color: #8fd5cf;
}

.membership-primary > div {
  border-color: rgba(241, 238, 230, 0.14);
  border-radius: 2px;
  background: rgba(241, 238, 230, 0.045);
}

.membership-primary h3 {
  color: #f6ddaa;
  font-family: "Noto Serif SC", Georgia, serif;
  text-shadow: 0 0 1.4rem rgba(239, 199, 120, 0.18);
}

.membership-progress > div span {
  background: linear-gradient(90deg, #efc778, #f6ddaa, #8fd5cf);
  box-shadow: 0 0 1rem rgba(105, 219, 255, 0.56);
}

.membership-primary-action,
.account-form-submit {
  border-radius: 2px;
  background: #efc778;
  color: #13100d;
  box-shadow: none;
  font-family: "Noto Serif SC", serif;
}

.membership-primary-action:hover,
.account-form-submit:hover {
  background: #f6ddaa;
  color: #13100d;
}

.membership-primary-action b,
.account-form-submit b {
  color: #13100d;
}

.membership-secondary-action,
.account-section-heading > a {
  color: #f6ddaa;
}

.account-plan-section,
.account-services,
.account-privacy {
  margin-top: 1rem;
}

.account-plan-option,
.account-service-card {
  border-color: rgba(241, 238, 230, 0.12);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.035);
}

.account-plan-option:hover,
.account-service-card:hover,
.account-service-card--button:hover {
  border-color: rgba(239, 199, 120, 0.48);
  background: rgba(255, 255, 255, 0.07);
}

.account-plan-option.is-current {
  border-color: rgba(239, 199, 120, 0.58);
  background: rgba(239, 199, 120, 0.08);
}

.account-plan-option > span,
.account-service-index {
  color: #8fd5cf;
}

.account-plan-option h3,
.account-service-card h3 {
  color: #f4eee1;
  font-family: "Noto Serif SC", Georgia, serif;
}

.account-plan-option p,
.account-service-card p {
  color: rgba(241, 238, 230, 0.55);
}

.account-plan-option p strong,
.account-plan-option > b,
.account-service-card > b,
.account-service-state {
  color: #efc778;
}

.account-service-state {
  border-color: rgba(143, 213, 207, 0.25);
  border-radius: 2px;
}

.account-privacy {
  background: linear-gradient(105deg, rgba(14, 23, 36, 0.88), rgba(8, 13, 25, 0.8));
}

.account-privacy > p {
  color: rgba(241, 238, 230, 0.58);
}

.account-subview-back {
  color: rgba(241, 238, 230, 0.65);
  font-family: "Noto Serif SC", serif;
}

.account-subview-back span {
  border-color: rgba(241, 238, 230, 0.25);
}

.account-subview-back:hover,
.account-subview-back:focus-visible {
  color: #f6ddaa;
}

.account-subview-hero {
  border-color: rgba(239, 199, 120, 0.26);
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(21, 36, 55, 0.9), rgba(8, 13, 25, 0.83));
}

.account-subview-hero p,
.account-guide-index {
  color: #8fd5cf;
}

.account-subview-hero h1 {
  color: #f4eee1;
}

.account-subview-hero > div:first-child > span,
.account-subview-guide p,
.account-form-heading p,
.account-form-message,
.account-settings-form label {
  color: rgba(241, 238, 230, 0.58);
}

.account-subview-symbol {
  border-color: rgba(239, 199, 120, 0.62);
  background: linear-gradient(145deg, #efc778, #8fd5cf);
  color: #101a25;
  box-shadow: 0 0 3rem rgba(239, 199, 120, 0.14), inset 0 1px rgba(255, 255, 255, 0.72);
}

.account-subview-guide,
.account-settings-form--featured,
.account-settings-form {
  border-color: rgba(241, 238, 230, 0.14);
  border-radius: 2px;
  background: linear-gradient(145deg, rgba(17, 27, 43, 0.9), rgba(8, 13, 25, 0.83));
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.05);
}

.account-subview-guide li {
  color: rgba(241, 238, 230, 0.72);
}

.account-subview-guide li::before {
  background: #efc778;
  box-shadow: 0 0 0.65rem rgba(239, 199, 120, 0.58);
}

.account-form-heading > span {
  color: #efc778;
}

.account-settings-form input,
.account-settings-form select {
  border-color: rgba(241, 238, 230, 0.19);
  border-radius: 1px;
  background: rgba(4, 8, 18, 0.56);
  color: #f1eee6;
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

.account-settings-form input:focus,
.account-settings-form select:focus {
  border-color: rgba(239, 199, 120, 0.7);
  box-shadow: 0 0 0 3px rgba(239, 199, 120, 0.08);
}

.account-code-row > button {
  border-color: rgba(239, 199, 120, 0.55);
  border-radius: 1px;
  background: rgba(239, 199, 120, 0.1);
  color: #f6ddaa;
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

.account-logout-link {
  border-radius: 1px;
  background: rgba(109, 44, 68, 0.16);
  color: #f2b2ab;
}

@keyframes accountHomeHeroDrift {
  from { transform: scale(1.06) translate3d(-0.7%, -0.3%, 0); }
  to { transform: scale(1.1) translate3d(0.8%, 0.5%, 0); }
}

@media (max-width: 900px) {
  .account-hero,
  .account-dashboard {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .account-page {
    padding: 6.6rem 0.85rem 3.5rem;
  }

  .account-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
    letter-spacing: 0.07em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-cosmic-image {
    animation: none;
  }
}

/* Refined brand theme: editorial dark, warm metal accents, quiet hierarchy. */
:root {
  --account-cyan: #8fd5cf;
  --account-gold: #efc778;
  --account-lilac: #c7a6cf;
  --account-white: #f1eee6;
  --account-muted: rgba(241, 238, 230, 0.58);
  --account-line: rgba(241, 238, 230, 0.15);
  --account-glass: rgba(15, 21, 33, 0.84);
}

body.account-body {
  background: #090d16;
  color: #f1eee6;
  font-family: "Noto Serif SC", Georgia, serif;
}

body.account-body .site-nav {
  background: rgba(6, 10, 18, 0.78);
  border-bottom-color: rgba(239, 199, 120, 0.16);
  box-shadow: 0 16px 38px rgba(2, 7, 24, 0.18);
  backdrop-filter: blur(22px) saturate(1.16);
}

body.account-body .site-nav .nav-logo {
  color: #f2d18e;
  letter-spacing: 0.24em;
}

body.account-body .site-nav .nav-links a,
body.account-body .site-nav .nav-btn {
  color: rgba(241, 238, 230, 0.62);
}

body.account-body .site-nav .nav-links a:hover,
body.account-body .site-nav .nav-btn:hover {
  color: #f6ddaa;
}

body.account-body .site-nav .session-account-card {
  border-color: rgba(239, 199, 120, 0.25);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(2, 7, 24, 0.16);
  color: #f1eee6 !important;
}

body.account-body .site-nav .session-account-card:hover,
body.account-body .site-nav .session-account-card:focus-visible {
  border-color: rgba(239, 199, 120, 0.55);
  background: rgba(239, 199, 120, 0.08);
  color: #f6ddaa !important;
}

body.account-body .site-nav .session-account-avatar {
  border-color: rgba(239, 199, 120, 0.6);
  background: linear-gradient(145deg, #f4d68e, #90cbc5);
  color: #111a24;
  box-shadow: none;
}

body.account-body .site-nav .session-account-name {
  color: #f1eee6;
}

body.account-body .site-nav .session-account-meta {
  color: rgba(241, 238, 230, 0.46);
}

.account-page {
  overflow: visible;
  padding: clamp(7rem, 12vh, 9rem) 1.5rem 5.5rem;
  background:
    radial-gradient(ellipse 48% 38% at 84% 6%, rgba(74, 123, 145, 0.2), transparent 72%),
    radial-gradient(ellipse 45% 42% at 8% 62%, rgba(143, 84, 121, 0.14), transparent 74%),
    #090d16;
}

.account-backdrop {
  display: block;
  opacity: 0.6;
}

.account-backdrop::after {
  background:
    linear-gradient(100deg, rgba(5, 9, 18, 0.96), rgba(7, 14, 28, 0.8) 48%, rgba(14, 12, 28, 0.94)),
    linear-gradient(180deg, rgba(3, 6, 13, 0.42), rgba(3, 6, 13, 0.94));
}

.account-cosmic-image {
  opacity: 0.22;
  filter: saturate(0.58) contrast(1.06) brightness(0.72);
  animation: none;
}

.account-deep-space {
  opacity: 0.22;
  filter: saturate(0.72) brightness(0.82);
}

.account-shell {
  width: min(100%, 1120px);
}

.account-hero {
  margin-bottom: 2.3rem;
}

.account-kicker,
.account-section-heading p,
.membership-card-head p,
.account-profile-eyebrow,
.account-privacy > div p {
  color: #8fd5cf;
  font-family: "Cinzel", "Noto Sans SC", sans-serif;
  font-size: 0.63rem;
  letter-spacing: 0.19em;
  text-shadow: 0 0 1.2rem rgba(143, 213, 207, 0.24);
}

.account-kicker::before {
  background: linear-gradient(90deg, #efc778, transparent);
}

.account-hero h1 {
  color: #f4eee1;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.22;
  text-shadow: 0 14px 42px rgba(2, 7, 24, 0.42);
}

.account-hero > div:first-child > p:last-child {
  color: rgba(241, 238, 230, 0.66);
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.82rem;
  line-height: 1.85;
}

.account-live-status {
  min-width: 13.5rem;
  border: 1px solid rgba(239, 199, 120, 0.25);
  border-radius: 3px;
  background: rgba(15, 22, 34, 0.76);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 18px 38px rgba(2, 7, 24, 0.2);
  padding: 0.95rem 1.05rem;
  backdrop-filter: blur(18px);
}

.account-status-orbit {
  width: 2.25rem;
  height: 2.25rem;
  border-color: rgba(239, 199, 120, 0.46);
  animation: none;
}

.account-status-orbit::before {
  display: block;
  border-color: rgba(143, 213, 207, 0.28);
}

.account-status-orbit i {
  width: 0.4rem;
  height: 0.4rem;
  background: #8fd5cf;
  box-shadow: 0 0 0.85rem rgba(143, 213, 207, 0.8);
}

.account-live-status small {
  color: rgba(241, 238, 230, 0.42);
  font-family: "Cinzel", sans-serif;
  letter-spacing: 0.15em;
}

.account-live-status strong {
  color: #a9e4de;
  font-family: "Noto Sans SC", system-ui, sans-serif;
  font-size: 0.65rem;
}

.account-alert {
  border-color: rgba(239, 199, 120, 0.35);
  border-radius: 2px;
  background: rgba(102, 75, 31, 0.22);
  color: #f6ddaa;
}

.account-dashboard {
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.55fr);
  gap: 1.05rem;
}

.account-profile-card,
.account-membership-card,
.account-settings,
.account-plan-section,
.account-services,
.account-privacy {
  border: 1px solid rgba(241, 238, 230, 0.14);
  background: linear-gradient(145deg, rgba(19, 27, 42, 0.9), rgba(11, 16, 28, 0.86));
  box-shadow: 0 22px 62px rgba(2, 7, 24, 0.25), inset 0 1px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(22px) saturate(1.15);
}

.account-profile-card {
  border-radius: 3px;
  padding: 1.7rem;
}

.account-avatar {
  width: 4.35rem;
  height: 4.35rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(239, 199, 120, 0.72);
  border-radius: 50%;
  background: linear-gradient(145deg, #f4d68e, #8fcfc8);
  color: #101a25;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 1.45rem;
  box-shadow: 0 0 2.2rem rgba(239, 199, 120, 0.13), inset 0 1px rgba(255, 255, 255, 0.7);
}

.account-profile-eyebrow {
  color: rgba(241, 238, 230, 0.45);
  font-family: "Cinzel", sans-serif;
  letter-spacing: 0.15em;
  text-shadow: none;
}

.account-profile-card h2 {
  color: #f4eee1;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 1.38rem;
  letter-spacing: 0.04em;
}

.account-identifier,
.account-details dt {
  color: rgba(241, 238, 230, 0.48);
}

.account-profile-state {
  border-color: rgba(143, 213, 207, 0.22);
  border-radius: 2px;
  color: #a9e4de;
}

.account-profile-state.is-active {
  border-color: rgba(143, 213, 207, 0.34);
  background: rgba(143, 213, 207, 0.08);
  color: #a9e4de;
}

.account-profile-actions button {
  min-height: 2.35rem;
  border: 1px solid rgba(241, 238, 230, 0.16);
  border-radius: 2px;
  background: rgba(241, 238, 230, 0.045);
  color: rgba(241, 238, 230, 0.78);
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

.account-profile-actions button i {
  color: #efc778;
  text-shadow: 0 0 0.75rem rgba(239, 199, 120, 0.42);
}

.account-profile-actions button:hover,
.account-profile-actions button:focus-visible {
  border-color: rgba(239, 199, 120, 0.54);
  background: rgba(239, 199, 120, 0.09);
  color: #f6ddaa;
  transform: none;
}

.account-details {
  padding-top: 1.55rem;
}

.account-details div {
  border-top-color: rgba(241, 238, 230, 0.12);
}

.account-details dd {
  color: rgba(241, 238, 230, 0.82);
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

.account-membership-card {
  border-color: rgba(239, 199, 120, 0.28);
  border-radius: 3px;
  background:
    radial-gradient(circle at 92% 8%, rgba(239, 199, 120, 0.13), transparent 16rem),
    linear-gradient(145deg, rgba(35, 38, 49, 0.96), rgba(11, 16, 28, 0.94));
  box-shadow: 0 24px 68px rgba(2, 7, 24, 0.32), inset 0 1px rgba(255, 255, 255, 0.1);
}

.account-membership-card::after {
  border-color: rgba(239, 199, 120, 0.12);
  background: radial-gradient(circle, rgba(143, 213, 207, 0.08), transparent 68%);
}

.membership-card-head h2,
.account-section-heading h2,
.account-privacy h2 {
  color: #f4eee1;
  font-family: "Noto Serif SC", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
}

.membership-card-head p {
  color: #8fd5cf;
}

.membership-state {
  border-color: rgba(241, 238, 230, 0.18);
  border-radius: 2px;
  color: rgba(241, 238, 230, 0.56);
}

.membership-state.is-active {
  border-color: rgba(143, 213, 207, 0.34);
  background: rgba(143, 213, 207, 0.08);
  color: #a9e4de;
}

.membership-primary > div {
  border-color: rgba(241, 238, 230, 0.14);
  border-radius: 2px;
  background: rgba(241, 238, 230, 0.045);
}

.membership-plan-label,
.membership-expiry span,
.membership-benefits > p {
  color: rgba(241, 238, 230, 0.48);
}

.membership-primary h3 {
  color: #f6ddaa;
  font-family: "Noto Serif SC", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 0 1.5rem rgba(239, 199, 120, 0.16);
}

.membership-cycle,
.membership-progress p {
  color: rgba(241, 238, 230, 0.58);
}

.membership-expiry strong {
  color: #f4eee1;
  font-family: "Cinzel", "Noto Sans SC", sans-serif;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.membership-expiry small {
  color: #a9e4de;
}

.membership-progress > div {
  background: rgba(241, 238, 230, 0.14);
}

.membership-progress > div span {
  background: linear-gradient(90deg, #efc778, #f6ddaa, #8fd5cf);
  box-shadow: 0 0 1rem rgba(239, 199, 120, 0.35);
}

.membership-benefits {
  border-top-color: rgba(241, 238, 230, 0.13);
}

.membership-benefits li {
  border-color: rgba(241, 238, 230, 0.14);
  border-radius: 2px;
  background: rgba(241, 238, 230, 0.045);
  color: rgba(241, 238, 230, 0.72);
}

.membership-benefits li::before {
  color: #8fd5cf;
}

.membership-primary-action {
  border: 0;
  border-radius: 2px;
  background: linear-gradient(105deg, #efc778, #f6ddaa);
  color: #111a24;
  box-shadow: 0 10px 24px rgba(239, 199, 120, 0.13);
}

.membership-primary-action:hover {
  background: linear-gradient(105deg, #f6ddaa, #efc778);
  color: #111a24;
  transform: translateY(-1px);
}

.membership-primary-action b {
  color: #18232c;
}

.membership-secondary-action {
  border-color: rgba(241, 238, 230, 0.2);
  border-radius: 2px;
  color: rgba(241, 238, 230, 0.8);
}

.membership-secondary-action:hover {
  border-color: rgba(143, 213, 207, 0.46);
  color: #a9e4de;
}

.account-plan-section,
.account-services,
.account-privacy {
  margin-top: 1.05rem;
  border-radius: 3px;
}

.account-section-heading p,
.account-privacy > div p {
  color: #8fd5cf;
}

.account-section-heading > a {
  color: #efc778;
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

.account-plan-grid {
  gap: 0.75rem;
}

.account-plan-option,
.account-service-card {
  border-color: rgba(241, 238, 230, 0.12);
  border-radius: 2px;
  background: rgba(241, 238, 230, 0.035);
  color: #f1eee6;
}

.account-plan-option:hover,
.account-service-card:hover,
.account-service-card--button:hover {
  border-color: rgba(239, 199, 120, 0.48);
  background: rgba(239, 199, 120, 0.065);
  color: #f1eee6;
  transform: translateY(-2px);
}

.account-plan-option.is-current {
  border-color: rgba(239, 199, 120, 0.52);
  background: rgba(239, 199, 120, 0.09);
}

.account-plan-option > span,
.account-service-index {
  color: #8fd5cf;
}

.account-plan-option h3,
.account-service-card h3 {
  color: #f4eee1;
  font-family: "Noto Serif SC", Georgia, serif;
}

.account-plan-option p,
.account-service-card p {
  color: rgba(241, 238, 230, 0.54);
}

.account-plan-option p strong {
  color: #f6ddaa;
}

.account-plan-option > b,
.account-service-card > b,
.account-service-state {
  color: #efc778;
}

.account-service-state {
  border-color: rgba(143, 213, 207, 0.25);
  border-radius: 2px;
  color: #a9e4de;
}

.account-privacy {
  background: linear-gradient(105deg, rgba(14, 23, 36, 0.88), rgba(11, 16, 28, 0.84));
}

.account-privacy > p {
  color: rgba(241, 238, 230, 0.55);
}

.account-subview-back {
  color: rgba(241, 238, 230, 0.62);
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

.account-subview-back span {
  border-color: rgba(241, 238, 230, 0.22);
}

.account-subview-back:hover,
.account-subview-back:focus-visible {
  color: #f6ddaa;
}

.account-subview-hero {
  min-height: 14rem;
  border-color: rgba(239, 199, 120, 0.24);
  border-radius: 3px;
  background:
    radial-gradient(circle at 88% 20%, rgba(143, 213, 207, 0.16), transparent 15rem),
    linear-gradient(135deg, rgba(25, 38, 54, 0.94), rgba(14, 20, 33, 0.92));
  box-shadow: 0 22px 62px rgba(2, 7, 24, 0.25), inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.account-subview-hero::after {
  border-color: rgba(239, 199, 120, 0.11);
  box-shadow: 0 0 0 2.5rem rgba(143, 213, 207, 0.035), 0 0 0 5rem rgba(239, 199, 120, 0.022);
}

.account-subview-hero--security {
  background:
    radial-gradient(circle at 88% 20%, rgba(239, 199, 120, 0.15), transparent 15rem),
    linear-gradient(135deg, rgba(31, 34, 47, 0.94), rgba(14, 20, 33, 0.92));
}

.account-subview-hero p,
.account-guide-index {
  color: #8fd5cf;
}

.account-subview-hero h1 {
  color: #f4eee1;
  font-family: "Noto Serif SC", Georgia, serif;
  letter-spacing: 0.03em;
}

.account-subview-hero > div:first-child > span,
.account-subview-guide p {
  color: rgba(241, 238, 230, 0.62);
}

.account-subview-symbol {
  border: 1px solid rgba(239, 199, 120, 0.55);
  background: linear-gradient(145deg, #efc778, #8fd5cf);
  color: #101a25;
  box-shadow: 0 0 3rem rgba(239, 199, 120, 0.12), inset 0 1px rgba(255, 255, 255, 0.7);
}

.account-subview-guide {
  border-color: rgba(241, 238, 230, 0.14);
  border-radius: 3px;
  background: linear-gradient(155deg, rgba(19, 28, 42, 0.86), rgba(11, 16, 28, 0.82));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
}

.account-subview-guide h2 {
  color: #f4eee1;
  font-family: "Noto Serif SC", Georgia, serif;
}

.account-subview-guide li {
  color: rgba(241, 238, 230, 0.68);
}

.account-subview-guide li::before {
  background: #efc778;
  box-shadow: 0 0 0.65rem rgba(239, 199, 120, 0.5);
}

.account-settings-form--featured,
.account-settings-form {
  border-color: rgba(241, 238, 230, 0.16);
  border-radius: 3px;
  background: linear-gradient(145deg, rgba(20, 29, 44, 0.94), rgba(11, 16, 28, 0.9));
  box-shadow: 0 22px 62px rgba(2, 7, 24, 0.25), inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.account-form-heading > span {
  color: #efc778;
}

.account-form-heading h3 {
  color: #f4eee1;
  font-family: "Noto Serif SC", Georgia, serif;
}

.account-form-heading p,
.account-form-message,
.account-settings-form label {
  color: rgba(241, 238, 230, 0.55);
}

.account-settings-form input,
.account-settings-form select {
  border-color: rgba(241, 238, 230, 0.2);
  border-radius: 2px;
  background: rgba(5, 9, 18, 0.5);
  color: #f1eee6;
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

.account-settings-form input:focus,
.account-settings-form select:focus {
  border-color: rgba(143, 213, 207, 0.7);
  box-shadow: 0 0 0 3px rgba(143, 213, 207, 0.1);
}

.account-code-row > button {
  border: 1px solid rgba(239, 199, 120, 0.42);
  border-radius: 2px;
  background: rgba(239, 199, 120, 0.08);
  color: #f6ddaa;
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

.account-form-submit {
  border: 0;
  border-radius: 2px;
  background: linear-gradient(105deg, #efc778, #f6ddaa);
  color: #111a24;
  box-shadow: 0 10px 24px rgba(239, 199, 120, 0.12);
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

.account-form-submit:hover {
  background: linear-gradient(105deg, #f6ddaa, #efc778);
}

.account-form-submit b {
  color: #111a24;
}

.account-logout-link {
  border-color: rgba(255, 170, 160, 0.2);
  border-radius: 2px;
  background: rgba(109, 44, 68, 0.14);
  color: #f2b2ab;
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

.account-logout-link:hover {
  border-color: rgba(255, 188, 180, 0.4);
  color: #ffe1dd;
}

@media (max-width: 680px) {
  .account-page {
    padding-top: 6.5rem;
  }

  .account-hero h1 {
    font-size: clamp(2.2rem, 10vw, 2.9rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-cosmic-image,
  .account-backdrop::before,
  .account-status-orbit {
    animation: none;
  }

  .account-view.is-view-enter-forward,
  .account-view.is-view-enter-back,
  .account-view.is-view-leave-forward,
  .account-view.is-view-leave-back {
    animation-duration: 1ms;
    filter: none;
  }
}

/* Apple-inspired account refresh
   Keep the existing account interactions, but reduce visual noise and make
   the page read like a calm, premium settings surface. */
:root {
  --account-cyan: #0071e3;
  --account-gold: #1d1d1f;
  --account-lilac: #a1a1a6;
  --account-white: #1d1d1f;
  --account-muted: #6e6e73;
  --account-line: #d2d2d7;
  --account-glass: #ffffff;
}

body.account-body {
  min-width: 320px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Noto Sans SC", sans-serif;
}

body.account-body .site-nav {
  background: rgba(250, 250, 252, 0.86);
  border-bottom: 1px solid rgba(210, 210, 215, 0.78);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
  backdrop-filter: saturate(180%) blur(20px);
}

body.account-body .site-nav .nav-logo {
  color: #1d1d1f;
  letter-spacing: 0.18em;
}

body.account-body .site-nav .nav-links a,
body.account-body .site-nav .nav-btn {
  color: #6e6e73;
}

body.account-body .site-nav .nav-links a:hover,
body.account-body .site-nav .nav-btn:hover {
  color: #1d1d1f;
}

body.account-body .site-nav .session-account-card {
  border-color: #d2d2d7;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  color: #1d1d1f !important;
}

body.account-body .site-nav .session-account-card:hover,
body.account-body .site-nav .session-account-card:focus-visible {
  border-color: #b7d8f8;
  background: #eef6ff;
  color: #0071e3 !important;
}

body.account-body .site-nav .session-account-avatar {
  border-color: rgba(0, 0, 0, 0.08);
  background: #f2f2f7;
  color: #1d1d1f;
  box-shadow: none;
}

body.account-body .site-nav .session-account-name {
  color: #1d1d1f;
}

body.account-body .site-nav .session-account-meta {
  color: #86868b;
}

.account-page {
  min-height: 100vh;
  overflow: visible;
  padding: 7.5rem 1.5rem 5rem;
  background:
    radial-gradient(ellipse 45% 30% at 86% 8%, rgba(224, 231, 242, 0.72), transparent 70%),
    radial-gradient(ellipse 38% 26% at 8% 40%, rgba(235, 230, 222, 0.7), transparent 70%),
    #f5f5f7;
}

.account-backdrop {
  display: none;
}

.account-shell {
  width: min(100%, 1080px);
}

.account-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.account-kicker,
.account-section-heading p,
.membership-card-head p,
.account-profile-eyebrow,
.account-privacy > div p {
  color: #6e6e73;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans SC", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-shadow: none;
}

.account-kicker {
  gap: 0.55rem;
}

.account-kicker::before {
  width: 1.25rem;
  background: #a1a1a6;
}

.account-hero h1 {
  margin-top: 0.6rem;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Noto Sans SC", sans-serif;
  font-size: clamp(2.35rem, 5vw, 3.8rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-shadow: none;
}

.account-hero > div:first-child > p:last-child {
  max-width: 40rem;
  margin-top: 1rem;
  color: #6e6e73;
  font-size: 0.92rem;
  line-height: 1.65;
}

.account-live-status {
  min-width: 12.5rem;
  border: 1px solid #d2d2d7;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  padding: 0.8rem 0.95rem;
  backdrop-filter: blur(16px);
}

.account-status-orbit {
  width: 2rem;
  height: 2rem;
  border-color: rgba(52, 199, 89, 0.4);
  animation: none;
}

.account-status-orbit::before {
  display: none;
}

.account-status-orbit i {
  width: 0.45rem;
  height: 0.45rem;
  background: #34c759;
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.12);
}

.account-live-status small {
  color: #86868b;
  font-family: inherit;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.account-live-status strong {
  color: #34a853;
  font-family: inherit;
  font-size: 0.68rem;
  letter-spacing: 0;
}

.account-alert {
  border: 1px solid #f0c36d;
  border-radius: 12px;
  background: #fff9e9;
  color: #8a5b00;
  box-shadow: none;
  backdrop-filter: none;
}

.account-dashboard {
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.55fr);
  gap: 1.25rem;
}

.account-profile-card,
.account-membership-card,
.account-settings,
.account-plan-section,
.account-services,
.account-privacy {
  border: 1px solid #d2d2d7;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.045);
  backdrop-filter: blur(18px);
}

.account-profile-card {
  border-radius: 22px;
  padding: 1.75rem;
}

.account-avatar {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.25rem;
  border: 0;
  background: #f2f2f7;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans SC", sans-serif;
  font-size: 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.account-profile-eyebrow {
  color: #86868b;
  letter-spacing: 0.12em;
}

.account-profile-card h2 {
  margin-top: 0.4rem;
  color: #1d1d1f;
  font-family: inherit;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.account-identifier,
.account-details dt {
  color: #86868b;
}

.account-profile-state {
  margin-top: 1.1rem;
  border-color: #d2d2d7;
  color: #6e6e73;
}

.account-profile-state.is-active {
  border-color: rgba(52, 199, 89, 0.24);
  background: rgba(52, 199, 89, 0.08);
  color: #248a3d;
}

.account-profile-actions {
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.account-profile-actions button {
  min-height: 2.35rem;
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: inherit;
  font-size: 0.62rem;
}

.account-profile-actions button i {
  color: #0071e3;
  text-shadow: none;
}

.account-profile-actions button:hover,
.account-profile-actions button:focus-visible {
  border-color: #0071e3;
  background: #eef6ff;
  color: #0071e3;
  transform: none;
}

.account-details {
  gap: 0.72rem;
  padding-top: 1.6rem;
}

.account-details div {
  border-top-color: #e5e5ea;
}

.account-details dd {
  color: #1d1d1f;
  font-family: inherit;
  font-size: 0.68rem;
}

.account-membership-card {
  border-color: #1d1d1f;
  border-radius: 22px;
  background: #1d1d1f;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  color: #f5f5f7;
  padding: clamp(1.45rem, 3vw, 2rem);
}

.account-membership-card::after {
  border-color: rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 68%);
}

.membership-card-head h2,
.account-section-heading h2,
.account-privacy h2 {
  color: inherit;
  font-family: inherit;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.membership-card-head p {
  color: #a1a1a6;
}

.membership-state {
  border-color: rgba(255, 255, 255, 0.18);
  color: #a1a1a6;
}

.membership-state.is-active {
  border-color: rgba(52, 199, 89, 0.35);
  background: rgba(52, 199, 89, 0.13);
  color: #8de4a2;
}

.membership-primary > div {
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.membership-plan-label,
.membership-expiry span,
.membership-benefits > p {
  color: #a1a1a6;
}

.membership-primary h3 {
  color: #f5f5f7;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-shadow: none;
}

.membership-cycle,
.membership-progress p {
  color: #a1a1a6;
}

.membership-expiry strong {
  color: #f5f5f7;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.membership-expiry small {
  color: #8de4a2;
}

.membership-progress > div {
  background: rgba(255, 255, 255, 0.14);
}

.membership-progress > div span {
  background: #f5f5f7;
  box-shadow: none;
}

.membership-benefits {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.membership-benefits li {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #d2d2d7;
}

.membership-benefits li::before {
  color: #8de4a2;
}

.membership-primary-action {
  border: 0;
  border-radius: 10px;
  background: #f5f5f7;
  color: #1d1d1f;
  box-shadow: none;
}

.membership-primary-action:hover {
  background: #fff;
  color: #1d1d1f;
  transform: translateY(-1px);
}

.membership-primary-action b {
  color: #0071e3;
}

.membership-secondary-action {
  border-color: rgba(255, 255, 255, 0.2);
  color: #f5f5f7;
}

.membership-secondary-action:hover {
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.account-plan-section,
.account-services,
.account-privacy {
  margin-top: 1.25rem;
  border-radius: 22px;
  padding: clamp(1.35rem, 3vw, 1.9rem);
}

.account-section-heading p,
.account-privacy > div p {
  color: #86868b;
}

.account-section-heading > a {
  color: #0071e3;
  font-family: inherit;
  font-size: 0.68rem;
}

.account-plan-grid {
  gap: 0.8rem;
}

.account-plan-option,
.account-service-card {
  border-color: #e5e5ea;
  border-radius: 16px;
  background: #f5f5f7;
  color: #1d1d1f;
}

.account-plan-option:hover,
.account-service-card:hover,
.account-service-card--button:hover {
  border-color: #b7d8f8;
  background: #eef6ff;
  color: #1d1d1f;
  transform: translateY(-2px);
}

.account-plan-option.is-current {
  border-color: #b7d8f8;
  background: #eef6ff;
}

.account-plan-option > span,
.account-service-index {
  color: #0071e3;
}

.account-plan-option h3,
.account-service-card h3 {
  color: #1d1d1f;
  font-family: inherit;
}

.account-plan-option p,
.account-service-card p {
  color: #6e6e73;
}

.account-plan-option p strong {
  color: #1d1d1f;
}

.account-plan-option > b,
.account-service-card > b,
.account-service-state {
  color: #0071e3;
}

.account-service-card {
  min-height: 12rem;
}

.account-service-card--button {
  font-family: inherit;
}

.account-service-state {
  border-color: rgba(52, 199, 89, 0.25);
  color: #248a3d;
}

.account-privacy {
  grid-template-columns: minmax(10rem, 0.42fr) minmax(0, 1fr);
  background: #fbfbfd;
}

.account-privacy h2 {
  color: #1d1d1f;
}

.account-privacy > p {
  color: #6e6e73;
}

.account-subview-back {
  color: #6e6e73;
  font-family: inherit;
}

.account-subview-back span {
  border-color: #d2d2d7;
}

.account-subview-back:hover,
.account-subview-back:focus-visible {
  color: #0071e3;
}

.account-subview-hero {
  min-height: 13rem;
  border: 1px solid #d2d2d7;
  border-radius: 22px;
  background: linear-gradient(135deg, #fbfbfd, #eef0f4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  backdrop-filter: none;
}

.account-subview-hero::after {
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 0 0 2.5rem rgba(0, 0, 0, 0.025), 0 0 0 5rem rgba(0, 0, 0, 0.018);
}

.account-subview-hero--security {
  background: linear-gradient(135deg, #fbfbfd, #f1f0ee);
}

.account-subview-hero p,
.account-guide-index {
  color: #86868b;
}

.account-subview-hero h1 {
  color: #1d1d1f;
  font-family: inherit;
  font-size: clamp(2rem, 5vw, 3.3rem);
  letter-spacing: -0.04em;
}

.account-subview-hero > div:first-child > span,
.account-subview-guide p {
  color: #6e6e73;
}

.account-subview-symbol {
  border: 0;
  background: #1d1d1f;
  color: #f5f5f7;
  box-shadow: none;
}

.account-subview-guide {
  border: 1px solid #d2d2d7;
  border-radius: 20px;
  background: #fbfbfd;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  padding: clamp(1.3rem, 3vw, 1.9rem);
  backdrop-filter: none;
}

.account-subview-guide h2 {
  color: #1d1d1f;
  font-family: inherit;
  letter-spacing: -0.02em;
}

.account-subview-guide li {
  color: #6e6e73;
}

.account-subview-guide li::before {
  background: #0071e3;
  box-shadow: none;
}

.account-settings-form--featured,
.account-settings-form {
  border: 1px solid #d2d2d7;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  padding: clamp(1.3rem, 3vw, 2rem);
  backdrop-filter: none;
}

.account-settings-form--featured::before {
  display: none;
}

.account-form-heading > span {
  color: #0071e3;
}

.account-form-heading h3 {
  color: #1d1d1f;
  font-family: inherit;
}

.account-form-heading p,
.account-form-message {
  color: #6e6e73;
}

.account-settings-form label {
  color: #6e6e73;
  font-family: inherit;
}

.account-settings-form input,
.account-settings-form select {
  border-color: #d2d2d7;
  border-radius: 10px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: inherit;
}

.account-settings-form input:focus,
.account-settings-form select:focus {
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.14);
}

.account-code-row > button {
  border: 0;
  border-radius: 10px;
  background: #f2f2f7;
  color: #0071e3;
  font-family: inherit;
}

.account-form-submit {
  border: 0;
  border-radius: 10px;
  background: #0071e3;
  color: #fff;
  box-shadow: none;
  font-family: inherit;
}

.account-form-submit:hover {
  background: #0077ed;
}

.account-form-submit b {
  color: #fff;
}

.account-logout-link {
  border-color: #e5e5ea;
  background: #f5f5f7;
  color: #b42318;
  font-family: inherit;
}

.account-logout-link:hover {
  border-color: #f1b5b0;
  color: #b42318;
}

@media (max-width: 900px) {
  .account-hero,
  .account-dashboard {
    grid-template-columns: 1fr;
  }

  .account-live-status {
    width: min(100%, 22rem);
  }
}

@media (max-width: 680px) {
  .account-page {
    padding: 6.25rem 0.85rem 3rem;
  }

  .account-hero {
    gap: 1.25rem;
    margin-bottom: 1.35rem;
  }

  .account-hero h1 {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

  .account-live-status {
    width: 100%;
  }

  .account-profile-card,
  .account-membership-card,
  .account-plan-section,
  .account-services,
  .account-privacy,
  .account-subview-hero,
  .account-subview-guide,
  .account-settings-form {
    border-radius: 18px;
  }
}

/* FINAL: homepage theme wins over all previous account variants. */
body.account-body {
  background: #050814 !important;
  color: rgba(241, 238, 230, 0.9) !important;
  font-family: "Noto Serif SC", Georgia, serif !important;
}

body.account-body .site-nav {
  min-height: 4rem !important;
  padding: 0.62rem clamp(1.25rem, 3.2vw, 3.5rem) !important;
  background: linear-gradient(180deg, rgba(6, 10, 26, 0.9), rgba(6, 12, 31, 0.76)) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 0.8rem 2.8rem rgba(2, 7, 24, 0.18) !important;
  backdrop-filter: blur(20px) saturate(1.18) !important;
}

body.account-body .site-nav .nav-logo {
  color: #f1eee6 !important;
  font-family: "Cinzel", serif !important;
  letter-spacing: 0.3em !important;
}

body.account-body .site-nav .nav-links a,
body.account-body .site-nav .nav-btn {
  color: rgba(241, 238, 230, 0.62) !important;
  font-family: "Noto Serif SC", serif !important;
}

body.account-body .site-nav .nav-links a:hover,
body.account-body .site-nav .nav-btn:hover {
  color: #f6ddaa !important;
}

.account-page {
  overflow: hidden !important;
  padding: clamp(7.5rem, 13vh, 9.5rem) 1.5rem 5rem !important;
  background: #050814 !important;
}

.account-page::before,
.account-page::after {
  display: none !important;
}

.account-backdrop {
  display: block !important;
  opacity: 1 !important;
  background: #050814 !important;
}

.account-backdrop::before {
  background:
    radial-gradient(ellipse at 78% 22%, rgba(255, 250, 240, 0.12), transparent 18%),
    radial-gradient(ellipse at 18% 65%, rgba(83, 221, 255, 0.1), transparent 30%),
    radial-gradient(ellipse at 85% 76%, rgba(210, 145, 255, 0.1), transparent 34%) !important;
  filter: blur(28px) !important;
  mix-blend-mode: screen !important;
}

.account-backdrop::after {
  background:
    linear-gradient(90deg, rgba(3, 6, 16, 0.92), rgba(3, 6, 16, 0.46) 47%, rgba(3, 6, 16, 0.78)),
    linear-gradient(180deg, rgba(3, 6, 16, 0.38), rgba(3, 6, 16, 0.94)) !important;
}

.account-cosmic-image {
  opacity: 0.36 !important;
  filter: saturate(0.82) contrast(1.06) !important;
  transform: scale(1.06) !important;
  animation: accountHomeHeroDriftFinal 18s ease-in-out infinite alternate !important;
}

.account-deep-space {
  opacity: 0.84 !important;
  filter: none !important;
}

.account-shell {
  width: min(100%, 1140px) !important;
}

.account-kicker,
.account-section-heading p,
.membership-card-head p,
.account-profile-eyebrow,
.account-privacy > div p {
  color: #f6ddaa !important;
  font-family: "Cinzel", "Noto Serif SC", serif !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.25em !important;
  text-shadow: none !important;
}

.account-kicker::before {
  width: 2.6rem !important;
  background: #f6ddaa !important;
}

.account-hero h1 {
  color: #f7f2e8 !important;
  font-family: "Noto Serif SC", Georgia, serif !important;
  font-size: clamp(2.8rem, 6vw, 4.7rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.18 !important;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.36) !important;
}

.account-hero > div:first-child > p:last-child {
  color: rgba(241, 238, 230, 0.72) !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.04em !important;
  line-height: 2 !important;
}

.account-live-status {
  border-color: rgba(241, 238, 230, 0.16) !important;
  border-radius: 2px !important;
  background: rgba(14, 21, 37, 0.72) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2), inset 0 1px rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(18px) !important;
}

.account-status-orbit {
  border-color: rgba(239, 199, 120, 0.55) !important;
  animation: accountOrbit 8s linear infinite !important;
}

.account-status-orbit::before {
  border-color: rgba(143, 213, 207, 0.32) !important;
}

.account-status-orbit i {
  background: #8fd5cf !important;
  box-shadow: 0 0 0.9rem rgba(143, 213, 207, 0.9) !important;
}

.account-live-status small {
  color: rgba(241, 238, 230, 0.48) !important;
  font-family: "Cinzel", sans-serif !important;
}

.account-live-status strong {
  color: #8fd5cf !important;
  font-family: "Noto Sans SC", system-ui, sans-serif !important;
}

.account-profile-card,
.account-membership-card,
.account-settings,
.account-plan-section,
.account-services,
.account-privacy {
  border: 1px solid rgba(241, 238, 230, 0.14) !important;
  border-radius: 2px !important;
  background: linear-gradient(145deg, rgba(14, 22, 38, 0.9), rgba(8, 13, 25, 0.78)) !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(22px) saturate(1.08) !important;
}

.account-avatar {
  border-color: rgba(239, 199, 120, 0.72) !important;
  background: linear-gradient(145deg, rgba(255, 220, 153, 0.96), rgba(143, 213, 207, 0.94)) !important;
  color: #111a24 !important;
  box-shadow: 0 0 1.8rem rgba(113, 218, 255, 0.17), inset 0 1px rgba(255, 255, 255, 0.72) !important;
}

.account-profile-card h2,
.membership-card-head h2,
.account-section-heading h2,
.account-privacy h2,
.account-subview-hero h1,
.account-subview-guide h2,
.account-form-heading h3 {
  color: #f4eee1 !important;
  font-family: "Noto Serif SC", Georgia, serif !important;
}

.account-identifier,
.account-details dt,
.account-plan-option p,
.account-service-card p,
.account-privacy > p,
.account-form-heading p,
.account-form-message,
.account-settings-form label {
  color: rgba(241, 238, 230, 0.56) !important;
}

.account-details div {
  border-top-color: rgba(241, 238, 230, 0.12) !important;
}

.account-details dd {
  color: rgba(241, 238, 230, 0.84) !important;
}

.account-profile-state {
  border-color: rgba(143, 213, 207, 0.3) !important;
  border-radius: 2px !important;
  background: rgba(143, 213, 207, 0.08) !important;
  color: #8fd5cf !important;
}

.account-profile-actions button,
.account-plan-option,
.account-service-card {
  border-color: rgba(241, 238, 230, 0.12) !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: rgba(241, 238, 230, 0.82) !important;
}

.account-profile-actions button:hover,
.account-profile-actions button:focus-visible,
.account-plan-option:hover,
.account-service-card:hover,
.account-service-card--button:hover {
  border-color: rgba(239, 199, 120, 0.5) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  color: #f6ddaa !important;
}

.account-profile-actions button i,
.account-plan-option p strong,
.account-plan-option > b,
.account-service-card > b,
.account-service-state,
.account-section-heading > a {
  color: #efc778 !important;
}

.account-plan-option > span,
.account-service-index,
.account-section-heading p,
.account-privacy > div p {
  color: #8fd5cf !important;
}

.account-membership-card {
  border-color: rgba(239, 199, 120, 0.28) !important;
  background: linear-gradient(145deg, rgba(30, 36, 51, 0.94), rgba(8, 13, 25, 0.86)) !important;
}

.membership-primary > div {
  border-color: rgba(241, 238, 230, 0.14) !important;
  border-radius: 2px !important;
  background: rgba(241, 238, 230, 0.045) !important;
}

.membership-primary h3 {
  color: #f6ddaa !important;
  font-family: "Noto Serif SC", Georgia, serif !important;
}

.membership-primary h3,
.membership-expiry strong,
.membership-cycle,
.membership-expiry span,
.membership-plan-label,
.membership-progress p,
.membership-benefits > p {
  text-shadow: none !important;
}

.membership-progress > div span {
  background: linear-gradient(90deg, #efc778, #f6ddaa, #8fd5cf) !important;
  box-shadow: 0 0 1rem rgba(105, 219, 255, 0.56) !important;
}

.membership-primary-action,
.account-form-submit {
  border: 0 !important;
  border-radius: 2px !important;
  background: #efc778 !important;
  color: #13100d !important;
  font-family: "Noto Serif SC", serif !important;
}

.membership-primary-action:hover,
.account-form-submit:hover {
  background: #f6ddaa !important;
  color: #13100d !important;
}

.membership-primary-action b,
.account-form-submit b {
  color: #13100d !important;
}

.account-subview-hero,
.account-subview-guide,
.account-settings-form--featured,
.account-settings-form {
  border-color: rgba(241, 238, 230, 0.14) !important;
  border-radius: 2px !important;
  background: linear-gradient(145deg, rgba(17, 27, 43, 0.9), rgba(8, 13, 25, 0.83)) !important;
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.05) !important;
}

.account-subview-back,
.account-subview-hero > div:first-child > span,
.account-subview-guide li {
  color: rgba(241, 238, 230, 0.68) !important;
}

.account-subview-back:hover,
.account-subview-back:focus-visible {
  color: #f6ddaa !important;
}

.account-subview-hero p,
.account-guide-index,
.account-form-heading > span {
  color: #8fd5cf !important;
}

.account-subview-symbol {
  border-color: rgba(239, 199, 120, 0.62) !important;
  background: linear-gradient(145deg, #efc778, #8fd5cf) !important;
  color: #101a25 !important;
  box-shadow: 0 0 3rem rgba(239, 199, 120, 0.14), inset 0 1px rgba(255, 255, 255, 0.72) !important;
}

.account-settings-form input,
.account-settings-form select {
  border-color: rgba(241, 238, 230, 0.19) !important;
  border-radius: 1px !important;
  background: rgba(4, 8, 18, 0.56) !important;
  color: #f1eee6 !important;
}

.account-settings-form input:focus,
.account-settings-form select:focus {
  border-color: rgba(239, 199, 120, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(239, 199, 120, 0.08) !important;
}

.account-code-row > button {
  border: 1px solid rgba(239, 199, 120, 0.55) !important;
  border-radius: 1px !important;
  background: rgba(239, 199, 120, 0.1) !important;
  color: #f6ddaa !important;
}

@keyframes accountHomeHeroDriftFinal {
  from { transform: scale(1.06) translate3d(-0.7%, -0.3%, 0); }
  to { transform: scale(1.1) translate3d(0.8%, 0.5%, 0); }
}

@media (max-width: 900px) {
  .account-hero,
  .account-dashboard {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 680px) {
  .account-page {
    padding: 6.6rem 0.85rem 3.5rem !important;
  }

  .account-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3rem) !important;
    letter-spacing: 0.07em !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-cosmic-image {
    animation: none !important;
  }
}

/* Account security extensions: keep these rules last so the active dark theme wins. */
.account-security-stack {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.account-security-stack .account-settings-form {
  min-width: 0;
}

.account-settings-form--danger {
  border-color: rgba(255, 146, 137, 0.36) !important;
  background: linear-gradient(145deg, rgba(43, 24, 33, 0.92), rgba(18, 13, 25, 0.9)) !important;
}

.account-settings-form--danger .account-form-heading > span,
.account-settings-form--danger .account-form-heading h3 {
  color: #ffb0a9 !important;
}

.account-settings-form--danger .account-form-heading p {
  color: rgba(255, 218, 214, 0.62) !important;
}

.account-form-submit--danger {
  background: #c96d68 !important;
  color: #fff7f2 !important;
}

.account-form-submit--danger:hover,
.account-form-submit--danger:focus-visible {
  background: #e18b83 !important;
  color: #281418 !important;
}

.account-form-submit--danger b {
  color: inherit !important;
}

@media (max-width: 680px) {
  .account-security-stack {
    gap: 0.78rem;
  }
}
