/* COPYBOT. Dark shell and token cards carried over from AGENTPAD, with the copied trader added to every surface. Geist throughout. */
:root {
  --bg: oklch(0.145 0 0);
  --rail: oklch(0.155 0 0);
  --surface: oklch(0.185 0.002 270);
  --surface-2: oklch(0.225 0.003 270);
  --surface-3: oklch(0.27 0.004 270);
  --line: oklch(1 0 0 / 0.08);
  --line-2: oklch(1 0 0 / 0.14);
  --ink: oklch(0.985 0 0);
  --ink-2: oklch(0.82 0 0);
  --ink-3: oklch(0.67 0 0);
  --cta: oklch(0.985 0 0);
  --cta-ink: oklch(0.145 0 0);
  --alive: oklch(0.80 0.17 152);
  --low: oklch(0.83 0.14 78);
  --asleep: oklch(0.62 0 0);
  --up: oklch(0.78 0.17 152);
  --down: oklch(0.70 0.19 25);
  --openai: #10a37f;
  --grok: oklch(0.93 0 0);
  --claude: #d97757;
  --section: oklch(0.165 0.002 270);
  --shade: oklch(0 0 0 / 0.55);
  --r-card: 16px;
  --r-sec: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
  --z-sticky: 20; --z-rail: 30; --z-menu: 40; --z-modal: 50; --z-toast: 60;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: oklch(0.972 0 0);
  --rail: oklch(0.985 0 0);
  --surface: oklch(1 0 0);
  --surface-2: oklch(0.955 0 0);
  --surface-3: oklch(0.92 0 0);
  --line: oklch(0 0 0 / 0.08);
  --line-2: oklch(0 0 0 / 0.14);
  --ink: oklch(0.17 0 0);
  --ink-2: oklch(0.36 0 0);
  --ink-3: oklch(0.47 0 0);
  --cta: oklch(0.17 0 0);
  --cta-ink: oklch(0.985 0 0);
  --alive: oklch(0.60 0.16 152);
  --low: oklch(0.62 0.14 70);
  --asleep: oklch(0.55 0 0);
  --up: oklch(0.55 0.16 152);
  --down: oklch(0.56 0.2 25);
  --grok: oklch(0.2 0 0);
  --section: oklch(0.945 0 0);
  --shade: oklch(0 0 0 / 0.35);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
.hidden { display: none !important; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 0; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--ink); color: var(--bg); }

/* scrollbars, themed */
* { scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

/* ------------------------------------------------------------ shell */
.rail { position: fixed; inset: 0 auto 0 0; width: 64px; background: var(--rail); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; padding: 14px 0; gap: 6px; z-index: var(--z-rail); }
/* the logo is the supplied artwork on its own near-black ground, so it stays a dark tile in both themes */
.rail .logo { width: 40px; height: 40px; border-radius: 11px; background: #03080c; overflow: hidden; margin-bottom: 16px;
  box-shadow: 0 0 0 1px var(--line-2); transition: transform .2s var(--ease); }
.rail .logo:hover { transform: scale(1.05); }
.rail .logo { display: grid; place-items: center; }
.rail .logo img { width: 72%; height: 72%; }                 /* air around the robot inside its tile */
.rail a.ri { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-3); position: relative;
  transition: background .18s var(--ease), color .18s var(--ease); }
.rail a.ri:hover { background: var(--surface-2); color: var(--ink); }
.rail a.ri.on { color: var(--ink); background: var(--surface-2); }
.rail a.ri svg { width: 20px; height: 20px; }
.rail a.ri .tip { position: absolute; left: 52px; background: var(--surface-3); color: var(--ink); font-size: 12.5px; font-weight: 500;
  padding: 5px 9px; border-radius: 8px; white-space: nowrap; opacity: 0; transform: translateX(-4px); pointer-events: none;
  transition: opacity .15s, transform .15s var(--ease); }
.rail a.ri:hover .tip { opacity: 1; transform: none; }
.rail .grow { flex: 1; }
.rail .themebtn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); }
.rail .themebtn:hover { color: var(--ink); background: var(--surface-2); }
.rail .themebtn svg { width: 17px; height: 17px; }

.main { margin-left: 64px; min-height: 100vh; }
.top { position: sticky; top: 0; z-index: var(--z-sticky); background: var(--bg); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; padding: 10px 24px; height: 60px; }
.top .word { font-weight: 650; letter-spacing: -0.01em; font-size: 16px; display: none; align-items: center; gap: 8px; }
.top .word img { width: 30px; height: 30px; padding: 4px; border-radius: 8px; background: #03080c; box-shadow: 0 0 0 1px var(--line-2); }
.search { flex: 1; max-width: 520px; margin-left: 40px; position: relative; }
.search input { width: 100%; height: 38px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  padding: 0 64px 0 38px; font-size: 14px; outline: none; transition: border-color .15s, background .15s; }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { border-color: var(--ink-3); }
.search > svg { position: absolute; left: 13px; top: 11px; width: 16px; height: 16px; color: var(--ink-3); }
.search kbd { position: absolute; right: 10px; top: 8px; font: 500 11.5px var(--font); color: var(--ink-3); border: 1px solid var(--line-2);
  border-radius: 6px; padding: 2px 6px; background: var(--surface-2); }
.search .res { position: absolute; top: 44px; left: 0; right: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 6px; z-index: var(--z-menu); max-height: 380px; overflow: auto; box-shadow: 0 8px 8px -4px var(--shade); }
.search .res a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; }
.search .res a:hover, .search .res a.on { background: var(--surface-2); }
.search .res img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; background: var(--surface-2); }
.search .res .e { padding: 12px; color: var(--ink-3); font-size: 13.5px; }
.top .sp { flex: 1; }
.ca-pill { display: inline-flex; gap: 8px; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 13px; color: var(--ink-2); }
.ca-pill:hover { color: var(--ink); background: var(--surface); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 999px;
  font-weight: 550; font-size: 14px; border: 1px solid var(--line-2); color: var(--ink); background: transparent; white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s, transform .12s var(--ease), opacity .15s; }
.btn:hover { background: var(--surface-2); }
.btn:active { transform: scale(.97); }
.btn.ink { background: var(--cta); color: var(--cta-ink); border-color: var(--cta); }
.btn.ink:hover { background: color-mix(in oklch, var(--cta) 88%, var(--bg)); }
.btn.big { height: 46px; padding: 0 24px; font-size: 15px; }
.btn.sm { height: 32px; padding: 0 13px; font-size: 13px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--alive); }
.walwrap { position: relative; }
.walmenu { position: absolute; right: 0; top: 46px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px;
  min-width: 220px; display: none; z-index: var(--z-menu); box-shadow: 0 8px 8px -4px var(--shade); }
