/* Launchpad screens: home hero and coin cards, coin page and trade panel, launch form, portfolio, how it works.
   Loads after theme.css and uses its tokens (type --t-*, spacing --s1..--s8, radii --r-sm/--r/--r-lg). */

/* ---------- home ---------- */
.hero { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4) var(--s6); flex-wrap: wrap; padding: var(--s3) 0 var(--s6); }
.hero-copy { display: grid; gap: 6px; min-width: 0; }
.hero-title { font-size: var(--t-xxl); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.hero-title mark { color: inherit; background: linear-gradient(transparent 62%, var(--mark) 62%, var(--mark) 92%, transparent 92%); padding: 0 0.04em; }
.hero-sub { color: var(--muted); font-size: var(--t-md); font-weight: 400; letter-spacing: -0.01em; }
.hero-side { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.hero-side .btn { padding-inline: 20px; }
.hi-stats { display: flex; align-items: center; gap: var(--s3); font-size: var(--t-sm); color: var(--muted); white-space: nowrap; }
.hi-stats span { display: inline-flex; align-items: baseline; gap: 4px; }
.hi-stats b { color: var(--text); font-size: var(--t-base); font-weight: 600; letter-spacing: -0.01em; padding: 0 2px; }
.hi-stats i { font-style: normal; color: var(--border-strong); }

.coins-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; margin-bottom: var(--s3); }
.filters { display: flex; gap: 4px; flex-wrap: wrap; }
.coins-toolbar .search { width: 260px; max-width: 100%; height: 38px; border-radius: 999px; background: var(--surface); }
.coin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.more { display: flex; justify-content: center; margin-top: var(--s4); }
.more:empty { display: none; }

/* coin card: a stretched link (.cc-link) covers the card; the copy button sits above it */
.coin-card {
  position: relative; display: grid; gap: 10px; padding: var(--s4) var(--s4) 12px; min-width: 0;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--card-shadow);
  color: inherit; cursor: pointer;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s, border-color 0.18s;
}
.cc-link { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.coin-card .ca-copy { position: relative; z-index: 2; }
.coin-card:hover { transform: translateY(-3px); box-shadow: var(--lift); border-color: var(--border-strong); }
.coin-card:active { transform: translateY(-1px) scale(0.995); box-shadow: var(--card-shadow); }
.coin-card:has(.cc-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.cc-link:focus-visible { outline: 0; }
.coin-card.is-grad { border-color: color-mix(in srgb, var(--accent) 30%, var(--card-border)); }
.cc-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cc-id { display: grid; min-width: 0; flex: 1; gap: 2px; }
.cc-name { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-size: var(--t-base); font-weight: 600; letter-spacing: -0.015em; min-width: 0; }
.cc-name > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cc-ticker { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); font-weight: 600; }
.cc-cap { display: grid; justify-items: end; gap: 2px; flex: none; text-align: right; }
.cc-cap b { font-size: var(--t-base); font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.cc-cap span { font-size: var(--t-xs); color: var(--muted); white-space: nowrap; }
.cc-desc { color: var(--muted); font-size: var(--t-sm); line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.cc-foot > span:first-child { overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: 4px; }
.cc-foot b { color: var(--text-2); font-weight: 600; }
.cc-vol24 { display: inline-flex; align-items: center; gap: 2px; color: var(--yes); font-weight: 600; }
.cc-vol24 .ic { width: 12px; height: 12px; }

/* contract address + copy (cards, coin header) */
.ca { display: inline-flex; align-items: center; gap: 4px; min-width: 0; color: var(--text-2); }
.ca .mono { font-size: 11.5px; }
.ca-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); }
.ca .icon-btn.sm { width: 24px; height: 24px; min-width: 0; min-height: 0; color: var(--muted); }
.ca .icon-btn.sm:hover { color: var(--accent-ink); }
.coin-meta .ca .mono { font-size: 12.5px; }
.coin-meta .ca .icon-btn.sm { width: 26px; height: 26px; }

/* "Backed by" market chip */
.market-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0; height: 26px; padding: 0 10px 0 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.market-chip .mc-label { color: var(--muted); }
.market-chip .mc-q { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mc-side, .mc-yes, .mc-no { font-weight: 700; font-size: 11px; letter-spacing: 0.02em; }
.mc-yes, .mc-side.mc-yes { color: var(--yes); }
.mc-no, .mc-side.mc-no { color: var(--no); }
a.market-chip:hover { border-color: var(--border-strong); color: var(--text); background: var(--surface); }
.coin-market { margin-top: 4px; min-width: 0; }
.coin-market .market-chip { height: 30px; font-size: var(--t-sm); padding: 0 12px 0 10px; }
.coin-market .mc-side { font-size: 12px; }
.market-chip.mk-form { height: auto; min-height: 40px; padding: 6px 6px 6px 14px; white-space: normal; font-size: var(--t-sm); background: var(--surface); border-color: var(--border-strong); align-self: start; border-radius: 14px; }
.market-chip.mk-form .mc-side { font-size: 12.5px; flex: none; }
.market-chip.mk-form .mc-q { white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }
.market-chip.mk-form .mc-sep { color: var(--muted); flex: none; }
.mc-x { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--muted); flex: none; }
.mc-x:hover { background: var(--surface-2); color: var(--no); }
.cc-sub { display: flex; align-items: center; gap: 6px; min-width: 0; }
.cc-sub .tag { height: 18px; font-size: 10.5px; padding: 0 6px; }

.pf-item { display: grid; gap: 4px; }
.pf-bal { font-size: var(--t-sm); color: var(--text-2); display: flex; align-items: center; gap: 6px; padding: 0 4px; }

/* ---------- market picker ---------- */
.launch-market .field-label label { cursor: default; }
.mk-sum { overflow: hidden; text-overflow: ellipsis; max-width: 60%; min-width: 0; flex: 0 1 auto; }
.modal.modal-picker { display: flex; flex-direction: column; padding: var(--s4) var(--s4) var(--s3); }
.modal.modal-picker .modal-body { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.modal.modal-picker .modal-title { font-size: var(--t-md); margin-bottom: var(--s2); }
.mk-search { height: 42px; flex: none; }
.mk-search .spinner { color: var(--muted); }
.mk-body { margin-top: var(--s2); min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain; margin-inline: calc(-1 * var(--s2)); padding-inline: var(--s2); }
.mk-list { list-style: none; margin: 0; padding: 0; display: grid; }
.mk-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px var(--s2); border-radius: var(--r-sm); text-align: left; color: inherit; border-bottom: 1px solid var(--border); transition: background-color 0.12s; }
.mk-row:hover, .mk-row:focus-visible { background: var(--surface-2); outline: 0; }
.mk-row:active { background: var(--surface-3); }
.mk-row > .ic { color: var(--muted); flex: none; }
.mk-img { width: 36px; height: 36px; border-radius: 9px; overflow: hidden; flex: none; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); }
.mk-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-main { display: grid; gap: 3px; min-width: 0; flex: 1; }
.mk-main .mk-q { font-size: var(--t-sm); font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mk-meta { display: flex; flex-wrap: wrap; gap: 3px 10px; font-size: 11.5px; color: var(--muted); }
.mk-state { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; padding: var(--s4) var(--s2); color: var(--muted); font-size: var(--t-sm); }
.mk-picked { display: flex; gap: var(--s3); align-items: center; padding: var(--s3); border-radius: var(--r); background: var(--surface-2); font-size: var(--t-sm); line-height: 1.35; }
.mk-picked > div { display: grid; gap: 3px; min-width: 0; }
.mk-picked .mk-img { width: 44px; height: 44px; }
.mk-sides { margin-top: var(--s3); }
.mk-sides .btn span { font-weight: 500; opacity: 0.85; margin-left: 6px; }
.modal-picker .field-hint { margin-top: var(--s2); }

/* ---------- coin page ---------- */
.coin-page { display: grid; gap: var(--s4); }
.coin-head { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; }
.coin-title { min-width: 0; flex: 1; display: grid; gap: 3px; }
.coin-title h1 { font-size: var(--t-xl); display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; min-width: 0; line-height: 1.1; }
.coin-title h1 .cc-ticker { font-size: var(--t-base); }
.coin-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s3); font-size: var(--t-sm); color: var(--muted); }
.coin-meta .xlink { color: var(--text-2); }
.coin-meta .xlink:hover { color: var(--accent-ink); }
.coin-desc { color: var(--text-2); font-size: var(--t-sm); overflow-wrap: anywhere; max-width: 80ch; }
.coin-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s4); align-items: start; }
.coin-main { display: grid; gap: var(--s4); min-width: 0; }
.coin-side { display: grid; gap: var(--s3); position: sticky; top: calc(var(--header-h) + var(--banner-h) + var(--s3)); }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; overflow: hidden; }
.stat { display: grid; gap: 3px; padding: 12px 16px; min-width: 0; border-left: 1px solid var(--border); align-content: start; }
.stat:first-child { border-left: 0; }
.stat-label { color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.stat b { font-size: var(--t-lg); font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.stat-hint { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat .rbar { margin-top: 3px; }
.stat .rbar-label { font-size: 11.5px; white-space: normal; flex-wrap: wrap; row-gap: 0; }

.chart-card { padding: var(--s3) var(--s4) var(--s4); }
.chart { position: relative; user-select: none; }
.chart-svg { display: block; overflow: visible; }
.c-grid { stroke: var(--border); stroke-dasharray: 2 4; }
.c-lab { fill: var(--muted); font-size: 11px; }
.c-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.c-cursor { stroke: var(--muted); stroke-width: 1; opacity: 0; }
.c-dot { opacity: 0; stroke: var(--bg); stroke-width: 2; }
.chart.hovering .c-cursor, .chart.hovering .c-dot { opacity: 1; }
.chart-tip { position: absolute; pointer-events: none; z-index: 5; min-width: 140px; padding: 6px 10px; border-radius: var(--r-sm); background: var(--text); color: var(--bg); box-shadow: var(--shadow); font-size: 12px; }
.tip-time { opacity: 0.7; margin-bottom: 2px; }
.tip-row { display: flex; align-items: center; gap: 6px; }
.tip-row span { flex: 1; }
.tip-row .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.chart-empty { display: flex; align-items: center; justify-content: center; color: var(--muted); border: 1px dashed var(--border-strong); border-radius: var(--r-sm); font-size: var(--t-sm); }

.trades-card { padding: var(--s2) var(--s4) var(--s3); }
.trades-card .section-head { padding-top: var(--s1); }
.trades-card .section-head h2 { display: inline-flex; align-items: center; gap: 8px; }
.trades { list-style: none; margin: 0; padding: 0; }
.trow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: var(--s2) 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: var(--t-sm); transition: background-color 0.12s; }
.trow:last-child { border-bottom: 0; }
.trow:hover { background: var(--surface-2); border-radius: var(--r-sm); padding-inline: var(--s2); margin-inline: calc(-1 * var(--s2)); }
.trow:first-child { animation: row-in 0.35s var(--ease-out); }
@keyframes row-in { from { opacity: 0.2; transform: translateY(-4px); } }
.trade-side { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 22px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--yes-bg); color: var(--yes); }
.trow.sell .trade-side { background: var(--no-bg); color: var(--no); }
.trade-text { color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 399px) { .trade-text { white-space: normal; } }
.trade-text b { color: var(--text); }
.trade-who { color: var(--muted); font-size: 12px; }
.trade-who b { color: var(--accent-ink); }
.trade-time { color: var(--muted); font-size: 12px; text-align: right; min-width: 52px; }
.trow.mine { background: var(--accent-soft); border-radius: var(--r-sm); padding-inline: var(--s2); margin-inline: calc(-1 * var(--s2)); }
.trades-card .more { margin-top: var(--s2); }

/* details disclosure (addresses, mechanics) */
.details { padding: 0; }
.details summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: 12px var(--s4); font-weight: 600; font-size: var(--t-sm); color: var(--text-2); border-radius: inherit; }
.details summary:hover { color: var(--text); }
.details summary .ic { transition: transform 0.15s; color: var(--muted); }
.details[open] summary .ic { transform: rotate(90deg); }
.details-body { padding: 0 var(--s4) var(--s3); display: grid; gap: var(--s2); font-size: var(--t-sm); color: var(--text-2); }
.addr-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.addr-row > span:first-child { color: var(--muted); }
.addr-row .xlink { font-family: var(--mono); font-size: 12px; }
.addr-row .icon-btn.sm { color: var(--muted); }
.details-body p { line-height: 1.45; }
.details-body p a { color: var(--accent-ink); font-weight: 600; }

