/* PUMPFOLIO — white, pump.fun green, rounded, pixel art only in the pictures. Numbers in the mono face. */
:root {
  --bg: #ffffff; --bg2: #f7f9f7; --card: #ffffff; --line: #e5e7eb; --line2: #d1d5db;
  --text: #0f172a; --muted: #6b7280; --ink2: #334155;
  --green: #4ade80; --green2: #86efac; --green3: #22c55e; --green4: #166534; --mint: #dcfce7; --mint2: #f0fdf4;
  --gold: #facc15; --red: #f87171; --blue: #60a5fa;
  --body: "Inter", "Segoe UI", sans-serif; --display: "Inter", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace; --num: "IBM Plex Mono", ui-monospace, monospace;
  --r: 16px; --r2: 12px;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px -12px rgba(15,23,42,.12);
  --shadow-lg: 0 2px 4px rgba(15,23,42,.05), 0 24px 48px -20px rgba(15,23,42,.22);
  /* legacy aliases */
  --phosphor: var(--green3); --phosphor-deep: var(--green4); --chassis-dark: var(--text); --ink: var(--text); --paper: var(--card); --plate: var(--bg2); --workshop: var(--bg); --led-amber: var(--gold); --led-red: var(--red);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-left: 220px; color: var(--text); background: var(--bg); font-family: var(--body); -webkit-font-smoothing: antialiased; min-height: 100vh; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(1px 1px at 50% 50%, #e5e7eb 99%, transparent) 0 0 / 24px 24px; opacity: .6; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
img.pixel, .pixel img { image-rendering: pixelated; }
code { padding: 2px 6px; border-radius: 6px; background: var(--mint); color: var(--green4); font: 500 13px/1.4 var(--mono); }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); }
.shell { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.page-shell { width: min(1000px, calc(100% - 48px)); margin-inline: auto; padding: 56px 0 120px; }

/* ------------------------------------------------------------ cards */
.panel, .kpi, .coin, .explorer-table, .loop article, .account-card, .info-card, .calculator, .closing, .featured, .receipt, .cycle-card, .modal .box, .basket-box, .stage, .status-plate, .ca-row, .launch-form input, .launch-form textarea, .search, .seg, .asset-pick, .basket-row, .basket-line, .chips button, .wallet-status, .note-bar, .paying, .logo-drop img, .coin-hero > img, .popular button, .chip, .lookup input, .doc-toc, .empty-note, .screen {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
}
.kpi.dark, .info-card.dark, .closing-copy, .account-card.featured, .featured { background: var(--text); color: white; border-color: var(--text); }
.kpi.screen, .info-card.screen, .stage, .receipt, .cycle-card, .calc-result, .closing-screen, .chart, .screen { background: var(--mint2); border-color: var(--green2); color: var(--text); }

/* ------------------------------------------------------------ rail */
.side-rail { position: fixed; inset: 0 auto 0 0; z-index: 40; display: flex; width: 220px; flex-direction: column; padding: 22px 16px; background: white; border-right: 1px solid var(--line); }
.rail-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 0 6px; color: var(--text); font: 800 17px/1.2 var(--display); letter-spacing: -.02em; text-decoration: none; }
.rail-logo { width: 36px; height: 36px; image-rendering: pixelated; }
.rail-nav { display: flex; flex-direction: column; gap: 4px; }
.rail-nav a { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 12px; border-radius: 999px; color: var(--ink2); font: 500 14px/1 var(--body); text-decoration: none; transition: background .15s ease; }
.rail-nav a:hover { background: var(--bg2); color: var(--text); }
.rail-nav a.active { background: var(--green2); color: var(--green4); font-weight: 600; }
.rail-icon { width: 16px; height: 16px; display: inline-grid; place-items: center; }
.rail-icon svg { width: 16px; height: 16px; shape-rendering: crispEdges; }
.rail-bottom { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font: 400 11px/1.7 var(--mono); }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--green3); vertical-align: 1px; }
.dot.amber { background: var(--gold); } .dot.red { background: var(--red); }
.rail-bottom .dot { animation: blink 1.6s ease-in-out infinite; }

