/* Stockpile: a professional dark app shell (sidebar, top bar, the desk), like Pelly's, on a green-black ground with the
   logo's mint. Mint means two things only: the one action and the pile (stock that is stacking). Amber = dropping soon.
   Contrast on --bg: --ink 17:1, --ink-2 10:1, --muted 5.9:1, mint 10:1. See ../../DESIGN.md. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/manrope-latin.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/geist-mono-latin.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #060C0A;            /* the page */
  --bg-2: #09110E;          /* the sidebar, wells, inputs */
  --surface: #0C1612;       /* cards */
  --surface-2: #101D18;     /* hover, raised */
  --surface-3: #16271F;     /* pressed, chips */
  --line: #172A22;          /* hairlines */
  --line-2: #213A2F;
  --line-3: #31533F;
  --ink: #EEF5F1;
  --ink-2: #B7C7BF;
  --muted: #86978F;
  --faint: #55665E;

  --mint: #6BD295;          /* the logo's tile: the action and the pile */
  --mint-2: #86E0AA;
  --on-mint: #05140C;
  --mint-wash: rgba(107, 210, 149, 0.1);
  --mint-line: rgba(107, 210, 149, 0.34);
  --slab-light: #2F6B4C;    /* the pile's slabs, small to big buys */
  --slab-mid: #4BA674;
  --slab-deep: #6BD295;
  --hot: #FFB547;           /* dropping soon */
  --hot-wash: rgba(255, 181, 71, 0.1);
  --bad: #FF6B7A;
  --bad-wash: rgba(255, 107, 122, 0.1);
  --link: #8FC6FF;          /* transaction links */

  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --side-w: 236px;
  --top-h: 60px;
  --strip-h: 30px;
  --wrap: 1180px;
  --gut: clamp(16px, 2.6vw, 32px);
  --r: 12px;
  --r-lg: 16px;
  --r-sm: 9px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 20px 40px -24px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 140ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
