/* CryptoDénicheur 2.0 — interface tableau de bord. Chargé après style.css. */

:root {
  --cd-bg: #08090b;
  --cd-surface: #111318;
  --cd-surface-2: #171a21;
  --cd-border: #232730;
  --cd-text: #eceef2;
  --cd-muted: #8d93a0;
  --cd-gold: #ffcc66;
  --cd-gold-ink: #17120a;
  --cd-up: #2fd08c;
  --cd-down: #ff6b78;
  --cd-radius: 12px;
  --cd-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  background: var(--cd-bg);
  color: var(--cd-text);
  font-family: var(--cd-font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--cd-font); letter-spacing: -0.01em; }

/* ---------- Barre de navigation ---------- */
.cd-navbar {
  background: rgba(8, 9, 11, 0.92);
  border-bottom: 1px solid var(--cd-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}
.cd-navbar .navbar-nav { gap: 4px; }
.cd-navbar .navbar-nav .nav-link {
  color: var(--cd-text) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 8px;
}
.cd-navbar .navbar-nav .nav-link:hover { color: var(--cd-gold) !important; background: var(--cd-surface); }
.cd-navbar .navbar-nav .nav-link.active { color: var(--cd-gold) !important; background: var(--cd-surface); }
.cd-brand { color: var(--cd-text); font-weight: 600; font-size: 1.2rem; }
.cd-brand b { color: var(--cd-gold); font-weight: 700; }
.cd-search { padding: 8px; }
@media (max-width: 991px) {
  .cd-navbar .container { flex-wrap: wrap; }
  .cd-navbar .navbar-collapse { order: 4; flex-basis: 100%; }
  .cd-navbar .navbar-nav { padding: 8px 0; text-align: left; }
  .cd-search { margin-left: auto; margin-right: 8px; }
}

/* ---------- Structure ---------- */
.cd-app { padding-bottom: 32px; }
.cd-app a { color: var(--cd-gold); text-decoration: none; }
.cd-app a:hover { text-decoration: underline; }
.cd-app h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; text-wrap: balance; margin: 0 0 12px; }
.cd-app h2 { font-size: 1.3rem; font-weight: 650; color: var(--cd-text); margin: 0 0 14px; }
.cd-app h3 { font-size: 1.05rem; font-weight: 650; margin: 0 0 6px; }
.cd-container-narrow { max-width: 900px; }
.cd-section { padding: 28px 0; }
.cd-section-tight { padding: 12px 0; }
.cd-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.cd-section-head h2 { margin: 0; }
.cd-section-head a { font-size: 0.92rem; white-space: nowrap; }
.cd-page-head { padding: 8px 0 20px; }
.cd-lead { color: #c3c7d0; font-size: 1.08rem; max-width: 70ch; margin: 0 0 10px; }
.cd-muted { color: var(--cd-muted); }
.cd-small { font-size: 0.83rem; }
.cd-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cd-up { color: var(--cd-up); }
.cd-down { color: var(--cd-down); }
.cd-flat { color: var(--cd-muted); }
.cd-eyebrow { color: var(--cd-gold); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; }

.cd-breadcrumb { font-size: 0.85rem; color: var(--cd-muted); padding: 18px 0 6px; }
.cd-breadcrumb a { color: var(--cd-muted); }
.cd-breadcrumb a:hover { color: var(--cd-gold); }

.cd-card {
  background: var(--cd-surface);
  border: 1px solid var(--cd-border);
  border-radius: var(--cd-radius);
  padding: 20px;
}
a.cd-card { display: block; color: var(--cd-text); transition: border-color 0.15s, transform 0.15s; }
a.cd-card:hover { border-color: var(--cd-gold); text-decoration: none; transform: translateY(-2px); }

.cd-grid { display: grid; gap: 16px; }
.cd-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cd-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cd-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cd-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1199px) { .cd-grid-4, .cd-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) { .cd-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .cd-grid-2, .cd-grid-3, .cd-grid-4, .cd-grid-5 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Boutons ---------- */
.cd-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.3;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  font-family: inherit;
}
.cd-app a.cd-btn:hover { text-decoration: none; }
.cd-app a.cd-btn-gold, .cd-btn-gold { background: var(--cd-gold); color: var(--cd-gold-ink); }
.cd-btn-gold:hover { background: #ffd885; }
.cd-app a.cd-btn-ghost, .cd-btn-ghost { background: transparent; color: var(--cd-text); border-color: var(--cd-border); }
.cd-btn-ghost:hover { border-color: var(--cd-gold); color: var(--cd-gold); }
.cd-btn-lg { padding: 12px 22px; font-size: 1rem; }
.cd-btn-sm { padding: 5px 12px; font-size: 0.85rem; }
.cd-btn-block { display: block; margin-top: 14px; }
.cd-app :focus-visible, .cd-navbar :focus-visible { outline: 2px solid var(--cd-gold); outline-offset: 2px; }

/* ---------- Accueil ---------- */
.cd-hero { padding: 64px 0 28px; text-align: center; }
.cd-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 18ch; margin: 0 auto 16px; }
.cd-hero .cd-lead { margin: 0 auto 24px; }
.cd-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }

