/* Mobile frame centering and page visuals */
:root{
  --mobile-width:420px;
  --accent:#f6a623;
  --bg:#f7f7fb;
  --bs-btn-bg: #65ff00!important;
  --font-scale: 1.15; /* CHANGE THIS ONLY (1.0 = normal, 1.15 = +15%, 1.25 = +25%) */

}
html,body{
    color: #333;
    margin-top: 0;
    font-family: BAHNSCHRIFT, " sans-serif";
    font-size: calc(16px * var(--font-scale));
    background: linear-gradient(to bottom, #f6f3fe, #d9cef6);
}

/* Lock the visible canvas to a mobile width so desktop shows same mobile view */
.mobile-frame{
  max-width:var(--mobile-width);
  margin:0 auto;
  padding-left:12px;
  padding-right:12px;
  min-height:100vh; /* let background fill */
  box-sizing:border-box;
}


/* Header styles */
.navbar.fixed-top{
  height:56px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  z-index:1040;
}

.navbar .btn-warning{
  background: var(--accent);
  border-color: var(--accent);
  color:#fff;
  box-shadow: 0 2px 6px rgba(246,166,35,0.15);
}

.navbar .small img{
  display:inline-block;
  vertical-align:middle;
}

/* Token badge */
.token-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:transparent;
}

/* Make sure the header items have enough tap area on mobile */
.navbar .container > *{
  min-height:40px;
  display:flex;
  align-items:center;
}

/* Toast positioning inside the mobile frame */
.mobile-toast{
  position:fixed;
  top:70px;
  left:50%;
  transform:translateX(-50%);
  z-index:1080;
  width:90%;
  max-width:var(--mobile-width);
}
/* Optional: subtle desktop background framing so users see mobile canvas centered */
@media (min-width: calc(var(--mobile-width) + 40px)){
  body{
    display:flex;
    justify-content:center;
    padding:20px 0;
  }
  .mobile-frame{
    border-radius:12px;
    background:#fff;
    box-shadow:0 8px 30px rgba(30,30,40,0.06);
    overflow:hidden;
  }
}


.tp-card {
  background: #f3eefc;
}

.tp-value {
  font-size: 32px;
  color: #111;
}

.daily-earn {
  font-size: 14px;
  color: #333;
}

.history-link {
  color: #6f47ff;
  text-decoration: none;
  font-size: 14px;
}

.settlement-time {
  font-size: 14px;
  color: #555;
      background: rgb(219, 212, 243);
    border-radius: 200px;
    margin: 0 20px;
    font-size: 18px;
}


.buytp-btn {
  background: #9ce046!important;
  color: #111;
  border: none;
}

.refer-btn {
  background: #f2d7ff;
  color: #111;
  border: none;
}


