/* gitfund — palette Primer de GitHub, clair par défaut, sombre suivant le système. Aucune animation. */
:root {
  --bg: #ffffff; --bg-subtle: #f6f8fa; --bg-inset: #f6f8fa; --border: #d1d9e0; --border-muted: #d1d9e0b3;
  --fg: #1f2328; --fg-muted: #59636e; --accent: #0969da; --accent-subtle: #ddf4ff;
  --success: #1f883d; --success-hover: #1c8139; --success-fg: #1a7f37; --success-subtle: #dafbe1;
  --danger-fg: #d1242f; --attention-fg: #9a6700; --attention-subtle: #fff8c5;
  --btn-bg: #f6f8fa; --btn-hover: #eff2f5; --btn-border: #d1d9e0;
  --shadow: 0 1px 0 #1f23280a;
  --grid: #d1d9e066;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117; --bg-subtle: #151b23; --bg-inset: #010409; --border: #3d444d; --border-muted: #3d444db3;
    --fg: #f0f6fc; --fg-muted: #9198a1; --accent: #4493f8; --accent-subtle: #388bfd1a;
    --success: #238636; --success-hover: #29903b; --success-fg: #3fb950; --success-subtle: #2ea04326;
    --danger-fg: #f85149; --attention-fg: #d29922; --attention-subtle: #bb800926;
    --btn-bg: #212830; --btn-hover: #262c36; --btn-border: #3d444d;
    --shadow: none; --grid: #3d444d55;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 14px/1.5 var(--sans); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code, .mono { font-family: var(--mono); font-size: 12px; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
img { max-width: 100%; display: block; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--bg); padding: 4px 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 6px; }

/* en-tête */
.hd { border-bottom: 1px solid var(--border); background: var(--bg-subtle); }
.hd .in { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 56px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 600; font-size: 16px; }
.logo:hover { text-decoration: none; }
.logo svg { color: var(--fg); }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--fg); padding: 6px 10px; border-radius: 6px; font-size: 14px; }
.nav a:hover { background: var(--btn-hover); text-decoration: none; }
.nav a[aria-current="page"] { font-weight: 600; box-shadow: inset 0 -2px 0 #fd8c73; border-radius: 6px 6px 0 0; }
.hd .net { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--fg-muted); display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--success-fg); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
main { min-height: 70vh; }

/* boutons Primer */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px;
  font: 500 14px/1 var(--sans); color: var(--fg); background: var(--btn-bg); border: 1px solid var(--btn-border);
  border-radius: 6px; cursor: pointer; white-space: nowrap; box-shadow: var(--shadow); }
