@import url("/growth/fonts/misans.css");
@font-face {
  font-family: Inter;
  src: url("/growth/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/growth/fonts/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --growth-ink: #221735;
  --growth-violet: #7047eb;
  /* R18: one action treatment across Home, Team, Purchase and account sheets.
     Metallic artwork remains decorative; these tokens are for readable UI. */
  --action-gold-bg: #e9d19f;
  --action-gold-hover: #e2c487;
  --action-gold-ink: #4c3415;
  --action-gold-border: #ad8546;
  --growth-gold-soft: #f2e5c8;
  --growth-gold: #c6a66b;
  --growth-gold-text: #755522;
  --growth-muted: #6b6178;
  --growth-cloud: #faf8f4;
  --growth-surface: #fff;
  --growth-line: #e9e3ef;
  --growth-lavender: #f1ebfc;
  --color-bg-page: #faf8f4;
  --color-bg-card: #fff;
  --color-text-primary: #221735;
  --color-text-secondary: #6b6178;
  --color-border: #e9e3ef;
}
.dark {
  --growth-ink: #f8f3ff;
  --growth-muted: #c1b5cf;
  --growth-cloud: #191421;
  --growth-surface: #251e30;
  --growth-line: #41334f;
  --growth-lavender: #342547;
  --growth-violet: #b698ff;
  --action-gold-bg: linear-gradient(115deg, #f8edcf 0%, #eddaa9 54%, #e5c990 100%);
  --action-gold-hover: linear-gradient(115deg, #fff5dc 0%, #f3e3bb 54%, #ecd5a6 100%);
  --action-gold-ink: #30210d;
  --action-gold-border: #fff0c9;
  --growth-gold-soft: #302b38;
  --growth-gold-text: #eed8ab;
  --color-bg-page: #191421;
  --color-bg-card: #251e30;
  --color-text-primary: #f8f3ff;
  --color-text-secondary: #c1b5cf;
  --color-border: #41334f;
}
html,
body,
#root {
  min-height: 100%;
  margin: 0;
}
body {
  font-family:
    MiSans,
    Inter,
    "PingFang SC",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--growth-ink);
  background: var(--growth-cloud);
  -webkit-tap-highlight-color: transparent;
}
button,
a,
input,
summary {
  touch-action: manipulation;
}
button:disabled {
  cursor: not-allowed;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
input,
select,
textarea {
  font-size: 16px;
}
*:focus-visible {
  outline: 3px solid var(--growth-violet);
  outline-offset: 3px;
}
::selection {
  background: #dbcdfa;
  color: #221735;
}
.growth-shell {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 520px;
  margin: auto;
  position: relative;
  isolation: isolate;
  background: var(--growth-cloud);
}
.growth-header {
  height: 68px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 12px;
  background: var(--growth-cloud);
  z-index: 5;
}
.growth-header button {
  min-height: 44px;
}
.growth-brand-caption {
  font:
    10px "Space Grotesk",
    sans-serif;
  letter-spacing: 0.2em;
  color: var(--growth-muted);
  margin-top: 3px;
}
.growth-wallet {
  border: 1px solid var(--growth-line);
  border-radius: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 12px;
  background: var(--growth-surface);
}
.growth-status-dot {
  width: 6px;
  height: 6px;
  background: #288066;
  border-radius: 50%;
  flex-shrink: 0;
}
.growth-main {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  padding: 20px 20px 32px;
  background:
    radial-gradient(ellipse at 6% 0%, #dbcdfa77 0, transparent 340px),
    radial-gradient(ellipse at 100% 15%, #f2e5c85c 0, transparent 330px),
    var(--growth-cloud);
}
.growth-main::-webkit-scrollbar {
  display: none;
}
.dark .growth-main {
  background:
    radial-gradient(ellipse at 6% 0%, #5935804a 0, transparent 340px),
    var(--growth-cloud);
}
.growth-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  flex-shrink: 0;
  padding: 7px 6px max(8px, env(safe-area-inset-bottom));
  background: var(--growth-surface);
  border-top: 1px solid var(--growth-line);
  z-index: 20;
}
.growth-nav a {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 11px;
  color: var(--growth-muted);
  gap: 4px;
  border-radius: 14px;
}
.growth-nav a.active {
  color: var(--growth-violet);
  background: var(--growth-lavender);
  font-weight: 650;
}
.growth-nav a.active svg {
  stroke-width: 2.3;
}
.growth-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.growth-page h1 {
  font-size: 28px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.035em;
}
.growth-page h2,
.growth-section-title {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.growth-page h3 {
  font-weight: 600;
}
.growth-page p {
  line-height: 1.65;
}
.growth-eyebrow {
  font:
    11px/1.6 "Space Grotesk",
    Inter,
    sans-serif;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--growth-muted);
}
.growth-description {
  font-size: 13px;
  color: var(--growth-muted);
  margin-top: 6px;
}
.growth-label {
  font-size: 12px;
  color: var(--growth-muted);
}
.growth-muted {
  color: var(--growth-muted);
}
.growth-panel {
  background: var(--growth-surface);
  border: 1px solid var(--growth-line);
  border-radius: 24px;
  padding: 20px;
  min-width: 0;
  box-shadow: 0 3px 16px #22173503;
}
.growth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.growth-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  border-radius: 100px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--growth-gold-text);
  background: #f2e5c8;
  white-space: nowrap;
}
.dark .growth-chip {
  background: #443322;
}
.growth-button,
.growth-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border-radius: 12px;
  padding: 10px 17px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition:
    transform 120ms,
    background 120ms;
  line-height: 1.4;
}
.growth-button {
  background: #7047eb;
  color: #fff;
  box-shadow: 0 4px 14px #7047eb20;
}
.growth-button-secondary {
  background: var(--growth-surface);
  border: 1px solid var(--growth-line);
  color: var(--growth-ink);
}
.growth-button:disabled,
.growth-button-secondary:disabled {
  opacity: 0.5;
  box-shadow: none;
}
.growth-button:active:not(:disabled),
.growth-button-secondary:active:not(:disabled) {
  transform: scale(0.98);
}
.growth-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--growth-violet);
  font-size: 13px;
  font-weight: 550;
}
.growth-empty {
  padding: 22px 4px;
  text-align: center;
  color: var(--growth-muted);
  font-size: 14px;
  line-height: 1.7;
}
.growth-rule {
  border-top: 1px solid var(--growth-line);
  padding-top: 16px;
  margin-top: 16px;
}
.growth-amount {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.growth-hero {
  position: relative;
  min-height: 229px;
  border-radius: 26px;
  padding: 22px;
  overflow: hidden;
  background: linear-gradient(120deg, #fff 0%, #f4edff 57%, #f2e5c87a 100%);
  border: 1px solid #fff;
  box-shadow: 0 10px 40px #56397809;
  color: #221735;
}
.growth-hero .growth-eyebrow {
  color: #6b6178;
}
.growth-hero:before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -128px;
  top: -118px;
  border: 1px solid #c6a66b70;
  border-radius: 50%;
  pointer-events: none;
}
.growth-hero-art {
  position: absolute;
  width: 154px;
  height: 154px;
  right: -1px;
  top: 42px;
  object-fit: contain;
  pointer-events: none;
}
.growth-hero h2 {
  font:
    500 43px/1.05 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.065em;
  margin: 21px 0 7px;
  position: relative;
  z-index: 1;
}
.growth-hero-caption {
  font-size: 13px;
  max-width: 195px;
  position: relative;
  z-index: 1;
}
.growth-stage-track {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-top: 26px;
  position: relative;
}
.growth-stage-track span {
  font-size: 10px;
  color: #6b6178;
  padding-top: 8px;
  border-top: 2px solid #ddd4e8;
}
.growth-stage-track .current {
  color: #5833b9;
  border-color: #7047eb;
  font-weight: 650;
}
.growth-identity {
  border-left: 3px solid #c6a66b;
}
.growth-action-row {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 10px;
  margin-top: 17px;
}
.growth-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  margin-top: 20px;
}
.growth-overview-grid > div + div {
  border-left: 1px solid var(--growth-line);
  padding-left: 17px;
}
.growth-overview-grid strong {
  font-size: 24px;
  display: block;
  line-height: 1.4;
  margin: 6px 0;
  font-variant-numeric: tabular-nums;
}
.growth-section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.growth-milestone {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  position: relative;
  padding-bottom: 20px;
}
.growth-milestone:before {
  content: "";
  width: 1px;
  background: var(--growth-line);
  position: absolute;
  top: 19px;
  bottom: 0;
  left: 7px;
}
.growth-milestone:last-child {
  padding-bottom: 0;
}
.growth-milestone:last-child:before {
  display: none;
}
.growth-milestone-dot {
  height: 15px;
  width: 15px;
  border: 4px solid var(--growth-lavender);
  border-radius: 50%;
  background: var(--growth-violet);
  margin-top: 3px;
}
.growth-milestone.future .growth-milestone-dot {
  background: var(--growth-surface);
  border: 1px solid var(--growth-gold);
}
.growth-milestone h3 {
  font-size: 14px;
}
.growth-milestone p {
  font-size: 12px;
  color: var(--growth-muted);
  margin-top: 3px;
}
.growth-menu {
  padding: 3px 18px;
}
.growth-menu-link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 79px;
  border-bottom: 1px solid var(--growth-line);
  padding: 13px 0;
}
.growth-menu-link:last-child {
  border: 0;
}
.growth-menu-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--growth-lavender);
  color: var(--growth-violet);
  border-radius: 13px;
}
.growth-menu-link > div {
  flex: 1;
  min-width: 0;
}
.growth-menu-link strong {
  font-size: 14px;
  font-weight: 550;
}
.growth-menu-link p {
  font-size: 11px;
  color: var(--growth-muted);
  margin-top: 3px;
}
.growth-menu-link > svg {
  color: var(--growth-muted);
  flex-shrink: 0;
}
.growth-account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eee2fc, #f2e5c8);
  color: #5833b9;
  box-shadow: inset 0 0 0 1px #fff;
}
.growth-notice {
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--growth-lavender);
  font-size: 12px;
  line-height: 1.7;
  color: var(--growth-ink);
}
.growth-back {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 13px;
  color: var(--growth-muted);
  margin: -10px 0 -10px;
}
.growth-local-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 20px;
  min-height: 34px;
  flex-shrink: 0;
  border-bottom: 1px solid #e9dabe;
  background: #f6efdf;
  color: #755522;
  font-size: 10px;
}
.growth-local-banner button {
  font-size: 11px;
  min-height: 34px;
  text-decoration: underline;
}
.growth-local-settings {
  padding: 16px 20px;
  background: #f6efdf;
  color: #755522;
  font-size: 12px;
  border-bottom: 1px solid #e9dabe;
  flex-shrink: 0;
}
.growth-local-settings p {
  line-height: 1.7;
  margin-bottom: 8px;
}
.growth-local-settings button {
  min-height: 44px;
  border: 1px solid #c6a66b;
  border-radius: 10px;
  padding: 8px;
  margin: 4px 4px 0 0;
}
.growth-auth-note {
  margin-bottom: 20px;
}
.growth-policy-table {
  width: 100%;
  font-size: 13px;
  text-align: left;
}
.growth-policy-table th {
  font-weight: 500;
  color: var(--growth-muted);
  font-size: 11px;
}
.growth-policy-table td,
.growth-policy-table th {
  padding: 12px 5px;
  border-bottom: 1px solid var(--growth-line);
}
.growth-policy-table tr:last-child td {
  border-bottom: 0;
}
.growth-policy-table td:first-child {
  padding-left: 0;
}
.growth-policy-table td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.growth-skeleton {
  height: 20px;
  min-width: 50px;
  border-radius: 5px;
  background: var(--growth-lavender);
  display: inline-block;
}
.growth-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 12px;
  font-size: 14px;
}
.growth-settings button {
  min-width: 44px;
  min-height: 44px;
}
@media (max-width: 359px) {
  .growth-main {
    padding: 16px 16px 24px;
  }
  .growth-panel,
  .growth-hero {
    padding: 17px;
  }
  .growth-hero-art {
    width: 128px;
    height: 128px;
    top: 50px;
    right: -12px;
  }
  .growth-hero h2 {
    font-size: 38px;
  }
  .growth-header {
    padding: 0 16px;
  }
  .growth-hero-caption {
    max-width: 166px;
  }
  .growth-action-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .growth-menu-link:hover {
    color: var(--growth-violet);
  }
  .growth-button:hover {
    background: #6036d2;
  }
  .growth-button-secondary:hover {
    background: var(--growth-lavender);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.growth-header {
  height: calc(68px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
}

/* R3 native app surface: compact groups, intentional separators, MiSans. */
html { -webkit-text-size-adjust: 100%; overscroll-behavior: none; }
.growth-shell { font-family: MiSans, Inter, sans-serif; }
.growth-shell button,.growth-shell input,.growth-shell select,.growth-shell textarea { font-family: inherit; }
.growth-shell strong,.growth-shell b { font-weight: 600; }
.growth-shell .growth-header { height: calc(56px + env(safe-area-inset-top)); padding-inline:20px; }
.growth-shell .growth-wallet { border:0; background:transparent; font-size:12px; padding:0; }
.growth-shell .growth-main { padding:22px 20px 28px; background:var(--growth-cloud); }
.growth-shell .growth-page { gap:20px; }
.growth-shell .growth-page h1 { font-family:MiSans,sans-serif; font-size:26px; line-height:1.25; letter-spacing:0; font-weight:600; }
.growth-shell .growth-page h2 { font-family:MiSans,sans-serif; font-size:18px; letter-spacing:0; font-weight:600; }
.growth-shell .growth-description { font-size:13px; margin-top:5px; }
.growth-shell .growth-panel { border:0; border-radius:16px; padding:18px; box-shadow:none; }
.growth-shell .growth-nav { padding-top:8px; padding-bottom:max(8px,env(safe-area-inset-bottom)); }
.growth-shell .growth-nav a { min-height:48px; border-radius:0; gap:5px; font-size:11px; }
.growth-shell .growth-nav a.active { background:transparent; }
.growth-shell .growth-button { box-shadow:none; border-radius:14px; }
.growth-shell .growth-local-banner { min-height:24px; background:transparent; border:0; font-size:10px; color:var(--growth-muted); }
.growth-shell .growth-local-banner button { min-height:24px; font-size:10px; text-decoration:none; }
.growth-shell .growth-chip { font-weight:500; font-size:11px; border-radius:7px; padding:4px 8px; }
.growth-shell .growth-section-top { margin-bottom:10px; }
.growth-shell .growth-section-top .growth-text-link { min-height:28px; }
.growth-shell .growth-label { font-size:12px; }
.growth-shell .growth-menu { padding:0 18px; }
.growth-shell .growth-menu-link { min-height:56px; padding:12px 0; gap:13px; }
.growth-shell .growth-menu-link > strong { flex:1; font-weight:500; font-size:14px; }
.growth-shell .growth-menu-link > svg:first-child { color:var(--growth-violet); }
.growth-shell .growth-menu-link > svg:last-child { color:var(--growth-muted); }
.growth-shell .growth-settings { min-height:56px; border-top:1px solid var(--growth-line); gap:13px; }
.growth-shell .growth-settings > svg { color:var(--growth-violet); flex-shrink:0; }
.growth-shell .growth-settings > span { flex:1; }
.r3-node-feature { display:flex; position:relative; min-height:180px; padding:22px; border-radius:18px; background:#eee5fc; align-items:center; overflow:hidden; color:#221735; }
.r3-node-feature > div { position:relative; z-index:1; }
.r3-node-feature p { font-size:14px; }
.growth-shell .r3-node-feature h2 { color:#7047eb; font-size:44px; line-height:1.2; margin:8px 0 16px; font-weight:600; }
.r3-node-feature span { display:flex; align-items:center; gap:9px; color:#6038c8; font-size:13px; font-weight:600; }
.r3-node-feature img { position:absolute; right:-3px; top:10px; width:170px; height:170px; object-fit:contain; }
.r3-shortcuts { display:grid; grid-template-columns:1fr 1fr; gap:16px; padding:8px 0; }
.r3-shortcuts a { display:flex; align-items:center; gap:12px; font-size:15px; font-weight:600; min-height:48px; }
.r3-shortcuts a+ a { border-left:1px solid var(--growth-line); padding-left:18px; }
.r3-shortcuts span { display:grid; place-items:center; width:48px; height:48px; border-radius:14px; background:#7047eb; color:white; flex-shrink:0; }
.r3-shortcuts a+ a span { background:#f2e5c8; color:#92703a; }
.r3-identity-row { display:flex; justify-content:space-between; gap:10px; align-items:center; min-height:52px; border-block:1px solid var(--growth-line); font-size:12px; color:var(--growth-muted); }
.r3-identity-row strong { color:var(--growth-ink); font-size:16px; margin-left:7px; }
.r3-identity-row a { display:flex; align-items:center; gap:7px; min-height:44px; }
.r3-network-stats { display:grid; grid-template-columns:1fr 1.3fr; }
.r3-network-stats > div+ div { border-left:1px solid var(--growth-line); padding-left:19px; }
.r3-network-stats strong { display:block; font-size:29px; line-height:1.25; margin-top:10px; font-weight:600; }
.r3-static-row { display:flex; align-items:center; min-height:58px; padding:13px 16px; background:var(--growth-surface); border-radius:16px; gap:10px; font-size:13px; margin-top:-8px; }
.r3-static-row > svg:first-child { color:var(--growth-gold-text); }
.r3-static-row strong { flex:1; white-space:nowrap; }
.r3-static-row > svg:last-child { color:var(--growth-muted); flex-shrink:0; }
.r3-profile { display:flex; align-items:flex-start; gap:14px; padding:4px 0; }
.growth-shell .growth-account-avatar { width:54px; height:54px; border-radius:16px; background:var(--growth-lavender); box-shadow:none; color:var(--growth-violet); flex-shrink:0; }
.growth-shell .r3-profile h2 { font-size:17px; margin-bottom:4px; }
.r3-profile-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; font-size:10px; color:var(--growth-muted); }
.r3-profile-tags span { background:var(--growth-line); padding:4px 7px; border-radius:5px; }
.r3-profile-tags span:first-child { background:var(--growth-lavender); color:var(--growth-violet); }
.r3-holdings-link { display:flex; align-items:center; gap:13px; padding:16px; border-radius:16px; background:var(--growth-lavender); min-height:82px; }
.r3-holdings-link > div { flex:1; }
.r3-holdings-link strong { font-size:16px; }
.r3-holdings-link p { font-size:12px; color:var(--growth-muted); margin-top:4px; }
.r3-holdings-link .growth-menu-icon { background:#dfd2fa; width:42px; height:42px; }
.r3-group-label { color:var(--growth-muted); font-size:13px; margin:0 0 10px; }
.r3-font-credit { font-size:10px; color:var(--growth-muted); margin-top:-6px; width:fit-content; min-height:24px; }
@media(max-width:359px) {
 .growth-shell .growth-main { padding:18px 16px 24px; }
 .r3-shortcuts { gap:10px; } .r3-shortcuts a { gap:8px; font-size:13px; } .r3-shortcuts a+ a { padding-left:12px; }
 .r3-shortcuts span { width:40px; height:40px; }
 .r3-node-feature { padding:18px; } .r3-node-feature img { width:145px; height:145px; top:20px; right:-15px; }
 .r3-network-stats strong { font-size:25px; } .r3-static-row { gap:7px; padding:12px; font-size:12px; }
 .r3-static-row .growth-chip { font-size:10px; }
}
.growth-shell .r3-me { gap:14px; }
.growth-shell .r3-me .growth-menu-link,.growth-shell .r3-me .growth-settings { min-height:50px; padding-block:8px; }
.growth-shell .r3-me .r3-holdings-link { min-height:72px; padding-block:12px; }
.growth-shell .r3-me .r3-profile { padding-block:0; }
.growth-shell .r3-me .r3-group-label { margin-bottom:8px; }
.growth-shell .r3-me .r3-font-credit { margin-top:-6px; }
.growth-shell .growth-page.team-growth,.growth-shell .growth-page.referral-growth { gap:12px; }
.growth-shell .growth-page.team-growth,.growth-shell .growth-page.referral-growth { gap:8px; }
.growth-shell .referral-growth .referral-heading-art { height:56px; }
/* R4 page chrome and purposeful motion. */
:root { --ease-out: cubic-bezier(0.23,1,0.32,1); }
.growth-shell .portal-page-title { font:600 1.5rem/1.3 MiSans,sans-serif; color:var(--growth-ink); }
.growth-shell .growth-header { height:calc(64px + env(safe-area-inset-top)); }
.growth-shell .growth-main { padding-top:10px; }
.growth-shell .r3-home { gap:16px; }
.growth-shell .r3-home .r3-node-feature { min-height:126px; padding:18px 20px; }
.growth-shell .r3-home .r3-node-feature h2 { font-size:34px; margin:3px 0 8px; }
.growth-shell .r3-home .r3-node-feature img { width:130px; height:130px; top:-2px; }
.growth-shell .growth-nav a,.growth-shell .growth-button,.growth-shell .growth-button-secondary,.growth-shell .growth-menu-link,.growth-shell .r3-shortcuts a { transition:transform 120ms var(--ease-out),color 120ms ease,background-color 120ms ease; }
.growth-shell .growth-nav a:active,.growth-shell .growth-menu-link:active,.growth-shell .r3-shortcuts a:active { transform:scale(.97); }
.growth-shell .purchase-dialog[open] { animation:portal-dialog-in 200ms var(--ease-out); }
@keyframes portal-dialog-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media(prefers-reduced-motion:reduce) { .growth-shell * { animation:none!important; transition:none!important; } }
/* R7: Chinese mobile reading scale; preserve natural vertical scrolling. */
.growth-shell .r3-home{gap:20px}
.growth-shell .r3-home .growth-section-top h2{font-size:20px;line-height:1.4}
.growth-shell .r3-home .growth-text-link{font-size:13px;min-height:44px}
.growth-shell .r3-home .growth-label{font-size:13px;line-height:1.5}
.growth-shell .r3-home .r3-shortcuts a{font-size:15px;line-height:1.5}
.growth-shell .r3-home .r3-network-stats strong{font-size:28px;line-height:1.3}
:root{--posx-type-title:1.5rem;--posx-type-section:1.25rem;--posx-type-body:.9375rem;--posx-type-caption:.8125rem;--posx-type-number:1.75rem;--posx-line-body:1.5;--posx-touch-min:44px;--posx-cta-gold:var(--action-gold-bg)}
.growth-shell .r3-home .member-heading h2{font-size:var(--posx-type-title);font-weight:650;line-height:1.35}
.growth-shell .r3-home .member-team-heading h2,.growth-shell .r3-home .staking-preview-heading h2{font-size:var(--posx-type-section);font-weight:650;line-height:1.4}
.growth-shell .growth-nav a{font-size:var(--posx-type-caption);line-height:1.4}
.growth-shell .growth-wallet{font-size:var(--posx-type-caption)}

.portal-header-title{display:flex;align-items:center;gap:5px;min-width:0}
.portal-back-button{display:grid;place-items:center;width:44px;height:44px;margin-left:-10px;border:0;background:transparent;color:var(--growth-ink,#221735);flex-shrink:0;touch-action:manipulation}
.portal-back-button:focus-visible{outline:2px solid #7047eb;outline-offset:1px;border-radius:12px}
.portal-back-button:active{background:#eee7fa;border-radius:12px}

/* Scalable shared chrome; preserve normal height, allow enlarged labels to wrap. */
.growth-shell .growth-header {height:auto;min-height:calc(64px + env(safe-area-inset-top));flex-wrap:wrap;padding-top:calc(6px + env(safe-area-inset-top));padding-bottom:6px;}
.growth-shell .growth-header > * {min-width:0;max-width:100%;}
.growth-shell .growth-nav a {min-width:0;overflow-wrap:anywhere;text-align:center;}
.growth-shell .growth-header .growth-text-link {font-size:.8125rem;}

/* R17: dark mode is a full theme, including home identity and static rewards. */
.dark { color-scheme:dark; }
.dark .growth-shell .member-home {
  --member-ink:var(--growth-ink);
  --member-muted:var(--growth-muted);
  background:linear-gradient(125deg,#30233e,#29232d);
  border-color:var(--growth-line);
}
.dark .growth-shell .member-home :is(.member-team-section,.member-referral-summary),
.dark .growth-shell .member-levels>*+* { border-color:var(--growth-line); }
.dark .growth-shell .member-progress { background:var(--growth-line); }
.dark .growth-shell .member-levels strong small { color:var(--growth-gold-text); }
.dark .growth-shell .home-level-retry { color:var(--growth-violet); }
.dark .growth-shell .staking-preview-mark,
.dark .growth-shell .staking-preview-tier { background:var(--action-gold-bg); color:var(--action-gold-ink); border:1px solid var(--action-gold-border); }
.dark .growth-shell :is(.growth-text-link,.growth-back) { color:var(--growth-violet); }
.dark .growth-shell .growth-policy-table :is(th,td) { border-color:var(--growth-line); }
@media(hover:hover) and (pointer:fine) {
  .dark .growth-shell :is(.team-growth,.referral-growth) :is(.team-person-row,.team-browse-row):hover { background:var(--growth-lavender); }
}
/* Explicit link ink avoids browser/shared anchor defaults on home quick actions. */
.dark .growth-shell .r3-home .r3-shortcuts a { color:var(--growth-ink); }
.dark .growth-shell .r3-home .r3-shortcuts a+a span { background:var(--action-gold-bg); color:var(--action-gold-ink); border:1px solid var(--action-gold-border); }

/* R18: semantic action states. Use one champagne family, never white text on gold. */
@media (hover:hover) and (pointer:fine) {
  .growth-shell .member-heading .member-upgrade:hover,
  .growth-shell :is(.team-growth,.referral-growth,.my-mobile,.purchase-page) .growth-button:hover:not(:disabled),
  .team-r15 .r15-team-gold:hover:not(:disabled),
  .r15-team-dialog .r15-team-gold:hover:not(:disabled),
  .purchase-dialog .growth-button:hover:not(:disabled),
  .purchase-tier-dialog>footer button:hover:not(:disabled),
  .growth-shell .vesting-mobile .vesting-mobile-action.bg-brand-500:hover:not(:disabled) {
    background:var(--action-gold-hover);
    color:var(--action-gold-ink);
  }
}
.growth-shell :is(.team-growth,.referral-growth,.my-mobile) .growth-button:disabled,
.r15-team-dialog .r15-team-gold:disabled {
  opacity:1;
  background:var(--growth-lavender);
  color:var(--growth-muted);
  border-color:var(--growth-line);
}

/* Gold actions retain label visibility at narrow widths / enlarged text. */
.growth-shell :is(.team-growth,.referral-growth,.my-mobile,.purchase-page) .growth-button,
.team-r15 .r15-team-gold,
.r15-team-dialog .r15-team-gold,
.purchase-dialog .growth-button,
.purchase-tier-dialog>footer button {
  height:auto;
  min-height:48px;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  text-align:center;
}

/* Population is all descendants, separate from direct members and volume. */
.growth-shell .r3-network-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 0; }
.growth-shell .r3-network-stats > div { min-width:0; }
.growth-shell .r3-network-stats > .r3-network-volume { grid-column:1/-1; border-left:0; padding-left:0; border-top:1px solid var(--growth-line); padding-top:16px; }
.growth-shell .r3-network-stats strong { overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