/* ------------------------------------------------------------ buttons */
.button, .launch-form button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 1px solid var(--text); border-radius: 999px; background: var(--text); color: white; font: 600 14px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; box-shadow: var(--shadow); }
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.button:active { transform: translateY(0); }
.button.ghost { background: white; color: var(--text); border-color: var(--line2); }
.button.ghost:hover { background: var(--bg2); }
.button.screen, .launch-form button[type="submit"] { background: var(--green2); border-color: var(--green2); color: var(--green4); }
.button.screen:hover { background: var(--green); border-color: var(--green); }
.button.small { min-height: 36px; padding: 0 14px; font-size: 13px; }
button.button:disabled { opacity: .5; cursor: wait; }
.button:focus-visible, .rail-nav a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--green2); outline-offset: 2px; }

/* ------------------------------------------------------------ type */
.section-kicker { display: inline-block; margin: 0 0 14px; padding: 6px 10px; border-radius: 999px; background: var(--mint); color: var(--green4); font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.section-head h2, .page-title, .hero-copy h1, .loop h3, .account-card h3, .info-card h2, .calc-copy h2, .closing-copy h2, .panel h2, .doc-content h2, .empty-state h2, .modal h3, .featured .f-name { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; }
.hero-copy h1 { margin: 10px 0 18px; font-size: clamp(40px, 5.6vw, 72px); line-height: 1; }
.hero-copy h1 em { font-style: normal; color: var(--green3); }
.hero-copy p, .section-head p, .page-lead { max-width: 560px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.section-head h2 { margin: 0 0 14px; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; }
.page-title { margin: 0 0 14px; font-size: clamp(34px, 5vw, 60px); line-height: 1; }
section { padding: 72px 0; } section.tight { padding: 32px 0 0; }

/* ------------------------------------------------------------ hero */
.hero { display: grid; grid-template-columns: minmax(300px, .95fr) minmax(0, 1.05fr); gap: 36px; align-items: center; padding: 40px 0 56px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.status-plate { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; overflow: hidden; }
.status-plate div { padding: 12px 14px; border-right: 1px solid var(--line); }
.status-plate div:last-child { border-right: 0; }
.status-plate span { display: block; color: var(--muted); font: 500 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.status-plate strong { display: block; margin-top: 6px; font: 600 14px/1.3 var(--body); }
.leds { display: flex; gap: 6px; margin-bottom: 12px; }
.leds i { width: 10px; height: 10px; border-radius: 50%; animation: blink 2.4s ease-in-out infinite; }
.leds .r { background: var(--red); } .leds .a { background: var(--gold); animation-delay: .4s; } .leds .c { background: var(--blue); animation-delay: .8s; } .leds .b { background: var(--green3); animation-delay: 1.2s; }
.machine-stage { position: relative; }
.screen { position: relative; padding: 10px; overflow: hidden; border-radius: 20px; box-shadow: var(--shadow-lg); }
.screen .machine { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: url("/px/machine-sheet.png") 0 0 / 800% 100% no-repeat; image-rendering: pixelated; animation: play8 1.3s steps(8, jump-none) infinite; }
.mascot { position: absolute; left: -14px; bottom: -22px; display: flex; align-items: flex-end; gap: 10px; }
.pill { width: 72px; height: 120px; background: url("/px/pill-sheet.png") 0 0 / 400% 100% no-repeat; image-rendering: pixelated; animation: pill 2.8s infinite; filter: drop-shadow(0 10px 14px rgba(15,23,42,.18)); }
.bubble { position: relative; max-width: 240px; margin-bottom: 76px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; background: white; color: var(--text); font: 500 13px/1.5 var(--body); box-shadow: var(--shadow); }
.bubble::after { content: ""; position: absolute; left: 14px; bottom: -7px; width: 12px; height: 12px; background: white; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.bubble b { color: var(--green4); background: var(--mint); padding: 0 5px; border-radius: 5px; }

/* ------------------------------------------------------------ ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--mint2); color: var(--green4); }
.ticker-track { display: flex; width: max-content; padding: 11px 0; animation: ticker 26s linear infinite; font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.ticker-track.live { animation-duration: 70s; text-transform: none; letter-spacing: 0; font-weight: 500; }
.ticker-track span { padding-right: 36px; } .ticker-track span::after { content: "●"; padding-left: 36px; color: var(--green); font-size: 8px; vertical-align: 2px; }
.ticker a { color: inherit; text-decoration: none; } .ticker-track img { display: inline-block; width: 16px; height: 16px; margin-right: 6px; border-radius: 50%; vertical-align: -3px; }

/* ------------------------------------------------------------ kpis / stage */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { padding: 18px 18px 16px; }
.kpi span { display: block; color: var(--muted); font: 400 12px/1.5 var(--body); }
.kpi.dark span { color: #cbd5e1; } .kpi.screen span { color: var(--green4); }
.kpi strong { display: block; margin-bottom: 8px; font: 700 clamp(26px, 3vw, 36px)/1 var(--num); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stage { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; margin-top: 32px; padding: 22px 26px; }
.stage .lbl { color: var(--green4); font: 600 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.stage .clock { margin-top: 8px; font: 700 clamp(44px, 6vw, 68px)/.95 var(--num); letter-spacing: -.04em; color: var(--text); }
.stage .clock.hot { color: var(--green3); }
.stage .sub { color: var(--ink2); font-size: 14px; line-height: 1.55; }
.stage .track { height: 10px; margin-top: 12px; border-radius: 999px; background: white; border: 1px solid var(--green2); overflow: hidden; }
.stage .track i { display: block; height: 100%; background: linear-gradient(90deg, var(--green2), var(--green3)); transition: width 1s linear; }
.stage .row { display: grid; gap: 14px; min-width: 190px; }
.stage .row b { display: block; font: 700 22px/1 var(--num); letter-spacing: -.03em; }
.stage .row small { color: var(--muted); font: 400 11px/1.5 var(--mono); }
[data-clock] { font-family: var(--num); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ sections (shared) */
.comparison { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.account-card { padding: 26px; }
.account-card h3 { margin: 18px 0 10px; font-size: 28px; }
.account-card p { margin: 0; color: var(--muted); line-height: 1.6; min-height: 72px; } .account-card.featured p { color: #cbd5e1; } .account-card.featured p b { color: white; }
.account-card.featured .section-kicker { background: var(--green2); }
.payout { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); } .account-card.featured .payout { border-top-color: rgba(255,255,255,.14); }
.payout strong { display: block; margin-top: 8px; font: 800 42px/1 var(--num); letter-spacing: -.04em; } .account-card.featured .payout strong { color: var(--green2); } .account-card:not(.featured) .payout strong { color: var(--red); }
.versus { display: grid; place-items: center; } .versus span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg2); border: 1px solid var(--line); font: 700 11px/1 var(--mono); color: var(--muted); }
.receipt { padding: 20px; } .receipt > p { margin: 0; font: 600 11px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--green4); }
.receipt .line { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--green2); font: 400 13px/1.5 var(--body); color: var(--ink2); } .receipt .line b { font: 600 13px/1.5 var(--mono); color: var(--text); white-space: nowrap; }
.receipt-amount { margin: 8px 0 16px; font: 700 48px/1 var(--num); letter-spacing: -.04em; color: var(--text); }
.rules-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; margin-top: 20px; }
.rules-grid ol { margin: 0; padding: 0; list-style: none; counter-reset: r; }
.rules-grid li { position: relative; padding: 0 0 18px 46px; counter-increment: r; }
.rules-grid li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--mint); color: var(--green4); font: 600 11px/1 var(--mono); }
.rules-grid li b { display: block; margin-bottom: 4px; font-weight: 700; } .rules-grid li span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.rules-grid .receipt a { color: inherit; } .rules-grid .receipt p { margin: 14px 0 0; color: var(--ink2); font-size: 13px; line-height: 1.6; text-transform: none; letter-spacing: 0; font-family: var(--body); font-weight: 400; }
footer { padding: 40px 0 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font: 500 13px/1 var(--body); }
.legal { padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.doc-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; margin-top: 44px; }
.doc-toc { position: sticky; top: 24px; align-self: start; padding: 14px; }
.doc-toc a { display: block; padding: 7px 0; color: var(--muted); font: 500 13px/1.4 var(--body); text-decoration: none; } .doc-toc a:hover { color: var(--green4); }
.doc-content article { padding: 0 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.doc-content h2 { margin: 0 0 12px; font-size: 30px; } .doc-content p, .doc-content li { color: var(--ink2); line-height: 1.7; }

/* ------------------------------------------------------------ tables / ledger */
.explorer-head { display: flex; justify-content: space-between; gap: 28px; align-items: end; }
.cycle-card { min-width: 220px; padding: 18px; } .cycle-card > span { font: 400 12px/1.6 var(--body); color: var(--green4); }
.cycle-card strong { display: block; margin: 6px 0; font: 700 38px/1 var(--num); letter-spacing: -.04em; }
.explorer-table { margin-top: 36px; overflow: hidden; }
.table-head { display: grid; grid-template-columns: 1.4fr .8fr .7fr .6fr; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--bg2); color: var(--muted); font: 600 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.empty-state { display: grid; min-height: 280px; place-items: center; padding: 40px; text-align: center; }
.empty-state h2 { margin: 0 0 8px; font-size: 26px; } .empty-state p { max-width: 420px; margin: 0; color: var(--muted); line-height: 1.55; }
.table-head.ledger, .ledger-row { grid-template-columns: 1.1fr 1.5fr 1.5fr .9fr; }
.ledger-row { display: grid; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 14px; }
.ledger-row:last-child { border-bottom: 0; } .ledger-row:hover { background: var(--bg2); }
.ledger-row strong { font: 700 16px/1 var(--num); letter-spacing: -.02em; }
.ledger-row .src { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; text-decoration: none; } .ledger-row .src img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.ledger-row small { display: block; color: var(--muted); font: 400 11px/1.6 var(--mono); }
.ledger-row .txs a { margin-right: 8px; color: var(--green4); font: 500 11px/1.8 var(--mono); }
.ledger-row .fire { font: 700 15px/1.3 var(--body); } .fire img { width: 18px; height: 18px; border-radius: 50%; vertical-align: -3px; margin-right: 6px; object-fit: cover; }
.tag { display: inline-block; padding: 4px 8px; border-radius: 999px; background: var(--mint); color: var(--green4); font: 600 11px/1.3 var(--mono); }
.tag.dry { background: var(--bg2); color: var(--muted); } .tag.bad { background: #fee2e2; color: #991b1b; } .tag.amber, .fees .tag.amber { background: #fef3c7; color: #92400e; } .fees .tag.plain { background: var(--bg2); color: var(--text); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

/* ------------------------------------------------------------ fund page bits */
.panel { margin-top: 20px; padding: 24px; } .panel h2 { margin: 0 0 8px; font-size: 28px; } .panel .page-lead { font-size: 15px; }
.ca-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border-radius: 999px; font: 500 12px/1.4 var(--mono); cursor: pointer; }
.ca-row span:first-child { color: var(--muted); font: 600 11px/1.6 var(--mono); } .ca-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; } .ca-row em { margin-left: auto; color: var(--green4); font-style: normal; font-weight: 600; }
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: end; }
.chart-head .big { font: 700 clamp(30px, 4.4vw, 46px)/1 var(--num); letter-spacing: -.04em; } .chart-head .big .cur { margin-left: 8px; color: var(--muted); font: 500 12px/1 var(--mono); }
.under { margin-top: 8px; color: var(--muted); font: 400 12px/1.7 var(--mono); } .under b { color: var(--text); font-weight: 600; } .under a { color: var(--green4); }
.fees { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; } .fees .tag { padding: 6px 10px; font-weight: 500; }
.note-bar { margin-top: 12px; padding: 12px 14px; background: #fef3c7; border-color: #fde68a; color: #92400e; font-size: 13px; line-height: 1.5; }
.paying { margin-top: 12px; padding: 14px; background: var(--mint2); border-color: var(--green2); color: var(--text); font-size: 14px; line-height: 1.5; } .paying .steps { margin-top: 10px; } .paying a { color: var(--green4); }
.steps { display: flex; flex-wrap: wrap; gap: 8px; } .step { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font: 600 11px/1.4 var(--mono); } .step.on { background: var(--green2); color: var(--green4); border-color: var(--green2); } .step.done { background: var(--mint); color: var(--green4); border-color: var(--mint); }
.chart { position: relative; height: 380px; margin-top: 16px; border-radius: 14px; background: var(--text); border-color: var(--text); cursor: grab; touch-action: pan-y; overflow: hidden; } .chart.drag { cursor: grabbing; }
.chart canvas { display: block; width: 100%; height: 100%; }
.chart .tip { position: absolute; display: none; transform: translate(-50%, -140%); padding: 6px 9px; border-radius: 8px; background: white; color: var(--text); font: 500 11px/1.3 var(--mono); white-space: nowrap; pointer-events: none; box-shadow: var(--shadow-lg); }
.chart .empty { position: absolute; inset: 0; display: grid; place-items: center; color: #9ca3af; font: 400 13px/1.6 var(--mono); text-align: center; padding: 20px; }
.chart-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 10px; color: var(--muted); font: 400 11px/1.5 var(--mono); }
.chart-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; background: var(--green3); } .chart-legend i.b { background: var(--gold); } .chart-legend span + span { margin-left: 14px; }
.basket-head { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; margin: 6px 0 18px; } .basket-head .donut { color: var(--text); }
.basket-table { display: grid; gap: 10px; }
.basket-line { display: grid; grid-template-columns: 40px 1.4fr 1fr 1fr 1fr; gap: 12px; align-items: center; padding: 12px 14px; box-shadow: none; }
.basket-line img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; } .basket-line b { display: block; font-weight: 700; } .basket-line small { display: block; color: var(--muted); font: 400 12px/1.5 var(--mono); } .basket-line small a { color: var(--green4); }
.basket-line .w { font: 700 18px/1 var(--num); }
.basket-line.next { border-color: var(--green); background: var(--mint2); }
.basket-line .mini { display: block; height: 6px; border-radius: 999px; background: var(--bg2); margin-top: 6px; overflow: hidden; } .basket-line .mini i { display: block; height: 100%; background: var(--green3); }
.lookup { display: flex; gap: 10px; } .lookup input { flex: 1; min-height: 44px; padding: 0 16px; border-radius: 999px; color: var(--text); font: 500 13px/1 var(--mono); box-shadow: none; }
.lookup input:focus, .search:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--mint); }
.lookup input::placeholder { color: #9ca3af; }
.drop-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 14px; } .drop-row small { display: block; color: var(--muted); font: 400 12px/1.5 var(--mono); } .drop-row a { color: var(--green4); }
.split-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--mint); color: var(--green4); font: 600 11px/1 var(--mono); } .split-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--green3); display: inline-block; }
.alloc { display: flex; height: 10px; overflow: hidden; border-radius: 999px; background: var(--bg2); margin: 10px 0 6px; }
.alloc i { display: block; height: 100%; min-width: 2px; transition: width .4s ease; }
.alloc-labels { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 500 12px/1.5 var(--mono); color: var(--muted); }
.alloc-labels span { display: inline-flex; align-items: center; gap: 6px; } .alloc-labels span i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; } .alloc-labels b { color: var(--text); }
.donut circle { fill: none; transform-origin: 50% 50%; transform: rotate(-90deg); transition: stroke-dasharray .6s ease; }
.launch-note { color: var(--muted); font-size: 13px; line-height: 1.55; }
.status-plate strong span, .kpi span span, .kpi strong span, .cycle-card span span, .stage small span { display: inline; padding: 0; color: inherit; font: inherit; background: none; border-radius: 0; }
.hero > *, .coin-hero > *, .stage > *, .rules-grid > *, .comparison > * { min-width: 0; }

