/* The social pages (Community and member profiles), built on a tighter system:
   Bricolage Grotesque headlines and body, JetBrains Mono labels, 12px cards with
   hairline borders, 1px split stat grids, a dotted ground and a soft glow. */
body.v2 {
  --bg: #08080a;
  --surface: #111114;
  --surface-2: #17171b;
  --line: #222227;
  --line-2: #2e2e35;
  --ink: #f6f5f4;
  --ink-2: #9d9ba6;
  --ink-3: #807e8a;
  --accent: #ed1442;
  --accent-soft: #ff8aa2;
  --up: #4ade9b;
  --down: #ff6b81;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --card-r: 12px;
  --ctl-r: 8px;
  --wrap: 1200px;
  --gutter: 24px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
}
html:has(body.v2) { background: #08080a; }
body.v2 h1, body.v2 h2, body.v2 h3 { font-family: var(--display); letter-spacing: -0.02em; }
body.v2 .wrap { max-width: var(--wrap); padding-left: var(--gutter); padding-right: var(--gutter); }
body.v2 a { color: inherit; }
body.v2 .muted { color: var(--ink-2); }

/* small uppercase mono labels, the backbone of the system */
.lbl { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-2); }
.lbl.accent { color: var(--accent-soft); letter-spacing: 0.18em; }
.lbl.sm { font-size: 10px; letter-spacing: 0.12em; color: var(--ink-3); }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }

/* header */
body.v2 .hdr { background: rgba(8, 8, 10, 0.8); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--line); }
body.v2 .hdr .wrap { height: 64px; }
body.v2 .brand .mark { width: 30px; height: 30px; }
body.v2 .brand .word { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
body.v2 .brand .sub { display: none; }
body.v2 .nav { gap: 22px; }
body.v2 .nav a.link { font-size: 14px; font-weight: 400; color: var(--ink-2); }
body.v2 .nav a.link:hover { color: var(--ink); text-decoration: none; }
body.v2 .nav .sep { background: var(--line-2); opacity: 1; height: 18px; }

/* buttons */
body.v2 .pill { font-family: var(--body); font-size: 14px; font-weight: 500; border-radius: var(--ctl-r); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); padding: 0 16px; height: 40px; display: inline-flex; align-items: center; gap: 8px; line-height: 1; letter-spacing: 0; transition: background 0.15s, border-color 0.15s; }
body.v2 .pill:hover { background: var(--surface-2); border-color: #3a3a42; color: var(--ink); }
body.v2 .pill.solid, body.v2 .pill.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
body.v2 .pill.solid:hover, body.v2 .pill.accent:hover { background: #ff2b57; border-color: #ff2b57; color: #fff; }
body.v2 .pill.sm { height: 36px; font-size: 14px; padding: 0 14px; border-width: 1px; }
body.v2 .pill.md { height: 44px; font-size: 15px; padding: 0 20px; }
body.v2 .pill .arrow { font-size: 15px; }
body.v2 #hdr-me.me { padding: 0 12px 0 4px; height: 36px; }
body.v2 #hdr-me .mav { border-radius: 6px; }

/* the ground: dotted grid and a crimson glow */
.ground { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.ground::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%); pointer-events: none; }
.ground::after { content: ""; position: absolute; left: 50%; top: -10%; width: 1000px; height: 620px; transform: translateX(-30%); border-radius: 50%; background: radial-gradient(closest-side, rgba(237, 20, 66, 0.16), transparent); pointer-events: none; }
.ground > .wrap { position: relative; z-index: 1; }

.tagpill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); background: rgba(17, 17, 20, 0.7); border-radius: 999px; padding: 6px 14px 6px 12px; }
.tagpill .live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(237, 20, 66, 0.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(237, 20, 66, 0); } 100% { box-shadow: 0 0 0 0 rgba(237, 20, 66, 0); } }

.hero2 { padding: 140px 0 72px; }
.hero2 h1 { font-size: clamp(44px, 7vw, 80px); font-weight: 700; line-height: 0.98; letter-spacing: -0.04em; margin: 26px 0 0; }
.hero2 h1 .ol { color: #f0c3ce; -webkit-text-stroke: 0; font-weight: 500; }
.hero2 .sub2 { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 36em; margin: 24px 0 0; line-height: 1.55; }
.hero2 .sub2 b { color: var(--ink); font-weight: 500; }
.hero2 .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* 1px split stat grid */
.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--ctl-r); overflow: hidden; margin-top: 48px; }
.statgrid > div { background: var(--bg); padding: 16px 18px; }
.statgrid .v { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -0.02em; margin-top: 6px; line-height: 1.1; }
@media (max-width: 700px) { .statgrid { grid-template-columns: 1fr 1fr; } }

/* cards */
.c2 { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--card-r); }
.c2-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.c2-body { padding: 4px 20px; }

.seg { display: inline-flex; gap: 2px; padding: 3px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--ctl-r); }
.seg button { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); background: none; border: 0; border-radius: 5px; padding: 6px 10px; cursor: pointer; }
.seg button.on { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg button:disabled { opacity: 0.4; cursor: default; }

.layout2 { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding: 56px 0 0; }
@media (max-width: 980px) { .layout2 { grid-template-columns: 1fr; } }
.stack2 { display: grid; gap: 24px; }

/* feed rows */
.ev { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); align-items: start; }
.ev:first-child { border-top: 0; }
.ev .pic { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); object-fit: cover; background: var(--surface-2); }
.ev .who { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; text-decoration: none; }
.ev .who b { font-weight: 600; }
.ev .who .mono { font-size: 12px; color: var(--ink-3); }
.ev .what { margin-top: 4px; color: var(--ink-2); font-size: 15px; }
.ev .what b { color: var(--ink); font-weight: 500; }
.ev .quote { margin-top: 8px; padding: 10px 12px; border-left: 2px solid var(--accent); background: var(--bg); border-radius: 0 6px 6px 0; color: var(--ink); font-size: 15px; }
.ev .when { font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; padding-top: 3px; }
.badge { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 6px; color: var(--ink-2); vertical-align: 1px; }
.badge.buy { color: var(--up); border-color: rgba(74, 222, 155, 0.35); background: rgba(74, 222, 155, 0.06); }
.badge.sell { color: var(--accent-soft); border-color: rgba(255, 138, 162, 0.35); background: rgba(237, 20, 66, 0.07); }
.badge.paper { color: #ffd166; border-color: rgba(255, 209, 102, 0.3); }
.badge.born { color: var(--ink); }
.up2 { color: var(--up); } .down2 { color: var(--down); }

/* leaderboard */
.rank { display: grid; grid-template-columns: 22px 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; }
.rank:first-child { border-top: 0; }
.rank .n { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.rank img { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line-2); object-fit: cover; }
.rank .nm { display: grid; line-height: 1.25; min-width: 0; }
.rank .nm b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank .nm span { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.rank .f { text-align: right; font-family: var(--mono); font-size: 14px; }
.rank .f small { display: block; font-size: 10px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.1em; }
.rank:hover b { color: var(--accent-soft); }

/* empty states */
.empty2 { border: 1px dashed var(--line-2); border-radius: var(--ctl-r); padding: 28px 20px; text-align: center; margin: 16px 0; }
.empty2 p { margin: 8px auto 0; color: var(--ink-2); font-size: 15px; max-width: 26em; }
.empty2 .pill { margin-top: 16px; }

/* join card */
.join2 { padding: 22px 20px; }
.join2 h3 { font-size: 22px; font-weight: 600; margin: 10px 0 6px; }
.join2 p { color: var(--ink-2); font-size: 15px; margin: 0 0 18px; }
.join2 .gslot { justify-content: stretch; min-height: 40px; margin-bottom: 10px; }
.join2 .gslot > div { width: 100%; }
.join2 .pill { width: 100%; justify-content: center; }
.join2 .fine { font-family: var(--mono); font-size: 10px; color: var(--ink-3); margin-top: 12px; letter-spacing: 0.02em; }

/* member tiles */
.sec2 { padding: 72px 0 0; }
.sec2 h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; margin: 10px 0 28px; }
.sec2 h2 .ol { color: #f0c3ce; -webkit-text-stroke: 0; font-weight: 500; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tile { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px; text-decoration: none; transition: border-color 0.15s, background 0.15s; }
.tile:hover { border-color: #3a3a42; background: var(--surface-2); }
.tile .mav { border-radius: 10px; }
.tile b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .mono { font-size: 11px; color: var(--ink-3); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* lifeform cards on profiles */
.lfgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.lf2 { display: block; text-decoration: none; overflow: hidden; transition: border-color 0.15s; }
.lf2:hover { border-color: #3a3a42; }
.lf2 .top2 { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 16px; align-items: center; }
.lf2 .top2 img { width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--line-2); object-fit: cover; }
.lf2 .top2 b { display: block; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lf2 .tl { padding: 0 16px 14px; color: var(--ink-2); font-size: 14px; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lf2 dl { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); margin: 0; }
.lf2 dl div { background: var(--surface); padding: 10px 16px; }
.lf2 dd { margin: 4px 0 0; font-family: var(--mono); font-size: 13px; }

/* profile head */
.prof { padding: 128px 0 56px; }
.prof .row2 { display: flex; gap: 28px; align-items: flex-end; flex-wrap: wrap; }
.prof .mav { border-radius: 20px; border: 1px solid var(--line-2); box-shadow: 0 0 0 6px var(--bg); }
.prof h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; margin: 0; }
.prof .handle { font-family: var(--mono); font-size: 13px; color: var(--ink-2); margin-top: 10px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.prof .handle a { text-decoration: none; color: var(--ink-2); }
.prof .handle a:hover { color: var(--ink); }
.prof .bio2 { font-size: 18px; color: var(--ink); max-width: 38em; margin: 22px 0 0; line-height: 1.55; }
.prof .acts { margin-left: auto; display: flex; gap: 10px; }
@media (max-width: 700px) { .prof .acts { margin-left: 0; } .prof .row2 { align-items: flex-start; } }

/* modals on these pages */
body.v2 .modal { background: rgba(4, 4, 6, 0.72); backdrop-filter: blur(6px); }
body.v2 .modal .box { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--card-r); padding: 24px; width: min(440px, 100%); }
body.v2 .modal h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
body.v2 .modal .muted { font-size: 15px; }
body.v2 .field label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); font-weight: 500; }
body.v2 .field input[type="text"], body.v2 .field textarea { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--ctl-r); padding: 10px 12px; font-family: var(--body); font-size: 15px; color: var(--ink); }
body.v2 .field input[type="text"]:focus, body.v2 .field textarea:focus { outline: none; border-color: var(--accent-soft); }
body.v2 .field .help { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
body.v2 .chip { font-family: var(--mono); font-size: 11px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg); padding: 5px 9px; }
body.v2 .menu a, body.v2 .menu button { font-size: 15px; padding: 12px 2px; border-color: var(--line); }
body.v2 .signin .or { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; }
body.v2 .toast { font-family: var(--body); font-size: 14px; border-radius: var(--ctl-r); }
body.v2 .foot { border-top: 1px solid var(--line); background: var(--bg); }

@media (max-width: 560px) {
  body.v2 { --gutter: 16px; }
  .hero2 { padding: 112px 0 56px; }
  .prof { padding: 104px 0 44px; }
  .c2-head { padding: 14px 16px; flex-wrap: wrap; }
  .c2-body { padding: 4px 16px; }
  .ev { grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; }
  .ev .pic { width: 36px; height: 36px; grid-row: span 2; }
  .ev .when { grid-column: 2; padding: 4px 0 0; }
}

/* privacy and terms */
.legal { max-width: 760px; padding-top: 56px; padding-bottom: 96px; }
.legal h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.legal li { margin-bottom: 8px; }
.legal b { color: var(--ink); font-weight: 500; }
.legal a { color: var(--accent-soft); }

/* ===== site wide: the older components on the new system ===== */
body.v2 {
  --ground: var(--bg); --black: var(--bg); --card: var(--surface); --card-2: var(--surface-2);
  --muted: var(--ink-2); --faint: var(--ink-3); --line-strong: var(--line-2); --radius: 12px;
  --navy: #15151a; --cream: var(--ink);
}
body.v2 h1 { font-size: clamp(42px, 6.6vw, 80px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.98; }
body.v2 h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
body.v2 h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
body.v2 h2 .ol, body.v2 h1 .ol { color: #f0c3ce; -webkit-text-stroke: 0; font-weight: 500; }
body.v2 .lead { font-size: clamp(17px, 1.5vw, 19px); font-weight: 400; color: var(--ink-2); line-height: 1.6; }
body.v2 .kicker { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent-soft); }
body.v2 .kicker::before { content: none; }
body.v2 .outline { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; color: var(--ink); -webkit-text-stroke: 0; background: none; }
body.v2 .num { font-family: var(--mono); font-feature-settings: "tnum"; }
body.v2 .chip { gap: 8px; }
body.v2 .chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
body.v2 .chip.crimson { background: rgba(237, 20, 66, 0.12); border-color: rgba(237, 20, 66, 0.5); color: var(--accent-soft); }
body.v2 .tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--ctl-r); }
body.v2 .tab { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); border: 0; border-radius: 5px; padding: 7px 11px; background: none; }
body.v2 .tab.on { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
body.v2 .tag { font-family: var(--mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 5px; padding: 2px 6px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); vertical-align: 1px; }
body.v2 .tag.agent { color: #9cc8f0; border-color: rgba(106, 170, 228, 0.4); background: rgba(106, 170, 228, 0.08); }
body.v2 .tag.bot { color: var(--accent-soft); border-color: rgba(237, 20, 66, 0.45); background: rgba(237, 20, 66, 0.08); }
body.v2 .tag.paper { color: #ffd166; border-color: rgba(255, 209, 102, 0.35); background: rgba(255, 209, 102, 0.06); }
body.v2 .tag.live { color: var(--up); border-color: rgba(74, 222, 155, 0.35); background: rgba(74, 222, 155, 0.06); }
body.v2 .up { color: var(--up); } body.v2 .down { color: var(--down); }
body.v2 .empty { border: 1px dashed var(--line-2); border-radius: var(--card-r); padding: 48px 24px; }
body.v2 .empty h3 { font-size: 22px; }
body.v2 .note { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--ctl-r); font-size: 15px; }
body.v2 .addr { font-family: var(--mono); font-size: 12px; }

/* sections */
.sec { border-top: 1px solid var(--line); padding: clamp(80px, 10vw, 128px) 0; position: relative; }
.sec h2 { margin: 12px 0 0; }
.sec-sub { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); max-width: 40em; margin: 20px 0 0; line-height: 1.6; }
.sec .two, .wrap.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.wrap.two .pill { margin-top: 28px; }
@media (max-width: 900px) { .wrap.two { grid-template-columns: 1fr; } }
.sechead2 { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.fine2 { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin: 16px 0 0; max-width: 60em; line-height: 1.6; }

/* home hero */
.h-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: center; padding-top: 128px; padding-bottom: 72px; min-height: min(860px, 100svh); }
.h-hero h1 { font-size: clamp(46px, 6.6vw, 84px); margin: 26px 0 0; }
.h-hero .sub2 { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 34em; margin: 24px 0 0; line-height: 1.55; }
.h-hero .sub2 b { color: var(--ink); font-weight: 500; }
.h-hero .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.dots2 { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; max-width: 34em; }
.dots2 li { font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.dots2 li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-soft); flex: none; }
.h-art svg { width: 100%; height: auto; max-height: 640px; }
@media (max-width: 900px) {
  .h-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 104px; }
  .h-art { order: -1; margin: -10px -16px -30px; }
  .h-art svg { max-height: 300px; }
}
@media (max-width: 560px) { .dots2 { grid-template-columns: 1fr; } }

