*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #080910;
  --bg-card: #171727;
  --bg-item: rgba(255, 255, 255, 0.04);
  --teal: #2DE2A6;
  --teal-light: #2DE2A6;
  --teal-glow: rgba(45, 226, 166, 0.22);
  --wa: #25d366;
  --wa-teal: #128c7e;
  --wa-deep: #075e54;
  --gold: #F6C453;
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-faint: #64748B;
  --btn-bg: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --up: #2DE2A6;
  --down: #EF4444;
  --indigo: #635BFF;
  --violet: #8B5CF6;
  --mint: #2DE2A6;
  --radius: 24px;
  --tr: 0.25s cubic-bezier(0.4,0,0.2,1);
  --font: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --app-max: 430px;
  --cta: linear-gradient(90deg, #2DE2A6 0%, #34D399 100%);
  --premium: linear-gradient(145deg, rgba(7,81,70,0.96), rgba(10,31,35,0.98));
  --indigo-grad: linear-gradient(135deg, #635BFF 0%, #8B5CF6 100%);
}

html { background: var(--bg-dark); }
html, body { background: var(--bg-dark); }
body {
  color: var(--text-main);
  font-family: var(--font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(99, 91, 255, 0.22), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(45, 226, 166, 0.1), transparent 24%),
    linear-gradient(180deg, #11101f 0%, #080910 100%);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }

header {
  width: 100%; max-width: var(--app-max);
  padding: 14px 16px 12px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
  position: sticky; top: 0; z-index: 40;
  background: rgba(8,9,16,.85);
  border-bottom: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
header.is-away {
  transform: translateY(-110%);
}
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.logo-icon { width: 40px; height: 40px; flex-shrink: 0; }
.logo-icon svg, .logo-icon img { width: 40px; height: 40px; object-fit: cover; border-radius: 10px; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700; letter-spacing: .5px;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo-text span { color: var(--mint); }
.hdr-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.hdr-msaada {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  cursor: pointer;
}
.hdr-msaada:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.hdr-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: #cbd5e1;
}

.bal-card {
  flex: 1; max-width: 120px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 8px 12px;
  display: flex; flex-direction: column; gap: 2px;
  cursor: pointer;
}
.bal-lbl { font-size: .58rem; font-weight: 800; letter-spacing: .4px; color: rgba(255,255,255,.38); text-transform: uppercase; }
.bal-val { font-family: var(--font-display); font-size: .82rem; font-weight: 700; color: #fff; }
.bal-val span { font-size: .68rem; font-weight: 600; color: rgba(255,255,255,.45); margin-right: 2px; }

.hero {
  width: 100%; max-width: var(--app-max);
  margin: 0; padding: 28px 24px 32px;
  background: linear-gradient(135deg, #0d4a43 0%, #0a2e29 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,200,180,0.12) 0%, transparent 70%);
}
.hero-label {
  font-size: .72rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--teal-light); opacity: .85; margin-bottom: 6px;
  position: relative;
}
.hero-title {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 700;
  color: #fff; line-height: 1.2; position: relative;
}
.hero-title span { color: var(--gold); }
.hero-sub { font-size: .82rem; color: rgba(255,255,255,.5); margin-top: 6px; position: relative; }

.hero-slider {
  width: calc(100% - 32px);
  max-width: calc(var(--app-max) - 32px);
  margin: 12px 16px 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}
.hero-track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.hero-slider .hero {
  min-width: 100%;
  flex-shrink: 0;
  max-width: none;
  text-decoration: none;
  color: inherit;
  display: block;
  padding-bottom: 42px;
}
.hero-slider .slide-gold {
  background: linear-gradient(135deg, #3a2e0a 0%, #1a1608 100%);
}
.hero-slider .slide-gold::before {
  background: radial-gradient(ellipse at 20% 50%, rgba(245,197,24,0.18) 0%, transparent 70%);
}
.hero-slider .slide-purple {
  background: linear-gradient(135deg, #3a1a45 0%, #1a0e22 100%);
}
.hero-slider .slide-purple::before {
  background: radial-gradient(ellipse at 20% 50%, rgba(186,104,200,0.18) 0%, transparent 70%);
}
.hero-slider .slide-mnada {
  background: linear-gradient(135deg, #3a3210 0%, #1c1808 100%);
}
.hero-slider .slide-mnada::before {
  background: radial-gradient(ellipse at 20% 50%, rgba(245,197,24,0.16) 0%, transparent 70%);
}
.hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  display: flex; justify-content: center; gap: 6px;
  z-index: 2;
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.28); border: none; padding: 0; cursor: pointer;
}
.hero-dot.on {
  background: #fff;
  width: 18px; border-radius: 6px;
}

.actions {
  width: 100%; max-width: var(--app-max);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; padding: 14px 16px 0;
  animation: fadeUp .5s ease .1s both;
}
.action-btn {
  background: var(--cta); border: none; border-radius: 16px;
  padding: 12px 8px 10px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr);
  box-shadow: 0 8px 24px rgba(45,226,166,.18);
  position: relative; overflow: hidden; color: #052e24;
}
.action-btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
}
.action-btn:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,137,123,.4); }
.action-btn.on {
  background: linear-gradient(135deg, #1aa392, var(--teal));
  box-shadow: 0 0 0 2px rgba(255,255,255,.22), 0 4px 16px rgba(0,137,123,.35);
}
.action-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
}
.action-icon svg { width: 22px; height: 22px; display: block; }
.action-label { font-size: .72rem; font-weight: 800; letter-spacing: .2px; text-align: center; line-height: 1.2; }

.page-body { width: 100%; max-width: var(--app-max); flex: 1; padding-bottom: 20px; }
body.is-logged .page-body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.section-title {
  width: 100%; padding: 16px 16px 10px;
  font-size: .68rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted);
}

.product-list {
  width: 100%; padding: 0 16px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}
.product-grid .empty-state { grid-column: 1 / -1; }

.shop-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: fadeUp .4s ease both;
}
.shop-photo {
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: #121616;
  overflow: hidden;
}
.shop-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shop-name {
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 8px 10px 0;
  min-height: 0;
}
.shop-price {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--teal-light);
  margin: 4px 10px 0;
}
.shop-btn {
  width: calc(100% - 20px);
  margin: 8px 10px 10px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px;
  font-size: .75rem;
  font-weight: 800;
  cursor: pointer;
}
.shop-btn:hover { background: var(--teal-light); }
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; position: relative;
  animation: fadeUp .4s ease both;
}
.product-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
}
.product-card.up::before { background: var(--up); }
.product-card.down::before { background: var(--down); }
.product-card.stable::before { background: var(--text-muted); }

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(17,18,19,.88) 100%);
}
.img-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12); color: #fff;
  font-size: .62rem; font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px;
}
.product-body { padding: 14px 16px 16px; }
.product-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.price-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.price-lbl { font-size: .62rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.price-old { font-size: .78rem; color: var(--text-muted); text-decoration: line-through; }
.price-new { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.price-new.up { color: var(--up); }
.price-new.down { color: var(--down); }
.price-new.stable { color: var(--teal-light); }
.price-currency { font-size: .75rem; margin-right: 4px; color: var(--text-muted); }
.change-pct {
  font-size: .78rem; font-weight: 800; padding: 4px 8px; border-radius: 8px;
}
.change-pct.up { color: var(--up); background: rgba(0,200,83,.1); }
.change-pct.down { color: var(--down); background: rgba(229,57,53,.1); }
.card-divider { height: 1px; background: var(--border); margin: 12px 0; }
.invest-row { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.edit-btn {
  background: #111; border: 2px solid var(--teal); color: #fff;
  border-radius: 10px; padding: 10px 12px; font-weight: 800; font-size: .82rem;
}
input.edit-btn { flex: 1; min-width: 120px; outline: none; }
button.edit-btn { background: var(--teal); cursor: pointer; border: none; }
button.edit-btn.gold { background: transparent; color: var(--gold); border: 1px solid rgba(245,197,24,.3); width: 100%; margin-top: 8px; }
.meta-lbl { font-size: .62rem; color: var(--text-muted); }
.meta-val { font-size: .8rem; font-weight: 700; }

.bottom-nav {
  width: 100%; max-width: var(--app-max);
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: rgba(8,9,16,.96);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 4px;
  min-height: 68px;
  padding: 8px 8px calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.bottom-nav.is-away {
  transform: translateX(-50%);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--text-faint); font-size: .72rem; font-weight: 700; letter-spacing: 0;
  min-height: 48px; min-width: 0; flex: 1; text-align: center;
  line-height: 1.15;
  padding: 4px 2px;
}
.nav-item.active { color: var(--mint); }
.nav-item svg { width: 22px; height: 22px; flex-shrink: 0; }

.download-app-btn {
  width: calc(100% - 32px); max-width: calc(var(--app-max) - 32px);
  margin: 8px 16px 18px;
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #1a1c1e, #151a1a);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 14px 16px; color: inherit;
}
.dab-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(0,137,123,.15); color: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
}
.dab-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.dab-sub { font-size: .62rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal-light); }
.dab-main { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.dab-arrow {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(0,137,123,.12); color: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
}

.modal-overlay, .chat-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.72);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px 16px;
  z-index: 1000;
}
.modal-overlay.open, .chat-modal-overlay.open {
  display: flex;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal, .chat-modal {
  width: 100%;
  max-width: min(420px, calc(100vw - 32px));
  max-height: min(88vh, 720px);
  overflow: auto;
  background: #171727;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  transform: none;
  transition: none;
}
.chat-modal-overlay.open .chat-modal,
.modal-overlay.open .modal { transform: none; }
.modal-handle { display: none; }

.modal { padding: 28px 20px 24px; position: relative; }
.modal-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.funds-modal { text-align: center; }
.funds-ico {
  width: 56px; height: 56px; margin: 8px auto 14px;
  border-radius: 50%;
  background: rgba(229,57,53,.14); color: #ef9a9a;
  display: flex; align-items: center; justify-content: center;
}
.funds-modal .hs-simple { text-align: left; margin: 14px 0 18px; }
.funds-modal .pay-cta { display: block; text-align: center; text-decoration: none; }
.auth-tabs {
  display: flex;
  gap: 6px;
  margin: 4px 40px 16px 0;
  padding: 4px;
  background: #111213;
  border: 1px solid #2a3030;
  border-radius: 12px;
}
.auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 10px;
  padding: 10px 6px;
  font-size: .75rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.auth-tab.on {
  background: var(--cta);
  color: #052e24;
}
.modal-sub { font-size: .8rem; color: var(--text-muted); margin-bottom: 18px; }
.field-group { display: none; margin-bottom: 12px; }
.field-label {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .4px;
  color: var(--text-muted);
  margin: 0 0 6px 2px;
}
.modal-input {
  width: 100%; background: transparent; border: none;
  padding: 14px 14px 14px 0; color: var(--text-main); font-size: .95rem; margin: 0; outline: none;
}
.field-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0 12px;
}
.field-wrap:focus-within { border-color: rgba(45,226,166,.6); }
.field-icon {
  color: var(--teal-light);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.modal-confirm {
  width: 100%; background: var(--cta); color: #052e24; border: none; border-radius: 16px;
  min-height: 52px; padding: 15px; font-size: 1rem; font-weight: 800; cursor: pointer; letter-spacing: .4px;
}
.modal-confirm:hover { background: var(--teal-light); }
.modal-close {
  position: absolute; top: 18px; right: 18px; background: #222; border: none;
  color: var(--text-muted); width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
}
.modal-success { color: var(--up); font-size: .85rem; margin-top: 10px; font-weight: 700; }
.modal-error { color: var(--down); font-size: .85rem; margin-top: 10px; font-weight: 700; }

.percent-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pct-btn {
  flex: 1; min-width: 28%; background: #151818; border: 1px solid #2a3030;
  color: var(--text-muted); border-radius: 10px; padding: 10px 6px;
  font-weight: 800; cursor: pointer;
}
.pct-btn.active { color: var(--gold); border-color: var(--gold); background: #1a1810; }

.chat-fab {
  position: fixed; right: 18px; bottom: 96px; width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--wa));
  border: none; color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 6px 22px rgba(18,140,126,.42); z-index: 500;
  transition: bottom .28s cubic-bezier(.4, 0, .2, 1);
}
body.is-guest .chat-fab { bottom: 22px; }
body.chrome-away.is-logged .chat-fab { bottom: 22px; }

