/* ============================================================
   GNEWSALYZER V3 — composants partagés (filtres, liste d'articles,
   graphiques, pagination, toasts). Tokens de cockpit-pro.css.
   ============================================================ */

.muted { color: var(--fg-muted); font-size: 13.5px; }

/* ---------- Champs ---------- */
.filters {
  display: grid;
  gap: 12px;
  padding: 16px;
  margin-bottom: 14px;
  border-radius: var(--r-xl);
  background: var(--ink-1);
  border: 1px solid var(--line);
}
.filters > .seg { justify-self: start; }
.filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.field { display: grid; gap: 5px; min-width: 0; }
.field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.field-input {
  width: 100%;
  min-width: 0;
  padding: 9px 11px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  color: var(--fg);
  font: inherit;
  font-size: 13.5px;
  transition: border-color 0.15s, background 0.15s;
}
.field-input:focus { outline: none; border-color: var(--brand-2); background: var(--ink-3); }
select.field-input { cursor: pointer; }
.field--search {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  color: var(--fg-subtle);
}
.field--search:focus-within { border-color: var(--brand-2); background: var(--ink-3); }
.field--search .field-input { border: 0; background: none; padding: 11px 0; font-size: 14.5px; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip.on { color: var(--fg-strong); border-color: rgba(129, 140, 248, 0.45); background: var(--brand-soft); }
.chip--ghost { border-style: dashed; }
.chip-count { font-size: 12px; color: var(--fg-subtle); }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; }
a.chip { text-decoration: none; }

/* ---------- Boutons ---------- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  color: var(--fg);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.btn-ghost:hover:not(:disabled) { border-color: var(--brand-2); background: var(--brand-soft); color: var(--fg-strong); }
.btn-ghost.is-on { color: var(--up); border-color: rgba(52, 211, 153, 0.35); }
.btn-ghost:disabled { cursor: default; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg-muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.icon-btn:hover:not(:disabled) { color: var(--fg-strong); border-color: var(--line-3); background: var(--ink-3); }
.icon-btn.is-on { color: var(--warm); border-color: rgba(245, 177, 75, 0.35); }
.icon-btn.is-on svg { fill: currentColor; }
.icon-btn--danger:hover:not(:disabled) { color: var(--down); border-color: rgba(248, 113, 113, 0.4); }

/* ---------- KPI ---------- */
.kpi-sub { margin-top: 6px; font-size: 12px; color: var(--fg-subtle); }
.kpi-val.mono { font-family: var(--font-mono); font-weight: 600; font-size: 30px; }

/* ---------- Panneaux ---------- */
.panel-head { justify-content: space-between; flex-wrap: wrap; }
.panel-titles { min-width: 0; }
.panel-actions { display: flex; gap: 8px; align-items: center; }
.panel-body { padding: 12px 14px 14px; }

/* ---------- Blocs contextuels ---------- */
.insight { display: grid; gap: 14px; margin-bottom: 18px; }
.insight .kpi-row { margin-bottom: 0; }
.insight-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; }
.insight-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.entity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.entity { padding: 10px 12px; border-radius: var(--r-md); background: var(--ink-3); border: 1px solid var(--line); }
.entity-name { font-weight: 600; color: var(--fg-strong); font-size: 13.5px; }
.entity-meta { font-size: 12px; color: var(--fg-subtle); margin-top: 3px; }

/* ---------- Topics populaires / barre de liste ---------- */
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 20px; }
.popular-label, .list-bar-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-right: 4px;
}
.list-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }

