
/* ==================== TLREX TEAM — dark wallet (mimics assets) ==================== */
.teamref3.tlx-team,
.page-pad.teamref3.tlx-team{
  background:#07080f !important;
  min-height:100dvh !important;
  padding:14px 16px calc(28px + var(--nav-h,72px)) !important;
  gap:0 !important;
  color:#fff !important;
}
body:has(.tlx-team),
.shell:has(.tlx-team),
.shell-main:has(.tlx-team){
  background:#07080f !important;
}
.teamref3.tlx-team > *:not(.tlx-team):not(.kyc-inline-banner):not(.kyc-gate){
  display:none !important;
}

.tlx-team{color:#e8eaf2}

.tlx-th{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
}
.tlx-ava{
  width:42px; height:42px; border-radius:50%;
  background:linear-gradient(145deg,#6d5cff,#3b82f6);
  display:grid; place-items:center;
  overflow:hidden; flex:0 0 42px;
}
.tlx-ava img{width:100%;height:100%;object-fit:cover}
.tlx-th-id{flex:1; min-width:0}
.tlx-th-id b{
  display:block;
  font-size:15px;
  font-weight:800;
  letter-spacing:.02em;
  color:#fff;
}
.tlx-th-id span{
  display:block;
  margin-top:3px;
  color:#8b90a7;
  font-size:11.5px;
  font-weight:600;
}
.tlx-share{
  display:flex; flex-direction:column; align-items:center; gap:4px;
  background:transparent; border:0; color:#9aa0b8;
  font-size:10px; font-weight:700; min-width:54px;
}
.tlx-share i{
  width:28px; height:28px; border-radius:50%;
  background:#15182a; color:#6ea8ff;
  display:grid; place-items:center;
  box-shadow:0 0 0 1px #2a3150;
}

.tlx-earn{
  font-size:34px;
  font-weight:800;
  color:#22c55e;
  letter-spacing:-.03em;
  line-height:1;
  margin:4px 0 8px;
}
.tlx-earn small{
  font-size:13px;
  font-weight:700;
  margin-left:4px;
  color:#22c55e;
  vertical-align:super;
}
.tlx-tmeta{
  color:#9aa3b8;
  font-size:12.5px;
  line-height:1.55;
  margin-bottom:22px;
}

.tlx-tacts{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px 8px;
  margin:6px 0 26px;
}
.tlx-tact{
  display:flex; flex-direction:column; align-items:center; gap:8px;
  background:none; border:0; color:#d7dbe8;
  font-size:11.5px; font-weight:600;
}
.tlx-tact .ic{
  width:52px; height:52px; border-radius:50%;
  background:transparent !important;
  box-shadow:none !important;
  display:grid; place-items:center;
  overflow:hidden;
}
.tlx-tact .ic img{
  width:52px; height:52px;
  object-fit:contain;
  display:block;
  border-radius:50%;
  background:transparent !important;
}

.tlx-sec{
  font-size:17px;
  font-weight:800;
  color:#fff;
  margin:0 0 12px;
}
.tlx-ast-head{
  display:flex; align-items:baseline; justify-content:space-between;
  margin-bottom:14px;
}
.tlx-ast-head .cur{color:#8b90a7; font-size:12px; font-weight:700}

/* level split — stacked segments like the assets distribution bar */
.tlx-bar{
  height:8px; border-radius:99px;
  background:#1a2033;
  overflow:hidden;
  margin-bottom:14px;
  display:flex;
}
.tlx-bar > i{
  display:block; height:100%;
  border-radius:0;
  width:0;
  transition:width .4s ease;
}
.tlx-bar > i.g{background:#22c55e;border-radius:99px 0 0 99px}
.tlx-bar > i.b{background:#3b82f6}
.tlx-bar > i.o{background:#f59e0b;border-radius:0 99px 99px 0}
.tlx-bar > i:only-child{border-radius:99px}
.tlx-dist{display:flex; flex-direction:column; gap:10px; margin-bottom:26px}
.tlx-dist-row{
  display:flex; align-items:center; gap:8px;
  font-size:13.5px; color:#c9cedd;
}
.tlx-dist-row .dot{
  width:8px; height:8px; border-radius:50%;
  flex:0 0 8px;
}
.tlx-dist-row .dot.g{background:#22c55e}
.tlx-dist-row .dot.b{background:#3b82f6}
.tlx-dist-row .dot.o{background:#f59e0b}
.tlx-dist-row b{
  margin-left:auto;
  font-size:14px;
  font-weight:800;
}
.tlx-dist-row b.g{color:#22c55e}
.tlx-dist-row b.c{color:#60a5fa}
.tlx-dist-row b.o{color:#f59e0b}

/* invite code card */
.tlx-code{
  background:linear-gradient(145deg,#101528,#0b0e1c);
  border:1px solid #20263f;
  border-radius:16px;
  padding:16px;
  margin-bottom:26px;
}
.tlx-code-label{
  color:#8b90a7; font-size:11px; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase;
}
.tlx-code-val{
  font-size:26px; font-weight:800;
  letter-spacing:.24em; color:#8b7cff;
  margin:8px 0 6px;
}
.tlx-code-link{
  color:#6b7288; font-size:10.5px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.tlx-copy{
  margin-top:12px; width:100%; min-height:44px;
  border-radius:12px; border:0;
  background:linear-gradient(135deg,#3b82f6,#6d5cff);
  color:#fff; font-weight:800; font-size:12.5px;
}

.tlx-cols{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:8px;
  text-align:left;
  margin-bottom:26px;
}
.tlx-cols span{
  display:block;
  color:#8b90a7;
  font-size:12px;
  font-weight:600;
  margin-bottom:6px;
}
.tlx-cols b{
  color:#fff;
  font-size:14px;
  font-weight:700;
}

/* member rows */
.tlx-mrow{
  display:flex; align-items:center; gap:10px;
  padding:12px;
  border-radius:14px;
  background:#0d111f;
  border:1px solid #171c2e;
  margin-bottom:8px;
}
.tlx-mava{
  width:38px; height:38px; border-radius:50%;
  display:grid; place-items:center;
  font-weight:800; font-size:14px;
  flex:0 0 38px;
}
.tlx-mava.l1{background:rgba(34,197,94,.14); color:#22c55e}
.tlx-mava.l2{background:rgba(59,130,246,.14); color:#60a5fa}
.tlx-mava.l3{background:rgba(245,158,11,.14); color:#f59e0b}
.tlx-mid{flex:1; min-width:0}
.tlx-mid b{
  display:block; color:#fff;
  font-size:13px; font-weight:700;
}
.tlx-mid span{
  display:block; color:#8b90a7;
  font-size:11px; margin-top:2px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.tlx-mamt{
  color:#22c55e; font-weight:800;
  font-size:12.5px; white-space:nowrap;
}
.tlx-mempty{
  padding:26px 14px;
  border:1px dashed #232a45;
  border-radius:14px;
  color:#6b7288; font-size:12px;
  text-align:center; line-height:1.6;
}

/* dark stock-style nav on team (same as assets) */
body:has(.tlx-team) .bottomnav{
  background:#07080f !important;
  border-top:1px solid #121624 !important;
  box-shadow:none !important;
  pointer-events:auto !important;
  padding:0 0 calc(8px + env(safe-area-inset-bottom)) !important;
}
body:has(.tlx-team) .bottomnav-inner,
body:has(.tlx-team) .bottomnav .bottomnav-inner{
  background:#07080f !important;
  height:62px !important;
}
body:has(.tlx-team) .bottomnav-inner:before{display:none !important}
body:has(.tlx-team) .bottomnav .nav-item,
body:has(.tlx-team) .bottomnav .nav-item:nth-child(1),
body:has(.tlx-team) .bottomnav .nav-item:nth-child(2),
body:has(.tlx-team) .bottomnav .nav-item:nth-child(3),
body:has(.tlx-team) .bottomnav .nav-item:nth-child(4),
body:has(.tlx-team) .bottomnav .nav-item:nth-child(5){
  flex:1 1 0 !important;
  width:auto !important;
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  margin:0 !important;
}
body:has(.tlx-team) .bottomnav .nav-content,
body:has(.tlx-team) .bottomnav .nav-content.active{
  background:transparent !important;
  color:#6b7288 !important;
  border-radius:0 !important;
}
body:has(.tlx-team) .bottomnav .nav-label{
  color:#6b7288 !important;
}
body:has(.tlx-team) .bottomnav .nav-item:has(.active) .nav-content,
body:has(.tlx-team) .bottomnav .nav-content.active,
body:has(.tlx-team) .bottomnav .nav-content.active .nav-label{
  color:#8b7cff !important;
}
