/* Aged Well. A launch pad in Polymarket's colours: white (or near-black) surfaces, one blue for every primary action,
   green for Yes, red for No. Inter for everything, Geist Mono for addresses and tickers. The one recurring graphic is
   the mark's own line: a price line that ends going up, with a dot. Motion plays for everyone; the footer switch
   (html.calm) is the only thing that stops it. */

@font-face { font-family: Inter; src: url(/fonts/Inter-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap;
  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: Inter; src: url(/fonts/Inter-latin-ext.woff2) format('woff2'); font-weight: 100 900; font-display: swap;
  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: 'Geist Mono'; src: url(/fonts/GeistMono-Variable.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --bg-2: #F5F6F8;
  --bg-3: #ECEEF2;
  --card: #FFFFFF;
  --line: #E7E9EE;
  --line-2: #D8DCE3;
  --ink: #111318;
  --ink-2: #464B57;
  --ink-3: #6A6F7C;
  --ink-4: #A1A6B2;
  --blue: #2E5CFF;
  --blue-hi: #1F4DF2;
  --blue-lo: #0B39DE;
  --blue-tint: #EEF2FF;
  --blue-tint-2: #DCE4FF;
  --green: #31BA53;
  --green-ink: #1B993E;
  --green-tint: #E7F7EB;
  --red: #DF0C10;
  --red-ink: #C40A0D;
  --red-tint: #FDECEC;
  --grid: rgba(17, 19, 24, .055);
  --glow: rgba(46, 92, 255, .22);
  --shadow-1: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-2: 0 1px 2px rgba(16, 24, 40, .04), 0 10px 28px -12px rgba(16, 24, 40, .16);
  --shadow-3: 0 2px 6px rgba(16, 24, 40, .05), 0 28px 56px -18px rgba(16, 24, 40, .26);
  --ring: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent);
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --r: 18px;
  --r-sm: 12px;
  --wrap: 1200px;
  --gut: clamp(16px, 3.4vw, 32px);
  --top-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A0C11; --bg-2: #11141B; --bg-3: #181C25; --card: #0F1218;
    --line: #1F2430; --line-2: #2A3040;
    --ink: #F3F5F9; --ink-2: #B4BAC7; --ink-3: #868C9A; --ink-4: #565C69;
    --blue: #4D7CFF; --blue-hi: #6690FF; --blue-lo: #84A4FF; --blue-tint: #111A35; --blue-tint-2: #19254F;
    --green: #34C25A; --green-ink: #4CD474; --green-tint: #0D2416;
    --red: #F2383C; --red-ink: #FF6B6E; --red-tint: #2A1013;
    --grid: rgba(255, 255, 255, .05);
    --glow: rgba(77, 124, 255, .3);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-2: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 30px -12px rgba(0, 0, 0, .65);
    --shadow-3: 0 2px 8px rgba(0, 0, 0, .4), 0 30px 60px -20px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.5 var(--sans); letter-spacing: -0.006em; font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
::selection { background: var(--blue-tint-2); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.02; font-weight: 770; letter-spacing: -0.04em; }
h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.08; font-weight: 750; letter-spacing: -0.035em; }
h3 { font-size: 17px; line-height: 1.3; font-weight: 660; letter-spacing: -0.018em; }
p { margin: 0; }
b, strong { font-weight: 650; }
.num, .tab-num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -0.01em; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.hint { color: var(--ink-3); font-size: 13px; line-height: 1.55; }
.err { color: var(--red-ink); font-weight: 560; font-size: 13.5px; }
.trunc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.col { display: flex; flex-direction: column; min-width: 0; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.gap-4 { gap: 4px; } .gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.label { font-size: 12px; font-weight: 620; color: var(--ink-3); letter-spacing: .01em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .09em; }
.container { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding-inline: var(--gut); }

/* ------------------------------------------------------------ motion: reveals, loops, the calm switch */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal].in { opacity: 1; transform: none; }
.paused, .paused * { animation-play-state: paused !important; }
html.calm *, html.calm *::before, html.calm *::after { animation: none !important; transition-duration: .01s !important; }
html.calm [data-reveal] { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes pop { from { transform: scale(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes shine { 0%, 62% { transform: translateX(-130%) skewX(-18deg); } 82%, 100% { transform: translateX(260%) skewX(-18deg); } }
@keyframes stripes { to { background-position: 28px 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes flow { to { stroke-dashoffset: -20; } }
@keyframes flash-up { 0% { background: color-mix(in srgb, var(--green) 30%, transparent); } }
@keyframes flash-down { 0% { background: color-mix(in srgb, var(--red) 26%, transparent); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes blink { 50% { opacity: 0; } }
.flash-up { animation: flash-up 1.2s var(--ease); border-radius: 6px; }
.flash-down { animation: flash-down 1.2s var(--ease); border-radius: 6px; }
.skel { background: linear-gradient(90deg, var(--bg-2) 25%, var(--bg-3) 50%, var(--bg-2) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: 10px; }

/* ------------------------------------------------------------ buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--card); color: var(--ink);
  font-weight: 620; font-size: 14px; white-space: nowrap; user-select: none; overflow: hidden; isolation: isolate;
  transition: background .18s, border-color .18s, color .18s, transform .18s var(--ease), box-shadow .18s;
}
.btn:hover { background: var(--bg-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary {
  background: var(--blue); border-color: transparent; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(16, 24, 40, .1), 0 8px 18px -8px color-mix(in srgb, var(--blue) 75%, transparent);
}
.btn-primary:hover { background: var(--blue-hi); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 1px 2px rgba(16, 24, 40, .1), 0 12px 26px -8px color-mix(in srgb, var(--blue) 85%, transparent); }
.btn-primary:active { background: var(--blue-lo); }
@media (prefers-color-scheme: dark) { .btn-primary:active { background: #3A68F0; } }
.btn-shine::after { content: ''; position: absolute; inset: -2px 0; width: 38%; z-index: -1; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34), transparent); animation: shine 5.5s var(--ease) infinite 1.4s; }
.btn-ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-2); color: var(--ink); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { height: 50px; padding: 0 22px; font-size: 15.5px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; padding: 0; }
.btn-icon.btn-sm { width: 34px; }

/* Yes / No, the way Polymarket draws them: tinted, and solid when chosen */
.side-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; height: 44px; padding: 0 14px;
  border-radius: var(--r-sm); font-weight: 680; font-size: 14.5px; min-width: 0;
  background: var(--bg-2); color: var(--ink); border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s, transform .18s var(--ease), box-shadow .18s;
}
.side-btn .p { font-variant-numeric: tabular-nums; font-weight: 650; opacity: .9; }
.side-btn:hover { transform: translateY(-1px); }
.side-btn:active { transform: scale(.97); }
.side-btn.yes { background: var(--green-tint); color: var(--green-ink); }
.side-btn.no { background: var(--red-tint); color: var(--red-ink); }
.side-btn.yes:hover { background: color-mix(in srgb, var(--green) 22%, var(--card)); }
.side-btn.no:hover { background: color-mix(in srgb, var(--red) 16%, var(--card)); }
.side-btn.other:hover { background: var(--bg-3); }
.side-btn[aria-pressed='true'].yes { background: var(--green); color: #fff; box-shadow: 0 8px 18px -10px var(--green); }
.side-btn[aria-pressed='true'].no { background: var(--red); color: #fff; box-shadow: 0 8px 18px -10px var(--red); }
.side-btn[aria-pressed='true'].other { background: var(--blue); color: #fff; }
.side-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------ chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px;
  background: var(--bg-2); color: var(--ink-2); font-size: 12px; font-weight: 620; white-space: nowrap;
}
.chip.blue { background: var(--blue-tint); color: var(--blue); }
.chip.green { background: var(--green-tint); color: var(--green-ink); }
.chip.red { background: var(--red-tint); color: var(--red-ink); }
.chip.solid { background: var(--ink); color: var(--bg); }
.chip.line { background: transparent; border: 1px solid var(--line-2); }
.dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); flex: none; }
.dot.live { background: var(--green); }
.dot.live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: ping 1.8s var(--ease) infinite; }
.tk { font-family: var(--mono); font-size: 12px; font-weight: 650; color: var(--ink-2); }
.up { color: var(--green-ink); }
.down { color: var(--red-ink); }

/* ------------------------------------------------------------ fields */
.input, .textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2);
  background: var(--card); color: var(--ink); outline: none; transition: border-color .18s, box-shadow .18s;
}
.textarea { height: auto; padding: 11px 14px; resize: vertical; line-height: 1.45; }
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:focus, .textarea:focus { border-color: var(--blue); box-shadow: var(--ring); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > .label { display: flex; justify-content: space-between; }
.affix { position: relative; display: flex; align-items: center; }
.affix .pre, .affix .suf { position: absolute; color: var(--ink-3); font-size: 14px; pointer-events: none; display: flex; }
.affix .pre { left: 14px; }
.affix .suf { right: 14px; font-weight: 650; font-size: 13px; }
.affix .input.has-pre { padding-left: 40px; }
.affix .input.has-suf { padding-right: 50px; }

/* ------------------------------------------------------------ surfaces */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); }
.card-pad { padding: 20px; }
.card-title { font-size: 15px; font-weight: 660; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; padding: 11px 0; border-top: 1px solid var(--line); }
.kv .k { color: var(--ink-3); }
.kv .v { font-weight: 560; text-align: right; min-width: 0; }
/* a border that lights up under the pointer (motion.mjs sets --mx / --my) */
.spot { --mx: 50%; --my: 50%; }
.spot::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--blue) 75%, transparent), transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.spot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--blue) 7%, transparent), transparent 60%); opacity: 0; transition: opacity .3s; }
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ------------------------------------------------------------ the top bar */
.bar { background: var(--ink); color: var(--bg); text-align: center; font-size: 12.5px; padding: 7px var(--gut); }
.bar b { font-weight: 660; }
.top {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.top.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 84%, transparent); box-shadow: 0 10px 30px -24px rgba(16, 24, 40, .5); }
.top-in { height: var(--top-h); display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; font-weight: 780; font-size: 18px; letter-spacing: -0.04em; }
.brand > span:first-child { transition: transform .45s var(--spring); }
.brand-link:hover .brand > span:first-child { transform: rotate(-8deg) scale(1.06); }
.nav { position: relative; display: flex; gap: 2px; }
.nav a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 10px; color: var(--ink-2); font-weight: 580; font-size: 14.5px; white-space: nowrap; transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: calc((var(--top-h) - 36px) / -2); height: 2px; border-radius: 2px 2px 0 0; background: var(--blue); }
.nav-pill { position: absolute; z-index: 0; top: 0; left: 0; height: 36px; border-radius: 10px; background: var(--bg-2); opacity: 0; pointer-events: none; transition: transform .38s var(--ease), width .38s var(--ease), opacity .2s; }
.nav.hovering .nav-pill { opacity: 1; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ca { display: inline-flex; align-items: center; gap: 2px; height: 38px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 13px; white-space: nowrap; }
.ca-tk { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px 0 5px; border-radius: 8px; background: var(--blue-tint); color: var(--blue); font-weight: 760; letter-spacing: -0.01em; }
.ca-tk > span:first-child { border-radius: 6px; overflow: hidden; }
.ca-lbl { padding: 0 4px 0 8px; color: var(--ink-3); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; }
.ca-addr { font-family: var(--mono); font-weight: 620; font-size: 12.5px; color: var(--ink); padding-right: 2px; }
.ca.tba .ca-addr { color: var(--ink-4); letter-spacing: .02em; }
.ca-copy { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-3); transition: background .15s, color .15s; }
.ca-copy:hover:not(:disabled) { background: var(--bg-2); color: var(--ink); }
.ca-copy:disabled { opacity: .45; cursor: default; }
.iconbtn { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; border: 1px solid var(--line); background: var(--card); color: var(--ink); transition: background .18s, transform .18s var(--ease), border-color .18s; }
.iconbtn:hover { background: var(--bg-2); border-color: var(--line-2); transform: translateY(-1px); }
.launch-btn { height: 38px; padding: 0 16px; border-radius: 12px; }
.wallet-dot { width: 7px; height: 7px; border-radius: 50%; background: #5BE584; box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); }
.main { min-height: 64vh; padding-block: 34px 104px; }
.main.home { padding-top: 0; }
.mnav { display: none; }

/* ------------------------------------------------------------ the footer */
.foot { border-top: 1px solid var(--line); background: var(--bg); position: relative; overflow: hidden; }
.foot-in { padding-block: 52px 30px; display: grid; grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); max-width: 40ch; line-height: 1.6; }
.foot-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 10px; }
.foot-col a { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; padding: 5px 0; width: max-content; transition: color .15s, transform .2s var(--ease); }
.foot-col a:hover { color: var(--ink); transform: translateX(2px); }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-block: 18px 30px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.foot-base .sp { flex: 1; }
.switch { display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 10px 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-size: 12.5px; font-weight: 620; color: var(--ink-2); transition: background .15s; }
.switch:hover { background: var(--bg-2); }
.switch i { position: relative; width: 28px; height: 16px; border-radius: 99px; background: var(--line-2); transition: background .2s; }
.switch i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .25s var(--spring); }
.switch[aria-pressed='true'] i { background: var(--blue); }
.switch[aria-pressed='true'] i::after { transform: translateX(12px); }
.foot-word { position: absolute; right: -2%; bottom: -26%; font-size: clamp(120px, 18vw, 260px); font-weight: 800; letter-spacing: -0.06em; color: var(--bg-2); line-height: 1; pointer-events: none; user-select: none; z-index: 0; white-space: nowrap; }
.foot .container { position: relative; z-index: 1; }