/* ---------- Ligne d'article ---------- */
.art-list { display: grid; gap: 10px; }
.art {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 14px;
  border-radius: var(--r-xl);
  background: var(--ink-1);
  border: 1px solid var(--line);
  transition: border-color 0.18s, transform 0.18s var(--ease-out), background 0.18s;
}
.art:hover { border-color: var(--line-3); background: var(--ink-2); transform: translateY(-1px); }
.art-media { display: block; }
.art-thumb {
  display: block;
  width: 168px;
  height: 112px;
  object-fit: cover;
  border-radius: var(--r-lg);
  background: var(--ink-3);
}
.art-thumb--empty {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--fg-faint);
  border: 1px solid var(--line);
}
/* Image absente : icône Signalytics en fond, couleurs atténuées (le libellé éventuel reste lisible). */
.art-thumb--empty::before {
  content: "";
  position: absolute;
  inset: 16%;
  background: url("/assets/signalytics-icon-160.png") center / contain no-repeat;
  filter: saturate(0.45) brightness(0.9);
  opacity: 0.55;
}
.art-thumb--empty > * { position: relative; }
.art-thumb-platform { font-weight: 800; letter-spacing: 0.06em; color: var(--fg-muted); }
.art-body { min-width: 0; display: grid; gap: 7px; align-content: start; }
.art-source { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; }
.art-site { font-weight: 700; color: var(--fg); text-decoration: none; }
.art-site:hover { color: var(--brand); }
.art-host { font-family: var(--font-mono); font-size: 12px; color: var(--fg-subtle); }
.art-title { margin: 0; font-size: 16.5px; font-weight: 700; line-height: 1.32; letter-spacing: -0.01em; }
.art-title a { color: var(--fg-strong); text-decoration: none; }
.art-title a:hover { color: var(--brand); }
.art-desc {
  margin: 0;
  color: var(--fg-muted);
  font-size: 13.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.cat-chip--link { text-decoration: none; }
.cat-chip--link:hover { color: var(--fg); }
.tag { font-size: 12px; color: var(--brand); text-decoration: none; opacity: 0.85; }
.tag:hover { opacity: 1; text-decoration: underline; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line-2);
  color: var(--fg-muted);
}
.badge--region { color: var(--h-emerald); border-color: rgba(52, 211, 153, 0.3); }
.badge--platform { color: var(--warm); border-color: rgba(245, 177, 75, 0.3); }
.art-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--fg-subtle); }
.art-score b { color: var(--hot-2); font-weight: 600; }
.art-history { color: var(--fg-muted); text-decoration: none; font-weight: 600; }
.art-history:hover { color: var(--brand); }
.art-actions { display: flex; flex-direction: column; gap: 6px; }
.art--compact { grid-template-columns: 120px minmax(0, 1fr) auto; }
.art--compact .art-thumb { width: 120px; height: 80px; }

/* ---------- Graphiques ---------- */
.lc-wrap { position: relative; }
.lc-wrap { min-height: 120px; }
.lc { display: block; overflow: visible; }
.lc-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lc-axis { fill: var(--fg-subtle); font-family: var(--font-mono); font-size: 12px; }
.lc-cursor { stroke: var(--line-3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lc-tip {
  position: absolute;
  top: 8px;
  min-width: 150px;
  padding: 8px 10px;
  border-radius: var(--r-md);
  background: var(--ink-4);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-pop);
  pointer-events: none;
  font-size: 12px;
  z-index: 2;
}
.lc-tip-title { font-weight: 700; color: var(--fg-strong); margin-bottom: 4px; }
.lc-tip-row { display: flex; align-items: center; gap: 6px; color: var(--fg-muted); }
.lc-tip-row b { margin-left: auto; color: var(--fg-strong); font-family: var(--font-mono); font-weight: 600; }
.lc-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--c); display: inline-block; }
.lc-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--fg-muted); margin: 0 0 10px; }
.lc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.barlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.barlist-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13px; }
.barlist-label { color: var(--fg); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.barlist-label:hover { color: var(--brand); }
.barlist-track { height: 6px; border-radius: 3px; background: var(--ink-3); overflow: hidden; }
.barlist-track i { display: block; height: 100%; border-radius: 3px; }
.barlist-value { color: var(--fg-muted); font-size: 12px; }

/* ---------- Pagination ---------- */
.pg { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 26px 0 0; }
.pg-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--ink-1);
  color: var(--fg-muted);
  font: inherit;
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
}
.pg-btn:hover:not(:disabled) { color: var(--fg-strong); border-color: var(--line-3); }
.pg-btn.on { color: #fff; background: var(--brand-grad); border-color: transparent; }
.pg-btn:disabled { opacity: 0.4; cursor: default; }
.pg-gap { color: var(--fg-faint); padding: 0 4px; }

/* ---------- États ---------- */
.empty { padding: 40px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-xl); color: var(--fg-muted); }
.empty-title { font-weight: 700; color: var(--fg); font-size: 16px; margin-bottom: 4px; }
.empty p { margin: 0; font-size: 13.5px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  transform: translateX(-50%);
  padding: 11px 16px;
  border-radius: var(--r-md);
  background: var(--ink-4);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-pop);
  color: var(--fg-strong);
  font-size: 13.5px;
  font-weight: 600;
  animation: toast-in 0.25s var(--ease-out);
  transition: opacity 0.35s, transform 0.35s;
}
.toast--ok { border-color: rgba(52, 211, 153, 0.4); }
.toast--error { border-color: rgba(248, 113, 113, 0.5); color: var(--down); }
.toast.is-out { opacity: 0; transform: translate(-50%, 8px); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .insight-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .art { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .art-thumb, .art--compact .art-thumb { width: 96px; height: 72px; }
  .art-actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; }
  .art-title { font-size: 15px; }
  .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .kpi-val.mono { font-size: 22px; }
  .barlist-row { grid-template-columns: minmax(0, 1fr) auto; }
  .barlist-track { display: none; }
}

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}
.data-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--fg); }
.data-table tbody tr:hover td { background: var(--ink-3); }
.data-table .num { text-align: right; }
.data-table a { color: var(--fg-strong); text-decoration: none; font-weight: 600; }
.data-table a:hover { color: var(--brand); }
.data-table th button { all: unset; cursor: pointer; }
.data-table th button:hover, .data-table th button.on { color: var(--fg-strong); }
.delta { font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-subtle); }
.delta--up { color: var(--up); }
.delta--down { color: var(--down); }

