/* =============================================================
   Vault Insights — immersive page styles
   Adapted from claude.ai/design handoff (Liquid ETH bundle), wired
   to the kBTC vault data we actually have. Lives next to style.css;
   only vault.html links this file.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Decentrifi brand ramp — blue (#346DF1) → violet (#7D4CFF) */
  --primary-600: #2C53D4;
  --primary-500: #346DF1;
  --primary-400: #5B63F2;
  --primary-300: #7D4CFF;
  --primary-200: #B9C2FF;

  --accent-teal: #22D1C6;

  --success-500: #10B981;
  --warning-500: #F59E0B;
  --error-500:   #EF4444;
  --info-500:    #3B82F6;

  --bg-dark: #0D0B1E;
  --eyebrow-purple: #4F73F5;

  --font-sans-marketing: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans-app: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', 'Fira Code', ui-monospace, monospace;
}

/* Scope everything under .vx-page so we don't leak into shared style.css elements. */
.vx-page * { box-sizing: border-box; }
.vx-page {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans-app);
  background: var(--bg-dark);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01" 1;
  min-height: 100vh;
}
.vx-page a { color: inherit; text-decoration: none; }
.vx-page button { font-family: inherit; cursor: pointer; }

/* ============== Top nav ============== */
.vx-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(13, 11, 30, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.vx-nav-left { display: flex; align-items: center; gap: 28px; }
.vx-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-sans-marketing); font-weight: 800; font-size: 16px; letter-spacing: -.4px; color: #fff; }
.vx-brand-logo { height: 26px; width: auto; display: block; }
.vx-crumbs { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.vx-crumbs .sep { color: rgba(255,255,255,.25); }
.vx-crumbs .current { color: rgba(255,255,255,.92); font-weight: 600; }
.vx-nav-right { display: flex; align-items: center; gap: 10px; }
.vx-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.88);
}
.vx-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success-500);
  box-shadow: 0 0 0 0 rgba(16,185,129,.7);
  animation: vxPulseDot 2s infinite;
}
.vx-pill.syncing .dot { background: var(--primary-400); animation: vxPulseDot 1.4s infinite; }
@keyframes vxPulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.vx-btn-ghost {
  background: transparent; color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.14);
  padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 600;
  transition: all .15s ease;
  display: inline-flex; align-items: center; gap: 7px;
}
.vx-btn-ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.26); }
.vx-btn-primary {
  background: var(--primary-500); color: #fff; border: 0;
  padding: 8px 14px; border-radius: 9px; font-size: 13px; font-weight: 600;
  box-shadow: 0 4px 18px rgba(125,76,255,.4);
  transition: all .15s ease;
  display: inline-flex; align-items: center; gap: 7px;
}
.vx-btn-primary:hover { background: var(--primary-600); transform: translateY(-1px); }

/* ============== Hero ============== */
.vx-hero {
  position: relative;
  padding: 56px 32px 72px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.vx-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 78% 0%, rgba(125,76,255,.28), transparent 60%),
    radial-gradient(ellipse 50% 60% at 18% 110%, rgba(52,109,241,.22), transparent 65%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 48px 48px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}
.vx-hero::after {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(125,76,255,.55), rgba(52,109,241,.2) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.vx-hero-inner { position: relative; max-width: 1280px; margin: 0 auto; }
.vx-hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.vx-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--primary-300); }

.vx-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 1000px) { .vx-hero-grid { grid-template-columns: 1fr; gap: 36px; } }

.vx-vault-head { display: flex; align-items: flex-start; gap: 22px; }
.vx-asset-mark {
  position: relative;
  width: 96px; height: 96px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 24px 48px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}
.vx-asset-mark .asset-glyph-img {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 8px 24px rgba(247,147,26,.35);
}
.vx-asset-mark .chain-bubble {
  position: absolute; bottom: -6px; right: -6px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.03em;
}

