
:root {
  --green: #15b86a;
  --green-dark: #0ca65a;
  --green-soft: #e8faf0;
  --bg: #f4f6f9;
  --card: #ffffff;
  --text: #1a1d26;
  --muted: #8a93a6;
  --danger: #e53935;
  --violet: #9c27b0;
  --orange: #ff9800;
  --blue: #2196f3;
  --radius: 14px;
  --shadow: 0 4px 16px rgba(21, 184, 106, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

.app-shell { padding-bottom: 88px; min-height: 100vh; }
.view { display: none; padding: 0 0 20px; }
.view.active { display: block; }

/* Header */
.top-bar {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  padding: 12px 14px 14px;
  position: sticky;
  top: 0;
  z-index: 40;
}
.top-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.logo {
  font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
  user-select: none;
}
.logo span { opacity: 0.95; }
.top-icons { display: flex; gap: 12px; font-size: 1.15rem; }

/* Account header green card */
.account-hero {
  background: linear-gradient(135deg, #1ecf78, #0ca65a);
  color: #fff;
  padding: 18px 16px 22px;
  border-radius: 0 0 20px 20px;
}
.account-hero .row { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; object-fit: cover; border: 2px solid rgba(255,255,255,.5);
}
.uid-pill {
  display: inline-flex; align-items: center; gap: 4px;
  background: #ff9800; color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 3px 8px; border-radius: 6px; margin-top: 4px;
}
.vip-badge {
  display: inline-block; background: rgba(255,255,255,.25);
  padding: 2px 8px; border-radius: 999px; font-size: 0.7rem; font-weight: 700;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  padding: 14px;
  margin: 12px 12px 0;
}
.card-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; }
.muted { color: var(--muted); font-size: 0.82rem; }
.balance-lg { font-size: 1.6rem; font-weight: 800; color: var(--text); }

.btn-green {
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  color: #fff; font-weight: 700; border-radius: 999px;
  padding: 12px 20px; box-shadow: var(--shadow);
}
.btn-red {
  background: linear-gradient(180deg, #ef5350, #c62828);
  color: #fff; font-weight: 700; border-radius: 999px; padding: 12px 20px;
}
.btn-outline {
  border: 1.5px solid #e0e4ec; border-radius: 999px; padding: 10px 16px;
  font-weight: 600; color: var(--text); background: #fff;
}
.btn-block { width: 100%; display: block; text-align: center; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Bottom nav */
#bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto;
  background: #fff; border-top: 1px solid #eef0f4;
  display: flex; align-items: flex-end; justify-content: space-around;
  padding: 6px 4px calc(8px + env(safe-area-inset-bottom));
  z-index: 50;
}
#bottom-nav button {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 2px; font-size: 0.62rem; font-weight: 600; color: var(--muted); padding: 4px;
}
#bottom-nav button.active { color: var(--green); }
#bottom-nav .ico { font-size: 1.2rem; }
#bottom-nav .go-btn {
  width: 58px; height: 58px; margin-top: -22px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7dffb3, var(--green) 55%, var(--green-dark));
  color: #fff; font-weight: 800; font-size: 0.85rem;
  box-shadow: 0 6px 18px rgba(21,184,106,.45);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; line-height: 1.05;
}

/* Marquee */
.marquee {
  margin: 10px 12px 0; background: #fff; border-radius: 10px;
  padding: 8px 10px; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04); font-size: 0.78rem;
}
.marquee .detail {
  background: var(--green); color: #fff; border-radius: 999px;
  padding: 4px 10px; font-weight: 700; font-size: 0.7rem; flex-shrink: 0;
}

/* Banner */
.hero-banner {
  margin: 12px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(120deg, #0d9b52, #15b86a 40%, #0a7a40);
  color: #fff; padding: 18px 16px; position: relative; min-height: 110px;
}
.hero-banner h2 { font-size: 1.35rem; font-weight: 800; }
.hero-banner .claim {
  margin-top: 10px; display: inline-block;
  background: #fff; color: var(--green-dark); font-weight: 800;
  padding: 8px 14px; border-radius: 999px; font-size: 0.8rem;
}
.feat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 12px;
}
.feat-card {
  background: #fff; border-radius: 14px; padding: 14px; text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.feat-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.feat-card .view-link {
  display: inline-block; margin-top: 8px;
  background: var(--green); color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}