.back-link { display: inline-block; margin-bottom: 14px; color: var(--fg-muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.back-link:hover { color: var(--brand); }
.spacer { height: 18px; }
.kpi--accent .kpi-val { color: var(--up); }

/* ---------- Grilles de tuiles (sites, topics) ---------- */
.filters-inline { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.filters-inline .field { min-width: 180px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-lg);
  background: var(--ink-1);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s var(--ease-out);
}
.tile:hover { border-color: rgba(129, 140, 248, 0.45); background: var(--ink-2); transform: translateY(-1px); }
.tile-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile-name { color: var(--fg-strong); font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-host { font-size: 11.5px; color: var(--fg-subtle); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-count { flex-shrink: 0; font-size: 12px; color: var(--fg-subtle); }
.pg-note { text-align: center; margin: 10px 0 0; font-size: 12px; color: var(--fg-subtle); }
.insight-grid--even { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 18px; }
.kpi--link { text-decoration: none; display: block; }
.kpi--link:hover { border-color: rgba(129, 140, 248, 0.45); }
.kpi-val--text { font-size: 20px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Autocomplétion */
.suggest-wrap { position: relative; }
.suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  list-style: none;
  margin: 0;
  padding: 4px;
  border-radius: var(--r-md);
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-pop);
}
.suggest li { padding: 8px 10px; border-radius: 6px; cursor: pointer; font-size: 13.5px; }
.suggest li:hover { background: var(--ink-4); color: var(--fg-strong); }

/* Univers */
.universe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.universe {
  position: relative;
  padding: 18px;
  border-radius: var(--r-xl);
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--hue) 14%, transparent), transparent 60%), var(--ink-1);
  border: 1px solid var(--line);
  overflow: hidden;
}
.universe::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--hue); }
.universe-core { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; text-decoration: none; margin-bottom: 12px; }
.universe-rank { grid-row: span 2; font-size: 12px; color: var(--hue); padding-top: 5px; }
.universe-name { font-size: 20px; font-weight: 800; color: var(--fg-strong); letter-spacing: -0.01em; }
.universe-core:hover .universe-name { color: var(--hue); }
.universe-count { font-size: 12px; color: var(--fg-subtle); }
.universe-sats { display: flex; flex-wrap: wrap; gap: 6px; }

/* Catégories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.cat-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  background: var(--ink-1);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s var(--ease-out);
}
.cat-card:hover { border-color: color-mix(in srgb, var(--cat) 55%, transparent); transform: translateY(-1px); }
.cat-card-name { font-weight: 700; color: var(--fg-strong); }
.cat-card-count { color: var(--fg); font-size: 13px; text-align: right; }
.cat-card-share { font-size: 12px; color: var(--fg-subtle); }
.cat-card-bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--ink-3); overflow: hidden; }
.cat-card-bar i { display: block; height: 100%; background: var(--cat); border-radius: 2px; }

@media (max-width: 760px) {
  .insight-grid--even { grid-template-columns: 1fr; }
  .universe-grid { grid-template-columns: 1fr; }
}

/* ---------- Boutons principaux / liens ---------- */
.btn-primary {
  padding: 9px 16px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--brand-grad);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-primary:active { transform: translateY(1px); }
.link-btn { all: unset; cursor: pointer; color: var(--fg); font-weight: 600; }
.link-btn:hover { color: var(--brand); }
.badge--new { color: var(--brand); border-color: rgba(129, 140, 248, 0.4); }
.strong { color: var(--fg-strong); font-weight: 600; }

