/* ===============================================================
   EVM.family — site layout
   Top bar · home bento · board · how/why · leaderboard · points ·
   create · token · docs · responsive
   =============================================================== */

.wrap { max-width: 1408px; margin: 0 auto; padding-inline: clamp(16px, 6vw, 96px); }
.page { padding-block: clamp(18px, 3vw, 44px) 40px; }
.stack > * + * { margin-top: 18px; }

/* ---------- top bar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.bar { display: flex; align-items: center; gap: 14px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; color: var(--ink); }
.mark { width: 36px; height: 36px; border-radius: 10px; flex: none; color: inherit; }
.mark--lg { width: 46px; height: 46px; border-radius: 14px; }
.wm { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.wm em { font-style: normal; color: var(--ink-2-ground); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: 10px; }
.nav .chip { background: transparent; border-color: transparent; color: var(--ink-2-ground); }
.nav .chip:hover { background: var(--surface); color: var(--ink); }
.nav .chip.active { background: var(--invert-bg); color: var(--invert-ink); }
.bar-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.wallet-wrap { position: relative; }
.wallet-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 8px; border-radius: var(--r-full); background: var(--surface); color: var(--ink); font-size: 12.5px; font-weight: 500; }
.wallet-btn .av { --size: 26px; }
.wallet-btn .wb-bal { font-weight: 600; padding-right: 8px; margin-right: 2px; border-right: 1px solid var(--line); }
.wallet-btn .wb-bal:empty { display: none; }
.wallet-btn svg { width: 12px; height: 12px; color: var(--mark); }
.menu-btn { display: none; }

.dd { position: relative; }
.dd-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 70;
  min-width: 230px; padding: 8px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--sh-4);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s, transform .18s var(--e-out), visibility .18s;
}
.dd.open .dd-menu, .open > .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a, .dd-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 500; text-align: left; color: var(--ink); }
.dd-menu a > svg, .dd-menu button > svg { width: 16px; height: 16px; flex: none; }
.dd-menu a small { display: block; font-size: 12px; color: var(--ink-2); font-weight: 400; margin-top: 1px; }
.dd-menu a:hover, .dd-menu button:hover, .dd-menu .on { background: var(--surface-2); }
#paletteMenu { min-width: 250px; }
#paletteMenu button.on::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.dd-menu .menu-head { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.dd-menu .danger { color: var(--bad-fg); }

.sheet { display: none; }

/* ---------- bento ---------- */

.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(48px, auto); gap: 18px; }
.band + .band { margin-top: 18px; }
.bento > .card { min-width: 0; }

/* who row inside lime cards */
.who-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.who b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.018em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who em { display: block; font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--accent-contrast-2); }
.who .art { width: 46px; height: 46px; }
.tools { display: flex; gap: 8px; flex: none; }
.industry { margin-top: 8px; font-size: 13.5px; font-weight: 500; color: var(--accent-contrast-2); }
.industry b { font-weight: 600; color: var(--accent-contrast); }
.prog { margin-top: auto; padding-top: 22px; }
.prog-foot { display: flex; justify-content: space-between; margin-top: 9px; font-size: 13px; font-weight: 500; color: var(--accent-contrast-2); }
.prog-foot b { font-weight: 600; color: var(--accent-contrast); }
.foot-row { display: flex; align-items: center; gap: 12px; margin-top: 20px; }

/* 1 · hero (lime) */
.hero { grid-column: 1 / span 5; grid-row: 1 / span 6; display: flex; flex-direction: column; padding: 24px 26px 26px; }
.hero .h-lime { margin-top: 26px; }
.hero .send svg { width: 20px; height: 20px; }

/* 2 · chain strip (paper) */
.strip-card { grid-column: 6 / span 7; grid-row: 1 / span 6; display: flex; flex-direction: column; padding: 24px 26px 26px; }
.strip-card .subline { margin-top: 14px; }
.strip { display: flex; gap: 12px; margin-top: auto; padding-top: 22px; }
.strip__item {
  position: relative; flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  height: 112px; border-radius: var(--r-full); background: var(--surface); color: var(--ink);
  animation: stripIn var(--t-slow) var(--e-out) backwards; animation-delay: calc(var(--i) * 55ms + 140ms);
  transition: background var(--t-base) var(--e-smooth), color var(--t-base) var(--e-smooth);
}
/* The resting state is visible; the animation only supplies the entrance. */
@keyframes stripIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.strip__item .cb { --size: 38px; margin-bottom: 4px; }
/* home strip: logo-only pills, the price underneath */
.strip-card .strip__item .cb { --size: 56px; margin-bottom: 6px; }
.strip-card .strip__item i { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.strip-card .strip__item[data-active="true"] i { color: var(--accent-contrast); }
.strip__item b { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.028em; line-height: 1; }
.strip__item i { font-style: normal; font-size: 11.5px; color: var(--ink-2); font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.strip__item:hover { background: var(--surface-2); }
.strip__item[data-active="true"] { background: var(--accent-300); color: var(--accent-contrast); }
.strip__item[data-active="true"] i { color: var(--accent-contrast-2); }
.legend { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--ink-2); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.legend-swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--accent-300); flex: none; }
.strip-card .strip { padding-bottom: 2px; }

