:root{
  --approved-bg:#070914;
  --approved-bg2:#0a0e1b;
  --approved-panel:#0e1424;
  --approved-panel2:#121a2e;
  --approved-stroke:#202c48;
  --approved-text:#f5f7fb;
  --approved-muted:#7f8aa3;
  --approved-silver:#cbd3e2;
  --approved-purple:#7b4dff;
  --approved-violet:#a348ff;
  --approved-cyan:#16c8ff;
  --approved-green:#2ed9a3;
  --approved-warning:#ffb84d;
  --approved-danger:#ff5c7a;
  --approved-radius:16px;
  --approved-gradient:linear-gradient(110deg,var(--approved-purple),var(--approved-cyan));
  color-scheme:dark;
}

.visually-hidden{
  border:0!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  height:1px!important;
  margin:-1px!important;
  overflow:hidden!important;
  padding:0!important;
  position:absolute!important;
  white-space:nowrap!important;
  width:1px!important;
}

.language-select{
  appearance:none;
  min-width:82px;
  height:36px;
  padding:0 26px 0 11px;
  border:1px solid #273552;
  border-radius:9px;
  color:#dce3f0;
  background:#0c1322 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238c96aa' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 9px center;
  font:700 10px/1 Inter,ui-sans-serif,system-ui,sans-serif;
  letter-spacing:.03em;
  cursor:pointer;
  outline:none;
}
.language-select:focus{border-color:#765df1;box-shadow:0 0 0 3px rgba(123,77,255,.12)}
.auth-language-row{display:flex;justify-content:flex-end;margin-bottom:20px}
.profile-field .language-select{width:100%;margin-top:7px}
.trionex-language-fallback{position:fixed;z-index:1000;top:18px;right:20px}

/* Approved TRIONEX public visual language. Existing anchors and IDs remain intact. */
.public-body{
  margin:0;
  color:var(--approved-text);
  background:
    radial-gradient(circle at 73% 15%,rgba(84,55,205,.15),transparent 30rem),
    linear-gradient(180deg,var(--approved-bg),#060812 80%);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.public-body .bg-fx{
  position:fixed;
  inset:0;
  z-index:-1;
  opacity:.24;
  background-image:linear-gradient(rgba(70,84,126,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(70,84,126,.08) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,#000,transparent 76%);
}
.public-body header{
  border-bottom:1px solid rgba(127,138,163,.12);
  background:rgba(7,9,20,.78);
  backdrop-filter:blur(24px);
}
.public-body header .wrap{
  max-width:1380px;
  min-height:84px;
}
.public-body .brand-wordmark{width:142px;max-height:28px;object-fit:contain}
.public-body .navlinks{gap:36px}
.public-body .navlinks a,
.public-body .approved-signin{
  color:#a5aec1;
  font-size:14px;
  text-decoration:none;
  transition:color .2s ease;
}
.public-body .navlinks a:hover,
.public-body .approved-signin:hover{color:var(--approved-text)}
.public-body .nav-cta{gap:24px}
.public-body .dashboard-link{padding:13px 20px;border-radius:9px;box-shadow:0 10px 32px rgba(75,79,255,.22)}
.public-body .btn-primary,
.auth-body .primary-action{
  color:#fff;
  border:1px solid rgba(132,123,255,.75);
  background:linear-gradient(105deg,#6d44ee,#268eea);
  box-shadow:0 12px 36px rgba(67,64,222,.2),inset 0 1px 0 rgba(255,255,255,.18);
}
.public-body .btn-primary:hover,
.auth-body .primary-action:hover{transform:translateY(-1px);filter:brightness(1.08)}
.public-body .hero{padding:0}
.public-body .hero-grid{
  max-width:1380px;
  min-height:700px;
  padding-top:54px;
  padding-bottom:42px;
  align-items:center;
  grid-template-columns:minmax(0,1fr) minmax(520px,.9fr);
  gap:58px;
}
.public-body .hero-copy{max-width:700px}
.public-body .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:#aab3c8;
  font-size:11px;
  font-weight:650;
  letter-spacing:.2em;
  text-transform:uppercase;
}
.public-body .eyebrow i{width:26px;height:1px;background:var(--approved-gradient)}
.approved-hero-title{
  margin:26px 0 28px;
  max-width:720px;
  font-size:clamp(54px,5.3vw,82px);
  line-height:.99;
  letter-spacing:-.056em;
  font-weight:650;
}
.approved-hero-title span{
  color:transparent;
  background:linear-gradient(100deg,#9f56ff 4%,#7f69ff 48%,#45c8fa 100%);
  background-clip:text;
  -webkit-background-clip:text;
}
.public-body .hero .lede{
  max-width:630px;
  color:#a2abc0;
  font-size:18px;
  line-height:1.7;
}
.public-body .hero-cta{margin-top:30px;gap:28px}
.public-body .hero-cta .btn{padding:15px 23px;border-radius:9px}
.public-body .text-link{color:#aab3c4;font-size:14px}
.public-body .hero-art{min-height:590px;display:grid;place-items:center}
.approved-core{
  position:relative;
  width:min(100%,620px);
  aspect-ratio:1;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:radial-gradient(circle,rgba(64,40,150,.32) 0,rgba(30,25,90,.18) 45%,transparent 68%);
}
.approved-core::before,
.approved-core::after,
.approved-core-orbit{
  content:"";
  position:absolute;
  inset:9%;
  border:1px solid rgba(94,85,174,.22);
  border-radius:50%;
  box-shadow:inset 0 0 70px rgba(78,53,195,.08);
}
.approved-core::after{inset:20%;border-color:rgba(85,104,184,.22)}
.approved-core-orbit.orbit-one{inset:3%;border-style:dashed;animation:approvedOrbit 28s linear infinite}
.approved-core-orbit.orbit-two{inset:27%;border-color:rgba(111,74,238,.35);animation:approvedOrbit 18s linear infinite reverse}
.approved-core-logo{
  position:relative;
  z-index:2;
  width:68%;
  aspect-ratio:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(88,68,188,.24);
  border-radius:50%;
  background:radial-gradient(circle at 50% 42%,rgba(43,29,121,.72),rgba(7,9,20,.82) 64%);
  box-shadow:0 0 95px rgba(91,47,218,.22),inset 0 0 50px rgba(93,54,212,.14);
}
.approved-core-symbol{width:74%;max-height:56%;object-fit:contain;mix-blend-mode:screen;filter:drop-shadow(0 14px 30px rgba(105,46,255,.35))}
.approved-core-wordmark{width:74%;margin-top:2%;object-fit:contain}
.approved-core-badge{
  position:absolute;
  z-index:3;
  width:126px;
  padding:15px 17px;
  border:1px solid #2b395c;
  border-radius:11px;
  background:rgba(12,16,31,.86);
  box-shadow:0 18px 48px rgba(0,0,0,.28);
  backdrop-filter:blur(14px);
}
.approved-core-badge small,
.approved-core-badge span{display:block;color:var(--approved-muted);font-size:9px}
.approved-core-badge small{letter-spacing:.14em}
.approved-core-badge strong{display:block;margin:6px 0 4px;font-size:18px}
.approved-node-badge{left:2%;top:28%}
.approved-status-badge{right:0;bottom:27%}
.approved-status-badge strong{font-size:15px}
.approved-status-badge i{display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:var(--approved-green);box-shadow:0 0 12px var(--approved-green)}
.approved-proof-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  padding:24px 16px;
  border-top:1px solid rgba(127,138,163,.12);
  border-bottom:1px solid rgba(127,138,163,.12);
  color:#667089;
  font-size:9px;
  letter-spacing:.16em;
  text-align:center;
}
.public-body .ticker{display:none}
.public-body section:not(.hero){padding:112px 0}
.public-body .sec-head{max-width:900px;margin-bottom:44px}
.public-body .sec-head h2{font-size:clamp(38px,4vw,62px);line-height:1.08;letter-spacing:-.04em;font-weight:560}
.public-body .sec-head p{color:var(--approved-muted);font-size:17px;line-height:1.7}
.public-body .card,
.public-body .exch,
.public-body .step,
.public-body .cta{
  border-color:var(--approved-stroke);
  border-radius:var(--approved-radius);
  background:linear-gradient(145deg,rgba(18,26,46,.95),rgba(11,16,30,.96));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.public-body .card:hover{border-color:#344568;transform:translateY(-2px)}
.public-body .card h3{color:var(--approved-text);font-weight:550}
.public-body .card p{color:var(--approved-muted)}
.public-body .icon{border:1px solid #413270;background:rgba(85,55,196,.1);color:#9d65ff}
.public-body .num{color:#69738b}
.public-body .grad-text{background:var(--approved-gradient);background-clip:text;-webkit-background-clip:text;color:transparent}
.public-body footer{border-top:1px solid rgba(127,138,163,.12);background:#060812}
@keyframes approvedOrbit{to{transform:rotate(360deg)}}

/* Wallet login and referral registration */
.auth-body{
  margin:0;
  min-height:100vh;
  color:var(--approved-text);
  background:var(--approved-bg);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.auth-body .auth-page{min-height:100vh;background:var(--approved-bg)}
.auth-body .auth-visual{
  position:relative;
  overflow:hidden;
  border-right:1px solid rgba(127,138,163,.14);
  background:
    radial-gradient(circle at 35% 50%,rgba(93,53,206,.26),transparent 32rem),
    linear-gradient(145deg,#070914,#0b1020);
}
.auth-body .auth-visual::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.28;
  background-image:linear-gradient(rgba(76,88,132,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(76,88,132,.12) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:radial-gradient(circle at 40% 50%,#000,transparent 75%);
}
.auth-body .auth-logo,
.auth-body .auth-copy,
.auth-body .network-ready{position:relative;z-index:1}
.auth-body .auth-logo img{width:160px}
.auth-body .auth-copy{max-width:660px}
.auth-body .auth-copy .kicker,
.auth-body .demo-tag{
  color:#8d9bb8;
  font-size:10px;
  font-weight:650;
  letter-spacing:.2em;
  text-transform:uppercase;
}
.auth-body .auth-copy h1{
  margin:22px 0;
  color:var(--approved-text);
  font-size:clamp(52px,5vw,78px);
  line-height:1.01;
  letter-spacing:-.055em;
  font-weight:620;
}
.auth-body .auth-copy p{max-width:580px;color:#929db4;font-size:17px;line-height:1.7}
.auth-body .network-ready{
  width:max-content;
  padding:11px 15px;
  border:1px solid #283653;
  border-radius:10px;
  color:#a7b0c3;
  background:rgba(12,17,31,.72);
  font-size:11px;
  letter-spacing:.08em;
}
.auth-body .network-ready i{background:var(--approved-green);box-shadow:0 0 12px rgba(46,217,163,.65)}
.auth-body .auth-panel-wrap{
  background:radial-gradient(circle at 50% 50%,rgba(49,43,109,.12),transparent 65%),#080b16;
}
.auth-body .auth-panel{
  width:min(100%,520px);
  padding:44px;
  border:1px solid var(--approved-stroke);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(18,26,46,.96),rgba(10,15,28,.98));
  box-shadow:0 34px 90px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.03);
}
.auth-body .auth-panel h2{margin:14px 0 10px;color:var(--approved-text);font-size:38px;letter-spacing:-.035em;font-weight:620}
.auth-body .auth-panel>p{color:#8e99b0;line-height:1.65}
.auth-body .primary-action,
.auth-body .wallet-action{
  min-height:54px;
  border-radius:10px;
  font-weight:650;
  transition:.2s ease;
}
.auth-body .credentials{
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid rgba(127,138,163,.13);
}
.auth-body .credentials span{color:#77839b}
.auth-body .credentials code{border-color:#2a3858;background:#0b1120;color:#b6bfd2}
.auth-body .fine-print{color:#6f7b92!important;font-size:12px!important}
.auth-body .back-link{color:#9aa6bd}
.auth-body label{color:#9aa6bd;font-size:12px;letter-spacing:.04em}
.auth-body input{
  min-height:50px;
  margin-top:8px;
  color:var(--approved-text);
  border:1px solid #263553;
  border-radius:10px;
  background:#09101e;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.015);
}
.auth-body input:focus{border-color:#735df4;box-shadow:0 0 0 3px rgba(123,77,255,.12)}
.auth-body .form-error{border:1px solid rgba(255,92,122,.26);border-radius:10px;background:rgba(255,92,122,.08)}
.auth-body.wallet-picker-open{overflow:hidden}
.auth-body .wallet-picker{
  position:fixed;
  inset:0;
  z-index:80;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(3,5,12,.82);
  backdrop-filter:blur(10px);
}
.auth-body .wallet-picker-dialog{
  position:relative;
  width:min(480px,100%);
  padding:34px;
  border:1px solid #283656;
  border-radius:18px;
  background:linear-gradient(155deg,#121a2e,#0b1020 72%);
  box-shadow:0 32px 90px rgba(0,0,0,.55),0 0 0 1px rgba(123,77,255,.06);
}
.auth-body .wallet-picker-dialog h2{margin:15px 0 8px;font-size:30px;letter-spacing:-.03em}
.auth-body .wallet-picker-dialog>p{margin:0;color:#8e99b0;font-size:13px;line-height:1.65}
.auth-body .wallet-picker-close{
  position:absolute;
  top:17px;
  right:17px;
  width:36px;
  height:36px;
  border:1px solid #2a3858;
  border-radius:9px;
  background:#0b1120;
  color:#aab4c8;
  cursor:pointer;
  font-size:22px;
}
.auth-body .wallet-picker-close:hover{border-color:#7056ed;color:#fff}
.auth-body .wallet-picker-options{display:grid;gap:10px;margin-top:24px}
.auth-body .wallet-picker-options>button{
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  min-height:70px;
  padding:11px 14px;
  border:1px solid #25324f;
  border-radius:12px;
  background:#0b1120;
  color:#f5f7fb;
  cursor:pointer;
  text-align:left;
  transition:border-color .18s ease,transform .18s ease,background .18s ease;
}
.auth-body .wallet-picker-options>button:hover{transform:translateY(-1px);border-color:#7056ed;background:#10172a}
.auth-body .wallet-picker-options span strong,
.auth-body .wallet-picker-options span small{display:block}
.auth-body .wallet-picker-options span strong{font-size:14px}
.auth-body .wallet-picker-options span small{margin-top:5px;color:#7f8aa3;font-size:10px}
.auth-body .wallet-picker-options em{color:#70d9ff;font-size:10px;font-style:normal;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
.auth-body .wallet-mark{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:12px;
  color:#fff;
  font-size:13px;
  font-style:normal;
  font-weight:850;
}
.auth-body .wallet-mark.metamask{background:linear-gradient(145deg,#f29a4b,#de573a)}
.auth-body .wallet-mark.trust{background:linear-gradient(145deg,#3c8dff,#1265d8)}
.auth-body .wallet-mark.tokenpocket{background:linear-gradient(145deg,#2bb8f4,#1666dc);font-size:11px}
.auth-body .wallet-security-note{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:18px;
  padding:12px 14px;
  border:1px solid rgba(46,217,163,.18);
  border-radius:10px;
  background:rgba(46,217,163,.05);
  color:#8794aa;
  font-size:10px;
}
.auth-body .wallet-security-note b{color:#2ed9a3}

@media (max-width:1024px){
  .public-body .navlinks{gap:22px}
  .public-body .hero-grid{grid-template-columns:1fr 420px;gap:22px;min-height:630px}
  .approved-hero-title{font-size:58px}
  .public-body .hero-art{min-height:480px}
  .approved-core-badge{transform:scale(.88)}
  .auth-body .auth-page{grid-template-columns:minmax(0,.9fr) minmax(430px,1fr)}
}

@media (max-width:760px){
  .public-body .nav-cta{gap:8px}
  .public-body .nav-cta .language-select{min-width:66px;width:66px;padding-left:7px;padding-right:17px;background-position:right 5px center}
  .public-body .dashboard-link{padding:10px 9px;font-size:10px}
  .public-body header .wrap{min-height:68px;padding-inline:18px}
  .public-body .brand-wordmark{width:126px}
  .public-body .approved-signin{display:none}
  .public-body .dashboard-link{padding:10px 13px;font-size:12px}
  .public-body .hero-grid{display:block;min-height:auto;padding:78px 20px 30px}
  .approved-hero-title{font-size:clamp(45px,13vw,64px);margin-top:22px}
  .public-body .hero .lede{font-size:16px}
  .public-body .hero-cta{align-items:flex-start;flex-direction:column;gap:20px}
  .public-body .hero-art{min-height:400px;margin-top:24px}
  .approved-core{width:390px;max-width:110vw}
  .approved-core-badge{width:108px;padding:11px 13px}
  .approved-node-badge{left:1%}
  .approved-status-badge{right:1%}
  .approved-proof-strip{grid-template-columns:1fr 1fr;row-gap:16px;padding:20px 4px}
  .public-body section:not(.hero){padding:76px 0}
  .public-body .sec-head h2{font-size:39px}
  .auth-body .auth-page{display:block}
  .auth-body .auth-visual{min-height:300px;padding:30px 24px 38px;border-right:0;border-bottom:1px solid rgba(127,138,163,.14)}
  .auth-body .auth-logo img{width:132px}
  .auth-body .auth-copy{margin-top:64px}
  .auth-body .auth-copy h1{font-size:43px}
  .auth-body .auth-copy p{font-size:14px}
  .auth-body .network-ready{margin-top:30px}
  .auth-body .auth-panel-wrap{padding:24px 16px 40px}
  .auth-body .auth-panel{padding:28px 22px;border-radius:16px}
  .auth-body .auth-panel h2{font-size:32px}
  .auth-body .wallet-picker{align-items:flex-end;padding:0}
  .auth-body .wallet-picker-dialog{width:100%;max-height:92vh;overflow:auto;padding:28px 20px calc(24px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;border-bottom:0}
  .auth-body .wallet-picker-dialog h2{font-size:27px}
}

@media (max-width:359px){
  .public-body .dashboard-link{font-size:0;padding:10px 12px}
  .public-body .dashboard-link span{font-size:14px}
  .approved-hero-title{font-size:41px}
  .approved-core{width:340px}
  .approved-core-badge{transform:scale(.76)}
  .auth-body .auth-copy h1{font-size:37px}
  .auth-body .auth-panel{padding:24px 18px}
  .auth-body .wallet-picker-dialog{padding-left:15px;padding-right:15px}
  .auth-body .wallet-picker-options>button{grid-template-columns:42px minmax(0,1fr) auto;padding-left:10px;padding-right:10px}
  .auth-body .wallet-mark{width:40px;height:40px}
}

@media (min-width:1600px){
  .public-body header .wrap,
  .public-body .hero-grid{max-width:1480px}
  .public-body .hero-grid{min-height:760px}
  .approved-hero-title{font-size:86px}
}

@media (prefers-reduced-motion:reduce){
  .approved-core-orbit{animation:none}
  .public-body *,
  .auth-body *{scroll-behavior:auto!important;transition-duration:.01ms!important}
}

/* Approved Member workspace. Existing data-view controls and financial IDs are unchanged. */
.member-body{
  margin:0;
  color:var(--approved-text);
  background:var(--approved-bg);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.member-body .member-app{grid-template-columns:240px minmax(0,1fr);background:var(--approved-bg)}
.member-body .sidebar{
  padding:24px 14px 18px;
  border-color:#1d2943;
  background:linear-gradient(180deg,#080c17,#090d19);
}
.member-body .side-logo{display:block;margin:4px 10px 30px}
.member-body .side-logo img{width:136px}
.member-body .side-section-label{
  display:block;
  margin:0 12px 10px;
  color:#536077;
  font-size:9px;
  letter-spacing:.18em;
}
.member-body .sidebar nav{gap:4px}
.member-body .sidebar nav button,
.member-body .signout{
  min-height:44px;
  border-radius:9px;
  color:#7f8aa3;
  font-size:13px;
  font-weight:500;
}
.member-body .sidebar nav button b{width:20px;color:#6f7b94;font-size:16px;text-align:center}
.member-body .sidebar nav button.active,
.member-body .sidebar nav button:hover{
  color:#f5f7fb;
  background:linear-gradient(90deg,rgba(83,57,181,.32),rgba(46,71,122,.16));
  box-shadow:inset 2px 0 #8559ff,0 8px 24px rgba(0,0,0,.13);
}
.member-body .sidebar nav button.active b{color:#a072ff}
.member-body .member-network-state{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:auto;
  padding:13px 12px;
  border:1px solid #202d49;
  border-radius:10px;
  background:#0d1424;
}
.member-body .member-network-state i{width:7px;height:7px;border-radius:50%;background:var(--approved-green);box-shadow:0 0 13px rgba(46,217,163,.65)}
.member-body .member-network-state span{display:grid;gap:3px}
.member-body .member-network-state strong{font-size:10px;font-weight:600}
.member-body .member-network-state small{color:#6f7b93;font-size:8px}
.member-body .support{display:none}
.member-body .signout{margin-top:10px}
.member-body .dashboard{padding:0 clamp(24px,3vw,48px) 52px;background:radial-gradient(circle at 70% 0,rgba(75,52,153,.07),transparent 25rem),var(--approved-bg)}
.member-body .member-contextbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:72px;
  margin:0 calc(clamp(24px,3vw,48px) * -1);
  padding:0 clamp(24px,3vw,48px);
  border-bottom:1px solid #1d2943;
  background:rgba(7,9,20,.82);
  backdrop-filter:blur(18px);
}
.member-body .member-contextbar>span{color:#69758d;font-size:9px;letter-spacing:.18em}
.member-body .member-contextbar>div{display:flex;align-items:center;gap:10px}
.member-body .member-wallet-chip{display:grid;grid-template-columns:auto auto;column-gap:9px;align-items:center;padding:8px 12px;border:1px solid #22304e;border-radius:9px;background:#0c1322}
.member-body .member-wallet-chip i{grid-row:span 2;color:#a16aff;font-style:normal;font-size:17px}
.member-body .member-wallet-chip b{font-size:10px;font-weight:650}
.member-body .member-wallet-chip small{color:var(--approved-green);font-size:8px}
.member-body .dash-head{margin:38px auto 24px}
.member-body .dash-head>div:first-child span,
.member-body .kicker{color:#71809c;font-size:9px;letter-spacing:.2em}
.member-body .dash-head h1{margin-top:10px;font-size:40px;line-height:1.05;letter-spacing:-.035em;font-weight:620}
.member-body .dash-head h1 span{color:var(--approved-text)}
.member-body .identity{padding:8px 10px 8px 12px;border:1px solid #202d49;border-radius:10px;background:#0c1220}
.member-body .identity strong{font-size:15px}
.member-body .identity small{font-size:8px}
.member-body .member-header-actions{display:grid;justify-items:end;gap:8px;min-width:0}
.member-body .member-header-referral{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px;
  width:min(430px,40vw);
  min-width:310px;
  padding:10px;
  border:1px solid rgba(126,87,255,.72);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(116,72,255,.18),rgba(27,154,255,.09) 58%,rgba(10,18,32,.96));
  box-shadow:0 0 0 1px rgba(92,225,230,.08),0 12px 30px rgba(62,36,157,.22);
}
.member-body .member-header-referral-label{
  grid-column:1/-1;
  color:#dfe5ff;
  font-size:10px;
  font-weight:750;
  letter-spacing:.14em;
  line-height:1.2;
  text-transform:uppercase;
}
.member-body .member-header-referral code{
  min-width:0;
  overflow:hidden;
  min-height:44px;
  padding:12px 13px;
  border:1px solid #304263;
  border-radius:10px;
  background:rgba(7,12,25,.9);
  color:#f1f4ff;
  font-size:11px;
  font-weight:650;
  line-height:18px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.member-body .member-header-referral button{
  min-width:88px;
  min-height:44px;
  padding:0 14px;
  border:1px solid rgba(145,112,255,.9);
  border-radius:10px;
  background:linear-gradient(135deg,#7548ff,#238cf2);
  color:#fff;
  cursor:pointer;
  font-size:11px;
  font-weight:800;
  box-shadow:0 7px 18px rgba(72,80,255,.26);
  white-space:nowrap;
}
.member-body .member-header-referral button:hover{border-color:#9f86ff;background:linear-gradient(135deg,#855cff,#30a7ff);transform:translateY(-1px)}
.member-body .member-header-referral button:focus-visible{outline:2px solid #5ce1e6;outline-offset:2px}
.member-body .member-community{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);
  align-items:center;
  gap:34px;
  margin:0 0 12px;
  padding:24px 26px;
  overflow:hidden;
  border:1px solid rgba(123,77,255,.38);
  border-radius:14px;
  background:
    radial-gradient(circle at 8% 20%,rgba(123,77,255,.2),transparent 38%),
    radial-gradient(circle at 92% 80%,rgba(22,200,255,.12),transparent 36%),
    linear-gradient(145deg,rgba(17,24,43,.98),rgba(10,15,29,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.member-body .member-community::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  background:var(--approved-gradient);
}
.member-body .member-community-copy,
.member-body .member-community-actions{position:relative;z-index:1}
.member-body .member-community-copy h2{
  margin:8px 0;
  color:var(--approved-text);
  font-size:26px;
  line-height:1.1;
  letter-spacing:-.025em;
}
.member-body .member-community-copy p{
  max-width:620px;
  color:#8794aa;
  font-size:12px;
  line-height:1.7;
}
.member-body .member-community-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.member-body .member-community-button{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:58px;
  padding:9px 12px;
  border:1px solid #2b3a59;
  border-radius:10px;
  background:rgba(8,14,27,.82);
  transition:transform .2s,border-color .2s,background .2s,box-shadow .2s;
}
.member-body .member-community-button:hover{transform:translateY(-1px)}
.member-body .member-community-button:focus-visible{outline:2px solid #5ce1e6;outline-offset:2px}
.member-body .member-community-button strong{min-width:0;font-size:12px;white-space:nowrap}
.member-body .member-community-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid currentColor;
  border-radius:8px;
}
.member-body .member-community-icon svg{
  width:22px;
  height:22px;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.member-body .member-community-telegram .member-community-icon svg path{fill:currentColor;stroke:none}
.member-body .member-community-arrow{color:#95a2b9;font-size:17px}
.member-body .member-community-whatsapp{color:#54e49a}
.member-body .member-community-whatsapp:hover{border-color:rgba(84,228,154,.58);background:rgba(38,184,105,.09);box-shadow:0 12px 28px -24px #25d366}
.member-body .member-community-telegram{color:#65c8ff}
.member-body .member-community-telegram:hover{border-color:rgba(101,200,255,.58);background:rgba(34,158,217,.09);box-shadow:0 12px 28px -24px #229ed9}
.member-body .notice{border-radius:10px;border-color:#29405d;background:#0d1926}
.member-body .notice span{min-width:0;overflow-wrap:anywhere;word-break:break-word}
.member-body .balance-band{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  overflow:visible;
  border:0;
  background:none;
}
.member-body .network-summary{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.member-body .balance-band>div,
.member-body .kpis article,
.member-body .dash-card,
.member-body .portal-card,
.member-body .portal-table,
.member-body .profile-block,
.member-body .network-summary article,
.member-body .downline-list,
.member-body .bonus-summary article,
.member-body .bonus-rule,
.member-body .bonus-ledger,
.member-body .next-achievement{
  border:1px solid var(--approved-stroke);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(17,24,43,.97),rgba(12,17,31,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.member-body .balance-band>div{min-height:128px;padding:20px;border-left:1px solid var(--approved-stroke)!important}
.member-body .balance-band span,
.member-body .kpis span{color:#748199;font-size:9px;letter-spacing:.08em}
.member-body .balance-band strong{font-size:23px;letter-spacing:-.02em}
.member-body .main-balance strong{font-size:30px}
.member-body .balance-buttons{display:grid;align-content:stretch;gap:7px}
.member-body .balance-buttons button,
.member-body .full-button,
.member-body .portal-actions button,
.member-body .network-toolbar button{
  border:1px solid #263552;
  border-radius:8px;
  background:#111a2e;
  color:#c1c9d9;
}
.member-body .balance-buttons button.primary,
.member-body .portal-actions button.primary{
  border-color:transparent;
  background:linear-gradient(105deg,#7047ed,#258ce9);
  color:#fff;
}
.member-body .kpis{gap:12px;margin-bottom:12px}
.member-body .kpis article{min-height:104px;padding:18px}
.member-body .kpis i{border:1px solid rgba(123,77,255,.25);background:rgba(123,77,255,.09);color:#a16eff}
.member-body .kpis strong{font-size:22px}
.member-body .dash-grid{gap:12px}
.member-body .dash-card{padding:20px}
.member-body .card-head h2{font-size:14px;font-weight:580}
.member-body .card-head button{color:#8c99b0}
.member-body .asset>i,
.member-body .activities i{
  border:1px solid rgba(123,77,255,.24);
  border-radius:9px;
  background:rgba(123,77,255,.08);
  color:#9d6aff;
}
.member-body .progress>i,
.member-body .portal-progress{background:#080d19}
.member-body .progress>i b,
.member-body .portal-progress i{background:var(--approved-gradient)}
.member-body .portal-grid{gap:12px}
.member-body .portal-card{padding:22px}
.member-body .portal-card h3{font-size:17px}
.member-body .portal-card strong{font-size:25px;letter-spacing:-.02em}
.member-body .portal-card p,
.member-body .portal-card small{color:#7d899f}
.member-body .member-owned-packages{margin-bottom:32px}
.member-body .member-owned-packages>h3{margin:0 0 12px;font-size:16px;font-weight:650}
.member-body .member-page,
.member-body .network-page,
.member-body .bonus-page{padding-top:38px}
.member-body .member-page-head,
.member-body .network-page-head,
.member-body .bonus-page-head{margin-bottom:26px}
.member-body .member-page-head h2,
.member-body .network-page-head h2,
.member-body .bonus-page-head h2{font-size:38px;letter-spacing:-.035em;font-weight:620}
.member-body .bonus-disclosure{
  padding:14px 16px;
  border:1px solid #223753;
  border-radius:10px;
  background:#0b1723;
  color:#8290a7;
}
.member-body .portal-row,
.member-body .bonus-row{border-color:#202d49;padding:16px 18px}
.member-body .portal-row:hover,
.member-body .bonus-row:hover{background:rgba(255,255,255,.012)}
.member-body .portal-row .package-roi-start{
  display:block;
  margin-top:7px;
  color:#64dce6;
  font-weight:700;
  letter-spacing:.01em;
}
.member-body .portal-filters button,
.member-body .bonus-filters button{
  border-color:#273654;
  background:#0f1728;
}
.member-body .portal-filters button.active,
.member-body .bonus-filters button.active{border-color:#765af2;color:#a888ff;background:rgba(123,77,255,.09)}
.member-body .network-toolbar input,
.member-body .profile-field select{border:1px solid #263553;border-radius:8px;background:#09101e;color:#f5f7fb}
.member-body .network-toolbar{min-width:0;max-width:100%}
.member-body .network-toolbar input{min-width:0}
.member-body .downline-row,
.member-body .profile-field{border-color:#202d49}
.member-body .member-rank.custom{background:rgba(43,124,255,.12);border-color:rgba(43,124,255,.45);color:#58a6ff!important}
.member-body .member-rank.real{background:rgba(46,217,163,.1);border-color:rgba(46,217,163,.4);color:#2ed9a3!important}
.member-body .member-rank.node,
.member-body .free-grant-label{background:rgba(155,92,255,.12);border-color:rgba(155,92,255,.45);color:#b084ff!important}
.member-body .header-rank.custom{color:#58a6ff!important}
.member-body .header-rank.real{color:#2ed9a3!important}
.member-body .header-rank.node{color:#b084ff!important}
.member-body .network-search-results{
  position:relative;
  z-index:8;
  width:min(100%,620px);
  margin:-1px 0 14px;
  overflow:hidden;
  border:1px solid #283754;
  border-radius:10px;
  background:#0b1221;
  box-shadow:0 18px 48px rgba(0,0,0,.34);
}
.member-body .network-search-results button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  padding:12px 14px;
  border:0;
  border-top:1px solid #202d49;
  background:transparent;
  color:#f4f7fc;
  text-align:left;
}
.member-body .network-search-results button:first-child{border-top:0}
.member-body .network-search-results button:hover{background:rgba(123,77,255,.08)}
.member-body .network-search-results button span{display:grid;gap:3px;font-weight:700}
.member-body .network-search-results small,
.member-body .network-search-results p{color:#7f8ca3;font-size:10px}
.member-body .network-search-results p{margin:0;padding:14px}
.member-body .network-member-link{
  width:max-content;
  max-width:100%;
  padding:0;
  border:0;
  background:none;
  color:#f5f7fb;
  font:inherit;
  font-weight:750;
  text-align:left;
  overflow-wrap:anywhere;
  cursor:pointer;
}
.member-body .network-member-link:hover{color:#67ddeb}
.member-body .network-compact-tree{overflow:hidden}
.member-body .network-compact-row{position:relative;transition:background .2s ease,box-shadow .2s ease}
.member-body .network-compact-row::before{
  content:"";
  position:absolute;
  left:9px;
  top:0;
  bottom:0;
  width:1px;
  background:rgba(123,77,255,.24);
}
.member-body .network-compact-row.is-highlighted{background:rgba(123,77,255,.15);box-shadow:inset 3px 0 #8f69ff}
.member-body .network-drill-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
  padding:13px 15px;
  border:1px solid rgba(92,225,230,.25);
  border-radius:10px;
  background:rgba(92,225,230,.055);
  color:#aeb8cb;
  font-size:12px;
}
.member-body .network-drill-banner b{color:#f5f7fb}
.member-body .network-drill-banner button{border:0;background:none;color:#5ce1e6;font-weight:750;cursor:pointer}
.member-body .network-card-level{margin-top:20px}
.member-body .network-card-level>h3{margin:0 0 10px!important}
.member-body .network-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.member-body .network-member-card{
  min-width:0;
  padding:17px;
  border:1px solid var(--approved-stroke);
  border-radius:13px;
  background:linear-gradient(145deg,rgba(17,24,43,.97),rgba(12,17,31,.98));
}
.member-body .network-member-card.is-root{border-color:rgba(92,225,230,.28)}
.member-body .network-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.member-body .network-card-head>span{display:grid;min-width:0;gap:4px}
.member-body .network-card-head small{color:#6e7b92;font-size:9px;letter-spacing:.08em;text-transform:uppercase}
.member-body .network-member-card>p{min-height:17px;margin:13px 0;color:#7f8ca3;font-size:11px}
.member-body .network-card-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.member-body .network-card-stats span{display:grid;gap:3px;padding:8px;border:1px solid #202d49;border-radius:8px;background:#09101e}
.member-body .network-card-stats small{color:#6f7c92;font-size:8px}
.member-body .network-card-stats b{font-size:12px;overflow-wrap:anywhere}
.member-body .network-limit-note{color:#8793a9;font-size:11px}
.member-body .demo-modal{background:rgba(3,5,12,.84);backdrop-filter:blur(8px)}
.member-body .demo-dialog,
.member-body .purchase-dialog{
  overflow:hidden;
  border:1px solid #283754;
  border-radius:17px;
  background:linear-gradient(145deg,#11182a,#0c1220);
  box-shadow:0 36px 100px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.03);
}
.member-body .purchase-dialog::before{height:2px}
.member-body .purchase-icon{border-radius:10px;color:#9d70ff;background:rgba(123,77,255,.1)}
.member-body .purchase-summary{border-color:#24324e;border-radius:11px;background:#09101e}
.member-body .purchase-summary div{border-color:#202d49}
.member-body .purchase-wallet-note{border-radius:9px;border-color:#263954;background:#0b1724}
.member-body .purchase-actions button{border-radius:9px}
.member-body .purchase-confirm{background:linear-gradient(105deg,#7047ed,#258ce9)}
.member-body .mobile-nav{background:rgba(8,12,23,.96);backdrop-filter:blur(18px)}

@media (max-width:1180px){
  .member-body .member-app{grid-template-columns:210px minmax(0,1fr)}
  .member-body .balance-band{grid-template-columns:repeat(2,minmax(0,1fr))}
  .member-body .portal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .member-body .member-community{grid-template-columns:1fr}
}

@media (max-width:760px){
  .member-body .member-app{display:block}
  .member-body .dashboard{padding:0 14px 84px;overflow:visible}
  .member-body .member-contextbar{
    position:sticky;
    z-index:18;
    top:0;
    min-height:60px;
    margin:0 -14px;
    padding:0 14px;
  }
  .member-body .member-contextbar>span{font-size:8px;letter-spacing:.13em}
  .member-body .member-contextbar .language-select{min-width:66px;width:66px;padding-left:7px;padding-right:17px;background-position:right 5px center}
  .member-body .member-wallet-chip{padding:7px 9px}
  .member-body .member-wallet-chip b{max-width:82px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .member-body .dash-head{align-items:flex-start;gap:10px;margin:25px auto 18px}
  .member-body .dash-head h1{font-size:28px}
  .member-body .member-header-actions{flex:0 0 min(58vw,226px);width:min(58vw,226px)}
  .member-body .member-header-referral{grid-template-columns:minmax(0,1fr) auto;width:100%;min-width:0}
  .member-body .member-header-referral-label{font-size:9px;letter-spacing:.1em}
  .member-body .member-header-referral code{min-height:42px;padding:11px 10px;font-size:9px}
  .member-body .member-header-referral button{min-width:70px;min-height:42px;padding:0 9px;font-size:9px}
  .member-body .member-community{gap:18px;padding:20px}
  .member-body .member-community-copy h2{font-size:23px}
  .member-body .member-community-actions{grid-template-columns:1fr 1fr}
  .member-body .identity{display:flex;padding:6px 8px}
  .member-body .identity>span{display:grid}
  .member-body .identity>span>strong{font-size:15px}
  .member-body .identity>span>small,
  .member-body .identity>i{display:none}
  .member-body .balance-band{grid-template-columns:1fr 1fr;gap:9px}
  .member-body .balance-band>div{min-height:116px;padding:15px}
  .member-body .main-balance{grid-column:span 2}
  .member-body .balance-buttons{grid-column:span 2;grid-template-columns:1fr 1fr}
  .member-body .balance-buttons button:last-child{grid-column:span 2}
  .member-body .kpis{gap:9px}
  .member-body .kpis article{min-height:92px;padding:14px}
  .member-body .dash-card{padding:17px}
  .member-body .member-page,
  .member-body .network-page,
  .member-body .bonus-page{padding-top:24px}
  .member-body .member-owned-packages{margin-bottom:24px}
  .member-body .network-page,
  .member-body #network-tree,
  .member-body .downline-list,
  .member-body .downline-row{min-width:0;max-width:100%}
  .member-body .network-toolbar{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:8px;
    width:100%;
  }
  .member-body .network-toolbar input{grid-column:1 / -1;width:100%}
  .member-body .network-toolbar button{min-width:0;min-height:40px;padding:0 10px}
  .member-body .network-card-grid{grid-template-columns:1fr}
  .member-body .network-drill-banner{align-items:flex-start;flex-direction:column}
  .member-body .network-card-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .member-body .downline-row span,
  .member-body .downline-row strong{min-width:0;overflow-wrap:anywhere}
  .member-body .member-page-head h2,
  .member-body .network-page-head h2,
  .member-body .bonus-page-head h2{font-size:31px}
  .member-body .portal-grid{grid-template-columns:1fr}
  .member-body .mobile-nav{border-color:#202d49;overflow-x:auto;scrollbar-width:none}
  .member-body .mobile-nav::-webkit-scrollbar{display:none}
  .member-body .mobile-nav button{flex:0 0 20%;height:66px;color:#707d95}
  .member-body .mobile-nav button.active{color:#a16eff}
  .member-body .demo-modal{align-items:flex-end;padding:0}
  .member-body .demo-dialog,
  .member-body .purchase-dialog{max-height:92vh;overflow-y:auto;border-radius:18px 18px 0 0}
}

@media (max-width:359px){
  .member-body .dashboard{padding-inline:10px}
  .member-body .member-contextbar{margin-inline:-10px;padding-inline:10px}
  .member-body .member-wallet-chip small{display:none}
  .member-body .dash-head h1{font-size:24px}
  .member-body .identity>span>strong{font-size:13px}
  .member-body .member-header-actions{flex-basis:59vw;width:59vw}
  .member-body .member-header-referral{padding:8px}
  .member-body .member-header-referral button{min-width:62px;padding-inline:7px}
  .member-body .member-community{padding:18px 14px}
  .member-body .member-community-actions{grid-template-columns:1fr}
  .member-body .member-community-button{padding-inline:10px}
  .member-body .balance-band{grid-template-columns:1fr}
  .member-body .main-balance,
  .member-body .balance-buttons{grid-column:auto}
  .member-body .balance-buttons{grid-template-columns:1fr}
  .member-body .balance-buttons button:last-child{grid-column:auto}
  .member-body .kpis{grid-template-columns:1fr}
}

@media (min-width:1600px){
  .member-body .member-app{grid-template-columns:252px minmax(0,1fr)}
  .member-body .dashboard{padding-inline:56px}
  .member-body .member-contextbar{margin-inline:-56px;padding-inline:56px}
}

.software-version-badge{
  position:fixed;
  z-index:70;
  right:12px;
  bottom:12px;
  padding:7px 10px;
  border:1px solid #263553;
  border-radius:999px;
  background:rgba(7,10,19,.88);
  color:#77859d;
  box-shadow:0 8px 24px rgba(0,0,0,.24);
  backdrop-filter:blur(10px);
  font:700 9px/1 Inter,Arial,sans-serif;
  letter-spacing:.09em;
  pointer-events:none;
}

@media (max-width:760px){
  .software-version-badge{right:10px;bottom:10px}
  .member-body .software-version-badge{bottom:78px}
}
