/* =========================================================
   Reward platform — user interface
   Palette: deep indigo-black surfaces, mint accent
   ========================================================= */

:root {
  --bg:          #0f1117;
  --surface:     #171a24;
  --surface-2:   #1e2230;
  --line:        #262b3a;
  --text:        #eef1f6;
  --muted:       #8b93a7;
  --accent:      #22d67f;
  --accent-dim:  rgba(34, 214, 127, .12);
  --warn:        #ffb020;
  --danger:      #ff5d5d;
  --radius:      14px;
  --radius-sm:   10px;
  --nav-h:       64px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

body.has-nav { padding-bottom: calc(var(--nav-h) + 20px); }

.wrap {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------------- Top bar ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 17, 23, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
  border: 1px solid var(--line);
  flex: none;
}
.balance-pill {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  background: var(--accent-dim);
}
.icon-btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--muted);
  flex: none;
}
.icon-btn:hover { color: var(--text); background: var(--surface-2); }

/* ---------------- Section headings ---------------- */
.page-title {
  font-size: 21px;
  font-weight: 700;
  margin: 20px 0 14px;
  letter-spacing: -.01em;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 12px;
}
.section-head h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-head a { color: var(--muted); font-size: 13px; }
.section-head a:hover { color: var(--accent); }

/* ---------------- Tabs & chips ---------------- */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.tabs a {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.tabs a.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.chip.on { color: var(--accent); border-color: rgba(34, 214, 127, .45); background: var(--accent-dim); }

/* ---------------- Cards ---------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.card + .card { margin-top: 12px; }

.empty {
  text-align: center;
  padding: 46px 20px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.empty strong { display: block; color: var(--text); margin-bottom: 6px; font-size: 16px; }

/* Offer list */
.offer {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 10px;
}
.offer:hover { border-color: rgba(34, 214, 127, .4); }
.offer-thumb {
  width: 58px; height: 58px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--surface-2);
  flex: none;
}
.offer-body { min-width: 0; flex: 1; }
.offer-body h3 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.offer-meta { font-size: 12.5px; color: var(--muted); }
.offer-pay { text-align: right; flex: none; }
.offer-pay .coins { color: var(--accent); font-weight: 700; font-size: 15px; }
.offer-pay .cash { font-size: 12px; color: var(--muted); }

/* Partner grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
}
.partner {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 10px 10px;
  text-align: center;
}
.partner:hover { border-color: rgba(34, 214, 127, .4); }
.partner .logo {
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}
.partner .logo img { max-height: 30px; width: auto; margin: 0 auto; }
.partner .pname { font-size: 12px; color: var(--muted); }
.stars {
  display: inline-block;
  font-size: 11px;
  color: var(--warn);
  background: var(--surface-2);
  border-radius: 6px;
  padding: 1px 6px;
  margin-bottom: 6px;
}
.badge-bonus {
  position: absolute;
  top: -7px; right: -4px;
  background: var(--accent);
  color: #06210f;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 6px;
}

/* Payout method cards */
.methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.method {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.method:hover { border-color: rgba(34, 214, 127, .4); }
.method h4 { margin: 0; padding: 10px 12px 8px; font-size: 14px; text-align: center; }
.method .tile {
  height: 86px;
  margin: 0 12px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
}
.method .foot {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px 10px;
  font-size: 11px;
  color: var(--muted);
}

/* Balance header on the cashout page */
.balance-hero {
  text-align: center;
  padding: 28px 16px 22px;
  background: radial-gradient(120% 100% at 0% 0%, rgba(34, 214, 127, .16), transparent 60%);
  border-bottom: 1px solid var(--line);
  margin: 0 -16px 20px;
}
.balance-hero .label { color: var(--muted); font-size: 13px; }
.balance-hero .amount { font-size: 44px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 10px; }
.pending-pill {
  display: inline-block;
  background: var(--surface-2);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--muted);
}

/* Profile */
.profile-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.profile-head .avatar-lg {
  width: 62px; height: 62px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.stat-row { display: flex; gap: 26px; margin-top: 4px; }
.stat b { display: block; font-size: 17px; }
.stat span { font-size: 11.5px; color: var(--muted); }

.progress {
  height: 6px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}
.progress i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

.list-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
}
.list-link .arrow { margin-left: auto; color: var(--muted); }
.list-link:hover .arrow { color: var(--accent); }