/* ---------- Classements ---------- */
.rank {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--ink-3);
  color: var(--fg-muted);
  font-size: 12px;
}
.podium--1 .rank { background: linear-gradient(135deg, #f5b14b, #ff8a5b); color: #1a1205; font-weight: 700; }
.podium--2 .rank { background: linear-gradient(135deg, #d6dae3, #8a92a6); color: #11131a; font-weight: 700; }
.podium--3 .rank { background: linear-gradient(135deg, #c98a5a, #8a5a3a); color: #fff; font-weight: 700; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.cell-title { max-width: 520px; }
.cell-title a { font-weight: 600; }
.stars { color: var(--warm); letter-spacing: 1px; font-size: 13px; }
.stars-off { color: var(--fg-faint); }

/* ---------- Sélecteur de sites (comparateur) ---------- */
.picker { display: grid; gap: 12px; }
.picker-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.picker-actions .btn-primary { margin-left: auto; }
.pick-list { max-height: 300px; overflow-y: auto; padding-right: 4px; }
.pick-group-title { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-subtle); margin: 10px 0 6px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.pick {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 8px;
  align-items: center;
  padding: 7px 10px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 13px;
}
.pick:has(input:checked) { border-color: rgba(129, 140, 248, 0.5); background: var(--brand-soft); }
.pick input { grid-row: span 2; accent-color: var(--brand-2); }
.pick-name { color: var(--fg-strong); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick-meta { font-size: 12px; color: var(--fg-subtle); }
.pick[hidden] { display: none; }

/* ---------- IVD / jauges éditoriales ---------- */
.ivd-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 26px 28px;
  margin-bottom: 18px;
  border-radius: var(--r-2xl);
  border: 1px solid var(--line-2);
  background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--tier) 18%, transparent), transparent 60%), var(--ink-1);
}
.ivd-note { display: flex; align-items: baseline; gap: 6px; }
.ivd-note-value { font-size: clamp(48px, 6vw, 76px); font-weight: 600; line-height: 1; color: var(--tier); letter-spacing: -0.03em; }
.ivd-note-max { font-size: 18px; color: var(--fg-subtle); }
.ivd-hero-body { display: grid; gap: 10px; min-width: 0; }
.ivd-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.ivd-tier {
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: color-mix(in srgb, var(--tier) 18%, transparent);
  color: var(--tier);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--tier) 40%, transparent);
}
.ivd-sentence { margin: 0; font-size: 16px; color: var(--fg); line-height: 1.45; max-width: 70ch; }
.ivd-warning { margin: 0; color: var(--warm); font-size: 13px; }
.ivd-scale { position: relative; display: flex; height: 8px; border-radius: 4px; overflow: visible; margin: 6px 0 4px; }
.ivd-scale .z { display: block; height: 100%; }
.ivd-scale .z1 { flex: 3; background: #7e8aa3; border-radius: 4px 0 0 4px; opacity: 0.5; }
.ivd-scale .z2 { flex: 3; background: #b8bdc2; opacity: 0.5; }
.ivd-scale .z3 { flex: 2; background: #f5b14b; opacity: 0.6; }
.ivd-scale .z4 { flex: 2; background: #ff6a4d; border-radius: 0 4px 4px 0; opacity: 0.7; }
.ivd-scale--social .z1 { flex: 4; }
.ivd-scale--social .z2 { flex: 3; }
.ivd-scale--social .z3 { flex: 5; }
.ivd-scale--social .z4 { flex: 8; }
.ivd-cursor {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 0 0 3px var(--tier), 0 4px 12px rgba(0, 0, 0, 0.5);
}
.ivd-compares { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 4px; }
.ivd-compare { display: grid; gap: 2px; font-size: 13px; }
.ivd-compare-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-subtle); font-weight: 600; }
.ivd-compare b { font-family: var(--font-mono); font-size: 18px; color: var(--fg-muted); font-weight: 600; }
.ivd-compare b.is-up { color: var(--warm); }
.ivd-compare b.is-down { color: var(--fg); }
.ivd-metrics { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; padding: 6px 2px; font-size: 13.5px; }
.ivd-metrics dt { color: var(--fg-muted); }
.ivd-metrics dd { margin: 0; color: var(--fg-strong); }
.ivd-guide { display: grid; gap: 10px; padding: 6px 2px; }
.ivd-guide-row { display: grid; grid-template-columns: 10px 1fr auto 52px; gap: 12px; align-items: center; font-size: 13.5px; }
.ivd-guide-row i { width: 10px; height: 10px; border-radius: 3px; background: var(--tier); }
.ivd-guide-row .muted { text-align: right; }
.method { margin: 18px 0 0; padding: 14px 18px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--ink-1); color: var(--fg-muted); font-size: 13.5px; }
.method summary { cursor: pointer; font-weight: 700; color: var(--fg); }
.method p { margin: 10px 0 0; line-height: 1.6; max-width: 90ch; }

/* ---------- Plateformes (social) ---------- */
.platform-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.platform-card { display: grid; gap: 2px; padding: 12px; border-radius: var(--r-lg); background: color-mix(in srgb, var(--c) 10%, var(--ink-2)); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.platform-name { font-weight: 700; color: var(--c); }
.platform-share { font-size: 22px; color: var(--fg-strong); }

@media (max-width: 760px) {
  .ivd-hero { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .platform-top { grid-template-columns: 1fr; }
  .picker-actions .btn-primary { margin-left: 0; width: 100%; }
}

/* ---------- Pages Tendances / Google News ---------- */
.chip-cloud--flat { padding: 0; }
.tabs-row { margin: 0 0 16px; overflow-x: auto; }
.notice { margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r-md); background: var(--warm-soft); color: var(--warm); font-size: 13px; }
.trend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; align-items: start; }
.trend-grid--2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
/* Google Trends : le direct en pleine largeur (cartes en grille), les historiques sur trois colonnes égales. */
.trend-col--wide { margin-bottom: 14px; }
.trend-col--wide .trend-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 18px; }
.trend-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .trend-grid--3 { grid-template-columns: minmax(0, 1fr); } }
.trend-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.trend-card {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: start;
  padding: 9px 8px;
  border-radius: var(--r-md);
  transition: background 0.15s;
}
.trend-card:hover { background: var(--ink-3); }
.trend-rank { font-size: 12px; color: var(--fg-subtle); padding-top: 2px; }
.trend-body { min-width: 0; display: grid; gap: 3px; justify-items: start; }
.trend-label { color: var(--fg-strong); font-weight: 600; font-size: 14px; text-decoration: none; overflow-wrap: anywhere; }
.trend-label:hover { color: var(--brand); }
.trend-sub { font-size: 12px; color: var(--fg-subtle); }
.trend-sub a { color: var(--fg-muted); }
.news-toggle { font-size: 12px; color: var(--brand); }
.news-links { list-style: none; margin: 4px 0 2px; padding: 0 0 0 10px; border-left: 2px solid var(--line-2); display: grid; gap: 4px; font-size: 12.5px; }
.news-links a { color: var(--fg); text-decoration: none; }
.news-links a:hover { color: var(--brand); text-decoration: underline; }
.trend-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  background: var(--ink-3);
  color: var(--fg-muted);
}
.trend-badge--hot { background: var(--hot-soft); color: var(--hot-2); }
.trend-badge--up { background: var(--up-soft); color: var(--up); }
.trend-badge--down { background: var(--down-soft); color: var(--down); }

