/* ============================================================
   VAULT (vault.html) — 2026-09-12
   Premium "safe" panel in the site's dark design language: DL-blue glow +
   WL-gold accents, the Growtopia safe sprite, vault-door ring texture.
   Page-only stylesheet (loaded after style.css; reuses its :root tokens).
   ============================================================ */

[hidden] { display: none !important; }

.vt-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.2rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.vt-pixel { image-rendering: pixelated; }

/* ---------- Loading / unavailable / error ---------- */
.vt-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 4.5rem 1rem;
  color: var(--text-muted);
  font-weight: 600;
}
.vt-loading-safe { animation: vtPulse 1.4s ease-in-out infinite; }

.vt-unavailable { max-width: 640px; margin: 3.5rem auto; padding: 0 1rem; text-align: center; }
.vt-unavailable h1 { font-size: 1.35rem; margin-bottom: 0.6rem; color: var(--heading); }
.vt-unavailable p { color: var(--text-muted); font-size: 0.95rem; }
.vt-unavailable a { color: #60a5fa; }

.vt-error { text-align: center; }
.vt-error p { margin: 0 0 0.9rem; color: var(--text); }

/* ---------- Shared bits ---------- */
.vt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93c5fd;
  margin: 0 0 0.2rem;
}
.vt-gradient-text {
  background: linear-gradient(90deg, #93c5fd, #fcd34d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vt-h2 {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.15rem;
  margin: 0;
  color: var(--heading);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.vt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 0.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: Inter, sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast), filter var(--t-fast);
}
.vt-btn--primary {
  color: #0b1220;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.3);
}
.vt-btn--primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.vt-btn--ghost { color: var(--text); background: transparent; border-color: rgba(148, 163, 184, 0.4); }
.vt-btn--ghost:hover { border-color: #93c5fd; color: #fff; }
.vt-btn--google { width: 100%; margin-top: 0.6rem; background: #fff; color: #1f2937; }
.vt-btn--google:hover { filter: brightness(0.96); }

/* ---------- Hero / balance ---------- */
.vt-hero,
.vt-gate {
  position: relative;
  overflow: hidden;
  border-radius: 1.4rem;
  border: 1px solid rgba(147, 197, 253, 0.28);
  background:
    radial-gradient(700px 300px at 88% -20%, rgba(96, 165, 250, 0.24), transparent 60%),
    radial-gradient(600px 280px at -10% 120%, rgba(251, 191, 36, 0.13), transparent 60%),
    linear-gradient(160deg, #0f1a30 0%, #13223f 55%, #1b1f3d 100%);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* Vault-door rings */
.vt-hero::before,
.vt-gate::before {
  content: "";
  position: absolute;
  right: -130px;
  top: 50%;
  width: 380px;
  height: 380px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(147, 197, 253, 0.08) 0 2px, transparent 2px 24px);
  -webkit-mask-image: radial-gradient(circle, #000 50%, transparent 72%);
  mask-image: radial-gradient(circle, #000 50%, transparent 72%);
  pointer-events: none;
}
.vt-hero { padding: 1.6rem 1.6rem 1.4rem; }
.vt-hero-glow {
  position: absolute;
  top: -90px;
  left: 50%;
  width: 340px;
  height: 240px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.28) 0%, rgba(96, 165, 250, 0.1) 45%, transparent 70%);
  pointer-events: none;
}
.vt-spark {
  position: absolute;
  color: #93c5fd;
  opacity: 0.45;
  pointer-events: none;
  animation: vtFloat 7s ease-in-out infinite;
}
.vt-spark-1 { top: 26px; right: 170px; font-size: 1.1rem; }
.vt-spark-2 { top: 88px; right: 56px; font-size: 0.85rem; color: #fcd34d; animation-delay: -2.4s; }
.vt-spark-3 { top: 118px; left: 34px; font-size: 0.75rem; animation-delay: -4.6s; }

.vt-hero-head { position: relative; display: flex; align-items: center; gap: 0.9rem; }
.vt-safe {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.2), rgba(96, 165, 250, 0.12));
  border: 1px solid rgba(251, 191, 36, 0.38);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.vt-hero-id { min-width: 0; }
.vt-title {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.25rem, 3.6vw, 1.65rem);
  margin: 0;
  color: var(--heading);
  overflow-wrap: anywhere;
}
.vt-lock-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  white-space: nowrap;
}
.vt-lock-chip--hold { color: #fcd34d; background: rgba(251, 191, 36, 0.12); border-color: rgba(251, 191, 36, 0.4); }

.vt-balance-block { position: relative; text-align: center; margin: 1.5rem 0 1rem; }
.vt-balance-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}
.vt-balance { display: inline-flex; align-items: center; gap: 0.6rem; max-width: 100%; }
.vt-balance-ic {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(96, 165, 250, 0.55));
}
.vt-balance-num {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 10vw, 3.9rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 0%, #dbeafe 55%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow-wrap: anywhere;
}
.vt-balance-unit {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #93c5fd;
  align-self: flex-end;
  margin-bottom: 0.3rem;
}
.vt-balance-sub {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.vt-wl-ic { width: 16px; height: 16px; object-fit: contain; }

/* Ready vs waiting — the hero number is the sum of the two. Only shown while
   something is still waiting for the owner (js/vault.js). */
.vt-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin: 0.85rem auto 0;
  padding: 0.5rem 0.9rem;
  max-width: 100%;
  width: fit-content;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.vt-split-part { display: inline-flex; align-items: center; gap: 0.4rem; }
.vt-split-part strong { color: var(--heading); font-weight: 700; }
.vt-split-part--ready .gp-ic { color: #34d399; }
.vt-split-part--locked .gp-ic { color: #fbbf24; }
.vt-split-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.12);
}
@media (max-width: 560px) {
  .vt-split { flex-direction: column; gap: 0.35rem; border-radius: 0.9rem; }
  .vt-split-sep { width: 60%; height: 1px; }
}

.vt-meter { position: relative; max-width: 380px; margin: 0 auto 1.2rem; }
.vt-meter-bar {
  height: 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.vt-meter-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #fbbf24, #93c5fd);
  transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.vt-meter-text { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin: 0.45rem 0 0; }

.vt-stats { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.vt-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.85rem 0.5rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
  min-width: 0;
}
.vt-stat-ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  margin-bottom: 0.2rem;
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
}
.vt-stat--incoming .vt-stat-ic { background: rgba(251, 191, 36, 0.14); color: #fbbf24; }
.vt-stat--ready .vt-stat-ic { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; }
.vt-stat--earned .vt-stat-ic { background: rgba(16, 185, 129, 0.14); color: #34d399; }
.vt-stat-num {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.vt-stat-lbl { font-size: 0.7rem; color: var(--text-muted); line-height: 1.3; }

/* ---------- Notices ---------- */
.vt-notice {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  font-size: 0.88rem;
  line-height: 1.5;
  border: 1px solid rgba(96, 165, 250, 0.3);
  background: rgba(59, 130, 246, 0.08);
  color: var(--text);
}
.vt-notice--warn { border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.08); }
.vt-notice > .gp-ic { flex-shrink: 0; margin-top: 0.2rem; }
.vt-notice a { color: #93c5fd; }

/* ---------- Cards ---------- */
.vt-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.vt-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.vt-min-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: #93c5fd;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-pill);
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.3);
}

/* ---------- Withdraw form ---------- */
.vt-withdraw { border-color: rgba(147, 197, 253, 0.22); }
.vt-blocked {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: -0.2rem 0 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: var(--surface-inset);
  border: 1px solid var(--border);
}
.vt-blocked > .gp-ic { flex-shrink: 0; margin-top: 0.15rem; color: #93c5fd; }
.vt-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.vt-fieldset:disabled { opacity: 0.5; }
.vt-fieldset:disabled * { cursor: not-allowed; }
.vt-field { margin-bottom: 0.95rem; min-width: 0; }
.vt-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.vt-field-row .vt-field { margin-bottom: 0.3rem; }
.vt-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.vt-input,
.vt-amount-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--surface-inset);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 0.7rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.98rem;
  font-family: Inter, sans-serif;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.vt-input:focus,
.vt-amount-input:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.vt-input.is-invalid,
.vt-amount-input.is-invalid { border-color: var(--danger); }
.vt-input--upper { text-transform: uppercase; letter-spacing: 0.04em; }
.vt-input--upper::placeholder { text-transform: none; letter-spacing: 0; }

.vt-amount { display: flex; gap: 0.5rem; align-items: stretch; }
.vt-amount-input {
  flex: 1;
  min-width: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  -moz-appearance: textfield;
  appearance: textfield;
}
.vt-amount-input::-webkit-outer-spin-button,
.vt-amount-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.vt-unit-toggle {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: var(--surface-inset);
  border: 1px solid var(--border-strong);
  border-radius: 0.7rem;
}
.vt-unit {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  font-family: Inter, sans-serif;
  padding: 0 0.75rem;
  border-radius: 0.55rem;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.vt-unit img { width: 16px; height: 16px; object-fit: contain; }
.vt-unit:hover { color: #fff; }
.vt-unit.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.3), rgba(59, 130, 246, 0.18));
  box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.45);
}
.vt-quick { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.55rem; }
.vt-chip {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: Inter, sans-serif;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.vt-chip:hover:not(:disabled) { border-color: #93c5fd; background: rgba(96, 165, 250, 0.1); }
.vt-chip:disabled { opacity: 0.35; cursor: not-allowed; }
.vt-chip--max { color: #fcd34d; border-color: rgba(251, 191, 36, 0.4); }
.vt-chip--max:hover:not(:disabled) { border-color: #fbbf24; background: rgba(251, 191, 36, 0.1); }

.vt-hint { font-size: 0.78rem; color: var(--text-dim); line-height: 1.5; margin: 0.25rem 0 0.95rem; }
.vt-hint a { color: #93c5fd; }

.vt-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.95rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.05);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}
.vt-check input { width: 18px; height: 18px; margin-top: 0.1rem; flex-shrink: 0; accent-color: #f59e0b; cursor: pointer; }
.vt-check strong { color: var(--heading); }

.vt-reauth {
  padding: 0.95rem 1rem;
  margin-bottom: 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(167, 139, 250, 0.4);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.13), rgba(124, 58, 237, 0.04));
}
.vt-reauth-head { display: flex; align-items: center; gap: 0.45rem; font-weight: 700; color: #ddd6fe; margin-bottom: 0.35rem; }
.vt-reauth-text { font-size: 0.82rem; color: var(--text-muted); margin: 0 0 0.75rem; line-height: 1.5; }
.vt-reauth-ok { display: flex; align-items: center; gap: 0.4rem; margin: 0 0 0.9rem; font-size: 0.82rem; color: #6ee7b7; }

.vt-captcha { display: flex; justify-content: center; min-height: 65px; margin: 0.1rem 0 0.9rem; }

.vt-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  margin-bottom: 0.9rem;
  border-radius: 0.8rem;
  background: var(--surface-inset);
  border: 1px dashed var(--border-strong);
  font-size: 0.88rem;
}
.vt-summary-lbl { color: var(--text-muted); }
.vt-summary-val { font-weight: 700; color: var(--heading); text-align: right; overflow-wrap: anywhere; }
.vt-summary-val strong { color: #93c5fd; }
.vt-summary-val .vt-bad { color: var(--danger); font-weight: 600; }

.vt-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1rem;
  border: 0;
  border-radius: 0.85rem;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 800;
  font-family: Inter, sans-serif;
  color: #0b1220;
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 55%, #fbbf24 100%);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.28);
  transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
}
.vt-submit:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 14px 34px rgba(245, 158, 11, 0.38); }
.vt-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.vt-submit-arrow { transition: transform var(--t-fast); }
.vt-submit:hover:not(:disabled) .vt-submit-arrow { transform: translateX(3px); }

.vt-msg { margin-top: 0.85rem; min-height: 1.2rem; font-size: 0.88rem; font-weight: 600; line-height: 1.45; text-align: center; }
.vt-msg--ok { color: var(--success); }
.vt-msg--err { color: var(--danger); }
.vt-msg--info { color: var(--text-muted); }
.vt-msg a { color: #93c5fd; }

/* ---------- Pending tracker ---------- */
.vt-pending {
  border-color: rgba(251, 191, 36, 0.42);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.08) 0%, var(--surface-2) 55%);
}
.vt-status {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.vt-status--pending { color: #fcd34d; background: rgba(251, 191, 36, 0.14); border: 1px solid rgba(251, 191, 36, 0.4); }
.vt-status--paid { color: #6ee7b7; background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(52, 211, 153, 0.4); }
.vt-status--rejected { color: #fca5a5; background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.35); }
.vt-pending-amt { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 1.1rem; }
.vt-pending-ic { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.vt-pending-num { font-family: "Space Grotesk", Inter, sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--heading); margin: 0; }
.vt-pending-to { margin: 0.1rem 0 0; font-size: 0.85rem; color: var(--text-muted); overflow-wrap: anywhere; }
.vt-pending-to strong { color: var(--text); }
.vt-pending .gp-payout-widget { margin-bottom: 0.8rem; }
.vt-pending .vt-hint { margin-bottom: 0; }

.vt-steps { list-style: none; margin: 0 0 1rem; padding: 0; }
.vt-step { position: relative; display: flex; gap: 0.75rem; padding-bottom: 0.95rem; }
.vt-step:last-child { padding-bottom: 0; }
.vt-step::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}
.vt-step:last-child::before { display: none; }
.vt-step.is-done::before { background: linear-gradient(#10b981, rgba(251, 191, 36, 0.6)); }
.vt-step-dot {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  box-sizing: border-box;
  margin-top: 1px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: var(--surface-inset);
}
.vt-step.is-done .vt-step-dot { background: #10b981; border-color: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18); }
.vt-step.is-active .vt-step-dot {
  border-color: #fbbf24;
  background: radial-gradient(circle, #fbbf24 34%, transparent 40%);
  animation: vtPing 1.8s ease-out infinite;
}
.vt-step strong { display: block; font-size: 0.9rem; color: var(--heading); }
.vt-step small { display: block; margin-top: 0.1rem; font-size: 0.76rem; color: var(--text-muted); }

/* ---------- Activity ---------- */
.vt-tabs { display: flex; gap: 3px; padding: 3px; background: var(--surface-inset); border: 1px solid var(--border); border-radius: 0.65rem; }
.vt-tab {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.78rem;
  font-family: Inter, sans-serif;
  padding: 0.35rem 0.8rem;
  border-radius: 0.5rem;
  cursor: pointer;
}
.vt-tab:hover { color: #fff; }
.vt-tab.is-active { background: var(--surface-3); color: #fff; }
.vt-list { display: flex; flex-direction: column; }
.vt-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.15rem;
  border-top: 1px solid var(--border-faint);
}
.vt-row:first-child { border-top: 0; padding-top: 0.2rem; }
.vt-row-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.05rem; }
.vt-row-ic--credit { background: rgba(16, 185, 129, 0.14); color: #34d399; }
.vt-row-ic--hold { background: rgba(96, 165, 250, 0.14); color: #93c5fd; }
.vt-row-ic--refund { background: rgba(251, 191, 36, 0.14); color: #fbbf24; }
.vt-row-ic--adjust { background: rgba(167, 139, 250, 0.14); color: #c4b5fd; }
.vt-row-ic--wait { background: rgba(251, 191, 36, 0.14); color: #fbbf24; }
.vt-row-ic--declined { background: rgba(248, 113, 113, 0.12); color: #fca5a5; }
.vt-row-main { min-width: 0; }
.vt-row-title { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--heading); display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.vt-row-sub { margin: 0.1rem 0 0; font-size: 0.76rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-row-note { margin: 0.3rem 0 0; font-size: 0.76rem; color: #fcd34d; overflow-wrap: anywhere; }
.vt-row-amt { text-align: right; font-family: "Space Grotesk", Inter, sans-serif; font-weight: 700; font-size: 0.98rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vt-row-amt small { display: block; font-family: Inter, sans-serif; font-weight: 500; font-size: 0.7rem; color: var(--text-dim); }
.vt-amt--plus { color: #34d399; }
.vt-amt--wait { color: #fcd34d; }
.vt-amt--declined { color: var(--text-dim); text-decoration: line-through; }
.vt-amt--minus { color: var(--text); }
.vt-empty { text-align: center; padding: 1.6rem 1rem 1rem; color: var(--text-muted); font-size: 0.88rem; line-height: 1.55; }
.vt-empty img { display: block; margin: 0 auto 0.6rem; opacity: 0.75; }
.vt-empty a { color: #93c5fd; }

/* ---------- How it works + security ---------- */
.vt-how .vt-h2,
.vt-security .vt-h2 { margin: 0.4rem 0 0.8rem; }
.vt-how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.vt-how-step { position: relative; padding: 1rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--surface-2); }
.vt-how-num {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(147, 197, 253, 0.22);
}
.vt-how-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 0.55rem; background: rgba(96, 165, 250, 0.14); color: #93c5fd; }
.vt-how-step h3 { margin: 0 0 0.25rem; font-size: 0.92rem; color: var(--heading); }
.vt-how-step p { margin: 0; font-size: 0.78rem; line-height: 1.55; color: var(--text-muted); }
.vt-how-step a { color: #93c5fd; }

.vt-sec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.vt-sec-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(52, 211, 153, 0.2);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.vt-sec-list li > .gp-ic { flex-shrink: 0; margin-top: 0.18rem; color: #34d399; }
.vt-sec-list strong { color: var(--heading); }

/* ---------- Logged-out gate ---------- */
.vt-gate { text-align: center; padding: 2.8rem 1.4rem 2.5rem; }
.vt-gate > * { position: relative; }
.vt-gate-safe {
  width: 112px;
  height: 112px;
  margin: 0 auto 1.1rem;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.22), rgba(96, 165, 250, 0.14));
  border: 1px solid rgba(251, 191, 36, 0.38);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  animation: vtFloat 6s ease-in-out infinite;
}
.vt-gate-title {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.7rem, 4.6vw, 2.5rem);
  line-height: 1.15;
  margin: 0.35rem 0 0.8rem;
  color: var(--heading);
}
.vt-gate-sub { max-width: 520px; margin: 0 auto 1.5rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }
.vt-gate-sub strong { color: var(--heading); }
.vt-gate-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Motion ---------- */
@keyframes vtFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes vtPing { 0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.45); } 100% { box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); } }
@keyframes vtPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.94); } }
@media (prefers-reduced-motion: reduce) {
  .vt-spark, .vt-gate-safe, .vt-loading-safe, .vt-step.is-active .vt-step-dot { animation: none; }
  .vt-meter-bar span { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .vt-wrap { padding-top: 1.4rem; }
  .vt-hero { padding: 1.3rem 1.05rem 1.1rem; }
  .vt-safe { width: 56px; height: 56px; border-radius: 15px; }
  .vt-safe img { width: 44px; height: 44px; }
  .vt-balance-ic { width: 38px; height: 38px; }
  .vt-stats { gap: 0.4rem; }
  .vt-stat { padding: 0.7rem 0.3rem; }
  .vt-stat-num { font-size: 0.92rem; }
  .vt-card { padding: 1.1rem 1rem; }
  .vt-field-row,
  .vt-how-steps,
  .vt-sec-list { grid-template-columns: 1fr; }
  .vt-spark-1 { right: 120px; }
}
@media (max-width: 400px) {
  .vt-lock-chip { padding: 0.3rem 0.5rem; }
  .vt-lock-chip span:last-child { display: none; }
  .vt-unit { padding: 0 0.55rem; }
  .vt-stat-lbl { font-size: 0.64rem; }
}
