:root {
  --bg: #f5f8ff;
  --paper: #ffffff;
  --ink: #0b1b3f;
  --ink-2: #3d4a75;
  --ink-3: #7a86ad;
  --line: #dfe5fa;
  --line-2: #cdd6f4;
  --brand: #1f31f2;
  --brand-2: #1f31f2;
  --brand-soft: #e3e8ff;
  --grad: #1f31f2;
  --up: #0f9d63;
  --down: #d6453d;
  --shadow: 0 1px 2px rgba(31, 49, 242, .04), 0 12px 40px rgba(31, 49, 242, .08);
  --r: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #080d24; --paper: #101736; --ink: #eef1ff; --ink-2: #b6c0e6; --ink-3: #7c88b5;
    --line: #1f2a58; --line-2: #2b3973; --brand: #6f7dff; --brand-2: #6f7dff; --grad: #3445ff; --brand-soft: #18225a; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 40px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #080d24; --paper: #101736; --ink: #eef1ff; --ink-2: #b6c0e6; --ink-3: #7c88b5;
  --line: #1f2a58; --line-2: #2b3973; --brand: #6f7dff; --brand-2: #6f7dff; --grad: #3445ff; --brand-soft: #18225a; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 40px rgba(0,0,0,.3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; }
h1, h2, h3, h4 { font-family: Inter, system-ui, sans-serif; font-weight: 600; letter-spacing: -.01em; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
main { max-width: 1240px; margin: 0 auto; padding: 0 20px 80px; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .9em; }
.up { color: var(--up); } .down { color: var(--down); }
[hidden] { display: none !important; }

/* ---------------- nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 12px 20px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 700 20px/1 Inter, system-ui, sans-serif; letter-spacing: -.02em; }
.logo img { width: 30px; height: 30px; }
.links { display: flex; gap: 4px; }
.links a { text-decoration: none; padding: 7px 12px; border-radius: 999px; color: var(--ink-2); font-weight: 500; }
.links a:hover, .links a.on { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sd-pill { display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-size: 11px; color: #555; }
.sd-pill img { height: 22px; width: auto; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .12s, box-shadow .12s, opacity .12s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(59, 75, 255, .28); }
.btn.primary:hover { box-shadow: 0 8px 24px rgba(59, 75, 255, .38); }
.btn.ghost { background: var(--paper); border-color: var(--line); }
.btn.lg { padding: 13px 22px; font-size: 16px; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.banner { background: #fff6dc; color: #6b5200; text-align: center; font-size: 13px; padding: 7px 16px; border-bottom: 1px solid #f0e0a8; }

/* ---------------- hero */
.hero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding: 64px 0 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: 13px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: .98; font-weight: 800; margin: 18px 0 18px; letter-spacing: -.03em; }
.hero h1 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 520px; margin: 0; }
.lede.small { font-size: 16px; margin: 6px 0 22px; }
.cta { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.hero-card { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-card::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 300px; height: 300px; background: radial-gradient(closest-side, rgba(122, 77, 255, .18), transparent); }
.hc-top { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 13px; font-weight: 500; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--up); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--up); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.hc-big { font: 800 clamp(44px, 5vw, 64px)/1 Inter, system-ui, sans-serif; letter-spacing: -.03em; margin: 10px 0 20px; font-variant-numeric: tabular-nums; }
.hc-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hc-row div { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.hc-row b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.hc-row span { color: var(--ink-3); font-size: 12px; }
.hc-foot { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.hc-foot img { height: 34px; width: auto; background: #fff; border-radius: 8px; padding: 2px 6px; }

/* ---------------- board */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; scroll-margin-top: 80px; }
.col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 6px; min-width: 0; }
.col header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 8px; }
.col h3 { font-size: 18px; }
.count { font-size: 12px; color: var(--ink-3); background: var(--bg); padding: 2px 8px; border-radius: 999px; }
.list { display: flex; flex-direction: column; gap: 2px; max-height: 620px; overflow: auto; }
.card { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; }
.card:hover { background: var(--bg); }
.card > img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--bg); }
.card .t { display: flex; gap: 6px; align-items: baseline; min-width: 0; }
.card .t b { font-weight: 700; }
.card .t span { color: var(--ink-3); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .ch { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--brand); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.card .ch::before { content: "♥"; font-size: 11px; }
.card .m { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.card .r { text-align: right; font-variant-numeric: tabular-nums; }
.card .r b { display: block; font-size: 14px; }
.card .r span { font-size: 12px; color: var(--up); font-weight: 600; }
.card.fresh { animation: fresh 1.4s ease-out; }
@keyframes fresh { from { background: var(--brand-soft); } }
.empty { padding: 30px 16px; text-align: center; color: var(--ink-3); font-size: 14px; }

/* ---------------- steps + featured */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 56px 0; }
.steps div { padding: 22px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.steps span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; }
.steps h4 { font-size: 19px; margin: 14px 0 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 14px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.sec-head h2 { font-size: 30px; }
.sec-head.big { margin-top: 40px; }
.sec-head.big h2 { font-size: 44px; font-weight: 800; letter-spacing: -.02em; }
.sec-head a { color: var(--brand); text-decoration: none; font-weight: 600; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.feat { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, transform .15s; }
.feat:hover { border-color: var(--brand); transform: translateY(-2px); }
.feat .tag { align-self: flex-start; font-size: 11px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 999px; }
.feat b { font: 600 17px/1.25 Inter, system-ui, sans-serif; margin-top: 6px; }
.feat small { color: var(--ink-3); font-size: 12px; }
.feat .go { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--brand); }

/* ---------------- panels + forms */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.launch { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; margin-top: 32px; }
.launch h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.step-h { display: flex; align-items: center; gap: 10px; font: 600 18px Inter, system-ui, sans-serif; margin: 26px 0 12px; }
.step-h span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 13px Inter, sans-serif; }
.step-h small { font: 400 13px Inter, sans-serif; color: var(--ink-3); }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
label small { font-weight: 400; color: var(--ink-3); }
input, select, textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); font-weight: 400; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(59, 75, 255, .15); }
textarea { resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.img-row { grid-template-columns: 120px 1fr; }
.drop { align-items: center; justify-content: center; height: 100%; min-height: 100px; border: 1.5px dashed var(--line-2); border-radius: 16px; background: var(--bg); cursor: pointer; position: relative; overflow: hidden; }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hint { font-size: 13px; color: var(--ink-3); margin: 6px 0 0; }
.hint.center { text-align: center; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 12px; }
.tab { border: 0; background: none; padding: 7px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--ink-2); }
.tab.on { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.region label { margin-bottom: 10px; }
.search { display: grid; grid-template-columns: 1fr 140px; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 5px 11px; font-size: 13px; cursor: pointer; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.results { display: flex; flex-direction: column; gap: 4px; max-height: 300px; overflow: auto; }
.res { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; text-align: left; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; }
.res:hover { border-color: var(--brand); }
.res b { display: block; font-weight: 600; }
.res small { color: var(--ink-3); }
.res .badge { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.res .badge.muted { background: var(--bg); color: var(--ink-3); }
.results .msg { padding: 14px; color: var(--ink-3); font-size: 14px; }
.picked { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); margin-top: 10px; }
.picked .heart { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; flex: none; }
.picked b { display: block; }
.picked small { color: var(--ink-2); }
.picked button { margin-left: auto; border: 0; background: none; color: var(--brand); font-weight: 600; cursor: pointer; }
.bnb-in { flex-direction: row; align-items: center; position: relative; }
.bnb-in span { position: absolute; right: 14px; color: var(--ink-3); font-weight: 600; }
.side h3 { font-size: 17px; margin: 0 0 12px; }
.side h3:not(:first-child) { margin-top: 24px; }
.pv { display: flex; gap: 12px; align-items: center; }
.pv img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; background: var(--bg); }
.pv b { display: block; font-size: 18px; }
.pv span { color: var(--ink-3); }
.pv-ch { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 14px; color: var(--ink-2); }
.split { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.split li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 14px; }
.split i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--bg); position: relative; overflow: hidden; }
.split i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--grad); border-radius: 6px; }
.facts { margin: 16px 0 0; display: flex; flex-direction: column; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.facts a { color: var(--brand); }

/* ---------------- token page */
.tk-head { display: flex; gap: 18px; align-items: center; margin: 32px 0 20px; flex-wrap: wrap; }
.tk-head > img { width: 76px; height: 76px; border-radius: 20px; object-fit: cover; background: var(--paper); }
.tk-head h1 { font-size: 36px; font-weight: 800; }
.tk-head .sub { color: var(--ink-3); display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; margin-top: 4px; }
.tk-head .sub a { color: var(--ink-2); }
.copy { cursor: pointer; border: 0; background: var(--paper); border-radius: 8px; padding: 2px 8px; font-size: 12px; }
.tk-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 18px; }
.tk-stats div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.tk-stats span { display: block; font-size: 12px; color: var(--ink-3); }
.tk-stats b { font-size: 19px; font-variant-numeric: tabular-nums; }
.tk-stats .give b { color: var(--brand); }
.tk-grid { display: grid; grid-template-columns: 1fr 360px; gap: 18px; align-items: start; }
.chart { height: 320px; padding: 14px; }
.chart svg { width: 100%; height: 100%; display: block; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 500; color: var(--ink-3); font-size: 12px; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 6px; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }
.trades { margin-top: 18px; max-height: 420px; overflow: auto; }
.trades h3, .side-box h3 { font-size: 17px; margin-bottom: 8px; }
.ch-card { display: block; text-decoration: none; padding: 18px; border-radius: 18px; background: var(--grad); color: #fff; margin-bottom: 14px; }
.ch-card small { opacity: .8; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.ch-card b { display: block; font: 600 21px/1.2 Inter, system-ui, sans-serif; margin: 6px 0 4px; }
.ch-card span { font-size: 13px; opacity: .9; }
.trade { padding: 18px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--bg); border-radius: 999px; margin-bottom: 14px; }
.seg button { border: 0; background: none; padding: 8px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.seg button.on[data-side="buy"] { color: var(--up); }
.seg button.on[data-side="sell"] { color: var(--down); }
.amt { position: relative; }
.amt span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; font-size: 14px; }
.presets { display: flex; gap: 6px; margin: 8px 0 12px; }
.presets button { flex: 1; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 6px 0; font-size: 13px; cursor: pointer; }
.est { font-size: 13px; color: var(--ink-3); min-height: 20px; margin-bottom: 12px; }
.bal { font-size: 13px; color: var(--ink-3); margin-top: 10px; text-align: center; }
.side-box { padding: 18px; margin-top: 14px; }
.flush { margin-top: 10px; }
.desc { color: var(--ink-2); font-size: 14px; margin: 0 0 10px; white-space: pre-wrap; }
.links-row { display: flex; gap: 8px; flex-wrap: wrap; }
.links-row a { font-size: 13px; color: var(--brand); }

/* ---------------- charities */
.ch-list { display: flex; flex-direction: column; gap: 8px; }
.ch-row { display: grid; grid-template-columns: 44px 1fr auto auto; gap: 16px; align-items: center; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; }
.ch-row:hover { border-color: var(--brand); }
.ch-row .rk { font: 700 18px Inter, system-ui, sans-serif; color: var(--ink-3); text-align: center; }
.ch-row b { display: block; font: 600 18px/1.25 Inter, system-ui, sans-serif; }
.ch-row small { color: var(--ink-3); }
.ch-row .n { color: var(--ink-3); font-size: 13px; text-align: right; }
.ch-row .d { font: 700 20px Inter, system-ui, sans-serif; color: var(--brand); text-align: right; min-width: 110px; }
.ch-hero { padding: 34px; border-radius: 26px; background: var(--grad); color: #fff; margin: 32px 0 20px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.ch-hero small { opacity: .8; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.ch-hero h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; margin: 8px 0; }
.ch-hero .meta { opacity: .9; font-size: 14px; }
.ch-hero .meta a { color: #fff; }
.ch-hero .tot { text-align: right; }
.ch-hero .tot b { display: block; font: 800 48px/1 Inter, system-ui, sans-serif; }
.ch-hero .tot .btn { margin-top: 14px; background: #fff; color: var(--brand); }

/* ---------------- about */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 10px 0 22px; }
.about-grid article { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.about-grid h3 { font-size: 22px; margin-bottom: 8px; }
.about-grid p { margin: 0; color: var(--ink-2); }
.acct h3 { font-size: 20px; }
.fineprint { color: var(--ink-3); font-size: 13px; margin-top: 18px; max-width: 760px; }

/* ---------------- foot + toast */
.foot { display: flex; justify-content: space-between; align-items: center; max-width: 1240px; margin: 0 auto; padding: 24px 20px 40px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.foot div:first-child { display: flex; align-items: center; gap: 8px; font: 700 16px Inter, system-ui, sans-serif; color: var(--ink); }
.foot img { width: 22px; height: 22px; }
.foot a { color: var(--ink-2); }
#toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; transition: .2s; max-width: calc(100vw - 32px); z-index: 50; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }
#toast.err { background: var(--down); color: #fff; }

/* ---------------- responsive */
@media (max-width: 1000px) {
  .hero, .launch, .tk-grid { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .tk-stats { grid-template-columns: repeat(3, 1fr); }
  .links { display: none; }
}
@media (max-width: 640px) {
  main { padding: 0 16px 60px; }
  .nav { padding: 10px 16px; gap: 10px; }
  .sd-pill span, .nav .btn.primary, #theme { display: none; }
  .hero { padding: 36px 0 30px; }
  .steps, .about-grid, .grid2 { grid-template-columns: 1fr; }
  .img-row { grid-template-columns: 100px 1fr; }
  .tk-stats { grid-template-columns: 1fr 1fr; }
  .search { grid-template-columns: 1fr; }
  .ch-row { grid-template-columns: 30px 1fr auto; }
  .ch-row .n { display: none; }
  .ch-hero { grid-template-columns: 1fr; }
  .ch-hero .tot { text-align: left; }
  .panel { padding: 18px; }
}

/* ---------------- charity picker, import, logos (added with the Silent Donor list) */
.feat img.lg { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.feat b { margin-top: 10px; }
.featured { margin-bottom: 48px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.pick { display: flex; align-items: center; gap: 10px; text-align: left; padding: 9px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pick:hover { border-color: var(--brand); }
.pick.on { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(59, 75, 255, .18); }
.pick img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: none; }
.pick b { display: block; font-size: 14px; line-height: 1.2; }
.pick small { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.25; margin-top: 2px; }
.import-btn { margin-top: 10px; width: 100%; padding: 11px; border: 1.5px dashed var(--line-2); border-radius: 14px; background: none; color: var(--brand); font-weight: 600; cursor: pointer; }
.import-btn:hover { border-color: var(--brand); background: var(--brand-soft); }
.import { margin-top: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.import input, .import select { background: var(--paper); }
.import #us-picked { margin-top: 8px; }
.res.static { cursor: default; margin-bottom: 10px; border-color: var(--brand); }
.import-foot { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; margin-top: 12px; }
.import-foot .hint { margin: 0; }
.logo-prev { width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; overflow: hidden; font-size: 11px; color: #999; }
.logo-prev img { width: 100%; height: 100%; object-fit: contain; }
.picked .plogo { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: none; }
.lsteps { list-style: none; padding: 0; margin: 12px 0 0; font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; }
.lsteps li { color: var(--ink-3); padding-left: 22px; position: relative; }
.lsteps li::before { content: "○"; position: absolute; left: 2px; }
.lsteps li.now { color: var(--ink); } .lsteps li.now::before { content: "●"; color: var(--brand); animation: pulse 1s infinite; }
.lsteps li.done::before { content: "✓"; color: var(--up); }
.lsteps li.fail { color: var(--down); } .lsteps li.fail::before { content: "✕"; color: var(--down); }
.hint.err { color: var(--down); font-weight: 500; }
.pv-ch small { color: var(--ink-3); }
.tk-head .tic { font: 600 16px Inter, sans-serif; color: var(--ink-3); margin-left: 6px; }
.ch-card { display: flex; align-items: center; gap: 14px; }
.ch-card .chlogo { width: 60px; height: 60px; border-radius: 14px; object-fit: contain; background: #fff; flex: none; }
.ch-card b { margin: 4px 0 2px; }
.prog { height: 10px; border-radius: 10px; background: var(--bg); overflow: hidden; margin: 6px 0 10px; }
.prog i { display: block; height: 100%; background: var(--grad); border-radius: 10px; }
.side-box:first-of-type { margin-top: 0; }
.tk-grid > div > .panel.trade + .side-box, .tk-grid > div > .ch-card + .side-box { margin-top: 14px; }
.ch-row { grid-template-columns: 30px 48px 1fr auto auto; }
.ch-row .chl { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.ch-id { display: flex; gap: 20px; align-items: center; }
.ch-id .chbig { width: 96px; height: 96px; border-radius: 22px; object-fit: contain; background: #fff; flex: none; }
.ch-hero .tot span { font-size: 13px; opacity: .9; }
.board.one { grid-template-columns: 1fr; }
.board.one .list { max-height: none; }
.card > img { object-fit: cover; background: #fff; }
@media (max-width: 640px) {
  .ch-row { grid-template-columns: 24px 40px 1fr auto; gap: 10px; padding: 12px; }
  .ch-row .chl { width: 40px; height: 40px; }
  .ch-id { flex-direction: column; align-items: flex-start; gap: 12px; }
  .import-foot { grid-template-columns: 56px 1fr; }
  .import-foot .btn { grid-column: 1 / -1; }
  .pick-grid { grid-template-columns: 1fr; }
}
.card > div { min-width: 0; }
.list { overflow-x: hidden; }
.sd-pill img { height: 20px; }
.hc-foot img { height: 30px; }
.chart { position: relative; margin-bottom: 14px; }
.chart .hi, .chart .lo { position: absolute; right: 18px; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; background: var(--paper); padding: 0 4px; border-radius: 4px; }
.chart .hi { top: 12px; } .chart .lo { bottom: 12px; }
.tk-grid > div > .ch-card { margin-bottom: 14px; }
.trades { margin-top: 14px; padding: 18px; }


/* ================= Trust blue + B4 hero (2026-11-22) ================= */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.025em; }
.logo { font: 800 20px/1 Inter, sans-serif; letter-spacing: -.02em; }
.btn { border-radius: 10px; }
.btn.primary { background: var(--grad); box-shadow: 0 6px 18px rgba(31, 49, 242, .22); }
.btn.primary:hover { box-shadow: 0 8px 24px rgba(31, 49, 242, .32); }
.btn.ghost { border-color: var(--line-2); }
.icon-btn, .sd-pill, .links a, .tabs, .tab, .seg, .seg button, .chip, .count, .eyebrow { border-radius: 10px; }
.eyebrow, .sd-pill { border-radius: 999px; }
.eyebrow .dot { display: none; }
.steps span, .step-h span, .picked .heart { background: var(--grad); }
.ch-card, .ch-hero { background: var(--grad); }
.split i::after, .prog i { background: var(--grad); }
.hero-card::before { display: none; }

/* hero: big type left, pitch right */
.hero { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px; padding: 56px 0 30px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 92px); font-weight: 900; line-height: .98; letter-spacing: -.04em; margin: 14px 0 0; }
.hero h1 em { font-style: normal; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--brand); padding: 0; }
.hero .lede { margin-bottom: 20px; }
.hero .cta { margin-top: 0; }
.hero-stats { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-stats div span { font-size: 12px; color: var(--ink-3); }
.hero-stats .live b { color: var(--up); }

/* charity ticker */
.marq { overflow: hidden; padding: 22px 0; margin: 10px calc(50% - 50vw) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.marq .track { display: flex; gap: 12px; width: max-content; animation: marq 60s linear infinite; }
.marq:hover .track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.marq .pill { display: flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14px; white-space: nowrap; background: var(--bg); text-decoration: none; }
.marq .pill:hover { border-color: var(--brand); }
.marq .pill img { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; background: #fff; }
.marq .pill span { color: var(--up); font-weight: 700; }
.marq .pill span.new { color: var(--brand); }

/* pick / launch / give */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); padding: 30px 0 46px; }
.flow div { padding: 0 22px; border-left: 2px solid var(--brand-soft); }
.flow b { display: block; font-size: 32px; font-weight: 800; color: var(--brand); letter-spacing: -.03em; }
.flow span { color: var(--ink-2); font-size: 14.5px; }

.feat, .pick, .res, .panel, .col, .ch-row, .tk-stats div, .about-grid article { border-color: var(--line); }
.panel { border-radius: 18px; }
.feat b, .ch-row b, .ch-card b { font-weight: 700; letter-spacing: -.01em; }
.sec-head.big h2 { font-weight: 900; letter-spacing: -.035em; }
@media (prefers-reduced-motion: reduce) { .marq .track { animation: none; } }
@media (max-width: 1000px) { .hero { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 640px) { .flow { grid-template-columns: 1fr; gap: 16px; padding: 24px 0 32px; } .hero-stats { gap: 16px; } }
.logo img { border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.foot img { border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }


/* ---- board without scrollbars, explore, token socials, GeckoTerminal (2026-11-22) */
.list { max-height: none; overflow: visible; }
.results, .trades, .ex-grid { scrollbar-width: none; }
.results::-webkit-scrollbar, .trades::-webkit-scrollbar { display: none; }
.explore { margin: 48px 0 20px; scroll-margin-top: 80px; }
.ex-count { color: var(--ink-3); font-size: 14px; }
.ex-bar { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-bottom: 16px; }
.ex-bar input { background: var(--paper); }
.ex-sort { display: inline-flex; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.ex-sort button { border: 0; background: none; padding: 8px 14px; border-radius: 9px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.ex-sort button.on { background: var(--brand); color: #fff; }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; margin-bottom: 14px; }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; min-width: 0; }
.tile:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.tile-top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.tile-top img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; background: #fff; border: 1px solid var(--line); flex: none; }
.tile-top div { min-width: 0; }
.tile-top b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.tile-top span { display: block; color: var(--ink-3); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .ch { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--brand); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .ch::before { content: "♥"; font-size: 11px; }
.tile-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.tile-nums small { display: block; font-size: 11px; color: var(--ink-3); }
.tile-nums b { font-size: 15px; font-variant-numeric: tabular-nums; }
.tile-nums .give { color: var(--up); }
.ex-grid .empty { grid-column: 1 / -1; background: var(--paper); border: 1px dashed var(--line-2); border-radius: 16px; }
label.mb { margin-bottom: 12px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.soc { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.soc:hover { border-color: var(--brand); color: var(--brand); }
.gecko { padding: 0; overflow: hidden; margin-bottom: 14px; }
.gecko iframe { display: block; width: 100%; height: 420px; border: 0; }
.gecko-note { padding: 8px 14px; font-size: 12px; color: var(--ink-3); border-top: 1px solid var(--line); }
.linkbtn { border: 0; background: none; color: var(--brand); font-weight: 600; cursor: pointer; padding: 0; font-size: 12px; }
@media (max-width: 640px) { .ex-bar { grid-template-columns: 1fr; } .ex-sort { overflow-x: auto; scrollbar-width: none; } }

.board { margin-top: 6px; }
.featured { margin-top: 48px; }

html { scroll-behavior: auto; }
body { overflow-x: clip; }
#launch-form label:not(.drop):not(.bnb-in) { display: block; }
#launch-form label:not(.drop):not(.bnb-in) > input, #launch-form label > textarea, #launch-form label > select { margin-top: 6px; }
#img-hint { margin: -4px 0 14px; }
#launch-btn { margin-top: 18px; }

/* ---- per-coin donation rate */
.rates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.rates button { padding: 12px 0; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); font-weight: 700; font-size: 16px; cursor: pointer; color: var(--ink-2); }
.rates button:hover { border-color: var(--brand); }
.rates button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.tk-stats small { display: block; font-size: 12px; color: var(--ink-3); }
.tile .ch i { font-style: normal; margin-left: auto; padding-left: 8px; color: var(--up); flex: none; }
.tile .ch { overflow: visible; }

/* ---- liquidity burn proof */
.tk-stats .burnt { color: var(--up); }
.tk-stats small a { color: var(--brand); }
.burn-box .btn { margin-top: 10px; font-size: 13px; }
.tk-grid > div > .side-box + .burn-box, .tk-grid > div > .burn-box + .trades { margin-top: 14px; }

/* tile: charity name truncates, rate chip always fits inside the card */
.tile .ch { overflow: hidden; min-width: 0; }
.tile .ch span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile .ch i { flex: none; margin-left: auto; padding-left: 10px; white-space: nowrap; }


/* ================= G1: light only, emerald, drawn-grid frame (2026-12-01) ================= */
:root, :root[data-theme="dark"], :root[data-theme="light"] {
  --bg: #ffffff; --paper: #ffffff; --ink: #0c1f17; --ink-2: #3f5248; --ink-3: #7b8d84;
  --line: #e2ebe6; --line-2: #cfdcd5; --brand: #059669; --brand-2: #059669; --brand-soft: #e6f4ee; --grad: #059669;
  --up: #059669; --down: #d6453d; --hatch: #e2ebe6; --gut: 32px;
  --shadow: 0 1px 2px rgba(12, 31, 23, .04), 0 10px 30px rgba(12, 31, 23, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #ffffff; --paper: #ffffff; --ink: #0c1f17; --ink-2: #3f5248; --ink-3: #7b8d84; --line: #e2ebe6; --line-2: #cfdcd5; --brand: #059669; --brand-2: #059669; --brand-soft: #e6f4ee; --grad: #059669; --shadow: 0 1px 2px rgba(12, 31, 23, .04), 0 10px 30px rgba(12, 31, 23, .06); color-scheme: light; }
}
.btn.primary { box-shadow: 0 6px 18px rgba(5, 150, 105, .22); }
.btn.primary:hover { box-shadow: 0 8px 24px rgba(5, 150, 105, .32); }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3px rgba(5, 150, 105, .16); }
.pick.on { box-shadow: 0 0 0 3px rgba(5, 150, 105, .18); }
.logo { gap: 0; }
.foot div:first-child { font-weight: 800; letter-spacing: -.02em; }
.sd-pill { background: #fff; }

/* the page is a ruled column: hairlines down both sides, a rule between every section */
.nav { padding: 12px max(20px, calc(50% - 620px + var(--gut))); background: rgba(255, 255, 255, .9); }
main { max-width: 1240px; padding: 0 var(--gut) 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
main > section { padding-bottom: 56px; }
main > section[data-view="home"] { padding-bottom: 0; }
.foot { max-width: 1240px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); padding: 22px var(--gut) 34px; }

.hero { position: relative; overflow: hidden; margin: 0 calc(-1 * var(--gut)); padding: 84px var(--gut) 60px; isolation: isolate; }
.hero > :not(canvas) { position: relative; z-index: 1; }
.hero-dots { position: absolute; inset: 0; z-index: 0; display: block; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 75% at 50% 122%, rgba(5, 150, 105, .30), rgba(16, 185, 129, .10) 44%, transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, .92) 0, rgba(255, 255, 255, .7) 34%, rgba(255, 255, 255, 0) 62%), linear-gradient(#fff 0, rgba(255, 255, 255, 0) 30%); }
.hero h1 { text-shadow: 0 0 24px #fff, 0 0 8px #fff; }
.hero .lede, .hero-stats { text-shadow: 0 0 12px #fff, 0 0 4px #fff; }
.hero-side { background: rgba(255, 255, 255, .72); backdrop-filter: blur(3px); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.hero-stats .live b { color: var(--brand); }

.marq { margin: 0 calc(-1 * var(--gut)); border-top: 1px solid var(--line); border-bottom: 0; background: #fff; padding: 20px 0; }
.marq .pill { background: #fff; }
.flow { margin: 0 calc(-1 * var(--gut)); padding: 0; border-top: 1px solid var(--line); }
.flow div { padding: 28px var(--gut) 32px; border-left: 1px solid var(--line); }
.flow div:first-child { border-left: 0; }
.flow small { display: block; font: 600 11px "JetBrains Mono", ui-monospace, monospace; color: var(--ink-3); margin-bottom: 14px; }
.board, .explore, .featured { margin: 0 calc(-1 * var(--gut)); padding: 30px var(--gut) 34px; border-top: 1px solid var(--line); }
.board { gap: 0; padding: 0; }
.board .col { border: 0; border-radius: 0; border-left: 1px solid var(--line); padding: 14px calc(var(--gut) - 10px) 18px; background: transparent; }
.board .col:first-child { border-left: 0; }
.hatch-strip { height: 44px; margin: 0 calc(-1 * var(--gut)); border-top: 1px solid var(--line); background-image: repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 9px); }
.sec-head.big { margin-top: 0; padding-top: 40px; }
.launch, .tk-head { margin-top: 0; padding-top: 32px; }
.ch-hero { margin-top: 32px; }
.panel, .tile, .feat, .ch-row, .tk-stats div, .about-grid article { box-shadow: none; }
.tile:hover, .feat:hover { box-shadow: var(--shadow); }
.ex-sort button.on, .rates button.on { background: var(--brand); }
.banner { background: #f1f8f4; color: #2f5d49; border-bottom: 1px solid var(--line); }

@media (max-width: 1000px) {
  .board .col { border-left: 0; border-top: 1px solid var(--line); } .board .col:first-child { border-top: 0; }
  .hero { padding-top: 56px; }
}
@media (max-width: 640px) {
  :root, :root[data-theme="light"] { --gut: 16px; }
  main { padding: 0 var(--gut) 0; border-left: 0; border-right: 0; }
  .foot { border-left: 0; border-right: 0; }
  .flow div { border-left: 0; border-top: 1px solid var(--line); } .flow div:first-child { border-top: 0; }
  .flow { padding: 0; gap: 0; }
  .hero-side { padding: 16px; }
}

/* hero: taller, picture carried by the dots, no white wash over them */
.hero { padding: 104px var(--gut) 84px; }
.hero::after { display: none; }
.hero::before { background: radial-gradient(120% 80% at 50% 125%, rgba(5, 150, 105, .22), rgba(16, 185, 129, .07) 46%, transparent 72%); }
.hero h1 { text-shadow: 0 0 2px #fff, 0 0 14px #fff, 0 0 28px #fff, 0 0 40px #fff; }
.hero-side { background: rgba(255, 255, 255, .86); backdrop-filter: blur(6px); }
@media (max-width: 1000px) { .hero { padding: 64px var(--gut) 48px; } }
/* hero at rest is neutral: the green lives in the pointer's light, not in a permanent glow */
.hero::before { background: radial-gradient(120% 80% at 50% 125%, rgba(12, 31, 23, .07), rgba(12, 31, 23, .02) 46%, transparent 72%); }


/* ================= nav marker, top donor, halftone footer (2026-12-01) ================= */
/* which page you are on: green pill, plus a green bar sitting on the nav's bottom line */
.links { align-items: center; }
.links a { position: relative; box-shadow: none; }
.links a:hover { background: var(--brand-soft); color: var(--ink); box-shadow: none; }
.links a.on { background: var(--brand-soft); color: var(--brand); font-weight: 700; box-shadow: none; }
.links a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); }
.nav .btn.primary.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--brand); }
.x-link { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--ink-2); border: 1px solid var(--line); background: #fff; padding: 0 !important; }
.x-link:hover { color: var(--ink); border-color: var(--brand); background: #fff !important; }
.links .x-link { margin-left: 6px; }

/* hero: pitch on the left, the top donor on the right */
.hero { align-items: center; }
.hero h1 { margin: 0 0 22px; }
.hero-copy .lede { max-width: 470px; }
.hero-copy .cta { margin-top: 22px; }
.hero-side { padding: 0; background: none; border: 0; backdrop-filter: none; }
.td { display: block; text-decoration: none; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; transition: border-color .15s, box-shadow .15s; }
a.td:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.td-label { display: flex; justify-content: space-between; align-items: baseline; font: 600 11px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.td-label span { color: var(--ink-3); letter-spacing: 0; text-transform: none; font-family: Inter, sans-serif; font-size: 12px; font-weight: 500; }
.td-head { display: flex; gap: 12px; align-items: center; min-width: 0; }
.td-head img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; background: #fff; border: 1px solid var(--line); flex: none; }
.td-head div { min-width: 0; }
.td-head b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.td-head span { display: block; color: var(--ink-3); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-big { font-size: 48px; font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--brand); margin: 16px 0 12px; font-variant-numeric: tabular-nums; }
.td-big small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-top: 6px; }
.td-to { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--brand-soft); font-size: 14px; color: var(--ink-2); min-width: 0; }
.td-to img { width: 30px; height: 30px; border-radius: 8px; object-fit: contain; background: #fff; flex: none; }
.td-to span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.td-to b { color: var(--ink); }
.td-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.td-nums small { display: block; font-size: 11px; color: var(--ink-3); }
.td-nums b { font-size: 14.5px; font-variant-numeric: tabular-nums; }
.empty-td b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.empty-td p { margin: 6px 0 14px; color: var(--ink-2); font-size: 14px; }
.hero-stats { margin-top: 14px; padding: 12px 18px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 14px; justify-content: space-between; gap: 12px; }
.hero-stats div b { font-size: 18px; }
.hero-stats .live span { display: block; margin: 0; }

/* footer: the name in halftone, same light as the hero */
.foot { display: block; padding: 0; border-top: 1px solid var(--line); }
.foot-art { position: relative; height: 210px; overflow: hidden; border-bottom: 1px solid var(--line); }
.foot-row { display: flex; align-items: center; gap: 24px; padding: 18px var(--gut) 26px; color: var(--ink-3); font-size: 13px; flex-wrap: wrap; }
.foot .foot-name { font: 800 17px Inter, sans-serif; letter-spacing: -.03em; color: var(--ink); display: block; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: var(--brand); }
.foot-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
main > section[data-view="home"] > .featured { padding-bottom: 44px; }
@media (max-width: 1000px) { .links .x-link { display: none; } }
@media (max-width: 640px) {
  .foot-art { height: 120px; }
  .foot-row { padding: 16px var(--gut) 22px; gap: 14px; }
  .foot-right { margin-left: 0; width: 100%; justify-content: space-between; }
  .td-big { font-size: 40px; }
}


/* ================= giving board on How it works (2026-12-01) ================= */
.about .sec-head.big { align-items: baseline; }
.giv-note { color: var(--ink-3); font-size: 14px; }
.giving { display: grid; grid-template-columns: 310px 1fr; margin: 6px calc(-1 * var(--gut)) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.giv-list { border-right: 1px solid var(--line); min-width: 0; }
.giv-list header { display: flex; justify-content: space-between; padding: 10px 16px; font-size: 12px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
#giv-rows { max-height: 640px; overflow-y: auto; scrollbar-width: none; }
#giv-rows::-webkit-scrollbar { display: none; }
.giv-row { display: grid; grid-template-columns: 34px 1fr 56px auto; gap: 10px; align-items: center; width: 100%; padding: 10px 16px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; color: var(--ink-3); }
.giv-row:hover { background: #f6faf8; }
.giv-row.on { background: var(--brand-soft); color: var(--brand); box-shadow: inset 3px 0 0 var(--brand); }
.giv-row img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.giv-row .nm { min-width: 0; }
.giv-row b { display: block; color: var(--ink); font-size: 14px; }
.giv-row small { display: block; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.giv-row .am { text-align: right; font-variant-numeric: tabular-nums; }
.giv-row .am b { color: var(--brand); }
.giv-main { min-width: 0; }
.giv-head { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.giv-head img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--line); }
.giv-head b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.giv-head span { font-size: 12.5px; color: var(--ink-3); }
.giv-head > div { margin-right: auto; }
.tagbtn { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); background: #fff; white-space: nowrap; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.tagbtn:hover { border-color: var(--brand); color: var(--brand); }
.giv-stats { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--line); }
.giv-stats div { padding: 12px 22px; border-left: 1px solid var(--line); min-width: 0; }
.giv-stats div:first-child { border-left: 0; }
.giv-stats small, .giv-top small { display: block; font-size: 12px; color: var(--ink-3); }
.giv-stats b { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.giv-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 18px 22px 6px; flex-wrap: wrap; }
.giv-big { font-size: 42px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.giv-big span { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--brand); margin-left: 10px; }
.giv-big i { font-style: normal; color: var(--ink-3); font-weight: 500; }
.giv-ctl { display: flex; gap: 8px; }
.seg2 { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.seg2 button { border: 0; background: none; padding: 6px 11px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--ink-3); cursor: pointer; }
.seg2 button.on { background: var(--ink); color: #fff; }
.giv-legend { display: flex; gap: 18px; padding: 4px 22px 10px; font-size: 12.5px; color: var(--ink-3); }
.giv-legend .lg { display: inline-flex; align-items: center; gap: 7px; }
.giv-legend .lg i { width: 22px; height: 0; border-top: 1.5px solid #a9bfb4; }
.giv-legend .lg.sel { color: var(--ink); font-weight: 600; } .giv-legend .lg.sel i { border-top: 2.5px solid var(--ink); }
.giv-chart { position: relative; height: 380px; margin: 0 76px 30px 22px; }
.giv-chart svg { width: 100%; height: 100%; display: block; overflow: visible; cursor: crosshair; }
.giv-chart .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.giv-chart path { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.giv-chart path.o { stroke: #a9bfb4; stroke-width: 1.1; opacity: .75; cursor: pointer; pointer-events: stroke; }
.giv-chart path.o:hover { stroke: var(--brand); stroke-width: 2; opacity: 1; }
.giv-chart path.s { stroke: var(--ink); stroke-width: 2.6; pointer-events: none; }
.giv-chart path[fill^="url"] { pointer-events: none; }
.giv-chart .cross { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; pointer-events: none; }
.giv-chart .dot { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(12, 31, 23, .12); transform: translate(-50%, -50%); pointer-events: none; }
.giv-chart .yax span { position: absolute; left: calc(100% + 10px); transform: translateY(-50%); font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.giv-chart .xax { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: flex; font-size: 11.5px; color: var(--ink-3); }
.giv-chart .xax span { flex: 1; text-align: center; }
.giv-chart .tip { position: absolute; transform: translate(10px, -120%); background: var(--ink); color: #fff; border-radius: 8px; padding: 6px 9px; font-size: 12px; pointer-events: none; white-space: nowrap; z-index: 2; }
.giv-chart .tip.flip { transform: translate(calc(-100% - 10px), -120%); }
.giv-chart .tip b { display: block; font-size: 14px; } .giv-chart .tip span { opacity: .7; }
.giving.empty-giv { grid-template-columns: 1fr; } .giving.empty-giv .giv-list, .giving.empty-giv .giv-top { display: none; }
.giv-panels { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 calc(-1 * var(--gut)); border-bottom: 1px solid var(--line); }
.giv-panels > div { padding: 20px 22px 24px; border-left: 1px solid var(--line); min-width: 0; }
.giv-panels > div:first-child { border-left: 0; }
.giv-panels h4 { font: 600 11px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.kv { margin: 0; } .kv div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 13.5px; }
.kv div:first-child { border-top: 0; } .kv dt { color: var(--ink-2); } .kv dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.bar { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 7px 0 11px; font-size: 13.5px; text-decoration: none; color: inherit; }
.bar span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-2); } .bar b { font-variant-numeric: tabular-nums; }
.bar i { position: absolute; left: 0; bottom: 3px; height: 4px; border-radius: 4px; background: var(--brand); }
a.bar:hover span { color: var(--brand); }
@media (max-width: 1000px) {
  .giving { grid-template-columns: 1fr; } .giv-list { border-right: 0; border-bottom: 1px solid var(--line); } #giv-rows { max-height: 260px; }
  .giv-stats { grid-template-columns: repeat(3, 1fr); } .giv-stats div:nth-child(4) { border-left: 0; } .giv-stats div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .giv-panels { grid-template-columns: 1fr; } .giv-panels > div { border-left: 0; border-top: 1px solid var(--line); } .giv-panels > div:first-child { border-top: 0; }
}
@media (max-width: 640px) {
  .giv-chart { height: 260px; margin: 0 58px 30px 14px; } .giv-big { font-size: 32px; }
  .giv-stats { grid-template-columns: repeat(2, 1fr); } .giv-stats div { padding: 10px 14px; } .giv-stats div:nth-child(odd) { border-left: 0; } .giv-stats div:nth-child(4) { border-left: 1px solid var(--line); } .giv-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .giv-head, .giv-top, .giv-legend { padding-left: 14px; padding-right: 14px; }
}


/* ================= coin page, terminal layout (2026-12-01) ================= */
main > section[data-view="token"] { padding-bottom: 0; }
.tkp { margin: 0 calc(-1 * var(--gut)); }
.tkp-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px var(--gut); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tkp-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tkp-id > img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #fff; border: 1px solid var(--line); flex: none; }
.tkp-id .l1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tkp-id .l1 b { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.tkp-id .tic { color: var(--ink-3); font-weight: 600; font-size: 15px; margin-right: 4px; }
.tkp-id .soc { padding: 3px 9px; font-size: 12px; }
.tkp-id .l2 { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; color: var(--ink-3); flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 12px; color: var(--ink-2); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--brand); }
.chip.give { color: var(--brand); border-color: transparent; background: var(--brand-soft); font-weight: 600; max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
.tkp-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.tkp-stats small { display: block; font-size: 11.5px; color: var(--ink-3); }
.tkp-stats b { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tkp-stats .give b { color: var(--brand); }
.tkp-body { display: grid; grid-template-columns: minmax(0, 1fr) 350px; }
.tkp-main { min-width: 0; }
.tkp-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px var(--gut); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); min-height: 46px; }
.tkp-bar a { color: var(--brand); font-weight: 600; }
.tkp-chart { height: 460px; border-bottom: 1px solid var(--line); position: relative; }
.tkp-chart iframe { width: 100%; height: 100%; border: 0; display: block; }
.own-chart { position: absolute; inset: 16px 78px 16px var(--gut); }
.own-chart.small { position: relative; inset: auto; height: 220px; margin-right: 0; }
.own-chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.own-chart .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.own-chart .ln { fill: none; stroke: var(--brand); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.own-chart .yax span { position: absolute; left: calc(100% + 10px); transform: translateY(-50%); font-size: 11.5px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tkp-tabs { display: flex; align-items: center; gap: 4px; padding: 0 calc(var(--gut) - 10px); border-bottom: 1px solid var(--line); }
.tkp-tabs button { position: relative; border: 0; background: none; padding: 13px 12px; font-weight: 600; font-size: 14px; color: var(--ink-3); cursor: pointer; }
.tkp-tabs button:hover { color: var(--ink); }
.tkp-tabs button.on { color: var(--ink); }
.tkp-tabs button.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--brand); }
.tkp-tabs span { margin-left: auto; padding-right: 10px; font-size: 12.5px; color: var(--ink-3); }
.tkp-tab { min-height: 260px; }
.tk-tbl th, .tk-tbl td { padding: 10px 8px; }
.tk-tbl th:first-child, .tk-tbl td:first-child { padding-left: var(--gut); }
.tk-tbl td a { color: var(--ink-2); }
.tkp-tab .empty { padding: 60px 20px; }
.tk-give, .tk-about { padding: 22px var(--gut) 28px; }
.tk-give-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.tk-give-nums small { display: block; font-size: 12px; color: var(--ink-3); }
.tk-give-nums b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--brand); }
.tk-give-nums span { font-size: 12.5px; color: var(--ink-3); }
.tk-about .kv { max-width: 620px; } .tk-about .kv a { color: var(--brand); }
.tkp-side { border-left: 1px solid var(--line); min-width: 0; }
.rail { padding: 18px 20px 20px; border-bottom: 1px solid var(--line); }
.rail:last-child { border-bottom: 0; }
.rail h4 { font: 600 11px "JetBrains Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.rail .hint { margin: 0 0 12px; } .rail .hint b { color: var(--ink); }
.rail .seg { border-radius: 12px; } .rail .seg button { border-radius: 9px; }
.split-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-bottom: 12px; } .split-bar i { display: block; height: 100%; width: 100%; background: var(--brand); }
.rail-ch { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; text-decoration: none; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.rail-ch:hover { border-color: var(--brand); }
.rail-ch img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.rail-ch span { min-width: 0; } .rail-ch b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-ch small { display: block; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-ch em { font-style: normal; font-weight: 800; color: var(--brand); }
@media (max-width: 1000px) {
  .tkp-body { grid-template-columns: 1fr; } .tkp-side { border-left: 0; border-top: 1px solid var(--line); order: -1; }
  .tkp-chart { height: 360px; } .tkp-stats { gap: 18px; }
}
@media (max-width: 640px) {
  .tkp-chart { height: 300px; } .own-chart { inset: 12px 64px 12px var(--gut); }
  .tk-give-nums { grid-template-columns: 1fr; } .tk-tbl th:nth-child(4), .tk-tbl td:nth-child(4), .tk-tbl th:nth-child(7), .tk-tbl td:nth-child(7) { display: none; }
  .tkp-tabs span { display: none; }
}


/* ================= TradingView chart on the coin page (2026-12-01) ================= */
.tkp-chart .tv { position: absolute; inset: 0; }
.tkp-chart .empty { position: absolute; inset: 0; display: grid; place-items: center; }
.tkp-bar .seg2 button { padding: 5px 9px; font-size: 12px; }
.tk-tbl + .more { display: block; margin: 14px auto 20px; font-size: 13px; }
@media (max-width: 640px) { .tkp-bar { flex-wrap: wrap; } #chart-src { width: 100%; } }

.lead-hint { margin: -4px 0 12px; font-size: 14px; color: var(--ink-2); } .lead-hint b, .hero .lede b { color: var(--ink); }

/* logo: fist holding the money bag */
.logo { gap: 8px; } .logo img { width: 30px; height: 30px; border-radius: 0; box-shadow: none; object-fit: contain; }
.foot .foot-name { display: flex; align-items: center; gap: 7px; } .foot .foot-name img { width: 24px; height: 24px; border-radius: 0; box-shadow: none; object-fit: contain; }

/* bonding curve progress on the coin page */
.split-bar.curve i{display:block;height:100%;border-radius:inherit;background:var(--accent,#059669);transition:width .4s}


/* ================= night sky: purple, cream and gold from the Donor banner, clouds (2026-12-04) ================= */
:root, :root[data-theme="dark"], :root[data-theme="light"], :root:not([data-theme="light"]) {
  --bg: #1b0626; --paper: #261034; --ink: #fdf5e6; --ink-2: #cdbcdc; --ink-3: #9482a6;
  --line: #3a1f4c; --line-2: #55336c; --brand: #ffc94a; --brand-2: #ffc94a; --brand-soft: rgba(255, 201, 74, .13); --grad: #ffc94a;
  --up: #63d6a0; --down: #ff7a7a; --hatch: #3a1f4c; --on-brand: #26092f;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
html, body { background: var(--bg); color: var(--ink); }
.btn.primary { color: var(--on-brand); box-shadow: 0 6px 20px rgba(255, 201, 74, .18); }
.btn.primary:hover { box-shadow: 0 8px 26px rgba(255, 201, 74, .32); }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3px rgba(255, 201, 74, .18); }
.pick.on { box-shadow: 0 0 0 3px rgba(255, 201, 74, .2); }
.steps span, .step-h span, .picked .heart, .ex-sort button.on, .rates button.on, .seg2 button.on { color: var(--on-brand); }
.nav { background: rgba(27, 6, 38, .86); }
.nav .btn.primary.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--brand); }
.sd-pill { background: #fdf5e6; color: #4a3558; border-color: transparent; }
.banner { background: rgba(255, 201, 74, .1); color: var(--brand); border-bottom: 1px solid var(--line); }
.marq, .marq .pill, .x-link, .tagbtn, .seg2, .chip, .logo-prev { background: var(--paper); }
.x-link:hover { background: var(--paper) !important; }
.giv-row:hover { background: rgba(255, 255, 255, .04); }
.giv-legend .lg i { border-top-color: #6d5385; } .giv-chart path.o { stroke: #6d5385; }
.giv-chart .dot { border-color: var(--bg); box-shadow: 0 0 0 4px rgba(255, 201, 74, .2); background: var(--brand); }
.giv-chart .tip { color: var(--on-brand); }
#toast.err { color: #26092f; }
.ch-card, .ch-hero { color: var(--on-brand); } .ch-hero .meta a { color: var(--on-brand); } .ch-hero .tot .btn { background: var(--on-brand); color: var(--brand); }

.hero::before { background: radial-gradient(110% 80% at 50% 128%, rgba(255, 201, 74, .2), rgba(141, 92, 201, .16) 46%, transparent 74%); }
.hero::after { background: linear-gradient(100deg, rgba(27, 6, 38, .9) 0, rgba(27, 6, 38, .62) 34%, rgba(27, 6, 38, 0) 62%), linear-gradient(#1b0626 0, rgba(27, 6, 38, 0) 30%); }
.hero h1 { text-shadow: 0 0 2px #1b0626, 0 0 16px #1b0626, 0 0 34px #1b0626; }
.hero .lede, .hero-stats { text-shadow: 0 0 12px #1b0626, 0 0 4px #1b0626; }
.hero-side { background: rgba(38, 16, 52, .78); }
.td, .hero-stats { background: rgba(38, 16, 52, .9); }

/* clouds: a gold-rimmed bank along the bottom of the hero and the top of the footer, a few puffs adrift */
.clouds { position: absolute !important; left: 0; right: 0; bottom: -1px; height: 96px; z-index: 0 !important; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 110' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23593a80'/%3E%3Cstop offset='1' stop-color='%232a1140'/%3E%3C/linearGradient%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffc94a'/%3E%3Cstop offset='1' stop-color='%23ffc94a' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23f)' stroke='url(%23g)' stroke-width='2.5'%3E%3Cpath d='M-40 112 C-40 78 -8 58 26 66 C40 26 104 14 140 48 C170 26 218 40 222 78 C258 68 292 86 296 112 Z'/%3E%3Cpath d='M470 112 C472 92 494 80 514 86 C526 60 570 54 592 76 C612 64 640 74 644 94 C664 90 682 100 684 112 Z'/%3E%3Cpath d='M890 112 C892 84 922 66 952 74 C968 36 1030 26 1062 58 C1092 38 1136 52 1140 86 C1176 78 1238 90 1240 112 Z'/%3E%3C/g%3E%3C/svg%3E") bottom center / 1200px 100% repeat-x; }
.hero { padding-bottom: 112px; }
.puff { position: absolute !important; z-index: 0 !important; pointer-events: none; width: 120px; height: 60px; opacity: .1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath fill='%23e9defa' d='M14 54 C2 54 0 38 12 34 C12 20 30 14 40 24 C48 8 76 8 82 26 C98 20 112 32 106 44 C116 46 114 54 104 54 Z'/%3E%3C/svg%3E") center / contain no-repeat; animation: drift 46s linear infinite alternate; }
.puff.p1 { top: 12%; left: 46%; } .puff.p2 { top: 44%; left: 88%; width: 84px; height: 42px; opacity: .08; animation-duration: 62s; animation-direction: alternate-reverse; }
.puff.p3 { top: 70%; left: 30%; width: 64px; height: 32px; opacity: .07; animation-duration: 54s; }
@keyframes drift { from { transform: translateX(-34px); } to { transform: translateX(34px); } }
@media (prefers-reduced-motion: reduce) { .puff { animation: none; } }
.foot-art { background: linear-gradient(var(--bg), #230b31); }
.foot-art .clouds { height: 78px; opacity: .9; }
.page-clouds { position: relative; height: 0; }
.page-clouds::after { content: ""; position: absolute; right: 4%; top: 18px; width: 150px; height: 75px; opacity: .08; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath fill='%23e9defa' d='M14 54 C2 54 0 38 12 34 C12 20 30 14 40 24 C48 8 76 8 82 26 C98 20 112 32 106 44 C116 46 114 54 104 54 Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.logo img, .foot .foot-name img { border-radius: 50% !important; }
.split li.fee i, .split-bar i.fee { background: var(--ink-3); }
.rail-ch.fee { opacity: .85; } .rail-ch.fee em { color: var(--ink-2); }
@media (max-width: 720px) { .clouds { height: 64px; background-size: 800px 100%; } .hero { padding-bottom: 84px; } .puff.p2 { display: none; } }


/* ================= day sky: the same brand on white (2026-12-04). Dark stays the default ================= */
:root[data-theme="light"] {
  --bg: #ffffff; --paper: #ffffff; --ink: #24092f; --ink-2: #5b4569; --ink-3: #8f7d9c;
  --line: #ece4f1; --line-2: #d9cce2; --brand: #7a45c2; --brand-2: #7a45c2; --brand-soft: #f3ecfa; --grad: #ffc94a;
  --up: #0f9d63; --down: #d6453d; --hatch: #ece4f1; --on-brand: #26092f;
  --shadow: 0 1px 2px rgba(36, 9, 47, .04), 0 10px 30px rgba(36, 9, 47, .07);
  color-scheme: light;
}
:root[data-theme="light"] .btn.primary { box-shadow: 0 6px 18px rgba(255, 201, 74, .4); }
:root[data-theme="light"] .btn.primary:hover { box-shadow: 0 8px 24px rgba(255, 201, 74, .6); }
:root[data-theme="light"] input:focus, :root[data-theme="light"] select:focus, :root[data-theme="light"] textarea:focus { box-shadow: 0 0 0 3px rgba(122, 69, 194, .16); }
:root[data-theme="light"] .pick.on { box-shadow: 0 0 0 3px rgba(122, 69, 194, .18); }
:root[data-theme="light"] .ex-sort button.on, :root[data-theme="light"] .rates button.on, :root[data-theme="light"] .seg2 button.on, :root[data-theme="light"] .giv-chart .tip, :root[data-theme="light"] #toast.err { color: #fff; }
:root[data-theme="light"] .nav { background: rgba(255, 255, 255, .9); }
:root[data-theme="light"] .sd-pill { background: #fff; color: #555; border-color: var(--line); }
:root[data-theme="light"] .banner { background: #fff8e3; color: #6b4a00; }
:root[data-theme="light"] .giv-row:hover { background: #faf6fd; }
:root[data-theme="light"] .giv-legend .lg i { border-top-color: #c9b8d8; } :root[data-theme="light"] .giv-chart path.o { stroke: #c9b8d8; }
:root[data-theme="light"] .giv-chart .dot { border-color: #fff; box-shadow: 0 0 0 4px rgba(122, 69, 194, .16); background: var(--brand); }
:root[data-theme="light"] .hero::before { background: radial-gradient(110% 80% at 50% 128%, rgba(255, 201, 74, .3), rgba(141, 92, 201, .12) 46%, transparent 74%); }
:root[data-theme="light"] .hero::after { background: linear-gradient(100deg, rgba(255, 255, 255, .92) 0, rgba(255, 255, 255, .7) 34%, rgba(255, 255, 255, 0) 62%), linear-gradient(#fff 0, rgba(255, 255, 255, 0) 30%); }
:root[data-theme="light"] .hero h1 { text-shadow: 0 0 2px #fff, 0 0 14px #fff, 0 0 28px #fff, 0 0 40px #fff; }
:root[data-theme="light"] .hero .lede, :root[data-theme="light"] .hero-stats { text-shadow: 0 0 12px #fff, 0 0 4px #fff; }
:root[data-theme="light"] .hero-side { background: rgba(255, 255, 255, .86); }
:root[data-theme="light"] .td, :root[data-theme="light"] .hero-stats { background: rgba(255, 255, 255, .92); }
:root[data-theme="light"] .clouds { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 110' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23e6d9f6'/%3E%3Cstop offset='1' stop-color='%23f7f2fc'/%3E%3C/linearGradient%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ffc94a'/%3E%3Cstop offset='1' stop-color='%23ffc94a' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23f)' stroke='url(%23g)' stroke-width='3'%3E%3Cpath d='M-40 112 C-40 78 -8 58 26 66 C40 26 104 14 140 48 C170 26 218 40 222 78 C258 68 292 86 296 112 Z'/%3E%3Cpath d='M470 112 C472 92 494 80 514 86 C526 60 570 54 592 76 C612 64 640 74 644 94 C664 90 682 100 684 112 Z'/%3E%3Cpath d='M890 112 C892 84 922 66 952 74 C968 36 1030 26 1062 58 C1092 38 1136 52 1140 86 C1176 78 1238 90 1240 112 Z'/%3E%3C/g%3E%3C/svg%3E"); }
:root[data-theme="light"] .puff, :root[data-theme="light"] .page-clouds::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath fill='%238a5cc9' d='M14 54 C2 54 0 38 12 34 C12 20 30 14 40 24 C48 8 76 8 82 26 C98 20 112 32 106 44 C116 46 114 54 104 54 Z'/%3E%3C/svg%3E"); }
:root[data-theme="light"] .foot-art { background: linear-gradient(#fff, #faf6fd); }
#mode { cursor: pointer; }
#mode .sun, :root[data-theme="light"] #mode .moon { display: none; } :root[data-theme="light"] #mode .sun { display: block; }


/* ================= breakpoints (2026-12-04): tablet <= 1000, phone <= 760, small phone <= 350 ================= */
.links .ti, .links .m-only { display: none; }

/* tablet: keep the page links in the bar, drop the "Powered by" words */
@media (min-width: 761px) and (max-width: 1000px) {
  .links { display: flex; }
  .sd-pill span { display: none; }
  .nav { gap: 12px; }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .board { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .board::-webkit-scrollbar { display: none; }
  .board .col { flex: 0 0 46%; scroll-snap-align: start; border-top: 0 !important; border-left: 1px solid var(--line); }
  .board .col:first-child { border-left: 0; }
}

/* tablet and phone coin page: chart, then trade box, then the rest */
@media (max-width: 1000px) {
  .tkp-body { display: flex; flex-direction: column; }
  .tkp-main, .tkp-side { display: contents; }
  .tkp-bar { order: 1; } .tkp-chart { order: 2; }
  .tkp-side .rail:first-child { order: 3; border-top: 1px solid var(--line); }
  .tkp-side .rail { order: 4; }
  .tkp-tabs { order: 5; border-top: 1px solid var(--line); } .tkp-tab { order: 6; }
}

/* phone */
@media (max-width: 760px) {
  :root, :root[data-theme="light"], :root[data-theme="dark"] { --gut: 16px; }
  main { padding: 0 var(--gut) 0; border-left: 0; border-right: 0; }
  .foot { border-left: 0; border-right: 0; padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .nav { padding: 10px 16px; gap: 8px; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: var(--bg) !important; } /* a blurred bar would trap the fixed tab bar inside it */
  .nav .btn.primary, .sd-pill span { display: none; }
  .nav .right { gap: 8px; }
  #wallet { padding: 8px 12px; }

  /* page links become a tab bar along the bottom */
  .links { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 0; margin: 0; padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    background: var(--bg); border-top: 1px solid var(--line); }
  .links a { flex: 1; display: flex !important; flex-direction: column; align-items: center; gap: 3px; padding: 6px 4px !important; border-radius: 10px;
    font-size: 11.5px; font-weight: 600; color: var(--ink-3); background: none !important; text-decoration: none; }
  .links a::after, .links a::before { display: none !important; }
  .links a.on { color: var(--brand); }
  .links .ti { display: block; width: 20px; height: 20px; }
  .links .x-link { display: none !important; }
  #toast { bottom: calc(76px + env(safe-area-inset-bottom)); }

  /* home */
  .hero { padding: 34px var(--gut) 78px; gap: 22px; }
  .hero h1 { font-size: clamp(40px, 12.4vw, 56px); line-height: 1.02; }
  .hero .lede { font-size: 16px; }
  .hero .cta, .hero-cta { display: flex; gap: 10px; } .hero .cta .btn, .hero-cta .btn { flex: 1; }
  .td { padding: 16px; } .td-big { font-size: 36px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; padding: 12px 14px; }
  .hero-stats .live { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .hero-stats div b { font-size: 17px; }
  .marq { padding: 14px 0; }
  .flow { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .flow div { display: grid; grid-template-columns: 30px 1fr; column-gap: 6px; padding: 16px var(--gut) 18px; border-left: 0; border-top: 1px solid var(--line); }
  .flow div:first-child { border-top: 0; }
  .flow small { grid-row: 1 / span 2; margin: 7px 0 0; }
  .flow b { font-size: 22px; } .flow span { grid-column: 2; font-size: 14px; }
  .board { display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .board::-webkit-scrollbar { display: none; }
  .board .col { flex: 0 0 88%; min-width: 0; scroll-snap-align: start; border-top: 0 !important; border-left: 1px solid var(--line); padding: 14px 12px 16px; }
  .board .col:first-child { border-left: 0; }
  .explore, .featured { padding: 24px var(--gut) 28px; }
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feat { padding: 12px; border-radius: 14px; min-width: 0; }
  .feat img.lg { width: 40px; height: 40px; border-radius: 10px; }
  .feat b { font-size: 14px; margin-top: 8px; overflow-wrap: anywhere; }
  .feat small { display: none; }
  .feat .go { font-size: 12px; margin-top: 4px; }

  /* launch */
  .launch { gap: 16px; }
  .panel { padding: 18px 16px; }
  .rates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; } .rates button { padding-left: 0; padding-right: 0; }
  input, select, textarea { font-size: 16px; } /* stops iOS zooming into fields */

  /* coin page: chart, then trade box, then the rest */
  .tkp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 10px; }
  .tkp-id h1, .tkp-id h2 { font-size: 20px; }
  .tk-tbl { font-size: 12.5px; } .tk-tbl th, .tk-tbl td { padding-left: 8px; padding-right: 8px; }
  .tkp-tab { overflow-x: auto; }

  /* how it works */
  .giv-title, [data-view="about"] h1 { font-size: clamp(34px, 10.5vw, 48px); line-height: 1.04; }
  .about-grid { grid-template-columns: 1fr; }
  .foot-art { height: 110px; }
  .foot-row { padding: 14px var(--gut) 18px; gap: 12px; }
  .foot-links { display: none; }
  .foot-right { margin-left: auto; width: auto; }
}

/* small phones */
@media (max-width: 420px) { .tkp-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 350px) {
  .sd-pill { display: none; }
  .hero h1 { font-size: 38px; }
  .hero .cta, .hero-cta { flex-direction: column; }
  .board .col { flex-basis: 92%; }
  .tkp-stats { grid-template-columns: 1fr 1fr; }
  .presets button { padding-left: 0; padding-right: 0; }
}


/* ================= Buy / Sell sliding switch on the coin page (2026-12-04) ================= */
.seg.bs { position: relative; padding: 4px; background: var(--brand-soft); border: 1px solid var(--line); border-radius: 14px; isolation: isolate; }
.seg.bs::before { content: ""; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px;
  background: var(--up); box-shadow: 0 4px 14px rgba(0, 0, 0, .14); }
.seg.bs.sell::before { transform: translateX(100%); background: var(--down); }
.seg.bs.anim.sell::before { animation: bs-sell .26s cubic-bezier(.3, .8, .3, 1); }
.seg.bs.anim.buy::before { animation: bs-buy .26s cubic-bezier(.3, .8, .3, 1); }
@keyframes bs-sell { from { transform: translateX(0); background: var(--up); } to { transform: translateX(100%); background: var(--down); } }
@keyframes bs-buy { from { transform: translateX(100%); background: var(--down); } to { transform: translateX(0); background: var(--up); } }
.seg.bs button { padding: 10px 8px; border-radius: 10px; font-size: 15px; font-weight: 700; color: var(--ink-2); background: none !important; box-shadow: none !important; transition: color .2s; }
.seg.bs button:not(.on):hover { color: var(--ink); }
.seg.bs button.on, .seg.bs button.on[data-side="buy"], .seg.bs button.on[data-side="sell"] { color: var(--bg); }
@media (prefers-reduced-motion: reduce) { .seg.bs.anim::before { animation: none !important; } }
