/* ============================================================
   QUICK EARN - MN HOST Telegram Mini App - Premium Dark Theme
   Design system: navy #0a1a3a / sky #00a8e8 / green #16c46c
   Lean, no frameworks. Shared by all app pages.
   ============================================================ */
:root {
  --navy: #0a1a3a;
  --navy-2: #0f2149;
  --navy-3: #16295c;
  --sky: #00a8e8;
  --sky-2: #33c0f0;
  --green: #16c46c;
  --green-2: #3ddc8b;
  --gold: #ffc94d;
  --red: #ff5a5a;
  --purple: #8b5fbf;
  --pink: #ff6b8b;
  --text: #f4f8ff;
  --muted: #9fb0d4;
  --card: #111f45;
  --card-2: #16295c;
  --border: rgba(255,255,255,0.10);
  --grad: linear-gradient(160deg, #0a1a3a 0%, #0d1f49 45%, #0e3a66 100%);
  --grad-sky: linear-gradient(135deg, #00a8e8 0%, #0078d4 100%);
  --grad-green: linear-gradient(135deg, #16c46c 0%, #0ea55a 100%);
  --grad-gold: linear-gradient(135deg, #ffc94d 0%, #ff9f2e 100%);
  --grad-purple: linear-gradient(135deg, #8b5fbf 0%, #ff6b8b 100%);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --shadow-sm: 0 4px 14px rgba(0,0,0,0.25);
  --radius: 16px;
  --radius-sm: 12px;
}
* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html { scroll-behavior:smooth; }
body {
  font-family: 'Hind Siliguri','Inter','Segoe UI','Noto Sans Bengali',sans-serif;
  background: var(--grad);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  font-size: 14.5px;
  line-height: 1.55;
  padding-bottom: 84px;
  overflow-x: hidden;
}
a { color: var(--sky-2); text-decoration: none; }
img { max-width: 100%; }

/* ---------- Top header ---------- */
.app-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,26,58,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.hd-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hd-logo {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--sky), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 4px 14px rgba(0,168,232,0.4);
}
.hd-title { font-size: 15px; font-weight: 700; line-height: 1.2; }
.hd-sub { font-size: 11px; color: var(--muted); }
.hd-balance {
  background: linear-gradient(135deg, rgba(22,196,108,0.18), rgba(0,168,232,0.14));
  border: 1px solid rgba(22,196,108,0.35);
  padding: 6px 12px; border-radius: 30px; font-weight: 700; font-size: 13px;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.hd-balance i { color: var(--gold); }

/* ---------- Layout ---------- */
.container { max-width: 520px; margin: 0 auto; padding: 16px 14px; }
.section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700; margin: 20px 0 12px; color: var(--text);
}
.section-title i { color: var(--sky-2); }
.section-title .more { margin-left:auto; font-size:12px; color: var(--muted); font-weight: 500; }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--green));
  opacity: .9;
}
.card.hoverable:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card.hoverable:active { transform: scale(0.985); }
.card-plain::before { display: none; }

/* ---------- Hero / balance ---------- */
.hero {
  background: linear-gradient(135deg, rgba(0,168,232,0.22), rgba(22,196,108,0.14)), var(--navy-2);
  border: 1px solid rgba(0,168,232,0.3);
  border-radius: 20px;
  padding: 20px 18px;
  margin-bottom: 14px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.hero::after {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,232,0.35), transparent 70%);
}
.hero-label { font-size: 12.5px; color: var(--muted); display:flex; align-items:center; gap:6px; font-weight:600; }
.hero-amount { font-size: 34px; font-weight: 800; margin: 6px 0 2px; letter-spacing: .5px; }
.hero-amount .cur { font-size: 18px; color: var(--sky-2); font-weight: 700; }
.hero-row { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; position: relative; z-index: 2; }
.chip {
  background: rgba(255,255,255,0.08); border: 1px solid var(--border);
  border-radius: 30px; padding: 6px 12px; font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.chip.green { color: #5fe0a0; border-color: rgba(22,196,108,0.4); background: rgba(22,196,108,0.12); }
.chip.sky { color: #6ccdf5; border-color: rgba(0,168,232,0.4); background: rgba(0,168,232,0.12); }
.chip.gold { color: var(--gold); border-color: rgba(255,201,77,0.4); background: rgba(255,201,77,0.1); }

/* ---------- KPI grid ---------- */
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.kpi {
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 14px 12px; text-align: center; position: relative; overflow: hidden;
}
.kpi .k-icon {
  width: 38px; height: 38px; border-radius: 12px; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.kpi .k-icon.sky { background: rgba(0,168,232,0.16); color: var(--sky-2); }
.kpi .k-icon.green { background: rgba(22,196,108,0.16); color: var(--green-2); }
.kpi .k-icon.gold { background: rgba(255,201,77,0.14); color: var(--gold); }
.kpi .k-icon.pink { background: rgba(255,107,139,0.14); color: var(--pink); }
.kpi .k-val { font-size: 19px; font-weight: 800; }
.kpi .k-label { font-size: 11.5px; color: var(--muted); margin-top: 2px; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; text-decoration: none; font-family: inherit;
  font-weight: 700; font-size: 14px; padding: 12px 20px; border-radius: 12px;
  color: #fff; transition: transform .15s ease, box-shadow .2s ease, opacity .2s;
  background: var(--grad-sky); box-shadow: 0 6px 18px rgba(0,168,232,0.35);
}
.btn:active { transform: scale(0.96); }
.btn:hover { box-shadow: 0 8px 22px rgba(0,168,232,0.5); }
.btn.block { width: 100%; }
.btn.green { background: var(--grad-green); box-shadow: 0 6px 18px rgba(22,196,108,0.35); }
.btn.gold { background: var(--grad-gold); color: #3a2600; box-shadow: 0 6px 18px rgba(255,201,77,0.3); }
.btn.purple { background: var(--grad-purple); box-shadow: 0 6px 18px rgba(139,95,191,0.35); }
.btn.ghost { background: rgba(255,255,255,0.08); border: 1px solid var(--border); box-shadow: none; color: var(--text); }
.btn.sm { padding: 8px 14px; font-size: 12.5px; border-radius: 10px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ---------- Task cards ---------- */
.task-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; margin-bottom: 14px; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.task-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tc-icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.tc-icon.sky { background: rgba(0,168,232,0.16); color: var(--sky-2); }
.tc-icon.green { background: rgba(22,196,108,0.16); color: var(--green-2); }
.tc-icon.red { background: rgba(255,90,90,0.15); color: #ff8080; }
.tc-icon.gold { background: rgba(255,201,77,0.14); color: var(--gold); }
.tc-icon.purple { background: rgba(139,95,191,0.16); color: #b28fe0; }
.tc-title { font-size: 15px; font-weight: 700; line-height: 1.3; }
.tc-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.tc-reward {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(22,196,108,0.12); color: #5fe0a0;
  border: 1px solid rgba(22,196,108,0.35); border-radius: 30px;
  padding: 4px 12px; font-size: 12.5px; font-weight: 700; margin-bottom: 12px;
}
.tc-reward.done { background: rgba(255,255,255,0.06); color: var(--muted); border-color: var(--border); }
.tc-desc { font-size: 13px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.tc-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-label i { color: var(--sky-2); margin-right: 5px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: rgba(0,0,0,0.28); border: 1px solid var(--border); color: var(--text);
  font-family: inherit; font-size: 14px; transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(0,168,232,0.25);
}
.form-input::placeholder, .form-textarea::placeholder { color: #7d8db5; }
.form-select option { background: var(--navy-2); color: var(--text); }

/* ---------- Alerts / messages ---------- */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  border-radius: 12px; padding: 12px 14px; margin-bottom: 14px;
  font-size: 13.5px; border: 1px solid;
}
.alert i { margin-top: 2px; }
.alert-error { background: rgba(255,90,90,0.12); border-color: rgba(255,90,90,0.35); color: #ff9d9d; }
.alert-success { background: rgba(22,196,108,0.12); border-color: rgba(22,196,108,0.35); color: #6fe8ab; }
.alert-info { background: rgba(0,168,232,0.12); border-color: rgba(0,168,232,0.35); color: #7fd4f5; }

/* ---------- Tables ---------- */
.table-wrap {
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  margin-bottom: 14px;
}
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th {
  background: rgba(0,168,232,0.14); color: var(--sky-2);
  padding: 11px 12px; text-align: left; font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .4px;
}
.table td { padding: 12px; border-top: 1px solid var(--border); color: var(--text); }
.table tr:hover td { background: rgba(255,255,255,0.03); }
.table .amount { font-weight: 700; color: var(--sky-2); }
.table .date { color: var(--muted); font-size: 12px; }

/* ---------- Status badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 30px; font-size: 11.5px; font-weight: 700;
}
.badge.pending { background: rgba(255,201,77,0.14); color: var(--gold); border: 1px solid rgba(255,201,77,0.35); }
.badge.approved, .badge.success { background: rgba(22,196,108,0.14); color: #5fe0a0; border: 1px solid rgba(22,196,108,0.35); }
.badge.rejected, .badge.error { background: rgba(255,90,90,0.14); color: #ff8080; border: 1px solid rgba(255,90,90,0.35); }
.badge.active { background: rgba(0,168,232,0.14); color: var(--sky-2); border: 1px solid rgba(0,168,232,0.35); }

/* ---------- Progress ---------- */
.progress-track { height: 8px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.progress-fill {
  height: 100%; border-radius: 10px;
  background: linear-gradient(90deg, var(--sky), var(--green));
  transition: width .5s ease; position: relative;
}
.progress-fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: shimmer 2s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ---------- Bottom nav ---------- */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,18,42,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-around; padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--muted); font-size: 10.5px; font-weight: 600; text-decoration: none;
  padding: 5px 12px; border-radius: 12px; transition: all .2s; position: relative;
}
.nav-item i { font-size: 19px; }
.nav-item.active { color: var(--sky-2); background: rgba(0,168,232,0.14); }
.nav-item.active::before {
  content: ''; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 3px; border-radius: 3px; background: var(--grad-sky);
}

/* ---------- Toast ---------- */
.toast-container { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 9999; width: calc(100% - 28px); max-width: 400px; }
.toast {
  background: rgba(14,28,62,0.95); border: 1px solid var(--border);
  border-left: 4px solid var(--sky); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 8px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600;
  animation: toastIn .3s ease, toastOut .4s ease 2.6s forwards;
}
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--red); }
.toast i { font-size: 16px; }
.toast.success i { color: var(--green-2); }
.toast.error i { color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-12px); } }

/* ---------- Notice popup ---------- */
.notice-popup {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
  background: rgba(4,10,26,0.85); backdrop-filter: blur(5px); padding: 18px;
  animation: fadeIn .25s ease;
}
.notice-box {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #10244f 0%, var(--navy-2) 45%, #0a1a3a 100%);
  border: 1px solid rgba(0,168,232,0.35); border-radius: 22px;
  padding: 20px 20px 18px; max-width: 360px; width: 100%;
  box-shadow: 0 18px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(0,168,232,.12);
  animation: popIn .35s ease;
}
.notice-box::before {
  content:''; position:absolute; top:-60px; right:-60px; width:170px; height:170px; border-radius:50%;
  background: radial-gradient(circle, rgba(0,168,232,.35), transparent 70%); pointer-events:none;
}
.notice-box::after {
  content:''; position:absolute; bottom:-70px; left:-50px; width:150px; height:150px; border-radius:50%;
  background: radial-gradient(circle, rgba(22,196,108,.22), transparent 70%); pointer-events:none;
}
.notice-head {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255,201,77,.35);
}
.nh-ico {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffc94d, #ff9f2e); color: #1a1206; font-size: 17px;
  box-shadow: 0 5px 14px rgba(255,201,77,.35);
}
.notice-title { font-size: 16px; font-weight: 700; color: #ffd75e; letter-spacing: .2px; }
.notice-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.notice-body { position: relative; z-index: 1; font-size: 13.5px; color: var(--text); max-height: 44vh; overflow-y: auto; line-height: 1.65; margin-bottom: 16px; }
.notice-body h3, .notice-body h4 { margin: 6px 0 8px; color: #fff; font-size: 16px; }
.notice-body ul, .notice-body ol { padding-left: 18px; margin: 8px 0; }
.notice-body li { margin: 5px 0; }
.notice-body p { margin: 8px 0; }
.notice-body a { color: var(--sky-2); }
.notice-body b { color: #ffd75e; }
@keyframes popIn { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Refer section ---------- */
.refer-box {
  background: linear-gradient(135deg, rgba(255,201,77,0.12), rgba(255,159,46,0.06)), var(--navy-2);
  border: 1px solid rgba(255,201,77,0.3); border-radius: var(--radius);
  padding: 16px; margin-bottom: 14px;
}
.refer-link-box {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,0.3); border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 12px; margin: 10px 0;
}
.refer-link { flex: 1; font-size: 11.5px; color: var(--sky-2); word-break: break-all; font-weight: 600; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 6px; } .mt-2 { margin-top: 12px; } .mt-3 { margin-top: 18px; }
.mb-1 { margin-bottom: 6px; } .mb-2 { margin-bottom: 12px; } .mb-3 { margin-bottom: 18px; }
.center { text-align: center; }
.flex { display: flex; align-items: center; gap: 10px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.flex-wrap { flex-wrap: wrap; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.bold { font-weight: 700; }
.emoji-lg { font-size: 40px; line-height: 1; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,168,232,0.4); border-radius: 6px; }

/* ---------- Empty state ---------- */
.empty {
  text-align: center; padding: 34px 16px; color: var(--muted);
}
.empty .e-icon { font-size: 44px; margin-bottom: 10px; opacity: .8; }
.empty p { font-size: 14px; }

/* ---------- YouTube embed ---------- */
.video-wrap {
  position: relative; width: 100%; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 12px; background: #000;
}
.video-wrap iframe { display: block; width: 100%; height: 215px; border: 0; }
@media (max-width: 380px) { .video-wrap iframe { height: 190px; } }

/* ---------- Support cards ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 12px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.contact-card .c-icon { font-size: 22px; margin-bottom: 8px; }
.contact-card .c-title { font-size: 13.5px; font-weight: 700; }
.contact-card .c-desc { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Loader page ---------- */
.loader-wrap {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; text-align: center; position: relative;
}
.loader-logo {
  width: 92px; height: 92px; border-radius: 26px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--sky), var(--green));
  display: flex; align-items: center; justify-content: center; font-size: 42px;
  box-shadow: 0 14px 36px rgba(0,168,232,0.45);
  animation: floaty 3s ease-in-out infinite;
  position: relative;
}
.loader-logo::after { content:''; position:absolute; inset:-4px; border-radius:30px; border:2px solid rgba(255,255,255,0.15); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.loader-title { font-size: 25px; font-weight: 800; letter-spacing: .3px; }
.loader-sub { color: var(--muted); font-size: 14px; margin: 4px 0 14px; font-weight: 500; }
.tag-pill {
  display: inline-block; padding: 6px 14px; border-radius: 30px; font-size: 12px; font-weight: 600;
  background: rgba(22,196,108,0.14); color: #5fe0a0; border: 1px solid rgba(22,196,108,0.4); margin-bottom: 22px;
}
.steps-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 14px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.step-dot {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  color: var(--muted); background: rgba(255,255,255,0.04); transition: all .3s;
}
.step small { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.step.done .step-dot { background: var(--green); border-color: var(--green); color: #fff; }
.step.done small { color: #5fe0a0; }
.step-line { width: 26px; height: 2px; background: rgba(255,255,255,0.15); margin-bottom: 20px; }

/* ---------- 5-item bottom nav (contest added) ---------- */
.bottom-nav .nav-item { padding: 5px 7px; }
.bottom-nav .nav-item i { font-size: 18px; }
@media (max-width: 360px) { .bottom-nav .nav-item { padding: 5px 5px; } .bottom-nav .nav-item span { font-size: 9.5px; } }


/* ============================================================
   Real-time balance feedback  (bal.js)
   ------------------------------------------------------------
   Every balance element carries data-balance; bal.js repaints the
   inner .qeNum and adds .qe-pop so the change is felt, not hunted.
   ============================================================ */
.hd-balance, .hero-amount, .kpi .k-val { transition: color .35s ease; }
.hd-balance .qeNum, .hero-amount .qeNum, .kpi .k-val .qeNum {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  display: inline-block;
}
/* the header figure is the one that pops */
.hd-balance.qe-pop { animation: qeBalPop .62s cubic-bezier(.2,.9,.25,1); }
@keyframes qeBalPop {
  0%   { transform: scale(1);    }
  28%  { transform: scale(1.14); color: var(--green-2); text-shadow: 0 0 18px rgba(22,196,108,.55); }
  100% { transform: scale(1);    }
}
.hero-amount .qeNum.qe-pop-num { animation: qeNumPulse .6s ease; }
@keyframes qeNumPulse { 50% { transform: scale(1.06); } }

/* floating "+50.00 BDT" chip that rises off the header */
.qe-delta {
  position: fixed;
  top: 58px; right: 14px;
  z-index: 10000;
  padding: 7px 13px;
  border-radius: 30px;
  font-size: 12.5px; font-weight: 800;
  color: #06210f;
  background: linear-gradient(135deg, #5fe0a0, #16c46c);
  box-shadow: 0 10px 26px rgba(22,196,108,.45);
  pointer-events: none;
  animation: qeDeltaIn .38s cubic-bezier(.2,.9,.25,1);
  transition: opacity .6s ease, transform .6s ease;
}
.qe-delta.out { opacity: 0; transform: translateY(-26px); }
@keyframes qeDeltaIn {
  from { opacity: 0; transform: translateY(14px) scale(.8); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* toast entry/exit (all pages use the same container) */
.toast-container .toast { animation: toastIn .28s cubic-bezier(.2,.9,.25,1); }

@media (prefers-reduced-motion: reduce) {
  .hd-balance.qe-pop, .qe-delta, .toast-container .toast { animation: none !important; }
}