.cat-tabs {
  display: flex; gap: 14px; padding: 14px 12px 8px; overflow-x: auto;
  font-weight: 700; font-size: 0.9rem; color: var(--muted);
}
.cat-tabs .on { color: var(--green); border-bottom: 2px solid var(--green); padding-bottom: 4px; }

.game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  padding: 8px 12px 16px;
}
.game-tile {
  background: #fff; border-radius: 12px; padding: 12px 6px; text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.04); font-size: 0.72rem; font-weight: 700;
}
.game-tile .emoji { font-size: 1.6rem; display: block; margin-bottom: 4px; }
.game-tile .sub { color: var(--green); font-weight: 600; font-size: 0.65rem; }

/* WinGo */
.wingo-wallet {
  margin: 12px; background: linear-gradient(135deg, #e8faf0, #fff);
  border-radius: 16px; padding: 16px; box-shadow: var(--shadow);
}
.wingo-wallet .bal { font-size: 1.5rem; font-weight: 800; }
.lane-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px;
  scrollbar-width: none;
}
.lane-tabs::-webkit-scrollbar { display: none; }
.lane-tab {
  flex-shrink: 0; padding: 10px 12px; border-radius: 12px;
  background: #fff; color: var(--muted); font-weight: 700; font-size: 0.75rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.04); text-align: center; min-width: 72px;
}
.lane-tab.active {
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  color: #fff; box-shadow: var(--shadow);
}
.lane-tab .clock { font-size: 1.1rem; display: block; margin-bottom: 2px; }