main { outline: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(107, 210, 149, 0.3); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.num { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.mono { font-family: var(--mono); font-size: 0.86em; letter-spacing: -0.01em; font-weight: 450; }
.muted { color: var(--muted); }
.label { font: 500 10.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.kicker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-wash); }
.fine { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.up { color: var(--mint); }
.icon { display: inline-flex; flex: none; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- the shell: strip, sidebar, top bar ---------- */
.strip { position: relative; z-index: 31; height: var(--strip-h); display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; background: #040907; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 12px; white-space: nowrap; overflow: hidden; }
.strip b { color: var(--mint); font-weight: 650; }
.strip .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); flex: none; }
.strip a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: calc(100vh - var(--strip-h)); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; background: var(--bg-2); border-right: 1px solid var(--line); overflow-y: auto; scrollbar-width: none; z-index: 30; }
.sidebar::-webkit-scrollbar { display: none; }
.brand { display: inline-flex; align-items: center; gap: 9px; padding: 6px 8px 14px; color: var(--ink); flex: none; }
.brand .mk { width: 30px; height: 30px; }
.brand .wd { height: 20px; width: auto; aspect-ratio: 4.35; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 10px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: 14px; transition: background var(--t-fast), color var(--t-fast); }
.side-nav a .icon { color: var(--muted); transition: color var(--t-fast); }
.side-nav a:hover { background: var(--surface); color: var(--ink); }
.side-nav a[aria-current] { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.side-nav a[aria-current] .icon { color: var(--mint); }
.side-nav .soon { margin-left: auto; font: 500 10px/1 var(--mono); color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.side-label { margin: 18px 10px 6px; }
.side-foot { margin-top: auto; display: grid; gap: 10px; padding-top: 14px; }
.wallet-card { display: grid; gap: 8px; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.wallet-card .wc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wallet-card .wc-addr { display: flex; align-items: center; gap: 6px; font: 500 12.5px var(--mono); color: var(--ink); }
.wallet-card .wc-check { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.wallet-card .wc-hold { display: flex; align-items: baseline; gap: 6px; font-size: 12px; color: var(--muted); }
.wallet-card .wc-hold b { font-size: 15px; font-weight: 780; color: var(--mint); }
.ok-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-wash); flex: none; }
.frame { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; height: var(--top-h); display: flex; align-items: center; gap: 12px; padding: 0 var(--gut); background: rgba(6, 12, 10, 0.86); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.top .brand { display: none; padding: 0; }
.search { position: relative; flex: 1; max-width: 420px; display: flex; align-items: center; }
.search .icon { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 38px; padding: 0 44px 0 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); font-size: 13.5px; transition: border-color var(--t-fast), background var(--t-fast); }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--line-3); background: var(--surface); }
.search kbd { position: absolute; right: 10px; height: 20px; min-width: 20px; display: grid; place-items: center; padding: 0 5px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--muted); font: 500 11px var(--mono); pointer-events: none; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top .menu-btn { display: none; }
.motion-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); background: none; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.motion-btn:hover { border-color: var(--line-3); color: var(--ink); }
.motion-track { position: relative; width: 26px; height: 15px; border-radius: 8px; background: var(--surface-3); border: 1px solid var(--line-2); }
.motion-knob { position: absolute; top: 2px; left: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); transition: transform var(--t-fast) var(--ease), background var(--t-fast); }
.motion-btn[aria-pressed='true'] .motion-track { background: var(--mint-wash); border-color: var(--mint-line); }
.motion-btn[aria-pressed='true'] .motion-knob { transform: translateX(11px); background: var(--mint); }
.ca-chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line); background: none; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.ca-chip .mono { font-size: 11.5px; color: var(--ink); }
main#main { flex: 1; padding: 24px 0 64px; }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 650; white-space: nowrap; transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.btn:hover { background: var(--surface-2); border-color: var(--line-3); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--mint); border-color: transparent; color: var(--on-mint); }
.btn.primary:hover { background: var(--mint-2); }
.btn.lg { height: 46px; padding: 0 20px; font-size: 15px; border-radius: 10px; }
.btn.sm { height: 32px; padding: 0 11px; font-size: 13px; border-radius: 8px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link { background: none; border: 0; padding: 0; color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-3); }
.link:hover { color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 650; font-size: 13.5px; transition: color var(--t-fast), gap var(--t-fast); }
.link-arrow:hover { color: var(--mint); gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 8px; border: 1px solid transparent; background: none; color: var(--ink-2); }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip.live { color: var(--mint); border-color: var(--mint-line); background: var(--mint-wash); }
.chip.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.hot { color: var(--hot); border-color: rgba(255, 181, 71, .32); background: var(--hot-wash); }
.chip.hot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.new { color: var(--on-mint); background: var(--mint); border-color: transparent; }
.chip.stock { font: 600 11px/1 var(--mono); height: 22px; padding: 0 7px; border-radius: 6px; color: var(--ink); }
.chip.demo { background: transparent; border-style: dashed; color: var(--muted); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-wash); flex: none; }
html[data-motion='on'] .live-dot { animation: live 2.4s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 6px rgba(107, 210, 149, 0); } }
.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; z-index: 40; }
.menu-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; background: none; border-radius: 8px; font-weight: 600; font-size: 14px; text-align: left; color: var(--ink); }
.menu-item:hover { background: var(--surface-3); }
.wallet-box { position: relative; }
.wallet-btn.on { gap: 8px; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; }
.card-head h2, .card-head h3 { font-size: 16.5px; font-weight: 750; display: flex; align-items: center; gap: 8px; }
.count-pill { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 6px; background: var(--surface-3); color: var(--muted); font: 500 11px/1 var(--mono); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); }