.pwa-fab {
  position: fixed;
  left: 16px;
  bottom: 96px;
  z-index: 490;
  height: 48px;
  max-width: min(168px, calc(50vw - 40px));
  padding: 0 12px 0 8px;
  border: 0;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  display: none;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(0,137,123,.4);
  pointer-events: auto;
  transition: bottom .28s cubic-bezier(.4, 0, .2, 1);
}
.pwa-fab:not([hidden]) { display: inline-flex; animation: pwaPulse 2.4s ease-in-out infinite; }
@keyframes pwaPulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(0,137,123,.4); }
  50% { box-shadow: 0 6px 22px rgba(0,137,123,.4), 0 0 0 6px rgba(38,166,154,.22); }
}
body.is-guest .pwa-fab,
body.chrome-away.is-logged .pwa-fab { bottom: 22px; }
body.pwa-installed .pwa-fab,
body.pwa-installed .pwa-tip { display: none !important; }
.pwa-fab-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pwa-fab-ico svg { width: 16px; height: 16px; display: block; }
.pwa-tip {
  position: fixed;
  left: 16px;
  bottom: 154px;
  z-index: 491;
  width: min(240px, calc(100vw - 100px));
  padding: 12px 12px 10px;
  border-radius: 14px;
  background: #1a1c1e;
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(0,0,0,.4);
  color: var(--text);
  pointer-events: auto;
}
body.is-guest .pwa-tip,
body.chrome-away.is-logged .pwa-tip { bottom: 80px; }
.pwa-tip p { margin: 0 0 10px; font-size: .78rem; line-height: 1.4; }
.pwa-tip-ok {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  background: var(--teal);
  color: #fff;
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
  cursor: pointer;
}
body.pwa-prompt.is-guest .page-body { padding-bottom: 86px; }
body.pwa-prompt.is-logged .page-body { padding-bottom: 148px; }
.chat-modal { height: min(80vh, 640px); max-height: min(80vh, 640px); display: flex; flex-direction: column; overflow: hidden; }
.chat-header {
  padding: 16px 18px; display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--wa-deep) 0%, #0a2e29 58%, #0d3d38 100%);
  flex-shrink: 0;
}
.chat-header-left { display: flex; align-items: center; gap: 12px; }
.chat-avatar-online { position: relative; }
.chat-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--wa));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #fff;
}
.chat-online-dot {
  position: absolute; bottom: 1px; right: 1px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--wa); border: 2px solid var(--wa-deep);
}
.chat-header-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #fff; }
.chat-header-status { font-size: .67rem; font-weight: 700; color: var(--wa); }
.chat-close-btn {
  width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15); color: #fff; cursor: pointer;
}
.chat-messages { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; background: #0e1413; }
.chat-date-divider { text-align: center; font-size: .62rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); padding: 8px 0; }
.chat-welcome {
  display: flex; gap: 10px;
  background: linear-gradient(135deg, rgba(18,140,126,.16), rgba(37,211,102,.07));
  border: 1px solid rgba(18,140,126,.32);
  border-radius: 12px; padding: 12px 14px;
}
.chat-welcome-text { font-size: .78rem; color: #9fe8c9; line-height: 1.6; font-weight: 600; word-break: break-word; }
.chat-welcome-link {
  color: var(--wa);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 800;
}
.chat-msg { display: flex; max-width: 85%; }
.chat-msg.incoming { align-self: flex-start; }
.chat-msg.outgoing { align-self: flex-end; }
.chat-bubble {
  padding: 10px 12px; border-radius: 14px; font-size: .82rem; line-height: 1.45;
  white-space: pre-wrap;
}
.chat-msg.incoming .chat-bubble { background: #1a2422; border: 1px solid #2a3c38; }
.chat-msg.incoming .chat-bubble a.chat-welcome-link { display: inline; word-break: break-all; }
.chat-msg.outgoing .chat-bubble { background: linear-gradient(135deg, var(--teal), var(--wa-teal)); color: #fff; }
.chat-input-area { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #1b2a27; align-items: flex-end; background: #0c1211; }
.chat-input-wrap { flex: 1; }
.chat-textarea {
  width: 100%; background: #111816; border: 1px solid #243330; border-radius: 12px;
  padding: 10px 12px; color: #fff; resize: none; outline: none; min-height: 42px;
}
.chat-textarea:focus { border-color: var(--wa-teal); }
.chat-send-btn {
  width: 42px; height: 42px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, var(--teal), var(--wa));
  color: #fff; font-size: 1.1rem; cursor: pointer;
}
.chat-welcome-icon {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--wa);
  padding-top: 2px;
}
.chat-faq {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid #1b2a27;
  background: #0c1211;
}
.chat-faq button {
  background: #14201d;
  border: 1px solid #2a4a43;
  color: #8fe0c4;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .7rem;
  font-weight: 800;
  cursor: pointer;
}
.chat-faq button:hover { border-color: var(--wa); color: var(--wa); }
.chat-typing { display: flex; gap: 5px; align-items: center; min-width: 46px; }
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--wa-teal);
  animation: chatDot .9s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .15s; background: var(--teal-light); }