.vx-vault-title-block { flex: 1; min-width: 0; }
.vx-vault-name {
  font-family: var(--font-sans-marketing);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0 0 12px;
  color: #fff;
}
.vx-vault-name .sub { display: block; font-weight: 600; color: rgba(255,255,255,.55); font-size: .56em; margin-top: 6px; letter-spacing: -.01em; }
.vx-vault-symbol {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(125,76,255,.16);
  border: 1px solid rgba(125,76,255,.3);
  font-family: var(--font-mono);
  font-size: 12.5px; font-weight: 600;
  color: var(--primary-200);
  margin-bottom: 16px;
}
.vx-vault-symbol .symdot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-300); }
.vx-vault-tagline {
  font-size: 15.5px; line-height: 1.6;
  color: rgba(255,255,255,.72);
  max-width: 56ch;
  margin: 0 0 22px;
}

/* Identity grid: provider / platform / type / risk manager / asset */
.vx-identity {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 1100px) { .vx-identity { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .vx-identity { grid-template-columns: repeat(2, 1fr); } }
.vx-identity-cell {
  background: rgba(13,11,30,.65);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.vx-identity-cell-link {
  text-decoration: none;
  color: inherit;
  transition: background .15s ease;
  position: relative;
}
.vx-identity-cell-link:hover { background: rgba(125,76,255,.14); }
.vx-identity-cell-link:hover .badge-emblem { color: #fff; border-color: rgba(125,76,255,.5); }
.vx-identity-cell-link .link-icon {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  margin-left: 2px;
  transition: color .15s ease, transform .15s ease;
}
.vx-identity-cell-link:hover .link-icon {
  color: var(--accent-teal);
  transform: translate(1px, -1px);
}
.vx-identity-cell .lbl {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.42);
}
.vx-identity-cell .val {
  display: flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 600; color: #fff;
}
.vx-identity-cell .val .badge-emblem {
  width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  color: var(--primary-200);
  flex-shrink: 0;
  transition: border-color .15s ease, transform .15s ease;
}
/* SVG brand logos: the SVG provides its own background, so we just size the box. */
.vx-identity-cell .val .badge-logo {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.vx-identity-cell-link:hover .badge-logo { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.vx-identity-cell .sub-line { font-size: 11px; color: rgba(255,255,255,.45); }

/* ============== Headline numbers (right side of hero) ============== */
.vx-headline-stats {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 26px 28px;
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
}
.vx-headline-stats::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(125,76,255,.5), rgba(255,255,255,0) 40%, rgba(125,76,255,.25) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.vx-headline-apy { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.vx-apy-num {
  font-family: var(--font-mono); font-feature-settings: "tnum" 1;
  font-size: clamp(56px, 7vw, 76px);
  font-weight: 700; line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #B9C2FF 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.04em;
}
.vx-apy-num .pct { font-size: .47em; opacity: .65; margin-left: 4px; }
.vx-apy-meta { display: flex; flex-direction: column; gap: 4px; }
.vx-apy-meta .lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.vx-apy-meta .delta {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--success-500); font-weight: 600;
}
.vx-apy-meta .delta.down { color: var(--error-500); }
.vx-apy-meta .delta.neutral { color: rgba(255,255,255,.45); font-weight: 500; }

.vx-apy-spark { width: 100%; height: 56px; margin-top: 4px; display: block; }

.vx-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,.1);
}
.vx-mini-stat .lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 4px; }
.vx-mini-stat .val { font-family: var(--font-mono); font-size: 19px; font-weight: 600; color: #fff; letter-spacing: -.02em; word-break: break-all; }
.vx-mini-stat .sub { font-size: 11.5px; color: rgba(255,255,255,.5); margin-top: 2px; }

/* ============== Body sections ============== */
.vx-body {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(125,76,255,.06), transparent 70%),
    var(--bg-dark);
  padding: 56px 32px 28px;
}
.vx-body-inner { max-width: 1280px; margin: 0 auto; }

.vx-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 24px; gap: 24px; flex-wrap: wrap;
}
.vx-section-head h2 {
  font-family: var(--font-sans-marketing);
  font-size: 26px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.1;
  margin: 8px 0 4px;
  color: #fff;
}
.vx-section-head p { color: rgba(255,255,255,.55); font-size: 13.5px; margin: 0; max-width: 56ch; }