/* ---------- the pile (the signature object) ---------- */
.pile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; width: 76px; height: 108px; padding: 8px 9px 7px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); overflow: hidden; flex: none; }
.pile-col { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.slab { display: block; width: var(--w, 100%); border-radius: 4px; background: var(--slab-mid); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12); transform: translateX(var(--x, 0)); }
.slab.light { background: var(--slab-light); }
.slab.mid { background: var(--slab-mid); }
.slab.deep { background: var(--slab-deep); }
.pile-base { flex: none; margin-top: 2px; border-radius: 5px; background: repeating-linear-gradient(to top, #2C6A49 0 2px, #3A8A5E 2px 5px); }
.pile-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 12px; font: 500 11px/1.4 var(--mono); color: var(--muted); }
.pile.big { width: 100%; height: 100%; min-height: 300px; padding: 22px 26px 18px; border-radius: 14px; }
.pile.big .pile-col { gap: 3px; }
.pile.big .slab { border-radius: 7px; }
.pile.big .pile-base { border-radius: 9px; margin-top: 3px; position: relative; }
.pile.big .pile-base::after { content: attr(data-n); position: absolute; inset: auto 0 6px; text-align: center; font: 600 11.5px/1 var(--mono); color: rgba(238, 245, 241, .9); letter-spacing: .02em; }
html[data-motion='on'] .slab.drop { animation: slab-drop .6s var(--ease) both; }
@keyframes slab-drop { 0% { transform: translate(var(--x, 0), -54px); opacity: 0; } 55% { opacity: 1; } 100% { transform: translate(var(--x, 0), 0); opacity: 1; } }
html[data-motion='on'] .bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { color: var(--mint); } 100% { color: inherit; } }

/* ---------- the drop clock ---------- */
.goal { display: grid; gap: 7px; font-size: 13px; }
.goal-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); }
.goal-row.muted { font-weight: 500; color: var(--muted); }
.goal-row b { font-weight: 750; color: var(--ink); }
.goal .left { display: inline-flex; align-items: center; gap: 5px; }
.goal .clock { font-size: 15.5px; font-weight: 780; margin-left: 2px; color: var(--ink); min-width: 4.2ch; }
.bar { height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #3E9466, var(--mint)); transform-origin: left center; transition: transform .7s var(--ease); }
.goal.big { font-size: 14px; gap: 9px; }
.goal.big .bar { height: 10px; }
.goal.big .clock { font-size: 26px; letter-spacing: -0.03em; }
.goal.big .left { gap: 6px; align-items: baseline; }

/* ---------- the coin card (piles page, launch preview) ---------- */
.coin-img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; flex: none; background: var(--surface-3); }
.coin-card { display: grid; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); transition: transform .25s var(--ease), border-color .25s; min-width: 0; }
a.coin-card:hover { transform: translateY(-2px); border-color: var(--line-3); }
.cc-head { display: flex; align-items: center; gap: 11px; min-width: 0; }
.cc-name { display: grid; min-width: 0; flex: 1; line-height: 1.25; }
.cc-name b { font-size: 15.5px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-body { display: flex; gap: 14px; align-items: stretch; }
.cc-fig { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.cc-amt { font-size: 27px; font-weight: 780; line-height: 1.05; }
.cc-of { font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cc-of b { font-weight: 700; color: var(--ink); }
.cc-units { color: var(--muted); font-size: 11.5px; }
.cc-foot { border-top: 1px solid var(--line); padding-top: 11px; font-size: 13px; color: var(--ink-2); }
.cc-foot b { font-weight: 700; }
.coin-card.preview { box-shadow: none; }

/* ---------- the desk (home) ---------- */
.desk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'copy flow' 'sign flow'; gap: 18px 10px; padding: 34px 36px; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, rgba(107, 210, 149, 0.09), transparent 55%), linear-gradient(180deg, #0D1914, var(--surface)); }
.hero-copy { grid-area: copy; display: flex; flex-direction: column; gap: 18px; justify-content: flex-end; min-width: 0; }
.hero-sign { grid-area: sign; display: grid; gap: 14px; align-content: start; min-width: 0; }
.hero .flow { grid-area: flow; }
.hero h1 { font-size: clamp(32px, 3.5vw, 46px); font-weight: 800; letter-spacing: -0.042em; line-height: 1.02; max-width: 13em; }
.hero .lede { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.sign-box { display: grid; gap: 9px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(6, 12, 10, 0.45); max-width: 560px; }
.sign-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--ink-2); }
.sign-row span { display: inline-flex; align-items: center; gap: 7px; }
.sign-row b { color: var(--ink); font-weight: 700; }
.sign-row .icon.ok { color: var(--mint); }
.sign-row .icon.no { color: var(--bad); }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--muted); }
.ticks span { display: inline-flex; align-items: center; gap: 6px; }
.ticks .icon { color: var(--mint); }

