
/* ==================== TLREX MY PLANS — dark wallet (mimics assets) ==================== */
.page-pad.tlx-myp{
  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-myp),
.shell:has(.tlx-myp),
.shell-main:has(.tlx-myp){
  background:#07080f !important;
}
.page-pad.tlx-myp > *:not(.tlx-myp-box):not(.kyc-inline-banner):not(.kyc-gate){
  display:none !important;
}

.tlx-myp{color:#e8eaf2}

.tlx-mh{
  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-mh-id{flex:1; min-width:0}
.tlx-mh-id b{
  display:block;
  font-size:15px;
  font-weight:800;
  letter-spacing:.02em;
  color:#fff;
}
.tlx-mh-id span{
  display:block;
  margin-top:3px;
  color:#8b90a7;
  font-size:11.5px;
  font-weight:600;
}
.tlx-market{
  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-market 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-daily{
  font-size:34px;
  font-weight:800;
  color:#22c55e;
  letter-spacing:-.03em;
  line-height:1;
  margin:4px 0 8px;
}
.tlx-daily small{
  font-size:13px;
  font-weight:700;
  margin-left:4px;
  color:#22c55e;
  vertical-align:super;
}
.tlx-mpmeta{
  color:#9aa3b8;
  font-size:12.5px;
  line-height:1.55;
  margin-bottom:22px;
}

.tlx-macts{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px 8px;
  margin:6px 0 26px;
}
.tlx-mact{
  display:flex; flex-direction:column; align-items:center; gap:8px;
  background:none; border:0; color:#d7dbe8;
  font-size:11.5px; font-weight:600;
}
.tlx-mact .ic{
  width:52px; height:52px; border-radius:50%;
  background:transparent !important;
  box-shadow:none !important;
  display:grid; place-items:center;
  overflow:hidden;
}
.tlx-mact .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}

.tlx-bar{
  height:8px; border-radius:99px;
  background:#1a2033;
  overflow:hidden;
  margin-bottom:14px;
}
.tlx-bar > i{
  display:block; height:100%;
  border-radius:99px;
  width:0;
  background:linear-gradient(90deg,#22c55e,#3b82f6);
  transition:width .4s ease;
}
.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}

.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;
}

/* plan cards */
.tlx-pcard{
  background:#0d111f;
  border:1px solid #171c2e;
  border-radius:16px;
  padding:14px;
  margin-bottom:10px;
}
.tlx-pcard-top{
  display:flex; align-items:center; justify-content:space-between;
  gap:8px; margin-bottom:12px;
}
.tlx-pname{
  font-size:14px; font-weight:800; color:#fff;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.tlx-pstat{
  font-size:9px; font-weight:800;
  padding:4px 9px; border-radius:99px;
  text-transform:uppercase; white-space:nowrap;
}
.tlx-pstat.active{background:rgba(34,197,94,.14); color:#22c55e}
.tlx-pstat.expired{background:rgba(139,144,167,.14); color:#8b90a7}
.tlx-pgrid{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:8px; margin-bottom:6px;
}
.tlx-pgrid span{
  display:block; color:#8b90a7;
  font-size:11px; font-weight:600; margin-bottom:4px;
}
.tlx-pgrid b{
  color:#fff; font-size:13px; font-weight:700;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.tlx-pgrid b.g{color:#22c55e}
.tlx-pbar{
  height:7px; border-radius:99px;
  background:#1a2033; overflow:hidden;
  margin:10px 0 6px;
}
.tlx-pbar i{
  display:block; height:100%;
  border-radius:99px;
  background:linear-gradient(90deg,#22c55e,#3b82f6);
}
.tlx-pbar-note{
  color:#8b90a7; font-size:10.5px;
  margin-bottom:10px;
}
.tlx-pfoot{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
}
.tlx-pclaim{
  color:#9aa3b8; font-size:11.5px;
}
.tlx-pclaim b{color:#22c55e; font-weight:800}
.tlx-claimbtn{
  min-height:38px; padding:0 16px;
  border-radius:10px; border:0;
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#fff; font-weight:800; font-size:11px;
}
.tlx-claimbtn:disabled{opacity:.4}
.tlx-pempty{
  padding:26px 14px;
  border:1px dashed #232a45;
  border-radius:14px;
  color:#6b7288; font-size:12px;
  text-align:center; line-height:1.6;
}

/* toast */
.tlx-toast{
  position:fixed; left:50%; bottom:96px; transform:translateX(-50%);
  padding:11px 18px; border-radius:12px;
  background:#162b50; color:#fff;
  font-size:12px; font-weight:700;
  box-shadow:0 10px 30px rgba(0,0,0,.4);
  z-index:999;
  opacity:0; pointer-events:none;
  transition:opacity .25s ease;
}
.tlx-toast.show{opacity:1}

/* dark stock-style nav on my plans (same as assets) */
body:has(.tlx-myp) .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-myp) .bottomnav-inner,
body:has(.tlx-myp) .bottomnav .bottomnav-inner{
  background:#07080f !important;
  height:62px !important;
}
body:has(.tlx-myp) .bottomnav-inner:before{display:none !important}
body:has(.tlx-myp) .bottomnav .nav-item,
body:has(.tlx-myp) .bottomnav .nav-item:nth-child(1),
body:has(.tlx-myp) .bottomnav .nav-item:nth-child(2),
body:has(.tlx-myp) .bottomnav .nav-item:nth-child(3),
body:has(.tlx-myp) .bottomnav .nav-item:nth-child(4),
body:has(.tlx-myp) .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-myp) .bottomnav .nav-content,
body:has(.tlx-myp) .bottomnav .nav-content.active{
  background:transparent !important;
  color:#6b7288 !important;
  border-radius:0 !important;
}
body:has(.tlx-myp) .bottomnav .nav-label{
  color:#6b7288 !important;
}
body:has(.tlx-myp) .bottomnav .nav-item:has(.active) .nav-content,
body:has(.tlx-myp) .bottomnav .nav-content.active,
body:has(.tlx-myp) .bottomnav .nav-content.active .nav-label{
  color:#8b7cff !important;
}
/* Locked-in plan state */
.tlx-lockedbtn{
  background:linear-gradient(180deg,#2A3A66,#1B2A4A) !important;
  color:#FFE082 !important;cursor:not-allowed;letter-spacing:.03em;
  border:1px solid rgba(242,179,61,.35);
}