/* Google News en direct (/gnews) */
.gn-search { margin-bottom: 12px; }
.gn-nav { display: grid; gap: 10px; margin-bottom: 16px; }
.gn-rubriques { display: flex; flex-wrap: wrap; gap: 7px; }
.gn-sous-rubriques { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 10px 4px 0; border-top: 1px solid var(--line); }
.gn-sous-rubrique { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--fg-muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: color .15s, border-color .15s; }
.gn-sous-rubrique svg { opacity: .6; }
.gn-sous-rubrique:hover { color: var(--fg); }
.gn-sous-rubrique:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.gn-sous-rubrique.on { color: var(--fg-strong); border-bottom-color: var(--brand); }
.gn-sous-rubrique.on svg { opacity: 1; color: var(--brand); }
.gn-ville { margin-left: auto; min-width: 200px; }
.gn-rubrique { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: var(--r-full); border: 1px solid var(--line); background: var(--ink-2); color: var(--fg-muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.gn-rubrique svg { opacity: .75; }
.gn-rubrique:hover { color: var(--fg); border-color: var(--line-2); }
.gn-rubrique:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.gn-rubrique.on { color: var(--fg-strong); border-color: color-mix(in srgb, var(--brand) 55%, transparent); background: color-mix(in srgb, var(--brand) 14%, transparent); }
.gn-rubrique.on svg { opacity: 1; color: var(--brand); }
.gn-body { display: grid; gap: 16px; }
.gn-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 18px; }
.gn-status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: auto; font-size: 12.5px; color: var(--fg-subtle); }
.gn-status b { color: var(--up); font-weight: 600; }
.gn-live { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px color-mix(in srgb, var(--up) 18%, transparent); animation: gn-pulse 2.4s ease-in-out infinite; }
@keyframes gn-pulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .gn-live { animation: none; } }
.live-media { display: block; overflow: hidden; background: var(--ink-3); border-radius: var(--r-lg); }
.live-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gn-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12.5px; color: var(--fg-subtle); }
.gn-source { font-weight: 700; color: var(--fg); }
.gn-time { color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.gn-new { padding: 2px 8px; border-radius: var(--r-full); background: color-mix(in srgb, var(--up) 16%, transparent); color: var(--up); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.gn-cov { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.gn-cov-dots { display: inline-flex; gap: 2px; }
.gn-cov-dots i { width: 6px; height: 6px; border-radius: 2px; background: var(--line-2); }
.gn-cov--cool { color: var(--fg-muted); } .gn-cov--cool .on { background: var(--cool); }
.gn-cov--warm { color: var(--warm); } .gn-cov--warm .on { background: var(--warm); }
.gn-cov--hot { color: var(--hot); } .gn-cov--hot .on { background: var(--hot); }
.gn-rank { font-size: 12px; font-weight: 700; color: var(--hot); }
.gn-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.gn-topic { padding: 3px 9px; border-radius: var(--r-full); background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font-size: 12px; font-weight: 600; text-decoration: none; transition: background .15s; }
.gn-topic:hover, .gn-topic:focus-visible { background: color-mix(in srgb, var(--brand) 24%, transparent); }
.gn-related summary { cursor: pointer; font-size: 12.5px; color: var(--fg-muted); list-style: none; }
.gn-related summary::-webkit-details-marker { display: none; }
.gn-related summary::before { content: "▸ "; color: var(--fg-subtle); }
.gn-related[open] summary::before { content: "▾ "; }
.gn-related ul { list-style: none; margin: 8px 0 0; padding: 0 0 0 12px; border-left: 2px solid var(--line-2); display: grid; gap: 5px; font-size: 13px; }
.gn-related a { color: var(--fg-muted); text-decoration: none; }
.gn-related a:hover { color: var(--brand); }
/* Article principal */
.gn-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; padding: 18px; border-radius: var(--r-xl, 14px); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 8%, transparent), transparent 55%), var(--ink-1); border: 1px solid var(--line-2); }
.gn-hero-media { aspect-ratio: 16 / 9; height: auto; border-radius: var(--r-lg); }
.gn-hero:hover .live-img { transform: scale(1.02); }
.gn-hero-body { display: grid; align-content: start; gap: 12px; min-width: 0; }
.gn-hero-title { margin: 0; font-size: clamp(19px, 1.2rem + .6vw, 26px); line-height: 1.25; font-weight: 800; }
.gn-hero-title a { color: var(--fg-strong); text-decoration: none; }
.gn-hero-title a:hover, .gn-card-title a:hover { color: var(--brand); }
/* Grille */
.gn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.gn-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--r-xl, 14px); background: var(--ink-1); border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.gn-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.gn-card:hover .live-img { transform: scale(1.03); }
.gn-card-media { position: relative; }
.gn-card-media .live-media { aspect-ratio: 16 / 9; border-radius: 0; }
.gn-rank--over { position: absolute; top: 10px; left: 10px; padding: 3px 7px; border-radius: var(--r-md); background: rgba(10, 11, 15, .78); }
.gn-card-body { display: grid; align-content: start; gap: 10px; padding: 14px 16px 16px; }
.gn-card-title { margin: 0; font-size: 15.5px; line-height: 1.35; font-weight: 700; }
.gn-card-title a { color: var(--fg-strong); text-decoration: none; }
@media (max-width: 760px) {
  .gn-hero { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .gn-status { margin-left: 0; }
}

.top-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.top-card { display: grid; gap: 8px; align-content: start; justify-items: start; padding: 16px; border-radius: var(--r-xl); background: var(--ink-1); border: 1px solid var(--line); }
.top-card-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.top-card-title { margin: 0; font-size: 15.5px; line-height: 1.35; }
.top-card-title a { color: var(--fg-strong); text-decoration: none; }
.top-card-title a:hover { color: var(--brand); }

.art--text { grid-template-columns: minmax(0, 1fr) auto; }
.art-history-box { margin-top: 6px; }
.art-history-box[hidden] { display: none; }
.vote--up { color: var(--up); }
.vote--down { color: var(--down); }
@media (max-width: 760px) {
  .trend-grid, .trend-grid--2 { grid-template-columns: 1fr; }
}

/* ---------- Google News · Top Stories ---------- */
.ts-body { display: grid; gap: 18px; }
/* Part de voix en pleine largeur (2 colonnes de médias), puis les sujets en grille de cartes. */
.ts-layout { display: grid; gap: 18px; }
.ts-layout .ts-share { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); column-gap: 28px; }
.ts-share { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ts-share-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.ts-share-row:last-child { border-bottom: 0; }
.ts-share-rank { color: var(--fg-subtle); font-size: 12px; }
.ts-share-head { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.ts-share-name { color: var(--fg-strong); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-share-name:hover { text-decoration: underline; }
.ts-share-domain { color: var(--fg-subtle); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ts-share-bar { height: 5px; margin-top: 6px; border-radius: 99px; background: var(--ink-3); overflow: hidden; }
.ts-share-bar span { display: block; height: 100%; border-radius: inherit; background: var(--hot); }
.ts-share-figs { display: grid; justify-items: end; gap: 2px; text-align: right; }
.ts-share-figs b { color: var(--fg-strong); font-size: 15px; }
.ts-share-figs span { color: var(--fg-subtle); font-size: 12px; }
.ts-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 14px; align-items: start; }
.ts-list > .ts-list-title, .ts-list > .ts-card--empty, .ts-list > .empty { grid-column: 1 / -1; }
.ts-list-title { margin: 0; font: 600 12px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--hot); }
.ts-card { padding: 16px 18px; border-radius: var(--r-xl, 14px); border: 1px solid var(--line); background: var(--ink-1); }
.ts-card-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 10px; }
.ts-card-title { margin: 0; font-size: 16px; font-weight: 800; }
.ts-card-title a { color: var(--fg-strong); text-decoration: none; }
.ts-card-title a:hover { text-decoration: underline; }
.ts-card-meta { flex-basis: 100%; color: var(--fg-subtle); font-size: 12.5px; }
.ts-stories { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ts-story { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.ts-story-pos { color: var(--fg-subtle); font-size: 12px; }
.ts-story.is-top .ts-story-pos { color: var(--hot); font-weight: 700; }
.ts-story-title { display: block; color: var(--fg); font-size: 14px; line-height: 1.4; text-decoration: none; }
.ts-story-title:hover { color: var(--fg-strong); text-decoration: underline; }
.ts-story-src { color: var(--fg-subtle); font-size: 12.5px; }
.ts-more { margin-top: 8px; }
.ts-more summary { cursor: pointer; color: var(--brand); font-size: 13px; font-weight: 600; list-style: none; }
.ts-more summary::-webkit-details-marker { display: none; }
.ts-more summary::before { content: "+ "; }
.ts-more[open] summary::before { content: "− "; }
.ts-more > ol { margin-top: 8px; }
.ts-card--empty { display: grid; gap: 10px; }
.ts-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ts-chip { padding: 4px 10px; border-radius: var(--r-full); border: 1px solid var(--line-2); color: var(--fg-muted); font-size: 12.5px; text-decoration: none; }
.ts-chip:hover, .ts-chip:focus-visible { color: var(--fg-strong); border-color: var(--line-3); }
@media (max-width: 600px) { .ts-layout .ts-share, .ts-list { grid-template-columns: minmax(0, 1fr); } }

/* Questions posées sur Google dans « Ce que les gens cherchent » */
.ps-sub { margin: 4px 0 0; font: 600 12px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-subtle); }
.ps-google { display: grid; gap: 8px; }
.ps-answer { margin-left: 6px; color: var(--fg-subtle); font-size: 12px; }

/* ---------- Local : opportunités et signaux d'une région ---------- */
.lc-body { display: grid; gap: 18px; }
.lc-opps { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.lc-opp { display: grid; gap: 12px; align-content: start; padding: 16px 18px; border-radius: var(--r-xl, 14px); border: 1px solid var(--line); background: var(--ink-2); }
.lc-opp.is-strong { border-color: rgba(255, 106, 77, 0.45); box-shadow: inset 3px 0 0 var(--hot); }
.lc-opp-img { position: relative; margin: -16px -18px 2px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-xl, 14px) var(--r-xl, 14px) 0 0; background: var(--ink-3); }
.lc-opp-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 16, 22, 0.55)); pointer-events: none; }
.lc-opp-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-normal, 300ms) ease; }
.lc-opp:hover .lc-opp-img img { transform: scale(1.03); }
.lc-opp-img--empty::before { content: ""; position: absolute; inset: 22% 0; background: url("/assets/signalytics-icon-160.png") center / contain no-repeat; filter: saturate(0.45) brightness(0.9); opacity: 0.55; }
.lc-opp-head { display: grid; gap: 8px; }
.lc-opp-title { margin: 0; color: var(--fg-strong); font-size: 17px; font-weight: 800; line-height: 1.25; }
.lc-sigs { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-sig { padding: 2px 8px; border-radius: var(--r-full); border: 1px dashed var(--line-2); color: var(--fg-subtle); font: 600 12px/1.5 var(--font-mono); letter-spacing: 0.04em; }
.lc-sig.is-on { border-style: solid; }
.lc-sig--google.is-on { color: var(--h-blue); border-color: rgba(96, 165, 250, 0.45); background: rgba(96, 165, 250, 0.08); }
.lc-sig--discover.is-on { color: var(--hot); border-color: rgba(255, 106, 77, 0.45); background: rgba(255, 106, 77, 0.08); }
.lc-sig--press.is-on { color: var(--h-emerald); border-color: rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.08); }
.lc-evidence { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--fg-muted); font-size: 13.5px; line-height: 1.45; }
.lc-evidence b { margin-right: 6px; color: var(--fg); font-weight: 700; }
.lc-opp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-link { color: var(--fg); text-decoration: none; }
.lc-link:hover, .lc-link:focus-visible { color: var(--fg-strong); text-decoration: underline; }
.lc-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); column-gap: 32px; margin: 0; padding: 0; list-style: none; }
.lc-reddit .rd-list { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); column-gap: 32px; }
.lc-row, .lc-press { display: grid; gap: 4px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.lc-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.lc-row-title { color: var(--fg-strong); font-size: 15px; font-weight: 700; text-decoration: none; }
.lc-row-title:hover, .lc-row-title:focus-visible { text-decoration: underline; }
.lc-row-tag { flex: none; color: var(--hot); font: 700 12px/1 var(--font-mono); }
.lc-row-meta { color: var(--fg-subtle); font-size: 12.5px; }
.lc-row-example { font-size: 13px; color: var(--fg-muted); }
.lc-share { height: 4px; border-radius: 99px; background: var(--ink-3); overflow: hidden; }
.lc-share span { display: block; height: 100%; border-radius: inherit; background: var(--h-emerald); }
.lc-press-title { font-size: 14px; line-height: 1.4; }
.lc-art { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.lc-art-img { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; background: var(--ink-3); }
.lc-art-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lc-art-body { display: grid; gap: 4px; min-width: 0; }
.lc-others { display: grid; gap: 8px; margin-top: 12px; }
.lc-others-title { margin: 0; color: var(--fg-subtle); font: 600 12px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 600px) { .lc-opps, .lc-rows, .lc-reddit .rd-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Discover · fiche article (« Plus d'info ») ---------- */
.ah-page { display: grid; gap: 18px; }
.ah { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; padding: clamp(16px, 2vw, 24px); border-radius: var(--r-xl, 14px); border: 1px solid var(--line); background: var(--ink-1); }
.ah-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg, 12px); background: var(--ink-3); }
.ah-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-normal, 300ms) ease; }
.ah-cover:hover img { transform: scale(1.02); }
.ah-cover--empty { display: grid; place-items: center; }
.ah-cover--empty::before { content: ""; position: absolute; inset: 24% 0; background: url("/assets/signalytics-icon-160.png") center / contain no-repeat; filter: saturate(0.45) brightness(0.9); opacity: 0.55; }
.ah-cover--empty .art-thumb-platform { position: relative; }
.ah-body { display: grid; gap: 12px; align-content: start; min-width: 0; }
.ah-body .page-eyebrow { margin: 0; }
.ah-source { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.ah-site { color: var(--fg-strong); font-weight: 700; font-size: 15px; text-decoration: none; }
.ah-site:hover, .ah-site:focus-visible { text-decoration: underline; }
.ah-host { color: var(--fg-subtle); font-size: 13px; }
.ah-title { margin: 0; color: var(--fg-strong); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; font-weight: 800; text-wrap: balance; }
.ah-count { margin: -6px 0 0; color: var(--fg-subtle); font: 500 12px/1.4 var(--font-mono); }
.ah-desc { margin: 4px 0 0; padding: 14px 16px; border-radius: var(--r-lg, 12px); border: 1px solid var(--line-2); border-left: 3px solid var(--brand); background: var(--ink-2); }
.ah-desc figcaption { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: var(--brand); font: 700 12px/1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.ah-desc figcaption span { color: var(--fg-subtle); font-weight: 500; letter-spacing: 0; text-transform: none; }
.ah-desc blockquote { margin: 0; color: var(--fg); font-size: 16px; line-height: 1.6; }
.ah-desc--none { color: var(--fg-subtle); font-size: 14px; }
.ah-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ah-actions .btn-primary, .ah-actions .btn-ghost { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.ah-actions .ah-delete { border-color: transparent; background: none; color: var(--down, #f87171); }
@media (max-width: 900px) { .ah { grid-template-columns: minmax(0, 1fr); } }
