/* ==========================================================================
   Rewardsite UI · dark + neon. One stylesheet, no build step.
   ========================================================================== */

:root {
  --bg: #071524;
  --bg-2: #0A1C30;
  --surface: #0D2339;
  --surface-2: #122C47;
  --surface-3: #183756;
  --ink: #F2F6FB;
  --ink-2: #C3CFDD;
  --muted: #8396AD;
  --line: #17324F;
  --line-2: #22476C;
  --brand: #FFCC33;        /* gold yellow */
  --brand-2: #FFD95C;
  --brand-ink: #1B1400;    /* text on yellow */
  --brand-soft: rgba(255, 204, 51, .12);
  --pop: #FFCC33;
  --coin: #FFCC33;
  --ok: #3DDC97;
  --ok-soft: rgba(61, 220, 151, .14);
  --warn: #FFB547;
  --warn-soft: rgba(255, 181, 71, .14);
  --bad: #FF6B6B;
  --bad-soft: rgba(255, 107, 107, .14);
  --dark: #050F1B;
  --dark-2: #0D2339;
  --dark-line: #17324F;
  --dark-muted: #8396AD;
  --r-lg: 16px;
  --r: 12px;
  --r-sm: 10px;
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Rubik", system-ui, sans-serif;
  --wrap: 1100px;
  --side-w: 0px;
  --top-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand); color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap-ok { flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stack > * + * { margin-top: 12px; }
.stack-lg > * + * { margin-top: 24px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.lime { color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--r-sm);
  border: 1px solid transparent; background: var(--ink); color: var(--bg);
  font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: #fff; color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn.brand, .btn.pop { background: var(--brand); color: var(--brand-ink); }
.btn.brand:hover, .btn.pop:hover { background: var(--brand-2); color: var(--brand-ink); box-shadow: 0 0 0 4px rgba(255,204,51,.15), 0 8px 30px -8px rgba(255,204,51,.6); }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn.ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn.danger { background: var(--bad); color: #fff; }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.btn.lg { min-height: 54px; padding: 14px 24px; font-size: 17px; border-radius: var(--r); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 600; cursor: pointer; }
.round-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.round-btn:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Forms ---------- */
.field { display: block; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field small { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bg-2); color: var(--ink);
  font-size: 15px;
}
.input::placeholder, .textarea::placeholder { color: #5E7590; }
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,204,51,.14); }
.input:disabled { opacity: .6; }
input[type="color"].input { padding: 4px; height: 46px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.err { color: var(--bad); font-size: 13px; margin-top: 6px; display: block; }

/* ---------- Surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.card.flat { padding: 0; overflow: hidden; }
.card.tight { padding: 16px; }
.card h2 { font-size: 20px; }
.card h3 { font-size: 17px; }
.dark { background: var(--dark); color: var(--ink); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px;
  font-size: 12px; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink-2);
}
.pill.ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.pill.warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.pill.bad { background: var(--bad-soft); border-color: transparent; color: var(--bad); }
.pill.pop { background: var(--brand); border-color: transparent; color: var(--brand-ink); }

.flash { padding: 13px 16px; border-radius: var(--r); font-size: 15px; font-weight: 600; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; border: 1px solid transparent; }
.flash.ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(155,225,93,.25); }
.flash.bad { background: var(--bad-soft); color: #FF9A8B; border-color: rgba(255,107,87,.25); }
.flash.info { background: var(--warn-soft); color: var(--warn); border-color: rgba(255,181,71,.25); }

.coin { display: inline-block; width: 1em; height: 1em; vertical-align: -0.14em; flex: none; }

/* ---------- Tables ---------- */
.table-box { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th { text-align: left; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tr:hover td { background: rgba(255,255,255,.015); }
.t .num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.t .plus { color: var(--ok); }
.t .minus { color: var(--bad); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }

.pager { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 18px 0 4px; }
.pager a, .pager span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 14px; }
.pager .on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.pager .off { opacity: .4; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; box-shadow: 0 0 24px -6px rgba(255,204,51,.7); }
.logo-mark svg { width: 18px; height: 18px; }

/* ==========================================================================
   Live ticker (recent earnings strip)
   ========================================================================== */
.ticker { height: 54px; border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; position: relative; display: flex; align-items: center; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.ticker-label { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px; font-family: var(--mono); font-size: 12px; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; z-index: 3; background: var(--bg-2); height: 100%; border-right: 1px solid var(--line); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(255,204,51,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,204,51,.55); } 70% { box-shadow: 0 0 0 8px rgba(255,204,51,0); } 100% { box-shadow: 0 0 0 0 rgba(255,204,51,0); } }
.ticker-track { display: flex; gap: 8px; padding-left: 8px; width: max-content; animation: marquee 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.tick .av { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--brand-ink); flex: none; }
.tick .nm { font-size: 13px; font-weight: 600; line-height: 1.1; }
.tick .wl { font-size: 11px; color: var(--muted); line-height: 1.1; }
.tick .amt { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--brand); margin-left: 4px; }
.tick.cash .amt { color: var(--coin); }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .live-dot { animation: none; } }

/* ==========================================================================
   App shell: sidebar + topbar
   ========================================================================== */
.shell { display: flex; min-height: 100vh; }
.side {
  position: fixed; inset: 0 auto 0 0; width: var(--side-w); z-index: 50;
  background: var(--bg-2); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 16px 12px; overflow-y: auto;
  transition: transform .2s ease;
}
.side .logo { padding: 2px 8px 18px; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #5E7590; padding: 16px 12px 6px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px; color: var(--ink-2); font-weight: 500; font-size: 15px; position: relative; }
.side-nav a:hover { background: var(--surface); color: var(--ink); }
.side-nav a.on { background: var(--surface-2); color: var(--ink); }
.side-nav a.on::before { content: ""; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); box-shadow: 0 0 12px var(--brand); }
.side-nav a.on svg { color: var(--brand); }
.side-nav a .tag { margin-left: auto; font-size: 11px; font-weight: 700; background: var(--brand); color: var(--brand-ink); border-radius: 99px; padding: 1px 7px; }
.side-nav .sub { padding-left: 44px; font-size: 14px; padding-top: 8px; padding-bottom: 8px; color: var(--muted); }
.side-promo { margin-top: auto; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.side-promo::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(255,204,51,.25), transparent 70%); }
.side-promo b { display: block; font-size: 15px; }
.side-promo p { font-size: 13px; color: var(--muted); margin: 4px 0 12px; }
.side-scrim { display: none; }

.main { flex: 1; min-width: 0; margin-left: var(--side-w); display: flex; flex-direction: column; }
.topbar2 { position: sticky; top: 0; z-index: 40; height: var(--top-h); background: rgba(7,21,36,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 0 20px; }
.topbar2 .menu-toggle { display: none; }
.topbar2 .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.search-ish { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.bal-chip { display: inline-flex; align-items: center; gap: 10px; padding: 5px 5px 5px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); }
.bal-chip:hover { color: var(--ink); border-color: var(--brand); }
.bal-chip .v { font-family: var(--mono); font-weight: 600; display: inline-flex; gap: 7px; align-items: center; }
.bal-chip .go { background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 13px; padding: 6px 10px; border-radius: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: grid; place-items: center; position: relative; cursor: pointer; }
.icon-btn:hover { border-color: var(--brand); color: var(--ink); }
.icon-btn .dot { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--bad); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.avatar { width: 36px; height: 36px; border-radius: 11px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.menu { position: relative; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 10px); width: 230px; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.8); display: none; z-index: 60; }
.menu.open .menu-pop { display: block; }
.menu-pop a, .menu-pop button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 9px; color: var(--ink); background: none; border: 0; text-align: left; font-size: 15px; cursor: pointer; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--surface-2); }
.menu-pop hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

.app-main { padding: 24px 24px 110px; width: 100%; max-width: 1480px; margin: 0 auto; }
.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: 30px; letter-spacing: -0.03em; }
.page-head p { color: var(--muted); margin-top: 6px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 30px 0 14px; }
.sec-head h2 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.sec-head h2 svg { color: var(--brand); }
.sec-head .ctl { display: flex; gap: 6px; align-items: center; }

/* ---------- Banner ---------- */
.hero-banner { position: relative; overflow: hidden; border-radius: 22px; padding: 28px 30px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.hero-banner::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(600px 220px at 85% 10%, rgba(255,204,51,.18), transparent 60%),
  radial-gradient(400px 200px at 0% 100%, rgba(255,200,61,.08), transparent 60%); pointer-events: none; }
.hero-banner > * { position: relative; }
.hero-banner h1 { font-size: clamp(24px, 3vw, 34px); }
.hero-banner p { color: var(--ink-2); margin-top: 8px; max-width: 520px; }
.hb-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.hb-stat { padding: 12px 16px; border-radius: 14px; background: rgba(7,21,36,.6); border: 1px solid var(--line-2); min-width: 130px; }
.hb-stat .k { font-size: 12px; color: var(--muted); }
.hb-stat .v { font-family: var(--mono); font-weight: 600; font-size: 20px; display: flex; gap: 6px; align-items: center; }

/* ---------- Horizontal rails ---------- */
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 2px 2px 12px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; flex: none; }

/* Featured offer card */
.offer {
  width: 176px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; color: var(--ink); transition: transform .15s ease, border-color .15s ease;
}
.offer:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--ink); }
.offer .thumb { aspect-ratio: 1 / 1; position: relative; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.offer .thumb img { width: 100%; height: 100%; object-fit: cover; }
.offer .thumb b { font-size: 46px; font-weight: 700; color: var(--brand-ink); }
.offer .devices { position: absolute; left: 8px; bottom: 8px; display: flex; gap: 4px; }
.offer .devices span { width: 24px; height: 24px; border-radius: 7px; background: rgba(5,15,27,.75); backdrop-filter: blur(4px); display: grid; place-items: center; color: #fff; }
.offer .cat { position: absolute; right: 8px; top: 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 7px; border-radius: 6px; background: rgba(5,15,27,.75); color: var(--ink); }
.offer .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.offer .t { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer .d { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer .pay { margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); font-family: var(--mono); font-weight: 600; font-size: 14px; }
.offer:hover .pay { background: var(--brand); color: var(--brand-ink); }

/* Offerwall card */
.wallc {
  width: 184px; height: 228px; border-radius: 18px; position: relative; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 14px 18px; text-align: center;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.wallc::before { content: ""; position: absolute; inset: 0; background: var(--wc, #1B2414); opacity: .9; }
.wallc::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 90px at 50% 30%, rgba(255,255,255,.12), transparent 70%), linear-gradient(180deg, transparent 50%, rgba(5,15,27,.65)); }
.wallc > * { position: relative; z-index: 1; }
.wallc:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 18px 40px -18px rgba(255,204,51,.45); color: var(--ink); }
.wallc .badge { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; background: var(--brand); color: var(--brand-ink); }
.wallc .lg { height: 84px; width: 100%; display: grid; place-items: center; }
.wallc .lg img { max-height: 62px; max-width: 130px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0,0,0,.4)); }
.wallc .lg b { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(5,15,27,.45); border: 1px solid rgba(255,255,255,.12); font-size: 28px; }
.wallc .nm { font-weight: 700; font-size: 16px; }
.wallc .stars { color: var(--coin); font-size: 13px; letter-spacing: 2px; }
.wallc .stars i { color: rgba(255,255,255,.2); font-style: normal; }
.wallc .tg { font-size: 12px; color: var(--ink-2); }
.wallc .hover { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(5,15,27,.72); opacity: 0; transition: opacity .15s ease; }
.wallc .hover span { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.wallc:hover .hover, .wallc:focus-visible .hover { opacity: 1; }

/* Category chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.chip:hover { color: var(--ink); border-color: var(--muted); }
.chip.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }

.offer-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.offer-grid .offer { width: auto; }

/* ---------- Modal (offerwall popup) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(2,8,15,.78); backdrop-filter: blur(6px); }
.modal.open { display: flex; }
.modal-box { width: min(1100px, 100%); height: min(860px, 100%); background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--line); }
.modal-head b { font-size: 16px; }
.modal-head .x { margin-left: auto; }
.modal-box iframe { flex: 1; width: 100%; border: 0; background: #fff; }

/* ---------- Side panels on earn page ---------- */
.earn-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.earn-main { flex: 999 1 600px; min-width: 0; }
.earn-side { flex: 1 1 300px; min-width: 0; max-width: 100%; position: sticky; top: calc(var(--top-h) + 16px); }

.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.feed li:first-child { border-top: 0; }
.feed .who { font-weight: 600; }
.feed .amt { margin-left: auto; font-family: var(--mono); font-weight: 600; color: var(--brand); white-space: nowrap; }

.chat-box { display: flex; flex-direction: column; height: 440px; }
.chat-list { flex: 1; overflow-y: auto; padding: 4px 2px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.chat-msg { color: var(--ink-2); line-height: 1.4; }
.chat-msg b { font-weight: 700; margin-right: 6px; color: var(--ink); }
.chat-msg b.staff { color: var(--brand); }
.chat-msg time { color: #5E7590; font-size: 11px; margin-left: 4px; }
.chat-form { display: flex; gap: 8px; margin-top: 10px; }
.chat-form .input { min-height: 42px; }

.wall-frame { width: 100%; height: calc(100vh - 200px); min-height: 640px; border: 0; border-radius: var(--r-lg); background: #fff; display: block; }

.stat { padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.stat .k { font-size: 13px; color: var(--muted); font-weight: 500; }
.stat .v { font-family: var(--mono); font-size: 24px; font-weight: 600; margin-top: 6px; display: flex; align-items: center; gap: 8px; }

.streak { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.streak .d { border-radius: 12px; padding: 12px 4px; text-align: center; background: var(--surface-2); border: 1px solid var(--line-2); }
.streak .d .l { font-size: 12px; color: var(--muted); font-weight: 600; }
.streak .d .r { font-family: var(--mono); font-weight: 600; margin-top: 4px; font-size: 15px; }
.streak .d.done { background: var(--brand-soft); border-color: rgba(255,204,51,.4); color: var(--brand); }
.streak .d.done .l { color: var(--brand); }
.streak .d.next { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); box-shadow: 0 0 24px -6px rgba(255,204,51,.6); }
.streak .d.next .l { color: var(--brand-ink); }

.bar { height: 10px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line-2); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--brand); border-radius: 99px; box-shadow: 0 0 12px rgba(255,204,51,.6); }

.method-pick { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.method-pick label { cursor: pointer; }
.method-pick input { position: absolute; opacity: 0; pointer-events: none; }
.method-pick .opt { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); min-height: 92px; }
.method-pick .opt img { height: 26px; width: auto; object-fit: contain; }
.method-pick .opt b { font-size: 15px; }
.method-pick input:checked + .opt { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand), 0 0 24px -10px rgba(255,204,51,.6); background: var(--surface-2); }
.method-pick input:focus-visible + .opt { outline: 2px solid var(--brand); }
.amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.amounts label { cursor: pointer; }
.amounts input { position: absolute; opacity: 0; pointer-events: none; }
.amounts .opt { display: inline-flex; flex-direction: column; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); }
.amounts .opt b { font-family: var(--mono); font-size: 17px; }
.amounts .opt span { font-size: 12px; color: var(--muted); }
.amounts input:checked + .opt { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
.amounts input:checked + .opt span { color: var(--brand-ink); }
.amounts input:disabled + .opt { opacity: .35; cursor: not-allowed; }

.lb-row { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-top: 1px solid var(--line); }
.lb-row:first-child { border-top: 0; }
.lb-row .rank { width: 32px; font-family: var(--mono); font-weight: 600; color: var(--muted); }
.lb-row.top .rank { color: var(--brand); }
.lb-row .who { font-weight: 600; }
.lb-row .earned { margin-left: auto; font-family: var(--mono); font-weight: 600; }
.lb-row .prize { font-family: var(--mono); font-size: 13px; color: var(--coin); min-width: 90px; text-align: right; }
.lb-row.me { background: var(--brand-soft); }
.podium { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
.podium .p { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 14px; text-align: center; }
.podium .p.first { background: var(--surface-2); border-color: var(--brand); padding-top: 30px; box-shadow: 0 0 40px -18px rgba(255,204,51,.7); }
.podium .p .place { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.podium .p.first .place { color: var(--brand); }
.podium .p .avatar { margin: 10px auto; width: 48px; height: 48px; border-radius: 14px; font-size: 16px; }
.podium .p b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium .p .mono { margin-top: 6px; font-size: 15px; }

.copy-row { display: flex; gap: 8px; flex-wrap: wrap; }
.copy-row .input { flex: 1 1 240px; min-width: 0; font-family: var(--mono); font-size: 14px; }

.notice { display: flex; gap: 14px; padding: 16px 18px; border-top: 1px solid var(--line); color: var(--ink); }
.notice:first-child { border-top: 0; }
.notice:hover { background: rgba(255,255,255,.015); color: var(--ink); }
.notice .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.notice b { display: block; }
.notice time { font-size: 12px; color: var(--muted); white-space: nowrap; margin-left: auto; }

.tabbar { display: none; }

/* ==========================================================================
   Public site (landing, auth, pages)
   ========================================================================== */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(7,21,36,.8); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 24px; height: 70px; }
.topnav { display: flex; gap: 26px; margin-left: 16px; font-weight: 500; font-size: 15px; }
.topnav a { color: var(--ink-2); }
.topnav a:hover { color: var(--ink); }
.topbar .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.hero { padding: 64px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(circle, rgba(255,204,51,.16), transparent 62%); pointer-events: none; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; position: relative; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero-side { flex: 1 1 380px; min-width: 0; }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); line-height: .98; letter-spacing: -0.045em; }
.hero h1 mark { background: none; color: var(--brand); text-shadow: 0 0 40px rgba(255,204,51,.45); }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 540px; margin: 22px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; gap: 6px; align-items: center; }

.phone {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 28px; padding: 18px; max-width: 420px; margin-left: auto;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 80px -40px rgba(255,204,51,.5);
}
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 14px; }
.phone-bal { font-family: var(--mono); font-size: 30px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.phone-offer { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.phone-offer + .phone-offer { margin-top: 8px; }
.phone-offer .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: var(--brand-ink); flex: none; }
.phone-offer .t { font-weight: 600; font-size: 15px; }
.phone-offer .d { font-size: 13px; color: var(--muted); }
.phone-offer .p { margin-left: auto; font-family: var(--mono); font-weight: 600; color: var(--brand); white-space: nowrap; }
.toast-mini { margin-top: 12px; display: flex; gap: 10px; align-items: center; background: var(--brand); color: var(--brand-ink); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 700; }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }

.section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.035em; }
.section-head p { margin-top: 14px; font-size: 18px; color: var(--muted); }
.kicker { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin-bottom: 14px; display: block; }