/* ------------------------------------------------------------ home: the hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(28px, 4vw, 52px) clamp(36px, 4.4vw, 60px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hb-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 64px 64px; background-position: center -1px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 64% 38%, #000 20%, transparent 78%); mask-image: radial-gradient(ellipse 75% 70% at 64% 38%, #000 20%, transparent 78%); }
.hb-glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.hb-glow.g1 { width: 680px; height: 680px; right: -140px; top: -200px; background: radial-gradient(circle, var(--glow), transparent 68%); animation: drift1 16s ease-in-out infinite alternate; }
.hb-glow.g2 { width: 520px; height: 520px; left: -200px; bottom: -260px; background: radial-gradient(circle, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%); animation: drift2 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-80px, 60px) scale(1.08); } }
@keyframes drift2 { to { transform: translate(90px, -40px) scale(1.12); } }
.hb-lines { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 72%; }
.hb-lines path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; opacity: .16; animation: hbline 11s var(--ease) infinite both; }
.hb-lines path:nth-of-type(2) { stroke: var(--green); opacity: .14; animation-delay: 1.6s; }
.hb-lines path:nth-of-type(3) { opacity: .1; animation-delay: 3.2s; }
@keyframes hbline { 0% { stroke-dashoffset: 1; opacity: 0; } 8% { opacity: .16; } 55% { stroke-dashoffset: 0; } 85% { stroke-dashoffset: 0; opacity: .16; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-chip { display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 12px 0 10px; border-radius: 99px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 80%, transparent); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-1); transition: border-color .2s, transform .2s var(--ease); animation: rise .7s var(--ease) both; }
.hero-chip:hover { border-color: var(--line-2); transform: translateY(-1px); }
.hero-chip b { color: var(--ink); font-weight: 680; }
.hero-chip svg { color: var(--ink-3); }
.display { margin-top: 22px; font-size: clamp(46px, 6.4vw, 88px); line-height: .98; font-weight: 800; letter-spacing: -0.05em; animation: rise .8s var(--ease) .06s both; }
.display .hl { position: relative; color: var(--blue); white-space: nowrap; }
.display .hl svg { position: absolute; left: 0; bottom: -0.2em; width: 100%; height: auto; overflow: visible; }
.display .hl svg polyline { fill: none; stroke: var(--blue); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: draw 1.3s var(--ease) .55s both; opacity: .85; }
.display .hl svg circle { fill: var(--blue); transform-box: fill-box; transform-origin: center; animation: pop .45s var(--spring) 1.7s both; }
.lede { margin-top: 34px; font-size: clamp(16.5px, 1.45vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 44ch; animation: rise .8s var(--ease) .12s both; }
.paste { margin-top: 30px; display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 16px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--card); box-shadow: var(--shadow-2); max-width: 580px; transition: border-color .2s, box-shadow .2s; animation: rise .8s var(--ease) .18s both; }
.paste:focus-within { border-color: var(--blue); box-shadow: var(--ring), var(--shadow-2); }
.paste > svg { color: var(--ink-3); flex: none; }
.paste input { flex: 1; min-width: 0; height: 50px; border: 0; outline: none; background: none; font-size: 16px; padding: 0 4px; }
.paste input::placeholder { color: var(--ink-4); }
.paste .btn { height: 50px; padding: 0 22px; border-radius: 13px; font-size: 15.5px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; font-size: 13.5px; color: var(--ink-3); animation: rise .8s var(--ease) .24s both; }
.facts span { display: inline-flex; align-items: center; gap: 7px; }
.facts svg { color: var(--green); }

/* the launch stack: a real post, the live market it is tied to, the coin it would launch */
/* the cards are placed by measuring (home.mjs): each overlaps the one before only by its bottom padding */
.stack { position: relative; height: 640px; --px: 0; --py: 0; animation: rise 1s var(--ease) .2s both; transition: height .5s var(--ease); }
.sk { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-3); padding: 16px 17px; transition: translate .6s var(--ease), top .5s var(--ease); }
.sk-post { top: 0; left: 0; width: 78%; z-index: 2; rotate: -2deg; translate: calc(var(--px) * -10px) calc(var(--py) * -8px); }
.sk-market { top: 168px; right: 0; width: 64%; z-index: 3; rotate: 1.6deg; translate: calc(var(--px) * 14px) calc(var(--py) * 10px); }
.sk-coin { top: 412px; left: 0; width: 58%; z-index: 4; rotate: -1.2deg; translate: calc(var(--px) * -18px) calc(var(--py) * 14px); }
.sk .swap { transition: opacity .38s var(--ease), transform .38s var(--ease), filter .38s; }
.sk .swap.out { opacity: 0; transform: translateY(10px); filter: blur(5px); }
.sk-who { display: flex; align-items: center; gap: 11px; }
.sk-who .n { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 15px; min-width: 0; }
.sk-who .h { color: var(--ink-3); font-size: 13px; }
.sk-who .h b { color: var(--blue); font-weight: 650; }
.sk-x { margin-left: auto; color: var(--ink); opacity: .8; }
.role { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; height: 24px; padding: 0 9px; border-radius: 99px; background: var(--blue-tint); color: var(--blue); font-size: 12px; font-weight: 680; }
.sk-text { margin-top: 12px; font-size: 16.5px; line-height: 1.45; font-weight: 520; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sk-date { margin-top: 10px; color: var(--ink-3); font-size: 12.5px; }
.mk-head { display: flex; gap: 11px; align-items: center; }
.mk-head img, .mk-head .mk-ph { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; flex: none; background: var(--bg-2); }
.mk-head .mk-ev { font-size: 12px; color: var(--ink-3); font-weight: 560; }
.mk-head .q { font-size: 14.5px; font-weight: 680; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-big { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.mk-big b { font-size: 34px; font-weight: 780; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.mk-big span { color: var(--ink-3); font-size: 13px; font-weight: 600; }
.mk-big .chg { margin-left: auto; font-size: 12.5px; font-weight: 700; }
.spark { position: relative; width: 100%; height: 60px; margin: 6px 0 12px; }
.spark svg { width: 100%; height: 100%; overflow: visible; animation: wipe 1.6s var(--ease) both; }
.spark .ln { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark .end, .spark .end-ring { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; }
.spark .end { box-shadow: 0 0 0 3px var(--card); animation: pop .4s var(--spring) 1.4s both; }
.spark .end-ring { border: 2px solid; animation: ping 2.2s var(--ease) 1.8s infinite both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.mk-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 12px; color: var(--ink-3); font-weight: 560; }
.coin-row { display: flex; align-items: center; gap: 12px; }
.coin-img { position: relative; width: 50px; height: 50px; border-radius: 50%; flex: none; background: linear-gradient(140deg, var(--blue), #8AA6FF); display: grid; place-items: center; color: #fff; font-weight: 800; }
.coin-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.coin-img::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--blue); border-right-color: color-mix(in srgb, var(--blue) 40%, transparent); animation: spin 2.6s linear infinite; }
.coin-row .nm { font-weight: 720; font-size: 15.5px; letter-spacing: -0.02em; }
.coin-row .tkr { font-family: var(--mono); font-size: 13px; font-weight: 650; color: var(--blue); }
.split { margin-top: 13px; }
.split-bar { display: flex; height: 32px; border-radius: 11px; overflow: hidden; font-size: 12.5px; font-weight: 680; gap: 3px; }
.split-bar span { display: flex; align-items: center; justify-content: center; gap: 6px; color: #fff; white-space: nowrap; padding: 0 8px; border-radius: 9px; }
.split-bar .sb-bet { background: var(--blue) repeating-linear-gradient(-45deg, rgba(255, 255, 255, .12) 0 7px, transparent 7px 14px); background-size: 28px 100%; animation: stripes 1.2s linear infinite; }
.split-bar .sb-you { background: var(--ink); color: var(--bg); }
.pays { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 12px; }
.pays b { font-size: 22px; font-weight: 780; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pays span { color: var(--ink-3); font-size: 12.5px; font-weight: 580; }
.sk-coin .btn { margin-top: 12px; height: 44px; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.wires path { fill: none; stroke: color-mix(in srgb, var(--blue) 55%, transparent); stroke-width: 2; stroke-dasharray: 5 5; animation: flow 1s linear infinite; }
.wire-dot { position: absolute; top: 0; left: 0; z-index: 5; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 22%, transparent), 0 0 18px var(--blue); offset-rotate: 0deg; animation: travel 2.6s var(--ease) infinite; }
.wire-dot.d2 { animation-delay: 1.3s; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 22%, transparent), 0 0 18px var(--green); }
@keyframes travel { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.wire-tag { position: absolute; z-index: 6; transform: translate(-50%, -50%); height: 26px; padding: 0 10px; border-radius: 99px; display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--shadow-2); font-size: 12px; font-weight: 680; white-space: nowrap; }
.stack-foot { position: absolute; left: 0; right: 0; bottom: -6px; display: flex; align-items: center; justify-content: center; gap: 8px; z-index: 6; }
.pager { display: flex; gap: 6px; }
.pager button { position: relative; width: 8px; height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; transition: width .4s var(--ease), background .3s; }
.pager button[aria-current='true'] { width: 34px; background: var(--bg-3); }
.pager button[aria-current='true']::after { content: ''; position: absolute; inset: 0; background: var(--blue); transform-origin: left; animation: fillbar var(--dur, 7s) linear both; }
.stack.hold .pager button[aria-current='true']::after { animation-play-state: paused; }
@keyframes fillbar { from { transform: scaleX(0); } }

/* ------------------------------------------------------------ the ticker */
/* the markets run the full width; the label floats over them, lined up with the page's left edge */
.ticker { position: relative; height: 58px; border-block: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.ticker-view { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-lbl { position: absolute; z-index: 2; top: 50%; left: max(var(--gut), calc((100% - var(--wrap)) / 2)); transform: translateY(-50%); display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px; border-radius: 99px; background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 0 0 10px var(--bg), 0 0 26px 20px var(--bg); font-size: 11.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.ticker-track { display: flex; width: max-content; height: 100%; animation: marquee var(--dur, 80s) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tk-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; height: 100%; border-right: 1px solid var(--line); font-size: 13.5px; white-space: nowrap; transition: background .15s; }
.tk-item:hover { background: var(--bg-2); }
.tk-item img, .tk-item .ph { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; flex: none; background: var(--bg-2); }
.tk-item .q { font-weight: 580; color: var(--ink-2); }
.tk-item .p { font-weight: 760; font-variant-numeric: tabular-nums; }
.tk-item .c { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ home: sections */
.section { padding-block: clamp(56px, 8vw, 104px) 0; }
section[id] { scroll-margin-top: calc(var(--top-h) + 8px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { margin-top: 12px; }
.sec-head p { margin-top: 12px; color: var(--ink-2); font-size: 16.5px; max-width: 56ch; line-height: 1.55; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(21px, 2.2vw, 26px); }
.section-head p { color: var(--ink-3); margin-top: 6px; font-size: 14px; }

/* the examples: real posts, live markets */
.ex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ex { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 22px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.ex:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.ex-who { display: flex; align-items: center; gap: 11px; min-width: 0; }
.ex-who .n { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14.5px; min-width: 0; }
.ex-who .h { color: var(--ink-3); font-size: 12.5px; }
.ex-who .xl { margin-left: auto; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-2); transition: background .15s, color .15s; position: relative; z-index: 3; }
.ex-who .xl:hover { background: var(--bg-2); color: var(--ink); }
.ex-text { font-size: 15.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.qline { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 8px 10px; border-radius: 11px; border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.qline b { color: var(--ink); font-weight: 650; }
.sk .qline { margin-top: 10px; }
.ex-mk { position: relative; overflow: hidden; border-radius: 16px; background: var(--bg-2); padding: 13px; display: flex; flex-direction: column; gap: 11px; margin-top: auto; }
.ex-mk .mk-head img, .ex-mk .mk-head .mk-ph { width: 34px; height: 34px; border-radius: 9px; }
.ex-mk .mk-head .q { font-size: 13.5px; }
.ex-mk .spark { height: 50px; margin: 0; }
.ex-mk .spark .end { box-shadow: 0 0 0 3px var(--bg-2); }
.odds { position: relative; display: flex; gap: 3px; height: 30px; font-size: 12.5px; font-weight: 720; }
.odds span { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 10px; border-radius: 9px; min-width: 64px; transition: flex-grow 1.1s var(--ease); white-space: nowrap; }
.odds .y { background: var(--green-tint); color: var(--green-ink); }
.odds .n { background: var(--red-tint); color: var(--red-ink); }
.odds .on.y { background: var(--green); color: #fff; }
.odds .on.n { background: var(--red); color: #fff; }
.odds .o { background: var(--blue-tint); color: var(--blue); }
.odds .on.o { background: var(--blue); color: #fff; }
.ex-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ex-foot .pay b { display: block; font-size: 18px; font-weight: 780; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ex-foot .pay span { font-size: 12px; color: var(--ink-3); font-weight: 580; }
.ex-foot .btn { position: relative; z-index: 3; }

/* how it works: three small films and the money loop */
.how3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.how { padding: 14px 14px 20px; border-radius: 22px; display: flex; flex-direction: column; gap: 14px; }
.how .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--blue-tint); color: var(--blue); font-weight: 760; font-size: 13px; }
.how h3 { font-size: 17px; }
.how .txt .row { align-items: flex-start; }
.how .txt .row .n { margin-top: 1px; flex: none; }
.how p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.how .txt { padding: 0 6px; display: flex; flex-direction: column; gap: 8px; }
.scene { position: relative; height: 178px; border-radius: 16px; background: var(--bg-2); overflow: hidden; background-image: radial-gradient(var(--grid) 1px, transparent 1px); background-size: 14px 14px; }
.scene > * { position: absolute; }
/* 1: a link is pasted and turns into the post */
.sp-in { left: 16px; right: 16px; top: 22px; height: 42px; border-radius: 11px; background: var(--card); border: 1px solid var(--line-2); display: flex; align-items: center; gap: 8px; padding: 0 12px; animation: spIn 6s var(--ease) infinite both; }
.sp-in svg { color: var(--ink-3); flex: none; }
.sp-url { overflow: hidden; white-space: nowrap; font-family: var(--mono); font-size: 12px; color: var(--ink-2); width: 23ch; animation: type 6s steps(23) infinite both; }
.sp-caret { width: 2px; height: 16px; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes type { 0%, 6% { width: 0; } 30%, 100% { width: 23ch; } }
@keyframes spIn { 0% { opacity: 0; transform: translateY(6px); } 5% { opacity: 1; transform: none; } 33% { border-color: var(--line-2); box-shadow: none; } 37% { border-color: var(--blue); box-shadow: var(--ring); } 47% { border-color: var(--line-2); box-shadow: none; } 90% { opacity: 1; } 100% { opacity: 0; } }
.sp-post { left: 16px; right: 16px; top: 76px; padding: 12px; border-radius: 13px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-2); display: flex; gap: 10px; animation: spPost 6s var(--ease) infinite both; }
.sp-av { width: 30px; height: 30px; border-radius: 50%; flex: none; background: linear-gradient(140deg, var(--blue), #8AA6FF); }
.sp-lines { flex: 1; display: flex; flex-direction: column; gap: 7px; padding-top: 2px; }
.sp-lines i { display: block; height: 7px; border-radius: 4px; background: var(--bg-3); }
.sp-lines i:first-child { background: var(--ink-4); opacity: .55; }
@keyframes spPost { 0%, 40% { opacity: 0; transform: translateY(16px) scale(.96); } 50%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* 2: a market, a cursor, Yes */
.pk-card { left: 16px; right: 16px; top: 16px; padding: 12px; border-radius: 13px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 10px; }
.pk-q { display: flex; gap: 10px; align-items: center; }
.pk-img { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(140deg, #FFB547, #FF6A3D); flex: none; }
.pk-q i { display: block; height: 7px; border-radius: 4px; background: var(--bg-3); }
.pk-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pk-btns span { height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-size: 12.5px; font-weight: 720; }
.pk-y { background: var(--green-tint); color: var(--green-ink); animation: pkYes 6s var(--ease) infinite both; }
.pk-n { background: var(--red-tint); color: var(--red-ink); }
@keyframes pkYes { 0%, 40% { background: var(--green-tint); color: var(--green-ink); transform: none; } 42% { transform: scale(.95); } 46%, 92% { background: var(--green); color: #fff; transform: none; } 100% { background: var(--green-tint); color: var(--green-ink); } }
.pk-bar { left: 16px; right: 16px; bottom: 18px; height: 8px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.pk-bar i { position: absolute; inset: 0 38% 0 0; background: var(--green); border-radius: 99px; transform-origin: left; animation: pkBar 6s var(--ease) infinite both; }
@keyframes pkBar { 0%, 46% { transform: scaleX(0); } 62%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.pk-cur { width: 22px; height: 22px; color: var(--ink); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); animation: pkCur 6s var(--ease) infinite both; left: 0; top: 0; }
@keyframes pkCur { 0% { transform: translate(250px, 150px); opacity: 0; } 8% { opacity: 1; } 38% { transform: translate(78px, 74px); } 42% { transform: translate(78px, 74px) scale(.85); } 46%, 80% { transform: translate(78px, 74px); opacity: 1; } 92%, 100% { transform: translate(250px, 150px); opacity: 0; } }
/* 3: the coin goes live and its fees split */
.ln-coin { left: 50%; top: 40px; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%; background: linear-gradient(140deg, var(--blue), #8AA6FF); display: grid; place-items: center; color: #fff; box-shadow: 0 10px 26px -8px var(--blue); animation: lnCoin 6s var(--spring) infinite both; }
@keyframes lnCoin { 0%, 6% { transform: scale(0) rotate(-40deg); } 18%, 90% { transform: none; } 100% { transform: scale(0); } }
.ln-ring { left: 50%; top: 40px; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%; border: 2px solid var(--blue); animation: lnRing 6s var(--ease) infinite both; }
@keyframes lnRing { 0%, 14% { transform: scale(1); opacity: 0; } 16% { opacity: .8; } 36%, 100% { transform: scale(2.4); opacity: 0; } }
.ln-live { left: 50%; top: 112px; transform: translateX(-50%); animation: lnLive 6s var(--ease) infinite both; }
@keyframes lnLive { 0%, 22% { opacity: 0; transform: translate(-50%, 6px); } 28%, 90% { opacity: 1; transform: translateX(-50%); } 100% { opacity: 0; } }
.ln-fee { width: 8px; height: 8px; border-radius: 50%; top: 68px; left: calc(50% - 4px); background: var(--blue); animation: lnFeeL 2s var(--ease) infinite both; }
.ln-fee.r { background: var(--ink); animation-name: lnFeeR; }
.ln-fee.f2 { animation-delay: .5s; } .ln-fee.f3 { animation-delay: 1s; } .ln-fee.f4 { animation-delay: 1.5s; }
@keyframes lnFeeL { 0%, 20% { transform: none; opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-112px, 72px); opacity: 0; } }
@keyframes lnFeeR { 0%, 20% { transform: none; opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(112px, 72px); opacity: 0; } }
.ln-lbl { bottom: 12px; font-size: 11.5px; font-weight: 750; padding: 4px 9px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.ln-lbl.l { left: 14px; color: var(--blue); }
.ln-lbl.r { right: 14px; color: var(--ink); }

.loop { margin-top: 16px; padding: 26px; border-radius: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.lp { position: relative; padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.lp:first-child { padding-left: 0; }
.lp .ic { position: relative; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--bg-2); color: var(--ink-2); transition: background .3s, color .3s; animation: lpLit 8s var(--ease) infinite both; animation-delay: calc(var(--i) * 2s); }
@keyframes lpLit { 0%, 100% { background: var(--bg-2); color: var(--ink-2); box-shadow: none; } 4%, 22% { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px var(--blue); } 30% { background: var(--bg-2); color: var(--ink-2); box-shadow: none; } }
.lp h3 { font-size: 16px; }
.lp p { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.lp p.l { color: var(--ink-3); font-size: 13px; }
.lp-link { position: absolute; top: 22px; left: 60px; right: -4px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.lp-link i { position: absolute; top: 0; left: 0; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--blue), transparent); animation: lpRun 8s var(--ease) infinite both; animation-delay: calc(var(--i) * 2s + .6s); }
@keyframes lpRun { 0% { transform: translateX(-100%); } 18%, 100% { transform: translateX(260%); } }

/* live bets band and the closing call to action */
.betsband { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px; border-radius: 24px; overflow: hidden; }
.betsband h2 { font-size: clamp(24px, 2.6vw, 32px); }
.betsband p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 48ch; }
.bb-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bb-stats div { padding: 16px; border-radius: 16px; background: var(--bg-2); }
.bb-stats b { display: block; font-size: 24px; font-weight: 780; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.bb-stats span { font-size: 12.5px; color: var(--ink-3); font-weight: 580; }
.cta { position: relative; isolation: isolate; overflow: hidden; border-radius: 30px; padding: clamp(36px, 6vw, 76px); color: #fff;
  background: radial-gradient(120% 140% at 88% 0%, #6B8DFF 0%, #2E5CFF 46%, #1A3DD4 100%); box-shadow: 0 30px 70px -30px rgba(46, 92, 255, .7); }
.cta h2 { color: #fff; font-size: clamp(36px, 5.4vw, 66px); letter-spacing: -0.045em; line-height: 1; max-width: 13ch; }
.cta p { margin-top: 16px; color: rgba(255, 255, 255, .84); font-size: 17px; max-width: 46ch; }
.cta .paste { background: #fff; border-color: transparent; color: #111318; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45); animation: none; }
.cta .paste input { color: #111318; }
.cta .paste input::placeholder { color: #8B90A0; }
.cta .paste > svg { color: #6A6F7C; }
.cta-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-art .g { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(110deg, transparent 30%, #000 80%); mask-image: linear-gradient(110deg, transparent 30%, #000 80%); }
.cta-art svg { position: absolute; right: 3%; top: 50%; translate: 0 -50%; width: min(460px, 44%); height: auto; overflow: visible; }
.cta-art polyline { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.cta-art circle.d { fill: rgba(255, 255, 255, .3); transform-box: fill-box; transform-origin: center; }
.cta-art circle.p { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ping 2.2s var(--ease) infinite; }
.cta.in .cta-art polyline { animation: draw 2.2s var(--ease) both; }
.cta.in .cta-art circle.d { animation: pop .5s var(--spring) 2s both; }

/* ------------------------------------------------------------ tabs, grids, empty states */
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 13px; background: var(--bg-2); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { height: 34px; padding: 0 14px; border-radius: 9px; font-size: 13.5px; font-weight: 640; color: var(--ink-3); white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-pressed='true'] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-2); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; }
.empty { padding: 48px 20px; text-align: center; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty .art { width: 120px; height: auto; overflow: visible; }
.empty .art polyline { fill: none; stroke: var(--blue); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: draw 1.6s var(--ease) both; opacity: .85; }
.empty .art circle { fill: var(--blue); transform-box: fill-box; transform-origin: center; animation: pop .45s var(--spring) 1.4s both; }
.empty h3 { color: var(--ink); font-size: 18px; }
.more-row { display: flex; justify-content: center; margin-top: 20px; }

/* ------------------------------------------------------------ the call card */
.cc { display: flex; flex-direction: column; gap: 13px; padding: 18px; border-radius: 20px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
a.cc:hover { box-shadow: var(--shadow-3); transform: translateY(-3px); }
.cc-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cc-who .n { font-weight: 680; font-size: 14px; display: flex; align-items: center; gap: 4px; min-width: 0; }
.cc-who .h { color: var(--ink-3); font-size: 12.5px; }
.cc-post { font-size: 15px; line-height: 1.48; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cc-mk { display: flex; gap: 10px; align-items: center; padding: 11px; border-radius: 13px; background: var(--bg-2); }
.cc-mk .q { font-size: 13px; font-weight: 640; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-side { flex: none; margin-left: auto; }
.cc-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cc-nums b { display: block; font-size: 16px; font-weight: 740; font-variant-numeric: tabular-nums; letter-spacing: -0.025em; }
.cc-nums span { font-size: 11.5px; color: var(--ink-3); font-weight: 580; }
.cc-foot { display: flex; align-items: center; gap: 8px; padding-top: 11px; border-top: 1px solid var(--line); }
.cc.won { border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.cc.lost { opacity: .94; }
.mk-img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; flex: none; background: var(--bg-3); display: grid; place-items: center; color: var(--ink-3); }

/* avatars */
.av { position: relative; display: inline-grid; place-items: center; flex: none; overflow: hidden; color: #1D1F24; font-weight: 700; text-transform: uppercase; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vbadge { flex: none; }

/* a post, the way X shows it */
.ptext { white-space: pre-line; overflow-wrap: anywhere; }
.plink { color: var(--blue); }
a.plink:hover { text-decoration: underline; }
.pmedia { display: grid; gap: 4px; margin-top: 10px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.pmedia.n2, .pmedia.n4, .pmedia.n3 { grid-template-columns: 1fr 1fr; }
.pmedia .pm img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; }
.pquote { display: block; margin-top: 10px; padding: 11px 13px; border-radius: 14px; border: 1px solid var(--line); font-size: 13.5px; }
.pq-who { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: 13px; }

/* ------------------------------------------------------------ page heads */
.page-head { padding-block: 6px 30px; }
.page-head .eyebrow { margin-bottom: 12px; }
.page-head p { margin-top: 12px; color: var(--ink-2); font-size: 16.5px; line-height: 1.55; max-width: 64ch; }

/* ------------------------------------------------------------ the launch pad */
.make { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; align-items: start; }
.steps { position: relative; display: flex; flex-direction: column; gap: 14px; }
.stepbox { padding: 20px; display: flex; flex-direction: column; gap: 16px; border-radius: 20px; transition: opacity .3s, border-color .3s, box-shadow .3s; }
.stepbox .hd { display: flex; align-items: center; gap: 12px; }
.stepbox .num { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); color: var(--ink-2); font-size: 13px; font-weight: 760; flex: none; transition: background .3s, color .3s, transform .4s var(--spring); }
.stepbox.on { border-color: color-mix(in srgb, var(--blue) 55%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 9%, transparent), var(--shadow-2); }
.stepbox.on .num { background: var(--blue); color: #fff; }
.stepbox.done .num { background: var(--green); color: #fff; transform: scale(1.04); }
.stepbox.off { opacity: .5; pointer-events: none; user-select: none; }
.stepbox .sub { color: var(--ink-3); font-size: 13.5px; margin-top: 2px; }
.post-card { padding: 15px; border-radius: 15px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 10px; animation: rise .4s var(--ease) both; }
.post-card .t { font-size: 15.5px; line-height: 1.48; }
.post-card.picked { border-color: color-mix(in srgb, var(--blue) 45%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 8%, transparent); }
.markets { display: flex; flex-direction: column; gap: 8px; }
.bet { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line); text-align: left; background: var(--card); transition: background .15s, border-color .15s, transform .2s var(--ease); animation: rise .35s var(--ease) both; }
.bet:hover { background: var(--bg-2); border-color: var(--line-2); transform: translateX(2px); }
.bet img, .bet .bet-img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; flex: none; background: var(--bg-2); display: grid; place-items: center; color: var(--ink-3); }
.bet-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bet-txt b { font-size: 14px; line-height: 1.3; }
.bet-meta { font-size: 12.5px; color: var(--ink-3); }
.bet-go { color: var(--ink-4); }
.ev { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; animation: rise .35s var(--ease) both; }
.ev-hd { display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: var(--bg-2); font-weight: 680; font-size: 14px; }
.ev-hd img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.ev-back { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; transform: rotate(180deg); color: var(--ink-2); }
.ev-back:hover { background: var(--bg-3); }
.ev-ask { padding: 10px 12px 2px; font-size: 12.5px; color: var(--ink-3); }
.mk { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--line); }
.mk:first-of-type { border-top: 0; }
.mk .q { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.3; }
.mk .sides { display: flex; gap: 6px; flex: none; }
.mk .side-btn { height: 36px; padding: 0 12px; font-size: 13px; min-width: 92px; }
.sides2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.more-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 38px; border-radius: 10px; font-size: 13px; font-weight: 640; color: var(--ink-2); }
.more-btn:hover { background: var(--bg-2); }
.more-btn.in-ev { border-radius: 0; border-top: 1px solid var(--line); }
.drop { position: relative; width: 104px; height: 104px; border-radius: 18px; border: 1.5px dashed var(--line-2); display: grid; place-items: center; text-align: center; color: var(--ink-3); font-size: 12px; line-height: 1.25; cursor: pointer; overflow: hidden; flex: none; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--blue); background: var(--blue-tint); }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop svg { margin: 0 auto 4px; }
.drop .tag { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(10, 12, 17, .66); color: #fff; font-size: 11px; font-weight: 650; backdrop-filter: blur(6px); }
.make-side { position: sticky; top: calc(var(--top-h) + 18px); display: flex; flex-direction: column; gap: 12px; }
.sum { padding: 20px; display: flex; flex-direction: column; gap: 16px; border-radius: 22px; overflow: hidden; }
.sum::before { content: ''; position: absolute; inset: 0 0 auto; height: 90px; background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 9%, transparent), transparent); pointer-events: none; border-radius: inherit; }
.sum > * { position: relative; }
.sum-coin { display: flex; align-items: center; gap: 13px; }
.sum-coin .coin-img { width: 54px; height: 54px; }
.sum-side { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--bg-2); }
.sum-side .q { font-size: 13px; font-weight: 640; line-height: 1.3; }
.sum-pay { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sum-pay b { font-size: 30px; font-weight: 790; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ifs { display: grid; gap: 9px; }
.ifs div { display: flex; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.ifs svg { flex: none; margin-top: 1px; }
.ifs .w svg { color: var(--green); }
.ifs .l svg { color: var(--red); }
.make-wallet { font-size: 13px; color: var(--ink-2); padding: 0 2px; }
.spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }

/* the launch dialog's steps */
.steps-m { display: flex; flex-direction: column; gap: 11px; }
.stepline { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--ink-3); transition: color .2s; }
.stepline .dt { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; color: #fff; transition: background .25s, border-color .25s; }
.stepline.on { color: var(--ink); font-weight: 640; }
.stepline.on .dt { border-color: var(--blue); border-right-color: transparent; animation: spin .8s linear infinite; }
.stepline.done { color: var(--ink); }
.stepline.done .dt { background: var(--green); border-color: var(--green); animation: pop .35s var(--spring); }

/* ------------------------------------------------------------ the call page */
.call-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.call-top .coin-img { width: 64px; height: 64px; border-radius: 18px; }
.call-top .coin-img::after { display: none; }
.call-top .coin-img img { border-radius: 18px; }
.call-top h1 { font-size: clamp(28px, 3.4vw, 40px); }
.call-page { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 22px; align-items: start; }
.result { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r); margin-bottom: 20px; animation: rise .5s var(--ease) both; }
.result .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; color: #fff; }
.result.won { background: var(--green-tint); }
.result.won .ic { background: var(--green); }
.result.lost { background: var(--red-tint); }
.result.lost .ic { background: var(--red); }
.result.void { background: var(--bg-2); }
.result.void .ic { background: var(--ink-3); }
.result h2 { font-size: 21px; }
.result p { color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.chart-card { padding: 20px; display: flex; flex-direction: column; gap: 13px; }
.chart-hd { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.chart-hd .big { font-size: 34px; font-weight: 780; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
svg.chart { width: 100%; height: 180px; overflow: visible; }
svg.chart .ln { fill: none; stroke: var(--blue); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
svg.chart .ar { stroke: none; }
svg.chart .entry { stroke: var(--ink-4); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.stats > div { padding: 16px 18px; border-top: 1px solid var(--line); }
.stats > div:nth-child(-n + 2) { border-top: 0; }
.stats > div:nth-child(2n) { border-left: 1px solid var(--line); }
.stats b { display: block; font-size: 22px; font-weight: 760; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.stats b.blue { color: var(--blue); }
.stats b.green { color: var(--green-ink); }
.stats span { font-size: 12px; color: var(--ink-3); font-weight: 580; }
.flow { display: flex; flex-direction: column; }
.flow-step { display: flex; gap: 12px; padding: 10px 0; position: relative; }
.flow-step:not(:last-child)::before { content: ''; position: absolute; left: 12px; top: 36px; bottom: -6px; width: 2px; border-radius: 2px; background: var(--line); }
.flow-step.done:not(:last-child)::before { background: var(--green); }
.flow-step .ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--ink-3); flex: none; }
.flow-step.done .ico { background: var(--green); color: #fff; }
.flow-step.now .ico { background: var(--blue); color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.flow-step b { font-size: 13.5px; font-weight: 640; }
.flow-step div div { font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
.feed { display: flex; flex-direction: column; }
.feed-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.feed-row:first-child { border-top: 0; }
.feed-row > svg { color: var(--ink-3); flex: none; }
.feed-row .t { margin-left: auto; color: var(--ink-4); font-size: 12px; white-space: nowrap; padding-left: 8px; }
.copy { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 9px; background: var(--bg-2); font-family: var(--mono); font-size: 12px; font-weight: 640; color: var(--ink-2); transition: background .15s, color .15s; }
.copy:hover { background: var(--bg-3); color: var(--ink); }
a.ext { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 580; }
a.ext:hover { text-decoration: underline; }
.other-call { padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.demo-card { border-style: dashed; }

/* ------------------------------------------------------------ tables (bets, leaderboard) */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 28px; }
.stat-row .card { padding: 18px; border-radius: 18px; }
.stat-row b { display: block; font-size: 28px; font-weight: 780; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat-row span { font-size: 12.5px; color: var(--ink-3); font-weight: 580; }
.table-card { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-size: 11.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.table tr:first-child td { border-top: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table tr.link { cursor: pointer; transition: background .15s; }
.table tr.link:hover td { background: var(--bg-2); }
.table .up { color: var(--green-ink); }
.table .down { color: var(--red-ink); }
.table .rank { color: var(--ink-3); font-weight: 700; width: 44px; }
.bet-icon { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; background: var(--bg-2); flex: none; }
.sec { margin-top: 34px; }

/* ------------------------------------------------------------ docs */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.docs-toc { position: sticky; top: calc(var(--top-h) + 24px); display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 1px solid var(--line); }
.docs-toc a { padding: 6px 0; color: var(--ink-3); font-size: 14px; font-weight: 560; transition: color .15s; }
.docs-toc a:hover { color: var(--ink); }
.prose { max-width: 720px; }
.prose h1 { margin-bottom: 14px; }
.prose > p:first-of-type { font-size: 17.5px; color: var(--ink-2); }
.prose h2 { margin: 42px 0 12px; font-size: 24px; scroll-margin-top: calc(var(--top-h) + 20px); }
.prose p, .prose li { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 20px; margin: 10px 0 0; }
.prose li + li { margin-top: 7px; }
.prose li::marker { color: var(--blue); }
.prose b { color: var(--ink); }
.prose a:not(.btn) { color: var(--blue); }
.toc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }

/* ------------------------------------------------------------ profile */
.profile-head { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }

/* ------------------------------------------------------------ toasts, dialogs */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(92vw, 460px); pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 14px; font-size: 13.5px; box-shadow: var(--shadow-3); pointer-events: auto; animation: toast-in .35s var(--spring); }
@keyframes toast-in { from { transform: translateY(14px) scale(.96); opacity: 0; } }
.backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(10, 11, 16, .5); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal { width: min(440px, 100%); max-height: 90vh; overflow: auto; padding: 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-3); animation: modal-in .3s var(--spring); }
@keyframes modal-in { from { transform: translateY(10px) scale(.97); opacity: 0; } }
.modal h2 { font-size: 21px; }
.modal .item { display: flex; align-items: center; gap: 12px; width: 100%; height: 54px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); font-weight: 640; font-size: 14.5px; transition: background .15s, border-color .15s, transform .2s var(--ease); }
.modal .item:hover { background: var(--bg-2); border-color: var(--line-2); transform: translateY(-1px); }
.modal .item img { width: 28px; height: 28px; border-radius: 7px; }
.modal .item .tag { margin-left: auto; font-size: 11.5px; color: var(--blue); background: var(--blue-tint); padding: 3px 8px; border-radius: 99px; }
.group { font-size: 12px; font-weight: 640; color: var(--ink-3); margin-top: 6px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .stack { max-width: 620px; width: 100%; margin: 6px auto 0; }
  .make, .call-page { grid-template-columns: minmax(0, 1fr); }
  .make-side { position: static; }
  .ex-grid, .how3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .betsband { grid-template-columns: minmax(0, 1fr); }
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .lp:nth-child(3) { padding-left: 0; }
  .lp:nth-child(2) .lp-link { display: none; }
  .docs { grid-template-columns: minmax(0, 1fr); }
  .docs-toc { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --top-h: 60px; }
  .nav, .top-right .ca-lbl { display: none; }
  .top-in { gap: 12px; }
  .brand { font-size: 17px; }
  .ca { height: 36px; }
  .ca-tk { padding-right: 7px; }
  .launch-btn { padding: 0 13px; }
  .display { font-size: clamp(42px, 12vw, 58px); }
  .stack { height: auto !important; display: flex; flex-direction: column; gap: 14px; padding-bottom: 34px; }
  .sk { position: relative; inset: auto; width: 100%; rotate: 0deg; translate: none; top: auto !important; }
  .sk-post { width: 94%; rotate: -1.2deg; }
  .sk-market { width: 94%; margin-left: auto; rotate: 1deg; }
  .sk-coin { width: 94%; left: 0; rotate: -.8deg; }
  .wires, .wire-dot, .wire-tag { display: none; }
  .stack-foot { bottom: 0; }
  .ex-grid, .how3 { grid-template-columns: minmax(0, 1fr); }
  .loop { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .lp { padding: 0; }
  .lp-link { display: none; }
  .bb-stats b { font-size: 20px; }
  .cta { border-radius: 24px; }
  .cta .paste { flex-wrap: wrap; padding: 8px; }
  .cta .paste input { flex-basis: calc(100% - 40px); }
  .cta .paste .btn { width: 100%; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 24px; }
  .mk { flex-direction: column; align-items: stretch; }
  .mk .sides .side-btn { flex: 1; }
  .table .hide-sm, .hide-sm { display: none; }
  .main { padding-bottom: 116px; }
  .mnav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; justify-content: space-around; padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .mnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; border-radius: 10px; font-size: 11px; font-weight: 640; color: var(--ink-3); }
  .mnav a[aria-current] { color: var(--blue); }
}
@media (max-width: 420px) {
  .ca { display: none; }
  .paste { padding-left: 12px; }
  .paste .btn { padding: 0 16px; }
}
@media (min-width: 1081px) { .prose .toc { display: none; } }
