/* ZOVX design system. Light, periwinkle-led, calm depth. */
/* Self-hosted fonts (SIL OFL 1.1, see /fonts). */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations'), url('../fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2-variations'), url('../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2'); }
:root {
  --brand: #5864e3;
  --brand-600: #4a55d0;
  --brand-700: #3b44b0;
  --brand-50: #f3f4ff;
  --brand-100: #e7e9ff;
  --brand-200: #d0d4fd;
  --brand-300: #b0b6f7;
  --ink: #12163a;
  --ink-2: #2e3460;
  --muted: #5f6589;
  --faint: #8a8fad;
  --line: #e3e5f3;
  --line-2: #d4d7ea;
  --bg: #f7f8fd;
  --card: #ffffff;
  --peach: #f2b393;
  --peach-50: #fff4ee;
  --mint: #1f9d6c;
  --mint-50: #e9f8f1;
  --amber: #b7791f;
  --amber-50: #fff6e5;
  --rose: #c7415a;
  --rose-50: #fdeef1;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(18, 22, 58, .05), 0 6px 18px -10px rgba(40, 48, 140, .18);
  --shadow: 0 1px 2px rgba(18, 22, 58, .04), 0 24px 60px -32px rgba(40, 48, 140, .35);
  --shadow-lg: 0 40px 90px -40px rgba(40, 48, 140, .45);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; min-height: 100vh; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(176, 182, 247, .35), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(231, 233, 255, .8), transparent 60%),
    var(--bg);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--brand-200); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 2px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.mono { font-family: var(--mono); font-feature-settings: 'zero' 1; letter-spacing: -.01em; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.display { font-size: clamp(42px, 6.6vw, 88px); line-height: 1; letter-spacing: -.045em; font-weight: 750; margin: 20px 0 22px; }
.display .accent, .h2 .accent { color: var(--brand); }
.h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -.035em; font-weight: 720; margin: 14px 0 16px; }
.h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.015em; font-weight: 700; margin: 0 0 8px; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--muted); max-width: 560px; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- buttons ---------- */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: -.005em; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px rgba(88, 100, 227, .7), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(88, 100, 227, .75); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #22285a; transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .7); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: #fff; border-color: var(--brand-300); }
.btn-white { background: #fff; color: var(--brand-700); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(18, 22, 58, .45); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; border-radius: 16px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none !important; box-shadow: none; }
.link { font-weight: 700; color: var(--brand-700); display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid transparent; transition: border-color .2s; }
.link:hover { border-color: currentColor; }
.link svg { width: 14px; height: 14px; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .7); transition: background .2s, border-color .2s; }
.icon-btn:hover { background: #fff; border-color: var(--brand-300); }
.icon-btn svg { width: 16px; height: 16px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: rgba(247, 248, 253, .72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(247, 248, 253, .88); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.04em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 6px 14px -8px rgba(88, 100, 227, .9); }
.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; padding: 5px; border-radius: 16px; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); }
.nav a { padding: 8px 16px; border-radius: 11px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; place-items: center; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn span + span { margin-top: 5px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- 3D stage ---------- */
.stage { width: 100%; position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; background: radial-gradient(120% 90% at 30% 15%, #9aa2f5 0%, #6f79ea 38%, #5361dc 72%, #4953c7 100%); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .25); }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 100%, rgba(18, 22, 58, .18), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 40%); pointer-events: none; z-index: 0; }
.stage::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 22px; pointer-events: none; z-index: 2; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; touch-action: pan-y; cursor: grab; outline: none; }
.stage.is-dragging canvas { cursor: grabbing; }
.stage-fallback { position: absolute; inset: 0; margin: auto; width: 34%; max-width: 180px; height: auto; z-index: 1; opacity: .95; filter: drop-shadow(0 20px 30px rgba(18, 22, 58, .25)); }
.stage--live .stage-fallback { display: none; }
.stage--static canvas { display: none; }
.stage-label { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none; }
.stage-label i { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.stage-label i.peach { background: var(--peach); }
.stage-hint { position: absolute; z-index: 3; right: 30px; bottom: 26px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); pointer-events: none; }
.stage--static .stage-hint { display: none; }

/* ---------- token UI ---------- */
.token-strip { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 26px; padding: 6px 6px 6px 8px; border-radius: 16px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); box-shadow: var(--shadow-sm); max-width: 100%; }
.token-tag { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 14px; letter-spacing: -.01em; padding: 4px 10px 4px 4px; border-radius: 11px; background: var(--brand-50); color: var(--brand-700); }
.token-tag img { width: 24px; height: 24px; border-radius: 8px; }
.token-ca { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.token-ca small { font-family: var(--font); color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: .08em; margin-right: 6px; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; font-size: 13px; font-weight: 700; color: var(--ink-2); transition: border-color .2s, color .2s, background .2s; }
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn:hover { border-color: var(--brand-300); color: var(--brand-700); }
.copy-btn.is-copied { background: var(--mint-50); border-color: #b9e6d3; color: var(--mint); }
.copy-btn.is-failed { background: var(--rose-50); border-color: #f2c1cb; color: var(--rose); }
.pons-link { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 10px; font-size: 13px; font-weight: 700; color: var(--brand-700); border-radius: 10px; }
.pons-link:hover { background: var(--brand-50); }
.pons-link svg { width: 13px; height: 13px; }
.token-card { width: min(460px, 100%); margin: 40px auto 0; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; }
.token-card > img { grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; }
.token-card .token-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.token-card .token-head b { font-size: 16px; letter-spacing: -.01em; }
.token-card .token-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.token-card .token-note { grid-column: 1 / -1; margin: 8px 0 0; font-size: 12px; color: var(--faint); text-align: center; }
.app-token-card { width: min(460px, calc(100% - 40px)); margin: 32px auto 0; }
.app-token-card:not([hidden]) + .page-intro { padding-top: 24px; }
.footer-pons { display: inline-flex; align-items: center; gap: 5px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 56px 0 72px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-size: 13px; color: var(--muted); font-weight: 600; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row svg { width: 15px; height: 15px; color: var(--brand); }
.hero .stage { aspect-ratio: 1 / 1.02; min-height: 420px; }
.hero .label-a { left: 30px; top: 32px; }
.hero .label-b { right: 30px; bottom: 64px; }

/* ---------- sections ---------- */
.section { padding: 104px 0; position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.section-head .lead { max-width: 440px; }
.band-soft { background: linear-gradient(180deg, rgba(231, 233, 255, .55), rgba(243, 244, 255, .2)); border-block: 1px solid var(--line); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; white-space: nowrap; }
.chip img, .chip .avatar { width: 22px; height: 22px; border-radius: 50%; }
.chip.is-dest { border-color: var(--brand-300); background: var(--brand-50); color: var(--brand-700); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.avatar { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); font-weight: 800; font-size: 12px; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.live-strip { display: flex; align-items: center; gap: 24px; padding: 22px 0; }
.live-strip .label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-50); flex: none; }
.live-dot.off { background: var(--faint); box-shadow: 0 0 0 4px var(--line); }

.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; perspective: 1200px; }
.step-card { padding: 26px 24px 28px; min-height: 250px; display: flex; flex-direction: column; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .4s; }
.step-card .num { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--brand-700); background: var(--brand-50); border-radius: 8px; padding: 4px 8px; align-self: flex-start; }
.step-card .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, #fff, var(--brand-50)); border: 1px solid var(--line); margin: 26px 0 18px; color: var(--brand); box-shadow: 0 10px 20px -14px rgba(88, 100, 227, .8); }
.step-card .icon svg { width: 22px; height: 22px; }
.step-card p { color: var(--muted); margin: 0; font-size: 15px; }
.tilt { will-change: transform; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split .stage { aspect-ratio: 1.12 / 1; min-height: 360px; }
.dest-badge { position: absolute; z-index: 3; left: 28px; bottom: 26px; font-family: var(--mono); font-size: 12px; color: #fff; padding: 8px 12px; border-radius: 10px; background: rgba(18, 22, 58, .25); border: 1px solid rgba(255, 255, 255, .25); }
.asset-line { margin-top: 26px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.asset-line .small { margin: 0 0 10px; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fact { padding: 24px; }
.fact .h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.fact .h3 svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.fact p { margin: 0; color: var(--muted); font-size: 15px; }
.never { margin-top: 18px; padding: 26px 28px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.never ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.never li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.never li svg { width: 18px; height: 18px; color: var(--rose); flex: none; margin-top: 3px; }

.cta-band { position: relative; overflow: hidden; border-radius: 32px; padding: 64px 56px; color: #fff; background: radial-gradient(90% 120% at 0% 0%, #8d95f3 0%, #5864e3 45%, #3b44b0 100%); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.cta-band .h2 { color: #fff; margin: 0 0 10px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .82); max-width: 520px; }
.cta-band .mark { position: absolute; right: -60px; top: -60px; width: 320px; opacity: .12; pointer-events: none; }

/* ---------- page intro ---------- */
.page-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding: 48px 0 40px; }
.page-intro .display { font-size: clamp(38px, 5.2vw, 68px); }
.page-intro .stage { aspect-ratio: 1.35 / 1; min-height: 300px; }
.page-intro.compact { grid-template-columns: 1fr; padding-bottom: 12px; }

/* ---------- move ---------- */
.move-grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 24px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.transfer { padding: 22px; position: relative; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h2 { font-size: 20px; letter-spacing: -.02em; margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--brand-50); color: var(--brand-700); white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.success { background: var(--mint-50); color: var(--mint); }
.pill.warning { background: var(--amber-50); color: var(--amber); }
.pill.error { background: var(--rose-50); color: var(--rose); }
.pill.neutral { background: #f0f1f7; color: var(--muted); }
.pill.active i { animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.wallet-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 12px; flex-wrap: wrap; }
.wallet-row .who { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 14px; }
.wallet-row .who b { font-family: var(--mono); font-weight: 600; font-size: 13px; }
.wallet-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--faint); flex: none; }
.wallet-dot.on { background: var(--mint); box-shadow: 0 0 0 4px var(--mint-50); }
.wallet-net { font-size: 12px; color: var(--muted); }
.wallet-net.warn { color: var(--amber); font-weight: 600; }
.wallet-actions { display: flex; gap: 6px; }
.asset-box { padding: 16px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.asset-box:focus-within { border-color: var(--brand-300); box-shadow: 0 0 0 4px var(--brand-50); }
.asset-box .box-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.asset-box .box-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.select-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px 0 6px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-weight: 700; font-size: 14px; max-width: 100%; transition: border-color .2s, box-shadow .2s; }
.select-btn:hover:not([disabled]) { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.select-btn .avatar { width: 26px; height: 26px; }
.select-btn .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-btn .chev { width: 14px; height: 14px; color: var(--faint); flex: none; }
.select-btn[disabled] { opacity: .6; cursor: default; }
.amount-row { display: flex; align-items: center; gap: 12px; }
.amount-input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: clamp(28px, 4vw, 36px); font-weight: 700; letter-spacing: -.03em; padding: 4px 0; outline: none; }
.amount-input::placeholder { color: #c3c6db; }
.amount-out { flex: 1; min-width: 0; font-size: clamp(28px, 4vw, 36px); font-weight: 700; letter-spacing: -.03em; padding: 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amount-out.placeholder { color: #c3c6db; }
.box-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 24px; margin-top: 4px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.box-foot button.max { border: 0; background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 8px; }
.box-foot .warn { color: var(--rose); font-weight: 600; }
.swap-wrap { display: flex; justify-content: center; margin: -10px 0; position: relative; z-index: 2; }
.swap-btn { width: 42px; height: 42px; border-radius: 14px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); display: grid; place-items: center; transition: transform .35s var(--ease), border-color .2s; }
.swap-btn:hover:not([disabled]) { transform: rotate(180deg); border-color: var(--brand-300); }
.swap-btn svg { width: 18px; height: 18px; }
.recipient { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 2px 0; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.recipient b { font-family: var(--mono); font-weight: 600; color: var(--ink-2); }
.cta-zone { margin-top: 16px; }
.quote-timer { margin-top: 10px; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.quote-timer .bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.quote-timer .bar i { display: block; height: 100%; background: var(--brand); border-radius: 4px; transition: width 1s linear; }
.quote-timer.expired .bar i { background: var(--amber); }
.notice { margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; background: var(--brand-50); color: var(--ink-2); border: 1px solid var(--brand-100); }
.notice b { display: block; margin-bottom: 2px; }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
.notice.error { background: var(--rose-50); border-color: #f5ccd5; color: #7d2536; }
.notice.warning { background: var(--amber-50); border-color: #f3dfb4; color: #6d4a12; }
.notice.success { background: var(--mint-50); border-color: #bfe7d6; color: #145c41; }
.notice .notice-actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.side { display: grid; gap: 16px; }
.side .stage { aspect-ratio: 2.1 / 1; min-height: 220px; border-radius: 26px; }
.side .stage::after { border-radius: 16px; }
.side .label-a { left: 24px; top: 22px; }
.side .label-b { right: 24px; top: 22px; }
.details { padding: 20px 22px; }
.details h3, .progress h3 { font-size: 16px; margin: 0; letter-spacing: -.01em; }
.details .head, .progress .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.rows { margin: 0; display: grid; }
.rows > div { display: grid; grid-template-columns: minmax(120px, 42%) 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.rows > div:first-child { border-top: 0; }
.rows dt { color: var(--muted); display: flex; align-items: center; gap: 6px; }
.rows dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.rows dd small { display: block; font-weight: 500; color: var(--faint); font-size: 12px; }
.rows dd .mono { font-size: 13px; }
.rows dd a { color: var(--brand-700); }
.tip { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--faint); cursor: help; position: relative; flex: none; background: #fff; }
.tip:hover::after, .tip:focus::after { content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + 8px); width: 230px; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.45; z-index: 10; text-align: left; box-shadow: var(--shadow); }
.empty-details { padding: 26px 8px 18px; text-align: center; color: var(--muted); font-size: 14px; }
.empty-details .skel-rows { display: grid; gap: 10px; margin-bottom: 16px; }
.skeleton { position: relative; overflow: hidden; background: #eceef7; border-radius: 8px; }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.skel-line { height: 14px; }
.fee-list { list-style: none; margin: 6px 0 0; padding: 0; font-size: 12px; color: var(--muted); font-weight: 500; }
.fee-list li { display: flex; justify-content: flex-end; gap: 8px; }
.progress { padding: 20px 22px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; position: relative; padding-bottom: 16px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 2px; width: 2px; background: var(--line); border-radius: 2px; }
.steps li:last-child::before { display: none; }
.steps li.done::before { background: var(--brand-200); }
.dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #f0f1f7; color: var(--faint); font-size: 12px; font-weight: 800; border: 1px solid var(--line); position: relative; z-index: 1; transition: background .3s, color .3s, border-color .3s; }
.dot svg { width: 15px; height: 15px; }
.steps li.active .dot { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-100); }
.steps li.done .dot { background: var(--brand-100); color: var(--brand-700); border-color: var(--brand-200); }
.steps li.skipped .dot { background: #f6f7fb; color: var(--faint); border-style: dashed; }
.steps li.failed .dot { background: var(--rose-50); color: var(--rose); border-color: #f2c1cb; }
.steps li.warning .dot { background: var(--amber-50); color: var(--amber); border-color: #f3dfb4; }
.steps li.pending .dot { background: var(--amber-50); color: var(--amber); border-color: #f3dfb4; }
.steps li.complete .dot { background: var(--mint); color: #fff; border-color: var(--mint); box-shadow: 0 0 0 5px var(--mint-50); }
.steps .t { font-weight: 700; font-size: 14px; padding-top: 4px; }
.steps .d { font-size: 13px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.steps .links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; font-size: 13px; }
.steps .links a { color: var(--brand-700); font-weight: 600; }
.steps li.active .spin { display: inline-block; width: 12px; height: 12px; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* dialogs */
dialog.sheet { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; margin: 0; }
dialog.sheet::backdrop { background: rgba(18, 22, 58, .38); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
dialog.sheet[open] { display: grid; place-items: center; }
.sheet-card { width: min(460px, calc(100% - 32px)); max-height: min(640px, calc(100vh - 48px)); display: flex; flex-direction: column; background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .28s var(--ease); }
.sheet-card.wide { width: min(520px, calc(100% - 32px)); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 12px; }
.sheet-head h2 { font-size: 18px; margin: 0; letter-spacing: -.02em; }
.sheet-search { margin: 0 20px 10px; position: relative; }
.sheet-search input { width: 100%; min-height: 46px; padding: 0 14px 0 40px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); font-size: 15px; outline: none; }
.sheet-search input:focus { border-color: var(--brand-300); box-shadow: 0 0 0 4px var(--brand-50); background: #fff; }
.sheet-search svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--faint); }
.sheet-note { margin: 0 20px 8px; font-size: 12px; color: var(--faint); }
.option-list { list-style: none; margin: 0; padding: 4px 10px 14px; overflow-y: auto; }
.option { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; border: 1px solid transparent; background: transparent; text-align: left; transition: background .15s; }
.option:hover, .option:focus-visible { background: var(--bg); }
.option[aria-selected="true"] { background: var(--brand-50); border-color: var(--brand-100); }
.option .avatar { width: 36px; height: 36px; font-size: 14px; }
.option .o-main { flex: 1; min-width: 0; }
.option .o-main b { display: block; font-size: 15px; }
.option .o-main span { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.option .o-side { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.option-empty { padding: 26px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.review-body { padding: 4px 20px 20px; overflow-y: auto; }
.review-hero { display: grid; gap: 8px; padding: 16px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 12px; }
.review-hero .leg { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.review-hero .leg span { font-size: 13px; color: var(--muted); }
.review-hero .leg b { font-size: 20px; letter-spacing: -.02em; text-align: right; }
.review-hero .arrow { color: var(--faint); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.review-foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 14px 20px 20px; border-top: 1px solid var(--line); }
.close-x { width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.close-x svg { width: 14px; height: 14px; }

/* ---------- network ---------- */
.chain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.chain-card { padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .4s var(--ease), box-shadow .3s, border-color .3s; cursor: default; }
.chain-card:hover, .chain-card.is-selected { border-color: var(--brand-300); box-shadow: var(--shadow); }
.chain-card .top { display: flex; align-items: center; gap: 12px; }
.chain-card .top .avatar { width: 44px; height: 44px; font-size: 16px; }
.chain-card .top b { display: block; font-size: 17px; letter-spacing: -.01em; }
.chain-card .top span { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.chain-card .meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; }
.chain-card .assets { min-height: 34px; }
.chain-card .assets .small { margin: 0 0 8px; color: var(--muted); }
.chain-card .chip { font-size: 13px; padding: 5px 10px 5px 6px; }
.chain-card .chip img, .chain-card .chip .avatar { width: 18px; height: 18px; font-size: 9px; }
.chain-card .foot { margin-top: auto; padding-top: 6px; }
.chain-card.dest { background: linear-gradient(160deg, #fff 30%, var(--brand-50)); }
.network-note { margin-top: 24px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.network-note svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 2px; }
.state-box { padding: 40px 24px; text-align: center; color: var(--muted); }
.state-box .h3 { color: var(--ink); }

/* ---------- docs ---------- */
.docs-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; padding: 32px 0 96px; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; display: grid; gap: 2px; }
.toc span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.toc a { padding: 7px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); border-left: 2px solid transparent; transition: color .2s, background .2s; }
.toc a:hover { color: var(--ink); background: rgba(255, 255, 255, .7); }
.toc a.is-active { color: var(--brand-700); background: #fff; box-shadow: var(--shadow-sm); }
.prose { max-width: 760px; }
.prose section { padding: 8px 0 40px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.prose section:last-child { border-bottom: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; line-height: 1.15; margin: 10px 0 14px; }
.prose h3 { font-size: 18px; margin: 26px 0 8px; letter-spacing: -.01em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--brand-50); padding: 2px 6px; border-radius: 6px; color: var(--brand-700); }
.prose a { color: var(--brand-700); font-weight: 600; border-bottom: 1px solid var(--brand-200); }
.callout { padding: 16px 18px; border-radius: 16px; background: var(--brand-50); border: 1px solid var(--brand-100); margin: 18px 0; }
.callout b { display: block; margin-bottom: 4px; }
.callout p { margin: 0; }
.stage-list { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.stage-list li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); margin: 0 !important; }
.stage-list li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--brand-700); background: var(--brand-50); border-radius: 9px; height: 30px; display: grid; place-items: center; }
.table-wrap { overflow-x: auto; margin: 16px 0; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); font-weight: 700; background: var(--bg); }
tr:last-child td { border-bottom: 0; }
details.faq { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin: 10px 0; padding: 0 18px; }
details.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--brand); font-weight: 800; font-size: 20px; line-height: 1; transition: transform .25s var(--ease); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin: 0 0 16px; }

/* ---------- activity ---------- */
.activity-board { padding: 22px; }
.activity-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.activity-head h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.activity-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.storage-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.storage-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--brand); }
.tx-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.tx { padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; transition: border-color .2s, box-shadow .2s; }
.tx:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.tx .route { font-weight: 750; font-size: 16px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tx .route svg { width: 14px; height: 14px; color: var(--faint); }
.tx .amounts { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.tx .meta { font-size: 12px; color: var(--faint); margin-top: 4px; }
.tx .detail { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.tx .right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.tx .links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; padding-top: 12px; border-top: 1px solid var(--line); align-items: center; }
.tx .links a { color: var(--brand-700); font-weight: 600; display: inline-flex; gap: 5px; align-items: center; }
.tx .links a svg { width: 12px; height: 12px; }
.tx .links .spacer { flex: 1; }
.tx .links button { border: 0; background: none; font-weight: 600; color: var(--muted); font-size: 13px; padding: 4px 6px; border-radius: 8px; }
.tx .links button:hover { color: var(--ink); background: var(--bg); }
.mini-steps { display: flex; gap: 4px; margin-top: 12px; }
.mini-steps i { height: 4px; flex: 1; border-radius: 4px; background: var(--line); max-width: 72px; }
.mini-steps i.on { background: var(--brand-300); }
.mini-steps i.ok { background: var(--mint); }
.mini-steps i.bad { background: var(--rose); }
.mini-steps i.warn { background: var(--amber); }
.empty-state { text-align: center; padding: 48px 20px 40px; }
.empty-state .icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 20px; background: var(--brand); display: grid; place-items: center; box-shadow: 0 16px 30px -14px rgba(88, 100, 227, .8); }
.empty-state .icon img { width: 36px; }
.empty-state p { color: var(--muted); max-width: 420px; margin: 0 auto 20px; }
.confirm-inline { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--rose); font-weight: 600; }

/* ---------- footer ---------- */
.footer { margin-top: 72px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .55); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(2, minmax(0, .7fr)); gap: 32px; padding: 48px 0 36px; }
.footer-top p { color: var(--muted); max-width: 320px; margin: 12px 0 0; font-size: 14px; }
.footer-col b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 4px 0; width: fit-content; }
.footer-col a:hover { color: var(--brand-700); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: perspective(1000px) translateY(28px) rotateX(7deg); transform-origin: 50% 100%; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .move-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .never { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 18px; border-radius: 0 0 22px 22px; background: rgba(255, 255, 255, .97); border: 0; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 14px; font-size: 16px; }
  .menu-btn { display: grid; }
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; }
  .hero, .split, .page-intro { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero { padding-top: 28px; }
  .hero .stage { aspect-ratio: 1 / .9; min-height: 320px; }
  .page-intro .stage { aspect-ratio: 1.6 / 1; min-height: 240px; }
  .split .stage { order: -1; }
  .section { padding: 72px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .toc { position: static; display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
  .toc span { display: none; }
  .toc a { white-space: nowrap; background: #fff; border: 1px solid var(--line); }
  .cta-band { grid-template-columns: 1fr; padding: 44px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .header-actions .x-desk { display: none; }
  .header-actions .btn-sm { padding: 0 12px; }
  .steps-grid, .facts, .chain-grid { grid-template-columns: minmax(0, 1fr); }
  .step-card { min-height: 0; }
  .never ul { grid-template-columns: 1fr; }
  .live-strip { flex-direction: column; align-items: flex-start; gap: 12px; }
  .transfer, .details, .progress, .activity-board { padding: 16px; }
  .panel { border-radius: 22px; }
  .rows > div { grid-template-columns: 1fr; gap: 2px; }
  .rows dd { text-align: left; }
  .fee-list li { justify-content: flex-start; }
  .tx { grid-template-columns: minmax(0, 1fr); }
  .tx .right { flex-direction: row; align-items: center; justify-content: space-between; }
  dialog.sheet[open] { place-items: end center; }
  .sheet-card, .sheet-card.wide { width: 100%; max-height: 88vh; border-radius: 24px 24px 0 0; animation: rise .3s var(--ease); }
  @keyframes rise { from { transform: translateY(40px); opacity: 0; } }
  .review-foot { grid-template-columns: 1fr; }
  .review-foot .btn-ghost { order: 2; }
  .token-strip { display: flex; }
  .token-card { grid-template-columns: auto 1fr; }
  .hero .label-b { bottom: 24px; right: 20px; }
  .hero .label-a { left: 20px; top: 24px; }
  .stage-hint { display: none; }
}
@media (hover: none) { .tip:hover::after { display: none; } .tip:focus::after { display: block; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .skeleton::after { display: none; }
}
.chip-skel { width: 104px; height: 36px; border-color: transparent; }
.w80 { width: 80%; } .w90 { width: 90%; } .w70 { width: 70%; }
.label-tl { left: 24px; top: 24px; }
.section-tight { padding-top: 48px; }
.warn-text { color: var(--amber); }