/* ------------------------------------------------------------ motion */
@keyframes play8 { from { background-position-x: 0%; } to { background-position-x: 100%; } }
@keyframes pill { 0%, 40% { background-position-x: 0%; } 40.01%, 48% { background-position-x: 33.3333%; } 48.01%, 62% { background-position-x: 0%; } 62.01%, 72% { background-position-x: 66.6667%; } 72.01%, 82% { background-position-x: 100%; } 82.01%, 90% { background-position-x: 66.6667%; } 90.01%, 100% { background-position-x: 0%; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ------------------------------------------------------------ responsive */
@media (max-width: 900px) {
  body { padding-left: 0; padding-bottom: 76px; }
  .side-rail { inset: auto 0 0; width: 100%; height: 66px; flex-direction: row; align-items: center; padding: 6px 8px; border-right: 0; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(15,23,42,.2); }
  .rail-brand, .rail-bottom { display: none; }
  .rail-nav { flex: 1; flex-direction: row; gap: 4px; }
  .rail-nav a { flex: 1; min-height: 50px; flex-direction: column; justify-content: center; gap: 5px; padding: 0; border-radius: 12px; font-size: 10px; }
  .hero, .comparison, .doc-layout, .stage, .rules-grid, .coin-hero { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; gap: 48px; }
  .machine-stage { margin-top: 10px; } .mascot { left: 4px; bottom: -18px; } .pill { width: 48px; height: 80px; } .bubble { max-width: 180px; margin-bottom: 50px; font-size: 12px; }
  .versus { height: 44px; } .explorer-head, .footer-top { flex-direction: column; align-items: stretch; } .doc-toc { position: static; }
  .kpis { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .table-head.ledger { display: none; } .ledger-row { grid-template-columns: 1fr 1fr; }
  .chart { height: 300px; } .shell, .page-shell { width: calc(100% - 32px); } section { padding: 48px 0; }
  .status-plate { grid-template-columns: 1fr; } .status-plate div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-right: 0; border-bottom: 1px solid var(--line); } .status-plate div:last-child { border-bottom: 0; } .status-plate strong { margin-top: 0; text-align: right; }
  .basket-line { grid-template-columns: 36px 1fr 1fr; } .basket-line > :nth-child(4), .basket-line > :nth-child(5) { display: none; }
  .drop-row { grid-template-columns: 1fr 1fr; } .basket-head { grid-template-columns: 1fr; justify-items: center; }
}

/* ledger rows: asset logos inline, tx links as a tidy wrap */
.ledger-row img, .ledger-row small img { display: inline-block; width: 16px; height: 16px; margin: 0 4px 0 0; border-radius: 50%; object-fit: cover; vertical-align: -3px; }
.ledger-row .src img { width: 28px; height: 28px; margin: 0; vertical-align: middle; }
.ledger-row .txs { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 6px; }
.ledger-row .txs a, .ledger-row .txs span { margin: 0; white-space: nowrap; font: 500 11px/1.6 var(--mono); }
.ledger-row .txs span { color: var(--muted); }
.ledger-row > div { min-width: 0; }
