/* barricade — noir comme X, données en mono, une seule touche de manif : le pochoir des titres. */
:root {
  --bg: #000; --bg2: #0a0a0a; --card: #16181c; --line: #2f3336; --line2: #536471;
  --text: #e7e9ea; --mute: #8b98a5; --dim: #71767b; --err: #f4212e;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --stencil: "Big Shoulders Stencil Display", Impact, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.mute { color: var(--mute); }
.small { font-size: 13px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--text); color: #000; padding: 6px 10px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }

/* en-tête */
.hd { position: sticky; top: 0; z-index: 5; background: rgba(0,0,0,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; gap: 28px; height: 56px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 24px/1 var(--stencil); letter-spacing: .04em; text-transform: uppercase; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--mute); padding: 6px 12px; border-radius: 999px; font-weight: 500; }
.nav a:hover { color: var(--text); background: var(--card); }
.nav a[aria-current] { color: var(--text); font-weight: 700; }
.clock { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--mute); }
.clock .sep { color: var(--line2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text); animation: pulse 2s ease-in-out infinite; }
.dot.stale { background: var(--line2); animation: none; }
@keyframes pulse { 50% { opacity: .25; } }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 16px;
  border: 1px solid var(--text); background: var(--text); color: #000; border-radius: 999px; font: 700 14px/1 var(--sans);
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .08s; white-space: nowrap; }
.btn:hover { background: #fff; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line2); font-family: var(--mono); font-weight: 500; }
.btn-ghost:hover { background: var(--card); }
.btn-xl { height: 48px; padding: 0 28px; font-size: 16px; }
.link { color: var(--text); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--text); }