/* the flow diagram: traders' fees buy the stock, the pile, holders at the drop */
.flow { position: relative; min-height: 400px; border-radius: var(--r); background-image: linear-gradient(rgba(107, 210, 149, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(107, 210, 149, .045) 1px, transparent 1px); background-size: 34px 34px; }
.flow-head { position: absolute; top: 0; right: 0; left: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.flow svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.flow .wire { fill: none; stroke: var(--line-3); stroke-width: 1.5; stroke-dasharray: 4 6; }
.flow .wire.hot { stroke: rgba(107, 210, 149, .55); stroke-dasharray: none; }
.flow .packet { fill: var(--mint); filter: drop-shadow(0 0 6px rgba(107, 210, 149, .8)); }
.flow-node { position: absolute; display: grid; justify-items: center; gap: 4px; text-align: center; transform: translate(-50%, -50%); }
.flow-node .bubble { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-3); color: var(--ink-2); }
.flow-node b { font-size: 13px; font-weight: 750; color: var(--ink); }
.flow-node .mono { font-size: 11px; color: var(--muted); }
.flow-pile { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 8px; }
.flow-pile .pile { width: 112px; height: 140px; border-color: var(--mint-line); box-shadow: 0 0 0 6px rgba(107, 210, 149, .05), 0 24px 50px -20px rgba(0, 0, 0, .7); }
.flow-pile .fp-amt { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.flow-pile .fp-name { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.flow-pile .fp-name .coin-img { width: 20px; height: 20px; border-radius: 6px; }
.flow-cap { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-cap b { color: var(--ink); }
.flow-cap .n { font: 600 11px/1 var(--mono); color: var(--mint); }

/* the example: where the fees go */
.example { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 20px 22px; }
.example .ex-what { display: flex; align-items: center; gap: 12px; }
.example .ex-what .coin-img { width: 40px; height: 40px; border-radius: 50%; }
.example .ex-what b { font-size: 17px; font-weight: 780; }
.ex-col { display: grid; gap: 6px; }
.ex-col .big { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.ex-col .big.bad { color: var(--bad); }
.ex-col .big.good { color: var(--mint); }
.ex-col .sub { font-size: 13px; color: var(--ink-2); }
.ex-bar { height: 5px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.ex-bar i { display: block; height: 100%; border-radius: 999px; }
.example .fine { grid-column: 1 / -1; margin-top: -8px; }

/* the stats strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: grid; gap: 6px; padding: 16px 20px; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; }
.stat-value { font-size: clamp(20px, 2vw, 25px); font-weight: 780; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.02em; }
.stat-value.good { color: var(--mint); }
.stat-hint { font-size: 12.5px; color: var(--muted); }

/* the live piles table, the feed, the wallet */
.desk-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.desk-side { display: grid; gap: 18px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; }
.seg button { border: 0; background: none; height: 30px; padding: 0 11px; border-radius: 7px; font-weight: 650; font-size: 13px; color: var(--muted); white-space: nowrap; }
.seg button[aria-pressed='true'] { background: var(--surface-3); color: var(--ink); }
.ptable { width: 100%; border-collapse: collapse; }
.ptable th { padding: 10px 14px; text-align: left; font: 500 10.5px/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; }
.ptable td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 13.5px; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable tbody tr { cursor: pointer; transition: background var(--t-fast); }
.ptable tbody tr:hover { background: var(--surface-2); }
.ptable .r { text-align: right; }
.t-coin { display: flex; align-items: center; gap: 10px; min-width: 0; }
.t-coin .coin-img { width: 32px; height: 32px; border-radius: 9px; }
.t-coin b { font-weight: 700; display: block; }
.t-coin .mono { color: var(--muted); font-size: 11px; }
.t-pile { display: flex; align-items: center; gap: 10px; }
.t-pile b { font-weight: 750; font-size: 14px; min-width: 64px; }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 22px; }
.spark i { display: block; width: 3px; border-radius: 1.5px; background: var(--slab-mid); }
.spark i:last-child { background: var(--mint); }
.t-clock { display: grid; gap: 5px; min-width: 96px; }
.t-clock b { font-weight: 750; font-size: 14px; }
.t-clock .bar { height: 4px; }
.t-clock.hot b { color: var(--hot); }
.t-goal { color: var(--ink-2); white-space: nowrap; }
.feed-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); }
.feed-row .coin-img { width: 30px; height: 30px; border-radius: 50%; }
.feed-row .fr-text { font-size: 13px; color: var(--ink-2); line-height: 1.35; min-width: 0; }
.feed-row .fr-text b { color: var(--ink); font-weight: 700; }
.feed-row .fr-side { display: grid; justify-items: end; gap: 3px; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.feed-row.is-drop { background: linear-gradient(90deg, var(--mint-wash), transparent); }
.feed-row.fresh { animation: row-in .8s var(--ease); }
@keyframes row-in { from { background: rgba(107, 210, 149, .14); } to { background: transparent; } }
html[data-motion='off'] .feed-row.fresh { animation: none; }
.tx { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; font: 500 11.5px/1 var(--mono); color: var(--link); text-decoration: underline dotted rgba(143, 198, 255, .45); text-underline-offset: 3px; cursor: help; white-space: nowrap; }
.wallet-panel { display: grid; gap: 12px; padding: 16px 18px 18px; }
.addr-box { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg-2); font: 500 12.5px var(--mono); color: var(--ink); min-width: 0; }
.addr-box span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.kv { display: grid; gap: 0; margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.kv div:first-child { border-top: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 650; text-align: right; color: var(--ink); }
.explain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.explain .card { padding: 18px 20px; display: grid; gap: 8px; align-content: start; }
.explain .label { color: var(--mint); }
.explain h3 { font-size: 16.5px; font-weight: 750; }
.explain p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* ---------- the piles page (catalog) ---------- */
.page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.page-head { display: grid; gap: 8px; }
.page-head h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.035em; }
.page-head p { color: var(--ink-2); font-size: 15px; max-width: 62ch; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; min-width: 0; }
.stock-filter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.stock-filter::-webkit-scrollbar { display: none; }
.stock-filter button { flex: none; height: 30px; padding: 0 10px; border-radius: 7px; border: 1px solid var(--line); background: var(--surface); font: 600 11.5px/1 var(--mono); color: var(--ink-2); }
.stock-filter button[aria-pressed='true'] { border-color: var(--mint-line); background: var(--mint-wash); color: var(--mint); }
.select { height: 36px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); padding: 0 10px; font-size: 13.5px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.empty { text-align: center; padding: 44px 20px; display: grid; gap: 10px; justify-items: center; }
.empty h3 { font-size: 19px; }

/* ---------- buys feed rows (coin page) ---------- */
.feed { padding: 0; }
.feed-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 12px; gap: 12px; }
.feed-head h2, .feed-head h3 { font-size: 16.5px; font-weight: 750; }
.row-buy { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr) 84px 92px 70px 104px; gap: 12px; align-items: center; padding: 11px 18px; border-top: 1px solid var(--line); font-size: 13.5px; }
.row-buy.no-coin { grid-template-columns: minmax(0, 1fr) 84px 92px 74px 104px; }
.row-buy.fresh { animation: row-in .8s var(--ease); }
html[data-motion='off'] .row-buy.fresh { animation: none; }
.rb-coin { display: flex; align-items: center; gap: 9px; min-width: 0; white-space: nowrap; overflow: hidden; }
.rb-coin .coin-img { width: 28px; height: 28px; border-radius: 8px; }
.rb-coin b { font-weight: 700; }
.rb-what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.rb-sol, .rb-usd, .rb-time { text-align: right; white-space: nowrap; }
.rb-usd { font-weight: 700; color: var(--mint); }
.more { display: flex; justify-content: center; padding: 14px; border-top: 1px solid var(--line); }

/* ---------- coin page ---------- */
.coin-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.crumb { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--ink-2); font-size: 13.5px; width: max-content; }
.crumb:hover { color: var(--ink); }
.coin-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.coin-top .coin-img { width: 60px; height: 60px; border-radius: 15px; }
.coin-title { display: grid; gap: 6px; flex: 1; min-width: 220px; }
.coin-title h1 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.coin-title h1 .mono { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.coin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pile-hero { display: grid; grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); overflow: hidden; }
.pile-stage { position: relative; padding: 18px; background: var(--bg-2); border-right: 1px solid var(--line); min-height: 340px; }
.pile-stage .pile.big { position: absolute; inset: 18px; width: auto; height: auto; min-height: 0; background: var(--surface); }
.pile-facts { padding: clamp(20px, 3vw, 32px); display: grid; gap: 20px; align-content: start; }
.pile-amt { display: grid; gap: 6px; }
.pile-amt .big-num { font-size: clamp(42px, 5vw, 64px); font-weight: 800; line-height: .95; letter-spacing: -0.045em; }
.pile-amt .of { font-size: 17px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pile-amt .of b { color: var(--ink); }
.drop-box { display: grid; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line-2); }
.mini-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mini-stats .stat { padding: 0; border: 0; gap: 4px; }
.mini-stats .stat-value { font-size: 18px; }
.coin-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.side { display: grid; gap: 18px; }
.box { padding: 18px; display: grid; gap: 12px; }
.box h3 { font-size: 16px; font-weight: 750; }
.split { display: grid; gap: 8px; }
.split-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; gap: 2px; background: var(--surface-3); }
.split-bar span { background: var(--mint); }
.split-key { display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); }
.split-key span { display: flex; align-items: center; gap: 8px; }
.split-key i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.drop-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.share-box { display: grid; gap: 6px; padding: 14px; border-radius: var(--r); background: var(--mint-wash); border: 1px solid var(--mint-line); }

