:root {
  --bg: #0c0c10;
  --panel: #15151b;
  --panel-2: #1c1c24;
  --line: #2a2a35;
  --text: #f1f0f5;
  --muted: #8d8b9c;
  --accent: #ff7f7f;
  --t-s: #ff7f7f; --t-a: #ffbf7f; --t-b: #ffdf7f;
  --t-c: #ffff7f; --t-d: #bfff7f; --t-f: #7fbfff;
  --radius: 14px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--display); }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

.top { display: flex; align-items: center; gap: 22px; padding: 12px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(12,12,16,.88); backdrop-filter: blur(10px); z-index: 20; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.logo-mark { display: grid; gap: 2px; }
.logo-mark i { display: block; height: 6px; background: var(--c); border-radius: 2px; }
.logo-mark i:nth-child(1) { width: 22px; } .logo-mark i:nth-child(2) { width: 15px; } .logo-mark i:nth-child(3) { width: 9px; }
.main-nav { display: flex; align-items: center; gap: 4px; font-weight: 500; color: var(--muted); }
.main-nav a { padding: 8px 12px; border-radius: 999px; transition: background .15s, color .15s; }
.main-nav a:hover { color: var(--text); }
.main-nav a.on { color: var(--text); background: var(--panel-2); }
.hsearch { flex: 1; max-width: 360px; margin-left: auto; }
.hsearch input { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; outline: none; font-size: 14px; }
.hsearch input:focus { border-color: var(--muted); }
.top-actions { display: flex; align-items: center; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--accent); color: #1a0a0a; font-weight: 800; padding: 14px 22px; border-radius: 999px; transition: transform .12s, filter .12s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-small { padding: 9px 16px; font-size: 14px; color: #1a0a0a !important; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); font-weight: 500; }
.btn-ghost:hover { border-color: var(--muted); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

/* ---------- tableau ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 40px 0 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 30px; letter-spacing: -.02em; }
.section-head .sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.search { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px; width: min(320px, 100%); outline: none; }
.search:focus { border-color: var(--muted); }

.lists { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.list-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .15s, transform .15s; position: relative; overflow: hidden; }
.list-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.list-card .icon { font-size: 34px; line-height: 1; }
.list-card h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.list-card .tag { color: var(--muted); font-size: 14px; line-height: 1.35; flex: 1; }
.list-card .peek { display: flex; gap: 4px; font-size: 18px; align-items: center; }
.list-card .peek img { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; }
.ranking .mini { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; vertical-align: -6px; }
.list-card .meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.list-card .meta b { color: var(--t-b); font-weight: 700; }

.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-bottom: 40px; }
.coin-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.coin-card:hover { border-color: var(--muted); }
.cc-img { position: relative; }
.cc-img img { width: 100%; aspect-ratio: 1; display: block; background: #000; }
.cc-rx { position: absolute; top: 8px; right: 8px; background: rgba(12,12,16,.85); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; font: 700 12px var(--mono); }
.coin-card .body { padding: 11px 13px 13px; display: grid; gap: 6px; }
.cc-top { display: flex; justify-content: space-between; align-items: baseline; }
.coin-card .tk { font-family: var(--mono); font-weight: 700; color: var(--t-b); }
.age { font: 500 12px var(--mono); color: var(--muted); }
.coin-card .nm { font-weight: 800; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-s { display: flex; align-items: center; gap: 4px; min-height: 26px; font-size: 18px; }
.cc-s img { width: 26px; height: 26px; border-radius: 6px; object-fit: cover; }
.s-chip { width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center; background: var(--t-s); color: #111; font-size: 12px; margin-right: 2px; }
.cc-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 12px; min-width: 0; }
.chip { display: inline-flex; align-items: center; gap: 5px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px;
  font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.who { display: inline-flex; align-items: center; gap: 5px; font: 500 12px var(--mono); color: var(--muted); white-space: nowrap; }
.who:hover { color: var(--text); }
.ava { display: inline-block; border-radius: 50%; flex: none; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 13px; word-break: break-all; }
.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* ---------- création ---------- */
.create { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; padding: 32px 0 80px; align-items: start; }
.create-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
.create-head .icon { font-size: 44px; }
.create-head h1 { margin: 0; font-size: 34px; letter-spacing: -.03em; }
.create-head p { margin: 2px 0 0; color: var(--muted); }
.back { color: var(--muted); font-size: 14px; display: inline-block; margin-top: 24px; }
.back:hover { color: var(--text); }

.board { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.row { display: flex; min-height: 84px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row-label { width: 84px; flex: none; display: grid; place-items: center; color: #111; font-weight: 800; font-size: 28px; outline: none; text-align: center; padding: 4px; word-break: break-word; }
.row-label:focus { box-shadow: inset 0 0 0 3px rgba(0,0,0,.35); }
.zone { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; align-content: flex-start; min-height: 84px; transition: background .12s; }
.zone.over { background: rgba(255,255,255,.05); }
.pool-wrap { margin-top: 16px; }
.pool-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px; flex-wrap: wrap; }
.pool-head h3 { margin: 0; font-size: 15px; color: var(--muted); font-weight: 500; }
.pool { background: var(--panel); border: 1px dashed var(--line); border-radius: var(--radius); min-height: 96px; }
.tools { display: flex; gap: 8px; flex-wrap: wrap; }
.tools button { background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-size: 13px; cursor: pointer; }
.tools button:hover { border-color: var(--muted); }

.item { width: 76px; height: 76px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; cursor: grab; user-select: none; touch-action: none; position: relative; padding: 4px; }
.item:hover { border-color: var(--muted); }
.item .e { font-size: 26px; line-height: 1; }
.item .l { font-size: 9.5px; line-height: 1.1; text-align: center; color: var(--muted); max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.item.has-img { padding: 0; overflow: hidden; justify-content: flex-end; }
.item.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.item.has-img .l { position: relative; width: 100%; padding: 10px 3px 3px; color: #fff; font-weight: 700;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); display: block; white-space: nowrap; text-overflow: ellipsis; }
.item.ghost { opacity: .25; }
.item.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.item.dragging { position: fixed; pointer-events: none; z-index: 100; cursor: grabbing; transform: rotate(4deg) scale(1.08); box-shadow: 0 16px 40px rgba(0,0,0,.5); border-color: var(--accent); }
.item .x { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--line); border: 0; font-size: 11px; line-height: 18px; cursor: pointer; display: none; padding: 0; }
.item.custom:hover .x { display: block; }

.add-form { display: flex; gap: 6px; margin-top: 10px; }
.add-form input { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: none; min-width: 0; }
.add-form input:focus { border-color: var(--muted); }
.add-form .em { width: 58px; text-align: center; }
.add-form .lb { flex: 1; }
.add-form button { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; cursor: pointer; }

.side { position: sticky; top: 84px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; }
.side h3 { margin: 0; font-size: 18px; }
.preview { width: 100%; aspect-ratio: 1; border-radius: 10px; display: block; background: #000; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field textarea { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; outline: none; width: 100%; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--muted); }
.field .tick { font-family: var(--mono); text-transform: uppercase; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
details.socials summary { cursor: pointer; color: var(--muted); font-size: 14px; }
details.socials .field { margin-top: 10px; }
.hint { color: var(--muted); font-size: 13px; line-height: 1.4; margin: 0; }
.error { color: var(--t-s); font-size: 14px; margin: 0; }

/* ---------- page coin ---------- */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 22px 0 14px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.coin { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding: 0 0 80px; align-items: start; }
.coin-main { min-width: 0; }
.coin img.big { width: 100%; max-width: 640px; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.coin-main .tabs { margin: 18px 0 4px; }
.coin-side { position: sticky; top: 120px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; }
.coin-side .ticker { font-family: var(--mono); color: var(--t-b); font-weight: 700; font-size: 18px; }
.coin-side h1 { margin: 0; font-size: 32px; letter-spacing: -.03em; line-height: 1.05; overflow-wrap: anywhere; }
.by { font-size: 14px; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.parent { font-size: 14px; color: var(--muted); }
.parent b { color: var(--t-b); font-family: var(--mono); }
.remix-cta { width: 100%; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpis div { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; }
.kpis b { display: block; font: 700 20px var(--mono); }
.kpis span { font-size: 12px; color: var(--muted); }
.coin-side .desc { margin: 0; line-height: 1.5; white-space: pre-wrap; font-size: 14px; color: #cfcde0; }
.socials-row { display: flex; gap: 6px; flex-wrap: wrap; }
.side-card { border-top: 1px solid var(--line); padding-top: 12px; }
.side-card h4 { margin: 0 0 4px; font-size: 14px; }
.side-card p { margin: 0; font-size: 14px; }
.tab .feed, .tab .empty { margin-top: 14px; }
.ranking { display: grid; gap: 6px; margin: 18px 0; }
.ranking .r { display: flex; gap: 10px; align-items: baseline; }
.ranking .r b { width: 34px; height: 26px; border-radius: 6px; color: #111; display: grid; place-items: center; flex: none; font-size: 14px; }
.ranking .r span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.meta-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.meta-box h4 { margin: 0 0 8px; font-size: 14px; color: var(--muted); font-weight: 500; }
.meta-box pre { margin: 0; font-family: var(--mono); font-size: 12px; white-space: pre-wrap; word-break: break-all; color: #cfcde0; }
.launched-banner { background: linear-gradient(90deg, rgba(255,127,127,.15), rgba(255,223,127,.1)); border: 1px solid rgba(255,191,127,.35);
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px; font-size: 15px; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--panel-2); border: 1px solid var(--line);
  padding: 12px 18px; border-radius: 999px; z-index: 200; font-size: 14px; }

@media (max-width: 900px) {
  .create, .coin { grid-template-columns: 1fr; }
  .side, .coin-side { position: static; }
}
@media (max-width: 560px) {
  .row-label { width: 56px; font-size: 22px; }
  .row, .zone { min-height: 68px; }
  .item { width: 58px; height: 58px; }
  .item .e { font-size: 22px; }
}

/* ---------- effets ---------- */
.fx-layer { position: fixed; inset: 0; pointer-events: none; z-index: 300; overflow: hidden; }
.fx-p { position: absolute; display: block; }
.fx-txt { position: absolute; font: 800 30px var(--display); letter-spacing: -.02em; white-space: nowrap;
  text-shadow: 0 3px 0 rgba(0,0,0,.5), 0 0 24px currentColor; }

.btn:active, .tools button:active, .add-form button:active { transform: scale(.94); }
.list-card { transition: border-color .15s, transform .12s ease-out, box-shadow .15s; transform-style: preserve-3d; }
.list-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.12), transparent 60%); }
.list-card:hover::after { opacity: 1; }
.list-card:hover { box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.list-card:active { transform: scale(.97) !important; }
.list-card:hover .peek img, .list-card:hover .peek span { animation: peek .45s ease-out both; }
.list-card .peek > :nth-child(2) { animation-delay: .04s !important; } .list-card .peek > :nth-child(3) { animation-delay: .08s !important; }
.list-card .peek > :nth-child(4) { animation-delay: .12s !important; } .list-card .peek > :nth-child(5) { animation-delay: .16s !important; }
.list-card .peek > :nth-child(6) { animation-delay: .2s !important; }
@keyframes peek { 0% { transform: translateY(0); } 40% { transform: translateY(-7px) rotate(-6deg); } 100% { transform: translateY(0); } }

.item { transition: transform .12s, border-color .12s; }
.item:hover { transform: translateY(-2px) scale(1.04); }
.item:active { transform: scale(.95); }
.item.pop { animation: pop .42s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pop { 0% { transform: scale(.4) rotate(-10deg); opacity: .2; } 60% { transform: scale(1.15) rotate(3deg); opacity: 1; } 100% { transform: scale(1) rotate(0); } }
.item.selected { animation: wiggle .5s ease-in-out infinite; }
@keyframes wiggle { 0%,100% { transform: rotate(-3deg) scale(1.06); } 50% { transform: rotate(3deg) scale(1.06); } }
.zone.over { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.row-label.flash { animation: flash .45s ease-out; }
@keyframes flash { 0% { filter: brightness(1.6) saturate(1.3); transform: scale(1.08); } 100% { filter: none; transform: none; } }

.progress-wrap { display: grid; gap: 6px; }
.progress { position: relative; height: 18px; width: min(260px, 60vw); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.progress i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px; transition: width .35s cubic-bezier(.3,1.4,.5,1);
  background: linear-gradient(90deg, var(--t-s), var(--t-a), var(--t-b), var(--t-c), var(--t-d), var(--t-f)); }
.progress span { position: relative; display: block; text-align: center; font: 700 11px/16px var(--mono); color: #fff; text-shadow: 0 1px 2px #000; }

#launch.ready { animation: glow 1.4s ease-in-out infinite; }
@keyframes glow { 0%,100% { box-shadow: 0 0 0 0 rgba(255,127,127,.55); } 50% { box-shadow: 0 0 0 10px rgba(255,127,127,0); transform: scale(1.02); } }
#launch.charging { background: linear-gradient(90deg, var(--t-s), var(--t-b), var(--t-s)); background-size: 200% 100%; animation: charge .6s linear infinite; }
@keyframes charge { to { background-position: -200% 0; } }
.shake { animation: shake .4s ease-in-out; }
@keyframes shake { 0%,100% { transform: none; } 20% { transform: translateX(-8px) rotate(-2deg); } 40% { transform: translateX(7px) rotate(2deg); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
#b-random.spin { animation: spin .5s cubic-bezier(.3,1.4,.5,1); }
@keyframes spin { from { transform: rotate(-360deg) scale(.8); } to { transform: none; } }
img.big.reveal { animation: reveal .9s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes reveal { 0% { transform: perspective(800px) rotateY(-90deg) scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
.coin-card { transition: border-color .15s, transform .15s; }
.coin-card:hover { transform: translateY(-4px) rotate(-.6deg); }

@media (prefers-reduced-motion: reduce) {
  .item.pop, .item.selected, .row-label.flash, #launch.ready, .shake, #b-random.spin, img.big.reveal, .list-card:hover .peek img { animation: none !important; }
}

/* ---------- wallet ---------- */
.wallet-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 8px 14px; font: 700 13px var(--mono); cursor: pointer; transition: border-color .15s, transform .12s; }
.wallet-btn:hover { border-color: var(--muted); }
.wallet-btn:active { transform: scale(.94); }
.wallet-btn.on { border-color: rgba(191,255,127,.45); }
.wallet-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--t-d); box-shadow: 0 0 8px var(--t-d); }
.addr { font-family: var(--mono); color: var(--t-d); }


/* ---------- organisation façon launchpad ---------- */
.ticker { position: sticky; top: 61px; z-index: 19; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--panel); height: 38px; }
.ticker-track { display: flex; gap: 28px; width: max-content; height: 100%; align-items: center; padding-left: 16px; animation: marquee 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.ticker a b { font-family: var(--mono); color: var(--t-b); }
.ticker a img { width: 22px; height: 22px; border-radius: 5px; flex: none; object-fit: cover; }
@keyframes marquee { to { transform: translateX(-50%); } }

.strip { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 32px 0 8px; }
.strip h1 { margin: 0 0 6px; font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -.04em; line-height: 1; }
.strip h1 em { font-style: normal; background: linear-gradient(90deg, var(--t-s), var(--t-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip p { margin: 0 0 16px; color: var(--muted); }
.strip-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.stats { display: flex; gap: 10px; }
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; min-width: 110px; }
.stats b { display: block; font: 700 26px var(--mono); }
.stats span { font-size: 12px; color: var(--muted); }

.hot { display: flex; gap: 12px; overflow-x: auto; padding: 12px 0 8px; scroll-snap-type: x mandatory; }
.hot-card { flex: none; width: 260px; display: flex; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px; scroll-snap-align: start; position: relative; transition: transform .15s, border-color .15s; }
.hot-card:hover { transform: translateY(-3px); border-color: var(--muted); }
.hot-card img { width: 76px; height: 76px; border-radius: 10px; flex: none; }
.hot-card div { display: grid; gap: 2px; min-width: 0; }
.hot-card .tk { font: 700 15px var(--mono); color: var(--t-b); }
.hot-card .nm { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-card .muted { font-size: 12px; }
.hot-card.king { border-color: rgba(255,223,127,.6); background: linear-gradient(135deg, rgba(255,223,127,.12), var(--panel) 60%); }
.crown { position: absolute; top: -10px; left: 10px; background: var(--t-b); color: #111; font-size: 11px; border-radius: 999px; padding: 2px 8px; }

.board-head { align-items: center; margin-bottom: 12px; }
.tabs { display: inline-flex; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.tabs button { background: none; border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; color: var(--muted); font-weight: 700; }
.tabs button.on { background: var(--panel-2); color: var(--text); }
.tabs .count { font: 700 11px var(--mono); background: var(--line); border-radius: 999px; padding: 1px 6px; margin-left: 4px; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.board-head .chips { margin-bottom: 0; }
.chips button { flex: none; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; cursor: pointer; font-size: 14px; color: var(--muted); }
.chips button:hover { color: var(--text); }
.chips button.on { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 700; }
.see-all { color: var(--muted); font-weight: 700; }
.see-all:hover { color: var(--text); }

.big-empty { display: grid; justify-items: center; gap: 8px; padding: 48px 20px; }
.big-empty h3 { margin: 6px 0 0; color: var(--text); font-size: 22px; }
.big-empty p { margin: 0 0 8px; }
.empty-art { display: grid; gap: 4px; justify-items: start; }
.empty-art i { height: 22px; border-radius: 5px; color: #111; font: 800 13px/22px var(--display); padding-left: 8px; font-style: normal; }

.page-head { padding: 32px 0 4px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; }
.page-head p { margin: 0; color: var(--muted); }
.group h2 { font-size: 20px; margin: 26px 0 12px; }
.group h2 .muted { font: 500 14px var(--mono); }
#groups { padding-bottom: 60px; }
.narrow { max-width: 760px; padding-bottom: 80px; }

.profile { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 32px 0 0; }
.profile h1 { margin: 0 0 4px; font: 700 28px var(--mono); }
.profile .stats { margin-left: auto; }

.how { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.how li { display: flex; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.how li > b { font: 700 22px var(--mono); color: var(--t-b); }
.how h3 { margin: 0 0 4px; }
.how p { margin: 0; color: var(--muted); line-height: 1.5; }
.rules { border-top: 1px solid var(--line); padding: 8px 0 20px; }
.rules ul { color: #cfcde0; line-height: 1.8; padding-left: 20px; }

.tabbar { display: none; }
@media (max-width: 900px) {
  .main-nav, .hsearch { display: none; }
  .top { justify-content: space-between; }
  .ticker { top: 57px; }
  .tabbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: rgba(12,12,16,.94); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); justify-content: space-around; align-items: center; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; font-size: 11px; color: var(--muted); padding: 4px 8px; }
  .tabbar a i { font-style: normal; font-size: 18px; }
  .tabbar a.on { color: var(--text); }
  .tabbar .tab-create i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #1a0a0a;
    font-size: 28px; font-weight: 800; margin-top: -18px; box-shadow: 0 6px 20px rgba(255,127,127,.35); }
  body { padding-bottom: 76px; }
  .toast { bottom: 90px; }
  .stats { width: 100%; }
  .stats div { flex: 1; min-width: 0; }
  .profile .stats { margin-left: 0; }
}
@media (max-width: 560px) {
  .create-btn { display: none; }
  .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .coin-card .body { padding: 9px 10px 11px; }
  .cc-foot .who { display: none; }
}

/* ---------- lancement on-chain ---------- */
.cc-live { position: absolute; top: 8px; left: 8px; background: rgba(12,12,16,.85); border: 1px solid rgba(191,255,127,.5); color: var(--t-d);
  border-radius: 999px; padding: 3px 9px; font: 700 11px var(--mono); }
.side-card { display: grid; gap: 10px; }
.side-card h4 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.split { display: flex; border-radius: 999px; overflow: hidden; font: 700 12px/26px var(--mono); color: #111; text-align: center; }
.split span:first-child { background: var(--t-d); }
.split span:last-child { background: var(--t-b); }
.deploy-btn { width: 100%; }
.links { display: flex; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.links a { color: var(--t-f); }
.linkish { background: none; border: 0; padding: 0; color: var(--t-f); cursor: pointer; text-align: left; font-size: 13px; }
.linkish a { color: var(--t-f); text-decoration: underline; }
.launched-banner a { color: var(--t-b); font-weight: 700; }