.walmenu.open { display: block; }
.walmenu .addr { padding: 8px 10px 10px; font-size: 12px; color: var(--ink-3); word-break: break-all; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.walmenu button { display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: 9px; font-size: 14px; }
.walmenu button:hover { background: var(--surface-2); }

.page { padding: 0 32px 80px; max-width: 1320px; margin: 0 auto; }
.page[hidden] { display: none; }

/* ------------------------------------------------------------ hero */
.hero { text-align: center; padding: 72px 0 44px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 560; max-width: 15ch; margin: 0 auto; }
.hero p.sub { color: var(--ink-3); font-size: 17px; line-height: 1.6; max-width: 58ch; margin: 22px auto 0; }
.hero .cta { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 7px; border-radius: 999px; background: var(--surface-2);
  color: var(--ink); font-size: 14px; font-weight: 500; vertical-align: 1px; border: 1px solid var(--line); }
.chip .lg { width: 15px; height: 15px; display: inline-grid; }
.lg { display: inline-grid; width: 1em; height: 1em; flex: none; }
.lg svg { width: 100%; height: 100%; display: block; }
.lg.openai { color: var(--ink); } .lg.grok { color: var(--ink); } .lg.claude { color: var(--claude); }

/* ------------------------------------------------------------ bento */
.bento { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sec); overflow: hidden; position: relative; height: 420px;
  display: flex; flex-direction: column; }
.tile .tfoot { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 14px; font-weight: 550;
  border-top: 1px solid var(--line); background: var(--surface); position: relative; z-index: 2; }