/* ---------- launch ---------- */
.launch-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.step { padding: 20px 22px; display: grid; gap: 14px; }
.step-head { display: flex; align-items: center; gap: 12px; }
.step-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--line-2); font: 600 12px/1 var(--mono); flex: none; color: var(--ink-2); }
.step.ok .step-n { background: var(--mint); color: var(--on-mint); border-color: transparent; }
.step-head h2 { font-size: 17px; font-weight: 750; }
.step-head p { font-size: 13px; color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field > span:first-child { font-weight: 650; font-size: 13.5px; color: var(--ink-2); }
.input { height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); padding: 0 13px; font-size: 16px; width: 100%; }
.input::placeholder { color: var(--faint); }
textarea.input { height: 84px; padding: 11px 13px; resize: vertical; }
.input:focus { outline: none; border-color: var(--mint-line); box-shadow: 0 0 0 3px var(--mint-wash); }
.affix { position: relative; }
.affix .input { padding-left: 26px; }
.affix > b { position: absolute; left: 12px; top: 11px; color: var(--muted); font-weight: 650; }
.affix.suffix .input { padding-left: 13px; padding-right: 50px; }
.affix.suffix > b { left: auto; right: 13px; }
.problem { color: var(--bad); font-size: 13px; font-weight: 600; }
.drop-zone { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r); border: 1.5px dashed var(--line-3); background: var(--bg-2); cursor: pointer; }
.drop-zone.over { border-color: var(--mint); background: var(--mint-wash); }
.drop-zone img { width: 60px; height: 60px; border-radius: 13px; object-fit: cover; flex: none; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.pick { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); text-align: left; min-width: 0; color: var(--ink); }
.pick b { font: 650 13px/1.2 var(--mono); }
.pick span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick[aria-pressed='true'] { border-color: var(--mint); background: var(--mint-wash); box-shadow: inset 0 0 0 1px var(--mint); }
.chips-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.chips-pick button { height: 36px; padding: 0 13px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink-2); font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.chips-pick button[aria-pressed='true'] { background: var(--mint); color: var(--on-mint); border-color: transparent; }
.aside { position: sticky; top: calc(var(--top-h) + 16px); display: grid; gap: 14px; }
.sum { padding: 18px; display: grid; gap: 14px; }
.checks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.checks li { display: flex; gap: 8px; }
.checks .icon { color: var(--mint); margin-top: 1px; }
.steps-list { display: grid; gap: 10px; margin: 6px 0 4px; padding: 0; list-style: none; }
.steps-list li { display: flex; align-items: center; gap: 12px; font-weight: 650; color: var(--muted); }
.steps-list li .dot { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-3); flex: none; }
.steps-list li.now { color: var(--ink); }
.steps-list li.now .dot { border-color: var(--mint); border-top-color: transparent; animation: spin 1s linear infinite; }
html[data-motion='off'] .steps-list li.now .dot { animation: none; border-top-color: var(--mint); }
.steps-list li.done { color: var(--ink); }
.steps-list li.done .dot { background: var(--mint); border-color: var(--mint); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- docs, drops ---------- */
.doc-grid { display: grid; grid-template-columns: 190px minmax(0, 740px); gap: 36px; }
.toc { position: sticky; top: calc(var(--top-h) + 20px); align-self: start; display: grid; gap: 2px; font-size: 13.5px; }
.toc a { padding: 6px 10px; border-radius: 7px; color: var(--ink-2); font-weight: 600; }
.toc a:hover { background: var(--surface); color: var(--ink); }
.prose { display: grid; gap: 14px; }
.prose h1 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.04em; }
.prose h2 { font-size: 21px; font-weight: 760; margin-top: 24px; scroll-margin-top: 80px; }
.prose p, .prose li { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.prose ol, .prose ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.prose b { color: var(--ink); }
.prose .card { padding: 16px 18px; box-shadow: none; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.steps3 .card { padding: 16px; display: grid; gap: 6px; }
.steps3 .label { color: var(--mint); }
.steps3 b { font-size: 15px; }
.steps3 p { font-size: 13.5px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; color: var(--ink); }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 600; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 8px; }
.drops-list .drop-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); }
.drop-card .amt { font-size: 21px; font-weight: 780; text-align: right; }
.stats-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* ---------- footer, phone tab bar, drawer ---------- */
.foot { border-top: 1px solid var(--line); padding: 22px var(--gut) 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; color: var(--muted); font-size: 12.5px; }
.foot .foot-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 650; }
.foot .foot-brand svg { width: 18px; height: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot nav a:hover { color: var(--ink); }
.foot .foot-right { margin-left: auto; }
.foot .foot-risk { flex-basis: 100%; color: var(--faint); font-size: 12px; }
.tabbar { display: none; }
.veil { display: none; }

/* ---------- toasts, modal, wallet list ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; z-index: 80; pointer-events: none; }
.toast { background: var(--surface-3); border: 1px solid var(--line-3); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 650; font-size: 13.5px; box-shadow: var(--shadow); max-width: min(520px, calc(100vw - 32px)); }
.toast.bad { border-color: rgba(255, 107, 122, .5); }
.modal-veil { position: fixed; inset: 0; background: rgba(2, 6, 4, 0.66); display: grid; place-items: center; z-index: 70; padding: 16px; }
.modal-panel { width: min(440px, 100%); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); max-height: calc(100vh - 32px); overflow: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 6px; }
.modal-head h2 { font-size: 18px; font-weight: 760; }
.modal-panel.locked .modal-x { visibility: hidden; }
.modal-body { padding: 8px 20px 20px; display: grid; gap: 14px; }
.wallet-list { display: grid; gap: 8px; }
.wallet-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); text-align: left; color: var(--ink); }
.wallet-row:hover { background: var(--surface-2); }
.wallet-row img { border-radius: 8px; }
.wallet-name { flex: 1; font-weight: 700; }
.wallet-tag { font-size: 12px; color: var(--muted); font-weight: 600; }
.wallet-help { display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }

html[data-motion='on'] main.enter { animation: enter .35s var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- narrower desktops ---------- */
@media (max-width: 1240px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); padding: 30px; }
  .desk-cols, .coin-cols { grid-template-columns: minmax(0, 1fr) 300px; }
  .ptable .col-last { display: none; }
  .ca-chip { display: none; }
}
@media (max-width: 1060px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'copy' 'flow' 'sign'; }
  .flow { min-height: 380px; }
  .desk-cols, .coin-cols, .launch-grid { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .example { grid-template-columns: 1fr 1fr; }
  .example .ex-what { grid-column: 1 / -1; }
  .doc-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
  .ptable .col-goal { display: none; }
}

