@font-face {
  font-family: Geist;
  src: url('/assets/geist.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --black: #080908;
  --surface: #101211;
  --line: #292c29;
  --muted: #a2a9a3;
  --text: #f2f4ef;
  --mint: #96d9b7;
  --mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-family: Geist, Arial, sans-serif;
  background: var(--black);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 310px; }
body, #main { min-height: 100vh; }
body { display: flex; flex-direction: column; }
#main { flex: 1; min-height: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button[disabled] { cursor: wait; opacity: .65; }
img { max-width: 100%; display: block; }
ul, p, h1, h2, h3, dl, dd { margin: 0; }
svg { display: block; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.container { width: min(1320px, calc(100% - 88px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 10; background: var(--text); color: var(--black); padding: 10px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.muted { color: var(--muted); }
.mono, .network, .button, .section-kicker, .field-label, .chip { font-family: var(--mono); }
.network { background: #0c0e0c; border-bottom: 1px solid #252825; font-size: 10px; letter-spacing: .09em; }
.network-inner { min-height: 34px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.network-label, .network-inner > a { display: flex; align-items: center; gap: 8px; }
.network-label { color: var(--mint); border-right: 1px solid #2a2e2a; align-self: stretch; padding-right: 22px; }
.network-label i { width: 6px; height: 6px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 9px #89e3af70; }
.network-data, .network-inner > a { color: #a1aba2; }
.network-data b { color: #59655c; padding-inline: 9px; }
.network-inner > a img { width: 13px; }
.header { border-bottom: 1px solid var(--line); background: #080908; }
.header-inner, .footer-inner { display: flex; gap: 28px; align-items: center; }
.header-inner { min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; flex-shrink: 0; }
.brand img { width: 33px; height: 33px; object-fit: contain; }
.brand strong { font-size: 19px; font-weight: 650; letter-spacing: -.045em; }
.brand span { color: #9ca79e; font-weight: 450; }
.header nav { display: flex; align-items: center; gap: 29px; margin-left: auto; }
.header nav a, .footer-inner > div a { color: var(--muted); font-size: 13px; }
.header nav a:hover, .header nav a[aria-current], .footer a:hover { color: var(--text); }
.button { display: inline-flex; gap: 12px; justify-content: center; align-items: center; min-height: 42px; padding: 0 15px; border: 1px solid #444b45; border-radius: 3px; background: #101310; color: var(--text); font-size: 11px; font-weight: 650; letter-spacing: .025em; white-space: nowrap; }
.button:hover { background: #1a201b; border-color: #737d75; }
.button-solid { background: #edf1ec; border-color: #edf1ec; color: #111712; }
.button-solid:hover { background: #b8e5c9; border-color: #b8e5c9; }
.button-small { min-height: 33px; padding: 0 11px; }
.button-text { min-height: 33px; padding: 0; background: transparent; border-color: transparent; color: var(--mint); }
.button-text:hover { background: transparent; border-color: transparent; color: var(--text); }
.header-action { min-height: 38px; }
.hero { isolation: isolate; position: relative; overflow: hidden; text-align: center; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 71% 45%, #14241a 0%, #0d150f 32%, #080908 73%); }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; opacity: .48; background: url('/assets/hero-pixels.svg') center / cover no-repeat; }
.hero-line { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; fill: none; stroke: #49956d; stroke-width: 1.2; opacity: .32; mask-image: radial-gradient(ellipse at center, transparent 13%, #000 83%); }
.hero-content { min-height: 405px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding-block: 48px 53px; }
.hero h1 { font-size: clamp(45px, 6.5vw, 96px); font-weight: 610; line-height: .96; letter-spacing: -.075em; }
.hero h1 span { color: #aedcc1; display: block; }
.hero p { font-size: clamp(13px, 1.6vw, 16px); line-height: 1.55; color: #aebbb0; margin-top: 24px; max-width: 44ch; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hero .actions { margin-top: 27px; justify-content: center; }
.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-top: 0; background: #0c0e0c; }
.stat-strip > div { padding: 17px 22px; min-width: 0; }
.stat-strip > div + div { border-left: 1px solid var(--line); }
.stat-strip dt, .field-label, .section-kicker { color: var(--muted); text-transform: uppercase; font-size: 10px; letter-spacing: .09em; }
.stat-strip dd { font-size: 16px; font-weight: 560; margin-top: 6px; overflow-wrap: anywhere; }
.board, .page { padding-block: 43px 68px; }
.section-head, .tool-row { display: flex; justify-content: space-between; align-items: end; gap: 15px; }
.section-head h2, .section-head h1 { font-size: clamp(24px, 3vw, 37px); font-weight: 590; letter-spacing: -.05em; }
.section-head p { margin-top: 5px; font-size: 13px; color: var(--muted); }
.tool-row { align-items: center; margin-block: 22px 16px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.segments { display: flex; flex-wrap: wrap; gap: 5px; }
.segments button { min-height: 36px; padding: 0 12px; border: 1px solid transparent; border-radius: 3px; background: transparent; color: var(--muted); font: 11px var(--mono); }
.segments button:hover, .segments button[aria-pressed="true"] { color: var(--text); background: #1b1e1b; border-color: #343a34; }
.search { display: flex; gap: 9px; align-items: center; min-width: min(100%, 245px); }
.search input { width: 100%; }
.input { background: #0d0f0d; color: var(--text); border: 1px solid #3a403b; border-radius: 3px; min-height: 39px; padding: 0 11px; }
.input::placeholder { color: #899189; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.coin-card, .charity-card { display: block; min-width: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; overflow: hidden; }
.coin-card:hover, .charity-card:hover { border-color: #608472; }
.coin-art { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 60% 20%, #263e30, #141d17 65%, #0f1711); aspect-ratio: 2.1; }
.coin-art img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.coin-art:has(img)::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, #0b0d0b75); pointer-events: none; }
.art-fallback { color: #a2c2ab; font: 600 clamp(20px, 4vw, 45px) Geist, sans-serif; letter-spacing: -.07em; }
.coin-body { padding: 13px 14px 14px; }
.coin-line { display: flex; align-items: baseline; justify-content: space-between; gap: 9px; }
.coin-line h3, .coin-line span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-line h3 { font-size: 15px; font-weight: 620; }
.coin-line span { font: 10px var(--mono); color: var(--muted); }
.coin-metric { margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; }
.coin-metric strong, .receipt-amount { color: var(--mint); font-weight: 600; }
.coin-metric span { color: var(--muted); }
.load { display: flex; justify-content: center; margin-top: 21px; }
.status { padding: 24px 19px; border: 1px solid var(--line); background: #101310; color: var(--muted); border-radius: 4px; font-size: 13px; line-height: 1.6; }
.status .button { margin-top: 10px; }
.page { max-width: 1150px; }
.page-intro { margin-bottom: 27px; }
.page-intro h1, .detail h1 { font-size: clamp(35px, 6vw, 62px); font-weight: 590; letter-spacing: -.063em; line-height: 1.05; }
.page-intro p { color: var(--muted); max-width: 62ch; line-height: 1.65; margin-top: 13px; font-size: 15px; }
.page-intro .section-kicker { margin-bottom: 9px; display: block; color: var(--mint); }
.charity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.charity-card { padding: 15px; display: flex; flex-direction: column; }
.charity-card-head { display: flex; gap: 12px; align-items: center; min-height: 50px; }
.charity-card h2, .charity-card h3 { font-weight: 620; font-size: 15px; line-height: 1.25; }
.charity-card .mono { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.charity-logo { flex: 0 0 42px; height: 42px; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: 4px; background: #25332b; color: var(--mint); font-size: 17px; }
.charity-logo img { position: absolute; width: 100%; height: 100%; object-fit: contain; padding: 3px; background: #edeeeb; }
.charity-card p { font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 11px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.charity-card .actions { margin-top: auto; padding-top: 11px; justify-content: space-between; }
.charity-card .button { font-size: 10px; }
.layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 19px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 23px; min-width: 0; }
.panel h2, .detail-section h2 { font-size: 22px; font-weight: 580; letter-spacing: -.035em; margin-bottom: 13px; }
.panel p, .panel li { color: var(--muted); line-height: 1.6; font-size: 13px; }
.panel ul, .panel ol { padding-left: 19px; }
.panel li + li { margin-top: 10px; }
.panel li strong { color: var(--text); font-weight: 550; }
.field { display: grid; gap: 7px; margin-top: 18px; }
.field label, label.field-label { font-weight: 580; }
.field small { color: var(--muted); line-height: 1.5; }
.field .actions { gap: 6px; }
.split-input { display: flex; align-items: center; gap: 9px; }
.split-input input { width: 91px; }
.select-charity { display: grid; gap: 4px; max-height: 218px; overflow-y: auto; }
.select-charity button { color: var(--text); text-align: left; background: #0d100e; padding: 10px; border: 1px solid #2f3731; border-radius: 3px; }
.select-charity button:hover, .select-charity button[aria-pressed="true"] { border-color: #75a589; color: var(--mint); }
.select-charity button small { display: block; }
.setup-actions { margin-top: 21px; }
.setup-note { margin-top: 13px; }
.form-error { color: #ffadad !important; }
.summary { display: grid; gap: 9px; margin: 16px 0; }
.summary > div { display: flex; justify-content: space-between; align-items: start; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.summary dt { color: var(--muted); }
.summary dd { overflow-wrap: anywhere; text-align: right; }
.detail .page-intro { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.detail-title { display: flex; align-items: center; gap: 16px; min-width: 0; }
.detail-title .coin-art { width: 74px; aspect-ratio: 1; flex: 0 0 74px; border-radius: 5px; }
.detail-title h1 { overflow-wrap: anywhere; }
.coin-socials { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.coin-social-link { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 3px; color: var(--mint); }
.coin-social-link:hover, .coin-social-link:focus-visible { border-color: var(--mint); }
.detail .summary { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.detail .summary > div { display: grid; gap: 7px; }
.detail .summary dd { text-align: left; font-size: 20px; }
.detail-section + .detail-section { margin-top: 31px; }
.detail-section > p { margin-bottom: 13px; font-size: 13px; line-height: 1.5; }
.receipt { display: grid; grid-template-columns: 1fr 105px 110px 105px; align-items: center; gap: 10px; min-height: 56px; padding: 10px 13px; border: 1px solid var(--line); border-bottom: 0; font-size: 13px; }
.receipt:last-child { border-bottom: 1px solid var(--line); }
.receipt > a { color: var(--mint); }
.receipt-date { color: var(--muted); }
.guide { display: grid; gap: 12px; margin-bottom: 18px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 79px; justify-content: space-between; }
.footer-inner > div { display: flex; flex-wrap: wrap; gap: 18px; }
.footer .brand img { width: 26px; }
.footer .brand strong { font-size: 16px; }
.donate-trade-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 340px); gap: 24px; align-items: start; }
.donate-trade-layout .trade-form { padding: 17px; }
.donate-trade-layout .trade-form .primary { width: 100%; }
.donate-trade-layout .charity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.donate-trade-layout .trade-form .summary { display: grid; grid-template-columns: 1fr; gap: 0; }
.donate-trade-layout .trade-form .summary > div { display: flex; }
.donate-trade-layout .trade-form .summary dd { font-size: 13px; text-align: right; }
.wallet-feedback:not(:empty) { padding: 9px 24px; color: #e8a6a6; }
.buidl-layout .modal[open] { position: fixed; margin: auto; inset: 0; }
.buidl-layout .modal::backdrop { background: #000b; }
.buidl-layout .create-pair .select-charity { margin-top: 7px; }
.buidl-layout .create-pair .select-charity button { background: #0e0e0e; border-color: #303030; }
.buidl-layout .create-pair .select-charity button[aria-pressed="true"] { border-color: #909e96; }
.buidl-layout .select-charity button { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.charity-choice-name { min-width: 0; overflow-wrap: anywhere; }
.charity-choice-name small { margin-left: 5px; color: #a0a9a3; font-size: 10px; }
.charity-choice-mission {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
  color: #a0a9a3;
  font-size: 11px;
  line-height: 1.4;
}
.buidl-layout .create-pair .charity-more { margin-top: 10px; }
.charity-pool-list li:has(.remove-charity) { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.remove-charity { padding: 4px 8px; color: #e5a5b5; font-size: 16px; line-height: 1; }
.buidl-layout .create-route { flex-wrap: wrap; }
.buidl-layout .hero-buttons { margin-top: 23px; }
.buidl-layout .list-controls .search { min-width: 0; }
.buidl-layout .list-controls .sort select { width: auto; min-width: 0; }
.buidl-layout .list-controls .sort { flex: 0 0 auto; }
.token-logo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #111b17;
  color: #a6c5b6;
  font: 650 clamp(16px, 3vw, 38px) Geist, Arial, sans-serif;
  letter-spacing: -.05em;
}
.buidl-layout .token-card .coin-card-art img { z-index: 1; }
.buidl-layout .token-card .coin-origin { z-index: 2; }
.detail .summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.detail #coin-chart { padding: 0; margin-bottom: 28px; }
.detail .tv-canvas { height: clamp(270px, 44vw, 460px); }
.detail #coin-chart:fullscreen .tv-canvas { height: calc(100dvh - 130px); }
.detail .tv-ohlc { flex-wrap: wrap; }
.donate-social { margin-top: 14px; }
.donate-social summary { cursor: pointer; }
.docs-nav-group > span { display: block; padding: 9px 10px 6px; font: 10px var(--mono); color: #939d96; text-transform: uppercase; letter-spacing: .06em; }
.buidl-layout .site-brand > img { border-radius: 4px; filter: none; }
.charity-hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, #050505 0%, transparent 26%),
    radial-gradient(ellipse 31% 65% at 50% 48%, #050706b3, transparent 100%),
    url('/kindpad-charity-hero.webp') center 46% / cover no-repeat;
}
.buidl-layout .charity-hero h1 > span { color: #a8e3c4; }
.charity-heart { color: #e5a5b5; }
.page-heart { display: inline-block; font-size: .57em; vertical-align: .14em; }
.charity-card { position: relative; }
.charity-card:has(.charity-card-heart) .charity-card-head { padding-right: 21px; }
.charity-card-heart { position: absolute; top: 12px; right: 13px; font-size: 19px; line-height: 1; }
.charity-pool-list { padding: 0; margin: 8px 0 18px; list-style: none; }
.charity-pool-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #252b28;
  color: #d6ded9;
  font-size: 12px;
}
.charity-pool-list strong { color: #a8e3c4; font: 11px var(--mono); }
.buidl-layout .review-modal { max-height: calc(100dvh - 32px); overflow: auto; }
.coin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 16px;
  border: 1px solid #2c312e;
  border-radius: 5px;
  background: #0e110f;
}
.coin-stats > div { min-width: 0; padding: 14px 16px; }
.coin-stats > div + div { border-left: 1px solid #2c312e; }
.coin-stats dt { color: #a0a9a3; font: 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .03em; }
.coin-stats dd { margin-top: 7px; color: #edf3ef; font-size: clamp(16px, 2vw, 24px); line-height: 1.15; font-variant-numeric: tabular-nums; }
.coin-stats > div:nth-child(n+3) dd { color: #c8d2cc; }
.buidl-layout .trade-submit[data-trade-side="buy"] { background: #a8e3c4; color: #101a14; border-color: #a8e3c4; }
.buidl-layout .trade-submit[data-trade-side="sell"] { background: #f0b0bc; color: #25171b; border-color: #f0b0bc; }
.buidl-layout .trade-submit:hover:not(:disabled) { filter: brightness(1.12); }
.market-ticker .ticker-placeholder { white-space: nowrap; }
.buidl-layout .ticker-lap > a { min-width: 134px; gap: 7px; }
.ticker-change { white-space: nowrap; }
.ticker-change small { margin-left: 4px; font-size: 7px; opacity: .65; }
.coin-live, .ticker-pulse {
  border-radius: 3px;
  padding: 3px 5px;
  font: 700 9px/1 var(--mono);
  white-space: nowrap;
}
.coin-live { position: absolute; right: 7px; bottom: 7px; z-index: 4; }
.market-buy .coin-live, .market-buy .ticker-pulse { color: #07291b; background: #83e5b0; }
.market-sell .coin-live, .market-sell .ticker-pulse { color: #321319; background: #f2a0b0; }
.market-buy { --pulse-color: #43d88a; }
.market-sell { --pulse-color: #e97892; }
.buidl-layout .token-card.market-buy, .buidl-layout .token-card.market-sell { border-color: var(--pulse-color); }
.buidl-layout .token-card.market-buy .coin-card-art::after, .buidl-layout .token-card.market-sell .coin-card-art::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 28px var(--pulse-color);
  opacity: .32;
}
[hidden] { display: none !important; }
[hidden] { display: none !important; }

@media (max-width: 1000px) {
  .container { width: calc(100% - 54px); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 710px) {
  .charity-hero-backdrop {
    background:
      linear-gradient(0deg, #050505 0%, transparent 35%),
      linear-gradient(90deg, #050505d9 0%, #050505b0 55%, #05050566 100%),
      url('/kindpad-charity-hero.webp') 65% center / cover no-repeat;
  }
  .donate-trade-layout { display: flex; flex-direction: column-reverse; }
  .donate-trade-layout > * { width: 100%; }
  .container { width: calc(100% - 32px); }
  .network-inner { gap: 10px; }
  .network-label { padding-right: 10px; }
  .network-data b { padding-inline: 2px; }
  .header-inner { flex-wrap: wrap; column-gap: 8px; row-gap: 0; padding-top: 8px; }
  .header .brand { margin-right: auto; }
  .header nav { order: 3; width: 100%; margin: 0; gap: 23px; min-height: 40px; }
  .header-action { font-size: 10px; min-height: 33px; }
  .hero-content { min-height: 325px; padding-block: 42px; }
  .hero h1 { font-size: clamp(43px, 10vw, 72px); }
  .stat-strip > div { padding: 12px; }
  .stat-strip dt { font-size: 9px; }
  .stat-strip dd { font-size: 13px; }
  .board, .page { padding-block: 30px 42px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 17px; }
  .receipt { grid-template-columns: 1fr auto; gap: 4px 9px; }
  .receipt .receipt-date { grid-row: 2; }
  .receipt > a { text-align: right; }
}

@media (max-width: 440px) {
  .coin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coin-stats > div:nth-child(3) { border-left: 0; }
  .coin-stats > div:nth-child(n+3) { border-top: 1px solid #2c312e; }
  .detail .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .network { font-size: 8px; }
  .network-inner > a { display: none; }
  .network-inner { grid-template-columns: auto 1fr; }
  .tool-row, .detail .page-intro { align-items: stretch; flex-direction: column; }
  .charity-grid { grid-template-columns: 1fr; }
  .coin-body { padding: 9px; }
  .coin-line { align-items: flex-start; flex-direction: column; gap: 3px; }
  .coin-line h3, .coin-line span { max-width: 100%; }
  .footer-inner { flex-wrap: wrap; align-content: center; row-gap: 6px; padding-block: 13px; }
  .detail .summary { gap: 9px; }
}