/* Bottom sheet styles (mobile-first) */
.bottom-sheet{display:none;position:fixed;inset:0;z-index:2000;font-family:inherit}
.bottom-sheet .sheet-backdrop{position:absolute;inset:0;background:rgba(0,0,0,0.45);opacity:0;transition:opacity .25s}
.bottom-sheet .sheet-card{
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%) translateY(24%);
  width:calc(100% - 28px);
  max-width:420px;
  background:#fff;
  border-radius:14px 14px 0 0;
  padding:16px;
  box-shadow:0 12px 40px rgba(10,10,20,0.25);
  transition:transform .32s cubic-bezier(.22,1,.36,1),opacity .25s;
  opacity:0;
}
.bottom-sheet.show{display:block}
.bottom-sheet.show .sheet-backdrop{opacity:1}
.bottom-sheet.show .sheet-card{transform:translateX(-50%) translateY(0);opacity:1}
.sheet-close{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:20px;line-height:1;color:#666}
.sheet-title{font-size:16px;margin:8px 24px}
.tp-input{background:#f8f9fb;border:1px solid #eee;padding:10px;border-radius:10px}
.tp-total{color:#666;font-size:14px}
.est-card{background:#faf7ff;border:1px solid rgba(0,0,0,0.04)}
/* form field larger for mobile */
#tpAmount.form-control{font-size:16px;padding:.7rem .75rem}




/* ROI card */
.roi-card{
  background: linear-gradient(180deg, #fff, #fbf8ff);
  border: 1px solid rgba(107,75,214,0.08);
  box-shadow: 0 8px 24px rgba(107,75,214,0.06);
  overflow: hidden;
}

/* ribbon on the top-right corner */
.roi-card .ribbon{
  background: linear-gradient(90deg,#ff6b6b,#ff944d);
  font-size:12px;
  font-weight:600;
  transform: translate(14px,-14px) rotate(12deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* table rows styling for alternating subtle bands */
.roi-card .table tbody tr{ background: transparent; }
.roi-card .table tbody tr.row-light{ background: rgba(107,75,214,0.03); }
.roi-card .table td{ border-top: none; padding-top:10px; padding-bottom:10px; font-size:14px; color:#433f4a; }

/* ensure rounded corners look crisp on mobile canvas */
@media (max-width: 480px){
  .roi-card{ padding:14px; border-radius:12px; }
  .roi-card .ribbon{ transform: translate(10px,-12px) rotate(12deg); }
}


/* ROI card */
.roi-card{
  background: linear-gradient(180deg, #ffffff, #fbf8ff);
  border: 1px solid rgba(107,75,214,0.08);
  box-shadow: 0 8px 24px rgba(107,75,214,0.06);
  position: relative;
  overflow: hidden;
}

/* PNG ribbon absolute on top-right corner */
.roi-ribbon{
  position: absolute;
  top: -4px;
  right: -4px;
  width: 68px;   /* adjust to your PNG size */
  height: auto;
  z-index: 5;
  pointer-events: none;
}

/* Table styling */
.roi-card .table tbody tr{ background: transparent; }
.roi-card .table tbody tr.row-light{ background: rgba(107,75,214,0.04); }

.roi-card .table td{
  border-top: none;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 14px;
  color: #433f4a;
}

/* Mobile fine tuning */
@media(max-width:480px){
  .roi-card{ padding:14px; border-radius:12px; }
  .roi-ribbon{ width:60px; }
}


/* --- Trading list styles (paste into style.css) --- */

/* Card wrapper */
.trading-tabs{
  background: linear-gradient(180deg,#fff,#fbf8ff);
  border:1px solid rgba(107,75,214,0.06);
  box-shadow:0 8px 20px rgba(107,75,214,0.06);
  padding:12px;
  margin-bottom: 200px!important; /* space for footer */
}

/* Tabs */
.nav-tabs .nav-link{ color:#6b4bd6; font-weight:600; border:0; padding:.6rem .5rem; }
.nav-tabs .nav-link.active{ background:transparent; border-bottom:3px solid rgba(107,75,214,0.12); }

/* Each trade row */
.trade-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.75rem .25rem;
  border-bottom:1px solid rgba(0,0,0,0.04);
  gap:8px;
  background:transparent;
}

/* alternate background if needed (use class row-light) */
.trade-row.row-light{ background: rgba(107,75,214,0.03); }

/* left block */
.trade-left{ max-width:62%; min-width:0; }
.trade-symbol{ font-weight:700; color:#2b2b35; font-size:14px; display:flex; align-items:center; gap:8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.trade-meta{ font-size:12px; color:#9b98a6; margin-top:6px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }

/* small badges */
.badge-mini{ background:#f3f3f6; color:#6b6a76; font-weight:600; font-size:11px; padding:.25rem .45rem; border-radius:12px; }

/* right block */
.trade-right{ text-align:right; min-width:100px; }
.trade-percent{ color:#1dbf4a; font-weight:700; font-size:16px; }
.trade-time{ font-size:11px; color:#9b98a6; margin-top:6px; }

/* View More btn */
.trading-tabs .btn-outline-secondary{
  border-color:rgba(0,0,0,0.06);
  color:#222;
  background:#fff;
}

/* hidden rows */
.hidden-row{ display:none !important; }

/* simple fade-in animation for rows when revealed */
.fade-in{
  animation: fadeInUp .28s ease both;
}
@keyframes fadeInUp{
  from{ transform: translateY(6px); opacity:0; }
  to{ transform: translateY(0); opacity:1; }
}

/* responsive tweaks */
@media(max-width:420px){
  .trade-right{ min-width:92px; text-align:right; }
  .trade-left{ max-width:60%; }
  .trade-symbol{ font-size:13px; }
  .trade-meta{ font-size:12px; }
}

/* Fixed Footer Overall Wrapper */
.footer-nav-wrapper{
  position: fixed;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobile-width);
  z-index: 999;
  padding-bottom: 10px; /* space between footer & bottom bar */
}

/* Rounded Full Footer Buttons Container */
.footer-nav{
  background: #ffffff;
  border-radius: 100px; /* FULL ROUND CORNERS */
  padding: 0 12px;
  margin: 0 auto 25px auto; /* GAP between footer nav & black footer-id bar */
  width: 94%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

/* Each Individual Button */
.footer-btn{
  text-decoration: none;
  flex: 1;
  padding: 10px 4px;
  text-align: center;
  font-size: 13px;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;

  border-radius: 18px;  /* Button corners fully rounded */
  transition: 0.25s ease;
}

/* Button Tap Feedback */
.footer-btn:active{
  background: rgba(0,0,0,0.05);
}

/* Icons */
.footer-btn img{
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Active Tab */
.footer-btn.active span{
  color: red;
  font-weight: 600;
}

/* Black Footer ID bar */
.footer-id{
  background: #0c1a24;
  text-align: center;
  color: #fff;
  padding: 6px 0;
  font-size: 12px;
}

/* ===== Withdrawal page styles (paste into existing CSS) ===== */

/* Card-like panel used for balance, form, lists */
.card-panel{
  background:#fff;
  border-radius:14px;
  padding:18px;
  box-shadow:0 10px 26px rgba(60,40,120,0.06);
  margin-bottom:18px;
}

/* Balance area */
.balance-title{
  text-align:center;
  color:rgba(0,0,0,0.45);
  font-size:0.9rem;
  margin-bottom:8px;
}
.balance-amount{
  text-align:center;
  font-weight:700;
  font-size:1.9rem;
  margin-bottom:12px;
  color:#111;
}

/* Exchange to TP CTA */
.exchange-btn{
  display:block;
  margin:0 auto 8px auto;
  width:86%;
  background:#3ec0f0;
  color:#fff;
  border-radius:34px;
  padding:10px 14px;
  font-weight:700;
  box-shadow:0 6px 14px rgba(62,192,240,0.12);
  text-align:center;
  text-decoration:none;
}

/* Withdraw form */
.withdraw-form .form-label{
  font-weight:600;
  color:#333;
  font-size:0.95rem;
}
.input-pill{
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  padding:14px 16px;
  font-size:0.95rem;
  color:#666;
  box-sizing:border-box;
}
.small-muted{ font-size:0.85rem; color:rgba(0,0,0,0.45); }

/* Continue button */
.continue-btn{
  background:#65bf00; /* uses your green style */
  color:#07100a;
  font-weight:700;
  border-radius:28px;
  padding:10px 14px;
  width:100%;
  border:0;
  box-shadow:0 8px 18px rgba(101,255,0,0.08);
}

/* Latest withdrawals list items */
.list-entry{
  background:#fff;
  border-radius:12px;
  padding:12px;
  box-shadow:0 6px 18px rgba(80,60,120,0.04);
  margin-bottom:12px;
}
.list-amount{
  color:#16a34a;
  font-weight:800;
  font-size:1.05rem;
}
.list-meta{
  font-size:0.82rem;
  color:rgba(0,0,0,0.45);
  margin-top:6px;
}
.tx-hash{
  font-family:monospace;
  font-size:0.75rem;
  color:#3b3b3b;
  word-break:break-all;
  margin-top:6px;
}

/* small utility classes */
.page-bottom-space{ height:120px; }

/* toast wrapper (centered notifications) */
#toastWrap{
  position:fixed;
  left:0;
  right:0;
  top:20px;
  display:flex;
  justify-content:center;
  pointer-events:none;
  z-index:2000;
}

/* buttons in entries (View) */
.list-entry .btn-outline-secondary{
  border-color:rgba(0,0,0,0.06);
  color:#222;
  background:#fff;
}

/* Responsive tweaks for narrow mobile */
@media (max-width:420px){
  .card-panel{ padding:16px; border-radius:12px; }
  .balance-amount{ font-size:1.7rem; }
  .exchange-btn{ width:92%; }
  .input-pill{ padding:12px 14px; }
  .continue-btn{ padding:10px; }
  .list-amount{ font-size:1rem; }
}


    /* ---- FIXED HEADER ----
       Header is fixed at top, same style as your image.
    */
    .friends-topbar{
      position:fixed;
      top:0;
      left:50%;
      transform:translateX(-50%);
      width:100%;
      max-width:var(--mobile-width);
      z-index:1200;
      background: #fff; /* same white bar look */
      border-bottom: 1px solid rgba(0,0,0,0.04);
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:10px 14px;
      box-sizing:border-box;
      height:56px;
    }
    .friends-back{ color:#6b4bd6; text-decoration:none; font-weight:600; font-size:0.95rem; display:flex; align-items:center; gap:8px; }
    .friends-title{ font-weight:700; font-size:1.05rem; text-align:center; color:#222; flex:1; }
    .friends-topbar .spacer{ width:36px; }

    /* push content below the fixed header */
    .friends-page-content{ padding-top:72px; } /* header height + margin */

    /* hero area identical to prior design */
    .friends-hero{
      background: linear-gradient(180deg, #5a04ca, #8a06f8);
      color: #fff;
      border-radius: 14px;
      padding: 18px;
      position:relative;
      overflow:hidden;
      margin-bottom:14px;
    }
    .friends-hero-title{ font-size:1.25rem; margin-bottom:8px; font-weight:800; color:#fff; display:flex; align-items:center; gap:10px }
    .limited-badge{
      font-size:0.65rem;
      padding:6px 8px;
      border-radius:999px;
      background:#fff;
      color:var(--hero-start);
      font-weight:700;
      margin-left:8px;
    }
    .friends-desc{ color: rgba(255,255,255,0.95); font-size:0.95rem; line-height:1.45; margin-bottom:8px }
    .friends-example{ color: rgba(255,255,255,0.85); font-size:0.92rem; margin-bottom:10px }

    /* referral link dashed box */
    .ref-link-block{
      border:2px dashed rgba(255,255,255,0.5);
      border-radius:10px;
      padding:10px;
      display:flex;
      gap:10px;
      align-items:center;
      justify-content:space-between;
      background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
      margin-top:10px;
    }
    .ref-text{ color:#fff; font-size:0.9rem; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
    .copy-ref{
      background: rgba(255,255,255,0.12);
      border:0;
      color:#fff;
      padding:8px 10px;
      border-radius:8px;
      font-weight:700;
    }

    .ref-bonus-pill{
      margin-top:14px;
      background: rgba(0,0,0,0.08);
      padding:12px;
      border-radius:12px;
      display:flex;
      justify-content:space-between;
      align-items:center;
    }
    .ref-bonus-pill .label{ color:#fff; opacity:0.95; font-size:0.9rem; margin-bottom:6px }
    .ref-bonus-pill .amount{ color:#fff; font-weight:800; font-size:1.05rem }
    .ref-bonus-pill .pending{ color:#ffe6f7; font-size:0.85rem; margin-left:8px }
   .claim-btn{border-radius: 40px;padding: 4px 32px;font-weight:700;background: #a5a3a3;color:var(--hero-start);border:0}

    .friends-hero-ribbon{
      position:absolute;
      right:12px;
      top:12px;
      width:60px;
      height:auto;
      pointer-events:none;
    }

    /* stats table card - same look */
    .friends-stats .stats-table{ background:#fff; border-radius:12px; padding:8px; box-shadow:0 8px 20px rgba(107,75,214,0.06) }
    .friends-stats .stats-table th{ font-weight:700; color:#b39ddb; background:transparent; border-bottom:none; font-size:0.85rem }
    .friends-stats .stats-table td{ font-size:0.95rem; padding:12px 8px; color:#333 }
    .friends-stats .loading-row{ text-align:center; color:#b39ddb; padding:18px }

    /* small spacing so footer doesn't overlap */
    .page-bottom-space{ height:120px }

    /* responsive tweaks */
    @media (max-width:420px){
      .friends-hero{ padding:14px; border-radius:12px }
      .friends-hero-title{ font-size:1.15rem }
      .ref-text{ font-size:0.88rem }
      .ref-bonus-pill{ padding:10px; border-radius:10px }
      .friends-stats .stats-table td{ font-size:0.9rem }
      .friends-topbar{ padding:8px 12px; height:52px }
      .friends-page-content{ padding-top:64px }
    }



    /* ===== friends page header fixed addon (PASTE AT END OF style.css) ===== */

/* Scope so it doesn't collide: .friends-page and .friends-header */
.friends-header{
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobile-width);
  z-index: 1100;
  background: #f7f3ff; /* subtle matching background — this mirrors your header style */
  border-bottom: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 10px rgba(30,30,40,0.04);
  border-radius: 0 0 12px 12px; /* keep top corners flush but bottom rounded to match theme */
}

/* inner layout same as screenshot */
.friends-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  gap:8px;
}

/* back button appearance (keeps your look) */
.friends-back-btn{
  background: transparent;
  border: 0;
  color: #6b4bd6;
  font-weight:700;
  font-size:1rem;
  padding:6px;
  text-decoration: none!important;
  border-radius:8px;
  cursor:pointer;
}

/* center title */
.friends-header-title{
  flex:1;
  text-align:center;
  font-weight:700;
  font-size:1.02rem;
  color:#222;
}

/* right space to balance header */
.friends-header-space{ width:36px }

/* Page-scoped adjustments so hero sits nicely */
.friends-page .friends-hero{
  margin-top: 6px; /* fine tune if needed */
}

/* Ensure the header doesn't cover modal sheet handle etc. */
.friends-header + .mobile-frame{ z-index:1; }

/* small responsive tweaks */
@media (max-width:420px){
  .friends-header-inner{ padding:8px 10px; }
  .friends-header-title{ font-size:0.98rem; }
  .friends-back-btn{ font-size:0.98rem; padding:6px; }
}


/* ===== Introduction page addon (PASTE AT END of style.css) =====
   Scoped under .intro-page so existing styles remain unchanged
*/

.intro-page .intro-card{
  background: linear-gradient(180deg,#fff,#fbf8ff);
  border-radius:14px;
  padding:18px;
  box-shadow:0 10px 26px rgba(60,40,120,0.06);
  margin-top:8px;
  margin-bottom:16px;
}

.intro-page .intro-h{
  font-weight:800;
  font-size:1.05rem;
  margin-bottom:10px;
  color:#2b2b35;
}

.intro-page .section-title{
  font-weight:700;
  margin-top:12px;
  margin-bottom:8px;
  color:#3a2b7a;
}

.intro-page .intro-text{
  color:#3b3b3b;
  line-height:1.5;
  font-size:0.95rem;
  margin-bottom:10px;
}

.intro-page .intro-list{
  list-style:none;
  padding-left:0;
  margin:8px 0 12px 0;
}
.intro-page .intro-list li{
  margin-bottom:8px;
  font-size:0.95rem;
  color:#3b3b3b;
}

/* subtle muted link style (keeps theme) */
.intro-page .muted-link{
  color: #6b4bd6;
  text-decoration:none;
  font-weight:600;
}

/* spacing so fixed footer (if present) doesn't overlap */
.intro-page .page-bottom-space{ height:120px; }

/* responsive adjustments to match mobile theme */
@media (max-width:420px){
  .intro-page .intro-card{ padding:14px; border-radius:12px; }
  .intro-page .intro-h{ font-size:1rem; }
  .intro-page .intro-text, .intro-page .intro-list li{ font-size:0.92rem; }
}

/* Rounded button */
    .refresh-btn{
      width: var(--btn-size);
      height: var(--btn-size);
      border-radius: 999px;
      border: none;
      background: var(--btn-bg);
      display: inline-grid;
      place-items: center;
      cursor: pointer;
      box-shadow: 0 6px 18px rgba(13,110,253,0.18);
      transition: background 160ms, transform 160ms;
      padding: 0;
      outline: none;
      -webkit-tap-highlight-color: transparent;
    }
    .refresh-btn:hover{ background: var(--btn-hover); transform: translateY(-2px); }
    .refresh-btn:active{ transform: translateY(0); }

    /* SVG icon */
    .refresh-icon{
      width: var(--icon-size);
      height: var(--icon-size);
      fill: #fff;
      display:block;
      transform-origin: 50% 50%;
    }

    /* rotate animation class */
    @keyframes rotate-cw {
      from { transform: rotate(0deg); }
      to   { transform: rotate(360deg); }
    }

    .refreshing .refresh-icon{
      animation: rotate-cw var(--anim-duration) var(--anim-ease) both;
    }

    /* optional disabled look while animating */
    .refreshing{
      pointer-events: none;
      opacity: 0.95;
      box-shadow: 0 8px 22px rgba(13,110,253,0.14);
    }

     .mytradepower {
    --bg: #ffffff;
    --muted: #9aa0a6;
    --accent: #9b59b6; /* purple */
    --accent-2: #d7b3e6;
    --divider: #e6e6e6;
    --points-green: #3ec12a;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: var(--bg);
    color: #222;
    font-family: var(--font-sans);
    max-width: 520px;
    margin: 28px auto;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 6px 22px rgba(10,10,10,0.06);
  }

  .mtp-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--divider);
  }
  .mtp-row:last-child { border-bottom: none; }

  /* Circular progress with day number */
  .mtp-ring {
    width: 62px;
    height: 62px;
    position: relative;
    flex: 0 0 62px;
  }
  .mtp-ring svg { transform: rotate(-90deg); display:block; }
  .mtp-ring .center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #444;
        margin-left: 12px!important;
    margin-top: 12px!important;
  }
  .mtp-ring .sub {
    display:block;
    font-weight: 500;
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
  }

  /* Text column */
  .mtp-content {
    flex: 1 1 auto;
    min-width: 0;
  }
  .mtp-status {
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:700;
    color: #222;
  }
  .mtp-status .dot {
    width:10px; height:10px; border-radius:50%;
    background: linear-gradient(180deg,#2ecc71,#27ae60);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  }
  .mtp-timestamp {
    font-size: 13px;
    color: var(--muted);
    margin-top:6px;
  }

  /* Right column with points */
  .mtp-right {
    flex: 0 0 86px;
    text-align: right;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
  }
  .mtp-points {
    font-weight:800;
    font-size:20px;
    color: var(--points-green);
    min-width: 56px;
    text-align: right;
  }

  /* tiny hex-cube badge (SVG wrapper) */
  .mtp-badge {
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(180deg,#0f2b1f,#07210f);
    border-radius:100px;
    box-shadow: 0 4px 12px rgba(13,37,28,0.18), inset 0 1px 0 rgba(255,255,255,0.03);
  }

  /* small responsive tweaks */
  @media (max-width:420px){
    .mytradepower { padding: 12px; margin: 10px; }
    .mtp-row { gap: 10px; padding: 10px 2px; }
    .mtp-ring { width:52px; height:52px; flex:0 0 52px; }
    .mtp-right { flex:0 0 78px; }
    .mtp-points { font-size:18px; }
  }