/* trade panel */
.trade { display: grid; gap: var(--s3); padding: var(--s4); border-radius: var(--r-lg); }
.trade > *, .t-field > *, .t-body > * { min-width: 0; }
.t-body { display: grid; gap: var(--s3); }
.t-venue { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); font-size: 12px; color: var(--muted); }
.t-field { display: grid; gap: 8px; }
.t-label { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); font-size: var(--t-sm); color: var(--muted); }
.t-label b { color: var(--text-2); font-weight: 600; }
.t-have { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 6px; padding: 0 3px; }
.t-have button { color: var(--accent-ink); font-weight: 600; }
.t-quick { display: flex; gap: 6px; }
.t-quick .chip { flex: 1; height: 34px; }
.t-settings { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.t-settings > span { margin-right: auto; }
.t-summary { display: grid; gap: 6px; padding-top: var(--s3); border-top: 1px solid var(--border); font-size: var(--t-sm); }
.t-row { display: flex; justify-content: space-between; gap: var(--s2); color: var(--muted); }
.t-row b { color: var(--text-2); font-weight: 600; white-space: nowrap; }
.t-row.win { color: var(--text-2); font-size: var(--t-sm); align-items: baseline; }
.t-row.win b { color: var(--text); font-size: var(--t-md); font-family: var(--display); letter-spacing: -0.01em; font-weight: 700; }
.t-empty { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: var(--t-sm); min-height: 22px; }
.t-error { display: flex; gap: 6px; align-items: flex-start; color: var(--no); font-size: var(--t-sm); line-height: 1.4; padding: 8px 10px; border-radius: var(--r-sm); background: var(--no-bg); }
.t-error span { color: var(--text-2); }
.t-cta { display: grid; gap: var(--s2); }
.t-pop { position: absolute; left: 50%; top: -6px; transform: translate(-50%, 0); padding: 6px 12px; border-radius: 999px; background: var(--buy); color: #fff; font-weight: 700; font-size: var(--t-sm); white-space: nowrap; pointer-events: none; box-shadow: var(--lift); animation: pop-up 1.6s var(--ease-out) forwards; z-index: 3; }
.t-pop.sell { background: var(--text); color: var(--bg); }
@keyframes pop-up { 0% { opacity: 0; transform: translate(-50%, 8px) scale(0.9); } 15% { opacity: 1; transform: translate(-50%, -8px) scale(1); } 75% { opacity: 1; transform: translate(-50%, -26px); } 100% { opacity: 0; transform: translate(-50%, -40px); } }

/* mobile Buy / Sell bar: body.trade-bar-shown while the panel's CTA is off screen (coin.js watchPanel) */
.trade-bar { display: none; }

/* ---------- launch ---------- */
.launch { display: grid; gap: var(--s4); }
.launch-head { display: grid; gap: 4px; }
.launch-head p { color: var(--muted); font-size: var(--t-base); }
.launch-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s6); align-items: start; }
.launch-form { display: grid; gap: var(--s4); }
.launch-form .row-2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s3); }
.launch-links summary { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--t-sm); color: var(--accent-ink); }
.launch-links summary .ic { transition: transform 0.15s; }
.launch-links[open] summary .ic { transform: rotate(90deg); }
.launch-links .row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s3); }
.target-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-target input { width: 64px; }
.launch-market > div:not(.field-label) { min-width: 0; }
.dev-quote { display: grid; gap: 6px; padding: var(--s3); border-radius: var(--r-sm); background: var(--surface-2); font-size: var(--t-sm); }
.dev-quote:empty { display: none; }
.dev-quote .t-row b { color: var(--text); }
.launch-side { min-width: 0; position: sticky; top: calc(var(--header-h) + var(--banner-h) + var(--s3)); display: grid; gap: var(--s3); }
.launch-side .coin-card { cursor: default; }
.launch-side .coin-card:hover { transform: none; box-shadow: var(--card-shadow); border-color: var(--card-border); }
.launch-summary { display: grid; gap: 7px; padding: var(--s4); border-radius: var(--r-lg); min-width: 0; }
.launch-summary > * { min-width: 0; }
.launch-summary h3 { font-size: var(--t-md); margin-bottom: 2px; }
.launch-summary .t-row.win { padding-top: 8px; border-top: 1px solid var(--border); }
.launch-summary .t-row i { font-style: normal; color: var(--muted); font-weight: 500; font-size: var(--t-xs); }
.launch-summary .btn { margin-top: var(--s2); }
.wyg { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 5px; font-size: var(--t-sm); color: var(--text-2); }
.wyg li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.wyg .ic { color: var(--yes); margin-top: 3px; }
.preview-label { font-size: var(--t-xs); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; display: flex; justify-content: space-between; }
.preview-label span { text-transform: none; letter-spacing: 0; font-weight: 500; }