.btn:hover { background: var(--btn-hover); text-decoration: none; }
.btn-primary { color: #fff; background: var(--success); border-color: #1f232826; }
.btn-primary:hover { background: var(--success-hover); }
.btn-sm { height: 28px; padding: 0 10px; font-size: 12px; }
.btn-lg { height: 40px; padding: 0 16px; font-size: 14px; }
.btn[aria-pressed="true"] { background: var(--accent-subtle); border-color: var(--accent); color: var(--accent); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg { flex: none; }

/* boîtes */
.box { border: 1px solid var(--border); border-radius: 6px; background: var(--bg); }
.box-hd { padding: 12px 16px; background: var(--bg-subtle); border-bottom: 1px solid var(--border); border-radius: 6px 6px 0 0;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.box-row { padding: 16px; border-top: 1px solid var(--border-muted); }
.box-row:first-of-type { border-top: 0; }
.label { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; font-size: 12px; font-weight: 500;
  border: 1px solid var(--border); border-radius: 2em; color: var(--fg-muted); white-space: nowrap; }
.label-ok { color: var(--success-fg); border-color: var(--success-fg); }
.label-warn { color: var(--attention-fg); border-color: var(--attention-fg); }
.muted { color: var(--fg-muted); }
.small { font-size: 12px; }
.eyebrow { font-family: var(--mono); font-size: 12px; color: var(--fg-muted); letter-spacing: .02em; }

/* accueil */
.hero { border-bottom: 1px solid var(--border);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { font-size: 40px; line-height: 1.15; letter-spacing: -.02em; margin: 12px 0 16px; }
.hero .lead { font-size: 16px; color: var(--fg-muted); max-width: 46ch; }
.hero .cta { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.fig { margin: 0; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-subtle); overflow: hidden; }
.fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.fig figcaption { padding: 8px 12px; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 12px; color: var(--fg-muted);
  background: var(--bg); display: flex; justify-content: space-between; gap: 12px; }

.sec { padding: 48px 0; border-bottom: 1px solid var(--border); }
.sec:last-of-type { border-bottom: 0; }
.sec-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sec h2 { font-size: 20px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { padding: 20px; border-left: 1px solid var(--border); }
.step:first-child { border-left: 0; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--fg-muted); }
.step h3 { font-size: 16px; margin: 8px 0 6px; }
.step p { color: var(--fg-muted); }

.split { display: flex; height: 10px; border-radius: 6px; overflow: hidden; gap: 2px; }
.split span:nth-child(1) { background: var(--success); }
.split span:nth-child(2) { background: var(--accent); }
.split span:nth-child(3) { background: var(--fg-muted); }
table.t { width: 100%; border-collapse: collapse; }
table.t th, table.t td { text-align: left; padding: 10px 16px; border-top: 1px solid var(--border-muted); vertical-align: top; }
table.t th { font-weight: 600; font-size: 12px; color: var(--fg-muted); background: var(--bg-subtle); border-top: 0; }
table.t td.num, table.t th.num { text-align: right; font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; vertical-align: -1px; }

.note { padding: 12px 16px; border: 1px solid var(--border); border-left: 3px solid var(--attention-fg); border-radius: 6px;
  background: var(--attention-subtle); color: var(--fg); }

/* tableau */
.page-hd { padding: 32px 0 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-hd h1 { font-size: 24px; }
.page-hd p { color: var(--fg-muted); margin-top: 4px; }
.seg { display: inline-flex; }
.seg .btn { border-radius: 0; margin-left: -1px; }
.seg .btn:first-child { border-radius: 6px 0 0 6px; margin-left: 0; }
.seg .btn:last-child { border-radius: 0 6px 6px 0; }
.seg .btn[aria-current="true"] { background: var(--bg); font-weight: 600; box-shadow: inset 0 -2px 0 #fd8c73; }
select.btn { appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2359636e'%3E%3Cpath d='m4.427 7.427 3.396 3.396a.25.25 0 0 0 .354 0l3.396-3.396A.25.25 0 0 0 11.396 7H4.604a.25.25 0 0 0-.177.427Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 6px center; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 16px; padding-bottom: 48px; }
.card { border: 1px solid var(--border); border-radius: 6px; background: var(--bg); display: flex; flex-direction: column; scroll-margin-top: 16px; }
.card:target { border-color: var(--accent); }
.card .top { padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.repo-name { display: flex; align-items: center; gap: 8px; font-size: 16px; min-width: 0; }
.repo-name img { width: 20px; height: 20px; border-radius: 50%; flex: none; border: 1px solid var(--border-muted); }
.repo-name.org img { border-radius: 4px; }
.repo-name a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.repo-name .own { font-weight: 400; }
.repo-name b { font-weight: 600; }
.rank { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--fg-muted); flex: none; }
.summary { font-size: 14px; color: var(--fg); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--fg-muted); align-items: center; }
.meta span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.meta .lang i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 1px solid #1f23281a; }
.meta b { color: var(--fg); font-weight: 600; font-family: var(--mono); font-size: 12px; }
.status { padding: 10px 16px; border-top: 1px solid var(--border-muted); font-size: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.status .wait { margin-left: auto; font-family: var(--mono); color: var(--fg-muted); }
.status .wait b { color: var(--fg); }
.decide { padding: 12px 16px; border-top: 1px solid var(--border-muted); background: var(--bg-subtle); border-radius: 0 0 6px 6px;
  display: flex; align-items: center; gap: 8px; }
.decide form { margin: 0; }
.ratio { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--fg-muted); }
.bar { height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--success); }
.disclaim { font-size: 11px; color: var(--fg-muted); padding: 0 16px 10px; background: var(--bg-subtle); border-radius: 0 0 6px 6px; margin-top: -1px; }

/* fiche dépôt */
.repo-hd { padding: 32px 0 24px; border-bottom: 1px solid var(--border); }
.repo-hd .repo-name { font-size: 20px; }
.repo-hd .repo-name img { width: 32px; height: 32px; }
.repo-hd .summary { font-size: 16px; margin: 12px 0; max-width: 70ch; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; padding: 24px 0 48px; }
dl.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); margin: 0; }
dl.kv dt, dl.kv dd { padding: 10px 16px; border-top: 1px solid var(--border-muted); margin: 0; }
dl.kv dt { color: var(--fg-muted); font-size: 12px; }
dl.kv dd { font-size: 14px; overflow-wrap: anywhere; }
dl.kv > :nth-child(1), dl.kv > :nth-child(2) { border-top: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14px; }
.input { height: 32px; padding: 0 12px; font: 14px var(--sans); color: var(--fg); background: var(--bg-inset); border: 1px solid var(--border); border-radius: 6px; }
.input:disabled { color: var(--fg-muted); }

/* page texte */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 32px 0 64px; }
.toc { position: sticky; top: 16px; align-self: start; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.toc a { color: var(--fg); padding: 4px 8px; border-radius: 6px; }
.toc a:hover { background: var(--btn-hover); text-decoration: none; }
.prose { max-width: 760px; }
.prose h1 { font-size: 32px; margin-bottom: 8px; }
.prose h2 { font-size: 20px; padding-bottom: 8px; border-bottom: 1px solid var(--border-muted); margin: 40px 0 16px; scroll-margin-top: 16px; }
.prose p, .prose li { font-size: 16px; line-height: 1.6; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 24px; margin: 12px 0; }
.prose pre { font-family: var(--mono); font-size: 13px; background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 6px; padding: 16px; overflow-x: auto; }
details.faq { border-top: 1px solid var(--border-muted); padding: 12px 0; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; }
details.faq p { margin-top: 8px; color: var(--fg-muted); }

.ft { border-top: 1px solid var(--border); padding: 24px 0 40px; font-size: 12px; color: var(--fg-muted); }
.ft .wrap { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }

@media (max-width: 900px) {
  .hero .wrap, .cols, .doc { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero h1 { font-size: 30px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step { border-left: 0; border-top: 1px solid var(--border); }
  .step:first-child { border-top: 0; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .hd .in, .wrap { padding-left: 16px; padding-right: 16px; }
  .hd .in { gap: 12px; }
  .hd .net { display: none; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .nav a { padding: 6px 6px; }
  table.t th, table.t td { padding: 8px 10px; }
}

.err { color: var(--danger-fg); font-size: 12px; margin-top: 8px; }
.done { padding: 12px; border: 1px solid var(--success-fg); border-radius: 6px; background: var(--success-subtle); margin-bottom: 12px; }
.nav a { white-space: nowrap; }
@media (max-width: 600px) {
  .hd .in { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 0; row-gap: 6px; }
  .hd #wallet { margin-left: auto; }
  .hd .nav { order: 3; width: 100%; overflow-x: auto; margin: 0 -6px; }
  .nav a[aria-current="page"] { border-radius: 6px 6px 0 0; }
}

/* circulation des frais */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--border-muted); }
.flow-step { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--border-muted); }
.flow-step:first-child { border-left: 0; }
.flow-step b { font-size: 16px; }
ol.claim { margin: 0; padding: 12px 16px 12px 36px; }
ol.claim li { padding: 4px 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats > div { padding: 16px; border-left: 1px solid var(--border-muted); display: flex; flex-direction: column; gap: 4px; }
.stats > div:first-child { border-left: 0; }
.stats b { font-family: var(--mono); font-size: 20px; font-weight: 600; }
@media (max-width: 700px) {
  .flow, .stats { grid-template-columns: minmax(0, 1fr); }
  .flow-step, .stats > div { border-left: 0; border-top: 1px solid var(--border-muted); }
  .flow-step:first-child, .stats > div:first-child { border-top: 0; }
}

/* accueil : identité propre — bandeau des dépôts qui montent, accroche à gauche, panneau de lancement à droite
   (visible sans défiler : lancer est l'utilité n° 1), étapes, puis l'image 3D en bas */
.ticker { border-bottom: 1px solid var(--border); background: var(--bg-inset); overflow: hidden; }
.ticker .wrap { display: flex; align-items: center; gap: 28px; height: 40px; white-space: nowrap; font-family: var(--mono); font-size: 12px;
  -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
.ticker .tk-lbl { color: var(--success-fg); font-weight: 600; letter-spacing: .08em; }
.ticker a { color: var(--fg); }
.ticker .up { color: var(--success-fg); }
.home-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; padding: 56px 0 48px; }
.home-hero .kicker { font-family: var(--mono); font-size: 13px; color: var(--fg-muted); display: flex; gap: 10px; align-items: center; }
.home-hero .kicker b { color: var(--success-fg); font-weight: 600; }
.home-hero h1 { font-size: 64px; line-height: 1.02; letter-spacing: -.035em; font-weight: 700; margin: 18px 0 20px; max-width: 13ch; }
.home-hero h1 em { font-style: normal; color: var(--success-fg); }
.home-hero .lead { font-size: 18px; line-height: 1.55; color: var(--fg-muted); max-width: 52ch; }
.home-hero .lead b { color: var(--fg); font-weight: 600; }
.chiffres { display: flex; gap: 0; margin-top: 32px; border: 1px solid var(--border); border-radius: 6px; width: fit-content; max-width: 100%; }
.chiffres div { padding: 12px 20px; border-left: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.chiffres div:first-child { border-left: 0; }
.chiffres b { font-family: var(--mono); font-size: 20px; font-weight: 600; }
.chiffres span { font-size: 12px; color: var(--fg-muted); }
/* panneau de lancement */
.lanceur { border: 1px solid var(--border); border-radius: 12px; background: var(--bg); box-shadow: 0 1px 0 #1f23280a, 0 24px 60px -30px #1f232840; overflow: hidden; }
.lanceur .l-hd { padding: 18px 20px 12px; }
.lanceur .l-hd h2 { font-size: 18px; }
.lanceur .l-hd p { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }
.lanceur fieldset { border: 0; padding: 0; margin: 0; }
.lanceur legend { position: absolute; left: -999px; }
.choix { display: grid; grid-template-columns: 18px 20px minmax(0, 1fr) max-content; gap: 12px; align-items: center; padding: 11px 20px;
  border-top: 1px solid var(--border-muted); cursor: pointer; font-size: 14px; }
.choix:hover { background: var(--bg-subtle); }
.choix input { margin: 0; accent-color: var(--success); width: 16px; height: 16px; }
.choix img { width: 20px; height: 20px; border-radius: 50%; }
.choix .nom { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.choix .nom b { font-weight: 600; }
.choix .gain { font-family: var(--mono); font-size: 12px; color: var(--success-fg); }
.choix:has(input:checked) { background: var(--success-subtle); }
.lanceur .l-ft { padding: 16px 20px 18px; border-top: 1px solid var(--border); background: var(--bg-subtle); }
.lanceur .l-ft .btn { width: 100%; height: 44px; font-size: 16px; font-weight: 600; }
.lanceur .l-ft p { font-size: 12px; color: var(--fg-muted); margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
/* étapes */
.etapes3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 40px 0; border-top: 1px solid var(--border); }
.etapes3 .n { font-family: var(--mono); font-size: 40px; font-weight: 600; color: var(--border); line-height: 1; }
.etapes3 h3 { font-size: 18px; margin: 12px 0 6px; }
.etapes3 p { color: var(--fg-muted); font-size: 15px; line-height: 1.55; }
.partage-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: center; padding: 32px 0 40px; border-top: 1px solid var(--border); }
.partage-band h2 { font-size: 22px; }
.partage-band .muted { margin-top: 6px; }
.partage-leg { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; }
.partage-leg b { font-family: var(--mono); }
/* bas : l'image 3D en bandeau */
.home-image { border-top: 1px solid var(--border); background: var(--bg-subtle); padding: 40px 0 48px; }
.home-image .fig img { aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 58%; }
@media (max-width: 1000px) {
  .home-hero, .partage-band { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .home-hero h1 { font-size: 48px; }
  .etapes3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  /* sur téléphone, le panneau de lancement passe juste après l'accroche : le bouton reste dans le 1er écran */
  .home-hero { padding-top: 24px; gap: 20px; }
  .home-hero > div { display: contents; }
  .home-hero .kicker { order: 1; } .home-hero h1 { order: 2; margin: 0; } .home-hero .lead { order: 3; font-size: 16px; }
  .lanceur { order: 4; } .chiffres { order: 5; margin-top: 0; }
  .choix:nth-of-type(n+4) { display: none; }
  .lanceur .l-hd p { display: none; }
  .home-hero h1 { font-size: 38px; }
  .chiffres { width: 100%; }
  .chiffres div { padding: 10px 12px; flex: 1; }
  .chiffres b { font-size: 16px; }
  .home-image .fig img { aspect-ratio: 4 / 3; }
}

/* page Live : une carte par coin lancé depuis gitfund */
.live-grid { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); }
.live-ligne { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.live-resume { color: var(--fg-muted); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live-mcap { display: flex; flex-direction: column; gap: 2px; padding: 4px 0; }
.live-mcap b { font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.live-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--border-muted); }
.live-stats div { padding: 10px 12px; border-left: 1px solid var(--border-muted); }
.live-stats div:first-child { border-left: 0; }
.live-stats dt { font-size: 11px; color: var(--fg-muted); }
.live-stats dd { margin: 2px 0 0; font-size: 13px; }
@media (max-width: 600px) {
  .live-grid { grid-template-columns: minmax(0, 1fr); }
  .live-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-stats div:nth-child(3) { border-left: 0; }
  .live-stats div:nth-child(n+3) { border-top: 1px solid var(--border-muted); }
}
@media (max-width: 600px) {
  /* barre de tri : elle défile sur elle-même plutôt que de faire déborder la page */
  .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg .btn { flex: none; }
}

/* claim (page Fees) */
.claim-form { display: flex; flex-direction: column; gap: 6px; }
.claim-in { display: flex; gap: 8px; max-width: 420px; }
.claim-in .input { flex: 1; min-width: 0; }
.claim-who { display: flex; gap: 12px; align-items: center; }
.claim-who img { border-radius: 50%; flex: none; }
.claim-who img.org { border-radius: 6px; }
.claim-who .label { margin-left: 6px; }
.claim-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border-muted); }
.claim-coin + .claim-coin { margin-top: 6px; }
@media (max-width: 720px) { .claim-stats { grid-template-columns: 1fr; } .claim-stats > div { border-left: 0; border-top: 1px solid var(--border-muted); } .claim-stats > div:first-child { border-top: 0; } }
.field-lbl { font-weight: 600; font-size: 14px; }
.l-img { display: flex; gap: 12px; align-items: center; }
.l-img img { width: 64px; height: 64px; flex: none; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-inset); }
.l-buy { display: flex; gap: 8px; align-items: center; }
.l-buy .input { flex: 1; min-width: 0; }