.steps { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 28px 28px 8px 0; }
.step .n { font-family: var(--mono); color: var(--brand); font-size: 14px; }
.step h3 { font-size: 24px; margin: 14px 0 10px; }

.way { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s ease; }
.way:hover { border-color: var(--line-2); }
.way .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.way h3 { font-size: 20px; }
.way p { color: var(--muted); }

.methods { display: flex; flex-wrap: wrap; gap: 10px; }
.method-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.method-chip img { width: 22px; height: 22px; object-fit: contain; }

details.qa { border-top: 1px solid var(--line); padding: 20px 0; }
details.qa:last-child { border-bottom: 1px solid var(--line); }
details.qa summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; font-family: var(--mono); font-size: 22px; line-height: 1; color: var(--brand); }
details.qa[open] summary::after { content: "–"; }
details.qa p { margin-top: 12px; color: var(--ink-2); max-width: 720px; }

.cta-band { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band::before { content: ""; position: absolute; inset: auto -100px -160px auto; width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,204,51,.22), transparent 65%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); max-width: 560px; }

.footer { padding: 48px 0 40px; border-top: 1px solid var(--line); margin-top: 40px; }
.footer .cols { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; }
.footer nav a { color: var(--ink-2); }
.footer .fine { margin-top: 28px; font-size: 13px; color: var(--muted); max-width: 640px; }

.auth { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 40px 20px 80px; position: relative; }
.auth::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 700px; height: 400px; background: radial-gradient(closest-side, rgba(255,204,51,.12), transparent); pointer-events: none; }
.auth-card { width: 100%; max-width: 440px; position: relative; }
.auth-card h1 { font-size: 32px; letter-spacing: -0.03em; }
.auth-card .sub { color: var(--muted); margin: 8px 0 26px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gbtn { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-2); }
.gbtn:hover { background: var(--surface-3); color: var(--ink); }

.prose { max-width: 760px; }
.prose h1 { font-size: 40px; margin-bottom: 24px; }
.prose h2 { font-size: 24px; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.prose p + p { margin-top: 14px; }

/* ==========================================================================
   Admin
   ========================================================================== */
.admin { display: flex; flex-wrap: wrap; min-height: 100vh; }
.admin-side { flex: 1 1 230px; max-width: 100%; background: var(--bg-2); border-right: 1px solid var(--line); padding: 20px 14px; }
.admin-side .logo { padding: 0 8px 18px; }
.admin-side nav { display: flex; flex-direction: column; gap: 2px; }
.admin-side nav .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #5E7590; padding: 14px 10px 6px; }
.admin-side nav a { color: var(--ink-2); padding: 9px 10px; border-radius: 9px; font-weight: 500; font-size: 14px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.admin-side nav a:hover { background: var(--surface); color: var(--ink); }
.admin-side nav a.on { background: var(--surface-2); color: var(--brand); }
.admin-side nav a .count { background: var(--brand); color: var(--brand-ink); font-size: 11px; font-weight: 700; border-radius: 99px; padding: 1px 7px; }
.admin-main { flex: 999 1 640px; min-width: 0; padding: 26px 28px 60px; }
.admin-main .page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filters .input, .filters .select { width: auto; min-height: 40px; }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; width: max-content; max-width: 100%; overflow-x: auto; }
.tabs a { padding: 8px 14px; border-radius: 9px; color: var(--ink-2); font-weight: 600; font-size: 14px; white-space: nowrap; }
.tabs a.on { background: var(--brand); color: var(--brand-ink); }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; }
.chart .c { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.chart .c i { display: block; width: 100%; background: var(--brand); border-radius: 6px 6px 2px 2px; min-height: 2px; opacity: .9; }
.chart .c span { font-size: 10px; color: var(--muted); font-family: var(--mono); }
.code { font-family: var(--mono); font-size: 13px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 10px 12px; word-break: break-all; color: var(--ink-2); }
.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .side { transform: translateX(-100%); box-shadow: 30px 0 60px -30px rgba(0,0,0,.9); }
  body.side-open .side { transform: none; }
  body.side-open .side-scrim { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(2,8,15,.6); }
  .main { margin-left: 0; }
  .topbar2 .menu-toggle { display: grid; }
  .earn-side { position: static; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(10,28,48,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; color: var(--muted); font-size: 11px; font-weight: 600; border-radius: 10px; }
  .tabbar a.on { color: var(--brand-ink); background: var(--brand); }
}
@media (max-width: 760px) {
  .topnav { display: none; }
  .hero { padding: 36px 0 56px; }
  .section { padding: 64px 0; }
  .cta-band { padding: 32px 24px; }
  .phone { margin: 0 auto; }
  .bal-chip .go { display: none; }
  .search-ish { display: none; }
  .app-main { padding: 18px 16px 110px; }
  .admin-main { padding: 20px 16px 60px; }
  .hide-sm { display: none !important; }
  .lb-row .prize { display: none; }
  .hero-banner { padding: 22px; }
  .offer { width: 150px; }
  .wallc { width: 158px; height: 206px; }
  .modal { padding: 0; }
  .modal-box { border-radius: 0; height: 100%; }
}
@media (max-width: 420px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .topbar .right .btn.ghost { display: none; }
  .ticker-label span.txt { display: none; }
}

/* ==========================================================================
   Landing page v2
   ========================================================================== */
.lp-hero { padding: 56px 0 64px; position: relative; overflow: hidden; }
.lp-hero-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.lp-hero-copy { flex: 1 1 500px; min-width: 0; }
.lp-proof { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-size: 14px; margin-bottom: 22px; }
.lp-proof:hover { color: var(--ink); border-color: var(--brand); }
.lp-hero h1 { font-size: clamp(40px, 5.6vw, 70px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; }
.lp-hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.lp-hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; background: var(--brand); opacity: .35; border-radius: 4px; transform: rotate(-1deg); }
.lp-lead { font-size: 19px; color: var(--ink-2); max-width: 520px; margin: 22px 0 30px; line-height: 1.55; }
.lp-methods { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-methods li { font-size: 13px; font-weight: 600; padding: 6px 12px 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); display: inline-flex; gap: 8px; align-items: center; color: var(--ink-2); }
.lp-methods li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }

.lp-preview { flex: 1 1 380px; min-width: 0; position: relative; height: 420px; max-width: 480px; margin: 0 auto; }
.pv-card { position: absolute; border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.pv-wall { left: 4%; top: 6%; width: 200px; height: 250px; padding: 26px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; overflow: hidden; transform: rotate(-5deg); }
.pv-wall::before { content: ""; position: absolute; inset: 0; background: var(--wc); }
.pv-wall > * { position: relative; }
.pv-wall .badge { position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 7px; background: var(--brand); color: var(--brand-ink); }
.pv-logo { margin-top: 10px; width: 78px; height: 78px; border-radius: 22px; background: rgba(5,15,27,.45); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; font-size: 34px; }
.pv-wall .nm { font-weight: 700; font-size: 18px; margin-top: auto; }
.pv-wall .stars { color: var(--coin); font-size: 13px; letter-spacing: 2px; }
.pv-offer { right: 2%; top: 0; width: 230px; overflow: hidden; transform: rotate(3deg); }
.pv-thumb { height: 150px; display: grid; place-items: center; font-size: 56px; font-weight: 700; color: var(--brand-ink); }
.pv-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; }
.pv-body b { font-size: 15px; }
.pv-body span { font-size: 12px; color: var(--muted); }
.pv-body em { margin-top: 8px; font-style: normal; font-family: var(--mono); font-weight: 600; color: var(--brand); background: var(--brand-soft); border-radius: 9px; padding: 7px; display: flex; gap: 6px; justify-content: center; align-items: center; }
.pv-bal { left: 22%; bottom: 4%; width: 250px; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; transform: rotate(-1.5deg); }
.pv-bal .k { font-size: 12px; color: var(--muted); grid-column: 1 / -1; }
.pv-bal .v { font-family: var(--mono); font-size: 26px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.pv-bal .u { align-self: center; font-size: 13px; font-weight: 700; padding: 4px 8px; border-radius: 7px; background: var(--brand); color: var(--brand-ink); }
.pv-toast { position: absolute; right: 0; bottom: 30%; display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); animation: floaty 4s ease-in-out infinite; }
.pv-toast b { font-family: var(--mono); color: #8A6A00; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

.lp-stats { border-bottom: 1px solid var(--line); }
.lp-stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-stats-row > div { padding: 26px 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.lp-stats-row > div:first-child { border-left: 0; padding-left: 0; }
.lp-stats-row b { font-family: var(--mono); font-size: 28px; font-weight: 600; }
.lp-stats-row span { color: var(--muted); font-size: 14px; }

.lp-sec { padding: 80px 0; }
.lp-h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.035em; margin-bottom: 28px; }

.bento { display: grid; gap: 14px; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); }
.bn { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; position: relative; }
.bn h3 { font-size: 20px; }
.bn p { color: var(--muted); font-size: 15px; }
.bn-walls { grid-column: span 4; grid-row: span 2; }
.bn-streak { grid-column: span 2; }
.bn-ref { grid-column: span 2; }
.bn-lb { grid-column: span 3; }
.bn-missions { grid-column: span 3; }
.bn-rail { display: flex; gap: 12px; margin-top: auto; overflow-x: auto; padding-bottom: 4px; }
.wallc.mini { width: 150px; height: 170px; padding: 18px 12px 16px; flex: none; }
.wallc.mini .lg { height: 70px; }
.wallc.mini .lg b { width: 56px; height: 56px; font-size: 24px; }
.mini-streak { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-top: auto; }
.mini-streak span { border-radius: 9px; padding: 8px 2px; text-align: center; font-family: var(--mono); font-size: 12px; font-weight: 600; background: var(--bg-2); border: 1px solid var(--line-2); display: flex; flex-direction: column; }
.mini-streak span i { font-style: normal; font-size: 10px; color: var(--muted); }
.mini-streak span.done { background: var(--brand-soft); color: var(--brand); border-color: rgba(255,204,51,.35); }
.mini-streak span.next { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.mini-streak span.next i { color: var(--brand-ink); }
.big-num { font-family: var(--mono); font-size: 72px; line-height: 1; font-weight: 600; color: var(--brand); }
.big-num small { font-size: 36px; }
.mini-lb { list-style: none; margin: auto 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mini-lb li { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.mini-lb li:first-child { border-color: var(--brand); }
.mini-lb span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mini-lb b { font-family: var(--mono); font-size: 18px; color: var(--coin); }
.mini-lb em { font-style: normal; font-size: 12px; color: var(--muted); }
.mini-mission { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.mini-mission:first-of-type { margin-top: auto; }
.mini-mission em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); }

.lp-how { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.how h3 { font-size: 20px; margin: 18px 0 8px; }
.how p { color: var(--muted); }
.how-ui { height: 150px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.fake-input { border: 1px solid var(--line-2); border-radius: 9px; padding: 10px 12px; font-size: 14px; color: var(--muted); background: var(--bg-2); }
.fake-btn { border-radius: 9px; padding: 10px 12px; font-size: 14px; font-weight: 700; background: var(--brand); color: var(--brand-ink); text-align: center; }
.fake-offer { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.fake-offer span { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-weight: 700; color: var(--brand-ink); flex: none; }
.fake-offer b { display: block; font-size: 14px; }
.fake-offer i { font-style: normal; font-size: 12px; color: var(--muted); }
.fake-offer em { margin-left: auto; font-style: normal; font-family: var(--mono); color: var(--brand); font-weight: 600; }
.fake-cash { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.fake-cash span { font-size: 13px; color: var(--muted); }
.fake-cash b { font-family: var(--mono); font-size: 24px; grid-row: 2; }
.fake-cash em { grid-row: 1 / 3; grid-column: 2; font-style: normal; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 7px; background: var(--ok-soft); color: var(--ok); }

.lp-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.lp-faq .lp-h2 { margin-bottom: 12px; }
.lp-end { border-radius: 24px; padding: 44px 48px; background: var(--brand); color: var(--brand-ink); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.lp-end h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.035em; }
.lp-end p { margin-top: 6px; font-size: 17px; opacity: .8; }
.lp-end .btn.brand { background: var(--brand-ink); color: var(--brand); }
.lp-end .btn.brand:hover { background: #000; color: var(--brand-2); box-shadow: none; }

/* ---------- Level card (sidebar) ---------- */
.lvl { margin: 0 4px 14px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; color: var(--ink); }
.lvl:hover { color: var(--ink); border-color: var(--line-2); }
.lvl .avatar { grid-row: span 2; }
.lvl b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lvl .tier { font-size: 12px; color: var(--brand); font-weight: 600; }
.lvl .bar { grid-column: 1 / -1; height: 6px; margin-top: 6px; }
.lvl small { grid-column: 1 / -1; font-size: 11px; color: var(--muted); }

/* ---------- Toasts ---------- */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 12px; align-items: center; min-width: 260px; max-width: 340px; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: var(--bg); box-shadow: 0 24px 50px -20px rgba(0,0,0,.9); animation: toastIn .25s ease-out; }
.toast .c { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; flex: none; }
.toast b { display: block; font-family: var(--mono); font-size: 16px; color: #7A5C00; }
.toast span { font-size: 13px; color: #3B4A5C; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 250px; }
.toast.out { opacity: 0; transform: translateY(8px); transition: all .3s ease; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.bump { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.08); color: var(--brand); } }

@media (max-width: 1080px) {
  .toasts { bottom: 86px; left: 12px; right: 12px; align-items: stretch; }
  .toast { max-width: none; }
}
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-walls, .bn-lb, .bn-missions { grid-column: 1 / -1; grid-row: auto; }
  .bn-streak, .bn-ref { grid-column: span 1; }
  .how-row { grid-template-columns: 1fr; }
  .lp-faq { grid-template-columns: 1fr; gap: 16px; }
  .lp-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-stats-row > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .bn-streak, .bn-ref { grid-column: 1 / -1; }
  .lp-preview { height: 380px; transform: scale(.88); transform-origin: top center; margin-bottom: -40px; }
  .pv-offer { width: 200px; }
  .lp-end { padding: 30px 24px; }
}

/* ==========================================================================
   v3 · navy + gold (zxearn-style layout)
   ========================================================================== */
body { font-weight: 400; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; }
.mono { font-family: var(--font); font-variant-numeric: tabular-nums; }
.btn { font-weight: 600; letter-spacing: .01em; }
.btn.brand { box-shadow: 0 6px 20px -8px rgba(255,204,51,.55); }
.logo { font-weight: 800; font-style: italic; letter-spacing: -0.03em; font-size: 22px; }
.logo-mark { border-radius: 9px; transform: rotate(-6deg); box-shadow: none; }
.y { color: var(--brand); }

/* Header (app) */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(7,21,36,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 6px 24px -14px rgba(0,0,0,.8); }
.hdr-in { max-width: 1240px; margin: 0 auto; height: var(--top-h); display: flex; align-items: center; gap: 18px; padding: 0 20px; }
.hdr .menu-toggle { display: none; }
.hnav { display: flex; gap: 2px; margin-left: 10px; }
.hnav a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; color: var(--muted); font-weight: 500; font-size: 15px; position: relative; border-radius: 9px; }
.hnav a:hover { color: var(--ink); }
.hnav a.on { color: var(--ink); }
.hnav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 3px; border-radius: 3px; background: var(--brand); }
.hnav a.on svg { color: var(--brand); }
.hdr .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.avatar-btn { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 12px; }
.mp-head { padding: 10px 12px 8px; display: grid; gap: 4px; }
.mp-head .tier { font-size: 12px; color: var(--brand); font-weight: 600; }
.mp-head .bar { height: 6px; }
.mp-head small { font-size: 11px; color: var(--muted); }
.bal-chip { border-color: var(--line-2); background: var(--bg-2); }

/* sidebar becomes a mobile drawer only */
.side { transform: translateX(-100%); width: 270px; box-shadow: 30px 0 60px -30px rgba(0,0,0,.9); }
body.side-open .side { transform: none; }
body.side-open .side-scrim { display: block; position: fixed; inset: 0; z-index: 45; background: rgba(2,8,15,.6); }
.side-nav a.on::before { display: none; }

.app-main { max-width: 1240px; padding: 22px 20px 60px; }

/* Ticker restyle */
.ticker { height: 58px; background: var(--bg); border-bottom: 1px solid var(--line); }
.ticker-label { background: var(--bg); border-right: 0; padding: 0 10px 0 20px; }
.ticker-label .txt { display: none; }
.ticker-label .live-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--brand); box-shadow: none; animation: none; position: relative; }
.ticker-label .live-dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--ok); }
.ticker::before { left: 56px; background: linear-gradient(90deg, var(--bg), transparent); }
.ticker::after { background: linear-gradient(-90deg, var(--bg), transparent); }
.tick { background: var(--surface); border-color: var(--line); padding: 6px 12px 6px 6px; border-radius: 11px; }
.tick .av { border-radius: 50%; }
.tick .amt { color: var(--brand); display: inline-flex; align-items: center; gap: 4px; }
.tick .amt::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE27A, #E0A800); }
.tick.cash .amt::before { display: none; }