/* === Big stat tiles row === */
.vx-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
@media (max-width: 1000px) { .vx-stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .vx-stat-grid { grid-template-columns: 1fr; } }
.vx-stat-tile {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 20px 22px 22px;
  overflow: hidden;
  transition: all .2s ease;
}
.vx-stat-tile:hover { border-color: rgba(125,76,255,.35); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.vx-stat-tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--c, var(--primary-500));
  opacity: .85;
}
.vx-stat-tile .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.vx-stat-tile .head .lbl { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.vx-stat-tile .ico {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(125,76,255,.15);
  color: var(--primary-200);
  font-size: 14px;
}
.vx-stat-tile .v {
  font-family: var(--font-mono); font-feature-settings: "tnum" 1;
  font-size: 30px; font-weight: 700; line-height: 1.05;
  color: #fff; letter-spacing: -.02em;
  word-break: break-all;
}
.vx-stat-tile .v small { font-size: 16px; color: rgba(255,255,255,.55); font-weight: 500; margin-left: 4px; }
.vx-stat-tile .sub { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.vx-stat-tile .sub b { color: var(--success-500); font-weight: 600; font-family: var(--font-mono); }
.vx-stat-tile .sub b.down { color: var(--error-500); }

/* Liquidity gauge */
.vx-gauge {
  margin-top: 12px;
  height: 6px; width: 100%;
  border-radius: 100px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
  position: relative;
}
.vx-gauge .fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--success-500), var(--primary-400));
}
.vx-gauge-labels {
  display: flex; justify-content: space-between;
  margin-top: 6px;
  font-size: 11px; color: rgba(255,255,255,.45);
  font-family: var(--font-mono);
}

/* ============== Chart card ============== */
.vx-chart-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 28px 32px 32px;
  margin-bottom: 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  position: relative;
  overflow: hidden;
}
.vx-chart-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 18px;
}
.vx-chart-titles h3 { font-family: var(--font-sans-marketing); font-size: 20px; font-weight: 700; margin: 6px 0 4px; color: #fff; letter-spacing: -.015em; }
.vx-chart-titles p { font-size: 13px; color: rgba(255,255,255,.55); margin: 0; max-width: 56ch; line-height: 1.55; }

.vx-chart-readout { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 22px; flex-wrap: wrap; }
.vx-chart-readout .big {
  font-family: var(--font-mono); font-feature-settings: "tnum" 1;
  font-size: 36px; font-weight: 700; color: #fff; letter-spacing: -.02em;
  word-break: break-all;
}
.vx-chart-readout .unit { font-size: 16px; color: rgba(255,255,255,.55); font-weight: 500; }
.vx-chart-readout .chg {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--success-500); padding: 3px 8px; border-radius: 6px;
  background: rgba(16,185,129,.12);
}
.vx-chart-readout .chg.down {
  color: var(--error-500);
  background: rgba(239,68,68,.14);
}
.vx-chart-readout .chg.flat {
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
}
.vx-chart-readout .chg-pct { opacity: .8; }

.vx-chart-meta {
  display: inline-flex; gap: 16px; font-size: 12px; color: rgba(255,255,255,.55);
  font-family: var(--font-mono);
}
.vx-chart-meta .k { color: rgba(255,255,255,.4); margin-right: 4px; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }

.vx-chart-wrap {
  position: relative;
  width: 100%; height: 360px;
  margin-top: 6px;
}
.vx-chart-wrap canvas { width: 100% !important; height: 100% !important; }