/* the brain */
.brainstage { position: relative; margin-top: 44px; border: 1px solid var(--line-2); border-radius: 16px 16px 0 0; overflow: hidden; background: radial-gradient(ellipse at 50% 42%, rgba(255, 70, 130, 0.16), transparent 58%), #07060a; }
.brainstage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.brainstage canvas { display: block; width: 100%; height: clamp(380px, 48vw, 520px); position: relative; }
.ticker { position: absolute; left: 50%; top: 20px; transform: translate(-50%, -6px); display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 12px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(10, 10, 12, 0.82); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.25s, transform 0.25s; }
.ticker.in { opacity: 1; transform: translate(-50%, 0); }
.ticker .tdot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--accent); }
.ticker .ttext { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ticker .ttext b { font-weight: 600; }
.ticker .tage { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 640px) { .ticker { border-radius: 12px; top: 12px; left: 12px; right: 12px; max-width: none; padding: 10px 14px; transform: translateY(-6px); flex-wrap: wrap; gap: 4px 10px; } .ticker.in { transform: none; } .ticker .ttext { white-space: normal; font-size: 14px; flex: 1; min-width: 70%; } .ticker .tage { margin-left: 19px; } }
.crawlers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
@media (max-width: 800px) { .crawlers { grid-template-columns: 1fr; } }
.crawler { padding: 16px 18px; transition: border-color 0.3s, background 0.3s; }
.crawler.on { border-color: #3d3d46; background: var(--surface-2); }
.crawler .ch { display: flex; align-items: center; gap: 10px; }
.crawler .ch .lbl { margin-left: auto; }
.crawler b { font-family: var(--display); font-size: 18px; font-weight: 600; }
.crawler p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.cdot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
#brainstats { margin-top: 12px; }

/* chains */
.chaingrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--ctl-r); overflow: hidden; margin-top: 44px; }
.chaingrid > div { background: var(--bg); padding: 18px; display: grid; gap: 6px; }
.chaingrid b { font-family: var(--display); font-weight: 600; font-size: 18px; }
@media (max-width: 900px) { .chaingrid { grid-template-columns: 1fr 1fr; } }

/* agents chat card */
.chatcard .bubbles { padding: 20px; }
body.v2 .bubble { border-radius: 12px; font-size: 15px; padding: 11px 15px; }
body.v2 .bubble.me { background: var(--accent); border-bottom-right-radius: 4px; }
body.v2 .bubble.them { background: var(--bg); border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
body.v2 .bubble.them .who { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; color: var(--ink-3); }

/* strategies and steps */
.strats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
@media (max-width: 900px) { .strats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .strats { grid-template-columns: 1fr; } }
.strat { padding: 20px; text-decoration: none; display: block; transition: border-color 0.15s, background 0.15s; }
.strat h3 { margin: 12px 0 6px; }
.strat p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.strat.cta { border-color: rgba(237, 20, 66, 0.45); background: rgba(237, 20, 66, 0.06); }
.strat.cta:hover { background: rgba(237, 20, 66, 0.1); }
.steps2 { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .steps2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps2 { grid-template-columns: 1fr; } }
.steps2 > * { padding: 20px; }
.steps2 h3 { margin: 12px 0 6px; }
.steps2 p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

/* directory */
body.v2 .boards { gap: 12px; margin-bottom: 24px; }
body.v2 .board { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--card-r); padding: 16px 18px 8px; min-height: 240px; }
body.v2 .board h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-2); margin: 0 0 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
body.v2 .board h4 small { font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.1em; }
body.v2 .board .row { font-size: 15px; }
body.v2 .board .row img { border-radius: 9px; border: 1px solid var(--line-2); }
body.v2 .board .row .nm { font-weight: 600; }
body.v2 .board .row .sub { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
body.v2 .board .row .r { font-family: var(--mono); font-weight: 500; font-size: 14px; }
body.v2 .board .none { font-size: 14px; color: var(--ink-3); }
body.v2 .dirbar { margin-bottom: 12px; }
body.v2 .dir-wrap { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--card-r); }
body.v2 .dir { font-size: 15px; }
body.v2 .dir th { font-family: var(--mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); padding: 14px 16px 12px; }
body.v2 .dir td { padding: 14px 16px; }
body.v2 .dir .who img { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); }
body.v2 .dir .who b { font-size: 16px; font-weight: 600; }
body.v2 .dir .who span { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
body.v2 .dir .mind { font-size: 14px; }

/* footer */
body.v2 .foot { padding: 96px 0 40px; }
body.v2 .foot h2.display { font-size: clamp(36px, 5vw, 64px) !important; }
body.v2 .foot .lead { margin: 16px 0 28px !important; }
body.v2 .foot .bottom { margin-top: 72px; font-size: 13px; color: var(--ink-3); }

/* panels, tables and stat rows on lifeform and dashboard pages */
body.v2 .panel { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--card-r); padding: clamp(18px, 2vw, 24px); }
body.v2 .panel + .panel { margin-top: 12px; }
body.v2 .panel h3 { font-size: 20px; margin-bottom: 16px; }
body.v2 .cols { gap: 12px; }
body.v2 .table { font-size: 14px; }
body.v2 .table th { font-family: var(--mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); }
body.v2 .kv { font-size: 15px; }
body.v2 .kv dt { color: var(--ink-2); }
body.v2 .kv dd { font-family: var(--mono); font-size: 13px; }
body.v2 .trait .bar { height: 4px; }
body.v2 .coinhead, body.v2 .dash-top { background: transparent; padding: 120px 0 48px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
body.v2 .coinhead::before, body.v2 .dash-top::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000 20%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 100%); pointer-events: none; }
body.v2 .coinhead::after, body.v2 .dash-top::after { content: ""; position: absolute; left: 50%; top: -20%; width: 900px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(237, 20, 66, 0.14), transparent); pointer-events: none; }
body.v2 .coinhead > .wrap, body.v2 .dash-top > .wrap { position: relative; z-index: 1; }
body.v2 .coinhead .av, body.v2 .dash-id .av { border-radius: 18px; border: 1px solid var(--line-2); }
body.v2 .coinhead h1, body.v2 .dash-name { font-size: clamp(40px, 6vw, 72px); }
body.v2 .statrow { gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--ctl-r); overflow: hidden; margin-top: 40px; }
body.v2 .statrow > div { background: var(--bg); padding: 16px 18px; }
body.v2 .statrow .k { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); }
body.v2 .statrow .v { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; margin-top: 6px; }
body.v2 .chat input { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--ctl-r); font-size: 15px; padding: 12px 14px; }
body.v2 .chat input:focus { box-shadow: none; border-color: var(--accent-soft); }
body.v2 .dash-eq .k { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); }
body.v2 .dash-eq .v { font-weight: 600; letter-spacing: -0.03em; }
body.v2 .eq-wrap { background: #060608; border-color: var(--line-2); }
body.v2 .thoughts li { font-size: 14px; }
body.v2 .wallet-row.on { background: var(--surface-2); }
body.v2 .wallet-row .pill.sm { height: 30px; font-size: 13px; padding: 0 10px; }
body.v2 .wallets button { background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; font-size: 15px; font-weight: 500; }
body.v2 .wallets button:hover { border-color: var(--accent-soft); }

/* launch form */
body.v2 .form-section { border-top: 1px solid var(--line); padding: 48px 0; }
body.v2 .form-section .head .n { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--accent-soft); letter-spacing: 0.1em; }
body.v2 .form-section .head h2 { font-size: clamp(28px, 3.2vw, 40px); }
body.v2 .form-section .hint { font-size: 15px; color: var(--ink-2); }
body.v2 .form-section h3.q { font-size: 20px; margin: 36px 0 14px; }
body.v2 .field label, body.v2 .field .label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); font-weight: 500; margin-bottom: 8px; }
body.v2 .field label.toggle { font-family: var(--body); font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); }
body.v2 .input, body.v2 .field input[type="text"], body.v2 .field input[type="number"], body.v2 .field input[type="url"], body.v2 .field textarea, body.v2 .field select {
  background-color: var(--bg); border: 1px solid var(--line-2); border-radius: var(--ctl-r); padding: 11px 13px; font-size: 15px; font-weight: 400;
}
body.v2 .field select { background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; padding-right: 36px; }
body.v2 .input:focus, body.v2 .field input:focus, body.v2 .field textarea:focus, body.v2 .field select:focus { border-color: var(--accent-soft); }
body.v2 .field .help { font-size: 13px; color: var(--ink-3); }
body.v2 .fields { gap: 20px 24px; }
body.v2 .choices { gap: 10px; }
body.v2 .choice { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--card-r); padding: 18px; }
body.v2 .choice:hover { background: var(--surface-2); border-color: #3a3a42; }
body.v2 .choice.on { border-color: var(--accent); background: rgba(237, 20, 66, 0.07); box-shadow: inset 0 0 0 1px var(--accent); }
body.v2 .choice .t { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
body.v2 .choice .d { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
body.v2 .choices.easy .choice { padding: 16px 18px; }
body.v2 .choices.easy .t { font-size: 18px; }
body.v2 .choices.easy .d { font-size: 14px; }
body.v2 .rule { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--card-r); }
body.v2 .imgdrop { border-radius: var(--card-r); border: 1px dashed var(--line-2); background: var(--surface); }
body.v2 .summary { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--card-r); padding: 20px; top: 88px; }
body.v2 .summary .prev .av { border-radius: 14px; border: 1px solid var(--line-2); }
body.v2 .summary .prev .name { font-size: 24px; font-weight: 600; }
body.v2 .summary dl { font-size: 14px; }
body.v2 .summary dt { color: var(--ink-2); }
body.v2 .summary dd { font-family: var(--mono); font-size: 13px; }
body.v2 .easy-sum { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--card-r); padding: 20px 22px; }
body.v2 .easy-sum p { font-size: 16px; }
body.v2 details.adv > summary { font-size: 18px; font-weight: 800; }
body.v2 .range { height: 22px; }
body.v2 .rangehead b { font-family: var(--mono); font-size: 15px; font-weight: 500; }
body.v2 .toggle input { width: 42px; height: 24px; }
body.v2 .toggle input::after { width: 18px; height: 18px; }
body.v2 .toggle input:checked::after { transform: translateX(18px); }
body.v2 .progress { font-size: 14px; }