/* ---------------- Forms & buttons ---------------- */
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=number],
input[type=date], input[type=url], select, textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  font-size: 15px;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(34, 214, 127, .5);
  outline-offset: 1px;
  border-color: transparent;
}
textarea { min-height: 110px; resize: vertical; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #06210f;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.06); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-block { width: 100%; }
.btn-ghost {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-danger { background: var(--danger); color: #fff; }

/* ---------------- Alerts & tags ---------------- */
.alert {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 14px 0;
  font-size: 14px;
  border: 1px solid;
}
.alert.success { background: var(--accent-dim); border-color: rgba(34, 214, 127, .4); color: var(--accent); }
.alert.error   { background: rgba(255, 93, 93, .1); border-color: rgba(255, 93, 93, .4); color: var(--danger); }
.alert.info    { background: var(--surface-2); border-color: var(--line); color: var(--muted); }

.tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
}
.tag.pending   { background: rgba(255, 176, 32, .14); color: var(--warn); }
.tag.completed { background: var(--accent-dim); color: var(--accent); }
.tag.approved  { background: var(--accent-dim); color: var(--accent); }
.tag.rejected  { background: rgba(255, 93, 93, .14); color: var(--danger); }
.tag.started   { background: rgba(120, 150, 255, .14); color: #8fa8ff; }

/* ---------------- Bottom navigation ---------------- */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(23, 26, 36, .96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex;
  z-index: 50;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
}
.bottom-nav a svg { width: 21px; height: 21px; }
.bottom-nav a.active { color: var(--accent); }

/* ---------------- Auth pages ---------------- */
.auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.auth-box {
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
}
.auth-box h1 { font-size: 22px; margin: 0 0 4px; }
.auth-box p.sub { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.auth-foot a { color: var(--accent); font-weight: 600; }
.brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* ---------------- Tables (shared with admin) ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
table.data th, table.data td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { background: var(--surface-2); color: var(--muted); font-weight: 600; font-size: 12.5px; }
table.data tr:last-child td { border-bottom: 0; }

.pagination { display: flex; gap: 6px; margin: 16px 0; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.pagination span.on { background: var(--accent); color: #06210f; border-color: transparent; font-weight: 700; }

.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.text-right { text-align: right; }
.mt { margin-top: 16px; }
.disclaimer { color: var(--muted); font-size: 11.5px; line-height: 1.6; margin: 28px 0 10px; }

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

/* =========================================================
   Profile — larger type, information card, settings toggles
   ========================================================= */
.profile-hero { text-align: center; padding: 22px 0 6px; }
.avatar-xl {
  width: 92px; height: 92px;
  border-radius: 50%;
  margin: 0 auto 12px;
  position: relative;
  background: var(--surface-2);
  border: 3px solid var(--line);
  display: grid; place-items: center;
  font-size: 32px; font-weight: 700; color: var(--muted);
  overflow: visible;
}
.avatar-xl img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar-xl .status {
  position: absolute; right: 4px; bottom: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
}
.profile-hero .uname { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.profile-figures {
  display: flex; justify-content: center; gap: 44px;
  margin: 18px 0 6px; text-align: center;
}
.profile-figures b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.profile-figures span { font-size: 13px; color: var(--muted); }

.level-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; margin: 22px 0 8px;
}
.level-row .lv { color: var(--accent); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.level-row .togo { color: var(--muted); font-size: 13.5px; }
.progress.lg { height: 9px; }

/* rows with an icon and an arrow */
.big-link {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 19px; font-weight: 700; letter-spacing: -.01em;
}
.big-link .ic { width: 24px; display: grid; place-items: center; color: var(--text); }
.big-link .arrow { margin-left: auto; color: var(--muted); font-size: 20px; }
.big-link:hover .arrow { color: var(--accent); }

.panel {
  background: var(--surface-2);
  border-radius: 16px;
  padding: 4px 18px 8px;
  margin: 16px 0;
}
.panel h2 { font-size: 20px; font-weight: 700; margin: 16px 0 4px; letter-spacing: -.01em; }
.info-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.panel .info-row:last-child { border-bottom: 0; }
.info-row .val { color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.info-row .val strong { color: var(--text); font-weight: 600; }
.copy-btn {
  background: none; border: 0; color: var(--accent); cursor: pointer;
  padding: 2px; display: grid; place-items: center;
}
.verified { color: var(--accent); font-size: 15px; }

/* switch */
.switch { position: relative; display: inline-block; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track {
  position: absolute; inset: 0; border-radius: 999px;
  background: var(--line); transition: background .15s;
}
.switch .knob {
  position: absolute; top: 3px; left: 3px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; transition: transform .15s;
}
.switch input:checked ~ .track { background: var(--accent); }
.switch input:checked ~ .knob { transform: translateX(22px); }
.switch input:focus-visible ~ .track { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch-labels { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; }
.switch-labels .off { color: var(--muted); }

/* =========================================================
   Site footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding: 26px 0 calc(var(--nav-h) + 30px);
}
.footer-about { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 12px 0 18px; }
.footer-brand { font-size: 22px; font-weight: 800; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 9px; }
.footer-brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }

.app-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 16px; font-weight: 600; font-size: 14px;
}
.app-badge span { color: var(--muted); font-size: 11.5px; display: block; font-weight: 400; }

.foot-group { border-top: 1px solid var(--line); }
.foot-group summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 2px; font-size: 19px; font-weight: 700; color: var(--accent);
}
.foot-group summary::-webkit-details-marker { display: none; }
.foot-group summary::after { content: '⌄'; color: var(--accent); font-size: 20px; line-height: 1; }
.foot-group[open] summary::after { content: '⌃'; }
.foot-group ul { list-style: none; margin: 0 0 16px; padding: 0; }
.foot-group li { padding: 7px 2px; }
.foot-group a { color: var(--muted); font-size: 15px; }
.foot-group a:hover { color: var(--text); }

.foot-legal {
  border-top: 1px solid var(--line);
  padding-top: 20px; margin-top: 6px;
  text-align: center; color: var(--muted); font-size: 14px; line-height: 2;
}
.foot-legal a { color: var(--text); }
.foot-legal a:hover { color: var(--accent); }
.lang-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 20px; margin: 16px 0; font-size: 15px;
}
.socials { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 18px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--text);
}
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 19px; height: 19px; }

/* =========================================================
   Loading screen — the mark drops in and settles
   ========================================================= */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  animation: loaderAuto 4s forwards;
}
.page-loader.hide { opacity: 0; pointer-events: none; transition: opacity .4s ease; }
@keyframes loaderAuto {
  0%, 70%  { opacity: 1; }
  100%     { opacity: 0; visibility: hidden; }
}

.loader-stage { position: relative; display: grid; place-items: center; gap: 22px; }

.loader-mark {
  width: 78px; height: 78px;
  display: grid; place-items: center;
  color: var(--accent);
  animation: dropIn 1.9s cubic-bezier(.3, 1.4, .5, 1) infinite;
}
.loader-mark .word { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
@keyframes dropIn {
  0%          { transform: translateY(-70px); opacity: 0; }
  35%, 80%    { transform: translateY(0);     opacity: 1; }
  100%        { transform: translateY(0);     opacity: 0; }
}

/* the mark itself, held in a square box so an SVG cannot stretch */
.loader-pic {
  display: block;
  width: 78px; height: 78px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.loader-caption { color: var(--muted); font-size: 14px; letter-spacing: .01em; }

/* a soft shadow on the floor, so the landing has weight */
.loader-floor {
  width: 54px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .18;
  filter: blur(3px);
  margin-top: -14px;
  animation: floorPulse 1.9s cubic-bezier(.3, 1.4, .5, 1) infinite;
}
@keyframes floorPulse {
  0%       { transform: scale(.5); opacity: 0; }
  35%, 80% { transform: scale(1);  opacity: .18; }
  100%     { transform: scale(1);  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader { animation: loaderAuto 2s forwards !important; }
  .loader-mark, .loader-floor { animation: none !important; opacity: 1 !important; }
}

/* =========================================================
   Page outline — the grey shape that shimmers while something loads
   ========================================================= */
@keyframes shimmer { to { background-position: -400% 0; } }

.sk, .sk-line, .sk-box, .sk-circle, img.shimmer:not(.loaded) {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 37%, var(--surface) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.3s linear infinite;
}
.sk-line   { height: 12px; border-radius: 6px; margin-bottom: 10px; }
.sk-line.w40 { width: 40%; } .sk-line.w60 { width: 60%; } .sk-line.w80 { width: 80%; }
.sk-box    { border-radius: 12px; }
.sk-circle { border-radius: 50%; }

/* a placeholder shaped like one row of the offer list */
.sk-offer {
  display: flex; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px; margin-bottom: 10px;
}
.sk-offer .thumb { width: 58px; height: 58px; border-radius: 12px; flex: none; }
.sk-offer .lines { flex: 1; min-width: 0; }
.sk-offer .pay   { width: 62px; }

/* a placeholder shaped like one leaderboard row */
.sk-rank {
  display: flex; gap: 14px; align-items: center;
  padding: 15px 2px; border-bottom: 1px solid var(--line);
}
.sk-rank .n    { width: 22px; height: 14px; border-radius: 5px; }
.sk-rank .name { flex: 1; height: 14px; border-radius: 6px; max-width: 180px; }
.sk-rank .amt  { width: 70px; height: 14px; border-radius: 6px; }

/* pictures: the grey box shows through until the file has arrived */
img.shimmer { transition: opacity .25s ease; }
img.shimmer:not(.loaded) { opacity: 0; }
img.shimmer.loaded { opacity: 1; animation: none; background: none; }

/* =========================================================
   Landing page (visitors who are not signed in)
   ========================================================= */
body.landing { padding-bottom: 92px; }

.lp-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(15,17,23,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.lp-header .inner {
  max-width: 1040px; margin: 0 auto;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
}
.lp-header .brand { margin: 0; font-size: 19px; }
.lp-header .spacer { margin-left: auto; }
.btn-outline {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 18px;
  font-size: 14px; font-weight: 600;
}
.btn-outline:hover { border-color: var(--accent); }

.lp { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.lp-section { padding: 46px 0; }
.lp-section h2 {
  font-size: 30px; line-height: 1.2; font-weight: 800;
  letter-spacing: -.02em; margin: 0 0 14px;
}
.lp-section h2 .em { color: var(--accent); }
.lp-lead { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 22px; max-width: 62ch; }

/* hero */
.lp-hero { position: relative; padding: 40px 0 34px; text-align: center; overflow: hidden; }
.lp-hero::before {
  content: '';
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 620px; height: 420px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 62%);
  opacity: .13; pointer-events: none;
}
.lp-hero h1 {
  position: relative;
  font-size: 34px; line-height: 1.15; font-weight: 800;
  letter-spacing: -.03em; margin: 0 0 14px;
}
.lp-hero h1 .em { color: var(--accent); }
.lp-hero p { position: relative; color: var(--muted); font-size: 17px; margin: 0 0 8px; }
.lp-hero p b { color: var(--text); }
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-right: 7px;
  box-shadow: 0 0 0 0 var(--accent);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,214,127,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(34,214,127,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,214,127,0); }
}

.hero-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin: 26px 0 20px; text-align: left;
}

/* the offers drift past on their own; a finger stops them */
.hero-rail {
  margin: 26px 0 20px;
  overflow: hidden;
  text-align: left;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hero-track { display: flex; gap: 10px; width: max-content; }
.hero-rail.moving .hero-track {
  animation: heroDrift calc(var(--cards, 3) * 7s) linear infinite;
}
.hero-rail.moving:hover .hero-track,
.hero-rail.moving:active .hero-track { animation-play-state: paused; }
.hero-track .hero-card { width: 168px; flex: none; }
@keyframes heroDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 5px)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-rail.moving .hero-track { animation: none; }
  .hero-rail { overflow-x: auto; }
}
@media (min-width: 700px) {
  .hero-track .hero-card { width: 200px; }
}
.hero-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px;
}
.hero-card .art {
  height: 92px; border-radius: 10px; margin-bottom: 10px;
  display: grid; place-items: center; font-size: 34px;
  background: var(--surface-2);
}
.hero-card h3 {
  margin: 0 0 2px; font-size: 14px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hero-card .kind { font-size: 12px; color: var(--muted); }
.hero-card .upto { font-size: 11px; color: var(--muted); margin-top: 8px; }
.hero-card .amount { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }

.stat-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px; margin: 22px 0;
}
.stat-strip div {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 12px; text-align: center;
}
.stat-strip b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.stat-strip span { font-size: 12px; color: var(--muted); }

/* partner strip */
.logo-strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; overflow: hidden;
}
.logo-track {
  display: flex; gap: 34px; align-items: center;
  width: max-content;
  animation: slide 26s linear infinite;
}
.logo-track span {
  color: var(--muted); font-size: 17px; font-weight: 700;
  letter-spacing: .01em; white-space: nowrap; opacity: .65;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* numbered steps */
.step { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step .num {
  flex: none; width: 38px; height: 38px; border-radius: 12px;
  background: var(--accent-dim); color: var(--accent);
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
}
.step h3 { margin: 4px 0 6px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* feature blocks */
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px 22px; margin-bottom: 14px; text-align: center;
}
.feature .glyph { font-size: 40px; margin-bottom: 12px; }
.feature h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* payout feed */
.feed-head {
  border-radius: 18px; padding: 30px 20px; text-align: center;
  background: linear-gradient(140deg, var(--accent-dim), var(--surface));
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.feed-head h2 { margin: 0; font-size: 25px; }
.feed-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 14px; margin-bottom: 8px;
}
.feed-row .who {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-2); display: grid; place-items: center;
  font-weight: 700; color: var(--accent); flex: none;
}
.feed-row .name { font-weight: 600; }
.feed-row .when { font-size: 12.5px; color: var(--muted); }
.feed-row .paid { margin-left: auto; font-weight: 800; letter-spacing: -.01em; }
.feed-row .via { color: var(--muted); font-size: 12.5px; padding-left: 12px; border-left: 1px solid var(--line); }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
  padding: 18px 2px; font-size: 17px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
.faq[open] summary::after { content: '–'; }
.faq p { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* sticky call to action */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 62%, transparent);
}
.sticky-cta .btn { max-width: 1008px; margin: 0 auto; box-shadow: 0 6px 24px rgba(0,0,0,.45); }

@media (min-width: 760px) {
  .lp-hero h1 { font-size: 46px; }
  .lp-section h2 { font-size: 34px; }
  .hero-cards { max-width: 640px; margin-left: auto; margin-right: auto; }
  .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .features-grid .feature { margin-bottom: 0; }
}

/* =========================================================
   Landing page, part two — wider sections and desktop layout
   ========================================================= */
.lp-wide { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.centered { text-align: center; }
.lp-section h2.mid { text-align: center; }

/* sign-up card in the hero */
.signup-card {
  max-width: 420px; margin: 30px auto 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 24px 22px; text-align: center;
}
.signup-card h3 { margin: 0 0 14px; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.signup-card .with-icon { position: relative; }
.signup-card .with-icon svg {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.signup-card .with-icon input { padding-left: 40px; }
.signup-card .note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.signup-card .note b { color: var(--text); }

/* headline figures */
.figure-stack {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; margin: 34px 0;
}
.figure-stack .row { padding: 22px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.figure-stack .row:last-child { border-bottom: 0; }
.figure-stack .big {
  font-size: 27px; font-weight: 800; letter-spacing: -.02em;
  display: inline-flex; align-items: center; gap: 9px;
}
.figure-stack .cap { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* recommended-by strip */
.trust-band { padding: 24px 0; }
.trust-band .who {
  display: flex; justify-content: center; align-items: center; gap: 34px;
  flex-wrap: wrap; margin-top: 14px;
}
.trust-band .who span {
  color: var(--muted); font-size: 17px; font-weight: 700; opacity: .6; letter-spacing: .02em;
}

/* how it works, two columns on wide screens */
.how-wrap { display: block; }
.how-aside h2 { margin-bottom: 18px; }
.step-art {
  margin-top: 14px; border-radius: 14px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
  min-height: 130px; display: grid; place-items: center; font-size: 44px;
}
.step-block { padding: 26px 0; }
.step-block .head { display: flex; align-items: center; gap: 11px; }
.step-block .head .glyph {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--accent-dim); color: var(--accent);
  display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none;
}
.step-block h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.step-block p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 10px 0 0; }

/* three-card rows */
.card-row {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.lp-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 24px 20px; text-align: center;
}
.lp-card .glyph { font-size: 38px; margin-bottom: 12px; }
.lp-card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.lp-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* cash out via */
.pay-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px;
}
.pay-chip {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 17px; color: #fff;
  border: 1px solid var(--line);
}

/* reviews */
.review-rail {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.review {
  flex: 0 0 268px; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px;
}
.review .stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.review h4 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.review p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.review .who { font-size: 13px; font-weight: 600; }
.review .when { font-size: 12px; color: var(--muted); }

/* live cash out block */
.live-wrap { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: start; }
.live-art {
  border-radius: 18px; padding: 40px 24px; min-height: 200px;
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(150deg, var(--accent-dim), var(--surface-2));
  border: 1px solid var(--line);
}
.live-art h3 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.live-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-size: 20px; font-weight: 700; }

/* footer columns on desktop */
.foot-cols { display: block; }

@media (min-width: 860px) {
  .card-row { grid-template-columns: repeat(3, 1fr); }
  .how-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
  .how-aside { position: sticky; top: 92px; }
  .live-wrap { grid-template-columns: 1fr 1fr; }
  .foot-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .lp-hero .signup-card { margin-top: 34px; }
  .figure-stack { display: grid; grid-template-columns: repeat(3, 1fr); }
  .figure-stack .row { border-bottom: 0; border-right: 1px solid var(--line); }
  .figure-stack .row:last-child { border-right: 0; }
}

/* Google sign-in button */
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  background: #fff; color: #1f1f1f;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 15px; font-weight: 600;
  border: 1px solid #dadce0;
}
.btn-google:hover { background: #f5f6f8; }
.or-line {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: 12.5px;
  margin: 16px 0;
}
.or-line::before, .or-line::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}

/* Review carousel */
.rating-card {
  flex: 0 0 268px; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 26px 18px; text-align: center;
}
.rating-card .verdict { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.rating-card .big-stars { color: var(--accent); font-size: 24px; letter-spacing: 3px; margin: 12px 0 10px; }
.rating-card .count { color: var(--muted); font-size: 13.5px; }
.rail-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.rail-nav button {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
  font-size: 17px; cursor: pointer;
}
.rail-nav button:hover { border-color: var(--accent); color: var(--accent); }
.rail-dots { display: flex; gap: 7px; }
.rail-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); display: block;
}
.rail-dots i.on { background: var(--accent); }

/* Social row, larger and centred like the footer of a marketing page */
.socials.big { gap: 14px; }
.socials.big a { width: 50px; height: 50px; }
.socials.big svg { width: 21px; height: 21px; }

/* icon set */
.ico { flex: none; display: block; }
.glyph-text { font-size: 1em; line-height: 1; }
.glyph-round {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; margin: 0 auto 14px;
  background: var(--accent-dim); color: var(--accent);
}
.lp-card .glyph, .feature .glyph { display: flex; justify-content: center; }
.step-block .head .glyph .ico { width: 17px; height: 17px; }

/* landing bottom navigation for visitors */
.visitor-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 71;
  height: var(--nav-h);
  background: rgba(23,26,36,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex;
  padding-bottom: env(safe-area-inset-bottom);
}
.visitor-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; font-size: 11px; color: var(--muted);
}
.visitor-nav a.active { color: var(--accent); }
body.landing { padding-bottom: calc(var(--nav-h) + 96px); }
.sticky-cta.above-nav { bottom: var(--nav-h); }

/* footer: two columns even on a phone, like a marketing footer */
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.foot-group summary { font-size: 16px; padding: 16px 2px; gap: 10px; }
.foot-group a { font-size: 14px; }

/* rating line under the app badge */
.rating-line {
  display: flex; align-items: center; gap: 10px;
  margin: 16px 0 4px; font-size: 13.5px; color: var(--muted);
}
.rating-line .verdict { color: var(--text); font-weight: 700; }
.rating-line .boxes { display: flex; gap: 3px; }
.rating-line .boxes i {
  width: 20px; height: 20px; border-radius: 4px;
  background: var(--accent); display: grid; place-items: center;
}
.rating-line .boxes i.off { background: var(--surface-2); }
.rating-line .boxes svg { width: 13px; height: 13px; color: #06210f; }
.rating-line .boxes i.off svg { color: var(--muted); }

@media (min-width: 860px) {
  .foot-cols { grid-template-columns: repeat(4, 1fr); }
  .visitor-nav { display: none; }
  body.landing { padding-bottom: 96px; }
  .sticky-cta.above-nav { bottom: 0; }
}

/* payout tiles: logo first, name under, like a gift-card wall */
.methods { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
.method { padding: 8px 8px 0; }
.method .tile {
  height: 72px; margin: 0 0 8px;
  border-radius: 10px; font-size: 24px;
  overflow: hidden;
}
.method h4 { padding: 0 2px 4px; font-size: 13px; text-align: left; }
.method .foot { padding: 0 2px 10px; font-size: 10.5px; }
.section-head h2 .ico { color: var(--accent); }

/* =========================================================
   Public cash-out page (visitors)
   ========================================================= */
.cash-hero { position: relative; overflow: hidden; padding: 46px 0 34px; text-align: center; }
.cash-hero .mosaic {
  position: absolute; inset: -10% -4% auto -4%;
  height: 260px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
  opacity: .28; filter: blur(.4px);
  transform: rotate(-8deg);
  pointer-events: none;
}
.cash-hero .mosaic span { border-radius: 12px; }
.cash-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(15,17,23,.55) 0%, var(--bg) 62%);
  pointer-events: none;
}
.cash-hero .inner { position: relative; z-index: 2; }
.cash-hero h1 {
  font-size: 33px; line-height: 1.18; font-weight: 800;
  letter-spacing: -.03em; margin: 0 0 14px;
}
.cash-hero h1 .em { color: var(--accent); }
.cash-hero p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 auto 22px; max-width: 46ch; }
.cash-hero p b { color: var(--text); }

/* the scrolling wall of payout tiles */
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: 420px; overflow: hidden; }
.wall-col { display: grid; gap: 10px; align-content: start; }
.wall-col.up   { animation: wallUp 34s linear infinite; }
.wall-col.down { animation: wallDown 34s linear infinite; }
@keyframes wallUp   { from { transform: translateY(0); }    to { transform: translateY(-50%); } }
@keyframes wallDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.wall-tile {
  border-radius: 14px; height: 96px;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 19px;
  text-align: center; padding: 8px;
  border: 1px solid rgba(255,255,255,.08);
}
.wall-tile img { max-height: 52px; max-width: 82%; }
.wall-tile .label { font-size: 12px; font-weight: 600; opacity: .9; margin-top: 6px; }
.wall-fade { position: relative; }
.wall-fade::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* numbered explainer with a picture panel */
.explain { padding: 30px 0; border-bottom: 1px solid var(--line); }
.explain:last-of-type { border-bottom: 0; }
.explain .head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.explain .num {
  width: 40px; height: 40px; border-radius: 13px; flex: none;
  background: var(--accent-dim); color: var(--accent);
  display: grid; place-items: center; font-weight: 800;
}
.explain h3 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.explain p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.explain-panel {
  margin-top: 16px; border-radius: 16px; padding: 18px;
  background: var(--surface); border: 1px solid var(--line);
}
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-tile {
  height: 62px; border-radius: 10px;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 15px;
}
.mini-tile img { max-height: 34px; max-width: 80%; }

@media (min-width: 860px) {
  .cash-hero h1 { font-size: 44px; }
  .wall { grid-template-columns: repeat(5, 1fr); height: 460px; }
  .mini-grid { grid-template-columns: repeat(6, 1fr); }
}

/* =========================================================
   Sign-up / sign-in sheet
   ========================================================= */
.auth {
  background: radial-gradient(120% 70% at 20% 0%, rgba(34,214,127,.10), transparent 55%), var(--bg);
}
.auth-box { position: relative; }
.auth-head {
  display: flex; align-items: center; justify-content: center;
  position: relative; margin-bottom: 20px;
}
.auth-head h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.auth-close {
  position: absolute; right: -4px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--muted);
}
.auth-close:hover { color: var(--text); border-color: var(--accent); }

.field { position: relative; }
.field > .lead-ico {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
.field input { padding-left: 44px; }
.field.has-toggle input { padding-right: 46px; }
.pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; background: none;
  color: var(--muted); cursor: pointer; display: grid; place-items: center;
}
.pw-toggle:hover { color: var(--text); }

.agree { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 16px 0 4px; }
.agree a { color: var(--accent); font-weight: 600; }

.rules-note {
  margin-top: 18px;
  font-size: 12.5px; line-height: 1.6;
  color: var(--muted); text-align: center;
}

/* profile photo and name editing */
.avatar-xl .edit-badge {
  position: absolute; right: -2px; top: 2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #06210f;
  display: grid; place-items: center;
  border: 3px solid var(--bg);
}
.profile-hero .uname { display: inline-flex; align-items: center; gap: 8px; }
.name-edit {
  background: none; border: 0; cursor: pointer;
  color: var(--accent); padding: 2px; display: grid; place-items: center;
}
.name-edit:hover { opacity: .8; }

/* =========================================================
   Affiliate screens
   ========================================================= */
.sub-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; }
.sub-tabs a {
  flex: none; padding: 11px 18px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--muted); font-size: 15px; font-weight: 600; white-space: nowrap;
}
.sub-tabs a.on { background: rgba(34,214,127,.14); border-color: rgba(34,214,127,.45); color: var(--accent); }

.hint-row { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; color: var(--muted); font-size: 15px; }
.hint-row .ico { color: var(--muted); margin-top: 2px; }

.aff-head { display: flex; gap: 14px; align-items: center; }
.aff-head .name { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.tier-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; margin-top: 6px; color: var(--text);
}
.tier-shield {
  width: 26px; height: 30px; flex: none;
  display: grid; place-items: center;
  color: #06210f; font-size: 11px; font-weight: 800;
  clip-path: polygon(50% 0, 100% 12%, 100% 72%, 50% 100%, 0 72%, 0 12%);
}

.stat-tile { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.stat-tile .box {
  width: 54px; height: 54px; border-radius: 14px; flex: none;
  background: rgba(34,214,127,.14); color: var(--accent);
  display: grid; place-items: center;
}
.stat-tile b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.stat-tile span { color: var(--muted); font-size: 14px; }

.claim-row {
  display: flex; align-items: center; gap: 14px;
  padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line);
}
.claim-row .btn { margin-left: auto; }

.link-box {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 14px;
  font-size: 14px; word-break: break-all; margin-bottom: 10px;
}
.link-actions { display: flex; gap: 10px; }
.link-actions .btn-ghost { flex: none; }
.link-actions .grow { flex: 1; }

/* tier cards */
.tier-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 18px; margin-bottom: 14px;
}
.tier-card.active { border-color: var(--accent); }
.tier-card .tier-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #06210f;
  font-size: 12px; font-weight: 800; letter-spacing: .04em;
  line-height: 1.6;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
  width: auto; height: auto;
  z-index: 2;
}
.tier-top { display: flex; align-items: center; gap: 14px; }
.tier-top .pct { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.tier-req { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.tier-req .label { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.tier-req .line { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.req-dot {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  border: 2px solid var(--line); display: grid; place-items: center;
}
.req-dot.done { background: var(--accent); border-color: var(--accent); color: #06210f; }

/* leaderboard */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 8px; align-items: end; margin: 18px 0 22px; }
.pod {
  border: 1px solid var(--line); border-radius: 16px 16px 22px 22px;
  padding: 16px 8px 22px; text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%);
}
.pod .rank { font-size: 30px; font-weight: 800; line-height: 1; }
.pod .who { font-size: 11.5px; letter-spacing: .06em; margin: 8px 0 6px; color: var(--muted); }
.pod .amt { font-size: 15px; font-weight: 700; }
.pod.p1 { padding-top: 26px; border-color: rgba(224,185,60,.5); background: rgba(224,185,60,.07); }
.pod.p1 .rank, .pod.p1 .who { color: #e0b93c; }
.pod.p2 { border-color: rgba(160,170,190,.4); }
.pod.p2 .rank, .pod.p2 .who { color: #aab3c5; }
.pod.p3 { border-color: rgba(224,120,60,.45); background: rgba(224,120,60,.06); }
.pod.p3 .rank, .pod.p3 .who { color: #e0783c; }

.rank-row {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 16px;
}
.rank-row .n { width: 24px; color: var(--muted); font-weight: 700; }
.rank-row .amt { margin-left: auto; font-weight: 700; }
.rank-row.me { color: var(--accent); }

/* the little earnings chart */
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.chart-head h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.chart-head .range {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 14px; font-size: 14px; color: var(--muted);
}
.chart-total { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 4px; }
.spark { width: 100%; height: 130px; display: block; margin-top: 8px; }
.spark .line { fill: none; stroke: var(--accent); stroke-width: 2; }
.spark .area { fill: rgba(34,214,127,.12); }
.spark .axis { stroke: var(--line); stroke-width: 1; }
.spark text { fill: var(--muted); font-size: 9px; }

/* =========================================================
   Invite panel
   ========================================================= */
.invite-panel {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px 18px; margin-bottom: 18px;
}
.invite-panel > h2 {
  font-size: 25px; font-weight: 800; letter-spacing: -.02em;
  line-height: 1.25; margin: 0 42px 18px 0;
}
.invite-close {
  position: absolute; right: 16px; top: 18px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--muted); display: grid; place-items: center; font-size: 19px;
}
.invite-close:hover { color: var(--text); }

.reward-strip {
  display: grid; grid-template-columns: 1fr 1.2fr 1fr;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.reward-strip .cell {
  padding: 16px 8px; text-align: center;
  border-right: 1px solid var(--line);
  background: var(--surface-2);
}
.reward-strip .cell:last-child { border-right: 0; }
.reward-strip .cell .ico-wrap { color: var(--muted); display: grid; place-items: center; margin-bottom: 8px; }
.reward-strip .cell .cap { color: var(--muted); font-size: 12.5px; }
.reward-strip .cell .amt { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-top: 3px; }
.reward-strip .cell.star {
  background: linear-gradient(180deg, rgba(224,185,60,.18), rgba(224,185,60,.04));
  border-left: 1px solid rgba(224,185,60,.45);
  border-right: 1px solid rgba(224,185,60,.45);
  box-shadow: inset 0 -2px 0 #e0b93c;
}
.reward-strip .cell.star .ico-wrap { color: #e0b93c; }
.reward-strip .cell.star .cap { color: #e0b93c; }
.reward-strip .cell.star .amt { font-size: 22px; }

.invite-body {
  border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 14px 14px;
  padding: 20px 18px;
}
.invite-body h3 { margin: 0 0 12px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.invite-body p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.commission-box {
  margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.commission-box .top {
  position: relative; overflow: hidden;
  padding: 26px 18px; text-align: center;
  background: linear-gradient(140deg, rgba(34,214,127,.16), var(--surface-2));
  font-size: 23px; font-weight: 800; letter-spacing: -.02em;
}
.commission-box .top .pct { color: var(--accent); }
.commission-box .top .note-ico {
  position: absolute; opacity: .18; color: var(--accent);
}
.commission-box .top .note-ico.a { left: -6px; bottom: -8px; transform: rotate(-18deg); }
.commission-box .top .note-ico.b { right: -6px; top: -6px; transform: rotate(14deg); }
.commission-box .bottom { padding: 18px; border-top: 1px solid var(--line); }
.commission-box .bottom h4 { margin: 0 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.commission-box .bottom p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* "How it works" */
.how-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--text); border-radius: 12px;
  padding: 11px 16px; font-size: 15px; font-weight: 600;
  cursor: pointer;
}
.how-btn:hover { border-color: var(--accent); color: var(--accent); }
.how-btn .ico { color: var(--muted); }
.how-btn:hover .ico { color: var(--accent); }
.how-card { font-size: 15px; line-height: 1.7; }
.how-list { margin: 0; padding-left: 20px; color: var(--muted); }
.how-list li { margin-bottom: 10px; }
.how-list li:last-child { margin-bottom: 0; }

/* Promo banners */
.promo-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 14px; margin-bottom: 16px;
}
.promo-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.social-round {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--text); flex: none;
}
.social-round:hover { border-color: var(--accent); color: var(--accent); }
.promo-bar .dl { margin-left: auto; }
.promo-art {
  border-radius: 14px; overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line);
}
.promo-art img { width: 100%; height: auto; display: block; }
.promo-name { color: var(--muted); font-size: 13px; margin-top: 10px; }

/* country flag */
.country-flag, img.country-flag {
  width: 22px; height: 22px; border-radius: 50%;
  object-fit: cover; flex: none;
  border: 1px solid var(--line);
  display: inline-block; vertical-align: middle;
}
.country-flag.flag-text {
  display: inline-grid; place-items: center;
  background: var(--surface-2); color: var(--muted);
  font-size: 9px; font-weight: 800; letter-spacing: .02em;
}
.uname .country-flag, .aff-head .name .country-flag { margin-left: 2px; }

/* =========================================================
   Bonuses: daily streak
   ========================================================= */
.pill-tabs { display: flex; gap: 12px; margin: 4px 0 18px; }
.pill-tabs a {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: clamp(15px, 4.2vw, 19px); font-weight: 700; line-height: 1.2; text-align: center;
}
.pill-tabs a.on { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }
.pill-tabs a .ico { flex: none; }

.streak-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 22px 18px;
}
@media (max-width: 380px) {
  .streak-card { padding: 18px 12px; }
  .streak-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.streak-head {
  text-align: center; font-size: clamp(16px, 4.6vw, 20px);
  font-weight: 700; margin-bottom: 22px;
}
.streak-head b { color: var(--accent); }

.streak-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 6px;
}
.streak-grid .step { text-align: center; min-width: 0; }
.streak-grid .step .d {
  font-size: clamp(12px, 3.4vw, 16px); font-weight: 700; color: var(--muted); white-space: nowrap;
}
.streak-grid .step .a {
  font-size: clamp(12px, 3.4vw, 16px); font-weight: 700; color: var(--muted);
  margin: 2px 0 10px; white-space: nowrap;
}
.streak-grid .step .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface-2); margin: 0 auto;
  display: grid; place-items: center; color: #06210f;
}
.streak-grid .step.now .d, .streak-grid .step.now .a { color: var(--text); }
.streak-grid .step.now .dot { background: var(--accent); }
.streak-grid .step.done .dot { background: var(--accent); opacity: .55; }
.streak-grid .step.last .a { color: var(--warn); }
.streak-grid .step.last .dot { background: var(--warn); }

.streak-progress {
  height: 26px; border-radius: 999px;
  background: var(--surface-2); overflow: hidden; margin: 26px 0 12px;
}
.streak-progress i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.streak-meta { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.streak-meta .amt { font-size: clamp(19px, 6vw, 27px); font-weight: 800; letter-spacing: -.02em; }
.streak-meta .amt em { color: var(--accent); font-style: normal; }
.streak-meta .clock {
  color: var(--muted); font-size: clamp(15px, 4.4vw, 19px);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* bonus codes */
.code-card { text-align: center; padding: 26px 20px; }
.code-card h3 { margin: 0 0 10px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.code-card p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 auto 20px; max-width: 40ch; }
.follow-row { display: flex; justify-content: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.follow-round {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  border: 1px solid var(--line);
}
.follow-round:hover { filter: brightness(1.12); }
.code-field {
  display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: var(--surface-2);
}
.code-field input {
  flex: 1; background: none; border: 0; padding: 15px 16px; font-size: 16px;
}
.code-field input:focus { outline: none; }
.code-field button {
  background: none; border: 0; color: var(--accent);
  font-size: 17px; font-weight: 700; padding: 15px 20px; cursor: pointer;
}
.code-field button:hover { filter: brightness(1.15); }

/* =========================================================
   Hard limits — these come last so nothing above can undo them
   ========================================================= */

/* A logo file with no width of its own is still held to a sensible size. */
.brand img, .footer-brand img, .side-brand img, .lp-header .brand img {
  max-height: 34px; max-width: 190px;
  width: auto; height: auto;
  object-fit: contain;
}
.loader-mark img { width: 84px !important; height: 84px !important; object-fit: contain; }

/* An uploaded photo never escapes its circle, wherever it appears. */
.avatar, .avatar-lg, .avatar-xl { overflow: hidden; }
.avatar-xl { overflow: visible; }
.avatar img, .avatar-lg img, .avatar-xl img, .offer-thumb img, img.avatar, img.avatar-lg {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.offer-thumb img { border-radius: 12px; }
img.avatar    { width: 34px; height: 34px; }
img.avatar-lg { width: 62px; height: 62px; }
.avatar-xl img { width: 92px; height: 92px; }
.country-flag { width: 22px; height: 22px; object-fit: cover; }

/* The streak ladder: each step is its own column, each dot a fixed circle. */
.streak-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 6px; }
.streak-grid .step {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
  text-align: center;
}
.streak-grid .step .d,
.streak-grid .step .a { display: block; margin: 0; line-height: 1.3; }
.streak-grid .step .a { margin-bottom: 8px; }
.streak-grid .step .dot {
  width: 22px; height: 22px;
  min-width: 22px; min-height: 22px;
  flex: none;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}

/* Pick a file, or paste an address */
.image-field { margin-bottom: 4px; }
.image-field input[type=file] { padding: 9px 12px; }
.or-small {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 12px;
  margin: 10px 0 6px;
}
.or-small::before, .or-small::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.image-preview {
  display: flex; align-items: center; gap: 12px;
  margin-top: 10px; padding: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 10px;
}
.image-preview img, .image-preview video {
  max-width: 140px; max-height: 76px;
  width: auto; height: auto;
  border-radius: 6px; background: var(--bg);
}
.image-preview .note { font-size: 12px; color: var(--muted); }
.image-preview.broken { border-color: rgba(255,93,93,.5); }
.image-preview.broken img, .image-preview.broken video { display: none; }
.image-preview.broken .note::after {
  content: ' — that address did not load. Open it in a new tab to check it is public.';
  color: var(--danger);
}

/* The loading mark, drawn as a background so an SVG can never stretch itself
   into an oval no matter what is written inside the file. */
.loader-pic {
  display: block;
  width: 84px; height: 84px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Logo and site name together */
.brand, .footer-brand, .side-brand, .lp-header .brand {
  display: inline-flex; align-items: center; gap: 10px;
}
.brand-pic { width: auto; max-width: 190px; object-fit: contain; flex: none; }
.brand-name { font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.side-brand .brand-name { font-size: 15px; }
.footer-brand .brand-name { font-size: 22px; }
.lp-header .brand .brand-name { font-size: 19px; }

/* Two-step verification */
.setup-key {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px; margin: 4px 0 12px;
}
.setup-key .label { color: var(--muted); font-size: 12.5px; margin-bottom: 8px; }
.setup-key .key {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 18px; letter-spacing: .06em; color: var(--accent);
  word-break: break-all; line-height: 1.7; margin-bottom: 12px;
}
.backup-codes {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  margin: 12px 0 4px;
}
.backup-codes span {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 9px; padding: 11px 12px; text-align: center;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 15px; letter-spacing: .05em;
}
@media (min-width: 520px) { .backup-codes { grid-template-columns: repeat(4, 1fr); } }

/* =========================================================
   Help centre
   ========================================================= */
.help-hero { text-align: center; padding: 26px 0 8px; }
.help-hero h1 {
  font-size: clamp(24px, 6.5vw, 32px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.2; margin: 0 0 10px;
}
.help-hero h1 .em { color: var(--accent); }
.help-hero p { color: var(--muted); font-size: 15px; margin: 0 auto 18px; max-width: 44ch; }

.help-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 4px 6px 4px 14px;
}
.help-search .ico { color: var(--muted); display: grid; place-items: center; flex: none; }
.help-search input {
  flex: 1; min-width: 0; background: none; border: 0;
  padding: 13px 4px; font-size: 15px; color: var(--text);
}
.help-search input:focus { outline: none; }
.help-search button {
  flex: none; background: var(--accent); color: #06210f; border: 0;
  border-radius: 10px; padding: 11px 18px;
  font-size: 14px; font-weight: 700; font-family: inherit; cursor: pointer;
}

.help-tabs { margin-top: 18px; }
.help-tabs a { display: inline-flex; align-items: center; gap: 8px; }

.help-topic {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 10px; overflow: hidden;
}
.help-topic.open { border-color: rgba(34,214,127,.4); }
.help-topic .head { display: flex; align-items: center; gap: 14px; padding: 16px 14px; }
.help-topic .head .ico {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: var(--surface-2); color: var(--accent);
  display: grid; place-items: center;
}
.help-topic .head .body { flex: 1; min-width: 0; }
.help-topic .head strong { display: block; font-size: 16px; font-weight: 700; }
.help-topic .head .count { color: var(--muted); font-size: 12.5px; }
.help-topic .head .chev { color: var(--muted); font-size: 18px; }
.help-topic .list { padding: 0 14px 8px; }
.help-topic .list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 2px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--text);
}
.help-topic .list a:hover { color: var(--accent); }
.help-topic .list .arrow { color: var(--muted); }

.help-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; margin-bottom: 8px;
}
.help-row:hover { border-color: rgba(34,214,127,.4); }
.help-row .ico { color: var(--muted); flex: none; }
.help-row .body { flex: 1; min-width: 0; }
.help-row .body strong { display: block; font-size: 15px; font-weight: 600; }
.help-row .where { color: var(--muted); font-size: 12.5px; }
.help-row .arrow { color: var(--muted); font-size: 20px; }

.crumbs { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin: 18px 0 12px; }
.crumbs a:hover { color: var(--accent); }

.help-article h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; line-height: 1.25; }
.help-article .meta { color: var(--muted); font-size: 12.5px; margin-bottom: 18px; }
.help-article .body {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 18px;
  font-size: 16px; line-height: 1.75;
}

.help-vote {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 0; color: var(--muted); font-size: 14px;
}

.help-ask {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; margin: 22px 0 10px;
}
.help-ask strong { display: block; font-size: 15px; }
.help-ask .btn { margin-left: auto; }

/* the bottom bar with five items instead of four */
.bottom-nav a { flex: 1 1 0; padding-left: 2px; padding-right: 2px; }
.bottom-nav a span, .bottom-nav a { font-size: clamp(10px, 3vw, 12px); }
.bottom-nav a svg { flex: none; }

/* Reviews strip on the landing page */
.review-embed { margin: 4px 0 18px; display: flex; justify-content: center; }
.review-strip {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin: 4px 0 18px; padding: 14px;
  color: var(--muted); font-size: 14.5px; text-align: center;
}
.review-strip:hover { color: var(--text); }
.review-strip strong { color: var(--text); font-weight: 700; }
.review-strip .stars { display: inline-flex; gap: 3px; font-size: 19px; line-height: 1; }
.review-strip .stars .s { color: var(--line); }
.review-strip .stars .s.on { color: var(--accent); }
.review-strip .stars .s.half {
  background: linear-gradient(90deg, var(--accent) 50%, var(--line) 50%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.review-strip .score { font-size: 12.5px; }

/* the three figures on the landing page */
.figure-stack .big {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
}
.fig-ico {
  width: 46px; height: 46px; flex: none;
  border-radius: 14px;
  background: var(--accent-dim, rgba(34,214,127,.14));
  color: var(--accent);
  display: grid; place-items: center;
}

/* a picture, animation or short clip inside a How it works step */
.step-art .step-media {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

/* the payout logos on the landing page, drifting past in a band */
.pay-band {
  margin: 18px 0 4px;
  padding: 20px 0;
  background: var(--surface);
  border-radius: 18px;
  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);
}
.pay-band-track {
  display: flex; align-items: center; gap: 26px;
  width: max-content;
  animation: payDrift 32s linear infinite;
}
.pay-band:hover .pay-band-track { animation-play-state: paused; }
@keyframes payDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 13px)); }
}
.pay-tile {
  flex: none;
  width: 56px; height: 56px;
  display: grid; place-items: center;
}
.pay-tile img {
  max-width: 56px; max-height: 56px;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.pay-tile .mark {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .02em;
}
@media (prefers-reduced-motion: reduce) {
  .pay-band-track { animation: none; }
  .pay-band { overflow-x: auto; }
}

/* live cash outs: picture, country pin, amount, method mark */
.feed-row .who { position: relative; }
.feed-row .who img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block;
}
.feed-row .who .pin {
  position: absolute; right: -3px; bottom: -3px;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
  overflow: hidden;
}
.feed-row .who .pin .country-flag {
  width: 16px; height: 16px; border: 0;
}
.feed-row .mid { flex: 1; min-width: 0; }
.feed-row .via { display: grid; place-items: center; width: 34px; flex: none; }
.feed-row .via img {
  max-width: 30px; max-height: 30px; width: auto; height: auto;
  object-fit: contain; border-radius: 8px;
}
.feed-row .via .dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 10px; font-weight: 800;
}

/* the live list before the first payout has been sent */
.feed-empty {
  background: var(--surface); border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 20px 18px; text-align: center;
}
.feed-empty strong { display: block; font-size: 16px; margin-bottom: 6px; }
.feed-empty p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0 auto 14px; max-width: 44ch; }

