/* ---------- THEME ---------- */
:root{
  --bg: #070914;                 /* deep night blue */
  --card: rgba(18, 22, 40, .72); /* glassy */
  --stroke: rgba(255,255,255,.08);
  --text: #e8ecf7;
  --muted: #b9c8ee;              /* ↑ better contrast */
  --accent1: #7c3aed;            /* purple */
  --accent2: #22d3ee;            /* cyan */
  --accent3: #f59e0b;            /* gold */
  --radius: 18px;
  --shadow: 0 10px 28px rgba(0,0,0,.38); /* slightly lighter for perf */
}

*{box-sizing:border-box}
html,body{margin:0; padding:0; color:var(--text); background:var(--bg); font:16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial}

/* ---------- LAYOUT ---------- */
.container{max-width: 1080px; margin: 0 auto; padding: 20px}
.grid{display:grid; gap:18px}
.grid-2{grid-template-columns: 1fr 1fr}
@media (max-width: 900px){ .grid-2{grid-template-columns: 1fr} }

.header{padding: 26px 0 6px}
h1{margin:0 0 6px; font-size: clamp(28px, 4.6vw, 44px); letter-spacing:.3px}
.subtitle{margin:0 0 12px; color:var(--muted)}

/* ---------- CARDS & UI ---------- */
.card{
  background: var(--card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero{
  min-height: 92vh; display:grid; place-items:center; text-align:center;
}
.hero .inner{max-width: 980px; padding: 24px}
.tagline{color:var(--muted); font-size: 18px; margin: 8px auto 18px; max-width: 720px}

/* big numbers (timer, jackpot) */
.big{
  font-variant-numeric: tabular-nums;
  font-weight: 800; letter-spacing: 1px;
  font-size: clamp(28px, 6.4vw, 52px);
  background: linear-gradient(135deg, var(--accent2), var(--accent1));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 18px rgba(124,58,237,.24);
}
.countdown{font-variant-numeric: tabular-nums; font-weight: 800; font-size: clamp(28px, 6.4vw, 52px)}

/* buttons */
.btn{
  appearance: none; border: 0; cursor: pointer;
  padding: 14px 22px; border-radius: 14px; font-weight: 800; letter-spacing:.2px;
  color: #0b1022; background: linear-gradient(135deg, #f59e0b, #fde047);
  box-shadow: 0 10px 24px rgba(245,158,11,.26);
  transition: transform .08s ease, box-shadow .18s ease, opacity .2s;
}
.btn:hover{ transform: translateY(-2px); box-shadow: 0 14px 32px rgba(245,158,11,.36) }
.btn.secondary{
  color:#0a1020; background: linear-gradient(135deg, #22d3ee, #7dd3fc);
  box-shadow: 0 12px 28px rgba(34,211,238,.30);
}

/* inputs */
input{
  width:100%; padding: 14px 14px;
  background: #0c1226; color: var(--text);
  border: 1px solid var(--stroke); border-radius: 12px; outline: none;
}
input::placeholder{ color:#6f7ea6 }

/* tables */
.table-wrap{overflow:auto}
table{width:100%; border-collapse: collapse}
th,td{padding:12px 12px; border-bottom: 1px solid var(--stroke); text-align:left}
th{color: var(--muted); font-size: 13px; font-weight: 700}
.small{font-size: 13px}
.muted{color: var(--muted)}
.center{text-align:center}

/* ---------- LOTTERY ELEMENTS ---------- */
.balls{display:flex; gap:14px; justify-content:center; margin: 10px 0 6px}
.ball{
  width:70px; height:70px; border-radius:50%;
  display:grid; place-items:center;
  font-weight: 900; font-size: 28px;
  color:#0b1022;
  background:
    radial-gradient(120% 120% at 30% 30%, #fff, #ddd 60%, #c6c6c6 72%, #bdbdbd 80%),
    radial-gradient(90% 90% at 60% 20%, rgba(255,255,255,.9), rgba(255,255,255,0) 60%);
  box-shadow: inset 0 -6px 14px rgba(0,0,0,.25), 0 10px 24px rgba(0,0,0,.45);
  border: 2px solid rgba(255,255,255,.75);
}
.ball.gold{
  background: radial-gradient(120% 120% at 30% 30%, #ffe08a, #f6c24b 60%, #e5a400 78%, #c68a00 88%),
              radial-gradient(90% 90% at 60% 20%, rgba(255,255,255,.8), rgba(255,255,255,0) 60%);
  border-color: #fff2c0;
}

/* “ticket” card */
.ticket{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px dashed rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 14px;
}

/* section headings with accent underline */
.section-title{
  font-weight: 900; letter-spacing:.3px; margin: 0 0 12px;
  border-bottom: 2px solid rgba(124,58,237,.35); padding-bottom: 6px;
}

/* footer */
.footer{padding: 26px 0 40px; text-align:center; color: var(--muted)}
a{ color: #9ad7ff; text-decoration: none }
a:hover{ text-decoration: underline }
.cta-row{ display:flex; gap:12px; flex-wrap:wrap }

/* Modal */
.modal{ position: fixed; inset:0; display:none; place-items:center; background: rgba(0,0,0,.55); z-index:60; }
.modal .box{ background: var(--card); border:1px solid var(--stroke); border-radius: 14px; padding:16px; max-width:560px }
.modal.show{ display:grid }

/* ===== Premium topbar ===== */
.topbar{
  position: sticky; top: 0; z-index: 40;
  background: rgba(7,9,20,.78);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner{
  max-width: 1080px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight: 900; letter-spacing:.4px; color: var(--text); text-decoration:none;
}
.brand__dot{
  width:10px; height:10px; border-radius:50%; display:inline-block;
  background: radial-gradient(circle at 30% 30%, #22d3ee, #7c3aed);
  box-shadow: 0 0 12px rgba(124,58,237,.55), 0 0 18px rgba(34,211,238,.45);
}

.nav{ display:flex; align-items:center; gap:14px; }
.nav a, .nav button.nav__ghost{
  color: #b9c8ee; text-decoration:none; font-weight:700; font-size:14px;
  background: transparent; border: 1px solid transparent; padding: 8px 10px; border-radius: 10px; cursor:pointer;
}
.nav a:hover, .nav button.nav__ghost:hover{ color:#e8ecf7; }
.nav__cta{
  color:#0b1022 !important; background: linear-gradient(135deg,#f59e0b,#fde047);
  border-color: rgba(245,158,11,.35);
  box-shadow: 0 10px 22px rgba(245,158,11,.28);
}
.nav__cta:hover{ transform: translateY(-1px); }

/* Page title spacing under the bar */
.page{ padding-top: 18px; }
.page__title{ margin: 10px 0 4px; font-size: clamp(24px,3.8vw,36px); }

.topbar .links a.cta-buy {
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  color: #0b1022;
  background: linear-gradient(135deg, #f59e0b, #fde047);
  box-shadow: 0 4px 18px rgba(245,158,11,.35);
  transition: transform .15s ease, box-shadow .2s ease;
}
.topbar .links a.cta-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,.45);
}

.card .big {
  display: block;
  text-align: center;
  margin: 0 auto;
}
.card .small.muted {
  text-align: center;
}

/* ---- accordion (winners history) ---- */
.accordion .round-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px; margin:6px 0;
  border:1px solid var(--stroke); border-radius:12px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  cursor:pointer; user-select:none;
}
.accordion .round-head:hover{ border-color: rgba(124,58,237,.45) }
.accordion .round-total{ color: var(--muted); font-weight:700 }
.accordion .round-detail{ padding:8px 2px 2px 2px }
.accordion .carets{
  font-variant-numeric: tabular-nums;
  opacity:.9; font-weight:900;
}

/* countdown pulse */
@keyframes pulseGlow {
  0%   { text-shadow: 0 0 0 rgba(124,58,237,0.0); transform: scale(1); }
  50%  { text-shadow: 0 0 18px rgba(124,58,237,0.45); transform: scale(1.015); }
  100% { text-shadow: 0 0 0 rgba(124,58,237,0.0); transform: scale(1); }
}
.pulse { animation: pulseGlow 0.8s ease-in-out infinite; }

/* winners accordion alt style */
.accordion .round-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px; margin:8px 0 0; border:1px solid var(--stroke);
  border-radius:12px; cursor:pointer; background:rgba(255,255,255,.02);
}
.accordion .round-head:hover{ background:rgba(255,255,255,.04); }
.accordion .round-detail{
  border-left:2px solid rgba(124,58,237,.35); margin:6px 0 10px 8px; padding:8px 0 0 10px;
}
.round-total { color: var(--muted); font-weight:700; }
.carets { margin-left:8px; }
.round-head-left{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.round-digits-badge{
  display:inline-flex; align-items:center; justify-content:center;
  padding:2px 12px; border-radius:999px;
  background:rgba(255,255,255,.08); color:rgba(236,242,255,.9);
  font-weight:700; font-size:12px; letter-spacing:.22em;
  text-transform:uppercase;
}
.round-digits-line{
  display:flex; align-items:center; gap:6px; flex-wrap:wrap;
  margin:0 0 10px 0;
}
.round-digits-value{
  letter-spacing:.22em; font-weight:700;
}

/* top rounds */
#top-rounds .toprow{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 12px; border:1px solid var(--stroke); border-radius:12px; margin-top:8px;
  background:rgba(255,255,255,.02);
}
#top-rounds .toprow .rank{
  width:34px; height:34px; border-radius:50%; display:grid; place-items:center;
  background: linear-gradient(135deg, #22d3ee, #7c3aed); color:#0b1022; font-weight:900;
}

/* microtip + ghost button */
.microtip{ margin-top:6px; color:#9fb0d4; font-size:12.5px }
.btn.ghost{
  background: transparent; color: var(--text); border:1px solid var(--stroke);
  box-shadow:none; font-weight:700; padding:10px 14px; border-radius:12px;
}
.btn.ghost:hover{ background: rgba(255,255,255,.04); }

.input-row{ position:relative; display:flex; align-items:center; gap:8px }
.input-row input{ flex:1 }
.icon-btn{
  min-width:42px; height:42px; border-radius:10px; border:1px solid var(--stroke);
  background:rgba(255,255,255,.04); color:var(--text); cursor:pointer; font-weight:800;
}
.icon-btn:hover{ background:rgba(255,255,255,.07) }

/* micro toast */
.toast{
  position: fixed; left:50%; bottom:28px; transform:translateX(-50%) translateY(16px);
  background:#10162b; color:#e8ecf7; border:1px solid rgba(255,255,255,.1);
  padding:10px 14px; border-radius:10px; opacity:0; transition:.2s ease; z-index:99;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0) }

/* confetti (spin big-win) */
@keyframes pop { 0%{transform:translateY(0) scale(0.9);opacity:1}
  100%{transform:translateY(-120px) scale(1.1);opacity:0} }
.confetti{ position:relative }
.confetti i{
  position:absolute; left:50%; top:0; transform:translateX(-50%);
  animation: pop 900ms ease forwards; font-style:normal; pointer-events:none;
}

/* --- Spin UX helpers (recap + nicer spin buttons) --- */
.spin-btns{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.spin-btns .btn{padding:10px 14px;border-radius:12px}
.recap{margin-top:14px;border:1px dashed var(--stroke);border-radius:12px;padding:12px;background:rgba(255,255,255,.03)}
.recap h4{margin:.2rem 0 .6rem 0;font-size:13px;color:var(--muted)}
.recap .row{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border:1px solid var(--stroke);border-radius:10px;background:rgba(255,255,255,.03);margin-top:8px}
.recap .digits{font-weight:800;letter-spacing:2px}

/* ---- Jackpot “spectacular” ---- */
.card.jackpot{
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 100% at 10% 0%,
              rgba(124,58,237,.20) 0%,
              rgba(34,211,238,.08) 38%,
              rgba(255,255,255,0) 70%) , var(--card);
  border: 1px solid rgba(124,58,237,.35);
}
.card.jackpot::before{
  content:"";
  position:absolute; inset:-2px;
  border-radius: calc(var(--radius) + 2px);
  background: conic-gradient(from 0deg,
              rgba(124,58,237,.0),
              rgba(124,58,237,.65),
              rgba(34,211,238,.65),
              rgba(124,58,237,.0));
  filter: blur(18px); opacity:.35;
  animation: spinGlow 8s linear infinite; z-index:0;
}
@keyframes spinGlow { to { transform: rotate(360deg); } }

.jackpot__wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;z-index:1}
.jackpot__value{position:relative;text-shadow:0 0 22px rgba(124,58,237,.35), 0 0 42px rgba(34,211,238,.25);letter-spacing:1.3px}
.jackpot__value::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(120deg, transparent 0%,
              rgba(255,255,255,.6) 20%, transparent 40%);
  transform: skewX(-20deg) translateX(-120%); opacity:.35;
}
.card.jackpot:hover .jackpot__value::after{
  transition: transform .9s ease; transform: skewX(-20deg) translateX(120%);
}
.jackpot__value.bump{ animation: jackpotBump .75s ease; }
@keyframes jackpotBump{ 0%{transform:scale(1)}30%{transform:scale(1.06)}60%{transform:scale(1.02)}100%{transform:scale(1)} }
.jackpot__meta{display:flex;align-items:center;justify-content:space-between;margin-top:8px;gap:10px;z-index:1;position:relative}
.pill{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;font-weight:800;font-size:12px;border:1px solid var(--stroke);background:rgba(255,255,255,.06);white-space:nowrap}
.pill--cyan{ border-color: rgba(34,211,238,.35); }
.pill--purple{ border-color: rgba(124,58,237,.35); }

/* --- brand slot icon --- */
.brand__slot { display:inline-grid; place-items:center; width:22px; height:22px; margin-right:8px; filter: drop-shadow(0 1px 6px rgba(124,58,237,.35)); }

/* --- tiny icon link (pump.fun) --- */
.icon-link{
  display:inline-flex; align-items:center; justify-content:center;
  width:34px; height:34px; border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  transition: background .15s ease, transform .1s ease;
}
.icon-link:hover{ background: rgba(255,255,255,.10); transform: translateY(-1px); }
.icon-link img{ width:18px; height:18px; display:block; }

/* ===== Admin Reveal — Vegas Stream Look ===== */
body.vegas { background: radial-gradient(120% 140% at 50% -10%, rgba(124,58,237,.12), rgba(34,211,238,.06) 40%, var(--bg) 68%) fixed, var(--bg); }

.ribbon{
  position: sticky; top:0; z-index:60;
  background: linear-gradient(180deg, #fee9b4, #fddc91);
  color:#1b102e; font-weight:900; letter-spacing:.2px;
  text-align:center; padding:10px 14px; border-bottom:1px solid rgba(0,0,0,.15);
  box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 0 28px rgba(245,158,11,.25) inset;
}

.admin__hero{ text-align:left; margin: 16px 0 8px; }
.admin__title{ margin:0; font-size: clamp(26px,4.2vw,40px); letter-spacing:.4px }
.admin__tag{ margin:6px 0 0; color:var(--muted) }

.admin__grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap:18px; }
@media (max-width: 980px){ .admin__grid{ grid-template-columns: 1fr; } }

.panel{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(124,58,237,.25);
  border-radius: 16px; padding:16px; position:relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.panel::before{
  content:""; position:absolute; inset:-2px; border-radius:18px;
  background: conic-gradient(from 60deg, rgba(124,58,237,.0), rgba(124,58,237,.6), rgba(34,211,238,.5), rgba(124,58,237,.0));
  filter: blur(20px); opacity:.22; z-index:-1;
  animation: spinGlow 12s linear infinite;
}
@keyframes spinGlow { to{ transform:rotate(360deg); } }

.panel__title{ margin: 4px 0 10px; font-weight:900; border-bottom:2px solid rgba(124,58,237,.35); padding-bottom:6px; }

.mode-row{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.pill-btn{ border-radius:999px; padding:8px 14px; font-weight:900; }
.pill-btn.is-on{ background: linear-gradient(135deg, #22d3ee55, #7c3aed66); border:1px solid rgba(124,58,237,.5) }

.form-grid{
  display:grid; grid-template-columns: 1fr 240px; gap:12px; margin-top:8px;
}
.form-grid .full{ grid-column: 1 / -1; }
.label{ display:block; font-size:12px; color:var(--muted); margin:0 0 4px; }
.form-grid input{
  width:100%; padding:12px 12px; border-radius:12px; border:1px solid var(--stroke);
  background:#0c1226; color:var(--text);
}

.btn-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.btn.glow{
  position:relative; overflow:hidden;
}
.btn.glow::after{
  content:""; position:absolute; inset:-2px; border-radius:14px;
  background: radial-gradient(100% 60% at 0% 0%, rgba(124,58,237,.35), transparent 60%),
              radial-gradient(100% 60% at 100% 100%, rgba(34,211,238,.35), transparent 60%);
  opacity:.35; pointer-events:none;
}
.btn.accent{ background: linear-gradient(135deg, #22d3ee, #7dd3fc); color:#0b1022; box-shadow:0 10px 28px rgba(34,211,238,.25) }
.btn.large{ padding:16px 24px; font-size:16px; border-radius:14px; }
.btn.ghost{ background: transparent; color: var(--text); border:1px solid var(--stroke); }

.stage{
  background:
    radial-gradient(120% 120% at 15% 0%, rgba(124,58,237,.20), transparent 55%),
    radial-gradient(120% 120% at 85% 100%, rgba(34,211,238,.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.reels{
  display:flex; gap:22px; justify-content:center; margin: 16px 0 8px;
}
.reel{
  width:140px; height:140px; border-radius:50%;
  display:grid; place-items:center;
  font-weight:900; font-size:52px; color:#0b1022;
  background:
    radial-gradient(120% 120% at 30% 30%, #fff, #ddd 60%, #c6c6c6 75%, #bdbdbd 85%),
    radial-gradient(90% 90% at 60% 20%, rgba(255,255,255,.9), rgba(255,255,255,0) 60%);
  border: 2px solid rgba(255,255,255,.8);
  box-shadow: inset 0 -10px 24px rgba(0,0,0,.28), 0 20px 48px rgba(0,0,0,.45);
  animation: reelIdle 4s ease-in-out infinite;
}
.reel--gold{
  background:
    radial-gradient(120% 120% at 30% 30%, #ffe08a, #f6c24b 60%, #e5a400 78%, #c68a00 88%),
    radial-gradient(90% 90% at 60% 20%, rgba(255,255,255,.85), rgba(255,255,255,0) 60%);
  border-color:#fff2c0;
}
@keyframes reelIdle{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-2px) } }

.stage__meta{ text-align:center; margin: 4px 0 12px; }
.stage__actions{ display:flex; justify-content:center; gap:10px; flex-wrap:wrap; }

.ticker{ margin-top:10px; display:flex; flex-direction:column; gap:6px; max-height:160px; overflow:auto; }
.ticker .item{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:10px; padding:8px 10px; font-size:12.5px; color:#cfe0ff; }

/* subtle success flash when setting mock */
.flash-ok .panel.stage{ animation: okFlash .9s ease; }
@keyframes okFlash{
  0%{ box-shadow: 0 0 0 0 rgba(34,211,238,.0), 0 20px 60px rgba(0,0,0,.35); }
  30%{ box-shadow: 0 0 0 14px rgba(34,211,238,.25), 0 20px 60px rgba(0,0,0,.35); }
  100%{ box-shadow: 0 0 0 0 rgba(34,211,238,.0), 0 20px 60px rgba(0,0,0,.35); }
}

/* toast reused */
.toast{ position: fixed; left:50%; bottom:28px; transform:translate(-50%,12px); background:#10162b; color:#e8ecf7; border:1px solid rgba(255,255,255,.1); padding:10px 14px; border-radius:10px; opacity:0; transition:.2s; z-index:70; }
.toast.show{ opacity:1; transform:translate(-50%,0); }

/* CTA – default */
.cta{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.9rem 1.2rem; border-radius:12px; font-weight:800;
  background: linear-gradient(135deg,#f59e0b,#fde047);
  color:#0b1022; text-decoration:none; box-shadow:0 10px 26px rgba(245,158,11,.35);
  transition:transform .12s ease, box-shadow .18s ease, opacity .2s ease;
}
.cta:hover{ transform:translateY(-1px); box-shadow:0 12px 30px rgba(245,158,11,.44); }
.cta__icon{ opacity:.9; }

/* LOCKED state */
.cta--locked,
.cta[aria-disabled="true"]{
  filter: grayscale(.25);
  opacity:.55;
  cursor:not-allowed;
  pointer-events:none;
  box-shadow:none;
  background: linear-gradient(135deg,#3b3b45,#58586a);
  color:#cfd3e6;
}
.cta--locked .cta__icon{ opacity:1; }

/* Locked Enter button – make it clearly a (disabled) button */
#enter[aria-disabled="true"]{
  pointer-events:none;
  cursor:not-allowed;
  opacity:.68;
  background:#2f3445;
  color:#cfd3e6;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  box-shadow: inset 0 0 6px rgba(0,0,0,.35);
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:800;
}
#enter[aria-disabled="true"] .i{ font-size:1.15em }

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
}

/* Improved teaser contrast */
.teaser{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  padding:12px;
  color:#dbe7ff;
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
}

/* --- Top 50 holders: row-card look to match "top rounds" --- */
.leaders .leader-row{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border:1px solid var(--stroke);
  border-radius:12px;
  margin-top:8px;
  background:rgba(255,255,255,.02);
}
.leaders .leader-row:hover{ background:rgba(255,255,255,.04); }

/* rank bubble (reuse look from #top-rounds) */
.leaders .rank{
  width:34px; height:34px; border-radius:50%;
  display:grid; place-items:center;
  background: linear-gradient(135deg, #22d3ee, #7c3aed);
  color:#0b1022; font-weight:900;
  flex: 0 0 auto;
}

/* address + columns */
.leaders .addr{
  font-weight:700; letter-spacing:.2px;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  min-width: 0; /* allow ellipsis in flex */
}
.leaders .amt{ color: var(--muted); }
.leaders .pulls{
  font-weight:800;
  padding:4px 8px; border-radius:10px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.04);
}

/* layout per column */
.leaders .col{
  display:flex; align-items:center; gap:10px; min-width:0;
}
.leaders .col.addr{ flex: 1 1 50%; }
.leaders .col.amt { flex: 0 0 120px; justify-content:flex-end; }
.leaders .col.meta{ flex: 0 0 auto; gap:8px; }

/* tier badges */
.badge{
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 10px; border-radius:999px;
  font-weight:800; font-size:12px; white-space:nowrap;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
}
.badge--tier20{ /* cyan */
  border-color: rgba(34,211,238,.35);
  background: rgba(34,211,238,.10);
  color: #b8f3ff;
}
.badge--tier50{ /* purple */
  border-color: rgba(124,58,237,.35);
  background: rgba(124,58,237,.10);
  color: #e6d3ff;
}

/* responsive: hide Amount on narrow screens */
@media (max-width: 560px){
  .leaders .col.amt{ display:none; }
}

/* already present but make sure they're there */
th.right, td.right { text-align: right; }

/* optional: subtle row hover to match other cards */
.leaders-table tbody tr:hover {
  background: rgba(255,255,255,.03);
}
