:root {
  --ground: #141414;
  --black: #000;
  --ink: #fff;
  --cream: #fffdf8;
  --crimson: #ed1442;
  --wine: #650828;
  --sky: #6aaae4;
  --navy: #1e2b38;
  --sun: #ffc845;
  --lime: #7ed957;
  --muted: rgba(255, 255, 255, 0.66);
  --faint: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.32);
  --card: #1c1c1c;
  --card-2: #232323;
  --up: #5be0a0;
  --down: #ff6b81;
  --display: "Gabarito", "Arial Black", sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --radius: 22px;
  --wrap: 1400px;
  --gutter: clamp(16px, 4vw, 80px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--ground); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--crimson); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* type */
.display, h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(54px, 8.2vw, 120px); line-height: 1.05; }
h2 { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.1; }
h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; }
.paren { font-size: 0.5em; vertical-align: 0.42em; letter-spacing: 0; }
.lead { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.55; font-weight: 300; max-width: 30em; }
.kicker { font-weight: 700; font-size: 18px; letter-spacing: 0; }
.kicker::before { content: "/"; margin-right: 2px; }
.muted { color: var(--muted); }

/* the giant outlined headline that fills as it scrolls in */
.outline {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 8.4vw, 120px);
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 3px var(--ink);
  background: linear-gradient(90deg, var(--ink) 0 50%, transparent 50% 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position 1.4s cubic-bezier(0.2, 0.7, 0.1, 1);
  margin: 0;
}
.outline.in { background-position: 0 0; }
.on-crimson .outline { -webkit-text-stroke-color: var(--cream); background-image: linear-gradient(90deg, var(--cream) 0 50%, transparent 50% 100%); }

/* buttons */
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  border: 2px solid var(--ink); border-radius: 999px;
  padding: 10px 24px 12px;
  font-family: var(--body); font-weight: 700; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.2;
  background: transparent; color: var(--ink); text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.pill:hover { background: var(--ink); color: var(--ground); }
.pill.solid { background: var(--ink); color: var(--ground); }
.pill.solid:hover { background: transparent; color: var(--ink); }
.pill.crimson { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.pill.crimson:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.pill.sm { font-size: 15px; border-width: 1px; padding: 8px 20px 10px; }
.pill.md { font-size: 18px; padding: 9px 22px 11px; }
.pill[disabled] { opacity: 0.4; cursor: not-allowed; }
.pill .arrow { transition: transform 0.2s; }
.pill:hover .arrow { transform: translateX(4px); }

/* header */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.3s, backdrop-filter 0.3s; }
.hdr.scrolled { background: rgba(20, 20, 20, 0.86); backdrop-filter: blur(12px); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand .word { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.01em; }
.brand .sub { font-size: 11px; line-height: 1.15; color: var(--muted); max-width: 90px; font-weight: 400; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a.link { text-decoration: none; font-size: 18px; font-weight: 300; }
.nav a.link:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav .sep { width: 1px; height: 22px; background: var(--ink); opacity: 0.7; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 30px; height: 2px; background: #fff; margin: 7px 0; }
@media (max-width: 900px) {
  .nav .link, .nav .sep { display: none; }
  .brand .sub { display: none; }
  .nav { gap: 10px; }
}
@media (max-width: 560px) {
  .nav a.pill.solid { display: none; }
  .hdr .wrap { height: 72px; }
  .brand .word { font-size: 22px; }
}

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--black); overflow: hidden; display: flex; align-items: flex-end; }
.hero-art { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 40px; }
.hero-art svg { width: min(1000px, 118vw); height: auto; max-height: 82vh; transform: translateX(-14%); }
@media (max-width: 900px) { .hero-art svg { transform: none; max-height: 60vh; } }
.hero .wrap { position: relative; width: 100%; padding-bottom: clamp(36px, 7vh, 80px); }
.hero h1 { text-align: right; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45); }
.hero .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: 28px; }
.hero .lead { margin: 0; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7); }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.featured { position: absolute; right: 0; bottom: 0; background: var(--black); padding: 16px 18px; display: flex; gap: 16px; align-items: center; z-index: 2; }
@media (max-width: 700px) { .hero h1 { text-align: left; } }

