.vxb { padding: 0 16px 48px; }
.vxb-card { max-width: 520px; margin: 0 auto; padding: 24px; text-align: left; }
.vxb-title { font-weight: 700; font-size: 20px; color: var(--text, inherit); }
.vxb-sub { color: var(--text2, #8e8ea0); font-size: 13px; line-height: 1.5; margin: 4px 0 18px; }
.vxb-seg { display: flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.vxb-seg button { flex: 1; min-height: 44px; border: 0; background: transparent; color: var(--text2, #8e8ea0); font-weight: 600; font-size: 13px; cursor: pointer; }
.vxb-seg button[aria-selected="true"] { background: var(--orange); color: #fff; }
.vxb-label { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--text3, #7a7a9a); margin: 16px 0 6px; font-weight: 600; }
.vxb-row { display: flex; gap: 8px; }
.vxb-row > * { flex: 1; min-width: 0; }
.vxb select, .vxb input, .vxb-fixed {
  width: 100%; min-height: 44px; padding: 0 12px; box-sizing: border-box; font-size: 16px;
  background: var(--bg2, rgba(255,255,255,.04)); color: var(--text, inherit);
  border: 1px solid var(--border); border-radius: 10px; font-family: inherit;
}
.vxb-fixed { display: flex; align-items: center; color: var(--text2, #8e8ea0); }
.vxb select:focus-visible, .vxb input:focus-visible, .vxb button:focus-visible, .vxb a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.vxb-amt { position: relative; margin-top: 8px; }
.vxb-amt input { font-size: 22px; font-weight: 600; min-height: 56px; padding-right: 96px; }
.vxb-amt .vxb-muted { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
.vxb-muted { color: var(--text3, #7a7a9a); font-size: 12px; }
.vxb-out { margin-top: 10px; padding: 14px; border: 1px dashed var(--border); border-radius: 10px; }
.vxb-big { font-size: 22px; font-weight: 700; word-break: break-word; }
.vxb-facts { margin: 10px 0 0; display: grid; gap: 6px; }
.vxb-facts > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.vxb-facts dt { color: var(--text3, #7a7a9a); }
.vxb-facts dd { margin: 0; text-align: right; word-break: break-all; }
.vxb-col { margin-top: 16px; }
.vxb-addr { display: flex; gap: 8px; align-items: center; }
.vxb-addr input { flex: 1; font-family: var(--font-mono, monospace); font-size: 16px; }
.vxb-link { background: none; border: 0; color: var(--orange); font-weight: 600; font-size: 13px; cursor: pointer; min-height: 44px; padding: 0 6px; white-space: nowrap; }
.vxb-hint { font-size: 12px; color: var(--text3, #7a7a9a); margin-top: 6px; line-height: 1.5; }
.vxb-msg { min-height: 20px; margin-top: 12px; font-size: 13px; color: var(--text2, #8e8ea0); }
.vxb-msg.vxb-err { color: #ff3e6c; }
.vxb-primary, .vxb-secondary { width: 100%; min-height: 48px; margin-top: 12px; border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer; }
.vxb-primary { border: 0; color: #fff; background: linear-gradient(135deg, var(--orange), #ff3e6c); }
.vxb-primary:disabled { opacity: .45; cursor: not-allowed; }
.vxb-secondary { background: transparent; color: var(--text2, #8e8ea0); border: 1px solid var(--border); }
.vxb-step { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 6px; }
.vxb-deposit { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px; border: 1px solid var(--border); border-radius: 10px; }
.vxb-mono { font-family: var(--font-mono, monospace); font-size: 13px; word-break: break-all; flex: 1; }
.vxb-warn { margin-top: 10px; padding: 10px 12px; font-size: 12px; line-height: 1.5; border-radius: 8px; background: rgba(255,107,53,.1); color: var(--text, inherit); }
.vxb-status { margin-top: 16px; padding: 12px; border-radius: 10px; border: 1px solid var(--border); font-weight: 600; text-align: center; }
.vxb-status.vxb-ok { border-color: #22c55e; color: #22c55e; }
.vxb-status.vxb-bad { border-color: #ff3e6c; color: #ff3e6c; }
.vxb-links { display: flex; gap: 14px; justify-content: center; margin-top: 8px; font-size: 13px; }
.vxb-links a { color: var(--orange); }
.vxb [hidden] { display: none !important; }
@media (max-width: 480px) { .vxb-card { padding: 18px; } .vxb-row { flex-direction: column; } }

.vxb-wallet { display: flex; align-items: center; gap: 8px; margin-top: 10px; min-height: 44px; }
.vxb-wallet-text { flex: 1; font-size: 13px; color: var(--text2, #8e8ea0); font-family: var(--font-mono, monospace); }
.vxb-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: none; }
.vxb-connect { width: 100%; min-height: 44px; border-radius: 10px; border: 1px dashed var(--orange); background: rgba(255,107,53,.08); color: var(--orange); font-weight: 700; font-size: 14px; cursor: pointer; }
.vxb-chooser { display: grid; gap: 6px; margin-top: 8px; }
.vxb-wallet-opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg2, rgba(255,255,255,.04)); color: var(--text, inherit); font-size: 14px; cursor: pointer; text-align: left; }
.vxb-outrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vxb-pill { flex: none; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--text2, #8e8ea0); }
.vxb-recip { display: flex; align-items: center; gap: 8px; margin-top: 12px; min-height: 44px; }
.vxb-recip input { flex: 1; font-family: var(--font-mono, monospace); }
.vxb-recip-addr { flex: 1; flex-basis: auto; }

.vxb-est { opacity: .6; }

.vxb-chip-row { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 0 0 10px; }
.vxb-tag { min-width: 0; font-size: 12px; line-height: 1.35; color: var(--text3, #7a7a9a); text-align: right; }
.vxb-tag-short { display: none; }
@media (max-width: 560px) { .vxb-tag-long { display: none; } .vxb-tag-short { display: inline; } .vxb-chip-row { gap: 10px; } }
.vxb-chip {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px 0 10px; white-space: nowrap; flex: none;
  border-radius: 999px; border: 1px solid transparent; text-decoration: none; cursor: pointer;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  color: var(--text, #f2f2f7);
  background: linear-gradient(var(--bg, #060608), var(--bg, #060608)) padding-box, linear-gradient(135deg, var(--orange, #ff6b35), #ff3e6c) border-box;
  box-shadow: 0 0 10px rgba(255, 107, 53, .38), 0 0 26px rgba(255, 62, 108, .16);
  animation: vxbGlow 3.4s ease-in-out infinite;
  transition: transform .15s ease, box-shadow .15s ease;
}
.vxb-chip::after { content: ''; position: absolute; inset: -8px; }
.vxb-chip svg { color: var(--orange, #ff6b35); flex: none; }
.vxb-chip:hover { transform: translateY(-1px); box-shadow: 0 0 16px rgba(255, 107, 53, .6), 0 0 34px rgba(255, 62, 108, .28); }
.vxb-chip:focus-visible { outline: 2px solid var(--orange, #ff6b35); outline-offset: 3px; }
@keyframes vxbGlow {
  0%, 100% { box-shadow: 0 0 9px rgba(255, 107, 53, .32), 0 0 22px rgba(255, 62, 108, .12); }
  50% { box-shadow: 0 0 15px rgba(255, 107, 53, .58), 0 0 32px rgba(255, 62, 108, .24); }
}
@media (prefers-reduced-motion: reduce) { .vxb-chip { animation: none; transition: none; } }
@media (max-width: 480px) { .vxb-chip-row { margin-bottom: 8px; } }

/* ---- live progress ---- */
.vxb-prog-head { display: flex; align-items: center; justify-content: space-between; }
.vxb-timer { font-family: var(--font-mono, monospace); font-size: 13px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--text2, #8e8ea0); }
.vxb-stage { perspective: 900px; margin: 22px 0 6px; }
.vxb-rail { position: relative; display: flex; justify-content: space-between; padding: 8px 4px 0; transform: rotateX(16deg); transform-style: preserve-3d; }
.vxb-tube { position: absolute; left: 30px; right: 30px; top: 29px; height: 10px; border-radius: 6px; background: linear-gradient(#07070a, #1b1b25); box-shadow: inset 0 2px 4px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.07); transform: translateZ(-10px); overflow: hidden; }
.vxb-tube-fill { position: relative; height: 100%; width: 0; border-radius: 6px; overflow: hidden; background: linear-gradient(90deg, var(--orange, #ff6b35), #ff3e6c); box-shadow: 0 0 16px rgba(255,107,53,.8); transition: width 1s cubic-bezier(.2,.8,.2,1); }
.vxb-tube-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); transform: translateX(-100%); animation: vxbSweep 1.5s linear infinite; }
.vxb-node { position: relative; width: 64px; display: flex; flex-direction: column; align-items: center; gap: 12px; transform-style: preserve-3d; }
.vxb-disc { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #6c6c80;
  background: radial-gradient(circle at 30% 22%, #30303f, #121219 70%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 16px rgba(0,0,0,.65), inset 0 2px 3px rgba(255,255,255,.12), inset 0 -5px 7px rgba(0,0,0,.65);
  transform: translateZ(16px); transition: background .6s, color .6s, box-shadow .6s; }
.vxb-node.done .vxb-disc { color: #fff; border-color: rgba(255,200,170,.35);
  background: radial-gradient(circle at 30% 22%, #ffa77c, var(--orange, #ff6b35) 55%, #cf3f17);
  box-shadow: 0 12px 20px rgba(255,107,53,.35), 0 0 24px rgba(255,107,53,.6), inset 0 2px 3px rgba(255,255,255,.5), inset 0 -5px 8px rgba(110,25,0,.55); }
.vxb-node.active .vxb-disc { color: var(--orange, #ff6b35); animation: vxbBob 2.2s ease-in-out infinite; }
.vxb-node.active .vxb-disc::before { content: ''; position: absolute; inset: -7px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--orange, #ff6b35), transparent 38%, #ff3e6c, transparent 78%, var(--orange, #ff6b35));
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 65%); mask: radial-gradient(circle, transparent 62%, #000 65%);
  animation: vxbSpin 1.3s linear infinite; }
.vxb-node-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text3, #7a7a9a); transition: color .4s; }
.vxb-node.done .vxb-node-label, .vxb-node.active .vxb-node-label { color: var(--text, #f2f2f7); }
.vxb-status.vxb-live { position: relative; overflow: hidden; }
.vxb-status.vxb-live::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 40%; background: linear-gradient(90deg, transparent, var(--orange, #ff6b35), transparent); animation: vxbSlide 1.8s ease-in-out infinite; }
.vxb-details { margin-top: 14px; border: 1px solid var(--border); border-radius: 12px; padding: 0 14px 12px; }
.vxb-details > summary { cursor: pointer; padding: 12px 0; font-size: 13px; font-weight: 600; color: var(--text2, #8e8ea0); min-height: 20px; }
.vxb-actions { display: block; }
@keyframes vxbSweep { to { transform: translateX(100%); } }
@keyframes vxbSpin { to { transform: rotate(360deg); } }
@keyframes vxbBob { 0%, 100% { transform: translateZ(16px) translateY(0); } 50% { transform: translateZ(26px) translateY(-4px); } }
@keyframes vxbSlide { 0% { left: -40%; } 100% { left: 100%; } }

/* ---- completed card ---- */
.vxb-done { position: relative; text-align: center; padding: 8px 0 4px; animation: vxbRise .6s cubic-bezier(.2,.9,.3,1) both; }
.vxb-burst { position: absolute; left: 50%; top: 56px; width: 0; height: 0; pointer-events: none; }
.vxb-ring { position: absolute; left: -48px; top: -48px; width: 96px; height: 96px; border-radius: 50%; border: 2px solid var(--orange, #ff6b35); opacity: 0; animation: vxbRing 1.8s ease-out infinite; }
.vxb-ring:nth-child(2) { animation-delay: .5s; border-color: #ff3e6c; }
.vxb-ring:nth-child(3) { animation-delay: 1s; }
.vxb-coin { width: 96px; height: 96px; margin: 8px auto 16px; perspective: 700px; }
.vxb-coin-inner { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; animation: vxbFlip 1.5s cubic-bezier(.2,.9,.3,1) both; }
.vxb-coin-face { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 22%, #ffb592, var(--orange, #ff6b35) 52%, #c93a14);
  box-shadow: 0 22px 34px rgba(255,107,53,.4), 0 0 40px rgba(255,107,53,.45), inset 0 3px 6px rgba(255,255,255,.55), inset 0 -8px 12px rgba(110,25,0,.55); }
.vxb-coin-face::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 2px solid rgba(255,255,255,.28); }
.vxb-tick { stroke-dasharray: 30; stroke-dashoffset: 30; animation: vxbDraw .6s .9s ease-out forwards; }
.vxb-undone .vxb-coin-face { background: radial-gradient(circle at 30% 22%, #ffa0b8, #ff3e6c 55%, #a8173e); box-shadow: 0 22px 34px rgba(255,62,108,.35), inset 0 3px 6px rgba(255,255,255,.5), inset 0 -8px 12px rgba(90,0,25,.55); }
.vxb-done-title { font-size: 24px; font-weight: 700; }
.vxb-done-sub { margin-top: 4px; font-size: 13px; color: var(--text2, #8e8ea0); line-height: 1.5; }
.vxb-done-amt { margin: 14px 0 4px; font-size: 30px; font-weight: 700; background: linear-gradient(135deg, var(--orange, #ff6b35), #ff3e6c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; word-break: break-word; }
.vxb-done .vxb-facts { text-align: left; padding: 14px; border: 1px solid var(--border); border-radius: 12px; margin-top: 14px; }
.vxb-done-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.vxb-done-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--orange, #ff6b35); font-size: 13px; font-weight: 600; text-decoration: none; }
.vxb-done-link:hover { border-color: var(--orange, #ff6b35); }
@keyframes vxbFlip { 0% { transform: rotateY(-540deg) scale(.55); opacity: 0; } 65% { transform: rotateY(14deg) scale(1.07); opacity: 1; } 100% { transform: rotateY(0) scale(1); opacity: 1; } }
@keyframes vxbDraw { to { stroke-dashoffset: 0; } }
@keyframes vxbRing { 0% { transform: scale(.7); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes vxbRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .vxb-tube-fill::after, .vxb-node.active .vxb-disc, .vxb-node.active .vxb-disc::before, .vxb-status.vxb-live::after, .vxb-ring, .vxb-coin-inner, .vxb-done { animation: none; }
  .vxb-tick { animation: none; stroke-dashoffset: 0; }
  .vxb-tube-fill { transition: none; }
}
@media (max-width: 480px) { .vxb-node { width: 56px; } .vxb-disc { width: 42px; height: 42px; } .vxb-tube { left: 26px; right: 26px; top: 26px; } .vxb-done-amt { font-size: 26px; } }

/* four tabs on the DeFi page must fit on a phone */
@media (max-width: 520px) {
  #page-defi #defiTabBtn, #page-defi #stakingTabBtn, #page-defi #bridgeTabBtn, #page-defi #roadmapTabBtn {
    padding-left: 4px !important; padding-right: 4px !important; font-size: 12px !important; letter-spacing: 0 !important; min-width: 0;
  }
}
