/* La Quête de Tommaso : le téléphone de Tommaso, blanc et net comme la vraie app, posé dans la nuit d'une soirée
   Discord. Les couleurs ont un sens : rose = like, or = clé, rouge = tabou, vert = wingman, violet = imposteur. */
:root {
  --nuit: #1a1220;
  --nuit-2: #241a2c;
  --nuit-3: #33273d;
  --nuit-trait: #3f3149;
  --lune: #f4eef6;
  --brume: #a99bb3;
  --ecran: #ffffff;
  --ecran-2: #f4f1f6;
  --ecran-trait: #e6e0ea;
  --encre: #17121b;
  --encre-douce: #6b6172;
  --rose: #f2577e;
  --or: #f2c14e;
  --rouge: #ef4b4b;
  --vert: #34c38f;
  --violet: #a78bfa;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
body {
  background: var(--nuit);
  background-image: radial-gradient(1200px 600px at 50% -10%, #3a2141 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--lune);
  font: 15px/1.5 var(--sans);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0 0 .4em; line-height: 1.1; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--lune); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.muted { color: var(--brume); }
.small { font-size: .85rem; }
.centre { text-align: center; }
.ligne { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.colonne { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.espace { justify-content: space-between; }

/* ------------------------------------------------ boutons et champs */
.btn {
  cursor: pointer; border: 0; border-radius: 999px; padding: .7em 1.3em; font-weight: 600;
  background: var(--lune); color: var(--encre); transition: transform .1s, background .15s, opacity .15s;
  display: inline-flex; align-items: center; justify-content: center; gap: .45em; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .35; cursor: default; transform: none; }
.btn.rose { background: var(--rose); color: #fff; }
.btn.vert { background: var(--vert); color: #06261a; }
.btn.rouge { background: var(--rouge); color: #fff; }
.btn.or { background: var(--or); color: #3a2a00; }
.btn.fantome { background: transparent; color: var(--lune); box-shadow: inset 0 0 0 1.5px var(--nuit-trait); }
.btn.fantome:hover { box-shadow: inset 0 0 0 1.5px var(--brume); }
.btn.petit { padding: .4em .85em; font-size: .85rem; }
.btn.icone { width: 36px; height: 36px; padding: 0; }
.champ {
  background: var(--nuit); border: 1.5px solid var(--nuit-trait); border-radius: 12px; padding: .7em .9em; width: 100%;
  color: var(--lune);
}
.champ::placeholder { color: #7c6e86; }
.champ:focus { border-color: var(--brume); outline: none; }
textarea.champ { resize: vertical; min-height: 80px; }
label.etiquette { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; color: var(--brume); }

.puce {
  display: inline-flex; align-items: center; gap: .35em; padding: .2em .7em; border-radius: 999px;
  background: var(--nuit-3); color: var(--lune); font-size: .78rem; font-weight: 600; white-space: nowrap;
}
.puce.tommaso { background: color-mix(in srgb, var(--or) 22%, transparent); color: var(--or); }
.puce.wingman { background: color-mix(in srgb, var(--vert) 20%, transparent); color: var(--vert); }
.puce.imposteur { background: color-mix(in srgb, var(--violet) 22%, transparent); color: var(--violet); }
.puce.date { background: color-mix(in srgb, var(--rose) 20%, transparent); color: var(--rose); }
.puce.bloque { background: #3a3a3a; color: #ddd; }

.panneau { background: var(--nuit-2); border: 1px solid var(--nuit-trait); border-radius: 20px; padding: 1.1rem 1.2rem; }
.panneau > h3 { margin-bottom: .6rem; }

/* ------------------------------------------------ en-tête */
header.barre {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  padding: .65rem 1.4rem; background: color-mix(in srgb, var(--nuit) 82%, transparent); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nuit-3);
}
.marque { font-family: var(--serif); font-size: 1.25rem; font-style: italic; white-space: nowrap; }
.marque b { font-style: normal; font-weight: 600; }
.rail { display: flex; align-items: center; gap: .25rem; font-size: .8rem; color: var(--brume); }
.rail span { padding: .25em .6em; border-radius: 999px; white-space: nowrap; }
.rail span.passe { color: #7c6e86; }
.rail span.ici { background: var(--lune); color: var(--encre); font-weight: 600; }
.rail i { width: 10px; height: 1px; background: var(--nuit-trait); }
.chrono { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.chrono.urgent { color: var(--rouge); animation: battre 1s infinite; }
@keyframes battre { 50% { opacity: .55; } }
header .droite { margin-left: auto; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.moi-nom { font-weight: 600; }
@media (max-width: 1100px) { .rail { display: none; } }

main { max-width: 1480px; margin: 0 auto; padding: 1.4rem; }
@media (max-width: 760px) { main { padding: 1rem 16px; } header.barre { padding: .6rem 16px; gap: .6rem; } }

/* la barre du bas : ce que Tommaso cherche */
.voeux { position: sticky; bottom: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem .5rem;
  padding: .55rem 16px; background: color-mix(in srgb, var(--nuit-2) 92%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--nuit-trait); }
.voeux .titre { font-weight: 600; color: var(--or); font-size: .85rem; margin-right: .3rem; }
.voeu { padding: .2em .7em; border-radius: 999px; background: color-mix(in srgb, var(--rose) 18%, transparent); color: var(--lune); font-size: .85rem; white-space: nowrap; }
main.avec-voeux .tel { height: min(820px, calc(100vh - 160px)); }

/* mises en page de phase : téléphone au centre */
.scene-tel { display: grid; gap: 1.4rem; grid-template-columns: minmax(0, 1fr) auto minmax(300px, 360px); align-items: start; }
.scene-carte { display: grid; gap: 1.4rem; grid-template-columns: minmax(0, 1fr) auto minmax(300px, 340px); align-items: start; }
.cote { position: sticky; top: 84px; }
@media (max-width: 1250px) {
  .scene-tel, .scene-carte { grid-template-columns: minmax(0, 1fr) auto; }
  .scene-tel > .cote, .scene-carte > .cote { grid-column: 1 / -1; position: static; }
}
@media (max-width: 860px) {
  .scene-tel, .scene-carte { grid-template-columns: 1fr; }
  .cote { position: static; }
}

/* ------------------------------------------------ le téléphone */
.tel {
  width: 392px; max-width: 100%; height: min(820px, calc(100vh - 110px)); min-height: 600px;
  border-radius: 54px; padding: 11px; position: relative; margin: 0 auto;
  background: linear-gradient(145deg, #4b4250, #1b161f 40%, #2e2733);
  box-shadow: 0 0 0 1px #5a5060, 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 120px -30px rgba(242, 87, 126, .25);
}
.tel::before { content: ""; position: absolute; left: -3px; top: 150px; width: 3px; height: 60px; border-radius: 2px; background: #3b3340; }
.tel-ecran {
  position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: var(--ecran);
  color: var(--encre); display: flex; flex-direction: column; isolation: isolate;
}
.statut { display: flex; justify-content: space-between; align-items: center; padding: 14px 28px 6px; font-size: .85rem;
  font-weight: 600; flex: none; position: relative; z-index: 3; }
.statut .ile { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 112px; height: 32px; border-radius: 20px; background: #000; }
.statut svg { display: block; }
.statut .icones { display: flex; gap: 5px; align-items: center; }
.tel-app { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; }
.tel-barre-accueil { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 130px; height: 5px; border-radius: 3px; background: #111; opacity: .85; z-index: 5; }
.tel.casse .tel-ecran::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 370 800' fill='none' stroke='white' stroke-opacity='.85' stroke-width='1.4'%3E%3Cpath d='M250 300 L370 210 M250 300 L330 420 L370 470 M250 300 L190 120 L210 0 M250 300 L120 360 L0 330 M250 300 L210 520 L150 800 M250 300 L300 600 M190 120 L90 60 M120 360 L60 520 L0 560 M330 420 L370 380 M210 520 L80 640 M300 600 L370 690'/%3E%3Ccircle cx='250' cy='300' r='14'/%3E%3C/svg%3E") center / cover;
}

/* l'app : profil façon Hinge */
.app-tete { display: flex; align-items: center; gap: .6rem; padding: 4px 20px 10px; flex: none; }
.app-tete .titre { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; letter-spacing: -.02em; }
.app-tete .droite { margin-left: auto; color: var(--encre-douce); font-size: .8rem; text-align: right; }
.defile { flex: 1; overflow-y: auto; padding: 0 12px 110px; scrollbar-width: none; }
.defile::-webkit-scrollbar { display: none; }
.app-photo { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 12px; background: var(--ecran-2); }
.app-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-photo.emoji { display: grid; place-items: center; font-size: 7rem; }
.app-carte { position: relative; background: var(--ecran-2); border-radius: 10px; padding: 26px 22px 30px; margin-bottom: 12px; }
.app-carte .q { font-size: .9rem; font-weight: 500; color: var(--encre); margin-bottom: .55rem; }
.app-carte .r { font-family: var(--serif); font-size: 1.65rem; line-height: 1.18; letter-spacing: -.01em; font-weight: 500; }
.app-infos { display: flex; flex-wrap: wrap; border-radius: 10px; background: var(--ecran-2); margin-bottom: 12px; font-size: .9rem; font-weight: 500; }
.app-infos span { display: flex; align-items: center; gap: .4rem; padding: 14px 16px; }
.app-infos span + span { border-left: 1px solid var(--ecran-trait); }
.app-infos svg { color: var(--encre-douce); }
.coeur-app {
  position: absolute; right: 14px; bottom: 14px; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--rose); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  transition: transform .12s;
}
.coeur-app:hover { transform: scale(1.08); }
.coeur-app:disabled { cursor: default; transform: none; color: #c9c0cd; }
.coeur-app.vote { color: #fff; background: var(--rose); }
.croix-app {
  position: absolute; left: 22px; bottom: 26px; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--encre); display: grid; place-items: center; z-index: 4;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22); transition: transform .12s;
}
.croix-app:hover { transform: scale(1.06); }
.croix-app.vote { background: var(--encre); color: #fff; }
.app-voile-bas { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none; z-index: 3;
  background: linear-gradient(transparent, rgba(255, 255, 255, .95) 70%); }
.app-vote { position: absolute; right: 22px; bottom: 30px; z-index: 4; font-size: .78rem; color: var(--encre-douce); max-width: 190px; text-align: right; }

/* écran cassé, écran de chargement */
.ecran-noir { flex: 1; background: radial-gradient(circle at 60% 35%, #2b2430, #0d0a10 70%); color: #e9e2ee; display: flex;
  flex-direction: column; justify-content: center; align-items: center; padding: 40px 34px; text-align: center; gap: .6rem; }
.ecran-noir h2 { font-size: 2rem; }
.squelette { border-radius: 10px; background: linear-gradient(90deg, var(--ecran-2) 30%, #fbf9fc 50%, var(--ecran-2) 70%); background-size: 300% 100%; animation: lueur 1.6s infinite linear; margin-bottom: 12px; }
@keyframes lueur { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* l'app : matchs et conversation */
.matchs-tete { padding: 2px 18px 8px; flex: none; }
.matchs-tete .titre { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }
.bandeau { display: flex; gap: 12px; overflow-x: auto; padding: 4px 16px 12px; flex: none; scrollbar-width: none; border-bottom: 1px solid var(--ecran-trait); }
.bandeau::-webkit-scrollbar { display: none; }
.bandeau .m { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 58px; flex: none; cursor: pointer;
  font-size: .72rem; font-weight: 500; color: var(--encre); background: none; border: 0; padding: 0; position: relative; }
.bandeau .anneau { width: 56px; height: 56px; border-radius: 50%; padding: 2.5px; background: var(--ecran-trait); }
.bandeau .m.actif .anneau { background: var(--encre); }
.bandeau .m.date .anneau { background: linear-gradient(135deg, var(--or), var(--rose)); }
.bandeau .m.bloquee { opacity: .45; }
.bandeau .m.bloquee .anneau { background: #bbb; }
.bandeau .anneau .avatar { border: 2px solid #fff; }
.bandeau .badge { position: absolute; top: -2px; right: 0; min-width: 20px; height: 20px; border-radius: 10px; background: var(--rose);
  color: #fff; font-size: .7rem; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.bandeau .badge.violet { background: var(--violet); }
.conv-tete { display: flex; align-items: center; gap: .6rem; padding: 10px 16px; border-bottom: 1px solid var(--ecran-trait); flex: none; flex-wrap: wrap; }
.conv-tete .nom { font-weight: 600; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; font-size: 1rem; }
.conv-tete .outils { margin-left: auto; display: flex; gap: .4rem; }
.conv-tete .etat { font-size: .74rem; color: var(--encre-douce); width: 100%; display: flex; gap: .4rem; flex-wrap: wrap; }
.etiq { display: inline-flex; align-items: center; gap: .3em; padding: .15em .55em; border-radius: 6px; font-size: .72rem; font-weight: 600; background: var(--ecran-2); color: var(--encre); }
.etiq.date { background: #fde4ea; color: #a3163f; }
.etiq.bloque { background: #e9e9e9; color: #555; }
.etiq.deleg { background: #ece6fe; color: #5b3fc4; }
.btn-app { border: 0; border-radius: 999px; padding: .35em .8em; font-size: .78rem; font-weight: 600; cursor: pointer; background: var(--ecran-2); color: var(--encre); }
.btn-app:hover { background: var(--ecran-trait); }
.messages { flex: 1; overflow-y: auto; padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 4px; min-height: 0; background: #fff; }
.bulle { max-width: 78%; padding: .55em .9em; border-radius: 20px; white-space: pre-wrap; word-wrap: break-word; font-size: .93rem; line-height: 1.38; }
.bulle.lui { align-self: flex-end; background: var(--encre); color: #fff; border-bottom-right-radius: 6px; }
.bulle.fille { align-self: flex-start; background: var(--ecran-2); color: var(--encre); border-bottom-left-radius: 6px; }
.bulle.recit { align-self: center; background: transparent; color: var(--encre-douce); font-size: .8rem; text-align: center; max-width: 90%; padding: .6em 0; }
.bulle .signe { display: block; font-size: .68rem; opacity: .7; margin-bottom: .1rem; font-weight: 600; }
.bulle.cle { box-shadow: 0 0 0 2px var(--or); }
.bulle.tabou { box-shadow: 0 0 0 2px var(--rouge); }
.vide-conv { margin: auto; text-align: center; color: var(--encre-douce); font-size: .88rem; padding: 20px; }
.vide-conv .avatar { margin: 0 auto 10px; }
.ecrit { display: flex; gap: 4px; align-self: flex-start; background: var(--ecran-2); border-radius: 18px; padding: .7em .9em; margin-top: 4px; }
.ecrit i { width: 7px; height: 7px; border-radius: 50%; background: #9a90a0; animation: points 1.2s infinite; }
.ecrit i:nth-child(2) { animation-delay: .15s; } .ecrit i:nth-child(3) { animation-delay: .3s; }
@keyframes points { 30% { transform: translateY(-4px); opacity: .5; } }
form.saisie { display: flex; gap: 8px; padding: 10px 12px 26px; flex: none; border-top: 1px solid var(--ecran-trait); background: #fff; }
form.saisie input { flex: 1; border: 0; background: var(--ecran-2); border-radius: 999px; padding: .65em 1em; color: var(--encre); min-width: 0; }
form.saisie input:focus { outline: 2px solid var(--encre); }
form.saisie button { border: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--encre); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.lecture-seule { padding: 12px 16px 28px; text-align: center; font-size: .8rem; color: var(--encre-douce); border-top: 1px solid var(--ecran-trait); flex: none; }

/* ------------------------------------------------ avatars */
.avatar { border-radius: 50%; display: grid; place-items: center; flex: none; position: relative; overflow: hidden; color: #fff; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.carre { border-radius: 14px; }

/* ------------------------------------------------ colonne de gauche des scènes */
.contexte { display: flex; flex-direction: column; gap: 1.2rem; padding-top: .4rem; }
.contexte h2 { font-size: 2.1rem; }
.likes { display: flex; gap: 4px; flex-wrap: wrap; }
.likes svg { width: 20px; height: 20px; }
.likes .plein { color: var(--rose); } .likes .vide { color: var(--nuit-trait); }
.etapes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.etapes li { display: flex; gap: .7rem; align-items: baseline; color: #7c6e86; }
.etapes li b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; min-width: 1.1em; }
.etapes li.ici { color: var(--lune); }
.reactions { display: flex; gap: .4rem; flex-wrap: wrap; }
.reactions button { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--nuit-trait); background: var(--nuit-2); font-size: 1.35rem; cursor: pointer; transition: transform .1s; }
.reactions button:hover { transform: translateY(-2px) scale(1.06); background: var(--nuit-3); }
.flux-reactions { display: flex; flex-wrap: wrap; gap: .35rem; min-height: 1.8rem; }
.flux-reactions span { background: var(--nuit-2); border: 1px solid var(--nuit-trait); border-radius: 999px; padding: .2em .65em; font-size: .85rem; animation: monter .35s ease-out; }
@keyframes monter { from { transform: translateY(8px) scale(.9); opacity: 0; } }
.boite { display: flex; flex-direction: column; gap: 2px; background: var(--nuit-2); border: 1px solid var(--nuit-trait); border-radius: 20px; padding: 6px; max-height: 52vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--nuit-trait) transparent; }
.conv { display: grid; grid-template-columns: 42px 1fr auto; gap: .7rem; align-items: center; padding: .55rem .6rem; border-radius: 14px; border: 0; background: transparent; color: var(--lune); text-align: left; cursor: pointer; }
.conv:hover { background: var(--nuit-3); }
.conv.actif { background: var(--nuit-3); box-shadow: inset 0 0 0 1px var(--nuit-trait); }
.conv.bloquee { opacity: .5; }
.conv .txt { min-width: 0; display: flex; flex-direction: column; }
.conv .txt b { font-weight: 600; display: flex; gap: .4rem; align-items: center; }
.conv .ap { font-size: .82rem; color: var(--brume); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv .ap.ecrit-txt { color: var(--vert); font-style: italic; }
.conv .pastille { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); }
.secret { border: 1px solid color-mix(in srgb, var(--violet) 55%, transparent); background: color-mix(in srgb, var(--violet) 8%, var(--nuit-2)); }

/* ------------------------------------------------ colonne latérale */
.segments { display: flex; gap: 2px; padding: 3px; background: var(--nuit); border-radius: 12px; margin-bottom: .9rem; }
.segments button { flex: 1; border: 0; background: transparent; color: var(--brume); border-radius: 9px; padding: .45em .4em; font-size: .82rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.segments button.actif { background: var(--nuit-3); color: var(--lune); }
.defil-cote { max-height: calc(100vh - 230px); overflow-y: auto; margin-right: -6px; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--nuit-trait) transparent; }
.fil { display: flex; flex-direction: column; }
.fil .ev { display: grid; grid-template-columns: 10px 1fr; gap: .6rem; padding: .55rem 0; font-size: .88rem; border-bottom: 1px solid var(--nuit-3); }
.fil .ev::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brume); margin-top: .45em; }
.fil .ev.alerte::before { background: var(--rouge); }
.fil .ev.match::before { background: var(--rose); }
.fil .ev.pouvoir::before { background: var(--violet); }
.fil .ev.cle::before { background: var(--or); }
.fil .ev.happening::before { background: var(--vert); }
.fil .ev:last-child { border-bottom: 0; }

.pouvoir { border-radius: 16px; padding: .9rem 1rem; background: linear-gradient(160deg, #2e2240, #241a2c); border: 1px solid #4a3a63; position: relative; }
.pouvoir.perso { border-color: color-mix(in srgb, var(--or) 60%, transparent); background: linear-gradient(160deg, #3a2e1c, #241a2c 70%); }
.pouvoir .n { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.pouvoir .t { font-size: .85rem; color: var(--brume); margin: .25rem 0 .5rem; }
.pouvoir .quand { font-size: .76rem; color: var(--brume); }
.pouvoir .nb { position: absolute; top: .8rem; right: .9rem; font-size: .8rem; color: var(--brume); }

.carnet-fille { display: flex; flex-direction: column; gap: .5rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--nuit-3); }
.carnet-fille:last-child { border-bottom: 0; }
.carnet-fille .tete { display: flex; gap: .6rem; align-items: center; }
.carnet-fille .tete b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.indice { display: grid; grid-template-columns: 22px 1fr; gap: .4rem; font-size: .88rem; align-items: start; }
.indice .ic { font-size: .95rem; line-height: 1.4; }
.indice.flou .t { color: var(--brume); font-style: italic; }
.indice .flou-tag { font-size: .7rem; color: var(--brume); border: 1px dashed var(--nuit-trait); border-radius: 6px; padding: 0 .35em; margin-left: .3em; font-style: normal; }
.grille-crit { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.grille-crit span { text-align: center; font-size: .72rem; padding: .15rem; border-radius: 6px; background: var(--nuit-3); color: var(--brume); }
.grille-crit .ok { background: color-mix(in srgb, var(--vert) 25%, transparent); color: var(--vert); }
.grille-crit .ko { background: color-mix(in srgb, var(--rouge) 25%, transparent); color: #ff8a8a; }

.fiche { border: 1px solid var(--nuit-trait); border-radius: 14px; padding: .8rem .9rem; background: var(--nuit); display: flex; flex-direction: column; gap: .45rem; font-size: .86rem; }
.fiche .tete { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.fiche .tete b { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; }
.cat { font-size: .74rem; font-weight: 700; padding: .15em .6em; border-radius: 999px; }
.cat-parfaite { background: color-mix(in srgb, var(--or) 22%, transparent); color: var(--or); }
.cat-bonne { background: color-mix(in srgb, var(--vert) 20%, transparent); color: var(--vert); }
.cat-menteuse { background: color-mix(in srgb, var(--rouge) 22%, transparent); color: #ff8a8a; }
.cat-incompatible { background: var(--nuit-3); color: var(--brume); }
.fiche .l { display: grid; grid-template-columns: 20px 1fr; gap: .3rem; }

/* ------------------------------------------------ accueil */
.accueil { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 3rem; max-width: 1180px; margin: 0 auto; padding: 4vh 32px; }
.accueil h1 { font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 400; line-height: .95; letter-spacing: -.035em; margin-bottom: 1.4rem; }
.accueil h1 em { display: block; font-style: italic; }
.accueil .pitch { font-size: 1.15rem; color: var(--brume); max-width: 30em; margin: 0 0 2rem; }
.accueil form { display: flex; flex-direction: column; gap: .9rem; max-width: 380px; }
.accueil .actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .3rem; }
.pile { position: relative; height: 560px; }
/* L'affiche : Tommaso en grand, devant deux profils */
.pile .affiche { position: absolute; z-index: 1; left: 16%; top: 24px; width: 360px; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; transform: rotate(-2deg);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .1); }
.pile .affiche img { width: 100%; height: 100%; object-fit: cover; display: block; filter: contrast(1.08) saturate(1.1); }
.pile .affiche::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(10, 6, 14, .9)); }
.pile .affiche .legende { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 20px; color: #fff; }
.pile .affiche .sur { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); }
.pile .affiche .nom { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; }
.pile .carte-photo { position: absolute; width: 300px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #fff; padding: 0; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.pile .carte-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pile .carte-photo .legende { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px; color: #fff; font-family: var(--serif); font-size: 1.7rem; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.pile .carte-photo:nth-child(1) { left: 2%; top: 60px; transform: rotate(-9deg); }
.pile .carte-photo:nth-child(2) { left: 40%; top: 0; transform: rotate(6deg); }
.pile .carte-photo:nth-child(3) { left: 20%; top: 150px; transform: rotate(-1deg); }
.pile .tampon { position: absolute; z-index: 2; right: 4%; bottom: 40px; background: var(--rose); color: #fff; border-radius: 999px; padding: .6em 1.1em; font-weight: 600; transform: rotate(-4deg); box-shadow: 0 10px 30px -8px rgba(242, 87, 126, .6); }
@media (max-width: 900px) {
  .accueil { grid-template-columns: 1fr; padding: 32px 16px; gap: 1rem; }
  .pile { height: 360px; order: -1; }
  .pile .carte-photo { width: 190px; }
  .pile .affiche { width: 230px; top: 10px; left: 22%; }
  .pile .affiche .nom { font-size: 1.8rem; }
  .pile .tampon { bottom: 0; }
}

/* ------------------------------------------------ salon */
.salon { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.4rem; align-items: start; }
@media (max-width: 960px) { .salon { grid-template-columns: 1fr; } }
.salon-tete { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.code-partie { text-align: right; }
.code-partie .code { font-family: var(--serif); font-size: 3rem; line-height: 1; letter-spacing: .08em; }
.persos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; }
.perso { border: 1px solid var(--nuit-trait); border-radius: 18px; padding: 1rem; background: var(--nuit-2); cursor: pointer; display: flex; flex-direction: column; gap: .35rem; text-align: left; color: inherit; transition: border-color .15s, transform .12s; }
.perso:hover { border-color: var(--brume); }
.perso .e { font-size: 2.2rem; line-height: 1; }
.visage { border-radius: 50%; object-fit: cover; flex-shrink: 0; vertical-align: middle; display: inline-block; }
.attente-tommaso { position: relative; margin: 0 0 1rem; border-radius: 18px; overflow: hidden; }
.attente-tommaso img { display: block; width: 100%; max-height: 380px; object-fit: cover; }
.attente-tommaso figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-family: var(--serif); font-size: 1.5rem; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.perso .nom { font-family: var(--serif); font-size: 1.35rem; }
.perso .desc { font-size: .84rem; color: var(--brume); }
.perso .qui { margin-top: auto; padding-top: .4rem; font-size: .8rem; color: var(--brume); }
.perso.actif { border-color: var(--lune); background: var(--nuit-3); }
.perso.actif .qui { color: var(--lune); font-weight: 600; }
.perso.pris { opacity: .45; cursor: default; }
.joueurs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.joueurs li { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--nuit-3); }
.joueurs li:last-child { border-bottom: 0; }
.joueurs .perso-de { margin-left: auto; color: var(--brume); font-size: .85rem; }
.point { width: 8px; height: 8px; border-radius: 50%; background: #5d5066; flex: none; }
.point.on { background: var(--vert); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vert) 25%, transparent); }
.ejecte { text-decoration: line-through; opacity: .55; }
.regles { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; color: var(--brume); }
.regles b { color: var(--lune); font-weight: 600; }

/* ------------------------------------------------ critères */
.criteres { max-width: 820px; margin: 6vh auto; text-align: center; }
.criteres .progres { display: flex; gap: 6px; justify-content: center; margin-bottom: 2rem; }
.criteres .progres i { width: 36px; height: 4px; border-radius: 2px; background: var(--nuit-3); }
.criteres .progres i.fait { background: var(--lune); }
.criteres h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 2.2rem; }
.choix-ab { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.choix-ab button { border: 1px solid var(--nuit-trait); background: var(--nuit-2); color: var(--lune); border-radius: 22px; padding: 2.2rem 1.2rem; font-family: var(--serif); font-size: 1.6rem; cursor: pointer; transition: transform .12s, background .15s; }
.choix-ab button:hover:not(:disabled) { background: var(--lune); color: var(--encre); transform: translateY(-3px); }
.choix-ab button:disabled { cursor: default; }
.deja { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2rem; }
@media (max-width: 600px) { .choix-ab { grid-template-columns: 1fr; } }

/* ------------------------------------------------ réunion */
.reunion { text-align: center; }
.reunion .alarme { display: inline-block; font-family: var(--serif); font-style: italic; font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--rouge); line-height: 1; margin-bottom: .6rem; }
.votes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; margin: 1.6rem 0 1rem; }
.votes button { border: 1px solid var(--nuit-trait); background: var(--nuit-2); color: var(--lune); border-radius: 16px; padding: 1rem .8rem; cursor: pointer; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.votes button .e { font-size: 1.8rem; }
.votes button:hover { border-color: var(--brume); }
.votes button.choisi { border-color: var(--rouge); background: color-mix(in srgb, var(--rouge) 18%, var(--nuit-2)); }

/* ------------------------------------------------ carte de la ville */
.ville { position: relative; aspect-ratio: 16 / 11; border-radius: 24px; overflow: hidden; background: #211827; border: 1px solid var(--nuit-trait); }
.ville > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lieu { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: .35rem;
  cursor: pointer; background: none; border: 0; padding: 0; color: var(--lune); font-weight: 600; font-size: .78rem; width: 120px; text-align: center; }
.lieu .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .6); transition: transform .15s; position: relative; }
.lieu:hover .ico { transform: translateY(-3px); }
.lieu .nom { background: rgba(26, 18, 32, .8); padding: .1em .55em; border-radius: 6px; line-height: 1.35; }
.lieu.ici .ico { box-shadow: 0 0 0 3px var(--nuit), 0 0 0 5px var(--lune), 0 10px 24px -6px rgba(0, 0, 0, .6); }
.lieu.panne .ico { filter: grayscale(1) brightness(.6); }
.lieu .monde { position: absolute; top: -8px; right: -10px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--lune); color: var(--encre); font-size: .7rem; display: grid; place-items: center; padding: 0 5px; }
.ico.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.ico.google { background: #fff; }
.ico.whatsapp { background: #25d366; }
.ico.amie { background: linear-gradient(160deg, #ffb38a, #e8577e); }
.ico.bar { background: linear-gradient(160deg, #3c2a6e, #7b3fa0); }
.ico.arcade { background: linear-gradient(160deg, #0f2a4a, #15a3c7); }
.ico.autre { background: var(--nuit-3); }

.lieu-panneau .tete { display: flex; gap: .8rem; align-items: center; margin-bottom: .6rem; }
.lieu-panneau .tete .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.lieu-panneau h3 { margin: 0; }
.choix-filles { display: flex; gap: .55rem; overflow-x: auto; padding: .2rem 0 .5rem; scrollbar-width: thin; scrollbar-color: var(--nuit-trait) transparent; }
.choix-filles button { display: flex; flex-direction: column; align-items: center; gap: .3rem; background: none; border: 0; color: var(--brume); font-size: .76rem; cursor: pointer; padding: 0; width: 60px; flex: none; }
.choix-filles button .avatar { box-shadow: 0 0 0 2px var(--nuit-2), 0 0 0 3px transparent; }
.choix-filles button.actif { color: var(--lune); font-weight: 600; }
.choix-filles button.actif .avatar { box-shadow: 0 0 0 2px var(--nuit-2), 0 0 0 4px var(--lune); }
.actions-enq { display: flex; flex-direction: column; gap: .5rem; margin-top: .6rem; }
.actions-enq .btn { justify-content: flex-start; text-align: left; }

/* ------------------------------------------------ dates */
.dates { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.4rem; align-items: start; }
@media (max-width: 960px) { .dates { grid-template-columns: 1fr; } }
.programme { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.programme .p { display: flex; align-items: center; gap: .45rem; padding: .3rem .8rem .3rem .3rem; border-radius: 999px; background: var(--nuit-2); border: 1px solid var(--nuit-trait); font-size: .85rem; }
.programme .p.ici { border-color: var(--lune); }
.rdv { position: relative; border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: radial-gradient(circle at 85% 0%, #5a2d3a, #1d1218 60%); border: 1px solid var(--nuit-trait); }
.rdv .ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #120c16; }
.rdv .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rdv .ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 110%, rgba(255, 170, 80, .35), transparent 55%); pointer-events: none; }
.rdv .fond-emoji { width: 100%; height: 100%; display: grid; place-items: center; font-size: 8rem; }
.rdv .texte { padding: 2rem 1.8rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .6rem; }
.rdv .texte h1 { margin: 0; }
.rdv .ou { color: #e6d9ec; display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; justify-content: space-between; }
.rdv .chrono { font-size: 1.8rem; }
.rdv.revele .ph img { animation: reveler 1.4s ease-out both; }
@keyframes reveler { 0% { filter: blur(20px) saturate(0); transform: scale(1.15); } 100% { filter: none; transform: none; } }
@media (max-width: 640px) { .rdv { grid-template-columns: 1fr; } }
.trois-cles { display: grid; gap: .6rem; margin-top: 1rem; }
.cle-champ { display: grid; grid-template-columns: 40px 1fr; align-items: center; background: var(--nuit-2); border: 1px solid var(--nuit-trait); border-radius: 16px; padding: .3rem .3rem .3rem .8rem; }
.cle-champ span { color: var(--or); font-family: var(--serif); font-size: 1.3rem; }
.cle-champ input { border: 0; background: transparent; padding: .7em .5em; color: var(--lune); width: 100%; }
.cle-champ input:focus { outline: none; }
.cle-champ:focus-within { border-color: var(--or); }
.resultat-date .indice { padding: .35rem 0; }

/* ------------------------------------------------ fin */
.fin-tete { text-align: center; padding: 4vh 0 3vh; }
.fin-tete h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 16em; margin: 0 auto .4rem; }
.fin-tete .score { font-size: 1.2rem; color: var(--brume); }
.fin-tete .score b { color: var(--or); font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.fin-grille { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.4rem; align-items: start; }
@media (max-width: 960px) { .fin-grille { grid-template-columns: 1fr; } }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.galerie .une { background: var(--nuit-2); border-radius: 18px; overflow: hidden; border: 1px solid var(--nuit-trait); }
.galerie .une .ph { aspect-ratio: 1; position: relative; }
.galerie .une .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galerie .une .ph .avatar { width: 100%; height: 100%; border-radius: 0; font-size: 4rem; }
.galerie .une .ph .cat { position: absolute; left: 10px; top: 10px; backdrop-filter: blur(6px); }
.galerie .une .fiche { border: 0; border-radius: 0; background: transparent; }

/* ------------------------------------------------ fenêtres */
.voile { position: fixed; inset: 0; background: rgba(10, 6, 14, .72); backdrop-filter: blur(6px); z-index: 50; display: grid; place-items: center; padding: 16px; animation: fondu .18s ease-out; }
@keyframes fondu { from { opacity: 0; } }
.fenetre { background: var(--nuit-2); color: var(--lune); border: 1px solid var(--nuit-trait); border-radius: 26px; padding: 1.5rem; width: min(560px, 100%); max-height: 92vh; overflow-y: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: surgir .22s ease-out; }
@keyframes surgir { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.fenetre.profil-fen { background: #fff; color: var(--encre); width: min(420px, 100%); padding: 18px 12px 12px; }
.fenetre.profil-fen .defile { padding-bottom: 12px; }
.fenetre .colonne { gap: .9rem; }
.choix-joueurs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.choix-joueurs label { display: flex; gap: .5rem; align-items: center; padding: .6rem .8rem; border-radius: 12px; background: var(--nuit); border: 1px solid var(--nuit-trait); cursor: pointer; }
.choix-joueurs label:has(input:checked) { border-color: var(--lune); }

/* notifications façon iOS */
.toasts { position: fixed; right: 16px; top: 76px; z-index: 60; display: flex; flex-direction: column; gap: .5rem; width: min(370px, calc(100vw - 32px)); }
.toast { display: grid; grid-template-columns: 34px 1fr; gap: .7rem; align-items: center; background: rgba(250, 247, 252, .9); color: var(--encre); backdrop-filter: blur(20px); padding: .75rem .9rem; border-radius: 18px; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .55); font-size: .88rem; animation: tomber .3s cubic-bezier(.2, 1.3, .4, 1); }
.toast .app-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--encre); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.1rem; font-style: italic; }
.toast .de { font-weight: 600; font-size: .78rem; color: var(--encre-douce); }
.toast.erreur .app-ic { background: var(--rouge); font-style: normal; font-family: var(--sans); }
@keyframes tomber { from { transform: translateY(-16px); opacity: 0; } }

.connexion { min-height: 70vh; display: grid; place-items: center; color: var(--brume); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------ déclic : un pouvoir de perso se déclenche */
.declic-voile { z-index: 80; }
.fenetre.declic { border-color: var(--or); width: min(600px, 100%); }
.fenetre.declic.avec-profil { width: min(980px, 100%); display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.declic-profil { background: #fff; color: var(--encre); border-radius: 18px; padding: 14px 0 0; height: min(72vh, 680px); display: flex; flex-direction: column; overflow: hidden; }
.declic-profil .defile { padding-bottom: 12px; }
@media (max-width: 760px) {
  .fenetre.declic.avec-profil { grid-template-columns: 1fr; }
  .declic-profil { height: 50vh; }
}
.declic-tete { display: flex; align-items: center; gap: .9rem; margin-bottom: .6rem; }
.declic-tete h2 { margin: 0; }
.declic-tete .chrono { margin-left: auto; }
.declic-emoji { font-size: 2.6rem; line-height: 1; }
.declic-champ { display: flex; flex-direction: column; gap: .45rem; }
.declic-options { display: flex; flex-wrap: wrap; gap: .45rem; }

/* ------------------------------------------------ panneaux d'explication entre les étapes */
.intro { max-width: 760px; margin: 0 auto; padding: 4vh 16px 6vh; display: flex; flex-direction: column; gap: 1.2rem; }
.intro-tete h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 400; letter-spacing: -.03em; margin: .1rem 0 .4rem; }
.intro-accroche { font-size: 1.15rem; color: var(--brume); margin: 0; }
.intro-accroche b, .intro-points b { color: var(--lune); font-weight: 600; }
.intro-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.intro-points li { display: flex; gap: .8rem; align-items: flex-start; background: var(--nuit-2); border: 1px solid var(--nuit-trait); border-radius: 16px; padding: .8rem 1rem; color: var(--brume); }
.intro-points .ic { font-size: 1.5rem; line-height: 1.2; flex: none; }
.intro-role { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.intro-compte { font-family: var(--serif); font-size: 1.4rem; margin: 0; }
.intro-attente { display: flex; align-items: center; gap: .6rem; color: var(--brume); margin: 0; }
.intro-attente .ecrit { position: static; }

/* ------------------------------------------------ la révélation */
.revelation { max-width: 1080px; margin: 0 auto; padding: 3vh 16px 6vh; display: flex; flex-direction: column; gap: 1.4rem; }
.rev-barre { display: flex; align-items: center; gap: 1rem; justify-content: flex-end; }
.rev-barre > :first-child { margin-right: auto; }
.rev-tete { text-align: center; }
.rev-tete h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 400; letter-spacing: -.03em; margin: .1rem 0 .3rem; }
.rev-duo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1.2rem; align-items: center; }
.rev-leg { text-align: center; margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .08em; }
.rev-fleche { font-size: 2.6rem; color: var(--rose); }
.rev-carte { background: var(--nuit-2); border: 1px solid var(--nuit-trait); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.rev-carte .ph { aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--nuit); overflow: hidden; }
.rev-carte:not(.grande) .ph { aspect-ratio: 1; }
.rev-carte .ph img { width: 100%; height: 100%; object-fit: cover; }
.rev-carte .corps { padding: .8rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; }
.rev-carte .nom b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
.rev-carte.vrai { border-color: var(--rouge); }
.rev-carte .destin { font-size: .9rem; }
.rev-emoji { font-size: 8rem; line-height: 1; }
.rev-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.rev-crit { display: flex; flex-wrap: wrap; gap: .25rem; font-size: .72rem; }
.rev-crit .ok { color: var(--vert); }
.rev-crit .ko { color: var(--brume); opacity: .7; }
.rev-roles { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .7rem; width: 100%; }
.rev-roles li { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; background: var(--nuit-2); border: 1px solid var(--nuit-trait); border-radius: 16px; padding: .8rem 1rem; }
.rev-roles li.imposteur { border-color: var(--rouge); }
.rev-roles .e { font-size: 1.6rem; }
@media (max-width: 700px) {
  .rev-duo { grid-template-columns: 1fr; }
  .rev-fleche { transform: rotate(90deg); justify-self: center; }
}
