/* Ultimate RP : les 14 feuilles de style du site réunies par preparer-en-ligne.ps1 (ne pas modifier ici). Ordre : celui de la page de travail. */

/* ===== commun.css ===== */
/* Base commune aux maquettes : mécanique uniquement (pages, apparitions, menus, accordéons, formulaire).
   Couleurs, polices et formes sont définies dans chaque maquette.
   Seule exception : la BARRE DE FILTRES COMMUNE (.fx-barre, en fin de fichier), même apparence sur tout le site. */
*, *::before, *::after { box-sizing: border-box; }
/* clip sur html ET body : sur téléphone, un bloc qui entre par la droite ne doit jamais élargir la page (sinon le navigateur dézoome) */
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--acc); color: var(--on-acc, #111); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
[hidden] { display: none !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

:root { --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.76, 0, .24, 1); }
.wrap { width: min(100% - 32px, var(--max, 1240px)); margin-inline: auto; }
@media (min-width: 700px) { .wrap { width: min(100% - 64px, var(--max, 1240px)); } }

/* Mode capture (page.html?capture#/…) : animations instantanées pour les captures d'écran de vérification */
html.capture *, html.capture *::before, html.capture *::after {
  transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important;
}

/* Pages */
[data-view] { display: none; }
[data-view].is-current { display: block; }

/* Apparitions au défilement : courtes (0,35 s), cascade de 40 ms au plus entre deux blocs, délai total plafonné
   (« zéro délai », demande du propriétaire). Le premier écran d'une page n'attend rien : voir .rv-vite plus bas. */
[data-reveal] {
  opacity: 0; transform: translate3d(0, 32px, 0);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  transition-delay: min(calc(var(--i, 0) * 40ms + var(--d, 0ms) / 4), 200ms);
}
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="left"] { transform: translate3d(-40px, 0, 0); }
[data-reveal="right"] { transform: translate3d(40px, 0, 0); }
[data-reveal].is-in { opacity: 1; transform: none; }
/* Apparition au défilement, plus visible (« on voit pas assez », 25/10) : un bloc qui arrive en défilant (data-rv-loin, posé par
   Ultimate.apparaitre / Ultimate.suivreApparitions) part de plus loin et prend plus de temps ; le premier écran (entrée de la
   page au clic) garde son départ court. Sorti par le haut (data-rv-haut) : en remontant, il revient d'en haut. */
[data-reveal][data-rv-loin]:not(.is-in) { transform: translate3d(0, 80px, 0); }
[data-reveal][data-rv-loin][data-rv-haut]:not(.is-in) { transform: translate3d(0, -80px, 0); }
[data-reveal="fade"][data-rv-loin]:not(.is-in) { transform: none; }
[data-reveal="scale"][data-rv-loin]:not(.is-in) { transform: scale(.88); }
[data-reveal="left"][data-rv-loin]:not(.is-in) { transform: translate3d(-90px, 0, 0); }
[data-reveal="right"][data-rv-loin]:not(.is-in) { transform: translate3d(90px, 0, 0); }

/* Titres découpés lettre par lettre (les lettres montent presque ensemble : 8 ms de l'une à l'autre, 0,16 s au plus) */
.sp-w { display: inline-block; overflow: hidden; vertical-align: top; white-space: nowrap; padding: .34em .04em .12em; margin: -.34em -.04em -.12em; }
.sp-c {
  display: inline-block; padding-top: .3em; margin-top: -.3em; transform: translate3d(0, 118%, 0);
  transition: transform .35s var(--ease); transition-delay: min(calc(var(--i) * 8ms + var(--d, 0ms) / 4), 160ms);
}
.is-in .sp-c { transform: none; }
[data-rv-loin][data-rv-haut]:not(.is-in) .sp-c { transform: translate3d(0, -118%, 0); }

/* Premier écran d'une page (posé par Ultimate.reveler / Ultimate.apparaitre, puis retiré) : tout arrive ensemble, en 0,25 s,
   sans délai ni cascade ; bloc apparu au défilement (.rv-defil, posé puis retiré par le site) : 0,35 s même si sa feuille
   donne une autre durée à son transform (affiches du recrutement, bandeau d'annonce de l'accueil). */
[data-reveal].rv-vite { transition-duration: .25s; transition-delay: 0s; }
.rv-vite .sp-c, .sp-c.rv-vite { transition-duration: .25s; transition-delay: 0s; }
[data-reveal].rv-defil { transition-duration: .7s; }
.rv-defil .sp-c { transition-duration: .6s; }

/* La bande-annonce du serveur (.userv) garde exactement son rythme d'origine (plans de 7 à 8 s, titres réglés avec --d) */
.userv [data-reveal] { transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 80ms + var(--d, 0ms)); }
.userv .sp-c { transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 30ms + var(--d, 0ms)); }

/* Menus déroulants */
.dd-host { position: relative; }
.dd {
  position: absolute; top: 100%; left: 50%; z-index: 60; padding-top: 14px;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 10px);
  transition: opacity .25s ease, transform .45s var(--ease), visibility 0s linear .45s;
}
.dd-host:hover > .dd, .dd-host:focus-within > .dd {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  transition: opacity .25s ease, transform .45s var(--ease), visibility 0s;
}
.dd-host.dd-off > .dd { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
.dd-host:hover > .dd [data-stagger] > * { animation: dd-item .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms + 40ms); }
@keyframes dd-item { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Encadré glissant du menu (Ultimate.navGlisse) : position ici, apparence dans la maquette */
[data-nav-principal] { position: relative; }
[data-nav-principal] > .hd-link, [data-nav-principal] > .dd-host { position: relative; z-index: 1; }
.nav-ind {
  position: absolute; left: 0; top: 0; z-index: 0; width: var(--w, 0); height: var(--h, 0); pointer-events: none; opacity: 0;
  transform: translate3d(var(--x, 0), var(--y, 0), 0);
  transition: transform .5s var(--ease), width .5s var(--ease), height .5s var(--ease), opacity .3s;
}
.nav-ind.is-on { opacity: 1; }

/* Pages Recrutement et Règlement : liste (#/recrutement, #/reglement) ou détail (#/recrutement/<poste>, #/reglement/<cle>) */
[data-view][data-mode="liste"] [data-mode-poste],
[data-view][data-mode="poste"] [data-mode-liste] { display: none !important; }

/* Menu mobile */
.m-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.m-sub > div { overflow: hidden; min-height: 0; }
.m-group.is-open .m-sub { grid-template-rows: 1fr; }
.m-group .bx-plus { transition: transform .45s var(--ease); }
.m-group.is-open .bx-plus { transform: rotate(45deg); }

/* Règlements */
.rg-top { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.rg-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.rg-tools { display: flex; gap: 10px; align-items: center; flex: 1 1 340px; justify-content: flex-end; }
.rg-search { position: relative; display: flex; align-items: center; gap: 10px; flex: 1 1 auto; max-width: 440px; }
.rg-search input { width: 100%; min-width: 0; background: none; border: 0; outline: 0; }
.rg-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.rg-body { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.rg-toc { position: sticky; top: var(--toc-top, 110px); }
.rg-toc-nav { display: flex; flex-direction: column; max-height: calc(100vh - 330px); overflow: auto; scrollbar-width: thin; }
.rg-toc-nav button { text-align: left; flex: none; }
.rg-sec { scroll-margin-top: 120px; }
.rg-q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; text-align: left; }
.rg-q-i { position: relative; flex: none; width: 14px; height: 14px; }
.rg-q-i::before, .rg-q-i::after {
  content: ""; position: absolute; left: 0; top: calc(50% - .75px); width: 100%; height: 1.5px;
  background: currentColor; transition: transform .45s var(--ease);
}
.rg-q-i::after { transform: rotate(90deg); }
.rg-item.is-open .rg-q-i::after { transform: rotate(0); }
.rg-item.is-open .rg-q-i::before { transform: rotate(180deg); }
.rg-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.rg-a > div { overflow: hidden; min-height: 0; }
.rg-item.is-open .rg-a { grid-template-rows: 1fr; }
.rg-a ul { margin: 0; list-style: none; }
@media (max-width: 960px) {
  .rg-body { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rg-toc, .rg-list { min-width: 0; }
  .rg-toc { top: 0; z-index: 5; }
  .rg-toc-h, .rg-warn { display: none; }
  .rg-toc-nav { flex-direction: row; overflow-x: auto; max-height: none; white-space: nowrap; scrollbar-width: none; }
  .rg-toc-nav::-webkit-scrollbar { display: none; }
  .rg-tools { flex-basis: 100%; }
  .rg-search { max-width: none; }
}

/* Formulaire de candidature */
.fx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; }
.fx-step { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fx-step.is-done { cursor: pointer; }
.fx-step-n { flex: none; display: grid; place-items: center; }
.fx-step-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-bar { overflow: hidden; }
.fx-bar span { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--progress, .25)); transition: transform .8s var(--ease); }
.fx-pane { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.fx-pane.is-active { display: block; animation: fx-in .6s var(--ease) both; }
.fx[data-dir="prev"] .fx-pane.is-active { animation-name: fx-in-prev; }
@keyframes fx-in { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
@keyframes fx-in-prev { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: none; } }
.fx-legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
.fx-wide { grid-column: 1 / -1; }
.fx-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.fx-field input:not([type="radio"]):not([type="checkbox"]), .fx-field textarea { width: 100%; outline: 0; }
.fx-field textarea { resize: vertical; }
.fx-field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }
.fx-field input[type="number"] { -moz-appearance: textfield; }
.fx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-chip, .fx-note-b, .fx-check { position: relative; }
.fx-chip input, .fx-note-b input, .fx-check input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fx-chip span, .fx-note-b span { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; }
.fx-note { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.fx-note-b span { width: 100%; }
.fx-note-l { grid-column: 1 / -1; display: flex; justify-content: space-between; }
.fx-count { align-self: flex-end; }
.fx-help, .fx-err, .fx-intro { margin: 0; }
.fx-err:empty { display: none; }
.fx-field.shake { animation: fx-shake .45s; }
@keyframes fx-shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.fx-recap { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.fx-recap-r { min-width: 0; }
.fx-recap-r.is-wide { grid-column: 1 / -1; }
.fx-recap-r dd { margin: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fx-check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.fx-box { flex: none; display: grid; place-items: center; }
.fx-check input:checked + .fx-box::after {
  content: ""; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translate(0, -1px) rotate(-45deg);
}
.fx-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.fx-save { flex: 1; text-align: center; opacity: 0; transition: opacity .4s; }
.fx-save.is-on { opacity: 1; }
.fx-send { display: none; }
.fx-next, .fx-send { margin-left: auto; }
.fx[data-etape="0"] .fx-prev { display: none; }
.fx[data-etape="3"] .fx-next { display: none; }
.fx[data-etape="3"] .fx-send { display: inline-flex; }
.fx-send.is-loading { pointer-events: none; opacity: .75; }
.fx.is-sent .fx-steps, .fx.is-sent .fx-bar, .fx.is-sent .fx-panes, .fx.is-sent .fx-nav { display: none; }
.fx-done { text-align: center; animation: fx-in .7s var(--ease) both; }
.fx-ok { width: 88px; height: 88px; margin: 0 auto; display: block; }
.fx-ok circle, .fx-ok path { fill: none; stroke: var(--acc); stroke-linecap: round; stroke-linejoin: round; }
.fx-ok circle { stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: fx-draw 1s var(--ease) forwards; }
.fx-ok path { stroke-width: 3; stroke-dasharray: 40; stroke-dashoffset: 40; animation: fx-draw .6s .55s var(--ease) forwards; }
@keyframes fx-draw { to { stroke-dashoffset: 0; } }
@media (max-width: 640px) {
  .fx-grid, .fx-recap { grid-template-columns: 1fr; }
  .fx-step-l { display: none; }
  .fx-step.is-active .fx-step-l { display: block; }
  .fx-steps { grid-template-columns: auto auto auto auto; justify-content: start; gap: 10px; }
  .fx-save { display: none; }
  .fx-nav .fx-btn { flex: 1 1 auto; }
}

/* ======================================================================
   BARRE DE FILTRES COMMUNE — même interface sur tout le site (modèle : Le Business / Le Milieu).
   Guide complet (structure HTML, variables, fonction JS) : scratchpad\filtres-unifies\FILTRES.md.
   - à gauche, les segments (.fx-zone > .fx-segs > button.fx-seg) : libellés Poppins 800 italique majuscules, compteur .fx-n
     à côté ; le segment actif est un bloc plein, penché, de la couleur de la page, qui glisse d'un segment à l'autre ;
   - à droite, séparée, la recherche sobre (.fx-outils > label.fx-rech) : loupe, bordure fine, AUCUN effet au focus,
     au clic ni au toucher (seul le curseur de texte apparaît) ;
   - collée sous l'en-tête quand on descend ; fond de verre seulement quand elle est collée (.is-colle) ;
   - barre compacte (.is-compact : téléphone ≤ 700 px, ou segments + recherche trop larges) : une seule ligne, les segments
     défilent au doigt, la loupe (.fx-loupe) ouvre la recherche à leur place (.is-recherche) ;
   - en option : menu déroulant (.fx-menu) dans la même barre, trait de progression (.fx-prog) en bas de la barre.
   Couleur : data-fx-ton="beige" (défaut) | "vert" (légal, Le Business) | "rouge" (illégal, Le Milieu), sur la barre ou un
   parent, ou les 4 variables --fx-acc, --fx-acc-rgb, --fx-acc-fond, --fx-acc-txt posées par la page.
   Mécanique (segment qui glisse, compacte, collée, loupe, clavier) : Ultimate.filtres(barre, options) dans commun.js.
   Aucune règle prefers-reduced-motion (choix du propriétaire).
   ====================================================================== */
[data-fx-ton="beige"] { --fx-acc: #ecd3b1; --fx-acc-rgb: 236, 211, 177; --fx-acc-fond: var(--beige); --fx-acc-txt: #0d0c0b; }
[data-fx-ton="vert"] { --fx-acc: #7fc3a0; --fx-acc-rgb: 62, 150, 108; --fx-acc-fond: linear-gradient(180deg, #2c7d59, #1b5a40); --fx-acc-txt: #eef7f1; }
[data-fx-ton="rouge"] { --fx-acc: #e46a55; --fx-acc-rgb: 196, 52, 36; --fx-acc-fond: linear-gradient(180deg, #ad3020, #7e1c12); --fx-acc-txt: #fff1ec; }

/* Arrivée de la barre (posée par Ultimate.filtres jusqu'à l'image suivante) : forme de départ prise sans transition */
.fx-barre.fx-depart, .fx-barre.fx-depart * { transition: none !important; }
/* La barre : légère, sans fond tant qu'elle n'est pas collée */
.fx-barre { position: sticky; top: calc(var(--hd) + 12px); z-index: 6; display: flex; align-items: center; gap: 16px; margin: 0 -8px clamp(30px, 3.2vw, 48px); padding: 8px;
  border-radius: 4px; background: rgba(14, 13, 12, 0); box-shadow: 0 0 0 1px rgba(236, 211, 177, 0);
  font-family: var(--font-body); font-weight: 400; font-style: normal; letter-spacing: normal; text-transform: none; color: var(--text);
  -webkit-tap-highlight-color: transparent; transition: top .7s var(--ease), background .35s, box-shadow .35s; }
body.hd-cache .fx-barre { top: 12px; }
/* Filets écrits en dur (valeurs de --line / --line-2 du site) : une page qui redéfinit ces variables (le Règlement) garde la même barre */
.fx-barre.is-colle { background: rgba(14, 13, 12, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(236, 211, 177, .12), 0 24px 44px -26px rgba(0, 0, 0, .95); }
/* Bande sombre au-dessus de la barre collée : le contenu ne se voit pas entre l'en-tête et la barre */
.fx-barre::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 100%; height: 14px; pointer-events: none; background: linear-gradient(180deg, rgba(13, 12, 11, .92), rgba(13, 12, 11, .5));
  opacity: 0; transition: opacity .3s; }
.fx-barre.is-colle::after { opacity: 1; }
.fx-barre .fx-outils { flex: 1 1 260px; min-width: 0; display: flex; justify-content: flex-end; }
/* Annonce pour les lecteurs d'écran seulement (« 12 serveurs ») */
.fx-barre .fx-nb { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fx-barre .fx-loupe { display: none; }
/* Barre compacte (posée par Ultimate.filtres) : une seule ligne ; les segments défilent au doigt et la loupe ouvre la recherche
   à leur place. Colonnes : segments / recherche superposés dans la 1re, puis un éventuel menu, puis la loupe. */
.fx-barre.is-compact { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-auto-flow: column; grid-auto-columns: auto; gap: 6px; margin-inline: 0; padding: 5px; }
.fx-barre.is-compact:not(.is-colle) { padding-inline: 0; }
/* Barre sans recherche (Actualités, planning) : pas de colonne vide (ni d'écart de 6 px) pour la loupe */
.fx-barre.is-compact:not(:has(> .fx-loupe)) { grid-template-columns: minmax(0, 1fr); }
.fx-barre.is-compact .fx-zone, .fx-barre.is-compact .fx-outils { grid-area: 1 / 1; transition: opacity .3s, transform .45s var(--ease), visibility 0s; }
/* Fondus sur les bords : à droite tant qu'il reste des segments à voir, à gauche dès qu'on a fait défiler */
.fx-barre.is-compact .fx-zone { --fx-fg: 0px; --fx-fd: 26px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 var(--fx-fg), #000 calc(100% - var(--fx-fd)), transparent); mask: linear-gradient(90deg, transparent, #000 var(--fx-fg), #000 calc(100% - var(--fx-fd)), transparent); }
.fx-barre.is-compact .fx-zone.is-fin { --fx-fd: 0px; }
.fx-barre.is-compact .fx-zone.is-debut-cache { --fx-fg: 22px; }
.fx-barre.is-compact .fx-outils { visibility: hidden; opacity: 0; transform: translateX(16px); }
.fx-barre.is-compact .fx-rech { max-width: none; }
.fx-barre.is-compact .fx-rech-x { display: none; }
.fx-barre.is-compact.is-recherche .fx-outils { visibility: visible; opacity: 1; transform: none; }
.fx-barre.is-compact.is-recherche .fx-zone { visibility: hidden; opacity: 0; transform: translateX(-16px); }
.fx-barre.is-compact.is-recherche > .fx-menu { display: none; }
.fx-barre.is-compact .fx-loupe { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 2px; background: var(--fx-acc-fond, var(--beige)); color: var(--fx-acc-txt, #0d0c0b); font-size: 22px;
  -webkit-tap-highlight-color: transparent; transform: skewX(-8deg); transition: transform .4s var(--ease); }
.fx-barre.is-compact .fx-loupe i { transform: skewX(8deg); }
.fx-barre.is-compact .fx-loupe:active { transform: skewX(-8deg) scale(.94); }

/* Segments : l'indicateur est une copie colorée des boutons (.fx-voile, créée par Ultimate.filtres), découpée en biais (clip-path),
   avec une ombre douce dessous (.fx-ombre) */
.fx-barre .fx-zone { position: relative; flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; border-radius: 3px; -webkit-tap-highlight-color: transparent; }
.fx-barre .fx-zone::-webkit-scrollbar { display: none; }
.fx-barre .fx-segs { position: relative; display: flex; width: max-content; gap: 2px; padding: 4px; border-radius: 3px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.fx-barre .fx-seg { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 42px; padding: 0 17px; border-radius: 2px;
  font-size: 12.5px; font-weight: 800; font-style: italic; line-height: 1; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; color: rgba(246, 241, 234, .66);
  transition: color .3s; -webkit-tap-highlight-color: transparent; }
.fx-barre button.fx-seg:hover { color: #fff; }
.fx-barre .fx-n { font-size: 11px; font-weight: 800; font-style: normal; line-height: 1; color: var(--fx-acc, #ecd3b1); font-variant-numeric: tabular-nums; opacity: .85; transition: opacity .3s; }
.fx-barre .fx-n.is-zero { opacity: .35; }
.fx-barre .fx-ombre { position: absolute; z-index: 0; left: 0; top: 4px; bottom: 4px; width: 0; background: rgba(var(--fx-acc-rgb, 236, 211, 177), .14); pointer-events: none; }
.fx-barre .fx-voile { position: absolute; z-index: 2; inset: 0; display: flex; gap: 2px; padding: 4px; border-radius: 3px; background: var(--fx-acc-fond, var(--beige)); pointer-events: none; clip-path: inset(50%); }
.fx-barre .fx-voile .fx-seg { color: var(--fx-acc-txt, #0d0c0b); }
.fx-barre .fx-voile .fx-n { color: var(--fx-acc-txt, #0d0c0b); opacity: .75; }

/* Recherche : AUCUN effet au clic, au toucher ni au focus (demande du propriétaire), seul le curseur de texte apparaît */
.fx-barre .fx-rech { position: relative; flex: 1 1 auto; min-width: 0; max-width: 340px; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 6px 0 15px; border: 1px solid rgba(236, 211, 177, .24); border-radius: 3px;
  background: rgba(13, 12, 11, .4); cursor: text; -webkit-tap-highlight-color: transparent; }
.fx-barre .fx-rech > i { flex: none; font-size: 19px; color: var(--fx-acc, #ecd3b1); }
.fx-barre .fx-rech input { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; outline: none; box-shadow: none; font-size: 14.5px; font-weight: 500; color: var(--text);
  -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; caret-color: var(--fx-acc, #ecd3b1); }
.fx-barre .fx-rech input:focus, .fx-barre .fx-rech input:focus-visible, .fx-barre .fx-rech input:active, .fx-barre .fx-rech input:hover { outline: none; box-shadow: none; border: 0; background: none; }
.fx-barre .fx-rech:focus-within, .fx-barre .fx-rech:hover, .fx-barre .fx-rech:active { border-color: rgba(236, 211, 177, .24); background: rgba(13, 12, 11, .4); box-shadow: none; outline: none; }
.fx-barre .fx-rech input::placeholder { color: var(--dim); opacity: 1; }
.fx-barre .fx-rech input::-webkit-search-cancel-button, .fx-barre .fx-rech input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.fx-barre .fx-rech-x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 2px; font-size: 20px; color: var(--muted); transition: color .25s, background .25s; -webkit-tap-highlight-color: transparent; }
.fx-barre .fx-rech-x:hover { color: var(--fx-acc, #ecd3b1); background: rgba(255, 255, 255, .06); }
/* Nombre de résultats dans le champ (facultatif ; vide = caché) : même typo que les compteurs des segments */
.fx-barre .fx-rech-n { flex: none; margin-right: 4px; font-size: 11px; font-weight: 800; font-style: normal; line-height: 1; white-space: nowrap; color: var(--fx-acc, #ecd3b1);
  font-variant-numeric: tabular-nums; opacity: .85; }
.fx-barre .fx-rech-n:empty { display: none; }

/* Menu déroulant dans la barre (ex. « Chapitre 01 · Coma & SAMS ») : même hauteur, même fond et même typo que les segments.
   Le titre (.fx-menu-t) disparaît s'il ne tient pas (jamais coupé par « … ») ; en barre compacte, seuls l'icône, le numéro
   et la flèche restent. Le panneau qui s'ouvre appartient à la page (calque fixe). */
.fx-barre .fx-menu { position: relative; flex: 0 1 auto; min-width: 0; display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 12px 0 16px; border-radius: 3px;
  background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); text-align: left; white-space: nowrap;
  font-size: 12.5px; font-weight: 800; font-style: italic; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: rgba(246, 241, 234, .66);
  transition: color .3s, background .3s; -webkit-tap-highlight-color: transparent; }
.fx-barre .fx-menu:hover, .fx-barre .fx-menu[aria-expanded="true"] { color: #fff; background: rgba(0, 0, 0, .45); }
.fx-barre .fx-menu-ico { display: none; flex: none; font-size: 19px; color: var(--fx-acc, #ecd3b1); }
.fx-barre .fx-menu-k { flex: none; color: var(--fx-acc, #ecd3b1); }
.fx-barre .fx-menu-n { flex: none; padding-right: .06em; font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; color: #fff; }
/* (marges intérieures : la dernière lettre italique dépasse à droite de sa boîte, les accents des capitales — « ÉTHIQUE »,
   « GÉNÉRAL », « MODÉRATION » — dépassent au-dessus de la ligne ; sans elles, overflow: hidden les rognerait) */
.fx-barre .fx-menu-t { flex: 0 1 auto; min-width: 0; overflow: hidden; padding: .32em .16em .32em 0; color: rgba(246, 241, 234, .9); }
.fx-barre .fx-menu-n + .fx-menu-t::before { content: "·"; margin-right: 9px; color: var(--dim); }
.fx-barre .fx-menu-t.fx-cache { display: none; }
.fx-barre .fx-menu-v { flex: none; margin-left: auto; font-size: 20px; color: var(--muted); transition: transform .45s var(--ease), color .3s; }
.fx-barre .fx-menu:hover .fx-menu-v { color: var(--fx-acc, #ecd3b1); }
.fx-barre .fx-menu[aria-expanded="true"] .fx-menu-v { transform: rotate(180deg); color: var(--fx-acc, #ecd3b1); }
.fx-barre.is-compact .fx-menu { gap: 7px; padding: 0 8px 0 12px; }
.fx-barre.is-compact .fx-menu-k, .fx-barre.is-compact .fx-menu-t { display: none; }
.fx-barre.is-compact .fx-menu-ico { display: block; }

/* Trait de progression en bas de la barre (ex. lecture du règlement) : un trait par section (--n = son poids),
   rempli de la couleur de la page selon --p (0 à 1) posé sur le <i>. La barre reçoit fx-avec-prog (place en bas). */
.fx-barre.fx-avec-prog { padding-bottom: 15px; }
.fx-barre.is-compact.fx-avec-prog { padding-bottom: 12px; }
.fx-barre .fx-prog { position: absolute; left: 8px; right: 8px; bottom: 5px; height: 3px; display: flex; pointer-events: none; }
.fx-barre.is-compact .fx-prog { left: 5px; right: 5px; bottom: 4px; }
.fx-barre.is-compact:not(.is-colle) .fx-prog { left: 0; right: 0; }
.fx-barre .fx-prog-s { position: relative; flex: var(--n, 1) 1 0px; min-width: 0; height: 100%; margin-right: 3px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .13);
  transition: flex-grow .6s var(--ease), margin .6s var(--ease), opacity .4s; }
.fx-barre .fx-prog-s:last-child { margin-right: 0; }
.fx-barre .fx-prog-s > i { position: absolute; inset: 0; background: var(--fx-acc, #ecd3b1); transform-origin: left; transform: scaleX(var(--p, 0)); }
.fx-barre .fx-prog-s.is-cur { overflow: visible; }
.fx-barre .fx-prog-s.is-cur > i { box-shadow: 0 0 10px rgba(var(--fx-acc-rgb, 236, 211, 177), .95); }
.fx-barre .fx-prog-s.is-vide { flex-grow: 0; margin-right: 0; opacity: 0; }

/* Téléphone : cibles plus grandes, barre un peu plus près du haut */
@media (max-width: 700px) {
  .fx-barre { top: calc(var(--hd) + 8px); margin-bottom: 22px; }
  body.hd-cache .fx-barre { top: 8px; }
  .fx-barre .fx-seg { height: 44px; padding: 0 14px; }
  .fx-barre .fx-menu { height: 52px; }
  .fx-barre .fx-rech { height: 54px; }
  .fx-barre .fx-rech input { font-size: 16px; }
  /* Barre compacte sans recherche : la même hauteur (64 px) que les barres avec recherche (ligne de 54 px, celle du champ) */
  .fx-barre.is-compact:not(:has(> .fx-loupe)) { grid-template-rows: minmax(54px, auto); }
}

/* ===== dossier.css ===== */
/* Dossier d'embauche « Pochette » (composant) : la feuille au centre, les intercalaires sur le bord droit,
   la fiche de poste trombonée sur le coin gauche. Construit par dossier.js (window.UltimateDossier.monter) dans une racine
   fournie par la page : tout est rangé sous .dz-rec (enveloppe créée par le script) et .pc (le dossier).
   Isolé du reste du site : couleurs du papier, polices, petites remises à zéro et classes utilitaires (dz-sr, dz-trame,
   dz-couronne, dz-pulse) sont définies ici ; aucune classe générique de la page (.btn, .ht, .tape, .sr, .pulse…) n'est utilisée.
   Référence visuelle : maquettes-recrutement/formulaire-b2-pochette.html (validée). */

/* ---------- Enveloppe du composant : réglages et remises à zéro (sans poids, la page garde la main ailleurs) ---------- */
.dz-rec {
  --dz-acc: #ecd3b1; --dz-beige: linear-gradient(180deg, #f3dfc2, #e2c39b);
  --dz-ease: cubic-bezier(.22, 1, .36, 1);
  --dz-font: 'Poppins', system-ui, sans-serif;
  /* Signature du dossier : gothique mais lisible. Repli lisible si Pirata One n'est pas encore là */
  --dz-font-signe: 'Pirata One', Georgia, 'Times New Roman', serif;
  container: dz-rec / inline-size; padding: 10px 0 150px;
  font-family: var(--dz-font); font-size: 15px; line-height: 1.6;
}
:where(.dz-rec, .dz-rec *, .dz-rec *::before, .dz-rec *::after) { box-sizing: border-box; }
:where(.dz-rec) :where(img) { display: block; max-width: 100%; }
:where(.dz-rec) :where(a) { color: inherit; text-decoration: none; }
:where(.dz-rec) :where(button, input, textarea, select) { font: inherit; color: inherit; }
:where(.dz-rec) :where(button) { background: none; border: 0; padding: 0; cursor: pointer; }
:where(.dz-rec) :focus-visible { outline: 2px solid var(--dz-acc); outline-offset: 3px; }
.dz-rec [hidden] { display: none !important; }

/* Classes utilitaires du composant */
.dz-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Trame de points (papier imprimé) */
.dz-trame { position: relative; }
.dz-trame::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .22;
  background-image: radial-gradient(rgba(0, 0, 0, .55) 1px, transparent 1.5px); background-size: 4px 4px; }
/* Couronne Ultimate : une seule forme (couronne-blanche.png en masque), colorée par currentColor */
.dz-couronne { display: inline-block; flex: none; aspect-ratio: 833 / 614; background: currentColor;
  -webkit-mask: url(assets/couronne-blanche.png) center / contain no-repeat; mask: url(assets/couronne-blanche.png) center / contain no-repeat; }
/* Pastille du recrutement : verte (ouvert), orange (places très limitées), rouge et fixe (fermé) */
.dz-pulse { --st: 98, 212, 127; flex: none; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--st)); animation: dz-pulse 2s infinite; }
[data-st="limite"] .dz-pulse { --st: 245, 160, 60; }
[data-st="ferme"] .dz-pulse { --st: 236, 86, 72; animation: none; box-shadow: 0 0 0 3px rgba(236, 86, 72, .22); }
@keyframes dz-pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--st), .55); } 70% { box-shadow: 0 0 0 9px rgba(var(--st), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--st), 0); } }

/* ======================================================================
   POCHETTE : la feuille au centre, les intercalaires à droite, la fiche de poste à gauche
   ====================================================================== */
.pc { --tab: 160px; --tuck: 26px;
  --papier: #efe6d8; --encre: #16130f; --encre-2: #3a3129; --gris: #685a49; --brun: #7a5a33;
  --trait: rgba(22, 19, 15, .16); --trait-fort: rgba(22, 19, 15, .4); --rouge: #a3291d; --vert: #2c6a3c; --surligneur: rgba(222, 189, 145, .55);
  position: relative; width: min(980px, 100% - 2 * 176px); margin: 0 auto; padding-bottom: 28px; color: var(--encre); }
.pc :focus-visible { outline-color: var(--encre); }
.pc-corps { position: relative; z-index: 2; isolation: isolate; }

/* Chemise cartonnée derrière la feuille */
.pc-chemise { position: absolute; z-index: 0; inset: -16px -14px -22px -14px; border-radius: 6px; rotate: -.7deg;
  background: linear-gradient(165deg, #e6cca6 0%, #d3b287 48%, #c09b6d 100%);
  box-shadow: 0 60px 90px -40px rgba(0, 0, 0, .95), 0 18px 30px -18px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.pc-chemise::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .22; mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(0, 0, 0, .5) 1px, transparent 1.5px); background-size: 4px 4px; }

/* ---------- Intercalaires : ils sortent de sous la feuille, sur le bord droit ---------- */
.pc-rail { position: absolute; z-index: 1; top: 30px; bottom: 40px; left: calc(100% - var(--tuck)); width: calc(var(--tab) + var(--tuck) + 14px); pointer-events: none; }
.pc-onglets { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pc-onglets li { display: flex; }
.pc-onglet { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 9px; width: calc(var(--tab) + var(--tuck)); height: 64px;
  padding: 0 8px 0 calc(var(--tuck) + 22px); text-align: left; border-radius: 0 12px 12px 0; color: rgba(22, 19, 15, .62);
  background: linear-gradient(90deg, rgba(60, 40, 15, .22), transparent 34%), var(--k, #d4b68c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset -1px 0 0 rgba(255, 255, 255, .18), 0 12px 18px -12px rgba(0, 0, 0, .75);
  transform: translateX(-6px); transition: transform .6s var(--dz-ease), color .3s, box-shadow .4s; }
.pc-onglet::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .45s;
  background: linear-gradient(90deg, rgba(150, 110, 60, .3), transparent 30%), linear-gradient(180deg, #f3dfc2, #e2c39b); }
.pc-onglet > * { position: relative; }
.pc-pastille { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 17px;
  transition: background .35s, color .35s, border-color .35s; }
/* Pastille cochée des intercalaires terminés */
.pc-coche { position: absolute; top: -5px; right: -6px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--vert); color: #fff;
  font-size: 14px; box-shadow: 0 0 0 2px #e9d4b2; transform: scale(0) rotate(-40deg); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.pc-onglet-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.pc-onglet-t small { font-size: 9.5px; font-weight: 700; letter-spacing: .2em; color: var(--brun); }
.pc-onglet-t b { font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.pc-onglet:disabled { cursor: default; }
.pc-onglet.is-done { cursor: pointer; color: rgba(22, 19, 15, .8); }
.pc-onglet.is-done .pc-coche { transform: none; }
.pc-onglet.is-done:not(:disabled):hover { transform: translateX(0); color: var(--encre); }
/* Intercalaire ouvert : sorti plus loin et beige */
.pc-onglet.is-active { z-index: 2; transform: translateX(6px); color: var(--encre); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 12px 14px 26px -12px rgba(0, 0, 0, .8); }
.pc-onglet.is-active::before { opacity: 1; }
.pc-onglet.is-active .pc-pastille { background: var(--encre); border-color: var(--encre); color: var(--dz-acc); }

/* ---------- Pile de feuilles ---------- */
.pc-pile { position: relative; z-index: 2; }
.pc-pile::before, .pc-pile::after { content: ""; position: absolute; z-index: -1; inset: 0; background: #e2d7c4; box-shadow: 0 22px 40px -26px rgba(0, 0, 0, .9); }
.pc-pile::before { rotate: 1.1deg; translate: 6px 6px; background: #d8cbb5; }
.pc-pile::after { rotate: -.6deg; translate: -4px 6px; }
.pc-feuille { container: dz-feuille / inline-size; position: relative; z-index: 1; padding: 34px 54px 30px; background: linear-gradient(180deg, #f3ebdf, #ece2d2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.pc-feuille.dz-trame::after { opacity: .1; }
/* Copie de la feuille qu'on retire (ou qu'on recouvre) pendant le changement d'étape */
.pc-feuille.pc-copie { position: absolute; left: 0; right: 0; top: 0; z-index: 3; pointer-events: none; }
.pc-feuille.pc-copie.is-dessous { z-index: 0; }
.pc-copie *, .pc-copie *::before, .pc-copie *::after { animation: none !important; transition: none !important; }
.pc-copie .pc-signe { clip-path: none; }
.pc-copie .dz-save { opacity: 0; }
/* Scotch en travers du coin bas gauche */
.pc-tape { position: absolute; z-index: 2; left: -34px; bottom: -4px; width: 86px; height: 26px; rotate: 45deg; background: rgba(236, 211, 177, .68); }

/* En-tête de la feuille : une ligne, sans fioritures */
.pc-tete { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 2.5px solid var(--encre); }
/* Macaron du logo : le logo avec son fond (assets/logo-fond.webp : couronne blanche sur beige), un seul élément */
.pc-macaron { flex: none; display: inline-block; width: 46px; height: 46px; border-radius: 50%;
  background: #e2c39b url(assets/logo-fond.webp) center / cover no-repeat;
  box-shadow: inset 0 0 0 1.5px rgba(122, 90, 51, .32), 0 4px 10px -4px rgba(60, 40, 15, .5); }
.pc-tete-t { flex: 1; min-width: 0; }
.pc-doc { margin: 0; font-size: 21px; font-weight: 900; font-style: italic; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; }
.pc-poste { display: flex; align-items: center; gap: 6px; margin: 5px 0 0; font-size: 11px; font-weight: 700; letter-spacing: .18em; line-height: 1.2; text-transform: uppercase; color: var(--brun); }
.pc-poste i { font-size: 15px; }
/* Avancement : anneau discret */
.pc-anneau { position: relative; flex: none; display: grid; place-items: center; width: 42px; height: 42px; }
.pc-anneau svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.pc-anneau circle { fill: none; stroke-width: 3; }
.pc-anneau .f { stroke: var(--trait); }
.pc-anneau .v { stroke: var(--encre); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .7s var(--dz-ease), stroke .4s; }
.pc-anneau.is-plein .v { stroke: var(--vert); }
.pc-anneau b { font-size: 11px; font-weight: 800; font-style: italic; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pc-anneau b small { font-size: 8px; font-weight: 700; }

/* Pages */
.pc-page { border: 0; margin: 0; padding: 0; min-width: 0; }
.pc-titre { display: flex; align-items: center; gap: 12px; margin: 26px 0 24px; font-size: clamp(24px, 4.2cqi, 32px); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.pc-titre-n { flex: none; display: grid; place-items: center; width: 44px; height: 34px; background: var(--encre); color: var(--dz-acc); font-size: 15px; transform: skewX(-8deg); }
.pc-titre-n > span { transform: skewX(8deg); }
.pc-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 38px; }
.pc-champ { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pc-champ.is-large { grid-column: 1 / -1; }
.pc-champ.shake { animation: pc-secoue .45s; }
@keyframes pc-secoue { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
/* Repère rouge dans la marge quand un champ est à corriger */
.pc-champ::before { content: ""; position: absolute; left: -20px; top: 2px; bottom: 2px; width: 3px; border-radius: 2px; background: var(--rouge); transform: scaleY(0); transition: transform .4s var(--dz-ease); }
.pc-champ.is-error::before { transform: scaleY(1); }
.pc-label-l { display: flex; align-items: center; gap: 6px; min-height: 18px; }
.pc-label { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.45; text-transform: uppercase; color: var(--gris); transition: color .3s; }
.pc-fac { font-style: italic; font-weight: 600; letter-spacing: .04em; text-transform: none; color: rgba(104, 90, 73, .75); }
.pc-champ.is-error .pc-label { color: var(--rouge); }
/* Aide cachée derrière (?) : bulle à l'encre ; affichée aussi sous le champ en cas d'erreur */
.pc-q { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; margin: -3px 0; border-radius: 50%; color: var(--gris); font-size: 17px;
  transition: color .25s, background .25s, transform .45s var(--dz-ease); }
.pc-q:hover, .pc-champ.is-aide .pc-q { color: var(--encre); background: var(--surligneur); transform: rotate(-10deg); }
.pc-aide { display: none; margin: 0; font-size: 12.5px; line-height: 1.5; }
.pc-champ.is-aide .pc-aide { display: block; position: absolute; z-index: 8; top: 30px; left: -12px; width: min(330px, calc(100% + 24px)); padding: 11px 14px;
  background: var(--encre); color: #f3e9da; font-weight: 500; box-shadow: 0 18px 32px -12px rgba(0, 0, 0, .6); }
/* Flèche de la bulle, placée sous le (?) par le script (--dz-fleche) */
.pc-champ.is-aide .pc-aide::before { content: ""; position: absolute; top: -5px; left: var(--dz-fleche, 120px); width: 11px; height: 11px; background: inherit; rotate: 45deg; }
.pc-champ.is-error:not(.is-aide) .pc-aide { display: block; font-style: italic; color: var(--gris); }

/* Ligne de saisie : aucun effet quand on clique dedans (demande de l'utilisateur) ; le trait rouge ne sert qu'aux erreurs */
.dz-ligne { position: relative; display: block; }
.dz-ligne::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rouge); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.dz-ligne input, .dz-ligne textarea { position: relative; z-index: 1; display: block; width: 100%; height: 42px; padding: 10px 30px 6px 2px; border: 0; border-bottom: 1.5px solid var(--trait-fort); border-radius: 0;
  background: transparent; outline: 0; font-size: 16.5px; font-weight: 600; color: var(--encre); caret-color: var(--brun); }
/* Réponse courte en texte libre : la même ligne soulignée, mais Entrée passe à la ligne et la zone grandit avec la réponse
   (une ligne = 42 px, comme un champ simple ; repli JS « grandir » sans field-sizing) */
.dz-ligne textarea { height: auto; min-height: 42px; line-height: 24.5px; resize: none; overflow: hidden; field-sizing: content; }
.dz-ligne input::placeholder, .dz-ligne textarea::placeholder, .dz-ta textarea::placeholder { color: rgba(22, 19, 15, .34); font-weight: 500; font-style: italic; }
.dz-ligne input[type="number"] { -moz-appearance: textfield; }
.dz-ligne input::-webkit-inner-spin-button, .dz-ligne input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.dz-ok { position: absolute; z-index: 2; right: 0; bottom: 9px; font-size: 22px; color: var(--vert); opacity: 0; transform: scale(.4) rotate(-20deg); transition: opacity .3s, transform .5s cubic-bezier(.34, 1.56, .64, 1); pointer-events: none; }
.pc-champ.is-ok .dz-ok { opacity: 1; transform: none; }
.pc-champ.is-error .dz-ligne :is(input, textarea) { border-bottom-color: var(--rouge); }
.pc-champ.is-error .dz-ligne::after { background: var(--rouge); transform: scaleX(1); }
/* Texte long : papier ligné */
.dz-ta { position: relative; }
/* Barre rouge à gauche seulement en cas d'erreur (aucun effet au clic) */
.dz-ta::before { content: ""; position: absolute; left: -14px; top: 0; bottom: 0; width: 3px; border-radius: 2px; background: var(--rouge); transform: scaleY(0); transform-origin: top; }
/* La zone grandit avec la réponse (4 lignes minimum) : pas de texte caché derrière un défilement interne */
.dz-ta textarea { display: block; width: 100%; min-height: 120px; padding: 0 2px; border: 0; border-radius: 0; outline: 0; resize: vertical; field-sizing: content;
  background: linear-gradient(transparent 29px, rgba(22, 19, 15, .22) 29px) 0 0 / 100% 30px local;
  line-height: 30px; font-size: 15.5px; font-weight: 500; color: var(--encre); caret-color: var(--brun); }
.pc-champ.is-error .dz-ta textarea { background-image: linear-gradient(transparent 29px, rgba(163, 41, 29, .45) 29px); }
.pc-champ.is-error .dz-ta::before { background: var(--rouge); transform: scaleY(1); }
.dz-compte { display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--gris); font-variant-numeric: tabular-nums; }
.dz-compte-b { width: 64px; height: 3px; background: var(--trait); overflow: hidden; }
.dz-compte-b i { display: block; height: 100%; background: var(--encre); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--dz-ease), background .3s; }
.dz-compte.is-ok { color: var(--vert); }
.dz-compte.is-ok .dz-compte-b i { background: var(--vert); }
/* Question du cas pratique : bloc imprimé à l'encre */
.dz-cas { margin: 2px 0 6px; padding: 16px 18px; background: var(--encre); color: #f3e9da; font-size: 14.5px; font-weight: 600; font-style: italic; line-height: 1.6; box-shadow: 6px 6px 0 rgba(22, 19, 15, .14); }
/* Cases à cocher dessinées */
.dz-cases { display: flex; flex-wrap: wrap; gap: 12px 22px; padding-top: 4px; }
.dz-case, .pc-certif { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.dz-case input, .pc-certif input, .dz-note-b input, .dz-grille-c input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.dz-box { position: relative; flex: none; width: 20px; height: 20px; border: 1.8px solid var(--encre); border-radius: 2px; transition: background .25s, border-color .25s; }
.is-rond .dz-box { border-radius: 50%; }
.dz-box svg { position: absolute; left: -2px; top: -7px; width: 27px; height: 27px; overflow: visible; }
.dz-box path { fill: none; stroke: var(--encre); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .38s var(--dz-ease); }
.pc input:checked + .dz-box path { stroke-dashoffset: 0; }
.dz-case:hover .dz-box, .pc-certif:hover .dz-box { background: var(--surligneur); }
.pc input:focus-visible + .dz-box { outline: 2px solid var(--encre); outline-offset: 3px; }
.dz-case-t { font-size: 14.5px; font-weight: 600; color: var(--encre-2); background: linear-gradient(transparent 58%, var(--surligneur) 58%) 0 0 / 0% 100% no-repeat; transition: background-size .45s var(--dz-ease), color .25s; }
.pc input:checked ~ .dz-case-t { color: var(--encre); font-weight: 700; background-size: 100% 100%; }
.pc-champ.is-error .dz-box { border-color: var(--rouge); }
/* Note de 1 à 5 : le chiffre choisi est entouré au stylo */
.dz-note { display: grid; grid-template-columns: auto auto auto; align-items: center; justify-content: start; gap: 6px 14px; }
.dz-note-r { display: flex; gap: 6px; }
.dz-note-b { position: relative; display: grid; place-items: center; width: 48px; height: 40px; cursor: pointer; }
.dz-note-b > span { font-size: 20px; font-weight: 800; font-style: italic; color: rgba(22, 19, 15, .5); transition: color .25s, transform .35s var(--dz-ease); }
.dz-note-b:hover > span { color: var(--encre); transform: translateY(-2px); }
.dz-note-b input:checked ~ span { color: var(--encre); }
.dz-note-b input:focus-visible ~ span { outline: 2px solid var(--encre); outline-offset: 6px; }
.dz-cercle { position: absolute; left: -3px; top: -2px; width: calc(100% + 6px); height: calc(100% + 4px); overflow: visible; pointer-events: none; }
.dz-cercle path { fill: none; stroke: var(--encre); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .55s var(--dz-ease); }
.dz-note-b input:checked ~ .dz-cercle path { stroke-dashoffset: 0; }
.pc-champ.is-error .dz-cercle path { stroke: var(--rouge); }
.pc-champ.is-error .dz-note-b > span { color: rgba(163, 41, 29, .7); }
.dz-note-l { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.dz-err { display: none; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; font-weight: 700; color: var(--rouge); }
.dz-err i { font-size: 16px; }
.pc-champ.is-error .dz-err { display: flex; animation: pc-err-in .4s var(--dz-ease) both; }
@keyframes pc-err-in { from { opacity: 0; transform: translateY(-4px); } }

/* Vérification : une ligne courte par étape (crayon pour modifier), certification, signature */
.pc-recap { display: flex; flex-direction: column; margin-bottom: 24px; border-top: 1.5px solid var(--encre); }
.pc-recap-s { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--trait-fort); }
.pc-recap-h { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.pc-recap-h i { font-size: 16px; color: var(--brun); }
.pc-recap-v { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--encre-2); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-modif { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 17px; color: var(--brun); transition: color .25s, background .25s, transform .4s var(--dz-ease); }
.pc-modif:hover { color: var(--encre); background: var(--surligneur); transform: rotate(-14deg); }
.pc-certif { align-items: flex-start; gap: 14px; font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.pc-certif .dz-box { width: 24px; height: 24px; margin-top: -1px; }
.pc-certif .dz-box svg { left: -1px; top: -6px; width: 30px; height: 30px; }
.pc-signature { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 20px; margin-top: 22px; }
.pc-signature > div { flex: 0 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pc-signature > div > span, .pc-signature time { font-size: 9.5px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--gris); }
.pc-signature b { min-height: 40px; display: flex; align-items: flex-end; padding-bottom: 4px; border-bottom: 1.5px solid var(--trait-fort); overflow: hidden; }
/* Signature en Pirata One : gothique mais lisible ; la marge basse garde les jambages (p, q, g) dans la ligne */
.pc-signe { min-width: 0; max-width: 100%; padding: 2px 4px 2px 0; overflow: hidden; text-overflow: ellipsis;
  font-family: var(--dz-font-signe); font-size: 28px; font-weight: 400; font-style: normal; line-height: 1.12; letter-spacing: .02em; text-transform: none;
  white-space: nowrap; clip-path: inset(0 100% 0 0); }
.pc-page.is-active .pc-signe { animation: pc-signer 1.5s cubic-bezier(.6, .1, .3, 1) .7s forwards; }
@keyframes pc-signer { to { clip-path: inset(0 0 0 0); } }

/* Navigation de la feuille */
.pc-nav { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding-top: 22px; border-top: 1.5px dashed var(--trait-fort); }
.dz-save { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 700; font-style: italic; color: var(--vert);
  opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .5s var(--dz-ease); }
.dz-save i { font-size: 16px; }
.dz-save.is-on { opacity: 1; transform: none; }
.dz-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px;
  font-size: 13.5px; font-weight: 800; font-style: italic; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transform: skewX(-8deg); transition: transform .5s var(--dz-ease), background .3s, color .3s, box-shadow .4s, border-color .3s, opacity .3s; }
.dz-btn > * { transform: skewX(8deg); transition: transform .45s var(--dz-ease); }
.dz-btn i { font-size: 20px; }
.dz-btn-encre { background: var(--encre); color: var(--dz-acc); box-shadow: 6px 6px 0 rgba(22, 19, 15, .16); }
.dz-btn-encre:hover { transform: skewX(-8deg) translate(-2px, -2px); box-shadow: 9px 9px 0 rgba(22, 19, 15, .22); }
.dz-btn-trait { border: 2px solid var(--encre); color: var(--encre); }
.dz-btn-trait:hover { background: var(--encre); color: var(--dz-acc); }
.dz-btn:hover > .bx-right-arrow-alt, .dz-btn:hover > .bx-send { transform: skewX(8deg) translateX(4px); }
.dz-btn:hover > .bx-left-arrow-alt { transform: skewX(8deg) translateX(-4px); }
.dz-btn:disabled { pointer-events: none; }
.dz-btn.is-loading { opacity: .88; }
.pc-suivant { margin-left: auto; }
.pc-suivant.is-envoi { box-shadow: 6px 6px 0 rgba(140, 104, 58, .35); }

/* ---------- Tampon « REÇU » / « FERMÉ » (placé par le script au centre de sa zone) ---------- */
.dz-tampon { position: absolute; z-index: 6; left: 0; top: 0; width: 272px; rotate: -12deg; color: #7d5731; mix-blend-mode: multiply; pointer-events: none; }
.dz-tampon.is-ferme { color: #a3291d; }
/* Encre irrégulière : grain en masque, pleine dans l'ensemble avec quelques manques */
.dz-encre { position: relative; display: block; padding: 12px 16px 14px; border: 5px solid currentColor; border-radius: 12px; text-align: center; opacity: .9;
  -webkit-mask: var(--grain) 0 0 / 260px 260px repeat; mask: var(--grain) 0 0 / 260px 260px repeat;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.5' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -3.4 0 0 0 2.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.dz-encre::before { content: ""; position: absolute; inset: 4px; border: 2px solid currentColor; border-radius: 7px; }
.dz-tampon-h { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; }
.dz-tampon-h .dz-couronne { width: 22px; }
.dz-encre b { display: block; margin: 0 0 4px; font-size: 86px; font-weight: 900; font-style: italic; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.dz-tampon.is-ferme .dz-encre b { padding: 6px 0 4px; font-size: 60px; }
.dz-encre small { display: block; padding-top: 6px; border-top: 2px solid currentColor; font-size: 11px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.dz-onde { position: absolute; inset: -10px; border: 3px solid currentColor; border-radius: 18px; opacity: 0; }
.dz-goutte { position: absolute; border-radius: 50%; background: currentColor; opacity: 0; }

/* Écran final : candidature envoyée / poste fermé */
.pc-fini { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 38%); align-items: center; gap: 24px; padding: 30px 0 8px; }
.pc-fini-place { min-height: 230px; }
.pc-fini-t { margin: 0 0 16px; font-size: clamp(32px, 6.4cqi, 54px); font-weight: 900; font-style: italic; line-height: 1.14; letter-spacing: -.03em; text-transform: uppercase; outline: 0; }
.pc .pc-fini-t { outline: 0; }
.pc-fini-p { max-width: 420px; margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--encre-2); }
.pc-fini-b { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.pc-lien { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; font-size: 13px; font-weight: 800; font-style: italic; letter-spacing: .04em; text-transform: uppercase;
  background: linear-gradient(var(--encre), var(--encre)) 0 100% / 100% 2px no-repeat; transition: background-size .45s var(--dz-ease), color .3s; }
.pc-lien:hover { background-size: 0 2px; background-position: 100% 100%; color: var(--brun); }
/* Bande beige derrière un mot, posée au feutre */
.dz-hl { position: relative; display: inline-block; padding: 0 .14em; isolation: isolate; }
.dz-hl::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: .02em; bottom: .02em; background: linear-gradient(180deg, #e8cba2, #d9b685);
  transform: skewX(-8deg) scaleX(0); transform-origin: left; transition: transform .9s var(--dz-ease) .15s; }
.dz-hl.is-in::before { transform: skewX(-8deg) scaleX(1); }
.pc.is-ferme .pc-onglet { opacity: .6; }

/* ---------- Fiche de poste trombonée sur le coin gauche du dossier ---------- */
.pc-fiche { position: absolute; z-index: 6; top: 40px; right: calc(100% - 18px); width: 206px; rotate: -2.5deg; }
.pc-fiche-carte { position: relative; padding: 8px 8px 12px; background: #f8f3eb; color: var(--encre); transform-origin: 80% 0;
  box-shadow: 0 24px 36px -16px rgba(0, 0, 0, .85), 0 2px 4px rgba(0, 0, 0, .2); }
.pc-trombone { position: absolute; z-index: 3; top: 18px; right: -30px; width: 80px; height: 23px; overflow: visible; filter: drop-shadow(0 2px 1.5px rgba(0, 0, 0, .4)); }
.pc-trombone path { fill: none; stroke: url(#pc-acier); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.pc-fiche-photo { display: block; aspect-ratio: 4 / 3; background: #2a2622 var(--img) var(--pos) / var(--size) no-repeat; filter: saturate(.85) contrast(1.05) sepia(.08); }
.pc-fiche-photo.dz-trame::after { opacity: .28; }
.pc-fiche-id { padding: 11px 3px 0; }
.pc-fiche-nom { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 16px; font-weight: 900; font-style: italic; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.pc-fiche-nom > i { flex: none; font-size: 18px; color: var(--brun); }
.pc-fiche-nom .dz-pulse { margin-left: 2px; }
/* Bouton de la fiche : ouverte, il porte le titre (« Conditions requises » / « Le poste ») et replie ;
   repliée, il dit clairement ce qu'il montre (« Voir les conditions requises ») */
.pc-fiche-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 6px; min-height: 38px; margin-top: 12px; padding: 7px 10px 7px 12px;
  background: var(--encre); color: var(--dz-acc); font-size: 10.5px; font-weight: 800; font-style: italic; line-height: 1.25; letter-spacing: .04em; text-align: left; text-transform: uppercase;
  transform: skewX(-8deg); transition: background .3s, color .3s, transform .5s var(--dz-ease), box-shadow .4s; box-shadow: 4px 4px 0 rgba(22, 19, 15, .14); }
.pc-fiche-btn > * { transform: skewX(8deg); }
.pc-fiche-btn i { flex: none; font-size: 19px; transition: transform .5s var(--dz-ease); }
.pc-fiche-btn:hover { transform: skewX(-8deg) translate(-1px, -1px); box-shadow: 6px 6px 0 rgba(22, 19, 15, .2); }
.pc-fiche.is-open .pc-fiche-btn { background: var(--dz-beige); color: var(--encre); }
.pc-fiche.is-open .pc-fiche-btn i { transform: skewX(8deg) rotate(180deg); }
.pc-fiche-plus { height: 0; overflow: hidden; }
.pc-fiche-in { display: flex; flex-direction: column; gap: 14px; padding: 16px 3px 2px; }
.pc-fiche-in h3 { margin: 0 0 7px; font-size: 9.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--brun); }
.pc-fiche-in ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pc-fiche-in li { display: flex; gap: 7px; font-size: 13px; font-weight: 600; line-height: 1.35; }
.pc-fiche-in li i { flex: none; margin-top: 1px; font-size: 15px; color: var(--brun); }

/* Fiche longue (conditions requises et attentes du poste) : texte un peu plus serré */
.pc-fiche.is-longue .pc-fiche-in { gap: 16px; }
.pc-fiche.is-longue .pc-fiche-in li { font-size: 12.5px; line-height: 1.4; }

/* ---------- Six intercalaires (questionnaire complet) : plus serrés pour tenir sur le bord ---------- */
.pc.is-long { --tab: 172px; }
.pc.is-long .pc-onglets { gap: 7px; }
.pc.is-long .pc-onglet { height: 56px; padding-left: calc(var(--tuck) + 18px); }
.pc.is-long .pc-pastille { width: 30px; height: 30px; font-size: 16px; }
/* La feuille garde la hauteur des six intercalaires, même sur une page courte (navigation en bas) */
.pc.is-long .pc-feuille { display: flex; flex-direction: column; min-height: 446px; }
.pc.is-long .pc-pages { flex: 1 0 auto; }

/* ---------- Questionnaire complet : questions lisibles, sections, note, pièce jointe, grille ---------- */
.pc.is-questionnaire .pc-grille { gap: 30px 40px; }
.pc.is-questionnaire .pc-label { font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.45; text-transform: none; color: var(--encre-2); }
.pc.is-questionnaire .pc-fac { font-size: 13px; }
.pc.is-questionnaire .pc-champ.is-error .pc-label { color: var(--rouge); }
.pc.is-questionnaire .dz-ligne input { height: 38px; padding-top: 6px; }
.pc.is-questionnaire .dz-ligne textarea { min-height: 38px; padding-top: 6px; }
/* Sections : espacées, titre court à l'encre suivi d'un filet ; une suite sans titre est séparée par un pointillé */
.pc-sec + .pc-sec > .pc-sec-in { padding-top: 34px; }
.pc-sec-in.is-suite::before { content: ""; display: block; margin-bottom: 30px; border-top: 1.5px dashed var(--trait-fort); }
.pc-sec-t { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-size: 13px; font-weight: 900; font-style: italic; letter-spacing: .07em; line-height: 1.25; text-transform: uppercase; }
.pc-sec-t::before { content: ""; flex: none; width: 16px; height: 6px; background: var(--encre); transform: skewX(-8deg); }
.pc-sec-t::after { content: ""; flex: 1; min-width: 24px; height: 1.5px; background: var(--trait-fort); }
/* Note d'information (ex. délai de 14 jours) */
.pc-note { display: flex; gap: 12px; max-width: 720px; margin: -6px 0 28px; padding: 13px 18px 13px 15px; border-left: 3px solid var(--brun);
  background: rgba(255, 252, 246, .55); box-shadow: inset 0 0 0 1px var(--trait); font-size: 13.5px; font-weight: 500; line-height: 1.65; color: var(--encre-2); }
.pc-note i { flex: none; margin-top: 2px; font-size: 19px; color: var(--brun); }
/* Information importante (étape « Envoi », juste avant la certification) : avertissement sobre, texte en italique */
.pc-info { display: flex; gap: 13px; margin: 0 0 24px; padding: 14px 18px 15px 15px; border-left: 3px solid var(--rouge);
  background: rgba(163, 41, 29, .05); box-shadow: inset 0 0 0 1px rgba(163, 41, 29, .16); }
.pc-info > i { flex: none; margin-top: 1px; font-size: 20px; color: var(--rouge); }
.pc-info-t { margin: 0 0 5px; font-size: 12.5px; font-weight: 900; font-style: italic; letter-spacing: .07em; line-height: 1.3; text-transform: uppercase; color: var(--encre); }
.pc-info-p { margin: 0; font-size: 13.5px; font-weight: 500; font-style: italic; line-height: 1.65; color: var(--encre-2); }

/* Pièce jointe : zone de dépôt, puis aperçu de l'image */
.dz-fichier { display: flex; flex-direction: column; gap: 10px; }
.dz-depot { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1.8px dashed var(--trait-fort); border-radius: 4px; cursor: pointer;
  background: rgba(255, 252, 246, .35); transition: background .3s, border-color .3s; }
.dz-depot:hover, .dz-depot.is-survol { background: var(--surligneur); border-color: var(--encre); }
.dz-depot > i { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--encre); color: var(--dz-acc); font-size: 23px;
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.dz-depot:hover > i, .dz-depot.is-survol > i { transform: translateY(-3px) rotate(-8deg); }
.dz-depot-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dz-depot-t b { font-size: 15px; font-weight: 800; font-style: italic; line-height: 1.3; }
.dz-depot-t span { font-size: 12.5px; font-weight: 500; line-height: 1.45; color: var(--gris); }
.dz-fichier-btn { flex: none; height: 44px; padding: 0 18px; font-size: 12px; }
.dz-fichier-btn i { font-size: 18px; }
.pc-champ.is-error .dz-depot { border-color: var(--rouge); }
/* Image en préparation (allégée dans le navigateur) : la zone attend la fin */
.is-prepa .dz-depot { pointer-events: none; }
.is-prepa .dz-fichier-btn { opacity: .88; }
.dz-apercu { display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 12px; border: 1.5px solid var(--trait-fort); border-radius: 4px; background: rgba(255, 252, 246, .5); }
.dz-vignette { flex: none; display: block; width: 104px; aspect-ratio: 4 / 3; padding: 4px; background: #fbf7f0; rotate: -2.5deg; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .15); }
.dz-vignette img { width: 100%; height: 100%; object-fit: cover; }
.dz-apercu-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dz-nom { overflow: hidden; font-size: 14.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.dz-poids { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--gris); font-variant-numeric: tabular-nums; }
.dz-poids i { font-size: 16px; color: var(--vert); }
.dz-rejoindre { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 9px 12px; border-left: 3px solid #b8691c; background: rgba(245, 160, 60, .14);
  font-size: 13px; font-weight: 600; line-height: 1.5; color: #7a4512; }
.dz-rejoindre i { flex: none; margin-top: 1px; font-size: 17px; }

/* Grille des disponibilités : jours × créneaux, cases dessinées */
.dz-grille { display: flex; flex-direction: column; border-top: 1.5px solid var(--encre); }
.dz-grille-h, .dz-grille-l { display: grid; grid-template-columns: minmax(92px, 1.1fr) repeat(4, minmax(0, 1fr)); align-items: center; }
.dz-grille-h { padding: 10px 0 9px; border-bottom: 1px solid var(--trait-fort); }
.dz-grille-h > span { display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center; }
.dz-grille-h b { font-size: 11.5px; font-weight: 800; font-style: italic; letter-spacing: .06em; text-transform: uppercase; }
.dz-grille-h small { font-size: 10.5px; font-weight: 600; color: var(--gris); font-variant-numeric: tabular-nums; }
.dz-grille-l { border-bottom: 1px dashed var(--trait-fort); transition: background .25s; }
.dz-grille-l:hover { background: rgba(222, 189, 145, .22); }
.dz-grille-j { padding-left: 4px; font-size: 14px; font-weight: 700; color: var(--encre-2); transition: color .25s; }
.dz-grille-l:has(input:checked) .dz-grille-j { color: var(--encre); }
.dz-grille-c { position: relative; display: grid; place-items: center; height: 42px; cursor: pointer; }
.dz-grille-c:hover .dz-box { background: var(--surligneur); }
.dz-grille-p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Feuille : adaptation à sa propre largeur ---------- */
@container dz-feuille (max-width: 600px) {
  .pc-grille { grid-template-columns: 1fr; gap: 26px; }
  .pc-recap-s { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .pc-recap-v { grid-column: 1; }
  .pc-modif { grid-column: 2; grid-row: 1 / 3; }
  .pc-fini { grid-template-columns: 1fr; gap: 0; padding-top: 12px; }
  .pc-fini-place { order: -1; min-height: 172px; }
  .pc.is-questionnaire .pc-grille { gap: 28px; }
}
/* Grille sur petite feuille : une ligne par jour, quatre puces */
@container dz-feuille (max-width: 480px) {
  .dz-grille { gap: 14px; border-top: 0; }
  .dz-grille-h { display: none; }
  .dz-grille-l { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px 5px; border: 0; }
  .dz-grille-l:hover { background: none; }
  .dz-grille-j { grid-column: 1 / -1; padding: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
  .dz-grille-l:has(input:checked) .dz-grille-j { color: var(--encre); }
  .dz-grille-c { height: 46px; border: 1.5px solid var(--trait-fort); border-radius: 3px; transition: background .25s, border-color .25s; }
  .dz-grille-c .dz-box { display: none; }
  .dz-grille-p { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: flex; flex-direction: column; align-items: center; gap: 1px; line-height: 1.15; text-align: center; }
  .dz-grille-p b { font-size: 11.5px; font-weight: 700; letter-spacing: -.01em; color: var(--encre-2); }
  .dz-grille-p small { font-size: 9.5px; font-weight: 600; color: var(--gris); font-variant-numeric: tabular-nums; }
  .dz-grille-c:hover { background: var(--surligneur); }
  .dz-grille-c:has(input:checked) { background: var(--encre); border-color: var(--encre); }
  .dz-grille-c:has(input:checked) b { color: var(--dz-acc); }
  .dz-grille-c:has(input:checked) small { color: rgba(236, 211, 177, .7); }
  .dz-grille-c:has(input:focus-visible) { outline: 2px solid var(--encre); outline-offset: 2px; }
  .pc-champ.is-error .dz-grille-c { border-color: rgba(163, 41, 29, .55); }
  .dz-depot { flex-wrap: wrap; padding: 14px; gap: 12px 14px; }
  .dz-fichier-btn { flex: 1 1 100%; }
  .dz-apercu { gap: 12px; }
  .dz-vignette { width: 78px; }
  .pc-note { padding: 12px 14px 12px 12px; font-size: 13px; }
  .pc-info { gap: 11px; padding: 12px 14px 13px 12px; }
  .pc-info-p { font-size: 13px; }
}
@container dz-feuille (max-width: 440px) {
  .pc-doc { font-size: 17px; }
  .pc-poste { font-size: 10px; letter-spacing: .14em; }
  .pc-macaron { width: 40px; height: 40px; }
  .pc-titre { margin: 22px 0 22px; }
  .pc-champ::before { left: -12px; }
  .dz-ta::before { left: -10px; }
  .dz-note { grid-template-columns: auto auto; }
  .dz-note-r { grid-column: 1 / -1; order: -1; }
  .dz-note-b { width: 46px; }
  .dz-note-l:last-child { justify-self: end; margin-right: 4px; }
  .dz-cases { gap: 12px 18px; }
  /* Quatre réponses courtes (5h00 … 20h+) : elles tiennent sur une ligne, sans « 20h+ » seul en dessous */
  .pc.is-questionnaire .dz-cases { gap: 12px 13px; }
  .pc.is-questionnaire .dz-case { gap: 8px; }
  .pc-nav { flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .dz-save { order: -1; flex: 1 1 100%; justify-content: flex-start; }
  .pc-nav .dz-btn { flex: 1 1 auto; padding: 0 18px; }
  .pc-retour { flex: 0 1 auto !important; }
  .pc-signature { flex-wrap: wrap; }
  .pc-fini-b .dz-btn { flex: 1 1 100%; }
  .pc-fini-b { justify-content: center; }
}

/* ---------- Dossier moyen : la fiche passe au-dessus, les intercalaires gardent juste leur pastille ---------- */
@container dz-rec (max-width: 999px) {
  .pc { --tab: 56px; width: calc(100% - 70px); margin-left: 0; }
  .pc-onglet { padding: 0 0 0 calc(var(--tuck) + 20px); height: 58px; }
  .pc-onglet-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pc-onglet.is-active { transform: translateX(6px); }
  .pc-fiche { position: relative; top: auto; right: auto; width: auto; max-width: 560px; margin: 0 0 24px 6px; rotate: -1deg; }
  .pc-fiche-carte { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 0 16px; padding: 8px; }
  .pc-fiche-photo { aspect-ratio: 7 / 9; background-position: var(--pos-m); background-size: var(--size-m); }
  .pc-fiche-id { align-self: center; padding: 0; }
  .pc-fiche-btn { width: auto; display: inline-flex; gap: 10px; margin-top: 10px; padding: 7px 14px; font-size: 11.5px; letter-spacing: .06em; }
  .pc-fiche-plus { grid-column: 1 / -1; }
  .pc-fiche-in { flex-direction: row; gap: 24px; padding: 14px 6px 4px; }
  .pc-fiche-in > div { flex: 1; min-width: 0; }
  /* Trombone vertical, pincé sur le bord haut de la carte, à droite de la photo */
  .pc-trombone { top: -16px; right: 26px; width: 70px; rotate: 90deg; translate: 0 -10px; }
  .pc.is-long { --tab: 56px; }
  .pc.is-long .pc-onglets { gap: 6px; }
  .pc.is-long .pc-onglet { height: 50px; padding-left: calc(var(--tuck) + 18px); }
  .pc.is-long .pc-feuille { min-height: 420px; }
}
/* ---------- Téléphone : les intercalaires passent en haut, en petites languettes ---------- */
@container dz-rec (max-width: 639px) {
  .pc { width: 100%; }
  .pc-rail { position: relative; inset: auto; width: auto; height: 46px; padding: 0 8px; pointer-events: auto; }
  .pc-onglets { position: static; flex-direction: row; align-items: flex-start; gap: 5px; }
  .pc-onglets li { flex: 0 0 auto; }
  .pc-onglets li:has(> .is-active) { flex: 1 1 auto; min-width: 0; }
  .pc-onglet { width: 100%; height: 54px; padding: 0 10px; align-items: flex-start; padding-top: 7px; gap: 8px; border-radius: 10px 10px 0 0; transform: translateY(10px);
    background: linear-gradient(180deg, transparent 50%, rgba(60, 40, 15, .2)), var(--k, #d4b68c); }
  .pc-onglet::before { background: linear-gradient(180deg, #f3dfc2, #e2c39b); }
  .pc-onglet.is-active { transform: translateY(0); }
  .pc-onglet.is-done:not(:disabled):hover { transform: translateY(6px); }
  .pc-onglet.is-active .pc-onglet-t { position: relative; width: auto; height: auto; overflow: visible; clip: auto; flex-direction: row; align-items: baseline; gap: 7px; padding-top: 7px; }
  .pc-pastille { width: 30px; height: 30px; font-size: 16px; }
  .pc-chemise { top: 36px; left: -6px; right: -6px; bottom: -14px; rotate: -.3deg; }
  .pc-pile::before { rotate: .35deg; translate: 4px 5px; }
  .pc-pile::after { rotate: -.2deg; translate: -3px 5px; }
  .pc-feuille { padding: 24px 18px 22px; }
  .pc-fiche { margin: 0 4px 24px; rotate: -.8deg; }
  .pc-fiche-carte { grid-template-columns: 62px minmax(0, 1fr); gap: 0 12px; }
  .pc-fiche-nom { font-size: 15px; }
  /* Fiche ouverte au-dessus du dossier : listes serrées, le dossier n'est pas repoussé trop loin */
  .pc-fiche-in { flex-direction: column; gap: 12px; padding: 12px 4px 2px; }
  .pc-fiche-in h3 { margin-bottom: 6px; }
  .pc-fiche-in ul { gap: 4px; }
  .pc-fiche-in li, .pc-fiche.is-longue .pc-fiche-in li { gap: 6px; font-size: 12.5px; line-height: 1.32; }
  .pc-fiche-in li i { margin-top: 0; font-size: 14px; }
  .pc-tape { display: none; }
  .dz-tampon { width: 212px; }
  .dz-encre { padding: 9px 12px 10px; border-width: 4px; }
  .dz-tampon-h { font-size: 10px; letter-spacing: .2em; }
  .dz-encre b { font-size: 62px; }
  .dz-tampon.is-ferme .dz-encre b { padding: 4px 0 3px; font-size: 45px; }
  .dz-encre small { font-size: 8.5px; letter-spacing: .14em; }
  .pc { padding-bottom: 22px; }
  /* Six languettes : celles qui attendent ne gardent que leur pastille, l'ouverte affiche son nom */
  .pc.is-long .pc-rail { padding: 0 4px; }
  .pc.is-long .pc-onglets { gap: 4px; }
  .pc.is-long .pc-onglet { height: 54px; padding: 8px 5px 0; gap: 6px; }
  .pc.is-long .pc-onglet.is-active { padding: 8px 9px 0 7px; }
  .pc.is-long .pc-pastille { width: 25px; height: 25px; font-size: 14px; border-width: 1.3px; }
  .pc.is-long .pc-coche { top: -4px; right: -5px; width: 14px; height: 14px; font-size: 12px; }
  .pc.is-long .pc-onglet.is-active .pc-onglet-t { padding-top: 5px; }
  .pc.is-long .pc-onglet.is-active .pc-onglet-t small { display: none; }
  .pc.is-long .pc-onglet-t b { font-size: 11.5px; }
  .pc.is-long .pc-feuille { min-height: 0; }
}
@media (max-width: 700px) {
  .dz-rec { padding-bottom: 110px; }
}

/* ======================================================================
   COMPTE DISCORD (compte.js) : bloc du dossier, bandeau « candidature en cours », messages d'erreur à l'envoi
   ====================================================================== */
/* Bouton Discord : la couleur de Discord, la forme des boutons du dossier */
.dz-btn-discord { background: #5865f2; color: #fff; box-shadow: 5px 5px 0 rgba(88, 101, 242, .26); }
.dz-btn-discord:hover { transform: skewX(-8deg) translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(88, 101, 242, .32); }
.dz-btn-discord i { font-size: 21px; }
/* Bloc « Compte Discord » : identité non modifiable, ou bouton de connexion */
.dz-discord { display: flex; flex-direction: column; gap: 10px; }
.dz-discord .dz-btn { height: 44px; padding: 0 18px; font-size: 12px; }
.dz-discord .dz-btn i { font-size: 19px; }
.dz-dc-carte { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 11px 14px 11px 12px;
  border: 1.5px solid var(--trait-fort); border-radius: 4px; background: rgba(255, 252, 246, .5); }
.dz-dc-carte.is-ok { border-left: 3px solid var(--vert); }
.dz-dc-carte.is-attente { color: var(--gris); }
.dz-dc-carte.is-attente > i { font-size: 20px; }
.dz-dc-ident { display: flex; align-items: center; gap: 13px; min-width: 0; }
.dz-dc-ava { position: relative; flex: none; width: 48px; height: 48px; }
.dz-dc-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #d8cbb5; box-shadow: 0 0 0 2px #fbf7f0, 0 6px 12px -6px rgba(0, 0, 0, .5); }
.dz-dc-ava.is-vide { border-radius: 50%; background: linear-gradient(90deg, #e2d7c4, #efe6d8, #e2d7c4) 0 0 / 200% 100%; animation: dz-vide 1.2s linear infinite; }
@keyframes dz-vide { to { background-position: -200% 0; } }
.dz-dc-ava > i { position: absolute; right: -4px; bottom: -3px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #5865f2; color: #fff; font-size: 13px; box-shadow: 0 0 0 2px #f3ebdf; }
.dz-dc-nom { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.dz-dc-nom b { overflow: hidden; font-size: 15.5px; font-weight: 800; font-style: italic; text-overflow: ellipsis; white-space: nowrap; }
.dz-dc-nom span { overflow: hidden; font-size: 13px; font-weight: 600; color: var(--encre-2); text-overflow: ellipsis; white-space: nowrap; }
.dz-dc-nom small { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--gris); font-variant-numeric: tabular-nums; }
.dz-dc-changer { flex: none; font-size: 11.5px; }
.dz-dc-etat { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; font-weight: 700; color: var(--vert); }
.dz-dc-etat i { font-size: 17px; }
.dz-dc-alerte { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-left: 3px solid #b8691c; background: rgba(245, 160, 60, .14); color: #7a4512; }
.dz-dc-alerte > i { flex: none; margin-top: 1px; font-size: 19px; }
.dz-dc-alerte > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 13.5px; line-height: 1.5; }
.dz-dc-alerte b { font-weight: 800; color: #5e340c; }
.dz-dc-b { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 10px; }
.dz-dc-alerte .dz-btn-trait { border-color: #7a4512; color: #7a4512; }
.dz-dc-alerte .dz-btn-trait:hover { background: #7a4512; color: #fbf1e3; }
.dz-dc-connexion { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px 16px; border: 1.8px dashed var(--trait-fort); border-radius: 4px; background: rgba(255, 252, 246, .35); }
.dz-dc-connexion p { flex: 1 1 220px; margin: 0; font-size: 13.5px; font-weight: 500; line-height: 1.5; color: var(--encre-2); }
.pc-champ.is-error .dz-dc-connexion, .pc-champ.is-error .dz-dc-carte { border-color: var(--rouge); }
.dz-btn.is-loading { pointer-events: none; }

/* Bandeau au-dessus du dossier : une candidature à ce poste est déjà en cours d'examen */
.dz-bandeau { position: relative; display: flex; align-items: center; gap: 14px; width: min(980px, 100% - 2 * 176px); margin: 0 auto 34px; padding: 13px 18px 13px 20px;
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 3px; background: rgba(14, 13, 12, .62); color: #f6f1ea;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dz-bandeau::before { content: ""; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--dz-acc); }
.dz-bandeau > i { flex: none; font-size: 24px; color: var(--dz-acc); }
.dz-bandeau p { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(246, 241, 234, .75); }
.dz-bandeau b { font-size: 13px; font-weight: 800; font-style: italic; text-transform: uppercase; color: #f6f1ea; }
.dz-bandeau-l { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--dz-acc); white-space: nowrap; }
.dz-bandeau-l i { font-size: 19px; transition: transform .45s var(--dz-ease); }
.dz-bandeau-l:hover i { transform: translateX(4px); }
@container dz-rec (max-width: 999px) { .dz-bandeau { width: calc(100% - 70px); margin-left: 0; } }
@container dz-rec (max-width: 639px) {
  .dz-bandeau { width: 100%; flex-wrap: wrap; margin-bottom: 26px; }
  .dz-bandeau p { flex-basis: calc(100% - 40px); }
  .dz-bandeau-l { margin-left: 38px; }
}

/* Message d'erreur à l'envoi (au-dessus du bouton « Envoyer ma candidature ») */
.pc-alerte { display: flex; gap: 13px; margin-top: 26px; padding: 15px 18px 16px 15px; border-left: 3px solid var(--rouge);
  background: rgba(163, 41, 29, .06); box-shadow: inset 0 0 0 1px rgba(163, 41, 29, .18); }
.pc-alerte > i { flex: none; margin-top: 1px; font-size: 21px; color: var(--rouge); }
.pc-alerte > div { min-width: 0; }
.pc-alerte-t { display: block; font-size: 13px; font-weight: 900; font-style: italic; letter-spacing: .05em; line-height: 1.3; text-transform: uppercase; }
.pc-alerte-p { margin: 4px 0 0; font-size: 14px; font-weight: 500; line-height: 1.6; color: var(--encre-2); }
.pc-alerte-b { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 12px; }
.pc-alerte-b .dz-btn { height: 44px; padding: 0 18px; font-size: 12px; }
.pc-alerte-b .dz-btn i { font-size: 19px; }
.pc-alerte.is-ok { border-left-color: var(--vert); background: rgba(44, 106, 60, .07); box-shadow: inset 0 0 0 1px rgba(44, 106, 60, .2); }
.pc-alerte.is-ok > i { color: var(--vert); }

/* ======================================================================
   LECTURE (espace staff) : le dossier reçu, sur le même papier, réponses en clair
   ====================================================================== */
.dz-lu {
  --dz-acc: #ecd3b1; --dz-beige: linear-gradient(180deg, #f3dfc2, #e2c39b);
  --dz-ease: cubic-bezier(.22, 1, .36, 1);
  --dz-font: 'Poppins', system-ui, sans-serif;
  --dz-font-signe: 'Pirata One', Georgia, 'Times New Roman', serif;
  container: dz-lu / inline-size; font-family: var(--dz-font); font-size: 15px; line-height: 1.6;
}
:where(.dz-lu, .dz-lu *, .dz-lu *::before, .dz-lu *::after) { box-sizing: border-box; }
:where(.dz-lu) :where(img) { display: block; max-width: 100%; }
:where(.dz-lu) :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.dz-lu [hidden] { display: none !important; }
.pc.pc-lu { width: auto; margin: 0; padding-bottom: 14px; }
.pc-lu .pc-feuille { padding: 34px 54px 36px; }
/* Feuille très haute : les feuilles du dessous à peine tournées (sinon elles débordent largement en haut et en bas) */
.pc-lu .pc-pile::before { rotate: .22deg; translate: 6px 8px; }
.pc-lu .pc-pile::after { rotate: -.14deg; translate: -5px 8px; }
.pc-lu .pc-champ::before { display: none; }
.pc-lu-recu { flex: none; display: flex; flex-direction: column; align-items: flex-end; margin: 0; line-height: 1.2; }
.pc-lu-recu small { font-size: 9.5px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--gris); }
.pc-lu-recu b { font-size: 15px; font-weight: 800; font-style: italic; font-variant-numeric: tabular-nums; }
.pc-lu-etape + .pc-lu-etape { margin-top: 40px; padding-top: 6px; border-top: 1.5px dashed var(--trait-fort); }
/* Réponse courte : sur la ligne, comme écrite à la main dans le dossier */
.pc-lu-rep { margin: 0; padding: 2px 2px 7px; border-bottom: 1.5px solid var(--trait-fort); font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--encre);
  white-space: pre-wrap; overflow-wrap: anywhere; }
.pc-lu-rep a { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; color: var(--encre); }
.pc-lu-rep a i { margin-left: 5px; font-size: 15px; vertical-align: -2px; color: var(--brun); }
/* Réponse longue : papier ligné, retours à la ligne gardés, rien de coupé */
.pc-lu-long { padding: 0 2px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; font-weight: 500; line-height: 30px; color: var(--encre);
  background: linear-gradient(transparent 29px, rgba(22, 19, 15, .22) 29px) 0 0 / 100% 30px local; }
.pc-lu-vide { margin: 0; font-size: 13.5px; font-style: italic; font-weight: 500; color: var(--gris); }
/* Cases cochées : en lecture seule, les réponses non choisies s'effacent */
.pc-lu .dz-case, .pc-lu .dz-grille-c, .pc-lu .dz-note-b, .pc-lu .pc-certif { cursor: default; }
.pc-lu .dz-case:hover .dz-box, .pc-lu .dz-grille-c:hover .dz-box, .pc-lu .pc-certif:hover .dz-box { background: none; }
.pc-lu .dz-case:not(.is-choisi) { opacity: .45; }
.pc-lu .dz-grille-l:hover { background: none; }
.pc-lu .dz-grille-c:has(input:checked) { background: var(--surligneur); }
/* Petite feuille (une ligne par jour) : créneaux choisis à l'encre comme dans le dossier, les autres effacés */
@container dz-feuille (max-width: 480px) {
  .pc-lu .dz-grille-c:has(input:checked) { background: var(--encre); }
  .pc-lu .dz-grille-c:not(:has(input:checked)) { opacity: .4; }
}
.pc-lu .dz-note-b:hover > span { color: rgba(22, 19, 15, .5); transform: none; }
.pc-lu .dz-note-b input:checked ~ span { color: var(--encre); }
.pc-lu .dz-dc-carte .pc-lien { font-size: 11.5px; }
.pc-lu .pc-signe.pc-lu-signe { clip-path: none; animation: none; }
.pc-lu .pc-certif { margin-top: 4px; }
/* Pièce jointe : la capture en grand, encadrée comme une photo ; agrandie au clic */
.pc-lu-image { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.pc-lu-zoom { display: block; width: 100%; padding: 8px; background: #fbf7f0; rotate: -.5deg; cursor: zoom-in;
  box-shadow: 0 16px 28px -16px rgba(0, 0, 0, .6), 0 1px 2px rgba(0, 0, 0, .15); transition: rotate .5s var(--dz-ease), transform .5s var(--dz-ease), box-shadow .4s; }
.pc-lu-zoom:hover:not(:disabled) { rotate: 0deg; transform: translateY(-2px); box-shadow: 0 22px 34px -16px rgba(0, 0, 0, .65), 0 1px 2px rgba(0, 0, 0, .15); }
.pc-lu-zoom:disabled { cursor: default; }
.pc-lu-zoom img { width: 100%; max-height: 560px; object-fit: contain; background: #e9e1d3; }
.pc-lu-charge { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 220px; background: #efe6d8; font-size: 13px; font-weight: 600; color: var(--gris); }
.pc-lu-charge i { font-size: 20px; }
.pc-lu-charge.is-erreur { color: var(--rouge); }
.pc-lu-image figcaption { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; font-weight: 600; color: var(--gris); }
.pc-lu-image figcaption i { flex: none; font-size: 17px; color: var(--brun); }
.pc-lu-image figcaption > span:not(.pc-lu-astuce) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--encre-2); }
.pc-lu-image figcaption small { flex: none; font-size: 12px; font-variant-numeric: tabular-nums; }
.pc-lu-astuce { flex: none; margin-left: auto; font-style: italic; }
.pc-lu-image:not(.is-pret) .pc-lu-astuce { display: none; }
@container dz-lu (max-width: 639px) {
  .pc-lu .pc-feuille { padding: 24px 18px 24px; }
  .pc-lu .pc-pile::before { rotate: .12deg; translate: 4px 6px; }
  .pc-lu .pc-pile::after { rotate: -.08deg; translate: -3px 6px; }
  .pc-lu-recu b { font-size: 13px; }
  .pc-lu-astuce { display: none; }
}

/* ===== streamers.css ===== */
/* Composant « Nos Streamers » d'Ultimate RP : page des streamers officiels (filtres « Segments »), planning et « Ma carte »
   (streamers.js). Toutes les règles sont rangées sous .streamers (racine du mur, du planning, de « Ma carte », du calque des
   fenêtres flottantes et de l'aperçu de l'espace staff) : rien ici ne touche le reste du site, et les noms déjà pris par la 3C
   (.ph, .cta, .cadre…) sont préfixés st-. Les couleurs communes (--bg, --acc, --beige, --text…), --ease, --hd et .wrap viennent
   de la page (3C + commun.css). Les photos des streamers sont des <img> (jamais une url() de CSS construite à la main). */
.streamers { --creme: #efe6d8; --live: #d93a2e; --live-rgb: 217, 58, 46; }
.streamers [hidden] { display: none !important; }
@media (min-width: 700px) { .streamers .wrap { width: min(100% - 2 * clamp(32px, 4vw, 72px), var(--max)); } }
.streamers .old { font-family: var(--font-old); font-weight: 400; font-style: normal; letter-spacing: 0; text-transform: none; }
.streamers .ht { position: relative; }
.streamers .ht::after, .streamers .trame { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .22;
  background-image: radial-gradient(rgba(0, 0, 0, .55) 1px, transparent 1.5px); background-size: 4px 4px; }
/* Le logo avec son fond (assets/logo-fond.webp : couronne blanche sur beige) posé en macaron : un seul élément */
.streamers .logo-macaron { display: grid; place-items: center; border-radius: 50%; background: var(--acc) url(assets/logo-fond.webp) center / cover no-repeat; }

/* Bloc beige derrière le texte */
.streamers .hl { position: relative; display: inline-block; padding: 0 .16em; color: var(--on-acc); isolation: isolate; }
.streamers .hl::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -.06em; bottom: .02em; background: var(--beige); transform: skewX(-8deg) scaleX(0); transform-origin: left; transition: transform .9s var(--ease) var(--hd-delay, .3s); }
.streamers .is-in .hl::before, .streamers .hl.is-in::before { transform: skewX(-8deg) scaleX(1); }

/* Boutons (mêmes que la 3C) */
.streamers .btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px;
  font-size: 14px; font-weight: 800; font-style: italic; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transform: skewX(-8deg); transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .4s, border-color .3s, opacity .3s; }
.streamers .btn > * { transform: skewX(8deg); }
.streamers .btn i { font-size: 20px; }
.streamers .btn-beige { background: var(--beige); color: var(--on-acc); box-shadow: 6px 6px 0 rgba(236, 211, 177, .18); }
.streamers .btn-beige:hover { box-shadow: 9px 9px 0 rgba(236, 211, 177, .3); transform: skewX(-8deg) translate(-2px, -2px); }
.streamers .btn-out { border: 2px solid var(--text); color: var(--text); }
.streamers .btn-out:hover { background: var(--text); color: var(--on-acc); }
.streamers .btn-dark { background: var(--on-acc); color: var(--acc); }
.streamers .btn-dark:hover { background: #000; }
.streamers .btn:disabled { opacity: .6; cursor: progress; }
.streamers .btn:disabled:hover { transform: skewX(-8deg); }

/* Couronne Ultimate : une seule forme (couronne-blanche.png en masque), colorée selon le fond */
.streamers .couronne { display: inline-block; flex: none; aspect-ratio: 833 / 614; background: currentColor;
  -webkit-mask: url(assets/couronne-blanche.png) center / contain no-repeat; mask: url(assets/couronne-blanche.png) center / contain no-repeat; }
/* Pastille du recrutement : verte (ouvert), orange (limité), rouge fixe (fermé) */
.streamers .pulse { --st: 98, 212, 127; flex: none; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--st)); animation: st-pulse 2s infinite; }
.streamers [data-st="limite"] .pulse { --st: 245, 160, 60; }
.streamers [data-st="ferme"] .pulse { --st: 236, 86, 72; animation: none; box-shadow: 0 0 0 3px rgba(236, 86, 72, .22); }
@keyframes st-pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--st), .55); } 70% { box-shadow: 0 0 0 9px rgba(var(--st), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--st), 0); } }
@keyframes st-secoue { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* ---------- Titres communs ---------- */
.streamers .kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--acc); }
.streamers .kicker .old { font-size: 28px; line-height: 1; }
.streamers .h2 { margin: 0; font-weight: 900; font-style: italic; font-size: clamp(44px, 6.4vw, 96px); line-height: .95; letter-spacing: -.03em; word-spacing: .1em; text-transform: uppercase; }

/* ---------- En-tête de page ---------- */
.streamers .st-ph { position: relative; padding: calc(var(--hd) + clamp(22px, 5vh, 60px)) 0 clamp(26px, 4.4vh, 46px); }
.streamers .st-ph-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 40px; align-items: center; }
.streamers .st-ph-kicker { margin-bottom: 14px; color: var(--text); }
.streamers .st-ph-kicker > i { font-size: 19px; color: var(--acc); }
.streamers .st-ph-kicker b { color: var(--acc); font-weight: 900; font-variant-numeric: tabular-nums; }
.streamers .st-ph-title { margin: 0 0 14px; font-weight: 900; font-style: italic; font-size: clamp(46px, min(6vw, 10.5vh), 96px); line-height: 1.06; letter-spacing: -.035em; word-spacing: .12em; text-transform: uppercase; }
.streamers .st-ph-title .hl { --hd-delay: .5s; }
.streamers .st-ph-title .hl::before { top: -.13em; }
.streamers .st-ph-desc { max-width: 600px; margin: 0; font-size: 16.5px; line-height: 1.75; color: rgba(246, 241, 234, .78); }
/* Accès au planning (et à « Ma carte » pour les streamers), juste sous le titre ; « Règlement streamer » (#/reglement/streamer) pour tous */
.streamers .st-ph-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 20px; }
.streamers .btn-planning { height: 52px; padding: 0 24px; }
.streamers .btn-planning .bx-right-arrow-alt { transition: transform .5s var(--ease); }
.streamers .btn-planning:hover .bx-right-arrow-alt { transform: skewX(8deg) translateX(4px); }
.streamers .btn-ma-carte, .streamers .btn-reglement { height: 52px; padding: 0 22px; }
.streamers .st-ph-prochain { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.streamers .st-ph-prochain:empty { display: none; }
.streamers .st-ph-prochain i { font-size: 18px; color: var(--acc); }
.streamers .st-ph-prochain b { font-weight: 800; font-style: italic; color: var(--text); }
/* Photo encadrée (cadre crème, scotch, trame) + pastille au logo */
.streamers .st-ph-photo { position: relative; justify-self: end; width: min(100%, 330px); margin-block: -14px; rotate: 3deg; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  animation: st-photo-in .25s var(--ease) both; }
/* (« zéro délai » : photo et pastille arrivent tout de suite, avec le reste de l'en-tête) */
@keyframes st-photo-in { from { opacity: 0; transform: translateY(70px) rotate(7deg) scale(.9); } to { opacity: 1; transform: none; } }
.streamers .st-cadre { position: relative; display: block; height: auto; padding: 8px; overflow: hidden; background: var(--creme); aspect-ratio: 1920 / 1300; }
.streamers .st-cadre.ht::after { inset: 8px; }
.streamers .st-ph-img { display: block; height: 100%; background: var(--img) var(--pos, 50% 50%) / var(--size, cover) no-repeat; }
.streamers .tape { position: absolute; z-index: 2; width: 110px; height: 30px; background: rgba(236, 211, 177, .75); }
.streamers .tape-1 { top: -12px; left: 34%; rotate: -6deg; }
/* Pastille : le logo avec son fond, « #UltimateRP » sur une étiquette noire (comme la 3C) */
.streamers .st-ph-sticker { position: absolute; z-index: 3; left: -36px; bottom: -26px; width: 104px; aspect-ratio: 1; border: 3px solid var(--creme);
  box-shadow: 5px 5px 0 rgba(13, 12, 11, .45), 0 18px 34px -14px rgba(0, 0, 0, .8); rotate: -12deg;
  animation: st-sticker-in .25s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes st-sticker-in { from { opacity: 0; transform: scale(.4) rotate(-40deg); } to { opacity: 1; transform: none; } }
.streamers .st-ph-sticker-t { position: absolute; bottom: -9%; display: inline-flex; align-items: center; gap: 7px; padding: 1px 10px 3px; white-space: nowrap; font-family: var(--font-old); font-size: 15px; line-height: 1.3;
  color: var(--acc); background: var(--on-acc); border-radius: 2px; transform: rotate(5deg); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .7); }

/* Badge « En direct » : gardé pour plus tard (état « en direct » des cartes, pas encore affiché) */
.streamers .b-live { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; background: var(--live); color: #fff;
  font-size: 12px; font-weight: 900; font-style: italic; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; transform: skewX(-8deg);
  box-shadow: 4px 4px 0 rgba(var(--live-rgb), .25); }
.streamers .b-live > * { transform: skewX(8deg); }
.streamers .point { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: st-point 1.6s infinite; }
@keyframes st-point { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.streamers .b-live.is-petit { height: 24px; padding: 0 9px; gap: 6px; font-size: 10.5px; box-shadow: 3px 3px 0 rgba(var(--live-rgb), .25); }
.streamers .b-live.is-petit .point { width: 6px; height: 6px; }
/* Icône Kick (absente de boxicons) */
.streamers .ico-k { display: inline-grid; place-items: center; width: 1em; height: 1em; font-style: normal; line-height: 1; }
.streamers .ico-k svg { width: .82em; height: .82em; fill: currentColor; }
/* Petits boutons */
.streamers .btn-mini { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1.5px solid var(--line-2); font-size: 11.5px; font-weight: 800; font-style: italic;
  text-transform: uppercase; white-space: nowrap; transform: skewX(-8deg); transition: border-color .3s, color .3s, background .3s, box-shadow .4s, transform .5s var(--ease); }
.streamers .btn-mini > * { transform: skewX(8deg); }
.streamers .btn-mini i { font-size: 16px; }
.streamers .btn-mini:hover { border-color: var(--acc); color: var(--acc); }
.streamers .btn-mini.is-plein { background: var(--beige); color: var(--on-acc); border-color: transparent; box-shadow: 4px 4px 0 rgba(236, 211, 177, .18); }
.streamers .btn-mini.is-plein:hover { transform: skewX(-8deg) translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(236, 211, 177, .28); color: var(--on-acc); }
.streamers .btn-mini:disabled { opacity: .55; cursor: progress; }

/* ---------- La chaîne officielle du serveur (CHAINES_OFFICIELLES de streamers.js) : bandeau à part au-dessus du mur ----------
   Maquette 7 « La 3 en plus petit » choisie le 12/11/2026 (archives\maquettes-chaine-officielle) : petit titre, polaroïd 130 px,
   nom et texte serrés, « Suivre sur … » à droite sur la même ligne ; au téléphone, photo à gauche du texte et boutons dessous. */
.streamers .st-off { margin-bottom: clamp(40px, 5vw, 64px); }
.streamers .st-off .sec-h { margin-bottom: 16px; }
.streamers .st-off .sec-h .kicker { margin-bottom: 6px; }
.streamers .st-off .kicker .old { font-size: 22px; }
.streamers .st-off .sec-t { font-size: clamp(28px, 3vw, 44px); }
.streamers .st-off-band { position: relative; display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: 18px 30px;
  border: 1px solid var(--line-2); background: rgba(13, 12, 11, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.streamers .st-off-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--beige); }
.streamers .st-off-polar { position: relative; padding: 7px 7px 26px; background: var(--creme); rotate: -3deg; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .9); }
.streamers .st-off-polar img, .streamers .st-off-vide { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.streamers .st-off-vide { border-radius: 0; }
.streamers .st-off-polar .tape { top: -9px; left: 50%; width: 64px; height: 20px; translate: -50% 0; rotate: 4deg; }
.streamers .st-off-sig { position: absolute; left: 0; right: 0; bottom: 5px; font-family: var(--font-old); font-size: 15px; line-height: 1; text-align: center; color: var(--on-acc); rotate: -2deg; }
.streamers .st-off-txt { min-width: 0; }
.streamers .st-off-k { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 5px 12px; background: var(--beige); color: var(--on-acc);
  font-size: 11px; font-weight: 900; font-style: italic; text-transform: uppercase; transform: skewX(-8deg); }
.streamers .st-off-k > * { transform: skewX(8deg); }
.streamers .st-off-k .couronne { width: 16px; }
.streamers .st-off-t { margin: 0 0 4px; font-size: clamp(26px, 2.3vw, 34px); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; overflow-wrap: anywhere; }
.streamers .st-off-l { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.streamers .st-off-d { display: -webkit-box; max-width: 520px; margin: 0; overflow: hidden; font-size: 14px; line-height: 1.6; color: rgba(246, 241, 234, .82); white-space: pre-line;
  overflow-wrap: anywhere; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.streamers .st-off-b { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.streamers .st-off-b .btn { height: 46px; padding: 0 20px; font-size: 12.5px; }
.streamers .st-off-b .lien-p { width: 40px; height: 40px; font-size: 19px; background: var(--surface-2); color: var(--acc); }
@media (max-width: 800px) {
  .streamers .st-off-band { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start; padding: 16px 16px 16px 20px; }
  .streamers .st-off-polar { margin-top: 4px; padding: 5px 5px 18px; }
  .streamers .st-off-polar .tape { top: -7px; width: 46px; height: 15px; }
  .streamers .st-off-sig { bottom: 3px; font-size: 11px; }
  .streamers .st-off-d { font-size: 13px; }
  .streamers .st-off-b { grid-column: 1 / -1; }
  .streamers .st-off-b .btn { flex: 1 1 0; }
}

/* ---------- Tous les streamers ---------- */
.streamers .tous { padding-bottom: clamp(80px, 10vw, 140px); }
.streamers .sec-h { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px 30px; margin-bottom: 26px; }
.streamers .sec-h .kicker { margin-bottom: 10px; }
.streamers .sec-t { margin: 0; font-size: clamp(38px, 4.6vw, 70px); font-weight: 900; font-style: italic; line-height: 1.06; letter-spacing: -.03em; word-spacing: .1em; text-transform: uppercase; }
.streamers .sec-t .hl::before { top: -.13em; }
/* Chargement (avant la réponse du relais) */
.streamers .st-charge { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 220px; margin: 0; font-size: 14px; font-weight: 700; font-style: italic; color: var(--muted); }
.streamers .st-charge i { font-size: 22px; color: var(--acc); }
/* Aucun streamer pour l'instant : mêmes habits que l'état « aucun résultat » */
.streamers .st-zero-b { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.streamers .st-erreur .vide-ico { color: #f39a85; }
/* ---------- Filtres : la barre commune du site (.fx-barre de commun.css, Ultimate.filtres de commun.js), beige ----------
   Même interface que Le Business, Le Milieu, le Règlement… : plateformes en segments, tri en menu (.fx-menu), recherche à droite
   sans aucun effet au focus, collée sous l'en-tête quand on descend, compacte au téléphone.
   Ici, rien ne change son apparence : seulement sa place dans la page, le contenu propre des segments et le panneau du menu. */
.streamers .tous .fx-barre { margin-bottom: 6px; }
.streamers .st-seg-ico { display: inline-grid; place-items: center; font-size: 16px; line-height: 1; }
/* Panneau du menu Trier : dans le calque (fixe, au-dessus de l'en-tête), posé sous la barre par streamers.js.
   Habillage du guide des filtres : fond sombre, bordure fine, lignes Poppins 800 italique majuscules, choix en cours à la couleur de la barre. */
.streamers .st-menu { position: fixed; z-index: 58; left: 0; top: 0; min-width: 236px; max-width: calc(100vw - 24px); padding: 6px; border: 1px solid var(--line-2); border-radius: 4px;
  background: rgba(17, 16, 14, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px #000; font-family: var(--font-body); color: var(--text); }
.streamers .st-menu-t { margin: 6px 12px 7px; font-size: 10.5px; font-weight: 800; font-style: italic; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.streamers .st-menu-o { display: flex; align-items: center; gap: 11px; width: 100%; height: 46px; padding: 0 12px; border-radius: 2px; text-align: left; white-space: nowrap;
  font-size: 12.5px; font-weight: 800; font-style: italic; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: rgba(246, 241, 234, .66);
  transition: color .25s, background .25s, opacity .3s; -webkit-tap-highlight-color: transparent; }
.streamers .st-menu-o:hover, .streamers .st-menu-o:focus-visible { outline: 0; background: rgba(255, 255, 255, .05); color: #fff; }
.streamers .st-menu-o:focus-visible { box-shadow: inset 0 0 0 1px rgba(var(--fx-acc-rgb, 236, 211, 177), .4); }
.streamers .st-menu-o > .bx:first-child { flex: none; width: 30px; font-size: 18px; text-align: center; color: var(--muted); transition: color .25s; }
.streamers .st-menu-o[aria-checked="true"], .streamers .st-menu-o[aria-checked="true"] > .bx:first-child { color: var(--fx-acc, #ecd3b1); }
.streamers .st-menu-l { flex: 1 1 auto; min-width: 0; }
.streamers .st-menu-coche { flex: none; margin-left: 4px; font-size: 18px; color: var(--fx-acc, #ecd3b1); opacity: 0; transform: scale(.4); transition: opacity .25s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.streamers .st-menu-o[aria-checked="true"] .st-menu-coche { opacity: 1; transform: none; }
/* Ligne de résultat (sous la barre) : le nombre roule, les filtres actifs en étiquettes, « Réinitialiser » si un filtre est actif */
.streamers .f1-res-l { display: flex; align-items: center; gap: 8px 16px; min-height: 54px; margin-top: 10px; margin-bottom: 34px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.streamers .f1-res { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; flex: 1 1 auto; min-width: 0; margin: 0; }
.streamers .f1-res-c { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; font-style: italic; text-transform: uppercase; white-space: nowrap; }
.streamers .f1-res-n { display: inline-grid; justify-items: end; overflow: hidden; height: 32px; font-size: 28px; font-weight: 900; line-height: 32px; letter-spacing: -.02em; color: var(--acc); font-variant-numeric: tabular-nums; }
.streamers .f1-res-n b { grid-area: 1 / 1; padding-right: 2px; font-weight: 900; }
.streamers .f1-res-sur { font-weight: 600; font-style: normal; text-transform: none; color: var(--muted); }
.streamers .f1-res-sur:empty { display: none; }
.streamers .f1-res-f { display: inline-flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.streamers .f1-res-f:empty { display: none; }
.streamers .f1-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: 1px solid rgba(236, 211, 177, .24); background: rgba(236, 211, 177, .08); color: var(--acc);
  font-size: 11px; font-weight: 800; font-style: italic; text-transform: uppercase; white-space: nowrap; transform: skewX(-8deg); }
.streamers .f1-tag > span { display: inline-flex; align-items: center; gap: 6px; transform: skewX(8deg); }
.streamers .f1-tag i { font-size: 14px; }
.streamers .f1-tag em { max-width: 16ch; overflow: hidden; text-overflow: ellipsis; font-style: italic; text-transform: none; }
.streamers .f1-reset-w { flex: none; display: inline-flex; }
.streamers .f1-reset-w .btn-mini { height: 34px; }
.streamers .f1-reset-w .btn-mini:hover { border-color: rgba(243, 154, 133, .75); color: #f39a85; }
.streamers .f1-reset-w .bx-revision { transition: rotate .6s var(--ease); }
.streamers .f1-reset-w .btn-mini:hover .bx-revision { rotate: -200deg; }

/* Grille de cartes (cadres crème comme les affiches de la 3C) */
.streamers .grille { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(26px, 2.6vw, 40px) clamp(18px, 2vw, 30px); }
.streamers .carte { position: relative; min-width: 0; }
.streamers .carte.is-cache { display: none; }
.streamers .carte-in { position: relative; height: 100%; display: flex; flex-direction: column; padding: 10px 10px 16px; background: var(--creme); color: var(--on-acc); rotate: var(--rot, 0deg);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .9); transition: transform .7s var(--ease), rotate .7s var(--ease), box-shadow .5s; }
.streamers .carte:hover .carte-in, .streamers .carte:focus-within .carte-in { transform: translateY(-10px); rotate: 0deg; box-shadow: 0 40px 70px -24px rgba(0, 0, 0, 1); }
.streamers .carte-photo { position: relative; aspect-ratio: 1 / .9; overflow: hidden; background: #1a1816; }
/* Photo du streamer (avatar Discord ou image envoyée), toujours en <img> */
.streamers .carte-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.streamers .carte:hover .carte-img { transform: scale(1.06); }
.streamers .carte-img.is-vide { display: grid; place-items: center; }
.streamers .carte-img.is-vide .logo-macaron { width: 42%; aspect-ratio: 1; opacity: .85; }
.streamers .carte-etat { position: absolute; z-index: 2; left: 10px; top: 10px; display: flex; align-items: center; gap: 6px; }
.streamers .carte-plat { position: absolute; z-index: 2; right: 10px; top: 10px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--on-acc); color: var(--acc); font-size: 19px; }
.streamers .carte-corps { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 14px 6px 0; }
.streamers .carte-nom { margin: 0; font-size: clamp(21px, 1.7vw, 26px); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.03em; line-height: 1; overflow-wrap: anywhere; }
.streamers .carte-login { margin: 5px 0 0; overflow: hidden; font-size: 12.5px; font-weight: 700; color: rgba(13, 12, 11, .5); text-overflow: ellipsis; white-space: nowrap; }
.streamers .carte-perso { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; margin: 10px 0 16px; font-size: 13px; font-weight: 600; line-height: 1.35; color: rgba(13, 12, 11, .8); overflow-wrap: anywhere; }
.streamers .carte-perso > i { font-size: 16px; color: rgba(13, 12, 11, .55); }
.streamers .faction { display: inline-block; max-width: 100%; padding: 1px 8px; overflow: hidden; font-size: 10.5px; font-weight: 900; font-style: italic; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; background: var(--on-acc); color: var(--acc); transform: skewX(-8deg); }
/* Courte présentation (4 lignes au plus, retours à la ligne gardés) */
.streamers .carte-pres { display: -webkit-box; margin: 10px 0 14px; overflow: hidden; font-size: 13px; line-height: 1.5; color: rgba(13, 12, 11, .72); white-space: pre-line; overflow-wrap: anywhere;
  -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.streamers .carte-perso + .carte-pres { margin-top: -6px; }
.streamers .carte-ligne { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1.5px dashed rgba(13, 12, 11, .22); }
.streamers .liens { display: flex; flex-wrap: wrap; gap: 6px; }
.streamers .lien-p { display: grid; place-items: center; width: 32px; height: 30px; background: var(--on-acc); color: var(--acc); font-size: 17px; transform: skewX(-8deg);
  transition: background .3s, color .3s, transform .45s var(--ease); }
.streamers .lien-p > * { transform: skewX(8deg); }
.streamers .lien-p:hover, .streamers .lien-p:focus-visible { background: var(--plat, var(--acc)); color: var(--plat-txt, #fff); transform: skewX(-8deg) translateY(-3px); }
.streamers .carte-action { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.streamers .carte-b { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 14px; background: var(--on-acc); color: var(--acc); font-size: 12px; font-weight: 800;
  font-style: italic; text-transform: uppercase; white-space: nowrap; transform: skewX(-8deg); transition: gap .4s var(--ease), background .3s; }
.streamers .carte-b > * { transform: skewX(8deg); }
.streamers .carte-b i { font-size: 17px; }
.streamers .carte-b:hover { gap: 13px; background: #000; }
/* « Prochain live » : lien vers le planning du streamer */
.streamers .prochain { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 12px; border: 1.5px dashed rgba(13, 12, 11, .3); font-size: 12px; font-weight: 600; line-height: 1.3; color: rgba(13, 12, 11, .7);
  transition: border-color .3s, background .3s, color .3s; }
.streamers .prochain i { flex: none; font-size: 18px; color: rgba(13, 12, 11, .6); }
.streamers .prochain b { font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--on-acc); }
.streamers .prochain-fl { margin-left: auto; transition: transform .45s var(--ease); }
.streamers a.prochain:hover { border-style: solid; border-color: var(--on-acc); background: rgba(13, 12, 11, .06); color: var(--on-acc); }
.streamers a.prochain:hover .prochain-fl { transform: translateX(4px); }
/* Plateforme du prochain live (« Prochain live : Ce soir 21h » puis son icône ; « Sur Kick » au survol) */
.streamers .prochain-plat { display: inline-grid; place-items: center; margin-left: 6px; vertical-align: -3px; font-size: 15px; line-height: 1; color: var(--on-acc); }
.streamers .prochain .prochain-plat i { font-size: inherit; color: inherit; }
.streamers .grille:not(.is-vue) .carte-in { opacity: 0; }
/* Place libre en fin de grille : appel « Devenir streamer » avec le logo */
.streamers .carte.carte-libre .carte-in { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 100%; padding: 42px 22px 30px; text-align: center;
  color: var(--text); background: rgba(13, 12, 11, .42); border: 2px dashed rgba(236, 211, 177, .3); box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .7s var(--ease), rotate .7s var(--ease), border-color .4s, background .4s; }
.streamers .carte-libre:hover .carte-in, .streamers .carte-libre:focus-visible .carte-in { border-style: solid; border-color: var(--acc); background: rgba(20, 19, 17, .8); box-shadow: none; }
.streamers .carte-libre .tape { top: -13px; left: 50%; width: 96px; height: 28px; translate: -50% 0; rotate: 4deg; }
.streamers .libre-ico { width: 96px; height: 96px; border: 3px solid var(--creme); box-shadow: 6px 6px 0 rgba(236, 211, 177, .2); rotate: -10deg; transition: rotate .8s cubic-bezier(.34, 1.56, .64, 1); }
.streamers .carte-libre:hover .libre-ico { rotate: 8deg; }
.streamers .libre-k { font-size: 25px; line-height: 1; color: var(--acc); }
.streamers .libre-t { font-size: 23px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1; letter-spacing: -.02em; }
.streamers .libre-d { max-width: 240px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.streamers .carte-libre .btn-mini { margin-top: 6px; }
.streamers .carte-libre:hover .btn-mini { transform: skewX(-8deg) translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(236, 211, 177, .28); }
/* Aucun résultat (et aucun streamer) : verre sombre, filtres actifs retirables un par un, bouton pour tout effacer */
.streamers .vide { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 46px 20px 42px; text-align: center; border: 1.5px dashed rgba(236, 211, 177, .28);
  border-radius: 3px; background: rgba(13, 12, 11, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.streamers .vide-ico { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 4px; border: 1.5px solid var(--line-2); border-radius: 50%; background: rgba(236, 211, 177, .06);
  font-size: 36px; color: var(--acc); animation: st-flotte 3.2s ease-in-out infinite; }
@keyframes st-flotte { 50% { transform: translateY(-6px) rotate(-6deg); } }
.streamers .vide-t { margin: 0; font-size: clamp(22px, 2.3vw, 30px); font-weight: 900; font-style: italic; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; }
.streamers .vide-d { margin: 0; max-width: 420px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.streamers .vide-puces { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 6px; }
.streamers .vide-puces:empty { display: none; }
.streamers .f1-puce { display: inline-flex; align-items: center; height: 34px; padding: 0 8px 0 12px; border: 1.5px solid var(--line-2); background: rgba(13, 12, 11, .55);
  font-size: 12px; font-weight: 800; font-style: italic; text-transform: uppercase; white-space: nowrap; transform: skewX(-8deg); transition: border-color .3s, background .3s, transform .45s var(--ease); }
.streamers .f1-puce > span { display: inline-flex; align-items: center; gap: 7px; transform: skewX(8deg); }
.streamers .f1-puce i { font-size: 15px; color: var(--acc); }
.streamers .f1-puce .bx-x { font-size: 17px; color: var(--muted); transition: color .25s, rotate .4s var(--ease); }
.streamers .f1-puce em { max-width: 18ch; overflow: hidden; text-overflow: ellipsis; font-style: italic; text-transform: none; }
.streamers .f1-puce:hover { border-color: rgba(243, 154, 133, .75); background: rgba(40, 16, 12, .5); transform: skewX(-8deg) translateY(-2px); }
.streamers .f1-puce:hover .bx-x { color: #f39a85; rotate: 90deg; }

/* ---------- Appel « Devenir streamer » : le fond du logo, adouci par un voile beige (comme la 3C) ---------- */
.streamers .st-cta { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 160px) 0; background: var(--acc) url(assets/logo-fond.webp) center 46% / max(100%, 900px) auto no-repeat;
  color: var(--on-acc); text-align: center; isolation: isolate; }
.streamers .st-cta-bg { position: absolute; z-index: -1; inset: 0; background: radial-gradient(70% 80% at 50% 50%, rgba(236, 211, 177, .55), rgba(236, 211, 177, .22)); }
/* Écran étroit : l'image du logo (900 px de haut) est plus courte que la section, ses bords haut et bas se fondent dans le beige */
@media (max-width: 900px) {
  .streamers .st-cta-bg { background:
    linear-gradient(180deg, var(--acc) calc((100% - 900px) * .46), rgba(236, 211, 177, 0) calc((100% - 900px) * .46 + 170px),
      rgba(236, 211, 177, 0) calc((100% - 900px) * .46 + 730px), var(--acc) calc((100% - 900px) * .46 + 900px)),
    radial-gradient(70% 80% at 50% 50%, rgba(236, 211, 177, .55), rgba(236, 211, 177, .22)); }
}
.streamers .st-cta-st { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 7px 14px; background: var(--on-acc); color: var(--acc); font-size: 12.5px; font-weight: 800; font-style: italic;
  text-transform: uppercase; transform: skewX(-8deg); }
.streamers .st-cta-st > * { transform: skewX(8deg); }
/* Comme dans la maquette : une fois apparu (commun.css), le cadre se redresse, seul le texte reste penché */
.streamers .st-cta-st[data-reveal].is-in { transform: none; }
.streamers .st-cta .h2 { font-size: clamp(44px, 6.6vw, 108px); }
.streamers .st-cta-p { max-width: 560px; margin: 22px auto 40px; font-size: 17px; font-weight: 500; line-height: 1.7; color: rgba(13, 12, 11, .75); }
.streamers .st-cta-p b { font-weight: 800; color: var(--on-acc); }
.streamers .etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin: 0 auto 44px; text-align: left; }
.streamers .etape { position: relative; padding: 22px 22px 24px; border: 2px solid rgba(13, 12, 11, .16); background: rgba(255, 255, 255, .26); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: transform .5s var(--ease), background .3s, border-color .3s; }
.streamers .etape:hover { transform: rotate(-1.2deg) translateY(-4px); background: rgba(255, 255, 255, .4); border-color: var(--on-acc); }
.streamers .etape-n { position: absolute; right: 18px; top: 8px; font-family: var(--font-old); font-size: 46px; line-height: 1; color: rgba(13, 12, 11, .22); }
.streamers .etape > i { width: 46px; height: 46px; display: grid; place-items: center; font-size: 22px; background: var(--on-acc); color: var(--acc); transform: skewX(-8deg); }
.streamers .etape h3 { margin: 16px 0 6px; font-size: 19px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.1; letter-spacing: -.01em; }
.streamers .etape p { margin: 0; font-size: 13.5px; line-height: 1.6; color: rgba(13, 12, 11, .74); }
.streamers .etape p b { padding: 0 5px; background: var(--on-acc); color: var(--acc); font-weight: 800; font-style: italic; }
.streamers .st-cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.streamers .st-cta .btn-out { border-color: var(--on-acc); color: var(--on-acc); }
.streamers .st-cta .btn-out:hover { background: var(--on-acc); color: var(--acc); }

/* =====================================================================
   PLANNING DES STREAMERS
   ===================================================================== */
.streamers .pl { position: relative; padding: calc(var(--hd) + clamp(14px, 2.6vh, 30px)) 0 clamp(60px, 8vw, 110px); }
.streamers .pl-tete { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 30px; margin-bottom: 14px; }
.streamers .pl-tete-g { min-width: 0; }
/* Au-dessus du titre : les lettres animées du titre débordent vers le haut */
.streamers .pl-retour { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 12.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--acc); }
.streamers .pl-retour i { font-size: 20px; transition: transform .5s var(--ease); }
.streamers .pl-retour:hover i { transform: translateX(-5px); }
.streamers .pl-titre { margin: 0; font-weight: 900; font-style: italic; font-size: clamp(34px, min(4.2vw, 7.2vh), 64px); line-height: 1.08; letter-spacing: -.03em; word-spacing: .1em; text-transform: uppercase; }
.streamers .pl-titre .hl::before { top: -.13em; }
/* Pour un streamer : sa carte (état) et le lien vers « Ma carte » */
.streamers .pl-compte { display: flex; align-items: center; min-height: 52px; min-width: 0; }
.streamers .pl-moi { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 6px 16px 6px 16px; border: 1px solid var(--verre-bord); border-radius: 3px; background: var(--verre);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, background .3s; }
.streamers .pl-moi::before { content: ""; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--acc); }
.streamers a.pl-moi:hover { border-color: rgba(236, 211, 177, .42); background: rgba(14, 13, 12, .78); }
.streamers .pl-moi .ava { width: 40px; padding: 2px; }
.streamers .ava-vide { display: grid !important; place-items: center; width: 100%; height: 100%; background: #24211d !important; color: var(--muted); font-size: 20px; }
.streamers .pl-moi-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.streamers .pl-moi-nom { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.1; white-space: nowrap; }
.streamers .pl-moi-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.streamers .pl-moi-via { display: flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.streamers .pl-moi-via i { flex: none; font-size: 15px; color: var(--acc); }
.streamers .pl-moi-fl { flex: none; margin-left: 4px; font-size: 20px; color: var(--acc); transition: transform .45s var(--ease); }
.streamers a.pl-moi:hover .pl-moi-fl { transform: translateX(4px); }
.streamers .role { flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; background: var(--beige); color: var(--on-acc); font-size: 10px; font-weight: 900; font-style: italic;
  letter-spacing: .03em; text-transform: uppercase; transform: skewX(-8deg); }
.streamers .role > span { transform: skewX(8deg); }
/* Photos des streamers (cadre crème) : toujours des <img> */
.streamers .ava { flex: none; width: 50px; aspect-ratio: 1; padding: 3px; background: var(--creme); rotate: -4deg; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .8); }
.streamers .ava img, .streamers .cr-ava img, .streamers .pl-seg-ava img { display: block; width: 100%; height: 100%; object-fit: cover; }
.streamers .ava img { background: #1a1816; }
/* Barre : semaine + mode */
.streamers .pl-barre { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 12px 0; border-top: 2px solid var(--line); }
.streamers .pl-sem { display: flex; align-items: center; gap: 8px; }
.streamers .pl-fl { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--line-2); color: var(--acc); font-size: 24px; transform: skewX(-8deg);
  transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease), opacity .3s; }
.streamers .pl-fl > i { transform: skewX(8deg); }
.streamers .pl-fl:hover:not(:disabled) { background: var(--beige); color: var(--on-acc); border-color: transparent; }
.streamers .pl-fl:active:not(:disabled) { transform: skewX(-8deg) scale(.9); }
.streamers .pl-fl:disabled { opacity: .28; cursor: default; }
.streamers .pl-sem-t { display: flex; flex-direction: column; align-items: center; min-width: 210px; margin: 0; line-height: 1.2; }
.streamers .pl-sem-t span { font-size: 11px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--acc); }
.streamers .pl-sem-t strong { font-size: 17px; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.streamers .pl-auj { margin-left: 6px; }
.streamers .pl-info { position: relative; display: flex; align-items: center; gap: 9px; max-width: 800px; margin: 0; padding: 8px 14px 8px 18px; border: 1px solid var(--verre-bord); border-radius: 3px;
  background: var(--verre); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12.5px; line-height: 1.45; color: rgba(246, 241, 234, .8); }
.streamers .pl-info::before { content: ""; position: absolute; left: 3px; top: 7px; bottom: 7px; width: 3px; border-radius: 2px; background: var(--acc); }
.streamers .pl-info > i { flex: none; font-size: 18px; color: var(--acc); }
.streamers .pl-info b { font-weight: 800; font-style: italic; color: var(--acc); }
.streamers .pl-info a { font-weight: 800; color: var(--acc); text-decoration: underline; text-underline-offset: 2px; }
.streamers .pl-info-n { display: block; margin-top: 3px; color: #f6bf7c; }
.streamers .pl-info.is-edit { border-color: rgba(236, 211, 177, .3); background: rgba(236, 211, 177, .09); }
.streamers .pl-info.is-role::before { background: #f5a03c; }
.streamers .pl-info.is-role > i { color: #f5a03c; }
/* Filtre par streamer : la barre commune du site (.fx-barre de commun.css), beige ; dans chaque segment, la photo du streamer
   (cadre à sa couleur). Ici, seulement sa place et le contenu propre des segments. */
.streamers .pl .fx-barre { margin-bottom: 4px; }
/* Compteur seulement sur « Tous » et sur le streamer choisi (les autres sont vides) : les segments tiennent sur une ligne */
.streamers .pl .fx-n:empty { display: none; }
.streamers .pl-seg-ico { flex: none; font-size: 17px; font-style: normal; color: var(--fx-acc, #ecd3b1); }
.streamers .pl-seg-ava { position: relative; flex: none; width: 28px; height: 28px; border: 2px solid var(--c, var(--acc)); background: #1a1816; }
.streamers .pl-seg-ava.is-live::after { content: ""; position: absolute; right: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 2px var(--bg); }
.streamers .pl-vous { flex: none; padding: 3px 5px 2px; font-size: 9.5px; line-height: 1; background: var(--c, var(--acc)); color: var(--on-acc); }
/* Segment choisi (copie colorée de l'indicateur) : icône et cadre de la photo sombres, comme le texte */
.streamers .fx-voile .pl-seg-ico { color: inherit; }
.streamers .fx-voile .pl-seg-ava { border-color: var(--fx-acc-txt, #0d0c0b); }
/* Onglets des jours (mobile) */
.streamers .pl-jours-m { display: none; }
/* Grille de la semaine */
.streamers .pl-grille { --g: 58px; --hh: clamp(32px, calc((100vh - 410px) / var(--nh, 14)), 58px); position: relative; overflow: hidden; border: 1px solid var(--verre-bord); border-radius: 3px;
  background: rgba(13, 12, 11, .62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.streamers .pl-entete { display: grid; grid-template-columns: var(--g) repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line-2); background: rgba(13, 12, 11, .5); }
.streamers .pl-coin { display: grid; place-items: center; font-size: 18px; color: var(--dim); }
.streamers .pl-jh { position: relative; display: flex; align-items: baseline; gap: 7px; min-width: 0; padding: 10px 10px 9px 12px; border-left: 1px solid rgba(255, 255, 255, .06); white-space: nowrap; overflow: hidden; }
.streamers .pl-jh-j { font-size: 12px; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--muted); }
.streamers .pl-jh-n { font-size: 24px; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.02em; }
.streamers .pl-jh-a { margin-left: auto; align-self: center; padding: 1px 7px; background: var(--on-acc); color: var(--acc); font-size: 9.5px; font-weight: 900; font-style: italic; text-transform: uppercase; transform: skewX(-8deg); }
.streamers .pl-jh.is-auj { background: var(--beige); color: var(--on-acc); }
.streamers .pl-jh.is-auj .pl-jh-j { color: rgba(13, 12, 11, .62); }
.streamers .pl-jh.is-passe { opacity: .5; }
.streamers .pl-corps { position: relative; display: grid; grid-template-columns: var(--g) repeat(7, minmax(0, 1fr)); height: calc(var(--nh, 14) * var(--hh)); }
.streamers .pl-heures { position: relative; }
.streamers .pl-h { position: absolute; right: 9px; top: calc(var(--i) * var(--hh)); transform: translateY(-50%); font-size: 11px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }
.streamers .pl-h:first-child, .streamers .pl-h:last-child { display: none; }
.streamers .pl-col { position: relative; min-width: 0; border-left: 1px solid rgba(255, 255, 255, .06);
  background-image: repeating-linear-gradient(180deg, transparent 0 calc(var(--hh) - 1px), rgba(255, 255, 255, .06) calc(var(--hh) - 1px) var(--hh)),
    repeating-linear-gradient(180deg, transparent 0 calc(var(--hh) / 2 - 1px), rgba(255, 255, 255, .022) calc(var(--hh) / 2 - 1px) calc(var(--hh) / 2)); }
.streamers .pl-col.is-auj { background-color: rgba(236, 211, 177, .05); }
.streamers .pl-col.is-passe { background-color: rgba(0, 0, 0, .16); }
.streamers .pl-grille.is-edit .pl-col { cursor: crosshair; }
/* Créneau : un bloc à la couleur du streamer, avec sa photo */
.streamers .cr { --c: var(--acc); position: absolute; z-index: 1; top: calc(var(--t) * var(--hh) / 60 + 1px); height: calc(var(--d) * var(--hh) / 60 - 2px);
  left: calc(var(--x, 0) * 100% + 3px); width: calc(var(--w, 1) * 100% - 6px);
  display: flex; flex-direction: column; gap: 1px; min-height: 14px; overflow: hidden; padding: 4px 6px 4px 10px; border-radius: 3px; text-align: left; cursor: pointer; outline-offset: 1px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--c) 42%, #17140f), color-mix(in srgb, var(--c) 19%, #100f0d) 75%);
  border: 1px solid color-mix(in srgb, var(--c) 62%, transparent); box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .9);
  transition: box-shadow .3s, border-color .3s, filter .4s, opacity .3s; }
.streamers .cr::before { content: ""; position: absolute; left: 2px; top: 3px; bottom: 3px; width: 3px; border-radius: 2px; background: var(--c); }
.streamers .cr:hover, .streamers .cr:focus-visible { z-index: 3; border-color: var(--c); box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 1), 0 0 0 1px var(--c); }
.streamers .cr-l1 { display: flex; align-items: center; gap: 5px; min-width: 0; }
.streamers .cr-ava { flex: none; width: 18px; height: 18px; border: 1.5px solid var(--creme); background: #1a1816; }
.streamers .cr-nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.25; }
/* Plateforme du créneau (Twitch, Kick, YouTube, TikTok), dans la couleur du bloc ; pas en version compacte */
.streamers .cr-plat { flex: none; display: inline-grid; place-items: center; font-size: 12px; line-height: 1; color: color-mix(in srgb, var(--c) 70%, #fff); }
.streamers .cr.is-compact .cr-plat, .streamers .cr.is-fantome .cr-plat { display: none; }
.streamers .cr-h { font-size: 10.5px; font-weight: 700; color: rgba(246, 241, 234, .76); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.streamers .cr-t { font-size: 10.5px; line-height: 1.3; color: rgba(246, 241, 234, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.streamers .cr-live { flex: none; display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 0 5px; background: var(--live); color: #fff; font-size: 8.5px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.streamers .cr-live .point { width: 4px; height: 4px; }
.streamers .cr.is-court { flex-direction: row; align-items: center; gap: 6px; padding-block: 0; }
.streamers .cr.is-court .cr-t { display: none; }
.streamers .cr.is-court .cr-l1 { flex: 0 1 auto; }
.streamers .cr.is-court .cr-h { flex: 1 1 auto; }
.streamers .cr.is-etroit .cr-nom, .streamers .cr.is-etroit .cr-t, .streamers .cr.is-etroit .cr-live { display: none; }
.streamers .cr.is-etroit { padding-left: 8px; padding-right: 4px; }
/* Bloc très étroit : l'horaire passe sur deux lignes plutôt que d'être coupé (« 21h – … ») */
.streamers .cr.is-etroit:not(.is-court) .cr-h { white-space: normal; line-height: 1.25; }
.streamers .cr.is-passe { filter: saturate(.45) brightness(.78); }
.streamers .cr.is-live { border-color: var(--live); box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .9), 0 0 0 1px rgba(var(--live-rgb), .5), 0 0 18px -4px rgba(var(--live-rgb), .6); }
/* Créneau en cours d'enregistrement auprès du relais */
.streamers .cr.is-envoi { opacity: .68; cursor: progress; }
/* Créneaux du streamer connecté : poignées, suppression, glisser */
.streamers .cr.is-mien { cursor: grab; touch-action: none; }
.streamers .pl-grille.is-edit .cr.is-mien { box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .9), 0 0 0 1.5px var(--acc); }
.streamers .cr-poignee { position: absolute; z-index: 2; left: 0; right: 0; height: 8px; cursor: ns-resize; }
.streamers .cr-poignee.is-haut { top: 0; } .streamers .cr-poignee.is-bas { bottom: 0; }
.streamers .cr-poignee::after { content: ""; position: absolute; left: 50%; width: 22px; height: 3px; margin-left: -11px; border-radius: 2px; background: var(--acc); opacity: 0; transition: opacity .25s; }
.streamers .cr-poignee.is-haut::after { top: 2px; } .streamers .cr-poignee.is-bas::after { bottom: 2px; }
.streamers .cr.is-mien:hover .cr-poignee::after, .streamers .cr.is-drag .cr-poignee::after { opacity: .9; }
.streamers .cr-suppr { position: absolute; z-index: 3; right: 3px; top: 3px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 2px; background: rgba(13, 12, 11, .8); color: #fff; font-size: 15px;
  opacity: 0; transition: opacity .25s, background .25s; }
.streamers .cr.is-mien:hover .cr-suppr, .streamers .cr.is-mien:focus-within .cr-suppr { opacity: 1; }
.streamers .cr-suppr:hover { background: #c0392b; }
.streamers .cr-cadenas { position: absolute; right: 4px; top: 4px; font-size: 12px; color: rgba(246, 241, 234, .55); }
/* Place réservée au cadenas : le nom s'arrête avant lui */
.streamers .cr.is-verrou .cr-l1 { padding-right: 12px; }
.streamers .cr.is-verrou { cursor: not-allowed; }
.streamers .cr.is-drag { z-index: 20; cursor: grabbing; transition: none; box-shadow: 0 26px 44px -14px rgba(0, 0, 0, 1), 0 0 0 2px var(--acc) !important; }
.streamers .cr.is-refus { animation: st-secoue .45s; }
.streamers .cr.is-cache, .streamers .cr.is-surplus { display: none; }
/* Nouveau créneau en cours de tracé */
.streamers .cr.is-fantome { z-index: 4; background: rgba(236, 211, 177, .14); border: 1.5px dashed var(--acc); cursor: crosshair; pointer-events: none; }
.streamers .cr.is-fantome::before { display: none; }
.streamers .cr.is-fantome .cr-l1 i { font-size: 15px; color: var(--acc); }
/* Bloc trop étroit pour du texte (plusieurs créneaux en même temps) : la photo seule.
   Nom et horaire restent dans l'info-bulle (survol) et dans la fiche (clic), jamais coupés */
.streamers .cr.is-compact { flex-direction: column; align-items: center; gap: 0; padding: 5px 2px 4px 5px; }
.streamers .cr.is-compact.is-court { justify-content: center; padding-block: 0; }
.streamers .cr.is-compact .cr-l1 { padding-right: 0; }
.streamers .cr.is-compact .cr-nom, .streamers .cr.is-compact .cr-h, .streamers .cr.is-compact .cr-t, .streamers .cr.is-compact .cr-live, .streamers .cr.is-compact .cr-suppr { display: none; }
.streamers .cr.is-compact .cr-ava, .streamers .cr-plus .cr-ava { position: relative; }
.streamers .cr.is-compact .cr-ava { width: 20px; height: 20px; }
.streamers .cr.is-compact.is-live .cr-ava::after, .streamers .cr-plus .cr-ava.is-live::after { content: ""; position: absolute; right: -4px; top: -4px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--live); box-shadow: 0 0 0 1.5px #17140f; }
/* Cadenas (rangé dans la photo) : en pastille sur son coin */
.streamers .cr.is-compact .cr-cadenas { top: auto; right: -5px; bottom: -5px; display: grid; place-items: center; width: 12px; height: 12px; border-radius: 50%; background: #17140f;
  font-size: 8px; color: rgba(246, 241, 234, .8); }
/* Bloc « +2 » : les créneaux qui ne tiennent plus côte à côte, regroupés ; un clic ouvre leur liste */
.streamers .cr.cr-plus { align-items: center; gap: 5px; padding: 5px 2px; border: 1px dashed rgba(236, 211, 177, .5); background: rgba(236, 211, 177, .1); box-shadow: none; }
.streamers .cr.cr-plus::before { display: none; }
.streamers .cr.cr-plus:hover, .streamers .cr.cr-plus:focus-visible { border-style: solid; border-color: var(--acc); background: rgba(236, 211, 177, .18); box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 1); }
.streamers .cr-plus-n { font-size: 13px; font-weight: 900; font-style: italic; line-height: 1.1; color: var(--acc); font-variant-numeric: tabular-nums; }
.streamers .cr-plus-avas { display: flex; flex-direction: column; align-items: center; }
.streamers .cr-plus-avas .cr-ava { width: 16px; height: 16px; }
.streamers .cr-plus-avas .cr-ava + .cr-ava { margin-top: -3px; }
/* Repère « + 21h » sous la souris (mode streamer) */
.streamers .pl-viseur { position: absolute; z-index: 0; left: 3px; right: 3px; top: calc(var(--t) * var(--hh) / 60); height: calc(var(--hh) / 2); border: 1.5px dashed rgba(236, 211, 177, .5); border-radius: 3px;
  background: rgba(236, 211, 177, .06); pointer-events: none; }
.streamers .pl-viseur::after { content: attr(data-h); position: absolute; left: 7px; top: 50%; transform: translateY(-50%); font-size: 10.5px; font-weight: 800; font-style: italic; color: var(--acc); white-space: nowrap; }
/* Heure actuelle */
.streamers .pl-now { position: absolute; z-index: 5; left: var(--g); right: 0; top: calc(var(--t) * var(--hh) / 60); height: 0; border-top: 1px dashed rgba(var(--live-rgb), .5); pointer-events: none; transform-origin: left; }
.streamers .pl-now-j { position: absolute; top: -1.5px; height: 3px; left: calc(var(--j) * 100% / 7); width: calc(100% / 7); background: var(--live); box-shadow: 0 0 12px rgba(var(--live-rgb), .8); }
.streamers .pl-now-j::before { content: ""; position: absolute; left: -5px; top: -3.5px; width: 10px; height: 10px; border-radius: 50%; background: var(--live); }
.streamers .pl-now-l { position: absolute; right: calc(100% + 5px); top: 0; display: inline-flex; align-items: center; transform: translateY(-50%); padding: 1px 5px; border-radius: 2px; background: var(--live); color: #fff;
  font-size: 10.5px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: auto; }
.streamers .pl-now-l i { margin-left: -2px; font-size: 13px; }
.streamers .pl-now.is-avant, .streamers .pl-now.is-apres { border-top-color: transparent; }
.streamers .pl-now.is-avant .pl-now-j, .streamers .pl-now.is-apres .pl-now-j { opacity: .6; }
.streamers .pl-now.is-avant .pl-now-l { transform: translateY(3px); }
.streamers .pl-now.is-apres .pl-now-l { transform: translateY(calc(-100% - 3px)); }
/* Semaine vide, chargement, erreur */
.streamers .pl-vide { position: absolute; z-index: 2; left: var(--g); right: 0; top: 38%; display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; padding: 0 20px; text-align: center;
  font-size: 14px; font-weight: 700; font-style: italic; color: var(--muted); pointer-events: none; }
.streamers .pl-vide i { font-size: 34px; color: var(--acc); }
.streamers .pl-erreur { position: absolute; z-index: 3; left: var(--g); right: 0; top: 32%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 20px; text-align: center;
  font-size: 14px; font-weight: 700; font-style: italic; color: var(--muted); }
.streamers .pl-erreur > i { font-size: 34px; color: #f39a85; }
/* Fiche d'un créneau (clic) */
.streamers .pl-pop { --c: var(--acc); position: fixed; z-index: 70; left: 0; top: 0; width: min(300px, calc(100vw - 24px)); padding: 14px 14px 14px 18px; border: 1px solid var(--line-2); border-radius: 3px;
  background: rgba(20, 18, 15, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -20px #000, 6px 6px 0 rgba(236, 211, 177, .08); }
.streamers .pl-pop::before { content: ""; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--c); }
.streamers .pop-h { display: flex; align-items: center; gap: 11px; }
.streamers .pop-h .ava { width: 40px; padding: 2px; }
.streamers .pop-qui { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.streamers .pop-qui strong { overflow: hidden; font-size: 15px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.15; text-overflow: ellipsis; }
.streamers .pop-qui span { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.streamers .pop-x { align-self: flex-start; display: grid; place-items: center; width: 28px; height: 28px; font-size: 20px; color: var(--muted); transition: color .25s; }
.streamers .pop-x:hover { color: var(--acc); }
.streamers .pop-quand { display: flex; align-items: center; gap: 7px; margin: 12px 0 0; font-size: 13px; font-weight: 700; }
.streamers .pop-quand i { font-size: 16px; color: var(--acc); }
.streamers .pop-t { margin: 4px 0 0; font-size: 13px; font-style: italic; color: rgba(246, 241, 234, .72); overflow-wrap: anywhere; }
.streamers .pop-verrou { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; padding: 6px 9px; background: rgba(245, 160, 60, .1); border: 1px solid rgba(245, 160, 60, .3); font-size: 12px; font-weight: 700; color: #f6bf7c; }
.streamers .pop-b { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.streamers .pop-b:empty { display: none; }
.streamers .pop-b .btn-mini { height: 32px; padding: 0 11px; font-size: 11px; }
/* Liste du bloc « +2 » : un créneau par ligne, chacun ouvre sa fiche */
.streamers .pop-pile { flex: none; display: grid; place-items: center; width: 40px; height: 40px; background: var(--beige); color: var(--on-acc); font-size: 17px; font-weight: 900; font-style: italic;
  rotate: -4deg; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .8); }
.streamers .pop-liste { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.streamers .pop-cr { --c: var(--acc); position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px 7px 13px; border: 1px solid var(--line); border-radius: 3px;
  background: rgba(255, 255, 255, .03); text-align: left; transition: border-color .25s, background .25s; }
.streamers .pop-cr::before { content: ""; position: absolute; left: 3px; top: 7px; bottom: 7px; width: 3px; border-radius: 2px; background: var(--c); }
.streamers .pop-cr:hover, .streamers .pop-cr:focus-visible { border-color: var(--c); background: rgba(255, 255, 255, .07); }
.streamers .pop-cr .ava { width: 32px; padding: 2px; }
.streamers .pop-cr-t { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.streamers .pop-cr-t b { overflow: hidden; font-size: 13px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.streamers .pop-cr-t span { overflow: hidden; font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.streamers .pop-cr .cr-live { margin-left: 0; }
.streamers .pop-cr-v { flex: none; font-size: 13px; color: rgba(246, 241, 234, .55); }
.streamers .pop-cr-fl { flex: none; font-size: 18px; color: var(--muted); transition: transform .4s var(--ease), color .25s; }
.streamers .pop-cr:hover .pop-cr-fl, .streamers .pop-cr:focus-visible .pop-cr-fl { transform: translateX(3px); color: var(--acc); }
/* Info-bulle (créneau verrouillé, refus) */
.streamers .bulle { position: fixed; z-index: 92; left: 0; top: 0; display: flex; align-items: center; gap: 7px; max-width: min(360px, calc(100vw - 20px)); padding: 7px 11px; border: 1px solid var(--line-2); border-radius: 3px;
  background: rgba(13, 12, 11, .95); font-size: 12px; font-weight: 700; line-height: 1.35; opacity: 0; pointer-events: none; transition: opacity .2s; box-shadow: 0 14px 30px -12px #000; }
.streamers .bulle.is-on { opacity: 1; }
.streamers .bulle i { flex: none; font-size: 14px; color: var(--acc); }
.streamers .bulle.is-refus { border-color: rgba(243, 154, 133, .8); color: #ffd6cc; }
.streamers .bulle.is-refus i { color: #f39a85; }
/* Notifications en bas de l'écran */
.streamers .toasts { position: fixed; z-index: 90; left: 50%; bottom: 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; width: max-content; max-width: calc(100vw - 24px); transform: translateX(-50%); pointer-events: none; }
.streamers .toast { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 10px 12px 10px 14px; border: 1px solid var(--line-2); border-radius: 3px; background: rgba(20, 18, 15, .95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 40px -16px #000; font-size: 13.5px; font-weight: 600; pointer-events: auto; }
.streamers .toast > i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(98, 212, 127, .16); color: #8fdca3; font-size: 16px; }
.streamers .toast b { font-weight: 800; font-style: italic; color: var(--acc); }
.streamers .toast.is-refus { border-color: rgba(243, 154, 133, .6); }
.streamers .toast.is-refus > i { background: rgba(243, 154, 133, .16); color: #f39a85; }
.streamers .toast.is-info > i { background: rgba(236, 211, 177, .14); color: var(--acc); }
.streamers .toast button { flex: none; margin-left: 4px; padding: 4px 10px; border: 1.5px solid var(--line-2); font-size: 11.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--acc); transition: background .25s, color .25s; }
.streamers .toast button:hover { background: var(--beige); color: var(--on-acc); border-color: transparent; }
/* Fenêtre « créneau » */
.streamers .dlg { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 0; background: none; color: var(--text); overflow: visible; }
.streamers .dlg::backdrop { background: rgba(8, 7, 6, .66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: st-fond-dlg .35s ease both; }
@keyframes st-fond-dlg { from { opacity: 0; } to { opacity: 1; } }
.streamers .dlg-in { position: relative; width: min(440px, calc(100vw - 24px)); padding: 20px 20px 18px 24px; border: 1px solid var(--line-2); border-radius: 3px; background: #15130f;
  box-shadow: 0 40px 90px -30px #000, 10px 10px 0 rgba(236, 211, 177, .08); }
.streamers .dlg-in::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--acc); }
.streamers .dlg-h { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.streamers .dlg-h .ava { width: 44px; padding: 2px; }
.streamers .dlg-k { margin: 0; font-size: 11px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--acc); }
.streamers .dlg-t { margin: 0; font-size: 22px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.1; letter-spacing: -.02em; }
.streamers .dlg-x { margin-left: auto; align-self: flex-start; display: grid; place-items: center; width: 32px; height: 32px; font-size: 22px; color: var(--muted); transition: color .25s; }
.streamers .dlg-x:hover { color: var(--acc); }
.streamers .dlg-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.streamers .dlg-c { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.streamers .dlg-c.is-large { grid-column: 1 / -1; }
.streamers .dlg-c > span { font-size: 11px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--muted); }
.streamers .dlg-c em { font-style: italic; font-weight: 600; text-transform: none; color: var(--dim); }
/* Champs : aucun effet visuel au focus (décision du propriétaire), seul le curseur de texte apparaît */
.streamers .dlg-c select, .streamers .dlg-c input { width: 100%; height: 44px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: 2px; outline: 0; background-color: rgba(255, 255, 255, .04);
  font-size: 14px; font-weight: 600; }
.streamers .dlg-c select { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ecd3b1' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; }
.streamers .dlg-c select option { background: #15130f; color: var(--text); }
.streamers .dlg-c input::placeholder { color: var(--dim); }
/* Chaîne du live : une pastille par chaîne de la carte (icône à la couleur de la plateforme), la choisie bordée de beige.
   Le bouton radio reste dans la pastille (clavier : flèches), invisible : aucun effet au focus (décision du propriétaire) */
.streamers .dlg-chaines { display: flex; flex-wrap: wrap; gap: 8px; }
.streamers .dlg-ch { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 13px 0 6px; border: 1.5px solid var(--line-2); border-radius: 2px;
  font-size: 11.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--muted); white-space: nowrap; cursor: pointer; transition: border-color .22s, color .22s, background .22s; }
.streamers .dlg-ch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.streamers .dlg-ch-ico { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--plat); color: var(--plat-txt, #fff); font-size: 15px; font-style: normal; }
.streamers .dlg-ch.is-tiktok .dlg-ch-ico { background: #fff; color: #0d0c0b; box-shadow: -2px -1px 0 #25f4ee, 2px 1px 0 #fe2c55; }
.streamers .dlg-ch:hover { color: var(--text); }
.streamers .dlg-ch:has(input:checked) { border-color: var(--acc); background: rgba(236, 211, 177, .08); color: var(--acc); }
.streamers .dlg-duree { margin: 10px 0 0; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.streamers .dlg-duree b { color: var(--acc); font-weight: 800; font-style: italic; }
.streamers .dlg-err { margin: 8px 0 0; font-size: 12.5px; font-weight: 700; color: #f39a85; }
.streamers .dlg-err:empty { display: none; }
.streamers .dlg-b { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.streamers .dlg-b .btn-mini[data-dlg-fermer] { margin-left: auto; }
.streamers .dlg-suppr { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 4px; font-size: 11.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: #f39a85; transition: color .25s; }
.streamers .dlg-suppr i { font-size: 17px; }
.streamers .dlg-suppr:hover { color: #ff6e55; }
.streamers .dlg-in.is-secoue { animation: st-secoue .45s; }

/* =====================================================================
   MA CARTE (#/streamers/ma-carte) : formulaire, aperçu en direct, état et message du staff
   ===================================================================== */
.streamers .ca { position: relative; padding: calc(var(--hd) + clamp(14px, 2.6vh, 30px)) 0 clamp(70px, 9vw, 130px); }
.streamers .ca-tete { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 30px; margin-bottom: 24px; }
.streamers .ca-tete-g { min-width: 0; }
.streamers .ca-tete-d:empty { display: none; }
.streamers .ca-desc { max-width: 640px; margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: rgba(246, 241, 234, .74); }
.streamers .ca-acces { max-width: 780px; }
.streamers .ca-corps { display: grid; grid-template-columns: minmax(0, 1fr) clamp(290px, 26vw, 360px); gap: clamp(24px, 3vw, 48px); align-items: start; }
.streamers .ca-form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
/* Couleur des états : brouillon beige, en attente orange, publiée verte, refusée rouge, retirée rouge-orangé */
.streamers [data-etat-carte] { --ca-c: 236, 211, 177; }
.streamers [data-etat-carte="attente"] { --ca-c: 245, 160, 60; }
.streamers [data-etat-carte="publiee"] { --ca-c: 98, 212, 127; }
.streamers [data-etat-carte="refusee"] { --ca-c: 236, 86, 72; }
.streamers [data-etat-carte="retiree"] { --ca-c: 240, 128, 96; }
.streamers .ca-etat { position: relative; padding: 18px 22px 20px 26px; border: 1px solid rgba(var(--ca-c), .3); background: rgba(var(--ca-c), .07);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.streamers .ca-etat::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: rgb(var(--ca-c)); }
.streamers .ca-etat-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.streamers .ca-etat-h .ca-k { width: 100%; margin: 0 0 2px; }
.streamers .ca-etat-h small { font-size: 12.5px; color: var(--muted); }
.streamers .ca-pastille { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 11px; border: 1px solid rgba(var(--ca-c), .4); border-radius: 2px; background: rgba(var(--ca-c), .12);
  color: rgb(var(--ca-c)); font-size: 13px; font-weight: 800; font-style: italic; line-height: 1.5; text-transform: uppercase; white-space: nowrap; }
.streamers .ca-pastille::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--ca-c)); }
.streamers .ca-etat-t { margin: 0; max-width: 680px; font-size: 14px; line-height: 1.65; color: rgba(246, 241, 234, .82); }
.streamers .ca-etat-t.is-alerte { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; color: #f6bf7c; }
.streamers .ca-etat-t.is-alerte i { flex: none; margin-top: 3px; font-size: 16px; }
.streamers .ca-staff { margin-top: 14px; }
.streamers .ca-staff-k { display: flex; align-items: center; gap: 7px; margin: 0 0 7px; font-size: 11.5px; font-weight: 900; font-style: italic; letter-spacing: .04em; text-transform: uppercase; color: rgb(var(--ca-c)); }
.streamers .ca-staff-k i { font-size: 17px; }
.streamers .ca-staff blockquote { margin: 0; padding: 10px 14px; border-left: 3px solid rgba(var(--ca-c), .7); background: rgba(255, 255, 255, .04);
  font-size: 14px; font-style: italic; line-height: 1.6; color: rgba(246, 241, 234, .92); white-space: pre-wrap; overflow-wrap: anywhere; }
/* Blocs du formulaire : verre sombre, filet beige à gauche (comme le reste du site) */
.streamers .ca-bloc { position: relative; min-width: 0; margin: 0; padding: 20px 22px 22px 26px; border: 1px solid var(--verre-bord); background: var(--panneau);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.streamers .ca-bloc::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--acc); }
.streamers .ca-bloc[disabled] { opacity: .72; }
.streamers .ca-bloc > legend { float: left; width: 100%; padding: 0; }
.streamers .ca-bloc > legend + * { clear: both; }
.streamers .ca-k { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 900; font-style: italic; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
.streamers .ca-n { display: inline-grid; place-items: center; width: 26px; height: 26px; background: var(--beige); color: var(--on-acc); font-size: 13px; letter-spacing: 0; transform: skewX(-8deg); }
.streamers .ca-k > i { font-size: 17px; }
.streamers .ca-aide { margin: 0 0 14px; max-width: 640px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.streamers .ca-aide:last-child { margin-bottom: 0; }
.streamers .ca-c { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.streamers .ca-c + .ca-c { margin-top: 14px; }
.streamers .ca-c > label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 11.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--muted); }
.streamers .ca-c > label em { font-weight: 600; text-transform: none; color: var(--dim); }
.streamers .ca-c > label small { flex: none; font-size: 11px; font-weight: 700; font-style: normal; color: var(--dim); font-variant-numeric: tabular-nums; }
.streamers .ca-c > label small.is-trop { color: #f39a85; }
/* Champs : aucun effet visuel au focus (décision du propriétaire), seul le curseur de texte apparaît */
.streamers .ca input[type="text"], .streamers .ca input[type="url"], .streamers .ca textarea { width: 100%; height: 48px; min-width: 0; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 2px;
  outline: 0; background: rgba(255, 255, 255, .04); color: var(--text); font-size: 15px; font-weight: 600; caret-color: var(--acc); }
.streamers .ca textarea { height: auto; min-height: 116px; padding: 12px 14px; font-weight: 500; line-height: 1.6; resize: vertical; }
.streamers .ca input::placeholder, .streamers .ca textarea::placeholder { color: var(--dim); font-weight: 500; }
.streamers .ca .is-erreur > input, .streamers .ca .is-erreur > textarea { border-color: rgba(243, 154, 133, .7); }
.streamers .ca-err { margin: 0; font-size: 12.5px; font-weight: 700; line-height: 1.45; color: #f39a85; }
.streamers .ca-err:empty { display: none; }
/* Chaînes : une ligne par plateforme, pastille à sa couleur, choix de la principale */
.streamers .ca-chaines { display: flex; flex-direction: column; gap: 10px; }
.streamers .ca-chaine { display: grid; grid-template-columns: 124px minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; }
.streamers .ca-chaine-l { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 12.5px; font-weight: 800; font-style: italic; text-transform: uppercase; }
.streamers .ca-plat-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--plat); color: var(--plat-txt, #fff); font-size: 18px; }
.streamers .ca-chaine.is-tiktok .ca-plat-ico { background: #fff; color: #0d0c0b; box-shadow: -2px -1px 0 #25f4ee, 2px 1px 0 #fe2c55; }
.streamers .ca-chaine > .ca-err { grid-column: 2 / -1; }
.streamers .ca-princ { display: inline-flex; align-items: center; gap: 7px; height: 48px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: 2px; font-size: 11px; font-weight: 800;
  font-style: italic; text-transform: uppercase; color: var(--muted); white-space: nowrap; cursor: pointer; transition: border-color .3s, color .3s, background .3s, opacity .3s; }
.streamers .ca-princ input { width: 16px; height: 16px; margin: 0; accent-color: #ecd3b1; }
.streamers .ca-princ:has(input:checked) { border-color: var(--acc); background: rgba(236, 211, 177, .08); color: var(--acc); }
.streamers .ca-princ:has(input:disabled) { opacity: .4; cursor: default; }
/* Photo : avatar Discord, image actuelle ou nouvelle image */
.streamers .ca-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.streamers .ca-photo { position: relative; display: flex; align-items: center; gap: 11px; min-width: 0; padding: 10px; border: 1.5px solid var(--line-2); border-radius: 2px; background: rgba(255, 255, 255, .03);
  cursor: pointer; transition: border-color .3s, background .3s, box-shadow .4s; }
.streamers .ca-photo input { position: absolute; opacity: 0; pointer-events: none; }
.streamers .ca-photo:hover { border-color: rgba(236, 211, 177, .42); }
.streamers .ca-photo:has(input:checked) { border-color: var(--acc); background: rgba(236, 211, 177, .09); box-shadow: 4px 4px 0 rgba(236, 211, 177, .12); }
.streamers .ca-photo:has(input:focus-visible) { border-color: var(--acc); }
.streamers .ca-photo-v { flex: none; display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border: 2px solid var(--creme); background: #1a1816; color: var(--muted); font-size: 22px; rotate: -3deg; }
.streamers .ca-photo-v img { display: block; width: 100%; height: 100%; object-fit: cover; }
.streamers .ca-photo-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.streamers .ca-photo-t b { font-size: 12.5px; font-weight: 800; font-style: italic; text-transform: uppercase; }
.streamers .ca-photo-t small { overflow: hidden; font-size: 11.5px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.streamers .ca-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; }
.streamers .ca-duo .ca-c + .ca-c { margin-top: 0; }
/* Boutons d'envoi et message (enregistré, erreur, modifications non enregistrées) */
.streamers .ca-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px 18px; margin-top: 6px; }
.streamers .ca-actions .btn { height: 52px; padding: 0 24px; }
.streamers .ca-msg { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-height: 22px; margin: 0; font-size: 13px; font-weight: 700; line-height: 1.45; color: var(--muted); text-align: right; }
.streamers .ca-msg:empty { display: none; }
.streamers .ca-msg i { flex: none; font-size: 18px; }
.streamers .ca-msg.is-ok { color: #a6e6b8; }
.streamers .ca-msg.is-alerte { color: #f39a85; }
.streamers .ca-msg.is-ecart { color: #f6bf7c; }
/* Aperçu : la carte telle qu'elle apparaîtra (et la version en ligne, si une nouvelle version attend) */
.streamers .ca-apercu { position: sticky; top: calc(var(--hd) + 18px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.streamers .ca-apercu-c { width: 100%; max-width: 330px; }
.streamers .ca-apercu-c.is-petit { max-width: 250px; }
.streamers .ca-enligne { padding-top: 16px; border-top: 1px dashed var(--line-2); }
.streamers .ca-enligne .ca-k { margin-bottom: 6px; }
.streamers .ca-enligne-t { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.streamers .ca-enligne-t a { font-weight: 800; color: var(--acc); text-decoration: underline; text-underline-offset: 2px; }
/* Corbeille : les cartes retirées par la Direction, gardées entières (sous le formulaire et son aperçu ; seulement s'il y en a) */
.streamers .ca-corb { margin-top: clamp(34px, 4vw, 56px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px dashed var(--line-2); }
.streamers .ca-corb-tete { margin-bottom: 18px; }
.streamers .ca-corb-tete .ca-k { margin-bottom: 8px; font-size: 13px; }
.streamers .ca-corb-tete .ca-aide { margin: 0; }
.streamers .ca-corb-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 560px), 1fr)); gap: 18px; align-items: start; }
.streamers .ca-corb-e { position: relative; display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 24px; align-items: start; min-width: 0;
  padding: 22px 22px 22px 26px; border: 1px solid rgba(var(--ca-c), .26); background: var(--panneau); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.streamers .ca-corb-e::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: rgb(var(--ca-c)); }
.streamers .ca-corb-v { width: 100%; min-width: 0; }
.streamers .ca-corb-t { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.streamers .ca-corb-t .ca-pastille { max-width: 100%; white-space: normal; }
.streamers .ca-corb-t .ca-staff { align-self: stretch; margin-top: 2px; }
.streamers .ca-corb-exp { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 12.5px; font-weight: 600; line-height: 1.45; color: var(--muted); }
.streamers .ca-corb-exp i { flex: none; font-size: 16px; color: var(--dim); }
.streamers .ca-corb-b { margin-top: 4px; }
.streamers .ca-corb-b .btn { height: 46px; padding: 0 22px; font-size: 13px; }
.streamers .ca-corb-b .btn i { font-size: 18px; }
.streamers .ca-corb-msg { justify-content: flex-start; text-align: left; }
/* Fenêtre « Restaurer cette carte ? » (même fenêtre que celle des créneaux) */
.streamers .dlg-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: var(--acc); color: var(--on-acc); font-size: 22px; transform: skewX(-8deg); }
.streamers .dlg-ico i { transform: skewX(8deg); }
.streamers .dlg-p { margin: 0 0 10px; font-size: 14.5px; font-weight: 600; line-height: 1.6; color: var(--text); }
.streamers .dlg-p.is-doux { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
/* Aperçu d'une carte dans l'espace staff (UltimateStreamers.apercuHtml) */
.streamers.st-apercu { width: 100%; max-width: 320px; }

/* ---------- Adaptation écrans ---------- */
@media (max-width: 1360px) {
  .streamers .pl-jh-a { display: none; }
}
@media (max-width: 1220px) {
  .streamers .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  /* Chaînes : la plateforme et « Principale » sur une ligne, le champ sur toute la largeur en dessous */
  .streamers .ca-chaine { grid-template-columns: minmax(0, 1fr) auto; row-gap: 8px; }
  .streamers .ca-chaine-l { grid-column: 1; grid-row: 1; }
  .streamers .ca-princ { grid-column: 2; grid-row: 1; height: 40px; }
  .streamers .ca-chaine > input { grid-column: 1 / -1; grid-row: 2; }
  .streamers .ca-chaine > .ca-err { grid-column: 1 / -1; }
  .streamers .ca-chaines { gap: 16px; }
  .streamers .ca-photos { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .streamers .st-ph-grid { grid-template-columns: minmax(0, 1fr); }
  .streamers .st-ph-photo { display: none; }
  .streamers .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .streamers .etapes { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .streamers .pl-tete, .streamers .ca-tete { align-items: flex-start; flex-direction: column; }
  /* Ma carte : l'aperçu passe sous le formulaire */
  .streamers .ca-corps { grid-template-columns: minmax(0, 1fr); }
  .streamers .ca-apercu { position: static; }
  .streamers .ca-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .streamers .st-ph-title { font-size: clamp(42px, 12.4vw, 64px); }
  .streamers .st-ph-desc { font-size: 15.5px; }
  .streamers .st-ph-actions { gap: 12px; }
  .streamers .btn-planning, .streamers .btn-ma-carte, .streamers .btn-reglement { width: 100%; }
  /* En colonne, pas de retour à la ligne : sinon la colonne prend la largeur naturelle des puces et élargit la page */
  .streamers .sec-h { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  /* Ligne de résultat sous la barre de filtres */
  .streamers .f1-res-l { align-items: flex-start; }
  .streamers .f1-res { padding-top: 11px; }
  .streamers .f1-reset-w { margin-top: 10px; }
  .streamers .f1-reset-w .btn-mini { padding: 0 11px; }
  .streamers .st-cta-btns .btn { flex: 1 1 100%; }
  /* Planning : un jour à la fois, choisi dans les onglets (ou en glissant le doigt) */
  .streamers .pl-compte { width: 100%; }
  .streamers .pl-moi { width: 100%; }
  .streamers .pl-moi .pl-moi-fl { margin-left: auto; }
  .streamers .pl-barre { flex-direction: column; align-items: stretch; }
  .streamers .pl-sem { justify-content: space-between; }
  .streamers .pl-sem-t { min-width: 0; flex: 1; }
  .streamers .pl-auj { display: none; }
  .streamers .pl-info { max-width: none; }
  .streamers .pl-jours-m { display: flex; gap: 6px; margin-bottom: 12px; }
  .streamers .pl-jt { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 6px; border: 1.5px solid var(--line-2); background: rgba(13, 12, 11, .45);
    transform: skewX(-6deg); transition: background .3s, color .3s, border-color .3s; }
  .streamers .pl-jt > * { transform: skewX(6deg); }
  .streamers .pl-jt span { font-size: 10.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--muted); }
  .streamers .pl-jt b { font-size: 18px; font-weight: 900; font-style: italic; line-height: 1; }
  .streamers .pl-jt i { display: flex; gap: 2px; height: 4px; }
  .streamers .pl-jt i s { width: 4px; height: 4px; border-radius: 50%; background: var(--acc); }
  .streamers .pl-jt.is-auj { border-color: var(--acc); }
  .streamers .pl-jt[aria-selected="true"] { background: var(--beige); color: var(--on-acc); border-color: transparent; }
  .streamers .pl-jt[aria-selected="true"] span { color: rgba(13, 12, 11, .65); }
  .streamers .pl-jt[aria-selected="true"] i s { background: var(--on-acc); }
  .streamers .pl-grille { --g: 46px; --hh: 46px; }
  .streamers .pl-entete { display: none; }
  .streamers .pl-corps { grid-template-columns: var(--g) minmax(0, 1fr); touch-action: pan-y; }
  .streamers .pl-col:not(.is-jour-m) { display: none; }
  .streamers .pl-now-j { left: 0; width: 100%; }
  .streamers .pl-now.is-autre-jour { display: none; }
  .streamers .cr { padding-right: 26px; }
  .streamers .cr-suppr { opacity: 1; }
  .streamers .cr-nom { font-size: 12.5px; }
  .streamers .cr-h, .streamers .cr-t { font-size: 11.5px; }
  .streamers .dlg-champs { grid-template-columns: 1fr 1fr; }
  /* Ma carte */
  .streamers .ca-bloc { padding: 16px 16px 18px 20px; }
  .streamers .ca-etat { padding: 16px 16px 18px 20px; }
  .streamers .ca-photos, .streamers .ca-duo { grid-template-columns: minmax(0, 1fr); }
  .streamers .ca-actions .btn { flex: 1 1 100%; }
  .streamers .ca-msg { justify-content: flex-start; text-align: left; }
  .streamers .ca-apercu-c { max-width: none; }
  .streamers .ca-apercu-c.is-petit { max-width: none; }
  /* Corbeille : la carte retirée au-dessus de ses informations */
  .streamers .ca-corb-e { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px 16px 18px 20px; }
  .streamers .ca-corb-b { align-self: stretch; }
  .streamers .ca-corb-b .btn { width: 100%; }
}
@media (max-width: 600px) {
  /* Cartes en lignes : photo à gauche */
  .streamers .grille { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .streamers .carte-in { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 4px; padding: 8px 8px 12px; rotate: calc(var(--rot, 0deg) * .35); }
  /* Photo en 4:5 */
  .streamers .carte-photo { aspect-ratio: 4 / 5; align-self: start; }
  .streamers .carte-etat { left: 6px; top: 6px; flex-direction: column; align-items: flex-start; }
  .streamers .carte-plat { right: auto; left: 6px; top: auto; bottom: 6px; width: 32px; height: 32px; font-size: 16px; }
  .streamers .carte-corps { padding: 6px 4px 0 10px; }
  .streamers .carte-nom { font-size: 21px; }
  .streamers .carte-perso { margin: 7px 0 12px; font-size: 12.5px; }
  .streamers .carte-pres { margin: 7px 0 10px; font-size: 12.5px; -webkit-line-clamp: 3; }
  .streamers .carte-ligne { padding-top: 10px; }
  .streamers .lien-p { width: 28px; height: 27px; font-size: 15px; }
  .streamers .carte-action { margin-top: 10px; }
  .streamers .carte-b, .streamers .prochain { height: auto; min-height: 40px; }
}

/* ===== compte.css ===== */
/* Fenêtre « Discord » du MODE MAQUETTE (compte.js) : imitation sobre de l'écran d'autorisation de Discord,
   avec le choix du compte d'exemple. Sur le vrai site, c'est la page officielle de discord.com qui s'affiche. */
.dcx { width: min(440px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 0; background: none; color: #f2f3f5; overflow: visible; }
.dcx::backdrop { background: rgba(8, 7, 6, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: dcx-fond .35s ease both; }
@keyframes dcx-fond { from { opacity: 0; } }
.dcx-carte { max-height: calc(100dvh - 24px); overflow: auto; padding: 24px 22px 18px; border-radius: 8px; background: #313338; text-align: center;
  font-family: 'Poppins', system-ui, sans-serif; font-size: 14px; line-height: 1.45; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85); scrollbar-width: thin; }
.dcx-carte * { box-sizing: border-box; }
.dcx-logos { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 14px; }
.dcx-site { width: 68px; height: 68px; border-radius: 50%; background: #e2c39b center / cover no-repeat; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .6); }
.dcx-discord { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #5865f2; color: #fff; font-size: 38px; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .6); }
.dcx-pts { display: flex; gap: 5px; }
.dcx-pts i { width: 6px; height: 6px; border-radius: 50%; background: #80848e; animation: dcx-pt 1.2s ease-in-out infinite; }
.dcx-pts i:nth-child(2) { animation-delay: .15s; }
.dcx-pts i:nth-child(3) { animation-delay: .3s; }
@keyframes dcx-pt { 0%, 100% { opacity: .35; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
.dcx-k { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #949ba4; }
.dcx-t { margin: 6px 0 2px; font-size: 19px; font-weight: 600; line-height: 1.3; color: #f2f3f5; }
.dcx-t b { font-weight: 800; }
.dcx-sous { margin: 0 0 14px; font-size: 13px; color: #b5bac1; }
/* Comptes d'exemple : liste façon « changer de compte » */
.dcx-comptes { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.dcx-compte { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border: 1.5px solid transparent; border-radius: 6px; background: #2b2d31; cursor: pointer;
  transition: background .2s, border-color .2s; }
.dcx-compte:hover { background: #35373c; }
.dcx-compte input { position: absolute; opacity: 0; pointer-events: none; }
.dcx-compte:has(input:checked) { border-color: #5865f2; background: #2e3035; }
.dcx-compte:has(input:focus-visible) { outline: 2px solid #00a8fc; outline-offset: 2px; }
.dcx-ava { flex: none; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.dcx-id { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.dcx-id b { overflow: hidden; font-size: 14.5px; font-weight: 700; color: #f2f3f5; text-overflow: ellipsis; white-space: nowrap; }
.dcx-id small { font-size: 12.5px; color: #949ba4; }
.dcx-role { flex: none; padding: 2px 8px; border-radius: 4px; background: rgba(88, 101, 242, .18); color: #c9cdfb; font-size: 11px; font-weight: 700; white-space: nowrap; }
.dcx-role.is-hors { background: rgba(240, 178, 50, .16); color: #f0c674; }
.dcx-coche { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #5865f2; color: #fff; font-size: 17px; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.dcx-compte:has(input:checked) .dcx-coche { opacity: 1; transform: none; }
.dcx-perms { margin-top: 16px; padding-top: 12px; border-top: 1px solid #3f4147; text-align: left; }
.dcx-perms p { margin: 0 0 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #b5bac1; }
.dcx-perms ul { margin: 0; padding: 0; list-style: none; }
.dcx-perms li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #3f4147; font-size: 13.5px; color: #dbdee1; }
.dcx-perms li i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #23a55a; color: #fff; font-size: 16px; }
.dcx-note { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: 12px; line-height: 1.45; color: #949ba4; text-align: left; }
.dcx-note i { flex: none; margin-top: 1px; font-size: 15px; }
.dcx-raz { padding: 0; border: 0; background: none; font: inherit; color: #00a8fc; cursor: pointer; }
.dcx-raz:hover { text-decoration: underline; }
.dcx-raz[data-confirmer] { color: #f23f42; font-weight: 700; }
.dcx-b { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #3f4147; }
.dcx-annuler { padding: 8px 4px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; color: #dbdee1; cursor: pointer; }
.dcx-annuler:hover { text-decoration: underline; }
.dcx-ok { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 128px; height: 40px; padding: 0 22px; border: 0; border-radius: 4px;
  background: #5865f2; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s; }
.dcx-ok:hover { background: #4752c4; }
.dcx-ok:disabled { cursor: progress; opacity: .85; }
.dcx-ok i { font-size: 18px; }
.dcx :focus-visible { outline: 2px solid #00a8fc; outline-offset: 2px; }
/* Téléphone : l'étiquette du compte passe sous le pseudo (le pseudo n'est plus coupé), fenêtre un peu plus compacte */
@media (max-width: 480px) {
  .dcx-carte { padding: 18px 16px 14px; }
  .dcx-logos { margin-bottom: 10px; }
  .dcx-site, .dcx-discord { width: 54px; height: 54px; }
  .dcx-discord { font-size: 30px; }
  .dcx-t { font-size: 17.5px; }
  .dcx-compte { display: grid; grid-template-columns: 38px minmax(0, 1fr) 22px; column-gap: 12px; row-gap: 5px; }
  .dcx-ava { grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .dcx-id { grid-column: 2; grid-row: 1; }
  .dcx-role { grid-column: 2; grid-row: 2; justify-self: start; }
  .dcx-coche { grid-column: 3; grid-row: 1 / 3; align-self: center; }
  .dcx-perms li { padding: 7px 0; font-size: 13px; }
  /* Petit écran où la fenêtre défile : « Annuler » et « Autoriser » restent visibles en bas */
  .dcx-b { position: sticky; bottom: -14px; margin: 14px -16px -14px; padding: 12px 16px 14px; background: #313338; }
}

/* ===== staff.css ===== */
/* Espace staff (staff.js) : liste des candidatures, dossier en lecture, colonne de décision.
   Même langage que la 3C (verre sombre, filet beige à gauche, boutons penchés, titres italiques en capitales) ;
   le dossier lui-même est dessiné par dossier.css (UltimateDossier.lecture). Couleurs des états :
   nouvelle = beige, en attente = orange, retenue = vert, refusée = rouge (comme les pastilles du recrutement), clôturée = gris
   (rôle retiré ou départ du Discord, relais/CONTRAT-CLOTURE.md). */
[data-etat] { --sf-c: 236, 211, 177; }
[data-etat="attente"] { --sf-c: 245, 160, 60; }
[data-etat="retenue"] { --sf-c: 98, 212, 127; }
[data-etat="refusee"] { --sf-c: 236, 86, 72; }
[data-etat="cloturee"] { --sf-c: 150, 156, 168; }
/* Cartes streamers : publiée = vert, retirée du site = rouge-orangé (brouillon et « envoyée » : beige, en attente : orange) */
[data-etat="publiee"] { --sf-c: 98, 212, 127; }
[data-etat="retiree"] { --sf-c: 240, 128, 96; }

/* Pastille d'état */
.sf-pastille { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 9px; border: 1px solid rgba(var(--sf-c), .32); border-radius: 2px;
  background: rgba(var(--sf-c), .1); color: rgb(var(--sf-c)); font-size: 11.5px; font-weight: 800; font-style: italic; line-height: 1.5; text-transform: uppercase; white-space: nowrap; }
.sf-pastille::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--sf-c)); }
.sf-pastille.is-grande { padding: 5px 13px 5px 11px; font-size: 13px; }
.sf-histo .sf-pastille::before { display: none; }

/* ---------- Écrans d'accès (invitation, accès réservé, serveur injoignable) ---------- */
.sf-bloc { padding-bottom: clamp(80px, 10vw, 140px); }
.sf-carte { position: relative; display: flex; align-items: flex-start; gap: 22px; max-width: 780px; padding: 28px 30px 30px 32px; border: 1px solid var(--verre-bord);
  background: var(--panneau); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sf-carte::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--acc); }
.sf-carte-ico { flex: none; display: grid; place-items: center; width: 56px; height: 56px; font-size: 28px; background: var(--acc); color: var(--on-acc); transform: skewX(-8deg); }
.sf-carte-ico i { transform: skewX(8deg); }
.sf-carte-t { min-width: 0; }
.sf-carte-t h2 { margin: 2px 0 10px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; font-style: italic; line-height: 1.08; letter-spacing: -.02em; text-transform: uppercase; }
.sf-carte-t p { margin: 0; max-width: 560px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.sf-carte-t p b { color: var(--text); }
.sf-carte-b { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.btn.sf-btn-discord { background: #5865f2; color: #fff; box-shadow: 6px 6px 0 rgba(88, 101, 242, .28); }
.btn.sf-btn-discord:hover { transform: skewX(-8deg) translate(-2px, -2px); box-shadow: 9px 9px 0 rgba(88, 101, 242, .36); }
.sf-chargement { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 46px 0; font-size: 14px; font-weight: 700; font-style: italic; color: var(--muted); }
.sf-chargement i { font-size: 22px; color: var(--acc); }

/* ---------- Liste ---------- */
/* (relais 2.10.0) Statut du recrutement, en haut de la page Candidatures (demande du 13/11/2026) : une ligne par poste géré
   (Direction : les quatre ; responsable : le sien), Ouvert / Limité / Fermé ; le choix actif prend la couleur de la pastille. */
.sf-rec-sec { padding-bottom: clamp(22px, 2.6vw, 34px); }
.sf-rec { padding: clamp(16px, 1.8vw, 24px) clamp(16px, 2vw, 26px); border: 1px solid var(--line-2); border-radius: 3px; background: rgba(13, 12, 11, .55);
  box-shadow: inset 3px 0 0 var(--acc); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sf-rec-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 12px; }
.sf-rec-t { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-size: 15px; font-weight: 900; font-style: italic; letter-spacing: .01em; text-transform: uppercase; }
.sf-rec-t i { font-size: 19px; color: var(--acc); }
.sf-rec-d { max-width: 640px; margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.sf-rec-lignes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
.sf-rec-l { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; padding: 11px 0; border-top: 1px solid var(--line); transition: opacity .25s; }
.sf-rec-l.is-occupe { opacity: .65; }
.sf-rec-p { display: inline-flex; align-items: center; gap: 8px; min-width: 160px; font-size: 13px; font-weight: 800; font-style: italic; text-transform: uppercase; }
.sf-rec-p i { font-size: 17px; color: var(--acc); }
.sf-rec-choix { display: inline-flex; gap: 6px; }
.sf-rec-b { --c: 98, 212, 127; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 3px;
  background: rgba(13, 12, 11, .4); color: rgba(246, 241, 234, .6); font-size: 11.5px; font-weight: 800; font-style: italic; text-transform: uppercase; white-space: nowrap;
  cursor: pointer; transition: color .25s, border-color .25s, background .25s; -webkit-tap-highlight-color: transparent; }
.sf-rec-b[data-st="limite"] { --c: 245, 160, 60; }
.sf-rec-b[data-st="ferme"] { --c: 236, 86, 72; }
.sf-rec-b .pulse { opacity: .4; animation: none; box-shadow: none; }
.sf-rec-b:hover:not(:disabled) { color: #fff; border-color: rgba(var(--c), .6); }
.sf-rec-b.is-actif { color: #fff; border-color: rgba(var(--c), .75); background: rgba(var(--c), .16); }
.sf-rec-b.is-actif .pulse { opacity: 1; animation: pulse 2s infinite; }
.sf-rec-b.is-actif[data-st="ferme"] .pulse { animation: none; box-shadow: 0 0 0 3px rgba(236, 86, 72, .22); }
.sf-rec-b:disabled { cursor: progress; }
.sf-rec-info { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.sf-rec-info:empty { display: none; }
.sf-rec-info.is-ok { color: rgb(98, 212, 127); }
.sf-rec-info.is-erreur { color: #f39a85; }
@media (max-width: 900px) {
  .sf-rec-lignes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .sf-rec-choix { width: 100%; }
  .sf-rec-b { flex: 1 1 0; padding: 0 8px; }
}
/* Filtres : la BARRE COMMUNE du site (.fx-barre, commun.css), en beige, sans rien changer à son apparence : segments des états,
   menu « Poste » (plusieurs postes), recherche. Ici, seulement sa marge et ce qui l'entoure. */
.sf-liste-sec { padding-bottom: clamp(80px, 10vw, 140px); }
.sf-liste-sec > .fx-barre { margin-bottom: 16px; }
/* Sous la barre : nombre de candidatures (le poste s'il n'y en a qu'un), ordre, « Actualiser » */
.sf-sous { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 14px; }
.sf-resultat { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; margin: 0; font-size: 12.5px; font-weight: 800; font-style: italic; line-height: 1.3;
  text-transform: uppercase; color: var(--muted); }
.sf-resultat-poste { display: inline-flex; align-items: center; gap: 7px; color: var(--text); }
.sf-resultat-poste i { font-size: 17px; color: var(--acc); }
.sf-resultat-poste + span:not(:empty)::before { content: "·"; margin-right: 10px; color: var(--dim); }
.sf-actions { display: flex; gap: 8px; margin-left: auto; }
.sf-tri { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 3px;
  background: rgba(13, 12, 11, .4); font-size: 12px; font-weight: 800; font-style: italic; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
  color: rgba(246, 241, 234, .66); transition: color .3s, border-color .3s; -webkit-tap-highlight-color: transparent; }
.sf-tri i { font-size: 18px; color: var(--acc); }
.sf-tri:hover:not(:disabled) { color: #fff; border-color: rgba(236, 211, 177, .42); }
.sf-tri:disabled { opacity: .5; cursor: default; }
/* Mots trouvés par la recherche */
.sf-ligne mark { padding: 0 2px; border-radius: 1px; background: var(--beige); color: #0d0c0b; }
/* Panneau du menu « Poste » (sous la barre, au-dessus de la page) : même typo que les segments */
.sf-postes { position: fixed; z-index: 40; top: 0; left: 0; max-width: calc(100vw - 24px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid var(--line-2);
  border-radius: 4px; background: rgba(17, 16, 14, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 26px 50px -20px rgba(0, 0, 0, .9);
  font-family: var(--font-body); color: var(--text); scrollbar-width: thin; }
.sf-postes[hidden] { display: none; }
.sf-postes:not([hidden]) { animation: sf-postes-in .35s var(--ease) both; }
@keyframes sf-postes-in { from { opacity: 0; transform: translateY(-8px); } }
.sf-postes button { display: flex; align-items: center; gap: 12px; width: 100%; height: 46px; padding: 0 14px; border-radius: 2px; text-align: left; white-space: nowrap;
  font-size: 12.5px; font-weight: 800; font-style: italic; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: rgba(246, 241, 234, .66);
  transition: color .25s, background .25s; -webkit-tap-highlight-color: transparent; }
.sf-postes button i { flex: none; font-size: 18px; color: var(--acc); }
.sf-postes button:hover, .sf-postes button:focus-visible { outline: none; color: #fff; background: rgba(255, 255, 255, .05); }
.sf-postes button[aria-checked="true"] { color: var(--acc); background: rgba(236, 211, 177, .08); }
.sf-postes button[aria-checked="true"]:focus-visible { background: rgba(236, 211, 177, .15); }
.sf-postes-n { margin-left: auto; padding-left: 14px; font-size: 11px; font-weight: 800; font-style: normal; color: var(--acc); font-variant-numeric: tabular-nums; }
.sf-postes-n:empty { display: none; }
.sf-lignes { display: flex; flex-direction: column; gap: 10px; }
.sf-ligne { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1.5fr) minmax(0, 1fr) 140px 150px 22px; align-items: center; gap: 18px;
  padding: 14px 18px 14px 20px; border: 1px solid var(--verre-bord); background: var(--panneau); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .55s var(--ease), border-color .35s, background .35s; }
.sf-ligne::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--acc); transform: scaleY(0); transition: transform .5s var(--ease); }
.sf-ligne:hover { transform: translateX(6px); border-color: rgba(236, 211, 177, .22); background: rgba(20, 19, 17, .8); }
.sf-ligne:hover::before { transform: scaleY(1); }
.sf-ava { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #2a2622; box-shadow: 0 0 0 2px rgba(236, 211, 177, .22); }
.sf-qui { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.sf-qui b { overflow: hidden; font-size: 16px; font-weight: 800; font-style: italic; text-overflow: ellipsis; white-space: nowrap; }
.sf-qui small { overflow: hidden; font-size: 12.5px; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.sf-poste { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; font-weight: 700; color: rgba(246, 241, 234, .82); }
.sf-poste i { flex: none; font-size: 18px; color: var(--acc); }
.sf-poste span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-date { display: flex; flex-direction: column; line-height: 1.35; }
.sf-date b { font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sf-date small { font-size: 12px; color: var(--muted); }
.sf-etat-c { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.sf-etat-c small { max-width: 100%; overflow: hidden; font-size: 11.5px; color: var(--dim); text-overflow: ellipsis; white-space: nowrap; }
.sf-fleche { font-size: 22px; color: var(--acc); transition: transform .45s var(--ease); }
.sf-ligne:hover .sf-fleche { transform: translateX(4px); }
.sf-vide { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; padding: 46px 20px; border: 2px dashed var(--line-2); text-align: center; }
.sf-vide i { font-size: 34px; color: var(--acc); }
.sf-vide p { margin: 0; font-size: 15px; font-weight: 700; font-style: italic; color: var(--muted); }
.sf-vide.is-erreur i { color: #f39a85; }
.sf-lien { padding: 4px 0; font-size: 12.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--acc);
  background: linear-gradient(var(--acc), var(--acc)) 0 100% / 100% 2px no-repeat; transition: background-size .45s var(--ease); }
.sf-lien:hover { background-size: 0 2px; background-position: 100% 100%; }

/* ---------- Dossier : en-tête compact ---------- */
.sf-tete { position: relative; padding: calc(var(--hd, 78px) + clamp(24px, 4vh, 46px)) 0 clamp(26px, 3.4vw, 42px); }
.sf-retour { display: inline-flex; align-items: center; gap: 8px; margin-bottom: clamp(18px, 2.6vh, 26px); font-size: 12.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--acc); }
/* (16/11/2026) Au-dessus du grand titre qui le suit : les lettres découpées du titre (.sp-w / .sp-c) ont une marge haute invisible
   (place des accents et de l'apparition) qui recouvrait le lien une fois apparues : le clic tombait sur le titre et ne faisait rien */
.sf-retour { position: relative; z-index: 2; }
.sf-retour i { font-size: 20px; transition: transform .45s var(--ease); }
.sf-retour:hover i { transform: translateX(-4px); }
.sf-tete-in { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); min-height: 120px; }
.sf-tete-ava { flex: none; width: clamp(78px, 8vw, 118px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: #2a2622; border: 4px solid #efe6d8; rotate: -3deg;
  box-shadow: 0 22px 40px -18px rgba(0, 0, 0, .85); }
.sf-tete-t { min-width: 0; }
.sf-tete-t .ph-tag { margin-bottom: 14px; }
.ph-title.sf-titre { margin: 0 0 14px; font-size: clamp(36px, 4.8vw, 70px); line-height: 1.08; overflow-wrap: anywhere; }
.sf-tete-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.sf-tete-meta > span:not(.sf-pastille) { position: relative; }
.sf-tete-attente { display: flex; align-items: center; gap: 26px; width: 100%; }
.sf-tete-ava.is-vide, .sf-barre { background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)) 0 0 / 200% 100%; animation: sf-vide 1.3s linear infinite; }
.sf-tete-ava.is-vide { display: block; border-color: rgba(239, 230, 216, .25); }
.sf-barre { display: block; width: min(440px, 60%); height: 58px; transform: skewX(-8deg); }
@keyframes sf-vide { to { background-position: -200% 0; } }

/* ---------- Dossier : papier + colonne de décision ---------- */
.sf-corps { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 25vw, 360px); gap: clamp(28px, 3.4vw, 50px); align-items: start; padding-bottom: clamp(90px, 10vw, 150px); }
.sf-papier { min-width: 0; }
.sf-papier > .sf-chargement { min-height: 420px; border: 2px dashed var(--line-2); }
.sf-colonne { position: sticky; top: calc(var(--hd, 78px) + 18px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sf-decision, .sf-suivi { position: relative; padding: 20px 20px 22px 24px; border: 1px solid var(--verre-bord); background: rgba(17, 16, 14, .8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sf-decision::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: rgb(var(--sf-c)); transition: background .4s; }
.sf-k { margin: 0 0 12px; font-size: 11.5px; font-weight: 900; font-style: italic; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
.sf-suivi .sf-k + * { margin-top: 0; }
.sf-suivi .sf-action + .sf-k { margin-top: 22px; }
.sf-etat-actuel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 16px; }
.sf-etat-actuel small { font-size: 12.5px; color: var(--muted); }
.sf-boutons { display: flex; flex-direction: column; gap: 10px; }
.sf-btn { --c: 236, 211, 177; position: relative; display: flex; align-items: center; gap: 12px; width: 100%; height: 50px; padding: 0 18px; border: 2px solid rgba(var(--c), .45);
  background: rgba(var(--c), .1); color: #f6f1ea; font-size: 13.5px; font-weight: 800; font-style: italic; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  transform: skewX(-8deg); transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s, opacity .3s; }
.sf-btn > * { transform: skewX(8deg); }
.sf-btn.is-retenir { --c: 98, 212, 127; }
.sf-btn.is-attente { --c: 245, 160, 60; }
.sf-btn.is-refuser { --c: 236, 86, 72; }
.sf-btn:hover:not(:disabled) { background: rgb(var(--c)); border-color: transparent; color: #0d0c0b; transform: skewX(-8deg) translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(var(--c), .25); }
.sf-btn:disabled { opacity: .45; cursor: default; }
.sf-btn.is-loading { opacity: .8; }
.sf-btn i { font-size: 18px; }
.sf-emoji { font-size: 17px; font-style: normal; line-height: 1; }
.sf-l-court { display: none; }
.sf-aide { margin: 14px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.sf-final { display: flex; gap: 10px; margin: 0; padding: 12px 14px; border: 1px dashed var(--line-2); background: rgba(255, 255, 255, .03); font-size: 13px; line-height: 1.55; color: var(--muted); }
.sf-final i { flex: none; margin-top: 1px; font-size: 18px; color: var(--acc); }
.sf-action { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 11px 13px; border: 1px solid rgba(236, 211, 177, .2); border-radius: 2px; background: rgba(236, 211, 177, .06);
  font-size: 13.5px; font-weight: 600; line-height: 1.5; color: var(--acc); }
.sf-action i { flex: none; margin-top: 1px; font-size: 19px; }
.sf-action.is-ok { border-color: rgba(98, 212, 127, .28); background: rgba(98, 212, 127, .08); color: #a6e6b8; }
.sf-action.is-alerte { border-color: rgba(245, 160, 60, .34); background: rgba(245, 160, 60, .1); color: #f7c789; }
.sf-histo { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--line-2); list-style: none; }
.sf-histo li { position: relative; }
.sf-histo li::before { content: ""; position: absolute; left: -22px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 3px #15130f; }
.sf-histo li.is-recue::before { background: var(--dim); }
.sf-histo p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.sf-histo b { color: var(--text); }
/* (CONTRAT-CLOTURE) la raison d'une clôture (« Rôle @… retiré ») garde le gris de l'état, pas le rouge d'un refus */
.sf-histo .sf-pastille[data-etat="cloturee"] ~ blockquote { border-left-color: rgba(150, 156, 168, .6); }
.sf-histo blockquote { margin: 8px 0 0; padding: 9px 12px; border-left: 3px solid rgba(236, 86, 72, .6); background: rgba(255, 255, 255, .04);
  font-size: 13px; font-style: italic; line-height: 1.6; color: rgba(246, 241, 234, .86); white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- Fenêtres : retenir (confirmation), refuser (raison obligatoire) ---------- */
.sf-dlg { width: min(520px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 0; background: none; color: var(--text); overflow: visible; }
.sf-dlg::backdrop { background: rgba(8, 7, 6, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sf-dlg-in { position: relative; max-height: calc(100dvh - 24px); overflow: auto; padding: 24px 24px 20px 28px; border: 1px solid var(--line-2); border-radius: 3px; background: #15130f;
  font-family: var(--font-body); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85); }
.sf-dlg-in::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--acc); }
.sf-dlg-k { margin: 0 0 6px; font-size: 12px; font-weight: 900; font-style: italic; text-transform: uppercase; color: #a6e6b8; }
.sf-dlg-k.is-refus { color: #f39a85; }
.sf-dlg-t { margin: 0 0 12px; font-size: 22px; font-weight: 900; font-style: italic; line-height: 1.15; letter-spacing: -.02em; text-transform: uppercase; overflow-wrap: anywhere; }
.sf-dlg-p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.sf-dlg-p.is-fort { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.sf-dlg-p.is-fort i { font-size: 18px; color: var(--acc); }
.sf-dlg-c { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.sf-dlg-c > span { font-size: 11.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--muted); }
.sf-dlg-c textarea { width: 100%; min-height: 130px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 2px; outline: 0; background: rgba(255, 255, 255, .04);
  color: var(--text); font-size: 14.5px; line-height: 1.6; resize: vertical; }
.sf-dlg-c textarea::placeholder { color: var(--dim); }
.sf-dlg-info { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 12.5px; font-weight: 600; }
.sf-dlg-msg { color: #f39a85; }
.sf-dlg-msg.is-ok { color: #a6e6b8; }
.sf-dlg-n { flex: none; color: var(--dim); font-variant-numeric: tabular-nums; }
.sf-dlg-err { margin: 10px 0 0; font-size: 13px; font-weight: 700; color: #f39a85; }
.sf-dlg-err:empty { display: none; }
.sf-dlg-b { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.sf-dlg-annuler { padding: 8px 4px; font-size: 13px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--muted); transition: color .25s; }
.sf-dlg-annuler:hover { color: var(--text); }
.sf-dlg .sf-btn { width: auto; padding: 0 22px; }

/* Capture d'écran agrandie */
.sf-zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 7, 6, .9); cursor: zoom-out; }
.sf-zoom::backdrop { background: transparent; }
.sf-zoom-in { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 28px; }
.sf-zoom img { max-width: 100%; max-height: calc(100dvh - 56px); object-fit: contain; border: 6px solid #fbf7f0; box-shadow: 0 30px 80px rgba(0, 0, 0, .8); }
.sf-zoom-x { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; }

/* ---------- Accueil de l'espace (#/staff) et des Documents staff (#/staff/docs) : affiches côte à côte, comme celles de la page
   Règlement (demande du propriétaire du 03/11/2026). Affiche verticale sur papier crème scotché, photo du site recadrée hors de son
   texte (--img, --pos, --size), voile sombre en bas, texte par-dessus. Une rangée (--n affiches), puis 2 par ligne (≤ 1220 px), puis
   l'une sous l'autre (≤ 700 px) ; toujours centrées et alignées sur une même ligne (demande du 03/11/2026). ---------- */
.sf-affs-sec { padding: clamp(6px, 1.4vw, 18px) 0 clamp(80px, 9vw, 130px); }
/* 290 px au plus chacune : peu d'affiches (le rôle Staff seul en a deux) restent de la taille de celles d'une rangée pleine */
.sf-affs { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 290px)); justify-content: center; gap: clamp(18px, 2.2vw, 38px); align-items: start; }
.sf-af { --rot: 0deg; position: relative; display: block; min-width: 0; padding: 10px; background: #efe6d8; rotate: var(--rot); box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .95);
  transition: transform .8s var(--ease), rotate .8s var(--ease), box-shadow .6s; }
.sf-af:hover { rotate: 0deg; transform: translateY(-14px) scale(1.02); box-shadow: 0 54px 90px -30px #000; z-index: 2; }
.sf-af-in { position: relative; display: block; aspect-ratio: 3 / 4.15; overflow: hidden; isolation: isolate; background: #0d0c0b; container-type: inline-size; }
.sf-af-photo { position: absolute; inset: 0; z-index: -2; background: var(--img) var(--pos, 50% 50%) / var(--size, cover) no-repeat; filter: grayscale(.3) contrast(1.05); transform: scale(1.02);
  transition: transform 1.6s var(--ease), filter .7s; }
.sf-af:hover .sf-af-photo { filter: none; transform: scale(1.07); }
.sf-af-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 9, 8, .62) 0%, rgba(10, 9, 8, 0) 18%, rgba(10, 9, 8, .08) 30%, rgba(10, 9, 8, .55) 44%, rgba(10, 9, 8, .86) 60%, rgba(10, 9, 8, .97) 100%); }
.sf-af-haut { position: absolute; left: 14px; right: 12px; top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sf-af-studio { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 900; font-style: italic; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.sf-af-studio .couronne { width: 22px; color: var(--couronne); }
.sf-af-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--beige); color: var(--on-acc); font-size: 20px; }
.sf-af-bas { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(14px, 6cqi, 24px) clamp(14px, 6cqi, 24px); }
.sf-af-kick { display: block; font-size: clamp(17px, 6.4cqi, 26px); line-height: 1.2; color: var(--acc); text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.sf-af-titre { display: block; margin: 4px 0 12px; font-size: clamp(20px, min(17cqi, calc(112cqi / var(--L, 6))), 72px); font-weight: 900; font-style: italic; line-height: .92; letter-spacing: -.04em;
  text-transform: uppercase; color: #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, .5); overflow-wrap: anywhere; }
/* Nombre : cartes en attente (pastille rouge), taille d'un document (étiquette discrète) ; rien tant qu'il n'est pas connu */
.sf-af-compte { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.sf-af-compte:not(:has(> :not(:empty))) { display: none; }
.sf-af .sf-partie-n { padding: 3px 9px; font-size: 12px; }
.sf-aff-nb { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 3px; border: 1px solid var(--line-2); background: rgba(14, 13, 12, .55);
  font-size: 11px; font-weight: 800; font-style: italic; text-transform: uppercase; color: #fff; }
.sf-aff-nb:empty { display: none; }
.sf-af-desc { display: block; margin: 0 0 16px; font-size: 13px; line-height: 1.55; color: rgba(246, 241, 234, .76); }
.sf-af-b { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .03em; text-transform: uppercase;
  background: var(--beige); color: var(--on-acc); transform: skewX(-8deg); box-shadow: 5px 5px 0 rgba(236, 211, 177, .2); transition: gap .45s var(--ease), box-shadow .4s, transform .5s var(--ease); }
.sf-af-b > * { transform: skewX(8deg); }
.sf-af-b i { font-size: 18px; }
.sf-af:hover .sf-af-b { gap: 14px; box-shadow: 8px 8px 0 rgba(236, 211, 177, .28); transform: skewX(-8deg) translate(-2px, -2px); }
.sf-af-tape { top: -13px; left: 38%; rotate: -5deg; }
.sf-af:nth-child(even) .sf-af-tape { left: auto; right: 22%; rotate: 6deg; width: 96px; }
@media (max-width: 1220px) {
  .sf-affs { grid-template-columns: repeat(2, minmax(0, 290px)); }
}
@media (max-width: 700px) {
  .sf-affs { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-inline: auto; gap: 34px; padding-inline: 6px; }
}
/* (relais 2.9.5) « Nos liens » (#/staff/liens) : une carte par lien. Discord : icône du serveur (en direct), nom, membres, description,
   « Rejoindre » (bleu Discord, comme les cartes de la page Le Business) et « Copier le lien » ; site : globe et « Ouvrir le site »
   (beige) ; sans lien : « Bientôt disponible » */
.sf-dc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.sf-dc-carte { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 20px; border: 1px solid var(--verre-bord); border-left: 3px solid #5865f2; background: #121110; }
.sf-dc-carte.is-bientot { border-left-color: var(--line-2); }
.sf-dc-carte.is-site { border-left-color: var(--acc); }
.sf-dc-carte.is-site .sf-dc-ico { background: var(--beige); color: var(--on-acc); }
.sf-dc-ico { flex: none; width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: #5865f2; color: #fff; font-size: 30px; }
.sf-dc-carte.is-bientot .sf-dc-ico { background: rgba(255, 255, 255, .06); color: var(--muted); }
.sf-dc-ico img { width: 100%; height: 100%; object-fit: cover; }
.sf-dc-t { flex: 1; min-width: 0; }
.sf-dc-nom { margin: 0; font-size: 19px; font-weight: 900; font-style: italic; line-height: 1.2; text-transform: uppercase; letter-spacing: -.01em; overflow-wrap: anywhere; }
.sf-dc-stats { margin: 4px 0 0; font-size: 12.5px; font-weight: 700; color: var(--acc); }
.sf-dc-stats:empty { display: none; }
.sf-dc-desc { margin-top: 8px; font-size: 14px; line-height: 1.6; color: rgba(246, 241, 234, .74); }
.sf-dc-desc p { margin: 0 0 6px; }
.sf-dc-b { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sf-dc-rejoindre { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; background: #5865f2; color: #fff; font-size: 13px; font-weight: 800; font-style: italic;
  text-transform: uppercase; transform: skewX(-8deg); transition: background .3s, box-shadow .4s; }
.sf-dc-rejoindre > * { transform: skewX(8deg); }
.sf-dc-rejoindre i { font-size: 18px; }
.sf-dc-rejoindre:hover { background: #4752c4; box-shadow: 5px 5px 0 rgba(88, 101, 242, .25); }
.sf-dc-rejoindre.is-site { background: var(--beige); color: var(--on-acc); }
.sf-dc-rejoindre.is-site:hover { background: var(--beige); box-shadow: 5px 5px 0 rgba(236, 211, 177, .25); }
.sf-dc-copier.is-ok { border-color: rgba(120, 200, 140, .6); color: #8fd6a2; }
.sf-dc-bientot { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 3px; font-size: 12px; font-weight: 800; font-style: italic;
  text-transform: uppercase; color: var(--muted); }
@media (max-width: 1100px) { .sf-dc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .sf-dc { grid-template-columns: minmax(0, 1fr); } }

/* En-tête court sans photo des deux accueils à affiches (comme la page Règlement) : les affiches tiennent sur le premier écran */
.sf-ph-compact { padding-top: calc(var(--hd) + clamp(26px, 4.4vh, 52px)); padding-bottom: clamp(26px, 3.2vw, 44px); }
.sf-ph-compact .ph-grid { grid-template-columns: minmax(0, 1fr); }
/* Lien de retour en haut d'une partie (vers l'accueil de l'espace, ou des Documents staff) */
.sf-ph-retour { display: flex; width: max-content; margin-bottom: 14px; }
.sf-partie-n { min-width: 20px; padding: 1px 6px; border-radius: 10px; background: #e0533f; color: #fff; font-size: 11px; font-weight: 800; font-style: normal; line-height: 1.5; text-align: center; }
.sf-partie-n:empty { display: none; }

/* ---------- Une carte streamer : aperçus (la carte telle qu'elle apparaîtra), détails en clair, changements ---------- */
.sf-sc-changes { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 11px 14px; border: 1px solid rgba(245, 160, 60, .34); background: rgba(245, 160, 60, .1);
  font-size: 13.5px; font-weight: 600; color: #f7c789; }
.sf-sc-changes i { flex: none; font-size: 19px; }
.sf-sc-changes b { color: #fff; }
.sf-sc-versions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; align-items: start; }
.sf-sc-v { min-width: 0; }
.sf-sc-v .sf-k { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.sf-sc-v .sf-k small { font-size: 11px; font-weight: 700; font-style: normal; letter-spacing: 0; text-transform: none; color: var(--dim); }
.sf-sc-v.is-avant .sf-sc-apercu { opacity: .82; }
.sf-sc-apercu { display: grid; place-items: center; padding: 26px 18px 30px; border: 1px solid var(--verre-bord); background: rgba(13, 12, 11, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sf-sc-details { display: flex; flex-direction: column; margin: 14px 0 0; border: 1px solid var(--verre-bord); background: var(--panneau); }
.sf-sc-details > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 14px; padding: 10px 14px; border-top: 1px solid var(--line); }
.sf-sc-details > div:first-child { border-top: 0; }
.sf-sc-details > div.is-change { background: rgba(245, 160, 60, .08); box-shadow: inset 3px 0 0 rgba(245, 160, 60, .7); }
.sf-sc-details dt { font-size: 11px; font-weight: 800; font-style: italic; line-height: 1.6; text-transform: uppercase; color: var(--muted); }
.sf-sc-details dd { margin: 0; min-width: 0; font-size: 13.5px; line-height: 1.55; overflow-wrap: anywhere; }
.sf-sc-details dd.is-texte { white-space: pre-wrap; }
.sf-sc-chaine { display: flex; flex-direction: column; min-width: 0; }
.sf-sc-chaine + .sf-sc-chaine { margin-top: 6px; }
.sf-sc-chaine b { font-size: 11.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--acc); }
.sf-sc-chaine a, .sf-sc-lien { color: var(--text); text-decoration: underline; text-decoration-color: rgba(236, 211, 177, .4); text-underline-offset: 2px; overflow-wrap: anywhere; }
.sf-sc-chaine a:hover, .sf-sc-lien:hover { color: var(--acc); }
/* Corbeille d'une carte : les versions retirées, gardées entières (telles qu'elles étaient en ligne), filet rouge-orangé du « retirée » */
.sf-sc-corb { margin-top: clamp(30px, 3.4vw, 44px); padding-top: clamp(22px, 2.6vw, 30px); border-top: 1px dashed var(--line-2); }
.sf-sc-corb-t { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 4px; font-size: 13px; }
.sf-sc-corb-t i { font-size: 18px; }
.sf-sc-corb-t small { font-size: 11px; font-weight: 700; font-style: normal; letter-spacing: 0; text-transform: none; color: var(--dim); }
.sf-sc-entree { position: relative; margin-top: 16px; padding: 20px 20px 22px 24px; border: 1px solid rgba(240, 128, 96, .26); background: var(--panneau);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); container: sf-entree / inline-size; }
.sf-sc-entree::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: rgb(240, 128, 96); }
.sf-sc-entree > .sf-k { overflow-wrap: anywhere; }
.sf-sc-entree-g { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
.sf-sc-entree-g .sf-sc-details { margin-top: 0; }
/* Entrée étroite (écran moyen, colonne de décision à côté) : les détails passent sous la carte, comme pour une version proposée
   (sinon les liens des chaînes se coupent lettre par lettre) */
@container sf-entree (max-width: 759px) {
  .sf-sc-entree-g { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
.sf-sc-raison { margin-top: 16px; }
.sf-sc-raison-k { margin: 0 0 7px; font-size: 11px; font-weight: 800; font-style: italic; text-transform: uppercase; color: #f6a58b; }
.sf-sc-raison blockquote { margin: 0; padding: 10px 14px; border-left: 3px solid rgba(240, 128, 96, .7); background: rgba(255, 255, 255, .04);
  font-size: 13.5px; font-style: italic; line-height: 1.6; color: rgba(246, 241, 234, .9); white-space: pre-wrap; overflow-wrap: anywhere; }
.sf-sc-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 14px 0 0; font-size: 12.5px; font-weight: 600; line-height: 1.5; color: var(--muted); }
.sf-sc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.sf-sc-meta i { flex: none; font-size: 16px; color: var(--dim); }
.sf-sc-remettre { margin-top: 18px; }
.sf-sc-remettre .sf-btn { width: auto; padding: 0 22px; }
.sf-sc-entree > .sf-final { margin-top: 16px; }

/* ---------- Business & Milieu (#/staff/discords, relais/CONTRAT-DISCORDS.md § 11) ----------
   Le Business en vert, Le Milieu en rouge : mêmes valeurs que la barre commune (data-fx-ton="vert" / "rouge" de commun.css).
   Lignes groupées par catégorie, bouton de bascule du statut ; fenêtre de la fiche. Champs : AUCUN effet visuel au focus (décision
   du propriétaire), seul le curseur de texte apparaît ; les cartes de statut gardent seulement un contour au clavier. */
[data-etat="repris"] { --sf-c: 98, 212, 127; }
[data-etat="disponible"] { --sf-c: 236, 211, 177; }
.sf-dc, .sf-dc-dlg { --dc-acc: #7fc3a0; --dc-rgb: 62, 150, 108; --dc-logo: radial-gradient(circle at 34% 28%, #2f7d5a, #1a5038 62%, #0f3324); --dc-logo-txt: #eef7f1; }
.sf-dc[data-cote="milieu"], .sf-dc-dlg.is-milieu { --dc-acc: #e46a55; --dc-rgb: 196, 52, 36; --dc-logo: radial-gradient(circle at 34% 28%, #b8321f, #7a170d 62%, #4a0e08); --dc-logo-txt: #fff1ec; }
/* Choix du côté (les deux droits) : le choisi plein, à la couleur du côté ; l'autre avec le contour des parties */
.sf-cotes { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 0 0 18px; }
.sf-cote { --dc-acc: #7fc3a0; --dc-rgb: 62, 150, 108; --dc-fond: linear-gradient(180deg, #2c7d59, #1b5a40); --dc-txt: #eef7f1;
  display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 18px; border: 1px solid var(--line-2); background: rgba(13, 12, 11, .4);
  font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; color: rgba(246, 241, 234, .72);
  transform: skewX(-8deg); transition: color .3s, border-color .3s, background .3s, box-shadow .4s; -webkit-tap-highlight-color: transparent; }
.sf-cote.is-milieu { --dc-acc: #e46a55; --dc-rgb: 196, 52, 36; --dc-fond: linear-gradient(180deg, #ad3020, #7e1c12); --dc-txt: #fff1ec; }
.sf-cote > * { transform: skewX(8deg); }
.sf-cote i { font-size: 19px; color: var(--dc-acc); transition: color .3s; }
.sf-cote:hover { color: #fff; border-color: rgba(var(--dc-rgb), .6); }
.sf-cote[aria-pressed="true"] { border-color: transparent; background: var(--dc-fond); color: var(--dc-txt); box-shadow: 5px 5px 0 rgba(var(--dc-rgb), .24); }
.sf-cote[aria-pressed="true"] i { color: var(--dc-txt); }
.sf-cote-n { min-width: 20px; padding: 1px 6px; border-radius: 10px; background: rgba(var(--dc-rgb), .22); color: var(--dc-acc); font-size: 11px; font-weight: 800; font-style: normal;
  line-height: 1.5; text-align: center; font-variant-numeric: tabular-nums; }
.sf-cote[aria-pressed="true"] .sf-cote-n { background: rgba(255, 255, 255, .18); color: var(--dc-txt); }
.sf-cote-n:empty { display: none; }
/* La barre commune est dans le corps de la partie (refait à chaque changement de côté) : même écart dessous que les candidatures */
.sf-dc-corps > .fx-barre { margin-bottom: 16px; }
.sf-dc-ajouter i { color: var(--dc-acc); }
/* Titre d'une catégorie : son nom, le nombre de fiches affichées, un filet */
.sf-dc-cat { display: flex; align-items: center; gap: 10px; margin: 16px 0 2px; font-size: 13px; font-weight: 900; font-style: italic; letter-spacing: .04em; line-height: 1.3;
  text-transform: uppercase; color: var(--dc-acc); }
.sf-dc-cat:first-child { margin-top: 0; }
.sf-dc-cat span { min-width: 0; overflow-wrap: anywhere; }
.sf-dc-cat small { flex: none; font-size: 11.5px; font-weight: 800; font-style: normal; color: var(--dim); font-variant-numeric: tabular-nums; }
.sf-dc-cat::after { content: ""; flex: 1 1 auto; min-width: 16px; height: 1px; background: var(--line-2); }
/* Une ligne : le bouton « ouvrir » couvre toute la ligne, la bascule du statut est au-dessus */
.sf-ligne-dc { grid-template-columns: 48px minmax(0, 1.5fr) minmax(0, 1fr) 128px 116px auto; }
.sf-ligne-dc::before { background: var(--dc-acc); }
.sf-ligne-dc:hover { border-color: rgba(var(--dc-rgb), .34); }
.sf-dc-ouvrir { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sf-dc-logo { display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border-radius: 50%; background: var(--dc-logo); color: var(--dc-logo-txt);
  box-shadow: 0 0 0 2px rgba(var(--dc-rgb), .35); }
.sf-dc-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-dc-mono { font-size: 16px; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; padding-right: .06em; }
.sf-dc-lien i { color: #5865f2; }
.sf-dc-lien .bx-unlink { color: var(--dim); }
.sf-ligne-dc .sf-date { min-width: 0; }
.sf-ligne-dc .sf-date small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-dc-bascule { --sf-c: 236, 211, 177; position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 3px; background: rgba(13, 12, 11, .55); font-size: 11.5px; font-weight: 800; font-style: italic; letter-spacing: .02em;
  text-transform: uppercase; white-space: nowrap; color: rgba(246, 241, 234, .72); transition: color .3s, border-color .3s, background .3s; -webkit-tap-highlight-color: transparent; }
.sf-dc-bascule[data-vers="repris"] { --sf-c: 98, 212, 127; }
.sf-dc-bascule i { font-size: 17px; color: rgb(var(--sf-c)); }
.sf-dc-bascule:hover:not(:disabled) { color: #fff; border-color: rgba(var(--sf-c), .55); background: rgba(var(--sf-c), .12); }
.sf-dc-bascule:disabled { opacity: .6; cursor: default; }

/* Fenêtre de la fiche (plus large), trait de gauche et surtitre à la couleur du côté */
.sf-dlg.sf-dc-dlg { width: min(640px, calc(100vw - 24px)); }
.sf-dc-dlg .sf-dlg-in::before { background: var(--dc-acc); }
.sf-dc-dlg .sf-dlg-k, .sf-dc-conf .sf-dlg-k { display: flex; align-items: center; gap: 7px; }
.sf-dc-dlg .sf-dlg-k { color: var(--dc-acc); }
.sf-dc-dlg .sf-dlg-k i, .sf-dc-conf .sf-dlg-k i { flex: none; font-size: 17px; }
.sf-dc-conf .sf-dlg-p.is-fort i { color: #f39a85; }
.sf-btn.is-business { --c: 127, 195, 160; }
.sf-btn.is-milieu { --c: 228, 106, 85; }
.sf-dc-form { container: sf-dc / inline-size; }
/* Logo : aperçu rond (image, sinon les initiales du nom tapé), choisir / retirer */
.sf-dc-logo-z { display: flex; align-items: center; gap: 18px; margin: 6px 0 0; }
.sf-dc-apercu { flex: none; display: grid; place-items: center; width: 72px; height: 72px; overflow: hidden; border-radius: 50%; background: var(--dc-logo); color: var(--dc-logo-txt);
  font-size: 25px; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.04em; text-transform: uppercase;
  box-shadow: 0 0 0 2px rgba(var(--dc-rgb), .45), 0 12px 24px -12px rgba(0, 0, 0, .8); }
.sf-dc-apercu.is-4 { font-size: 20px; }
.sf-dc-apercu img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-dc-logo-d { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.sf-dc-logo-b { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-dc-logo-b .sf-tri { height: 36px; padding: 0 12px; }
.sf-dc-logo-b .sf-tri i { color: var(--dc-acc); }
.sf-dc-retirer[hidden] { display: none; }
.sf-dc-aide { margin: 0; font-size: 12px; line-height: 1.5; color: var(--dim); }
/* Champs : deux colonnes à partir de 560 px (Nom | Catégorie), le reste sur toute la largeur */
.sf-dc-champs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 18px; }
@container sf-dc (min-width: 560px) {
  .sf-dc-champs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sf-dc-c.is-large { grid-column: 1 / -1; }
}
.sf-dc-c { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.sf-dc-c > label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 11.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--muted); }
.sf-dc-c em { font-weight: 600; text-transform: none; color: var(--dim); }
.sf-dc-n { flex: none; font-size: 11px; font-weight: 700; font-style: normal; color: var(--dim); font-variant-numeric: tabular-nums; }
.sf-dc-n.is-trop { color: #f39a85; }
/* Aucun effet visuel au focus : ni contour, ni ombre, ni couleur (même règle que les champs de « Ma carte ») */
.sf-dc-dlg .sf-dc-c input[type="text"], .sf-dc-dlg .sf-dc-c input[type="url"] { width: 100%; height: 46px; min-width: 0; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 2px;
  outline: 0; box-shadow: none; background: rgba(255, 255, 255, .04); color: var(--text); font-size: 15px; font-weight: 600; caret-color: var(--acc); -webkit-appearance: none; appearance: none; }
.sf-dc-dlg .sf-dc-c input::placeholder { color: var(--dim); font-weight: 500; }
.sf-dc-dlg .sf-dc-c input::-webkit-calendar-picker-indicator { display: none !important; }
.sf-dc-dlg .sf-dc-c.is-erreur input { border-color: rgba(243, 154, 133, .7); }
.sf-dc-err { margin: 0; font-size: 12.5px; font-weight: 700; line-height: 1.45; color: #f39a85; }
.sf-dc-err:empty { display: none; }
/* Statut : deux choix en cartes (comme les choix de photo de « Ma carte ») */
.sf-dc-statut-f { display: block; }
.sf-dc-statut-f > legend { display: block; float: none; margin: 0 0 8px; padding: 0; font-size: 11.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--muted); }
.sf-dc-statut-f > .sf-dc-note, .sf-dc-statut-f > .sf-dc-err { margin-top: 8px; }
.sf-dc-statuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@container sf-dc (max-width: 420px) {
  .sf-dc-statuts { grid-template-columns: minmax(0, 1fr); }
}
.sf-dc-statut { position: relative; display: flex; align-items: flex-start; gap: 11px; min-width: 0; padding: 12px; border: 1.5px solid var(--line-2); border-radius: 2px;
  background: rgba(255, 255, 255, .03); cursor: pointer; transition: border-color .3s, background .3s, box-shadow .4s; }
.sf-dc-statut input { position: absolute; opacity: 0; pointer-events: none; }
.sf-dc-statut > i { flex: none; margin-top: 1px; font-size: 20px; color: rgb(var(--sf-c)); }
.sf-dc-statut > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.sf-dc-statut b { font-size: 12.5px; font-weight: 800; font-style: italic; text-transform: uppercase; transition: color .3s; }
.sf-dc-statut small { font-size: 12px; color: var(--muted); }
.sf-dc-statut:hover { border-color: rgba(var(--sf-c), .45); }
.sf-dc-statut:has(input:checked) { border-color: rgb(var(--sf-c)); background: rgba(var(--sf-c), .09); box-shadow: 4px 4px 0 rgba(var(--sf-c), .12); }
.sf-dc-statut:has(input:checked) b { color: rgb(var(--sf-c)); }
.sf-dc-statut:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 2px; }
.sf-dc-note { margin: 0; padding: 9px 12px; border: 1px dashed var(--line-2); background: rgba(255, 255, 255, .03); font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.sf-dc-info { margin: 16px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--dim); overflow-wrap: anywhere; }
.sf-dc-note[hidden], .sf-dc-info[hidden] { display: none; }
/* Pied : « Supprimer » à gauche (modification), « Annuler » et l'envoi à droite */
.sf-dc-pied-d { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.sf-dc-suppr { display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; font-size: 12.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: #f39a85; transition: color .25s; }
.sf-dc-suppr i { font-size: 17px; }
.sf-dc-suppr:hover { color: #ff6e55; }

/* ---------- Documents staff (#/staff/docs, relais/CONTRAT-DOCS-STAFF.md § 11) ----------
   Sobre (préférence du propriétaire : ce qui « fait moins IA ») : ni halo, ni dégradé, ni chiffre animé ; mêmes cadres, filets et
   étiquettes que le reste de l'Espace staff. Champs de l'éditeur : AUCUN effet visuel au focus (seul le curseur de texte). */
.sf-docs-corps > .fx-barre { margin-bottom: 16px; }
.sf-docs mark { padding: 0 2px; border-radius: 1px; background: var(--acc); color: #0d0c0b; }
.sf-docs .sf-vide .sf-tri { margin-top: 4px; }
.sf-docs-modifier[hidden], .sf-docs .sf-actualiser[hidden] { display: none; }
/* Lecture d'un document à sections : sommaire à gauche (collé sous la barre), le texte à droite */
.sf-doc-cols { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.sf-doc-sommaire.is-large { position: sticky; top: calc(var(--hd) + 96px); display: flex; flex-direction: column; max-height: calc(100vh - var(--hd) - 120px); overflow-y: auto;
  overscroll-behavior: contain; padding: 4px 0; scrollbar-width: thin; transition: top .7s var(--ease), max-height .7s var(--ease); }
body.hd-cache .sf-doc-sommaire.is-large { top: 96px; max-height: calc(100vh - 120px); }
.sf-doc-sommaire .sf-k { margin: 0 0 8px 12px; }
.sf-doc-sommaire button { display: flex; align-items: baseline; gap: 10px; width: 100%; padding: 8px 10px 8px 12px; border-left: 2px solid var(--line); text-align: left;
  font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; transition: color .25s, border-color .25s; -webkit-tap-highlight-color: transparent; }
.sf-doc-sommaire button:hover { color: var(--text); border-left-color: var(--acc); }
.sf-doc-sommaire button > span:last-child { min-width: 0; }
details.sf-doc-sommaire { display: none; }
.sf-doc-sommaire-l { display: flex; flex-direction: column; padding: 0 0 8px; }
.sf-doc-num { flex: none; font-size: 12px; font-weight: 800; font-style: normal; color: var(--acc); font-variant-numeric: tabular-nums; }
.sf-doc-sections { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sf-doc-sec { position: relative; padding: 22px 26px 22px 28px; border: 1px solid var(--verre-bord); background: var(--panneau); }
.sf-doc-sec::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--acc); }
.sf-doc-t { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; font-size: 19px; font-weight: 900; font-style: italic; line-height: 1.2; letter-spacing: -.01em;
  text-transform: uppercase; overflow-wrap: anywhere; }
.sf-doc-t > span:not(.sf-doc-num) { min-width: 0; }
.sf-doc-sec .sf-doc-t:last-child { margin-bottom: 0; }
.sf-doc-texte { max-width: 78ch; }
.sf-doc-texte p { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: rgba(246, 241, 234, .86); overflow-wrap: anywhere; }
.sf-doc-liste { margin: 0 0 12px; padding: 0 0 0 20px; }
.sf-doc-liste li { margin: 4px 0; font-size: 15px; line-height: 1.65; color: rgba(246, 241, 234, .86); overflow-wrap: anywhere; }
.sf-doc-liste li::marker { color: var(--acc); }
.sf-doc-texte > :last-child { margin-bottom: 0; }
.sf-doc-maj { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 12.5px; font-weight: 600; line-height: 1.5; color: var(--dim); }
.sf-doc-maj i { flex: none; font-size: 16px; }
/* (2.9.2) « Règlement staff » : titres sans numéro automatique ; « Article N : Nom » → petit surtitre « Article N » (beige, majuscules)
   au-dessus du nom ; une règle par ligne « [n.nn] » : son code en petite étiquette beige (chiffres alignés, même largeur pour toutes),
   le texte à côté, sa liste en retrait dessous. Sobre : contour fin comme les étiquettes de durée de la grille, ni fond ni halo. */
.sf-doc-t.is-article { flex-direction: column; align-items: flex-start; gap: 5px; }
.sf-doc-sur { font-size: 11.5px; font-weight: 900; font-style: italic; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
.sf-regle { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 12px; margin: 0 0 10px; }
.sf-regle-code { box-sizing: border-box; min-width: 52px; padding: 1px 6px; border: 1px solid rgba(236, 211, 177, .45); border-radius: 2px; font-size: 11.5px;
  font-weight: 800; font-style: normal; line-height: 1.5; text-align: center; white-space: nowrap; color: var(--acc); font-variant-numeric: tabular-nums; }
.sf-regle-t { min-width: 0; }
.sf-doc-texte .sf-regle-t > p { margin: 0; }
.sf-regle-t > .sf-doc-liste { margin: 4px 0 0; }
/* (relais 2.9.1) « Tâches par rôle » en cartes (maquette D, choisie par le propriétaire) : sans sommaire, cartes centrées (1 080 px
   au plus), deux par ligne et de même hauteur sur une ligne, une colonne quand la place manque ; titres de partie en grand, centrés
   entre deux filets ; carte sobre (fond uni, bande de 3 px et étiquette du nom à sa couleur : ni dégradé, ni halo).
   Palette des 12 clés du relais (data-couleur) : les teintes sont définies ICI seulement (le relais et compte.js ne connaissent que
   les clés) ; sans couleur : beige. --sf-tc = rouge, vert, bleu de la teinte. */
.sf-tache, .sf-ed-sec.is-carte, .sf-ed-pastille { --sf-tc: 236, 211, 177; }
.sf-docs [data-couleur="beige"] { --sf-tc: 236, 211, 177; }       /* #ecd3b1 */
.sf-docs [data-couleur="gris"] { --sf-tc: 214, 211, 207; }        /* #d6d3cf */
.sf-docs [data-couleur="vert"] { --sf-tc: 59, 165, 92; }          /* #3ba55c */
.sf-docs [data-couleur="rouge"] { --sf-tc: 224, 83, 63; }         /* #e0533f */
.sf-docs [data-couleur="bleu"] { --sf-tc: 59, 143, 217; }         /* #3b8fd9 */
.sf-docs [data-couleur="rose"] { --sf-tc: 230, 70, 124; }         /* #e6467c */
.sf-docs [data-couleur="orange"] { --sf-tc: 227, 155, 79; }       /* #e39b4f */
.sf-docs [data-couleur="violet"] { --sf-tc: 155, 107, 214; }      /* #9b6bd6 */
.sf-docs [data-couleur="turquoise"] { --sf-tc: 47, 174, 143; }    /* #2fae8f */
.sf-docs [data-couleur="brun"] { --sf-tc: 176, 122, 79; }         /* #b07a4f */
.sf-docs [data-couleur="vert-clair"] { --sf-tc: 111, 191, 115; }  /* #6fbf73 */
.sf-docs [data-couleur="rouge-fonce"] { --sf-tc: 192, 57, 43; }   /* #c0392b */
.sf-taches { container: sf-taches / inline-size; max-width: 1080px; margin: 0 auto; }
.sf-taches-g { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
/* (30/11/2026) Un bloc = les cartes entre deux titres de partie : sa propre grille, deux par ligne, remplie sans trou (dense : une
   carte large ne laisse jamais une place vide à côté d'elle) */
.sf-taches-bloc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 14px; align-items: stretch; }
.sf-taches-partie { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; margin: 26px 0 6px; font-size: 30px; font-weight: 900; font-style: italic;
  line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; color: var(--text); }
.sf-taches-partie::before, .sf-taches-partie::after { content: ""; flex: 1 1 0; min-width: 24px; height: 1px; background: var(--line-2); }
.sf-taches-partie > span { min-width: 0; text-align: center; overflow-wrap: anywhere; }
.sf-taches-g > .sf-taches-partie:first-child { margin-top: 0; }
.sf-tache { min-width: 0; padding: 18px 22px 20px; border: 1px solid var(--verre-bord); border-left: 3px solid rgb(var(--sf-tc)); background: #121110; }
.sf-tache.is-large { grid-column: 1 / -1; }
.sf-tache-nom { display: inline-block; max-width: 100%; margin: 0 0 12px; padding: 3px 9px; background: rgba(var(--sf-tc), .14); color: rgb(var(--sf-tc));
  font-size: 19px; font-weight: 700; font-style: normal; line-height: 1.35; overflow-wrap: anywhere; }
.sf-tache-nom:last-child { margin-bottom: 0; }
/* Carte seule avant la première partie (l'introduction) : son nom en grand, sans étiquette */
.sf-tache.is-intro .sf-tache-nom { padding: 0; background: none; color: var(--text); font-size: 22px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.sf-tache-texte p { margin: 0 0 10px; font-size: 14px; line-height: 1.65; color: rgba(246, 241, 234, .86); overflow-wrap: anywhere; }
.sf-tache-texte ul { margin: 0 0 12px; padding: 0 0 0 20px; }
.sf-tache-texte li { margin: 0 0 4px; font-size: 14px; line-height: 1.6; color: rgba(246, 241, 234, .86); overflow-wrap: anywhere; }
.sf-tache-texte li::marker { color: var(--dim); }
/* Ligne qui finit par « : » (ex. « Sous-titre d’exemple : ») : petit sous-titre gras souligné */
.sf-tache-texte .sf-tache-sous { margin: 16px 0 8px; font-weight: 800; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.sf-tache-texte > :first-child { margin-top: 0; }
.sf-tache-texte > :last-child { margin-bottom: 0; }
/* (30/11/2026) Carte à plusieurs listes (ex. Référent Entreprise) : ses listes côte à côte, séparées par un filet léger */
.sf-tache-cols { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.sf-tache-col { min-width: 0; padding: 0 24px; }
.sf-tache-col:first-child { padding-left: 0; }
.sf-tache-col:last-child { padding-right: 0; }
.sf-tache-col + .sf-tache-col { border-left: 1px solid var(--line); }
.sf-tache-col > .sf-tache-sous:first-child { margin-top: 0; }
.sf-tache-col > :last-child { margin-bottom: 0; }
.sf-taches > .sf-doc-maj { margin-top: 20px; }
@container sf-taches (max-width: 679px) {
  .sf-taches-g, .sf-taches-bloc { grid-template-columns: minmax(0, 1fr); }
  .sf-tache-cols { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .sf-tache-col, .sf-tache-col:first-child, .sf-tache-col:last-child { padding: 14px 0 0; }
  .sf-tache-col + .sf-tache-col { margin-top: 14px; border-left: 0; border-top: 1px solid var(--line); }
}
/* Grille des sanctions : légende en étiquettes, boutons de groupe, un tableau Faute / Min / Max par groupe */
.sf-grille-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.sf-grille-legende-k { margin-right: 4px; font-size: 11.5px; font-weight: 900; font-style: italic; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sf-grille-etq { padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 12px; font-weight: 700; line-height: 1.4; color: rgba(246, 241, 234, .82); overflow-wrap: anywhere; }
.sf-grille-legende p { flex-basis: 100%; margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.sf-grille-aller { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.sf-grille-aller .sf-tri { height: 36px; max-width: 100%; }
.sf-grille-aller .sf-tri span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sf-grille-aller .sf-tri small { font-size: 11px; font-weight: 800; font-style: normal; color: var(--acc); font-variant-numeric: tabular-nums; }
.sf-grille-g + .sf-grille-g { margin-top: 26px; }
.sf-grille-g > .sf-doc-t small { flex: none; font-size: 12px; font-weight: 800; font-style: normal; letter-spacing: 0; color: var(--dim); font-variant-numeric: tabular-nums; }
.sf-grille-cadre { border: 1px solid var(--verre-bord); background: var(--panneau); }
.sf-grille { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sf-grille thead th:nth-child(n+2) { width: 76px; }
.sf-grille th, .sf-grille td { padding: 10px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.sf-grille thead th { border-top: 0; font-size: 11.5px; font-weight: 900; font-style: italic; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.sf-grille tbody th { font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; }
.sf-grille tbody tr:nth-child(even) { background: rgba(255, 255, 255, .025); }
.sf-grille td { padding-left: 8px; padding-right: 8px; }
.sf-duree { display: inline-block; max-width: 100%; padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 11.5px; font-weight: 800; font-style: italic;
  line-height: 1.5; text-transform: uppercase; color: rgba(246, 241, 234, .9); overflow-wrap: anywhere; }
.sf-duree[data-ton="def"] { border-color: rgba(224, 83, 63, .55); color: #e0533f; }
.sf-duree[data-ton="avert"] { border-color: rgba(236, 211, 177, .45); color: var(--acc); }
/* Grille des sanctions en trois colonnes (maquette 2 choisie le 24/10/2026) : en-tête beige « Groupe / Min / Max », lignes sombres,
   Min / Max centrés, DEF en rouge, WARN et Oral en beige ; une colonne sur écran étroit */
.sf-grille-cols { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 18px; align-items: start; }
.sf-grille-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.sf-grille-b { width: 100%; border-collapse: collapse; table-layout: fixed; border: 1px solid var(--line-2); background: var(--surface); }
.sf-grille-b thead th { padding: 11px 12px; border: 0; background: var(--acc); color: var(--on-acc); font-size: 13px; font-weight: 900; font-style: italic; letter-spacing: .03em;
  text-transform: uppercase; text-align: left; overflow-wrap: anywhere; }
.sf-grille-b thead th:nth-child(n+2) { width: 62px; padding-left: 4px; padding-right: 4px; text-align: center; }
.sf-grille-b tbody th, .sf-grille-b tbody td { border-top: 1px solid var(--line); vertical-align: middle; }
.sf-grille-b tbody th { padding: 8px 12px; text-align: left; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--text); overflow-wrap: anywhere; }
.sf-grille-b tbody td { padding: 8px 4px; text-align: center; font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.sf-grille-b tbody tr:nth-child(even) > * { background: rgba(255, 255, 255, .025); }
.sf-grille-b .sf-grille-b-rien { padding: 12px; font-size: 13px; font-weight: 600; font-style: italic; color: var(--muted); }
.sf-duree-t[data-ton="def"] { color: #e0533f; }
.sf-duree-t[data-ton="avert"] { color: var(--acc); }
@media (max-width: 960px) { .sf-grille-cols { grid-template-columns: minmax(0, 1fr); } }

/* (relais 2.9.3) « Informations staff », maquette 1 « Segments et catégories » (choisie par le propriétaire le 03/11/2026) : sous la barre
   commune (segments Réponses automatiques / parties en tableau), les catégories de réponses en onglets soulignés, les réponses en
   cartes compactes (trois par ligne au plus), les parties en tableau en blocs sur deux colonnes. Commande en étiquette : un clic la
   copie. Sobre : ni halo, ni dégradé. */
.sf-infos { --mono: ui-monospace, 'Cascadia Mono', Consolas, monospace; }
.sf-infos-aide { margin: 0 0 16px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.sf-infos-aide code { font-family: var(--mono); font-size: .95em; color: var(--acc); }
/* Second niveau : les catégories de réponses, en onglets soulignés (plus discrets que les segments de la barre) */
.sf-infos-cats { display: flex; flex-wrap: wrap; gap: 2px 22px; margin: 0 0 18px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.sf-infos-cats::-webkit-scrollbar { display: none; }
.sf-infos-cat { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 42px; margin-bottom: -1px; padding: 0 1px; border-bottom: 2px solid transparent;
  font-size: 13.5px; font-weight: 700; white-space: nowrap; color: var(--muted); transition: color .25s, border-color .25s; }
.sf-infos-cat small { font-size: 11px; font-weight: 800; color: var(--acc); font-variant-numeric: tabular-nums; opacity: .85; }
.sf-infos-cat.is-zero small { opacity: .35; }
.sf-infos-cat:hover { color: #fff; }
.sf-infos-cat[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--acc); }
.sf-infos-cat-t { display: flex; align-items: baseline; gap: 10px; margin: 30px 0 12px; font-size: 18px; font-weight: 900; font-style: italic; line-height: 1.25;
  text-transform: uppercase; letter-spacing: -.01em; }
.sf-infos-aide + .sf-infos-cat-t { margin-top: 4px; }
.sf-infos-cat-t small { font-size: 12px; font-weight: 800; font-style: normal; color: var(--acc); }
/* Réponses : cartes compactes, trois par ligne au plus */
.sf-infos-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(320px, calc((100% - 28px) / 3))), 1fr)); gap: 14px; align-items: start; }
.sf-infos-carte { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 3px; background: #121110;
  transition: border-color .3s; }
.sf-infos-carte:hover { border-color: var(--line-2); }
.sf-infos-carte.is-ouvert { border-color: rgba(236, 211, 177, .32); }
.sf-infos-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sf-infos-nom { margin: 0; font-size: 15.5px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.sf-infos-apercu { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted);
  overflow-wrap: anywhere; }
.sf-infos-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-top: 2px; }
.sf-infos-pied .sf-tri { height: 36px; }
.sf-infos-voir { display: inline-flex; align-items: center; gap: 6px; }
.sf-infos-voir i { font-size: 17px; transition: transform .35s var(--ease); }
.sf-infos-voir[aria-expanded="true"] i { transform: rotate(180deg); }
.sf-tri.is-ok { color: var(--acc); border-color: var(--acc); }
/* Commande en étiquette (bouton : un clic la copie) ; « Renommer : … » */
.sf-infos-code { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0; padding: 3px 8px; border: 1px solid rgba(236, 211, 177, .38); border-radius: 2px;
  font-family: var(--mono); font-size: 13px; font-weight: 600; font-style: normal; line-height: 1.35; letter-spacing: 0; text-transform: none; text-align: left;
  color: var(--acc); overflow-wrap: anywhere; transition: border-color .25s, background .25s; }
.sf-infos-code > span { min-width: 0; }
.sf-infos-code > i { flex: none; font-size: 14px; color: var(--dim); transition: color .25s; }
.sf-infos-code:hover { border-color: rgba(236, 211, 177, .7); background: rgba(236, 211, 177, .06); }
.sf-infos-code:hover > i, .sf-infos-code.is-ok > i { color: var(--acc); }
.sf-infos-code.is-ok { border-color: var(--acc); }
.sf-infos-salon { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; font-size: 13px; color: var(--muted); }
.sf-infos-salon .sf-infos-code { border-color: var(--line-2); color: rgba(246, 241, 234, .9); }
/* Message du bot (mise en forme Discord légère) */
.sf-infos-msg { min-width: 0; padding: 12px 14px; border-left: 2px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 14.5px; line-height: 1.62;
  color: rgba(246, 241, 234, .88); overflow-wrap: anywhere; }
.sf-infos-msg p { margin: 0 0 10px; }
.sf-infos-msg ul { margin: 0 0 10px; padding-left: 20px; }
.sf-infos-msg li { margin: 3px 0; }
.sf-infos-msg li::marker { color: var(--acc); }
.sf-infos-msg > :last-child { margin-bottom: 0; }
.sf-infos-msg b { font-weight: 700; color: #fff; }
.sf-infos-msg u { text-decoration-color: rgba(236, 211, 177, .6); text-underline-offset: 3px; }
.sf-infos-msg code { padding: 0 4px; border-radius: 2px; background: rgba(255, 255, 255, .08); font-family: var(--mono); font-size: .9em; }
.sf-infos-lien { text-decoration: underline; text-decoration-color: rgba(236, 211, 177, .5); text-underline-offset: 2px; cursor: help; }
/* Parties en tableau (Commandes du bot, Ranger un ticket) : blocs sur deux colonnes */
.sf-infos-blocs { columns: 2 380px; column-gap: 14px; }
.sf-infos-bloc { break-inside: avoid; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 3px; background: #121110; }
.sf-infos-bloc-t { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; padding: 14px 16px 12px; font-size: 16px; font-weight: 900; font-style: italic;
  line-height: 1.3; letter-spacing: -.005em; text-transform: uppercase; }
.sf-infos-bloc-t > span { min-width: 0; overflow-wrap: anywhere; }
.sf-infos-bloc-t .sf-infos-code { font-size: 12.5px; }
.sf-infos-note { margin: 0; padding: 0 16px 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.sf-infos-tab { width: 100%; border-collapse: collapse; }
.sf-infos-tab th, .sf-infos-tab td { padding: 10px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; line-height: 1.5;
  overflow-wrap: anywhere; }
.sf-infos-tab th { width: 42%; font-weight: 600; }
.sf-infos-tab tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02); }
.sf-infos-alerte { display: inline-flex; align-items: center; gap: 5px; margin: 4px 0 0; padding: 1px 8px; border: 1px solid rgba(224, 83, 63, .55); border-radius: 2px;
  font-size: 12px; font-weight: 800; line-height: 1.5; color: #e0533f; }
.sf-infos-alerte i { font-size: 14px; }
/* Rien trouvé ici : les autres parties où la recherche a trouvé quelque chose */
.sf-infos-ailleurs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.sf-infos-ailleurs > span { width: 100%; font-size: 12px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--dim); }
.sf-infos-ailleurs .sf-tri { height: auto; min-height: 38px; padding-block: 6px; white-space: normal; text-align: center; }
.sf-infos-ailleurs .sf-tri b { font-size: 11px; font-weight: 800; font-style: normal; color: var(--acc); }
@media (max-width: 700px) { .sf-infos-cats { flex-wrap: nowrap; gap: 2px 18px; } }
@media (max-width: 560px) {
  .sf-infos-tab, .sf-infos-tab tbody, .sf-infos-tab tr, .sf-infos-tab th, .sf-infos-tab td { display: block; width: auto; }
  .sf-infos-tab tr { padding: 10px 14px; border-top: 1px solid var(--line); }
  .sf-infos-tab th, .sf-infos-tab td { padding: 0; border: 0; }
  .sf-infos-tab td { margin-top: 6px; color: rgba(246, 241, 234, .86); }
  .sf-infos-bloc-t { padding: 12px 14px 10px; }
}
.sf-grille-rien { margin: 0; padding: 14px 16px; border: 1px dashed var(--line-2); font-size: 13px; font-style: italic; color: var(--muted); }
/* Éditeur (Direction) : une carte par section ou par groupe, pied collé en bas de l'écran pendant l'édition */
.sf-ed { container: sf-ed / inline-size; }
.sf-ed-liste, .sf-ed-groupes { display: flex; flex-direction: column; gap: 12px; }
.sf-ed-groupes { margin-top: 18px; }
.sf-ed-sec, .sf-ed-g { position: relative; min-width: 0; padding: 16px 20px 18px 22px; border: 1px solid var(--verre-bord); background: var(--panneau); }
.sf-ed-sec::before, .sf-ed-g::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 3px; border-radius: 2px; background: var(--line-2); }
.sf-ed-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sf-ed-g > .sf-ed-tete { align-items: flex-end; margin-bottom: 14px; }
.sf-ed-g > .sf-ed-tete > .sf-ed-c { flex: 1 1 auto; }
.sf-ed-bts { display: inline-flex; flex: none; gap: 6px; }
.sf-ed-ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 3px; background: rgba(13, 12, 11, .4);
  color: rgba(246, 241, 234, .72); font-size: 18px; transition: color .25s, border-color .25s; -webkit-tap-highlight-color: transparent; }
.sf-ed-ico:hover:not(:disabled) { color: #fff; border-color: rgba(236, 211, 177, .42); }
.sf-ed-ico:disabled { opacity: .3; cursor: default; }
.sf-ed-ico.is-suppr i { color: #f39a85; }
.sf-ed-conf:empty { display: none; }
.sf-ed-ico.is-confirmer { display: inline-flex; align-items: center; gap: 6px; width: auto; padding: 0 12px; border-color: rgba(243, 154, 133, .55); color: #f39a85;
  font-size: 11.5px; font-weight: 800; font-style: italic; text-transform: uppercase; white-space: nowrap; }
.sf-ed-c { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.sf-ed-sec > .sf-ed-c + .sf-ed-c { margin-top: 12px; }
.sf-ed-c > label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 11.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--muted); }
.sf-ed-c em { font-weight: 600; text-transform: none; color: var(--dim); }
.sf-ed-n { flex: none; font-size: 11px; font-weight: 700; font-style: normal; color: var(--dim); font-variant-numeric: tabular-nums; }
.sf-ed-n.is-trop { color: #f39a85; }
/* Aucun effet visuel au focus : ni contour, ni ombre, ni couleur (mêmes règles que les champs de Business & Milieu) */
.sf-ed input[type="text"], .sf-ed textarea { width: 100%; min-width: 0; margin: 0; border: 1.5px solid var(--line-2); border-radius: 2px; outline: 0; box-shadow: none;
  background: rgba(255, 255, 255, .04); color: var(--text); font-family: inherit; caret-color: var(--acc); -webkit-appearance: none; appearance: none; }
.sf-ed input[type="text"] { height: 44px; padding: 0 14px; font-size: 15px; font-weight: 600; }
.sf-ed textarea { display: block; min-height: 96px; padding: 12px 14px; font-size: 14.5px; line-height: 1.6; resize: none; overflow: hidden; }
.sf-ed input::placeholder, .sf-ed textarea::placeholder { color: var(--dim); font-weight: 500; }
.sf-ed input::-webkit-calendar-picker-indicator { display: none !important; }
.sf-ed .sf-ed-c.is-erreur input, .sf-ed .sf-ed-c.is-erreur textarea { border-color: rgba(243, 154, 133, .7); }
.sf-ed-err { margin: 0; font-size: 12.5px; font-weight: 700; line-height: 1.45; color: #f39a85; }
.sf-ed-err:empty { display: none; }
.sf-ed-aide { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--dim); }
.sf-ed-ajouter { margin-top: 12px; }
/* (2.9.1) Éditeur de « Tâches par rôle » : la bande d'une carte prend sa couleur ; 12 petites pastilles (boutons radio : la couleur
   choisie entourée) ; un titre de partie sur une ligne à part (cadre pointillé, sans fond, titre en majuscules) ; deux boutons
   d'ajout côte à côte (l'un sous l'autre s'il manque la place) */
.sf-ed-sec.is-carte::before { background: rgb(var(--sf-tc)); }
.sf-ed-c > .sf-ed-k { font-size: 11.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--muted); }
.sf-ed-pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-ed-pastille { -webkit-appearance: none; appearance: none; display: block; flex: none; box-sizing: border-box; width: 26px; height: 26px; margin: 0; padding: 3px;
  border: 2px solid transparent; border-radius: 50%; background: rgb(var(--sf-tc)) content-box; cursor: pointer; transition: border-color .2s;
  -webkit-tap-highlight-color: transparent; }
.sf-ed-pastille:hover { border-color: rgba(246, 241, 234, .35); }
.sf-ed-pastille:checked { border-color: var(--text); }
.sf-ed-pastille:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.sf-ed-sec.is-partie { padding-top: 12px; padding-bottom: 14px; border-style: dashed; border-color: var(--line-2); background: transparent; }
.sf-ed-sec.is-partie::before { display: none; }
.sf-ed-sec.is-partie > .sf-ed-tete { align-items: flex-end; margin-bottom: 0; }
.sf-ed-sec.is-partie > .sf-ed-tete > .sf-doc-num { line-height: 44px; }
.sf-ed-sec.is-partie > .sf-ed-tete > .sf-ed-c { flex: 1 1 auto; }
.sf-ed-sec.is-partie input[type="text"] { font-weight: 900; font-style: italic; text-transform: uppercase; }
.sf-ed-ajouts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sf-ed-ajouts > .sf-ed-ajouter { margin-top: 0; }
/* Lignes de la grille : Faute | Min | Max | boutons sur une rangée (plus de 560 px) */
.sf-ed-lignes { display: flex; flex-direction: column; }
.sf-ed-l-tete, .sf-ed-l { display: grid; grid-template-columns: minmax(0, 1fr) 92px 92px 120px; gap: 8px; align-items: center; }
.sf-ed-l-tete { padding: 0 0 6px; font-size: 11px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--dim); }
.sf-ed-l { padding: 6px 0; border-top: 1px solid var(--line); }
.sf-ed-l > .sf-ed-err { grid-column: 1 / -1; }
.sf-ed-l .sf-ed-c { gap: 4px; }
.sf-ed-l input[type="text"] { height: 40px; padding: 0 10px; font-size: 14px; }
.sf-ed-l .is-duree input[type="text"] { font-style: italic; font-weight: 700; }
.sf-ed-l .sf-ed-bts { justify-self: end; }
.sf-ed-lab { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sf-ed-g [data-err-groupe] { margin-top: 8px; }
@container sf-ed (max-width: 559px) {
  .sf-ed-l-tete { display: none; }
  .sf-ed-l { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; row-gap: 6px; padding: 10px 0; }
  .sf-ed-l .is-faute { grid-column: 1 / -1; }
  .sf-ed-lab { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; font-size: 10.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: var(--dim); }
  .sf-ed-l .sf-ed-bts { align-self: end; }
  .sf-ed-g > .sf-ed-tete { flex-wrap: wrap; }
  .sf-ed-g > .sf-ed-tete > .sf-ed-c { flex-basis: 100%; }
  .sf-ed-g > .sf-ed-tete > .sf-ed-bts { margin-left: auto; }
  /* (2.9.1) Titre de partie : numéro et boutons en haut, le champ dessous sur toute la largeur */
  .sf-ed-sec.is-partie > .sf-ed-tete { flex-wrap: wrap; align-items: center; }
  .sf-ed-sec.is-partie > .sf-ed-tete > .sf-ed-c { order: 3; flex-basis: 100%; }
  .sf-ed-sec.is-partie > .sf-ed-tete > .sf-ed-bts { margin-left: auto; }
}
.sf-ed-pied { position: sticky; z-index: 5; bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 20px; padding: 12px 16px;
  border: 1px solid var(--line-2); border-radius: 3px; background: #15130f; }
.sf-ed-total { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.sf-ed-total.is-trop { color: #f39a85; }
.sf-ed-msg { flex: 1 1 200px; min-width: 0; margin: 0; font-size: 13px; font-weight: 700; line-height: 1.45; color: #f39a85; }
.sf-ed-pied-d { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.sf-ed-pied .sf-btn { width: auto; height: 46px; padding: 0 22px; }
.sf-ed-conflit { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; padding: 14px 16px; border: 1px solid rgba(245, 160, 60, .4); background: rgba(245, 160, 60, .08);
  font-size: 13.5px; font-weight: 600; line-height: 1.5; color: #f7c789; }
.sf-ed-conflit[hidden] { display: none; }
.sf-ed-conflit > i { flex: none; margin-top: 1px; font-size: 20px; }
.sf-ed-conflit p { margin: 0; }
.sf-ed-conflit-b { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sf-ed-remplacer { border-color: rgba(245, 160, 60, .5); }
.sf-ed-remplacer i { color: #f5a03c; }
.sf-ed-repris { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 16px; padding: 10px 14px; border: 1px dashed var(--line-2); font-size: 13px; font-weight: 600; color: var(--muted); }
.sf-ed-repris i { font-size: 18px; color: var(--acc); }
.sf-ed-info { margin-top: 22px; }
.sf-ed-info ul { margin: 0; padding: 0; list-style: none; }
.sf-ed-info li { padding: 3px 0; font-size: 12.5px; line-height: 1.5; color: var(--dim); overflow-wrap: anywhere; }

/* Notification en bas de l'écran */
.sf-toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; display: flex; align-items: center; gap: 10px; width: max-content; max-width: min(540px, calc(100vw - 32px));
  padding: 12px 18px 12px 16px; border: 1px solid var(--line-2); background: rgba(21, 19, 15, .96); color: var(--text); font-size: 13.5px; font-weight: 600; line-height: 1.45;
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, .85); opacity: 0; transform: translate(-50%, 20px); transition: opacity .35s, transform .55s var(--ease); pointer-events: none; }
.sf-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.sf-toast i { flex: none; font-size: 20px; color: #62d47f; }
.sf-toast.is-alerte i { color: #f5a03c; }

/* ---------- Écrans moyens et téléphone : la colonne de décision passe en bas, collante ---------- */
@media (max-width: 960px) {
  .sf-corps { display: block; }
  .sf-colonne { display: contents; }
  .sf-decision { position: sticky; z-index: 6; bottom: 10px; margin-top: 22px; padding: 12px 14px 14px 18px; background: rgba(15, 14, 12, .94);
    box-shadow: 0 -12px 30px -14px rgba(0, 0, 0, .75), 0 18px 40px -16px rgba(0, 0, 0, .9); }
  .sf-decision .sf-k, .sf-decision .sf-aide { display: none; }
  /* Rien à cliquer (carte sans décision à prendre, candidature définitive) : le cadre reste à sa place au lieu de flotter en bas */
  .sf-decision:not(:has(.sf-boutons)) { position: relative; bottom: auto; box-shadow: none; }
  .sf-etat-actuel { margin-bottom: 10px; }
  .sf-boutons { flex-direction: row; gap: 8px; }
  .sf-btn { flex: 1 1 0; min-width: 0; justify-content: center; gap: 7px; height: 46px; padding: 0 8px; font-size: 12px; }
  .sf-l-long { display: none; }
  .sf-l-court { display: inline; }
  .sf-suivi { margin-top: 14px; }
  .sf-final { padding: 9px 12px; font-size: 12.5px; }
  .sf-toast { top: calc(var(--hd, 78px) + 10px); bottom: auto; transform: translate(-50%, -16px); }
}
@media (max-width: 700px) {
  .sf-carte { flex-direction: column; gap: 16px; padding: 22px 20px 24px 24px; }
  .sf-carte-b .btn { flex: 1 1 100%; }
  .sf-liste-sec > .fx-barre { margin-bottom: 12px; }
  /* Un seul poste : son nom est déjà dans le texte d'en-tête ; la ligne garde le nombre et les deux boutons côte à côte */
  .sf-resultat-poste, .sf-resultat-poste + span::before { display: none; }
  /* « Actualiser » : l'icône seule (son nom reste lu par les lecteurs d'écran) */
  .sf-actualiser { width: 40px; padding: 0; }
  .sf-actualiser span { display: none; }
  .sf-ligne { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 3px 12px; padding: 12px 14px 12px 16px; }
  .sf-ligne:hover { transform: none; }
  .sf-ava { grid-row: 1 / 3; width: 44px; height: 44px; }
  .sf-qui { grid-column: 2; grid-row: 1; }
  .sf-etat-c { grid-column: 3; grid-row: 1; align-items: flex-end; }
  .sf-etat-c small { display: none; }
  .sf-poste { grid-column: 2; grid-row: 2; font-size: 12px; }
  .sf-date { grid-column: 3; grid-row: 2; text-align: right; }
  .sf-date b { display: none; }
  .sf-fleche { display: none; }
  .sf-tete-in { align-items: flex-start; gap: 16px; }
  .sf-tete-ava { width: 66px; border-width: 3px; }
  .ph-title.sf-titre { font-size: clamp(30px, 9vw, 44px); }
  .sf-tete-meta { gap: 6px 14px; font-size: 12.5px; }
  .sf-dlg-in { padding: 20px 18px 16px 22px; }
  .sf-dlg-t { font-size: 19px; }
  .sf-dlg-b { flex-wrap: wrap; }
  .sf-dlg .sf-btn { flex: 1 1 auto; }
  .sf-sc-details > div { grid-template-columns: minmax(0, 1fr); }
  .sf-sc-apercu { padding: 20px 12px 24px; }
  .sf-sc-entree { padding: 16px 14px 18px 18px; }
  .sf-sc-entree-g { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sf-sc-remettre .sf-btn { width: 100%; justify-content: center; }
}
/* Business & Milieu au téléphone : boutons de côté en deux colonnes égales ; ligne réduite à logo, nom / catégorie, pastille et
   bascule en icône seule (son nom reste lu et en infobulle) ; fenêtre en une colonne, boutons du pied sur toute la largeur */
@media (max-width: 700px) {
  .sf-cotes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-bottom: 14px; }
  .sf-cote { justify-content: center; gap: 7px; min-width: 0; padding: 0 8px; font-size: 12px; }
  .sf-dc-corps > .fx-barre { margin-bottom: 12px; }
  .sf-cote > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .sf-ligne-dc { grid-template-columns: 44px minmax(0, 1fr) auto auto; grid-template-rows: auto; gap: 0 10px; }
  .sf-ligne-dc .sf-dc-logo { width: 44px; height: 44px; }
  .sf-ligne-dc .sf-qui { grid-column: 2; grid-row: 1; }
  .sf-ligne-dc .sf-etat-c { grid-column: 3; grid-row: 1; align-items: flex-end; }
  .sf-ligne-dc .sf-dc-lien, .sf-ligne-dc .sf-date { display: none; }
  .sf-ligne-dc .sf-dc-bascule { grid-column: 4; grid-row: 1; width: 38px; height: 38px; padding: 0; }
  .sf-ligne-dc .sf-dc-bascule span { display: none; }
  .sf-dc-logo-z { gap: 14px; }
  .sf-dc-apercu { width: 60px; height: 60px; font-size: 21px; }
  .sf-dc-apercu.is-4 { font-size: 17px; }
  .sf-dc-pied { flex-wrap: wrap; }
  .sf-dc-pied-d { flex: 1 1 100%; justify-content: space-between; margin-left: 0; }
  .sf-dc-pied-d .sf-btn { flex: 1 1 auto; justify-content: center; }
}
/* Documents staff, écrans moyens : le sommaire passe au-dessus du texte, replié (Sommaire · 12 sections) */
@media (max-width: 960px) {
  .sf-doc-cols { display: block; }
  .sf-doc-sommaire.is-large { display: none; }
  details.sf-doc-sommaire { display: block; margin: 0 0 14px; border: 1px solid var(--verre-bord); background: var(--panneau); }
  details.sf-doc-sommaire > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; list-style: none; cursor: pointer;
    font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .02em; text-transform: uppercase; color: rgba(246, 241, 234, .82); -webkit-tap-highlight-color: transparent; }
  details.sf-doc-sommaire > summary::-webkit-details-marker { display: none; }
  details.sf-doc-sommaire > summary i { flex: none; font-size: 20px; color: var(--acc); transition: transform .35s var(--ease); }
  details.sf-doc-sommaire[open] > summary i { transform: rotate(180deg); }
  .sf-doc-sommaire-l { max-height: 50vh; overflow-y: auto; overscroll-behavior: contain; padding: 0 6px 8px; }
}
/* Documents staff au téléphone : gouttière de 16 px, rien de plus large que l'écran ; tableau sur toute la largeur (Min / Max 64 px) ;
   éditeur en une colonne, pied sur toute la largeur (boutons en deux colonnes égales) */
@media (max-width: 700px) {
  .sf-docs-corps > .fx-barre { margin-bottom: 12px; }
  .sf-doc-sec { padding: 16px 14px 18px 18px; }
  .sf-doc-t { gap: 10px; font-size: 17px; }
  .sf-doc-texte p, .sf-doc-liste li { font-size: 14.5px; }
  /* (2.9.2) Règles du « Règlement staff » : étiquette du code un peu plus petite */
  .sf-regle { column-gap: 10px; }
  .sf-regle-code { min-width: 46px; padding: 1px 4px; font-size: 10.5px; }
  /* (2.9.1) « Tâches par rôle » : une colonne (aussi sans les requêtes de conteneur), titres de partie plus petits ; pastilles de
     l'éditeur un peu plus grandes au doigt */
  .sf-taches-g, .sf-taches-bloc { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sf-taches-partie { gap: 14px; margin: 18px 0 2px; font-size: 22px; }
  .sf-tache { padding: 16px 16px 18px; }
  .sf-tache-nom { font-size: 17px; }
  .sf-tache.is-intro .sf-tache-nom { font-size: 19px; }
  .sf-ed-pastille { width: 30px; height: 30px; }
  .sf-grille thead th:nth-child(n+2) { width: 64px; }
  .sf-grille th, .sf-grille td { padding: 9px 10px; }
  .sf-grille td { padding-left: 5px; padding-right: 5px; }
  .sf-grille tbody th { font-size: 13.5px; }
  .sf-duree { padding: 2px 5px; font-size: 10.5px; }
  .sf-grille-aller .sf-tri { height: 34px; padding: 0 10px; }
  .sf-ed-sec, .sf-ed-g { padding: 14px 12px 16px 16px; }
  .sf-ed-pied { padding: 10px 12px; }
  .sf-ed-pied-d { flex: 1 1 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-left: 0; }
  .sf-ed-pied-d .sf-dlg-annuler { height: 46px; border: 1px solid var(--line-2); border-radius: 3px; }
  .sf-ed-pied .sf-btn { width: 100%; justify-content: center; padding: 0 10px; }
  .sf-ed-conflit-b .sf-tri { flex: 1 1 100%; justify-content: flex-start; height: auto; min-height: 40px; padding: 8px 12px; white-space: normal; text-align: left; }
  .sf-ed-ico.is-confirmer { white-space: normal; text-align: left; height: auto; min-height: 36px; padding: 6px 10px; }
}

/* ===== ultimate-accueil.css ===== */
/* Composant « L'univers Ultimate » (#/ultimate) — ultimate-accueil.js.
   Le mur d'affiches de la catégorie Ultimate, fidèle à la maquette validée maquettes-ultimate/v2/index.html :
   six affiches, le Lore en vedette au centre, « Le Business » (vert) et « Le Milieu » (rouge) de part et d'autre avec
   l'emplacement de leur logo, Le serveur et Actualités en dessous, le Lexique en bandeau avec son petit tableau où les
   pancartes du lexique se relaient.
   Règle (CONTRAT.md) : tout est sous la classe racine .uacc, chaque classe créée par le composant commence par « uacc- »
   (@keyframes aussi). Classes du site réutilisées telles quelles : .ph, .ph-grid, .ph-photo, .cadre, .ph-img, .ht, .tape,
   .kicker, .old, .ph-title, .ph-desc, .wrap, .bloc, .couronne, .hl, .hl-etq, .dg-vert, .dg-rouge, .dg-papier.
   Le site garde son en-tête, son pied de page et son fond. Aucune règle prefers-reduced-motion (animations voulues partout). */

/* ---------- Racine : palette des maquettes (papier, encre, brun, rouge, vert) ---------- */
.uacc {
  --papier: #efe6d8; --encre: #16130f; --brun: #7a5a33;
  --rouge: #8c241c; --rouge-clair: #e0705f;
  --vert: #1d5e43; --vert-clair: #7fc3a0;
}
/* En-tête de la page : mêmes réglages que la maquette (petit mot « San Andreas » un peu plus grand, ruban au-dessus du cadre) */
.uacc .kicker .old { font-size: 30px; line-height: 1; }
.uacc .tape { z-index: 3; }

/* ======================================================================
   LE MUR D'AFFICHES : six affiches, le Lore en vedette au centre,
   le légal (Le Business) et l'illégal (Le Milieu) de part et d'autre, le Lexique en bandeau
   ====================================================================== */
.uacc .uacc-mur { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.24fr) minmax(0, 1fr);
  grid-template-areas: "entreprises lore illegal" "serveur lore actualites" "lexique lexique lexique";
  gap: clamp(44px, 4vw, 64px) clamp(26px, 2.8vw, 44px); padding: 18px 0 0; }
.uacc .uacc-cel { display: flex; min-width: 0; }
.uacc .uacc-cel-lore { grid-area: lore; }
.uacc .uacc-cel-serveur { grid-area: serveur; }
.uacc .uacc-cel-actualites { grid-area: actualites; }
.uacc .uacc-cel-lexique { grid-area: lexique; }
.uacc .uacc-cel-entreprises { grid-area: entreprises; }
.uacc .uacc-cel-illegal { grid-area: illegal; }
/* Décalages verticaux légers : un vrai mur, pas une grille */
.uacc .uacc-cel-lore .uacc-af { translate: 0 -14px; }
.uacc .uacc-cel-illegal .uacc-af { translate: 0 24px; }
.uacc .uacc-cel-actualites .uacc-af { translate: 0 16px; }
.uacc .uacc-cel-serveur .uacc-af { translate: 0 6px; }

.uacc .uacc-af { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 10px 10px 22px; background: var(--papier); color: var(--on-acc);
  rotate: var(--rot, 0deg); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .9); transition: transform .7s var(--ease), box-shadow .5s; }
.uacc .uacc-af:hover { transform: translateY(-12px) rotate(calc(-1 * var(--rot, 0deg))); box-shadow: 0 46px 74px -26px #000; z-index: 2; }
.uacc .uacc-af .tape { top: -14px; left: calc(50% - 55px); rotate: -4deg; }
.uacc .uacc-img { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3.2; background: #2a2622; }
.uacc .uacc-img.ht::after { z-index: 1; }
.uacc .uacc-photo { position: absolute; inset: 0; background: var(--img) var(--pos) / var(--size) no-repeat; filter: grayscale(.35) contrast(1.08); transition: filter .6s, transform 1.2s var(--ease); }
.uacc .uacc-af:hover .uacc-photo { filter: none; transform: scale(1.05); }
.uacc .uacc-ico { position: absolute; right: 12px; top: 12px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; font-size: 21px; color: var(--acc); background: var(--on-acc); border-radius: 50%; }
/* Étiquette de l'affiche : traitement « Voile » des étiquettes (.hl-etq du site), posée en bas à gauche de la photo.
   .uacc-lbl.hl-etq l'emporte sur la position du porteur ; lettrage de l'étiquette de la maquette (sans interlettrage). */
.uacc .uacc-lbl.hl-etq { position: absolute; left: 12px; bottom: 12px; z-index: 2; font-size: 12px; font-weight: 900; font-style: italic; letter-spacing: normal; line-height: inherit; text-transform: uppercase; white-space: normal; }
.uacc .uacc-corps { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 0 8px; }
.uacc .uacc-t { margin: 18px 0 8px; font-size: clamp(26px, 2.3vw, 34px); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.uacc .uacc-m { display: flex; align-items: center; gap: 6px; margin: -2px 0 10px; font-size: 11.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: rgba(13, 12, 11, .55); }
.uacc .uacc-m i { flex: none; font-size: 16px; font-style: normal; color: #5865f2; }
.uacc .uacc-d { margin: 0 0 20px; font-size: 13.5px; line-height: 1.6; color: rgba(13, 12, 11, .72); }
.uacc .uacc-b { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; font-size: 13px; font-weight: 800; font-style: italic; text-transform: uppercase;
  background: var(--on-acc); color: var(--acc); transform: skewX(-8deg); transition: gap .4s var(--ease); }
.uacc .uacc-b > * { transform: skewX(8deg); }
.uacc .uacc-af:hover .uacc-b { gap: 14px; }

/* Vedette : le Lore, grande affiche au centre sur toute la hauteur */
.uacc .uacc-vedette { padding: 12px 12px 26px; }
.uacc .uacc-vedette .uacc-img { aspect-ratio: auto; flex: 1; min-height: 340px; }
.uacc .uacc-vedette .uacc-photo { background-size: auto 128%; background-position: 62% 78%; } /* le quartier de l’affiche « Bienvenue », son mot écrit hors cadre */
.uacc .uacc-vedette .uacc-corps { flex: none; }
.uacc .uacc-vedette .uacc-t { margin-top: 22px; font-size: clamp(40px, 3.9vw, 62px); line-height: .96; }
.uacc .uacc-vedette .uacc-d { max-width: 470px; font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; font-style: italic; line-height: 1.5; color: rgba(13, 12, 11, .84); }
.uacc .uacc-vedette .uacc-m { margin-top: 2px; }
.uacc .uacc-vedette .tape { top: 16px; left: -22px; rotate: -38deg; width: 120px; }
.uacc .uacc-vedette .tape + .tape { left: auto; right: -22px; top: 16px; rotate: 38deg; }
.uacc .uacc-vedette .uacc-lbl { font-size: 13px; }
.uacc .uacc-vedette .uacc-ico { top: auto; bottom: 12px; }
.uacc .uacc-sticker { position: absolute; z-index: 3; right: -16px; bottom: -18px; width: 104px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--acc) url(assets/logo-fond.webp) center / cover; border: 3px solid var(--papier); rotate: -12deg;
  box-shadow: 5px 5px 0 rgba(13, 12, 11, .45), 0 18px 34px -14px rgba(0, 0, 0, .8); transition: rotate .8s cubic-bezier(.34, 1.56, .64, 1); }
.uacc .uacc-af:hover .uacc-sticker { rotate: 6deg; }

/* Rubans propres à chaque affiche */
.uacc .uacc-cel-entreprises .tape { left: 18%; rotate: -7deg; }
.uacc .uacc-cel-illegal .tape { left: auto; right: 16%; rotate: 6deg; }
.uacc .uacc-cel-serveur .tape { left: calc(50% - 40px); rotate: 3deg; }
.uacc .uacc-cel-actualites .tape { left: 26%; rotate: -3deg; }

/* Le Milieu (illégal) : un léger accent rouge sombre (photo teintée, icône) */
.uacc .uacc-illegal .uacc-img::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(205deg, rgba(140, 36, 28, .08) 25%, rgba(120, 22, 16, .62)); transition: opacity .6s; }
.uacc .uacc-illegal:hover .uacc-img::before { opacity: .3; }
.uacc .uacc-illegal .uacc-ico { color: var(--rouge-clair); }
/* Le Business (légal) : même principe en vert profond (légal = vert, illégal = rouge, le reste = beige) */
.uacc .uacc-legal .uacc-img::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(205deg, rgba(34, 107, 76, .06) 25%, rgba(20, 78, 54, .5)); transition: opacity .6s; }
.uacc .uacc-legal:hover .uacc-img::before { opacity: .3; }

/* Affiches Le Business / Le Milieu : leur nom (ctx.noms), mot en valeur en dégradé « Voile » posé sur le papier */
.uacc .uacc-t.dg-papier { position: relative; }
.uacc .uacc-t .hl { --hd-delay: .25s; }
/* Le Milieu sur papier : voile et barre rouges ; lettres claires sur le rouge, sombres là où il s'efface (lisibles tout du long) */
.uacc .uacc-illegal .uacc-t { --dg-voile-rgb: 140 36 28; --dg-barre: linear-gradient(180deg, #c8442f, #8c241c); --dg-encre: #fbf3e8; --dg-douceur: 2%; }
/* Le Business sur papier : voile et barre verts ; lettres claires sur le vert, sombres là où il s'efface (lisibles tout du long) */
.uacc .uacc-legal .uacc-t { --dg-voile-rgb: 24 82 58; --dg-barre: linear-gradient(180deg, #3f9a6f, #1d5e43); --dg-encre: #f3faf5; --dg-douceur: 2%; }
/* Emplacement du logo : médaillon en haut à droite de la photo.
   LOGOS (dans le script) vide = l'icône dans un rond pointillé ; chemin d'image = le logo, recadré dans le rond. */
.uacc .uacc-logo { position: absolute; right: 12px; top: 12px; z-index: 2; width: 76px; height: 76px; display: grid; place-items: center; overflow: hidden; border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #2c251e, #100e0c 74%); color: var(--acc); font-size: 30px;
  box-shadow: 0 0 0 3px var(--papier), 0 0 0 4px rgba(13, 12, 11, .22), 0 18px 30px -12px rgba(0, 0, 0, .85);
  transition: transform .9s cubic-bezier(.34, 1.56, .64, 1); }
.uacc .uacc-logo::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px dashed rgba(236, 211, 177, .34); pointer-events: none; }
.uacc .uacc-logo i { position: relative; z-index: 1; }
.uacc .uacc-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.uacc .uacc-logo.is-img { background: var(--papier); }
.uacc .uacc-logo.is-img::after { display: none; }
.uacc .uacc-af:hover .uacc-logo { transform: rotate(-10deg) scale(1.05); }
.uacc .uacc-illegal .uacc-logo { color: var(--rouge-clair); }
.uacc .uacc-illegal .uacc-logo::after { border-color: rgba(224, 112, 95, .4); }
.uacc .uacc-legal .uacc-logo { color: var(--vert-clair); background: radial-gradient(circle at 50% 32%, #1f3a2d, #0d1611 74%); }
.uacc .uacc-legal .uacc-logo::after { border-color: rgba(127, 195, 160, .4); }

/* Lexique : bandeau en largeur — photo, texte, et un petit tableau où les pancartes du lexique se relaient
   (mêmes pancartes punaisées que la page du lexique : « Terme N », icône ronde, terme, définition mot pour mot) */
.uacc .uacc-large { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr) minmax(0, .98fr); grid-template-areas: "img corps tab"; align-items: stretch; padding: 10px; }
.uacc .uacc-large .uacc-img { grid-area: img; aspect-ratio: auto; min-height: 270px; }
.uacc .uacc-large .uacc-corps { grid-area: corps; padding: 8px 18px 10px 30px; }
.uacc .uacc-large .uacc-t { margin-top: 16px; }
.uacc .uacc-large .tape { left: 20%; rotate: -5deg; }
.uacc .uacc-large .tape + .tape { left: auto; right: 14%; rotate: 4deg; }

/* Le tableau : un panneau sombre encastré dans l'affiche, filet pointillé, trame */
.uacc .uacc-tab { grid-area: tab; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; gap: 16px; min-width: 0; margin-left: 6px; overflow: hidden;
  padding: 30px clamp(18px, 1.8vw, 30px) 16px; color: var(--text);
  background: radial-gradient(120% 85% at 22% 0%, #2b241d, #17130f 62%, #110e0c); box-shadow: inset 0 0 0 1px rgba(13, 12, 11, .4), inset 0 22px 44px -26px #000; }
.uacc .uacc-tab::before { content: ""; position: absolute; inset: 8px; z-index: -1; border: 1.5px dashed rgba(236, 211, 177, .16); pointer-events: none; }
.uacc .uacc-tab::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(0, 0, 0, .6) 1px, transparent 1.5px); background-size: 4px 4px; }
/* La pile : toutes les pancartes dans la même case (la plus haute donne la hauteur : rien ne saute quand elles changent),
   deux feuilles derrière pour l'épaisseur */
.uacc .uacc-pile { position: relative; display: grid; width: min(100%, 330px); margin-inline: auto; }
.uacc .uacc-pile::before, .uacc .uacc-pile::after { content: ""; position: absolute; inset: 6px 0 -4px 8px; background: #d9ccb6; rotate: 3.6deg; box-shadow: 0 16px 26px -16px rgba(0, 0, 0, .9); }
.uacc .uacc-pile::after { inset: 4px 8px -2px 0; background: #e5dac7; rotate: -2.8deg; }
.uacc .uacc-pk { grid-area: 1 / 1; position: relative; z-index: 1; display: block; min-width: 0; color: var(--encre); rotate: var(--rot, 0deg); transform-origin: 50% -8px;
  visibility: hidden; opacity: 0; transition: rotate .9s cubic-bezier(.3, 1.6, .45, 1); }
.uacc .uacc-pk.is-on { visibility: visible; opacity: 1; z-index: 2; }
/* Au survol de l'affiche (le temps de lire, la minuterie s'arrête) : la pancarte se redresse, comme sur la page du lexique */
.uacc .uacc-large:hover .uacc-pk { rotate: 0deg; }
/* Elle se balance doucement sur sa punaise */
.uacc .uacc-pk-in { display: block; height: 100%; transform-origin: 50% -8px; animation: uacc-balance 4.6s ease-in-out infinite alternate; }
@keyframes uacc-balance { from { rotate: -.9deg; } to { rotate: .9deg; } }
.uacc .uacc-pk-punaise { position: absolute; z-index: 3; left: 50%; top: -9px; width: 18px; height: 18px; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1dc 0, #ecd3b1 30%, #9a7650 75%, #5e452a 100%); box-shadow: 0 4px 6px rgba(0, 0, 0, .55), 0 0 0 2px rgba(13, 12, 11, .25); }
.uacc .uacc-pk-papier { position: relative; isolation: isolate; display: flex; flex-direction: column; height: 100%; padding: 24px 20px 20px; background: var(--papier);
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .95), 0 3px 0 rgba(0, 0, 0, .18); }
.uacc .uacc-pk-papier.ht::after { opacity: .12; }
.uacc .uacc-pk-papier::before { content: ""; position: absolute; inset: 8px; border: 2px solid rgba(27, 23, 18, .13); pointer-events: none; }
.uacc .uacc-pk-haut { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.uacc .uacc-pk-num { display: inline-block; padding: 3px 9px; font-size: 10.5px; font-weight: 900; font-style: italic; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: var(--acc); background: var(--on-acc); transform: skewX(-8deg); }
.uacc .uacc-pk-ico { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; font-size: 18px; color: var(--acc); background: var(--on-acc); }
.uacc .uacc-pk-t { display: block; margin: 0 0 8px; font-size: clamp(19px, 1.55vw, 23px); font-weight: 900; font-style: italic; line-height: 1.04; letter-spacing: -.02em; text-transform: uppercase; overflow-wrap: break-word; }
.uacc .uacc-pk-d { display: block; font-size: 13.5px; line-height: 1.55; color: rgba(27, 23, 18, .8); }
/* Sceau : la couronne du serveur en filigrane, en bas à droite de chaque pancarte */
.uacc .uacc-pk-sceau { position: absolute; z-index: -1; right: 16px; bottom: 14px; width: 40px; color: var(--brun); opacity: .16; rotate: -10deg; pointer-events: none; }

/* Minuterie : la barre se remplit jusqu'à la pancarte suivante (en pause au survol de l'affiche) */
.uacc .uacc-tab-barre { position: relative; display: block; width: min(100%, 330px); height: 3px; margin: 2px auto 0; overflow: hidden; border-radius: 2px; background: rgba(236, 211, 177, .14); }
.uacc .uacc-tab-barre > i { position: absolute; inset: 0; background: var(--beige); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Adaptation écrans (mêmes paliers et même ordre que la maquette) ---------- */
@media (max-width: 1100px) {
  /* Deux colonnes : la vedette en largeur, puis les paires */
  .uacc .uacc-mur { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "lore lore" "entreprises illegal" "serveur actualites" "lexique lexique"; }
  .uacc .uacc-cel .uacc-af { translate: none; }
  .uacc .uacc-cel-illegal, .uacc .uacc-cel-actualites { padding-top: 26px; }
  .uacc .uacc-vedette { flex-direction: row; }
  .uacc .uacc-vedette .uacc-img { flex: none; width: 52%; min-height: 380px; }
  .uacc .uacc-vedette .uacc-corps { padding: 10px 14px 6px 28px; }
  .uacc .uacc-large { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr) minmax(0, 1.08fr); }
  .uacc .uacc-large .uacc-corps { padding: 6px 12px 8px 22px; }
}
@media (max-width: 900px) {
  /* Tablette : la photo en bandeau, puis le texte et le tableau côte à côte */
  .uacc .uacc-large { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "img img" "corps tab"; row-gap: 14px; }
  .uacc .uacc-large .uacc-img { min-height: 0; aspect-ratio: 16 / 6.4; }
  .uacc .uacc-large .uacc-photo { background-size: 150%; background-position: 50% 30%; }
  .uacc .uacc-large .uacc-corps { padding: 4px 10px 6px 8px; }
  .uacc .uacc-large .uacc-t { margin-top: 10px; }
  .uacc .uacc-tab { margin-left: 0; }
}
@media (max-width: 700px) {
  .uacc .kicker .old { font-size: 26px; }
  .uacc .ph-desc { font-size: 15.5px; }
  /* Affiches : une colonne, inclinaisons adoucies */
  .uacc .uacc-mur { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lore" "entreprises" "illegal" "serveur" "actualites" "lexique"; gap: 38px; padding-inline: 6px; }
  .uacc .uacc-cel-illegal, .uacc .uacc-cel-actualites { padding-top: 0; }
  .uacc .uacc-af { rotate: calc(var(--rot, 0deg) * .55); }
  .uacc .uacc-vedette, .uacc .uacc-large { display: flex; flex-direction: column; }
  .uacc .uacc-vedette .uacc-img, .uacc .uacc-large .uacc-img { width: auto; min-height: 0; flex: none; aspect-ratio: 4 / 3.4; }
  .uacc .uacc-vedette .uacc-photo { background-size: 240%; background-position: 62% 76%; }
  .uacc .uacc-vedette .uacc-corps, .uacc .uacc-large .uacc-corps { padding: 0 8px; }
  .uacc .uacc-large .uacc-t { margin-top: 18px; }
  .uacc .uacc-vedette .uacc-t { font-size: clamp(36px, 11vw, 46px); }
  .uacc .uacc-vedette .uacc-d { font-size: 16px; }
  .uacc .uacc-sticker { width: 78px; right: -8px; bottom: -14px; }
  .uacc .uacc-vedette .tape { left: -8px; top: 10px; width: 84px; height: 26px; }
  .uacc .uacc-vedette .tape + .tape { right: -8px; top: 10px; }
  .uacc .uacc-large .tape { left: calc(50% - 55px); }
  .uacc .uacc-large .tape + .tape { display: none; }
  /* Lexique : photo (cadrage des textes), titre, texte, puis le tableau, et le bouton en dernier */
  .uacc .uacc-large .uacc-photo { background-size: var(--size); background-position: var(--pos); }
  .uacc .uacc-large .uacc-corps { display: contents; }
  .uacc .uacc-large .uacc-corps > * { margin-left: 8px; margin-right: 8px; }
  .uacc .uacc-large .uacc-tab { order: 1; margin: 0 0 24px; padding: 30px 16px 16px; }
  .uacc .uacc-large .uacc-b { order: 2; }
  .uacc .uacc-b { height: 44px; }
  .uacc .uacc-logo { width: 66px; height: 66px; font-size: 26px; }
}

/* ===== ultimate-serveur.css ===== */
/* Composant « Le serveur » (#/serveur) — ultimate-serveur.js. Rendu de la maquette validée maquettes-ultimate/v2/le-serveur.html :
   la BANDE-ANNONCE plein cadre (12 plans) qui se regarde sans défiler, puis le pied de page du site.
   Règle : tout est sous la classe racine .userv ; chaque classe créée ici commence par « userv- » (@keyframes aussi) ;
   classes du site réutilisées telles quelles : .btn, .btn-beige, .hl, .old, .ht, .couronne, .sp-w / .sp-c (titres découpés).
   Le site garde son en-tête (posé sur le lecteur, comme dans la maquette), son pied de page et son fond.
   Les animations restent actives même si Windows a coupé les siennes (demande du propriétaire) : aucune règle prefers-reduced-motion. */
.userv {
  --papier: #efe6d8; --encre: #16130f; --brun: #7a5a33; --rouge: #a3291d;
  -webkit-tap-highlight-color: transparent;
}
/* Le mot en valeur d'un titre ne se coupe jamais en deux lignes (son fond en dégradé tient sur une ligne) */
.userv h1 .hl, .userv h2 .hl, .userv .userv-nw { white-space: nowrap; }
/* La ponctuation se rapproche du mot : elle se pose sur la fin effacée de son fond */
.userv .userv-nw > .hl { margin-right: -.14em; }
/* Lettres du mot en valeur : peintes comme dans la maquette (reglages.js, data-dg="c") — lettre découpée dans un fond de sa couleur,
   avec la légère ombre du traitement « Voile ». Ici encre = clair (blanc) : le dégradé des lettres se réduit à une couleur unie. */
.userv .hl .sp-c { color: transparent; -webkit-text-fill-color: transparent; background: linear-gradient(var(--dg-encre), var(--dg-encre)); -webkit-background-clip: text; background-clip: text;
  filter: var(--dg-ombre); }
.userv .userv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Photo recadrée : fond « cover », zoom autour du point d'intérêt (--pos), marche quel que soit le format du cadre */
.userv .userv-zoom { position: absolute; inset: 0; display: block; background: var(--img) var(--pos, 50% 50%) / cover no-repeat; transform: scale(var(--z, 1)); transform-origin: var(--pos, 50% 50%); }
/* Vignette d'un catalogue de l'ancien site (garages, appartements) : découpe exacte */
.userv .userv-vg { display: block; width: 100%; background-repeat: no-repeat; }

/* Boutons de l'affiche (restent pleins) : flèche qui avance au survol, bouton Discord de la maquette */
.userv .btn-beige .bx-right-arrow-alt { transition: transform .5s var(--ease); }
.userv .btn-beige:hover .bx-right-arrow-alt { transform: skewX(8deg) translateX(4px); }
.userv .userv-btn-dc { background: #5865f2; color: #fff; box-shadow: 6px 6px 0 rgba(88, 101, 242, .3); }
.userv .userv-btn-dc:hover { box-shadow: 9px 9px 0 rgba(88, 101, 242, .42); transform: skewX(-8deg) translate(-2px, -2px); }

/* Retour vers l'univers Ultimate (rangé dans la barre du lecteur) */
.userv .userv-retour { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 1px solid var(--verre-bord); background: var(--verre); color: rgba(246, 241, 234, .86);
  font-size: 12px; font-weight: 800; font-style: italic; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transform: skewX(-8deg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, color .3s, background .3s; }
.userv .userv-retour > * { transform: skewX(8deg); }
.userv .userv-retour i { font-size: 19px; color: var(--acc); transition: transform .5s var(--ease); }
.userv .userv-retour:hover { border-color: rgba(236, 211, 177, .42); color: #fff; background: rgba(14, 13, 12, .8); }
.userv .userv-retour:hover i { transform: skewX(8deg) translateX(-4px); }

/* Ruban adhésif */
.userv .userv-tape { position: absolute; z-index: 3; width: 110px; height: 30px; background: rgba(236, 211, 177, .75); }

/* ======================================================================
   LE LECTEUR : tout tient dans l'écran
   --haut / --bas : la place prise par la barre du haut (sous l'en-tête) et par les commandes du bas
   ====================================================================== */
.userv .userv-lec { --haut: calc(var(--hd) + 78px); --bas: 92px; position: relative; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; isolation: isolate;
  background: #070605; color: #fff; user-select: none; -webkit-user-select: none; touch-action: pan-y; -webkit-touch-callout: none; }

/* Un plan */
.userv .userv-pl { position: absolute; inset: 0; z-index: 1; visibility: hidden; overflow: hidden; isolation: isolate; }
.userv .userv-pl.is-on { visibility: visible; z-index: 2; }
/* Remise à zéro instantanée d'un plan qui rentre (titres, fonds en dégradé) */
.userv .userv-pl.is-raz, .userv .userv-pl.is-raz *, .userv .userv-pl.is-raz *::before, .userv .userv-pl.is-raz *::after { transition: none !important; }
.userv .userv-pl-ph { position: absolute; inset: 0; z-index: -3; overflow: hidden; background: #0d0c0b; }
.userv .userv-pl-snap, .userv .userv-pl-kb { position: absolute; inset: 0; }
.userv .userv-pl-ph .userv-zoom { filter: saturate(.9) contrast(1.06); }
/* Caméra lente (Ken Burns) : zoom ou travelling pendant toute la durée du plan */
.userv .userv-pl-kb { transform: translate(var(--kx0, 0%), var(--ky0, 0%)) scale(var(--ks0, 1)); }
.userv .userv-pl.is-on .userv-pl-kb { animation: userv-kb var(--dur, 8s) cubic-bezier(.33, .1, .55, 1) both; }
@keyframes userv-kb { from { transform: translate(var(--kx0, 0%), var(--ky0, 0%)) scale(var(--ks0, 1)); } to { transform: translate(var(--kx1, 0%), var(--ky1, 0%)) scale(var(--ks1, 1)); } }
/* Coupe en zoom : l'image arrive serrée et se pose */
.userv .userv-pl.is-on[data-entree~="zoom"] .userv-pl-snap { animation: userv-snap 1.25s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes userv-snap { from { transform: scale(1.22); } to { transform: none; } }
.userv .userv-pl-voile { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.userv .userv-pl-trame { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .22; mix-blend-mode: multiply;
  background-image: radial-gradient(rgba(0, 0, 0, .75) 1px, transparent 1.5px); background-size: 4px 4px; }
/* Zone de contenu : entre la barre du haut et les commandes du bas */
.userv .userv-pl-c { position: absolute; z-index: 1; top: var(--haut); bottom: var(--bas); left: var(--gut); right: var(--gut); }
/* Sous-titres : les mots s'allument l'un après l'autre, puis tout reste affiché */
.userv .userv-pl .userv-m { opacity: .16; }
.userv .userv-pl.is-on .userv-m { animation: userv-mot .6s ease both; animation-delay: calc(var(--m0, .8s) + var(--k, 0) * 72ms); }
@keyframes userv-mot { from { opacity: .16; } to { opacity: 1; } }

/* Raccords entre les plans : flash blanc, fondu au noir */
.userv .userv-flash, .userv .userv-noir { position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none; }
.userv .userv-flash { background: #fff4e2; }
.userv .userv-noir { background: #050403; }
.userv .userv-flash.is-go { animation: userv-flash .55s ease-out both; }
.userv .userv-noir.is-go { animation: userv-noir 1.05s ease-in both; }
@keyframes userv-flash { from { opacity: .5; } to { opacity: 0; } }
@keyframes userv-noir { 0%, 22% { opacity: 1; } 100% { opacity: 0; } }
/* Voiles fixes du haut (en-tête, barre) et du bas (commandes) */
.userv .userv-ombre { position: absolute; left: 0; right: 0; z-index: 4; pointer-events: none; }
.userv .userv-ombre-h { top: 0; height: calc(var(--hd) + 150px); background: linear-gradient(180deg, rgba(6, 5, 4, .9) 0%, rgba(6, 5, 4, .6) 48%, rgba(6, 5, 4, 0)); }
.userv .userv-ombre-b { bottom: 0; height: 170px; background: linear-gradient(0deg, rgba(6, 5, 4, .82), rgba(6, 5, 4, 0)); }
/* (Plus de flèches au survol des bords ni de clic sur les moitiés de l'image : on change de plan par les commandes seulement) */
/* Pastille du milieu quand on met en pause / relance */
.userv .userv-etat { position: absolute; z-index: 6; left: 50%; top: 50%; width: 86px; height: 86px; margin: -43px 0 0 -43px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(13, 12, 11, .62); border: 1px solid rgba(236, 211, 177, .3); color: #fff; font-size: 46px; opacity: 0; pointer-events: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.userv .userv-etat.is-go { animation: userv-etat .75s ease-out both; }
@keyframes userv-etat { from { opacity: 1; transform: scale(.8); } to { opacity: 0; transform: scale(1.35); } }

/* ---------- Barre du haut : progression segmentée, retour, minutage, « Passer » ---------- */
.userv .userv-haut { position: absolute; z-index: 6; top: calc(var(--hd) + 2px); left: var(--gut); right: var(--gut); pointer-events: none; transition: opacity .35s; }
.userv .userv-seg { display: flex; align-items: center; gap: 4px; height: 20px; pointer-events: auto; cursor: pointer; }
.userv .userv-sg { position: relative; flex: 1 1 0; min-width: 0; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .22); transition: height .25s var(--ease); }
.userv .userv-sg.is-groupe { margin-left: 9px; }
.userv .userv-sg i { position: absolute; inset: 0; background: var(--acc); transform-origin: left; transform: scaleX(var(--f, 0)); }
.userv .userv-sg.is-cur { background: rgba(255, 255, 255, .32); }
@media (hover: hover) and (pointer: fine) { .userv .userv-seg:hover .userv-sg { height: 6px; } }
.userv .userv-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.userv .userv-row > * { pointer-events: auto; }
.userv .userv-d { display: flex; align-items: center; gap: 16px; }
.userv .userv-tc { display: inline-flex; align-items: center; gap: 9px; margin: 0; pointer-events: none; font-size: 11.5px; font-weight: 800; font-style: italic; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(246, 241, 234, .7); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); white-space: nowrap; }
.userv .userv-tc i { font-size: 19px; color: var(--acc); }
.userv .userv-tc b { font-size: 13px; font-weight: 900; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: #fff; }
/* Boutons du lecteur : verre incliné, comme les boutons du site */
.userv .userv-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 16px;
  border: 1px solid var(--verre-bord); background: var(--verre); color: rgba(246, 241, 234, .92);
  font-size: 12px; font-weight: 800; font-style: italic; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; transform: skewX(-8deg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, background .3s, color .3s, transform .5s var(--ease), opacity .35s, visibility .35s; }
.userv .userv-btn > * { transform: skewX(8deg); }
.userv .userv-btn i { font-size: 22px; color: var(--acc); transition: transform .45s var(--ease); }
.userv .userv-btn:hover { border-color: rgba(236, 211, 177, .45); background: rgba(14, 13, 12, .82); color: #fff; }
.userv .userv-passer:hover i { transform: skewX(8deg) translateX(3px); }
.userv .userv-lec.is-fin .userv-passer { opacity: 0; visibility: hidden; }

/* ---------- Commandes du bas : plan en cours, précédent / lecture / suivant, aide clavier ---------- */
.userv .userv-bas { position: absolute; z-index: 6; left: var(--gut); right: var(--gut); bottom: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  pointer-events: none; transition: opacity .35s; }
.userv .userv-chap, .userv .userv-aide { margin: 0; display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 11.5px; font-weight: 800; font-style: italic; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(246, 241, 234, .66); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); white-space: nowrap; }
.userv .userv-chap i { font-size: 19px; color: var(--acc); }
.userv .userv-chap b { font-size: 13px; font-weight: 900; letter-spacing: .02em; color: #fff; font-variant-numeric: tabular-nums; }
.userv .userv-aide { justify-self: end; gap: 8px; letter-spacing: .08em; }
.userv .userv-aide kbd { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 7px; border: 1px solid rgba(236, 211, 177, .3); border-bottom-width: 2px; border-radius: 4px;
  background: rgba(13, 12, 11, .55); font: 800 11px/1 'Poppins', sans-serif; font-style: normal; letter-spacing: .02em; color: #fff; }
.userv .userv-aide span + kbd { margin-left: 8px; }
.userv .userv-tr { display: flex; align-items: center; gap: 12px; pointer-events: auto; }
.userv .userv-ico { width: 48px; height: 48px; padding: 0; }
.userv .userv-ico i { font-size: 30px; color: #fff; }
.userv .userv-ico:disabled { opacity: .35; cursor: default; }
.userv .userv-ico:disabled:hover { border-color: var(--verre-bord); background: var(--verre); }
.userv .userv-play { min-width: 64px; height: 52px; padding: 0 18px; border: 0; background: var(--beige); color: var(--on-acc); box-shadow: 5px 5px 0 rgba(236, 211, 177, .18); }
.userv .userv-play i { font-size: 30px; color: var(--on-acc); }
.userv .userv-play:hover { background: var(--beige); color: var(--on-acc); box-shadow: 8px 8px 0 rgba(236, 211, 177, .3); transform: skewX(-8deg) translate(-2px, -2px); }
.userv .userv-play span { display: none; font-size: 13px; }
.userv .userv-lec.is-fin .userv-play { padding: 0 24px 0 18px; }
.userv .userv-lec.is-fin .userv-play span { display: inline; }
.userv .userv-lec.is-fin .userv-play:hover i { transform: skewX(8deg) rotate(-200deg); }
/* Maintenir appuyé sur l'image : pause et interface effacée (comme des stories) */
.userv .userv-lec.is-maintien .userv-haut, .userv .userv-lec.is-maintien .userv-bas { opacity: 0; }
/* Pause : la caméra et le compte à rebours du numéro s'arrêtent ; les textes finissent d'apparaître (on met en pause pour lire) */
.userv .userv-lec.is-pause .userv-pl-kb, .userv .userv-lec.is-pause .userv-r-num-f, .userv .userv-lec.is-pause .userv-ch-in { animation-play-state: paused !important; }
.userv .userv-lec.is-pause .userv-sg.is-cur i { animation: userv-sg-pause 1.4s ease-in-out infinite; }
@keyframes userv-sg-pause { 50% { opacity: .45; } }

/* ======================================================================
   PLAN 1 — OUVERTURE : rideau, « Pourquoi Ultimate RP ? »
   ====================================================================== */
.userv .userv-ouv .userv-pl-voile { background: radial-gradient(70% 62% at 50% 52%, rgba(9, 8, 7, .62), rgba(9, 8, 7, .86) 82%), linear-gradient(0deg, rgba(9, 8, 7, .9) 0%, rgba(9, 8, 7, 0) 40%); }
.userv .userv-ouv-c { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.userv .userv-ouv-k { margin: 0 0 4px; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.15; color: var(--acc); }
.userv .userv-pl.is-on .userv-ouv-k { animation: userv-monte 1s var(--ease) both 1.15s; }
.userv .userv-ouv-t { --d: 1300ms; max-width: 100%; margin: 0 0 clamp(16px, 2.6vh, 26px); font-size: clamp(46px, min(8.4vw, 13vh), 146px); font-weight: 900; font-style: italic; line-height: 1.02; letter-spacing: -.045em;
  word-spacing: .1em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 10px 50px rgba(0, 0, 0, .5); }
.userv .userv-ouv-t .hl { --hd-delay: 1.75s; }
.userv .userv-ouv-d { --m0: 2.3s; max-width: 660px; margin: 0; font-size: clamp(17px, 1.5vw, 22px); font-weight: 600; font-style: italic; line-height: 1.5; text-wrap: balance; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
/* Rideau : deux panneaux noirs qui s'ouvrent */
.userv .userv-ouv-rideau { position: absolute; left: 0; right: 0; z-index: 2; height: 50.5%; background: #050403; pointer-events: none; transform: scaleY(0); }
.userv .userv-ouv-rideau-h { top: 0; transform-origin: 50% 0; }
.userv .userv-ouv-rideau-b { bottom: 0; transform-origin: 50% 100%; }
.userv .userv-pl.is-on .userv-ouv-rideau { animation: userv-rideau 1.7s cubic-bezier(.76, 0, .24, 1) both .15s; }
@keyframes userv-rideau { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes userv-monte { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ======================================================================
   PLANS 2 À 7 — LES SIX RAISONS : photo, gros numéro, titre, sous-titres
   mises en scène : g (texte à gauche), d (texte à droite), ins (photos épinglées), c (carton-titre centré, comme le Lore « Film »)
   ====================================================================== */
.userv .userv-r .userv-pl-voile { background: linear-gradient(90deg, rgba(8, 7, 6, .9) 0%, rgba(8, 7, 6, .66) 34%, rgba(8, 7, 6, .14) 66%, rgba(8, 7, 6, .32) 100%), linear-gradient(0deg, rgba(8, 7, 6, .92) 0%, rgba(8, 7, 6, 0) 54%); }
.userv .userv-r[data-mise="d"] .userv-pl-voile { background: linear-gradient(270deg, rgba(8, 7, 6, .9) 0%, rgba(8, 7, 6, .66) 34%, rgba(8, 7, 6, .14) 66%, rgba(8, 7, 6, .32) 100%), linear-gradient(0deg, rgba(8, 7, 6, .92) 0%, rgba(8, 7, 6, 0) 54%); }
.userv .userv-r[data-mise="c"] .userv-pl-voile { background: radial-gradient(64% 70% at 50% 56%, rgba(8, 7, 6, .8), rgba(8, 7, 6, .5) 70%, rgba(8, 7, 6, .72)), linear-gradient(0deg, rgba(8, 7, 6, .9) 0%, rgba(8, 7, 6, 0) 45%); }
.userv .userv-r[data-mise="ins"] .userv-pl-voile { background: linear-gradient(90deg, rgba(8, 7, 6, .92) 0%, rgba(8, 7, 6, .7) 36%, rgba(8, 7, 6, .34) 64%, rgba(8, 7, 6, .5) 100%), linear-gradient(0deg, rgba(8, 7, 6, .9) 0%, rgba(8, 7, 6, 0) 54%); }
.userv .userv-r-c { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.userv .userv-r[data-mise="d"] .userv-r-c { align-items: flex-end; }
.userv .userv-r[data-mise="c"] .userv-r-c { align-items: center; justify-content: center; text-align: center; }
.userv .userv-r-bloc { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; max-width: min(62%, 880px); }
.userv .userv-r[data-mise="ins"] .userv-r-bloc { max-width: min(54%, 820px); }
.userv .userv-r[data-mise="c"] .userv-r-bloc { align-items: center; max-width: min(100%, 1100px); }
/* Gros numéro : contour beige qui se remplit pendant le plan (il sert de compte à rebours) */
.userv .userv-r-num { position: absolute; z-index: 1; top: 50%; right: 0; display: flex; align-items: flex-start; font-size: clamp(120px, min(21vw, 33vh), 330px); font-weight: 900; font-style: italic;
  line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; transform: translateY(-50%); pointer-events: none; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .45)); }
.userv .userv-r[data-mise="d"] .userv-r-num { right: auto; left: 0; }
.userv .userv-r-num.is-flux { position: relative; top: auto; right: auto; left: auto; margin: 0 0 .04em -.04em; font-size: clamp(84px, min(11vw, 17vh), 180px); transform: none; }
.userv .userv-r-num-n { position: relative; display: block; padding: 0 .06em; }
.userv .userv-r-num-o { display: block; color: transparent; -webkit-text-stroke: 2px rgba(236, 211, 177, .66); }
.userv .userv-r-num-f { position: absolute; inset: 0; padding: inherit; display: block; background: linear-gradient(180deg, #f6e6cc 15%, #c49c6b 90%); -webkit-background-clip: text; background-clip: text; color: transparent;
  clip-path: inset(0 100% 0 0); }
.userv .userv-r-num small { margin-top: .2em; font-size: .19em; letter-spacing: .02em; color: var(--acc); -webkit-text-stroke: 0; }
.userv .userv-pl.is-on .userv-r-num { animation: userv-num-in 1.3s var(--ease) both .05s; }
.userv .userv-pl.is-on .userv-r-num-f { animation: userv-remplir var(--dur, 8s) linear both; }
@keyframes userv-num-in { from { opacity: 0; translate: 10% 0; } to { opacity: 1; translate: 0 0; } }
@keyframes userv-remplir { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.userv .userv-r[data-mise="d"].is-on .userv-r-num, .userv .userv-r .userv-r-num.is-flux { animation-name: userv-num-in-g; }
@keyframes userv-num-in-g { from { opacity: 0; translate: -10% 0; } to { opacity: 1; translate: 0 0; } }
/* Titre : une ligne par mot, le dernier mot en valeur (traitement « Voile ») */
.userv .userv-r-t { max-width: 100%; margin: 0; font-size: clamp(46px, min(8.2vw, 12.6vh), 150px); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.045em; text-transform: uppercase;
  text-shadow: 0 10px 50px rgba(0, 0, 0, .55); }
.userv .userv-r-t .hl { --hd-delay: .4s; }
/* Sous-titres, avec l'icône de la raison */
.userv .userv-r-p { --m0: .85s; display: flex; align-items: center; gap: 16px; max-width: 640px; margin: clamp(16px, 2.6vh, 28px) 0 0; font-size: clamp(16px, 1.45vw, 22px); font-weight: 600; line-height: 1.5;
  color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .75); text-wrap: pretty; }
.userv .userv-r-p > i { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(236, 211, 177, .55); background: rgba(13, 12, 11, .55);
  color: var(--acc); font-size: 22px; }
.userv .userv-pl.is-on .userv-r-p > i { animation: userv-pop .7s cubic-bezier(.34, 1.56, .64, 1) both .5s; }
@keyframes userv-pop { from { opacity: 0; transform: scale(.4) rotate(-30deg); } to { opacity: 1; transform: none; } }
.userv .userv-r[data-mise="c"] .userv-r-p { flex-direction: column; gap: 14px; max-width: 700px; text-wrap: balance; }
/* Photos épinglées (catalogues de l'ancien site) */
.userv .userv-r-pols { position: absolute; z-index: 1; right: 0; top: 50%; width: min(40%, 540px); aspect-ratio: 1.25; transform: translateY(-50%); pointer-events: none; }
.userv .userv-r-pol { position: absolute; width: 60%; padding: 8px; background: var(--papier); rotate: var(--rot); box-shadow: 0 34px 60px -24px #000, 0 10px 24px -12px rgba(0, 0, 0, .6); }
.userv .userv-r-pol:nth-child(1) { left: 0; top: 0; --rot: -6deg; }
.userv .userv-r-pol:nth-child(2) { right: 0; top: 20%; --rot: 5deg; }
.userv .userv-r-pol:nth-child(3) { left: 16%; bottom: 0; --rot: -2deg; }
.userv .userv-r-pol-in { position: relative; display: block; overflow: hidden; }
.userv .userv-r-pol-in.ht::after { z-index: 1; }
.userv .userv-r-pol .userv-vg { filter: saturate(.92) contrast(1.06); }
.userv .userv-r-pol .userv-tape { top: -12px; left: calc(50% - 40px); width: 80px; height: 24px; rotate: -4deg; }
.userv .userv-r-pol:nth-child(2) .userv-tape { rotate: 6deg; }
.userv .userv-pl.is-on .userv-r-pol { animation: userv-pol-in 1s var(--ease) both; animation-delay: calc(.55s + var(--k, 0) * .28s); }
@keyframes userv-pol-in { from { opacity: 0; transform: translateY(46px) scale(1.1); } to { opacity: 1; transform: none; } }

/* ======================================================================
   PLANS 8 À 11 — LES CHIFFRES EN GROS PLANS
   La photo plein cadre bien visible (plus de cadre ni de fond noir), le chiffre géant d'un côté, son libellé dessous en « Voile »,
   en alternance à gauche (g) et à droite (d). Vie : la caméra avance, le chiffre compte, un reflet le traverse, une lueur respire derrière.
   ====================================================================== */
.userv .userv-ch .userv-pl-ph .userv-zoom { filter: saturate(.86) contrast(1.08) brightness(.92) sepia(.12); }
.userv .userv-ch .userv-pl-voile { background:
  linear-gradient(90deg, rgba(8, 7, 6, .92) 0%, rgba(8, 7, 6, .74) 30%, rgba(8, 7, 6, .3) 58%, rgba(8, 7, 6, .12) 80%, rgba(8, 7, 6, .3) 100%),
  linear-gradient(0deg, rgba(8, 7, 6, .7) 0%, rgba(8, 7, 6, 0) 40%); }
.userv .userv-ch[data-mise="d"] .userv-pl-voile { background:
  linear-gradient(270deg, rgba(8, 7, 6, .92) 0%, rgba(8, 7, 6, .74) 30%, rgba(8, 7, 6, .3) 58%, rgba(8, 7, 6, .12) 80%, rgba(8, 7, 6, .3) 100%),
  linear-gradient(0deg, rgba(8, 7, 6, .7) 0%, rgba(8, 7, 6, 0) 40%); }
.userv .userv-ch-c { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.userv .userv-ch[data-mise="d"] .userv-ch-c { align-items: flex-end; }
.userv .userv-ch-in { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; max-width: min(60%, 860px); transform-origin: 0 60%; }
.userv .userv-ch[data-mise="d"] .userv-ch-in { align-items: flex-end; text-align: right; transform-origin: 100% 60%; }
.userv .userv-pl.is-on .userv-ch-in { animation: userv-pousse var(--dur, 4s) linear both; }
@keyframes userv-pousse { from { transform: scale(1); } to { transform: scale(1.05); } }
/* Lueur chaude derrière le chiffre, qui respire doucement */
.userv .userv-ch-in::before { content: ""; position: absolute; z-index: -1; left: -18%; right: -18%; top: 0; bottom: -10%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(236, 211, 177, .16), rgba(236, 211, 177, .05) 55%, transparent); opacity: 0; }
.userv .userv-pl.is-on .userv-ch-in::before { animation: userv-lueur 3.2s ease-in-out both .3s; }
@keyframes userv-lueur { 0% { opacity: 0; transform: scale(.85); } 40% { opacity: 1; transform: none; } 70% { opacity: .7; } 100% { opacity: 1; transform: scale(1.04); } }
/* « Gros plan 01/04 » : petit mot de la DA, au-dessus du chiffre */
.userv .userv-ch-k { display: inline-flex; align-items: baseline; gap: 12px; margin: 0 0 clamp(0px, .6vh, 8px); color: var(--acc); text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.userv .userv-ch-k .old { font-size: clamp(26px, 2.3vw, 36px); line-height: 1.1; }
.userv .userv-ch-k-n { font-size: 14px; font-weight: 900; font-style: italic; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: #fff; }
.userv .userv-ch-k-n small { font-size: 1em; font-weight: 800; color: rgba(246, 241, 234, .55); }
.userv .userv-pl.is-on .userv-ch-k { animation: userv-glisse .7s var(--ease) both .15s; }
@keyframes userv-glisse { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
.userv .userv-ch[data-mise="d"].is-on .userv-ch-k { animation-name: userv-glisse-d; }
@keyframes userv-glisse-d { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
/* Le chiffre : beige en dégradé ; un reflet le traverse une fois qu'il a fini de compter */
.userv .userv-ch-n { display: block; max-width: 100%; margin: 0 -.04em -.03em; padding: 0 .08em; font-size: clamp(120px, min(20vw, 33vh), 330px); font-weight: 900; font-style: italic; line-height: .92;
  letter-spacing: -.06em; font-variant-numeric: tabular-nums; white-space: nowrap;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 252, 245, .55) 46%, #fffdf8 50%, rgba(255, 252, 245, .55) 54%, transparent 60%) -160% 0 / 230% 100% no-repeat,
    linear-gradient(180deg, #f8ead2 12%, #c49c6b 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .55)); }
/* À droite : l'italique penche vers la droite, le chiffre recule un peu pour finir à l'aplomb du libellé */
.userv .userv-ch[data-mise="d"] .userv-ch-n { margin-right: .02em; margin-left: 0; }
/* Libellé : titre en « Voile » (fine barre beige, voile sombre qui se déroule), lettre par lettre */
.userv .userv-ch-l { --d: 420ms; max-width: 100%; margin: clamp(2px, .6vh, 8px) 0 0; font-size: clamp(30px, min(4vw, 6.6vh), 64px); font-weight: 900; font-style: italic; line-height: 1.1;
  letter-spacing: -.02em; text-transform: uppercase; text-shadow: 0 6px 30px rgba(0, 0, 0, .55); }
.userv .userv-ch-l .hl { --hd-delay: .7s; white-space: nowrap; }
/* Entrée du chiffre (chaque gros plan a son mouvement) puis le reflet */
.userv .userv-pl.is-on[data-v="0"] .userv-ch-n { animation: userv-ch-mise 1s cubic-bezier(.16, 1, .3, 1) both .1s, userv-reflet 1.3s cubic-bezier(.45, 0, .2, 1) both 1.5s; }
.userv .userv-pl.is-on[data-v="1"] .userv-ch-n { animation: userv-ch-cote .9s cubic-bezier(.16, 1, .3, 1) both .1s, userv-reflet 1.3s cubic-bezier(.45, 0, .2, 1) both 1.5s; }
.userv .userv-pl.is-on[data-v="2"] .userv-ch-n { animation: userv-ch-bas .9s cubic-bezier(.16, 1, .3, 1) both .1s, userv-reflet 1.3s cubic-bezier(.45, 0, .2, 1) both 1.5s; }
.userv .userv-pl.is-on[data-v="3"] .userv-ch-n { animation: userv-ch-recul 1s cubic-bezier(.16, 1, .3, 1) both .1s, userv-reflet 1.3s cubic-bezier(.45, 0, .2, 1) both 1.5s; }
@keyframes userv-ch-mise { from { opacity: 0; transform: scale(1.4); filter: blur(16px) drop-shadow(0 10px 40px rgba(0, 0, 0, .55)); } to { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 10px 40px rgba(0, 0, 0, .55)); } }
@keyframes userv-ch-cote { from { opacity: 0; transform: translateX(16%) skewX(-10deg); } to { opacity: 1; transform: none; } }
@keyframes userv-ch-bas { from { opacity: 0; transform: translateY(24%); } to { opacity: 1; transform: none; } }
@keyframes userv-ch-recul { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
/* Reflet : de gauche à droite (hors du chiffre avant et après) */
@keyframes userv-reflet { from { background-position: 118% 0, 0 0; } to { background-position: -16% 0, 0 0; } }

/* ======================================================================
   PLAN 12 — L'AFFICHE DE FIN : affiche scotchée, les 2 boutons de l'appel
   ====================================================================== */
.userv .userv-fin .userv-pl-ph .userv-zoom { filter: blur(16px) saturate(.85) brightness(.5); }
.userv .userv-fin .userv-pl-voile { background: radial-gradient(80% 70% at 50% 40%, rgba(9, 8, 7, .3), rgba(9, 8, 7, .85)); }
.userv .userv-fin-faisceau { position: absolute; z-index: -1; left: 50%; top: 0; width: 170vw; height: 100%; transform: translateX(-50%); pointer-events: none;
  background: conic-gradient(from 180deg at 50% -4%, transparent 160deg, rgba(236, 211, 177, .07) 169deg, rgba(236, 211, 177, .15) 180deg, rgba(236, 211, 177, .07) 191deg, transparent 200deg); }
.userv .userv-pl.is-on .userv-fin-faisceau { animation: userv-faisceau 3.4s ease-in-out infinite; }
@keyframes userv-faisceau { 0%, 100% { opacity: 1; } 45% { opacity: .62; } 52% { opacity: .9; } 58% { opacity: .7; } }
.userv .userv-fin-c { display: flex; align-items: center; justify-content: center; padding: 18px 0 4px; }
.userv .userv-aff { position: relative; display: flex; width: min(100%, 1200px); height: min(100%, 660px); padding: 10px; background: var(--papier); rotate: -.6deg;
  box-shadow: 0 60px 110px -40px #000, 0 20px 40px -20px rgba(0, 0, 0, .7); }
.userv .userv-aff > .userv-tape:first-child { top: -14px; left: 12%; rotate: -5deg; }
.userv .userv-aff > .userv-tape + .userv-tape { top: -12px; right: 14%; rotate: 4deg; }
.userv .userv-aff-in { position: relative; flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .56fr); overflow: hidden; isolation: isolate; background: #0d0c0b; }
.userv .userv-aff-ph { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.userv .userv-aff-ph .userv-zoom { filter: saturate(.92) contrast(1.06); }
.userv .userv-aff-ph::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9, 8, 7, .97) 0%, rgba(9, 8, 7, .9) 40%, rgba(9, 8, 7, .3) 66%, rgba(9, 8, 7, .04) 100%), linear-gradient(0deg, rgba(9, 8, 7, .6), transparent 32%); }
.userv .userv-aff-txt { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; min-height: 0; padding: clamp(24px, 3.2vw, 52px); }
.userv .userv-aff-studio { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-size: 12.5px; font-weight: 900; font-style: italic; letter-spacing: .06em; text-transform: uppercase; }
.userv .userv-aff-studio .couronne { width: 28px; color: var(--couronne); }
.userv .userv-aff-k { margin: clamp(10px, 2vh, 22px) 0 2px; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.15; color: var(--acc); }
.userv .userv-aff-t { max-width: 100%; margin: 0 0 clamp(12px, 2vh, 20px); font-size: clamp(36px, min(4.5vw, 7.4vh), 72px); font-weight: 900; font-style: italic; line-height: 1.04; letter-spacing: -.04em;
  word-spacing: .08em; text-transform: uppercase; text-wrap: balance; }
.userv .userv-aff-t .hl { --hd-delay: .9s; }
.userv .userv-aff-t { --d: 500ms; }
.userv .userv-aff-p { max-width: 500px; margin: 0 0 clamp(18px, 3vh, 30px); font-size: clamp(15.5px, 1.3vw, 19px); line-height: 1.6; color: rgba(246, 241, 234, .88); }
.userv .userv-aff-b { display: flex; flex-wrap: wrap; gap: 16px 18px; }
.userv .userv-aff-bill { width: 100%; margin: clamp(20px, 3.4vh, 34px) 0 0; padding-top: 18px; border-top: 1px solid rgba(236, 211, 177, .18); font-size: 11px; font-weight: 700; letter-spacing: .1em; line-height: 1.85;
  text-transform: uppercase; color: rgba(246, 241, 234, .58); }
.userv .userv-aff-bill b { font-weight: 900; color: var(--acc); }
/* Arrivée de l'affiche : elle tombe, se pose, puis on la scotche */
.userv .userv-pl.is-on .userv-aff { animation: userv-aff-in 1.2s var(--ease) both .2s; }
@keyframes userv-aff-in { from { opacity: 0; translate: 0 60px; scale: .95; rotate: -3deg; } to { opacity: 1; translate: 0 0; scale: 1; rotate: -.6deg; } }
.userv .userv-pl.is-on .userv-aff > .userv-tape { animation: userv-scotch .5s var(--ease) both 1.05s; }
.userv .userv-pl.is-on .userv-aff > .userv-tape + .userv-tape { animation-delay: 1.2s; }
@keyframes userv-scotch { from { opacity: 0; scale: 1.5; } to { opacity: 1; scale: 1; } }
.userv .userv-pl.is-on .userv-aff-txt > :not(.userv-aff-t) { animation: userv-monte .8s var(--ease) both; animation-delay: calc(.75s + var(--k, 0) * 90ms); }

/* ---------- Adaptation écrans ---------- */
/* Écrans moyens : texte un peu plus large, photos épinglées plus petites ; trop étroit, elles s'effacent */
@media (max-width: 1099px) {
  .userv .userv-r-bloc { max-width: 66%; }
  .userv .userv-r[data-mise="ins"] .userv-r-bloc { max-width: 60%; }
  .userv .userv-r-pols { width: 35%; }
}
@media (max-width: 899px) {
  .userv .userv-r-pols { display: none; }
  .userv .userv-r[data-mise="ins"] .userv-r-bloc { max-width: 100%; }
}
/* Aide clavier : seulement à la souris, sur grand écran */
@media not all and (hover: hover) and (pointer: fine) { .userv .userv-aide { visibility: hidden; } }
@media (max-width: 999px) { .userv .userv-aide { visibility: hidden; } }
/* Écrans peu hauts : l'affiche se resserre */
@media (max-height: 860px) {
  .userv .userv-aff-bill { display: none; }
}
@media (max-width: 960px) {
  .userv .userv-aff-in { grid-template-columns: minmax(0, 1fr) minmax(0, .34fr); }
}
@media (max-width: 700px) {
  .userv .btn { height: 52px; padding: 0 22px; }

  /* Téléphone : format vertical, façon stories */
  .userv .userv-lec { --haut: calc(var(--hd) + 74px); --bas: 86px; }
  .userv .userv-pl-ph .userv-zoom { background-position: var(--pm, var(--pos)); transform-origin: var(--pm, var(--pos)); transform: scale(var(--zm, var(--z))); }
  .userv .userv-retour { font-size: 11px; padding: 0 14px 0 10px; }
  .userv .userv-tc { display: none; }
  .userv .userv-btn { height: 40px; padding: 0 14px; }
  .userv .userv-seg { gap: 3px; }
  .userv .userv-sg.is-groupe { margin-left: 6px; }
  .userv .userv-bas { bottom: 16px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .userv .userv-chap { visibility: hidden; }
  .userv .userv-ico { width: 48px; height: 48px; }
  .userv .userv-ombre-h { height: calc(var(--hd) + 130px); }
  .userv .userv-ombre-b { height: 150px; }
  /* Ouverture */
  .userv .userv-ouv .userv-pl-voile { background: linear-gradient(0deg, rgba(9, 8, 7, .94) 0%, rgba(9, 8, 7, .72) 40%, rgba(9, 8, 7, .45) 70%, rgba(9, 8, 7, .6) 100%); }
  .userv .userv-ouv-c { justify-content: flex-end; padding-bottom: 8px; }
  .userv .userv-ouv-k { font-size: 34px; }
  .userv .userv-ouv-t { font-size: clamp(38px, 12.2vw, 60px); }
  .userv .userv-ouv-d { font-size: 16.5px; }
  /* Raisons : tout le texte en bas (numéro, titre, sous-titres), l'image reste dégagée en haut */
  .userv .userv-r .userv-pl-voile, .userv .userv-r[data-mise="d"] .userv-pl-voile, .userv .userv-r[data-mise="ins"] .userv-pl-voile {
    background: linear-gradient(0deg, rgba(8, 7, 6, .96) 0%, rgba(8, 7, 6, .82) 34%, rgba(8, 7, 6, .3) 62%, rgba(8, 7, 6, .42) 100%); }
  .userv .userv-r[data-mise="c"] .userv-pl-voile { background: linear-gradient(0deg, rgba(8, 7, 6, .96) 0%, rgba(8, 7, 6, .8) 36%, rgba(8, 7, 6, .3) 64%, rgba(8, 7, 6, .42) 100%); }
  .userv .userv-r[data-mise="d"] .userv-r-c { align-items: flex-start; }
  .userv .userv-r[data-mise="c"] .userv-r-c { justify-content: flex-end; }
  .userv .userv-r-bloc, .userv .userv-r[data-mise="ins"] .userv-r-bloc { max-width: 100%; }
  .userv .userv-r-num, .userv .userv-r[data-mise="d"] .userv-r-num, .userv .userv-r-num.is-flux { position: relative; top: auto; right: auto; left: auto; margin: 0 0 .04em -.04em; transform: none; font-size: clamp(72px, 22vw, 100px); }
  .userv .userv-r.is-on .userv-r-num, .userv .userv-r[data-mise="d"].is-on .userv-r-num { animation-name: userv-num-in-g; }
  .userv .userv-r-num-o { -webkit-text-stroke-width: 1.5px; }
  .userv .userv-r-t { font-size: clamp(38px, 12.4vw, 56px); }
  .userv .userv-r-p { gap: 12px; font-size: 16px; align-items: flex-start; }
  .userv .userv-r[data-mise="c"] .userv-r-p { align-items: center; gap: 12px; }
  .userv .userv-r-p > i { width: 40px; height: 40px; font-size: 19px; }
  /* Chiffres : la photo en haut, le chiffre et son libellé en bas, toujours à gauche */
  .userv .userv-ch .userv-pl-voile, .userv .userv-ch[data-mise="d"] .userv-pl-voile {
    background: linear-gradient(0deg, rgba(8, 7, 6, .95) 0%, rgba(8, 7, 6, .8) 30%, rgba(8, 7, 6, .2) 60%, rgba(8, 7, 6, .36) 100%); }
  /* (remonté au-dessus du voile sombre des commandes : le libellé reste bien blanc) */
  .userv .userv-ch-c, .userv .userv-ch[data-mise="d"] .userv-ch-c { justify-content: flex-end; align-items: flex-start; padding-bottom: 26px; }
  .userv .userv-ch-in, .userv .userv-ch[data-mise="d"] .userv-ch-in { max-width: 100%; align-items: flex-start; text-align: left; transform-origin: 0 100%; }
  .userv .userv-ch[data-mise="d"].is-on .userv-ch-k { animation-name: userv-glisse; }
  .userv .userv-ch-k .old { font-size: 28px; }
  .userv .userv-ch-k-n { font-size: 13px; }
  .userv .userv-ch-n { font-size: clamp(104px, 34vw, 156px); }
  .userv .userv-ch-l { font-size: clamp(28px, 9vw, 40px); }
  /* Affiche : photo en haut, texte en bas, boutons l'un sous l'autre */
  .userv .userv-fin-c { padding: 14px 0 2px; }
  .userv .userv-aff { height: 100%; padding: 7px; rotate: -.4deg; }
  .userv .userv-aff > .userv-tape:first-child { left: 8%; width: 90px; height: 26px; }
  .userv .userv-aff > .userv-tape + .userv-tape { right: 8%; width: 90px; height: 26px; }
  .userv .userv-aff-in { display: flex; flex-direction: column; justify-content: flex-end; }
  .userv .userv-aff-ph::after { background: linear-gradient(0deg, #0d0c0b 0%, rgba(13, 12, 11, .94) 50%, rgba(13, 12, 11, .25) 78%, rgba(13, 12, 11, .45) 100%); }
  .userv .userv-aff-txt { padding: 0 16px 18px; }
  .userv .userv-aff-k { margin-top: 10px; font-size: 28px; }
  .userv .userv-aff-t { font-size: clamp(32px, 10vw, 44px); }
  .userv .userv-aff-p { font-size: 15px; line-height: 1.55; }
  .userv .userv-aff-b { width: 100%; gap: 12px; }
  .userv .userv-aff-b .btn { width: 100%; }
  .userv .userv-aff-bill { display: none; }
  @keyframes userv-aff-in { from { opacity: 0; translate: 0 50px; scale: .96; rotate: -2deg; } to { opacity: 1; translate: 0 0; scale: 1; rotate: -.4deg; } }
}
/* Téléphones peu hauts (barres du navigateur) : on resserre */
@media (max-width: 700px) and (max-height: 740px) {
  .userv .userv-lec { --haut: calc(var(--hd) + 70px); --bas: 80px; }
  .userv .userv-r-t { font-size: clamp(34px, 11vw, 48px); }
  .userv .userv-r-p { font-size: 15px; }
  .userv .userv-r-num, .userv .userv-r[data-mise="d"] .userv-r-num, .userv .userv-r-num.is-flux { font-size: 64px; }
  .userv .userv-aff-k { display: none; }
  .userv .userv-aff-studio { margin-bottom: 6px; }
  .userv .userv-aff-t { font-size: clamp(30px, 9vw, 38px); }
  .userv .userv-aff-p { font-size: 14.5px; margin-bottom: 14px; }
  .userv .userv-aff-b .btn { height: 48px; }
}

/* ===== ultimate-actus.css ===== */
/* Composant « Actualités » (#/actualites) — ultimate-actus.js.
   Depuis le 12/11/2026 (demande du propriétaire) : seulement les patch notes, en affiches (leur image). Le plus récent en grand,
   les anciens dessous deux par ligne ; un clic ouvre l'affiche en grand. Anciennes actualités (« Une + fil ») retirées.
   Règle : tout est sous .uactu, chaque classe créée par le composant commence par « uactu- » (attributs : data-uactu-…).
   Classes du site réutilisées telles quelles : .wrap, .kicker, .old, .hl (ajustées ici sous .uactu).
   Le site garde son en-tête, son pied de page et son fond. Aucune règle de mouvement réduit (choix du propriétaire). */
.uactu {
  --papier: #efe6d8; --encre: #16130f; --brun: #7a5a33;
  --creme: linear-gradient(135deg, #f6eee2 0%, #ede1cd 60%, #e5d6bd 100%);
  --fiche: linear-gradient(170deg, #f7efe2, #ebdfc9);
  --or: linear-gradient(90deg, #b48a52, #e7c48f 50%, #b48a52);
  /* Grain du papier (bruit SVG, aucune image à charger) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g' x='0' y='0' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .17 .62 0 0 0 -.25'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
}
.uactu a, .uactu button { -webkit-tap-highlight-color: transparent; }
/* Trame des photos : au-dessus de l'image et du dégradé du bas (comme la maquette) */
.uactu .ht::after { z-index: 1; opacity: .2; }

/* ======================================================================
   HAUT DE PAGE : retour, mot « San Andreas », titre, phrase
   ====================================================================== */
.uactu .uactu-tete { position: relative; padding: calc(var(--hd) + clamp(14px, 2.4vh, 30px)) 0 18px; text-align: center; }
.uactu .uactu-retour { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 0 0 clamp(4px, 1vh, 12px); font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .02em;
  text-transform: uppercase; color: var(--acc); transition: gap .45s var(--ease), color .3s; }
.uactu .uactu-retour i { font-size: 19px; }
.uactu .uactu-retour:hover { gap: 13px; color: #fff; }
.uactu .uactu-tete .kicker { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 8px; color: var(--acc); }
.uactu .uactu-tete .kicker .old { font-size: 30px; line-height: 1; }
.uactu .uactu-titre { margin: 0; font-weight: 900; font-style: italic; font-size: clamp(42px, 5.4vw, 88px); line-height: 1.04; letter-spacing: -.035em; word-spacing: .12em; text-transform: uppercase; }
.uactu .uactu-titre .hl { --hd-delay: .55s; white-space: nowrap; }
.uactu .uactu-tete-desc { max-width: 560px; margin: 14px auto 0; font-size: 16px; line-height: 1.7; color: rgba(246, 241, 234, .78); }

/* ---------- Onglets « Patch notes » / « Informations » : BARRE COMMUNE du site (.fx-barre de commun.css, ton beige posé par
   ultimate-actus.js, mécanique Ultimate.filtres de commun.js), segments seuls. Seulement sa place dans la page : en tête de la
   section, collée sous l'en-tête pendant la lecture, centrée comme le haut de page. */
.uactu .fx-barre { z-index: 10; justify-content: center; margin-bottom: clamp(26px, calc(3.4vw - 8px), 44px); }
/* Segments centrés s'ils tiennent (barre compacte sans loupe : bande sur toute la ligne et hauteur de 64 px, réglées dans
   commun.css pour toutes les barres sans recherche) */
.uactu .fx-barre .fx-segs { margin-inline: auto; }
.uactu .uactu-seg-ico { display: inline-grid; place-items: center; font-size: 16px; line-height: 1; }

/* ---------- Pièces communes : scotch, filet, bouton sombre, photo recadrée, étiquette ---------- */
.uactu .uactu-filet { display: block; flex: none; width: 64px; height: 2px; margin: 16px 0; background: var(--or); }
.uactu .uactu-bouton-encre { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; background: var(--encre); color: var(--acc);
  font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; transform: skewX(-8deg);
  box-shadow: 4px 4px 0 rgba(13, 12, 11, .16); transition: gap .4s var(--ease), transform .5s var(--ease), box-shadow .4s; }
.uactu .uactu-bouton-encre > * { transform: skewX(8deg); }
.uactu .uactu-bouton-encre i { font-size: 19px; }
.uactu .uactu-bouton-encre:hover { gap: 13px; transform: skewX(-8deg) translate(-2px, -2px); box-shadow: 7px 7px 0 rgba(13, 12, 11, .24); }
/* Photo des textes : image recadrée (--img / --pos / --size), zoom lent au survol */
.uactu .uactu-im { position: absolute; inset: 0; z-index: 0; background: var(--img) var(--pos) / var(--size) no-repeat; transition: transform 1.3s var(--ease); }
.uactu .uactu-etq { position: absolute; z-index: 2; left: 14px; bottom: 14px; }
.uactu .uactu-etq .hl-etq { font-size: 12px; }

/* ======================================================================
   INFORMATIONS (onglet « Informations ») : la plus récente en affiche large, puis le fil des autres (tickets : la date à gauche)
   ====================================================================== */
.uactu .uactu-une-slot { position: relative; }
.uactu .uactu-une { position: relative; z-index: 2; }
.uactu .uactu-une .uactu-tape { width: 124px; }
/* L'affiche à la une : la date en très grand, le titre et le texte à gauche ; la photo à droite */
.uactu .uactu-une-in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 14px; border-radius: 3px; color: var(--encre); background: var(--grain), var(--creme);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 60px 80px -34px rgba(0, 0, 0, .95), 0 14px 24px -10px rgba(0, 0, 0, .6); }
.uactu .uactu-une-in::before { content: ""; position: absolute; z-index: 3; inset: 6px; border: 1px solid rgba(122, 90, 51, .38); pointer-events: none; }
.uactu .uactu-une-ph { position: relative; min-height: clamp(400px, 34vw, 520px); overflow: hidden; background: #2a2622; isolation: isolate; }
.uactu .uactu-une-ph::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(13, 12, 11, .5)); }
.uactu .uactu-une:hover .uactu-une-ph .uactu-im { transform: scale(1.03); }
.uactu .uactu-une-ph .uactu-etq { left: 18px; bottom: 18px; }
.uactu .uactu-une-ph .uactu-etq .hl-etq { font-size: 13px; }
.uactu .uactu-une-bas { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(26px, 3vw, 52px) clamp(20px, 3vw, 52px) clamp(24px, 2.6vw, 44px) clamp(14px, 2.4vw, 40px); }
.uactu .uactu-une-date { display: flex; align-items: flex-end; gap: 14px; margin: 0 0 clamp(18px, 2vw, 28px); }
.uactu .uactu-une-date b { font-size: clamp(76px, 7.2vw, 118px); font-weight: 900; font-style: italic; line-height: .8; letter-spacing: -.06em; padding-right: .06em; }
.uactu .uactu-une-date > span { padding-bottom: 6px; border-bottom: 2px solid var(--encre); font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .1em; text-transform: uppercase; color: var(--brun); white-space: nowrap; }
.uactu .uactu-tag { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 11.5px; font-weight: 800; font-style: italic; letter-spacing: .08em; text-transform: uppercase; color: var(--brun); }
.uactu .uactu-tag i { font-size: 16px; }
.uactu .uactu-une-t { margin: 10px 0 0; font-size: clamp(30px, 2.9vw, 48px); font-weight: 900; font-style: italic; line-height: 1.05; letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.uactu .uactu-une-bas .uactu-filet { margin: 18px 0; }
.uactu .uactu-une-x { margin: 0; font-size: 16.5px; line-height: 1.75; color: rgba(22, 19, 15, .84); }
.uactu .uactu-une-bas .uactu-bouton-encre { margin-top: 26px; }
.uactu .uactu-liste { position: relative; display: flex; flex-direction: column; gap: 18px; }
/* Une ligne du fil : un ticket crème, souche sombre avec la date, trait perforé, photo, texte */
.uactu .uactu-ligne { position: relative; z-index: 1; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55)) drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
.uactu .uactu-ligne-in { --cut: 118px; position: relative; display: grid; grid-template-columns: var(--cut) minmax(0, 220px) minmax(0, 1fr); min-height: 152px; border-radius: 3px; color: var(--encre);
  background: var(--grain), var(--fiche); transition: transform .6s var(--ease);
  -webkit-mask: radial-gradient(circle at var(--cut) 0, transparent 9px, #000 9.5px) top / 100% 50.5% no-repeat, radial-gradient(circle at var(--cut) 100%, transparent 9px, #000 9.5px) bottom / 100% 50.5% no-repeat;
  mask: radial-gradient(circle at var(--cut) 0, transparent 9px, #000 9.5px) top / 100% 50.5% no-repeat, radial-gradient(circle at var(--cut) 100%, transparent 9px, #000 9.5px) bottom / 100% 50.5% no-repeat; }
.uactu .uactu-ligne-in::after { content: ""; position: absolute; left: calc(var(--cut) - 1px); top: 14px; bottom: 14px; border-left: 2px dashed rgba(236, 211, 177, .3); pointer-events: none; }
.uactu .uactu-date { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 14px 8px; text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, rgba(236, 211, 177, .1), transparent 70%), linear-gradient(170deg, #241b13, #110d09); }
.uactu .uactu-date b { font-size: 50px; font-weight: 900; font-style: italic; line-height: .82; letter-spacing: -.06em; padding-right: .06em; color: var(--acc); }
.uactu .uactu-date span { font-size: 10.5px; font-weight: 800; font-style: italic; letter-spacing: .08em; text-transform: uppercase; color: rgba(236, 211, 177, .66); }
.uactu .uactu-ph { position: relative; margin: 12px 0 12px 16px; overflow: hidden; border-radius: 2px; background: #2a2622; isolation: isolate; }
.uactu .uactu-txt { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: 20px clamp(18px, 2.2vw, 34px); }
.uactu .uactu-lt { margin: 8px 0 0; font-size: clamp(19px, 1.6vw, 24px); font-weight: 900; font-style: italic; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; }
.uactu .uactu-lx { max-width: 780px; margin: 7px 0 0; font-size: 14.5px; line-height: 1.65; color: rgba(22, 19, 15, .78); }
.uactu .uactu-txt .uactu-bouton-encre { height: 42px; margin-top: 14px; padding: 0 16px; font-size: 12px; }
@media (hover: hover) {
  .uactu .uactu-ligne:hover .uactu-ligne-in { transform: translateX(8px); }
  .uactu .uactu-ligne:hover .uactu-im { transform: scale(1.07); }
}
/* « Afficher plus » (au-delà de 6 lignes) */
.uactu .uactu-plus-zone { display: flex; justify-content: center; margin-top: 36px; }
.uactu .uactu-plus { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border: 1px solid rgba(236, 211, 177, .3); background: var(--verre); color: var(--acc);
  font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; transform: skewX(-8deg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, color .3s, border-color .3s, transform .5s var(--ease); }
.uactu .uactu-plus > * { transform: skewX(8deg); }
.uactu .uactu-plus i { font-size: 20px; transition: transform .5s var(--ease); }
.uactu .uactu-plus b { min-width: 24px; padding: 3px 6px 2px; border-radius: 2px; background: rgba(236, 211, 177, .14); font-size: 11px; text-align: center; }
.uactu .uactu-plus:hover { background: var(--beige); color: var(--on-acc); border-color: transparent; transform: skewX(-8deg) translateY(-2px); }
.uactu .uactu-plus:hover b { background: var(--on-acc); color: var(--acc); }
.uactu .uactu-plus:hover i { transform: skewX(8deg) translateY(3px); }


/* ======================================================================
   PATCH NOTES (demande du 12/11/2026 : « simplement les affiches ») : le plus récent en grande affiche (cadre crème scotché,
   image entière), la version et la date dessous avec « Agrandir » ; les anciens dessous, deux par ligne. Clic = l'image en grand.
   ====================================================================== */
.uactu .uactu-sec { padding: 0 0 clamp(110px, 10vw, 160px); }
.uactu .uactu-tape { position: absolute; z-index: 4; width: 124px; height: 30px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .16), transparent 30%, transparent 70%, rgba(255, 255, 255, .12)), rgba(236, 211, 177, .76);
  box-shadow: 0 3px 8px -4px rgba(0, 0, 0, .45);
  -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent calc(100% - 2px)); mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent calc(100% - 2px)); }
.uactu .uactu-t1 { top: -11px; left: -28px; transform: rotate(-30deg); }
.uactu .uactu-t2 { top: -11px; right: -28px; transform: rotate(30deg); }
.uactu .uactu-pn { position: relative; min-width: 0; }
.uactu .uactu-pn.is-une { max-width: 1240px; margin-inline: auto; }
.uactu .uactu-pn-a { display: block; color: inherit; }
.uactu .uactu-pn-af { position: relative; display: block; padding: 12px; border-radius: 3px; background: var(--grain), var(--creme); rotate: -.5deg;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 60px 80px -34px rgba(0, 0, 0, .95), 0 14px 24px -10px rgba(0, 0, 0, .6);
  transition: rotate .6s var(--ease), transform .6s var(--ease); }
.uactu .uactu-pn-af img { display: block; width: 100%; height: auto; border-radius: 2px; background: #141210; }
.uactu .uactu-pn-a:hover .uactu-pn-af, .uactu .uactu-pn-a:focus-visible .uactu-pn-af { rotate: 0deg; transform: translateY(-4px); }
/* Sous l'affiche : « Patch note 1.0.1 », la date, « Agrandir » à droite */
.uactu .uactu-pn-l { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 0 4px; }
.uactu .uactu-pn-t { font-size: 15px; font-weight: 800; font-style: italic; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.uactu .uactu-pn-t b { font-weight: 900; color: var(--acc); }
.uactu .uactu-pn.is-une .uactu-pn-t { font-size: 17px; }
.uactu .uactu-pn-d { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.uactu .uactu-pn-z { display: inline-flex; align-items: center; gap: 7px; height: 36px; margin-left: auto; padding: 0 14px; border: 1px solid var(--line-2); background: var(--verre); color: var(--acc);
  font-size: 11.5px; font-weight: 800; font-style: italic; text-transform: uppercase; white-space: nowrap; transform: skewX(-8deg); transition: background .3s, color .3s, border-color .3s; }
.uactu .uactu-pn-z > * { transform: skewX(8deg); }
.uactu .uactu-pn-z i { font-size: 16px; }
.uactu .uactu-pn-a:hover .uactu-pn-z, .uactu .uactu-pn-a:focus-visible .uactu-pn-z { border-color: transparent; background: var(--beige); color: var(--on-acc); }
/* Partie vide (« Aucune information pour l'instant ») : verre sombre, comme les autres pages du site */
.uactu .uactu-vide { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 46px 20px 42px; text-align: center; border: 1.5px dashed rgba(236, 211, 177, .28);
  border-radius: 3px; background: rgba(13, 12, 11, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.uactu .uactu-vide-ico { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 4px; border: 1.5px solid var(--line-2); border-radius: 50%; background: rgba(236, 211, 177, .06); font-size: 34px; color: var(--acc); }
.uactu .uactu-vide-t { margin: 0; font-size: clamp(22px, 2.3vw, 30px); font-weight: 900; font-style: italic; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; }
.uactu .uactu-vide-d { margin: 0; max-width: 420px; font-size: 14px; line-height: 1.55; color: var(--muted); }
/* Anciens patch notes : titre de partie, puis deux par ligne */
.uactu .uactu-fil { position: relative; margin-top: clamp(64px, 6.4vw, 96px); }
.uactu .uactu-fil-h { display: flex; align-items: center; gap: 14px; margin: 0 0 30px; }
.uactu .uactu-fil-t { margin: 0; font-size: clamp(26px, 2.4vw, 34px); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.uactu .uactu-fil-n { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; font-style: italic; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.uactu .uactu-fil-n b { min-width: 26px; padding: 4px 7px 3px; border-radius: 2px; background: rgba(236, 211, 177, .14); color: var(--acc); font-size: 11px; text-align: center; font-variant-numeric: tabular-nums; }
.uactu .uactu-fil-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(236, 211, 177, .32), transparent); }
.uactu .uactu-pn-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 4vw, 60px) clamp(26px, 3vw, 46px); }
.uactu .uactu-pn-grille .uactu-pn-af { padding: 8px; }
.uactu .uactu-pn-grille .uactu-pn:nth-child(even) .uactu-pn-af { rotate: .6deg; }
.uactu .uactu-pn-grille .uactu-tape { width: 92px; height: 26px; }
.uactu .uactu-pn-grille .uactu-t1 { left: -20px; } .uactu .uactu-pn-grille .uactu-t2 { right: -20px; }

/* ---------- Adaptation écrans ---------- */
@media (max-width: 880px) {
  .uactu .uactu-une-in { grid-template-columns: minmax(0, 1fr); }
  .uactu .uactu-une-ph { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .uactu .uactu-une-bas { padding: 26px 12px 12px; }
  .uactu .uactu-ligne-in { --cut: 100px; grid-template-columns: var(--cut) minmax(0, 170px) minmax(0, 1fr); }
  .uactu .uactu-date b { font-size: 42px; }
  .uactu .uactu-pn-grille { grid-template-columns: minmax(0, 1fr); }
}
/* Téléphone */
@media (max-width: 700px) {
  .uactu .fx-barre { margin-bottom: 29px; }
  .uactu .uactu-etq { left: 10px; bottom: 10px; }
  .uactu .uactu-une .uactu-tape { width: 84px; height: 26px; }
  .uactu .uactu-une-in { padding: 10px; }
  .uactu .uactu-une-ph { aspect-ratio: 16 / 10.5; }
  .uactu .uactu-une-bas { padding: 20px 6px 8px; }
  .uactu .uactu-une-date b { font-size: 72px; }
  .uactu .uactu-une-t { font-size: clamp(26px, 7.6vw, 34px); }
  .uactu .uactu-une-x { font-size: 15.5px; }
  .uactu .uactu-une-bas .uactu-bouton-encre { align-self: stretch; justify-content: center; margin-inline: 4px; }
  .uactu .uactu-fil-h { gap: 12px; }
  .uactu .uactu-ligne-in { --cut: 78px; grid-template-columns: var(--cut) minmax(0, 1fr); min-height: 0; }
  .uactu .uactu-ph { display: none; }
  .uactu .uactu-date b { font-size: 34px; }
  .uactu .uactu-date span { font-size: 9px; letter-spacing: .04em; }
  .uactu .uactu-txt { padding: 16px 16px 18px; }
  .uactu .uactu-lt { font-size: 17px; }
  .uactu .uactu-lx { font-size: 14px; }
  .uactu .uactu-tete .kicker .old { font-size: 26px; }
  .uactu .uactu-titre { font-size: clamp(36px, 10.6vw, 56px); }
  .uactu .uactu-tete-desc { font-size: 15.5px; }
  .uactu .uactu-tete { padding-bottom: 17px; }
  .uactu .uactu-tape, .uactu .uactu-pn-grille .uactu-tape { width: 84px; height: 24px; }
  .uactu .uactu-t1, .uactu .uactu-pn-grille .uactu-t1 { top: -8px; left: -12px; }
  .uactu .uactu-t2, .uactu .uactu-pn-grille .uactu-t2 { top: -8px; right: -12px; }
  .uactu .uactu-pn-af, .uactu .uactu-pn-grille .uactu-pn-af { padding: 6px; rotate: 0deg; }
  .uactu .uactu-pn-l { flex-wrap: wrap; gap: 4px 12px; margin-top: 14px; }
  .uactu .uactu-pn-z { height: 34px; }
}

/* ===== ultimate-lore.css ===== */
/* Composant « Lore du Serveur » (#/lore) — ultimate-lore.js. Rendu de maquettes-ultimate/v2/lore.html, proposition « Film »
   (dix scènes plein écran, bandeau du chapitre en cours, menu « Scènes »), règle pour règle.
   Tout est sous la classe racine .ulore (la page et le calque fixe .ulore.ulore-calque) ; chaque classe créée par le composant
   commence par « ulore- » (@keyframes et identifiants aussi). Le site garde son en-tête, son pied de page et son fond.
   Classes du site reprises telles quelles : .wrap, .ht, .couronne, .old, .btn (.btn-beige, .btn-out), .hl, .hl-etq (dégradé « Voile »).
   Aucune règle prefers-reduced-motion : les animations restent actives (demande du propriétaire). */

/* ---------- Variables de la maquette (sous la classe racine) ---------- */
.ulore {
  --papier: #efe6d8; --encre: #16130f; --encre-2: #3a3129; --brun: #7a5a33; --rouge: #a3291d;
  --font-sym: 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'Poppins', sans-serif;
  --g: var(--gut, 16px);
  position: relative;
}
.ulore .ulore-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Photo recadrée : fond « cover », zoom autour du point d'intérêt (--pos), marche quel que soit le format du cadre */
.ulore .ulore-zoom { position: absolute; inset: 0; display: block; background: var(--img) var(--pos, 50% 50%) / cover no-repeat; transform: scale(var(--z, 1)); transform-origin: var(--pos, 50% 50%); }

/* Retour vers l'univers Ultimate */
.ulore .ulore-retour { position: absolute; z-index: 6; top: calc(var(--hd) + 16px); left: calc((100% - min(100% - 2 * var(--g), var(--max))) / 2);
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 1px solid var(--verre-bord); background: var(--verre); color: rgba(246, 241, 234, .86);
  font-size: 12px; font-weight: 800; font-style: italic; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transform: skewX(-8deg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, color .3s, background .3s; }
.ulore .ulore-retour > * { transform: skewX(8deg); }
.ulore .ulore-retour i { font-size: 19px; color: var(--acc); transition: transform .5s var(--ease); }
.ulore .ulore-retour:hover { border-color: rgba(236, 211, 177, .42); color: #fff; background: rgba(14, 13, 12, .8); }
.ulore .ulore-retour:hover i { transform: skewX(8deg) translateX(-4px); }

/* ======================================================================
   « FILM » : dix scènes plein écran
   ====================================================================== */
.ulore .ulore-cam { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.ulore .ulore-cam .ulore-zoom { filter: saturate(.86) contrast(1.06); }
.ulore .ulore-trame { position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: multiply; background-image: radial-gradient(rgba(0, 0, 0, .75) 1px, transparent 1.5px); background-size: 4px 4px; }
/* Ouverture : l'affiche du film */
.ulore .ulore-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate;
  padding: calc(var(--hd) + 90px) 0 clamp(64px, 11vh, 120px); }
.ulore .ulore-hero > .ulore-cam { z-index: -3; }
.ulore .ulore-hero-voile { position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(9, 8, 7, .92) 0%, rgba(9, 8, 7, .66) 34%, rgba(9, 8, 7, .08) 72%), linear-gradient(0deg, rgba(9, 8, 7, .96) 0%, rgba(9, 8, 7, 0) 46%), linear-gradient(180deg, rgba(9, 8, 7, .75), rgba(9, 8, 7, 0) 26%); }
.ulore .ulore-hero > .ulore-trame { z-index: -1; }
.ulore .ulore-bandes { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(#050504, #050504) top / 100% 0 no-repeat, linear-gradient(#050504, #050504) bottom / 100% clamp(18px, 4.6vh, 44px) no-repeat; }
.ulore .ulore-hero-in { position: relative; }
.ulore .ulore-titre { margin: 0 0 22px; font-size: clamp(54px, 8.8vw, 150px); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.045em; word-spacing: .1em; text-transform: uppercase; text-shadow: 0 10px 50px rgba(0, 0, 0, .45); }
.ulore .ulore-acc { max-width: 720px; margin: 0 0 22px; font-size: clamp(19px, 1.8vw, 26px); font-weight: 600; font-style: italic; line-height: 1.45; }
.ulore .ulore-gen { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.ulore .ulore-gen::before { content: ""; flex: none; width: 40px; height: 2px; background: var(--acc); }
.ulore .ulore-hero-pied { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 26px; }
.ulore .ulore-nb { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .1em; text-transform: uppercase; color: rgba(246, 241, 234, .7); }
.ulore .ulore-nb b { font-size: 34px; font-weight: 900; letter-spacing: -.03em; color: var(--acc); }
.ulore .ulore-defil { display: inline-flex; align-items: center; gap: 12px; height: 44px; font-size: 12px; font-weight: 800; font-style: italic; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.ulore .ulore-defil-l { position: relative; width: 2px; height: 44px; overflow: hidden; background: rgba(255, 255, 255, .16); }
.ulore .ulore-defil-l::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: var(--acc); animation: ulore-goutte 1.8s cubic-bezier(.7, 0, .3, 1) infinite; }
@keyframes ulore-goutte { from { transform: translateY(-110%); } to { transform: translateY(260%); } }

/* Une scène : fond photo collé pendant tout le chapitre, carton-titre plein écran, puis le contenu par-dessus */
.ulore .ulore-sc { position: relative; }
.ulore .ulore-sc-bg { position: sticky; top: 0; z-index: 0; height: 100vh; margin-bottom: -100vh; overflow: hidden; }
.ulore .ulore-sc-voile { position: absolute; inset: 0; background: #090807; opacity: .4; }
/* La chronologie se joue en « flash-back » : image sépia */
.ulore .ulore-sc.is-flash .ulore-cam .ulore-zoom { filter: grayscale(1) sepia(.45) contrast(1.1) brightness(.92); }
.ulore .ulore-sc-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #0a0908 0%, rgba(10, 9, 8, .55) 12%, rgba(10, 9, 8, 0) 32%, rgba(10, 9, 8, 0) 66%, rgba(10, 9, 8, .8) 100%), radial-gradient(120% 90% at 50% 50%, transparent 46%, rgba(0, 0, 0, .6)); }
/* Fondu au noir en fin de chapitre : la photo collée s'assombrit avant la coupe, plus de ligne de raccord entre deux scènes
   (sous le texte et les cartes, qui restent au-dessus) */
.ulore .ulore-sc::after { content: ""; position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 46vh; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0), rgba(10, 9, 8, .62) 52%, #0a0908); }
.ulore .ulore-sc-t::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1200px, 120vw); height: 80vh; transform: translate(-50%, -46%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(9, 8, 7, .8), rgba(9, 8, 7, .5) 55%, transparent); }
.ulore .ulore-sc-t { position: relative; z-index: 1; isolation: isolate; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--hd) + 60px) var(--g) 70px; }
.ulore .ulore-sc-k { display: inline-flex; align-items: center; gap: 14px; margin: 0; font-size: 13px; font-weight: 800; font-style: italic; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.ulore .ulore-sc-k::before, .ulore .ulore-sc-k::after { content: ""; width: 38px; height: 1.5px; background: currentColor; opacity: .7; }
/* Grand chiffre romain : Poppins (lisible), contour puis remplissage beige au défilement */
.ulore .ulore-num { position: relative; display: block; margin: 0 0 -.16em; padding: 0 .1em; font-size: clamp(150px, 27vw, 400px); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.045em; user-select: none; }
.ulore .ulore-num-o { display: block; color: transparent; -webkit-text-stroke: 2px rgba(236, 211, 177, .6); }
.ulore .ulore-num-f { position: absolute; inset: 0; padding: inherit; display: block; background: linear-gradient(180deg, #f6e6cc 15%, #c49c6b 90%); -webkit-background-clip: text; background-clip: text; color: transparent; clip-path: inset(0 100% 0 0); }
.ulore .ulore-sc-titre { position: relative; margin: 0; max-width: 15ch; font-size: clamp(34px, 5vw, 80px); font-weight: 900; font-style: italic; line-height: 1.02; letter-spacing: -.035em; word-spacing: .08em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 6px 40px rgba(0, 0, 0, .7); }
.ulore .ulore-sc-c { position: relative; z-index: 1; display: flex; flex-direction: column; gap: clamp(80px, 10vw, 140px); padding-bottom: clamp(140px, 22vh, 230px); }

/* Texte : sous-titres de film qui s'allument mot à mot */
.ulore .ulore-p { align-self: flex-start; max-width: 980px; margin: 0; font-size: clamp(22px, 2.3vw, 36px); font-weight: 600; line-height: 1.42; letter-spacing: -.012em; color: #fff; text-wrap: pretty; text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.ulore .ulore-p strong { font-weight: 800; color: var(--acc); }
.ulore .ulore-p.is-court { align-self: center; max-width: 1180px; text-align: center; font-size: clamp(36px, 5.4vw, 88px); font-weight: 900; font-style: italic; line-height: 1.02; letter-spacing: -.035em; text-transform: uppercase; text-wrap: balance; }

/* Factions : quatre affiches de film */
.ulore .ulore-fac { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px); width: 100%; padding-top: 16px; }
.ulore .ulore-af { --rot: 0deg; position: relative; padding: 9px; background: var(--papier); rotate: var(--rot); box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .95);
  transition: rotate .8s var(--ease), transform .8s var(--ease), box-shadow .6s; }
.ulore .ulore-af:hover { rotate: 0deg; transform: translateY(-12px); box-shadow: 0 54px 90px -30px #000; z-index: 2; }
.ulore .ulore-af-in { position: relative; display: block; aspect-ratio: 3 / 4.3; overflow: hidden; isolation: isolate; background: #0d0c0b; container-type: inline-size; }
.ulore .ulore-af-in .ulore-zoom { z-index: -2; filter: grayscale(.4) contrast(1.06); transition: filter .7s, scale 1.4s var(--ease); }
.ulore .ulore-af:hover .ulore-af-in .ulore-zoom { filter: none; scale: 1.06; }
.ulore .ulore-af-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 9, 8, .6) 0%, rgba(10, 9, 8, 0) 20%, rgba(10, 9, 8, .18) 38%, rgba(10, 9, 8, .86) 62%, rgba(10, 9, 8, .97) 100%); }
.ulore .ulore-af-haut { position: absolute; left: 14px; right: 12px; top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ulore .ulore-af-studio { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 900; font-style: italic; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.ulore .ulore-af-studio .couronne { width: 20px; color: var(--couronne); }
.ulore .ulore-af-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--on-acc); color: var(--acc); font-size: 20px; box-shadow: 0 0 0 2px rgba(236, 211, 177, .3); }
.ulore .ulore-af-bas { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(14px, 7cqi, 22px) clamp(16px, 7cqi, 24px); }
.ulore .ulore-af-n { display: block; margin-bottom: 10px; font-size: clamp(19px, 9.4cqi, 31px); font-weight: 900; font-style: italic; line-height: .98; letter-spacing: -.03em; text-transform: uppercase; color: #fff; }
.ulore .ulore-af-d { display: block; font-size: 13.5px; line-height: 1.55; color: rgba(246, 241, 234, .8); }
.ulore .ulore-tape { position: absolute; z-index: 3; width: 110px; height: 30px; background: rgba(236, 211, 177, .75); }
.ulore .ulore-af .ulore-tape { top: -13px; left: 34%; width: 92px; height: 26px; rotate: -4deg; }

/* Grille : une pellicule de film */
.ulore .ulore-film { --n: 4; position: relative; align-self: center; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 1180px; margin: 0; padding: 36px 16px; list-style: none;
  background: #080706; rotate: -1.4deg; box-shadow: 0 30px 60px -30px #000, inset 0 0 0 1px rgba(255, 255, 255, .04); }
.ulore .ulore-film.is-n6 { --n: 6; }
.ulore .ulore-film::before, .ulore .ulore-film::after { content: ""; position: absolute; left: 12px; right: 12px; height: 10px; border-radius: 2px; background: repeating-linear-gradient(90deg, #2c2722 0 14px, transparent 14px 26px); }
.ulore .ulore-film::before { top: 13px; }
.ulore .ulore-film::after { bottom: 13px; }
.ulore .ulore-film li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 160px; padding: 20px 12px; border-radius: 3px; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(236, 211, 177, .11), transparent 62%), #15120f; font-size: 14.5px; font-weight: 800; font-style: italic; line-height: 1.3; text-transform: uppercase;
  transition: background .4s, transform .6s var(--ease); }
.ulore .ulore-film li:hover { transform: translateY(-5px); background: radial-gradient(120% 90% at 50% 0%, rgba(236, 211, 177, .2), transparent 62%), #1a1612; }
.ulore .ulore-film li i { font-size: 34px; color: var(--acc); }

/* Liste : le générique */
.ulore .ulore-gen-l { align-self: center; width: 100%; max-width: 820px; margin: 0; padding: 0; list-style: none; text-align: center; }
.ulore .ulore-gen-l li { position: relative; padding: 24px 0; font-size: clamp(19px, 1.9vw, 27px); font-weight: 700; font-style: italic; line-height: 1.35; color: #fff; text-wrap: balance; }
.ulore .ulore-gen-l li + li::before { content: ""; position: absolute; top: 0; left: 50%; width: 7px; height: 7px; background: var(--acc); transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 6px rgba(9, 8, 7, .6); }
.ulore .ulore-gen-l li + li::after { content: ""; position: absolute; top: 0; left: 50%; width: 180px; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(236, 211, 177, .35), transparent); z-index: -1; }
.ulore .ulore-gen-l i { display: block; margin: 0 auto 10px; font-size: 26px; color: var(--acc); }

/* Encadré : carton de film muet */
.ulore .ulore-carton { position: relative; align-self: center; width: 100%; max-width: 980px; padding: 12px; background: #060505; box-shadow: 0 50px 100px -40px #000; }
.ulore .ulore-carton-in { position: relative; padding: clamp(42px, 6vw, 84px) clamp(22px, 6vw, 90px); border: 1.5px solid rgba(236, 211, 177, .62); text-align: center; }
.ulore .ulore-carton-in::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(236, 211, 177, .22); pointer-events: none; }
.ulore .ulore-coin { position: absolute; width: 11px; height: 11px; background: var(--acc); transform: rotate(45deg); }
.ulore .ulore-coin:nth-of-type(1) { left: -6.5px; top: -6.5px; } .ulore .ulore-coin:nth-of-type(2) { right: -6.5px; top: -6.5px; }
.ulore .ulore-coin:nth-of-type(3) { left: -6.5px; bottom: -6.5px; } .ulore .ulore-coin:nth-of-type(4) { right: -6.5px; bottom: -6.5px; }
.ulore .ulore-carton p { margin: 0; font-size: clamp(26px, 3.4vw, 50px); font-weight: 800; font-style: italic; line-height: 1.18; letter-spacing: -.02em; color: #f6f1ea; text-wrap: balance; }
.ulore .ulore-carton p.ulore-carton-s { margin-top: 22px; font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; font-style: normal; line-height: 1.6; letter-spacing: 0; color: var(--acc); }
/* (« zéro délai » : le carton est entièrement allumé en 0,28 s ; il scintillait 0,5 s avant) */
.ulore .ulore-carton.is-in .ulore-carton-in { animation: ulore-scintille .6s steps(1) both; }
@keyframes ulore-scintille { 0% { opacity: 0; } 12% { opacity: .7; } 20% { opacity: .15; } 30% { opacity: .9; } 38% { opacity: .5; } 46%, 100% { opacity: 1; } }

/* Carte : plan large du lieu, bandeau en bas d'image, sous-titre */
.ulore .ulore-lieu { align-self: center; width: 100%; max-width: 1280px; margin: 0; }
.ulore .ulore-lieu-cadre { position: relative; padding: 10px; background: var(--papier); rotate: -.8deg; box-shadow: 0 50px 90px -40px #000; }
.ulore .ulore-lieu-cadre > .ulore-tape { top: -14px; left: 18%; rotate: -4deg; }
.ulore .ulore-lieu-img .ulore-zoom { filter: saturate(.92) contrast(1.05); }
.ulore .ulore-lieu-img { position: relative; aspect-ratio: 21 / 9; overflow: hidden; isolation: isolate; background: #12100e; }
.ulore .ulore-lieu-img .ulore-zoom { z-index: -2; }
.ulore .ulore-lieu-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(9, 8, 7, .95) 0%, rgba(9, 8, 7, .8) 38%, rgba(9, 8, 7, .06) 72%), linear-gradient(0deg, rgba(9, 8, 7, .6), transparent 40%); }
.ulore .ulore-tiers { position: absolute; z-index: 2; right: clamp(30px, 4vw, 70px); bottom: clamp(32px, 4vw, 66px); width: min(560px, 46%); }
/* Nom du lieu : icône beige, puis le nom en valeur (dégradé) */
.ulore .ulore-tiers-b { display: flex; align-items: center; gap: 12px; margin: 0;
  font-size: clamp(18px, 1.8vw, 26px); font-weight: 900; font-style: italic; line-height: 1.1; letter-spacing: -.015em; text-transform: uppercase; }
.ulore .ulore-tiers-b i { flex: none; font-size: 26px; color: var(--acc); }
.ulore .ulore-tiers-b .hl { --hd-delay: .45s; }
/* Traitement « Voile » sur la photo presque noire du lieu : un voile plus clair, sinon seule la barre se voyait */
.ulore .ulore-tiers-b .hl { --dg-voile-rgb: 92 82 70; }
.ulore .ulore-tiers-t { margin: 18px 0 0; font-size: 16.5px; line-height: 1.75; color: rgba(246, 241, 234, .9); }
.ulore .ulore-tiers-t strong { font-weight: 700; color: var(--acc); }
.ulore .ulore-sst { max-width: 900px; margin: 30px auto 0; text-align: center; font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; font-style: italic; line-height: 1.45; color: #fff; text-shadow: 0 2px 14px #000; text-wrap: balance; }
.ulore .ulore-sst-l { display: block; width: 46px; height: 2px; margin: 0 auto 14px; background: var(--acc); }

/* Chiffres : le box-office */
.ulore .ulore-bo { align-self: center; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 1180px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.ulore .ulore-bo-c { min-width: 0; padding: 36px 20px 32px; text-align: center; }
.ulore .ulore-bo-c + .ulore-bo-c { border-left: 1px solid var(--line); }
.ulore .ulore-bo b { display: inline-block; padding: 0 .08em; font-size: clamp(62px, 8vw, 128px); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #f8ead2 10%, #c49c6b 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ulore .ulore-bo span { display: block; margin-top: 12px; font-size: 13px; font-weight: 800; font-style: italic; letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; color: rgba(246, 241, 234, .76); }

/* Citation : réplique plein cadre */
.ulore .ulore-cit { align-self: center; width: 100%; max-width: 1120px; margin: 0; text-align: center; }
.ulore .ulore-cit-l { display: block; width: 130px; height: 2px; margin: 0 auto; background: var(--acc); transform: scaleX(0); transition: transform .35s var(--ease) .05s; }
.ulore .ulore-cit.is-in .ulore-cit-l { transform: none; }
.ulore .ulore-cit p { margin: 36px 0; font-size: clamp(28px, 3.7vw, 58px); font-weight: 800; font-style: italic; line-height: 1.16; letter-spacing: -.025em; color: #fff; text-wrap: balance; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); }
.ulore .ulore-cit.is-fin p { margin: 0; }
.ulore .ulore-cit.is-fin p + p { margin-top: 16px; }
.ulore .ulore-cit.is-fin p:last-of-type { color: var(--acc); }
.ulore .ulore-cit.is-fin .ulore-cit-l:last-child { margin-top: 40px; }
.ulore .ulore-cit .couronne { display: block; width: 66px; margin: 0 auto 34px; color: var(--acc); }

/* Repères : écran partagé Origine → Évolution */
.ulore .ulore-rep { align-self: center; display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); width: 100%; max-width: 1180px; border: 1px solid var(--verre-bord);
  background: rgba(12, 11, 10, .58); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 40px 80px -40px #000; }
.ulore .ulore-rep-c { min-width: 0; padding: clamp(28px, 4vw, 58px); }
.ulore .ulore-rep-c > i { font-size: 30px; color: var(--acc); }
.ulore .ulore-rep-c h3 { margin: 16px 0 16px; font-size: clamp(40px, 4.6vw, 72px); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--acc); }
.ulore .ulore-rep-c p { margin: 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: rgba(246, 241, 234, .9); }
.ulore .ulore-rep-sep { position: relative; background: var(--line-2); }
.ulore .ulore-rep-sep i { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--beige); color: var(--on-acc); font-size: 26px; transform: translate(-50%, -50%); box-shadow: 0 0 0 8px rgba(12, 11, 10, .9); }

/* Issues : cartes de scènes */
.ulore .ulore-iss { align-self: center; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 1320px; }
.ulore .ulore-iss.is-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; }
.ulore .ulore-iss-c { position: relative; min-width: 0; padding: 26px 24px 28px; border: 1px solid var(--verre-bord); border-top: 3px solid var(--acc); background: rgba(14, 13, 12, .7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .6s var(--ease), background .4s; }
.ulore .ulore-iss-c:hover { transform: translateY(-8px); background: rgba(20, 19, 17, .86); }
.ulore .ulore-iss-n { position: absolute; right: 18px; top: 12px; font-size: 52px; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(236, 211, 177, .35); }
.ulore .ulore-iss-ico { width: 50px; height: 50px; display: grid; place-items: center; background: var(--beige); color: var(--on-acc); font-size: 24px; transform: skewX(-8deg); }
.ulore .ulore-iss-ico i { transform: skewX(8deg); }
.ulore .ulore-iss-c h3 { margin: 26px 0 10px; font-size: 21px; font-weight: 900; font-style: italic; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.ulore .ulore-iss-c p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(246, 241, 234, .8); }

/* Personnages : deux affiches de casting */
.ulore .ulore-perso { align-self: center; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 3vw, 50px); width: 100%; max-width: 1180px; padding-top: 14px; }
.ulore .ulore-pp { --rot: 0deg; position: relative; padding: 10px; background: var(--papier); rotate: var(--rot); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .95); transition: rotate .8s var(--ease), transform .8s var(--ease); }
.ulore .ulore-pp:hover { rotate: 0deg; transform: translateY(-10px); }
.ulore .ulore-pp-in { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(580px, 46vw, 700px); padding: clamp(22px, 3vw, 40px); overflow: hidden; isolation: isolate; background: #0d0c0b; }
.ulore .ulore-pp-in .ulore-zoom { z-index: -2; filter: grayscale(.5) contrast(1.05) brightness(.9); }
.ulore .ulore-pp-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 9, 8, .55) 0%, rgba(10, 9, 8, .25) 30%, rgba(10, 9, 8, .9) 58%, rgba(10, 9, 8, .98) 100%); }
.ulore .ulore-pp-sym { position: absolute; top: clamp(26px, 4vw, 54px); left: 50%; width: 124px; height: 124px; display: grid; place-items: center; border-radius: 50%; transform: translateX(-50%);
  font-family: var(--font-sym); font-size: 66px; line-height: 1; color: var(--acc); background: rgba(13, 12, 11, .72); border: 1.5px solid rgba(236, 211, 177, .55);
  box-shadow: 0 0 0 10px rgba(236, 211, 177, .07), 0 20px 50px -10px #000; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ulore .ulore-pp-n { margin: 0; font-size: clamp(30px, 3.2vw, 48px); font-weight: 900; font-style: italic; line-height: .98; letter-spacing: -.035em; text-transform: uppercase; }
/* Rôle du personnage : étiquette en dégradé (passe à la ligne si la place manque) */
.ulore .ulore-pp-r { align-self: flex-start; max-width: 100%; margin: 14px 0 18px; }
.ulore .ulore-pp-r .hl-etq { white-space: normal; font-size: 12px; letter-spacing: .05em; --hd-delay: .35s; }
.ulore .ulore-pp-t { margin: 0; font-size: 15.5px; line-height: 1.72; color: rgba(246, 241, 234, .86); }
.ulore .ulore-pp-t strong { font-weight: 700; color: var(--acc); }
.ulore .ulore-pp .ulore-tape { top: -13px; left: calc(50% - 48px); width: 96px; height: 26px; rotate: 3deg; }

/* Chronologie : frise horizontale épinglée qui défile au scroll */
.ulore .ulore-chr { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }
.ulore .ulore-chr-pin { position: relative; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.ulore .ulore-chr-piste { --an: clamp(84px, 8.4vw, 132px); position: relative; display: flex; padding: 0 var(--g); will-change: transform; }
.ulore .ulore-chr-ligne { position: absolute; left: var(--g); right: 0; top: calc(var(--an) + 22px); height: 2px; background: rgba(236, 211, 177, .16); }
.ulore .ulore-chr-fil { position: absolute; inset: 0; background: var(--acc); transform-origin: left; transform: scaleX(0); }
.ulore .ulore-chr-i { position: relative; flex: none; width: clamp(310px, 29vw, 440px); padding-right: 56px; }
.ulore .ulore-chr-an { display: block; height: var(--an); font-size: var(--an); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums;
  color: transparent; -webkit-text-stroke: 1.5px rgba(236, 211, 177, .7); transition: color .6s, -webkit-text-stroke-color .6s; }
.ulore .ulore-chr-pt { position: relative; z-index: 1; display: block; width: 18px; height: 18px; margin: 13px 0 26px; border-radius: 50%; background: var(--bg); border: 2px solid var(--acc); transition: background .4s, box-shadow .4s; }
.ulore .ulore-chr-i h3 { margin: 0 0 10px; font-size: 22px; font-weight: 900; font-style: italic; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.ulore .ulore-chr-i p { max-width: 330px; margin: 0; font-size: 15.5px; line-height: 1.65; color: rgba(246, 241, 234, .82); }
.ulore .ulore-chr-i.is-on .ulore-chr-an { color: var(--acc); -webkit-text-stroke-color: transparent; }
.ulore .ulore-chr-i.is-on .ulore-chr-pt { background: var(--acc); box-shadow: 0 0 0 6px rgba(236, 211, 177, .16); }
.ulore .ulore-chr-i.is-inconnu .ulore-chr-pt { --st: 236, 211, 177; background: var(--acc); animation: pulse 2s infinite; }
.ulore .ulore-chr-i.is-inconnu h3 { color: var(--acc); }
.ulore .ulore-chr-i.is-inconnu::after { content: ""; position: absolute; left: 22px; top: calc(var(--an) + 22px); width: 300px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--acc) 0 8px, transparent 8px 16px); -webkit-mask-image: linear-gradient(90deg, #000, transparent); mask-image: linear-gradient(90deg, #000, transparent); }

/* Fin du film */
.ulore .ulore-fin { position: relative; z-index: 1; padding: clamp(110px, 15vw, 190px) 0 clamp(120px, 15vw, 180px); text-align: center; background: linear-gradient(180deg, rgba(9, 8, 7, 0), rgba(9, 8, 7, .92) 40%); }
.ulore .ulore-fin .couronne { width: 86px; color: var(--acc); }
.ulore .ulore-fin-k { margin: 18px 0 0; font-size: 34px; line-height: 1.3; color: var(--acc); }
.ulore .ulore-fin-t { margin: 8px 0 34px; font-size: clamp(40px, 6vw, 96px); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.ulore .ulore-fin-b { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* Étiquette du titre (au-dessus du grand titre) : icône beige et étiquette en dégradé */
.ulore .ulore-etq { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.ulore .ulore-etq > i { flex: none; font-size: 20px; color: var(--acc); }
.ulore .ulore-etq .hl-etq { font-size: 12.5px; --hd-delay: .2s; }

/* ======================================================================
   Calque fixe (hors de .flux, [data-u-calque]) : bandeau du chapitre en cours (sous l'en-tête du site, z 40)
   et menu « Scènes » (fenêtre <dialog> modale : au-dessus de tout, comme le z 58 de la maquette)
   ====================================================================== */
.ulore.ulore-calque { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
/* Bandeau de lecture (chapitre en cours) */
.ulore .ulore-hud { position: fixed; z-index: 40; top: calc(var(--hd) + 12px); left: 50%; display: flex; align-items: center; gap: 14px; width: min(100% - 2 * var(--g), 780px); padding: 7px;
  border: 1px solid var(--verre-bord); border-radius: 3px; background: rgba(13, 12, 11, .76); box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .95);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  opacity: 0; pointer-events: none; transform: translate(-50%, -14px); transition: opacity .45s, transform .6s var(--ease), top .7s var(--ease); }
.ulore .ulore-hud.is-on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
body.hd-cache .ulore .ulore-hud { top: 12px; }
/* Voile sombre du haut de l'écran : le texte qui défile ne passe jamais lisible derrière le bandeau */
.ulore .ulore-hud::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -220px; width: 100vw; height: calc(100% + 290px); transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 8, 7, .985) 0, rgba(9, 8, 7, .97) calc(100% - 74px), rgba(9, 8, 7, 0) 100%); }
/* Numéro du chapitre : fine barre beige et voile qui s'efface (même traitement que le bandeau du Serveur) */
.ulore .ulore-hud-n { flex: none; display: grid; place-items: center; min-width: 56px; height: 42px; padding: 0 10px; overflow: hidden; border-left: 3px solid var(--acc);
  background: linear-gradient(90deg, rgba(236, 211, 177, .3), rgba(236, 211, 177, .04)); color: #fff; font-size: 17px; font-weight: 900; font-style: italic; }
.ulore .ulore-hud-n > span { display: block; }
.ulore .ulore-hud-t { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; line-height: 1.2; }
.ulore .ulore-hud-t small { font-size: 10.5px; font-weight: 800; font-style: italic; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); white-space: nowrap; }
.ulore .ulore-hud-t b { display: block; font-size: 14px; font-weight: 900; font-style: italic; letter-spacing: -.005em; text-transform: uppercase; white-space: nowrap; }
.ulore .ulore-hud-seg { flex: none; display: flex; gap: 3px; }
.ulore .ulore-hud-seg span { position: relative; width: 20px; height: 4px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .14); }
.ulore .ulore-hud-seg span::after { content: ""; position: absolute; inset: 0; background: var(--acc); transform-origin: left; transform: scaleX(var(--f, 0)); }
.ulore .ulore-hud-b { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 15px; border: 1.5px solid var(--line-2); border-radius: 3px; background: rgba(13, 12, 11, .45);
  font-size: 12px; font-weight: 800; font-style: italic; letter-spacing: .03em; text-transform: uppercase; transition: border-color .3s, background .3s; }
.ulore .ulore-hud-b i { font-size: 19px; color: var(--acc); }
.ulore .ulore-hud-b:hover { border-color: rgba(236, 211, 177, .45); background: rgba(13, 12, 11, .8); }
.ulore .ulore-hud-p { position: absolute; left: 7px; right: 7px; bottom: 2px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .08); display: none; }
.ulore .ulore-hud-p::after { content: ""; position: absolute; inset: 0; background: var(--acc); transform-origin: left; transform: scaleX(var(--gp, 0)); }
/* Menu des scènes (façon menu de DVD) : <dialog> plein écran, styles du navigateur remplacés */
.ulore .ulore-menu { position: fixed; inset: 0; z-index: 58; width: auto; height: auto; max-width: none; max-height: none; margin: 0; border: 0; color: inherit; pointer-events: auto;
  display: grid; place-items: center; overflow: auto; overscroll-behavior: contain; padding: 30px var(--g);
  background: rgba(6, 6, 5, .84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ulore .ulore-menu:not([open]) { display: none; }
.ulore .ulore-menu::backdrop { background: transparent; }
.ulore .ulore-menu-in { width: min(100%, 1240px); }
.ulore .ulore-menu-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ulore .ulore-menu-h p { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 900; font-style: italic; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.ulore .ulore-menu-h p i { font-size: 20px; }
.ulore .ulore-menu-x { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--line-2); border-radius: 3px; font-size: 24px; transition: border-color .3s, background .3s; }
.ulore .ulore-menu-x:hover { border-color: var(--acc); background: rgba(255, 255, 255, .05); }
.ulore .ulore-menu-g { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ulore .ulore-vign { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 16 / 11; padding: 12px 14px; overflow: hidden; isolation: isolate; text-align: left;
  border: 1px solid var(--verre-bord); border-radius: 3px; transition: transform .5s var(--ease), border-color .3s; }
.ulore .ulore-vign .ulore-zoom { z-index: -2; filter: grayscale(.45); transition: filter .5s, scale 1s var(--ease); }
.ulore .ulore-vign-v { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 8, 7, .2), rgba(9, 8, 7, .92) 78%); }
.ulore .ulore-vign-n { font-size: 34px; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px var(--acc); }
.ulore .ulore-vign-t { margin-top: 6px; font-size: 13px; font-weight: 800; font-style: italic; line-height: 1.2; text-transform: uppercase; }
.ulore .ulore-vign:hover { transform: translateY(-4px); border-color: rgba(236, 211, 177, .5); }
.ulore .ulore-vign:hover .ulore-zoom { filter: none; scale: 1.06; }
.ulore .ulore-vign.is-cur { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); }
.ulore .ulore-vign.is-cur .ulore-vign-n { color: var(--acc); -webkit-text-stroke-color: transparent; }

/* ---------- Adaptation écrans (mêmes paliers que la maquette) ---------- */
@media (max-width: 1220px) {
  .ulore .ulore-iss { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
  .ulore .ulore-iss.is-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .ulore .ulore-fac { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; align-self: center; }
  .ulore .ulore-film.is-n6 { --n: 3; }
  .ulore .ulore-menu-g { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .ulore .ulore-hud-seg { display: none; }
  .ulore .ulore-hud-p { display: block; }
  .ulore .ulore-perso { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .ulore .ulore-menu-g { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Frise : verticale sur les petits écrans (pas d'épinglage) */
@media (max-width: 899px) {
  .ulore .ulore-chr { width: auto; margin-left: 0; }
  .ulore .ulore-chr-pin { height: auto; display: block; overflow: visible; }
  .ulore .ulore-chr-piste { --an: 58px; flex-direction: column; padding: 0 0 0 34px; }
  .ulore .ulore-chr-ligne { left: 8px; right: auto; top: 10px; bottom: 30px; width: 2px; height: auto; }
  .ulore .ulore-chr-fil { transform-origin: top; transform: scaleY(var(--fv, 0)); }
  .ulore .ulore-chr-i { width: auto; padding: 0 0 34px; }
  .ulore .ulore-chr-an { height: auto; font-size: var(--an); }
  .ulore .ulore-chr-pt { position: absolute; left: -34px; top: 18px; margin: 0; width: 16px; height: 16px; }
  .ulore .ulore-chr-i h3 { margin-top: 10px; }
  .ulore .ulore-chr-i.is-inconnu::after { left: -27px; top: 40px; width: 2px; height: 56px; background: repeating-linear-gradient(180deg, var(--acc) 0 5px, transparent 5px 11px); -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
}
@media (max-width: 700px) {
  .ulore .ulore-retour { font-size: 11px; }
  .ulore .ulore-hero { padding-bottom: 96px; }
  /* Téléphone : le titre passe sur la robe claire de la photo ; le voile du bas monte jusqu'au titre (les visages restent nets) */
  .ulore .ulore-hero-voile { background: linear-gradient(90deg, rgba(9, 8, 7, .8) 0%, rgba(9, 8, 7, .42) 60%, rgba(9, 8, 7, .2) 100%), linear-gradient(0deg, rgba(9, 8, 7, .96) 0%, rgba(9, 8, 7, .74) 38%, rgba(9, 8, 7, .3) 56%, rgba(9, 8, 7, 0) 70%), linear-gradient(180deg, rgba(9, 8, 7, .75), rgba(9, 8, 7, 0) 26%); }
  .ulore .ulore-titre { font-size: clamp(46px, 13.4vw, 72px); }
  .ulore .ulore-acc { font-size: 18px; }
  .ulore .ulore-gen { font-size: 11px; letter-spacing: .1em; gap: 10px; }
  .ulore .ulore-gen::before { width: 24px; }
  .ulore .ulore-hero-pied { position: static; justify-content: space-between; margin-top: 30px; }
  .ulore .ulore-sc-t { padding-top: calc(var(--hd) + 80px); }
  .ulore .ulore-sc-bg .ulore-zoom { background-position: var(--pm, var(--pos)); transform-origin: var(--pm, var(--pos)); transform: scale(var(--zm, var(--z))); }
  .ulore .ulore-sc-k { font-size: 11.5px; gap: 10px; }
  .ulore .ulore-sc-k::before, .ulore .ulore-sc-k::after { width: 22px; }
  .ulore .ulore-num { font-size: clamp(120px, 40vw, 190px); -webkit-text-stroke-width: 1.5px; }
  .ulore .ulore-sc-titre { font-size: clamp(32px, 9.6vw, 44px); }
  .ulore .ulore-sc-c { gap: 76px; }
  .ulore .ulore-p { font-size: 21px; }
  .ulore .ulore-p.is-court { font-size: clamp(32px, 9.4vw, 44px); }
  .ulore .ulore-fac { grid-template-columns: minmax(0, 1fr); padding-inline: 4px; gap: 30px; }
  .ulore .ulore-af { rotate: calc(var(--rot) * .5); }
  .ulore .ulore-af-in { aspect-ratio: 4 / 3.7; }
  .ulore .ulore-af-n { font-size: 26px; }
  .ulore .ulore-film, .ulore .ulore-film.is-n6 { --n: 2; padding: 34px 12px; rotate: -1deg; }
  .ulore .ulore-film li { min-height: 120px; font-size: 13px; padding: 16px 8px; }
  .ulore .ulore-film li i { font-size: 28px; }
  .ulore .ulore-gen-l li { font-size: 19px; padding: 20px 0; }
  .ulore .ulore-carton { padding: 8px; }
  .ulore .ulore-carton p { font-size: 25px; }
  .ulore .ulore-lieu-img { aspect-ratio: 4 / 3; }
  .ulore .ulore-lieu-voile { background: linear-gradient(0deg, rgba(9, 8, 7, .9), rgba(9, 8, 7, 0) 60%); }
  .ulore .ulore-lieu-cadre { padding: 8px 8px 22px; rotate: -.6deg; }
  .ulore .ulore-tiers { position: relative; right: auto; bottom: auto; width: auto; margin-top: -40px; padding: 0 10px; }
  .ulore .ulore-tiers-t { color: rgba(22, 19, 15, .84); }
  .ulore .ulore-tiers-t strong { color: var(--encre); }
  .ulore .ulore-tiers-b { font-size: 18px; }
  .ulore .ulore-tiers-t { font-size: 15.5px; }
  .ulore .ulore-bo { grid-template-columns: minmax(0, 1fr); }
  .ulore .ulore-bo-c { display: flex; align-items: baseline; gap: 16px; padding: 18px 4px; text-align: left; }
  .ulore .ulore-bo-c + .ulore-bo-c { border-left: 0; border-top: 1px solid var(--line); }
  .ulore .ulore-bo b { flex: none; min-width: 128px; font-size: 54px; }
  .ulore .ulore-bo span { margin: 0; font-size: 12px; }
  .ulore .ulore-cit p { font-size: 27px; margin: 28px 0; }
  .ulore .ulore-rep { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1px auto; }
  .ulore .ulore-rep-sep { height: 1px; }
  .ulore .ulore-rep-sep i { width: 46px; height: 46px; font-size: 22px; transform: translate(-50%, -50%) rotate(90deg); }
  .ulore .ulore-rep-c { padding: 28px 22px; }
  .ulore .ulore-rep-c h3 { font-size: 46px; }
  .ulore .ulore-iss, .ulore .ulore-iss.is-n3 { grid-template-columns: minmax(0, 1fr); }
  .ulore .ulore-perso { padding-inline: 4px; gap: 34px; }
  .ulore .ulore-pp { rotate: calc(var(--rot) * .5); }
  .ulore .ulore-pp-in { min-height: 0; padding: 170px 22px 26px; }
  .ulore .ulore-pp-sym { top: 28px; width: 104px; height: 104px; font-size: 54px; }
  .ulore .ulore-pp-n { font-size: 30px; }
  .ulore .ulore-pp-t { font-size: 15px; }
  .ulore .ulore-fin-t { font-size: 40px; }
  .ulore .ulore-fin-b .btn { width: 100%; }
  .ulore .ulore-hud { gap: 10px; padding: 6px; }
  .ulore .ulore-hud-n { min-width: 46px; height: 40px; font-size: 15px; }
  .ulore .ulore-hud-t small { font-size: 9.5px; }
  .ulore .ulore-hud-t b { font-size: 12.5px; }
  .ulore .ulore-hud-b { width: 42px; padding: 0; justify-content: center; }
  .ulore .ulore-hud-b span { display: none; }
  .ulore .ulore-menu { place-items: start center; padding: 20px var(--g) 30px; }
  .ulore .ulore-menu-g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ulore .ulore-vign { aspect-ratio: 16 / 12; padding: 10px; }
  .ulore .ulore-vign-n { font-size: 28px; }
  .ulore .ulore-vign-t { font-size: 11.5px; }
}

/* ===== ultimate-lexique.css ===== */
/* Composant « Lexique RP » (#/lexique, #/lexique/<terme>) — ultimate-lexique.js.
   Rendu fidèle à maquettes-ultimate/v3/lexique.html, proposition B « Mur continu » (choisie par le propriétaire).
   Barre de filtres : la BARRE COMMUNE du site (.fx-barre, style dans commun.css, ton beige), la même que Le Business /
   Le Milieu (« Tous » + les seules lettres qui ont des termes, recherche à droite) ; aucune règle d'apparence ici.
   Puis la ligne de résultat + « Tout réafficher », et un seul mur de pancartes punaisées en quinconce (« Terme N », icône,
   définition, « Copier le lien ») ; plus de titres de lettre : la lettre est un petit onglet de papier sur la première pancarte
   de chaque lettre.
   Règles (CONTRAT.md) : tout est sous la classe racine .ulex ; chaque classe créée ici commence par « ulex- » (états compris :
   ulex-cache, ulex-cible, ulex-copie, ulex-debut…), @keyframes et identifiants aussi. Les classes du site réutilisées (.ph, .ph-grid,
   .ph-title, .ph-desc, .ph-meta, .ph-photo, .cadre, .ph-img, .tape, .ht, .old, .hl, .hl-etq) ne sont ajustées que sous .ulex,
   aux valeurs de la maquette. Le site garde son en-tête, son pied de page et son fond. */
.ulex { --papier: #efe6d8; --encre: #1b1712; --brun: #7a5a33; }

/* ---------- En-tête de la page (valeurs de la maquette) ---------- */
.ulex .ph { position: relative; padding: calc(var(--hd) + clamp(16px, 3vh, 34px)) 0 clamp(30px, 3.4vw, 50px); }
.ulex .ph-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 40px; align-items: center; }
.ulex .ulex-retour { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 0 0 10px -8px; padding: 0 14px 0 8px; font-size: 12.5px; font-weight: 800; font-style: italic;
  letter-spacing: .04em; text-transform: uppercase; color: rgba(246, 241, 234, .72); transition: color .3s; }
.ulex .ulex-retour i { font-size: 21px; color: var(--acc); transition: transform .5s var(--ease); }
.ulex .ulex-retour:hover { color: #fff; }
.ulex .ulex-retour:hover i { transform: translateX(-5px); }
.ulex .ulex-tag { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--acc); }
.ulex .ulex-tag > i { font-size: 19px; }
.ulex .ulex-tag .hl-etq { font-size: 12.5px; }
.ulex .ph-title { margin: 0 0 16px; font-weight: 900; font-style: italic; font-size: clamp(46px, 5.6vw, 88px); line-height: 1.06; letter-spacing: -.035em; word-spacing: .12em; text-transform: uppercase; }
.ulex .ph-title .hl { --hd-delay: .5s; }
.ulex .ph-desc { max-width: 600px; margin: 0; font-size: 16.5px; line-height: 1.75; color: rgba(246, 241, 234, .78); }
.ulex .ph-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 18px 0 0; padding: 0; list-style: none; }
.ulex .ph-meta li { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; font-style: italic; text-transform: uppercase; color: rgba(246, 241, 234, .7); }
.ulex .ph-meta i { font-size: 18px; color: var(--acc); }
.ulex .ph-meta b { color: var(--acc); font-weight: 900; }
.ulex .ph-photo { position: relative; justify-self: end; width: min(100%, 330px); rotate: 3deg; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.ulex .cadre { background: var(--papier); }
.ulex .ph-photo .cadre { height: auto; aspect-ratio: 1920 / 1300; }
.ulex .ph-img { display: block; width: 100%; height: 100%; background: var(--img) var(--pos, 50% 50%) / var(--size, cover) no-repeat; }
.ulex .ulex-lieu { position: absolute; z-index: 2; right: 18px; bottom: 12px; font-size: 27px; line-height: 1; color: var(--acc); text-shadow: 0 2px 14px rgba(0, 0, 0, .75); rotate: -4deg; }
.ulex .tape { z-index: 3; }

/* ======================================================================
   LE LEXIQUE EN PANCARTES
   ====================================================================== */
.ulex .ulex-lx { padding-bottom: clamp(24px, 4vw, 64px); }

/* Barre de filtres : la barre commune (.fx-barre, commun.css), identique à celle du Business ; seule la place sous elle est
   propre à la page (la ligne de résultat la suit de près, comme avant) */
.ulex .fx-barre { margin-bottom: 10px; }

/* Ligne de résultat : un badge (la lettre, la loupe ou le livre), ce qui est affiché et combien,
   puis « Tout réafficher » dès qu'un filtre ou une recherche est actif */
.ulex .ulex-res-l { position: relative; display: flex; align-items: center; gap: 12px 20px; min-height: 78px; margin: 16px 0 44px; padding: 0 0 16px; border-bottom: 2px solid var(--line); }
.ulex .ulex-res-in { display: flex; align-items: center; gap: 18px; flex: 1 1 auto; min-width: 0; }
.ulex .ulex-res-in.ulex-sortant { pointer-events: none; }
.ulex .ulex-res-bw { flex: none; display: inline-block; }
.ulex .ulex-res-b { display: grid; place-items: center; min-width: 54px; height: 48px; padding: 0 10px; background: var(--beige); color: var(--on-acc); transform: skewX(-8deg);
  box-shadow: 5px 5px 0 rgba(236, 211, 177, .16); font-size: 25px; font-weight: 900; font-style: italic; line-height: 1; text-transform: uppercase; }
.ulex .ulex-res-b > * { transform: skewX(8deg); }
.ulex .ulex-res-b i { font-size: 23px; }
.ulex .ulex-res-txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ulex .ulex-res-t { font-size: clamp(19px, 1.7vw, 24px); font-weight: 900; font-style: italic; line-height: 1.1; letter-spacing: -.015em; text-transform: uppercase; overflow-wrap: anywhere; }
.ulex .ulex-res-n { display: inline-block; color: var(--acc); font-weight: 900; font-variant-numeric: tabular-nums; }
.ulex .ulex-res-q { color: var(--acc); }
.ulex .ulex-res-q.ulex-saisie { text-transform: none; }
.ulex .ulex-res-m { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.ulex .ulex-res-m b { display: inline-block; font-weight: 800; font-style: italic; color: var(--acc); font-variant-numeric: tabular-nums; }
.ulex .ulex-raz-w { flex: none; display: inline-flex; margin-left: auto; }
.ulex .ulex-raz { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 18px; border: 1.5px solid var(--line-2); background: rgba(13, 12, 11, .45);
  color: var(--text); font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; transform: skewX(-8deg);
  -webkit-tap-highlight-color: transparent; transition: border-color .3s, background .3s, color .3s, box-shadow .4s, transform .5s var(--ease); }
.ulex .ulex-raz > * { transform: skewX(8deg); }
.ulex .ulex-raz i { font-size: 19px; color: var(--acc); transition: rotate .6s var(--ease); }
@media (hover: hover) {
  .ulex .ulex-raz:hover { border-color: var(--acc); background: rgba(236, 211, 177, .08); box-shadow: 4px 4px 0 rgba(236, 211, 177, .14); transform: skewX(-8deg) translate(-1px, -1px); }
  .ulex .ulex-raz:hover i { rotate: -200deg; }
}
.ulex .ulex-raz:active { border-color: var(--acc); background: rgba(236, 211, 177, .12); }
.ulex .ulex-raz:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* Le mur continu : une grille unique en rangées de 2 px ; chaque pancarte occupe la hauteur de son contenu et se pose juste sous
   la précédente de sa colonne (placée par le script, chaque colonne part un peu plus bas que sa voisine : le quinconce).
   isolation : pendant une réorganisation, les pancartes qui s'en vont passent derrière celles qui glissent. */
.ulex .ulex-mur { --ulex-cols: 1; position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(var(--ulex-cols), minmax(0, 1fr)); grid-auto-rows: 2px;
  column-gap: 20px; row-gap: 0; align-items: start; align-content: start; }
/* Élément écarté par le filtre (une classe et non [hidden] : Flip doit pouvoir l'afficher le temps qu'il s'efface) */
.ulex .ulex-mur > .ulex-cache { display: none; }
@media (min-width: 600px) { .ulex .ulex-mur { --ulex-cols: 2; column-gap: 24px; } }
@media (min-width: 900px) { .ulex .ulex-mur { --ulex-cols: 3; column-gap: 28px; } }
@media (min-width: 1281px) { .ulex .ulex-mur { --ulex-cols: 4; column-gap: 30px; } }

/* La pancarte : punaisée en haut, elle penche un peu et se redresse au survol (balancement depuis la punaise).
   La première pancarte de chaque lettre (.ulex-debut) laisse la place de son onglet au-dessus d'elle. */
.ulex .ulex-pk-case { display: flex; flex-direction: column; align-self: start; min-width: 0; padding-bottom: 46px; scroll-margin-top: 170px; }
.ulex .ulex-pk-case.ulex-debut { padding-top: 32px; }
/* Enveloppe de la pancarte : c'est elle qui tombe à l'arrivée et se balance (onglet compris) */
.ulex .ulex-chute { flex: 1; display: flex; flex-direction: column; min-width: 0; }
/* Titre « Lettre X » pour les lecteurs d'écran (montré seulement sur la première pancarte de la lettre) */
.ulex .ulex-sr { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* L'onglet de chemise : même papier que la pancarte, il dépasse au-dessus, à gauche ; il penche avec elle */
.ulex .ulex-onglet { display: none; }
.ulex .ulex-debut .ulex-onglet { position: absolute; z-index: 1; left: 18px; bottom: calc(100% - 1px); display: grid; place-items: center; min-width: 58px; height: 32px; padding: 3px 18px 0;
  background: radial-gradient(rgba(0, 0, 0, .07) 1px, transparent 1.5px) 0 0 / 4px 4px, var(--papier); color: var(--encre);
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 100%, 0 100%); }
.ulex .ulex-onglet-l { font-family: var(--font-display); font-size: 21px; font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.ulex .ulex-pk { position: relative; flex: 1; display: block; color: var(--encre); transform: rotate(var(--rot, 0deg)); transform-origin: 50% -10px;
  transition: transform .9s cubic-bezier(.3, 1.6, .45, 1); }
.ulex .ulex-pk:hover, .ulex .ulex-pk-case.ulex-cible .ulex-pk { transform: rotate(0deg) translateY(-6px); }
.ulex .ulex-pk-punaise { position: absolute; z-index: 3; left: 50%; top: -9px; width: 18px; height: 18px; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1dc 0, #ecd3b1 30%, #9a7650 75%, #5e452a 100%); box-shadow: 0 4px 6px rgba(0, 0, 0, .55), 0 0 0 2px rgba(13, 12, 11, .25); }
.ulex .ulex-pk-papier { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 236px; padding: 30px 24px 20px; background: var(--papier);
  box-shadow: 0 28px 46px -24px rgba(0, 0, 0, .95), 0 3px 0 rgba(0, 0, 0, .18); transition: box-shadow .5s; }
.ulex .ulex-pk:hover .ulex-pk-papier, .ulex .ulex-pk-case.ulex-cible .ulex-pk-papier { box-shadow: 0 40px 60px -26px #000, 0 0 0 3px var(--acc); }
.ulex .ulex-pk-papier.ht::after { opacity: .12; }
/* Filet intérieur, comme sur une enseigne */
.ulex .ulex-pk-papier::before { content: ""; position: absolute; inset: 9px; border: 2px solid rgba(27, 23, 18, .13); pointer-events: none; }
.ulex .ulex-pk-haut { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.ulex .ulex-pk-num { display: inline-block; padding: 4px 10px; font-size: 11.5px; font-weight: 900; font-style: italic; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: var(--acc); background: var(--on-acc); transform: skewX(-8deg); }
.ulex .ulex-pk-ico { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: 21px; color: var(--acc); background: var(--on-acc);
  transition: transform .8s cubic-bezier(.34, 1.56, .64, 1); }
.ulex .ulex-pk:hover .ulex-pk-ico { transform: rotate(-12deg) scale(1.06); }
.ulex .ulex-pk-t { margin: 0 0 10px; font-size: clamp(22px, 1.8vw, 27px); font-weight: 900; font-style: italic; line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; overflow-wrap: break-word; }
.ulex .ulex-pk-r { margin: 0 0 20px; font-size: 14.5px; line-height: 1.6; color: rgba(27, 23, 18, .8); }
/* Bouton du bas : copie le lien direct vers le terme (#/lexique/<terme>) */
.ulex .ulex-pk-lire { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding: 0 16px; height: 40px; translate: 0 6px;
  font-size: 12.5px; font-weight: 800; font-style: italic; text-transform: uppercase; white-space: nowrap; color: var(--acc); background: var(--on-acc); transform: skewX(-8deg);
  -webkit-tap-highlight-color: transparent; transition: gap .4s var(--ease), background .3s, color .3s; }
.ulex .ulex-pk-lire > * { transform: skewX(8deg); }
.ulex .ulex-pk-lire i { font-size: 18px; }
.ulex .ulex-pk:hover .ulex-pk-lire { gap: 14px; }
.ulex .ulex-pk-lire.ulex-copie { color: #fff; box-shadow: 4px 4px 0 rgba(122, 90, 51, .32); }
.ulex .ulex-pk-lire.ulex-copie i { color: var(--acc); animation: ulex-ok .6s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes ulex-ok { from { transform: skewX(8deg) scale(.2) rotate(-40deg); opacity: 0; } }
.ulex .ulex-pk mark { padding: 0 3px; color: var(--acc); background: var(--on-acc); }

/* Aucun résultat */
.ulex .ulex-vide { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 44px 24px; border: 2px dashed var(--line-2); text-align: center; }
.ulex .ulex-vide > i { font-size: 34px; color: var(--acc); }
.ulex .ulex-vide p { margin: 0; font-size: 16px; font-weight: 700; font-style: italic; color: var(--muted); overflow-wrap: anywhere; }
.ulex .ulex-vide-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .03em;
  text-transform: uppercase; background: var(--beige); color: var(--on-acc); transform: skewX(-8deg); box-shadow: 5px 5px 0 rgba(236, 211, 177, .18); transition: transform .5s var(--ease), box-shadow .4s; }
.ulex .ulex-vide-b > * { transform: skewX(8deg); }
.ulex .ulex-vide-b:hover { transform: skewX(-8deg) translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(236, 211, 177, .28); }

/* ---------- Adaptation écrans (mêmes seuils que la maquette ; la barre commune s'adapte d'elle-même) ---------- */
@media (max-width: 960px) {
  .ulex .ph-grid { grid-template-columns: minmax(0, 1fr); }
  .ulex .ph-photo { display: none; }
}
@media (max-width: 700px) {
  .ulex .ph-title { font-size: clamp(40px, 12.4vw, 64px); }
  .ulex .ph-desc { font-size: 15.5px; }
  .ulex .ulex-retour { margin-bottom: 6px; }
  /* Ligne de résultat : le texte d'abord, « Tout réafficher » dessous quand il ne tient pas à côté */
  .ulex .ulex-res-l { flex-wrap: wrap; gap: 12px 14px; min-height: 0; margin: 12px 0 32px; padding-bottom: 14px; }
  .ulex .ulex-res-in { gap: 14px; }
  .ulex .ulex-res-b { min-width: 46px; height: 42px; font-size: 21px; }
  .ulex .ulex-res-b i { font-size: 20px; }
  .ulex .ulex-res-t { font-size: 18px; }
  .ulex .ulex-res-m { font-size: 13px; }
  .ulex .ulex-raz { height: 42px; padding: 0 16px; }
  .ulex .ulex-pk-case { padding-bottom: 40px; }
  .ulex .ulex-pk { transform: rotate(calc(var(--rot, 0deg) * .55)); }
  .ulex .ulex-pk-papier { min-height: 0; padding: 28px 20px 18px; }
  .ulex .ulex-pk-t { font-size: clamp(22px, 7vw, 26px); }
  .ulex .ulex-pk-r { font-size: 15px; }
  .ulex .ulex-pk-lire { height: 42px; }
}

/* ===== ultimate-discords.css ===== */
/* Composant « Le Business » (#/entreprises, vert) et « Le Milieu » (#/illegal, rouge) — ultimate-discords.js.
   DA des maquettes validées maquettes-ultimate/v2/entreprises.html + illegal.html, en version simplifiée :
   - haut de page aéré : titre, sous-titre, une phrase ; photo scotchée + grande carte du Discord principal ;
   - liste : titre de section, barre de filtres collée sous l'en-tête (catégories avec compteurs + recherche, version compacte
     avec loupe : c'est la barre commune .fx-barre de commun.css), cartes épurées (logo rond, catégorie, nom, une ligne,
     bouton « Discord » en bas à droite, ou l'étiquette « Disponible » à sa place) ; la liste vient du relais (Espace staff) ;
   - passerelle vers l'autre page.
   Les deux pages ont la même structure ; seule l'ambiance change (papier crème et vert / papier vieilli et rouge).
   Règles du site (CONTRAT.md) : tout est sous la classe racine .udisc (ou le calque .udisc-calque), chaque classe créée
   commence par « udisc- ». Le site garde son en-tête, son pied de page et son fond (teinté par le site : .fond[data-ambiance]).
   Recherche : AUCUN effet visuel au focus, au clic ni au toucher. Aucune règle prefers-reduced-motion (choix du propriétaire). */

/* ---------- Variables ---------- */
:is(.udisc, .udisc-calque) {
  --discord: #5865f2; --discord-rgb: 88, 101, 242;
  --papier: #efe6d8;
  --amb: #ecd3b1; --amb-rgb: 236, 211, 177; --amb-fond: var(--beige); --amb-txt: #0d0c0b; --amb-plein: #ecd3b1;
  /* Cartes : papier, encre, couleur de l'ambiance */
  --pc-papier: linear-gradient(135deg, #f8f1e6 0%, #efe3cf 52%, #e5d4b8 100%);
  --pc-encre: #16130f; --pc-brun: #7a5a33; --pc-brun-rgb: 122, 90, 51; --pc-texte: rgba(22, 19, 15, .72);
  --pc-accent: linear-gradient(90deg, #b48a52, #e7c48f 50%, #b48a52);
  --pc-logo: radial-gradient(circle at 34% 28%, #2b251f, #16130f 70%); --pc-logo-txt: #ecd3b1;
  --pc-anneau: conic-gradient(from 200deg, #a98455, #f2d6a5, #9c7442, #ead0a0, #b48a52, #f2d6a5, #a98455);
  --pc-btn: linear-gradient(180deg, #2a241e, #16130f); --pc-btn-txt: #f0d6b2; --pc-btn-ombre: rgba(22, 19, 15, .2);
}
/* Le Business (le légal) : vert anglais + jade clair, sur papier crème */
:is(.udisc, .udisc-calque).udisc-ent {
  --amb: #7fc3a0; --amb-rgb: 62, 150, 108; --amb-fond: linear-gradient(180deg, #2c7d59, #1b5a40); --amb-txt: #eef7f1; --amb-plein: #7fc3a0;
  --pc-brun: #1f5e43; --pc-brun-rgb: 31, 94, 67;
  --pc-accent: linear-gradient(90deg, #1f5e43, #4fa97e 50%, #1f5e43);
  --pc-logo: radial-gradient(circle at 34% 28%, #2f7d5a, #1a5038 62%, #0f3324); --pc-logo-txt: #eef7f1;
  --pc-anneau: conic-gradient(from 200deg, #1f5e43, #8fceac, #174a34, #6cb891, #1f5e43, #8fceac, #1f5e43);
  --pc-btn: linear-gradient(180deg, #2a7a56, #1a5038); --pc-btn-txt: #eef7f1; --pc-btn-ombre: rgba(26, 80, 56, .24);
}
/* Le Milieu (l'illégal) : rouge sombre, sur papier vieilli */
:is(.udisc, .udisc-calque).udisc-ill {
  --amb: #e46a55; --amb-rgb: 196, 52, 36; --amb-fond: linear-gradient(180deg, #ad3020, #7e1c12); --amb-txt: #fff1ec; --amb-plein: #e46a55;
  --pc-papier: radial-gradient(60% 50% at 88% 16%, rgba(120, 80, 40, .14), transparent 70%), radial-gradient(48% 46% at 6% 94%, rgba(110, 70, 30, .18), transparent 70%),
    linear-gradient(135deg, #ece2d0 0%, #ddcfb5 58%, #d1c0a2 100%);
  --pc-encre: #1a1311; --pc-brun: #8f2216; --pc-brun-rgb: 143, 34, 22; --pc-texte: rgba(26, 19, 17, .74);
  --pc-accent: linear-gradient(90deg, #7e1c12, #d0472f 50%, #7e1c12);
  --pc-logo: radial-gradient(circle at 34% 28%, #b8321f, #7a170d 62%, #4a0e08); --pc-logo-txt: #fff1ec;
  --pc-anneau: repeating-conic-gradient(#8f2216 0 9deg, transparent 9deg 15deg);
  --pc-btn: linear-gradient(180deg, #ad3020, #7e1c12); --pc-btn-txt: #fff1ec; --pc-btn-ombre: rgba(126, 28, 18, .26);
}
.udisc { position: relative; -webkit-tap-highlight-color: transparent; }

/* Bouton contour (sur la base .btn du site) : « Tout afficher » quand rien ne correspond */
.udisc .udisc-btn-contour { border: 1.5px solid rgba(var(--amb-rgb), .55); color: var(--amb); background: rgba(13, 12, 11, .35); }
.udisc .udisc-btn-contour:hover { border-color: var(--amb); color: #fff; background: rgba(var(--amb-rgb), .12); transform: skewX(-8deg) translate(-2px, -2px); }

/* Ruban adhésif de la photo */
.udisc .udisc-tape { position: absolute; z-index: 3; width: 110px; height: 30px; background: rgba(236, 211, 177, .78); pointer-events: none; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.udisc.udisc-ill .udisc-tape { background: rgba(214, 200, 176, .72); }

/* En direct (API publique Discord) : connectés et membres */
.udisc .udisc-live { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; font-size: 11.5px; font-weight: 800; font-style: italic; letter-spacing: .02em; text-transform: uppercase; color: var(--pc-texte); }
.udisc .udisc-live[hidden] { display: none; }
.udisc .udisc-live b { font-weight: 900; color: var(--pc-encre); font-variant-numeric: tabular-nums; }
.udisc .udisc-live-pt { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3fbf63; --st: 63, 191, 99; animation: pulse 2s infinite; }
.udisc .udisc-live-sep { opacity: .45; }

/* ---------- Message « Lien bientôt disponible » : dans le calque fixe du composant (au-dessus de l'en-tête) ---------- */
.udisc-calque { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.udisc-calque .udisc-bulle { position: fixed; z-index: 90; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid var(--line-2); background: #0d0c0b; color: var(--text);
  font-size: 12.5px; font-weight: 800; font-style: italic; line-height: 1.2; text-transform: uppercase; white-space: nowrap; pointer-events: none;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .9); opacity: 0; transform: translate(-50%, calc(-100% - 6px)) skewX(-8deg); transition: opacity .25s, transform .45s var(--ease); }
.udisc-calque .udisc-bulle > * { transform: skewX(8deg); }
.udisc-calque .udisc-bulle i { font-size: 16px; color: var(--amb); }
.udisc-calque .udisc-bulle.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 12px)) skewX(-8deg); }
.udisc-calque .udisc-bulle::after { content: ""; position: absolute; left: calc(50% - 6px); bottom: -7px; width: 12px; height: 12px; background: #0d0c0b; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transform: rotate(45deg) skew(8deg, 8deg); }

/* ======================================================================
   HAUT DE PAGE : retour, titre, sous-titre, une phrase ; photo scotchée et grande carte du Discord principal
   ====================================================================== */
.udisc .udisc-hero { position: relative; padding: calc(var(--hd) + clamp(20px, 4.4vh, 60px)) 0 clamp(64px, 7vw, 120px); }
.udisc .udisc-hero-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 100px); align-items: center; }
.udisc .udisc-texte { min-width: 0; }
.udisc .udisc-retour { display: flex; width: fit-content; align-items: center; gap: 8px; min-height: 40px; margin: 0 0 clamp(10px, 2vh, 22px); font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .02em;
  text-transform: uppercase; color: var(--amb); transition: gap .45s var(--ease), color .3s; }
.udisc .udisc-retour i { font-size: 18px; }
.udisc .udisc-retour:hover { gap: 13px; color: #fff; }
.udisc .ph-title { margin: 0 0 22px; font-weight: 900; font-style: italic; font-size: clamp(46px, 5.7vw, 100px); line-height: 1.04; letter-spacing: -.035em; word-spacing: .12em; text-transform: uppercase; }
.udisc .ph-title .hl { --hd-delay: .5s; }
/* Sous-titre : ce qu'il y a derrière le nom */
.udisc .udisc-sous { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 13.5px; font-weight: 800; font-style: italic; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.udisc .udisc-sous::before { content: ""; flex: none; width: 34px; height: 3px; border-radius: 2px; background: var(--amb); }
.udisc .ph-desc { max-width: 470px; margin: 0; font-size: 16px; line-height: 1.75; color: rgba(246, 241, 234, .74); text-wrap: pretty; }

/* La scène : photo scotchée et, devant, la grande carte */
.udisc .udisc-scene { position: relative; min-width: 0; padding: 16px 0 8px; }
/* Écran large mais peu haut (1366 × 768…) : la scène rétrécit pour tenir entière dans le premier écran */
@media (min-width: 961px) { .udisc .udisc-scene { width: min(100%, 660px, calc((100vh - var(--hd) - 40px) * 1.08)); margin-left: auto; } }
.udisc .udisc-photo-cel { position: relative; width: 84%; margin-left: auto; rotate: 2deg; }
.udisc .udisc-photo-cel .udisc-tape { top: -13px; left: 16%; rotate: -6deg; }
.udisc .udisc-photo-cel .udisc-tape + .udisc-tape { left: auto; right: 9%; top: -11px; width: 92px; rotate: 5deg; }
.udisc .udisc-photo { position: relative; display: block; margin: 0; padding: 9px; background: var(--papier); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .95), 0 12px 24px -12px rgba(0, 0, 0, .6); }
.udisc .udisc-photo-in { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate; background: #0d0c0b; }
.udisc .udisc-photo-img { position: absolute; inset: 0; z-index: -3; background: var(--img) var(--pos) / var(--size) no-repeat; filter: saturate(.92) contrast(1.05); transform: scale(1.04); }
.udisc .udisc-photo-grade { position: absolute; inset: 0; z-index: -2; background: rgb(168, 46, 36); opacity: 0; mix-blend-mode: color; }
.udisc.udisc-ill .udisc-photo-grade { opacity: .34; }
.udisc.udisc-ent .udisc-photo-grade { background: rgb(30, 104, 72); opacity: .14; }
.udisc .udisc-photo-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 9, 8, .3) 0%, rgba(10, 9, 8, 0) 30%, rgba(10, 9, 8, 0) 58%, rgba(10, 9, 8, .5) 100%); }

.udisc .udisc-carte-cel { position: relative; z-index: 2; width: 72%; margin-top: -27%; }
.udisc .udisc-carte-anim { position: relative; }
/* La grande carte : papier de l'ambiance, filet de couleur en haut, relief et reflet qui suivent la souris */
.udisc .udisc-carte { --rx: 0deg; --ry: 0deg; --mx: 50%; position: relative; container-type: inline-size; overflow: hidden; border-radius: 6px; color: var(--pc-encre); background: var(--pc-papier);
  transform: perspective(1500px) rotateX(var(--rx)) rotateY(var(--ry)) rotate(-1.5deg); transition: transform .6s var(--ease); isolation: isolate;
  box-shadow: 0 2px 0 rgba(255, 255, 255, .5) inset, 0 50px 80px -34px rgba(0, 0, 0, .98), 0 18px 30px -16px rgba(0, 0, 0, .72); }
.udisc .udisc-carte::before { content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 4px; background: var(--pc-accent); pointer-events: none; }
.udisc .udisc-carte::after { content: ""; position: absolute; z-index: 4; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: soft-light; opacity: .85;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .85) 46%, transparent 60%) calc(var(--mx) * 1.6 - 30%) 0 / 260% 100% no-repeat; transition: background-position .3s; }
.udisc.udisc-ill .udisc-carte::after { mix-blend-mode: overlay; opacity: .4; }
.udisc .udisc-c-in { position: relative; z-index: 2; display: flex; flex-direction: column; padding: 8.4cqi 7.6cqi 6.6cqi; }
.udisc .udisc-c-id { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 5.6cqi; }
.udisc .udisc-c-id .udisc-logo { --lg: clamp(68px, 19cqi, 100px); }
.udisc .udisc-c-titres { min-width: 0; }
.udisc .udisc-c-cat { display: block; font-size: clamp(18px, 5cqi, 25px); line-height: 1.1; color: var(--pc-brun); }
.udisc .udisc-c-nom { display: block; margin: 1.2cqi 0 0; font-size: clamp(22px, min(9cqi, calc(56cqi / (var(--L, 8) * .74))), 50px); font-weight: 900; font-style: italic; line-height: .98; letter-spacing: -.035em;
  text-transform: uppercase; overflow-wrap: anywhere; text-wrap: balance; }
.udisc .udisc-c-desc { margin: 6cqi 0 0; font-size: clamp(13.5px, 3.3cqi, 16px); line-height: 1.6; color: var(--pc-texte); text-wrap: pretty; }
.udisc .udisc-carte .udisc-live { margin-top: 3.4cqi; }
/* Le gros bouton « Rejoindre » : plein, couleur de l'ambiance */
.udisc .udisc-c-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: clamp(50px, 12cqi, 60px); margin-top: 6.4cqi; padding: 0 22px;
  background: var(--pc-btn); color: var(--pc-btn-txt); font-size: clamp(13px, 2.9cqi, 15px); font-weight: 800; font-style: italic; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  transform: skewX(-8deg); box-shadow: 6px 6px 0 var(--pc-btn-ombre); transition: transform .5s var(--ease), box-shadow .4s, gap .45s var(--ease); -webkit-tap-highlight-color: transparent; }
.udisc .udisc-c-btn > * { transform: skewX(8deg); }
.udisc .udisc-c-btn i { font-size: 22px; }
.udisc .udisc-c-btn .bx-right-arrow-alt { transition: transform .5s var(--ease); }
.udisc .udisc-c-btn:hover { gap: 16px; transform: skewX(-8deg) translate(-2px, -2px); box-shadow: 9px 9px 0 var(--pc-btn-ombre); }
.udisc .udisc-c-btn:hover .bx-right-arrow-alt { transform: skewX(8deg) translateX(4px); }
.udisc .udisc-c-lien { display: block; margin-top: 3.6cqi; font-size: clamp(9.5px, 2.1cqi, 11px); font-weight: 800; letter-spacing: .14em; text-align: center; text-transform: uppercase; color: var(--pc-brun); opacity: .8; }

/* ======================================================================
   LOGO ROND (cartes et grande carte) : image du fichier, image Discord, ou initiales ; anneau de l'ambiance
   ====================================================================== */
.udisc .udisc-logo { --lg: 64px; position: relative; flex: none; display: grid; place-items: center; width: var(--lg); height: var(--lg); border-radius: 50%; }
.udisc .udisc-logo::before { content: ""; position: absolute; inset: calc(var(--lg) * -.075); border-radius: 50%; background: var(--pc-anneau); pointer-events: none;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  transition: rotate 1.4s var(--ease); }
.udisc .udisc-logo-in { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; background: var(--pc-logo); color: var(--pc-logo-txt);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .08); }
.udisc .udisc-logo-in img { width: 100%; height: 100%; object-fit: cover; }
.udisc .udisc-logo .couronne { width: 56%; color: var(--pc-logo-txt); }
.udisc .udisc-mono { display: block; font-size: calc(var(--lg) * .34); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; padding-right: .06em; }
.udisc .udisc-mono.is-4 { font-size: calc(var(--lg) * .27); }

/* ======================================================================
   LA LISTE : titre, barre de filtres collée sous l'en-tête, grille de cartes
   ====================================================================== */
.udisc .udisc-zone { position: relative; padding: 0 0 clamp(100px, 11vw, 160px); scroll-margin-top: calc(var(--hd) + 10px); }
.udisc .udisc-h2 { margin: 0 0 clamp(18px, 2vw, 26px); font-size: clamp(32px, 3.4vw, 52px); font-weight: 900; font-style: italic; line-height: 1.06; letter-spacing: -.03em; word-spacing: .1em; text-transform: uppercase; }
.udisc .udisc-h2 .hl { --hd-delay: .35s; }

/* Barre de filtres (catégories à gauche, recherche à droite, collée sous l'en-tête, compacte au téléphone) : c'est la
   BARRE COMMUNE du site, .fx-barre de commun.css (couleur data-fx-ton="vert" / "rouge" posée par ultimate-discords.js,
   mécanique Ultimate.filtres de commun.js). Rien à styler ici : même apparence et même comportement sur toutes les pages. */
/* Mots trouvés par la recherche */
.udisc mark { padding: 0 2px; border-radius: 1px; background: var(--amb-fond); color: var(--amb-txt); }
.udisc .udisc-pc mark { background: rgba(var(--pc-brun-rgb), .18); color: inherit; box-shadow: inset 0 -2px 0 rgba(var(--pc-brun-rgb), .55); }

/* Grille : rangées régulières et centrées (une rangée incomplète reste au milieu, jamais un trou à droite) */
.udisc .udisc-grille { --gx: clamp(20px, 2.4vw, 40px); --nb: 3; position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; align-content: flex-start; gap: clamp(22px, 2.4vw, 40px) var(--gx); }
/* ---------- Une carte : logo rond, catégorie, nom, une ligne, bouton « Discord » en bas à droite ---------- */
.udisc .udisc-cel { position: relative; flex: 0 0 calc((100% - (var(--nb) - 1) * var(--gx)) / var(--nb)); min-width: 0; display: flex; }
.udisc .udisc-pc { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; container-type: inline-size; overflow: hidden; padding: 28px clamp(20px, 6.4cqi, 28px) 22px; border-radius: 5px;
  color: var(--pc-encre); background: var(--pc-papier); isolation: isolate; translate: 0 0; transition: translate .6s var(--ease), box-shadow .6s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 24px 40px -24px rgba(0, 0, 0, .9), 0 6px 12px -8px rgba(0, 0, 0, .45); }
/* Filet de couleur en haut (vert ou rouge) */
.udisc .udisc-pc::before { content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 3px; background: var(--pc-accent); pointer-events: none; }
/* Reflet qui balaie la carte au survol */
.udisc .udisc-pc::after { content: ""; position: absolute; z-index: 5; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .9) 48%, transparent 58%) 140% 0 / 260% 100% no-repeat; transition: background-position 1.1s var(--ease); }
.udisc.udisc-ill .udisc-pc::after { mix-blend-mode: overlay; }
.udisc .udisc-pc-id { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 18px; }
.udisc .udisc-pc-id .udisc-logo { --lg: clamp(56px, 16cqi, 66px); }
.udisc .udisc-pc-titres { min-width: 0; }
.udisc .udisc-pc-cat { display: block; font-size: clamp(17px, 4.8cqi, 21px); line-height: 1.1; color: var(--pc-brun); }
.udisc .udisc-pc-nom { display: block; margin: 3px 0 0; font-size: clamp(18px, min(7.6cqi, calc(58cqi / (var(--L, 8) * .74))), 30px); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.03em;
  text-transform: uppercase; overflow-wrap: anywhere; text-wrap: balance; }
.udisc .udisc-pc-desc { position: relative; z-index: 2; margin: 18px 0 0; font-size: 14px; line-height: 1.55; color: var(--pc-texte); text-wrap: pretty; }
.udisc .udisc-pc-bas { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px 12px; margin-top: auto; padding-top: 22px; }
.udisc .udisc-pc-info { min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pc-brun); }
.udisc .udisc-pc .udisc-live { column-gap: 12px; }
.udisc .udisc-pc .udisc-live-sep { display: none; }
.udisc .udisc-pc-repos { min-width: 0; display: inline-flex; align-items: center; gap: 7px; opacity: .8; }
.udisc .udisc-pc-repos[hidden] { display: none; }
.udisc .udisc-pc-repos .bx { font-size: 16px; color: var(--discord); }
.udisc .udisc-pc-lien { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Le petit bouton « Discord » : en bas à droite de chaque carte */
.udisc .udisc-pc-discord { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-left: auto; padding: 0 15px 0 12px; background: var(--discord); color: #fff;
  font-size: 12px; font-weight: 800; font-style: italic; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transform: skewX(-8deg); box-shadow: 4px 4px 0 rgba(var(--discord-rgb), .28); transition: transform .45s var(--ease), box-shadow .4s, gap .45s var(--ease), background .3s; -webkit-tap-highlight-color: transparent; }
.udisc .udisc-pc-discord > * { transform: skewX(8deg); }
.udisc .udisc-pc-discord i { font-size: 18px; }
.udisc .udisc-pc-discord .bx-right-arrow-alt { width: 0; margin-left: -8px; opacity: 0; overflow: hidden; transition: width .45s var(--ease), margin .45s var(--ease), opacity .3s; }
.udisc .udisc-pc-discord:hover { background: #4752e0; transform: skewX(-8deg) translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(var(--discord-rgb), .38); }
.udisc .udisc-pc-discord:hover .bx-right-arrow-alt { width: 18px; margin-left: 0; opacity: 1; }
.udisc .udisc-pc-discord:active { transform: skewX(-8deg) scale(.97); }
/* Étiquette « Disponible » (fiche sans repreneur, relais/CONTRAT-DISCORDS.md § 12) : à la place du bouton « Discord », même hauteur
   et même inclinaison, contour fin pointillé à la couleur de la page (vert pour Le Business, rouge pour Le Milieu), en majuscules
   italiques. Ce n'est pas un bouton : aucun effet au survol ni au clic. Couleurs prises dans l'encre de la carte (papier clair) pour
   rester lisibles. */
.udisc .udisc-pc-dispo { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-left: auto; padding: 0 15px 0 12px;
  border: 1.5px dashed rgba(var(--pc-brun-rgb), .55); background: rgba(var(--pc-brun-rgb), .07); color: var(--pc-brun);
  font-size: 12px; font-weight: 800; font-style: italic; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; cursor: default; user-select: none; transform: skewX(-8deg); }
.udisc .udisc-pc-dispo > * { transform: skewX(8deg); }
.udisc .udisc-pc-dispo i { font-size: 18px; }
@media (hover: hover) {
  .udisc .udisc-cel:hover .udisc-pc { translate: 0 -6px; box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 40px 56px -26px rgba(0, 0, 0, .92), 0 12px 18px -10px rgba(0, 0, 0, .5); }
  .udisc .udisc-cel:hover .udisc-pc::after { background-position: -40% 0; }
  .udisc .udisc-cel:hover .udisc-logo::before { rotate: 180deg; }
}

/* Passerelle vers l'autre page (Le Business ↔ Le Milieu) : bandeau photo, couleur de l'autre ambiance */
.udisc .udisc-pont { --p-rgb: 196, 52, 36; --p-acc: #e46a55; position: relative; isolation: isolate; display: flex; align-items: center; gap: 24px; min-height: 140px;
  margin-top: clamp(64px, 7vw, 110px); padding: 24px clamp(22px, 3vw, 44px) 24px clamp(30px, 3.4vw, 54px); overflow: hidden; border: 1px solid var(--verre-bord); border-radius: 4px;
  background: #0d0c0b; box-shadow: 0 40px 70px -40px #000; -webkit-tap-highlight-color: transparent; }
/* Depuis Le Milieu, la passerelle mène au légal : elle prend le vert du Business */
.udisc.udisc-ill .udisc-pont { --p-rgb: 62, 150, 108; --p-acc: #7fc3a0; }
.udisc .udisc-pont::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 4px; background: var(--p-acc); transition: width .5s var(--ease); }
.udisc .udisc-pont::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(13, 12, 11, .97) 0%, rgba(13, 12, 11, .86) 42%, rgba(13, 12, 11, .38) 78%, rgba(var(--p-rgb), .22) 100%); }
.udisc .udisc-pont-img { position: absolute; inset: 0 0 0 36%; z-index: -2; background: var(--img) var(--pos) / var(--size) no-repeat; filter: saturate(.8) brightness(.6); transform: scale(1.03);
  -webkit-mask: linear-gradient(90deg, transparent, #000 32%); mask: linear-gradient(90deg, transparent, #000 32%); transition: transform 1.4s var(--ease), filter .6s; }
.udisc .udisc-pont-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.udisc .udisc-pont-k { font-size: 24px; line-height: 1.1; color: var(--p-acc); }
.udisc .udisc-pont-t { font-size: clamp(30px, 3.6vw, 54px); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
.udisc .udisc-pont-s { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .1em; text-transform: uppercase; color: rgba(246, 241, 234, .74); }
.udisc .udisc-pont-s::before { content: ""; flex: none; width: 26px; height: 2px; border-radius: 2px; background: var(--p-acc); }
.udisc .udisc-pont-fl { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border: 1.5px solid rgba(var(--p-rgb), .55); border-radius: 50%; background: rgba(13, 12, 11, .4);
  color: var(--p-acc); font-size: 28px; transition: transform .6s var(--ease), background .4s, color .4s, border-color .4s; }
.udisc .udisc-pont:hover .udisc-pont-img { transform: scale(1.09); filter: saturate(1) brightness(.72); }
.udisc .udisc-pont:hover::before { width: 8px; }
.udisc .udisc-pont:hover .udisc-pont-fl { transform: translateX(6px); border-color: var(--p-acc); background: var(--p-acc); color: #0d0c0b; }

/* Aucun résultat ; côté sans aucune fiche (« Aucun groupe pour l’instant. ») ; liste impossible à charger */
.udisc .udisc-vide { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 10px; padding: 46px 24px; border: 2px dashed var(--line-2); border-radius: 4px; text-align: center; }
.udisc .udisc-vide[hidden] { display: none; }
.udisc .udisc-vide > i { font-size: 34px; color: var(--amb); }
.udisc .udisc-vide p { margin: 0; font-weight: 700; font-style: italic; color: var(--muted); }
.udisc .udisc-vide .btn { height: 46px; padding: 0 22px; font-size: 12.5px; }
.udisc .udisc-vide.is-erreur > i { color: #f39a85; }
/* Conteneur de la liste (refait à chaque nouvelle liste du relais) : transparent pour la mise en page, la barre reste collée sur
   toute la zone comme avant */
.udisc .udisc-liste { display: contents; }
/* Liste en cours de lecture (relais) */
.udisc .udisc-chargement { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 46px 0; font-size: 14px; font-weight: 700; font-style: italic; color: var(--muted); }
.udisc .udisc-chargement i { font-size: 22px; color: var(--amb); }

/* ---------- Adaptation écrans ---------- */
@media (max-width: 1100px) {
  .udisc .udisc-grille { --nb: 2; }
}
/* Écran moyen : le titre au-dessus, la scène en dessous */
@media (max-width: 960px) {
  .udisc .udisc-hero-grille { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .udisc .udisc-scene { width: min(100%, 640px); margin-inline: auto; }
  .udisc .ph-desc { max-width: 600px; }
}
@media (max-width: 700px) {
  .udisc .udisc-retour { margin: -4px 0 6px; }
  /* Haut de page */
  .udisc .udisc-hero { padding-top: calc(var(--hd) + 14px); padding-bottom: 64px; }
  .udisc .ph-title { font-size: clamp(40px, 12vw, 62px); margin-bottom: 16px; }
  .udisc .udisc-sous { font-size: 12.5px; margin-bottom: 12px; }
  .udisc .ph-desc { font-size: 15.5px; line-height: 1.7; }
  .udisc .udisc-hero-grille { gap: 34px; }
  .udisc .udisc-scene { padding-top: 12px; }
  .udisc .udisc-photo-cel { width: 92%; rotate: 1.6deg; }
  .udisc .udisc-photo-cel .udisc-tape { width: 84px; height: 26px; }
  .udisc .udisc-photo-cel .udisc-tape + .udisc-tape { width: 70px; }
  .udisc .udisc-photo { padding: 7px; }
  .udisc .udisc-carte-cel { width: calc(100% - 4px); margin: -20% 0 0 2px; }
  .udisc .udisc-carte { transform: perspective(1500px) rotateX(var(--rx)) rotateY(var(--ry)) rotate(-1deg); }
  .udisc .udisc-c-in { padding: 8cqi 6.6cqi 6.4cqi; }
  .udisc .udisc-c-id .udisc-logo { --lg: clamp(64px, 20cqi, 88px); }
  .udisc .udisc-c-nom { font-size: clamp(22px, min(9.4cqi, calc(56cqi / (var(--L, 8) * .74))), 40px); }
  /* Liste */
  .udisc .udisc-h2 { font-size: clamp(30px, 9vw, 40px); margin-bottom: 14px; }
  /* Une carte par ligne */
  .udisc .udisc-grille { --nb: 1; gap: 18px; }
  .udisc .udisc-pc { padding: 24px 20px 20px; }
  .udisc .udisc-pc-desc { margin-top: 14px; }
  .udisc .udisc-pc-bas { padding-top: 18px; }
  /* Passerelle vers l'autre page */
  .udisc .udisc-pont { gap: 14px; min-height: 120px; margin-top: 52px; padding: 20px 16px 20px 24px; }
  .udisc .udisc-pont-img { left: 0; }
  .udisc .udisc-pont-k { font-size: 20px; }
  .udisc .udisc-pont-t { font-size: clamp(26px, 8.4vw, 34px); }
  .udisc .udisc-pont-s { font-size: 11px; letter-spacing: .08em; }
  .udisc .udisc-pont-s::before { width: 18px; }
  .udisc .udisc-pont-fl { width: 48px; height: 48px; font-size: 24px; }
}

/* ===== ultimate-rejoindre.css ===== */
/* Page #/rejoindre — ultimate-rejoindre.js. Direction artistique de la catégorie Ultimate (maquettes v2 : en-tête de
   lexique-pancartes.html, pancartes punaisées .pk-* du lexique), sans maquette propre : textes de l'ancien site.
   Règle (CONTRAT.md) : tout est sous la classe racine .urej, chaque classe créée commence par « urej- » (états : .is-* accolés
   à une classe préfixée). Classes du site réutilisées et seulement ajustées ici : .ph, .ph-grid, .ph-tag, .ph-title, .ph-desc,
   .ph-meta, .cadre, .ph-img, .ht, .old, .hl, .hl-etq. Le site garde son en-tête, son pied de page et son fond. */
.urej {
  --papier: #efe6d8; --encre: #1b1712; --brun: #7a5a33;
  --discord: #5865f2; --discord-2: #4752c4;
  display: block;
}
/* Données pas encore arrivées (premier chargement) : la page garde sa place */
.urej.is-attente { min-height: 100svh; }

/* ---------- En-tête de la page (comme les pages intérieures des maquettes Ultimate v2) ---------- */
.urej .ph { padding: calc(var(--hd) + clamp(16px, 3vh, 34px)) 0 clamp(30px, 3.4vw, 50px); }
.urej .urej-grille { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.urej .urej-txt { min-width: 0; }
.urej .urej-retour { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin: 0 0 10px -8px; padding: 0 14px 0 8px; font-size: 12.5px; font-weight: 800;
  font-style: italic; letter-spacing: .04em; text-transform: uppercase; color: rgba(246, 241, 234, .72); transition: color .3s; }
.urej .urej-retour i { font-size: 21px; color: var(--acc); transition: transform .5s var(--ease); }
.urej .urej-retour:hover { color: #fff; }
.urej .urej-retour:hover i { transform: translateX(-5px); }
/* Étiquette : icône + étiquette « Voile » (et non le bloc beige des autres pages du site) */
.urej .ph-tag { display: flex; align-items: center; gap: 10px; width: fit-content; margin: 0 0 16px; padding: 0; background: none; color: var(--acc); transform: none; }
.urej .ph-tag > * { transform: none; }
.urej .ph-tag > i { font-size: 19px; }
.urej .ph-tag .hl-etq { font-size: 12.5px; }
.urej .ph-title { margin: 0 0 16px; font-size: clamp(46px, 5.6vw, 88px); }
/* Le voile est prévu pour une ligne : le mot en valeur ne se coupe jamais */
.urej .ph-title .hl { white-space: nowrap; }
.urej .ph-meta { margin-top: 18px; }
.urej .ph-meta b { color: var(--acc); font-weight: 900; }

/* ---------- Pancartes punaisées (comme le lexique) : elles penchent un peu et se redressent au survol ---------- */
.urej .urej-case { display: flex; flex-direction: column; min-width: 0; padding-bottom: 54px; }
.urej .urej-pk { position: relative; flex: 1; display: block; color: var(--encre); transform: rotate(var(--rot, 0deg)); transform-origin: 50% -10px;
  transition: transform .9s cubic-bezier(.3, 1.6, .45, 1); }
.urej .urej-pk:hover { transform: rotate(0deg) translateY(-6px); }
.urej .urej-punaise { position: absolute; z-index: 3; left: 50%; top: -9px; width: 18px; height: 18px; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1dc 0, #ecd3b1 30%, #9a7650 75%, #5e452a 100%); box-shadow: 0 4px 6px rgba(0, 0, 0, .55), 0 0 0 2px rgba(13, 12, 11, .25); }
.urej .urej-papier { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 236px; padding: 30px 24px 20px; background: var(--papier);
  box-shadow: 0 28px 46px -24px rgba(0, 0, 0, .95), 0 3px 0 rgba(0, 0, 0, .18); transition: box-shadow .5s; }
.urej .urej-pk:hover .urej-papier { box-shadow: 0 40px 60px -26px #000, 0 0 0 3px var(--acc); }
.urej .urej-papier.ht::after { opacity: .12; }
/* Filet intérieur, comme sur une enseigne */
.urej .urej-papier::before { content: ""; position: absolute; inset: 9px; border: 2px solid rgba(27, 23, 18, .13); pointer-events: none; }
/* Le contenu passe devant le grand numéro */
.urej .urej-papier > :not(.urej-gros) { position: relative; z-index: 1; }
.urej .urej-haut { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.urej .urej-num { display: inline-block; padding: 4px 10px; font-size: 11.5px; font-weight: 900; font-style: italic; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: var(--acc); background: var(--on-acc); transform: skewX(-8deg); }
.urej .urej-ico { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: 21px; color: var(--acc); background: var(--on-acc);
  transition: transform .8s cubic-bezier(.34, 1.56, .64, 1); }
.urej .urej-pk:hover .urej-ico { transform: rotate(-12deg) scale(1.06); }
/* Lignes équilibrées : jamais un « ? » seul sur la dernière ligne */
.urej .urej-t { margin: 0 0 10px; font-size: clamp(22px, 1.8vw, 27px); font-weight: 900; font-style: italic; line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase;
  overflow-wrap: break-word; text-wrap: balance; }
.urej .urej-r { margin: 0 0 20px; font-size: 14.5px; line-height: 1.6; color: rgba(27, 23, 18, .8); }
/* Grand numéro de l'étape, peint en bas à droite (police des numéros du site) */
.urej .urej-gros { position: absolute; z-index: 0; right: 20px; bottom: 2px; font-family: var(--font-old); font-size: 96px; line-height: 1; color: rgba(122, 90, 51, .17);
  pointer-events: none; user-select: none; }
/* Lien d'une étape (comme « Copier le lien » du lexique) : page externe = nouvel onglet */
.urej .urej-lire { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding: 0 16px; height: 40px; translate: 0 6px;
  font-size: 12.5px; font-weight: 800; font-style: italic; text-transform: uppercase; white-space: nowrap; color: var(--acc); background: var(--on-acc); transform: skewX(-8deg);
  -webkit-tap-highlight-color: transparent; transition: gap .4s var(--ease), background .3s, color .3s; }
.urej .urej-lire > * { transform: skewX(8deg); }
.urej .urej-lire i { font-size: 18px; }
.urej .urej-pk:hover .urej-lire { gap: 14px; }

/* ---------- Affiche Discord (à droite de l'en-tête) : photo collée, appel, bouton Discord ---------- */
.urej .urej-affiche-case { justify-self: end; display: flex; flex-direction: column; width: min(100%, 410px); }
.urej .urej-affiche .urej-papier { min-height: 0; padding: 26px 22px 24px; }
.urej .urej-photo { margin: 0 0 18px; rotate: -1.2deg; box-shadow: 0 16px 26px -16px rgba(0, 0, 0, .7); }
.urej .urej-photo .cadre { height: auto; aspect-ratio: 1920 / 1300; background: #f7f1e6; }
.urej .urej-photo .ph-img { display: block; width: 100%; height: 100%; background: var(--img) var(--pos, 50% 50%) / var(--size, cover) no-repeat; }
.urej .urej-lieu { position: absolute; z-index: 2; right: 16px; bottom: 10px; font-size: 25px; line-height: 1; color: var(--acc); text-shadow: 0 2px 14px rgba(0, 0, 0, .75); rotate: -4deg; }
.urej .urej-affiche .urej-t { font-size: clamp(22px, 1.75vw, 27px); }
.urej .urej-affiche .urej-r { margin-bottom: 22px; }
/* Bouton Discord : plein, bleu Discord, bien visible ; ouvre un nouvel onglet */
.urej .urej-discord { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: auto; padding: 0 18px;
  font-size: 13.5px; font-weight: 800; font-style: italic; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  color: #fff; background: var(--discord); transform: skewX(-8deg); box-shadow: 5px 5px 0 rgba(88, 101, 242, .32);
  -webkit-tap-highlight-color: transparent; transition: transform .5s var(--ease), box-shadow .4s, background .3s; }
.urej .urej-discord > * { transform: skewX(8deg); }
.urej .urej-discord i { font-size: 21px; }
.urej .urej-discord .urej-ext { font-size: 17px; opacity: .78; }
.urej .urej-discord:hover { background: var(--discord-2); transform: skewX(-8deg) translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(88, 101, 242, .4); }
.urej .urej-discord:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }

/* ---------- Les étapes ---------- */
.urej .urej-guide { padding: clamp(46px, 5vw, 70px) 0 clamp(40px, 6vw, 90px); border-top: 2px solid var(--line); }
.urej .urej-mur { --cols: 1; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: 28px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .urej .urej-mur { --cols: 2; column-gap: 24px; } }
@media (min-width: 900px) { .urej .urej-mur { --cols: 3; column-gap: 28px; } }
/* Pas encore d'étapes : une seule pancarte, au centre */
.urej .urej-mur.is-seul { --cols: 1; max-width: 620px; margin-inline: auto; }
.urej .urej-case-seule .urej-papier { min-height: 0; padding: 30px 28px 34px; }
.urej .urej-avenir { margin: 0; font-size: clamp(26px, 2.4vw, 34px); }

/* ---------- Adaptation écrans ---------- */
@media (max-width: 960px) {
  /* Une colonne : l'affiche Discord passe sous le titre, sans photo (comme la photo des autres pages du site) */
  .urej .urej-grille { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .urej .urej-affiche-case { justify-self: start; width: min(100%, 470px); }
  .urej .urej-photo { display: none; }
}
@media (max-width: 700px) {
  .urej .ph-title { font-size: clamp(40px, 12.4vw, 64px); }
  .urej .ph-desc { font-size: 15.5px; }
  .urej .urej-retour { margin-bottom: 6px; }
  .urej .urej-grille { gap: 30px; }
  .urej .urej-affiche-case { width: 100%; }
  .urej .urej-case { padding-bottom: 42px; }
  .urej .urej-pk { transform: rotate(calc(var(--rot, 0deg) * .55)); }
  .urej .urej-papier { min-height: 0; padding: 28px 20px 18px; }
  .urej .urej-affiche .urej-papier { padding: 26px 20px 22px; }
  .urej .urej-t { font-size: clamp(22px, 7vw, 26px); }
  .urej .urej-affiche .urej-t { font-size: clamp(22px, 6.6vw, 25px); }
  .urej .urej-r { font-size: 15px; }
  .urej .urej-lire { height: 42px; }
  .urej .urej-gros { font-size: 70px; }
  .urej .urej-avenir { font-size: clamp(24px, 7.4vw, 30px); }
  .urej .urej-guide { padding-top: 44px; }
}

/* ===== reglement-regie.css ===== */
/* Composant « Règlement » (reglement-regie.js) : #/reglement (les trois affiches de film) et #/reglement/<cle>[/<section>/<n>]
   (intérieur « Régie B Minimale »). Modèle de rendu : maquettes-reglement/v5/reglement-regie-b.html (choix du propriétaire).
   Tout est sous la classe racine .rgx (la page et le calque fixe .rgx.rgx-calque) ; chaque classe créée par le composant
   commence par « rgx- » (@keyframes et identifiants aussi). Le site garde son en-tête, son pied de page et son fond
   (la lueur de la couleur du règlement est posée par le site sur .fond[data-reglement]).
   Classes du site reprises telles quelles : .wrap, .ph, .ph-tag, .ph-title, .ph-desc, .hl (dégradé « Voile »), .dg-vert, .dg-rouge,
   .old, .couronne, .tape, .btn, .btn-out.
   Aucune règle prefers-reduced-motion : les animations restent actives (demande du propriétaire). */

/* ---------- Couleur de chaque règlement ----------
   --t lueurs, filets, barres (r, g, b) · --tt texte coloré sur fond sombre · --t-grad fond plein · --t-on texte posé dessus · --grade teinte des photos
   Global = beige (couleur du site), Légal = vert, Illégal = rouge, Streamer = beige (comme Global : sans sa propre classe, son lien de
   fin de lecture prendrait la couleur du règlement ouvert). La racine porte la classe du règlement ouvert. */
.rgx {
  --line: rgba(236, 211, 177, .1); --line-2: rgba(236, 211, 177, .22);
  --t: 236, 211, 177; --tt: #ecd3b1; --t-grad: linear-gradient(180deg, #f3dfc2, #e2c39b); --t-on: #0d0c0b; --grade: 0;
}
.rgx.rgx-t-global, .rgx .rgx-t-global, .rgx.rgx-t-streamer, .rgx .rgx-t-streamer { --t: 236, 211, 177; --tt: #ecd3b1; --t-grad: linear-gradient(180deg, #f3dfc2, #e2c39b); --t-on: #0d0c0b; --grade: 0; }
.rgx.rgx-t-legal, .rgx .rgx-t-legal { --t: 84, 168, 122; --tt: #98d1ae; --t-grad: linear-gradient(180deg, #4c8e6a, #285b42); --t-on: #f4ede1; --grade: .22; }
.rgx.rgx-t-illegal, .rgx .rgx-t-illegal { --t: 200, 64, 48; --tt: #ef8f7b; --t-grad: linear-gradient(180deg, #be3f2d, #87221a); --t-on: #fbf0e6; --grade: .3; }

/* Mot en valeur du titre (« Voile ») : voile vert pour le Légal, rouge pour l'Illégal, mot clair (réglage de la maquette) */
.rgx .dg-vert { --dg-rgb: 34 107 76; --dg-barre: linear-gradient(180deg, #62bb8f, #2a7b56); --dg-encre: var(--dg-clair);
  --dg-voile-rgb: 26 80 52; --dg-v0: .93; --dg-v1: .85; --dg-v2: .68; --dg-v3: .42; --dg-v4: .16; }
.rgx .dg-rouge { --dg-rgb: 163 41 29; --dg-barre: linear-gradient(180deg, #d9573f, #a3291d); --dg-encre: var(--dg-clair);
  --dg-voile-rgb: 118 27 19; --dg-v0: .93; --dg-v1: .85; --dg-v2: .68; --dg-v3: .42; --dg-v4: .16; }

.rgx .rgx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rgx mark { padding: 0 3px; border-radius: 1px; background: var(--acc); color: var(--on-acc); -webkit-text-fill-color: var(--on-acc); }

/* ==========================================================================
   ACCUEIL #/reglement : trois affiches de film
   ========================================================================== */
.rgx .rgx-ac-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 48px; align-items: end; }
.rgx .rgx-ac-ph { padding-top: calc(var(--hd) + clamp(26px, 4.4vh, 52px)); padding-bottom: clamp(30px, 3.6vw, 50px); }
.rgx .rgx-ac-ph .ph-title { margin-bottom: 0; font-size: clamp(46px, 5.4vw, 84px); }
.rgx .rgx-ac-ph .ph-desc { padding-bottom: 10px; }
.rgx .rgx-ac-ph .ph-tag { background: var(--beige); color: var(--on-acc); }
.rgx .rgx-ac-corps { padding: 6px 0 clamp(80px, 9vw, 130px); }
/* Quatre affiches (Global, Légal, Illégal, Streamer) : sur une rangée, puis 2 × 2 (≤ 1220 px), puis l'une sous l'autre (≤ 960 px) */
.rgx .rgx-affiches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 44px); }
.rgx .rgx-af { --rot: 0deg; position: relative; display: block; padding: 10px; background: #efe6d8; rotate: var(--rot); box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .95);
  transition: transform .8s var(--ease), rotate .8s var(--ease), box-shadow .6s; }
.rgx .rgx-af:nth-child(even) { margin-top: 30px; }
.rgx .rgx-af:hover { rotate: 0deg; transform: translateY(-14px) scale(1.02); box-shadow: 0 54px 90px -30px #000; z-index: 2; }
.rgx .rgx-af-in { position: relative; display: block; aspect-ratio: 3 / 4.15; overflow: hidden; isolation: isolate; background: #0d0c0b; container-type: inline-size; }
.rgx .rgx-af-photo { position: absolute; inset: 0; z-index: -3; background: var(--img) var(--pos) / var(--size) no-repeat; filter: grayscale(.32) contrast(1.06); transform: scale(1.02);
  transition: transform 1.6s var(--ease), filter .7s; }
.rgx .rgx-af-photo::after { content: ""; position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .22; background-image: radial-gradient(rgba(0, 0, 0, .55) 1px, transparent 1.5px); background-size: 4px 4px; }
.rgx .rgx-af:hover .rgx-af-photo { filter: none; transform: scale(1.08); }
.rgx .rgx-af-grade { position: absolute; inset: 0; z-index: -2; background: rgb(var(--t)); opacity: var(--grade); mix-blend-mode: color; transition: opacity .7s; }
.rgx .rgx-af:hover .rgx-af-grade { opacity: calc(var(--grade) * .5); }
.rgx .rgx-af-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 9, 8, .62) 0%, rgba(10, 9, 8, 0) 18%, rgba(10, 9, 8, .08) 30%, rgba(10, 9, 8, .55) 44%, rgba(10, 9, 8, .84) 60%, rgba(10, 9, 8, .96) 100%); }
.rgx .rgx-af-haut { position: absolute; left: 16px; right: 14px; top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rgx .rgx-af-studio { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 900; font-style: italic; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.rgx .rgx-af-studio .couronne { width: 24px; color: var(--couronne); }
.rgx .rgx-af-ico { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--on-acc); color: var(--tt); font-size: 21px; box-shadow: 0 0 0 2px rgba(var(--t), .4); }
.rgx .rgx-af-bas { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(16px, 6cqi, 26px) clamp(16px, 6cqi, 26px); }
.rgx .rgx-af-kick { display: block; font-size: clamp(20px, 6.6cqi, 28px); line-height: 1.2; color: var(--tt); text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.rgx .rgx-af-titre { display: block; margin: 4px 0 12px; font-size: clamp(34px, min(19cqi, calc(118cqi / var(--L, 6))), 90px); font-weight: 900; font-style: italic; line-height: .9; letter-spacing: -.045em; text-transform: uppercase; color: #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, .5); }
.rgx .rgx-af-compte { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 10px; font-style: italic; text-transform: uppercase; }
.rgx .rgx-af-compte b { padding: 0 8px; font-size: clamp(22px, 8cqi, 32px); font-weight: 900; line-height: 1.15; color: var(--t-on); background: var(--t-grad); transform: skewX(-8deg); display: inline-block; }
.rgx .rgx-af-compte > span { font-size: 15px; font-weight: 900; color: #fff; }
.rgx .rgx-af-compte small { font-size: 12px; font-weight: 800; color: rgba(246, 241, 234, .62); }
.rgx .rgx-af-desc { display: block; margin: 0 0 16px; font-size: 13.5px; line-height: 1.6; color: rgba(246, 241, 234, .76); }
.rgx .rgx-af-b { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; font-size: 13px; font-weight: 800; font-style: italic; letter-spacing: .03em; text-transform: uppercase;
  background: var(--beige); color: var(--on-acc); transform: skewX(-8deg); box-shadow: 5px 5px 0 rgba(236, 211, 177, .2); transition: gap .45s var(--ease), box-shadow .4s, transform .5s var(--ease); }
.rgx .rgx-af-b > * { transform: skewX(8deg); }
.rgx .rgx-af-b i { font-size: 19px; }
.rgx .rgx-af:hover .rgx-af-b { gap: 14px; box-shadow: 8px 8px 0 rgba(236, 211, 177, .28); transform: skewX(-8deg) translate(-2px, -2px); }
.rgx .rgx-af-tape { top: -13px; left: 38%; rotate: -5deg; }
.rgx .rgx-af:nth-child(even) .rgx-af-tape { left: auto; right: 22%; rotate: 6deg; width: 96px; }
.rgx .rgx-ac-avert { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: clamp(46px, 5vw, 70px); }

/* Avertissement de l'accueil (texte des données) : carton d'avant-film */
.rgx .rgx-carton { position: relative; display: flex; align-items: center; gap: 14px; max-width: 760px; padding: 14px 20px 14px 14px; border: 1.5px solid rgba(240, 120, 100, .4); border-radius: 3px;
  background: rgba(40, 16, 12, .5); color: #f1b3a2; font-size: 14px; font-weight: 600; line-height: 1.55; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rgx .rgx-carton > i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(240, 120, 100, .14); color: #f08a76; font-size: 21px; }
.rgx .rgx-carton p { margin: 0; }

/* ==========================================================================
   INTÉRIEUR « RÉGIE MINIMALE » #/reglement/<cle>
   ========================================================================== */

/* ---------- En-tête du règlement : retour, titre en Voile, avertissement en une phrase, chiffres ---------- */
.rgx .rgx-rh { position: relative; padding: calc(var(--hd) + clamp(18px, 3.4vh, 40px)) 0 clamp(22px, 2.4vw, 32px); }
.rgx .rgx-rh-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 56px; align-items: end; }
/* Au-dessus du titre : les lettres découpées du titre débordent vers le haut (place de leur animation) */
.rgx .rgx-rh-retour { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin: 0 0 4px -6px; padding: 0 12px 0 4px; border-radius: 3px;
  font-size: 12.5px; font-weight: 800; font-style: italic; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); transition: color .3s, background .3s; }
.rgx .rgx-rh-retour i { font-size: 20px; transition: transform .5s var(--ease); }
.rgx .rgx-rh-retour:hover { color: var(--acc); background: rgba(255, 255, 255, .04); }
.rgx .rgx-rh-retour:hover i { transform: translateX(-4px); }
.rgx .rgx-rh-titre { margin: 0; font-weight: 900; font-style: italic; font-size: clamp(44px, 5.5vw, 86px); line-height: 1.04; letter-spacing: -.035em; word-spacing: .12em; text-transform: uppercase; }
.rgx .rgx-rh-titre .hl { --hd-delay: .45s; }
.rgx .rgx-rh-avert { display: flex; align-items: flex-start; gap: 10px; max-width: 780px; margin: 16px 0 0; font-size: 15px; font-weight: 600; line-height: 1.55; color: #f1c4b6; }
.rgx .rgx-rh-avert i { flex: none; margin-top: 1px; font-size: 20px; color: #f08a76; }
.rgx .rgx-rh-stats { display: flex; margin: 0; padding: 0 0 6px; }
.rgx .rgx-rh-stat { display: flex; flex-direction: column; align-items: flex-end; margin-left: 30px; padding-left: 30px; border-left: 1px solid var(--line-2); }
.rgx .rgx-rh-stat:first-child { margin-left: 0; padding-left: 0; border-left: 0; }
.rgx .rgx-rh-stat dd { order: -1; margin: 0; padding-right: .06em; font-size: clamp(40px, 3.7vw, 58px); font-weight: 900; font-style: italic; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 10%, var(--tt) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.rgx .rgx-rh-stat dt { margin-top: 7px; font-size: 11.5px; font-weight: 800; font-style: italic; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }

.rgx .rgx-lec { position: relative; padding-bottom: clamp(90px, 10vw, 150px); }

/* ---------- La barre collée de la lecture : règlements · chapitre en cours · recherche, progression en bas ----------
   C'est la BARRE DE FILTRES COMMUNE du site : .fx-barre de commun.css (mécanique Ultimate.filtres de commun.js, guide
   FILTRES.md), la même que Le Business / Le Milieu. Segments Global / Légal / Illégal (data-fx-ton beige / vert / rouge posé
   sur chaque segment : la barre prend la couleur du règlement ouvert), menu du chapitre (.fx-menu), recherche (.fx-rech),
   trait de progression par chapitre (.fx-prog). Rien à styler ici : même apparence et même comportement sur toutes les pages.
   (La liste des chapitres qui s'ouvre sous la barre reste celle de la page, dans le calque fixe ci-dessous.)
   La marge qui évite de rogner la dernière lettre italique du titre du chapitre (« MASS RP ») est dans commun.css (toutes les barres). */

/* ---------- Calque fixe (hors de la page, au-dessus de l'en-tête) : liste des chapitres et petite notification ---------- */
.rgx.rgx-calque { position: fixed; inset: 0; z-index: 58; pointer-events: none; }
/* Liste des chapitres : menu sous la barre (ordinateur), tiroir du bas (téléphone) */
.rgx .rgx-som-voile { position: fixed; inset: 0; z-index: 58; background: rgba(5, 5, 4, .6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); pointer-events: auto; }
.rgx .rgx-som-p { position: fixed; z-index: 60; top: var(--som-top, 160px); left: var(--som-l, 40px); width: var(--som-w, 600px); max-height: min(62vh, 540px); overflow: auto; overscroll-behavior: contain;
  padding: 8px; border: 1px solid var(--verre-bord); border-radius: 6px; background: rgba(17, 16, 14, .97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .95); scrollbar-width: thin; pointer-events: auto; }
.rgx .rgx-som-h { display: none; align-items: center; justify-content: space-between; gap: 12px; margin: 0 4px 8px 8px; }
.rgx .rgx-som-h b { display: inline-flex; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 900; font-style: italic; text-transform: uppercase; }
.rgx .rgx-som-h b small { font-size: 11px; font-weight: 800; color: var(--muted); }
.rgx .rgx-som-f { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 3px; font-size: 22px; color: var(--muted); transition: color .3s, background .3s; }
.rgx .rgx-som-f:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.rgx .rgx-som-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.rgx .rgx-som-i { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 46px; padding: 8px 12px 8px 14px; border-radius: 3px;
  text-align: left; transition: background .25s; }
.rgx .rgx-som-i:hover, .rgx .rgx-som-i:focus-visible { background: rgba(var(--t), .08); }
.rgx .rgx-som-i:focus-visible { outline-offset: -2px; }
.rgx .rgx-som-i.is-cur { background: rgba(var(--t), .12); }
.rgx .rgx-som-i.is-cur::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: rgb(var(--t)); }
.rgx .rgx-som-num { font-size: 14px; font-weight: 900; font-style: italic; color: var(--tt); font-variant-numeric: tabular-nums; }
.rgx .rgx-som-t { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.rgx .rgx-som-c { font-size: 11px; font-weight: 800; font-style: italic; text-transform: uppercase; white-space: nowrap; color: var(--dim); }

/* Petite notification (« Lien copié ») */
.rgx .rgx-toast { position: fixed; left: 50%; bottom: 26px; z-index: 70; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 11px 18px; border: 1px solid rgba(236, 211, 177, .3); border-radius: 3px;
  background: rgba(17, 16, 14, .96); font-size: 13px; font-weight: 700; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: opacity .35s, transform .5s var(--ease); }
.rgx .rgx-toast i { font-size: 19px; color: #8fdca3; }
.rgx .rgx-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Chapitres : grand numéro, titre, nombre de règles, filet de couleur ---------- */
.rgx .rgx-cp { padding-bottom: clamp(36px, 3.8vw, 56px); }
.rgx .rgx-cp-h { position: relative; display: flex; align-items: flex-end; gap: clamp(14px, 1.6vw, 22px); padding: 0 6px 14px 2px; }
.rgx .rgx-cp-h::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; transform-origin: left; transform: scaleX(var(--ligne, 1));
  background: linear-gradient(90deg, rgba(var(--t), .75), rgba(var(--t), .18) 45%, rgba(var(--t), 0)); }
.rgx .rgx-cp-n { flex: none; padding-right: .06em; font-size: clamp(42px, 3.8vw, 60px); font-weight: 900; font-style: italic; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 5%, var(--tt) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.rgx .rgx-cp-t { flex: 1; min-width: 0; margin: 0; padding-bottom: 2px; font-size: clamp(22px, 2.15vw, 32px); font-weight: 900; font-style: italic; line-height: 1.06; letter-spacing: -.02em; word-spacing: .08em;
  text-transform: uppercase; text-wrap: balance; transition: color .4s; }
.rgx .rgx-cp-c { flex: none; padding-bottom: 6px; font-size: 11.5px; font-weight: 800; font-style: italic; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
.rgx .rgx-cp.is-flash .rgx-cp-t { animation: rgx-cp-flash 1.6s var(--ease); }
@keyframes rgx-cp-flash { 0%, 35% { color: var(--tt); } 100% { color: var(--text); } }
.rgx .rgx-cp-l { margin-top: 12px; border: 1px solid var(--verre-bord); border-radius: 6px; background: rgba(16, 15, 13, .82); box-shadow: 0 24px 50px -36px rgba(0, 0, 0, .95); }

/* ---------- Les règles : une ligne lisible (numéro, titre, aperçu), le texte s'ouvre dessous ----------
   Ouverture d'une règle : animation « 1 · Déroulé » (maquettes-reglement/v5/reglement-animations.html?anim=1), partie CSS
   (la partie animée par GSAP est dans reglement-regie.js, fonction animerOuverture) : le liseré de la couleur du règlement
   descend depuis le haut (::before), fond teinté, titre coloré, aperçu replié, flèche retournée. Les courbes sont les mêmes que
   celles de GSAP : ouverture cubic-bezier(.32, .72, 0, 1) en 0,55 s ; fermeture cubic-bezier(.4, 0, .2, 1) en 0,42 s,
   l'aperçu ne revenant qu'une fois le texte parti (pas de doublon avec le point 01). */
.rgx .rgx-ln { position: relative; border-top: 1px solid var(--line); transition: background-color .4s; }
.rgx .rgx-ln:first-child { border-top: 0; border-radius: 5px 5px 0 0; }
.rgx .rgx-ln:last-child { border-radius: 0 0 5px 5px; }
.rgx .rgx-ln:only-child { border-radius: 5px; }
.rgx .rgx-ln::before { content: ""; position: absolute; z-index: 1; left: -1px; top: -1px; bottom: -1px; width: 3px; border-radius: 3px; pointer-events: none; background: rgb(var(--t));
  box-shadow: 0 0 14px rgba(var(--t), .85); transform: scaleY(0); transform-origin: 50% 0; transition: transform .55s cubic-bezier(.32, .72, 0, 1); }
.rgx .rgx-ln:not(.is-open)::before { transition: transform .42s cubic-bezier(.4, 0, .2, 1) .03s; }
.rgx .rgx-ln:hover { background-color: rgba(255, 255, 255, .025); }
.rgx .rgx-ln.is-open { background-color: rgba(var(--t), .055); }
.rgx .rgx-ln.is-open::before { transform: scaleY(1); }
/* Numéro et titre alignés en haut (la ligne raccourcit en douceur quand l'aperçu se replie), flèche centrée */
.rgx .rgx-ln-q { display: grid; grid-template-columns: 64px minmax(0, 1fr) 40px; align-items: start; column-gap: 14px; width: 100%; padding: 14px 16px 14px 22px; text-align: left; }
.rgx .rgx-ln-q:focus-visible { outline-offset: -3px; }
.rgx .rgx-ln-n { font-size: 17px; font-weight: 900; font-style: italic; line-height: 1.3; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--tt); }
.rgx .rgx-ln-mid { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rgx .rgx-ln-t { font-size: 17px; font-weight: 900; font-style: italic; line-height: 1.3; letter-spacing: -.005em; word-spacing: .05em; text-transform: uppercase; transition: color .35s; }
.rgx .rgx-ln.is-open .rgx-ln-t { color: var(--tt); }
.rgx .rgx-ln-ap { display: block; max-height: 1.6em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.5px; line-height: 1.6; color: rgba(246, 241, 234, .58);
  transition: max-height .55s cubic-bezier(.32, .72, 0, 1), opacity .14s, color .3s; }
.rgx .rgx-ln:not(.is-open) .rgx-ln-ap { transition: max-height .42s cubic-bezier(.4, 0, .2, 1) .03s, opacity .2s .26s, color .3s; }
.rgx .rgx-ln:hover .rgx-ln-ap { color: rgba(246, 241, 234, .76); }
.rgx .rgx-ln.is-open .rgx-ln-ap { max-height: 0; opacity: 0; }
/* Ouverture instantanée (lien direct, recherche, règle refermée au-dessus) : l'aperçu se replie d'un coup */
.rgx .rgx-ln.rgx-net .rgx-ln-ap { transition: none !important; }
.rgx .rgx-ln-i { align-self: center; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font-size: 22px; color: var(--muted); transition: transform .55s cubic-bezier(.32, .72, 0, 1), color .3s, background .3s; }
.rgx .rgx-ln:not(.is-open) .rgx-ln-i { transition: transform .42s cubic-bezier(.4, 0, .2, 1), color .3s, background .3s; }
.rgx .rgx-ln-q:hover .rgx-ln-i { color: var(--tt); background: rgba(var(--t), .1); }
.rgx .rgx-ln.is-open .rgx-ln-i { transform: rotate(180deg); color: var(--tt); }
.rgx .rgx-ln-r { height: 0; overflow: hidden; }
.rgx .rgx-ln-in { padding: 0 70px 18px 100px; }
.rgx .rgx-ln-l { margin: 0; padding: 0; list-style: none; }
.rgx .rgx-ln-l li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px; padding: 5px 0; }
.rgx .rgx-ln-l.rgx-un li { display: block; }
.rgx .rgx-ln-ln { font-size: 12.5px; font-weight: 900; font-style: italic; line-height: calc(15.5px * 1.75); letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--tt); }
.rgx .rgx-ln-l p { max-width: 920px; margin: 0; font-size: 15.5px; line-height: 1.75; color: rgba(246, 241, 234, .93); }
.rgx .rgx-ln-pied { display: flex; margin-top: 12px; }
.rgx .rgx-ln-b { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 3px;
  font-size: 11.5px; font-weight: 800; font-style: italic; letter-spacing: .04em; text-transform: uppercase; color: rgba(246, 241, 234, .78); transition: border-color .3s, color .3s; }
.rgx .rgx-ln-b i { font-size: 17px; }
.rgx .rgx-ln-b:hover { border-color: rgba(var(--t), .6); color: var(--tt); }
.rgx .rgx-ln-b.is-ok, .rgx .rgx-ln-b.is-ok:hover { border-color: rgba(98, 212, 127, .6); color: #9be3ad; }
/* Lien direct ouvert : la règle s'éclaire deux fois */
.rgx .rgx-ln.is-flash { animation: rgx-ln-flash 2.4s var(--ease); }
@keyframes rgx-ln-flash {
  0%, 18%, 48% { background-color: rgba(var(--t), .2); }
  33% { background-color: rgba(var(--t), .07); }
  100% { background-color: rgba(var(--t), .055); }
}

/* Recherche sans résultat */
.rgx .rgx-vide { padding: 40px 24px; border: 2px dashed var(--line-2); border-radius: 4px; text-align: center; }
.rgx .rgx-vide p { margin: 0; font-weight: 700; font-style: italic; color: var(--muted); }
.rgx .rgx-vide-autres { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rgx .rgx-vide-a { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 3px; background: rgba(13, 12, 11, .5);
  font-size: 13px; font-weight: 800; font-style: italic; text-transform: uppercase; transition: border-color .3s, transform .5s var(--ease); }
.rgx .rgx-vide-a i { font-size: 18px; color: var(--tt); }
.rgx .rgx-vide-a b { padding: 3px 6px 2px; border-radius: 2px; font-size: 10.5px; background: rgba(var(--t), .18); color: var(--tt); }
.rgx .rgx-vide-a:hover { border-color: var(--tt); transform: skewX(-8deg); }

/* Fin du règlement : passer aux deux autres */
.rgx .rgx-fin { padding-top: clamp(14px, 2vw, 30px); text-align: center; }
.rgx .rgx-fin-old { display: block; font-size: clamp(58px, 6.4vw, 96px); line-height: 1.15; color: var(--tt); text-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.rgx .rgx-fin-autres { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.rgx .rgx-fin-a { display: inline-flex; align-items: center; gap: 14px; min-width: 300px; min-height: 68px; padding: 10px 18px 10px 12px; border: 1px solid var(--verre-bord); border-radius: 4px;
  background: rgba(17, 16, 14, .82); text-align: left; transition: border-color .4s, transform .6s var(--ease), background .4s; }
.rgx .rgx-fin-a:hover { border-color: rgba(var(--t), .55); background: rgba(var(--t), .07); transform: translateY(-3px); }
.rgx .rgx-fin-a-ico { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(var(--t), .12); color: var(--tt); font-size: 21px; }
.rgx .rgx-fin-a-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.15; }
.rgx .rgx-fin-a-t b { font-size: 17px; font-weight: 900; font-style: italic; letter-spacing: -.01em; text-transform: uppercase; }
.rgx .rgx-fin-a-t span { font-size: 11.5px; font-weight: 800; font-style: italic; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.rgx .rgx-fin-a > .bx-right-arrow-alt { flex: none; font-size: 24px; color: var(--tt); transition: transform .5s var(--ease); }
.rgx .rgx-fin-a:hover > .bx-right-arrow-alt { transform: translateX(5px); }
.rgx .rgx-fin-retour { margin-top: 30px; }

/* ---------- Adaptation écrans (mêmes paliers que la maquette ; la barre collée suit ceux de la barre commune) ---------- */
@media (max-width: 1220px) {
  .rgx .rgx-som-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Les quatre affiches en 2 × 2, plus étroites pour garder la page courte */
  .rgx .rgx-affiches { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .rgx .rgx-rh-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .rgx .rgx-rh-stats { padding: 0; }
  .rgx .rgx-rh-stat { flex-direction: row; align-items: baseline; gap: 8px; margin-left: 20px; padding-left: 20px; }
  .rgx .rgx-rh-stat dd { font-size: 30px; }
  .rgx .rgx-rh-stat dt { margin: 0; }
}
@media (max-width: 960px) {
  .rgx .rgx-ac-grid { grid-template-columns: minmax(0, 1fr); }
  .rgx .rgx-affiches { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; gap: 34px; }
  .rgx .rgx-af:nth-child(even) { margin-top: 0; }
  .rgx .rgx-ln-in { padding-right: 40px; }
}
@media (max-width: 760px) {
  /* Tiroir du bas */
  .rgx .rgx-som-p { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 78vh; padding: 14px 12px calc(16px + env(safe-area-inset-bottom)); border-radius: 14px 14px 0 0; border-bottom: 0; }
  .rgx .rgx-som-p::before { content: ""; display: block; width: 44px; height: 4px; margin: -2px auto 10px; border-radius: 2px; background: rgba(255, 255, 255, .18); }
  .rgx .rgx-som-h { display: flex; }
  .rgx .rgx-som-g { grid-template-columns: minmax(0, 1fr); }
  /* En-tête du règlement */
  .rgx .rgx-rh-avert { font-size: 14px; }
  /* Chapitres et règles */
  .rgx .rgx-cp-h { gap: 12px; padding: 0 2px 12px; }
  .rgx .rgx-cp-n { font-size: 40px; }
  .rgx .rgx-cp-t { font-size: clamp(19px, 5.6vw, 24px); }
  .rgx .rgx-cp-c { display: none; }
  .rgx .rgx-cp-l { margin-top: 10px; }
  .rgx .rgx-ln-q { grid-template-columns: 46px minmax(0, 1fr) 36px; column-gap: 10px; padding: 12px 8px 12px 14px; }
  .rgx .rgx-ln-n { font-size: 14.5px; line-height: 1.32; }
  .rgx .rgx-ln-t { font-size: 15px; line-height: 1.32; }
  .rgx .rgx-ln-ap { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; max-height: 3.2em; white-space: normal; font-size: 13.5px; }
  .rgx .rgx-ln-i { width: 36px; height: 36px; font-size: 21px; }
  .rgx .rgx-ln-in { padding: 0 14px 16px 14px; }
  .rgx .rgx-ln-l li { grid-template-columns: 28px minmax(0, 1fr); }
  .rgx .rgx-ln-l p { font-size: 15px; }
  .rgx .rgx-ln-ln { line-height: calc(15px * 1.75); }
  .rgx .rgx-fin-autres { flex-direction: column; align-items: stretch; }
  .rgx .rgx-fin-a { min-width: 0; }
  .rgx .rgx-fin-retour { width: 100%; }
}
@media (max-width: 700px) {
  .rgx .ph-title, .rgx .rgx-ac-ph .ph-title { font-size: clamp(40px, 12.4vw, 64px); }
  .rgx .ph-desc { font-size: 15.5px; }
  .rgx .rgx-affiches { padding-inline: 6px; }
  .rgx .rgx-af-in { aspect-ratio: 3 / 3.9; }
  .rgx .rgx-af:nth-child(1) { --rot: -1.2deg; } .rgx .rgx-af:nth-child(2) { --rot: 1deg; } .rgx .rgx-af:nth-child(3) { --rot: -.8deg; }
  .rgx .rgx-af:nth-child(4) { --rot: 1.1deg; }
  .rgx .rgx-carton { font-size: 13.5px; padding: 12px 14px 12px 12px; }
  .rgx .rgx-rh-titre { font-size: clamp(38px, 11.4vw, 60px); }
  .rgx .rgx-rh-stat dd { font-size: 26px; }
}

/* ===== neige.css ===== */
/* Neige de Noël (neige.js). 04/11/2026 : « Neige en profondeur » ; 30/11/2026 : maquette 2 « Guirlande dorée » + neige en bas du site,
   qui se pose et s'entasse (dessinée dans le canvas, comme la neige qui tombe). Calque fixe au-dessus de la page et de son en-tête
   (z-index 55 ; les fenêtres ouvertes passent toujours devant), qui ne prend aucun clic. La guirlande est accrochée dans l'en-tête. */
.neige { position: fixed; inset: 0; z-index: 55; pointer-events: none; overflow: hidden; --sol: 17px; }
.neige canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Trois flocons dans chaque coin du bas, posés à peu près sur la neige au sol, qui scintillent (opacité) en tournant, deux sens */
.neige-coin { position: absolute; width: 112px; height: 112px; }
.neige-bg { bottom: var(--sol); left: 8px; transform: scaleY(-1); }
.neige-bd { bottom: var(--sol); right: 8px; transform: scale(-1, -1); }
.neige-flocon { position: absolute; display: block; width: var(--t); height: var(--t); color: #fff; opacity: .55; animation: neige-scintille var(--d) ease-in-out infinite; animation-delay: var(--r, 0s); }
.neige-flocon svg { display: block; width: 100%; height: 100%; overflow: visible; animation: neige-tourne var(--v) linear infinite; }
.neige-flocon.n1 { --t: 54px; --d: 5s; --v: 44s; top: 4px; left: 4px; }
.neige-flocon.n2 { --t: 30px; --d: 3.6s; --v: 30s; --r: -1.2s; top: 58px; left: 18px; }
.neige-flocon.n2 svg { animation-direction: reverse; }
.neige-flocon.n3 { --t: 22px; --d: 4.4s; --v: 26s; --r: -2.4s; top: 12px; left: 66px; }
@keyframes neige-tourne { to { rotate: 360deg; } }
@keyframes neige-scintille { 0%, 100% { opacity: .55; } 50% { opacity: .19; } }

/* Guirlande en festons sous l'en-tête (ampoules dorées et blanches) ; cachée avec l'en-tête au défilement et sous le menu ouvert */
.neige-guirlande { position: absolute; left: 0; right: 0; top: 100%; height: 84px; pointer-events: none; transition: opacity .4s; }
.neige-guirlande svg { display: block; overflow: visible; }
.hd.is-hidden .neige-guirlande, body.menu-open .neige-guirlande { opacity: 0; }
.neige-ampoule { animation: neige-ampoule var(--d, 2.6s) ease-in-out infinite; animation-delay: var(--r, 0s); }
.neige-ampoule ellipse { filter: drop-shadow(0 0 3px var(--c)); }
@keyframes neige-ampoule { 0%, 100% { opacity: 1; } 50% { opacity: .38; } }

/* Téléphone : coins plus petits (mêmes places, × 0,72 ; les retournements des coins restent sur place), neige au sol plus basse */
@media (max-width: 700px) {
  .neige { --sol: 12px; }
  .neige-coin { width: 81px; height: 81px; }
  .neige-flocon.n1 { --t: 39px; top: 3px; left: 3px; }
  .neige-flocon.n2 { --t: 22px; top: 42px; left: 13px; }
  .neige-flocon.n3 { --t: 16px; top: 9px; left: 48px; }
}

/* Version de cette mise en ligne (preparer-en-ligne.ps1) : contrôlée par la page (VERSION_SITE) */
:root { --ultimate-site: '38391c2e0c5a'; }