.chat-typing span:nth-child(3) { animation-delay: .3s; background: var(--wa); }
@keyframes chatDot {
  0%, 80%, 100% { opacity: .25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
.legal-nav {
  display: flex;
  gap: 8px;
  padding: 14px 16px 4px;
  overflow-x: auto;
}
.legal-nav a {
  flex-shrink: 0;
  background: #141818;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .72rem;
  font-weight: 800;
}
.legal-nav a.on {
  border-color: var(--teal);
  color: var(--teal-light);
  background: rgba(0,137,123,.14);
}
.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 16px 0 6px;
}
.legal-prose p {
  font-size: .84rem;
  line-height: 1.6;
  color: #d5dddd;
  margin: 0 0 10px;
}
.legal-prose a { color: var(--teal-light); font-weight: 800; }
.auth-legal {
  display: none;
  margin: 0 0 12px;
  font-size: .72rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}
.auth-legal a { color: var(--teal-light); font-weight: 800; }
.wk-card .hs-more { margin-top: 8px; }

.k-hero { width: 100%; max-width: var(--app-max); padding: 22px 22px 26px; background: linear-gradient(160deg, #0d4a43, #0a2e29); }
.k-eyebrow { font-size: .75rem; font-weight: 800; color: var(--teal-light); margin-bottom: 6px; }
.amount-label { font-size: .7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 16px 0 8px; }
.amount-row { display: flex; }
.amount-input-wrap {
  flex: 1; display: flex; align-items: center; background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.12); border-radius: 14px; overflow: hidden;
}
.amount-prefix { padding: 0 12px; font-weight: 800; color: var(--gold); }
.amount-input { flex: 1; background: transparent; border: none; color: #fff; padding: 14px 12px 14px 0; font-size: 1.2rem; font-weight: 800; outline: none; }
.result-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.result-label { color: rgba(255,255,255,.55); font-weight: 700; }
.result-amount { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.kadi {
  aspect-ratio: 3/4;
  min-height: 84px;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(245,197,24,.35);
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(245,197,24,.08) 0 6px, transparent 6px 12px),
    linear-gradient(160deg, #1a2224, #101414);
  padding: 0;
  color: inherit;
}
.kadi-back, .kadi-front {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  transition: .35s ease;
}
.kadi-back span {
  width: 28px; height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(245,197,24,.55);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35);
}
.kadi-front {
  opacity: 0;
  background: linear-gradient(160deg, #0e4f47, #082824);
}
.kadi.revealed .kadi-back { opacity: 0; }
.kadi.revealed .kadi-front { opacity: 1; }
.kadi-front small {
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--teal-light);
}
.kadi-front b {
  font-size: .62rem;
  font-weight: 800;
  text-align: center;
  padding: 0 4px;
  line-height: 1.2;
}
.shuffle-btn {
  display: block; width: 100%; margin: 12px 0 0;
  background: transparent; border: 1.5px solid var(--teal); color: var(--teal-light);
  border-radius: 12px; padding: 12px; font-weight: 800; cursor: pointer;
}
.shuffle-btn:hover { background: rgba(0,137,123,.12); }

.spin-stage {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 18px auto 8px;
}
.spin-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  z-index: 3;
  width: 0; height: 0;
  margin-left: -10px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 18px solid var(--gold);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}
.spin-wheel {
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 8px solid #1a1c1e;
  box-shadow: 0 0 0 3px rgba(245,197,24,.55), 0 14px 32px rgba(0,0,0,.35);
  position: relative;
  overflow: hidden;
}
.spin-lab {
  position: absolute;
  left: 50%;
  top: 0;
  width: 28px;
  margin-left: -14px;
  height: 50%;
  transform-origin: 50% 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 16px;
  font-size: .62rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
  pointer-events: none;
}
.spin-lab.retry {
  color: #ffcdd2;
  font-size: .52rem;
  letter-spacing: .4px;
}
.spin-hub {
  position: absolute;
  left: 50%; top: 50%;
  width: 76px; height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: var(--cta);
  color: #fff;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  padding: 0 6px;
  cursor: pointer;
  z-index: 4;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.spin-hub:disabled { opacity: .65; cursor: wait; }
.rules-section { width: calc(100% - 32px); max-width: calc(var(--app-max) - 32px); margin: 8px auto 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.rules-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; cursor: pointer; }
.rules-header-left { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.rules-body { display: none; padding: 0 16px 16px; }
.rules-body.open { display: block; }
.rule-step { display: flex; gap: 12px; margin-bottom: 14px; }
.rule-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; flex-shrink: 0;
}
.rule-title { font-weight: 800; font-size: .85rem; margin-bottom: 4px; }
.rule-desc { font-size: .75rem; color: var(--text-muted); line-height: 1.5; }
.rules-notice {
  background: rgba(245,197,24,.08); border: 1px solid rgba(245,197,24,.25);
  border-radius: 12px; padding: 12px; font-size: .75rem; color: var(--gold);
}
.tickets-empty, .empty-state { text-align: center; padding: 30px 16px; color: var(--text-muted); }
.ticket {
  margin: 0 16px 10px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px; display: flex; justify-content: space-between; align-items: center;
}
.ticket-dau { font-size: .72rem; color: var(--text-muted); }
.ticket-pay { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.badge-paid { color: var(--up); font-size: .68rem; font-weight: 800; background: rgba(0,200,83,.1); padding: 4px 8px; border-radius: 8px; }
.badge-wait { color: #F6C453; font-size: .68rem; font-weight: 800; background: rgba(246,196,83,.10); padding: 4px 10px; border-radius: 9999px; }

.step-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.step-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0;
}
.step-title { font-weight: 800; margin-bottom: 4px; }
.step-detail { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }
.step-highlight { color: var(--gold); font-weight: 800; }
.card-box {
  width: calc(100% - 32px); margin: 16px auto; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 16px; padding: 16px;
}
.net-btns { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.net-btn {
  flex: 1; min-width: 30%; padding: 12px; border-radius: 12px; border: 1px solid var(--border);
  background: #151818; color: #fff; font-weight: 800; cursor: pointer;
}
.net-btn.active { border-color: var(--teal); background: rgba(0,137,123,.15); color: var(--teal-light); }

.account-card {
  width: calc(100% - 32px); margin: 16px auto; background: linear-gradient(135deg, #0d4a43, #0a2e29);
  border-radius: 18px; padding: 22px; text-align: center;
}
.account-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
}
.account-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.account-phone { color: rgba(255,255,255,.5); font-size: .85rem; margin-top: 4px; }
.account-bal { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--gold); margin-top: 12px; }
.list-row {
  width: calc(100% - 32px); margin: 0 auto 8px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.list-row .muted { font-size: .72rem; color: var(--text-muted); }
.tx-in { color: var(--up); font-weight: 800; }
.tx-out { color: var(--down); font-weight: 800; }

.toast {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%) translateY(-80px);
  background: #1e2425; border: 1px solid var(--border); color: #fff;
  padding: 12px 18px; border-radius: 12px; z-index: 2000; font-size: .85rem; font-weight: 700;
  opacity: 0; transition: .3s ease; max-width: 90%; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { border-color: var(--down); color: #ff8a80; }
.toast.ok { border-color: var(--up); color: #69f0ae; }

.inv-hist { padding: 0 16px 12px; display: none; }
.inv-hist.open { display: block; }
.wk-card .inv-hist { padding: 8px 0 0; }

.wk-hero {
  width: calc(100% - 32px);
  max-width: calc(var(--app-max) - 32px);
  margin: 12px 16px 0;
  padding: 22px 20px 18px;
  border-radius: 20px;
  border: 1px solid rgba(38,166,154,.28);
  background:
    radial-gradient(ellipse at 90% 10%, rgba(245,197,24,.16), transparent 50%),
    linear-gradient(145deg, #0e4f47 0%, #082824 100%);
  position: relative;
  overflow: hidden;
}
.wk-hero::after {
  content: '';
  position: absolute;
  width: 160px; height: 160px;
  right: -40px; top: -50px;
  border-radius: 50%;
  background: rgba(38,166,154,.12);
  pointer-events: none;
}
.wk-kicker {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 6px;
}
.wk-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
.wk-title span { color: var(--gold); }
.wk-sub {
  margin: 8px 0 16px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  line-height: 1.45;
}
.wk-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wk-stat {
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 0;
}
.wk-stat > span {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,.55);
  margin-bottom: 6px;
}
.wk-stat strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}
a.wk-stat {
  text-decoration: none;
  color: inherit;
  display: block;
}

.wk-list {
  padding: 0 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wk-card {
  --wk-accent: var(--teal);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0;
  position: relative;
  overflow: hidden;
  animation: fadeUp .4s ease both;
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}
.wk-card:nth-child(2) { animation-delay: .05s; }
.wk-card:nth-child(3) { animation-delay: .1s; }
.wk-card:nth-child(4) { animation-delay: .15s; }
.wk-photo {
  height: 176px;
  position: relative;
  overflow: hidden;
  background: #0a1010;
}
.wk-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wk-photo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.wk-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 28%, rgba(6,10,10,.92) 100%);
  pointer-events: none;
}
.wk-photo-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.wk-photo-caption h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.wk-cat {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #d7fff6;
  background: rgba(0,137,123,.42);
  border: 1px solid rgba(38,166,154,.5);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
}
.wk-body { padding: 12px 14px 14px; }
.wk-body-invest .inv-start {
  margin: 0 0 12px;
  font-size: .82rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.wk-body-invest .inv-start strong {
  color: var(--teal-light);
  font-weight: 800;
}
.wk-body-invest .inv-amt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 12px;
}
.wk-body-invest .inv-faida-col,
.wk-body-invest .inv-amt-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.wk-body-invest .inv-amt-row .pay-lbl {
  display: block;
  margin: 0 0 6px;
  font-size: .68rem;
}
.wk-body-invest .inv-amt-row .pay-amount {
  margin-bottom: 0;
  flex: 1;
  min-height: 48px;
  padding: 0 8px;
}
.wk-body-invest .inv-amt-row .pay-amount span {
  font-size: .68rem;
  padding-right: 8px;
  margin-right: 8px;
}
.wk-body-invest .inv-amt-row .pay-amount input {
  font-size: clamp(.85rem, 4vw, 1.05rem);
  padding: 10px 0;
  min-width: 0;
}
.wk-body-invest .inv-faida-box {
  background: rgba(255,193,7,.08);
  border: 1px solid rgba(255,193,7,.45);
  border-radius: 12px;
  padding: 8px 6px;
  margin-bottom: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 0;
}
.wk-body-invest .inv-faida-box .inv-profit {
  font-family: var(--font-display);
  font-size: clamp(.72rem, 3.6vw, .95rem);
  font-weight: 800;
  color: #ffc107;
  line-height: 1.2;
  text-align: center;
  word-break: break-word;
  max-width: 100%;
}
.wk-body-invest .pay-lbl {
  display: block;
  margin: 0 0 8px;
  font-size: .68rem;
}
.wk-body-invest .inv-durs-card {
  margin-bottom: 12px;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wk-body-invest .inv-durs-card .inv-dur {
  position: relative;
  padding: 12px 10px;
  min-height: 62px;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  color: #94A3B8;
}
.wk-body-invest .inv-durs-card .inv-dur.on {
  border-color: #F6C453;
  background: linear-gradient(160deg, rgba(246,196,83,.28), rgba(246,196,83,.08));
  box-shadow: 0 0 0 2px rgba(246,196,83,.35), 0 8px 20px rgba(246,196,83,.12);
  color: #fff;
}
.wk-body-invest .inv-durs-card .inv-dur.on::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #F6C453;
  color: #080910;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.wk-body-invest .inv-durs-card .inv-dur b {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: .78rem;
  line-height: 1.25;
  text-align: center;
  font-weight: 700;
  color: inherit;
  padding: 0 12px;
}
.wk-body-invest .inv-dur-k {
  font-size: .68rem;
  font-weight: 600;
  color: inherit;
  opacity: .75;
}
.wk-body-invest .inv-dur-hl {
  color: #cbd5e1;
  font-weight: 800;
}
.wk-body-invest .inv-dur.on .inv-dur-hl {
  color: #F6C453;
}
.wk-body-invest .inv-dur-txt small { display: none; }
.wk-body-invest .inv-summary {
  margin: 0 0 14px;
  font-size: .84rem;
  line-height: 1.5;
  color: #d8e0e0;
}
.wk-body-invest .inv-summary strong {
  color: #ffc107;
  font-weight: 800;
}
.pay-amount-sm input { font-size: 1.05rem; }
.hs-card-pro .hs-body { padding-top: 12px; }
.hs-buy-inline { margin-top: 0; }
.hs-eq-card { margin-bottom: 6px; }
.hs-simple-card {
  font-size: .82rem;
  gap: 6px;
  margin-bottom: 8px;
}
.hs-card-hint {
  font-size: .78rem;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.4;
  color: #c8d2d2;
}
.hs-btn-full {
  width: 100%;
  justify-content: center;
}
.wk-card .wk-meta { margin-bottom: 10px; }
.wk-faida {
  background: rgba(245,197,24,.1) !important;
  border-color: rgba(245,197,24,.32) !important;
}
.wk-faida small { color: rgba(245,197,24,.85); }
.wk-faida b { color: var(--gold); }
.inv-hero {
  height: 112px;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 12px;
  background: #0a1010;
}
.inv-hero[hidden] { display: none; }
.inv-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hs-story-chart {
  position: relative;
  height: 148px;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 12px;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(38,166,154,.22), transparent 55%),
    linear-gradient(180deg, #15201e 0%, #0a1010 100%);
  border: 1px solid var(--border);
}
.hs-story-spark {
  width: 100%;
  height: 100%;
  display: block;
}
.hs-range-on {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 8px 12px 10px;
  background: linear-gradient(transparent, rgba(8,12,12,.88));
}
.mkt-modal {
  padding: 8px 18px 28px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.mkt-kicker {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal-light);
  margin: 2px 0 4px;
}
.mkt-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0 8px;
}
.mkt-stats div {
  background: #141818;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}
.mkt-stats small {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.mkt-stats b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #69f0ae;
}
.mkt-spark {
  width: 100%;
  height: 56px;
  display: block;
  margin: 4px 0 12px;
}
.mkt-blurb {
  font-size: .88rem;
  line-height: 1.6;
  color: #d7e0e0;
  margin: 10px 0 12px;
}
.mkt-points {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.mkt-points li {
  position: relative;
  font-size: .84rem;
  line-height: 1.5;
  color: #e2eaea;
  margin-bottom: 8px;
  padding-left: 18px;
}
.mkt-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.mkt-hubs {
  background: #141818;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.mkt-hubs small {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.mkt-hubs b {
  font-size: .78rem;
  font-weight: 700;
  color: var(--teal-light);
}
.mkt-hook {
  background: rgba(0,137,123,.14);
  border: 1px solid rgba(38,166,154,.35);
  border-radius: 12px;
  padding: 12px;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.45;
  color: #e8fffa;
  margin-bottom: 12px;
}
.mkt-hist-title {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 14px 0 8px;
}
.mkt-modal .empty-state { padding: 16px 8px; font-size: .8rem; }
.mkt-modal .pay-cta { margin-top: 4px; }
.inv-modal {
  padding: 8px 18px 24px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
}
.inv-durs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.inv-dur {
  background: #141818;
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 12px;
  padding: 10px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.inv-dur b { font-size: .78rem; font-weight: 800; }
.inv-dur small { font-size: .62rem; font-weight: 800; color: #69f0ae; }
.inv-dur.on {
  border-color: var(--teal);
  background: rgba(0,137,123,.16);
  box-shadow: 0 0 0 1px rgba(0,137,123,.25);
}
.inv-min {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,137,123,.14);
  border: 1px solid rgba(38,166,154,.4);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 8px 0 14px;
}
.inv-min span {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--teal-light);
}
.inv-min strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.wk-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  background: rgba(8,20,16,.72);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}
.wk-card:nth-child(1) .wk-rank,
.wk-card:nth-child(2) .wk-rank,
.wk-card:nth-child(3) .wk-rank {
  color: #111;
  background: var(--gold);
  border-color: rgba(245,197,24,.65);
}
.wk-pct {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  color: #69f0ae;
  background: rgba(8,20,16,.72);
  border: 1px solid rgba(105,240,174,.35);
  border-radius: 999px;
  padding: 5px 10px;
  white-space: nowrap;
}
.wk-card .wk-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.wk-card .wk-meta > div {
  min-width: 0;
}
.wk-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.wk-meta div {
  background: #141818;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}
.wk-meta small {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.wk-meta b {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
}
.wk-lbl {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.wk-amount {
  display: flex;
  align-items: center;
  background: #111213;
  border: 1px solid #2a3030;
  border-radius: 12px;
  padding: 0 12px;
  margin-bottom: 10px;
}
.wk-amount:focus-within { border-color: var(--teal); }
.wk-amount span {
  font-weight: 800;
  color: var(--teal-light);
  font-size: .78rem;
  margin-right: 8px;
}
.wk-amount input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 12px 0;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}
.wk-amount input::-webkit-outer-spin-button,
.wk-amount input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.wk-payout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, rgba(245,197,24,.12), rgba(245,197,24,.03));
  border: 1px solid rgba(245,197,24,.28);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.wk-payout span {
  font-size: .72rem;
  font-weight: 800;
  color: rgba(245,197,24,.75);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.wk-payout strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
}
.wk-cta {
  width: 100%;
  background: linear-gradient(90deg, #F6C453, #facc15);
  color: #080910;
  border: none;
  border-radius: 16px;
  min-height: 52px;
  padding: 13px;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
}
.wk-cta:hover { filter: brightness(1.08); }
.wk-hist-btn {
  width: 100%;
  margin-top: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 800;
  cursor: pointer;
  padding: 6px;
}
.wk-hist-btn:hover { color: var(--teal-light); }
.wk-card .inv-hist { padding: 8px 0 0; }

.dash-hero {
  width: calc(100% - 32px);
  max-width: calc(var(--app-max) - 32px);
  margin: 12px 16px 0;
  padding: 22px 20px 18px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--premium);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.dash-kicker {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 4px;
}
.dash-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}
.dash-sub {
  margin: 6px 0 16px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}
.dash-balance {
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 12px 14px;
}
.dash-balance > span {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: 4px;
}
.dash-balance strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold);
}
.dash-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.dash-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cta);
  color: #052e24;
  border: 0;
  border-radius: 12px;
  padding: 12px 10px;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
}
.dash-btn-out {
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(245,197,24,.45);
  color: var(--gold);
}
.dash-btn-share {
  gap: 8px;
  background: linear-gradient(135deg, #1fa855, #25d366);
  color: #fff;
  border: 0;
}
.dash-btn-dl {
  gap: 8px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  border: 0;
  font: inherit;
  cursor: pointer;
  width: 100%;
}
.dash-btn-share svg,
.dash-btn-dl svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.dash-btn-full {
  grid-column: 1 / -1;
}
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 16px 8px;
}
.dash-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
}
.dash-stat > span {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.dash-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
}
.dash-stat small {
  display: block;
  margin-top: 4px;
  font-size: .68rem;
  color: var(--text-muted);
}
.dash-stat-lead {
  margin: 0;
  font-size: .82rem;
  line-height: 1.45;
  color: #d0d8d8;
  font-weight: 500;
}
.dash-stat-lead b {
  color: #fff;
  font-weight: 800;
}
.dash-stat-gold .dash-stat-lead b { color: #f5c518; }
.dash-stat-teal .dash-stat-lead b { color: #e0fffa; }
.dash-stat-blue .dash-stat-lead b { color: #bbdefb; }
.dash-stat-green .dash-stat-lead b { color: #a5f5c8; }
.dash-stat-purple .dash-stat-lead b { color: #e1bee7; }
.dash-cert-slider {
  width: calc(100% - 32px);
  max-width: calc(var(--app-max) - 32px);
  margin: 0 auto 20px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(45,226,166,.2);
  background:
    linear-gradient(135deg, rgba(45,226,166,.07), transparent 45%),
    linear-gradient(145deg, rgba(23,23,39,.96), rgba(8,9,16,.98));
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}
.dash-cert-track {
  display: flex;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.dash-cert-slide {
  min-width: 100%;
  flex-shrink: 0;
  padding: 16px 16px 28px;
  box-sizing: border-box;
}
.dash-cert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.dash-cert-who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.dash-cert-shield {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(45,226,166,.15);
  color: #2DE2A6;
  box-shadow: inset 0 0 0 1px rgba(45,226,166,.2);
  flex-shrink: 0;
}
.dash-cert-who div { min-width: 0; }
.dash-cert-who strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-cert-who span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #64748B;
}
.dash-cert-ok {
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid rgba(45,226,166,.2);
  background: rgba(45,226,166,.1);
  color: #2DE2A6;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  white-space: nowrap;
}
.dash-cert-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: #f1f5f9;
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
  min-height: 240px;
  max-height: min(52vh, 416px);
}
.dash-cert-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: min(48vh, 400px);
  object-fit: contain;
  background: #fff;
}
.dash-cert-ref {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 14px;
}
.dash-cert-ref small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748B;
}
.dash-cert-ref b {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  color: #cbd5e1;
}
.dash-cert-nav {
  position: absolute;
  top: 58%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(8,9,16,.75);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 3px;
  backdrop-filter: blur(8px);
}
.dash-cert-prev { left: 22px; }
.dash-cert-next { right: 22px; }
.dash-cert-nav:active { transform: translateY(-50%) scale(.94); }
.dash-cert-dots {
  position: absolute;
  right: 16px;
  bottom: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  z-index: 2;
}
.dash-cert-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255,255,255,.2);
  border: none;
  padding: 0;
  cursor: pointer;
}
.dash-cert-dot.on {
  background: #2DE2A6;
  width: 24px;
}
.dash-stat-teal {
  background: linear-gradient(160deg, rgba(0,137,123,.28), #141618 70%);
  border-color: rgba(38,166,154,.4);
}
.dash-stat-teal span { color: var(--teal-light); }
.dash-stat-gold {
  background: linear-gradient(160deg, rgba(245,197,24,.18), #141618 70%);
  border-color: rgba(245,197,24,.35);
}
.dash-stat-gold span { color: #f5c518; }
.dash-stat-purple {
  background: linear-gradient(160deg, rgba(171,71,188,.22), #141618 70%);
  border-color: rgba(186,104,200,.35);
}
.dash-stat-purple span { color: #ce93d8; }
.dash-stat-green {
  background: linear-gradient(160deg, rgba(31,168,85,.22), #141618 70%);
  border-color: rgba(69,240,174,.28);
}
.dash-stat-green span { color: #69f0ae; }
.dash-stat-blue {
  background: linear-gradient(160deg, rgba(30,107,191,.24), #141618 70%);
  border-color: rgba(100,181,246,.35);
}
.dash-stat-blue span { color: #90caf9; }
a.dash-stat-action {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
a.dash-stat-action:active { transform: scale(.98); }
a.dash-stat-action:hover {
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.dash-row {
  width: calc(100% - 32px);
  margin: 0 auto 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.dash-row.inv-card {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.inv-facts {
  margin-top: 6px;
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.inv-facts b { color: #fff; font-weight: 700; }
.inv-facts .inv-faida { color: var(--gold); }
.hs-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hs-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}
.hs-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.hs-btn-buy {
  background: var(--cta);
  color: #052e24;
}
.hs-btn-buy:hover { filter: brightness(1.08); }
.hs-btn-sell {
  background: rgba(245,197,24,.1);
  color: var(--gold);
  border-color: rgba(245,197,24,.42);
}
.hs-btn-sell:hover {
  background: rgba(245,197,24,.16);
  border-color: var(--gold);
}
.hs-btn-lock {
  background: var(--bg-item);
  color: var(--gold);
  border-color: rgba(245,197,24,.18);
  cursor: default;
  font-size: .75rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.hs-btn-wide {
  width: calc(100% - 32px);
  margin: 8px auto 16px;
  display: flex;
}
.dash-row-title {
  font-size: .88rem;
  font-weight: 800;
}
.dash-row-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.dash-row-right b {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--gold);
}
.claim-btn {
  background: var(--cta);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}
.mine-btn {
  width: calc(100% - 32px);
  max-width: calc(var(--app-max) - 32px);
  margin: 0 auto 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(38,166,154,.38);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(245,197,24,.16), transparent 52%),
    linear-gradient(145deg, #0f5c52 0%, #0a3d38 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}
.mine-btn:hover {
  border-color: rgba(38,166,154,.6);
  filter: brightness(1.06);
}
.mine-btn-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mine-btn-ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.mine-btn-ico svg { width: 22px; height: 22px; }
.mine-btn-text { flex: 1; min-width: 0; text-align: left; }
.mine-btn-text small {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 2px;
}
.mine-btn-text b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.mine-btn-go {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mine-btn-go svg { width: 18px; height: 18px; }
.mine-btn-copy {
  display: block;
  font-size: .78rem;
  line-height: 1.4;
  color: rgba(255,255,255,.62);
  text-align: left;
}
.mine-btn-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mine-btn-stats span {
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 10px;
  text-align: left;
}
.mine-btn-stats em {
  display: block;
  font-style: normal;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: 3px;
}
.mine-btn-stats strong {
  font-family: var(--font-display);
  font-size: .95rem;
}
.dash-empty {
  width: calc(100% - 32px);
  margin: 0 auto 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: .82rem;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 18px 12px;
}
.dash-more {
  display: block;
  width: calc(100% - 32px);
  margin: 4px auto 20px;
  text-align: center;
  font-size: .78rem;
  font-weight: 800;
  color: var(--teal-light);
  padding: 8px;
}
.inv-row {
  display: flex; justify-content: space-between; align-items: center;
  background: #151818; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 6px; font-size: .78rem;
}

.pay-hero {
  width: calc(100% - 32px);
  max-width: calc(var(--app-max) - 32px);
  margin: 20px 16px 0;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--premium);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.pay-kicker {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 4px;
}
.pay-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}
.pay-title span { color: var(--gold); }
.pay-sub {
  margin: 6px 0 16px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}
.pay-bal {
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 12px 14px;
}
.pay-bal > span {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: 4px;
}
.pay-bal strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}
.pay-card {
  width: calc(100% - 32px);
  margin: 14px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}
.pay-card[hidden] { display: none !important; }
.pay-card h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 12px;
}
.pay-lbl {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.pay-amount {
  display: flex;
  align-items: center;
  min-height: 56px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0 12px;
  margin-bottom: 10px;
}
.pay-amount:focus-within { border-color: rgba(45,226,166,.6); }
.pay-amount span {
  font-weight: 800;
  color: var(--teal-light);
  font-size: .78rem;
  padding-right: 12px;
  margin-right: 12px;
  border-right: 1px solid #3a4544;
  line-height: 1.2;
}
.pay-amount input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 12px 0;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
}
.pay-amount input::-webkit-outer-spin-button,
.pay-amount input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.pay-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}
.pay-chips button {
  background: #141818;
  border: 1px solid var(--border);
  color: var(--text-main);
  border-radius: 10px;
  padding: 8px 4px;
  font-size: .68rem;
  font-weight: 800;
  cursor: pointer;
}
.pay-chips button:hover { border-color: var(--teal); color: var(--teal-light); }
.pay-nets {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.pay-net {
  background: #141818;
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 14px;
  padding: 10px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.pay-net b {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  background: #222;
}
.pay-net span {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1px;
}
.pay-net:nth-child(1) b { background: #00a651; color: #fff; }
.pay-net:nth-child(2) b { background: #0b63ce; color: #fff; }
.pay-net:nth-child(3) b { background: #e4002b; color: #fff; }
.pay-net.active {
  border-color: var(--teal);
  background: rgba(18,184,166,.08);
}
.po-dd {
  position: relative;
  margin-bottom: 14px;
  z-index: 5;
}
.po-dd-trig {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: #141818;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}
.po-dd.open .po-dd-trig { border-color: var(--teal); }
.po-dd-trig span { min-width: 0; }
.po-dd-trig strong, .po-acc-main strong { display: block; font-size: .95rem; }
.po-dd-trig small, .po-acc-main small { display: block; color: var(--text-muted); font-size: .78rem; margin-top: 2px; }
.po-dd-trig .po-logo,
.po-acc-main .po-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.po-caret {
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #8a9595;
  border-bottom: 2px solid #8a9595;
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.po-dd.open .po-caret { transform: rotate(225deg) translate(-1px, 1px); }
.po-dd-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #161a1a;
  border: 1px solid var(--border);
  border-radius: 14px;
  z-index: 50;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.po-dd.open .po-dd-menu { display: block; }
.po-list { display: grid; gap: 8px; margin-bottom: 8px; }
.po-acc {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 8px 10px 8px 8px;
  color: inherit;
}
.po-acc-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  padding: 4px 4px 4px 2px;
  cursor: pointer;
  font-family: inherit;
}
.po-acc-main span { min-width: 0; }
.po-ico {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: rgba(18,184,166,.12);
  color: var(--teal-light);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.po-ico svg { width: 15px; height: 15px; }
.po-ico.del {
  background: rgba(229, 57, 53, .12);
  color: #ef9a9a;
}
.po-acc.active { background: rgba(18,184,166,.08); }
.po-dd-add {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--teal-light);
  padding: 13px 12px;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.po-acc .po-logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.po-acc .po-logo svg { width: 100%; height: 100%; display: block; }
.po-dd-trig .po-logo svg,
.po-acc-main .po-logo svg { width: 100%; height: 100%; display: block; }
.po-empty { text-align: center; padding: 32px 16px 22px; }
.po-empty-ico {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: rgba(0,137,123,.14);
  color: var(--teal-light);
  display: grid; place-items: center;
}
.po-empty-ico svg { width: 26px; height: 26px; }
.po-empty h2 { margin-bottom: 6px; font-size: 1.05rem; }
.po-empty .pay-hint { margin-bottom: 18px; }
.po-nets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.po-net {
  background: #141818;
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 14px;
  padding: 12px 6px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.po-net .po-logo { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; }
.po-net .po-logo svg,
.po-net .po-logo img,
.po-acc .po-logo svg,
.po-acc .po-logo img { width: 100%; height: 100%; display: block; }
.po-net span { font-size: .72rem; font-weight: 800; text-align: center; line-height: 1.2; }
.po-net:hover { border-color: rgba(0,137,123,.45); }
.po-net.active {
  border-color: var(--teal);
  background: rgba(0,137,123,.12);
  box-shadow: 0 0 0 1px rgba(0,137,123,.25);
}
.po-modal {
  padding: 8px 18px 28px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.po-modal .modal-title { margin-top: 8px; }
.po-modal .pay-cta { margin-top: 12px; }
.po-modal .rcpt { margin: 4px 0 8px; }
.pay-amount input[readonly] { opacity: .92; cursor: default; }
.pay-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  min-height: 52px;
  background: var(--cta);
  color: #052e24;
  border: none;
  border-radius: 16px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.pay-cta:hover { filter: brightness(1.08); }
.pay-cta:disabled { opacity: .55; pointer-events: none; filter: none; }
.pay-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, rgba(245,197,24,.1), rgba(245,197,24,.02));
  border: 1px solid rgba(245,197,24,.22);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  cursor: pointer;
}
.pay-copy small {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(245,197,24,.75);
  margin-bottom: 2px;
}
.pay-copy strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
}
.pay-copy span {
  font-size: .72rem;
  font-weight: 800;
  color: #111;
  background: var(--gold);
  border-radius: 999px;
  padding: 6px 10px;
}
.pay-step {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.pay-step:last-child { border-bottom: none; padding-bottom: 0; }
.pay-step em {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-style: normal;
  font-size: .75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.pay-step b { display: block; font-size: .82rem; margin-bottom: 2px; }
.pay-step p {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.pay-step i {
  font-style: normal;
  color: var(--gold);
  font-weight: 800;
}
.pay-remain {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, rgba(245,197,24,.1), rgba(245,197,24,.02));
  border: 1px solid rgba(245,197,24,.22);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.pay-remain span {
  font-size: .72rem;
  font-weight: 800;
  color: rgba(245,197,24,.75);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.pay-remain strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
}
.pay-hint {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 14px;
}

.pf-hero {
  width: calc(100% - 32px);
  max-width: calc(var(--app-max) - 32px);
  margin: 12px auto 0;
  padding: 22px 20px 18px;
  border-radius: 20px;
  border: 1px solid rgba(38,166,154,.28);
  background:
    radial-gradient(ellipse at 90% 10%, rgba(245,197,24,.14), transparent 50%),
    linear-gradient(145deg, #0e4f47 0%, #082824 100%);
  text-align: center;
}
.pf-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(0,0,0,.18);
}
.pf-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}
.pf-phone {
  margin: 2px 0 0;
  color: rgba(255,255,255,.5);
  font-size: .88rem;
}
.pf-joined {
  margin: 4px 0 0;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #64748B;
}
.pf-hero .pay-bal { text-align: left; margin-top: 14px; }
.pf-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.pf-mini div {
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 10px;
}
.pf-mini span {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: 4px;
}
.pf-mini b {
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.pf-ref {
  width: calc(100% - 32px);
  max-width: calc(var(--app-max) - 32px);
  margin: 12px auto 0;
  padding: 18px 16px 14px;
  border-radius: 20px;
  border: 1px solid rgba(38,166,154,.28);
  background: linear-gradient(145deg, #0e4f47 0%, #082824 100%);
  color: #fff;
}
.pf-ref-kicker {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal-light);
}
.pf-ref-copy {
  margin: 6px 0 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.72);
  line-height: 1.45;
}
.pf-ref-code {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.22);
  border: 1px dashed rgba(255,255,255,.18);
}
.pf-ref .pay-cta { margin-top: 10px; }
.pf-ref .aff-link-lbl { color: rgba(255,255,255,.55); }
.pf-ref .aff-link {
  background: rgba(0,0,0,.28);
  border-color: rgba(255,255,255,.14);
  color: #fff;
}
.pf-ref .pf-ghost {
  display: block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
.pf-ref .pf-mini { margin-top: 12px; }
.pf-label {
  width: calc(100% - 32px);
  margin: 18px auto 8px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pf-link {
  width: calc(100% - 32px);
  margin: 0 auto 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.pf-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(0,137,123,.14);
  color: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pf-ico svg { width: 18px; height: 18px; }
.pf-text { flex: 1; min-width: 0; }
.pf-text b { display: block; font-size: .88rem; }
.pf-text small {
  display: block;
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.pf-go {
  color: var(--text-muted);
  font-size: 1.2rem;
  font-weight: 700;
}
.pf-logout {
  width: calc(100% - 32px);
  margin: 18px auto 8px;
  display: block;
  text-align: center;
  background: rgba(229,57,53,.1);
  border: 1px solid rgba(229,57,53,.28);
  color: #ff8a80;
  border-radius: 14px;
  padding: 13px;
  font-size: .88rem;
  font-weight: 800;
}
.pf-ghost {
  width: 100%;
  margin-top: 10px;
  background: #151818;
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 12px;
  padding: 13px;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
}

.hs-filters {
  display: flex;
  gap: 8px;
  padding: 14px 16px 4px;
  overflow-x: auto;
}
.hs-chip {
  flex-shrink: 0;
  background: #141818;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}
.hs-chip.on {
  color: #fff;
  background: rgba(0,137,123,.18);
  border-color: var(--teal);
}
.hs-row { align-items: center; }
.hs-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hs-dot.in { background: var(--up); }
.hs-dot.out { background: var(--down); }
.hs-info { flex: 1; min-width: 0; }
.hs-info .dash-row-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hs-amt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
}
.hs-day { padding-top: 14px; }
.hs-row-wd { cursor: pointer; }
.hs-row-wd:active { opacity: .92; }
.hs-status {
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .02em;
}
.hs-status-pending { color: #ffb74d; }
.hs-status-completed { color: var(--up); }
.hs-status-rejected { color: #ff8a80; }
.wd-detail-reason {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  white-space: pre-wrap;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hs-list {
  padding: 0 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hs-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.hs-card-pro {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}
.hs-photo {
  height: 168px;
  position: relative;
  overflow: hidden;
  background: #0a1010;
}
.hs-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hs-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 28%, rgba(6,10,10,.92) 100%);
  pointer-events: none;
}
.hs-photo-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.hs-photo-caption h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.hs-body { padding: 12px 14px 14px; }
.hs-meta {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 12px;
}
.hs-meta > div {
  flex: 1 1 0;
  min-width: 0;
  background: #141818;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}
.hs-meta small {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hs-meta em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: .68rem;
  font-weight: 800;
  color: var(--teal-light);
}
.hs-eq {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: end;
  margin-bottom: 10px;
}
.hs-eq > div { min-width: 0; }
.hs-eq-sign {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--teal-light);
  padding-bottom: 12px;
  line-height: 1;
}
.hs-eq .pay-amount { margin-bottom: 0; }
.hs-eq .pay-amount input { font-size: 1.05rem; min-width: 0; }
.hs-simple {
  background: #141818;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 12px;
  margin-bottom: 10px;
}
.hs-simple > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.hs-simple > div:last-child { border-bottom: none; }
.hs-simple span {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
}
.hs-simple b {
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: right;
}
.hs-simple .gold span { color: rgba(245,197,24,.8); }
.hs-simple .gold b { color: var(--gold); }
.hs-hook {
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 800;
  color: var(--teal-light);
}
.hs-trend {
  background: #121616;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 10px 6px;
  margin-bottom: 10px;
}
.hs-trend-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  padding: 0 2px;
}
.hs-trend-head small {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hs-trend-head b { font-size: .85rem; }
.hs-why {
  margin: 0 0 12px;
  font-size: .8rem;
  line-height: 1.5;
  color: #d7e0e0;
}
.hs-range {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.hs-range b { color: #fff; }
.wk-pct.down {
  color: #ff8a80;
  border-color: rgba(229,57,53,.4);
  background: rgba(40,10,10,.72);
}
.hs-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hs-tick {
  --hs: var(--teal);
  min-width: 52px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  background: #141818;
  border: 1px solid var(--hs);
  color: #fff;
  padding: 0 6px;
}
.hs-name { flex: 1; min-width: 0; }
.hs-name b {
  display: block;
  font-size: .92rem;
  font-weight: 800;
}
.hs-name small {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}
.hs-px { text-align: right; }
.hs-px b {
  display: block;
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 700;
}
.hs-px span { font-size: .68rem; font-weight: 800; }
.hs-held {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 10px;
  background: #141818;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .72rem;
  color: var(--text-muted);
}
.hs-held b { color: #fff; }
.hs-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.hs-actions .hs-btn { flex: 1; width: 100%; }
.hs-more {
  width: 100%;
  margin-top: 8px;
  background: transparent;
  color: var(--teal-light);
  border: 1px solid rgba(38,166,154,.45);
  border-radius: 12px;
  padding: 11px;
  font-size: .85rem;
  font-weight: 800;
  cursor: pointer;
}
.hs-more:hover {
  background: rgba(0,137,123,.14);
  border-color: var(--teal);
}
.hs-disc {
  margin: -6px 0 12px;
  font-size: .7rem;
  line-height: 1.4;
  color: var(--text-muted);
}
.pay-ghost {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: #151818;
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 12px;
  padding: 13px;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
a.pay-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}
.pay-wait {
  text-align: center;
  padding: 28px 16px;
}
.pay-wait-amt {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-light);
  margin: 0 0 8px;
}
.pay-spin {
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border: 3px solid rgba(38,166,154,.2);
  border-top-color: var(--teal-light);
  border-radius: 50%;
  animation: paySpin .8s linear infinite;
}
@keyframes paySpin {
  to { transform: rotate(360deg); }
}
.done-mark {
  width: 56px;
  height: 56px;
  margin: 4px auto 12px;
  border-radius: 50%;
  background: rgba(0,137,123,.18);
  color: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
}
.done-mark.fail {
  background: rgba(229,57,53,.14);
  color: #ff8a80;
}
.pay-hero .done-mark { margin-bottom: 8px; }
.rcpt {
  background: #111213;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 12px;
  margin: 0 0 14px;
}
.rcpt div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
}
.rcpt div:last-child { border-bottom: none; }
.rcpt span { color: var(--text-muted); }
.rcpt b { text-align: right; }
.auth-forgot {
  display: block;
  margin: 8px 0 0;
  padding: 0;
  background: none;
  border: none;
  color: var(--teal-light);
  font-size: .75rem;
  font-weight: 800;
  cursor: pointer;
}

.aff {
  width: calc(100% - 32px);
  max-width: calc(var(--app-max) - 32px);
  margin: 12px auto 0;
  padding-bottom: 24px;
}
body.is-logged .aff { padding-bottom: 88px; }
.aff-hero {
  padding: 22px 20px 18px;
  border-radius: 24px;
  border: 1px solid rgba(45,226,166,.2);
  background: var(--premium);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.aff-kicker {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 4px;
}
.aff-hero h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}
.aff-hero h1 span { color: var(--gold); }
.aff-hero p {
  margin: 8px 0 16px;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  line-height: 1.45;
}
.aff-hero p b { color: #fff; }
.aff-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.aff-kpis div {
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 12px;
}
.aff-kpis > span {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: 4px;
}
.aff-kpis strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.aff-wd-btn {
  width: 100%;
  margin-top: 10px;
  border: 0;
  border-radius: 12px;
  padding: 12px 10px;
  background: linear-gradient(135deg, #f5c518, #e0a800);
  color: #111;
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
}
.aff-wd-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.aff-wd-hint {
  margin: 8px 0 0;
  font-size: .72rem;
  line-height: 1.4;
  color: rgba(255,255,255,.55);
}
.aff-dests {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 14px;
}
.aff-dest {
  border: 1px solid var(--border);
  background: #151818;
  color: inherit;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.aff-dest b { display: block; font-size: .82rem; }
.aff-dest small { display: block; margin-top: 3px; color: var(--text-muted); font-size: .68rem; }
.aff-dest.on {
  border-color: var(--teal);
  background: rgba(0,137,123,.16);
}
.aff-select {
  width: 100%;
  border: 1px solid var(--border);
  background: #111213;
  color: inherit;
  border-radius: 12px;
  padding: 12px 12px;
  font: inherit;
  font-size: .84rem;
}
.aff-add-acc {
  margin: 8px 0 0;
  background: none;
  border: 0;
  color: var(--teal-light);
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.aff-card {
  margin-top: 12px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.aff-code {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111213;
  border: 1px solid #2a3030;
  border-radius: 14px;
  padding: 12px 14px;
}
.aff-code span {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.aff-code b {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 2px;
}
.aff-copy-ico {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(0,137,123,.16);
  color: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.aff-copy-ico svg { width: 18px; height: 18px; }
.aff-link-lbl {
  display: block;
  margin: 12px 0 6px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.aff-link {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #2a3030;
  background: #111213;
  color: #d7e0e0;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: .78rem;
  word-break: break-all;
}
.aff-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.aff-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 13px 10px;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  color: #fff;
  background: var(--cta);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.aff-wa {
  background: linear-gradient(135deg, #1fa855, #25d366);
}
.aff-how {
  margin-top: 12px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.aff-how-title {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.aff-step {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.aff-step:last-child { border-bottom: none; padding-bottom: 0; }
.aff-step em {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-style: normal;
  font-size: .75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.aff-step b { display: block; font-size: .86rem; margin-bottom: 2px; }
.aff-step p {
  margin: 0;
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.aff-empty {
  margin: 0;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.aff-person {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.aff-person:last-child { border-bottom: none; padding-bottom: 0; }
.aff-person-who {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.aff-person b { font-size: .88rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aff-person .status-pill { flex-shrink: 0; }
.aff-person small { color: var(--text-muted); font-size: .72rem; flex-shrink: 0; }

.ok-pop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.55);
  padding: 24px;
}
.ok-pop.on { display: flex; }
.ok-pop-card {
  width: 100%;
  max-width: 340px;
  text-align: center;
  background: linear-gradient(160deg, #0e4f47, #111213 62%);
  border: 1px solid rgba(38,166,154,.4);
  border-radius: 22px;
  padding: 28px 22px 24px;
}
.ok-pop-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 8px 0 6px;
}
.ok-pop-card p {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  margin: 0;
}

.amt {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: .28em;
  white-space: nowrap;
  font-weight: 800;
  line-height: 1.1;
}
.amt-cur {
  display: inline;
  font-size: .72em;
  font-weight: 700;
  color: #94A3B8;
  letter-spacing: .04em;
  margin: 0;
  text-transform: none;
}
.amt-lg { font-size: clamp(26px, 8vw, 36px); color: #fff; }
.amt-lg .amt-cur { color: rgba(255,255,255,.72); }
.pay-bal strong .amt,
.dash-row-right b .amt { font-size: 18px; }
.pay-bal strong { color: #fff; }

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-completed { background: rgba(45,226,166,.10); color: #2DE2A6; }
.status-pending { background: rgba(246,196,83,.10); color: #F6C453; }
.status-rejected { background: rgba(239,68,68,.10); color: #EF4444; }

.dash-page {
  width: 100%;
  max-width: var(--app-max);
  padding: 12px 16px 8px;
}
.dash-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid rgba(45,226,166,.2);
  background:
    radial-gradient(circle at 85% 0%, rgba(99,91,255,.24), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(45,226,166,.12), transparent 34%),
    linear-gradient(145deg, rgba(7,81,70,.96), rgba(10,31,35,.98));
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.dash-hero::before {
  content: '';
  position: absolute;
  right: -64px; top: -80px;
  width: 192px; height: 192px;
  border-radius: 50%;
  background: rgba(99,91,255,.2);
  filter: blur(48px);
  pointer-events: none;
}
.dash-hello {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.dash-hello h1 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.dash-hello h1 span { color: #2DE2A6; }
.dash-safe {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(45,226,166,.2);
  background: rgba(45,226,166,.1);
  color: #2DE2A6;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}
.dash-wallet {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  margin-bottom: 12px;
}
.dash-wallet-lbl {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(209,250,229,.5);
  margin-bottom: 8px;
}
.dash-wallet-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.dash-wallet-chart {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.05);
  background: rgba(255,255,255,.05);
  color: #2DE2A6;
  flex-shrink: 0;
}
.dash-wallet-meta {
  margin-top: 12px;
  font-size: 10px;
  font-weight: 600;
  color: #64748B;
}
.dash-wallet .amt-lg .amt-cur { color: #F6C453; opacity: 1; font-weight: 800; }
.dash-quick {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dash-q {
  min-height: 64px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.dash-q-ico {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  flex-shrink: 0;
}
.dash-q-ico svg { width: 18px; height: 18px; }
.dash-q-mint {
  background: #2DE2A6;
  color: #080910;
  border-color: #2DE2A6;
}
.dash-q-mint .dash-q-ico { background: rgba(0,0,0,.1); color: #080910; }
.dash-q-out .dash-q-ico { background: rgba(246,196,83,.15); color: #F6C453; }
.dash-q-invite .dash-q-ico { background: rgba(45,226,166,.15); color: #2DE2A6; }
.dash-q-dl .dash-q-ico { background: rgba(139,92,246,.15); color: #c4b5fd; }
.dash-q-wide { grid-column: 1 / -1; }
.dash-cert-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 16px;
}
.dash-cert-head .section-title { padding-right: 0; width: auto; flex: 1; }
.dash-cert-idx {
  font-size: 12px;
  font-weight: 800;
  color: #475569;
  white-space: nowrap;
  padding-right: 16px;
}
.dash-stat {
  background: rgba(255,255,255,.04);
  border-radius: 20px;
}
.dash-row { border-radius: 20px; background: rgba(255,255,255,.04); }
.pay-card { border-radius: 24px; padding: 16px 20px; background: var(--bg-card); }
.pay-lbl {
  font-size: 11px;
  letter-spacing: .12em;
}
.pay-title { font-size: 28px; font-weight: 800; }
.section-title {
  font-size: 11px;
  letter-spacing: .12em;
  color: #64748B;
}
.modal, .chat-modal {
  background: #171727;
  border-color: var(--border);
  max-height: min(92vh, 720px);
  overflow: auto;
}
.modal-close, .chat-close-btn {
  display: flex; align-items: center; justify-content: center;
}
body.ads-home .chat-fab,
body.ads-home .pwa-fab,
body.dash-screen .chat-fab,
body.dash-screen .pwa-fab,
body.dash-screen .pwa-tip { display: none !important; }

@media (min-width: 640px) {
  :root { --app-max: 720px; }
  .dash-hello h1 { font-size: 32px; }
  .amt-lg { font-size: 36px; }
}
@media (min-width: 1024px) {
  :root { --app-max: 896px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.hdr-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(45,226,166,.2);
  background: rgba(45,226,166,.1);
  color: #2DE2A6;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.hdr-chip.amber {
  border-color: rgba(246,196,83,.2);
  background: rgba(246,196,83,.1);
  color: #F6C453;
}
.pay-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.pay-hero-ico {
  width: 48px; height: 48px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(45,226,166,.2);
  background: rgba(45,226,166,.1);
  color: #2DE2A6;
  flex-shrink: 0;
}
.pay-hero-ico svg { width: 24px; height: 24px; }
.pay-hero-ico.amber {
  border-color: rgba(246,196,83,.2);
  background: rgba(246,196,83,.1);
  color: #F6C453;
}
.pay-hero .pay-kicker { margin-bottom: 6px; }
.pay-hero .pay-sub { margin: 8px 0 0; }
.pay-bal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pay-amount-lg { min-height: 72px; }
.pay-amount-lg input { font-size: 28px; }
.pay-range {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
}
.pay-phone { gap: 10px; }
.pay-phone-ico {
  width: 36px; height: 36px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(45,226,166,.1);
  color: #2DE2A6;
  flex-shrink: 0;
}
.pay-phone-ico svg { width: 18px; height: 18px; }
.pay-phone span:not(.pay-phone-ico):not(.pay-net-pill) { display: none; }
.pay-secure {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 8px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(99,91,255,.18);
  background: rgba(99,91,255,.1);
  color: #c4b5fd;
}
.pay-secure p { margin: 0; font-size: 12px; line-height: 1.5; color: #94A3B8; }
.dash-more-link {
  font-size: 12px;
  font-weight: 800;
  color: #2DE2A6;
  padding-right: 16px;
}
.dash-tx-list { padding: 0 16px 8px; display: flex; flex-direction: column; gap: 10px; }
.dash-tx {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.035);
}
.dash-tx-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dash-tx-ico svg { width: 20px; height: 20px; }
.dash-tx-ico.in { background: rgba(45,226,166,.15); color: #2DE2A6; }
.dash-tx-ico.out { background: rgba(99,91,255,.15); color: #c4b5fd; }
.dash-tx-info { flex: 1; min-width: 0; }
.dash-tx-info strong { display: block; font-size: 14px; font-weight: 800; }
.dash-tx-info span { display: block; margin-top: 4px; font-size: 12px; color: #64748B; }
.dash-tx-amt { text-align: right; flex-shrink: 0; }
.dash-tx-amt .amt { display: flex; justify-content: flex-end; font-size: 13px; }
.dash-tx-amt .tx-in { color: #2DE2A6; }
.dash-tx-amt .tx-out { color: #e2e8f0; }
.dash-tx-amt .status-pill { margin-top: 4px; }
.aff-btn { background: #635BFF; color: #fff; }
.aff-wa { background: #22c55e; color: #fff; }
.aff { width: 100%; max-width: var(--app-max); padding: 16px; }
@media (max-width: 360px) {
  .hdr-chip { display: none; }
  .pay-amount-lg input { font-size: 22px; }
}

body.ds-app .chat-fab,
body.ds-app .pwa-fab,
body.ds-app .pwa-tip { display: none !important; }
body.wekeza-screen .nav-item.active { color: #F6C453; }
.hdr-chip.neutral {
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: #cbd5e1;
}
.hdr-actions:has(.hdr-chip) .hdr-avatar { display: none; }
.pay-hero {
  position: relative;
  overflow: hidden;
  border-color: rgba(45,226,166,.2);
  background:
    radial-gradient(circle at 85% 0%, rgba(99,91,255,.24), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(45,226,166,.12), transparent 34%),
    linear-gradient(145deg, rgba(7,81,70,.96), rgba(10,31,35,.98));
}
.pay-hero .pay-title { font-size: 30px; font-weight: 800; }
.pay-bal strong .amt-cur { color: #F6C453; }
.pay-amount-lg { min-height: 80px; border-width: 2px; background: rgba(0,0,0,.25); }
.pay-amount-lg input { font-size: 32px; font-weight: 800; }
.pay-net-pill {
  flex-shrink: 0;
  border-radius: 9999px;
  background: rgba(45,226,166,.1);
  color: #2DE2A6;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  display: inline-flex !important;
}
.pay-phone { min-height: 64px; overflow: hidden; }
.pay-phone input { min-width: 0; font-size: 20px; letter-spacing: .04em; }
.pay-net-pill { margin-left: auto; }
.pay-cta-go { gap: 8px; }
.pay-lbl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pay-lbl-row .pay-lbl { margin-bottom: 0; }
.pay-edit-link {
  border: 0;
  background: none;
  color: #2DE2A6;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  padding: 0 0 8px;
}
.po-letter {
  width: 48px; height: 48px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: #ef4444;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(127,29,29,.25);
}
.po-dd-trig {
  background: rgba(0,0,0,.25);
  border-color: rgba(45,226,166,.2);
  border-radius: 16px;
}
.po-caret {
  margin-left: auto;
  width: auto; height: auto;
  border: 0;
  transform: none;
  font-style: normal;
  font-size: 20px;
  color: #64748B;
}
.po-dd.open .po-caret { transform: none; }
.aff-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.aff-hero .pay-bal { margin-bottom: 10px; }
.aff-wd-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: 16px;
  background: #F6C453;
  color: #080910;
}
.aff-how-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.aff-how-n { font-size: 12px; font-weight: 800; color: #2DE2A6; }
.wk-stats { margin-top: 12px; }
.wk-stat-up, .wk-stat-up .amt { color: #2DE2A6; }
.pay-ghost-mint {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(45,226,166,.2);
  background: rgba(45,226,166,.1);
  color: #2DE2A6;
  font-size: 14px;
  font-weight: 800;
}
.wk-top-tag { font-size: 12px; font-weight: 800; color: #F6C453; padding-right: 16px; }
.wk-photo { height: 224px; }
.wk-cat {
  position: absolute;
  left: 16px; top: 16px; z-index: 2;
  background: #F6C453;
  color: #080910;
  border: 0;
}
.wk-photo-src { margin: 6px 0 0; font-size: 10px; color: rgba(255,255,255,.45); }
.wk-from {
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.4);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.wk-from .amt { font-size: 11px; }
.inv-gain { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.inv-gain em { color: #2DE2A6; font-style: normal; font-size: 12px; font-weight: 800; }
.inv-gain-bar {
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 9999px;
  background: rgba(255,255,255,.1);
}
.inv-gain-bar i {
  display: block;
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #2DE2A6, #F6C453);
}
.inv-filters { display: flex; gap: 8px; padding: 0 16px 12px; overflow-x: auto; }
.inv-filter {
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.035);
  color: #94A3B8;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 16px;
  cursor: pointer;
}
.inv-filter.on { background: #2DE2A6; color: #080910; border-color: #2DE2A6; }
.inv-board { display: flex; flex-direction: column; gap: 12px; padding: 0 16px 16px; }
.inv-tile {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  padding: 16px;
}
.inv-tile-top { display: flex; align-items: flex-start; gap: 12px; }
.inv-tile-top div { flex: 1; min-width: 0; }
.inv-tile-top strong { display: block; font-size: 16px; }
.inv-tile-top small { display: block; margin-top: 2px; color: #64748B; font-size: 12px; }
.inv-tile-ico {
  width: 44px; height: 44px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(246,196,83,.15); color: #F6C453; flex-shrink: 0;
}
.inv-tile-ico.mint { background: rgba(45,226,166,.15); color: #2DE2A6; }
.inv-tile-ico svg { width: 20px; height: 20px; }
.inv-tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.inv-tile-grid span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #475569; }
.inv-tile-bar { display: flex; justify-content: space-between; margin: 14px 0 8px; font-size: 11px; color: #64748B; }
.inv-tile .inv-gain-bar { flex: none; width: 100%; }
.pf-hero {
  text-align: left;
  padding: 0;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
}
.pf-banner {
  height: 112px;
  padding: 20px;
  background: linear-gradient(135deg, #635BFF, #8B5CF6 45%, #047857);
  position: relative;
}
.pf-banner p {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.pf-hero-body { padding: 0 20px 20px; }
.pf-avatar-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: -44px;
}
.pf-avatar {
  width: 88px; height: 88px; margin: 0;
  border-radius: 24px;
  border: 4px solid #171727;
  position: relative;
  font-size: 28px;
}
.pf-ok {
  position: absolute;
  right: -4px; bottom: -4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 3px solid #171727;
  background: #2DE2A6;
  color: #080910;
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}
.pf-edit {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  color: #e2e8f0;
  border-radius: 12px;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 4px;
}
.pf-id { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.pf-name { font-size: 30px; }
.pf-ref {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
}
.pf-code-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 12px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(45,226,166,.25);
  background: rgba(0,0,0,.2);
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.pf-code-btn small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748B; }
.pf-code-btn b { display: block; margin-top: 4px; font-size: 20px; letter-spacing: .14em; }
.pf-code-btn em {
  font-style: normal;
  background: #2DE2A6;
  color: #080910;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}
.pf-ref-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-hero .pay-bal { margin-top: 16px; }