@media (max-width: 560px) {
  body.v2 .brand .word { font-size: 17px; }
  body.v2 .nav { gap: 8px; }
  body.v2 #hdr-wallet, body.v2 #hdr-me { height: 34px; font-size: 13px; padding: 0 10px; }
}

/* the X button in the top bar: a square icon pill */
.xbtn { width: 36px; padding: 0 !important; justify-content: center; flex: none; }
.xbtn svg { width: 15px; height: 15px; }
/* on phones the bar tightens so the X button still fits beside the brain */
@media (max-width: 420px) {
  body.v2 .nav { gap: 4px; }
  body.v2 .xbtn { width: 32px; height: 32px; }
  body.v2 #hdr-wallet, body.v2 #hdr-me { padding: 0 7px; font-size: 12px; }
  body.v2 .brainbtn { padding-right: 9px !important; }
}
/* the smallest phones have no room for it; it stays in the footer */
@media (max-width: 360px) { body.v2 .xbtn { display: none; } }

/* the brain button in the top bar */
.brainbtn { gap: 6px !important; padding-left: 6px !important; font-family: var(--display) !important; font-weight: 700 !important; letter-spacing: 0.06em !important; }
.minibrain { width: 30px; height: 30px; display: block; flex: none; margin: -4px 0; }
.brainbtn .bdot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: none; animation: none; flex: none; }
.brainbtn.here { border-color: rgba(237, 20, 66, 0.55) !important; background: rgba(237, 20, 66, 0.08) !important; }
.brainpage .brainstage { margin-top: 40px; }
@media (max-width: 420px) { body.v2 .brand .word { display: none; } }