.cd-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 991px) { .cd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cd-stat { display: flex !important; flex-direction: column; gap: 4px; padding: 16px; }
.cd-stat-label { color: var(--cd-muted); font-size: 0.85rem; display: flex; align-items: center; gap: 6px; }
.cd-stat-value { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cd-stat-sub { font-size: 0.88rem; font-variant-numeric: tabular-nums; }

.cd-opp-head { display: flex; align-items: center; gap: 10px; }
.cd-opp-head > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.cd-opp-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cd-opp-price { font-size: 1.25rem; font-weight: 700; margin: 12px 0 6px; font-variant-numeric: tabular-nums; }
.cd-opp-price span { font-size: 0.92rem; font-weight: 600; margin-left: 6px; }
.cd-opp-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 0.85rem; }

.cd-mini h2, .cd-mini h3 { margin-bottom: 2px; font-size: 1.02rem; }
.cd-mini-hint { font-size: 0.8rem; margin: 0 0 10px; }
.cd-mini ul { list-style: none; margin: 0; padding: 0; }
.cd-mini li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--cd-border); font-size: 0.92rem; }

.cd-brief p { max-width: 80ch; }
.cd-method .cd-grid > div { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; align-items: flex-start; }
.cd-method .cd-grid { margin: 16px 0; }

.cd-tool-card { display: flex !important; flex-direction: column; gap: 6px; font-size: 0.92rem; }
.cd-tool-card strong { font-size: 1.02rem; color: var(--cd-text); }
.cd-tool-card-lg { padding: 26px; }
.cd-link { color: var(--cd-gold); font-weight: 600; margin-top: 6px; }

/* ---------- Monnaies, scores, signaux ---------- */
.cd-coin-icon { border-radius: 50%; flex: none; }
.cd-app a.cd-coin-link { display: inline-flex; align-items: center; gap: 8px; color: var(--cd-text); min-width: 0; }
.cd-coin-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 16ch; }
.cd-coin-sym { color: var(--cd-muted); font-size: 0.8rem; font-weight: 500; }