/* image dropzone */
.dropzone { position: relative; display: flex; align-items: center; gap: var(--s3); min-height: 64px; padding: var(--s2) var(--s3); border-radius: var(--r-sm); border: 1.5px dashed var(--border-strong); background: var(--surface-2); cursor: pointer; flex-wrap: wrap; transition: border-color 0.15s, background-color 0.15s; }
.dropzone:hover, .dropzone:focus-visible { border-color: var(--accent); outline: 0; }
.dropzone.is-over { border-color: var(--accent); background: var(--accent-soft); border-style: solid; }
.dropzone.is-loading { opacity: 0.6; pointer-events: none; }
.dropzone.has-error { border-color: var(--no); }
.dz-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-3); color: var(--text-2); flex: none; }
.dz-text { display: grid; gap: 1px; min-width: 0; flex: 1; }
.dz-text b { color: var(--text); font-size: var(--t-sm); }
.dz-text span { color: var(--muted); font-size: 12px; }
.dz-preview { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--accent); }
.dz-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dz-remove { color: var(--no); }
.dz-error { flex-basis: 100%; color: var(--no); font-size: 12px; }

/* ---------- portfolio ---------- */
.portfolio { display: grid; gap: var(--s6); }
.portfolio .section-head { margin-bottom: var(--s2); }