/* =========================================================
   Micro jobs
   ========================================================= */
.micro-banner {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(120deg, var(--accent-dim), var(--surface));
  border: 1px solid rgba(34,214,127,.35);
  border-radius: var(--radius); padding: 14px; margin-bottom: 14px;
}
.micro-banner .ico {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--surface-2); color: var(--accent);
  display: grid; place-items: center;
}
.micro-banner .body { min-width: 0; }
.micro-banner strong { display: block; font-size: 15px; }
.mb-pill {
  display: inline-block; background: var(--accent); color: #06210f;
  border-radius: 999px; padding: 2px 8px;
  font-size: 10px; font-weight: 800; letter-spacing: .05em;
  margin-left: 7px; vertical-align: middle;
}
.mb-range {
  display: block; color: var(--accent);
  font-size: 11.5px; font-weight: 700; margin-top: 3px;
}
.micro-banner .arrow { margin-left: auto; color: var(--muted); font-size: 22px; }

/* the three steps of buying a level */
.buy-steps { display: flex; align-items: flex-start; padding: 4px 6px 0; margin: 0 0 18px; }
.buy-steps .st { flex: 1; text-align: center; position: relative; min-width: 0; }
.buy-steps .st .dot {
  width: 26px; height: 26px; border-radius: 50%;
  margin: 0 auto 7px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--muted);
  font-size: 12px; font-weight: 800;
  border: 2px solid var(--line);
  position: relative; z-index: 2;
}
.buy-steps .st.done .dot, .buy-steps .st.now .dot {
  background: var(--accent); border-color: var(--accent); color: #06210f;
}
.buy-steps .st .lb { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.buy-steps .st.now .lb { color: var(--text); font-weight: 700; }
.buy-steps .st::before {
  content: ''; position: absolute; top: 13px; left: -50%;
  width: 100%; height: 2px; background: var(--line); z-index: 1;
}
.buy-steps .st:first-child::before { display: none; }
.buy-steps .st.done::before, .buy-steps .st.now::before { background: var(--accent); }

/* the level cards */
.level-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 8px; margin-bottom: 12px;
}
.level-card {
  position: relative; display: block; text-align: center; min-width: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px 8px 12px;
}
.level-card.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.level-card .ribbon {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  color: #06210f; font-size: 10.5px; font-weight: 800; letter-spacing: .03em;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  max-width: 96%; overflow: hidden; text-overflow: ellipsis;
}
.level-card .price { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.level-card .per { color: var(--muted); font-size: 11px; margin-bottom: 8px; }
.level-card .rule { font-size: 12px; padding: 2px 0; line-height: 1.4; }
.level-card .rule strong { color: var(--accent); }
.level-card .rule.muted { color: var(--muted); font-size: 10.5px; margin-top: 4px; }
@media (min-width: 520px) {
  .level-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .level-card .price { font-size: 25px; }
  .level-card .rule { font-size: 13px; }
}

.pick-summary { display: flex; align-items: center; gap: 12px; }
.pick-summary strong { display: block; font-size: 15.5px; }
.pick-summary .amt { margin-left: auto; color: var(--accent); font-weight: 800; font-size: 19px; }

/* the deposit panel: the amount is the biggest thing on it */
.dep-panel { margin-top: 12px; }
.dep-hero {
  background: var(--surface); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 16px 16px 0 0; padding: 20px 14px 16px; text-align: center;
}
.dep-hero .coin-mark { margin: 0 auto 10px; display: block; }
.dep-amt { font-size: 36px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.dep-sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.dep-sub strong { color: var(--text); }
.dep-foot {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 0 0 16px 16px; padding: 14px;
}
.dep-pill {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 10px;
}
.dep-pill .addr {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px;
  word-break: break-all; line-height: 1.75; color: var(--accent);
}
.warn-note {
  display: flex; gap: 8px; align-items: flex-start;
  color: var(--warn); margin: 10px 0 0; font-size: 12.5px; line-height: 1.6;
}

/* coin marks */
.coin-mark {
  border-radius: 50%; object-fit: cover; flex: none;
  display: inline-grid; place-items: center; vertical-align: middle;
}
.coin-mark.fallback { color: #fff; font-weight: 800; letter-spacing: .02em; }
.coin-chip { display: inline-flex; align-items: center; gap: 8px; }

/* waiting and counting */
.locked-card { text-align: center; }
.locked-card .lock {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 12px;
  background: var(--surface-2); color: var(--accent); display: grid; place-items: center;
}
.locked-card .lock.spin { animation: spinSlow 1.2s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.locked-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.locked-card p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin: 0 auto 12px; max-width: 44ch; }
.locked-card .count {
  font-size: 40px; font-weight: 800; color: var(--accent);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1;
}
.count-bar {
  height: 6px; border-radius: 99px; background: var(--surface-2);
  overflow: hidden; margin: 14px auto 0; max-width: 220px;
}
.count-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width 1s linear; }
.pend-note {
  display: flex; gap: 9px; align-items: flex-start; text-align: left;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px; margin-top: 14px; color: var(--muted); font-size: 12.5px; line-height: 1.6;
}
.pend-note .ico { color: var(--accent); flex: none; }

/* the strip once they are in, and the job pages */
.plan-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--accent-dim); border: 1px solid rgba(34,214,127,.35);
  border-radius: 12px; padding: 11px 14px; margin-bottom: 14px;
  color: var(--accent); font-weight: 600; font-size: 14px;
}
.plan-strip span { display: inline-flex; align-items: center; gap: 8px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 14px; margin: 0 0 12px;
}
.back-link:hover { color: var(--accent); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.job-tags .jt {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 10px; color: var(--muted); font-size: 11.5px;
}
.job-tags .jt .ico { color: var(--accent); }
.job-detail .jd-head { display: flex; gap: 14px; align-items: flex-start; }
.jd-logo { width: 58px; height: 58px; border-radius: 14px; flex: none; background: var(--surface-2); object-fit: cover; }
.job-detail h2 { margin: 0 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.jd-pay { margin-left: auto; text-align: right; color: var(--accent); font-weight: 800; font-size: 19px; flex: none; line-height: 1.2; }
.jd-pay span { display: block; color: var(--muted); font-weight: 600; font-size: 11.5px; }
.job-detail .brief { color: var(--muted); font-size: 14.5px; line-height: 1.75; white-space: pre-line; margin: 16px 0; }

/* the badge a paying member carries */
.vip {
  display: inline-flex; align-items: center; gap: 5px; vertical-align: middle;
  background: rgba(34,214,127,.14);
  border: 1px solid var(--vip, var(--accent));
  color: var(--vip, var(--accent));
  border-radius: 999px; padding: 2px 9px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  margin-left: 6px; white-space: nowrap;
}
.vip .ico { color: var(--vip, var(--accent)); }
.vip-big { font-size: 12px; padding: 5px 12px; }

/* Files attached to a support ticket */
.attach-pic {
  display: block; margin-top: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
.attach-pic img { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.attach-pic span {
  display: block; padding: 8px 12px;
  color: var(--muted); font-size: 12px;
}
.attach-pic:hover span { color: var(--accent); }
.attach-file {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 14px; font-size: 13.5px;
}
.attach-file:hover { border-color: var(--accent); color: var(--accent); }

/* The page a suspended member sees */
.suspend-card { text-align: center; margin-top: 30px; }
.suspend-card .mark {
  width: 62px; height: 62px; border-radius: 18px; margin: 0 auto 14px;
  background: rgba(255,93,93,.12); color: var(--danger);
  display: grid; place-items: center;
}
.suspend-card h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.suspend-card .who { color: var(--muted); font-size: 13.5px; margin: 0 0 18px; }
.suspend-card .reason {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px; text-align: left; margin-bottom: 14px;
}
.suspend-card .reason .label {
  display: block; color: var(--muted); font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px;
}
.suspend-card .reason p { margin: 0; font-size: 15px; line-height: 1.65; }

/* Identity checks */
.kyc-card { text-align: center; }
.kyc-card .mark {
  width: 58px; height: 58px; border-radius: 16px; margin: 0 auto 12px;
  background: var(--accent-dim); color: var(--accent);
  display: grid; place-items: center;
}
.kyc-card h1 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; }
.kyc-card .lead { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin: 0; }
.kyc-files { display: grid; gap: 10px; margin-top: 6px; }

/* the bar an admin sees while looking through a member's eyes */
.viewing-bar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--danger); color: #fff;
  padding: 9px 14px; font-size: 13px; font-weight: 600;
}
.viewing-bar a {
  margin-left: auto; background: rgba(0,0,0,.25); color: #fff;
  border-radius: 8px; padding: 6px 12px; font-size: 12.5px;
}