/* 3 · favorites (white roadmap) */
.favs { grid-column: 1 / span 5; grid-row: 1 / span 6; display: flex; flex-direction: column; padding: 24px 26px 22px; }
.favs .road__bar { --min: 300px; }
.favs .road__tick { display: none; }
.road { flex: 1; display: flex; flex-direction: column; min-height: 0; margin-top: 18px; }
.road__body { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 8px; min-height: 0; }
.road__hatch { position: absolute; top: 0; bottom: 0; left: 62%; right: 6%; border-radius: 8px; background: repeating-linear-gradient(-45deg, var(--surface-2) 0 5px, transparent 5px 10px); }
.road__hatch--full { left: 0; right: 0; }
.road__now { position: absolute; top: -4px; bottom: 0; left: var(--x, 68%); width: 1.5px; background: var(--deep); z-index: 1; }
.road__now i { position: absolute; top: -4px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--deep); }
.road__now em { position: absolute; top: -22px; left: 50%; translate: -50% 0; font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.road__row { position: relative; z-index: 2; height: 44px; }
.road__bar {
  position: absolute; top: 0; left: var(--s, 0);
  display: flex; align-items: center; gap: 8px;
  width: 0; height: 44px; padding: 0 6px 0 14px;
  border-radius: var(--r-full); background: var(--surface-2); color: var(--ink);
  white-space: nowrap; overflow: hidden;
  transition: width var(--t-draw) var(--e-out), left var(--t-draw) var(--e-out), transform var(--t-base) var(--e-out), filter var(--t-base) var(--e-smooth), background var(--t-base) var(--e-smooth);
  transition-delay: calc(var(--i, 0) * 110ms), calc(var(--i, 0) * 110ms), 0ms, 0ms, 0ms;
}
.road__bar[data-in="true"], .road[data-in="true"] .road__bar { width: var(--w); }
.road__bar:hover, .road__bar[data-hot="true"] { transform: translateY(-2px); filter: brightness(1.04); }
.road__bar[data-k="lime"] { background: var(--accent-300); color: var(--accent-contrast); }
.road__bar[data-k="deep"] { background: var(--invert-bg); color: var(--invert-ink); }
.road__bar .art { width: 24px; height: 24px; }
.road__bar .cb { --size: 24px; }
.road__rank { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--ink-3); min-width: 14px; }
.road__bar[data-k="lime"] .road__rank { color: var(--accent-contrast-2); }
.road__name { font-size: 13px; font-weight: 500; max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
.road__tick { font-size: 12px; color: var(--ink-3); }
.road__bar[data-k="lime"] .road__tick { color: var(--accent-contrast-2); }
.road__pct { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.road__bar[data-k="lime"] .road__pct { color: var(--accent-contrast); }
.road__who { display: flex; flex: 0 0 auto; margin-left: 4px; }
.road__who .cb-stack .cb, .road__who .cb-stack .cb-more { box-shadow: 0 0 0 2px var(--surface); }
.road__bar[data-k="lime"] .road__who .cb-stack .cb, .road__bar[data-k="lime"] .road__who .cb-stack .cb-more { box-shadow: 0 0 0 2px var(--accent-300); }
.road__axis { display: flex; align-items: center; flex: 0 0 auto; padding-top: 14px; gap: 6px; }
.road__axis span { flex: 1; text-align: center; font-size: 12px; color: var(--ink-3); font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.road__axis span[data-on="true"] { font-weight: 700; color: var(--ink); }
.road__pager { display: flex; gap: 6px; margin-left: auto; }
.road__pager .round { background: var(--surface-2); }
.road__empty { position: relative; z-index: 2; padding: 30px 0; text-align: center; color: var(--ink-3); font-size: 13px; }

/* 4 · date tile */
.tile-date { display: flex; align-items: center; gap: 14px; padding: 0 22px; min-height: 114px; }
.tile-date > span { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.026em; line-height: 1.2; min-width: 0; }
.tile-date > span i { display: block; font-style: normal; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-date > span small { display: block; font-family: var(--font-ui); font-size: 12px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-top: 2px; }
.newborn { grid-column: 6 / span 3; grid-row: 1 / span 2; }
.newborn .art { width: 54px; height: 54px; }

/* 5 · olive tile */
.tile-olive { display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 8px 14px; padding: 22px 24px; }
.tile-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--olive-soft); }
.tile-ico svg { width: 19px; height: 19px; }
.tile-label { align-self: center; font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--olive-ink-2); }
.tile-fig { grid-column: 1 / -1; margin-top: auto; padding-top: 12px; font-family: var(--font-display); font-size: 46px; font-weight: 600; letter-spacing: -.044em; line-height: 1; }
.tile-fig em { font-style: normal; font-size: .52em; margin-left: 4px; }
.tile-fig small { font-family: var(--font-display); font-size: .52em; }
.fees { grid-column: 9 / span 4; grid-row: 1 / span 3; }
.tile-olive .kv { grid-column: 1 / -1; }

/* 6 · family pulse (deep — the inversion) */
.pulse { grid-column: 6 / span 3; grid-row: 3 / span 4; display: flex; flex-direction: column; padding: 20px 22px 0; overflow: hidden; }
.pulse header { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.pulse header b { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.028em; }
.pulse-feed { display: grid; gap: 7px; margin-top: 16px; }
.pulse-item { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; color: var(--invert-ink-2); white-space: nowrap; overflow: hidden; }
.pulse-item > * { flex: none; }
.pulse-item .pulse-fill { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pulse-item .cb { --size: 16px; }
.pulse-item .art { width: 16px; height: 16px; }
.pulse-item b { color: var(--invert-ink); font-weight: 600; }
.pulse-item:first-child { height: 34px; padding: 0 12px 0 8px; border-radius: var(--r-full); background: var(--surface); color: var(--deep); font-size: 13px; font-weight: 600; }
.pulse-item:first-child b { color: var(--deep); }
.pulse-item:first-child .pk { color: var(--ink-2); font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.pulse-item .pk { font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pulse .spark { width: calc(100% + 44px); margin: auto -22px 0; height: 80px; }

/* 7 · sphere tile (lime) */
.tile-sphere { position: relative; display: flex; align-items: flex-end; padding: 20px 22px; min-height: 160px; overflow: hidden; }
.sphere {
  position: absolute; right: -30px; bottom: -70px; width: 260px; height: 260px; border-radius: 50%;
  background: var(--sphere); box-shadow: inset -18px -22px 52px rgba(90, 52, 32, .45);
  transition: transform var(--t-slow) var(--e-out);
}
.tile-sphere:hover .sphere { transform: scale(1.06) translateY(-6px); }
.tile-sphere .go { position: absolute; top: 20px; left: 22px; z-index: 1; }
.tile-sphere > b { position: relative; z-index: 1; font-family: var(--font-display); font-size: 20px; font-weight: 500; line-height: 1.2; letter-spacing: -.028em; max-width: 60%; }
.tile-sphere > b span { font-weight: 700; }
.cta { grid-column: 9 / span 4; grid-row: 4 / span 3; }

/* sparkline / wave */
.spark { display: block; }
.spark__f { opacity: 0; transition: opacity var(--t-slow) var(--e-smooth) 260ms; }
.spark__l { fill: none; stroke: var(--wave); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 620; stroke-dashoffset: 620; transition: stroke-dashoffset var(--t-draw) var(--e-out); }
.spark[data-in="true"] .spark__f { opacity: 1; }
.spark[data-in="true"] .spark__l { stroke-dashoffset: 0; }
.mini-spark { width: 96px; height: 28px; }

.card-body { padding: 24px 26px 26px; }

/* ---------- the board ---------- */
.board-card { margin-top: 18px; padding: 18px 18px 22px; scroll-margin-top: 76px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.search { position: relative; flex: 1 1 320px; min-width: 220px; }
.search .input { padding-left: 46px; padding-right: 46px; }
.search svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--mark); }
.search .kbd { position: absolute; right: 16px; top: 50%; translate: 0 -50%; }
.tool-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.viewseg { display: flex; gap: 6px; }
.viewseg .round { background: var(--surface-2); }
.viewseg .round.on { background: var(--invert-bg); color: var(--invert-ink); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tabs .ui-label { margin-left: auto; align-self: center; white-space: nowrap; }
.board { margin-top: 14px; }
.row {
  display: grid; align-items: center; gap: 14px;
  grid-template-columns: 24px minmax(220px, 2.2fr) minmax(180px, 1.2fr) 96px 84px minmax(90px, .9fr) 108px;
  min-height: 56px; padding: 6px 12px; border-radius: var(--r-lg);
  transition: background var(--t-fast) var(--e-smooth);
}
.row:hover { background: var(--surface-2); }
.num { text-align: right; }
.c-rank { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--ink-3); text-align: right; }
.c-token { display: flex; align-items: center; gap: 12px; min-width: 0; }
.c-token .art { width: 32px; height: 32px; }
.tk-meta { display: grid; gap: 3px; min-width: 0; }
.tk-name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-tick { font-size: 11.5px; font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.tk-sub { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); white-space: nowrap; min-width: 0; overflow: hidden; }
.tk-sub > * { flex: none; }
.tk-sub .mono { overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; min-width: 0; }
.tk-sub .av { --size: 18px; }
.c-chains { display: flex; align-items: center; gap: 10px; }
.c-chains .cb { --size: 24px; }
.c-chains .cb-more { --size: 24px; }
.c-chains .spread { font-size: 11.5px; color: var(--ink-2); white-space: nowrap; }
.c-chg, .c-cap { font-family: var(--font-display); text-align: right; }
.c-cap { font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.c-status { display: flex; justify-content: flex-end; }
.board.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.gcard { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-xl); background: var(--surface-2); transition: transform var(--t-base) var(--e-out), box-shadow var(--t-base); }
.gcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.gcard-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.gcard-top .art { width: 44px; height: 44px; }
.gcard .desc { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gcard .mini-spark { width: 100%; height: 36px; }
.gcard-bot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gcard-bot b { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.empty { padding: 48px 20px; text-align: center; color: var(--ink-2); font-size: 13.5px; }
.empty b { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.03em; color: var(--ink); margin-bottom: 6px; }
.more-row { display: flex; justify-content: center; margin-top: 16px; }

/* ---------- how it works ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.how-tile { display: flex; align-items: flex-start; gap: 16px; padding: 22px; }
.how-tile h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.026em; line-height: 1.2; }
.how-tile p { margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.how-lead { padding: 24px 26px 26px; }
.sync-row { display: flex; align-items: center; gap: 22px; margin-top: 22px; }
.sync-row .cb-stack .cb { --size: 32px; box-shadow: 0 0 0 3px var(--paper); }
.sync-row p { flex: 1; font-size: 13.5px; color: var(--ink-2); }
.sync-row p b { color: var(--ink); font-weight: 600; }
.how-lead + .tiles { margin-top: 18px; }
.why-tile .ui-eyebrow { display: block; margin-bottom: 10px; color: var(--olive-ink-2); }

/* ---------- why ---------- */
.why-tile { padding: 22px 24px; min-height: 180px; display: flex; flex-direction: column; }
.why-tile .tile-fig { grid-column: auto; margin-top: 0; padding-top: 0; font-size: 46px; line-height: 1; color: var(--ink); }
.why-tile h4 { margin-top: auto; padding-top: 18px; font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.026em; line-height: 1.2; }
.why-tile p { margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.card--olive.why-tile p { color: var(--olive-ink-2); }
.card--olive.why-tile .tile-fig { color: var(--olive-ink); }

/* ---------- leaderboard ---------- */
.earners { padding: 24px 26px 22px; display: flex; flex-direction: column; }
.earners .road { min-height: 300px; }
.earners .road__bar { --min: 400px; }
.earners .road__bar .road__name { max-width: 160px; }
.earners .road__bar .av { --size: 24px; }
.earners .road__addr { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); }
.earners .road__bar[data-k="lime"] .road__addr { color: var(--accent-contrast-2); }

/* ---------- points (paper + strip) ---------- */
.points { padding: 24px 26px 26px; display: flex; flex-direction: column; }
.points .strip { margin-top: 24px; padding-top: 0; }
.points .strip__item i { font-size: 11.5px; }

/* ---------- closer (olive) ---------- */
.closer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 40px 44px; overflow: hidden; }
.closer h2 { font-family: var(--font-display); font-size: 42px; font-weight: 600; letter-spacing: -.042em; line-height: 1.02; }
.closer p { margin-top: 10px; font-size: 14px; color: var(--olive-ink-2); }
.closer .faces { display: flex; margin-top: 18px; }
.closer .faces .art { width: 46px; height: 46px; border: 3px solid transparent; box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }
.closer .faces .art + .art { margin-left: -12px; }
.closer .select { flex: none; height: 52px; background: var(--surface); color: var(--ink); border-color: transparent; padding: 0 22px; }
.closer .select:hover { background: var(--surface); }

/* ---------- footer ---------- */
.foot { padding: 30px 0 34px; }
.foot-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px; }
.foot-legal { margin-top: 18px; font-size: 12.5px; font-weight: 500; color: var(--ink-2-ground); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- create ---------- */
.create { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; align-items: start; }
.create-form { grid-column: 1 / span 7; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.create-side { grid-column: 8 / span 5; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; position: sticky; top: 82px; min-width: 0; }
.create-form > *, .create-side > * { min-width: 0; }
.strip { min-width: 0; }
.create-head { display: flex; flex-direction: column; padding: 24px 26px 26px; }
.create-head .h-lime { margin-top: 24px; }
.create-head .who .art { border-radius: 14px; }
.fsec { padding: 24px 26px 26px; }
.fsec .card-head { margin-bottom: 18px; }
.fsec .card-head .ui-label { padding-top: 10px; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fgrid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label, .lbl { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding-left: 18px; }
.with-pre { position: relative; }
.with-pre .pre { position: absolute; left: 18px; top: 50%; translate: 0 -50%; font-family: var(--font-display); font-weight: 600; color: var(--ink-3); }
.with-pre .input { padding-left: 32px; }
.with-pre.wide .input { padding-left: 58px; }
.logo-row { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: var(--r-xl); background: var(--surface-2); }
.logo-row .art { width: 72px; height: 72px; border-radius: 20px; }
.logo-row .hint { font-size: 12px; color: var(--ink-2); margin-top: 8px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.strip--pick .strip__item { background: transparent; border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.strip--pick .strip__item .cb { opacity: .45; transition: opacity var(--t-base); }
.strip--pick .strip__item:has(input:checked) { background: var(--surface); border-color: transparent; }
.strip--pick .strip__item:has(input:checked) .cb { opacity: 1; }
.strip--pick .strip__item[data-pay="true"]:has(input:checked) { background: var(--accent-300); color: var(--accent-contrast); }
.strip--pick .strip__item[data-pay="true"]:has(input:checked) i { color: var(--accent-contrast-2); }
.strip--pick .strip__item input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.strip--pick .strip__item:has(input:focus-visible) { box-shadow: var(--ring); }
.fsec .note { margin-top: 14px; font-size: 12.5px; color: var(--ink-2); }
.econ-line { margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.econ-line b { color: var(--ink); font-weight: 600; }

/* certificate (paper) */
.cert { padding: 24px 26px 26px; text-align: center; }
.cert .ui-eyebrow { display: block; }
.cert-title { margin-top: 10px; font-family: var(--font-display); font-size: 36px; font-weight: 600; letter-spacing: -.04em; line-height: 1.08; }
.cert .art { width: 96px; height: 96px; margin: 20px auto 0; border-radius: 28px; box-shadow: 0 0 0 4px var(--surface); }
.cert-name { margin-top: 16px; font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -.036em; line-height: 1.05; word-break: break-word; }
.cert-name.placeholder { color: var(--ink-3); }
.cert-tick { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.cert-desc { margin: 10px auto 0; max-width: 34ch; font-size: 13px; color: var(--ink-2); min-height: 1.5em; }
.kv { display: grid; gap: 10px; }
.kv div { display: flex; justify-content: space-between; gap: 14px; font-size: 12.5px; }
.kv span { color: var(--ink-2); }
.kv b { font-weight: 600; text-align: right; }
.cert .kv { grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.cert .kv div { flex-direction: column; gap: 4px; }
.cert .kv span { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cert .kv b { text-align: left; font-family: var(--font-display); font-size: 14px; }
.cert-born { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
.cert-born .cb-stack .cb { --size: 32px; --ring-c: var(--paper); }
.cert-sign { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; text-align: left; }
.cert-sign .mono { color: var(--ink-2); }
.cert-sign .seal { display: flex; align-items: center; gap: 10px; }
.cert-sign .seal i { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* launch summary (deep — the inversion) */
.summary { padding: 20px 22px 22px; }
.summary header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.summary header b { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.028em; }
.summary .kv { margin-top: 16px; }
.summary .kv span { color: var(--invert-ink-2); }
.summary .kv b { color: var(--invert-ink); word-break: break-all; }
.summary .kv a { color: var(--wave); }
.launch-btn { width: 100%; height: 52px; margin-top: 18px; border-radius: var(--r-full); background: var(--invert-soft); color: var(--invert-ink-2); font-size: 14px; font-weight: 600; transition: background var(--t-base) var(--e-smooth), color var(--t-base) var(--e-smooth), transform var(--t-fast) var(--e-out); }
.launch-btn.ready { background: var(--accent-300); color: var(--accent-contrast); }
.launch-btn.ready:hover { transform: translateY(-2px); }
.summary .note { margin-top: 12px; font-size: 11.5px; color: var(--invert-ink-2); text-align: center; }
.summary .note b { color: var(--invert-ink); }

/* deploy modal tracks */
.deploy .road__row { height: 44px; }
.deploy .road__body { gap: 10px; min-height: 0; }
.deploy .road__bar { padding-left: 8px; }
.deploy .road__bar .cb { --size: 28px; }
.deploy .road__status { margin-left: auto; }

/* ---------- token page ---------- */
.tgrid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: auto; gap: 18px; align-items: start; }
.tgrid > * { min-width: 0; }
.tbanner { grid-column: 1 / span 8; grid-row: 1; display: flex; flex-direction: column; padding: 24px 26px 26px; }
.tbanner .h-lime { margin-top: 22px; }
.who > span:not(.art):not(.ui-pill) { min-width: 0; }
.tbanner .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tbanner .chip { background: rgba(255, 255, 255, .5); border-color: var(--accent-line); color: var(--accent-contrast); }
.tbanner .chip:hover { background: rgba(255, 255, 255, .82); }
.tbanner .chip .cb-stack .cb { --size: 18px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .6); }
.tbanner .chip .av { --size: 18px; }
.tbanner .desc { margin-top: 12px; font-size: 13.5px; color: var(--accent-contrast-2); max-width: 60ch; }
.tbanner .prog { padding-top: 24px; }
.tradebox { grid-column: 9 / span 4; grid-row: 1 / span 3; align-self: start; padding: 18px; }
.tstats { grid-column: 1 / span 8; grid-row: 2; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 6px 0; }
.tstat { padding: 16px 20px; border-left: 1px solid var(--line); min-width: 0; }
.tstat:first-child { border-left: 0; }
.tstat b { display: block; margin-top: 8px; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.tstat .track { margin-top: 10px; height: 5px; }
.tchart { grid-column: 1 / span 8; grid-row: 3; padding: 18px 18px 10px; }
.tchart .card-head { align-items: center; flex-wrap: wrap; gap: 10px; }
.chart-wrap { position: relative; height: 320px; margin-top: 10px; }
.chart-wrap canvas { width: 100%; height: 100%; display: block; }
.chart-tip { position: absolute; pointer-events: none; padding: 8px 12px; border-radius: var(--r-full); background: var(--surface); color: var(--ink); box-shadow: var(--sh-3); font-size: 12px; font-weight: 500; white-space: nowrap; opacity: 0; transition: opacity .15s; z-index: 2; }
.chart-tip b { font-family: var(--font-display); font-weight: 600; }
.tacross { grid-column: 1 / span 8; grid-row: 4; padding: 24px 26px 22px; display: flex; flex-direction: column; }
.tacross .road { min-height: 240px; }
.tacross .road__body { padding-top: 22px; }
.tacross .road__bar { padding: 0 12px; gap: 8px; }
.tacross .road__bar .cb { --size: 24px; }
.tacross .road__price { font-family: var(--font-display); font-weight: 600; font-size: 12.5px; margin-left: 4px; }
.tacross .ui-pill { margin-left: auto; }
.tacross .xtable-wrap { margin-top: 16px; }
.tspread { grid-column: 9 / span 4; grid-row: 4; padding: 20px 22px 0; display: flex; flex-direction: column; overflow: hidden; }
.tspread header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tspread header b { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.028em; }
.tspread .eff-pill { align-self: center; margin-top: 16px; padding: 7px 16px; border-radius: var(--r-full); background: var(--surface); color: var(--deep); font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.sc-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-top: 14px; }
.sc-side { min-width: 0; }
.sc-side .ui-label { display: block; margin-bottom: 6px; color: var(--invert-ink-2); }
.sc-side b { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.sc-side .cb { --size: 26px; }
.sc-side i { display: block; font-style: normal; font-size: 11.5px; color: var(--invert-ink-2); margin-top: 3px; font-family: var(--font-display); }
.sc-side.r { text-align: right; }
.sc-side.r b { justify-content: flex-end; }
.sc-mid { color: var(--invert-ink-2); }
.sc-mid svg { width: 18px; height: 18px; }
.tspread .chips { display: flex; gap: 8px; margin-top: 14px; }
.tspread .spark { width: calc(100% + 44px); margin: auto -22px 0; padding-top: 14px; height: 86px; }
/* the right column's cards fill their grid rows, so no gap opens beside a taller card on the left */
.tspread, .tpressure, .tfees { align-self: stretch; }
/* the trade list scrolls inside its card instead of stretching the rows beside it */
.tactivity #activity { max-height: 430px; overflow: auto; }
.tactivity { grid-column: 1 / span 8; grid-row: 5 / span 2; padding: 18px 18px 8px; }
.tactivity .card-head { align-items: center; flex-wrap: wrap; gap: 10px; }
.tactivity .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tpressure { grid-column: 9 / span 4; grid-row: 5; }
.tpressure .track { flex: 1; height: 7px; margin-left: 6px; }
.tpressure > span small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tfees { grid-column: 9 / span 4; grid-row: 6; }
.tfees .kv { margin-top: 10px; }
.tfees .kv span { color: var(--olive-ink-2); }
.tfees .add { grid-column: 1 / -1; margin-top: 14px; }

/* trade box */
.bs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bs button { height: 44px; border-radius: var(--r-full); background: var(--surface); font-weight: 600; font-size: 14px; color: var(--ink-2); transition: background var(--t-base) var(--e-smooth), color var(--t-base) var(--e-smooth); }
.bs button.on[data-side="buy"] { background: var(--accent-300); color: var(--accent-contrast); }
.bs button.on[data-side="sell"] { background: var(--invert-bg); color: var(--invert-ink); }
.subtabs { display: flex; gap: 6px; margin-top: 12px; }
.amt { margin-top: 12px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); }
.amt-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.amt-top button { color: var(--ink); font-weight: 600; font-size: 12px; }
.amt-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.amt-row input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.03em; padding: 0; color: var(--ink); }
.amt-row input::placeholder { color: var(--ink-3); }
.amt-row .out { flex: 1; min-width: 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.03em; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 5px; border-radius: var(--r-full); background: var(--surface-2); font-size: 12.5px; font-weight: 600; flex: none; white-space: nowrap; }
.asset .cb { --size: 26px; }
.asset .art { width: 26px; height: 26px; }
.asset select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.asset svg { width: 12px; height: 12px; color: var(--mark); }
.quick { display: flex; gap: 6px; margin-top: 10px; }
.quick .chip { flex: 1; justify-content: center; height: 30px; padding: 0 8px; font-size: 11.5px; background: var(--surface-2); border-color: transparent; }
.swap-mid { display: flex; justify-content: center; margin: -8px 0; position: relative; z-index: 1; }
.swap-mid .round { background: var(--paper); color: var(--ink-2); box-shadow: 0 0 0 3px var(--paper); }
.tradebox .kv { margin-top: 14px; padding: 0 4px; }
.slip { display: inline-flex; align-items: center; gap: 4px; }
.slip input { width: 48px; height: 28px; text-align: right; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--surface); font-family: var(--font-display); font-size: 12.5px; font-weight: 600; padding: 0 8px; outline: none; }
.go-btn { width: 100%; height: 52px; margin-top: 14px; border-radius: var(--r-full); font-size: 14.5px; font-weight: 600; transition: transform var(--t-fast) var(--e-out); }
.go-btn:hover { transform: translateY(-2px); }
.go-btn[data-side="buy"] { background: var(--accent-300); color: var(--accent-contrast); }
.go-btn[data-side="sell"], .go-btn[data-side="bridge"] { background: var(--invert-bg); color: var(--invert-ink); }
.bridge-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: end; margin-top: 12px; }
.bridge-pair .lbl { display: block; margin-bottom: 6px; }
.bridge-pair .round { margin-bottom: 5px; background: var(--surface); }
.sheet-close { display: none; }

/* activity tables */
.xtable-wrap { overflow-x: auto; }
.xtable { width: 100%; border-collapse: collapse; font-size: 13px; }
.xtable th { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); text-align: right; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.xtable th:first-child, .xtable td:first-child { text-align: left; }
.xtable td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); text-align: right; white-space: nowrap; font-family: var(--font-display); font-weight: 500; }
.xtable tr:last-child td { border-bottom: 0; }
.xtable td:first-child { font-family: var(--font-ui); font-weight: 600; }
.xtable .cn { display: inline-flex; align-items: center; gap: 10px; }
.xtable .cn .cb { --size: 24px; }
.xtable .who { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.xtable .who .av { --size: 20px; }
.xtable .share { display: inline-block; width: 70px; height: 7px; border-radius: var(--r-full); background: var(--surface-2); vertical-align: middle; margin-right: 10px; overflow: hidden; }
.xtable .share i { display: block; height: 100%; background: var(--accent-300); border-radius: var(--r-full); }
.xtable tr.new td { animation: rowIn .9s var(--e-out); }
@keyframes rowIn { from { background: var(--ok-bg); } }
.callout { margin-top: 14px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--paper); font-size: 13px; }
.callout b { font-weight: 600; }

/* phone buy bar */
.buybar { display: none; }

/* ---------- docs ---------- */
.dgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; align-items: start; }
.toc { grid-column: 1 / span 3; position: sticky; top: 82px; padding: 12px; display: grid; gap: 4px; }
.toc .toc-title { padding: 10px 14px 8px; }
.toc .chip { justify-content: flex-start; width: 100%; height: 36px; border-color: transparent; background: transparent; }
.toc .chip:hover { background: var(--surface-2); }
.toc .chip.on { background: var(--invert-bg); color: var(--invert-ink); }
.doc { grid-column: 4 / span 9; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.doc > * { min-width: 0; }
.doc .chip { max-width: 100%; }
.doc .chip .mono { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.doc section { padding: 24px 26px 26px; scroll-margin-top: 82px; }
.doc h2 { font-family: var(--font-display); font-size: 33px; font-weight: 600; letter-spacing: -.04em; line-height: 1.08; }
.doc p, .doc li { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); margin-top: 12px; }
.doc ol { padding-left: 20px; list-style: decimal; }
.doc ol li { margin-top: 6px; padding-left: 4px; }
.doc li b, .doc p b { color: var(--ink); font-weight: 600; }
.tldr { padding: 20px 22px 22px; }
.tldr header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tldr header b { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.028em; }
.tldr .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tldr .pills span { padding: 7px 16px; border-radius: var(--r-full); background: var(--surface); color: var(--deep); font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.tldr p { margin-top: 14px; font-size: 13.5px; color: var(--invert-ink-2); }
.doc .kv { margin-top: 16px; gap: 0; }
.doc .kv div { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.doc .kv div:first-child { border-top: 0; }
.doc .kv b { font-family: var(--font-display); }
.doc .strip { margin-top: 18px; padding-top: 0; }
.doc .strip__item i { font-size: 11.5px; text-align: center; padding: 0 8px; }
.faq details { margin-top: 10px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 6px 6px 18px; border-radius: var(--r-full); background: var(--surface-2); font-weight: 600; font-size: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span:not(.round) { flex: 1; }
.faq summary .round { flex: none; background: var(--surface); transition: transform var(--t-base) var(--e-spring); }
.faq details[open] summary .round { transform: rotate(45deg); }
.faq details p { margin: 8px 0 0; padding: 14px 18px; border-radius: var(--r-lg); background: var(--paper); font-size: 13.5px; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .hero, .strip-card, .favs { grid-column: 1 / -1; grid-row: auto; }
  .newborn { grid-column: 1 / span 3; grid-row: auto; }
  .fees { grid-column: 4 / span 3; grid-row: auto; }
  .pulse { grid-column: 1 / span 3; grid-row: auto; min-height: 260px; }
  .cta { grid-column: 4 / span 3; grid-row: auto; }
  .hero { min-height: 0; }
  .strip__item { height: 96px; }
  .favs .road { min-height: 300px; }
  .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 24px minmax(200px, 2.2fr) minmax(150px, 1.2fr) 84px minmax(90px, .9fr) 100px; }
  .row .c-graph { display: none; }
  .create { grid-template-columns: minmax(0, 1fr); }
  .create-form, .create-side { grid-column: 1 / -1; }
  .create-side { position: static; order: -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tgrid > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .tradebox { position: static; }
  .tstats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tstat:nth-child(4) { border-left: 0; }
  .tstat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .tspread { grid-column: 1 / span 3 !important; }
  .tpressure { grid-column: 4 / span 3 !important; }
  .tgrid { grid-template-columns: repeat(6, 1fr); grid-auto-flow: row dense; }
  .dgrid { grid-template-columns: minmax(0, 1fr); }
  .toc { grid-column: 1 / -1; position: static; display: flex; overflow-x: auto; gap: 6px; padding: 10px; scrollbar-width: none; }
  .toc .chip { width: auto; }
  .doc { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .row { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "token chg cap"; gap: 10px; padding: 8px 10px; }
  .row .c-rank, .row .c-graph, .row .c-status, .row .c-chains { display: none; }
  .row .tk-sub .mono, .row .tk-sub .sep { display: none; }
  .c-token { grid-area: token; }
  .c-chg { grid-area: chg; }
  .c-cap { grid-area: cap; }
}

@media (max-width: 860px) {
  .nav, .bar-right .hide-sm { display: none; }
  .menu-btn { display: grid; }
  .sheet { display: grid; gap: 6px; max-height: 0; overflow: hidden; padding: 0; visibility: hidden; transition: max-height .35s var(--e-out), padding .35s var(--e-out), visibility .35s; }
  .sheet.open { max-height: 420px; padding: 6px 0 16px; visibility: visible; }
  .sheet a, .sheet button { display: flex; align-items: center; height: 52px; padding: 0 20px; border-radius: var(--r-full); background: var(--surface); font-size: 15px; font-weight: 600; }
  .sheet a.active { background: var(--invert-bg); color: var(--invert-ink); }
  .sheet .sheet-palettes { display: flex; gap: 10px; padding: 4px 8px; }
  .sheet .sheet-palettes button { width: 44px; height: 44px; padding: 0; border-radius: 50%; justify-content: center; }
  .sheet .sheet-palettes button.on { box-shadow: 0 0 0 2px var(--ink); }
}

@media (max-width: 640px) {
  :root { --r-card: 28px; }
  .bar { height: 64px; }
  .wallet-btn .wb-addr { display: none; }
  .wallet-btn { padding: 0 10px 0 8px; }
  .wallet-btn .wb-bal { padding: 0 6px 0 4px; }
  .legend { margin-left: 0; flex-basis: 100%; }
  .page { padding-block: 14px 32px; }
  .bento { gap: 12px; }
  .band + .band { margin-top: 12px; }
  .newborn, .fees, .pulse, .cta { grid-column: 1 / -1; }
  .pulse { min-height: 220px; }
  .tile-sphere { min-height: 150px; }
  .stack > * + * { margin-top: 12px; }
  .h-lime, .closer h2 { font-size: 33px; }
  .h-paper, .h-white, .cert-title, .doc h2 { font-size: 28px; }
  .card-head { flex-wrap: wrap; }
  .hero .tools { display: none; }
  .hero, .strip-card, .favs, .earners, .points, .fsec, .cert, .create-head, .tbanner, .tacross, .doc section { padding: 20px 18px 20px; }
  .strip { gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .strip::-webkit-scrollbar { display: none; }
  .strip__item { flex: 0 0 76px; height: 88px; scroll-snap-align: start; }
  .strip--pick .strip__item .cb { --size: 30px; }
  .strip-card .strip__item .cb { --size: 44px; }
  .strip--pick .strip__item b { font-size: 16px; }
  .strip--pick .strip__item i { font-size: 10px; }
  .strip-card .strip__item i { font-size: 11px; }
  .points .strip, .doc .strip { flex-wrap: wrap; overflow: visible; }
  .points .strip__item, .doc .strip__item { flex: 1 1 calc(50% - 8px); }
  .road__hatch, .road__axis span, .road__now { display: none; }
  .road__axis { justify-content: flex-end; }
  .road__bar { position: relative; left: 0 !important; width: 100% !important; }
  .road__row { height: auto; }
  .road__name { max-width: 90px; }
  .tacross .road__bar { width: 100% !important; left: 0 !important; }
  .tiles, .tiles--4 { grid-template-columns: 1fr; gap: 12px; }
  .tiles--4 { grid-template-columns: 1fr 1fr; }
  .why-tile { min-height: 0; padding: 18px; }
  .why-tile .tile-fig { font-size: 36px; }
  .sync-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .closer { grid-template-columns: 1fr; padding: 28px 22px; }
  .board-card { padding: 14px 12px 18px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .tabs .ui-label { display: none; }
  .fgrid { grid-template-columns: 1fr; }
  .create-side { display: contents; }
  .cert { order: -1; }
  .earners .road__addr { display: none; }
  .tbanner .who-row { flex-wrap: wrap; }
  .tbanner .who { flex: 1 1 auto; }
  .tbanner .tools { margin-left: auto; }
  .cert .art { width: 64px; height: 64px; border-radius: 20px; }
  .tstats { grid-template-columns: 1fr 1fr; }
  .tstat { padding: 14px 16px; }
  .tstat:nth-child(odd) { border-left: 0; }
  .tstat:nth-child(even) { border-left: 1px solid var(--line); }
  .tstat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .chart-wrap { height: 260px; }
  .tspread, .tpressure { grid-column: 1 / -1 !important; }
  .tradebox { display: none; }
  .tradebox.open {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    max-height: calc(100vh - 60px); overflow: auto;
    border-radius: var(--r-card) var(--r-card) 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom));
    box-shadow: var(--sh-4); animation: sheetUp .35s var(--e-out);
  }
  @keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .sheet-close { display: grid; position: absolute; top: 19px; right: 18px; background: var(--surface); }
  .tradebox.open .bs { margin-right: 52px; }
  .buybar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    display: flex; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: color-mix(in oklab, var(--bg) 85%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .buybar .add { flex: 1; height: 44px; }
  .buybar .round { width: 44px; height: 44px; }
  .token-page { padding-bottom: 70px; }
  .toasts { bottom: 70px; }
  .doc .strip__item { flex: 1 1 100%; }
}