/* ---------- how it works ---------- */
.how { max-width: 720px; margin: 0 auto; display: grid; gap: var(--s6); }
.how .lede { font-size: var(--t-md); color: var(--text-2); line-height: 1.5; }
.how-steps { display: grid; gap: var(--s4); }
.how-step { display: flex; gap: var(--s3); align-items: flex-start; }
.how-step h2 { font-size: var(--t-md); margin-bottom: 3px; }
.how-step p { color: var(--text-2); line-height: 1.5; font-size: var(--t-base); }
.how-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 700; font-family: var(--display); font-size: var(--t-sm); }
.how-facts h2 { font-size: var(--t-md); margin-bottom: var(--s2); }
.facts-list { margin: 0; display: grid; gap: 6px; }
.facts-list div { display: grid; grid-template-columns: 170px 1fr; gap: var(--s2); font-size: var(--t-sm); }
.facts-list dt { color: var(--muted); }
.facts-list dd { margin: 0; }
.how-risk h2 { font-size: var(--t-md); margin-bottom: 4px; }
.how-risk p { line-height: 1.5; }
.how-cta { display: flex; gap: var(--s2); flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .coin-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .coin-layout { grid-template-columns: minmax(0, 1fr) 330px; }
  .launch-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s4); }
}
@media (max-width: 899px) {
  .coin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coin-layout { grid-template-columns: 1fr; }
  .coin-side { position: static; }
  .coin-main { display: contents; }
  .coin-layout > .coin-side { order: 2; }
  .coin-layout > .coin-main > .stat-grid { order: 1; }
  .coin-layout > .coin-main > .chart-card { order: 3; }
  .coin-layout > .coin-main > .trades-card { order: 4; }
  .coin-side .trade { scroll-margin-top: calc(var(--header-h) + var(--banner-h) + var(--s3)); }
  .launch-grid { grid-template-columns: 1fr; }
  .launch-side { position: static; }
  #launch-preview { display: none; }
  body.trade-bar-shown .trade-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s2);
    padding: var(--s2) var(--s4) calc(var(--s2) + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--hairline); background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
    animation: bar-in 0.2s var(--ease-out);
  }
  @keyframes bar-in { from { transform: translateY(100%); } }
  body.trade-bar-shown .trade-bar .btn { height: 48px; }
  body[data-screen='coin'].trade-bar-shown { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  body[data-screen='coin'].trade-bar-shown .toasts { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 599px) {
  #modal-root:has(.modal-picker) { padding: 0; align-items: end; }
  .modal.modal-picker { width: 100%; max-height: 88vh; max-height: 88dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: calc(var(--s3) + env(safe-area-inset-bottom, 0px)); animation: sheet-in 0.22s var(--ease-out); }
  @keyframes sheet-in { from { transform: translateY(24px); opacity: 0.6; } }
  .mk-sum { max-width: 55%; }
  .mc-x { width: 40px; height: 40px; }
  .coin-grid { grid-template-columns: 1fr; }
  .coin-card { gap: 8px; }
  .hero { padding: var(--s2) 0 var(--s4); gap: var(--s3); }
  .hero-title { font-size: var(--t-xl); }
  .hero-sub { font-size: var(--t-base); }
  .hero-side { width: 100%; display: grid; gap: var(--s3); }
  .hi-stats { font-size: 12px; gap: var(--s2); }
  .hi-stats b { font-size: var(--t-sm); }
  .hero-side .btn { justify-self: start; }
  .coins-toolbar { margin-bottom: var(--s2); }
  .coins-toolbar .search { width: 100%; }
  .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .stat b { font-size: var(--t-md); }
  .trow { grid-template-columns: auto minmax(0, 1fr) auto; }
  .trade-who, .trade-price { display: none; }
  .launch-form .row-2, .launch-links .row-3 { grid-template-columns: 1fr; }
  .facts-list div { grid-template-columns: 1fr; gap: 1px; }
  .coin-title h1 { font-size: var(--t-lg); }
  .coin-page, .coin-main { gap: var(--s3); }
}
