/* =========================================================
   MA SÉLECTION
   ---------------------------------------------------------
   Une page de décision, pas de parcours. Peu d'éléments,
   beaucoup d'air, et les noms affichés GROS — c'est le seul
   endroit où l'on regarde vraiment ce qu'on a retenu.

   S'appuie sur noms.css (chargée avant) pour le bandeau et
   le pied de page. Jetons de carnet.css uniquement.
   ========================================================= */

body.sel main.wrap { max-width: calc(1128px + 2 * clamp(16px, 4vw, 36px)); }   /* même colonne que sa page sœur /noms */

.sel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 48px;
}
.sel-actions[hidden] { display: none; }

.sel-b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: 600 15px/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition-property: background-color, border-color, color, transform;
  transition-duration: .15s;
}
.sel-b:active { transform: scale(.97); }
.sel-b--fort { background: var(--citron); border-color: var(--citron); color: var(--on-citron); font-weight: 700; }

@media (hover: hover) {
  .sel-b:hover { border-color: var(--ink-3); color: var(--ink); }
  .sel-b--fort:hover { border-color: var(--citron); color: var(--on-citron); filter: brightness(1.04); }
}

/* --- Les trois zones — titre à pastille citron, comme Reis --------- */

.zone { margin: 0 0 56px; }
.sel .zone__t {
  margin: 0 0 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-wrap: balance;
  color: var(--ink);
}
.zone__t::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 11px;
  border-radius: 3px;
  background: var(--citron);
  box-shadow: 0 0 0 2px var(--band);
  vertical-align: .1em;
}
.zone__t span {
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font: 600 14px/1.4 var(--body);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  vertical-align: .2em;
}
.sel .zone__s { margin: 0 0 20px; max-width: 60ch; font-size: 16px; color: var(--ink-2); }

.zone__l {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 12px;
}

/* --- Une carte de nom retenu ---------------------------------------- */

.carte {
  min-width: 0;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.carte--dom { border-color: var(--accent); }

/* Le pseudo se LIT, donc il est en display. */
.sel .carte__gros {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
  overflow-wrap: break-word;
}

/* Un nom de formation se TAPE, donc il est en typo machine. */
.sel .carte__dom {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.carte__dom i { font-style: normal; color: var(--ink-3); }

.sel .carte__alt {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.carte__alt i { font-style: normal; color: var(--ink-3); }

.sel .carte__n {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--accent);
}

.sel .sel-vide { max-width: 60ch; font-size: 17px; color: var(--ink-2); }
.sel-vide b { color: var(--accent); }

@media (max-width: 700px) {
  .sel-b { flex: 1 1 auto; padding: 0 16px; white-space: nowrap; }
  .sel-actions { margin-bottom: 36px; }
}