/* Blocks */
.blk { margin-bottom: 34px; }
.blk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.blk-head h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.blk-head h2 > svg { color: var(--ink); }
.viewall { font-size: 14px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; }
.devf { display: flex; gap: 6px; }
.dchip { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 500; cursor: pointer; }
.dchip:hover { color: var(--ink); }
.dchip.on { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

/* Offer cards (Recommended) */
.orail { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: thin; }
.ocard { flex: none; width: 140px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); padding: 6px 6px 8px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); transition: transform .15s ease, border-color .15s ease; }
.ocard:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--ink); }
.ocard.hide { display: none; }
.othumb { aspect-ratio: 1/1; border-radius: 9px; overflow: hidden; position: relative; background: var(--t, var(--surface-2)); display: grid; place-items: center; }
.othumb img { width: 100%; height: 100%; object-fit: cover; }
.othumb b { font-size: 42px; color: var(--brand-ink); }
.odev { position: absolute; left: 5px; top: 5px; display: flex; gap: 3px; }
.odev svg { width: 20px; height: 20px; padding: 4px; border-radius: 6px; background: rgba(5,15,27,.75); color: #fff; }
.otitle { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.opay { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 7px; background: var(--surface-2); font-size: 13px; font-weight: 600; }
.ogrid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.ogrid .ocard { width: auto; }

/* Offerwall tabs + grid */
.wtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.wtab { display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border: 0; background: none; color: var(--muted); font-weight: 500; font-size: 14px; cursor: pointer; position: relative; white-space: nowrap; }
.wtab:hover { color: var(--ink); }
.wtab.on { color: var(--brand); }
.wtab.on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; background: var(--brand); }
.blk-sub { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.blk-sub h3 { font-size: 18px; display: flex; gap: 8px; align-items: center; }
.blk-sub .sq { width: 22px; height: 22px; border-radius: 6px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; }
.blk-sub p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.blk-sub .ctl { display: flex; gap: 6px; }
.round-btn { border-radius: 9px; background: var(--surface); }

.wgrid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 172px; gap: 10px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: thin; }
.wcard {
  position: relative; height: 124px; border-radius: 14px; padding: 12px 14px 10px; display: flex; flex-direction: column; color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ac) 70%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--ac) 22%, var(--surface)) 0%, var(--surface) 55%, var(--bg-2) 100%);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px color-mix(in srgb, var(--ac) 80%, transparent); color: var(--ink); }
.wcard.hide { display: none; }
.wbadge { position: absolute; top: 0; right: 10px; font-size: 9px; font-weight: 800; letter-spacing: .06em; padding: 3px 7px; border-radius: 0 0 6px 6px; background: var(--ac); color: #1B1400; text-transform: uppercase; }
.wlogo { flex: 1; display: grid; place-items: center; }
.wlogo img { max-width: 120px; max-height: 44px; object-fit: contain; }
.wlogo b { font-size: 19px; font-weight: 800; text-align: center; line-height: 1.1; }
.wrate { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.wrate i { display: block; height: 100%; background: var(--ac); border-radius: 4px; }
.wfoot { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; }
.wfoot b { color: var(--ac); font-weight: 700; }
.wfoot em { font-style: normal; color: var(--muted); font-weight: 600; letter-spacing: .06em; }

.perks { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.perk { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.perk:hover { border-color: var(--line-2); color: var(--ink); }
.perk .pi { grid-row: span 2; width: 42px; height: 42px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.perk b { font-size: 15px; }
.perk span:last-child { font-size: 13px; color: var(--muted); }

/* Floating chat */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(255,204,51,.7); }
.chat-panel { position: fixed; right: 20px; bottom: 86px; z-index: 61; width: 340px; max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; padding: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); display: none; }
.chat-panel.open { display: block; }
.chat-panel .chat-box { height: 380px; }

/* Footer */
.ftr { margin-top: 40px; background: var(--bg-2); border-top: 1px solid var(--line); border-radius: 26px 26px 0 0; padding: 40px 0 26px; }
.ftr-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.ftr-brand p { color: var(--ink-2); margin-top: 14px; font-size: 15px; max-width: 320px; line-height: 1.6; }
.ftr h4 { font-size: 15px; margin-bottom: 12px; }
.ftr-cols a { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; padding: 4px 0; }
.ftr-cols a:hover { color: var(--brand); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Public header */
.topbar { background: rgba(7,21,36,.9); border-bottom: 1px solid var(--line); }
.topnav a { display: inline-flex; gap: 6px; align-items: center; }

/* Landing */
.h2-hero { position: relative; padding: 46px 0 56px; background: radial-gradient(900px 420px at 75% 30%, rgba(255,204,51,.08), transparent 60%), linear-gradient(180deg, var(--bg-2), var(--bg)); }
.h2-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.h2-copy { flex: 1 1 460px; min-width: 0; }
.h2-copy h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.12; font-weight: 800; }
.h2-sub { color: var(--ink-2); margin: 16px 0 26px; font-size: 17px; max-width: 470px; }
.h2-form { flex: 0 1 420px; min-width: 0; width: 100%; }
.signup { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 26px; text-align: center; box-shadow: 0 0 0 1px rgba(255,204,51,.25), 0 0 50px -6px rgba(255,204,51,.45); }
.signup h2 { font-size: 22px; }
.signup form { text-align: left; }
.bonus-pill { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; padding: 4px 12px; border-radius: 99px; background: var(--brand); color: var(--brand-ink); font-size: 12px; font-weight: 700; }
.ifield { display: flex; align-items: center; gap: 10px; padding: 0 12px; height: 46px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted); }
.ifield:focus-within { border-color: var(--brand); }
.ifield input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--ink); font-size: 15px; height: 100%; }
.ifield input::placeholder { color: #6C819A; }
.gwhite { background: #fff; color: #1F2937; }
.gwhite:hover { background: #F1F5F9; color: #1F2937; }
.signup .flash { text-align: left; margin: 14px 0 0; }

.cflow { position: relative; height: 270px; max-width: 520px; }
.cf-card { position: absolute; top: 10px; left: 50%; width: 190px; margin-left: -95px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); overflow: hidden; transition: transform .5s ease, opacity .5s ease, filter .5s ease; box-shadow: 0 20px 40px -20px rgba(0,0,0,.9); }
.cf-img { height: 150px; background: var(--t, var(--surface-2)); display: grid; place-items: center; }
.cf-img img { width: 100%; height: 100%; object-fit: cover; }
.cf-img b { font-size: 60px; color: var(--brand-ink); }
.cf-meta { padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; }
.cf-meta b { grid-column: 1 / -1; font-size: 14px; }
.cf-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--ok-soft); color: var(--ok); justify-self: start; }
.cf-pay { font-weight: 700; color: var(--brand); display: inline-flex; gap: 5px; align-items: center; }
.cf-dots { position: absolute; bottom: 0; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; }
.cf-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line-2); transition: width .3s ease; }
.cf-dots i.on { width: 18px; background: var(--brand); }

.h2-title { font-size: clamp(26px, 3vw, 34px); text-align: center; margin-bottom: 26px; font-weight: 800; }
.eyebrow { display: block; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.h2-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; margin-bottom: 30px; }
.sbox { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; }
.sbox svg { grid-row: span 2; color: var(--brand); }
.sbox b { font-size: 28px; font-weight: 800; }
.sbox span { color: var(--muted); font-size: 14px; }