.vx-chart-footnote {
  display: flex; gap: 18px; margin-top: 18px; padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.08);
  font-size: 12px; color: rgba(255,255,255,.55);
  flex-wrap: wrap;
}
.vx-chart-footnote .legend { display: inline-flex; align-items: center; gap: 7px; }
.vx-chart-footnote .legend .swatch { width: 14px; height: 2px; background: var(--primary-300); border-radius: 2px; }
.vx-chart-footnote .legend .swatch.dashed { background: transparent; border-top: 2px dashed rgba(255,255,255,.32); height: 0; }
.vx-chart-footnote .stamp { margin-left: auto; font-family: var(--font-mono); }

.vx-chart-overlay {
  position: absolute;
  inset: 14px 0 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(13,11,30,0) 0%, rgba(13,11,30,.6) 60%);
  border-radius: 12px;
  gap: 14px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  pointer-events: none;
}
.vx-loader-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(125,76,255,.2);
  border-top-color: var(--primary-300);
  animation: vxSpin 0.9s linear infinite;
}
@keyframes vxSpin { to { transform: rotate(360deg); } }

/* ============== Details strip (replaces composition/holders panels) ============== */
.vx-detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}
@media (max-width: 1000px) { .vx-detail-grid { grid-template-columns: 1fr; } }
.vx-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 22px 24px;
}
.vx-panel h4 {
  font-family: var(--font-sans-marketing); font-size: 15px; font-weight: 700;
  margin: 0 0 14px; color: #fff;
}
.vx-panel-row {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  gap: 16px;
}
.vx-panel-row:last-child { border-bottom: 0; }
.vx-panel-row .lbl { font-size: 12.5px; color: rgba(255,255,255,.6); }
.vx-panel-row .val {
  font-family: var(--font-mono); font-feature-settings: "tnum" 1;
  font-size: 14px; font-weight: 600; color: #fff;
  text-align: right; word-break: break-all;
}
.vx-panel-row .val.pos { color: var(--success-500); }
.vx-panel-row .val.neg { color: var(--error-500); }
.vx-panel-row .val .dim { color: rgba(255,255,255,.45); font-weight: 500; margin-left: 4px; font-size: 12px; }

.vx-addr {
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,.65);
  word-break: break-all;
}
.vx-addr-link { color: var(--accent-teal); transition: color .15s ease; }
.vx-addr-link:hover { color: #fff; }

/* ============== Footer ============== */
.vx-foot {
  text-align: center;
  padding: 40px 32px 56px;
  font-size: 12px; color: rgba(255,255,255,.4);
  border-top: 1px solid rgba(255,255,255,.05);
  margin-top: 36px;
  line-height: 1.6;
}
.vx-foot .disc { max-width: 64ch; margin: 0 auto; }

/* ===== BTC | USD unit toggle ===== */
.vx-unit-switch { display: flex; align-items: center; gap: 12px; }
.vx-unit-rate {
  font-family: 'IBM Plex Mono', monospace; font-size: 12.5px;
  color: rgba(255,255,255,.5); white-space: nowrap;
}
.vx-seg {
  display: inline-flex; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 3px;
}
.vx-seg-btn {
  appearance: none; border: 0; background: transparent;
  color: rgba(255,255,255,.6); font: inherit; font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  transition: background .15s, color .15s;
}
.vx-seg-btn.is-active { background: #346DF1; color: #fff; }
.vx-seg-btn:not(.is-active):hover { color: #fff; }

.vx-win {
  display: inline-flex; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 3px;
}
.vx-win-btn {
  appearance: none; border: 0; background: transparent;
  color: rgba(255,255,255,.6); font: inherit; font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  transition: background .15s, color .15s;
}
.vx-win-btn.is-active { background: #346DF1; color: #fff; }
.vx-win-btn:not(.is-active):hover { color: #fff; }
.is-hidden { display: none; }

/* ============== Mobile tweaks ============== */
@media (max-width: 720px) {
  .vx-nav { padding: 12px 18px; gap: 12px; }
  .vx-crumbs { display: none; }
  .vx-nav-right .vx-btn-ghost { display: none; }
  .vx-hero { padding: 40px 18px 56px; }
  .vx-body { padding: 40px 18px 24px; }
  .vx-chart-card { padding: 22px 18px 22px; }
}
