/* ============================================================
   C365 — CATEGORY PAGE V3
   Dépend de dark-shared.css (chargé avant ce fichier).
   ============================================================ */

/* ── Carte info catégorie (panneau droit) ── */
.hv3-cat-info-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hv3-cat-info-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hv3-cat-info-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--rad);
  background: var(--bg3);
  border: 1px solid var(--line2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.hv3-cat-info-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.85;
}

.hv3-cat-info-initials {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg3);
  font-family: var(--mono);
}

.hv3-cat-info-name {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.2;
}

.hv3-cat-info-total {
  font-size: 11px;
  color: var(--fg3);
  margin-top: 2px;
  font-family: var(--mono);
}

.hv3-cat-info-desc {
  font-size: 11px;
  color: var(--fg2);
  line-height: 1.6;
  font-family: var(--sans);
}

.hv3-cat-info-stats {
  display: flex;
  gap: 8px;
}

.hv3-cat-info-stat {
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.hv3-cat-info-stat-val {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hv3-cat-info-stat-val.is-green { color: var(--acc); }
.hv3-cat-info-stat-val.is-blue  { color: var(--acc2); }

.hv3-cat-info-stat-lbl {
  font-size: 11px;
  color: var(--fg3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Lien "retour" dans la topbar ── */
.hv3-topbar-back {
  font-size: 11px;
  color: var(--fg3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.03em;
  transition: color 0.15s;
  font-family: var(--mono);
}

.hv3-topbar-back:hover { color: var(--fg2); }