.tile .tfoot a { color: var(--ink-3); display: inline-flex; gap: 6px; align-items: center; font-weight: 500; }
.tile .tfoot a:hover { color: var(--ink); }
.tile .body { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.tile .fade::after { content: ""; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(transparent, var(--surface)); pointer-events: none; }

/* agents tile: one slanted slice per model, the seams glide toward the slice under the pointer */
@property --x1 { syntax: "<percentage>"; inherits: true; initial-value: 33.333%; }
@property --x2 { syntax: "<percentage>"; inherits: true; initial-value: 66.667%; }
/* --x1 and --x2 are the midpoints of the two seams, so equal thirds are 33.333% and 66.667% */
.trio { --x1: 33.333%; --x2: 66.667%; --sl: 9%; --gap: 1px; position: absolute; inset: 0; background: color-mix(in oklch, var(--ink) 22%, var(--surface));
  transition: --x1 .7s var(--ease), --x2 .7s var(--ease); }
.trio:has(.s-openai:hover) { --x1: 45%; --x2: 72.5%; }
.trio:has(.s-grok:hover) { --x1: 27.5%; --x2: 72.5%; }
.trio:has(.s-claude:hover) { --x1: 27.5%; --x2: 55%; }
.slice { position: absolute; inset: 0; overflow: hidden; display: block; color: var(--ink); --m: var(--ink-3); }
.s-openai { --m: #10a37f; clip-path: polygon(0 0, calc(var(--x1) + var(--sl) / 2 - var(--gap)) 0, calc(var(--x1) - var(--sl) / 2 - var(--gap)) 100%, 0 100%); }
.s-grok { --m: oklch(0.86 0 0); clip-path: polygon(calc(var(--x1) + var(--sl) / 2 + var(--gap)) 0, calc(var(--x2) + var(--sl) / 2 - var(--gap)) 0, calc(var(--x2) - var(--sl) / 2 - var(--gap)) 100%, calc(var(--x1) - var(--sl) / 2 + var(--gap)) 100%); }
.s-claude { --m: #d97757; clip-path: polygon(calc(var(--x2) + var(--sl) / 2 + var(--gap)) 0, 100% 0, 100% 100%, calc(var(--x2) - var(--sl) / 2 + var(--gap)) 100%); }
:root[data-theme="light"] .s-grok { --m: oklch(0.35 0 0); }
.slice .sbg { position: absolute; inset: 0; background: var(--surface); }
.slice .drift { position: absolute; top: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 8px; align-content: start;
  opacity: .3; filter: saturate(.7); animation: drift 60s linear infinite; transition: opacity .6s var(--ease), filter .6s var(--ease); }
.slice .drift img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.s-grok .drift { animation-duration: 70s; animation-direction: reverse; }
.s-claude .drift { animation-duration: 64s; }
@keyframes drift { to { transform: translateY(-50%); } }
.slice .tint { position: absolute; inset: 0;
  background: radial-gradient(90% 55% at 35% 105%, color-mix(in oklch, var(--m) 55%, transparent), transparent 75%),
              linear-gradient(180deg, color-mix(in oklch, var(--surface) 45%, transparent) 0%, color-mix(in oklch, var(--surface) 80%, transparent) 45%,
                                      color-mix(in oklch, var(--surface) 62%, transparent) 100%); }
.slice .glow { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; left: 20%; top: 30%; filter: blur(40px);
  background: color-mix(in oklch, var(--m) 30%, transparent); animation: float 9s ease-in-out infinite alternate; }
.s-grok .glow { animation-delay: -3s; } .s-claude .glow { animation-delay: -6s; }
@keyframes float { to { transform: translate(18%, -22%) scale(1.15); } }
.slice .wm { position: absolute; width: 230px; height: 230px; right: -50px; bottom: -60px; opacity: .1; color: var(--m); transition: opacity .6s, transform .9s var(--ease); }
.slice .wm svg { width: 100%; height: 100%; }
.s-openai .wm { left: calc(var(--x1) - var(--sl) / 2 - 190px); right: auto; }
.s-grok .wm { left: calc(var(--x2) - var(--sl) / 2 - 200px); right: auto; }
.slice:hover .drift { opacity: .5; filter: saturate(1); }
.slice:hover .wm { opacity: .2; transform: rotate(-12deg) scale(1.06); }
.slice .sc { position: absolute; top: 0; bottom: 0; padding: 22px 18px 20px; display: flex; flex-direction: column; min-width: 0; }
.s-openai .sc { left: 0; width: calc(var(--x1) - var(--sl) / 2); }
.s-grok .sc { left: calc(var(--x1) + var(--sl) / 2); width: calc(var(--x2) - var(--x1) - var(--sl)); }
.s-claude .sc { left: calc(var(--x2) + var(--sl) / 2); width: calc(100% - var(--x2) - var(--sl) / 2); }
.sc .slogo { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in oklch, var(--surface) 70%, transparent);
  border: 1px solid var(--line-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sc .slogo .lg { width: 24px; height: 24px; }
.sc .sname { margin-top: 14px; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; }
.sc .smodel { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc .sgrow { flex: 1; }
.sc .snum { white-space: nowrap; font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sc .snum small { font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.sc .smeta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.sc .smeta i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--alive); margin-right: 5px; vertical-align: 1px; }
.sc .smeta i.off { background: var(--asleep); }
.sc .smeta i.on { animation: beat 1.6s var(--ease) infinite; }
.sc .slast { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2); min-height: 3.4em; }
.sc .slast b { display: block; color: var(--ink); font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .35s, transform .35s var(--ease); }
.sc .slast span { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; transition: opacity .35s; }
.sc .slast.swap b, .sc .slast.swap span { opacity: 0; transform: translateY(4px); }
.feedlist { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.fi { display: flex; gap: 12px; align-items: flex-start; background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
.fi .av { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; background: var(--surface-3); flex: none; }
.fi .tx { flex: 1; min-width: 0; overflow: hidden; }
.fi .l1 { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.fi .l1 .lg { width: 14px; height: 14px; }
.dec .l1 .lg, .chead .meta .lg { width: 15px; height: 15px; }
.fi .l1 b { color: var(--ink); font-weight: 600; }
.fi .l2 { font-weight: 600; font-size: 15px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi .amt { font-family: var(--mono); font-size: 13px; text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.fi .amt small { display: block; color: var(--ink-3); font-family: var(--font); font-size: 12px; }
.fi .l1 span { white-space: nowrap; }
.act { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11.5px; font-weight: 600;
  background: var(--surface-3); color: var(--ink-2); }
.act.buyback { background: color-mix(in oklch, var(--up) 18%, transparent); color: var(--up); }
.act.burn { background: color-mix(in oklch, var(--down) 18%, transparent); color: var(--down); }
.act.reward_holders, .act.stock_payout, .act.buy_coin { background: color-mix(in oklch, var(--low) 20%, transparent); color: var(--low); }
.act.floor_guard { background: color-mix(in oklch, var(--up) 18%, transparent); color: var(--up); }
.act.error { background: color-mix(in oklch, var(--down) 14%, transparent); color: var(--down); }
.tile-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; color: var(--ink-3); font-size: 14.5px; }
.tile-empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; font-weight: 600; }

/* ------------------------------------------------------------ model strip */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.mt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sec); padding: 20px; display: flex; flex-direction: column; gap: 18px;
  transition: border-color .2s; }
.mt:hover { border-color: var(--line-2); }
.mt .h { display: flex; align-items: center; gap: 12px; }
.mt .h .lgb { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; }
.mt .h .lgb .lg { width: 22px; height: 22px; }
.mt .h b { font-size: 17px; font-weight: 600; display: block; }
.mt .h small { color: var(--ink-3); font-size: 13px; }
.mt .h .go { margin-left: auto; color: var(--ink-3); }
.mt dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; gap: 8px; }
.mt dt { font-size: 12px; color: var(--ink-3); }
.mt dd { margin: 2px 0 0; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mt dd small { font-size: 12px; color: var(--ink-3); font-weight: 500; }

/* ------------------------------------------------------------ board (pons) */
.sec { background: var(--section); border: 1px solid var(--line); border-radius: var(--r-sec); padding: 22px; margin-top: 40px; }
.sec-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sec-h h2 { font-size: 22px; letter-spacing: -0.015em; }
.count { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--surface-3); font-size: 12.5px; font-weight: 600; }
.sec-p { color: var(--ink-3); font-size: 14px; margin-top: 6px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 18px 0 18px; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg button { height: 30px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-3); display: inline-flex; gap: 6px; align-items: center;
  transition: background .15s, color .15s; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--surface-3); color: var(--ink); }
.seg .lg { width: 14px; height: 14px; }
.filters .sp { flex: 1; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 12px; }
.card { background: var(--surface); border-radius: var(--r-card); padding: 8px 8px 12px; display: block; position: relative;
  transition: transform .2s var(--ease), background .2s; border: 1px solid var(--line); }
.card:hover { transform: translateY(-2px); background: var(--surface-2); }
.card .im { aspect-ratio: 1; border-radius: 11px; overflow: hidden; background: var(--surface-3); position: relative; }
.card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .im img { transform: scale(1.03); }
.badges { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; gap: 5px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px 0 6px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  background: oklch(0.16 0 0 / 0.78); color: oklch(0.98 0 0); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.badge .lg { width: 12px; height: 12px; color: oklch(0.98 0 0); }
.badge .lg.claude { color: var(--claude); }
.badge.st i { width: 6px; height: 6px; border-radius: 50%; background: var(--alive); }
.badge.st.low i { background: var(--low); }
.badge.st.asleep i { background: var(--asleep); }
.badge.st.alive i { animation: beat 1.6s var(--ease) infinite; }
@keyframes beat { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklch, var(--alive) 60%, transparent); } 50% { box-shadow: 0 0 0 4px transparent; } }
.card .life { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 4px; border-radius: 4px; background: oklch(0 0 0 / 0.45); overflow: hidden; }
.card .life i, .lifebar i { display: block; height: 100%; background: var(--alive); border-radius: inherit; transition: width .6s var(--ease); }
.card .life.low i, .lifebar.low i { background: var(--low); }
.card .life.asleep i, .lifebar.asleep i { background: var(--asleep); }
.card .nm { margin: 10px 4px 0; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .tk { margin: 0 4px; color: var(--ink-3); font-size: 13px; }
.card .mc { margin: 8px 4px 0; display: flex; align-items: baseline; gap: 6px; }
.card .mc .v { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.card .mc small { color: var(--ink-3); font-size: 12px; font-weight: 500; }
.card .row { margin: 8px 4px 0; display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); gap: 6px; }
.card .row .fees { color: var(--ink-2); }
.card .last { margin: 8px 4px 0; font-size: 12.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.skel { background: var(--surface); border-radius: var(--r-card); height: 330px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, oklch(1 0 0 / 0.04) 50%, transparent 80%);
  animation: sh 1.4s linear infinite; }
@keyframes sh { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.empty { text-align: center; padding: 56px 20px; }
.empty h3 { font-size: 19px; }
.empty p { color: var(--ink-3); max-width: 46ch; margin: 8px auto 20px; }

/* odometer */
.odo { display: inline-flex; overflow: hidden; line-height: 1.15; height: 1.15em; vertical-align: bottom; }
.odo .d { display: inline-block; height: 1.15em; overflow: hidden; }
.odo .d > span { display: flex; flex-direction: column; transition: transform .9s var(--ease); }
.odo .d > span > span { height: 1.15em; }

/* ------------------------------------------------------------ launch */
.lhead { padding: 44px 0 26px; }
.lhead h1 { font-size: 34px; letter-spacing: -0.02em; }
.lhead p { color: var(--ink-3); margin-top: 8px; max-width: 62ch; }
.lgrid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sec); padding: 22px; }
.panel + .panel { margin-top: 14px; }
.panel h3 { font-size: 16px; display: flex; align-items: center; gap: 10px; }
.panel h3 .n { width: 24px; height: 24px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-size: 12.5px; font-weight: 600; }
.panel .ph { color: var(--ink-3); font-size: 13.5px; margin: 6px 0 16px 34px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); display: flex; justify-content: space-between; }
.field label small { color: var(--ink-3); font-weight: 400; }
.inp { height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); padding: 0 13px; font-size: 14.5px; outline: none;
  transition: border-color .15s; width: 100%; }