.cd-score { display: inline-flex; align-items: baseline; font-weight: 700; padding: 3px 9px; border-radius: 6px; font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.cd-score small { font-size: 0.68em; font-weight: 500; opacity: 0.75; margin-left: 1px; }
.cd-score-high { background: rgba(47, 208, 140, 0.14); color: var(--cd-up); }
.cd-score-mid { background: rgba(255, 204, 102, 0.14); color: var(--cd-gold); }
.cd-score-low { background: rgba(141, 147, 160, 0.14); color: #b3b8c3; }

.cd-signal { display: inline-block; font-size: 0.76rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--cd-border); color: var(--cd-muted); white-space: nowrap; }
.cd-signal-breakout { color: var(--cd-up); border-color: rgba(47, 208, 140, 0.5); }
.cd-signal-momentum { color: #6cc4ff; border-color: rgba(108, 196, 255, 0.45); }
.cd-signal-volume { color: var(--cd-gold); border-color: rgba(255, 204, 102, 0.5); }
.cd-signal-surchauffe { color: #ffa25e; border-color: rgba(255, 162, 94, 0.5); }
.cd-signal-survente { color: #c59bff; border-color: rgba(197, 155, 255, 0.5); }
.cd-signal-repli { color: var(--cd-down); border-color: rgba(255, 107, 120, 0.45); }

.cd-spark { display: block; }
.cd-spark-up polyline, .cd-spark-up path.cd-line { stroke: var(--cd-up); }
.cd-spark-down polyline, .cd-spark-down path.cd-line { stroke: var(--cd-down); }
.cd-spark-wide { width: 100%; height: auto; }

/* ---------- Tableaux ---------- */
.cd-table-wrap { overflow-x: auto; border: 1px solid var(--cd-border); border-radius: var(--cd-radius); background: var(--cd-surface); }
.cd-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.cd-table th { font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--cd-muted); padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--cd-border); white-space: nowrap; background: var(--cd-surface); user-select: none; }
.cd-table th.cd-num { text-align: right; }
.cd-table th[data-sort] { cursor: pointer; }
.cd-table th[data-sort]:hover { color: var(--cd-text); }
.cd-table th.is-sorted { color: var(--cd-gold); }
.cd-table th.is-sorted::after { content: " ↓"; }
.cd-table th.is-sorted.is-asc::after { content: " ↑"; }
.cd-table td { padding: 10px 14px; border-bottom: 1px solid var(--cd-border); vertical-align: middle; }
.cd-table tbody tr:last-child td { border-bottom: 0; }
.cd-table tbody tr:hover { background: var(--cd-surface-2); }
.cd-col-rank { color: var(--cd-muted); width: 1%; }
.cd-col-spark { width: 110px; }
.cd-app a.cd-ex-name { font-weight: 650; color: var(--cd-text); font-size: 1rem; }
.cd-table-ex td .cd-small { max-width: 30ch; white-space: normal; }
.cd-empty { padding: 40px 0; text-align: center; color: var(--cd-muted); }
@media (max-width: 767px) {
  .cd-table { font-size: 0.86rem; }
  .cd-table th, .cd-table td { padding: 9px 10px; }
  .cd-table .cd-col-coin { position: sticky; left: 0; background: var(--cd-surface); z-index: 1; }
  .cd-coin-name { max-width: 10ch; }
}

/* ---------- Filtres et formulaires ---------- */
.cd-filters { margin-bottom: 16px; }
.cd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-chip { background: var(--cd-surface); color: var(--cd-text); border: 1px solid var(--cd-border); border-radius: 999px; padding: 6px 14px; font-size: 0.88rem; font-weight: 500; cursor: pointer; font-family: inherit; }
.cd-chip span { color: var(--cd-muted); margin-left: 4px; font-variant-numeric: tabular-nums; }
.cd-chip:hover { border-color: var(--cd-gold); }
.cd-chip.is-active { background: var(--cd-gold); color: var(--cd-gold-ink); border-color: var(--cd-gold); }
.cd-chip.is-active span { color: var(--cd-gold-ink); }
.cd-filter-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin: 14px 0 8px; }
.cd-field { display: flex; flex-direction: column; gap: 5px; font-size: 0.82rem; color: var(--cd-muted); min-width: 0; }
.cd-field input, .cd-field select {
  background: var(--cd-surface);
  color: var(--cd-text);
  border: 1px solid var(--cd-border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.98rem;
  font-family: inherit;
  min-width: 170px;
  max-width: 100%;
  color-scheme: dark;
}
.cd-field input:focus, .cd-field select:focus { border-color: var(--cd-gold); outline: none; }
.cd-check { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--cd-muted); padding-bottom: 10px; cursor: pointer; }
.cd-check input { accent-color: var(--cd-gold); width: 16px; height: 16px; }

/* ---------- Fiche crypto ---------- */
.cd-coin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; padding: 6px 0 22px; }
.cd-coin-title { display: flex; align-items: center; gap: 14px; }
.cd-coin-title h1 { margin: 0 0 4px; }
.cd-coin-title h1 .cd-coin-sym { font-size: 0.5em; vertical-align: middle; }
.cd-coin-title p { margin: 0; }
.cd-coin-price { text-align: right; }
.cd-price-big { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd-price-ch { font-size: 1.02rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cd-coin-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.cd-coin-main, .cd-coin-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
@media (max-width: 991px) { .cd-coin-layout { grid-template-columns: minmax(0, 1fr); } .cd-coin-price { text-align: left; } }

.cd-chart-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.cd-chart-head h2 { margin: 0; }
.cd-chart { position: relative; min-height: 120px; }
.cd-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.cd-chart .cd-area { opacity: 0.12; stroke: none; }
.cd-spark-up .cd-area { fill: var(--cd-up); }
.cd-spark-down .cd-area { fill: var(--cd-down); }
.cd-chart .cd-grid-line { stroke: var(--cd-border); stroke-width: 1; }
.cd-chart text { fill: var(--cd-muted); font-size: 11px; font-family: var(--cd-font); }
.cd-chart .cd-cursor { stroke: var(--cd-muted); stroke-dasharray: 3 3; }
.cd-chart-tip { position: absolute; top: 0; pointer-events: none; background: var(--cd-surface-2); border: 1px solid var(--cd-border); border-radius: 8px; padding: 6px 10px; font-size: 0.82rem; white-space: nowrap; font-variant-numeric: tabular-nums; transform: translateX(-50%); }
.cd-chart-tip strong { display: block; font-size: 0.95rem; }

.cd-perf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.cd-perf > div { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; background: var(--cd-surface-2); border-radius: 8px; padding: 10px 12px; }
.cd-perf strong { font-size: 1rem; font-variant-numeric: tabular-nums; }
@media (max-width: 575px) { .cd-perf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cd-analysis { margin: 0; }
.cd-analysis dt { color: var(--cd-gold); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 14px; }
.cd-analysis dd { margin: 4px 0 0; color: #d3d6dd; }

.cd-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.cd-facts > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--cd-border); font-size: 0.92rem; }
.cd-facts dt { color: var(--cd-muted); font-weight: 400; }
.cd-facts dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.cd-facts-compact, .cd-facts-inline { grid-template-columns: minmax(0, 1fr); }
.cd-facts-compact { margin-top: 14px; }
@media (max-width: 575px) { .cd-facts { grid-template-columns: minmax(0, 1fr); } }

.cd-score-card { text-align: center; }
.cd-score-card h2 { text-align: left; }
.cd-score-big { font-size: 3.4rem; font-weight: 750; line-height: 1; font-variant-numeric: tabular-nums; margin: 4px 0 10px; background: none; }
.cd-score-big small { font-size: 0.3em; color: var(--cd-muted); font-weight: 500; }
.cd-bar { text-align: left; margin-top: 12px; }
.cd-bar-top { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 5px; }
.cd-bar-top span { color: var(--cd-muted); }
.cd-bar-track { height: 6px; background: var(--cd-surface-2); border-radius: 999px; overflow: hidden; }
.cd-bar-fill { height: 100%; border-radius: 999px; }
.cd-fill-high { background: var(--cd-up); }
.cd-fill-mid { background: var(--cd-gold); }
.cd-fill-low { background: var(--cd-down); }
.cd-score-card > p { margin: 14px 0 0; text-align: left; }

.cd-buy-list { list-style: none; margin: 0; padding: 0; }
.cd-buy-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--cd-border); }
.cd-buy-list li > div { display: flex; flex-direction: column; min-width: 0; }