.ticket {
  margin: 8px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--green); border-radius: 14px; overflow: hidden; color: #fff;
  position: relative;
}
.ticket::after {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: repeating-linear-gradient(to bottom, transparent 0 6px, rgba(255,255,255,.35) 6px 10px);
}
.ticket-left, .ticket-right { padding: 12px; }
.ticket-left { background: rgba(0,0,0,.06); }
.how-btn {
  background: rgba(255,255,255,.2); border-radius: 999px; padding: 4px 10px;
  font-size: 0.7rem; font-weight: 700; margin-bottom: 8px; display: inline-block;
}
.balls { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.ball {
  width: 26px; height: 26px; border-radius: 50%; font-size: 0.72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,.2);
}
.ball.red { background: radial-gradient(circle at 30% 30%, #ff8a80, #e53935); }
.ball.green { background: radial-gradient(circle at 30% 30%, #69f0ae, #00c853); }
.ball.violet { background: radial-gradient(circle at 30% 30%, #ea80fc, #9c27b0); }
.flip-timer {
  font-size: 1.8rem; font-weight: 800; letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums; text-align: center;
}
.period-id { font-size: 0.65rem; opacity: 0.9; text-align: center; margin-top: 4px; word-break: break-all; }
.status-pill {
  display: inline-block; background: rgba(255,255,255,.25); border-radius: 6px;
  padding: 2px 8px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
}

.color-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 12px 12px 8px; }
.color-btn {
  padding: 14px 8px; border-radius: 10px; color: #fff; font-weight: 800; font-size: 0.95rem;
}
.color-btn.green { background: linear-gradient(180deg, #43a047, #2e7d32); }
.color-btn.violet { background: linear-gradient(180deg, #ab47bc, #7b1fa2); }
.color-btn.red { background: linear-gradient(180deg, #ef5350, #c62828); }
.color-btn.selected { outline: 3px solid #111; outline-offset: 1px; }

.num-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  padding: 4px 12px 10px;
}
.num-ball {
  aspect-ratio: 1; border-radius: 50%; font-weight: 800; font-size: 1rem; color: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,.15);
}
.num-ball.selected { outline: 3px solid #111; }

.mult-row {
  display: flex; gap: 6px; overflow-x: auto; padding: 4px 12px 10px;
}
.mult-chip {
  flex-shrink: 0; padding: 8px 12px; border-radius: 8px; font-weight: 700;
  font-size: 0.78rem; background: #fff; border: 1px solid #e5e8ef; color: var(--muted);
}
.mult-chip.active { background: var(--green); color: #fff; border-color: var(--green); }

.bigsmall-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 12px 12px; }
.big-btn {
  padding: 14px; border-radius: 24px 8px 8px 24px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, #ff9800, #f57c00);
}
.small-btn {
  padding: 14px; border-radius: 8px 24px 24px 8px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, #42a5f5, #1e88e5);
}
.big-btn.selected, .small-btn.selected { outline: 3px solid #111; }

.place-bar {
  margin: 0 12px 12px; padding: 14px; border-radius: 12px;
  background: var(--green); color: #fff; font-weight: 800; text-align: center;
  font-size: 1rem; box-shadow: var(--shadow);
}
.place-bar:disabled { opacity: 0.5; }

.hist-tabs {
  display: flex; gap: 0; margin: 8px 12px; background: #fff; border-radius: 10px; overflow: hidden;
}
.hist-tabs button {
  flex: 1; padding: 10px; font-weight: 700; font-size: 0.78rem; color: var(--muted);
  border-bottom: 2px solid transparent;
}
.hist-tabs button.on { color: var(--green); border-bottom-color: var(--green); }

/* Deposit */
.pay-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px;
}
.pay-card {
  background: #f7f9fc; border-radius: 12px; padding: 12px 8px; text-align: center;
  border: 2px solid transparent; position: relative; font-size: 0.72rem; font-weight: 700;
}
.pay-card.on { border-color: var(--green); background: var(--green-soft); }
.pay-card .badge {
  position: absolute; top: -6px; right: -4px;
  background: #e53935; color: #fff; font-size: 0.6rem; font-weight: 800;
  padding: 2px 5px; border-radius: 6px;
}
.amount-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.amount-pills button {
  padding: 10px 14px; border-radius: 8px; border: 1px solid #e0e4ec;
  font-weight: 700; background: #fff; color: var(--green);
}
.amount-pills button.on { background: var(--green-soft); border-color: var(--green); }
input.field, select.field {
  width: 100%; padding: 12px; border-radius: 10px; border: 1px solid #e0e4ec;
  margin-top: 8px; font-size: 0.95rem; background: #fff;
}
.sticky-dep {
  position: sticky; bottom: 80px; margin: 12px;
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; padding: 12px; border-radius: 12px; box-shadow: 0 -2px 12px rgba(0,0,0,.06);
}

/* Quick icons account */
.quick-4 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; text-align: center;
}
.quick-4 .q {
  font-size: 0.68rem; color: var(--muted); font-weight: 600;
}
.quick-4 .q .ic {
  width: 44px; height: 44px; margin: 0 auto 4px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  background: #f0f4f8;
}
.hist-2x2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px;
}
.hist-2x2 .h {
  background: #fff; border-radius: 12px; padding: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.04);
  font-size: 0.82rem; font-weight: 600;
}
.hist-2x2 .h span { display: block; color: var(--muted); font-size: 0.72rem; font-weight: 500; margin-top: 2px; }

.safe-card {
  margin: 12px; background: #fff; border-radius: 12px; padding: 14px;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

/* Overlay lock */
.bet-lock {
  display: none; position: absolute; inset: 0; background: rgba(0,0,0,.55);
  color: #fff; font-weight: 800; font-size: 2rem; align-items: center; justify-content: center;
  border-radius: 14px; z-index: 5;
}
.bet-lock.show { display: flex; }
.board-wrap { position: relative; }

#loading-overlay, #age-gate, #admin-pin-modal {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.55); align-items: center; justify-content: center; padding: 20px;
}
#loading-overlay.show, #age-gate.show, #admin-pin-modal.show { display: flex; }
.modal-card {
  background: #fff; border-radius: 16px; padding: 24px; max-width: 340px; width: 100%; text-align: center;
}
.toast {
  position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%);
  background: #1a1d26; color: #fff; padding: 10px 16px; border-radius: 10px;
  font-size: 0.85rem; z-index: 200; display: none; max-width: 90%;
}
.toast.show { display: block; }
.spinner {
  width: 36px; height: 36px; border: 3px solid rgba(21,184,106,.25);
  border-top-color: var(--green); border-radius: 50%; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* ── Commercial WinGo polish ─────────────────────────────── */
.app-shell { padding-bottom: 100px; }
.lane-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px 12px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.lane-tabs::-webkit-scrollbar { display: none; }
.lane-tab {
  flex: 0 0 auto; min-width: 76px; padding: 10px 14px;
  border-radius: 14px; white-space: nowrap; font-size: 0.78rem;
}
.lane-tab .clock { display: block; font-size: 1rem; margin-bottom: 2px; }

.ticket {
  margin: 8px 12px 14px; display: grid; grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, #12c46a, #0ca65a);
  border-radius: 16px; position: relative; overflow: visible; color: #fff;
}
.ticket::before, .ticket::after {
  content: ''; position: absolute; left: 50%; width: 18px; height: 18px;
  background: var(--bg); border-radius: 50%; transform: translateX(-50%);
  z-index: 2;
}
.ticket::before { top: -9px; }
.ticket::after { bottom: -9px; }
.ticket-left, .ticket-right { padding: 14px 12px; position: relative; z-index: 1; }
.ticket-left { border-right: 2px dashed rgba(255,255,255,.35); }

.flip-timer {
  display: flex; justify-content: center; align-items: center; gap: 4px;
  font-variant-numeric: tabular-nums;
}
.flip-digit {
  background: #fff; color: #0a0a0a; font-weight: 800; font-size: 1.35rem;
  min-width: 28px; height: 36px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 0 #cfd4dc, 0 4px 10px rgba(0,0,0,.15);
}
.flip-colon { font-weight: 800; font-size: 1.2rem; opacity: 0.95; padding: 0 2px; }

.ball, .num-ball {
  box-shadow:
    inset 0 -6px 10px rgba(0,0,0,.25),
    inset 0 4px 8px rgba(255,255,255,.35),
    0 4px 10px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.25);
}
.ball.red, .num-ball.n-even {
  background: radial-gradient(circle at 30% 28%, #ff8a80, #ef4444 45%, #b91c1c) !important;
}
.ball.green, .num-ball.n-odd {
  background: radial-gradient(circle at 30% 28%, #6ee7b7, #10b981 45%, #047857) !important;
}
.ball.violet, .num-ball.n-0 {
  background: linear-gradient(135deg,
    #ef4444 0%, #ef4444 48%, #8b5cf6 52%, #8b5cf6 100%) !important;
}
.num-ball.n-5 {
  background: linear-gradient(135deg,
    #10b981 0%, #10b981 48%, #8b5cf6 52%, #8b5cf6 100%) !important;
}

.game-tile {
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transition: transform .15s ease;
}
.game-tile:active { transform: scale(0.97); }

.pay-grid { gap: 12px; }
.pay-card {
  min-height: 72px; border-radius: 14px; padding: 14px 8px;
  background: #fff; border: 2px solid #e8ecf2;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.pay-card.on {
  border-color: var(--green);
  background: #e8faf0;
  box-shadow: 0 0 0 3px rgba(21,184,106,.15);
}
.channel-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.channel-pills button {
  padding: 10px 12px; border-radius: 10px; border: 1px solid #e0e4ec;
  background: #fff; font-size: 0.75rem; font-weight: 700; color: #0ca65a;
}
.channel-pills button.on {
  background: #15b86a; color: #fff; border-color: transparent;
}
input.field, select.field {
  background: #fff; border: 1.5px solid #e5e9f0; border-radius: 12px;
  padding: 14px 14px; box-shadow: inset 0 1px 2px rgba(0,0,0,.03);
}
#view-home { padding-bottom: 24px; }
#view-home .game-grid { padding-bottom: 28px; }

#cat-tabs { display:flex; gap:12px; padding:14px 12px 8px; overflow-x:auto; }
#cat-tabs button {
  background:none; border:none; font-weight:700; font-size:0.9rem; color:var(--muted);
  padding-bottom:6px; border-bottom:2px solid transparent; white-space:nowrap;
}
#cat-tabs button.on { color:var(--green); border-bottom-color:var(--green); }
.flip-digit { position: relative; }
.flip-digit::after {
  content:''; position:absolute; left:0; right:0; top:50%; height:1px;
  background:rgba(0,0,0,.12);
}
#bottom-nav { z-index: 60; }
#bottom-nav .go-btn { z-index: 61; }
.pay-card.on { background:#d1fae5 !important; border-color:#10b981 !important; }

/* 18+ high contrast gate */
.age-gate-pro {
  position: fixed; inset: 0; z-index: 200; background: #0a0a0a; color: #fff;
  display: none; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
}
.age-gate-pro.show { display: flex; }
.age-badge {
  width: 96px; height: 96px; border-radius: 50%; background: #dc2626;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 900; margin-bottom: 20px;
  box-shadow: 0 0 0 6px rgba(220,38,38,.25);
}
.age-gate-pro h1 { font-size: 1.4rem; margin: 0 0 12px; }
.age-gate-pro p { color: #a3a3a3; font-size: 0.88rem; max-width: 340px; line-height: 1.45; }
.age-gate-pro label { display: flex; gap: 10px; align-items: flex-start; text-align: left;
  max-width: 340px; margin: 18px auto; font-size: 0.82rem; color: #e5e5e5; }
.btn-crimson {
  background: #dc2626; color: #fff; font-weight: 800; border: none;
  padding: 14px 20px; border-radius: 10px; width: 100%; max-width: 340px; font-size: 0.95rem;
}
.btn-exit {
  margin-top: 12px; background: transparent; color: #fff; border: 1.5px solid #fff;
  padding: 12px 20px; border-radius: 10px; width: 100%; max-width: 340px; font-weight: 700;
}
.auth-gate {
  position: fixed; inset: 0; z-index: 190; background: #f4f6f9;
  display: none; flex-direction: column; align-items: center; justify-content: center; padding: 20px;
}
.auth-gate.show { display: flex; }
.auth-card {
  background: #fff; border-radius: 16px; padding: 24px; width: 100%; max-width: 380px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
.auth-card h2 { margin: 0 0 8px; color: #0a0a0a; }
.verify-badge {
  background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 12px; padding: 12px;
  margin: 12px; font-size: 0.8rem; color: #065f46;
}

.device-verify-modal {
  display: none; position: fixed; inset: 0; z-index: 180;
  background: rgba(8,10,18,.92); align-items: center; justify-content: center; padding: 20px;
}
.device-verify-modal.show { display: flex; }
.device-verify-card {
  background: linear-gradient(160deg, #12182a, #0c1020);
  border: 1px solid #2a3550; border-radius: 20px; padding: 28px 22px;
  max-width: 360px; width: 100%; text-align: center; color: #e8eef7;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.device-verify-card h2 { margin: 12px 0 8px; font-size: 1.2rem; }
.device-verify-card p { color: #9aa3b8; font-size: 0.88rem; line-height: 1.45; }
.dv-icon { font-size: 2.4rem; }
.dv-icon.ok { filter: drop-shadow(0 0 12px rgba(52,211,153,.5)); }
.dv-list { text-align: left; color: #b6c0d4; font-size: 0.82rem; margin: 14px 0 18px; padding-left: 18px; }
.dv-spinner {
  width: 48px; height: 48px; margin: 12px auto;
  border: 3px solid #2a3550; border-top-color: #15b86a; border-radius: 50%;
  animation: dvSpin .8s linear infinite;
}
@keyframes dvSpin { to { transform: rotate(360deg); } }

/* Browser auth gate — glassmorphism */
.auth-gate {
  background: radial-gradient(800px 500px at 50% 0%, #0f2a1c 0%, #070b12 55%, #05070c 100%) !important;
}
.auth-gate .auth-card,
.auth-card {
  background: rgba(18, 24, 38, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #e8eef7;
}
.auth-card h2 { color: #fff !important; }
.auth-card .muted { color: #9aa3b8 !important; }
.auth-card .field {
  background: rgba(8, 12, 20, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}
#btn-token-login {
  background: linear-gradient(90deg, #0ca65a, #15b86a) !important;
  box-shadow: 0 0 0 0 rgba(21, 184, 106, 0.55);
  animation: glowPulse 2s ease-in-out infinite;
  border: none !important;
  font-weight: 800 !important;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(21, 184, 106, 0.35); }
  50% { box-shadow: 0 0 22px rgba(21, 184, 106, 0.75); }
}
#btn-tg-signup {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(21, 184, 106, 0.5) !important;
  color: #6ee7b7 !important;
}