/* ---------- phones and tablets: no sidebar, a drawer and a tab bar ---------- */
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; height: auto; transform: translateX(-100%); transition: transform .3s var(--ease); box-shadow: var(--shadow); }
  body.drawer-open .sidebar { transform: none; }
  body.drawer-open .veil { display: block; position: fixed; inset: 0; z-index: 29; background: rgba(2, 6, 4, .6); }
  .top .brand { display: inline-flex; }
  .search { display: none; }
  .top .menu-btn { display: inline-grid; }
  .motion-btn .motion-word, .top-cta { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(9, 17, 14, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 6px 0; border-radius: 10px; font-size: 11.5px; font-weight: 700; color: var(--muted); min-height: 48px; align-content: center; }
  .tabbar a[aria-current] { color: var(--ink); }
  .tabbar a[aria-current] .icon { color: var(--mint); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .toasts { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
  .strip .strip-more { display: none; }
  .top { gap: 8px; }
  .top-actions { gap: 6px; }
  .wallet-btn { padding: 0 10px; gap: 6px; }
  .wallet-btn .icon { display: none; }
  main#main { padding: 16px 0 40px; }
  .hero { padding: 22px 18px; gap: 18px; }
  .hero h1 { font-size: clamp(29px, 8vw, 36px); }
  .hero .row .btn { flex: 1; }
  .flow { min-height: 440px; margin: 0 -6px; }
  .flow-node .bubble { width: 40px; height: 40px; }
  .flow-node b { font-size: 12px; }
  .flow-node .mono { font-size: 10px; }
  .flow-node.low { top: 74% !important; }
  .flow-node.low .mono, .flow .low-wire { display: none; }
  .flow-pile .pile { width: 96px; height: 120px; }
  .flow-cap { white-space: normal; text-align: center; display: block; width: calc(100% - 12px); line-height: 1.45; }
  .card-foot, .card-head { flex-wrap: wrap; }
  .card-head .seg { width: 100%; }
  .card-head .seg button { flex: 1; }
  .example { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:nth-child(2) { border-right: 0; }
  .stats .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .explain { display: none; } /* the same three points are on the desk's sign box and in Docs */
  .ptable tbody tr:nth-child(n + 6), .desk-side .feed-row:nth-child(n + 5) { display: none; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }
  .ptable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .ptable td { padding: 0; border: 0; }
  .ptable .col-stock, .ptable .col-goal, .ptable .col-last { display: none; }
  .ptable .col-pile { grid-column: 1; }
  .ptable .col-clock { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .row-buy, .row-buy.no-coin { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'coin usd' 'what time' 'sol tx'; row-gap: 3px; padding: 12px 16px; font-size: 13.5px; }
  .row-buy.no-coin { grid-template-areas: 'what usd' 'sol time' 'tx tx'; }
  .rb-coin { grid-area: coin; } .rb-what { grid-area: what; font-size: 13px; } .rb-usd { grid-area: usd; } .rb-time { grid-area: time; font-size: 12.5px; } .rb-sol { grid-area: sol; text-align: left; font-size: 12.5px; } .row-buy .tx { grid-area: tx; }
  .row-buy.no-coin .tx { justify-content: flex-start; }
  .pile-hero { grid-template-columns: 1fr; }
  .pile-stage { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px; min-height: 0; }
  .pile-stage .pile.big { position: relative; inset: auto; height: 250px; padding: 16px 18px 14px; }
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .coin-top .coin-img { width: 52px; height: 52px; }
  .coin-actions { width: 100%; }
  .coin-actions .btn { flex: 1; }
  .fields { grid-template-columns: 1fr; }
  .step { padding: 18px 16px; }
  .steps3 { grid-template-columns: 1fr; }
  .drops-list .drop-card { grid-template-columns: auto minmax(0, 1fr); }
  .drops-list .drop-card .amt { grid-column: 2; text-align: left; font-size: 19px; }
  .grid-cards { grid-template-columns: 1fr; gap: 12px; }
  .foot { padding-bottom: 20px; }
  .foot .foot-right { margin-left: 0; }
}
@media (max-width: 380px) {
  .top .brand .wd { display: none; }
}
