/*
 * MysteryEarn v2 Design System
 * Full override of the v1 purple theme.
 * Palette: dark (#0A0D08), lime (#8CE64B), gold (#F5A623), teal (#43D69E)
 */

/* ── Legacy CSS Neutralizer ─────────────────────────────── */
/* Resets every conflict from mysteryearn-app.css when in v2 context */
body.ui-v2 { --purple: #8CE64B; --purple-dark: #6FCB1F; --purple-light: rgba(140,230,75,0.15); --bg: #0A0D08; --text: #F5F6F2; --text-muted: rgba(245,246,242,0.6); --card-bg: #12160E; --accent: #8CE64B; --gold: #F5A623; }
body.ui-v2 .app,
body.ui-v2 main.app  { max-width: none !important; width: 100% !important; min-width: 0 !important; margin: 0 !important; border-radius: 0 !important; }
body.ui-v2 .panel    { background: #12160E !important; border: 1px solid rgba(255,255,255,0.06) !important; }
body.ui-v2 .hero     { display: none !important; } /* old hero section hidden in v2 */
body.ui-v2 .topbar   { background: rgba(10,13,8,0.95) !important; border-bottom: 1px solid rgba(255,255,255,0.04) !important; max-width: none !important; }
body.ui-v2 .nav-item { color: #9AA08E !important; }
body.ui-v2 .nav-item.active { color: #8CE64B !important; }
body.ui-v2 .btn.primary { background: linear-gradient(135deg,#8CE64B,#6FCB1F) !important; color: #0A0D08 !important; box-shadow: 0 8px 22px rgba(105,203,31,0.2) !important; border: 0 !important; }
body.ui-v2 .badge.gold { background: linear-gradient(135deg,rgba(245,166,35,0.15),rgba(245,166,35,0.06)) !important; color: #F5A623 !important; border: 1px solid rgba(245,166,35,0.25) !important; }
body.ui-v2 .badge.green { background: rgba(140,230,75,0.12) !important; color: #8CE64B !important; }


/* ── CSS Variables ──────────────────────────────────────── */
body.ui-v2 {
  --bg: #0A0D08;
  --surface: #12160E;
  --surface-2: #171C11;
  --surface-3: #1D2418;
  --text: #F5F6F2;
  --muted: #9AA08E;
  --faint: #5c6352;
  --accent: #8CE64B;
  --accent-2: #6FCB1F;
  --gold: #F5A623;
  --gold-muted: rgba(245,166,35,0.6);
  --teal: #43D69E;
  --blue: #2AABEE;
  --red: #FF5C68;
  --orange: #FF8A3D;
  --line: rgba(255,255,255,0.06);
  --accent-line: rgba(140,230,75,0.18);
  --gold-line: rgba(245,166,35,0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xl: 24px;
  --page-gutter: clamp(14px, 4vw, 24px);
  --safe-top: max(env(safe-area-inset-top, 0px), var(--tg-safe-area-inset-top, 0px));
  --safe-right: max(env(safe-area-inset-right, 0px), var(--tg-safe-area-inset-right, 0px));
  --safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--tg-safe-area-inset-bottom, 0px));
  --safe-left: max(env(safe-area-inset-left, 0px), var(--tg-safe-area-inset-left, 0px));
}

/* ── Reset / Base ───────────────────────────────────────── */
html,
body.ui-v2 {
  margin: 0;
  padding: 0;
  background: #0A0D08;
  color: #F5F6F2;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.ui-v2 {
  overflow: hidden;
  max-width: none;
  width: 100%;
}

body.ui-v2 *,
body.ui-v2 *::before,
body.ui-v2 *::after { box-sizing: border-box; }

body.ui-v2 #me-app {
  width: 100%;
  height: var(--tg-viewport-stable-height, 100dvh);
  min-height: 100svh;
  overflow: hidden;
}

/* ── App Shell (full-width, full-height) ────────────────── */
body.ui-v2 .app {
  position: relative;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: var(--tg-viewport-stable-height, 100dvh);
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 85% 5%, rgba(140,230,75,0.09), transparent 30%),
    radial-gradient(circle at 8% 85%, rgba(245,166,35,0.05), transparent 28%),
    linear-gradient(180deg, #0b0f09 0%, #070a06 60%, #040605 100%);
}

/* ── Boot / Loading ─────────────────────────────────────── */
body.ui-v2 .v2-boot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
  height: 100%;
}

body.ui-v2 .v2-boot > img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(140,230,75,0.44));
}

body.ui-v2 .v2-boot > span {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(140,230,75,0.18);
  border-top-color: #8CE64B;
  border-radius: 50%;
  animation: v2-spin 0.75s linear infinite;
}

@keyframes v2-spin { to { transform: rotate(360deg); } }

/* ── Page / Scroll Container ────────────────────────────── */
body.ui-v2 .page {
  position: relative;
  height: 100%;
  width: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 0 calc(var(--page-gutter) + var(--safe-right))
    calc(84px + var(--safe-bottom)) calc(var(--page-gutter) + var(--safe-left));
}

body.ui-v2 .page::-webkit-scrollbar { display: none; }

body.ui-v2 .screen-content {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  text-align: initial;
}

body.ui-v2 .page.no-nav {
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

/* ── Topbar: back/sub-page style ─────────────────────────── */
body.ui-v2 .topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  margin: -2px 0 14px;
  padding: 0;
  background: rgba(10,13,8,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* Screen-level headers that are full-width sticky */
body.ui-v2 .v2-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: calc(66px + var(--safe-top));
  margin: 0 0 14px;
  padding: calc(12px + var(--safe-top)) calc(var(--page-gutter) + var(--safe-right)) 12px
    calc(var(--page-gutter) + var(--safe-left));
  background: rgba(10,13,8,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

body.ui-v2 .page > .v2-header {
  margin-right: calc((var(--page-gutter) + var(--safe-right)) * -1);
  margin-left: calc((var(--page-gutter) + var(--safe-left)) * -1);
}

body.ui-v2 .v2-header h1 {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #F5F6F2;
}

/* ── Icon buttons ────────────────────────────────────────── */
body.ui-v2 .icon-btn {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  background: #12160E;
  cursor: pointer;
  touch-action: manipulation;
}

body.ui-v2 .icon-btn:active { transform: scale(0.94); }

body.ui-v2 .icon-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

body.ui-v2 .icon-btn.back {
  font-size: 18px;
  color: #F5F6F2;
}

/* ── Balance pill ────────────────────────────────────────── */
body.ui-v2 .balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px;
  background: #12160E;
  color: #F5A623;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

body.ui-v2 .balance-pill img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Notification button */
body.ui-v2 .notification-button {
  position: relative;
  overflow: visible;
}

/* The supplied bell artwork includes a baked-in red badge. The product does
   not use unread badges, so cover that small artwork area with the button. */
body.ui-v2 .notification-button::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 5px;
  width: 10px;
  height: 12px;
  border-radius: 50%;
  background: #12160E;
  pointer-events: none;
}

body.ui-v2 .notification-alert {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 5;
  width: 9px;
  height: 9px;
  border: 1.5px solid #0A0D08;
  border-radius: 50%;
  background: #8CE64B;
  animation: v2-notif-pulse 1.4s ease-out infinite;
  pointer-events: none;
}

@keyframes v2-notif-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(140,230,75,0.72); }
  70%  { box-shadow: 0 0 0 6px rgba(140,230,75,0); }
  100% { box-shadow: 0 0 0 0 rgba(140,230,75,0); }
}

/* ── Screen Name / Logo area ────────────────────────────── */
body.ui-v2 .screen-name {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 900;
  color: #F5F6F2;
}

body.ui-v2 .screen-name img {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: cover;
  border: 2px solid rgba(140,230,75,0.4);
  border-radius: 50%;
}

/* ── Bottom Navigation ───────────────────────────────────── */
body.ui-v2 .bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px clamp(4px, 2vw, 16px) env(safe-area-inset-bottom, 6px);
  min-height: calc(60px + env(safe-area-inset-bottom, 0px));
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-radius: 0;
  background: rgba(10,14,8,0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 50;
}

body.ui-v2 .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  min-width: 48px;
  color: #9AA08E;
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: 0;
  touch-action: manipulation;
  transition: color 0.15s;
}

body.ui-v2 .nav-item img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: none;
  transition: filter 0.15s;
}

body.ui-v2 .nav-item.active {
  color: #8CE64B;
}

body.ui-v2 .nav-item.active img {
  filter: drop-shadow(0 0 10px rgba(140,230,75,0.5));
}

/* ── Cards / Panels ──────────────────────────────────────── */
body.ui-v2 .card {
  background: #12160E;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}

body.ui-v2 .panel {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  background: #12160E;
  box-shadow: inset 0 1px rgba(255,255,255,0.035), 0 8px 20px rgba(0,0,0,0.18);
}

body.ui-v2 .panel.gold { border-color: var(--gold-line); }

/* ── Balance / Hero cards ───────────────────────────────── */
body.ui-v2 .home-balance-card,
body.ui-v2 .balance-card {
  display: block;
  background: linear-gradient(135deg, #161F0E 0%, #0F1A09 55%, #0A0D08 100%);
  border: 1px solid rgba(140,230,75,0.16);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

body.ui-v2 .home-balance-card::before,
body.ui-v2 .balance-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(ellipse, rgba(140,230,75,0.11) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

body.ui-v2 .home-balance-card::after,
body.ui-v2 .balance-card::after {
  content: '';
  position: absolute;
  bottom: -20px; left: 20px;
  width: 100px; height: 100px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Balance card inner layout */
body.ui-v2 .home-balance-main,
body.ui-v2 .balance-main {
  position: relative;
  z-index: 2;
}

body.ui-v2 .home-balance-main > span,
body.ui-v2 .balance-label {
  display: block;
  color: #9AA08E;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

body.ui-v2 .home-balance-value {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  color: #F5A623;
  font-size: 36px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 16px;
}

body.ui-v2 .home-balance-value .mc-coin-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: contain;
  align-self: center;
  filter: drop-shadow(0 0 8px rgba(245,166,35,0.35));
}

body.ui-v2 .balance-unit {
  font-size: 18px;
  font-weight: 700;
  color: rgba(245,166,35,0.55);
  margin-bottom: 4px;
}

body.ui-v2 .home-wallet-action {
  position: relative;
  z-index: 2;
}

/* ── Quick Action Grid ───────────────────────────────────── */
body.ui-v2 .quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 14px 0;
}

body.ui-v2 .quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 6px;
  background: #12160E;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  color: #F5F6F2;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 0.15s;
}

body.ui-v2 .quick-action:active { opacity: 0.8; }

body.ui-v2 .quick-action .qa-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

body.ui-v2 .quick-action img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ── Section heads ───────────────────────────────────────── */
body.ui-v2 .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

body.ui-v2 .section-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #F5F6F2;
}

body.ui-v2 .section-head a,
body.ui-v2 .section-head span {
  color: #8CE64B;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

/* ── Page heading ────────────────────────────────────────── */
body.ui-v2 .page-heading {
  margin: 2px 0 16px;
}

body.ui-v2 .page-heading.inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

body.ui-v2 .page-heading h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #F5F6F2;
  line-height: 1.1;
}

body.ui-v2 .page-heading p {
  margin: 5px 0 0;
  color: #9AA08E;
  font-size: 12px;
  line-height: 1.45;
}

/* ── Game Cards ──────────────────────────────────────────── */
body.ui-v2 .home-game-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

body.ui-v2 .home-game-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
}

body.ui-v2 .home-game-card.mines {
  background: linear-gradient(135deg, #0F2010 0%, #12160E 100%);
  border: 1px solid rgba(67,214,158,0.18);
}

body.ui-v2 .home-game-card.coinflip {
  background: linear-gradient(135deg, #1F1008 0%, #12160E 100%);
  border: 1px solid rgba(255,138,61,0.18);
}

body.ui-v2 .home-game-card:active { opacity: 0.85; }

body.ui-v2 .home-game-card .game-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

body.ui-v2 .home-game-card img.game-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

body.ui-v2 .home-game-card strong {
  display: block;
  color: #F5F6F2;
  font-size: 13px;
  font-weight: 800;
}

body.ui-v2 .home-game-card span {
  display: block;
  color: #9AA08E;
  font-size: 11px;
  margin-top: 2px;
}

body.ui-v2 .home-game-card .game-play-btn {
  display: block;
  padding: 8px 0;
  border-radius: 12px;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  border: 0;
  cursor: pointer;
}

body.ui-v2 .home-game-card.mines .game-play-btn {
  background: rgba(67,214,158,0.15);
  color: #43D69E;
  border: 1px solid rgba(67,214,158,0.22);
}

body.ui-v2 .home-game-card.coinflip .game-play-btn {
  background: rgba(255,138,61,0.15);
  color: #FF8A3D;
  border: 1px solid rgba(255,138,61,0.22);
}

/* ── Streak / Daily days grid ────────────────────────────── */
body.ui-v2 .days {
  display: flex;
  gap: 8px;
}

body.ui-v2 .day-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px;
  gap: 4px;
  background: #12160E;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
}

body.ui-v2 .day-card.claimed {
  background: rgba(67,214,158,0.07);
  border-color: rgba(67,214,158,0.2);
}

body.ui-v2 .day-card.today,
body.ui-v2 .day-card.active {
  background: rgba(140,230,75,0.08);
  border-color: #8CE64B;
  box-shadow: 0 0 0 1px rgba(140,230,75,0.3), 0 4px 20px rgba(140,230,75,0.1);
}

body.ui-v2 .day-card.locked { opacity: 0.45; }

body.ui-v2 .day-card.mystery {
  background: rgba(245,166,35,0.06);
  border-color: rgba(245,166,35,0.22);
}

body.ui-v2 .day-card img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

body.ui-v2 .day-card .day-coins {
  font-size: 11px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #F5F6F2;
}

body.ui-v2 .day-card.claimed .day-coins { color: #43D69E; }
body.ui-v2 .day-card.today .day-coins,
body.ui-v2 .day-card.active .day-coins { color: #8CE64B; }

body.ui-v2 .day-card .day-label {
  font-size: 9px;
  font-weight: 700;
  color: #9AA08E;
}

body.ui-v2 .day-card.today .day-label,
body.ui-v2 .day-card.active .day-label { color: #8CE64B; }

/* Day 7 row style */
body.ui-v2 .day-seven-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(245,166,35,0.06);
  border: 1px solid rgba(245,166,35,0.22);
  border-radius: 18px;
  margin-top: 10px;
}

body.ui-v2 .day-seven-row img.chest-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 52px;
}

/* ── Today's Reward Card ─────────────────────────────────── */
body.ui-v2 .reward-card {
  background: linear-gradient(135deg, #161F0E 0%, #0F1A09 60%, #0A0D08 100%);
  border: 1px solid rgba(140,230,75,0.2);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  padding: 20px;
}

body.ui-v2 .reward-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 140px; height: 140px;
  background: radial-gradient(ellipse, rgba(140,230,75,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Task list ───────────────────────────────────────────── */
body.ui-v2 .task-list { display: grid; gap: 10px; }

body.ui-v2 .task-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #12160E;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}

body.ui-v2 .task-row:hover,
body.ui-v2 .task-row:focus-within {
  border-color: rgba(140,230,75,0.22);
}

body.ui-v2 .task-row.offer {
  background: #171C11;
  border-color: rgba(140,230,75,0.12);
}

body.ui-v2 .task-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(140,230,75,0.08);
}

body.ui-v2 .task-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

body.ui-v2 .task-kind-telegram .task-icon { background: rgba(42,171,238,.15); border-color: rgba(42,171,238,.22); }
body.ui-v2 .task-kind-youtube .task-icon { background: rgba(28,208,219,.13); border-color: rgba(28,208,219,.2); }
body.ui-v2 .task-kind-instagram .task-icon { background: rgba(245,166,35,.12); border-color: rgba(245,166,35,.2); }
body.ui-v2 .task-kind-survey .task-icon { background: rgba(140,230,75,.1); border-color: rgba(140,230,75,.18); }
body.ui-v2 .task-kind-ads .task-icon { background: rgba(67,214,158,.1); border-color: rgba(67,214,158,.18); }
body.ui-v2 .task-kind-milestone .task-icon { background: rgba(67,214,158,.12); border-color: rgba(67,214,158,.24); }

body.ui-v2 .task-copy { flex: 1; min-width: 0; }

body.ui-v2 .task-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  color: #F5F6F2;
  margin-bottom: 4px;
}

body.ui-v2 .task-copy .reward {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #F5A623;
  font-size: 12px;
  font-weight: 900;
}

body.ui-v2 .task-copy .reward img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

body.ui-v2 .task-copy .ad-remaining,
body.ui-v2 .task-copy .task-milestone-progress {
  display: block;
  margin-top: 2px;
  color: #9AA08E;
  font-size: 10px;
}

body.ui-v2 .task-copy .task-description {
  display: -webkit-box;
  margin-top: 3px;
  overflow: hidden;
  color: #9AA08E;
  font-size: 11px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.ui-v2 .task-copy .task-type-label {
  display: inline-flex;
  width: max-content;
  margin-top: 6px;
  padding: 2px 7px;
  border: 1px solid rgba(140,230,75,0.12);
  border-radius: 999px;
  background: rgba(140,230,75,0.06);
  color: #9AA08E;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.ui-v2 .task-row.task-kind-milestone {
  border-color: rgba(67,214,158,0.22);
  background: linear-gradient(135deg, rgba(67,214,158,0.08), #12160E 62%);
}

/* ── Status / action buttons inside tasks ────────────────── */
body.ui-v2 .status {
  min-width: 72px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid rgba(140,230,75,0.25);
  background: rgba(140,230,75,0.1);
  color: #8CE64B;
  touch-action: manipulation;
}

body.ui-v2 .status.primary {
  border: 0;
  background: linear-gradient(135deg, #8CE64B, #6FCB1F);
  color: #0A0D08;
  box-shadow: 0 6px 18px rgba(105,203,31,0.2);
}

body.ui-v2 .status.done {
  border-color: rgba(67,214,158,0.2);
  background: rgba(67,214,158,0.08);
  color: #43D69E;
  cursor: default;
}

body.ui-v2 .status.pending {
  border-color: rgba(245,166,35,0.22);
  background: rgba(245,166,35,0.08);
  color: #F5A623;
  cursor: default;
}

body.ui-v2 .status:disabled {
  opacity: 0.55;
  cursor: default;
}

/* ── Filter tabs / Segments ──────────────────────────────── */
body.ui-v2 .segmented {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 4px;
  background: rgba(8,10,7,0.9);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  margin-bottom: 14px;
  scrollbar-width: none;
}
body.ui-v2 .segmented::-webkit-scrollbar { display: none; }

body.ui-v2 .segment {
  min-width: max-content;
  height: 34px;
  flex: 1 0 auto;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #9AA08E;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}

body.ui-v2 .segment.active {
  background: rgba(140,230,75,0.12);
  color: #8CE64B;
  border: 1px solid rgba(140,230,75,0.22);
}

/* ── Buttons ─────────────────────────────────────────────── */
body.ui-v2 .btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  background: #171C11;
  color: #F5F6F2;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
  text-decoration: none;
}

body.ui-v2 .btn:active { transform: scale(0.97); }

body.ui-v2 .btn.primary {
  border: 0;
  background: linear-gradient(135deg, #8CE64B, #6FCB1F);
  color: #0A0D08;
  box-shadow: 0 8px 22px rgba(105,203,31,0.2);
}

body.ui-v2 .btn.secondary {
  border-color: rgba(255,255,255,0.1);
  background: #171C11;
  color: #9AA08E;
}

body.ui-v2 .btn.tg-btn {
  border-color: rgba(42,171,238,0.22);
  background: rgba(42,171,238,0.12);
  color: #2AABEE;
}

body.ui-v2 .btn.claim-success,
body.ui-v2 .btn.claim-success:disabled {
  opacity: 1;
  border: 0;
  background: linear-gradient(135deg, #43D69E, #1db97a);
  color: #032515;
  box-shadow: 0 0 20px rgba(67,214,158,0.25);
}

body.ui-v2 .btn.block { width: 100%; }

body.ui-v2 .btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

/* ── Lime-green button (from mock) ───────────────────────── */
body.ui-v2 .lime-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #8CE64B 0%, #6FCB1F 100%);
  color: #0A0D08;
  font-weight: 900;
  font-size: 13px;
  border-radius: var(--radius-sm);
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(105,203,31,0.22);
}

body.ui-v2 .lime-btn:active { transform: scale(0.97); }
body.ui-v2 .lime-btn.block { width: 100%; }

/* ── Input / link box ────────────────────────────────────── */
body.ui-v2 input,
body.ui-v2 select,
body.ui-v2 textarea,
body.ui-v2 .input,
body.ui-v2 .link-box {
  background: #0A0D08;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
  color: #F5F6F2;
  font-family: inherit;
  font-size: 14px;
}

body.ui-v2 input:focus,
body.ui-v2 select:focus,
body.ui-v2 textarea:focus {
  outline: 0;
  border-color: rgba(140,230,75,0.4);
  box-shadow: 0 0 0 3px rgba(140,230,75,0.08);
}

body.ui-v2 .link-field {
  background: #0A0D08;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
  color: #9AA08E;
  font-size: 13px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  padding: 12px 14px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.ui-v2 .input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #0A0D08;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
}

body.ui-v2 .input-wrap img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 22px;
}

body.ui-v2 .input-wrap input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
}

/* ── Wallet: Transaction rows ────────────────────────────── */
body.ui-v2 .tx-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

body.ui-v2 .tx-row:last-child { border-bottom: 0; }

body.ui-v2 .tx-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

body.ui-v2 .tx-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

body.ui-v2 .tx-name { font-size: 13px; font-weight: 600; color: #F5F6F2; }
body.ui-v2 .tx-time { font-size: 11px; color: #9AA08E; margin-top: 2px; }

body.ui-v2 .tx-amount {
  font-size: 13px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.ui-v2 .tx-positive { color: #43D69E; }
body.ui-v2 .tx-negative { color: #FF5C68; }
body.ui-v2 .tx-neutral  { color: #9AA08E; }

/* ── Withdrawal method cards ─────────────────────────────── */
body.ui-v2 .method-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #12160E;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
}

body.ui-v2 .method-card:hover,
body.ui-v2 .method-card:active {
  border-color: rgba(140,230,75,0.22);
  background: #171C11;
}

body.ui-v2 .method-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}

body.ui-v2 .method-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

body.ui-v2 .withdraw-method-list {
  display: grid;
  gap: 10px;
}

body.ui-v2 .wallet-methods-section { margin-bottom: 14px; }
body.ui-v2 .wallet-method-grid { display: grid; gap: 10px; }
body.ui-v2 .wallet-method-grid .withdraw-method-card { width: 100%; margin: 0; }

body.ui-v2 .withdraw-method-card {
  min-width: 0;
  min-height: 80px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(140,230,75,.13);
  border-radius: 18px;
  border-color: rgba(140,230,75,.13);
  background: linear-gradient(135deg, rgba(140,230,75,.055), #12160E 58%);
  box-shadow: inset 0 1px rgba(255,255,255,.03), 0 8px 22px rgba(0,0,0,.18);
  text-decoration: none;
}

body.ui-v2 .withdraw-method-card:active { border-color: rgba(140,230,75,.32); }
body.ui-v2 .withdraw-method-image { width: 56px; height: 56px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(140,230,75,.15); border-radius: 16px; background: rgba(140,230,75,.065); }
body.ui-v2 .withdraw-method-image img { display: block; width: 44px; height: 44px; max-width: 44px; max-height: 44px; object-fit: contain; }
body.ui-v2 .withdraw-method-copy { min-width: 0; display: grid; gap: 2px; text-align: left; }
body.ui-v2 .withdraw-method-copy strong { overflow: hidden; color: #F5F6F2; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
body.ui-v2 .withdraw-method-copy em { overflow: hidden; color: #8CE64B; font-size: 9px; font-style: normal; font-weight: 800; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
body.ui-v2 .withdraw-method-copy small { overflow: hidden; color: #9AA08E; font-size: 9px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
body.ui-v2 .withdraw-method-arrow { align-self: center; color: #8CE64B; font-size: 23px; line-height: 1; }

body.ui-v2 .withdraw-change-method {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  color: #8CE64B;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

body.ui-v2 .withdraw-change-method img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

body.ui-v2 .method-card .method-name {
  font-size: 15px;
  font-weight: 800;
  color: #F5F6F2;
}

body.ui-v2 .method-card .method-desc { font-size: 11px; color: #9AA08E; margin-top: 2px; }
body.ui-v2 .method-card .method-rate { font-size: 11px; color: #9AA08E; }

body.ui-v2 .method-card .method-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

body.ui-v2 .method-card .chevron {
  color: #9AA08E;
  font-size: 14px;
  flex-shrink: 0;
  margin-left: auto;
}

/* ── Hero card (invite page) ─────────────────────────────── */
body.ui-v2 .hero-card {
  background: linear-gradient(135deg, #141E0A 0%, #0F1A09 60%, #0A0D08 100%);
  border: 1px solid rgba(140,230,75,0.15);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  padding: 20px;
}

body.ui-v2 .hero-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(ellipse, rgba(140,230,75,0.09) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Milestone / Referral progress ───────────────────────── */
body.ui-v2 .milestone-card {
  background: #12160E;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 16px;
}

body.ui-v2 .progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}

body.ui-v2 .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #8CE64B, #6FCB1F);
  border-radius: 2px;
}

/* ── Referral stats grid ─────────────────────────────────── */
body.ui-v2 .referral-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

body.ui-v2 .stat-cell {
  background: #12160E;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.ui-v2 .stat-cell .stat-label { font-size: 11px; color: #9AA08E; }
body.ui-v2 .stat-cell .stat-value { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; color: #F5F6F2; }

/* ── Profile hero ────────────────────────────────────────── */
body.ui-v2 .profile-hero {
  background: linear-gradient(135deg, #161F0E 0%, #0F1A09 60%, #0A0D08 100%);
  border-bottom: 1px solid rgba(140,230,75,0.1);
  position: relative;
  overflow: hidden;
  padding: calc(32px + var(--safe-top)) calc(var(--page-gutter) + var(--safe-right)) 20px calc(var(--page-gutter) + var(--safe-left));
}

body.ui-v2 .profile-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(ellipse, rgba(140,230,75,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

body.ui-v2 .profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(140,230,75,0.35);
  object-fit: cover;
}

body.ui-v2 .profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

body.ui-v2 .profile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 4px;
  border-radius: 14px;
  gap: 2px;
}

body.ui-v2 .profile-stat .psv {
  font-size: 15px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

body.ui-v2 .profile-stat .psl {
  font-size: 10px;
  color: #9AA08E;
  text-align: center;
  line-height: 1.2;
  margin-top: 2px;
}

/* ── Menu rows (profile page) ────────────────────────────── */
body.ui-v2 .menu-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background 0.1s;
}

body.ui-v2 .menu-row:last-child { border-bottom: 0; }
body.ui-v2 .menu-row:active { background: rgba(255,255,255,0.01); }

body.ui-v2 .menu-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

body.ui-v2 .menu-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

body.ui-v2 .menu-title { font-size: 14px; font-weight: 700; color: #F5F6F2; }
body.ui-v2 .menu-sub { font-size: 11px; color: #9AA08E; margin-top: 2px; }

/* ── Leaderboard ─────────────────────────────────────────── */
body.ui-v2 .lb-tab-bar {
  display: flex;
  gap: 6px;
  padding: 12px clamp(14px,4vw,24px);
  background: rgba(10,13,8,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: sticky;
  top: 0;
  z-index: 20;
}

body.ui-v2 .lb-tab {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #9AA08E;
  cursor: pointer;
  border: 0;
  background: transparent;
  touch-action: manipulation;
}

body.ui-v2 .lb-tab.active {
  background: rgba(140,230,75,0.1);
  color: #8CE64B;
}

body.ui-v2 .podium-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

body.ui-v2 .podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.ui-v2 .podium-base {
  width: 100%;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
}

body.ui-v2 .podium-base.rank-1 {
  background: linear-gradient(180deg, rgba(245,166,35,0.15), rgba(245,166,35,0.05));
  border: 1px solid rgba(245,166,35,0.25);
}

body.ui-v2 .podium-base.rank-2 {
  background: linear-gradient(180deg, rgba(140,230,75,0.1), rgba(140,230,75,0.03));
  border: 1px solid rgba(140,230,75,0.15);
}

body.ui-v2 .podium-base.rank-3 {
  background: linear-gradient(180deg, rgba(255,138,61,0.1), rgba(255,138,61,0.03));
  border: 1px solid rgba(255,138,61,0.12);
}

body.ui-v2 .lb-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

body.ui-v2 .rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

body.ui-v2 .rank-row:last-child { border-bottom: 0; }

body.ui-v2 .your-rank-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px clamp(14px,4vw,24px);
  background: rgba(10,13,8,0.96);
  border-top: 1px solid rgba(140,230,75,0.2);
  backdrop-filter: blur(12px);
}

/* ── Spin screen ─────────────────────────────────────────── */
body.ui-v2 .spin-info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

body.ui-v2 .spin-info-row.no-tickets {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.ui-v2 .spin-info-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  background: #12160E;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
}

body.ui-v2 .spin-info-cell .sic-value {
  font-size: 20px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

body.ui-v2 .spin-info-cell .sic-label {
  font-size: 11px;
  color: #9AA08E;
  margin-top: 3px;
}

body.ui-v2 .spin-cta-bar {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #171C11;
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 20px;
  margin-top: 8px;
}

body.ui-v2 .spin-btn-main {
  width: 106px;
  height: 50px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #8CE64B, #6FCB1F);
  color: #0A0D08;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(105,203,31,0.22);
}

body.ui-v2 .spin-btn-main:disabled {
  background: #2a3020;
  color: #5a6b45;
  cursor: default;
  box-shadow: none;
}

body.ui-v2 .spin-ad-btn {
  margin-top: 10px;
  background: rgba(140,230,75,0.06);
  border: 1px solid rgba(140,230,75,0.15);
  color: #8CE64B;
}

/* Wheel pointer image */
body.ui-v2 .wheel-pointer-img {
  position: absolute;
  left: 50%;
  top: -12px;
  transform: translateX(-50%) rotate(180deg);
  width: 28px;
  height: auto;
  object-fit: contain;
  z-index: 10;
  backface-visibility: hidden;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.65));
}

/* ── Spin result modal ───────────────────────────────────── */
body.ui-v2 .spin-result-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,13,8,0.88);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

body.ui-v2 .spin-result-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

body.ui-v2 .spin-result-card {
  background: #12160E;
  border: 1px solid rgba(140,230,75,0.18);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  width: 100%;
  max-width: 340px;
  text-align: center;
}

body.ui-v2 .spin-win-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(140,230,75,0.1);
  border: 1px solid rgba(140,230,75,0.22);
}

body.ui-v2 .spin-win-circle img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/* ── Ticket / buy-ticket section ─────────────────────────── */
body.ui-v2 .spin-ticket-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #171C11;
  border: 1px solid rgba(245,166,35,0.18);
  border-radius: var(--radius);
  margin-top: 12px;
}

body.ui-v2 .spin-ticket-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

body.ui-v2 .spin-ticket-copy { flex: 1; min-width: 0; }
body.ui-v2 .spin-ticket-copy span { display: block; font-size: 10px; font-weight: 700; color: #9AA08E; text-transform: uppercase; letter-spacing: 0.06em; }
body.ui-v2 .spin-ticket-copy strong { display: block; font-size: 14px; font-weight: 800; margin-top: 2px; }
body.ui-v2 .spin-ticket-copy small { display: block; font-size: 10px; color: #9AA08E; margin-top: 2px; }

body.ui-v2 .buy-ticket-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #12160E;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  margin-top: 10px;
}

body.ui-v2 .buy-ticket-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.ui-v2 .buy-ticket-heading img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

body.ui-v2 .buy-ticket-heading strong { display: block; font-size: 14px; font-weight: 800; }
body.ui-v2 .buy-ticket-heading span { display: block; font-size: 11px; color: #9AA08E; }

body.ui-v2 .buy-ticket-rate {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(245,166,35,0.06);
  border: 1px solid rgba(245,166,35,0.18);
  border-radius: 10px;
}

body.ui-v2 .buy-ticket-rate strong { color: #F5A623; font-size: 16px; font-weight: 900; }
body.ui-v2 .buy-ticket-rate span { color: #9AA08E; font-size: 12px; }
body.ui-v2 .buy-ticket-card small { color: #9AA08E; font-size: 10px; text-align: center; }

/* ── Modals / Overlays ───────────────────────────────────── */
body.ui-v2 .modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,13,8,0.9);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

body.ui-v2 .modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

body.ui-v2 .modal-card,
body.ui-v2 .modal {
  background: #12160E;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  width: 100%;
  max-width: 360px;
}

body.ui-v2 .broadcast-popup-card {
  width: min(92vw,440px);
  border: 1px solid rgba(140,230,75,0.22);
  border-radius: var(--radius-xl);
  background: #12160E;
  padding: 28px 22px;
}

/* ── Toast ───────────────────────────────────────────────── */
body.ui-v2 .toast {
  position: fixed;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: #171C11;
  border: 1px solid rgba(140,230,75,0.3);
  border-radius: 12px;
  color: #8CE64B;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

body.ui-v2 .toast.show { opacity: 1; }

/* ── Badges / chips ──────────────────────────────────────── */
body.ui-v2 .badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
}

body.ui-v2 .badge.green {
  background: rgba(140,230,75,0.12);
  color: #8CE64B;
}

body.ui-v2 .badge.gold {
  background: linear-gradient(135deg, rgba(245,166,35,0.15), rgba(245,166,35,0.06));
  border: 1px solid rgba(245,166,35,0.25);
  color: #F5A623;
}

body.ui-v2 .chip {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}

body.ui-v2 .chip-pending   { background: rgba(245,166,35,0.12); color: #F5A623; }
body.ui-v2 .chip-processing{ background: rgba(42,171,238,0.12); color: #2AABEE; }
body.ui-v2 .chip-paid      { background: rgba(67,214,158,0.12); color: #43D69E; }
body.ui-v2 .chip-rejected  { background: rgba(255,92,104,0.12); color: #FF5C68; }

/* ── Game styles (mines, coinflip) ───────────────────────── */
body.ui-v2 .game-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #12160E;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  margin-bottom: 14px;
}

body.ui-v2 .game-hero img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 52px;
}

body.ui-v2 .game-hero h1 { margin: 0; font-size: 18px; font-weight: 900; }
body.ui-v2 .game-hero p  { margin: 4px 0 0; color: #9AA08E; font-size: 12px; }

body.ui-v2 .game-panel { position: relative; padding: 16px; }

body.ui-v2 #minesGame,
body.ui-v2 #coinflipGame { position: relative; }

body.ui-v2 .game-loading {
  text-align: center;
  padding: 30px;
  color: #9AA08E;
  font-size: 12px;
}

body.ui-v2 .game-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  margin-bottom: 14px;
}

body.ui-v2 .game-balance span { color: #9AA08E; font-size: 11px; }
body.ui-v2 .game-balance strong { color: #F5A623; font-size: 16px; font-weight: 900; font-variant-numeric: tabular-nums; }

body.ui-v2 .mine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

body.ui-v2 .mine-cell {
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: #F5F6F2;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  touch-action: manipulation;
  transition: background 0.12s, border-color 0.12s;
}

body.ui-v2 .mine-cell:not(:disabled):hover {
  background: rgba(140,230,75,0.08);
  border-color: rgba(140,230,75,0.3);
}

body.ui-v2 .mine-cell.open { background: rgba(67,214,158,0.08); border-color: rgba(67,214,158,0.25); }
body.ui-v2 .mine-cell.mine { background: rgba(255,92,104,0.1); border-color: rgba(255,92,104,0.3); }
body.ui-v2 .mine-cell:disabled { cursor: default; }

body.ui-v2 .mine-cell img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  pointer-events: none;
}

body.ui-v2 .game-live {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(245,166,35,0.06);
  border: 1px solid rgba(245,166,35,0.18);
  border-radius: 12px;
  margin-bottom: 12px;
}

body.ui-v2 .game-live span { color: #9AA08E; font-size: 12px; }
body.ui-v2 .game-live strong { color: #F5A623; font-size: 18px; font-weight: 900; }

body.ui-v2 .game-bet-box { display: grid; gap: 10px; }
body.ui-v2 .game-bet-box label { font-size: 11px; font-weight: 800; color: #9AA08E; text-transform: uppercase; letter-spacing: 0.06em; }
body.ui-v2 .game-bet-box small { color: #9AA08E; font-size: 10px; }
body.ui-v2 .game-bet-box .input-wrap { display: flex; align-items: center; gap: 8px; }
body.ui-v2 .game-bet-box .input-wrap > img { width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; }
body.ui-v2 .game-bet-box .input-wrap > input { min-width: 0; flex: 1; }
body.ui-v2 .game-bet-box .input-wrap > .btn { flex: 0 0 auto; }

body.ui-v2 .game-result {
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  margin-top: 12px;
}

body.ui-v2 .game-result.won { background: rgba(67,214,158,0.08); border: 1px solid rgba(67,214,158,0.22); }
body.ui-v2 .game-result.lost { background: rgba(255,92,104,0.08); border: 1px solid rgba(255,92,104,0.2); }
body.ui-v2 .game-result strong { display: block; font-size: 16px; font-weight: 900; margin-bottom: 4px; }
body.ui-v2 .game-result span { color: #9AA08E; font-size: 12px; }

body.ui-v2 .game-ad-gate {
  position: absolute;
  inset: 0;
  background: rgba(10,13,8,0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

body.ui-v2 .game-ad-gate > div {
  text-align: center;
  display: grid;
  gap: 10px;
}

body.ui-v2 .game-ad-gate strong { font-size: 15px; font-weight: 800; }
body.ui-v2 .game-ad-gate span   { font-size: 12px; color: #9AA08E; }

/* Coinflip choice */
body.ui-v2 .coin-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

body.ui-v2 .coin-choice button {
  padding: 16px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  color: #9AA08E;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color 0.12s, background 0.12s;
}

body.ui-v2 .coin-choice button span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 900;
  background: rgba(255,255,255,0.05);
}

body.ui-v2 .coin-choice button > img {
  width: clamp(46px, 16vw, 68px);
  height: clamp(46px, 16vw, 68px);
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.25));
}

body.ui-v2 .coin-choice button.selected {
  border-color: rgba(140,230,75,0.4);
  background: rgba(140,230,75,0.06);
  color: #8CE64B;
}

body.ui-v2 .coin-choice button.selected span {
  background: rgba(140,230,75,0.12);
}

body.ui-v2 .coin-result {
  padding: 14px;
  border-radius: 14px;
  text-align: center;
  margin-top: 12px;
}

body.ui-v2 .coin-result.won { background: rgba(67,214,158,0.08); border: 1px solid rgba(67,214,158,0.22); }
body.ui-v2 .coin-result.lost { background: rgba(255,92,104,0.08); border: 1px solid rgba(255,92,104,0.2); }

body.ui-v2 .coin-animate {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(245,166,35,0.12);
  border: 2px solid rgba(245,166,35,0.3);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  color: #F5A623;
  margin: 0 auto 10px;
}

body.ui-v2 .coin-animate img { width: 48px; height: 48px; object-fit: contain; }
body.ui-v2 .coin-land { animation: v2-coin-land .46s cubic-bezier(.2,.9,.25,1.25) both; }

body.ui-v2 .coin-flip-stage {
  position: absolute;
  inset: 0;
  z-index: 18;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  padding: 30px;
  overflow: hidden;
  border-radius: inherit;
  background: rgba(10,13,8,.93);
  backdrop-filter: blur(10px);
  perspective: 800px;
}
body.ui-v2 .coin-flip-toss {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: 34px;
  transform-style: preserve-3d;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.42));
}
body.ui-v2 .coin-flip-toss.is-spinning { animation: v2-coin-spin-await .72s linear infinite; }
body.ui-v2 .coin-flip-toss.is-settling { animation: v2-coin-land-confirmed .9s cubic-bezier(.18,.72,.22,1) both; }
body.ui-v2 .coin-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
body.ui-v2 .coin-back { transform: rotateY(180deg); }
body.ui-v2 .coin-edge {
  position: absolute;
  inset: 3px;
  z-index: -1;
  border: 7px solid #C77A16;
  border-radius: 50%;
  background: #E8A62A;
  box-shadow: inset 0 0 0 2px rgba(255,239,160,.75), 0 0 0 1px rgba(74,33,3,.7);
  transform: translateZ(-4px);
}
body.ui-v2 .coin-flip-stage > strong { color: #F5F6F2; font-size: 17px; font-weight: 900; }
body.ui-v2 .coin-flip-stage > span { margin-top: 6px; color: #9AA08E; font-size: 10px; }

@keyframes v2-coin-spin-await {
  0% { transform: translateY(22px) rotateX(12deg) rotateY(0deg) scale(.88); }
  50% { transform: translateY(-58px) rotateX(25deg) rotateY(360deg) scale(1.05); }
  100% { transform: translateY(22px) rotateX(12deg) rotateY(720deg) scale(.88); }
}

@keyframes v2-coin-land-confirmed {
  0% { transform: translateY(-58px) rotateX(24deg) rotateY(0deg) scale(1.04); }
  56% { transform: translateY(-84px) rotateX(18deg) rotateY(1080deg) scale(1.1); }
  86% { transform: translateY(8px) rotateX(0deg) rotateY(2160deg) scale(1.04); }
  100% { transform: translateY(0) rotateX(0deg) rotateY(2160deg) scale(1); }
}

@keyframes v2-coin-land {
  0% { transform: translateY(-22px) scale(.72); opacity: 0; }
  70% { transform: translateY(3px) scale(1.12); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body.ui-v2 .coin-flip-toss,
  body.ui-v2 .coin-land { animation-duration: .01ms; }
}

body.ui-v2 .coin-result strong { display: block; font-size: 15px; font-weight: 900; margin-bottom: 4px; }
body.ui-v2 .coin-result span { color: #9AA08E; font-size: 12px; }

body.ui-v2 .coin-outcome-backdrop {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: max(18px,var(--safe-top)) max(16px,var(--safe-right)) max(18px,var(--safe-bottom)) max(16px,var(--safe-left));
  background: rgba(3,5,2,.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: v2-outcome-fade .24s ease-out both;
}
body.ui-v2 .coin-outcome-card {
  position: relative;
  width: min(100%,356px);
  overflow: hidden;
  padding: 25px 22px 21px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 26px;
  background: linear-gradient(165deg,#182510 0%,#10150D 56%,#0B0E09 100%);
  box-shadow: 0 24px 70px rgba(0,0,0,.58), inset 0 1px rgba(255,255,255,.04);
  text-align: center;
  animation: v2-outcome-rise .38s cubic-bezier(.18,.85,.25,1.08) both;
}
body.ui-v2 .coin-outcome-card.lost { background: linear-gradient(165deg,#281315 0%,#17100E 56%,#0C0D09 100%); }
body.ui-v2 .coin-outcome-glow {
  position: absolute;
  top: -105px;
  left: 50%;
  width: 280px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(140,230,75,.28),rgba(140,230,75,0) 70%);
  transform: translateX(-50%);
  pointer-events: none;
}
body.ui-v2 .coin-outcome-card.lost .coin-outcome-glow { background: radial-gradient(circle,rgba(255,92,104,.27),rgba(255,92,104,0) 70%); }
body.ui-v2 .coin-outcome-image {
  position: relative;
  width: 124px;
  height: 124px;
  margin: 0 auto 13px;
  object-fit: contain;
  filter: drop-shadow(0 13px 18px rgba(0,0,0,.42));
}
body.ui-v2 .coin-outcome-card h2 { position: relative; margin: 0; color: #F5F6F2; font-size: 25px; font-weight: 950; letter-spacing: -.5px; }
body.ui-v2 .coin-outcome-card > p { position: relative; margin: 6px 0 17px; color: #AAB09F; font-size: 12px; }
body.ui-v2 .coin-outcome-amount {
  position: relative;
  display: grid;
  grid-template-columns: 31px minmax(0,1fr);
  align-items: center;
  gap: 1px 9px;
  margin-bottom: 15px;
  padding: 12px 15px;
  border: 1px solid rgba(140,230,75,.18);
  border-radius: 17px;
  background: rgba(140,230,75,.11);
  text-align: left;
}
body.ui-v2 .coin-outcome-amount.negative { border-color: rgba(255,92,104,.2); background: rgba(255,92,104,.1); }
body.ui-v2 .coin-outcome-amount img { grid-row: 1 / span 2; width: 31px; height: 31px; object-fit: contain; }
body.ui-v2 .coin-outcome-amount strong { color: #8CE64B; font-size: 20px; font-weight: 950; line-height: 1.05; }
body.ui-v2 .coin-outcome-amount.negative strong { color: #FF717C; }
body.ui-v2 .coin-outcome-amount span { color: #929A88; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .55px; }
body.ui-v2 .coin-outcome-balance { display: flex; align-items: center; justify-content: space-between; margin: 0 3px 17px; color: #9AA08E; font-size: 12px; }
body.ui-v2 .coin-outcome-balance strong { color: #F5F6F2; font-size: 16px; font-weight: 900; }
body.ui-v2 .coin-outcome-button { width: 100%; min-height: 48px; border: 0; border-radius: 15px; background: #8CE64B; color: #091004; font-size: 13px; font-weight: 950; letter-spacing: .6px; box-shadow: 0 9px 24px rgba(140,230,75,.18); }
body.ui-v2 .coin-outcome-card.lost .coin-outcome-button { background: #FF5C68; color: #FFFFFF; box-shadow: 0 9px 24px rgba(255,92,104,.2); }
body.ui-v2 .coin-party { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
body.ui-v2 .coin-party i { position: absolute; top: 29%; left: 50%; width: 7px; height: 12px; border-radius: 2px; background: var(--confetti); opacity: 0; transform: translate(-50%,-50%) rotate(var(--tilt)); animation: v2-confetti-burst 1.65s cubic-bezier(.12,.72,.18,1) var(--delay) infinite; }
body.ui-v2 .coin-popper { position: absolute; top: 23%; z-index: 2; font-size: 29px; line-height: 1; filter: drop-shadow(0 5px 8px rgba(0,0,0,.35)); animation: v2-popper-kick 1.65s ease-in-out infinite; }
body.ui-v2 .coin-popper.left { left: 18px; transform: rotate(-28deg); }
body.ui-v2 .coin-popper.right { right: 18px; transform: scaleX(-1) rotate(-28deg); animation-delay: .18s; }

@keyframes v2-outcome-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes v2-outcome-rise { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes v2-confetti-burst { 0% { opacity: 0; transform: translate(-50%,-50%) rotate(var(--tilt)) scale(.7); } 12% { opacity: 1; } 78% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--tx)),var(--ty)) rotate(var(--turn)) scale(1); } }
@keyframes v2-popper-kick { 0%,100% { margin-top: 4px; opacity: .78; } 18% { margin-top: -5px; opacity: 1; } 34% { margin-top: 1px; opacity: .9; } }

/* ── Notification rows ───────────────────────────────────── */
body.ui-v2 .notification-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

body.ui-v2 .notification-row:last-child { border-bottom: 0; }

body.ui-v2 .notification-row.unread {
  background: rgba(140,230,75,0.03);
}

body.ui-v2 .unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8CE64B;
  flex: 0 0 8px;
  margin-top: 6px;
}

/* ── Info box / notice ───────────────────────────────────── */
body.ui-v2 .notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #9AA08E;
  line-height: 1.5;
}

body.ui-v2 .notice.gold {
  background: rgba(245,166,35,0.06);
  border: 1px solid rgba(245,166,35,0.16);
  color: rgba(245,166,35,0.8);
}

body.ui-v2 .notice img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 16px;
  margin-top: 1px;
}

/* ── Reward Verification Overlay ─────────────────────────── */
body.ui-v2 .reward-verification-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}

body.ui-v2 .reward-verification-card {
  background: #12160E;
  border: 1px solid rgba(140,230,75,0.22);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  width: 100%;
  max-width: 340px;
  text-align: center;
  display: grid;
  gap: 12px;
}

body.ui-v2 .reward-verification-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(140,230,75,0.18);
  border-top-color: #8CE64B;
  border-radius: 50%;
  animation: v2-spin 0.75s linear infinite;
  margin: 0 auto;
}

/* ── Empty states ────────────────────────────────────────── */
body.ui-v2 .empty-state {
  text-align: center;
  padding: 40px 24px;
  color: #9AA08E;
  font-size: 13px;
}

/* ── MC coin icon ────────────────────────────────────────── */
body.ui-v2 .mc-coin-icon {
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(245,166,35,0.28));
}

/* ── Onboarding ──────────────────────────────────────────── */
body.ui-v2 .onboarding {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

body.ui-v2 .onboarding-top {
  display: flex;
  justify-content: flex-end;
  padding: max(16px, env(safe-area-inset-top)) 16px 8px;
}

body.ui-v2 .skip {
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background: transparent;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  cursor: pointer;
}

body.ui-v2 .slides {
  position: relative;
  overflow: hidden;
}

body.ui-v2 .slide {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

body.ui-v2 .slide.active { display: flex; }

body.ui-v2 .slide img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 28px rgba(140,230,75,0.3));
}

body.ui-v2 .slide h1 { font-size: 22px; font-weight: 900; margin: 0 0 10px; }
body.ui-v2 .slide p  { color: #9AA08E; font-size: 14px; line-height: 1.5; margin: 0; }

body.ui-v2 .onboarding-bottom {
  padding: 16px clamp(16px,4vw,24px) max(24px, env(safe-area-inset-bottom));
  display: grid;
  gap: 14px;
}

body.ui-v2 .dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

body.ui-v2 .dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: block;
  transition: background 0.2s, width 0.2s;
}

body.ui-v2 .dots i.active {
  background: #8CE64B;
  width: 20px;
  border-radius: 4px;
}

/* ── Splash screen ───────────────────────────────────────── */
body.ui-v2 .splash {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

body.ui-v2 .splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

body.ui-v2 .splash-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 0 32px rgba(140,230,75,0.45));
}

body.ui-v2 .splash-content h1 { margin: 0; font-size: 26px; font-weight: 900; }
body.ui-v2 .splash-content p  { margin: 0; font-size: 13px; color: #9AA08E; }

body.ui-v2 .loading-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
}

body.ui-v2 .loading-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(140,230,75,0.5);
  display: block;
  animation: v2-dot-pulse 1.4s ease-in-out infinite;
}

body.ui-v2 .loading-dots i:nth-child(2) { animation-delay: 0.2s; }
body.ui-v2 .loading-dots i:nth-child(3) { animation-delay: 0.4s; }

@keyframes v2-dot-pulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1);   opacity: 1;   }
}

/* ── Float animation ─────────────────────────────────────── */
@keyframes v2-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

body.ui-v2 .float-anim { animation: v2-float 2.5s ease-in-out infinite; }

/* ── Responsive: wider screens ───────────────────────────── */
@media (min-width: 600px) {
  body.ui-v2 { --page-gutter: clamp(24px, 5vw, 64px); }

  body.ui-v2 .wallet-method-grid,
  body.ui-v2 .withdraw-method-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  body.ui-v2 .task-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  body.ui-v2 .referral-stats,
  body.ui-v2 .profile-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  body.ui-v2 .bottom-nav {
    padding-left: clamp(40px, 14vw, 180px);
    padding-right: clamp(40px, 14vw, 180px);
  }
}

@media (max-width: 359px) {
  body.ui-v2 { --page-gutter: 10px; }
  body.ui-v2 .v2-header { gap: 7px; }
  body.ui-v2 .balance-pill { padding: 6px 9px; }
  body.ui-v2 .task-row { align-items: flex-start; flex-wrap: wrap; }
  body.ui-v2 .task-status { width: 100%; padding-left: 54px; }
  body.ui-v2 .task-status .status { width: 100%; }
  body.ui-v2 .home-game-card { padding: 12px; }
}

/* ── Reduce motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  body.ui-v2 *,
  body.ui-v2 *::before,
  body.ui-v2 *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Supplied v2 mock contract: home. The layout keeps the mock's proportions while
   using the real Telegram viewport instead of a fixed 390 x 844 canvas. */
body.ui-v2 .mock-contract { background: #0A0D08; }
body.ui-v2 .mock-contract a { text-decoration: none; }
body.ui-v2 .exact-home-page { overflow: hidden; padding: 0 0 calc(68px + var(--safe-bottom)); }
body.ui-v2 .exact-home-header {
  position: relative; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  min-height: calc(62px + var(--safe-top)); padding: calc(10px + var(--safe-top)) 16px 10px;
  background: rgba(10,13,8,.95); border-bottom: 1px solid rgba(255,255,255,.04);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
body.ui-v2 .exact-user { min-width: 0; display: flex; align-items: center; gap: 10px; color: #F5F6F2; }
body.ui-v2 .exact-user > img { width: 38px; height: 38px; flex: 0 0 38px; object-fit: cover; border-radius: 50%; border: 2px solid rgba(140,230,75,.35); }
body.ui-v2 .exact-user > span { min-width: 0; display: grid; gap: 1px; }
body.ui-v2 .exact-user small { color: #9AA08E; font-size: 11px; font-weight: 500; line-height: 1.2; }
body.ui-v2 .exact-user strong { overflow: hidden; color: #F5F6F2; font-size: 13px; font-weight: 800; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
body.ui-v2 .exact-header-actions { display: flex; align-items: center; gap: 10px; }
body.ui-v2 .exact-header-actions .balance-pill { min-width: 0; padding: 6px 10px; }
body.ui-v2 .exact-header-actions .balance-pill img { width: 20px; height: 20px; }
body.ui-v2 .exact-header-actions .icon-btn { width: 36px; height: 36px; flex-basis: 36px; }
body.ui-v2 .exact-header-actions .icon-btn img { width: 20px; height: 20px; }

body.ui-v2 .exact-home-scroll {
  height: calc(100% - (62px + var(--safe-top))); overflow-y: auto; padding: 16px 16px 18px;
  overscroll-behavior: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
body.ui-v2 .exact-home-scroll::-webkit-scrollbar { display: none; }
body.ui-v2 .exact-announcement {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 16px;
  background: linear-gradient(135deg,rgba(42,171,238,.12),rgba(42,171,238,.04));
  border: 1px solid rgba(42,171,238,.2); border-radius: 16px;
}
body.ui-v2 .exact-announcement[hidden] { display: none; }
body.ui-v2 .exact-announcement > img { width: 22px; height: 22px; object-fit: contain; }
body.ui-v2 .exact-announcement > div { min-width: 0; flex: 1; display: grid; gap: 2px; }
body.ui-v2 .exact-announcement strong, body.ui-v2 .exact-announcement span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.ui-v2 .exact-announcement strong { color: #F5F6F2; font-size: 13px; }
body.ui-v2 .exact-announcement span { color: #9AA08E; font-size: 11px; }
body.ui-v2 .exact-announcement button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; }
body.ui-v2 .exact-announcement button img { width: 14px; height: 14px; object-fit: contain; }

body.ui-v2 .exact-balance-card {
  position: relative; overflow: hidden; min-height: 176px; padding: 20px; margin-bottom: 16px;
  background: linear-gradient(135deg,#161F0E 0%,#0F1A09 50%,#0A0D08 100%);
  border: 1px solid rgba(140,230,75,.15); border-radius: 24px;
}
body.ui-v2 .exact-balance-card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle,rgba(140,230,75,.12),transparent 70%); }
body.ui-v2 .exact-balance-card::after { content: ''; position: absolute; bottom: -28px; left: 12px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle,rgba(245,166,35,.08),transparent 70%); }
body.ui-v2 .exact-balance-card > * { position: relative; z-index: 1; }
body.ui-v2 .exact-balance-card > small { display: block; margin-bottom: 7px; color: #9AA08E; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
body.ui-v2 .exact-balance-value { display: flex; align-items: flex-end; gap: 7px; margin-bottom: 18px; }
body.ui-v2 .exact-balance-value img { width: 30px; height: 30px; object-fit: contain; }
body.ui-v2 .exact-balance-value strong { color: #F5A623; font-size: clamp(31px,9vw,40px); font-weight: 900; line-height: .9; font-variant-numeric: tabular-nums; }
body.ui-v2 .exact-balance-value span { padding-bottom: 1px; color: rgba(245,166,35,.6); font-size: 17px; font-weight: 800; }
body.ui-v2 .exact-redeem { width: max-content; display: flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 14px; font-size: 12px; letter-spacing: .04em; }
body.ui-v2 .exact-redeem img { width: 18px; height: 18px; object-fit: contain; }
body.ui-v2 .exact-balance-card .exact-balance-art { position: absolute; inset: 0 0 0 auto; z-index: 0; display: block; width: 49%; height: 100%; overflow: hidden; pointer-events: none; }
body.ui-v2 .exact-balance-art > img { position: absolute; top: 7px; right: -31px; width: 224px; max-width: none; height: auto; object-fit: contain; }

body.ui-v2 .exact-quick-actions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 20px; }
body.ui-v2 .exact-quick-actions > a { min-width: 0; display: grid; justify-items: center; gap: 8px; padding: 13px 4px; color: #F5F6F2; background: #12160E; border: 1px solid rgba(255,255,255,.06); border-radius: 16px; }
body.ui-v2 .exact-quick-actions > a > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: rgba(var(--action-tone),.12); }
body.ui-v2 .exact-quick-actions img { width: 27px; height: 27px; object-fit: contain; }
body.ui-v2 .exact-quick-actions strong { max-width: 100%; overflow: hidden; font-size: 11px; font-weight: 700; text-overflow: ellipsis; }

body.ui-v2 .exact-home-section { margin-bottom: 20px; }
body.ui-v2 .exact-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
body.ui-v2 .exact-section-head h2 { margin: 0; color: #F5F6F2; font-size: 15px; font-weight: 800; }
body.ui-v2 .exact-section-head a, body.ui-v2 .exact-section-head span { color: #8CE64B; font-size: 11px; font-weight: 700; }
body.ui-v2 .exact-game-grid { display: flex; gap: 11px; overflow-x: auto; padding: 2px 0 5px; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
body.ui-v2 .exact-game-grid::-webkit-scrollbar { display: none; }
body.ui-v2 .exact-game-card { min-width: 0; flex: 0 0 46%; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 20px; scroll-snap-align: start; }
body.ui-v2 .exact-game-card.mines { background: linear-gradient(135deg,#0F2010,#12160E); border: 1px solid rgba(67,214,158,.15); }
body.ui-v2 .exact-game-card.coinflip { background: linear-gradient(135deg,#1F1008,#12160E); border: 1px solid rgba(255,138,61,.15); }
body.ui-v2 .exact-game-card.coming-soon { position: relative; overflow: hidden; cursor: default; background: linear-gradient(135deg,#21152D,#12160E 72%); border: 1px solid rgba(196,142,255,.2); }
body.ui-v2 .exact-game-card.coming-soon::after { position: absolute; top: -40px; right: -38px; width: 100px; height: 100px; border-radius: 50%; background: rgba(177,101,255,.16); filter: blur(18px); content: ""; pointer-events: none; }
body.ui-v2 .exact-game-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; }
body.ui-v2 .mines .exact-game-icon { background: rgba(67,214,158,.15); }
body.ui-v2 .coinflip .exact-game-icon { background: rgba(255,138,61,.15); }
body.ui-v2 .coming-soon .exact-game-icon { background: rgba(196,142,255,.15); }
body.ui-v2 .exact-game-icon img { width: 29px; height: 29px; object-fit: contain; }
body.ui-v2 .exact-game-card div { display: grid; gap: 2px; }
body.ui-v2 .exact-game-card strong { overflow: hidden; color: #F5F6F2; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
body.ui-v2 .exact-game-card small { color: #9AA08E; font-size: 10px; line-height: 1.3; }
body.ui-v2 .exact-game-card em { font-size: 10px; font-style: normal; font-weight: 800; }
body.ui-v2 .exact-game-card.mines em, body.ui-v2 .exact-game-card.mines b { color: #43D69E; }
body.ui-v2 .exact-game-card.coinflip em, body.ui-v2 .exact-game-card.coinflip b { color: #FF8A3D; }
body.ui-v2 .exact-game-card.coming-soon em, body.ui-v2 .exact-game-card.coming-soon b { color: #C48EFF; }
body.ui-v2 .exact-game-card b { padding: 7px 6px; border: 1px solid currentColor; border-radius: 11px; background: color-mix(in srgb,currentColor 12%,transparent); font-size: 10px; font-weight: 900; text-align: center; }

body.ui-v2 .exact-streak { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 5px; padding: 14px; background: #12160E; border: 1px solid rgba(255,255,255,.06); border-radius: 20px; }
body.ui-v2 .exact-streak-day { min-width: 0; display: grid; justify-items: center; gap: 3px; padding: 7px 2px; opacity: .5; background: #12160E; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; }
body.ui-v2 .exact-streak-day img { width: 14px; height: 14px; object-fit: contain; }
body.ui-v2 .exact-streak-day strong { color: #9AA08E; font-size: 9px; font-weight: 800; font-variant-numeric: tabular-nums; }
body.ui-v2 .exact-streak-day small { color: #9AA08E; font-size: 8px; }
body.ui-v2 .exact-streak-day.claimed { opacity: 1; background: rgba(67,214,158,.08); border-color: rgba(67,214,158,.2); }
body.ui-v2 .exact-streak-day.claimed strong { color: #43D69E; }
body.ui-v2 .exact-streak-day.active { opacity: 1; background: rgba(140,230,75,.08); border-color: #8CE64B; box-shadow: 0 0 12px rgba(140,230,75,.1); }
body.ui-v2 .exact-streak-day.active strong, body.ui-v2 .exact-streak-day.active small { color: #8CE64B; }
body.ui-v2 .exact-streak-day.mystery { border-color: rgba(245,166,35,.25); }
body.ui-v2 .exact-streak-day.mystery strong, body.ui-v2 .exact-streak-day.mystery small { color: #F5A623; }
body.ui-v2 .exact-inline-state { grid-column: 1/-1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; color: #9AA08E; font-size: 11px; }
body.ui-v2 .exact-inline-state img { width: 22px; height: 22px; object-fit: contain; }

body.ui-v2 .exact-featured-task { display: flex; align-items: center; gap: 11px; padding: 14px; color: #F5F6F2; background: #12160E; border: 1px solid rgba(255,255,255,.06); border-radius: 20px; }
body.ui-v2 .exact-task-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 15px; background: rgba(42,171,238,.15); }
body.ui-v2 .exact-task-icon img { width: 32px; height: 32px; object-fit: contain; }
body.ui-v2 .exact-task-copy { min-width: 0; flex: 1; display: grid; gap: 3px; }
body.ui-v2 .exact-task-copy > strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
body.ui-v2 .exact-task-copy > small { overflow: hidden; color: #9AA08E; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
body.ui-v2 .exact-task-copy > em { display: flex; align-items: center; gap: 3px; color: #F5A623; font-size: 10px; font-style: normal; font-weight: 900; }
body.ui-v2 .exact-task-copy > em img { width: 15px; height: 15px; object-fit: contain; }
body.ui-v2 .exact-featured-task > b { padding: 8px 12px; border-radius: 11px; color: #0A0D08; background: linear-gradient(135deg,#8CE64B,#6FCB1F); font-size: 10px; font-weight: 900; }

body.ui-v2 .exact-rewarded-offer { display: flex; align-items: center; gap: 11px; padding: 14px; margin-bottom: 8px; background: linear-gradient(135deg,rgba(140,230,75,.06),rgba(140,230,75,.02)); border: 1px solid rgba(255,255,255,.06); border-radius: 20px; }
body.ui-v2 .exact-rewarded-offer[hidden] { display: none; }
body.ui-v2 .exact-rewarded-offer > span { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 14px; background: rgba(140,230,75,.12); }
body.ui-v2 .exact-rewarded-offer > span img { width: 28px; height: 28px; object-fit: contain; }
body.ui-v2 .exact-rewarded-offer > div { min-width: 0; flex: 1; display: grid; gap: 3px; }
body.ui-v2 .exact-rewarded-offer strong { font-size: 13px; }
body.ui-v2 .exact-rewarded-offer small { overflow: hidden; color: #9AA08E; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
body.ui-v2 .exact-rewarded-offer > a { padding: 8px 12px; color: #8CE64B; background: rgba(140,230,75,.12); border: 1px solid rgba(140,230,75,.2); border-radius: 11px; font-size: 10px; font-weight: 900; }

@media (min-width: 600px) {
  body.ui-v2 .exact-home-header { padding-right: max(24px,5vw); padding-left: max(24px,5vw); }
  body.ui-v2 .exact-home-scroll { padding-right: max(24px,5vw); padding-left: max(24px,5vw); }
}

@media (max-width: 340px) {
  body.ui-v2 .exact-home-scroll { padding-right: 10px; padding-left: 10px; }
  body.ui-v2 .exact-quick-actions { gap: 6px; }
  body.ui-v2 .exact-quick-actions > a { padding-right: 2px; padding-left: 2px; }
  body.ui-v2 .exact-streak { gap: 3px; padding: 10px; }
}

/* Shared supplied-screen header and state components. */
body.ui-v2 .exact-page-header {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 calc((var(--page-gutter) + var(--safe-right)) * -1) 0 calc((var(--page-gutter) + var(--safe-left)) * -1);
  padding: calc(15px + var(--safe-top)) calc(var(--page-gutter) + var(--safe-right)) 12px calc(var(--page-gutter) + var(--safe-left));
  background: rgba(10,13,8,.95); border-bottom: 1px solid rgba(255,255,255,.04);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
body.ui-v2 .exact-page-header > div { min-width: 0; flex: 1; }
body.ui-v2 .exact-page-header h1 { margin: 0; color: #F5F6F2; font-size: 20px; font-weight: 900; line-height: 1.2; }
body.ui-v2 .exact-page-header p { margin: 5px 0 0; color: #9AA08E; font-size: 12px; line-height: 1.35; }
body.ui-v2 .exact-page-header .balance-pill img { width: 20px; height: 20px; object-fit: contain; }
body.ui-v2 .exact-earn-header .earn-balance-pill { flex: 0 1 auto; max-width: 116px; gap: 4px; padding: 4px 8px; font-size: 11px; }
body.ui-v2 .exact-earn-header .earn-balance-pill img { width: 16px; height: 16px; }
body.ui-v2 .exact-earn-header .earn-balance-pill span { overflow: hidden; text-overflow: ellipsis; }
body.ui-v2 .exact-state-view { width: 100%; min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 18px; color: #F5F6F2; text-align: center; }
body.ui-v2 .exact-state-icon { display: grid; place-items: center; width: 82px; height: 82px; margin-bottom: 17px; border-radius: 25px; background: rgba(140,230,75,.07); border: 1px solid rgba(140,230,75,.12); }
body.ui-v2 .exact-state-icon img { width: 58px; height: 58px; object-fit: contain; }
body.ui-v2 .exact-state-view > strong { font-size: 17px; font-weight: 900; }
body.ui-v2 .exact-state-view > p { max-width: 280px; margin: 7px 0 18px; color: #9AA08E; font-size: 12px; line-height: 1.5; }
body.ui-v2 .exact-state-view > a { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 20px; font-size: 11px; }

body.ui-v2 .exact-earn-page { padding-top: 0; }
body.ui-v2 .page-heading.inline.exact-legacy-earn-heading { display: none !important; }
body.ui-v2 .exact-earn-page .segmented { position: sticky; top: calc(76px + var(--safe-top)); z-index: 29; margin: 0 calc((var(--page-gutter) + var(--safe-right)) * -1) 12px calc((var(--page-gutter) + var(--safe-left)) * -1); padding: 8px calc(var(--page-gutter) + var(--safe-left)); overflow-x: auto; background: rgba(10,13,8,.96); border-radius: 0; scrollbar-width: none; }
body.ui-v2 .exact-earn-page .segmented::-webkit-scrollbar { display: none; }
body.ui-v2 .exact-earn-page .segment { flex: 0 0 auto; padding: 8px 14px; border: 0; border-radius: 20px; color: #9AA08E; background: transparent; font-size: 12px; font-weight: 700; }
body.ui-v2 .exact-earn-page .segment.active { color: #8CE64B; background: rgba(140,230,75,.12); }
body.ui-v2 .exact-task-count-row { margin-bottom: 10px; }
body.ui-v2 .exact-task-count-row h2 { font-size: 14px; }
body.ui-v2 .exact-task-count-row span { color: #9AA08E; }
body.ui-v2 .exact-earn-page .task-list { display: grid; gap: 11px; }
body.ui-v2 .exact-earn-page .task-row { min-height: 74px; padding: 14px; border-radius: 18px; background: #12160E; border: 1px solid rgba(255,255,255,.06); }
body.ui-v2 .exact-earn-page .task-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 15px; }
body.ui-v2 .exact-earn-page .task-icon img { width: 30px; height: 30px; object-fit: contain; }
body.ui-v2 .exact-earn-page .task-copy { gap: 2px; }
body.ui-v2 .exact-earn-page .task-copy > strong { font-size: 13px; }
body.ui-v2 .exact-earn-page .task-description { display: none; }
body.ui-v2 .exact-earn-page .task-type-label { color: #9AA08E; font-size: 10px; }
body.ui-v2 .exact-earn-page .reward { font-size: 10px; }
body.ui-v2 .exact-earn-page .reward img { width: 15px; height: 15px; }
body.ui-v2 .exact-earn-page .status { min-height: 34px; padding: 8px 12px; border-radius: 10px; text-transform: uppercase; font-size: 10px; font-weight: 900; }
body.ui-v2 .exact-earn-page .task-kind-milestone { border-color: rgba(245,166,35,.17); background: linear-gradient(135deg,rgba(245,166,35,.06),#12160E 50%); }
body.ui-v2 .exact-earn-page .task-milestone-progress { color: #F5A623; font-size: 9px; }
body.ui-v2 .exact-earn-page .add-your-task-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  color: #8CE64B;
  border: 1px solid rgba(140,230,75,.3);
  border-radius: 12px;
  background: rgba(140,230,75,.045);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-decoration: none;
}
body.ui-v2 .exact-earn-page .add-your-task-link > span { font-size: 19px; font-weight: 500; line-height: 1; }
body.ui-v2 .exact-earn-page .add-your-task-link:active { transform: scale(.98); background: rgba(140,230,75,.09); }

@media (min-width: 600px) {
  body.ui-v2 .exact-earn-page .task-list { grid-template-columns: 1fr; }
}

/* Task timer and proof screens from the supplied state mocks. */
body.ui-v2 .exact-task-timer-overlay { padding: 0; background: rgba(10,13,8,.96); backdrop-filter: blur(8px); }
body.ui-v2 .exact-task-timer { width: min(100%,430px); min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: max(24px,var(--safe-top)) 24px max(24px,var(--safe-bottom)); }
body.ui-v2 .exact-task-timer > article { width: 100%; display: flex; align-items: center; gap: 11px; padding: 12px 14px; margin-bottom: 34px; background: #12160E; border: 1px solid rgba(255,255,255,.06); border-radius: 20px; }
body.ui-v2 .exact-task-timer > article > span { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: rgba(42,171,238,.15); }
body.ui-v2 .exact-task-timer > article img { width: 27px; height: 27px; object-fit: contain; }
body.ui-v2 .exact-task-timer > article div { min-width: 0; flex: 1; display: grid; gap: 3px; }
body.ui-v2 .exact-task-timer > article strong { overflow: hidden; color: #F5F6F2; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
body.ui-v2 .exact-task-timer > article small { color: #9AA08E; font-size: 10px; }
body.ui-v2 .exact-task-timer > article > b { padding: 5px 8px; color: #F5A623; background: rgba(245,166,35,.12); border-radius: 8px; font-size: 9px; }
body.ui-v2 .exact-timer-status { margin: 0 0 24px; color: #9AA08E; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
body.ui-v2 .exact-timer-ring { position: relative; width: 200px; height: 200px; margin-bottom: 25px; filter: drop-shadow(0 0 12px rgba(140,230,75,.35)); }
body.ui-v2 .exact-timer-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
body.ui-v2 .exact-timer-ring circle { fill: none; stroke-width: 8; }
body.ui-v2 .timer-ring-bg { stroke: rgba(255,255,255,.06); }
body.ui-v2 .timer-ring-fill { stroke: url(#taskTimerGradient); stroke-linecap: round; stroke-dasharray: 502.65; stroke-dashoffset: 0; transition: stroke-dashoffset .25s linear; }
body.ui-v2 .exact-timer-ring > span { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; }
body.ui-v2 .exact-timer-ring > span strong { color: #F5F6F2; font-size: 45px; font-weight: 900; line-height: 1; }
body.ui-v2 .exact-timer-ring > span small { margin-top: 5px; color: #9AA08E; font-size: 12px; }
body.ui-v2 .exact-timer-copy { max-width: 330px; margin-bottom: 28px; text-align: center; }
body.ui-v2 .exact-timer-copy strong { color: #F5F6F2; font-size: 14px; }
body.ui-v2 .exact-timer-copy p { margin: 7px 0 0; color: #9AA08E; font-size: 12px; line-height: 1.5; }
body.ui-v2 .exact-timer-button { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 16px; color: #9AA08E; background: rgba(255,255,255,.06); font-size: 13px; font-weight: 800; }
body.ui-v2 .exact-timer-button img { width: 19px; height: 19px; object-fit: contain; }
body.ui-v2 .exact-timer-button.ready { color: #0A0D08; background: linear-gradient(135deg,#8CE64B,#6FCB1F); }
body.ui-v2 .exact-timer-note { margin-top: 12px; color: #9AA08E; font-size: 10px; text-align: center; }

body.ui-v2 .exact-proof-overlay { position: fixed; inset: 0; z-index: 999999; display: flex; justify-content: center; overflow: hidden; background: #0A0D08; }
body.ui-v2 .exact-proof-sheet { width: min(100%,480px); height: 100%; display: grid; grid-template-rows: auto minmax(0,1fr); background: #0A0D08; }
body.ui-v2 .exact-proof-sheet > header { display: flex; align-items: center; gap: 11px; min-height: calc(66px + var(--safe-top)); padding: calc(12px + var(--safe-top)) 16px 12px; border-bottom: 1px solid rgba(255,255,255,.04); }
body.ui-v2 .exact-proof-sheet > header > button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; background: #12160E; }
body.ui-v2 .exact-proof-sheet > header > button img { width: 16px; height: 16px; object-fit: contain; }
body.ui-v2 .exact-proof-sheet > header h1 { min-width: 0; flex: 1; margin: 0; font-size: 17px; font-weight: 900; }
body.ui-v2 .exact-proof-sheet > header .balance-pill img { width: 19px; height: 19px; }
body.ui-v2 .exact-proof-scroll { overflow-y: auto; padding: 16px 16px max(30px,var(--safe-bottom)); scrollbar-width: none; }
body.ui-v2 .exact-proof-scroll::-webkit-scrollbar { display: none; }
body.ui-v2 .exact-proof-task { display: flex; align-items: center; gap: 11px; padding: 14px; margin-bottom: 14px; background: #12160E; border: 1px solid rgba(255,255,255,.06); border-radius: 20px; }
body.ui-v2 .exact-proof-task > span { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; background: rgba(245,166,35,.12); }
body.ui-v2 .exact-proof-task > span img { width: 30px; height: 30px; object-fit: contain; }
body.ui-v2 .exact-proof-task > div { min-width: 0; flex: 1; display: grid; gap: 4px; }
body.ui-v2 .exact-proof-task > div > strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
body.ui-v2 .exact-proof-task > div > small { display: flex; align-items: center; gap: 4px; color: #F5A623; font-size: 10px; font-weight: 900; }
body.ui-v2 .exact-proof-task > div > small img { width: 15px; height: 15px; }
body.ui-v2 .exact-proof-task em { color: #9AA08E; font-style: normal; font-weight: 500; }
body.ui-v2 .exact-proof-task > b { padding: 5px 7px; color: #F5A623; background: rgba(245,166,35,.1); border-radius: 7px; font-size: 8px; white-space: nowrap; }
body.ui-v2 .exact-proof-info { display: flex; align-items: flex-start; gap: 9px; padding: 0 3px; margin-bottom: 18px; }
body.ui-v2 .exact-proof-info img { width: 18px; height: 18px; object-fit: contain; }
body.ui-v2 .exact-proof-info p { margin: 0; color: #9AA08E; font-size: 11px; line-height: 1.5; }
body.ui-v2 .exact-field-label { display: block; margin: 0 0 9px; color: #F5F6F2; font-size: 12px; font-weight: 800; }
body.ui-v2 .exact-field-label em { color: #FF5C68; }
body.ui-v2 .exact-field-label small { color: #9AA08E; font-weight: 500; }
body.ui-v2 .exact-upload-area { width: 100%; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 22px; margin-bottom: 18px; border: 2px dashed rgba(140,230,75,.25); border-radius: 20px; color: #F5F6F2; background: rgba(140,230,75,.03); }
body.ui-v2 .exact-upload-area > span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(140,230,75,.1); }
body.ui-v2 .exact-upload-area > span img { width: 37px; height: 37px; object-fit: contain; }
body.ui-v2 .exact-upload-area > strong { max-width: 100%; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
body.ui-v2 .exact-upload-area > small { color: #9AA08E; font-size: 10px; }
body.ui-v2 .exact-upload-area > b { display: flex; align-items: center; gap: 6px; padding: 7px 12px; color: #8CE64B; background: rgba(140,230,75,.1); border: 1px solid rgba(140,230,75,.2); border-radius: 10px; font-size: 10px; }
body.ui-v2 .exact-upload-area > b img { width: 14px; height: 14px; }
body.ui-v2 .exact-proof-note { width: 100%; min-height: 82px; padding: 13px 14px; margin-bottom: 13px; resize: vertical; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; outline: 0; color: #F5F6F2; background: #12160E; font: inherit; font-size: 12px; }
body.ui-v2 .exact-proof-note:focus { border-color: rgba(140,230,75,.35); }
body.ui-v2 .exact-proof-security { display: flex; align-items: center; gap: 8px; padding: 10px 11px; margin-bottom: 18px; border: 1px solid rgba(255,255,255,.04); border-radius: 12px; background: #171C11; }
body.ui-v2 .exact-proof-security img { width: 18px; height: 18px; }
body.ui-v2 .exact-proof-security span { color: #9AA08E; font-size: 9px; line-height: 1.35; }
body.ui-v2 .exact-proof-submit { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; font-size: 12px; }
body.ui-v2 .exact-proof-submit img { width: 19px; height: 19px; }
body.ui-v2 .exact-proof-submit:disabled { opacity: .45; }
body.ui-v2 .exact-proof-confirm { align-self: center; width: min(calc(100% - 48px),340px); padding: 30px 22px; border: 1px solid rgba(255,255,255,.08); border-radius: 24px; background: #12160E; text-align: center; }
body.ui-v2 .exact-proof-confirm > span { display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 17px; border: 1px solid rgba(67,214,158,.2); border-radius: 50%; background: rgba(67,214,158,.12); }
body.ui-v2 .exact-proof-confirm img { width: 54px; height: 54px; object-fit: contain; }
body.ui-v2 .exact-proof-confirm h2 { margin: 0 0 8px; font-size: 19px; }
body.ui-v2 .exact-proof-confirm p { margin: 0 0 20px; color: #9AA08E; font-size: 12px; line-height: 1.5; }
body.ui-v2 .exact-proof-confirm button { width: 100%; min-height: 44px; border: 0; }

body.ui-v2 .broadcast-popup-overlay { position: fixed; inset: 0; z-index: 999998; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10,13,8,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
body.ui-v2 .broadcast-popup-card { position: relative; width: min(100%,342px); padding: 30px 22px 22px; border: 1px solid rgba(255,255,255,.08); border-radius: 24px; background: #12160E; box-shadow: 0 24px 80px rgba(0,0,0,.45); text-align: center; }
body.ui-v2 .broadcast-popup-x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.05); }
body.ui-v2 .broadcast-popup-x img { width: 14px; height: 14px; object-fit: contain; }
body.ui-v2 .broadcast-popup-icon { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 18px; border: 1px solid rgba(140,230,75,.18); border-radius: 24px; background: rgba(140,230,75,.09); }
body.ui-v2 .broadcast-popup-icon img { width: 54px; height: 54px; object-fit: contain; }
body.ui-v2 .broadcast-popup-image { width: calc(100% + 44px); max-height: 170px; object-fit: cover; margin: -30px -22px 20px; border-radius: 24px 24px 0 0; }
body.ui-v2 .broadcast-popup-card h2 { margin: 0 0 9px; color: #F5F6F2; font-size: 19px; font-weight: 900; line-height: 1.25; }
body.ui-v2 .broadcast-popup-card > p { margin: 0 0 22px; color: #9AA08E; font-size: 12px; line-height: 1.55; }
body.ui-v2 .broadcast-popup-actions { display: grid; gap: 9px; }
body.ui-v2 .broadcast-popup-actions button { width: 100%; min-height: 44px; border: 0; border-radius: 14px; font-size: 11px; font-weight: 900; text-transform: uppercase; }
body.ui-v2 .broadcast-popup-primary { color: #0A0D08; background: linear-gradient(135deg,#8CE64B,#6FCB1F); }
body.ui-v2 .broadcast-popup-dismiss { color: #9AA08E; background: rgba(255,255,255,.05); }

body.ui-v2 .game-ad-gate { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(10,13,8,.94); backdrop-filter: blur(10px); border-radius: inherit; }
body.ui-v2 .game-ad-gate > div { width: min(100%,320px); display: flex; flex-direction: column; align-items: center; padding: 26px 20px; border: 1px solid rgba(255,255,255,.08); border-radius: 24px; background: #12160E; text-align: center; }
body.ui-v2 .game-gate-lock { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 14px; border: 1px solid rgba(245,166,35,.2); border-radius: 22px; background: rgba(245,166,35,.1); }
body.ui-v2 .game-gate-lock img { width: 46px; height: 46px; object-fit: contain; }
body.ui-v2 .game-ad-gate strong { color: #F5F6F2; font-size: 18px; font-weight: 900; }
body.ui-v2 .game-ad-gate strong + span { margin-top: 7px; color: #9AA08E; font-size: 11px; line-height: 1.45; }
body.ui-v2 .game-gate-reward { width: 100%; display: grid; grid-template-columns: 34px 1fr 34px 1fr; align-items: center; gap: 6px; padding: 10px; margin: 17px 0; border-radius: 13px; background: #171C11; }
body.ui-v2 .game-gate-reward img { width: 30px; height: 30px; object-fit: contain; }
body.ui-v2 .game-gate-reward span { color: #F5F6F2; font-size: 9px; font-weight: 700; text-align: left; }
body.ui-v2 .game-ad-gate button { width: 100%; min-height: 44px; border-radius: 14px; font-size: 11px; }
body.ui-v2 .exact-game-title { min-width: 0; flex: 1; }
body.ui-v2 .exact-game-title h1 { margin: 0; font-size: 17px; line-height: 1.2; }
body.ui-v2 .exact-game-title p { margin: 3px 0 0; color: #9AA08E; font-size: 10px; }
body.ui-v2 .exact-game-intro { display: none; }
body.ui-v2 .mine-cell > img { width: 34px; height: 34px; object-fit: contain; }
body.ui-v2 .mine-cell:not(.open) > img { width: 22px; height: 22px; opacity: .32; }

body.ui-v2 .exact-onboarding { width: 100%; height: 100%; display: grid; grid-template-rows: minmax(0,1fr) auto; padding-top: var(--safe-top); background: #0A0D08; }
body.ui-v2 .exact-onboarding .slides { min-height: 0; }
body.ui-v2 .exact-onboarding .slide { height: 100%; min-height: 0; display: none; grid-template-rows: minmax(0,1fr) auto; padding: 24px 24px 12px; }
body.ui-v2 .exact-onboarding .slide.active { display: grid; }
body.ui-v2 .exact-onboarding .slide img { width: auto; height: auto; margin: 0; filter: none; }
body.ui-v2 .onboarding-visual { width: min(100%,280px); min-height: 230px; align-self: center; justify-self: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 17px; padding: 24px 18px; border: 1px solid rgba(140,230,75,.13); border-radius: 26px; background: radial-gradient(circle at 50% 35%,rgba(140,230,75,.12),rgba(140,230,75,.03) 48%,transparent 75%); }
body.ui-v2 .onboarding-coin img { width: 100px !important; height: 100px !important; object-fit: contain; filter: drop-shadow(0 0 25px rgba(245,166,35,.35)) !important; }
body.ui-v2 .onboarding-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
body.ui-v2 .onboarding-chips span, body.ui-v2 .onboarding-daily { display: flex; align-items: center; gap: 6px; padding: 7px 10px; color: #F5F6F2; background: #171C11; border: 1px solid rgba(255,255,255,.07); border-radius: 999px; font-size: 10px; font-weight: 700; }
body.ui-v2 .onboarding-chips img, body.ui-v2 .onboarding-daily img { width: 17px !important; height: 17px !important; object-fit: contain; }
body.ui-v2 .onboarding-games { width: 100%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: end; gap: 9px; }
body.ui-v2 .onboarding-games > span { min-width: 0; display: grid; justify-items: center; gap: 7px; }
body.ui-v2 .onboarding-games > span img { width: 58px !important; height: 58px !important; object-fit: contain; padding: 8px; border: 1px solid rgba(140,230,75,.16); border-radius: 17px; background: linear-gradient(135deg,#1E2F1A,#12160E); }
body.ui-v2 .onboarding-games > span:nth-child(2) img { width: 72px !important; height: 72px !important; padding: 0; background: transparent; border: 0; }
body.ui-v2 .onboarding-games small { max-width: 100%; color: #9AA08E; font-size: 8px; text-align: center; }
body.ui-v2 .onboarding-methods { width: 100%; display: grid; gap: 8px; }
body.ui-v2 .onboarding-methods span { display: flex; align-items: center; gap: 10px; padding: 10px 11px; background: #171C11; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; }
body.ui-v2 .onboarding-methods img { width: 29px !important; height: 29px !important; object-fit: contain; }
body.ui-v2 .onboarding-methods b { color: #F5F6F2; font-size: 11px; }
body.ui-v2 .onboarding-methods span::after { content: '>'; margin-left: auto; color: #8CE64B; font-size: 12px; font-weight: 900; }
body.ui-v2 .onboarding-copy { padding: 18px 0 0; text-align: center; }
body.ui-v2 .exact-onboarding .onboarding-copy h1 { margin: 0 0 9px; color: #F5F6F2; font-size: 23px; font-weight: 900; }
body.ui-v2 .exact-onboarding .onboarding-copy p { margin: 0; color: #9AA08E; font-size: 12px; line-height: 1.55; }
body.ui-v2 .exact-onboarding .onboarding-bottom { display: grid; gap: 14px; padding: 10px 24px max(24px,var(--safe-bottom)); }
body.ui-v2 .exact-onboarding .dots { margin-bottom: 2px; }
body.ui-v2 .exact-onboarding .onboarding-bottom > button { width: 100%; min-height: 50px; border: 0; font-size: 13px; }
body.ui-v2 .exact-onboarding .onboarding-bottom > p { margin: 0; color: #9AA08E; font-size: 9px; text-align: center; }
body.ui-v2 .exact-onboarding .onboarding-bottom > p span { color: #8CE64B; }

/* Standalone v2 primitives (v2 no longer imports the v1 stylesheet). */
body.ui-v2 .section { margin-top: 18px; }
body.ui-v2 .panel-pad { padding: 14px; }
body.ui-v2 .form { display: grid; gap: 12px; }
body.ui-v2 .field label { display: block; margin-bottom: 6px; color: #9AA08E; font-size: 10px; font-weight: 800; }
body.ui-v2 .modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.ui-v2 .transaction, body.ui-v2 .notification-row, body.ui-v2 .rank-row { min-height: 60px; display: grid; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
body.ui-v2 .transaction:last-child, body.ui-v2 .notification-row:last-child, body.ui-v2 .rank-row:last-child { border-bottom: 0; }
body.ui-v2 .row-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(140,230,75,.1); }
body.ui-v2 .row-icon img { width: 29px; height: 29px; object-fit: contain; }
body.ui-v2 .row-copy { min-width: 0; }
body.ui-v2 .row-copy strong { display: block; font-size: 12px; }
body.ui-v2 .row-copy span { display: block; overflow: hidden; margin-top: 3px; color: #9AA08E; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
body.ui-v2 .row-value { color: #F5F6F2; font-size: 11px; text-align: right; }
body.ui-v2 .support-actions { margin-bottom: 14px; }
body.ui-v2 .support-action { width: 100%; min-width: 0; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 13px 15px; color: #F5F6F2; border: 1px solid rgba(255,255,255,.06); border-radius: 15px; background: #12160E; text-align: left; }
body.ui-v2 .support-action > img { width: 44px; height: 44px; object-fit: contain; }
body.ui-v2 .support-action-copy { min-width: 0; display: block; }
body.ui-v2 .support-action-copy strong { display: block; font-size: 12px; }
body.ui-v2 .support-action-copy > span { display: block; margin-top: 4px; overflow: hidden; color: #9AA08E; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
body.ui-v2 .support-action .support-action-arrow { color: #8CE64B; font-size: 25px; line-height: 1; }
body.ui-v2 .faq summary { padding: 13px 14px; cursor: pointer; color: #F5F6F2; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 12px; font-weight: 700; list-style: none; }
body.ui-v2 .faq[open] summary { color: #8CE64B; }
body.ui-v2 .faq p { margin: 0; padding: 10px 14px 12px; color: #9AA08E; font-size: 11px; line-height: 1.5; }
body.ui-v2 .withdraw-selected-card { display: grid; grid-template-columns: 56px minmax(0,1fr) auto; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.06); text-align: left; }
body.ui-v2 .withdraw-selected-card > div { min-width: 0; }
body.ui-v2 .withdraw-method-image { width: 56px; height: 56px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(140,230,75,.15); border-radius: 16px; background: rgba(140,230,75,.065); }
body.ui-v2 .withdraw-method-image img { display: block; width: 44px; height: 44px; max-width: 44px; max-height: 44px; object-fit: contain; }
body.ui-v2 .withdraw-selected-card strong { display: block; font-size: 14px; }
body.ui-v2 .withdraw-selected-card span:not(.badge):not(.withdraw-method-image) { display: block; margin-top: 3px; color: #9AA08E; font-size: 9px; }
body.ui-v2 .withdraw-calculation { display: flex; align-items: center; justify-content: space-between; margin: 8px 2px 3px; color: #9AA08E; font-size: 10px; }
body.ui-v2 .withdraw-calculation strong { color: #F5A623; font-size: 14px; }
body.ui-v2 .native-ad-slot[hidden] { display: none !important; }
body.ui-v2 .native-ad-slot { margin: 12px 0; overflow: hidden; border: 1px solid rgba(140,230,75,.15); border-radius: 18px; background: #171C11; }
body.ui-v2 .earn-extra-native-slot { margin: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; }
body.ui-v2 .adsgram-native-task {
  --adsgram-task-font-size: 13px;
  --adsgram-task-icon-size: 44px;
  --adsgram-task-icon-title-gap: 11px;
  --adsgram-task-icon-border-radius: 15px;
  --adsgram-task-button-width: 88px;
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 74px;
  max-height: 86px;
  padding: 11px 12px;
  overflow: hidden;
  color: #F5F6F2;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 18px;
  background: #171C11;
  box-shadow: inset 0 1px rgba(255,255,255,.03);
  font-family: inherit;
}
body.ui-v2 .native-task-reward { display: inline-flex; align-items: center; gap: 4px; min-height: 18px; padding: 0; color: #F5A623; background: transparent; border: 0; font-size: 10px; font-weight: 900; }
body.ui-v2 .native-task-reward img { width: 15px; height: 15px; object-fit: contain; }
body.ui-v2 .native-task-action { min-width: 82px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; margin-left: 7px; padding: 7px 10px; font-size: 9px; user-select: none; }
body.ui-v2 .progress { height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.06); }
body.ui-v2 .progress > i { display: block; width: var(--progress,0%); height: 100%; background: linear-gradient(90deg,#8CE64B,#6FCB1F); }
body.ui-v2 .grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
body.ui-v2 .hero-balance { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; }
body.ui-v2 .hero-balance > img { width: 92px; height: 92px; object-fit: contain; }
body.ui-v2 .hero-balance small { color: #9AA08E; font-size: 10px; }
body.ui-v2 .hero-balance strong { color: #F5A623; font-size: 28px; font-weight: 900; }
body.ui-v2 .add-your-task-wrap { display: flex; justify-content: center; padding: 18px 0; }
body.ui-v2 .earn-extra-section[hidden] { display: none; }
body.ui-v2 .about-lockup { display: grid; justify-items: center; gap: 7px; padding: 20px; text-align: center; }
body.ui-v2 .about-lockup img { width: 58px; height: 58px; object-fit: contain; }
body.ui-v2 .about-lockup h2 { margin: 0; font-size: 16px; }
body.ui-v2 .about-lockup p { margin: 0; color: #9AA08E; font-size: 10px; }
body.ui-v2 .legal-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
body.ui-v2 .legal-links a { padding: 10px 6px; color: #9AA08E; border: 1px solid rgba(255,255,255,.06); border-radius: 11px; background: #12160E; font-size: 9px; text-align: center; }
body.ui-v2 .reward-verification-icon { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 12px; border: 1px solid rgba(140,230,75,.17); border-radius: 24px; background: rgba(140,230,75,.08); }
body.ui-v2 .reward-verification-icon img { width: 52px; height: 52px; object-fit: contain; }
body.ui-v2 .exact-header-text-action { padding: 7px 9px; border: 0; color: #8CE64B; background: transparent; font-size: 10px; font-weight: 800; white-space: nowrap; }
body.ui-v2 .page-heading.inline.exact-notifications-heading { display: none !important; }
body.ui-v2 .lb-tab { display: flex; align-items: center; justify-content: center; }
body.ui-v2 .lb-tab img { display: inline-block; flex: 0 0 18px; }