.h2-how { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 50px 20px; }
.steps2 { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.steps2 li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.steps2 li span { width: 26px; height: 26px; border-radius: 7px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; }
.how-art { position: relative; height: 380px; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 30%, #E0A800, #7A5A00 70%); display: grid; place-items: center; }
.ha-phone { width: 220px; height: 400px; margin-top: 60px; border-radius: 34px; background: var(--bg); border: 6px solid #1E293B; padding: 30px 12px; display: flex; flex-direction: column; gap: 14px; }
.ha-notch { width: 70px; height: 16px; border-radius: 99px; background: #1E293B; margin: -20px auto 0; }
.ha-offer { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); }
.ha-img { height: 110px; background: linear-gradient(135deg, #FB923C, #F472B6); display: grid; place-items: center; font-size: 46px; font-weight: 800; color: #fff; }
.ha-row { display: flex; justify-content: space-between; padding: 8px 10px; font-size: 12px; }
.ha-row span { color: var(--brand); font-weight: 700; display: inline-flex; gap: 4px; align-items: center; }
.ha-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ha-pay span { height: 46px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--surface-2); }
.ha-pay span:nth-child(1) { background: #E2136E; }
.ha-pay span:nth-child(2) { background: #1D4ED8; }
.ha-pay span:nth-child(3) { background: #F7931A; color: #1B1400; }
.ha-pay span:nth-child(4) { background: #475569; }
.ha-tag { position: absolute; padding: 9px 14px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 14px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.ha-tag.t1 { left: 8%; top: 22%; }
.ha-tag.t2 { right: 8%; top: 52%; }

.h2-ways { padding: 30px 20px 40px; }
.ways4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.w4 { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 10px 18px; }
.w4 h3 { font-size: 20px; margin: 14px 8px 6px; font-weight: 800; }
.w4 p { color: var(--muted); font-size: 14px; margin: 0 8px; }
.w4-art { height: 170px; border-radius: 12px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px; overflow: hidden; }
.art-game { background: linear-gradient(160deg, #0EA5E9, #1E3A8A); }
.art-survey { background: linear-gradient(160deg, #10B981, #065F46); }
.art-apps { background: linear-gradient(160deg, #8B5CF6, #3B0764); display: grid !important; grid-template-columns: repeat(3, 1fr); place-items: center; }
.art-streak { background: linear-gradient(160deg, #F59E0B, #7C2D12); display: grid !important; grid-template-columns: repeat(7, 1fr); align-content: center; gap: 5px; }
.mini-offer { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 8px; border-radius: 10px; background: rgba(5,15,27,.75); }
.mini-offer.m2 { margin-left: 18px; opacity: .85; }
.mini-offer span { grid-row: span 2; width: 34px; height: 34px; border-radius: 9px; background: #FB923C; display: grid; place-items: center; font-weight: 800; }
.mini-offer b { font-size: 12px; }
.mini-offer em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--brand); display: inline-flex; gap: 4px; align-items: center; }
.art-survey .q { background: rgba(5,15,27,.75); border-radius: 12px; padding: 12px; display: grid; gap: 6px; }
.art-survey .q b { font-size: 13px; }
.art-survey .opt { font-size: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.08); }
.art-survey .opt.on { background: var(--brand); color: var(--brand-ink); font-weight: 700; }
.art-apps span { width: 46px; height: 46px; border-radius: 13px; background: var(--c); display: grid; place-items: center; font-weight: 800; color: #0B1220; box-shadow: 0 6px 14px -6px rgba(0,0,0,.6); }
.art-streak span { aspect-ratio: 1/1.3; border-radius: 8px; background: rgba(5,15,27,.55); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.art-streak span.done { background: rgba(255,255,255,.25); }
.art-streak span.next { background: var(--brand); color: var(--brand-ink); }

.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.bnr { position: relative; overflow: hidden; border-radius: 18px; padding: 26px; min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bnr-a { background: linear-gradient(120deg, #0E7490, #0B3B5A); }
.bnr-b { background: linear-gradient(120deg, #155E75, #0B2F4A); }
.bnr h3 { font-size: 26px; font-weight: 800; }
.bnr p { color: #D3E3F1; margin: 8px 0 16px; max-width: 300px; }
.bnr-art { width: 150px; height: 150px; flex: none; filter: drop-shadow(0 14px 22px rgba(0,0,0,.4)); }

.h2-live { padding: 30px 20px 30px; }
.live2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.live-l { border-radius: 18px; border: 1px solid rgba(255,204,51,.35); background: radial-gradient(circle at 70% 10%, rgba(255,204,51,.18), transparent 60%), var(--surface); padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; }
.live-big { font-size: 52px; font-weight: 800; color: var(--brand); margin-top: 10px; }
.live-methods { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.live-methods span { padding: 8px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; }
.live-r { border-radius: 18px; border: 1px solid var(--line); background: var(--surface); padding: 18px; max-height: 470px; overflow-y: auto; }
.lrow { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line); margin-top: 8px; }
.lav { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; font-size: 12px; flex: none; }
.lrow b { display: block; font-size: 14px; }
.lrow span { font-size: 12px; color: var(--muted); }
.lrow em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--brand); }

.h2-faq { padding: 30px 20px; max-width: 860px; }
.faq2 { display: grid; gap: 10px; }
.qa2 { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.qa2 summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.qa2 summary::-webkit-details-marker { display: none; }
.qa2 summary::after { content: "+"; color: var(--brand); font-size: 20px; line-height: 1; }
.qa2[open] summary::after { content: "–"; }
.qa2 p { margin-top: 10px; color: var(--ink-2); }

.cta2 { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line-2); background: radial-gradient(500px 200px at 50% 100%, rgba(255,204,51,.25), transparent 70%), var(--surface); padding: 56px 24px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.cta2 h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; }
.coin-f { position: absolute; width: 54px; height: 54px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); animation: floaty 5s ease-in-out infinite; }
.coin-f.c1 { left: 6%; top: 18%; }
.coin-f.c2 { right: 8%; top: 40%; width: 64px; height: 64px; animation-delay: 1s; }
.coin-f.c3 { left: 22%; bottom: 10%; width: 38px; height: 38px; animation-delay: 2s; }

/* responsive v3 */
@media (max-width: 1080px) {
  .hnav { display: none; }
  .hdr .menu-toggle { display: grid; }
  .app-main { padding-bottom: 100px; }
  .chat-fab { bottom: 84px; }
  .chat-panel { bottom: 148px; }
}
@media (max-width: 900px) {
  .ways4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h2-how, .banners, .live2 { grid-template-columns: 1fr; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .h2-stats { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ways4 { grid-template-columns: 1fr; }
  .bnr-art { width: 100px; height: 100px; }
  .devf { width: 100%; }
  .wgrid { grid-auto-columns: 150px; }
  .ftr-cols { grid-template-columns: 1fr; }
  .h2-form { flex-basis: 100%; }
}
.wtabs { scrollbar-width: none; }
.wtabs::-webkit-scrollbar { display: none; }

/* ---------- Auth popup ---------- */
.amodal { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(2,8,15,.72); backdrop-filter: blur(6px); }
.amodal.open { display: flex; animation: fadeIn .18s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.am-box { position: relative; width: min(760px, 100%); display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 40px 90px -30px rgba(0,0,0,.95); animation: popIn .22s ease; }
@keyframes popIn { from { transform: translateY(10px) scale(.98); opacity: 0; } }
.am-x { position: absolute; top: 14px; right: 14px; z-index: 2; border-radius: 50%; }
.am-left { padding: 26px 24px 18px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line-2); }
.seg button { border: 0; background: none; color: var(--ink-2); font-weight: 600; font-size: 14px; padding: 9px; border-radius: 99px; cursor: pointer; }
.amodal[data-tab="register"] .seg [data-auth-tab="register"], .amodal[data-tab="login"] .seg [data-auth-tab="login"] { background: var(--brand); color: var(--brand-ink); }
.am-pane { display: none; flex-direction: column; gap: 12px; margin-top: 18px; }
.amodal[data-tab="register"] [data-pane="register"], .amodal[data-tab="login"] [data-pane="login"] { display: flex; }
.am-pane h2 { font-size: 26px; font-weight: 800; text-align: center; margin-bottom: 4px; }
.am-pane .spread a { color: var(--ink-2); font-weight: 600; }
.am-pane .spread a:hover { color: var(--brand); }
.ifield .eye { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 4px; display: grid; }
.ifield .eye:hover { color: var(--ink); }
.am-note { margin-top: 14px; font-size: 11px; color: var(--muted); text-align: center; }
.am-right { position: relative; padding: 34px 26px 26px; background: radial-gradient(260px 200px at 50% 22%, rgba(255,204,51,.18), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--bg-2)); border-left: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.am-gift { width: 116px; height: 116px; filter: drop-shadow(0 16px 24px rgba(0,0,0,.5)); animation: floaty 4s ease-in-out infinite; }
.ribbon { position: relative; padding: 7px 22px; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 13px; clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); }
.am-steps { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 8px; align-self: stretch; }
.am-steps li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.am-steps span { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
.am-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-self: stretch; margin-top: 4px; }
.am-tiles .t { height: 62px; border-radius: 11px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: repeating-linear-gradient(135deg, var(--surface-3) 0 8px, var(--surface-2) 8px 16px); border: 1px solid var(--line-2); font-size: 13px; color: var(--ink); }
.am-tiles .t.gold { background: repeating-linear-gradient(135deg, #C99A12 0 8px, #B8890A 8px 16px); color: #1B1400; border-color: #E0B53A; }
.am-tiles .t.green { background: repeating-linear-gradient(135deg, #17805A 0 8px, #12704E 8px 16px); border-color: #2AA374; }
.am-tiles .t b { font-weight: 700; }
@media (max-width: 720px) {
  .am-box { grid-template-columns: 1fr; max-height: 100%; overflow-y: auto; }
  .am-right { display: none; }
  .amodal { padding: 12px; }
}
.wl-in { display: flex; align-items: center; gap: 10px; }
.wl-in img { max-height: 40px; max-width: 60px; }
.wl-in b { font-size: 17px; }

/* ---------- How it works page ---------- */
.hw { padding-top: 34px; padding-bottom: 20px; }
.hw-hero { max-width: 760px; margin-bottom: 30px; }
.hw-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.1; }
.hw-hero p { color: var(--ink-2); font-size: 17px; margin-top: 14px; }
.hw-steps { display: grid; gap: 12px; margin-bottom: 30px; }
.hw-step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.hw-step .n { width: 48px; height: 48px; border-radius: 13px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: 22px; font-weight: 800; }
.hw-step h2 { font-size: 20px; margin-bottom: 6px; }
.hw-step p { color: var(--ink-2); }
.hw-walls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.hw-walls span { display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }
.hw-walls img { width: 20px; height: 20px; object-fit: contain; }
.hw-walls em { font-style: normal; color: var(--muted); font-weight: 400; font-size: 12px; }
.hw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.hw-card { padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.hw-card svg { color: var(--brand); }
.hw-card h3 { font-size: 17px; margin: 10px 0 6px; }
.hw-card p { color: var(--muted); font-size: 14px; }
.hw-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.hw-list { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); display: grid; gap: 8px; }
.hw-list li::marker { color: var(--brand); }
@media (max-width: 900px) { .hw-grid { grid-template-columns: 1fr 1fr; } .hw-two { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hw-grid { grid-template-columns: 1fr; } .hw-step { grid-template-columns: 1fr; } }

/* ---------- Logo image ---------- */
.logo-img { height: 34px; width: auto; max-width: 180px; object-fit: contain; }
.captcha { min-height: 65px; display: flex; justify-content: center; }

/* ---------- Click feedback & motion ---------- */
.btn, .wcard, .ocard, .hnav a, .tabbar a, .chip, .dchip, .wtab, .perk, .round-btn, .icon-btn, .side-nav a, .lrow { position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.wcard, .ocard { overflow: hidden; }
.btn:active, .dchip:active, .wtab:active, .round-btn:active, .icon-btn:active { transform: scale(.96); }
.wcard:active, .ocard:active { transform: scale(.97); transition-duration: .05s; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: currentColor; opacity: .28; pointer-events: none; animation: ripple .55s ease-out forwards; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }
.wcard.loading::after, .ocard.loading::after { content: ""; position: absolute; inset: 0; background: rgba(5,15,27,.55); }
.wcard.loading::before, .ocard.loading::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: var(--brand); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--brand); box-shadow: 0 0 10px var(--brand); transition: width .25s ease, opacity .3s ease; }
.pbar.go { width: 75%; transition: width 6s cubic-bezier(.1,.7,.2,1); }
.pbar.done { width: 100%; opacity: 0; }
.modal.open .modal-box { animation: popIn .25s ease; }
.modal-box { position: relative; }
.frame-load { position: absolute; inset: 56px 0 0 0; display: grid; place-items: center; background: var(--surface); z-index: 1; transition: opacity .3s ease; }
.frame-load.hidden { opacity: 0; pointer-events: none; }
.frame-load span { width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--line-2); border-top-color: var(--brand); animation: spin .8s linear infinite; }
.app-main, .h2-hero, .hw { animation: pageIn .35s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
.wcard .wlogo img, .ocard .othumb img { transition: transform .3s ease; }
.wcard:hover .wlogo img, .ocard:hover .othumb img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .ripple, .app-main, .h2-hero, .hw { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.am-x { position: absolute !important; }
.chat-fab { position: fixed !important; }

/* ==========================================================================
   v5 · interactions modelled on zx-style flows (own styling)
   ========================================================================== */
.wcard { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.wcard:hover { border-color: var(--ac); box-shadow: 0 0 0 1px var(--ac), 0 0 26px -6px var(--ac), 0 16px 30px -18px var(--ac); }
.ocard:hover { box-shadow: 0 0 0 1px var(--brand), 0 0 22px -8px rgba(255,204,51,.8); }

/* wall popup */
.modal { background: rgba(2,8,15,.78); }
.modal.open .modal-box { animation: grow .32s cubic-bezier(.2,.9,.3,1.15); }
@keyframes grow { from { opacity: 0; transform: scale(.6); } 60% { opacity: 1; } }
.modal-box { border-top: 2px solid var(--brand); }
.modal-head { background: var(--surface-2); }
.mh-logo { width: 26px; height: 26px; border-radius: 7px; background: var(--bg-2); display: grid; place-items: center; overflow: hidden; }
.mh-logo img { width: 100%; height: 100%; object-fit: contain; }
.mh-logo:empty { display: none; }

/* offer details popup */
.omodal { position: fixed; inset: 0; z-index: 105; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(2,8,15,.78); backdrop-filter: blur(5px); }
.omodal.open { display: flex; animation: fadeIn .18s ease; }
.om-box { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.95); animation: grow .3s cubic-bezier(.2,.9,.3,1.15); }
.om-top { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.om-chips { display: flex; gap: 6px; }
.om-chips span { display: inline-flex; gap: 6px; align-items: center; padding: 4px 9px; border-radius: 99px; background: rgba(5,15,27,.75); border: 1px solid rgba(255,255,255,.1); font-size: 12px; font-weight: 600; }
.om-x { border-radius: 50%; background: rgba(5,15,27,.75); }
.om-banner { height: 120px; background-size: cover; background-position: center; position: relative; }
.om-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,35,57,.2), var(--surface)); backdrop-filter: blur(8px); }
.om-body { padding: 0 18px 18px; margin-top: -34px; position: relative; }
.om-head { display: flex; gap: 12px; align-items: flex-end; }
.om-icon { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; flex: none; border: 2px solid var(--surface); display: grid; place-items: center; font-size: 30px; font-weight: 800; color: var(--brand-ink); box-shadow: 0 10px 20px -10px rgba(0,0,0,.8); }
.om-icon img { width: 100%; height: 100%; object-fit: cover; }
.om-head h3 { font-size: 17px; line-height: 1.25; }
.om-sub { display: flex; gap: 6px; margin-top: 4px; color: var(--muted); }
.om-sub svg { width: 16px; height: 16px; padding: 2px; border-radius: 5px; background: var(--surface-2); }
.om-prize { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 12px 0 6px; font-size: 13px; color: var(--muted); }
.om-prize b { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink); font-size: 15px; }
.om-sec h4 { font-size: 14px; margin-bottom: 4px; }
.om-sec p { color: var(--ink-2); font-size: 14px; }
.om-know { margin-top: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.om-know summary { cursor: pointer; font-weight: 600; font-size: 14px; list-style: none; display: flex; justify-content: space-between; }
.om-know summary::after { content: "▾"; color: var(--muted); }
.om-know p { margin-top: 8px; font-size: 13px; color: var(--ink-2); white-space: pre-line; }
.om-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.om-info span { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 9px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 13px; }
.om-info em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.om-start { margin-bottom: 14px; font-weight: 700; }
.om-tabs { display: flex; gap: 4px; align-items: center; margin-bottom: 10px; }
.om-tabs button { border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 13px; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.om-tabs button.on { background: var(--brand-soft); color: var(--brand); }
.om-count { margin-left: auto; font-size: 12px; color: var(--muted); }
.om-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.om-step { display: flex; gap: 8px; align-items: center; padding: 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 13px; }
.om-step i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.om-step span { flex: 1; min-width: 0; }
.om-step b { display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; font-size: 12px; }
.om-steps .none { grid-column: 1 / -1; color: var(--muted); font-size: 13px; padding: 10px 0; }

/* cashout */
.co-banner { position: relative; overflow: hidden; text-align: center; padding: 34px 20px 24px; border-radius: 20px; border: 1px solid var(--line-2); background: radial-gradient(600px 220px at 50% 0%, rgba(45,212,191,.18), transparent 70%), linear-gradient(160deg, #0F3B4A, #0B2338 60%); margin-bottom: 26px; }
.co-banner h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.co-banner p { color: #C9DCEA; margin: 8px auto 20px; max-width: 520px; }
.co-bal { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.co-bal > div { min-width: 170px; padding: 12px 16px; border-radius: 14px; background: rgba(5,15,27,.55); border: 1px solid rgba(255,255,255,.08); display: grid; gap: 2px; text-align: left; }
.co-bal span { font-size: 12px; color: var(--muted); }
.co-bal b { font-size: 20px; display: inline-flex; gap: 6px; align-items: center; }
.co-bal em { font-style: normal; font-size: 12px; color: var(--ink-2); }
.co-coins i { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE27A, #E0A800); box-shadow: inset 0 0 0 5px rgba(160,110,0,.35), 0 10px 20px -8px rgba(0,0,0,.6); animation: floaty 5s ease-in-out infinite; }
.co-coins i:nth-child(1) { left: 5%; top: 18%; }
.co-coins i:nth-child(2) { right: 6%; top: 12%; width: 56px; height: 56px; animation-delay: 1.2s; }
.co-coins i:nth-child(3) { right: 16%; bottom: 10%; width: 30px; height: 30px; animation-delay: 2.4s; }
.co-h { font-size: 20px; margin: 6px 0 12px; }
.co-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 22px; }
.co-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; text-align: left; padding: 0; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.co-tile:hover { transform: translateY(-3px); border-color: var(--mc); box-shadow: 0 0 0 1px var(--mc), 0 16px 30px -16px var(--mc); }
.co-rib { position: absolute; top: 0; right: 10px; z-index: 1; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 0 0 6px 6px; background: var(--brand); color: var(--brand-ink); }
.co-art { height: 96px; display: grid; place-items: center; background: linear-gradient(150deg, var(--mc), color-mix(in srgb, var(--mc) 45%, #050F1B)); }
.co-art img { max-height: 54px; max-width: 70%; object-fit: contain; }
.co-art b { font-size: 20px; font-weight: 800; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
.co-name { padding: 10px 12px 0; font-weight: 700; }
.co-min { padding: 0 12px 12px; font-size: 12px; color: var(--muted); }
.comodal { position: fixed; inset: 0; z-index: 105; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(2,8,15,.78); backdrop-filter: blur(5px); }
.comodal.open { display: flex; animation: fadeIn .18s ease; }
.co-box { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); border-top: 2px solid var(--brand); animation: grow .3s cubic-bezier(.2,.9,.3,1.15); }
.co-box h2 { font-size: 22px; padding-right: 40px; }
.co-x { position: absolute !important; top: 14px; right: 14px; border-radius: 50%; }
.co-sub { font-size: 14px; margin: 18px 0 8px; }

/* support widget */
.sup-fab { position: fixed !important; right: 20px; bottom: 20px; z-index: 62; width: 54px; height: 54px; border-radius: 16px; border: 0; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(255,204,51,.7); transition: transform .15s ease; }
.sup-fab:hover { transform: translateY(-2px); }
.chat-fab { bottom: 86px; border-radius: 16px; }
.chat-panel { bottom: 152px; }
.sup-panel { position: fixed; right: 20px; bottom: 86px; z-index: 63; width: 360px; max-width: calc(100vw - 24px); height: min(560px, calc(100vh - 120px)); display: none; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px rgba(0,0,0,.95); transform-origin: bottom right; }
.sup-panel.open { display: flex; animation: supIn .22s cubic-bezier(.2,.9,.3,1.1); }
@keyframes supIn { from { opacity: 0; transform: translateY(14px) scale(.94); } }
.sup-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 0 12px; }
.sup-tabs { display: flex; gap: 4px; }
.sup-tabs button { display: inline-flex; gap: 6px; align-items: center; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 13px; padding: 7px 10px; border-radius: 99px; cursor: pointer; }
.sup-panel[data-tab="live"] [data-sup-tab="live"], .sup-panel[data-tab="help"] [data-sup-tab="help"] { background: var(--brand); color: var(--brand-ink); }
.sup-hero { padding: 14px 16px 12px; display: grid; justify-items: center; gap: 4px; text-align: center; border-bottom: 1px solid var(--line); background: radial-gradient(220px 90px at 50% 0, rgba(255,204,51,.14), transparent 70%); }
.sup-av img { width: 40px; height: 40px; border-radius: 12px; }
.sup-pane { display: none; flex: 1; min-height: 0; flex-direction: column; }
.sup-panel[data-tab="live"] [data-sup-pane="live"], .sup-panel[data-tab="help"] [data-sup-pane="help"] { display: flex; }
.sup-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sup-m { max-width: 85%; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); font-size: 14px; }
.sup-m b { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.sup-m.me { align-self: flex-end; background: var(--brand); color: var(--brand-ink); border-bottom-right-radius: 4px; }
.sup-m.me b { color: #6B5200; }
.sup-m.bot, .sup-m.them { border-bottom-left-radius: 4px; }
.sup-m p { white-space: pre-line; }
.sup-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); align-items: flex-end; }
.sup-form textarea { flex: 1; resize: none; max-height: 110px; min-height: 40px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); font: inherit; font-size: 14px; outline: none; }
.sup-form textarea:focus { border-color: var(--brand); }
.sup-guest { padding: 24px 20px; text-align: center; }
.sup-guest p { color: var(--ink-2); margin-bottom: 12px; }
.sup-faqs { flex: 1; overflow-y: auto; padding: 0 14px 14px; display: grid; gap: 8px; align-content: start; }
.sup-faq { border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); padding: 11px 12px; }
.sup-faq summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.sup-faq p { margin-top: 8px; font-size: 13px; color: var(--ink-2); }

/* random username button */
.ifield .dice { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 4px; display: grid; }
.ifield .dice:hover { color: var(--brand); }
.ifield .dice.spin svg { animation: spin .45s ease; }

@media (max-width: 1080px) {
  .sup-fab { bottom: 84px; }
  .chat-fab { bottom: 148px; }
  .chat-panel { bottom: 212px; }
  .sup-panel { bottom: 148px; }
}
@media (max-width: 520px) {
  .om-steps { grid-template-columns: 1fr; }
  .sup-panel { right: 12px; }
}

/* ===== v6: cashout like a shop, custom amounts, user cards ===== */
.co-banner.zx { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; text-align: left; padding: 24px 26px; background: radial-gradient(500px 200px at 0% 0%, rgba(255,204,51,.12), transparent 70%), linear-gradient(160deg, #10263F, #0A1B2E 70%); }
.co-banner.zx .co-coins { display: none; }
.co-bn-l { display: flex; gap: 16px; align-items: flex-start; position: relative; z-index: 1; }
.co-bn-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 24px -10px var(--brand); }
.co-banner.zx h1 { font-size: clamp(21px, 2.6vw, 27px); }
.co-banner.zx p { margin: 4px 0 12px; max-width: 520px; }
.co-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.co-chips span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: var(--ink-2); }
.co-chips span.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.co-chips a { color: inherit; }
.co-avail { position: relative; z-index: 1; min-width: 190px; padding: 14px 18px; border-radius: 14px; background: rgba(5,15,27,.6); border: 1px solid rgba(255,204,51,.25); display: grid; gap: 2px; }
.co-avail span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.co-avail b { font-size: 26px; font-weight: 800; color: var(--brand); }
.co-avail em { font-style: normal; font-size: 12px; color: var(--ink-2); display: inline-flex; gap: 5px; align-items: center; }
.co-tabs { display: flex; gap: 6px; margin: 0 0 14px; overflow-x: auto; scrollbar-width: none; }
.co-tabs button { flex: none; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.co-tabs button:hover { color: var(--ink); }
.co-tabs button.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.co-tile[hidden] { display: none; }
.co-rib { text-transform: uppercase; letter-spacing: .04em; }
.co-rib.inst { background: var(--ok); color: #04261A; }

.co-box.zx { width: min(440px, 100%); padding: 20px; }
.co-hd { display: flex; gap: 12px; align-items: flex-start; padding-right: 36px; margin-bottom: 14px; }
.co-hd-ic { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; overflow: hidden; }
.co-hd-ic img { max-width: 78%; max-height: 78%; object-fit: contain; }
.co-box.zx h2 { font-size: 17px; padding: 0; margin-bottom: 3px; }
.co-hd p { line-height: 1.45; }
.co-hd p b { color: var(--ink); }
.co-cap { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 6px 0 10px; }
.co-lbl { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.co-lbl b { color: var(--ink); }
.co-amt { display: flex; align-items: center; gap: 8px; padding: 0 6px 0 12px; height: 48px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); transition: border-color .15s, box-shadow .15s; }
.co-amt:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,204,51,.15); }
.co-amt input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 17px; font-weight: 700; -moz-appearance: textfield; }
.co-amt input::-webkit-outer-spin-button, .co-amt input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.co-amt input[readonly] { color: var(--ink-2); }
.co-max { height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--brand); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.co-max:hover { background: var(--brand); color: var(--brand-ink); }
.co-av { margin: 6px 0 8px; }
.co-pre { display: flex; flex-wrap: wrap; gap: 6px; }
.co-pre button { padding: 6px 11px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.co-pre button:hover:not(:disabled), .co-pre button.on { border-color: var(--brand); color: var(--brand); }
.co-pre button:disabled { opacity: .4; cursor: not-allowed; }
.co-sum { margin: 16px 0 12px; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.co-big { text-align: right; font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.co-sum dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 12px; margin: 0; font-size: 12.5px; }
.co-sum dt { color: var(--muted); }
.co-sum dd { margin: 0; text-align: right; font-weight: 700; }
.co-msg { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: #FFD66B; background: rgba(255,204,51,.08); border: 1px solid rgba(255,204,51,.2); }
.co-msg.bad { color: #FF9C8C; background: rgba(255,107,87,.08); border-color: rgba(255,107,87,.25); }
[data-co-submit]:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ticker items are buttons now */
button.tick { font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
button.tick:hover:not(:disabled) { border-color: var(--brand); background: var(--surface-2); }
button.tick:disabled { cursor: default; opacity: 1; }
.tick .av { overflow: hidden; }
.tick .av img { width: 100%; height: 100%; object-fit: cover; }
.tick .tx { display: grid; gap: 2px; }

.ucard { position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(2,8,15,.78); backdrop-filter: blur(5px); }
.ucard.open { display: flex; animation: fadeIn .18s ease; }
.uc-box { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); animation: grow .28s cubic-bezier(.2,.9,.3,1.15); }
.uc-x { position: absolute !important; top: 12px; right: 12px; border-radius: 50%; }
.uc-load { display: grid; place-items: center; height: 220px; }
.uc-load .spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--brand); animation: spin .7s linear infinite; }
.uc-top { display: flex; gap: 14px; align-items: center; padding-right: 36px; }
.uc-av { flex: none; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font-size: 20px; font-weight: 800; color: var(--brand-ink); background: var(--brand); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px rgba(255,204,51,.45); }
.uc-av img { width: 100%; height: 100%; object-fit: cover; }
.uc-who { display: grid; gap: 4px; min-width: 0; flex: 1; }
.uc-who > b { font-size: 18px; }
.uc-lv { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.uc-lv i { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 7px; margin-right: 4px; border-radius: 6px; background: rgba(255,204,51,.15); color: var(--brand); }
.uc-bar { height: 6px; border-radius: 6px; background: var(--bg); overflow: hidden; }
.uc-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #E0A800, var(--brand)); }
.uc-h { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.uc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.uc-stats div { padding: 10px 12px; border-radius: 11px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 2px; }
.uc-stats span { font-size: 11.5px; color: var(--muted); }
.uc-stats b { font-size: 17px; }
.uc-stats b.y, .uc-t td.y { color: var(--brand); }
.uc-tabs { display: flex; gap: 4px; margin: 16px 0 8px; padding: 4px; border-radius: 11px; background: var(--bg); }
.uc-tabs button { flex: 1; padding: 7px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.uc-tabs button.on { background: var(--surface-2); color: var(--ink); }
.uc-t { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.uc-t th { text-align: left; font-size: 11px; color: var(--muted); font-weight: 600; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.uc-t td { padding: 8px 4px; border-bottom: 1px solid var(--line); max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-t tr:last-child td { border-bottom: 0; }
.uc-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 22px 0; }
.uc-priv { text-align: center; padding: 40px 10px; }

.uid-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 6px 4px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2); }
.uid-chip b { font-family: var(--mono); color: var(--brand); }
.uid-chip button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 2px; display: grid; }
.uid-chip button:hover { color: var(--ink); }
@media (max-width: 560px) { .co-avail { width: 100%; } .co-banner.zx { padding: 20px; } }

/* ===== v7: live bar sits inside the page width, no marquee ===== */
.ticker { height: auto; background: transparent; border-bottom: 0; overflow: visible; display: block; }
.ticker::before, .ticker::after { display: none; }
.ticker-in { max-width: 1240px; margin: 0 auto; padding: 12px 20px 0; display: flex; align-items: center; gap: 10px; }
.ticker-in .ticker-label { height: auto; padding: 0; background: none; border: 0; }
.ticker-track { animation: none !important; width: auto; flex: 1; min-width: 0; display: flex; gap: 8px; padding: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.tick { flex: none; }
.tick.new { animation: tickIn .6s cubic-bezier(.2,.9,.3,1.2) both; }
.tick.new .av { box-shadow: 0 0 0 2px var(--brand); }
@keyframes tickIn { from { opacity: 0; transform: translateX(-30px) scale(.9); max-width: 0; } to { opacity: 1; transform: none; max-width: 320px; } }
.tick-empty { padding: 10px 4px; }
@media (max-width: 1080px) { .ticker-in { padding: 10px 14px 0; } }

/* ===== v7b: artwork ===== */
.w4-art.pic { position: relative; padding: 0; display: block; background: none; }
.w4-art.pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.w4:hover .w4-art.pic img { transform: scale(1.05); }
.w4-chip { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(5,15,27,.75); color: #fff; backdrop-filter: blur(4px); }
.ha-img { padding: 0; overflow: hidden; }
.ha-img img { width: 100%; height: 100%; object-fit: cover; }
.co-art { background-size: cover; background-position: center; }
.h2-pay { margin-top: 10px; }
.pay-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pay-card { position: relative; overflow: hidden; height: 104px; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; background-color: var(--mc); background-size: cover; background-position: center; border: 1px solid rgba(255,255,255,.08); transition: transform .2s ease, box-shadow .2s ease; }
.pay-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 30%, rgba(0,0,0,.35)); }
.pay-card:hover { transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 16px 30px -16px var(--mc); }
.pay-card > * { position: relative; }
.pay-card img { position: absolute; top: 12px; left: 14px; max-height: 30px; max-width: 60%; object-fit: contain; }
.pay-card b { font-size: 16px; color: #fff; }
.pay-card span { font-size: 12px; color: rgba(255,255,255,.8); }

/* ===== v8: ban screen, merged widget, live bits ===== */
.ban-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(600px 300px at 50% 0%, rgba(255,107,87,.16), transparent 70%), var(--bg); }
.ban-card { width: min(480px, 100%); text-align: center; padding: 34px 28px 28px; border-radius: 22px; background: var(--surface); border: 1px solid rgba(255,107,87,.35); box-shadow: 0 30px 80px -30px rgba(255,107,87,.35); animation: grow .35s cubic-bezier(.2,.9,.3,1.15); }
.ban-ic { width: 86px; height: 86px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; color: #FF6B57; background: rgba(255,107,87,.12); box-shadow: 0 0 0 8px rgba(255,107,87,.06); }
.ban-card h1 { font-size: 24px; margin-bottom: 6px; }
.ban-reason { margin: 18px 0 14px; padding: 14px; border-radius: 12px; text-align: left; background: rgba(255,107,87,.08); border: 1px solid rgba(255,107,87,.25); display: grid; gap: 4px; }
.ban-reason span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #FF9C8C; font-weight: 700; }
.ban-facts { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; text-align: left; }
.ban-facts li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--bg); font-size: 13px; }
.ban-facts span { color: var(--muted); }
.ban-facts b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ban-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ban-actions form { margin: 0; }

.sup-tabs button { white-space: nowrap; }
.sup-pane .chat-box { margin: 0; padding: 10px 12px 12px; display: flex; flex-direction: column; height: 100%; }
.sup-pane .chat-list { flex: 1; min-height: 220px; max-height: 340px; overflow-y: auto; }
.sup-pane .chat-form { display: flex; gap: 8px; margin-top: 8px; }
.sup-pane .chat-form .input { flex: 1; }
.sup-online { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); padding: 8px 14px 0; }
.icon-btn .dot.pop { animation: dotPop .5s cubic-bezier(.2,.9,.3,1.6); }
@keyframes dotPop { 0% { transform: scale(0); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }
.toast.note .c { background: #7FD1FF; }
.toast.note b { font-size: 14px; }
.toast a { color: inherit; }
.sup-panel[data-tab="chat"] [data-sup-tab="chat"] { background: var(--brand); color: var(--brand-ink); }
.sup-panel[data-tab="chat"] [data-sup-pane="chat"] { display: flex; }
.sup-panel[data-tab="chat"] .sup-hero { display: none; }
.sup-tabs { gap: 4px; }
.sup-tabs button { padding-left: 10px; padding-right: 10px; }

/* ===== v9: separate live chat button next to support ===== */
.sup-fab.chat2 { right: 84px; }
.sup-fab.chat2 .fab-dot { position: absolute; top: 9px; right: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--brand); }
.chat-title { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 6px 4px; }
.sup-panel[data-mode="chat"] .chat-title { display: inline-flex; }
.sup-panel[data-mode="chat"] [data-sup-tab] { display: none; }
.sup-panel[data-mode="chat"] .sup-hero { display: none; }
.sup-panel[data-mode="support"] [data-sup-pane="chat"] { display: none !important; }
@media (max-width: 1080px) { .sup-fab.chat2 { right: 84px; } }
.sup-pane[data-sup-pane="chat"] .chat-box { flex: 1; min-height: 0; }
.sup-pane[data-sup-pane="chat"] .chat-list { max-height: none; min-height: 0; }

/* ===== v10: rewards page — spin wheel, VIP, boost ===== */
.rw-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-bottom: 20px; align-items: start; }
@media (max-width: 860px) { .rw-top { grid-template-columns: 1fr; } }
.spin-card { text-align: center; }
.spin-card .spread { text-align: left; }
.wheel-wrap { position: relative; width: min(300px, 80vw); aspect-ratio: 1; margin: 20px auto 14px; }
.wheel-wrap::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: radial-gradient(circle, rgba(255,204,51,.25), transparent 70%); }
.wheel { position: absolute; inset: 0; border-radius: 50%; border: 6px solid #0A1B2E; box-shadow: 0 0 0 4px var(--brand), 0 20px 50px -20px rgba(255,204,51,.6), inset 0 0 30px rgba(0,0,0,.35); overflow: hidden; }
.wheel.wobble { animation: wob .5s ease-in-out infinite alternate; }
@keyframes wob { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.wl-lab { position: absolute; left: 50%; top: 0; width: 64px; margin-left: -32px; height: 50%; transform-origin: 50% 100%; text-align: center; padding-top: 16px; pointer-events: none; }
.wl-lab b { display: inline-block; font-size: 15px; font-weight: 800; color: #3A2A00; }
.wl-lab.dk b { color: #FFE9A8; }
.wheel-hub { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center; background: #0A1B2E; border: 4px solid var(--brand); box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.wheel-hub svg { width: 26px; height: 26px; }
.wheel-pin { position: absolute; left: 50%; top: -14px; z-index: 2; width: 0; height: 0; margin-left: -14px; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 26px solid #fff; filter: drop-shadow(0 3px 4px rgba(0,0,0,.5)); }
.spin-msg { min-height: 22px; font-size: 14px; color: var(--ink-2); margin: 0 0 12px; }
.spin-msg .y { color: var(--brand); }
.spin-card.won { animation: wonGlow 1.2s ease 2; }
@keyframes wonGlow { 50% { box-shadow: 0 0 0 2px var(--brand), 0 0 40px rgba(255,204,51,.45); } }
.vip-big { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.vip-big b { font-size: 38px; font-weight: 800; color: var(--brand); line-height: 1; }
.vip-big span { color: var(--muted); font-size: 13px; }
.vip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.vip-list span { font-size: 12px; padding: 5px 9px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }
.vip-list span b { color: var(--ink); }
.vip-list span.on { border-color: var(--brand); color: var(--brand); }
.vip-list span.on b { color: var(--brand); }
.boost-card { border-color: rgba(255,204,51,.45); background: linear-gradient(135deg, rgba(255,204,51,.14), transparent 60%), var(--surface); }
.boost-bar { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; margin-bottom: 18px; border-radius: 12px; font-size: 14px; font-weight: 600; background: linear-gradient(90deg, rgba(255,204,51,.18), rgba(255,204,51,.06)); border: 1px solid rgba(255,204,51,.35); }
.boost-bar b { color: var(--brand); }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; }
.badge { display: grid; gap: 3px; justify-items: start; padding: 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); opacity: .55; filter: grayscale(1); }
.badge.on { opacity: 1; filter: none; border-color: rgba(255,204,51,.4); background: linear-gradient(160deg, rgba(255,204,51,.1), transparent 60%), var(--bg); }
.badge .bi { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 4px; background: var(--surface-2); color: var(--muted); }
.badge.on .bi { background: var(--brand); color: var(--brand-ink); }
.badge b { font-size: 13.5px; }
.badge > span:last-child { font-size: 11.5px; color: var(--muted); }
.uc-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.uc-badges span { font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(255,204,51,.12); color: var(--brand); border: 1px solid rgba(255,204,51,.3); }
.risk-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; font-size: 11.5px; color: var(--ink-2); }
.risk-list li::before { content: "• "; color: var(--warn, #FFB020); }

/* ===== v11: admin dashboard charts ===== */
.dchart .k { font-size: 12.5px; color: var(--muted); }
.dchart .v { font-size: 24px; font-weight: 800; margin: 2px 0 12px; }
.dchart .bars { height: 90px; display: flex; align-items: flex-end; gap: 2px; }
.dchart .bars i { flex: 1; min-width: 2px; border-radius: 3px 3px 0 0; background: var(--cc); opacity: .85; transition: opacity .15s; }
.dchart .bars i:hover { opacity: 1; box-shadow: 0 0 0 1px var(--cc); }
.dchart .ax { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; }
.wrow { margin-top: 12px; display: grid; gap: 5px; }
@media (max-width: 900px) { .dash-charts { grid-template-columns: 1fr !important; } }
.lang-sw a { color: var(--muted); }
.lang-sw a.on { color: var(--brand); font-weight: 700; }
[hidden] { display: none !important; }

/* ===== v12: leaderboard race ===== */
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.lb-tabs { display: flex; gap: 6px; }
.lb-tabs a { padding: 9px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 14px; transition: background .15s, color .15s; }
.lb-tabs a:hover { color: var(--ink); }
.lb-tabs a.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.lb-info { position: relative; }
.lb-info-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--ink-2); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; padding: 8px; }
.lb-info-btn:hover { color: var(--ink); }
.lb-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: min(300px, 80vw); padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -16px rgba(0,0,0,.8); font-size: 12.5px; color: var(--ink-2); display: grid; gap: 8px; animation: grow .2s ease; }
.lb-pop p { margin: 0; }

.race { position: relative; display: grid; place-items: center; padding: 26px 0 30px; margin-bottom: 18px; min-height: 250px; }
.race-mid { position: relative; z-index: 1; text-align: center; padding: 14px 40px 4px; width: min(560px, 100%); background: radial-gradient(ellipse at 50% 30%, rgba(255,204,51,.14), transparent 65%); }
.race-pool { display: block; font-size: clamp(40px, 7vw, 66px); font-weight: 800; line-height: 1; color: var(--brand); text-shadow: 0 0 40px rgba(255,204,51,.45); }
.race-title { font-size: clamp(26px, 4.6vw, 46px); font-weight: 800; letter-spacing: .02em; margin: 10px 0 22px; }
.race-clock { display: flex; justify-content: center; gap: 22px; }
.rc { display: grid; gap: 6px; justify-items: center; }
.rc .dg { display: flex; gap: 4px; }
.rc i { font-style: normal; width: 34px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: var(--bg); border: 1px solid var(--line-2); border-top: 2px solid rgba(255,204,51,.55); font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rc i.tick { animation: rcTick .35s ease; }
@keyframes rcTick { 0% { transform: translateY(-4px); opacity: .3; } 100% { transform: none; opacity: 1; } }
.rc span { font-size: 12px; color: var(--muted); font-weight: 600; }
.race-fly { position: absolute; top: 50%; width: 28%; height: 220px; transform: translateY(-50%); pointer-events: none; }
.race-fly.l { left: 0; } .race-fly.r { right: 0; }
.race-fly span { position: absolute; width: 74px; height: 74px; border-radius: 16px; overflow: hidden; border: 3px solid #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.7); animation: flyBob 4s ease-in-out infinite; }
.race-fly span img { width: 100%; height: 100%; object-fit: cover; display: block; }
.race-fly span::after { content: ""; position: absolute; }
.race-fly span::before { content: ""; position: absolute; z-index: -1; top: 30%; width: 120px; height: 46%; border-radius: 40px; }
.race-fly.l .t1 { left: 22%; top: 8%; transform: rotate(-14deg); }
.race-fly.l .t2 { left: 6%; top: 58%; width: 60px; height: 60px; transform: rotate(-8deg); animation-delay: 1.2s; }
.race-fly.r .t1 { right: 18%; top: 12%; transform: rotate(12deg); animation-delay: .6s; }
.race-fly.r .t2 { right: 6%; top: 60%; width: 60px; height: 60px; transform: rotate(10deg); animation-delay: 1.8s; }
.race-fly .trail { display: none; }
.race-fly.l span { box-shadow: 40px 10px 0 -14px color-mix(in srgb, var(--c) 70%, transparent), 70px 14px 0 -22px color-mix(in srgb, var(--c) 40%, transparent), 0 14px 30px -10px rgba(0,0,0,.7); }
.race-fly.r span { box-shadow: -40px 10px 0 -14px color-mix(in srgb, var(--c) 70%, transparent), -70px 14px 0 -22px color-mix(in srgb, var(--c) 40%, transparent), 0 14px 30px -10px rgba(0,0,0,.7); }
@keyframes flyBob { 50% { translate: 0 -8px; } }
@media (max-width: 760px) { .race-fly { display: none; } .race-clock { gap: 10px; } .rc i { width: 28px; height: 34px; font-size: 17px; } }

.lb-podium { display: flex; justify-content: center; align-items: flex-end; gap: 26px; margin: 0 auto 30px; }
.pd { position: relative; width: 150px; padding: 26px 12px 12px; border-radius: 14px; text-align: center; background: var(--surface); border: 1px solid rgba(255,204,51,.28); display: grid; justify-items: center; gap: 4px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.pd:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(255,204,51,.45); }
.pd.p1 { padding-top: 32px; border-color: rgba(255,204,51,.55); background: linear-gradient(180deg, rgba(255,204,51,.07), transparent 60%), var(--surface); }
.pd-av { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; overflow: hidden; font-size: 13px; font-weight: 800; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink); }
.pd.p1 .pd-av { width: 36px; height: 36px; top: -20px; background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.pd-av img { width: 100%; height: 100%; object-fit: cover; }
.pd-name { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-earn { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--brand); }
.pd-earn i { width: 7px; height: 7px; border: 1.5px solid var(--brand); transform: rotate(45deg); }
.pd .medal { margin: 10px 0 8px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.45)); }
.pd.p1 .medal { animation: medalGlow 2.6s ease-in-out infinite; }
@keyframes medalGlow { 50% { filter: drop-shadow(0 0 16px rgba(255,204,51,.55)); } }
.pd-prize { width: 100%; padding: 9px; border-radius: 9px; font-weight: 800; font-size: 15px; background: var(--surface-2); color: var(--ink); }
.pd.p1 .pd-prize { background: rgba(255,204,51,.14); color: var(--brand); }
.pd.p3 .pd-prize { color: #F6B48A; }
@media (max-width: 560px) { .lb-podium { gap: 8px; } .pd { width: 31%; padding-left: 6px; padding-right: 6px; } .pd .medal { width: 64px; height: 48px; } }

.lb-table { display: grid; gap: 6px; }
.lb-head, .lb-r { display: grid; grid-template-columns: 90px minmax(0, 2.4fr) minmax(0, 1fr) 110px; align-items: center; gap: 10px; padding: 0 12px; }
.lb-head { font-size: 12px; color: var(--muted); font-weight: 600; padding-bottom: 6px; }
.lb-head span:last-child, .lb-r .pr { text-align: right; }
.lb-r { height: 46px; border-radius: 8px; background: var(--surface); font-size: 14px; cursor: pointer; transition: background .15s; }
.lb-r:hover { background: var(--surface-2); }
.lb-r.me { box-shadow: inset 0 0 0 1px var(--brand); }
.lb-r .pl { color: var(--ink-2); font-weight: 700; }
.lb-r .us { display: flex; align-items: center; gap: 10px; font-weight: 700; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lb-r .us i { flex: none; font-style: normal; width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; background: var(--surface-2); border: 1px solid var(--line-2); }
.lb-r .us em { font-style: normal; font-size: 11px; color: var(--brand); border: 1px solid rgba(255,204,51,.4); border-radius: 999px; padding: 1px 7px; }
.lb-r .er, .lb-r .pr { font-weight: 700; }
.lb-r b { color: var(--brand); margin-right: 1px; }
.lb-mine { margin-top: 12px; cursor: default; }
@media (max-width: 640px) { .lb-head, .lb-r { grid-template-columns: 44px minmax(0, 1fr) 72px 64px; font-size: 13px; } }

/* ===== v13: admin powers ===== */
.rcodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 12px; }
.rcodes code { padding: 8px; border-radius: 8px; background: var(--bg); border: 1px dashed var(--line-2); text-align: center; font-family: var(--mono); }
.qrbox { width: 206px; height: 206px; padding: 8px; border-radius: 12px; background: #fff; }
.qrbox img, .qrbox canvas { display: block; }
.ufilters { flex-wrap: wrap; gap: 8px; }
.ufilters .mini { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.ufilters .mini .input { width: 140px; }
.bulkbar { position: sticky; top: 8px; z-index: 5; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 10px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--brand); box-shadow: 0 14px 30px -18px rgba(0,0,0,.8); }
.select.sm { height: 32px; padding: 0 8px; font-size: 13px; }
.dchart .bars.dual { height: 120px; gap: 3px; }
.dchart .bars.dual .pair { flex: 1; display: flex; align-items: flex-end; gap: 1px; height: 100%; }
.dchart .bars.dual .pair i { flex: 1; background: var(--ok); border-radius: 2px 2px 0 0; }
.dchart .bars.dual .pair i.c { background: #FF9C8C; }
.topbanner { position: relative; z-index: 70; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 44px; font-size: 14px; font-weight: 700; text-align: center; }
.topbanner a, .topbanner span { color: inherit; }
.topbanner a:hover { text-decoration: underline; }
.tb-in { display: inline-flex; align-items: center; gap: 8px; }
.tb-gold { background: linear-gradient(90deg, #E0A800, #FFCC33, #E0A800); color: #1A1400; }
.tb-blue { background: linear-gradient(90deg, #1D4ED8, #3B82F6); color: #fff; }
.tb-green { background: linear-gradient(90deg, #059669, #10B981); color: #fff; }
.tb-red { background: linear-gradient(90deg, #B91C1C, #EF4444); color: #fff; }
.tb-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.15); color: inherit; display: grid; place-items: center; cursor: pointer; }
.tb-x:hover { background: rgba(0,0,0,.28); }
.bc-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.bc-row:last-child { border-bottom: 0; }
.bulkbar .select, .bulkbar .input { width: auto; flex: 0 1 auto; }
.bulkbar .select { min-width: 150px; }
.bulkbar .input[name=reason] { flex: 1 1 220px; }
.ufilters .select, .ufilters .input { width: auto; }
.page-head .select.sm { width: auto; }

/* ===== v14: footer stays at the bottom on short pages; offerwall rail ===== */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > * { flex-shrink: 0; }
body > .ftr { margin-top: auto; }
.wgrid { padding: 12px 10px 18px; margin: -12px -10px -10px; } /* room for the hover lift + glow so it isn't cut off */

/* ===== v15: landing page scroll effects ===== */
.scroll-prog { position: fixed; left: 0; top: 0; z-index: 90; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #E0A800, var(--brand), #FFF2B0); box-shadow: 0 0 12px rgba(255,204,51,.6); pointer-events: none; }
.h2-hero { overflow: hidden; }
.hero-coins { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-coins .hc { position: absolute; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); opacity: .9; will-change: transform; animation: hcSpin 9s ease-in-out infinite; }
.hero-coins .hc:nth-child(2n) { animation-duration: 12s; animation-direction: reverse; }
@keyframes hcSpin { 50% { rotate: 18deg; } }
.h2-grid { position: relative; z-index: 1; }
[data-words] .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); animation: wordUp .7s cubic-bezier(.2,.9,.3,1.2) forwards; }
@keyframes wordUp { to { opacity: 1; transform: none; } }

.pay-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding: 8px 0 14px; }
.pm-track { display: flex; gap: 12px; width: max-content; animation: pmScroll var(--pm-dur, 30s) linear infinite; }
.pay-marquee:hover .pm-track { animation-play-state: paused; }
.pm-track .pay-card { width: 180px; flex: none; }
@keyframes pmScroll { to { transform: translateX(-50%); } }

.how-story { position: relative; height: 230vh; }
.hs-stick { position: sticky; top: 70px; min-height: calc(100vh - 90px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 30px 20px; }
.how-story .steps2 li { transition: background .35s, border-color .35s, transform .35s, opacity .35s; opacity: .5; align-items: flex-start; }
.how-story .steps2 li div { display: grid; gap: 3px; }
.how-story .steps2 li em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--muted); max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.how-story .steps2 li.on { opacity: 1; border-color: var(--brand); background: linear-gradient(90deg, rgba(255,204,51,.1), transparent 70%), var(--surface); transform: translateX(6px); }
.how-story .steps2 li.on em { max-height: 60px; }
.how-story .steps2 li.done { opacity: .85; }
.how-story .steps2 li.done span { background: var(--ok); }
.hs-bar { height: 4px; border-radius: 4px; background: var(--surface-2); margin-top: 16px; overflow: hidden; }
.hs-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #E0A800, var(--brand)); transition: width .15s linear; }
.how-story .how-art { height: 440px; }
.how-story .ha-phone { position: relative; overflow: hidden; height: 420px; margin-top: 70px; transition: transform .5s cubic-bezier(.2,.9,.3,1.1); }
.ha-screen { position: absolute; left: 12px; right: 12px; top: 30px; display: grid; gap: 10px; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .45s ease, transform .45s ease; }
.how-art[data-at="0"] .s0, .how-art[data-at="1"] .s1, .how-art[data-at="2"] .s2 { opacity: 1; transform: none; }
.ha-mini { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; }
.ha-mini img { width: 34px; height: 34px; border-radius: 8px; }
.ha-mini em { margin-left: auto; font-style: normal; color: var(--brand); font-weight: 700; display: inline-flex; gap: 3px; align-items: center; }
.ha-goal { display: grid; gap: 4px; font-size: 11.5px; font-weight: 600; }
.ha-goal .bar i { width: 0; transition: width 1s ease .2s; }
.how-art[data-at="1"] .ha-goal .bar i { width: var(--w); }
.ha-win { text-align: center; padding: 26px 10px 18px; border-radius: 14px; background: radial-gradient(circle at 50% 0, rgba(255,204,51,.3), transparent 70%), var(--surface); border: 1px solid rgba(255,204,51,.4); display: grid; justify-items: center; gap: 4px; }
.ha-win svg { width: 44px; height: 44px; }
.ha-win b { font-size: 30px; color: var(--brand); }
.ha-win span { font-size: 12px; color: var(--muted); }
.how-art[data-at="2"] .ha-win { animation: winPop .6s cubic-bezier(.2,.9,.3,1.5); }
@keyframes winPop { from { transform: scale(.7); } }
.how-art .ha-tag { transition: transform .5s ease, opacity .5s; }
.how-art[data-at="0"] .ha-tag.t2, .how-art[data-at="1"] .ha-tag.t2 { opacity: .35; transform: translateY(10px); }
.how-art[data-at="2"] .ha-tag.t1 { opacity: .35; }
@media (max-width: 900px) {
  .how-story { height: auto; }
  .hs-stick { position: static; grid-template-columns: 1fr; min-height: 0; }
}

[data-tilt] { transform-style: preserve-3d; transition: transform .2s ease; will-change: transform; }
[data-slide].reveal { transform: translateX(-40px); }
[data-slide="right"].reveal { transform: translateX(40px); }
[data-slide].reveal.in { transform: none; }
.h2-title.reveal .y { background: linear-gradient(transparent 70%, rgba(255,204,51,.25) 70%) no-repeat 0 0 / 0% 100%; transition: background-size .8s ease .25s; }
.h2-title.reveal.in .y { background-size: 100% 100%; }
.lrow.reveal { transform: translateX(24px); }
.lrow.reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .pm-track, .hero-coins .hc, [data-words] .w { animation: none !important; opacity: 1; transform: none; }
  .how-story { height: auto; } .hs-stick { position: static; }
}
.coin-f { animation-name: floaty2; }
@keyframes floaty2 { 50% { translate: 0 -8px; } }

/* ===== v16: freecash-style scroll: smooth scroll, drawing timeline, icon marquee, odometer ===== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* payout icon marquee, two rows going opposite ways */
.pay-marquee { padding: 6px 0; }
.pay-marquee.rev .pm-track { animation-direction: reverse; }
.pm-tile { flex: none; width: 104px; display: grid; justify-items: center; gap: 8px; }
.pm-tile img, .pm-tile b { width: 92px; height: 92px; border-radius: 20px; padding: 24px; display: grid; place-items: center; object-fit: contain; background: linear-gradient(150deg, var(--mc), color-mix(in srgb, var(--mc) 55%, #050F1B)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 26px -14px var(--mc); transition: transform .25s cubic-bezier(.2,.9,.3,1.3); }
.pm-tile b { font-size: 30px; color: #fff; }
.pm-tile span { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; max-width: 104px; overflow: hidden; text-overflow: ellipsis; }
.pm-tile:hover img, .pm-tile:hover b { transform: translateY(-4px) rotate(-4deg) scale(1.05); }

/* timeline */
.tl { padding: 60px 20px 30px; }
.tl-body { position: relative; margin-top: 40px; display: grid; gap: 90px; }
.tl-line { position: absolute; left: 50%; top: 0; width: 40px; height: 100%; transform: translateX(-50%); overflow: visible; pointer-events: none; }
.tl-line path { fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; }
.tl-bg { stroke: var(--line-2); stroke-dasharray: 6 8; }
.tl-fg { stroke: var(--brand); stroke-width: 4 !important; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(255,204,51,.55)); }
.tl-row { position: relative; display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; gap: 24px; }
.tl-card { padding: 26px 26px 24px; border-radius: 20px; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); opacity: 0; transform: translateX(-50px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.9,.3,1); }
.tl-card h3 { font-size: 21px; line-height: 1.25; margin-bottom: 8px; }
.tl-card p { color: var(--ink-2); margin: 0; font-size: 14.5px; line-height: 1.6; }
.tl-node { z-index: 1; justify-self: center; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 17px; background: var(--surface-2); color: var(--muted); border: 2px solid var(--line-2); transition: background .4s, color .4s, transform .4s cubic-bezier(.2,.9,.3,1.6), box-shadow .4s; }
.tl-art { position: relative; height: 220px; display: grid; place-items: center; opacity: 0; transform: translateX(50px) scale(.95); transition: opacity .7s ease .1s, transform .7s cubic-bezier(.2,.9,.3,1) .1s; }
.tl-row.flip .tl-card { order: 3; transform: translateX(50px); }
.tl-row.flip .tl-node { order: 2; }
.tl-row.flip .tl-art { order: 1; transform: translateX(-50px) scale(.95); }
.tl-row.on .tl-card, .tl-row.on .tl-art { opacity: 1; transform: none; }
.tl-row.on .tl-node { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); transform: scale(1.08); box-shadow: 0 0 0 8px rgba(255,204,51,.12), 0 0 30px rgba(255,204,51,.45); }

.tl-art.fan img { position: absolute; width: 112px; height: 112px; border-radius: 22px; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 18px 30px -12px rgba(0,0,0,.7); transform: rotate(0) translate(0); transition: transform .8s cubic-bezier(.2,.9,.3,1.25); transition-delay: calc(var(--i) * 70ms + .2s); }
.tl-row.on .tl-art.fan img:nth-child(1) { transform: translate(-120px, 10px) rotate(-14deg); }
.tl-row.on .tl-art.fan img:nth-child(2) { transform: translate(-40px, -22px) rotate(-4deg); z-index: 2; }
.tl-row.on .tl-art.fan img:nth-child(3) { transform: translate(44px, -8px) rotate(7deg); z-index: 1; }
.tl-row.on .tl-art.fan img:nth-child(4) { transform: translate(122px, 18px) rotate(15deg); }
.tl-goalcard { width: min(300px, 100%); padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 24px 40px -24px rgba(0,0,0,.8); display: grid; gap: 10px; }
.tl-gh { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.tl-gh img { width: 40px; height: 40px; border-radius: 10px; }
.tl-goal { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; font-size: 12.5px; font-weight: 600; }
.tl-goal em { font-style: normal; color: var(--brand); display: inline-flex; align-items: center; gap: 4px; }
.tl-goal .bar { grid-column: 1 / -1; }
.tl-goal .bar i { width: 0; transition: width 1s ease; transition-delay: calc(var(--j) * 220ms + .4s); }
.tl-row.on .tl-goal .bar i { width: var(--w); }
.tl-art.cards .tl-pc { position: absolute; width: 150px; height: 96px; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(150deg, var(--mc), color-mix(in srgb, var(--mc) 50%, #050F1B)); box-shadow: 0 18px 30px -14px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.2); transform: rotate(0); transition: transform .8s cubic-bezier(.2,.9,.3,1.25); transition-delay: calc(var(--k) * 90ms + .25s); }
.tl-pc img { width: 30px; height: 30px; }
.tl-pc b { color: #fff; font-size: 14px; }
.tl-row.on .tl-pc:nth-child(1) { transform: translate(-70px, 14px) rotate(-16deg); }
.tl-row.on .tl-pc:nth-child(2) { transform: translate(0, -10px) rotate(-2deg); z-index: 1; }
.tl-row.on .tl-pc:nth-child(3) { transform: translate(70px, 16px) rotate(13deg); z-index: 2; }
.tl-coinpop { position: absolute; top: 6px; right: 10%; z-index: 3; padding: 7px 12px; border-radius: 999px; font-weight: 800; font-size: 14px; display: inline-flex; gap: 5px; align-items: center; background: var(--brand); color: var(--brand-ink); opacity: 0; transform: translateY(16px) scale(.8); transition: opacity .4s ease 1s, transform .5s cubic-bezier(.2,.9,.3,1.6) 1s; }
.tl-row.on .tl-coinpop { opacity: 1; transform: none; }
@media (max-width: 820px) {
  .tl-line { left: 28px; }
  .tl-body { gap: 50px; }
  .tl-row, .tl-row.flip { grid-template-columns: 56px 1fr; gap: 16px; }
  .tl-row .tl-node, .tl-row.flip .tl-node { order: 1; grid-row: 1 / span 2; align-self: start; }
  .tl-row .tl-card, .tl-row.flip .tl-card { order: 2; transform: translateY(30px); }
  .tl-row .tl-art, .tl-row.flip .tl-art { order: 3; grid-column: 2; height: 190px; transform: translateY(30px); }
  .tl-art.fan img { width: 84px; height: 84px; }
}

/* odometer */
.odo { display: inline-flex; align-items: flex-end; overflow: hidden; line-height: 1; height: 1em; }
.odo .od-col { display: inline-block; height: 1em; overflow: hidden; }
.odo .od-roll { display: flex; flex-direction: column; transition: transform 2s cubic-bezier(.15,.85,.25,1); }
.odo .od-roll span { height: 1em; line-height: 1; }
.odo .od-sep { color: var(--ok); }
@media (prefers-reduced-motion: reduce) {
  .tl-card, .tl-art, .tl-art * { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* v17 legal pages */
.prose .lead { font-size: 18px; color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; margin: 10px 0 0; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin: 6px 0; line-height: 1.6; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose b { color: var(--ink); }
.prose h2 { scroll-margin-top: 90px; }
.prose .toc { margin: 22px 0 8px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.prose .toc ol { columns: 2; column-gap: 28px; margin-top: 8px; }
.prose .toc li { margin: 3px 0; font-size: 15px; break-inside: avoid; }
.prose .toc a { text-decoration: none; color: var(--ink-2); }
.prose .toc a:hover { color: var(--brand); }
@media (max-width: 640px) { .prose .toc ol { columns: 1; } .prose h1 { font-size: 32px; } }

/* v18: room for the hover lift + glow so recommended offers aren't cut off */
.orail { padding: 12px 12px 16px; margin: -12px -12px -8px; scroll-padding-left: 12px; }
.rail { padding: 12px 10px 16px; margin: -10px -10px -4px; }

/* v19: profile transaction history */
.ph-card { overflow: hidden; }
.ph-head { padding: 16px 20px; gap: 12px; flex-wrap: wrap; }
.ph-head h2 { display: flex; align-items: center; gap: 8px; }
.ph-foot { padding: 12px 20px 16px; border-top: 1px solid var(--line); }
.ph-card .empty { padding: 26px 20px; }
.ph-card .nowrap { white-space: nowrap; }
.ph-card .mono { font-family: var(--mono); letter-spacing: .02em; }
@media (max-width: 640px) { .ph-head .tabs { width: 100%; } .ph-head .tabs a { flex: 1; text-align: center; } }
.ph-card .show-sm { display: none; }
@media (max-width: 640px) {
  .ph-card .hide-sm { display: none; }
  .ph-card .show-sm { display: inline; }
  .ph-card .t th, .ph-card .t td { padding-left: 12px; padding-right: 12px; }
  .ph-card .t td small.muted { display: block; }
  .ph-head { padding: 14px 14px 10px; }
}

/* ==========================================================================
   v20 polish pass
   ========================================================================== */
/* Type scale: one set of sizes everywhere. */
:root { --fs-xs: 12px; --fs-sm: 13px; --fs-md: 15px; --fs-lg: 18px; --fs-xl: 22px; --fs-2xl: 30px; }
.page-head h1 { font-size: var(--fs-2xl); }
.page-head p { font-size: var(--fs-md); color: var(--muted); margin-top: 6px; }
.card h2, .blk-head h2, .sec-title { font-size: var(--fs-xl); letter-spacing: -0.02em; }
.card h3 { font-size: var(--fs-lg); }
.small, small { font-size: var(--fs-sm); }

/* Cards and buttons: same corners, hairline highlight on top for depth. */
.card, .stat, .ph-card, .lb-r, .wcard { border-radius: var(--r-lg); }
.card, .stat { box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
.stat { padding: 18px 20px; }
.stat .k { font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }
.stat .v { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.btn { font-weight: 700; letter-spacing: .005em; transition: transform .12s ease, filter .12s ease, background-color .12s ease, border-color .12s ease; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; border: 1px solid var(--line-2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--brand); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Header nav: a soft pill marks the current page (the old underline was clipped). */
.hnav a { overflow: visible; transition: color .15s ease, background-color .15s ease; }
.hnav a.on::after { display: none; }
.hnav a.on { background: rgba(255, 204, 51, .1); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 204, 51, .22); }
.hnav a:not(.on):hover { background: rgba(255, 255, 255, .04); }

/* Balance chip: number rolls, chip glows when coins land. */
.bal-chip { transition: border-color .2s ease, box-shadow .3s ease; }
.bal-chip.got { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 204, 51, .18), 0 0 26px -6px rgba(255, 204, 51, .8); }
.bal-chip [data-balance] { font-variant-numeric: tabular-nums; }
.coin-fly { position: fixed; z-index: 200; width: 22px; height: 22px; pointer-events: none; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45)); }

/* Offer cards: bigger reward, play button on hover, shimmer while the picture loads. */
.ocard { width: 150px; padding: 7px 7px 10px; gap: 8px; border-radius: 14px; }
.othumb { border-radius: 10px; }
.othumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 15, 27, .55)); opacity: 0; transition: opacity .2s ease; }
.ocard:hover .othumb::after { opacity: 1; }
.oplay { position: absolute; left: 50%; bottom: 10px; transform: translate(-50%, 8px); z-index: 2; opacity: 0; display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 99px; background: var(--brand); color: var(--brand-ink); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .03em; text-transform: uppercase; transition: opacity .18s ease, transform .18s ease; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); }
.ocard:hover .oplay, .ocard:focus-visible .oplay { opacity: 1; transform: translate(-50%, 0); }
.otitle { font-size: 14px; }
.opay { font-size: 14px; font-weight: 800; color: var(--brand); background: rgba(255, 204, 51, .1); padding: 5px 9px; }
.othumb img { background: linear-gradient(110deg, var(--surface-2) 30%, var(--surface-3, #1b2f47) 50%, var(--surface-2) 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.othumb img.ok { animation: none; background: none; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Offerwall cards without a logo get a monogram so every card has a picture. */
.wmono { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #06121F; background: var(--ac, var(--brand)); box-shadow: 0 6px 16px -8px var(--ac, var(--brand)); }
.wl-in .wmono + b { font-size: 17px; }

/* Floating chat + help buttons: smaller and calmer so they don't cover content. */
.sup-fab { width: 48px; height: 48px; border-radius: 14px; background: var(--surface-2); color: var(--brand); border: 1px solid var(--line-2); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .8); transition: transform .2s ease, opacity .2s ease, border-color .15s ease; }
.sup-fab:hover { border-color: var(--brand); transform: translateY(-2px); }
.sup-fab[aria-expanded="true"] { background: var(--brand); color: var(--brand-ink); }
.sup-fab.chat2 { right: 76px; }
.sup-fab.chat2 .fab-dot { top: 8px; right: 8px; width: 9px; height: 9px; box-shadow: 0 0 0 2px var(--surface-2); }
@media (max-width: 1080px) { .sup-fab.chat2 { right: 76px; } }
body.fab-hide .sup-fab:not([aria-expanded="true"]) { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* Leaderboard: the note in your own row stays on one line. */
.lb-mine .pr { white-space: nowrap; text-align: right; }

/* Empty states. */
.empty { text-align: center; color: var(--muted); padding: 34px 20px; }
.empty-ill { display: grid; justify-items: center; gap: 10px; padding: 34px 20px; text-align: center; color: var(--muted); }
.empty-ill .ei { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 204, 51, .1); color: var(--brand); }
.empty-ill b { color: var(--ink); font-size: var(--fs-lg); }

/* Mobile */
@media (max-width: 760px) {
  .sup-fab { width: 44px; height: 44px; border-radius: 13px; right: 14px; bottom: 80px; }
  .sup-fab.chat2 { right: 66px; }
  .tabbar a { transition: background-color .15s ease, color .15s ease; }
  .tabbar a.on { box-shadow: 0 6px 16px -8px rgba(255, 204, 51, .9); }
  .page-head h1 { font-size: 26px; }
  .stat .v { font-size: 22px; }
  .ocard { width: 138px; }
  /* Wide tables become stacked cards. */
  .t.stack-sm thead { display: none; }
  .t.stack-sm, .t.stack-sm tbody, .t.stack-sm tr, .t.stack-sm td { display: block; width: 100%; }
  .t.stack-sm tr { padding: 12px 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
  .t.stack-sm td { padding: 0 !important; border: 0 !important; text-align: left; }
  .t.stack-sm td.num { text-align: right; grid-column: 2; grid-row: 1; font-weight: 700; }
  .t.stack-sm td[data-l]::before { content: attr(data-l) ": "; color: var(--muted); font-size: var(--fs-xs); }
}
@media (prefers-reduced-motion: reduce) { .othumb img { animation: none; } }
/* Keep the last row of every page clear of the floating buttons. */
.app-main { padding-bottom: 96px; }
@media (max-width: 760px) { .app-main { padding-bottom: 140px; } }
/* Toasts match the dark theme. */
.toast { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-2); box-shadow: 0 24px 50px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,204,51,.08); }
.toast .c { background: rgba(255, 204, 51, .14); }
.toast b { color: var(--brand); font-weight: 800; }
.toast span { color: var(--muted); }
.toast.note .c { background: rgba(127, 209, 255, .16); }
.toast.note .c svg { stroke: #7FD1FF; }
.toast.note b { color: var(--ink); }
@media (max-width: 760px) { .toasts { bottom: 136px; left: 14px; right: 14px; } }
.ripple { display: none !important; }

/* v21 landing polish */
.h2-trust { list-style: none; padding: 0; margin: -8px 0 26px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.h2-trust li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.h2-trust li svg { color: var(--brand); }
.h2-stats .sbox .coin { width: 26px; height: 26px; }
.h2-stats .sbox b { letter-spacing: -0.02em; }
.live-methods span { display: inline-flex; align-items: center; gap: 8px; }
.live-methods img { width: 18px; height: 18px; border-radius: 5px; object-fit: contain; }
.h2-title { letter-spacing: -0.025em; }
.h2-hero .h2-copy h1 { text-wrap: balance; }
.h2-sub, .h2-title + p { text-wrap: pretty; }
section.wrap + section.wrap { margin-top: 8px; }
.faq2 summary, .qa2 summary { transition: background-color .15s ease; }
@media (max-width: 760px) { .h2-trust { margin-top: -10px; } .h2-trust li { font-size: 13px; padding: 6px 10px; } }
.h2-stats .sbox .coin { grid-row: span 2; width: 26px; height: 26px; }
.h2-stats .sbox b { white-space: nowrap; }
.h2-trust li { white-space: nowrap; }
.h2-copy, .h2-form { position: relative; z-index: 1; }
@media (max-width: 760px) { .hero-coins { display: none; } }

/* v22: offerwall logos. A logo is shown on its own (it already carries the name); no logo = monogram + name. */
.wlogo { min-width: 0; width: 100%; }
.wl-in { min-width: 0; max-width: 100%; justify-content: center; }
.wl-in b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-in.only img { flex: none; height: 46px; width: auto; max-width: 136px; max-height: 46px; object-fit: contain; }

/* ==========================================================================
   v23 phone fit (zx-style mobile landing)
   ========================================================================== */
html, body { overflow-x: clip; max-width: 100%; }
.site-tabs { display: none; }

/* Bottom bar: the middle tab is a raised round button (both the landing and the app). */
@media (max-width: 1080px) {
  .tabbar a:nth-child(3) { position: relative; background: none !important; color: var(--brand) !important; box-shadow: none !important; padding-top: 0; }
  .tabbar a:nth-child(3) svg, .tabbar a:nth-child(3) .mid-ic { box-sizing: content-box; }
  .tabbar a:nth-child(3) > svg { width: 22px; height: 22px; padding: 11px; margin-top: -22px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--brand); color: var(--brand); box-shadow: 0 0 0 5px var(--bg), 0 8px 20px -6px rgba(255,204,51,.55); }
  .tabbar a:nth-child(3).on > svg { background: var(--brand); color: var(--brand-ink); }
  .tabbar a:nth-child(3) .mid-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--brand); box-shadow: 0 0 0 5px var(--bg), 0 8px 20px -6px rgba(255,204,51,.55); }
  .tabbar a:nth-child(3).on .mid-ic { background: var(--brand); color: var(--brand-ink); }
  .tabbar a.on:not(:nth-child(3)) { background: none; color: var(--brand); box-shadow: none; }
}

@media (max-width: 760px) {
  /* Landing gets the same bottom bar as the app. */
  .site-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: rgba(10,28,48,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .site-tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; color: var(--muted); font-size: 11px; font-weight: 600; border-radius: 10px; }
  body:has(.site-tabs) .ftr { padding-bottom: 90px; }

  /* Header: Sign In and Sign Up both visible, compact. */
  .topbar .wrap { height: 62px; gap: 10px; }
  .topbar .right .btn.ghost { display: inline-flex; }
  .topbar .right .btn { min-height: 36px; padding: 7px 12px; font-size: 14px; }
  .topbar .logo img, .topbar .logo-img { max-height: 30px; }

  /* Hero centred like zx. */
  .h2-hero { padding-top: 18px; }
  .h2-copy { text-align: center; }
  .h2-copy h1 { font-size: 34px; line-height: 1.08; }
  .h2-sub { margin: 12px auto 16px; font-size: 15px; }
  .h2-trust { justify-content: center; margin: 0 0 14px; }
  .h2-form { margin-top: 4px; }

  /* Stats: centred, compact. */
  .h2-stats { gap: 10px; }
  .h2-stats .sbox { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 18px 14px; gap: 6px; }
  .h2-stats .sbox svg, .h2-stats .sbox .coin { grid-row: auto; }
  .h2-stats .sbox b { font-size: 26px; }

  /* How it works: a short numbered list instead of the long scroll timeline. */
  .tl .tl-line, .tl .tl-art { display: none !important; }
  .tl .tl-body { display: grid; gap: 10px; padding: 0; }
  .tl .tl-row, .tl .tl-row.flip { display: flex !important; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
  .tl .tl-node { order: 0 !important; flex: none; width: 34px; height: 34px; font-size: 14px; border-radius: 10px; background: var(--brand) !important; color: var(--brand-ink) !important; border: 0 !important; box-shadow: none !important; transform: none !important; }
  .tl .tl-card { order: 1 !important; opacity: 1 !important; transform: none !important; padding: 0; background: none; border: 0; }
  .tl .tl-card h3 { font-size: 16px; line-height: 1.25; }
  .tl .tl-card p { font-size: 13.5px; margin-top: 4px; color: var(--muted); }

  /* Ways to earn: shorter pictures. */
  .ways4 .w4-art { height: 150px; }
  .h2-title { font-size: 26px; }
  section.wrap { padding-left: 16px; padding-right: 16px; }

  /* Banners: art smaller so the text has room. */
  .bnr { padding: 20px 18px; }
  .bnr .bnr-art { width: 84px; height: 84px; }
  .bnr h3 { font-size: 22px; }

  /* Floating help buttons sit above the bottom bar. */
  body:has(.site-tabs) .sup-fab { bottom: 84px; }
}
@media (max-width: 1080px) { .tabbar, .tabbar a:nth-child(3) { overflow: visible !important; } }

/* v24: providers strip, zx footer, guest menu sheet */
.h2-prov { margin-top: 26px; }
.prov-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.prov { display: grid; place-items: center; width: 168px; height: 76px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: border-color .15s ease, transform .15s ease; }
.prov:hover { border-color: var(--brand); transform: translateY(-2px); }
.prov img { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; }

.ftr-brand p { color: var(--ink-2); }
.ftr-social { display: flex; gap: 10px; margin-top: 16px; }
.ftr-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sc); color: #fff; box-shadow: 0 6px 14px -6px var(--sc); transition: transform .15s ease; }
.ftr-social a:hover { transform: translateY(-2px); color: #fff; }
.ftr-col summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: default; }
.ftr-col summary::-webkit-details-marker { display: none; }
.ftr-col summary svg { display: none; }
.ftr-col a { display: block; color: var(--ink-2); font-size: 14px; padding: 5px 0; }
.ftr-col a:hover { color: var(--brand); }
.ftr-bottom { align-items: center; }
.ftr-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ftr-links a { color: var(--muted); } .ftr-links a:hover { color: var(--brand); }
.ftr-links i { font-style: normal; opacity: .5; }
.ftr-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }

.gmenu { position: fixed; inset: 0; z-index: 90; background: rgba(3, 10, 18, .6); backdrop-filter: blur(4px); display: flex; align-items: flex-end; }
.gmenu[hidden] { display: none; }
.gm-box { width: 100%; background: var(--surface); border-top: 1px solid var(--line-2); border-radius: 22px 22px 0 0; padding: 14px 16px calc(20px + env(safe-area-inset-bottom)); animation: gmUp .22s ease-out; }
@keyframes gmUp { from { transform: translateY(30px); opacity: 0; } }
.gm-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.gm-box > a { display: flex; align-items: center; gap: 12px; padding: 13px 8px; border-radius: 12px; color: var(--ink); font-weight: 600; }
.gm-box > a svg { color: var(--brand); }
.gm-box > a:active { background: var(--surface-2); }
.gm-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }

@media (max-width: 760px) {
  .ticker { margin: 0; }
  .prov { width: calc(50% - 6px); height: 66px; }
  .h2-prov .h2-title { margin-bottom: 14px; }
  /* Footer: brand on top, sections fold away like zx. */
  .ftr { padding-top: 26px; }
  .ftr-cols { grid-template-columns: 1fr; gap: 0; }
  .ftr-brand { padding-bottom: 18px; }
  .ftr-col { border-top: 1px solid var(--line); }
  .ftr-col summary { cursor: pointer; padding: 14px 0; }
  .ftr-col summary h4 { margin: 0; }
  .ftr-col summary svg { display: block; transform: rotate(90deg); transition: transform .2s ease; color: var(--muted); }
  .ftr-col[open] summary svg { transform: rotate(-90deg); }
  .ftr-col a { padding: 6px 0; }
  .ftr-col[open] { padding-bottom: 10px; }
  .ftr-bottom { flex-direction: column; text-align: center; gap: 10px; margin-top: 8px; }
}