.cd-news { list-style: none; margin: 0; padding: 0; }
.cd-news li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--cd-border); }
.cd-news li:last-child, .cd-buy-list li:last-child { border-bottom: 0; }

.cd-faq details { border-bottom: 1px solid var(--cd-border); padding: 12px 0; }
.cd-faq details:last-child { border-bottom: 0; }
.cd-faq summary { cursor: pointer; font-weight: 600; }
.cd-faq p { margin: 10px 0 0; color: #d3d6dd; max-width: 75ch; }

/* ---------- Acheter / exchanges ---------- */
.cd-buy-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.cd-buy-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; scroll-margin-top: 90px; }
.cd-buy-card:not(:has(.cd-buy-rank)) { grid-template-columns: minmax(0, 1fr) auto; }
.cd-buy-rank { width: 36px; height: 36px; border-radius: 50%; background: var(--cd-surface-2); display: grid; place-items: center; font-weight: 700; color: var(--cd-gold); align-self: start; }
.cd-buy-body p { margin: 0 0 8px; }
.cd-buy-body .cd-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cd-proscons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 12px; font-size: 0.9rem; }
.cd-proscons ul { list-style: none; margin: 0; padding: 0; }
.cd-proscons li { padding-left: 20px; position: relative; margin-bottom: 4px; color: #d3d6dd; }
.cd-pros li::before { content: "+"; position: absolute; left: 0; color: var(--cd-up); font-weight: 700; }
.cd-cons li::before { content: "−"; position: absolute; left: 0; color: var(--cd-down); font-weight: 700; }
@media (max-width: 767px) {
  .cd-buy-card, .cd-buy-card:not(:has(.cd-buy-rank)) { grid-template-columns: minmax(0, 1fr); }
  .cd-buy-body .cd-facts, .cd-proscons { grid-template-columns: minmax(0, 1fr); }
  .cd-buy-cta .cd-btn { display: block; }
}
.cd-buy-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.cd-buy-tile { display: flex !important; align-items: center; gap: 12px; padding: 12px 14px; }
.cd-buy-tile > span { display: flex; flex-direction: column; min-width: 0; }
.cd-buy-tile strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.95rem; }
.cd-steps { padding-left: 20px; margin: 0; }
.cd-steps li { margin-bottom: 10px; color: #d3d6dd; }
.cd-steps strong { color: var(--cd-text); }

.cd-fee-bars { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.cd-fee-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 90px; gap: 12px; align-items: center; font-size: 0.92rem; }
.cd-fee-row .cd-bar-track { height: 10px; }
.cd-fee-row .cd-bar-fill { background: var(--cd-gold); }

/* ---------- Outils ---------- */
.cd-tool { margin-bottom: 20px; }
.cd-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cd-form-grid-single { grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
.cd-form-grid .cd-field input, .cd-form-grid .cd-field select, .cd-convert .cd-field input, .cd-convert .cd-field select { width: 100%; min-width: 0; }
.cd-results { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.cd-results > div { background: var(--cd-surface-2); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 0.82rem; min-width: 0; }
.cd-results strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 767px) { .cd-results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .cd-form-grid { grid-template-columns: minmax(0, 1fr); } }
.cd-tool .cd-chart { margin-top: 18px; }
.cd-tool > .cd-small { margin: 12px 0 0; }
.cd-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.cd-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.cd-row .cd-field input { width: 100%; min-width: 0; }
.cd-row button { height: 42px; }
.cd-convert { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 12px; align-items: end; }
.cd-convert-out { grid-column: 1 / -1; background: var(--cd-surface-2); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.cd-convert-out strong { font-size: 1.8rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cd-convert #c-swap { height: 42px; font-size: 1.1rem; }
@media (max-width: 575px) { .cd-convert { grid-template-columns: minmax(0, 1fr); } }
.cd-prose p { color: #d3d6dd; max-width: 75ch; }
.cd-prose p:last-child { margin-bottom: 0; }

/* ---------- Pied de page ---------- */
.cd-disclaimer { color: var(--cd-muted); font-size: 0.8rem; max-width: 100ch; margin: 22px 0 0; }
.cd-footer { border-top: 1px solid var(--cd-border); padding: 36px 0 28px; margin-top: 36px; font-size: 0.9rem; }
.cd-footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 575px) { .cd-footer-grid { grid-template-columns: minmax(0, 1fr); } }
.cd-footer-title { color: var(--cd-text); font-weight: 650; margin-bottom: 10px; }
.cd-footer ul { list-style: none; margin: 0; padding: 0; }
.cd-footer li { margin-bottom: 6px; }
.cd-footer a { color: var(--cd-muted); text-decoration: none; }
.cd-footer a:hover { color: var(--cd-gold); }
.cd-footer-legal { color: var(--cd-muted); font-size: 0.82rem; margin: 14px 0 0; }

/* ---------- Blog : harmonisation avec le nouveau fond ---------- */
.card, .card-body, .card-img-top { background: transparent !important; }
.card-img-top { border-radius: var(--cd-radius); }
.card-title { font-size: 1.02rem; line-height: 1.35; }
.hero { padding-top: 64px; }

@media (prefers-reduced-motion: reduce) {
  a.cd-card { transition: none; }
  a.cd-card:hover { transform: none; }
  .btc-line, .btc-ticker { animation: none; }
}