/* accueil */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 40px; }
.kicker { color: var(--mute); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 16px; }
.stencil { font-family: var(--stencil); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.hero h1 { font-size: clamp(44px, 5.4vw, 76px); line-height: .92; margin: 0 0 20px; }
.lead { font-size: 17px; color: #c4c9cc; max-width: 520px; margin: 0 0 28px; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta .mute { font-size: 12px; }
.hero-fig { margin: 0; border: 1px solid var(--line); border-radius: 4px; padding: 12px; background: var(--bg); }
.hero-fig figcaption { font-size: 11px; padding: 10px 4px 0; border-top: 1px solid var(--line); margin-top: 8px; }

.block { padding-top: 40px; padding-bottom: 24px; border-top: 1px solid var(--line); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.h1 { font-size: 44px; line-height: 1; margin: 0 0 8px; }
.h2 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin: 0 0 20px; }
.h3 { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
.steps li { display: flex; gap: 12px; padding: 18px; border-right: 1px solid var(--line); color: #c4c9cc; }
.steps li:last-child { border-right: 0; }
.steps b { color: var(--text); }
.steps .n { color: var(--dim); font-size: 12px; padding-top: 2px; }
.spec { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec th { width: 150px; font: 500 12px/1.9 var(--mono); color: var(--mute); text-transform: uppercase; letter-spacing: .06em; padding-right: 16px; }
.empty { color: var(--mute); padding: 32px 16px; text-align: center; border: 1px dashed var(--line); margin: 0; }

/* fil */
.feed { border: 1px solid var(--line); border-bottom: 0; }
.feed > .empty { border: 0; border-bottom: 1px solid var(--line); }
.feed-home { max-width: 680px; }
.tw { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); transition: background .15s; }
.tw:hover { background: var(--bg2); }
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--card); }
.tw-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 15px; min-width: 0; }
.who { text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who span { color: var(--dim); }
.who:hover b { text-decoration: underline; }
.tw-head a.mute { text-decoration: none; font-size: 13px; }
.tw-head a.mute:hover { text-decoration: underline; }
.tag { margin-left: auto; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--mute);
  border: 1px solid var(--line); padding: 4px 7px; border-radius: 2px; }
.en { margin: 4px 0 6px; white-space: pre-line; overflow-wrap: anywhere; }
.fr summary { cursor: pointer; color: var(--dim); font-size: 13px; list-style: none; width: max-content; }
.fr summary::before { content: "＋ "; font-family: var(--mono); }
.fr[open] summary::before { content: "－ "; }
.fr p { color: var(--mute); font-size: 14px; margin: 6px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.media { display: block; margin: 10px 0 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; max-height: 360px; }
.media img { width: 100%; max-height: 360px; object-fit: cover; }
.tw-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 13px; }
.tw.coined .tw-foot .btn-ghost { border-color: var(--text); }

.live-grid { display: grid; grid-template-columns: minmax(0, 640px) 300px; gap: 32px; justify-content: center; padding-top: 28px; padding-bottom: 40px; }
.col-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.col-head p { margin: 0; font-size: 12px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.chips a { text-decoration: none; font: 500 12px/1 var(--mono); color: var(--mute); border: 1px solid var(--line); padding: 7px 10px; border-radius: 999px; }
.chips a span { color: var(--dim); margin-left: 4px; }
.chips a:hover { color: var(--text); border-color: var(--line2); }
.chips a[aria-current] { color: #000; background: var(--text); border-color: var(--text); }
.chips a[aria-current] span { color: #000; }
.newer { width: 100%; height: 40px; background: transparent; color: var(--text); border: 1px solid var(--line); border-bottom: 0; font: 600 14px var(--sans); cursor: pointer; }
.newer:hover { background: var(--bg2); }
.side { position: sticky; top: 84px; align-self: start; display: grid; gap: 12px; }
.box { border: 1px solid var(--line); border-radius: 4px; padding: 16px; color: #c4c9cc; font-size: 14px; }
.box p { margin: 0 0 8px; }

/* fiche */
.fiche { padding-top: 20px; padding-bottom: 48px; }
.crumb { margin: 0 0 16px; font-size: 13px; }
.fiche-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: start; }
.feed-one .tw:hover { background: transparent; }
.feed-one .media { max-height: none; }
.feed-one .media img { max-height: 560px; object-fit: contain; background: var(--bg2); }
.panel { position: sticky; top: 84px; border: 1px solid var(--line); border-radius: 4px; padding: 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head .h2 { margin: 0; }
.panel .btn-xl { width: 100%; }
form label { display: block; font-size: 13px; color: var(--mute); margin: 0 0 14px; }
form input, form textarea { display: block; width: 100%; margin-top: 6px; background: var(--bg); color: var(--text); border: 1px solid var(--line);
  border-radius: 4px; padding: 10px 12px; font: 15px var(--sans); }
form input.mono { font-family: var(--mono); }
form input:focus, form textarea:focus { outline: none; border-color: var(--text); }
form textarea { resize: none; color: var(--mute); font-size: 13px; }
.locked { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; border: 1px dashed var(--line2); border-radius: 4px; margin-bottom: 16px; }
.coin-pic { width: 96px; height: 96px; object-fit: cover; border-radius: 4px; }
.locked dl { margin: 0; font-size: 13px; min-width: 0; }
.locked dt { color: var(--mute); display: flex; align-items: center; gap: 6px; }
.locked dd { margin: 0 0 8px; overflow-wrap: anywhere; }
.lock { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; border: 1px solid var(--line2); padding: 3px 5px; border-radius: 2px; color: var(--text); }
.err { color: var(--err); font-size: 13px; margin: 10px 0 0; }
.mini { list-style: none; counter-reset: s; padding: 0; margin: 16px 0 12px; font-size: 12px; color: var(--dim); }
.mini li { counter-increment: s; padding: 3px 0; }
.mini li::before { content: counter(s, decimal-leading-zero) "  "; }
.mini li.fait { color: var(--text); }
.mini li.fait::before { content: "✓   "; }
.done { text-align: center; }

/* règles */
.prose { max-width: 760px; padding-top: 40px; padding-bottom: 48px; }
.prose .h2 { margin-top: 40px; }
.prose p { color: #c4c9cc; }
.prose .steps { grid-template-columns: 1fr; }
.prose .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
.prose .steps li:last-child { border-bottom: 0; }
.accounts { list-style: none; padding: 0; margin: 0 0 12px; columns: 3; font-size: 13px; }
.accounts li { padding: 3px 0; }

.ft { border-top: 1px solid var(--line); margin-top: 24px; }
.ft-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 28px; font-size: 12px; color: var(--dim); flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .hero-fig { order: 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; }
  .steps li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .live-grid, .fiche-grid { grid-template-columns: 1fr; }
  .side, .panel { position: static; }
  .panel { order: -1; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hd-in { gap: 12px; }
  .logo span { display: none; }
  .nav a { padding: 6px 8px; }
  .clock .sep, .clock #left { display: none; }
  .hero h1 { font-size: 44px; }
  .lead { font-size: 15px; margin-bottom: 20px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .spec th { width: 96px; }
  .accounts { columns: 2; }
  .tw { padding: 12px; }
  .feed { margin: 0 -16px; border-left: 0; border-right: 0; }
}
.feed-one .tw-foot .btn { display: none; }
.split { display: flex; gap: 0; margin: 0 0 28px; border: 1px solid var(--line); width: max-content; }
.split div { padding: 10px 18px; border-right: 1px solid var(--line); }
.split div:last-child { border-right: 0; }
.split dt { font-size: 22px; font-weight: 600; color: var(--text); }
.split dd { margin: 0; font-size: 12px; color: var(--mute); }
.hero .lead + .lead { margin-top: -16px; }
.prose-wide { max-width: 920px; }
.scroll { overflow-x: auto; margin: 0 0 16px; }
.grid { width: 100%; border-collapse: collapse; }
.grid th, .grid td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.grid th { color: var(--mute); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.split-label { margin: 0 0 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.hero h1 { font-size: clamp(96px, 12vw, 168px); line-height: .85; }
.h1-sub { display: block; margin-top: 14px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.05; letter-spacing: .02em; color: var(--mute); }
@media (max-width: 600px) { .hero h1 { font-size: 96px; } .h1-sub { font-size: 24px; } }

/* touche tricolore, discrète : un filet en haut de l'en-tête et une barrette sous le 17/10 */
:root { --bleu: #0055a4; --rouge: #ef4135; --tricolore: linear-gradient(90deg, var(--bleu) 0 33.33%, #e7e9ea 33.33% 66.66%, var(--rouge) 66.66% 100%); }
.hd::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--tricolore); opacity: .85; }
.hero h1 + .flag, .flag { display: block; width: 54px; height: 4px; margin: 0 0 22px; background: var(--tricolore); border-radius: 1px; }
.hero-fig img { width: 100%; height: auto; border-radius: 2px; }
/* la barre du 17/10 descend sous la ligne dans le pochoir : plus petite, posée sur la ligne de base */
.hero h1 .slash { display: inline-block; font-size: .78em; margin: 0 .02em; transform: translateY(-.06em); }
/* bouton vers le compte X du site, dans l'en-tête */
.btn-x { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border: 1px solid var(--line2);
  border-radius: 999px; text-decoration: none; color: var(--text); font: 600 13px/1 var(--sans); white-space: nowrap;
  transition: background .15s, border-color .15s; }
.btn-x:hover { background: var(--card); border-color: var(--text); }
@media (max-width: 960px) { .clock { display: none; } }
@media (max-width: 600px) { .btn-x span { display: none; } .btn-x { padding: 0 9px; margin-left: auto; } }

/* lancement libre (/launch) et fiche d'un coin libre (/c/<id>) */
.prose-flat { padding: 0; max-width: none; }
.pick { margin: 0 0 16px; }
.pick input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pick-zone { display: grid; place-items: center; width: 120px; height: 120px; border: 1px dashed var(--line2); border-radius: 4px;
  cursor: pointer; overflow: hidden; color: var(--mute); font-size: 13px; text-align: center; margin: 0; }
.pick-zone:hover { border-color: var(--text); color: var(--text); }
.pick-zone img { width: 100%; height: 100%; object-fit: cover; grid-area: 1 / 1; }
.pick-zone span { grid-area: 1 / 1; padding: 6px; background: rgba(0,0,0,.55); border-radius: 2px; }
.pick input[type=file]:focus-visible + * , .pick-zone:focus-within { outline: 2px solid var(--text); }
.coin-card { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.coin-card img { width: 220px; height: 220px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.coin-card .desc { color: #c4c9cc; white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 600px) { .coin-card { grid-template-columns: 1fr; } .cta .btn-ghost { width: auto; } }
/* en-tête : six entrées depuis « Launch », le logo ne doit jamais passer sur deux lignes */
.logo { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 960px) { .hd-in { gap: 14px; } .nav a { padding: 6px 8px; } }
@media (max-width: 780px) { .logo span { display: none; } }
@media (max-width: 600px) { .nav-home { display: none; } .hd-in { gap: 10px; } .nav { gap: 0; } .nav a { padding: 6px 7px; font-size: 14px; } }
