/* Vinted (lot 6) : la liste des comptes à gauche, la fiche à droite — le compte, son portefeuille, ses ventes, ses
   images. Mêmes cartes et mêmes espacements que les autres rubriques épurées. Préfixe des classes : « vd- ». */
.vd-fiche { display: flex; flex-direction: column; gap: 16px; max-width: 980px; min-width: 0; }
.vd-carte { display: flex; flex-direction: column; gap: 10px; }
.vd-infos { grid-template-columns: 210px minmax(0, 1fr); font-size: 14.5px; }
.vd-infos dd { overflow-wrap: anywhere; }
.vd-sous-titre { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--encre-2); }
.vd-rien { padding: 4px 0; }
.vd-gestes { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; font-size: 13.5px; }

/* Mot de passe : masqué par défaut ; « Afficher », « Copier », « Modifier » à côté. */
.vd-mdp { display: inline-flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; }
.vd-points { letter-spacing: .12em; }
.vd-mdp .lien:disabled { color: var(--encre-2); opacity: .6; cursor: not-allowed; text-decoration: none; }
.vd-mdp-note { display: block; margin-top: 4px; font-size: 13px; color: var(--encre-2); }
.vd-exigences { margin: 8px 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }

/* Portefeuille : attendu → disponible → en transfert, trois montants côte à côte, jamais additionnés. */
.vd-soldes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.vd-solde { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--bord); border-radius: 12px; min-width: 0; }
.vd-solde.fort { border-color: var(--bord-fort); background: var(--fond); }
.vd-solde b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vd-solde small, .vd-etq { font-size: 12.5px; color: var(--encre-2); }
.vd-etq { font-weight: 700; }

/* Ventes rattachées */
.vd-ventes { display: flex; flex-direction: column; }
.vd-v { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(80px, auto); gap: 2px 14px; align-items: center; padding: 9px 0; border-top: 1px solid var(--ligne); color: inherit; }
a.vd-v:hover { text-decoration: none; background: var(--survol); }
.vd-v-n { min-width: 0; display: flex; flex-direction: column; }
.vd-v-n b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vd-v-n small, .vd-v-e { font-size: 13px; color: var(--encre-2); }
.vd-v-m { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Images et captures */
.vd-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.vd-image { margin: 0; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.vd-vignette { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 1px solid var(--bord); border-radius: 10px; overflow: hidden; background: var(--fond); cursor: zoom-in; }
.vd-vignette:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--focus); }
.vd-vignette img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vd-image figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--encre-2); }
.vd-image figcaption .tronque { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vd-ajout { cursor: pointer; }
.vd-grande { display: flex; justify-content: center; background: var(--fond); border-radius: 10px; }
.vd-grande img { max-width: 100%; max-height: 70vh; display: block; }

/* Historique de la fiche */
.vd-histo { display: flex; flex-direction: column; margin-top: 4px; }
.vd-h { display: flex; flex-direction: column; padding: 7px 0; border-top: 1px solid var(--ligne); font-size: 14px; }
.vd-h small { color: var(--encre-2); font-size: 12.5px; }

@media (max-width: 760px) {
  .vd-infos { grid-template-columns: 1fr; gap: 2px 0; }
  .vd-infos dt { margin-top: 8px; }
  .vd-soldes { grid-template-columns: 1fr; }
  .vd-v { grid-template-columns: minmax(0, 1fr) auto; }
  .vd-v-e { grid-column: 1 / -1; grid-row: 2; }
}
