.account-page {
  position: relative;
  isolation: isolate;
  min-height: 65vh;
  background: #06080f;
  color: #ece6d8;
}
.account-backdrop { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.account-shell { width: min(100% - 48px, 560px); margin-inline: auto; padding-block: 32px 64px; }
.account-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; color: #a6adb9; font-size: 13px; }
.account-back:hover { color: #c9a45c; }
.account-stack { display: grid; gap: 20px; min-width: 0; }
.account-profile, .account-page .na-account {
  min-width: 0;
  margin: 0;
  padding: 28px;
  border: 1px solid #c9a45c29;
  border-radius: 18px;
  background: #0d1119;
}
.account-identity { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.account-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid #c9a45c29;
  border-radius: 50%;
  background: #c9a45c14;
  color: #ece6d8;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}
.account-identity-copy { flex: 1; min-width: 0; }
.account-name { margin: 0 0 8px; font-size: 20px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.account-plan { flex-shrink: 0; line-height: 1.6; }
.account-details { display: grid; gap: 12px; }
.account-detail { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 14px 16px; border-radius: 10px; background: #06080f; color: #a6adb9; font-size: 14px; line-height: 1.7; }
.account-detail > svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 4px; color: #c9a45c; }
.account-detail > span { min-width: 0; overflow-wrap: anywhere; }
.account-page .na-account h2, .account-page .na-account h3 { font-family: inherit; letter-spacing: normal; line-height: 1.6; overflow-wrap: anywhere; }
.account-page .na-account-top { gap: 12px; }
.account-page .na-account-top > h2, .account-page .na-account-top > h3 { flex: 1 1 160px; min-width: 0; }
.account-page .na-account-top > button, .account-page .na-account-status { flex-shrink: 0; white-space: nowrap; }
.account-page .na-account button, .account-logout { min-height: 44px; }
.account-page .na-account-item:last-of-type { padding-bottom: 8px; }
.account-logout { width: 100%; padding: 14px 20px; border: 1px solid #c9a45c33; border-radius: 10px; background: #0d1119; color: #c97a5c; font: inherit; font-size: 14px; display: flex; justify-content: center; align-items: center; gap: 8px; cursor: pointer; }
.account-logout:hover { background: #c97a5c24; }
.account-logout:disabled { opacity: .6; cursor: wait; }
.account-guest { min-height: 65vh; display: grid; place-items: center; padding: 48px 24px; }
.eram-site:has(.account-page) .login-link { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 480px) {
  .account-shell { width: calc(100% - 32px); padding-block: 24px 40px; }
  .account-stack { gap: 16px; }
  .account-profile, .account-page .na-account { padding: 20px; }
  .account-identity { gap: 12px; }
  .account-detail { padding: 12px; font-size: 13px; }
  .account-page .na-account dl { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
  .eram-site:has(.account-page) .login-link { max-width: 80px; }
}