/* sections */
section { position: relative; }
.pad { padding: clamp(80px, 12vw, 180px) 0; }
.pad-sm { padding: clamp(56px, 7vw, 110px) 0; }
.on-crimson { background: var(--crimson); color: var(--cream); }
.on-black { background: var(--black); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 28px; }

.chainrow { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 16px 8px;
  font-size: 16px; font-weight: 400; line-height: 1.3; white-space: nowrap;
}
.chip .dot { width: 10px; height: 10px; border-radius: 50%; }
.chip.on { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.chip.crimson { background: var(--crimson); border-color: var(--crimson); color: #fff; }

/* big list like a menu of services */
.biglist { list-style: none; margin: 0; padding: 0; border-top: 2px solid currentColor; }
.biglist li { border-bottom: 2px solid currentColor; }
.biglist a, .biglist .item { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.15; }
.biglist .item small { font-family: var(--body); font-weight: 300; font-size: 18px; max-width: 26em; text-align: right; opacity: 0.9; }
@media (max-width: 700px) { .biglist .item { flex-direction: column; align-items: flex-start; } .biglist .item small { text-align: left; } }

/* chat mock and chat */
.bubbles { display: flex; flex-direction: column; gap: 14px; }
.bubble { max-width: 86%; padding: 14px 20px 16px; border-radius: 22px; font-size: 18px; line-height: 1.5; }
.bubble.me { align-self: flex-end; background: var(--crimson); color: #fff; border-bottom-right-radius: 6px; }
.bubble.them { align-self: flex-start; background: var(--card-2); border-bottom-left-radius: 6px; }
.bubble.them .who { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; color: var(--muted); }

/* cards */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.tab { border: 1px solid var(--line-strong); background: none; border-radius: 999px; padding: 8px 20px 10px; font-size: 16px; font-weight: 700; cursor: pointer; }
.tab.on { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.card { display: block; text-decoration: none; background: var(--card); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s, background 0.25s; }
.card:hover { transform: translateY(-4px); background: var(--card-2); }
.card .art { aspect-ratio: 1 / 1; background: var(--navy); position: relative; overflow: hidden; }
.card .art img { width: 100%; height: 100%; object-fit: cover; }
.card .art .kind { position: absolute; top: 16px; left: 16px; }
.card .body { padding: 20px 22px 24px; }
.card .t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card .name { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.15; }
.card .tick { font-weight: 700; font-size: 16px; color: var(--muted); }
.card .line { margin: 8px 0 16px; font-size: 17px; color: var(--muted); line-height: 1.45; min-height: 2.9em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .stats { display: flex; justify-content: space-between; font-size: 16px; font-weight: 400; }
.card .stats b { display: block; font-weight: 700; font-size: 20px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.empty { border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: clamp(40px, 6vw, 80px); text-align: center; }
.empty h3 { margin-bottom: 12px; }

/* directory: boards above a sortable table */
.boards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
@media (max-width: 1200px) { .boards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .boards { grid-template-columns: 1fr; } }
.board { background: var(--card); border-radius: var(--radius); padding: 22px 22px 14px; min-height: 260px; }
.board h4 { font-family: var(--display); font-weight: 800; font-size: 22px; margin: 0 0 12px; display: flex; justify-content: space-between; align-items: baseline; }
.board h4 small { font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--muted); }
.board a.row, .board .row { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; text-decoration: none; border-top: 1px solid var(--line); font-size: 16px; }
.board .row:first-of-type { border-top: 0; }
.board .row img, .av-sm { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; background: var(--navy); }
.board .row .nm { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .row .sub { display: block; font-size: 14px; color: var(--muted); font-weight: 400; }
.board .row .r { text-align: right; font-weight: 700; }
.board .none { color: var(--faint); font-size: 16px; padding: 20px 0; }
.dirbar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dir-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--card); }
.dir { width: 100%; min-width: 1100px; border-collapse: collapse; font-size: 16px; }
.dir th { text-align: left; font-weight: 700; font-size: 14px; color: var(--muted); padding: 18px 16px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dir td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: middle; font-weight: 400; }
.dir tr:last-child td { border-bottom: 0; }
.dir tbody tr { cursor: pointer; transition: background 0.15s; }
.dir tbody tr:hover { background: var(--card-2); }
.dir .who { display: flex; gap: 14px; align-items: center; min-width: 220px; }
.dir .who img { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; background: var(--navy); }
.dir .who b { display: block; font-weight: 700; font-size: 18px; }
.dir .who span { color: var(--muted); font-size: 14px; }
.dir .mind { max-width: 300px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.dir .r { text-align: right; white-space: nowrap; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px 4px; margin-right: 6px; background: var(--card-2); vertical-align: 2px; }
.tag.agent { background: var(--sky); color: #08131f; }
.tag.bot { background: var(--crimson); color: #fff; }
.tag.paper { background: var(--sun); color: #2a1d00; }
.tag.live { background: var(--up); color: #032015; }
.tag.off { background: var(--line-strong); color: var(--ink); }
svg.mini { width: 110px; height: 34px; display: block; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps li { list-style: none; border-top: 2px solid var(--ink); padding-top: 24px; }
.steps .n { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; display: block; margin-bottom: 16px; color: var(--crimson); }
.steps h3 { margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* footer */
.foot { padding: clamp(80px, 10vw, 160px) 0 48px; background: var(--black); }
.foot .bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 96px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.foot .bottom a { text-decoration: none; }

/* forms */
.form-section { padding: 56px 0; border-top: 2px solid var(--ink); }
.form-section:first-child { border-top: 0; padding-top: 0; }
.form-section .head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 32px; }
.form-section .head .n { font-family: var(--display); font-weight: 900; font-size: 22px; color: var(--crimson); }
.form-section .head h2 { font-size: clamp(32px, 3.4vw, 48px); }
.form-section .hint { margin: -16px 0 28px; color: var(--muted); max-width: 40em; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .fields { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.field .help { display: block; font-size: 15px; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.input, .field input[type="text"], .field input[type="number"], .field input[type="url"], .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 2px solid var(--line-strong); border-radius: 0;
  padding: 10px 0 12px; font-size: 20px; font-weight: 300; outline: none; transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 14px) 22px, calc(100% - 8px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--ground); }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.inline { display: flex; gap: 12px; align-items: flex-end; }
.inline > .grow { flex: 1; min-width: 0; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .choices { grid-template-columns: 1fr; } }
.choice { text-align: left; background: var(--card); border: 2px solid transparent; border-radius: var(--radius); padding: 28px; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.choice:hover { background: var(--card-2); }
.choice.on { border-color: var(--ink); background: var(--card-2); }
.choice .t { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1.1; display: block; margin-bottom: 10px; }
.choice .d { color: var(--muted); font-size: 18px; }
.presets { display: flex; flex-wrap: wrap; gap: 12px; }

.range { width: 100%; accent-color: var(--crimson); height: 28px; }
.rangehead { display: flex; justify-content: space-between; align-items: baseline; }
.rangehead b { font-weight: 700; font-size: 20px; }
.toggle { display: flex; align-items: center; gap: 14px; cursor: pointer; font-size: 18px; font-weight: 400; }
.toggle input { appearance: none; width: 52px; height: 30px; border-radius: 999px; background: var(--line-strong); position: relative; cursor: pointer; flex: none; transition: background 0.2s; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.toggle input:checked { background: var(--crimson); }
.toggle input:checked::after { transform: translateX(22px); }

.rule { background: var(--card); border-radius: 18px; padding: 20px 22px; }
.rule + .rule { margin-top: 14px; }
.rule .rule-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-top: 16px; }
.rule:not(.on) .rule-body { display: none; }

.imgdrop { width: 220px; aspect-ratio: 1; border-radius: var(--radius); border: 2px dashed var(--line-strong); display: grid; place-items: center; text-align: center; cursor: pointer; overflow: hidden; position: relative; background: var(--card); }
.imgdrop img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.imgdrop span { padding: 16px; color: var(--muted); font-size: 16px; }

/* launch layout */
.launch { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 1100px) { .launch { grid-template-columns: 1fr; } }
.summary { position: sticky; top: 108px; background: var(--card); border-radius: var(--radius); padding: 28px; }
.summary .prev { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.summary .prev .av { width: 84px; height: 84px; border-radius: 18px; background: var(--navy); overflow: hidden; flex: none; }
.summary .prev .av img { width: 100%; height: 100%; object-fit: cover; }
.summary .prev .name { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; word-break: break-word; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 16px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 400; }
.splitbar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin: 18px 0 10px; background: var(--line); }
.splitbar i { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: var(--c); }
.progress { list-style: none; padding: 0; margin: 20px 0 0; font-size: 16px; }
.progress li { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: var(--faint); }
.progress li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; flex: none; }
.progress li.doing { color: var(--ink); }
.progress li.doing::before { border-color: var(--sun); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.progress li.done { color: var(--ink); }
.progress li.done::before { background: var(--up); border-color: var(--up); }
.progress li.bad { color: var(--down); }
@keyframes spin { to { transform: rotate(360deg); } }
.note { background: var(--card-2); border-radius: 16px; padding: 16px 18px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.note.warn { border-left: 4px solid var(--sun); }
.note.bad { border-left: 4px solid var(--down); color: var(--ink); }

/* coin page */
.coinhead { padding: 140px 0 64px; background: var(--black); }
.coinhead .top { display: flex; gap: clamp(24px, 4vw, 56px); align-items: flex-end; flex-wrap: wrap; }
.coinhead .av { width: clamp(140px, 16vw, 220px); aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--navy); flex: none; }
.coinhead .av img { width: 100%; height: 100%; object-fit: cover; }
.coinhead h1 { font-size: clamp(48px, 7vw, 104px); word-break: break-word; }
.coinhead .meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.statrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 2px solid var(--ink); }
.statrow > div { padding: 22px 24px 0 0; }
.statrow .k { color: var(--muted); font-size: 16px; }
.statrow .v { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 44px); line-height: 1.15; }
@media (max-width: 760px) { .statrow { grid-template-columns: 1fr 1fr; } }
.cols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
@media (max-width: 1000px) { .cols { grid-template-columns: 1fr; } }
.panel { background: var(--card); border-radius: var(--radius); padding: clamp(22px, 2.5vw, 32px); }
.panel + .panel { margin-top: 28px; }
.panel h3 { margin-bottom: 18px; }
.chat { display: flex; flex-direction: column; height: min(640px, 72vh); }
.chat .log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding-right: 6px; }
.chat form { display: flex; gap: 12px; margin-top: 18px; }
.chat input { flex: 1; min-width: 0; background: var(--card-2); border: 0; border-radius: 999px; padding: 14px 22px; font-size: 18px; outline: none; }
.chat input:focus { box-shadow: 0 0 0 2px var(--ink) inset; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th { text-align: left; font-weight: 700; color: var(--muted); font-size: 14px; padding: 0 12px 10px 0; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; font-weight: 400; }
.table td.r, .table th.r { text-align: right; padding-right: 0; }
.addr { font-size: 14px; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 4px; }
.up { color: var(--up); }
.down { color: var(--down); }
.spark { width: 100%; height: 160px; display: block; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 17px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 400; }
.traits { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 18px; }
.trait .bar { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.trait .bar i { display: block; height: 100%; background: var(--crimson); }
.btnrow { display: flex; gap: 10px; flex-wrap: wrap; }

/* modal and toast */
.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.72); z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal .box { background: var(--ground); border: 1px solid var(--line-strong); border-radius: var(--radius); width: min(460px, 100%); padding: 28px; max-height: 90vh; overflow: auto; }
.modal h3 { margin-bottom: 8px; }
.wallets { display: grid; gap: 10px; margin-top: 18px; }
.wallets button { display: flex; align-items: center; gap: 14px; width: 100%; background: var(--card); border: 1px solid transparent; border-radius: 16px; padding: 14px 16px; cursor: pointer; font-size: 18px; font-weight: 700; text-align: left; }
.wallets button:hover { border-color: var(--ink); }
.wallets img { width: 32px; height: 32px; border-radius: 8px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: var(--ground); padding: 12px 22px 14px; border-radius: 999px; font-weight: 700; font-size: 16px; z-index: 120; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); max-width: calc(100vw - 32px); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s, transform 0.9s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .outline { transition: none; background-position: 0 0; }
}

/* brain editor */
.choices.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .choices.three { grid-template-columns: 1fr; } }
.choices.traits { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .choices.traits { grid-template-columns: 1fr; } }
.brain-tabs { margin: 28px 0 32px; }
.brain-page .rule .rule-body .field label { font-size: 15px; }
.brain-page .choice .t { font-size: 24px; }

/* owner dashboard */
.dash-top { background: var(--black); padding: 132px 0 40px; }
.dash-id { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 44px); align-items: end; }
.dash-id .av { width: clamp(110px, 12vw, 168px); aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.dash-id .av img { width: 100%; height: 100%; object-fit: cover; }
.dash-name { font-size: clamp(44px, 6vw, 92px); line-height: 1.02; margin: 6px 0 14px; word-break: break-word; }
.dash-id .meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dash-eq { text-align: right; }
.dash-eq .k { color: var(--muted); font-size: 16px; }
.dash-eq .v { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 5vw, 76px); line-height: 1.05; }
.dash-eq .sub { font-size: 17px; font-weight: 600; }
@media (max-width: 900px) { .dash-id { grid-template-columns: auto 1fr; } .dash-eq { grid-column: 1 / -1; text-align: left; } }
.eq-wrap { margin-top: 36px; background: linear-gradient(180deg, #0c0c0c, #050505); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 6px; }
svg.eq { width: 100%; height: 220px; display: block; }
.eq-empty { height: 160px; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 0 20px; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 1050px) { .dash-grid { grid-template-columns: 1fr; } }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--up); margin-left: 8px; vertical-align: 6px; box-shadow: 0 0 0 0 rgba(91, 224, 160, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(91, 224, 160, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(91, 224, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 224, 160, 0); } }
.thoughts { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow-y: auto; }
.thoughts li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.thoughts li:first-child { border-top: 0; }
.thoughts li .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 8px; }
.thoughts li p { margin: 2px 0 0; color: var(--ink); line-height: 1.45; }
.wallet-chain { border-top: 1px solid var(--line); padding: 16px 0 6px; }
.wallet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.wallet-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; margin: 0 -12px; }
.wallet-row.on { background: var(--card-2); }
.wallet-row .btnrow { gap: 6px; }
.wallet-row .pill.sm { font-size: 13px; padding: 6px 14px 8px; }
.field.dim .choices { opacity: 0.45; }
.brain-pads .chip .dot + .dot { margin-left: -4px; }
.wallets button span { display: flex; flex-direction: column; gap: 2px; }
.wallets button small { font-size: 13px; font-weight: 400; color: var(--muted); }
.modal .chainrow .chip { font-size: 14px; padding: 6px 14px 8px; text-decoration: none; }
.form-section h3.q { margin: 44px 0 18px; font-size: 26px; }
.form-section .hint + h3.q { margin-top: 12px; }
.choices.easy .choice { padding: 24px; }
.choices.easy .t { font-size: 24px; margin-bottom: 8px; }
.choices.easy .d { font-size: 16px; }
.easy-usd { max-width: 520px; }
.easy-sum { margin-top: 44px; background: var(--card); border-radius: var(--radius); padding: 24px 28px; }
.easy-sum p { margin: 10px 0 0; font-size: 19px; line-height: 1.55; }
details.adv { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 24px; }
details.adv > summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: inline-flex; align-items: center; gap: 10px; }
details.adv > summary::-webkit-details-marker { display: none; }
details.adv > summary::after { content: "+"; font-size: 24px; line-height: 1; }
details.adv[open] > summary::after { content: "\2212"; }
@media (max-width: 700px) { .choices.easy { grid-template-columns: 1fr; } .form-section h3.q { font-size: 22px; } }
