/* Organigramme, noms cliquables, ennemis, calendrier, caisses, champs « Avec qui » et durée */

/* Organigramme : un étage par rang */
.org { display: flex; flex-direction: column; gap: 0; }
.org__tier {
  position: relative;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px 0 0;
}
.org__tier:first-child { padding-top: 0; }
/* liaison entre étages */
.org__tier:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(146px + (100% - 146px) / 2);
  width: 2px; height: 20px;
  margin-left: -1px;
  background: var(--line);
}
.org__rank {
  margin: 0;
  justify-self: start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-family: var(--head);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}
.org__tier:first-child .org__rank { background: var(--red); border-color: var(--red); color: #fff; }
.org__row {
  list-style: none;
  margin: 0;
  padding: 11px 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed transparent;
}
.org__node {
  position: relative;
  width: 250px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.org__node:hover { border-color: var(--muted); }
.org__node .avatar { width: 44px; height: 44px; font-size: 1rem; }
.org__body { min-width: 0; flex: 1; }
.org__name { margin: 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org__meta { margin: 2px 0 0; color: var(--muted); font-size: 0.875rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org__node--me { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 20px rgba(227, 36, 43, 0.16); }
.org__node--me .avatar { background: var(--red); border-color: var(--red); color: #fff; }
.me-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  vertical-align: 2px;
}
/* Modifier / supprimer : petites icônes au survol (admin) */
.org__tools {
  position: absolute;
  top: 6px; right: 6px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.15s;
}
.org__node:hover .org__tools, .org__node:focus-within .org__tools { opacity: 1; }
.org__tool {
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  cursor: pointer;
  padding: 0;
}
.org__tool svg { width: 14px; height: 14px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.org__tool[data-del]:hover { border-color: var(--red); }
.org__tool[data-del]:hover svg { stroke: var(--red); }
.org__tool[data-edit]:hover { border-color: var(--muted); }
/* Habitants : à part, en pointillés */
.org__tier--ext::before { background: none !important; border-left: 2px dashed var(--line); width: 0 !important; }
.org__tier--ext .org__row { border-color: var(--line); }
.org__tier--ext .org__node { border-style: dashed; }
.org__tier--ext .org__rank { color: var(--muted); }

@media (max-width: 760px) {
  .org__tier { grid-template-columns: 1fr; gap: 8px; }
  .org__tier:not(:first-child)::before { left: 50%; }
  .org__rank { justify-self: center; }
  .org__node { width: 100%; }
  .org__tools { opacity: 1; }
}

/* Noms cliquables entre fiches */
.name-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--muted);
  cursor: pointer;
}
.name-link:hover { text-decoration-color: currentColor; }
.name-link--enemy { color: #ff8a8e; text-decoration-color: rgba(255, 138, 142, 0.5); }

/* Ennemis */
.en-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.phone .en-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.en-bar[hidden] { display: none; }
.en-tile {
  --c: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, opacity 0.2s;
}
.en-tile--red { --c: #ff6b70; }
.en-tile--amber { --c: var(--amber); }
.en-tile--blue { --c: #5fa2ff; }
.en-tile strong { color: var(--c); font-family: var(--head); font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.en-tile span { color: var(--muted); font-size: 0.75rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.en-tile:hover:not(:disabled) { border-color: var(--c); }
.en-tile[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--panel)); }
.en-tile:disabled { opacity: 0.45; cursor: default; }
.en-tile:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.en-section { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.en-section:first-child { margin-top: 0; }
.en-section h3 { margin: 0; font-family: var(--head); font-weight: 700; font-size: 1.125rem; }
.en-section span { color: var(--muted); font-size: 0.8125rem; font-weight: 600; }
.en-section--red h3 { color: #ff6b70; }
.en-section--amber h3 { color: var(--amber); }
.en-section--blue h3 { color: #5fa2ff; }

/* carte d'un ennemi */
.en { display: flex; flex-direction: column; gap: 10px; cursor: pointer; transition: border-color 0.15s, transform 0.15s; }
.en:hover { border-color: var(--muted); }
.en:active { transform: scale(0.99); }
.en:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.en--red { border-color: rgba(227, 36, 43, 0.5); background: color-mix(in srgb, var(--red) 7%, var(--panel)); }
.en__top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.en__top .avatar { width: 46px; height: 46px; flex: none; }
.en--red .avatar { box-shadow: 0 0 0 2px var(--red); }
.en__id { flex: 1; min-width: 0; }
.en__name { margin: 0; font-weight: 700; font-size: 1.125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.en__group { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.8125rem; font-weight: 600; }
.en__group::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 3px color-mix(in srgb, var(--g) 22%, transparent); }
.en__why { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }
.en__meta { margin: 0; color: var(--muted); font-size: 0.8125rem; font-weight: 600; }
.en .row-actions { margin-top: -2px; }

/* jauge de menace : 3 crans */
.en-meter { display: inline-flex; align-items: flex-end; gap: 3px; flex: none; }
.en-meter i { width: 5px; border-radius: 2px; background: var(--line); }
.en-meter i:nth-child(1) { height: 8px; }
.en-meter i:nth-child(2) { height: 13px; }
.en-meter i:nth-child(3) { height: 18px; }
.en-meter--red i.on { background: #ff5a5f; }
.en-meter--amber i.on { background: var(--amber); }
.en-meter--blue i.on { background: #5fa2ff; }
.en-meter--grey i.on { background: var(--muted); }

/* fiche d'un ennemi */
.en-head--red .avatar { box-shadow: 0 0 0 3px var(--red); }
.en-head .en__group { margin-top: 6px; font-size: 0.9375rem; }
.en-threat { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; color: var(--muted); font-size: 0.8125rem; font-weight: 600; }
.en-threat .en-meter i { width: 7px; }
.en-why { margin: 16px 0 0; padding: 12px 14px; border-left: 3px solid var(--red); border-radius: 0 10px 10px 0; background: var(--panel-2); line-height: 1.5; white-space: pre-line; }
.en-why span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.en-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.en-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-2);
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}
.en-chip .avatar { width: 28px; height: 28px; font-size: 0.75rem; }
.en-chip--red { border-color: rgba(227, 36, 43, 0.5); }
.en-chip:hover { border-color: var(--muted); }

.tension {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.tension--red { background: var(--red-soft); color: #ff6b70; }
.tension--amber { background: var(--amber-soft); color: var(--amber); }
.tension--grey { background: var(--grey-soft); color: var(--muted); }
.tension--blue { background: rgba(95, 162, 255, 0.14); color: #5fa2ff; }

/* Calendrier */
.cal { max-width: 860px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cal__month { margin: 0; font-family: var(--head); font-weight: 700; font-size: 1.5rem; }
.cal__month span { color: var(--red); }
.cal__nav { display: flex; align-items: center; gap: 4px; }
.cal__today, .cal__arrow {
  border: 0;
  background: none;
  color: var(--red);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.2s;
}
.cal__today { padding: 6px 10px; font-size: 0.9375rem; }
.cal__arrow { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; }
.cal__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.cal__today:hover, .cal__arrow:hover { background: var(--red-soft); }
.cal__today:focus-visible, .cal__arrow:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }

.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); touch-action: pan-y; user-select: none; }
.cal__wd { padding: 4px 0 8px; color: var(--muted); font-size: 0.75rem; font-weight: 700; text-align: center; }
.cal__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  height: 52px;
  padding: 4px 0 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.cal__num {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.0625rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.15s, color 0.15s;
}
.cal__day:hover .cal__num { background: rgba(255, 255, 255, 0.08); }
.cal__day.is-out { color: var(--muted); opacity: 0.45; }
.cal__day.has-items .cal__num { font-weight: 700; }
.cal__day.is-today .cal__num { color: var(--red); font-weight: 700; }
.cal__day[aria-pressed="true"] .cal__num { background: var(--text); color: var(--bg); }
.cal__day.is-today[aria-pressed="true"] .cal__num { background: var(--red); color: #fff; }
.cal__day:focus-visible { outline: none; }
.cal__day:focus-visible .cal__num { outline: 2px solid var(--red); outline-offset: 1px; }
.cal__dots { display: flex; gap: 3px; height: 6px; }
.cal__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.cal__dot--en-cours { background: var(--amber); }
.cal__dot--condamnee { background: #ff6b70; }
.cal__dot--jamais-prouve { background: var(--green); }
.cal__dot--event { background: transparent; box-shadow: inset 0 0 0 1.5px var(--amber); }

.cal__list { padding-top: 14px; }
.cal__list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.cal__list-head h4 { margin: 0; font-family: var(--head); font-weight: 700; font-size: 1.125rem; }
.cal__list-head small { color: var(--muted); font-size: 0.8125rem; white-space: nowrap; }
.cal__none { margin: 8px 0 12px; color: var(--muted); }
.cal__jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}
.cal__jump:hover { border-color: var(--muted); }
.cal__jump svg { width: 16px; height: 16px; fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; max-width: 860px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 6px; bottom: 6px;
  left: 23px;
  width: 2px;
  background: linear-gradient(var(--line), var(--line) calc(100% - 40px), transparent);
}
.tl__item { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; margin-bottom: 12px; }
.tl__dot {
  --c: var(--line);
  position: relative;
  z-index: 1;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 2px solid var(--c);
}
.tl__dot .ticon { stroke: var(--c); }
/* couleur du point : statut du coup, type de l'événement */
.tl__item--en-cours .tl__dot { --c: var(--amber); }
.tl__item--condamnee .tl__dot { --c: #ff6b70; }
.tl__item--jamais-prouve .tl__dot { --c: var(--green); }
.tl__item--classe .tl__dot, .tl__item--sans .tl__dot { --c: var(--muted); }
.tl__item--event .tl__dot { --c: var(--amber); }
.tl__item--arrestation .tl__dot { --c: #ff6b70; }
.tl__item--sortie-de-prison .tl__dot { --c: var(--green); }
.tl__item--hopital .tl__dot { --c: #5fb4ff; }
.tl__item--evenement-perso .tl__dot { --c: #b48cff; }
.tl__item--event .tl__card { border-style: dashed; }

.tl__card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.tl__card--more { cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.tl__card--more:hover { border-color: var(--muted); }
.tl__card--more:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.tl__date { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; margin: 0; color: var(--muted); font-size: 0.8125rem; font-weight: 600; }

.tl__title { margin: 2px 0 0; font-weight: 700; font-size: 1.0625rem; }
.tl__sub { margin: 2px 0 0; color: var(--muted); }
.tl__sub:empty { display: none; }
.tl__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; }
.tl__tags:empty { display: none; }
.tl__tags .status { margin: 0; }
.tl__penalty { color: var(--text); font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.tl__more { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; color: var(--muted); font-size: 0.8125rem; font-weight: 600; }
.tl__more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s; }
.tl__card[aria-expanded="true"] .tl__more svg { transform: rotate(180deg); }
.tl__story {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--line);
  border-radius: 0 8px 8px 0;
  background: var(--panel-2);
  line-height: 1.5;
  white-space: pre-line;
  animation: tl-open 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes tl-open { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .tl__story { animation: none; } }
.tl__card .row-actions { display: flex; margin-top: 8px; }

/* « Avec qui » : menu déroulant des membres */
.people-pick { position: relative; }
.people-pick__btn {
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 34px 8px 10px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}
.people-pick__btn::after {
  content: "";
  position: absolute;
  right: 12px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
}
.people-pick__btn[aria-expanded="true"] { border-color: var(--muted); }
.people-pick__btn[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
.people-pick__menu {
  margin-top: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  max-height: 260px;
  overflow-y: auto;
}
.people-pick__menu[hidden] { display: none; }
.people-pick__rank { margin: 6px 6px 2px; color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.people-pick__rank:first-child { margin-top: 0; }
.people-pick__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 6px;
  cursor: pointer;
}
.people-pick__opt:hover { background: var(--panel-2); }
.people-pick__opt input { width: 16px; height: 16px; accent-color: var(--red); margin: 0; flex: none; }
.people-pick__opt span { font-weight: 600; }
.people-pick__opt small { margin-left: auto; color: var(--muted); font-size: 0.8125rem; }
.people-pick__other { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; padding: 8px 6px 2px; border-top: 1px solid var(--line); }
.people-pick__other span { color: var(--muted); font-size: 0.8125rem; font-weight: 600; }
.people-pick__empty { margin: 6px; color: var(--muted); }

/* Durée : heures + minutes */
.duration { display: flex; gap: 10px; }
.duration label { flex: 1; display: flex; align-items: center; gap: 6px; }
.duration input { width: 100%; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.duration span { color: var(--muted); font-weight: 600; }

/* Caisses */
.card.car { display: flex; flex-direction: column; padding: 0; overflow: hidden; cursor: pointer; transition: border-color 0.15s, transform 0.15s; }
.car:hover { border-color: var(--muted); }
.car:active { transform: scale(0.99); }
.car:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.car__media {
  --car: #6b7079;
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 8;
  background:
    radial-gradient(80% 70% at 50% 100%, color-mix(in srgb, var(--car) 35%, transparent), transparent 70%),
    linear-gradient(180deg, #1d1f23, #121316);
  border-bottom: 1px solid var(--line);
}
.car__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.car__shape { width: 70%; max-width: 280px; fill: var(--car); stroke: color-mix(in srgb, var(--car) 55%, #fff); stroke-width: 1; stroke-linejoin: round; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }
.car__shape circle { fill: #0c0d0f; stroke: var(--car); stroke-width: 1.5; }
.car__media .sa-plate { position: absolute; left: 12px; bottom: 10px; }
.car__media--big { aspect-ratio: 16 / 9; margin: -20px -20px 16px; border-radius: 0; }
body[data-mode="admin"] .car__media--big { margin: -22px -22px 16px; }
.car__body { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 14px; }
.car__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.car__id { min-width: 0; }
.car__name { margin: 0; font-weight: 700; font-size: 1.125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car__sub { margin: 2px 0 0; color: var(--muted); font-size: 0.8125rem; font-weight: 600; }
.car__note { margin: 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.car .row-actions { margin-top: 2px; }
.car--detruite .car__media { filter: grayscale(1) brightness(0.7); }

/* statut de la caisse */
.car-status { --c: var(--muted); flex: none; padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); font-size: 0.8125rem; font-weight: 700; white-space: nowrap; }
.car-status--green { --c: var(--green); }
.car-status--blue { --c: #5fa2ff; }
.car-status--violet { --c: #b48cff; }
.car-status--amber { --c: var(--amber); }
.car-status--red { --c: #ff6b70; }

/* plaque San Andreas */
.sa-plate {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  padding: 1px 10px 3px;
  border: 1.5px solid #c9ced8;
  border-radius: 5px;
  background: linear-gradient(#fff, #e9ecf2);
  color: #13226b;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.12em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}
.sa-plate small { color: #d42a2a; font-family: "Brush Script MT", "Segoe Script", cursive; font-size: 0.5625rem; font-weight: 400; letter-spacing: 0.02em; line-height: 1.2; }
.sa-plate--big { margin: 14px 0 4px; padding: 3px 16px 5px; font-size: 1.5rem; }
.sa-plate--big small { font-size: 0.75rem; }
.car-sheet__note { margin: 14px 0 0; line-height: 1.5; white-space: pre-line; }
.member:has(.car__media--big) .member__close { z-index: 3; border-color: transparent; background: rgba(10, 10, 12, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body[data-mode="public"] .member:has(.car__media--big) .member__close { background: rgba(10, 10, 12, 0.55); }

/* Téléphone : croix des fiches */
body[data-mode="public"] .member__close { z-index: 3; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color 0.2s; }
body[data-mode="public"] .member__close:hover { background: rgba(255, 255, 255, 0.24); }
