*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #111213;
  --bg-card: #1a1c1e;
  --bg-item: #1e2122;
  --teal: #00897b;
  --teal-light: #26a69a;
  --teal-glow: rgba(0,137,123,0.25);
  --wa: #25d366;
  --wa-teal: #128c7e;
  --wa-deep: #075e54;
  --gold: #f5c518;
  --text-main: #e8eaea;
  --text-muted: #7a8a8a;
  --btn-bg: #1e2425;
  --border: #242829;
  --up: #00c853;
  --down: #e53935;
  --radius: 16px;
  --tr: 0.25s cubic-bezier(0.4,0,0.2,1);
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
}

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;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }

header {
  width: 100%; max-width: 480px;
  padding: 16px 16px 10px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
  position: sticky; top: 0; z-index: 40;
  background: rgba(17,18,19,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  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;
}
.logo-text span { color: var(--teal-light); }

.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: 480px;
  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: 448px;
  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: 480px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; padding: 14px 16px 0;
  animation: fadeUp .5s ease .1s both;
}
.action-btn {
  background: var(--teal); border: none; border-radius: 14px;
  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 3px 14px rgba(0,137,123,.25);
  position: relative; overflow: hidden; color: #fff;
}
.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: 480px; flex: 1; padding-bottom: 20px; }
body.is-logged .page-body { padding-bottom: 88px; }
.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: 480px;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: rgba(22,24,25,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid #222628;
  display: flex; justify-content: space-around;
  padding: 8px 2px calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
.bottom-nav.is-away {
  transform: translate(-50%, 110%);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--text-muted); font-size: .56rem; font-weight: 700; letter-spacing: .3px;
  max-width: 70px; text-align: center; flex: 1;
}
.nav-item.active { color: var(--teal-light); }
.nav-item svg { width: 22px; height: 22px; }

.download-app-btn {
  width: calc(100% - 32px); max-width: 448px;
  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); backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 1000;
}
.modal-overlay.open, .chat-modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.modal, .chat-modal {
  width: 100%; max-width: 480px;
  background: #1a1c1e; border-radius: 24px 24px 0 0;
  border: 1px solid #242829; border-bottom: none;
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(.34,1.2,.64,1);
}
.chat-modal-overlay.open .chat-modal { transform: translateY(0); }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-handle {
  width: 44px; height: 4px; background: #2e3335; border-radius: 2px; margin: 14px auto 0;
}

.modal { padding: 28px 24px 40px; position: relative; transform: translateY(40px); }
.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: 8px 0 16px;
  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(--teal);
  color: #fff;
}
.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;
  background: #111213;
  border: 1px solid #2a3030;
  border-radius: 12px;
  padding: 0 12px;
}
.field-wrap:focus-within { border-color: var(--teal); }
.field-icon {
  color: var(--teal-light);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.modal-confirm {
  width: 100%; background: var(--teal); color: #fff; border: none; border-radius: 12px;
  padding: 15px; font-size: .95rem; 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; }
.chat-modal { height: 88vh; max-height: 700px; 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: 480px; 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: linear-gradient(135deg, #00897b, #26a69a);
  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: 448px; 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: var(--gold); font-size: .68rem; font-weight: 800; background: rgba(245,197,24,.1); padding: 4px 8px; border-radius: 8px; }

.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: 448px;
  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: 8px;
}
.wk-stat {
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 10px 12px;
}
.wk-stat span {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}
.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-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(135deg, #00897b, #26a69a);
  color: #fff;
  border: none;
  border-radius: 12px;
  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: 448px;
  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,.14), transparent 50%),
    linear-gradient(145deg, #0e4f47 0%, #082824 100%);
}
.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: linear-gradient(135deg, #00897b, #26a69a);
  color: #fff;
  border-radius: 12px;
  padding: 12px 10px;
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
}
.dash-btn-out {
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(245,197,24,.45);
  color: var(--gold);
}
.dash-btn-share {
  grid-column: 1 / -1;
  gap: 8px;
  background: linear-gradient(135deg, #1fa855, #25d366);
  color: #fff;
  border: 0;
}
.dash-btn-share 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-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: linear-gradient(135deg, #00897b, #26a69a);
  color: #fff;
}
.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: linear-gradient(135deg, #00897b, #26a69a);
  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: 448px;
  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: 448px;
  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,.14), transparent 50%),
    linear-gradient(145deg, #0e4f47 0%, #082824 100%);
}
.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;
  background: #111213;
  border: 1px solid #2a3030;
  border-radius: 12px;
  padding: 0 12px;
  margin-bottom: 10px;
}
.pay-amount:focus-within { border-color: var(--teal); }
.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: block;
  margin-top: 12px;
  background: linear-gradient(135deg, #00897b, #26a69a);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: .92rem;
  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: 448px;
  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: var(--teal-light);
}
.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: 448px;
  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 .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; }

@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: 448px;
  margin: 12px auto 0;
  padding-bottom: 24px;
}
body.is-logged .aff { padding-bottom: 88px; }
.aff-hero {
  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%);
}
.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-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-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: linear-gradient(135deg, #00897b, #26a69a);
  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 b { font-size: .88rem; }
.aff-person small { color: var(--text-muted); font-size: .72rem; }