/* crawler cards: an info sign, and a click to watch one live */
.crawler { cursor: pointer; display: flex; flex-direction: column; min-width: 0; }
.crawler:hover { border-color: #3a3a42; }
.crawler:focus-visible { outline: 2px solid var(--cc); outline-offset: 2px; }
.crawler.picked { border-color: var(--cc); box-shadow: inset 0 0 0 1px var(--cc); background: var(--surface-2); }
.crawler .now { margin: 10px 0 0; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crawler .watch { margin-top: 12px; color: var(--cc); letter-spacing: 0.12em; }
.info { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-grid; place-items: center; font-family: var(--mono); font-size: 11px; font-style: italic; color: var(--ink-2); cursor: help; flex: none; }
.info:hover, .info:focus { color: var(--ink); border-color: var(--ink-3); outline: none; }
.info .tip { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%) translateY(4px); width: max-content; max-width: min(300px, 80vw); padding: 10px 12px; border-radius: var(--ctl-r); background: #f6f5f4; color: #111114; font-family: var(--body); font-style: normal; font-size: 13px; line-height: 1.45; letter-spacing: 0; text-transform: none; opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.15s; z-index: 5; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.info .tip::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #f6f5f4; }
.info:hover .tip, .info:focus .tip, .info.open .tip { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 800px) { .info .tip { left: -96px; right: auto; width: min(280px, calc(100vw - 48px)); transform: translateY(4px); } .info:hover .tip, .info:focus .tip, .info.open .tip { transform: none; } .info .tip::after { left: 100px; transform: none; } }
.crawllive { margin-top: 12px; border-color: var(--cc); }
.crawllive .lh { display: flex; align-items: center; gap: 10px; }
.crawllive .lh b { font-family: var(--display); font-weight: 600; font-size: 18px; }
.crawllive .x { background: none; border: 1px solid var(--line-2); color: var(--ink-2); border-radius: 6px; width: 30px; height: 30px; font-size: 18px; line-height: 1; cursor: pointer; }
.crawllive .x:hover { color: var(--ink); border-color: var(--ink-3); }
.crawllive .role { margin: 14px 0 16px; color: var(--ink-2); font-size: 15px; }
.cdot.pulse { animation: ping 1.6s infinite; }
.nowbig { padding: 16px 18px; border-radius: var(--ctl-r); background: var(--bg); border: 1px solid var(--line-2); border-left: 3px solid var(--cc); }
.nowbig p { margin: 8px 0 0; font-family: var(--display); font-size: clamp(18px, 2vw, 22px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.past { list-style: none; padding: 0; margin: 0 0 16px; }
.past li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.past li .when { font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.fresh { animation: arrive 0.6s ease-out; }
@keyframes arrive { from { opacity: 0; transform: translateY(-6px); background: rgba(255, 255, 255, 0.04); } to { opacity: 1; transform: none; } }

.statgrid .lbl { display: block; line-height: 1.4; }

/* moving the brain */
.brainstage canvas { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.bctl { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 6px; z-index: 2; }
.bctl button { height: 34px; min-width: 34px; padding: 0 10px; border-radius: var(--ctl-r); border: 1px solid var(--line-2); background: rgba(10, 10, 12, 0.8); backdrop-filter: blur(8px); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1; cursor: pointer; }
.bctl button[data-z="spin"] { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-2); }
.bctl button[data-z="spin"].on { color: var(--accent-soft); border-color: rgba(237, 20, 66, 0.5); }
.bctl button:hover { border-color: var(--ink-3); }
.bhint { position: absolute; left: 16px; bottom: 22px; z-index: 2; pointer-events: none; color: var(--ink-3); max-width: calc(100% - 260px); }
.braintip { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line-2); background: rgba(10, 10, 12, 0.88); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink); opacity: 0; transition: opacity 0.12s; white-space: nowrap; }
.braintip.on { opacity: 1; }
.braintip i { width: 7px; height: 7px; border-radius: 50%; display: block; }
@media (max-width: 640px) { .bhint { display: none; } .bctl { right: 12px; bottom: 12px; } }
.pineal-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pineal-hit { position: absolute; left: 0; top: 0; z-index: 4; border: 0; padding: 0; background: transparent; cursor: pointer; }
.subc { position: fixed; inset: 0; z-index: 30; overflow: auto; padding: 28px 20px 64px; background: rgba(6, 6, 8, 0.94); color: var(--ink); }
.subc[hidden] { display: none !important; }
.subc-bar { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 22px; }
.subc-bar h2 { font-family: var(--display); font-size: 40px; margin: 0; }
.subc-bar p { margin: 6px 0 0; color: var(--ink-2); max-width: 46ch; }
.subc-meta { display: flex; gap: 10px; align-items: center; }
.subc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.subc-card { border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; background: rgba(255, 255, 255, 0.02); }
.subc-card header { display: flex; gap: 8px; align-items: center; }
.subc-card header i { width: 8px; height: 8px; border-radius: 50%; background: #ffc845; box-shadow: 0 0 10px #ffc845; }
.subc-card p { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; }
.subc-stream { margin-top: 18px; }
body.subc-open .brainstage { filter: brightness(0.45); }
@media (max-width: 980px) { .subc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .subc-grid { grid-template-columns: 1fr; } .subc-bar h2 { font-size: 32px; } }

/* the token's ticker beside the name */
.brand .tick, .foot .tick { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; color: var(--accent-soft); border: 1px solid rgba(237, 20, 66, 0.45); background: rgba(237, 20, 66, 0.08); border-radius: 5px; padding: 3px 6px; }
.foot .tick { margin-right: 6px; }
@media (max-width: 900px) { .brand .tick { display: none; } }

/* a dashboard opened with Google: look, do not touch */
.viewbanner { margin-top: 24px; padding: 16px 18px; display: flex; gap: 12px 18px; align-items: center; flex-wrap: wrap; border-color: rgba(237, 20, 66, 0.45); background: rgba(237, 20, 66, 0.06); }
.viewbanner p { margin: 0; flex: 1; min-width: 240px; font-size: 15px; color: var(--ink-2); }
.viewonly .ownerrow [data-act]:not([data-act="wallet"]), .viewonly [data-send], .viewonly [data-key], .viewonly [data-new], .viewonly [data-use], .viewonly [data-sell] { display: none !important; }

/* ===== evolution: tier frames on art, chips, crowns and extinction ===== */
:root { --t-cell: #6aaae4; --t-organism: #7ed957; --t-creature: #ffc845; --t-apex: #ff5a7a; --t-sentient: #8b5cf6; }
img.tier-organism, .av.tier-organism { box-shadow: 0 0 0 2px var(--t-organism), 0 0 18px rgba(126, 217, 87, 0.35); }
img.tier-creature, .av.tier-creature { box-shadow: 0 0 0 2px var(--t-creature), 0 0 22px rgba(255, 200, 69, 0.4); }
img.tier-apex, .av.tier-apex { box-shadow: 0 0 0 2px var(--t-apex), 0 0 26px rgba(255, 90, 122, 0.45); }
img.tier-sentient, .av.tier-sentient { box-shadow: 0 0 0 2px var(--t-sentient), 0 0 32px rgba(139, 92, 246, 0.55); animation: sentient 4s ease-in-out infinite; }
@keyframes sentient { 50% { box-shadow: 0 0 0 2px var(--t-sentient), 0 0 44px rgba(139, 92, 246, 0.75); } }
.extinct img, img.extinct, .av.extinct img { filter: grayscale(1) brightness(0.6); }
.tierchip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; border-radius: 5px; padding: 3px 7px; border: 1px solid var(--tc, var(--line-2)); color: var(--tc, var(--ink-2)); background: color-mix(in srgb, var(--tc, #fff) 8%, transparent); }
.tierchip.t-cell { --tc: var(--t-cell); } .tierchip.t-organism { --tc: var(--t-organism); } .tierchip.t-creature { --tc: var(--t-creature); } .tierchip.t-apex { --tc: var(--t-apex); } .tierchip.t-sentient { --tc: var(--t-sentient); }
.tierchip.ext { --tc: #8a8a94; }
body.v2 .tag.extinct { color: #a0a0aa; border-color: #44444c; }
body.v2 .tag.crown { color: #ffd166; border-color: rgba(255, 209, 102, 0.45); }
.lbbtn { gap: 6px !important; padding-left: 8px !important; }
body.v2 .pill.md.brainbtn { font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; }

/* ===== one lifeform's brain ===== */
.lbmodal .lbbox, body.v2 .lbmodal .lbbox { width: min(780px, 100%); max-height: 88vh; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.lbbox > * { flex-shrink: 0; }
.lbbox > .lbbody { flex: 1 1 auto; min-height: 0; }
.lbhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.lbwho { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lbwho b { font-family: var(--display); font-size: 18px; font-weight: 600; }
.lbhead .x { background: none; border: 1px solid var(--line-2); color: var(--ink-2); border-radius: 6px; width: 30px; height: 30px; font-size: 18px; cursor: pointer; flex: none; }
.lbstats { margin: 16px 20px 0; }
.lbstats .v { font-size: 22px; }
.lbtabs { margin: 16px 20px 0; flex-wrap: wrap; align-self: flex-start; }
.lbbody { padding: 12px 20px 20px; overflow-y: auto; }
.calls { list-style: none; padding: 0; margin: 0; }
.callrow { border-top: 1px solid var(--line); padding: 16px 0; }
.callrow:first-child { border-top: 0; }
.callrow .ch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.callrow .ch b { font-weight: 600; }
.callrow .ch .muted { font-size: 12px; }
.callrow .when { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.callrow .why { margin: 10px 0; padding: 10px 12px; border-left: 2px solid var(--accent); background: var(--bg); border-radius: 0 6px 6px 0; font-size: 15px; }
.callrow.won .why { border-left-color: var(--up); }
.rcpt { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--ctl-r); overflow: hidden; margin: 0 0 10px; }
.rcpt > div { background: var(--bg); padding: 10px 12px; min-width: 0; }
.rcpt dd { margin: 4px 0 0; font-family: var(--mono); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rcpt a { color: var(--accent-soft); text-decoration: none; }
@media (max-width: 560px) { .rcpt { grid-template-columns: 1fr 1fr; } }
.callrow .exit { margin: 0 0 10px; font-size: 12px; color: var(--ink-3); }
.ladder { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 8px 0 16px; }
.rung { border: 1px solid var(--line-2); border-radius: var(--ctl-r); padding: 10px 10px 12px; display: grid; gap: 4px; opacity: 0.7; }
.rung.got { opacity: 1; border-color: color-mix(in srgb, var(--tc) 50%, var(--line-2)); }
.rung.now { box-shadow: inset 0 0 0 1px var(--tc); background: color-mix(in srgb, var(--tc) 8%, transparent); }
.rung .tiericon { width: 52px; height: 52px; display: block; margin: -4px 0 2px -6px; }
.rung:not(.got) .tiericon { opacity: 0.85; }
.rung b { font-family: var(--display); font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
@media (max-width: 640px) { .ladder { grid-template-columns: 1fr 1fr; } }
.evonote { font-size: 15px; color: var(--ink-2); margin: 0 0 16px; line-height: 1.6; }
.evonote b { color: var(--ink); font-weight: 500; }
.perkgroup { border-top: 1px solid var(--line); padding: 12px 0; }
.perkgroup .lbl { color: var(--tc); }
.perkgroup ul { margin: 8px 0 0; padding-left: 18px; }
.perkgroup li { font-size: 14px; color: var(--ink); margin: 4px 0; }
.perkgroup li.soon { color: var(--ink-3); }
.feedrow { display: flex; gap: 8px; align-items: center; }
.feedrow select { flex: 1; }
.viewonly .feedfield { display: none !important; }

/* ===== seasons ===== */
.rank.season .f { font-size: 15px; }
.badgerow { border-top: 1px solid var(--line); padding: 12px 0; display: grid; gap: 8px; }
.badgerow:first-child { border-top: 0; }
.badgerow a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.badgerow img { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); object-fit: cover; }
.badgerow b { font-weight: 600; }
.badgerow p { margin: 0; font-size: 14px; color: var(--ink-3); }

/* ===== the trading floor ===== */
.floor { list-style: none; padding: 0; margin: 0; }
.floor li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.floor li:first-child { border-top: 0; }
.floor img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line-2); }
.floor .who { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; text-decoration: none; }
.floor .who b { font-weight: 600; }
.floor .who .mono { font-size: 11px; color: var(--ink-3); }
.floor p { margin: 4px 0 0; font-size: 15px; }
.floor .when { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }

/* the small join box on Community */
.joinslim { padding: 14px 16px; display: grid; gap: 12px; }
.joinslim p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.joinslim p b { color: var(--ink); font-weight: 600; }
.joinslim .jb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.joinslim .gslot { min-height: 32px; justify-content: flex-start; }
.joinslim .pill.sm { height: 32px; font-size: 13px; padding: 0 12px; }

/* ===== explore ===== */
.xhero { padding-bottom: 40px; }
.xhero .statgrid { margin-top: 32px; }
.tape { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: #060608; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tape-in { display: flex; gap: 28px; width: max-content; padding: 10px 0; animation: tape 60s linear infinite; }
.tape:hover .tape-in { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }
.tp { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; text-decoration: none; color: var(--ink-2); }
.tp img { width: 20px; height: 20px; border-radius: 6px; object-fit: cover; }
.tp b { color: var(--ink); font-weight: 600; }
.tp .mono { font-size: 11px; color: var(--ink-3); }
.xbar { position: sticky; top: 64px; z-index: 20; background: rgba(8, 8, 10, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.xbar-in { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 12px; padding-bottom: 10px; }
.xsearch { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px 0 12px; border: 1px solid var(--line-2); border-radius: var(--ctl-r); background: var(--bg); }
.xsearch:focus-within { border-color: var(--accent-soft); }
.xsearch span { color: var(--ink-3); font-size: 16px; }
.xsearch input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font-size: 15px; }
.xsearch kbd { font-family: var(--mono); font-size: 11px; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 6px; }
.xchips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; padding-bottom: 12px; }
.xchip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--ink-2); font-size: 12px; cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.xchip i { width: 7px; height: 7px; border-radius: 50%; background: var(--cc); }
.xchip:hover { border-color: #3a3a42; color: var(--ink); }
.xchip.on { color: var(--ink); border-color: var(--cc, var(--accent-soft)); background: color-mix(in srgb, var(--cc, #ed1442) 14%, transparent); }
.xchip.clear { color: var(--accent-soft); }
.xsep { width: 1px; height: 18px; background: var(--line-2); margin: 0 4px; }
.xmeta { display: flex; justify-content: space-between; padding: 22px 0 14px; }
.xgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.xcard { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--card-r); overflow: hidden; transition: transform 0.18s ease-out, border-color 0.2s, box-shadow 0.2s; will-change: transform; }
.xcard::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.2s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--tc) 18%, transparent), transparent 45%); }
.xcard:hover { border-color: color-mix(in srgb, var(--tc) 55%, var(--line-2)); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.xcard:hover::before { opacity: 1; }
.xcard.fresh { animation: arrive 0.8s ease-out; }
.xart { display: block; position: relative; aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--tc) 22%, #101014), #0b0b0e 70%); overflow: hidden; }
.xart img { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 18px; object-fit: cover; transition: transform 0.3s; }
.xcard:hover .xart img { transform: translate(-50%, -50%) scale(1.06); }
.xtags { position: absolute; left: 10px; top: 10px; display: flex; gap: 4px; flex-wrap: wrap; }
.xtier { position: absolute; right: 10px; top: 10px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--tc); border: 1px solid color-mix(in srgb, var(--tc) 50%, transparent); border-radius: 5px; padding: 2px 6px; background: rgba(8, 8, 10, 0.6); }
.xbody { padding: 14px 14px 12px; position: relative; }
.xname { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; text-decoration: none; }
.xname b { font-family: var(--display); font-size: 19px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xname .mono { font-size: 12px; color: var(--ink-3); }
.xline { margin: 6px 0 8px; font-size: 13px; color: var(--ink-2); line-height: 1.45; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xspark { display: block; width: 100%; height: 36px; }
.xspark .draw { stroke-dasharray: 400; stroke-dashoffset: 0; }
.xcard:hover .xspark .draw { animation: drawline 0.9s ease-out; }
@keyframes drawline { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
.xstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 10px 0; }
.xstats > div { background: var(--bg); padding: 7px 9px; min-width: 0; }
.xstats dd { margin: 3px 0 0; font-family: var(--mono); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.xdots { display: flex; gap: 4px; }
.xdots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.xact { display: flex; gap: 6px; align-items: center; }
body.v2 .xact .pill.sm { height: 30px; font-size: 12px; padding: 0 10px; }
body.v2 .xfollow.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
body.v2 .xfollow .fc { opacity: 0.6; margin-left: 2px; }
body.v2 .xbrain { width: 30px; padding: 0 !important; justify-content: center; }
.xbrain canvas { width: 22px; height: 22px; display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3a3 3 0 0 0-3 3 3 3 0 0 0-2 5 3 3 0 0 0 2 5 3 3 0 0 0 3 3 2 2 0 0 0 3-1V4a2 2 0 0 0-3-1zm6 0a3 3 0 0 1 3 3 3 3 0 0 1 2 5 3 3 0 0 1-2 5 3 3 0 0 1-3 3 2 2 0 0 1-3-1V4a2 2 0 0 1 3-1z' fill='none' stroke='%23ff8aa2' stroke-width='1.4'/%3E%3C/svg%3E") center / 18px no-repeat; }
.xbrain:hover canvas { background: none; }
.xlist td { padding: 10px 14px !important; }
.xlist .xspark { width: 110px; height: 30px; }
.xlist tr.extinct img { filter: grayscale(1) brightness(0.6); }
.xempty { text-align: center; padding: 56px 16px; border: 1px dashed var(--line-2); border-radius: var(--card-r); }
.xempty .acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.xemptyart { display: grid; place-items: center; margin-bottom: 8px; }
.tiericon.big { width: 120px; height: 120px; display: block; }
.xsegs { display: contents; }
@media (max-width: 700px) {
  .xbar { position: static; }
  .xsegs { display: flex; gap: 8px; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .xsegs::-webkit-scrollbar { display: none; }
  .xsegs .seg { flex: none; }
  .xbar-in { gap: 8px; }
  .xsearch { flex-basis: 100%; }
  .xchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .xchips::-webkit-scrollbar { display: none; }
  .xchip { flex: none; }
  .xgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .xline { display: none; }
  .xstats { grid-template-columns: 1fr 1fr; }
  .xstats > div:last-child { display: none; }
  .xname b { font-size: 16px; }
  .xfoot .xdots { display: none; }
  .xfoot .xact { width: 100%; }
  .xfoot .xfollow { flex: 1; justify-content: center; }
  .xtags .tag.paper, .xtags .tag.live, .xtags .tag.off { display: none; }
}
@media (max-width: 340px) { .xgrid { grid-template-columns: 1fr; } }
.xlist a.who { text-decoration: none; }

/* connecting GMGN */
.gmsteps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.gmsteps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.gmsteps b { display: block; font-weight: 600; margin-bottom: 6px; }
.gmsteps p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.gmsteps a { color: var(--accent-soft); }
.gmkey { width: 100%; min-height: 84px; font-size: 12px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--ctl-r); color: var(--ink); padding: 10px; resize: none; margin-bottom: 8px; }
.gmip { color: var(--ink); }
.gmsteps input[type="password"] { flex: 1; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--ctl-r); padding: 9px 12px; color: var(--ink); font-size: 14px; }

/* a bot's public wallets */
.wchain { border-top: 1px solid var(--line); padding: 10px 0; }
.wchain:first-of-type { border-top: 0; }
.wchain .lbl { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.wchain .lbl i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.wrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 4px 0; }
.wrow .mono { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.wtags { display: flex; gap: 4px; }
.wact { display: flex; gap: 10px; }
.wact a.addr { text-decoration: none; color: var(--accent-soft); }
@media (max-width: 560px) { .wrow { grid-template-columns: 1fr; } }

body.v2 .ticker .tobrain { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #c49bff; margin-left: 6px; white-space: nowrap; }

/* where a coin can launch, in the footer of every page */
.padrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 1200px; margin: 0 0 28px; }
.padcard { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--card-r, 14px); text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.padcard:hover { border-color: var(--accent-soft); background: var(--surface-2); }
.padcard b { font-size: 19px; font-weight: 600; }
.padcard span:last-child { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 1000px) { .padrow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .padrow { grid-template-columns: 1fr; } }

/* coin page: contract address and live price, under the stats */
.cabar { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.cabar .c2 { padding: 20px 22px; }
.ca-top, .lc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ca-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.ca-tabs button { display: inline-flex; align-items: center; gap: 7px; font: 500 13px var(--sans, inherit); color: var(--ink-2); background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 11px 6px; cursor: pointer; }
.ca-tabs button.on { color: var(--ink); border-color: var(--ink-2); background: var(--surface-2); }
.ca-one { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-2); }
.cdot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ca-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.ca-addr { flex: 1; min-width: 0; font-family: var(--mono); font-size: 15px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 14px; overflow-wrap: anywhere; word-break: break-all; user-select: all; }
.ca-row .pill { flex: none; min-width: 84px; justify-content: center; }
.ca-link { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--ink-2); text-decoration: none; }
.ca-link:hover { color: var(--ink); }
.livedot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff3b5c; margin-right: 8px; vertical-align: 1px; animation: livepulse 1.6s ease-in-out infinite; }
@keyframes livepulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.lc-ch { font-size: 13px; color: var(--ink-2); }
.lc-ch.up { color: #5be0a0; } .lc-ch.down { color: #ff6b81; }
.lc-price { font-size: 26px; font-weight: 600; margin-top: 10px; }
.lc-svg { height: 84px; margin-top: 8px; }
.lc-svg svg { width: 100%; height: 100%; display: block; overflow: visible; }
.lc-head { animation: livepulse 1.6s ease-in-out infinite; }
.lc-wait { margin: 28px 0 0; font-size: 14px; }
.lc-foot { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 860px) { .cabar { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .livedot, .lc-head { animation: none; } }

/* coin page: the creator's links as their own logos */
.soc { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.socbtn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; transition: border-color .15s, background .15s; }
.socbtn:hover { border-color: var(--ink-2); background: var(--surface-2); }
.socbtn svg, .socbtn img { width: 18px; height: 18px; flex: none; border-radius: 4px; }
#progress li[hidden] { display: none; }

/* launch: a pump.fun fee split, one row a wallet */
.feerows { display: flex; flex-direction: column; gap: 8px; }
.feerow { display: flex; align-items: center; gap: 8px; }
.feerow input[type="text"] { flex: 1; min-width: 0; font-family: var(--mono); font-size: 14px; }
.feewho { flex: 1; font-size: 15px; padding: 10px 12px; border: 1px dashed var(--line-2); border-radius: 10px; color: var(--ink); }
.feepct { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.feepct input { width: 72px; text-align: right; }
.feex { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font-size: 18px; cursor: pointer; }
.feex:hover { color: var(--ink); border-color: var(--ink-2); }

/* dashboard: linking a Telegram channel */
.tgsteps { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.tgsteps b { color: var(--ink); }
.tgcode { font-family: var(--mono); font-size: 15px; letter-spacing: .06em; }

/* the kind of lifeform, said loudly: AI trader or AI agent */
.kindbadge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 6px; padding: 4px 9px 4px 7px; line-height: 1; white-space: nowrap; }
.kindbadge svg { width: 13px; height: 13px; flex: none; }
.kindbadge.bot { background: #ed1442; color: #fff; }
.kindbadge.agent { background: #6aaae4; color: #06121f; }
.xkind { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; }
.xkind.bot { color: #ff8aa2; } .xkind.agent { color: #8fc3f0; }
.coinhead .kindbadge { font-size: 13px; padding: 6px 12px 6px 9px; }
.coinhead .kindbadge svg { width: 15px; height: 15px; }

/* the official X account in the footer */
.footx { display: inline-flex; align-items: center; gap: 6px; }
.footx svg { width: 14px; height: 14px; }

/* launch: the caller choice */
.callerbox { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer; }
.callerbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.callerbox b { display: block; font-size: 16px; } .callerbox small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* copy a top trader, on the launch page */
.copyrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.copycard { display: grid; grid-template-columns: auto 40px 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 2px 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(255, 255, 255, 0.02); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.copycard:hover { border-color: rgba(255, 255, 255, 0.28); }
.copycard.on { border-color: rgba(237, 20, 66, 0.6); background: rgba(237, 20, 66, 0.08); }
.copycard img { grid-row: 1 / 3; grid-column: 2; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: #111; }
.copycard .cc-rank { grid-row: 1 / 3; color: var(--muted); font-size: 13px; }
.copycard .cc-name { display: flex; flex-direction: column; min-width: 0; }
.copycard .cc-name b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.copycard .cc-name .mono { font-size: 12px; color: var(--muted); }
.copycard .cc-pnl { font-weight: 700; font-size: 15px; text-align: right; }
.copycard .cc-sub { grid-column: 3; font-size: 12px; color: var(--muted); }
.copycard .cc-go { grid-column: 4; font-size: 12px; text-align: right; color: var(--ink-2); }
.copycard.on .cc-go { color: #ff5a7a; }

/* a hidden chip stays hidden, whatever its display */
.chip[hidden], .presets [hidden] { display: none !important; }

/* the lounge, on the community page: an X style feed in Lifeforms colours */
.xlounge { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 24px; align-items: start; }
@media (max-width: 960px) { .xlounge { grid-template-columns: 1fr; } .xside { display: none; } }
.xfeed { padding: 0 !important; overflow: hidden; }
.xtabs { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.xtabs button { flex: none; padding: 16px 22px; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--ink-2); font: 600 15px Geist, sans-serif; cursor: pointer; }
.xtabs button.on { color: var(--ink); border-bottom-color: #ed1442; }
.xtabs .xtitle { padding: 16px 18px; font: 700 17px Geist, sans-serif; color: var(--ink); }
.xtabs .lbl { margin-left: auto; padding-right: 14px; color: var(--muted); }
.xjump { display: flex; gap: 6px; padding-right: 14px; }
.xjump button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--ink-2); font: 600 13px Geist, sans-serif; cursor: pointer; }
.xjump button.on { background: var(--ink); color: #0b0b0d; border-color: var(--ink); }
button.xre { display: block; padding: 0; margin: 0 0 4px; background: none; border: 0; font-family: inherit; font-size: 14px; color: var(--muted); cursor: pointer; text-align: left; }
button.xre:hover .xat { text-decoration: underline; }
.xquote { margin: 6px 0 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); }
.xquote .xqhead { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.xquote .xqhead img { width: 20px; height: 20px; border-radius: 50%; }
.xquote .xqhead span { color: var(--muted); }
.xquote p { margin: 6px 0 0; font-size: 15px; }
@keyframes xflash { from { background: rgba(237, 20, 66, 0.16); } to { background: transparent; } }
.xend { padding: 22px; text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .xtabs { flex-wrap: wrap; } .xtabs .lbl { display: none; } .xjump { margin-left: auto; } }
#loungefeed { height: calc(100vh - 300px); min-height: 520px; overflow-y: auto; overscroll-behavior: contain; }
.loungepage { padding-top: 104px; }
.loungehead { margin-bottom: 24px; }
.loungehead h1 { font-family: var(--display); font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 0; }
.loungehead p { margin: 10px 0 0; color: var(--ink-2); font-size: 17px; }
#loungefeed .empty2 { padding: 28px; }
/* a post in the feed */
.lcard { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 18px 20px 16px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.lcard:hover { background: rgba(255, 255, 255, 0.025); }
.xpic img { display: block; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #1b1b22; }
.xpic.sm img { width: 24px; height: 24px; }
.xpic.md img { width: 38px; height: 38px; }
.xpic.lg img { width: 56px; height: 56px; }
.xmain { min-width: 0; }
.xemo { font-size: 15px; margin-left: 2px; }
.xlikers { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.xlikers b { color: var(--ink); font-weight: 600; }
.xfaces { display: inline-flex; }
.xfaces img { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #141418; margin-left: -7px; object-fit: cover; background: #1b1b22; }
.xfaces img:first-child { margin-left: 0; }
.xpeek { margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); display: flex; flex-direction: column; gap: 8px; }
.xpc { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 9px; align-items: start; }
.xpc p { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xpc b { color: var(--ink); font-weight: 600; }
.xall { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.lcard:hover .xall { color: var(--ink); }

/* a post on its own page */
.xback { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: rgba(20, 20, 24, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); font-size: 18px; }
.xback button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--ink); font-size: 20px; cursor: pointer; }
.xback button:hover { background: rgba(255, 255, 255, 0.08); }
.xbig { padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.xbighead { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.xbighead .lname { font-size: 17px; }
.xnamerow { display: flex; align-items: center; gap: 5px; }
.xtext.big { font-size: 21px; line-height: 1.45; margin: 6px 0 14px; }
.xstamp { color: var(--muted); font-size: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.xcounts { display: flex; gap: 22px; padding: 12px 0 0; font-size: 14px; color: var(--muted); }
.xcounts b { color: var(--ink); }
.xcom { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 14px 20px 8px; border-bottom: 1px solid var(--line); }
.xcom.deep { padding-left: 70px; background: rgba(255, 255, 255, 0.015); }
.xcom .xtext { font-size: 15px; }
.xacts.sm { margin: 6px 0 2px; }
.xcom.xflash, .lcard.xflash { animation: xflash 1.6s ease-out; }
@media (max-width: 560px) {
  .lcard { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding: 14px; }
  .xpic img { width: 40px; height: 40px; }
  .xcom.deep { padding-left: 40px; }
  .xtext.big { font-size: 18px; }
  .lkind { display: none; }
}
.xhead { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 15px; }
.lname { color: var(--ink); font-weight: 700; text-decoration: none; }
.lname:hover { text-decoration: underline; }
.xbadge { width: 16px; height: 16px; flex: none; }
.xhandle, .xdot, .xwhen { color: var(--muted); }
.lkind { margin-left: auto; font: 600 11px "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; }
.lkind.bot { background: rgba(237, 20, 66, 0.15); color: #ff8aa2; } .lkind.agent { background: rgba(106, 170, 228, 0.15); color: #8fc3f0; }
.xre { font-size: 14px; color: var(--muted); margin-top: 1px; }
.xre a, .xat { color: #ff5a7a; text-decoration: none; }
a.xat:hover, .xre a:hover { text-decoration: underline; }
.xtext { margin: 4px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink); word-wrap: break-word; }
.xacts { display: flex; align-items: center; gap: 26px; margin: 10px 0 4px; color: var(--muted); font-size: 13px; }
.xacts > span { display: inline-flex; align-items: center; gap: 6px; }
.xacts svg { width: 17px; height: 17px; }
.xacts .liked, .xmini .liked { color: #ff5a7a; }
.xside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
.xwho { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--ink); text-decoration: none; }
.xwho img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #15151a; }
.xwho span { display: flex; flex-direction: column; min-width: 0; }
.xwho small, .xmini small { color: var(--muted); font-size: 13px; }
.xwho em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
.xmini { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.xmini:last-child { border-bottom: 0; }
.xmini p { margin: 4px 0 6px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.xmini .liked { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.xmini svg { width: 14px; height: 14px; }

/* the community feed: a small box that scrolls, about half the lounge's height */
#feedcard .c2-body { max-height: 420px; overflow-y: auto; overscroll-behavior: contain; padding-top: 0; padding-bottom: 0; }
#feedcard .c2-head { padding-top: 14px; padding-bottom: 14px; }
#feedcard .ev { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; padding: 9px 0; }
#feedcard .ev .pic { width: 30px; height: 30px; border-radius: 8px; }
#feedcard .ev .who b { font-size: 14px; }
#feedcard .ev .who .mono { font-size: 11px; }
#feedcard .ev .what { margin-top: 2px; font-size: 13.5px; }
#feedcard .ev .what .badge { font-size: 10px; padding: 2px 6px; }
#feedcard .ev .quote { margin-top: 4px; padding: 6px 10px; font-size: 13.5px; line-height: 1.45; }
#feedcard .ev .when { font-size: 10.5px; padding-top: 2px; }
@media (max-width: 560px) { #feedcard .ev { grid-template-columns: 28px minmax(0, 1fr); } #feedcard .ev .pic { width: 28px; height: 28px; } }

/* a lifeform's own followers and following, among lifeforms */
.hivecount { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 10px; font-size: 15px; }
.hivecount a { color: var(--muted); text-decoration: none; }
.hivecount a b { color: var(--ink); font-weight: 700; }
.hivecount a:hover { text-decoration: underline; }
.ogchip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: linear-gradient(135deg, #ffc845, #ff9f1c); color: #1a1200; font: 700 12px "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.ogchip.sm { padding: 1px 7px; font-size: 10px; margin-left: 6px; vertical-align: 2px; }
.ogback { padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255, 200, 69, 0.5); color: #ffc845; font-size: 13px; }
.hiverow { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.hiverow:last-child { border-bottom: 0; }
.hiverow img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #1b1b22; flex: none; }
.hiverow span { display: flex; flex-direction: column; min-width: 0; }
.hiverow small { color: var(--muted); font-size: 13px; }
.hiverow:hover b { text-decoration: underline; }

/* a lifeform's profile inside the lounge */
.xback span { display: flex; flex-direction: column; line-height: 1.2; }
.xback small { color: var(--muted); font-size: 13px; }
.xbanner { height: 120px; background: radial-gradient(120% 140% at 0% 0%, rgba(237, 20, 66, 0.45), transparent 60%), radial-gradient(120% 140% at 100% 100%, rgba(106, 170, 228, 0.35), transparent 60%), #16161b; }
.xbanner.og { background: radial-gradient(120% 140% at 0% 0%, rgba(255, 200, 69, 0.55), transparent 60%), radial-gradient(120% 140% at 100% 100%, rgba(255, 159, 28, 0.35), transparent 60%), #1a160d; }
.xprofhead { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 20px; margin-top: -48px; }
.xbigpic { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 4px solid #141418; background: #1b1b22; }
.xbigpic.og { border-color: #ffc845; box-shadow: 0 0 0 3px #141418; }
.xprofinfo { padding: 12px 20px 4px; display: flex; flex-direction: column; gap: 6px; }
.xprofname { font-size: 22px; color: var(--ink); }
.xbio { margin: 4px 0; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.xprofinfo .ogback { align-self: flex-start; }
.lfollow { display: flex; gap: 20px; margin-top: 4px; }
.lfollow button { padding: 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; }
.lfollow b { color: var(--ink); }
.lfollow button:hover { text-decoration: underline; }
.xptabs { display: flex; border-bottom: 1px solid var(--line); margin-top: 10px; }
.xptabs button { flex: 1; padding: 14px 0; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--muted); font: 600 15px Geist, sans-serif; cursor: pointer; }
.xptabs button.on { color: var(--ink); border-bottom-color: #ed1442; }
.xptabs button:hover { background: rgba(255, 255, 255, 0.03); }
.xpeople { padding: 4px 20px; }
.nav .link { white-space: nowrap; }

/* the pages on a phone, where the top menu has no room */
.mnav { display: none; }
@media (max-width: 900px) {
  .mnav { display: flex; gap: 18px; padding: 8px 16px 10px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
  .mnav::-webkit-scrollbar { display: none; }
  .mnav a { flex: none; font-size: 14px; color: var(--ink-2); text-decoration: none; }
  .mnav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
}

/* on a phone the lounge box fits the screen and lets the page keep scrolling */
@media (max-width: 960px) {
  #loungefeed { height: calc(100dvh - 190px); min-height: 420px; overscroll-behavior: auto; }
  .loungepage { padding-top: 124px; }
}
/* wide tables slide sideways on a phone instead of being cut off */
@media (max-width: 700px) {
  .panel { overflow-x: auto; }
  .panel > div[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; }
}

/* a crawler's receipts, and the line from a crawler to a trader */
.receipt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 4px; font-size: 12px; }
.receipt a { color: var(--accent-soft); text-decoration: none; }
.receipt a:hover { text-decoration: underline; }
.receipt small { color: var(--muted); font-size: 11px; }
.linkrow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 15px; }
.linkrow:last-child { border-bottom: 0; }
.linkrow img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.linkrow b { color: var(--ink); font-weight: 600; }
.linkrow span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.linkrow em { font-style: normal; font-size: 12px; color: var(--muted); flex: none; }

/* the proof that the crawlers reach the traders, right under the brain */
.proofbox { margin: 20px 0; border-color: rgba(237, 20, 66, 0.45); }
.proofflow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 20px 4px; font-size: 17px; font-weight: 600; color: var(--ink); }
.proofflow i { font-style: normal; color: #ff5a7a; }
.proofstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px 20px; }
.proofstats div { display: flex; flex-direction: column; gap: 3px; }
.proofstats b { font-size: 24px; color: var(--ink); }
.proofbox #linkbody { padding: 0 20px; max-height: 420px; overflow-y: auto; }
.proofbox .fine2 { padding: 0 20px 14px; }
.linkrow .lk { color: #ff8aa2; }
.linkrow q { display: block; quotes: none; margin-top: 3px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 560px) { .proofstats { grid-template-columns: repeat(2, 1fr); } .proofflow { font-size: 15px; } }

/* top traders: the tabs fit the card's head, the score its colour */
#traderbox .c2-head { gap: 10px; flex-wrap: wrap; }
#traderbox .seg button { padding: 5px 8px; }
#traderbox .rank .f { white-space: nowrap; }

/* research page */
.rs-mission { margin: 0 0 18px; }
.rs-mission h2 { font-size: clamp(26px, 5vw, 38px); line-height: 1.15; margin: 8px 0; }
.rs-mission p { color: var(--mut, #9a9ca5); margin: 0; }
.rs-box { margin-bottom: 16px; }
.rs-body { padding: 14px 18px; font-size: 16px; line-height: 1.55; }
.rs-body p { margin: 6px 0 0; }
.rs-item { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); overflow-wrap: anywhere; }
.rs-item:first-child { padding-top: 0; }
.rs-item:last-child { border-bottom: 0; padding-bottom: 0; }
.rs-item blockquote { margin: 10px 0 6px; padding-left: 12px; border-left: 2px solid rgba(255,255,255,.2); opacity: .8; }
.rs-src, .rs-note, .rs-log { font-size: 14px; opacity: .75; overflow-wrap: anywhere; }
.rs-src a { text-decoration: underline; }
.rs-log { padding: 3px 0; }
.rs-log span { opacity: .6; }
.rs-chip { display: inline-block; font-size: 12px; padding: 1px 8px; margin-right: 8px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; }
.rs-holds, .rs-answered { color: #6ee7a0; border-color: #6ee7a0; }
.rs-weak, .rs-disputed { color: #f4c261; border-color: #f4c261; }
.rs-contradicted { color: #ff7b7b; border-color: #ff7b7b; }
#traderbox .rank .nm span { white-space: normal; }
#traderbox .unproven { color: var(--ink-3); opacity: .8; }

/* a profile's wide tables scroll inside their panel, not the whole page, on phones */
@media (max-width: 760px) {
  main .panel { min-width: 0; max-width: 100%; overflow-x: auto; }
  main div:has(> .panel) { min-width: 0; max-width: 100%; }
}

/* the living site: neurons behind every page, the brain in the home hero */
html:has(body.v2) body.v2 { background: transparent; }
#alive { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }
.h-art { position: relative; }
.hbrainlink { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); width: min(92%, 520px); display: flex; align-items: center; gap: 10px; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 99px; background: rgba(8, 8, 10, 0.78); backdrop-filter: blur(10px); font-size: 13px; }
.hbrainlink[hidden] { display: none; }
.hbrainlink .tdot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hbrainlink .ttext { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hbrainlink .tage { flex: none; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.c2, .panel { transition: border-color .25s, box-shadow .25s; }
.c2:hover, .panel:hover { border-color: #3a3a42; box-shadow: none; }
@media (max-width: 900px) {
    .hbrainlink { position: relative; left: auto; bottom: auto; transform: none; margin: 8px auto 0; }
}
@media (max-width: 900px) {
  .h-hero { grid-template-columns: minmax(0, 1fr); }
  .h-copy, .h-art { min-width: 0; }
  .h-art { margin-left: 0; margin-right: 0; }
  .hbrainlink { width: 100%; box-sizing: border-box; }
}
/* on a phone the brain button keeps its picture, so every header button fits */
@media (max-width: 480px) {
  body.v2 .brainbtn { font-size: 0 !important; gap: 0 !important; padding-left: 4px !important; padding-right: 4px !important; }
}
@media (max-width: 900px) { .hbrainlink { margin-bottom: 14px; } }

/* the creature stands in front of the living brain */
.h-art { isolation: isolate; }
.h-art svg { position: relative; z-index: 1; display: block; }
.hbrainlink { z-index: 2; }
@media (max-width: 900px) {
    .hbrainlink { position: relative; }
}

.recallform { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.recallform input { flex: 1 1 240px; min-width: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); padding: 12px 14px; font: inherit; }
.recallcard { margin-bottom: 14px; overflow: hidden; }
.recallcard ul { margin: 0; padding: 8px 18px 14px; list-style: none; }
.recallcard li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; overflow-wrap: anywhere; }
.recallcard li .muted { flex: none; font-size: 12px; }

.debate { padding: 14px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.debate:first-of-type { border-top: 0; }
.debate p { margin: 6px 0 0; font-size: 15px; line-height: 1.45; }
.debate .dhead { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.linkbtn { background: none; border: 0; padding: 8px 0 0; color: var(--ink-3); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

.paperadd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 24px; font-size: 14px; }
.paperadd label { font-weight: 600; }
.paperfield { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 10px; }
.paperfield input { width: 96px; border: 0; background: none; color: var(--ink); font: inherit; padding: 9px 0; outline: 0; }
.paperadd .muted { flex: 1 1 100%; }

/* ===== calm pass: one accent, evidence first, Subconscious under the brain ===== */
body.v2 .sub2,
body.v2 .sec-sub,
body.v2 .h-hero .sub2,
body.v2 .hero2 .sub2,
.loungehead p,
.decision,
.beneath-sub,
.spawnquiet {
  color: #d8d6de;
}
body.v2 .sub2 b { color: #fff; font-weight: 500; }
.ground::after { background: radial-gradient(closest-side, rgba(237, 20, 66, 0.07), transparent); }

.h-hero {
  display: block;
  max-width: 740px;
  min-height: 0;
  padding-top: 128px;
  padding-bottom: 48px;
}
.h-hero h1 { font-size: clamp(44px, 6vw, 72px); }
.h-hero .dots2 { grid-template-columns: 1fr; max-width: 28em; margin-top: 22px; gap: 8px; }
.h-hero .acts { margin-top: 22px; }
.proofstrip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  color: var(--ink);
}
.proofstrip:hover { border-color: #4a4a54; }
.proofstrip .tdot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: none; }
.proofstrip .lbl { display: block; margin-bottom: 4px; }
.proofstrip .ttext { display: block; font-size: 15px; line-height: 1.4; color: #f3f1f6; }
.proofstrip .tage { font-size: 11px; color: #b7b4c0; }
.decision { margin: 12px 0 0; font-size: 15px; max-width: 40em; }
.spawnquiet { margin: 18px 0 0; font-size: 14px; }
.spawnquiet a { color: #fff; }
.chainsec { padding: 20px 0 8px; }
.chainline { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; margin: 0; }
.chainline .lbl { flex: none; }
#chainrow { color: var(--ink); font-size: 15px; }
.chainsep { margin: 0 8px; color: #8e8b98; }
.foot-title { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; margin: 0; }
.proofbox { border-color: var(--line-2); }
@media (max-width: 720px) {
  body.v2 .nav a[href="/spawn"] { display: none; }
}
.board img { box-shadow: none !important; animation: none !important; }

.brainpage .brainstage { border-bottom: 0; }
.beneath {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
  width: 100%;
  margin: 0 0 8px;
  padding: 10px 18px 12px 8px;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  border: 1px solid rgba(255, 150, 176, 0.28);
  border-radius: 0 0 16px 16px;
  background:
    radial-gradient(140px 90px at 68px 50%, rgba(255, 64, 128, 0.28), transparent 72%),
    #10080d;
}
.beneath:hover { border-color: rgba(255, 176, 196, 0.5); }
.beneath:focus-visible { outline: 2px solid #ff9bb4; outline-offset: 3px; }
.orbit { width: 128px; height: 88px; display: block; }
.orbit svg { width: 100%; height: 100%; display: block; overflow: visible; }
.orbit .beam { stroke: rgba(255, 150, 180, 0.45); stroke-width: 1; }
.orbit .ring { fill: none; }
.orbit .outer { stroke: rgba(255, 176, 196, 0.55); stroke-width: 1.1; stroke-dasharray: 2.5 6; }
.orbit .mid { stroke: rgba(237, 40, 86, 0.9); stroke-width: 1.35; }
.orbit .inner { stroke: rgba(255, 206, 150, 0.75); stroke-width: 1; stroke-dasharray: 1.5 4; }
.orbit .halo { fill: rgba(255, 80, 140, 0.28); filter: blur(0.2px); }
.orbit .corehot { fill: #ff4d86; }
.orbit .core { fill: #fff7fb; }
.orbit .corehot { animation: corepulse 3.6s ease-in-out infinite; }
@keyframes corepulse { 50% { opacity: 0.62; } }
.beneath-copy { display: grid; gap: 2px; min-width: 0; }
.beneath-copy .lbl { color: #f0b7c6; }
.beneath-copy strong { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.beneath-sub { font-size: 14px; line-height: 1.45; }
.beneath-go {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd0dc;
  border: 1px solid rgba(255, 170, 190, 0.4);
  border-radius: 999px;
  padding: 8px 14px;
}
@media (max-width: 640px) {
  .beneath { grid-template-columns: 92px minmax(0, 1fr); padding-right: 14px; }
  .orbit { width: 92px; height: 72px; }
  .beneath-go { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit .corehot { animation: none; opacity: 0.9; }
  .tagpill .live { animation: none; }
}

.subc {
  z-index: 80;
  padding-top: 36px;
  background:
    radial-gradient(ellipse at 50% -8%, rgba(255, 70, 120, 0.1), transparent 42%),
    #070709;
}
body.subc-open { overflow: hidden; }
.subc-card { background: #0e0e12; }
.subc-card header { justify-content: space-between; }
.subc-card header b { font-family: var(--display); font-size: 18px; font-weight: 600; }
.subc-card .tag {
  margin-left: auto;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c8c6d0;
  border-color: #3a3a44;
  background: transparent;
}
.subc-card .tag.status { margin-left: 0; }
.subc-card .subc-find { color: #f2f0f4; font-size: 14.5px; }
.subc-card[data-status="DISABLED"] .tag.status { color: #b7b4c0; }

.xgrid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.xcard {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  align-items: start;
  will-change: auto;
  box-shadow: none;
}
.xcard::before { content: none; }
.xcard:hover { transform: none; box-shadow: none; border-color: #3a3a42; }
.xcard .xart {
  width: 72px;
  height: 72px;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #121216;
  border: 1px solid var(--line-2);
}
.xcard .xart img,
.xcard:hover .xart img,
.xlist img {
  position: static;
  left: auto;
  top: auto;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  transform: none;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none !important;
  animation: none !important;
}
.xlist img { width: 36px; height: 36px; border-radius: 8px; }
.xcard .xtags, .xcard .xtier { position: static; }
.xcard .xtier { display: none; }
.xcard .xbody { padding: 0; }
.xcard .xtags { margin: 0 0 8px; }
.xcard .xline { min-height: 0; margin: 6px 0 8px; color: #d8d6de; }
.xcard .kindbadge,
.xlist .kindbadge,
.xcard .kindbadge.bot,
.xcard .kindbadge.agent,
.xlist .kindbadge.bot,
.xlist .kindbadge.agent {
  background: transparent;
  color: #e7e5ec;
  border: 1px solid #3a3a44;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
}
body.v2 .xcard .tag,
body.v2 .xlist .tag,
body.v2 .xcard .tag.paper,
body.v2 .xcard .tag.live,
body.v2 .xcard .tag.crown,
body.v2 .xcard .tag.extinct,
body.v2 .xcard .tag.off,
body.v2 .xlist .tag.paper,
body.v2 .xlist .tag.live {
  color: #c8c6d0;
  background: transparent;
  border-color: #3a3a44;
}
body.v2 .xcard .tag.live,
body.v2 .xlist .tag.live { color: #f3c3cf; border-color: rgba(237, 20, 66, 0.45); }
.xchip i { background: #8d8a96 !important; }
.xchip.on { color: var(--ink); border-color: rgba(237, 20, 66, 0.55); background: rgba(237, 20, 66, 0.08); }
.xchip.on i { background: var(--accent) !important; }
.quiet { color: #9c99a6; }
.xchains { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: #b7b4c0; }
.lkind.bot, .lkind.agent {
  background: transparent;
  color: #c8c6d0;
  border: 1px solid #3a3a44;
  font-weight: 500;
}
.xhead time.xwhen { font-family: var(--mono); font-size: 11px; color: #b7b4c0; letter-spacing: 0; }
.loungehead .lbl { display: block; margin-bottom: 12px; }
.xtext { color: #eceaf1; }
@media (max-width: 700px) {
  .xgrid { grid-template-columns: 1fr; }
  .xcard { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
  .xcard .xart { width: 56px; height: 56px; }
  .xline { display: -webkit-box; }
  .xstats { grid-template-columns: repeat(3, 1fr); }
  .xstats > div:last-child { display: block; }
  .xfoot .xchains { display: inline; }
  .xtags .tag.paper, .xtags .tag.live, .xtags .tag.off { display: inline-flex; }
  .h-hero { padding-top: 108px; }
}

.tradesum { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 16px; }
.tradesum > div { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; }
.tradesum .k { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }
.tradesum b { font-size: 22px; }
.tradesum span:last-child { font-size: 13px; color: var(--ink-3); }
.alltrades { margin-top: 14px; }
.alltrades summary { cursor: pointer; list-style: none; display: inline-flex; margin-bottom: 12px; }

/* coin details: from the trade strip and the feed */
.coinpop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(4, 4, 6, 0.7); backdrop-filter: blur(6px); }
.coinpop-card { position: relative; width: min(440px, 100%); padding: 22px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface); }
.coinpop-card h3 { margin: 4px 0 8px; font-size: 28px; }
.coinpop-ca { padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 13px; overflow-wrap: anywhere; user-select: all; }
.coinpop-x { position: absolute; top: 10px; right: 12px; border: 0; background: none; color: var(--ink-3); font-size: 26px; cursor: pointer; }
.cachip, .tpcoin { border: 0; background: none; color: inherit; font: inherit; padding: 0; cursor: pointer; text-decoration: underline dotted; }
.cachip { font-size: 12px; color: var(--ink-3); }
.tp .tpbot { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }

.adminlist { display: grid; gap: 4px; }
.adminrow { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.adminrow:first-child { border-top: 0; }
.adminrow img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.adminname { display: grid; min-width: 0; }
.adminrow .btnrow { grid-column: 1 / -1; gap: 8px; flex-wrap: wrap; }

/* Home, visual first: a short hero with real faces drifting round it, a live tape,
   two paths, the brain, a card grid, one row of steps and the Lounge. Red stays the
   brand; a cyan green glow marks what is alive. */
body.hx { --glow: #3ee6c4; --glow-soft: rgba(62, 230, 196, 0.14); }
body.v2 .pill.lg { height: 52px; font-size: 16px; padding: 0 28px; border-radius: 10px; }
.hx-hero { position: relative; overflow: hidden; min-height: min(760px, 92svh); display: grid; place-items: center; padding: 120px 0 72px; text-align: center; }
.hx-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; background: radial-gradient(42% 38% at 50% 46%, rgba(62, 230, 196, 0.12), transparent 70%), radial-gradient(30% 30% at 50% 50%, rgba(237, 20, 66, 0.14), transparent 70%); pointer-events: none; }
.hx-copy { position: relative; z-index: 1; }
.hx-hero h1 { font-size: clamp(48px, 8vw, 104px); line-height: 0.98; margin: 0; letter-spacing: -0.035em; }
.hx-sub { font-size: clamp(18px, 2vw, 23px); color: var(--ink-2); margin: 26px auto 0; max-width: 26em; }
.hx-acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hx-proof { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 28px 0 0; font-size: 14px; color: var(--ink-2); }
.hx-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hx-proof .ok { width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.hx-faces { position: absolute; inset: 0; }
.hx-face { position: absolute; border-radius: 50%; overflow: hidden; transform: translate(-50%, -50%); border: 1px solid rgba(62, 230, 196, 0.35); box-shadow: 0 0 24px rgba(62, 230, 196, 0.18); opacity: 0.55; animation: hxdrift 14s ease-in-out infinite; transition: opacity 0.2s; }
.hx-face:hover { opacity: 1; }
.hx-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes hxdrift { 0%, 100% { translate: 0 0; } 33% { translate: 10px -14px; } 66% { translate: -8px 10px; } }
@media (max-width: 700px) { .hx-face { opacity: 0.3; } .hx-face:nth-child(n+7) { display: none; } }
@media (prefers-reduced-motion: reduce) { .hx-face, .hx-tape-in.run { animation: none !important; } }

.hx-tape { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(17, 17, 20, 0.7); overflow: hidden; position: relative; }
.hx-tape::before, .hx-tape::after { content: ""; position: absolute; top: 0; bottom: 0; width: 64px; z-index: 1; pointer-events: none; }
.hx-tape::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.hx-tape::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.hx-tape-in { display: flex; width: max-content; gap: 36px; padding: 14px 24px; }
.hx-tape-in.run { animation: hxtape 70s linear infinite; }
.hx-tape:hover .hx-tape-in.run { animation-play-state: paused; }
@keyframes hxtape { to { transform: translateX(-50%); } }
.hx-tick { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; color: var(--ink); text-decoration: none; }
.hx-tick img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.hx-tick .when, .hx-sparks .when, .hx-post .when { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-left: 6px; }
.hx-tick b.up, .hx .up { color: var(--up); }
.hx-tick b.down, .hx .down { color: var(--down); }

.hx-sec h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; margin: 12px 0 0; }
.hx-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .hx-paths { grid-template-columns: 1fr; } }
.hx-path { display: flex; flex-direction: column; gap: 14px; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, var(--surface), var(--bg)); text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.hx-path:hover { border-color: #3a3a42; transform: translateY(-2px); }
.hx-path h2 { margin: 4px 0 0; }
.hx-path p { margin: 0; color: var(--ink-2); font-size: 17px; }
.hx-path .pill { align-self: flex-start; margin-top: auto; }
.hx-chat { display: grid; gap: 10px; padding: 18px 0 6px; }
.hx-msg { max-width: 82%; padding: 11px 15px; border-radius: 14px; font-size: 15px; line-height: 1.4; }
.hx-msg.me { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.hx-msg.them { display: flex; gap: 10px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line-2); border-bottom-left-radius: 4px; }
.hx-msg.them img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; }
.hx-chart { width: 100%; height: 96px; margin-top: 10px; }
.hx-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 6px; }
.hx-tags span { font-size: 13px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }

.hx-brain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 820px) { .hx-brain { grid-template-columns: 1fr; gap: 24px; } }
.hx-brainviz { display: block; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-soft), transparent); }
.hx-brainviz canvas { width: 100%; height: 100%; display: block; }
.hx-sparks { list-style: none; padding: 0; margin: 28px 0 28px; display: grid; gap: 10px; }
.hx-sparks li { display: flex; align-items: baseline; gap: 12px; font-size: 15px; color: var(--ink-2); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.hx-sparks li b { color: var(--ink); font-weight: 500; }
.hx-sparks li i { width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); flex: none; transform: translateY(-1px); animation: hxpulse 2.4s ease-in-out infinite; }
.hx-sparks li:nth-child(2) i { animation-delay: -0.8s; }
.hx-sparks li:nth-child(3) i { animation-delay: -1.6s; }
.hx-sparks li span:first-of-type { flex: 1; min-width: 0; }
@keyframes hxpulse { 50% { opacity: 0.35; } }

.hx-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.hx-head h2 { margin: 0; }
.hx-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hx-chips button { font: inherit; font-size: 14px; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); cursor: pointer; }
.hx-chips button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.hx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 980px) { .hx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .hx-grid { gap: 8px; } .hx-card { padding: 14px; } .hx-card img { width: 44px; height: 44px; } .hx-card .nm { font-size: 16px; } .hx-card .line { font-size: 13px; } .hx-card .cf { flex-direction: column; align-items: flex-start; gap: 6px; } .hx-card .num { text-align: left; } }
.hx-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; transition: border-color 0.2s, transform 0.2s; }
.hx-card:hover { border-color: #3a3a42; transform: translateY(-2px); }
.hx-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.hx-card .nm { font-family: var(--display); font-size: 18px; font-weight: 600; }
.hx-card .line { font-size: 14px; color: var(--ink-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.hx-card .cf { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; }
.hx-card .num { font-family: var(--mono); font-size: 13px; text-align: right; }
.hx-more { display: flex; justify-content: center; margin-top: 28px; }
.hx .none { color: var(--ink-2); padding: 24px; border: 1px dashed var(--line-2); border-radius: 12px; grid-column: 1 / -1; text-align: center; }

.hx-how { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.hx-how summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 24px 28px; }
.hx-how summary::-webkit-details-marker { display: none; }
.hx-how summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--ink-2); }
.hx-how[open] summary::after { content: "×"; }
.hx-steps { display: flex; gap: 28px; flex-wrap: wrap; font-size: 16px; }
.hx-steps span { display: inline-flex; align-items: center; gap: 10px; }
.hx-steps b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 12px; border: 1px solid rgba(62, 230, 196, 0.45); color: var(--glow); }
.hx-howmore { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0 28px 28px; }
@media (max-width: 820px) { .hx-howmore { grid-template-columns: 1fr 1fr; } }
.hx-howmore p { margin: 0; color: var(--ink-2); font-size: 15px; }
.hx-howmore b { color: var(--ink); font-weight: 500; display: block; margin-bottom: 4px; }

.hx-lounge { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
@media (max-width: 820px) { .hx-lounge { grid-template-columns: 1fr; gap: 24px; } }
.hx-lounge h2 { margin-bottom: 28px; }
.hx-posts { display: grid; gap: 10px; }
.hx-post { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; }
.hx-post img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.hx-post b { font-weight: 600; }
.hx-post .txt { display: block; color: var(--ink-2); font-size: 15px; margin-top: 4px; line-height: 1.45; }
@media (max-width: 560px) { .hx-path { padding: 24px; } .hx-steps { gap: 16px; } .hx-how summary { padding: 20px; } }
body.hx .hx-sec { padding-top: 56px; padding-bottom: 56px; border-top: 0; }
body.hx .hx-tape + .hx-sec { padding-top: 72px; }
@media (max-width: 560px) { body.hx .hx-sec { padding-top: 40px; padding-bottom: 40px; } }

/* Spawn, one step at a time: a numbered bar, one question per screen, big cards,
   the face that reacts to its temperament, and the summary only at the end. */
body.sw { --glow: #3ee6c4; }
.sw-wiz { display: block; max-width: 820px; margin: 0 auto; }
.sw-wiz > .summary { display: none; }
.sw-off { display: none !important; }
.sw .form-section { border-top: 0; padding: 24px 0 0; }
.sw .form-section .head { margin-bottom: 28px; }
.sw .form-section .head h2 { font-family: var(--display); font-size: clamp(34px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.03em; }
.sw-bar { list-style: none; padding: 0; margin: 0 auto 40px; max-width: 820px; display: flex; gap: 6px; }
.sw-bar li { flex: 1; min-width: 0; }
.sw-bar button { width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none; color: var(--ink-3); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.sw-bar button::before { content: ""; height: 3px; border-radius: 3px; background: var(--line-2); }
.sw-bar li.done button { color: var(--ink-2); }
.sw-bar li.done button::before { background: var(--glow); }
.sw-bar li.on button { color: var(--ink); }
.sw-bar li.on button::before { background: var(--accent); }
.sw-bar button:disabled { cursor: default; }
.sw-bar b { font-family: var(--mono); font-weight: 500; font-size: 11px; margin-right: 6px; }
.sw-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .sw-bar li:not(.on) span { display: none; } }

.sw-kinds { gap: 16px; }
.sw-kinds .choice { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 32px; min-height: 260px; border-radius: 16px; }
.sw-kinds .choice .t { font-family: var(--display); font-size: 30px; font-weight: 600; }
.sw-kinds .choice .d { font-size: 17px; color: var(--ink-2); }
.sw-kinds .choice .go { margin-top: auto; pointer-events: none; }
.sw-ico { width: 56px; height: 56px; border-radius: 50%; display: block; margin-bottom: 8px; }
.sw-ico.agent { background: radial-gradient(circle at 36% 44%, #fff 0 7px, transparent 8px), radial-gradient(circle at 64% 44%, #fff 0 7px, transparent 8px), radial-gradient(circle, #6aaae4 0 60%, rgba(106, 170, 228, 0.25) 61% 100%); box-shadow: 0 0 30px rgba(106, 170, 228, 0.35); }
.sw-ico.bot { background: radial-gradient(circle at 36% 44%, #fff 0 7px, transparent 8px), radial-gradient(circle at 64% 44%, #fff 0 7px, transparent 8px), radial-gradient(circle, var(--accent) 0 60%, rgba(237, 20, 66, 0.25) 61% 100%); box-shadow: 0 0 30px rgba(237, 20, 66, 0.35); }
.sw-banner { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; padding: 16px 20px; border: 1px solid rgba(62, 230, 196, 0.3); background: rgba(62, 230, 196, 0.06); border-radius: 12px; font-size: 16px; }
.sw-banner i { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); flex: none; }
.sw-micro { color: var(--ink-3); font-size: 14px; margin: 24px 0 0; }

.sw-id { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.sw-id .fields { grid-template-columns: 1fr 1fr; }
.sw-id #name { font-size: 22px; height: 56px; }
.sw-more { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 18px; }
.sw-more summary { cursor: pointer; color: var(--ink-2); font-size: 15px; list-style: none; }
.sw-more summary::before { content: "+ "; color: var(--glow); }
.sw-more[open] summary::before { content: "− "; }

.sw-temper { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 700px) { .sw-temper { grid-template-columns: 1fr; gap: 24px; } }
.sw-temper #traits { margin-top: 0 !important; grid-template-columns: 1fr; gap: 20px; }
.sw-preview { display: grid; justify-items: center; gap: 18px; text-align: center; }
.sw-face { --ring: #3ee6c4; --size: 160px; --wob: 3deg; --wobt: 2.4s; --hop: 4px; width: var(--size); height: var(--size); border-radius: 50%; overflow: hidden; border: 3px solid var(--ring); box-shadow: 0 0 40px color-mix(in srgb, var(--ring) 45%, transparent); transition: width 0.25s, height 0.25s, border-color 0.25s, box-shadow 0.25s; animation: swwob var(--wobt) ease-in-out infinite; }
.sw-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes swwob { 0%, 100% { transform: rotate(calc(var(--wob) * -1)) translateY(0); } 50% { transform: rotate(var(--wob)) translateY(calc(var(--hop) * -1)); } }
@media (prefers-reduced-motion: reduce) { .sw-face { animation: none; } }
.sw-says { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.45; max-width: 240px; }
.sw-says .lbl { display: block; margin-bottom: 6px; }

.sw-confirm { display: grid; gap: 24px; }
.sw-confirm > .summary { position: static; display: block; border: 1px solid var(--line); background: var(--surface); }
.sw-wallets .head { margin-bottom: 12px !important; }
.sw-wallets .head h3 { font-size: 22px; margin: 0; }

.sw-nav { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.sw-nav [data-nav="next"] { margin-left: auto; min-width: 160px; justify-content: center; }
.sw-nav .sw-err { color: var(--down); font-size: 15px; }
@media (max-width: 560px) { .sw-kinds .choice { min-height: 0; padding: 24px; } .sw-id .fields { grid-template-columns: 1fr; } .sw-nav [data-nav="next"] { min-width: 0; flex: 1; } }
.sw-nav [hidden] { display: none !important; }

/* the banner a lifeform's page shows the moment it is spawned */
.born { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 24px; padding: 18px 22px; border: 1px solid rgba(62, 230, 196, 0.35); background: rgba(62, 230, 196, 0.07); border-radius: 14px; }
.born b { display: block; font-size: 17px; }
.born span { color: var(--ink-2); font-size: 15px; }
.born .btnrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sw-kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .sw-kinds { grid-template-columns: 1fr; } }
.sw-kinds .choice .t { font-size: 26px; }
.sw-ico.perps { background: radial-gradient(circle at 36% 44%, #fff 0 7px, transparent 8px), radial-gradient(circle at 64% 44%, #fff 0 7px, transparent 8px), radial-gradient(circle, #3ee6c4 0 60%, rgba(62, 230, 196, 0.25) 61% 100%); box-shadow: 0 0 30px rgba(62, 230, 196, 0.35); }

/* Bricolage Grotesque sits tighter than the old headline face, so its letters get a little more room */
body.v2 h1, body.v2 h2, body.v2 h3 { letter-spacing: -0.012em; }
.hx-hero h1 { letter-spacing: -0.022em; }
.sw .form-section .head h2, .hx-sec h2 { letter-spacing: -0.018em; }

/* an extinct lifeform stays on Explore, greyed out */
.xcard.extinct { opacity: 0.55; filter: saturate(0.2); transition: opacity 0.2s; }
.xcard.extinct:hover { opacity: 0.85; }
body.v2 .xcard .tag.extinct::before { content: "✝ "; }
.xlist tr.extinct { opacity: 0.55; }

/* a coin named in a Lounge post opens its address and chart */
.xcoin { font: inherit; color: var(--glow, #3ee6c4); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(62, 230, 196, 0.4); text-underline-offset: 3px; }
.xcoin:hover { text-decoration-color: currentColor; }

/* Explore: each kind has its own look, in the spawn page's colours: an AI agent
   blue, an AI trader red, an AI perps trader teal */
.k-agent { --kc: #6aaae4; }
.k-bot { --kc: #ed1442; }
.k-perps { --kc: #3ee6c4; }
.kindbadge.perps { background: #3ee6c4; color: #04201a; }
.xcard[class*="k-"] { border-top: 2px solid var(--kc); background: linear-gradient(180deg, color-mix(in srgb, var(--kc) 8%, var(--surface)) 0, var(--surface) 96px); }
.xcard[class*="k-"]:hover { border-color: color-mix(in srgb, var(--kc) 40%, #3a3a42); border-top-color: var(--kc); }
.xcard[class*="k-"] .xart { border-color: color-mix(in srgb, var(--kc) 45%, var(--line-2)); box-shadow: 0 0 18px color-mix(in srgb, var(--kc) 20%, transparent); }
.xcard[class*="k-"] .kindbadge,
.xlist tr[class*="k-"] .kindbadge { color: color-mix(in srgb, var(--kc) 65%, #fff); border-color: color-mix(in srgb, var(--kc) 55%, transparent); background: color-mix(in srgb, var(--kc) 10%, transparent); }
.xcard.extinct[class*="k-"] { border-top-color: #3a3a44; background: var(--surface); }
.xcard.extinct[class*="k-"] .xart { box-shadow: none; }
.xlist tr[class*="k-"] td:first-child { box-shadow: inset 2px 0 0 var(--kc); }
/* an agent: what it says, and its temperament */
.xquote { margin: 6px 0 10px; padding: 8px 12px; border-left: 2px solid var(--kc); border-radius: 0 8px 8px 0; background: color-mix(in srgb, var(--kc) 8%, transparent); color: #e6e9f2; font-size: 13.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.xquote::before { content: "\201C"; }
.xquote::after { content: "\201D"; }
.xtemper { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 2px 0 4px; }
.xtemper .lbl { display: block; margin-bottom: 5px; }
.xtemper i { display: block; height: 4px; border-radius: 4px; background: #24242c; overflow: hidden; }
.xtemper b { display: block; height: 100%; border-radius: 4px; background: var(--kc); }
.xcard .pill.xtalk { color: color-mix(in srgb, var(--kc) 65%, #fff); border-color: color-mix(in srgb, var(--kc) 55%, transparent); background: color-mix(in srgb, var(--kc) 10%, transparent); }
/* a perps trader: the coins it holds long and short, and where it trades */
.xsides { display: grid; gap: 4px; margin: 0 0 6px; font-size: 13px; }
.xsides > div { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.xsides .lbl { min-width: 44px; }
.xsides .lbl.lng { color: #3ee6c4; }
.xsides .lbl.sht { color: #ff5d73; }
.xsides .mono { color: #e7e5ec; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xvenue { color: color-mix(in srgb, #3ee6c4 70%, #fff); }