textarea.inp { height: auto; min-height: 84px; padding: 11px 13px; resize: vertical; line-height: 1.5; }
.inp:focus { border-color: var(--ink-3); }
.inp::placeholder { color: var(--ink-3); }
.inp.pre { padding-left: 30px; }
.pwrap { position: relative; }
.pwrap > span { position: absolute; left: 13px; top: 11px; color: var(--ink-3); font-size: 14.5px; }
.pwrap > em { position: absolute; right: 13px; top: 11px; color: var(--ink-3); font-size: 13.5px; font-style: normal; }
.drop { display: flex; gap: 14px; align-items: center; border: 1px dashed var(--line-2); border-radius: 14px; padding: 12px; cursor: pointer; margin-bottom: 14px;
  transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--ink-3); background: var(--surface-2); }
.drop .pv { width: 72px; height: 72px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; flex: none; color: var(--ink-3); }
.drop .pv img { width: 100%; height: 100%; object-fit: cover; }
.drop b { display: block; font-weight: 600; font-size: 14.5px; }
.drop span { color: var(--ink-3); font-size: 13px; }
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pick { text-align: left; border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; background: var(--bg); position: relative;
  transition: border-color .15s, background .15s; }
.pick:hover { background: var(--surface-2); }
.pick.on { border-color: var(--ink); background: var(--surface-2); }
.pick .lg { width: 26px; height: 26px; }
.pick b { display: block; margin-top: 14px; font-size: 15.5px; font-weight: 600; }
.pick small { color: var(--ink-3); font-size: 12.5px; }
.pick .ck { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.pick.on .ck { background: var(--ink); border-color: var(--ink); }
.pick.on .ck::after { content: ""; width: 7px; height: 4px; border: 2px solid var(--bg); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.ideas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ideas button { height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2); }
.ideas button:hover { color: var(--ink); background: var(--surface-2); }
.quick { display: flex; gap: 6px; margin-top: 8px; }
.quick button { flex: 1; height: 30px; border-radius: 9px; border: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2); }
.quick button:hover { background: var(--surface-2); color: var(--ink); }
.side { position: sticky; top: 80px; }
.pairbtn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg); text-align: left; transition: border-color .15s, background .15s; }
.pairbtn:hover { background: var(--surface-2); }
.pairbtn[aria-expanded="true"] { border-color: var(--ink-3); }
.pairbtn img, .pairrow img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--surface-3); flex: none; }
.pairbtn b, .pairrow b { display: block; font-weight: 600; font-size: 14.5px; }
.pairbtn small, .pairrow small { display: block; color: var(--ink-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pairbtn .tx, .pairrow .tx { flex: 1; min-width: 0; }
.pairbtn .chev { color: var(--ink-3); transition: transform .2s var(--ease); }
.pairbtn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.pairpanel { margin-top: 10px; border: 1px solid var(--line-2); border-radius: 14px; padding: 10px; background: var(--bg); }
.pairtabs { margin: 10px 0 8px; }
.pairlist { max-height: 300px; overflow: auto; display: flex; flex-direction: column; gap: 2px; }
.pairrow { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; text-align: left; width: 100%; }
.pairrow:hover { background: var(--surface-2); }
.pairrow.on { background: var(--surface-3); }
.pairrow .grp { font-size: 11.5px; color: var(--ink-3); flex: none; }
.pairlist .e { padding: 14px; color: var(--ink-3); font-size: 13.5px; }
.pairtag { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px; background: var(--surface-3); color: var(--ink-2);
  font-size: 11px; font-weight: 600; margin-left: 6px; vertical-align: 1px; }
.pcard { pointer-events: none; }
.rules { margin-top: 14px; }
.rules .rr { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rules .rr:last-child { border-bottom: 0; }
.rules .rr span { color: var(--ink-3); }
.rules .rr b { font-weight: 550; text-align: right; }
.msg { color: var(--down); font-size: 13.5px; margin-top: 10px; min-height: 1em; }
.msg.ok { color: var(--up); }
.steps { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.steps div { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-3); }
.steps div i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; }
.steps div.on { color: var(--ink); } .steps div.on i { border-color: var(--ink); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps div.ok { color: var(--ink-2); } .steps div.ok i { background: var(--up); border-color: var(--up); }
.steps div.bad { color: var(--down); } .steps div.bad i { background: var(--down); border-color: var(--down); }
@keyframes spin { to { transform: rotate(360deg); } }
.done { margin-top: 14px; background: var(--surface-2); border-radius: 14px; padding: 16px; }
.done b { display: block; font-size: 15.5px; }
.done span { display: block; color: var(--ink-3); font-size: 13.5px; margin-top: 4px; }
.done .links { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------ coin page */
.back { display: inline-flex; gap: 6px; align-items: center; color: var(--ink-3); font-size: 13.5px; margin: 22px 0 16px; }
.back:hover { color: var(--ink); }
.chead { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.chead .av { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; background: var(--surface-2); }
.chead h1 { font-size: 26px; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.chead h1 small { color: var(--ink-3); font-size: 17px; font-weight: 500; }
.chead .meta { display: flex; gap: 8px; align-items: center; margin-top: 6px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.chead .meta a:hover { color: var(--ink); }
.chead .links { margin-left: auto; display: flex; gap: 8px; }
.stpill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: color-mix(in oklch, var(--alive) 16%, transparent); color: var(--alive); }
.stpill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stpill.low { background: color-mix(in oklch, var(--low) 18%, transparent); color: var(--low); }
.stpill.asleep { background: var(--surface-3); color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 14px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; }
.stat span { font-size: 12.5px; color: var(--ink-3); }
.stat b { display: block; font-size: 20px; font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.lifebar { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; margin-top: 10px; }
.cgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; }
.chart { height: 380px; position: relative; }
.chart .ivs { position: absolute; top: 12px; left: 12px; z-index: 3; }
.chart .ce { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); font-size: 14px; text-align: center; padding: 20px; }
.chart-host { position: absolute; inset: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.tabs button { height: 44px; padding: 0 14px; font-size: 14px; font-weight: 550; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }
.tabs button .c { font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.dec { padding: 16px 2px; border-bottom: 1px solid var(--line); }
.dec:last-child { border-bottom: 0; }
.dec .l1 { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); flex-wrap: wrap; }
.dec .l1 .mood { color: var(--ink-2); font-weight: 600; }
.dec h4 { font-size: 16px; margin: 8px 0 6px; font-weight: 600; }
.dec p { color: var(--ink-2); font-size: 14px; line-height: 1.6; max-width: 72ch; }
.dec .l3 { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: var(--ink-3); }
.dec .l3 a { text-decoration: underline; text-underline-offset: 2px; }
.tag { display: inline-flex; height: 20px; align-items: center; padding: 0 7px; border-radius: 6px; font-size: 11.5px; font-weight: 600; background: var(--surface-3); color: var(--ink-2); }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.t th { text-align: left; font-weight: 500; color: var(--ink-3); font-size: 12.5px; padding: 10px 8px; border-bottom: 1px solid var(--line); }
table.t td { padding: 10px 8px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
table.t tr:last-child td { border-bottom: 0; }
table.t .r { text-align: right; }
.up { color: var(--up); } .down { color: var(--down); }
.trade .seg2 { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 3px; margin-bottom: 14px; }
.trade .seg2 button { height: 36px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-3); }
.trade .seg2 button.on.buy { background: color-mix(in oklch, var(--up) 20%, transparent); color: var(--up); }
.trade .seg2 button.on.sell { background: color-mix(in oklch, var(--down) 18%, transparent); color: var(--down); }
.trade .est { font-size: 12.5px; color: var(--ink-3); margin: 8px 0 14px; min-height: 1.2em; }
.agentcard .ah { display: flex; align-items: center; gap: 12px; }
.agentcard .ah .lgb { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; }
.agentcard .ah .lgb .lg { width: 22px; height: 22px; }
.agentcard .ah b { display: block; font-size: 16px; }
.agentcard .ah small { color: var(--ink-3); font-size: 12.5px; }
.agentcard .mand { margin-top: 14px; background: var(--surface-2); border-radius: 12px; padding: 12px; font-size: 13.5px; color: var(--ink-2); }
.agentcard .mand span { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 3px; }

/* ------------------------------------------------------------ creator and agent */
.creator h3 { font-size: 16px; }
.chatlog { max-height: 380px; overflow: auto; display: flex; flex-direction: column; gap: 8px; margin: 12px 0 4px; padding-right: 2px; }
.msgb { max-width: 90%; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; }
.msgb.creator { align-self: flex-end; background: var(--cta); color: var(--cta-ink); border-bottom-right-radius: 4px; }
.msgb.agent { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.msgb .who { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; opacity: .75; margin-bottom: 3px; }
.msgb .who .lg { width: 12px; height: 12px; }
.msgb small { display: block; opacity: .65; font-size: 11.5px; margin-top: 4px; }
.msgsys { align-self: center; font-size: 12px; color: var(--ink-3); text-align: center; padding: 2px 8px; }
.chatwait { font-size: 12.5px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.chatwait i { width: 8px; height: 8px; border-radius: 50%; background: var(--alive); animation: beat 1.6s var(--ease) infinite; }
.chatempty { color: var(--ink-3); font-size: 13.5px; padding: 10px 0; }
.ctl { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; }
.ctl p { color: var(--ink-3); font-size: 13px; margin-bottom: 10px; }
.ctl textarea.inp { min-height: 64px; }
.ctl .row2 { display: flex; gap: 8px; margin-top: 8px; }
.ctl details { margin-top: 12px; }
.ctl summary { cursor: pointer; font-size: 13.5px; font-weight: 550; color: var(--ink-2); list-style: none; }
.ctl summary::-webkit-details-marker { display: none; }
.ctl summary::after { content: " +"; color: var(--ink-3); }
.ctl details[open] summary::after { content: " –"; }
.ctl .linkbtn { font-size: 12.5px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; margin-top: 10px; }

/* ------------------------------------------------------------ a website for the coin */
.webp h3 { font-size: 16px; }
.webp .prog { height: 8px; border-radius: 8px; background: var(--surface-3); overflow: hidden; margin: 12px 0 6px; }
.webp .prog i { display: block; height: 100%; background: var(--ink); border-radius: inherit; transition: width .6s var(--ease); }
.webp .progt { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); }
.webp .progt b { color: var(--ink); font-weight: 600; }
.webp .state { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.webp .state i { width: 8px; height: 8px; border-radius: 50%; background: var(--low); margin-top: 6px; flex: none; }
.webp .state.done i { background: var(--up); }
.webp form { margin-top: 14px; }

/* ------------------------------------------------------------ how */
.how { max-width: 860px; margin: 0 auto; }
.how .hero { padding-bottom: 36px; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.flow .f { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; }
.flow .f .n { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); }
.flow .f b { display: block; margin: 10px 0 6px; font-size: 16px; }
.flow .f p { color: var(--ink-3); font-size: 14px; line-height: 1.55; }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.acts .a { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; }
.acts .a p { color: var(--ink-3); font-size: 13px; margin-top: 8px; line-height: 1.5; }
.h2 { font-size: 22px; letter-spacing: -0.015em; margin: 48px 0 6px; }
.h2p { color: var(--ink-3); margin-bottom: 16px; max-width: 66ch; }
.lifedemo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sec); padding: 22px; }
.lifedemo svg { width: 100%; height: auto; display: block; }
.lifedemo .legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.lifedemo .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.note { background: var(--surface-2); border-radius: var(--r-card); padding: 18px; margin-top: 14px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.note b { color: var(--ink); }

/* ------------------------------------------------------------ footer, wallet picker, toast */
.foot { border-top: 1px solid var(--line); margin-top: 60px; padding: 26px 32px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
.foot a:hover { color: var(--ink); }
.foot .sp { flex: 1; }
.wpick { position: fixed; inset: 0; background: oklch(0 0 0 / 0.6); display: grid; place-items: center; z-index: var(--z-modal); animation: fi .18s var(--ease); }
.wpick-in { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sec); padding: 22px; width: min(380px, calc(100vw - 32px)); animation: pop .22s var(--ease); }
.wpick h3 { font-size: 18px; }
.wpick p { color: var(--ink-3); font-size: 13.5px; margin: 4px 0 16px; }
.wpick .list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 8px; font-weight: 550; }
.wpick .list button:hover { background: var(--surface-2); }
.wpick .list img { width: 30px; height: 30px; border-radius: 8px; }
.wpick .nw { color: var(--ink-3); font-size: 14px; }
.wpick .nw a { color: var(--ink); text-decoration: underline; }
@keyframes fi { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--cta); color: var(--cta-ink); padding: 10px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 550; z-index: var(--z-toast); animation: pop .2s var(--ease); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .lgrid, .cgrid { grid-template-columns: 1fr; }
  .side { position: static; }
  .acts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .bento, .models, .flow { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .picks { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .rail { inset: auto 0 0 0; width: auto; height: 62px; flex-direction: row; justify-content: space-around; padding: 0 8px;
    border-right: 0; border-top: 1px solid var(--line); gap: 0; padding-bottom: env(safe-area-inset-bottom); }
  .rail .logo, .rail .grow, .rail .themebtn, .rail a.ri .tip { display: none; }
  .main { margin-left: 0; padding-bottom: 70px; }
  .top { padding: 10px 16px; gap: 8px; }
  .top .word { display: inline-flex; }
  .top .word span { display: none; }
  .search { display: none; }
  .ca-pill { display: none; }
  .page { padding: 0 16px 40px; }
  .hero { padding: 44px 0 30px; }
  .hero p.sub { font-size: 15.5px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .card .last { display: none; }
  .card .row span:last-child { display: none; }
  .trio { --sl: 7%; }
  .slice .sc { padding: 16px 10px 16px 14px; }
  .sc .slast, .sc .smodel, .sc [data-sfees] { display: none; }
  .sc .sname { font-size: 16px; }
  .sc .snum { font-size: 26px; }
  .sc .slogo { width: 36px; height: 36px; }
  .slice .drift { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 14px; margin-top: 28px; }
  .frow { grid-template-columns: 1fr; }
  .chead .links { margin-left: 0; }
  .foot { padding: 20px 16px 90px; }
  .tile { height: 360px; }
  .acts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------ COPYBOT additions */
:root { --trader: oklch(0.80 0.13 235); --bot: var(--ink-3); }
:root[data-theme="light"] { --trader: oklch(0.55 0.15 245); }

/* a letter in a tile until the real logo arrives */
.lettermark { display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 700; letter-spacing: -0.02em; }
.rail .logo.lettermark { background: var(--ink); font-size: 19px; }
.lettermark.sm { width: 30px; height: 30px; border-radius: 8px; font-size: 15px; }

/* trader avatars */
.tav { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-3); }
.tav.none { display: inline-grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.tav.lg { width: 46px; height: 46px; font-size: 18px; }

/* the card: who the bot copies, over the coin image */
.card .copies { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 7px; padding: 5px 9px 5px 5px;
  border-radius: 999px; background: oklch(0 0 0 / 0.62); color: oklch(0.96 0 0); font-size: 12px; backdrop-filter: blur(6px); max-width: max-content; min-width: 0; }
.card .copies span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .copies b { font-weight: 600; }
.card .row .up { color: var(--up); } .card .row .down { color: var(--down); }

/* the home numbers */
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 26px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; min-width: 0; }
.kpi > span { font-size: 12.5px; color: var(--ink-3); }
.kpis + .bento { margin-top: 14px; }
.kpi b { display: block; font-size: 21px; font-weight: 600; margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -0.01em; }
.kpi b small { font-size: 12px; color: var(--ink-3); font-weight: 500; }

/* traders tile and table */
.tlist { display: flex; flex-direction: column; padding: 6px; }
.trow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; transition: background .2s; }
.trow:hover { background: var(--surface-2); }
.trow .tav { width: 36px; height: 36px; font-size: 14px; }
.trow .tx { min-width: 0; flex: 1; }
.trow .tx b { display: block; font-weight: 600; }
.trow .tx span { font-size: 12.5px; color: var(--ink-3); }
.trow .paid { font-size: 12.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tcell { display: inline-flex; align-items: center; gap: 8px; }
.coinlink { color: var(--ink-2); font-size: 13px; } .coinlink:hover { color: var(--ink); }

/* the handle field on the launch form */
.hwrap { position: relative; }
.hsug { margin-top: 6px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 4px; display: flex; flex-direction: column; }
.hsug button { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; text-align: left; }
.hsug button:hover { background: var(--surface-3); }
.hsug button span { color: var(--ink-3); font-size: 13px; }
.tcard { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); }
.tcard .tav { width: 38px; height: 38px; font-size: 15px; }
.tcard .tx { min-width: 0; flex: 1; }
.tcard .tx b { display: block; font-weight: 600; }
.tcard .tx b span { color: var(--ink-3); font-weight: 400; }
.tcard .tx > span { font-size: 12.5px; color: var(--ink-3); }
.tcard .tx a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); }
.tcard.ok { border-color: color-mix(in oklch, var(--up) 45%, var(--line)); }
.tcard.bad { border-color: color-mix(in oklch, var(--down) 45%, var(--line)); }
.tcard.bad b { color: var(--down); }
.tcard.busy .tav { animation: pulse 1.2s ease-in-out infinite; }
.tcard .okmark { color: var(--up); font-weight: 700; }
@keyframes pulse { 50% { opacity: .4; } }

/* the fee split */
.splitbar { display: flex; height: 8px; border-radius: 8px; overflow: hidden; gap: 2px; margin: 4px 0 10px; }
.splitbar i { display: block; height: 100%; }
.splitbar .t { background: var(--trader); border-radius: 8px 0 0 8px; }
.splitbar .b { flex: 1; background: var(--ink-2); border-radius: 0 8px 8px 0; }
.splitbar.big { height: 16px; }
.splitdemo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sec); padding: 22px; }
.splitdemo .legend { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.splitdemo .legend > span { display: inline-flex; align-items: center; gap: 8px; }
.splitdemo .legend b { color: var(--ink); font-weight: 600; }
.splitdemo .legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.splitdemo .legend .lt { background: var(--trader); } .splitdemo .legend .lb { background: var(--ink-2); }

/* the coin page */
.copychip { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 3px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: 13px; }
.copychip b { color: var(--ink); font-weight: 600; }
.tbig { display: flex; align-items: center; gap: 12px; }
.tbig small { display: block; color: var(--ink-3); font-size: 12px; }
.tbig b { display: block; font-size: 17px; font-weight: 600; }
.tbig a { font-size: 12.5px; color: var(--ink-3); }
.tokchip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px 0 3px; border-radius: 999px; background: var(--surface-2); font-size: 12px; font-weight: 600; }
.tokchip img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; }
.deccoin { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.deccoin img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.t td small { color: var(--ink-3); }

/* the moves */
.act.copy_buy { background: color-mix(in oklch, var(--up) 18%, transparent); color: var(--up); }
.act.copy_sell, .act.sell { background: color-mix(in oklch, var(--down) 16%, transparent); color: var(--down); }
.act.skip, .act.hold { background: var(--surface-2); color: var(--ink-3); }
.act.pay_trader { background: color-mix(in oklch, var(--trader) 20%, transparent); color: var(--trader); }

@media (max-width: 1100px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .kpis { grid-template-columns: repeat(2, 1fr); } .kpi b { font-size: 18px; } }
.cgrid > div { min-width: 0; }
.tabs { overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { white-space: nowrap; flex: none; }
.dec .l1 { flex-wrap: wrap; }
[data-traderlist], [data-tabbody] { overflow-x: auto; }
/* the tiles size to what they hold, from a floor, so a short list does not leave a hollow box */
.bento .tile { height: auto; min-height: 240px; max-height: 420px; }
@media (max-width: 860px) { .bento .tile { min-height: 180px; } }

/* ============================================================
   SPEND skin (the FomoCard / SPEND house style, 2026-09-23): near-black with a violet cast, the space
   photograph fading into a star field behind the whole document, a floating glass pill for the nav,
   flat translucent boxes on hairline borders with 25px corners, Inter, mono labels in the one accent.
   Dark only, as SPEND is. Everything above stays; this layer re-points the tokens and the shell.
   ============================================================ */
:root, :root[data-theme="light"] {
  --bg: #090813; --rail: #090813; --section: transparent;
  --surface: #101019e6; --surface-2: #16161fe6; --surface-3: #1e1e29;
  --line: #cbd0eb1a; --line-2: #cbd0eb2b; --line-3: #cbd0eb47;
  --ink: #f7f7f7; --ink-2: #cbd0eb; --ink-3: #cbd0eb8c; --faint: #cbd0eb5c;
  --accent: #606af7; --accent-hi: #8a92ff; --accent-soft: #606af726; --accent-line: #606af75c;
  --cta: #606af7; --cta-ink: #ffffff;
  --up: #35d07f; --down: #ff6b5e; --alive: #35d07f; --low: #f0b445;
  --trader: #8a92ff;
  --glass: #12111ad9; --glass-line: #cbd0eb1f;
  --shadow: 0 4px 18px #00000059;
  --shadow-lg: 0 2px 6px #0000004d, 0 18px 44px #00000073, 0 40px 80px #00000059;
  --shade: #00000080;
  --r-card: 18px; --r-sec: 25px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, monospace;
  color-scheme: dark;
}
body { position: relative; background: var(--bg); letter-spacing: -.011em; overflow-x: hidden; }
::selection { background: var(--accent-soft); color: var(--ink); }
* { scrollbar-color: #2e2d3d transparent; }
::-webkit-scrollbar-thumb { background: #2e2d3d; border-color: var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #4a4860; }

/* the sky */
#spacebg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background-color: var(--bg); background-repeat: repeat, repeat; background-position: 0 0, 140px 90px; }
#spacebg .photo { position: absolute; top: 0; left: 0; right: 0; height: 54.58vw; opacity: .72;
  background: url("/assets/space.webp") top left / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0 34%, #000000e6 48%, #00000099 62%, #0000004d 74%, #0000001f 86%, transparent 97%);
  mask-image: linear-gradient(180deg, #000 0 34%, #000000e6 48%, #00000099 62%, #0000004d 74%, #0000001f 86%, transparent 97%); }
#spacebg .scrim { position: absolute; top: 0; left: 0; right: 0; height: 54.58vw;
  background: radial-gradient(62% 40% at 50% 22%, #090813e0, #09081385 55%, transparent 78%),
              linear-gradient(180deg, #090813a6 0, #0908134d 12%, transparent 30%);
  -webkit-mask-image: linear-gradient(180deg, #000 0 52%, transparent 88%); mask-image: linear-gradient(180deg, #000 0 52%, transparent 88%); }

/* the shell: no rail, a floating glass pill */
.main { margin-left: 0; }
.nav { position: sticky; top: 12px; z-index: var(--z-sticky); max-width: 1320px; margin: 12px auto 0; padding-inline: 22px; }
.nav-in { display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -.03em; font-size: 15px; flex: none; }
.lettermark.sm { width: 26px; height: 26px; border-radius: 8px; font-size: 14px; background: var(--ink); color: var(--bg); }
.nav .tabs { display: flex; gap: 2px; background: #cbd0eb0f; border-radius: 999px; padding: 3px; margin: 0 0 0 6px; border: 0; overflow: visible; }
.nav .tabs a { padding: 6px 13px; border-radius: 999px; font-size: 13.4px; color: var(--ink-3); white-space: nowrap;
  transition: color .14s, background .14s, box-shadow .14s; }
.nav .tabs a:hover { color: var(--ink); }
.nav .tabs a.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px #00000040; }
.nav .search { max-width: 300px; margin-left: 8px; }
.nav .search input { background: var(--surface); height: 38px; }
.nav .sp { flex: 1; }
.nav .btn.ink.on { box-shadow: 0 0 0 3px var(--accent-soft); }

/* buttons in the SPEND way: pills, one accent */
.btn { background: var(--surface); border-color: var(--line-2); font-weight: 500; font-size: 13.8px;
  transition: border-color .15s, box-shadow .15s, background .15s, transform .12s; }
.btn:hover { background: var(--surface); border-color: var(--line-3); box-shadow: 0 1px 2px #00000040; }
.btn.ink { background: var(--accent); color: #fff; border-color: transparent; font-weight: 600; }
.btn.ink:hover { background: var(--accent-hi); box-shadow: 0 6px 22px #606af759; }
.btn:active { transform: translateY(1px); }

/* type */
.k { display: inline-block; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { letter-spacing: -.04em; }
.hero { padding: 96px 0 40px; }
.hero h1 { font-weight: 500; letter-spacing: -.05em; line-height: 1.02; font-size: clamp(40px, 5.8vw, 66px); max-width: 16ch; margin-top: 14px; }
.hero p.sub { color: var(--ink-3); font-size: 16.8px; max-width: 34em; }
.lhead { padding: 64px 0 28px; }
.lhead h1 { font-weight: 500; font-size: clamp(30px, 4vw, 42px); letter-spacing: -.045em; margin-top: 10px; }
.lhead p { color: var(--ink-3); font-size: 16px; line-height: 1.62; }
.sec-h .k { flex-basis: 100%; }
.sec-h h2 { font-weight: 500; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.045em; }
.h2 { font-weight: 500; letter-spacing: -.045em; }

/* the clean boxes */
.sec { background: transparent; border: 0; padding: 0; margin-top: 64px; }
.panel, .tile, .kpi, .stat, .acts .a, .flow .f, .splitdemo, .note, .card { background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); }
.panel, .tile, .splitdemo, .note { border-radius: var(--r-sec); }
.kpi, .stat, .acts .a, .flow .f { border-radius: 20px; }
.card { border-radius: var(--r-sec); padding: 9px 9px 14px; transition: border-color .3s, transform .3s var(--ease); }
.card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.card .im { border-radius: 17px; }
.tile, .kpi { transition: border-color .3s; }
.tile:hover { border-color: var(--line-2); }
.kpi > span, .stat > span { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-3); }
.kpi b, .stat b { font-weight: 500; letter-spacing: -.03em; }
.seg { background: #cbd0eb0f; border: 0; border-radius: 999px; padding: 3px; }
.seg button { border-radius: 999px; color: var(--ink-3); }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px #00000040; }
.inp, .pwrap .inp { background: #0c0b14; border-color: var(--line-2); border-radius: 12px; }
.inp:focus { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.panel h3 .n { background: var(--accent-soft); color: var(--accent-hi); }
.pick.on { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
.tabs button.on { border-bottom-color: var(--accent); }
.walmenu, .search .res, .hsug { background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: var(--glass-line); }
.foot { border-top: 1px solid var(--line); color: var(--ink-3); max-width: 1320px; margin-inline: auto; }
.empty { border: 1px dashed var(--line-2); border-radius: var(--r-sec); background: #16161f80; }

/* the nav on narrow screens: the tabs drop to a second row that scrolls */
@media (max-width: 980px) {
  .nav .search { display: none; }
}
@media (max-width: 760px) {
  .nav { padding-inline: 10px; }
  .nav-in { flex-wrap: wrap; border-radius: 22px; padding: 7px; row-gap: 6px; }
  .nav .tabs { order: 5; flex-basis: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .nav .tabs::-webkit-scrollbar { display: none; }
  .nav .tabs a { flex: none; }
  .brand [data-brand] { display: none; }
  .hero { padding-top: 56px; }
}
@media (max-width: 720px) { .main { padding-bottom: 0; } }

/* powered by @bot, Grok */
.powered { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12px;
  color: var(--ink-3); border: 1px solid var(--line); background: #cbd0eb0a; white-space: nowrap; flex: none; }
.powered b { color: var(--ink); font-weight: 600; }
.powered .lg { width: 13px; height: 13px; color: var(--ink); }
.foot span + span { color: var(--ink-3); }
.grokcard { display: flex; align-items: center; gap: 12px; margin-left: 34px; padding: 14px 16px; border: 1px solid var(--accent-line);
  border-radius: 16px; background: var(--accent-soft); max-width: 340px; }
.grokcard .lgb { width: 40px; height: 40px; border-radius: 12px; background: #0c0b14; display: grid; place-items: center; }
.grokcard .lgb .lg { width: 20px; height: 20px; color: var(--ink); }
.grokcard b { display: block; font-weight: 600; }
.grokcard small { color: var(--ink-3); font-size: 12.5px; }

/* the live scanner line on a coin page */
.liveline { display: inline-flex; align-items: center; gap: 9px; margin: 18px 0 0; padding: 7px 13px; border-radius: 999px; font-size: 12.8px;
  color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); }
.liveline i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.liveline.on i { background: var(--up); box-shadow: 0 0 0 0 #35d07f80; animation: livepulse 1.8s ease-out infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 #35d07f80; } 100% { box-shadow: 0 0 0 9px #35d07f00; } }
@media (prefers-reduced-motion: reduce) { .liveline.on i { animation: none; } }
.histsum { padding: 12px 4px 8px; font-size: 13.5px; color: var(--ink-3); }
.histsum b { font-weight: 600; }
@media (max-width: 1100px) { .powered { display: none; } }
@media (max-width: 720px) { .grokcard { margin-left: 0; } }
/* the logo sits on its own black ground, inset in its tile so it has air around it */
.brandtile { width: 30px; height: 30px; border-radius: 9px; background: #0a0b21; box-shadow: 0 0 0 1px var(--line-2); display: grid; place-items: center; flex: none; overflow: hidden; }
.brandtile img { width: 80%; height: 80%; object-fit: contain; }
.act.waiting, .act.error { background: var(--surface-2); color: var(--ink-2); }
@media (max-width: 760px) {
  .nav .ca-pill:not(.hidden) { display: flex; order: 6; flex-basis: 100%; justify-content: center; height: 32px; font-size: 12.5px; }
}
.ca-pill { background: var(--surface); }
.ca-pill:hover { border-color: var(--accent-line); box-shadow: 0 0 0 3px var(--accent-soft); }
