/* ═══════════════════════════════════════════════════════════════════════
   Les pages des rubriques Compétition et Communauté (lot 282, 22 octobre
   2026, maquette « Compétition et Communauté » validée par Dimitri).
   Pages : /competition.html (public/js/competition-page.mjs) et
   /communaute.html (public/js/communaute-page.mjs). Les icônes de couleur
   (.rb-ico) viennent de style.css (menus de la barre du haut).
   ═══════════════════════════════════════════════════════════════════════ */

.rb-page { display: flex; flex-direction: column; gap: 40px; padding-bottom: 40px; }
.rb-tete { display: flex; flex-direction: column; gap: 10px; }
.rb-tete h1 { margin: 0; font-size: clamp(30px, 6vw, 42px); font-weight: 800; letter-spacing: -.02em; }
.rb-tete p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--body); max-width: 660px; }
.rb-section { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: calc(var(--hauteur-nav, 65px) + 16px); }
.rb-section-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rb-section-tete h2 { margin: 0; font-size: 21px; font-weight: 800; }
.rb-section-tete .n { font-size: 13px; color: var(--muted); }
.rb-section-tete a { font-size: 13.5px; font-weight: 700; }
.rb-vide { color: var(--muted); font-size: 14px; margin: 0; }

/* Les ancres de la page (Artistes · Casters). */
.rb-ancres { display: flex; gap: 8px; flex-wrap: wrap; }
.rb-ancres a { font-size: 13.5px; font-weight: 700; color: var(--text); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 9px 16px; }
.rb-ancres a:hover { border-color: var(--accent); color: var(--text); }

/* ── Compétition ─────────────────────────────────────────────────────── */
.rb-recherche { display: flex; flex-direction: column; gap: 6px; max-width: 640px; margin-top: 4px; }
.rb-recherche span { font-size: 12px; font-weight: 700; color: var(--muted); }
.rb-recherche input { font: inherit; font-size: 15.5px; color: var(--text); background: var(--surface); border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px; padding: 13px 15px; color-scheme: dark; }
.rb-recherche input:focus { outline: none; border-color: var(--cyan); }
.rb-resultats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.rb-resultats[hidden] { display: none; }
.rb-res { background: var(--surface); border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.rb-res h3 { margin: 0 0 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rb-res a.l { display: flex; flex-direction: column; padding: 6px 8px; border-radius: 9px; color: var(--text); }
.rb-res a.l:hover { background: rgba(255,255,255,.05); color: var(--text); }
.rb-res a.l b { font-size: 14px; }
.rb-res a.l small { font-size: 12px; color: var(--muted); }
.rb-res .tout { font-size: 12.5px; font-weight: 800; padding: 4px 8px 2px; }

.rb-rubriques { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }   /* 180 px (et non 220) : les cinq cartes de Compétition tiennent sur une ligne depuis l'arrivée de Recrutement */
.rb-rubrique { background: var(--surface); border: 1px solid rgba(255,255,255,.10); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--text); }
.rb-rubrique:hover { border-color: rgba(255,255,255,.26); color: var(--text); }
.rb-rubrique .rb-ico { width: 44px; height: 44px; border-radius: 12px; }
.rb-rubrique .rb-ico svg { width: 23px; height: 23px; }
.rb-rubrique b { font-size: 18px; }
.rb-rubrique span.t { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.rb-rubrique span.va { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--cyan); }

.rb-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.rb-chiffre { border-top: 2px solid var(--accent); padding-top: 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rb-chiffre:nth-child(2) { border-color: var(--cyan); }
.rb-chiffre:nth-child(3) { border-color: var(--yellow); }
.rb-chiffre:nth-child(4) { border-color: #7fb2ff; }
.rb-chiffre small { font-size: 12px; font-weight: 700; color: var(--muted); }
.rb-chiffre b { font-size: 18px; overflow-wrap: anywhere; }
.rb-chiffre span { font-size: 12.5px; color: var(--muted); }

/* ── Communauté ──────────────────────────────────────────────────────── */
.rb-artistes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rb-artiste { background: var(--surface); border: 1px solid rgba(255,255,255,.10); border-radius: 16px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.rb-artiste-corps { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; flex-grow: 1; }
.rb-artiste-tete { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rb-pastille { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 16px;
  background: var(--surface2); color: var(--body); border: 1px solid rgba(255,255,255,.12); overflow: hidden; }
.rb-pastille img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rb-artiste-tete b { display: block; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-artiste-tete small { display: block; font-size: 12.5px; color: var(--muted); }
.rb-artiste .lien { font-size: 13.5px; font-weight: 700; }
.rb-puces { display: flex; flex-wrap: wrap; gap: 6px; }
.rb-puces > a, .rb-puces > span { font-size: 12px; font-weight: 600; color: var(--body); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px; padding: 4px 10px; }
.rb-puces > a:hover { border-color: var(--accent); color: var(--text); }
.rb-puces .d { color: #ff7ab8; font-weight: 800; }
/* Lot 294 : la bande des œuvres en haut de la carte, 4 au plus côte à côte (--n), hauteur fixe. */
.rb-bande { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 3px; height: 168px; background: var(--bg, #0d0a14); }
.rb-bande a { display: block; overflow: hidden; background: rgba(255,255,255,.04); min-width: 0; }
.rb-bande img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.rb-bande a:hover img { transform: scale(1.04); }
.rb-sans-oeuvre { margin: 14px 0 0; padding: 12px 16px; border: 1px dashed rgba(255,255,255,.16); border-radius: 12px; font-size: 13.5px; color: var(--body); }
.rb-sans-oeuvre b { color: var(--text); }
@media (max-width: 760px) { .rb-artistes { grid-template-columns: minmax(0, 1fr); } }
.rb-appel { border: 1.5px dashed rgba(255,255,255,.18); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.rb-appel b { font-size: 16px; }
.rb-appel span { font-size: 13.5px; color: var(--body); line-height: 1.5; }
.rb-appel a { font-size: 13.5px; font-weight: 700; margin-top: auto; }

.rb-casters { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.rb-caster { background: var(--surface); border: 1px solid rgba(255,255,255,.10); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rb-caster .rb-pastille { width: 58px; height: 58px; font-size: 19px; }
.rb-caster b { font-size: 16.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-caster b a { color: var(--text); }
.rb-caster b a:hover { color: var(--yellow); }
.rb-caster small { font-size: 12.5px; color: var(--muted); }
.rb-caster .prochain { font-size: 12.5px; color: var(--body); }
.rb-caster .prochain::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--win); margin-right: 6px; vertical-align: 1px; }
.rb-caster .lien { margin-top: auto; padding-top: 4px; font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 640px) {
  .rb-page { gap: 32px; }
  .rb-bande { height: 120px; }
}

/* ── La page d'un artiste (lot 283, public/js/artiste-page.mjs) ─────────── */
.ar-page { gap: 32px; }
.ar-ariane { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.ar-ariane span:last-child { color: var(--text); }
/* Lot 482 : le fil d'Ariane et, au bout, les deux liens discrets d'un administrateur. */
.ar-ariane-rang { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.ar-admin { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; }
.ar-admin button { font: inherit; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 4px 6px; border-radius: 6px; cursor: pointer; }
.ar-admin button:hover, .ar-admin button:focus-visible { color: var(--text); background: rgba(255,255,255,.06); }
.ar-tete { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.ar-avatar { width: 136px; height: 136px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center;
  background: var(--surface2); border: 3px solid var(--accent); font-size: 40px; font-weight: 800; color: var(--body); }
.ar-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-tete-t { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ar-k { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #ff7ab8; }
.ar-tete h1 { margin: 0; font-size: clamp(38px, 7vw, 54px); line-height: 1; font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ar-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ar-bt { font: inherit; font-size: 14px; font-weight: 700; color: var(--text); background: var(--surface2); border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px; padding: 12px 18px; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.ar-bt:hover { border-color: var(--accent); color: var(--text); }
.ar-bt.plein { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 800; }
.ar-bt.plein:hover { background: var(--accent-dark); color: #fff; }
.ar-copie { font-size: 13px; color: var(--win); overflow-wrap: anywhere; }
.ar-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ar-chiffre { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.ar-chiffre:first-child { border-left: 0; padding-left: 0; }
.ar-chiffre b { font-size: 25px; font-variant-numeric: tabular-nums; }
.ar-chiffre span { font-size: 13px; color: var(--muted); }
.ar-filtre { display: flex; gap: 8px; flex-wrap: wrap; }
.ar-filtre button { font: inherit; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 8px 14px; min-height: 36px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.16); background: transparent; color: var(--body); }
.ar-filtre button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.ar-galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.ar-colonne { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.ar-oeuvre { display: flex; flex-direction: column; gap: 12px; }
.ar-img { display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.04); cursor: zoom-in; }
.ar-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.ar-img:hover img { transform: scale(1.02); }
.ar-img:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.ar-img.vide { cursor: default; aspect-ratio: 3 / 1; border: 1.5px dashed rgba(255,255,255,.18); background: rgba(255,255,255,.02);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 12px; }
.ar-img.vide b { font-size: 26px; color: var(--muted); }
.ar-img.vide span { font-size: 13px; color: var(--muted); }
.ar-legende { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.ar-legende > div:first-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ar-legende .k { font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.ar-legende b { font-size: 19px; }
.ar-legende .eq { font-size: 14px; color: var(--body); }
.ar-liens { display: flex; gap: 14px; font-size: 13.5px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .ar-img img, .rb-bande img { transition: none; } }
@media (max-width: 640px) {
  .ar-tete { gap: 16px; }
  .ar-avatar { width: 84px; height: 84px; font-size: 26px; }
  .ar-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ar-chiffre { padding: 12px 12px 12px 14px; }
  .ar-chiffre:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ar-chiffre:nth-child(n+3) { border-top: 1px solid var(--line); }
  .ar-chiffre b { font-size: 20px; }
  .ar-actions .ar-bt { flex: 1 1 auto; justify-content: center; }
}
/* Lot 283 : le nom et « Voir sa page » mènent à la page de l'artiste. */
.rb-artiste-tete b a.rb-nom { color: var(--text); }
.rb-artiste-tete b a.rb-nom:hover { color: var(--yellow); }
.rb-artiste-pied { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.rb-artiste-pied > a:first-child { font-size: 13.5px; font-weight: 800; }

/* ══════════ Lot 286 : ce que l'artiste écrit, et « Modifier ma page »
   (maquette « Administration › Artistes », planche 5) ══════════ */
.ar-presentation { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--body); max-width: 62ch; white-space: pre-line; overflow-wrap: anywhere; }
.ar-bandeau { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap;
  background: rgba(255,47,146,.08); border: 1px solid rgba(255,47,146,.45); border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.ar-bandeau span { color: var(--body); }
.ar-bandeau b { color: var(--text); }
.ar-bandeau .ar-bt { padding: 9px 14px; }
.ar-enregistre { font-size: 13px; color: var(--win); }
dialog.ar-edit { margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(460px, 100vw); max-width: 100vw; box-sizing: border-box;
  background: var(--surface); color: var(--text); border: 0; border-left: 1px solid rgba(255,255,255,.12); padding: 0; }
dialog.ar-edit::backdrop { background: rgba(5,3,9,.35); }
.ar-edit form { display: flex; flex-direction: column; gap: 18px; padding: 22px 22px calc(22px + env(safe-area-inset-bottom, 0px)); min-height: 100%; box-sizing: border-box; }
.ar-edit-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ar-edit h2 { margin: 0; font-size: 19px; }
.ar-edit .ar-fermer { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface2); color: var(--text); font-size: 20px; cursor: pointer; flex: none; }
.ar-edit label, .ar-edit legend { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.ar-edit label { display: flex; flex-direction: column; gap: 6px; }
.ar-edit fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ar-edit legend { margin-bottom: 8px; padding: 0; }
.ar-edit textarea, .ar-edit input[type="url"] { font: inherit; font-size: 14px; color: var(--text); background: var(--bg); border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; padding: 10px 12px; color-scheme: dark; width: 100%; box-sizing: border-box; font-weight: 500; }
.ar-edit textarea { resize: vertical; min-height: 110px; }
.ar-edit textarea:focus, .ar-edit input:focus { outline: none; border-color: var(--cyan); }
.ar-edit .ar-compteur { font-size: 12px; color: var(--muted); align-self: flex-end; font-weight: 600; }
.ar-edit .ar-compteur.trop { color: #ff8a8a; }
.ar-edit .ar-aide { font-size: 12px; color: var(--muted); font-weight: 500; line-height: 1.5; margin: 0; }
.ar-ronds { display: flex; gap: 10px; flex-wrap: wrap; }
.ar-ronds button { width: 54px; height: 54px; border-radius: 50%; padding: 0; overflow: hidden; cursor: pointer; display: grid; place-items: center;
  border: 2px solid rgba(255,255,255,.14); background: var(--surface2); color: var(--body); font: inherit; font-weight: 800; font-size: 15px; }
.ar-ronds button.discord { background: #5865f2; color: #fff; font-size: 10.5px; }
.ar-ronds button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-ronds button[aria-checked="true"] { border: 3px solid var(--accent); }
.ar-ronds button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.ar-edit-pied { margin-top: auto; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; align-items: center; }
.ar-edit-pied .ar-erreur { margin-right: auto; font-size: 13px; color: #ff8a8a; }
.ar-edit-pied button[type="submit"] { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 800; }
.ar-edit-pied button[type="submit"]:disabled { opacity: .6; cursor: wait; }
@media (max-width: 640px) { dialog.ar-edit { width: 100vw; border-left: 0; } }

/* ══════════ Lot 286 : « Ses créations », à part des artprizes (planches 6 à 8) ══════════
   Neutre exprès : ni le rose de la Ligue, ni saison, ni équipe. */
.cr-section .rb-section-tete h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cr-pastille { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px;
  border: 1px solid rgba(255,255,255,.22); color: var(--body); }
.cr-nombre { font-size: 13px; color: var(--muted); }
.cr-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cr-carte { background: var(--surface); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.cr-img { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 9px; overflow: hidden; background: rgba(255,255,255,.04); cursor: zoom-in; }
.cr-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cr-img:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.cr-pied { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 4px 2px; }
.cr-pied > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cr-pied b { font-size: 14px; overflow-wrap: anywhere; }
.cr-pied small { font-size: 12px; color: var(--muted); }
.cr-menu { position: relative; flex: none; }
.cr-menu summary { list-style: none; width: 34px; height: 34px; border-radius: 50%; background: var(--surface2); color: var(--body); display: grid; place-items: center; cursor: pointer; font-weight: 800; }
.cr-menu summary::-webkit-details-marker { display: none; }
.cr-menu summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.cr-menu-liste { position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 5; min-width: 210px; background: var(--surface); border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px; padding: 6px; display: flex; flex-direction: column; box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.cr-menu-liste > button, .cr-menu-liste .sg-lien { font: inherit; font-size: 13.5px; text-align: left; padding: 9px 12px; border-radius: 8px; border: 0; background: none;
  color: var(--text); cursor: pointer; text-decoration: none; }
.cr-menu-liste > button:hover { background: rgba(255,255,255,.05); }
.cr-menu-liste .sg-lien { color: #ff8a8a; }
.cr-menu-liste .sg-lien:hover { background: rgba(255,90,90,.08); color: #ff8a8a; }
/* La création ouverte (creation-ouverte.mjs) : le chapeau neutre, le texte (lot 393 : plus de note « hors Ligue »). */
.cr-dlg .cr-k { color: var(--body); }
.cr-texte { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--body); overflow-wrap: anywhere; }
.cr-signaler .sg-lien { color: #ff8a8a; }
/* « Mes créations » (le tiroir de l'artiste). */
.ar-bandeau-bts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.cr-depot { position: relative; display: flex !important; flex-direction: row !important; align-items: center; gap: 12px; min-height: 120px; border-radius: 12px;
  border: 2px dashed rgba(18,224,224,.5); background: rgba(18,224,224,.04); padding: 12px; cursor: pointer; text-align: left; }
.cr-depot.plein { border-style: solid; border-color: rgba(255,255,255,.14); background: var(--bg); }
.cr-depot img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; flex: none; }
.cr-depot span { display: flex; flex-direction: column; gap: 4px; color: var(--text); }
.cr-depot small { font-size: 12px; color: var(--muted); font-weight: 500; }
.cr-depot input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cr-depot:focus-within { outline: 2px solid var(--cyan); outline-offset: 2px; }
.ar-edit input[type="text"] { font: inherit; font-size: 14px; font-weight: 500; color: var(--text); background: var(--bg); border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; padding: 10px 12px; color-scheme: dark; width: 100%; box-sizing: border-box; }
.ar-edit label.cr-case { flex-direction: row; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--body); line-height: 1.5; font-size: 13px; }
.cr-case input { margin-top: 3px; accent-color: var(--accent); }
.cr-liste { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 16px; }
.cr-liste-tete { display: flex; justify-content: space-between; align-items: baseline; }
.cr-liste-tete h3 { margin: 0; font-size: 16px; }
.cr-liste-tete span { font-size: 13px; color: var(--muted); }
.cr-ligne { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: var(--bg); border: 1px solid rgba(255,255,255,.08); }
.cr-vig { width: 64px; height: 48px; object-fit: cover; border-radius: 7px; flex: none; }
.cr-vig.vide { display: block; background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 6px, transparent 6px 12px); }
.cr-ligne .t { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cr-ligne .t b { font-size: 14px; overflow-wrap: anywhere; }
.cr-etat { font-size: 12px; color: #8ff0bd; }
.cr-etat.masquee { color: #ffe14d; }
.cr-ligne .ar-bt { padding: 7px 10px; font-size: 12.5px; }
.cr-retirer { border-color: rgba(255,90,90,.4) !important; color: #ff8a8a !important; }
@media (max-width: 900px) { .cr-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cr-grille { grid-template-columns: 1fr; } .cr-ligne { flex-wrap: wrap; } }
/* La fenêtre « Signaler » (signaler.mjs) dessine ses boutons en .tn-bt, styles de tournois.css
   que cette page ne charge pas : la même chose ici, limitée à la fenêtre. */
.sg-boite .tn-bt { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 10px; border: 0; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 800; color: #0d0a14; background: linear-gradient(90deg, var(--accent), var(--yellow)); }
.sg-boite .tn-bt.second { background: rgba(255,255,255,.08); color: var(--text); border: 1px solid rgba(255,255,255,.16); }
.sg-boite .tn-bt:disabled { opacity: .5; cursor: not-allowed; }
.cr-dlg .oo-equipe { background: none; padding: 0; border: 0; }
.cr-dlg .oo-equipe small { font-size: 13px; color: var(--muted); }

/* ══════════ Lot 339 (25 octobre 2026, maquette « Pronos dans Communauté ») ══════════
   La partie Pronos de la page Communauté (public/js/communaute-pronos.mjs). */
.cp-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .cp-grille { grid-template-columns: minmax(0, 1fr); } }
.cp-carte { background: rgba(21,17,31,.9); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cp-k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7fb2ff; }
.cp-titre { font-size: 19px; line-height: 1.3; color: var(--text); margin-top: -8px; }
.cp-aide { margin: -6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.cp-tuiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cp-tuiles > div { background: rgba(13,10,20,.6); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.cp-tuiles span { font-size: 12px; color: var(--muted); }
.cp-tuiles b { font-size: 22px; color: var(--text); font-variant-numeric: tabular-nums; }
.cp-tuiles b small { font-size: 14px; color: var(--muted); font-weight: 600; }
.cp-tuiles > div > small { font-size: 12.5px; color: var(--muted); }
.cp-jauge { display: block; height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.cp-jauge > i { display: block; height: 100%; border-radius: 99px; background: #7fb2ff; }
.cp-bt { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; padding: 11px 18px; border-radius: 12px; border: 0;
  background: var(--accent, #ff2f92); color: #fff; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.cp-bt:hover { color: #fff; filter: brightness(1.08); }
.cp-bt:focus-visible { outline: 2px solid #7fb2ff; outline-offset: 2px; }
.cp-gagner { display: flex; align-items: center; gap: 14px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.cp-gagner b { color: var(--text); }
.cp-boules { display: flex; align-items: flex-end; flex: none; }
.cp-cl-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cp-cl-tete b { font-size: 16px; color: var(--text); }
.cp-cl-tete a { font-size: 13px; font-weight: 600; }
/* Pas de conteneur à ascenseur : l'en-tête du tableau reste collant (règle de Dimitri). */
.cp-cl table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cp-cl th { position: sticky; top: var(--hauteur-nav, 65px); background: #15111f; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; }
.cp-cl td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--text); }
.cp-cl .n { text-align: right; font-variant-numeric: tabular-nums; }
.cp-cl tr.moi td { background: rgba(127,178,255,.08); }
.cp-cl tr.cp-saut td { padding: 2px 10px; color: var(--muted); font-size: 12px; border-bottom: 0; }
.cp-toi { font-size: 11px; font-weight: 800; color: #0d0a14; background: #7fb2ff; border-radius: 6px; padding: 1px 6px; margin-left: 4px; }
.cp-vide { justify-content: center; min-height: 120px; }

/* ══════════ Lot 340 (25 octobre 2026, maquette « Communauté, sas d'entrée », A) ══════════
   Le sas de la Communauté (trois portes, la bande de la semaine) et l'en-tête des
   sous-pages (fil, onglets). HTML : public/js/communaute-sas.mjs. */
.cm-portes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .cm-portes { grid-template-columns: minmax(0, 1fr); } }
.cm-porte { display: flex; flex-direction: column; background: rgba(21,17,31,.9); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; overflow: hidden; color: var(--text); transition: border-color .15s, transform .15s; }
.cm-porte:hover { border-color: rgba(255,255,255,.22); color: var(--text); transform: translateY(-2px); }
.cm-porte:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.cm-visuel { position: relative; height: 190px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) { .cm-visuel { height: 140px; } }
.cm-pronos .cm-visuel { background: radial-gradient(120% 90% at 50% 100%, #1f3f8a 0%, #14204a 45%, #0f0b1d 100%); align-items: flex-end; padding-bottom: 22px; box-sizing: border-box; }
.cm-artistes .cm-visuel { background: linear-gradient(160deg, #2d1630, #0f0b1d); }
.cm-casters .cm-visuel { background: radial-gradient(110% 90% at 50% 100%, #4a3a10 0%, #231c0c 50%, #0f0b1d 100%); flex-direction: column; gap: 14px; }
.cm-boules { display: flex; align-items: flex-end; gap: 4px; }
.cm-pastille { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px; }
.cm-pronos .cm-pastille { background: #7fb2ff; color: #0d0a14; }
/* La pastille des casters est sous les avatars, pas dans le coin. */
.cm-casters .cm-pastille { position: static; text-transform: none; letter-spacing: 0; font-size: 12.5px; font-weight: 700; color: var(--text); background: rgba(13,10,20,.6); border: 1px solid #3a3010; padding: 6px 12px; }
.cm-mosaique { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 2px; }
.cm-mosaique img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-avatars { display: flex; padding-left: 12px; }
.cm-avatars > span { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #1b1430; margin-left: -12px; overflow: hidden; display: grid; place-items: center;
  background: #2c2810; color: var(--yellow); font-weight: 800; font-size: 14px; }
.cm-avatars > span img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-avatars > span.plus { background: #3a3010; }
.cm-corps { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cm-corps b { font-size: 22px; }
.cm-texte { font-size: 14px; color: var(--body); line-height: 1.5; }
.cm-ligne { font-size: 13px; color: var(--muted); }
.cm-action { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; }
.cm-pronos .cm-action { color: #7fb2ff; }
.cm-artistes .cm-action { color: #ff6fb3; }
.cm-casters .cm-action { color: var(--yellow); }

.cm-semaine { display: flex; flex-direction: column; gap: 12px; }
.cm-semaine h2 { margin: 0; font-size: 18px; font-weight: 800; }
.cm-semaine-l { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.cm-semaine-l a { display: flex; gap: 12px; align-items: center; background: rgba(13,10,20,.6); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 13px 14px; color: var(--text); min-width: 0; }
.cm-semaine-l a:hover { border-color: rgba(255,255,255,.2); color: var(--text); }
.cm-semaine-l b { display: block; font-size: 13.5px; }
.cm-semaine-l small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.cm-b-vig, .cm-b-rond, .cm-b-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; overflow: hidden; }
.cm-b-vig { border-radius: 9px; }
.cm-b-rond { border-radius: 50%; background: #2c2810; color: var(--yellow); font-weight: 800; font-size: 13px; }
.cm-b-vig img, .cm-b-rond img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-b-ico > span { margin-right: 0 !important; }

/* Les sous-pages : le fil, puis le titre et les trois onglets. */
.rb-page > .cm-fil { margin-bottom: -28px; }
.cm-fil { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.cm-fil b { color: var(--text); }
/* 16 novembre 2026 (Dimitri : « uniformiser le menu de Communauté ») : la barre d'onglets est
   TOUJOURS sur sa propre ligne, sous le titre et son sous-titre. Avant, elle se mettait à droite
   du titre quand le sous-titre était court (Pronos, Casters) et dessous sinon : elle sautait d'une
   sous-page à l'autre. En colonne, elle reste à la même place partout. */
.cm-tete { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cm-tete h1 { margin: 0; font-size: clamp(28px, 5vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.cm-tete .n { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
/* Lot 340 bis : les onglets en pastilles, aux couleurs des portes. Pas d'overflow (plus d'ascenseur) : elles passent à la ligne. */
.cm-onglets { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.cm-onglets a { --c: var(--muted); --f: rgba(255,255,255,.06); display: inline-flex; align-items: center; gap: 8px; min-height: 40px; box-sizing: border-box;
  padding: 8px 16px; border-radius: 999px; color: var(--body); font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .15s, color .15s; }
.cm-onglets a svg { width: 17px; height: 17px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cm-onglets .cm-o-pronos { --c: #7fb2ff; --f: rgba(127,178,255,.16); }
.cm-onglets .cm-o-artistes { --c: #ff6fb3; --f: rgba(255,111,179,.16); }
.cm-onglets .cm-o-casters { --c: var(--yellow); --f: rgba(255,225,77,.14); }
.cm-onglets a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.cm-onglets a[aria-current="page"] { color: var(--text); background: var(--f); box-shadow: inset 0 0 0 1px var(--c); }
.cm-onglets a:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.cm-grand-ico { width: 64px; height: 64px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.cm-artistes .cm-grand-ico { stroke: #ff6fb3; }
.cm-casters .cm-grand-ico { stroke: var(--yellow); }
/* Sur téléphone, le visuel est moins haut : les boules rapetissent (la pastille ne les touche plus). */
@media (max-width: 900px) { .cm-boules { transform: scale(.72); transform-origin: 50% 100%; } }
/* Sur téléphone : la barre prend toute la largeur, trois pastilles égales, l'icône au-dessus du mot (jamais deux lignes de pastilles). */
@media (max-width: 560px) {
  .cm-tete > nav.cm-onglets { width: 100%; }
  .cm-onglets { flex-wrap: nowrap; border-radius: 16px; gap: 4px; padding: 4px; }
  .cm-onglets a { flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 3px; padding: 7px 4px; border-radius: 12px; font-size: 12.5px; min-height: 52px; }
  .cm-onglets a svg { width: 18px; height: 18px; }
  /* Lot 399 : quatre pastilles (Organisations) : le mot un peu plus petit pour tenir. */
  .cm-onglets a { font-size: 11.5px; padding-inline: 2px; }
}

/* Lot 375 (maquette « Pronos en cours », version A) : l'encart « en ce moment » de la carte
   de la semaine et la ligne du match le plus suivi (communaute-pronos.mjs). */
.cp-pouls { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: linear-gradient(110deg, rgba(127,178,255,.12), rgba(255,47,146,.07)); border: 1px solid rgba(127,178,255,.22); }
.cp-pouls > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cp-pouls b { font-size: 14.5px; color: var(--text); line-height: 1.35; }
.cp-pouls b .chiffre { color: #7fb2ff; }
.cp-pouls span { font-size: 12px; color: var(--muted); }
.cp-pouls span .vif { color: var(--win); font-weight: 700; }
.cp-suivi { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.cp-suivi b { color: var(--text); }
.rb-page .cm-tete .n b { color: var(--text); font-weight: 700; }

/* ══════════ Lot 399 : Communauté › Organisations (quatrième porte, sous-page) ══════════
   HTML : public/js/communaute-organisations.mjs. Couleur de la famille : cyan. */
@media (min-width: 1101px) { .cm-portes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 901px) and (max-width: 1100px) { .cm-portes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cm-organisations .cm-visuel { background: radial-gradient(110% 90% at 50% 100%, #0f3a3d 0%, #102028 50%, #0f0b1d 100%); }
.cm-organisations .cm-action { color: var(--cyan); }
.cm-organisations .cm-grand-ico { stroke: var(--cyan); }
.cm-onglets .cm-o-organisations { --c: var(--cyan); --f: rgba(18,224,224,.14); }
.co-logos { display: flex; padding-left: 14px; }
.co-logos > span { width: 54px; height: 54px; border-radius: 14px; border: 3px solid #102028; margin-left: -14px; overflow: hidden; display: grid; place-items: center;
  background: #1d3a3c; color: var(--cyan); font-weight: 800; font-size: 15px; }
.co-logos > span img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.co-carte { display: flex; flex-direction: column; background: rgba(21,17,31,.9); border: 1px solid rgba(255,255,255,.10); border-radius: 16px; overflow: hidden; color: var(--text); }
.co-carte:hover { border-color: rgba(255,255,255,.24); color: var(--text); }
.co-ban { height: 84px; background: linear-gradient(120deg, #13302b, #1a1f38) center/cover no-repeat; }
.co-corps { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 7px; margin-top: -28px; }
.co-logo { width: 56px; height: 56px; border-radius: 14px; background: #3a2350; border: 3px solid #15111f; display: grid; place-items: center; font-weight: 800; overflow: hidden; }
.co-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-corps b { font-size: 18px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; overflow-wrap: anywhere; }
.co-ok { font-size: 11px; color: #8ff0bd; font-weight: 800; }
.co-porte { font-size: 13px; color: var(--body); }
/* Lot 572 : le type de l'organisation (badge) et le filtre par type, sans JavaScript (:has). */
.co-type { align-self: flex-start; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-radius: 99px; padding: 2px 8px; border: 1px solid; }
.co-type-competition { color: #ff7ab3; background: rgba(255,79,154,.12); border-color: rgba(255,79,154,.35); }
.co-type-artistique { color: #c9a4ff; background: rgba(169,112,255,.12); border-color: rgba(169,112,255,.35); }
.co-type-communautaire { color: #5ff0f0; background: rgba(18,224,224,.10); border-color: rgba(18,224,224,.35); }
.co-filtre { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.co-pil { cursor: pointer; }
.co-pil input { position: absolute; opacity: 0; pointer-events: none; }
.co-pil span { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(255,255,255,.14); font-size: 12.5px; font-weight: 700; color: var(--body); }
.co-pil input:checked + span { background: var(--accent, #ff4f9a); border-color: var(--accent, #ff4f9a); color: #fff; }
.co-pil input:focus-visible + span { outline: 2px solid var(--cyan, #12e0e0); outline-offset: 2px; }
#organisations:has(.co-filtre input[value="competition"]:checked) .co-carte:not([data-type="competition"]),
#organisations:has(.co-filtre input[value="artistique"]:checked) .co-carte:not([data-type="artistique"]),
#organisations:has(.co-filtre input[value="communautaire"]:checked) .co-carte:not([data-type="communautaire"]) { display: none; }
.co-etat { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.co-etat.cyan { color: var(--cyan); }
.co-etat.vert { color: var(--win); }
.co-etat.jaune { color: var(--yellow); }
.co-appel { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; background: #22142a;
  border: 1px solid rgba(255,47,146,.45); border-radius: 12px; padding: 13px 16px; font-size: 14px; color: var(--body); }
.co-appel b { color: var(--text); }
.co-appel a { font-size: 13.5px; font-weight: 800; background: var(--accent); color: #fff; border-radius: 10px; padding: 10px 15px; white-space: nowrap; }
.co-appel a:hover { color: #fff; filter: brightness(1.08); }

/* ══════════ Lot 437 : Communauté › Photos et Communauté › Clips ══════════
   Maquette « Photos et clips » v2. HTML : rangeeImages (communaute-sas.mjs) pour le sas,
   communaute-images-ui.mjs pour les deux sous-pages. Couleurs : photos orange, clips rose. */
.cm-rangee-titre { display: block; margin-bottom: -16px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cm-rangee2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .cm-rangee2 { grid-template-columns: minmax(0, 1fr); } }
/* Une grande porte : le visuel à gauche (46 %), le texte à droite ; empilés sur téléphone. */
.cm-porte.cm-large { flex-direction: row; }
.cm-large .cm-visuel { flex: 0 0 46%; height: auto; min-height: 190px; overflow: hidden; }
@media (max-width: 560px) { .cm-porte.cm-large { flex-direction: column; } .cm-large .cm-visuel { flex-basis: auto; min-height: 150px; } }
.cm-photos .cm-visuel { background: linear-gradient(160deg, #3a2412, #0f0b1d); }
.cm-clips .cm-visuel { background: linear-gradient(160deg, #36122a, #0f0b1d); }
.cm-photos .cm-action { color: #ffb86b; }
.cm-clips .cm-action { color: #ff6fb3; }
.cm-mur-photos { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 2px; }
.cm-mur-clips { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 14px; box-sizing: border-box; }
.cm-mur-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-mur-clips img { height: 100%; aspect-ratio: 9 / 16; width: auto; max-width: 30%; object-fit: cover; border-radius: 10px; display: block; }
.cm-b-ico.photos, .cm-b-ico.clips { border-radius: 9px; background: rgba(255,184,107,.14); }
.cm-b-ico.clips { background: rgba(255,111,179,.14); }
.cm-b-ico svg { width: 20px; height: 20px; fill: none; stroke: #ffb86b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cm-b-ico.clips svg { stroke: #ff6fb3; }
.cm-onglets .cm-o-photos { --c: #ffb86b; --f: rgba(255,184,107,.15); }
.cm-onglets .cm-o-clips { --c: #ff6fb3; --f: rgba(255,111,179,.16); }
/* Six onglets sur téléphone : deux rangées de trois (une seule rangée serait illisible). */
@media (max-width: 560px) {
  .cm-onglets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Lot 587 : le mur des photos et des clips (filtres, cartes, lecteur) est dans images-mur.css. */

/* ══════════ Recrutement (lots 546 à 549 ; page Compétition › Recrutement depuis le 12 novembre 2026,
   /recrutement.html, communaute-recrutement.mjs ; préfixe rq- : cr- est déjà pris par les casters).
   Orange : les équipes qui recrutent ; cyan : les joueurs qui cherchent ; bleu Discord.
   (L'onglet de Communauté est parti avec le déménagement ; la porte est devenue le bandeau de la page
   Compétition, recrutement-bandeau.mjs.) */
.cm-recrutement .cm-visuel { background: radial-gradient(120% 100% at 30% 100%, #3a2a12 0%, #1d1530 55%, #0f0b1d 100%); display: flex; align-items: center; justify-content: center; }
.cm-recrutement .cm-action { color: #ffb347; }
.cm-recrutement .cm-grand-ico { stroke: #ffb347; }
.cm-chiffres { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; padding: 18px; }
.cm-chiffres > span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 700; color: var(--body); }
.cm-chiffres b { font-size: 34px; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.cm-chiffres > span:first-child b { color: #ffb347; }
.cm-chiffres > span:nth-child(2) b { color: var(--cyan); }
.cm-chiffres > span:nth-child(3) b { color: #b8a6ff; }   /* coaching / conseil : le violet de son étiquette */

.cr { display: flex; flex-direction: column; gap: 16px; }
.rq-filtres { display: flex; flex-direction: column; gap: 8px; }
.rq-ligne { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rq-lab { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.rq-puce { font: inherit; font-size: 13px; font-weight: 700; min-height: 36px; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: var(--text); cursor: pointer; }
.rq-puce[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.rq-puce:focus-visible, .rq-bt:focus-visible, .rq-lien:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.rq-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
@media (max-width: 960px) { .rq-cols { grid-template-columns: minmax(0, 1fr); } }
.rq-fil { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 700px) { .rq-fil { grid-template-columns: minmax(0, 1fr); } }
.rq-vide { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 14px; }
.rq-carte { background: rgba(21,17,31,.9); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.rq-carte.dc { border-color: rgba(88,101,242,.4); }
.rq-haut { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.rq-haut small { color: var(--muted); font-size: 11.5px; text-align: right; overflow-wrap: anywhere; }
.rq-bd { flex: none; font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 3px 10px; color: #0d0a14; background: #c9c3dd; white-space: nowrap; }
.rq-bd.eq { background: #ffb347; } .rq-bd.jo { background: var(--cyan); }
.rq-bd.co { background: #b8a6ff; }   /* lot 547 : Coaching / conseil */
.rq-qui { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rq-id { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.rq-id b { font-size: 15px; overflow-wrap: anywhere; }
.rq-id small { color: var(--muted); font-size: 12.5px; }
.rq-ini { flex: none; width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.rq-ini.dc { background: #262a5c; color: #c7cbff; }
.rq-pils { display: flex; flex-wrap: wrap; gap: 6px; }
.rq-pils span { font-size: 12px; font-weight: 700; color: var(--body); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 3px 10px; }
.rq-texte { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; }
.rq-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 2px; }
.rq-bt { font: inherit; font-size: 13px; font-weight: 800; border-radius: 10px; padding: 8px 14px; min-height: 40px; border: 0; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.rq-bt.dc { background: #5865f2; color: #fff; }
.rq-bt.eq { background: linear-gradient(90deg, #ff2f92, #ffb347); color: #0d0a14; }
.rq-bt:disabled { opacity: .6; cursor: default; }
.rq-lien { font: inherit; font-size: 13px; font-weight: 700; color: var(--body); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.rq-lien:hover { color: var(--text); }
.rq-msg { margin: 0; font-size: 12.5px; color: var(--cyan); }
.rq-cote { display: flex; flex-direction: column; gap: 12px; }
.rq-encart { background: rgba(21,17,31,.9); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--body); line-height: 1.5; }
.rq-encart b { font-size: 15px; color: var(--text); }
.rq-encart a { font-weight: 700; text-decoration: none; }
.rq-encart a.eq { color: #ffb347; } .rq-encart a.jo { color: var(--cyan); }
.rq-encart ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }

/* ── Lot 549 : publier sur Recrutement (communaute-recrutement.mjs et communaute-recrutement-publier.mjs) ── */
.rq-tete { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.rq-publier { font: inherit; font-size: 14px; font-weight: 800; border-radius: 10px; padding: 10px 18px; min-height: 44px; border: 0; cursor: pointer; background: linear-gradient(90deg, #ff2f92, #ffb347); color: #0d0a14; }
.rq-publier:focus-visible, .rq-petit:focus-visible, .rq-fchoix:focus-visible, .rq-fbasc:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.rq-sep { width: 12px; }
/* Débutant : en vert, sur les puces de filtre comme sur les pastilles des cartes. */
.rq-puce.deb { border-color: #7cf29a; color: #7cf29a; }
.rq-puce.deb[aria-pressed="true"] { background: #7cf29a; color: #0d0a14; }
.rq-pils span.deb { border-color: #7cf29a; color: #7cf29a; }
.rq-bt.jo { background: var(--cyan); color: #0d0a14; }
/* Sa propre annonce. */
.rq-carte.moi { border-color: rgba(255,179,71,.45); }
.rq-moi { font-size: 11px; font-weight: 800; color: #ffb347; white-space: nowrap; }
.rq-petit { font: inherit; font-size: 12.5px; font-weight: 700; border-radius: 8px; padding: 6px 10px; min-height: 32px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: var(--text); cursor: pointer; }
.rq-petit:disabled { opacity: .6; cursor: default; }
.rq-mes { border-color: rgba(255,179,71,.45); }
.rq-mes-l { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.06); }
.rq-mes-l span b { font-size: 13.5px; }
.rq-mes-l small, .rq-mes > small { display: block; color: var(--muted); font-size: 12px; }

/* Le formulaire « Publier une annonce » : champs à gauche, aperçu de la carte à droite. */
.rq-form { margin-bottom: 18px; }
.rq-f { background: rgba(21,17,31,.95); border: 1px solid rgba(255,179,71,.35); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.rq-ftete { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rq-ftete h2 { margin: 0; font-size: 20px; }
.rq-fchoix-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .rq-fchoix-l { grid-template-columns: minmax(0, 1fr); } }
.rq-fchoix { font: inherit; text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); color: var(--text); cursor: pointer; }
.rq-fchoix b { font-size: 14.5px; }
.rq-fchoix small { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.rq-fchoix.on { border-color: #ffb347; background: rgba(255,179,71,.08); }
.rq-fchoix:disabled { opacity: .55; cursor: default; }
.rq-fcols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
@media (max-width: 900px) { .rq-fcols { grid-template-columns: minmax(0, 1fr); } }
.rq-fchamps, .rq-fapercu { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rq-fch { display: flex; flex-direction: column; gap: 6px; }
.rq-flab { font-size: 12.5px; font-weight: 800; color: var(--muted); letter-spacing: .02em; }
.rq-fnote { font-size: 12px; color: var(--muted); line-height: 1.45; }
.rq-fbas { display: flex; justify-content: space-between; gap: 10px; }
.rq-ferr { margin: 0; font-size: 12.5px; color: #ff7a9c; }
.rq-f select, .rq-f textarea { font: inherit; font-size: 14px; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 8px 10px; max-width: 100%; }
.rq-f select { min-height: 40px; }
/* Correctif du lot 549 : sous Windows, la liste déroulante d'un select garde un fond blanc
   avec notre texte clair (illisible). color-scheme: dark la passe en sombre ; le fond des
   options est donné aussi, pour les navigateurs qui l'ignorent. */
.rq-f select, .rq-f textarea { color-scheme: dark; }
.rq-f option { background: #1d1729; color: #f4f2fb; }
.rq-f textarea { resize: vertical; min-height: 72px; }
.rq-farme { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 6px 4px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.rq-farme button { font: inherit; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: var(--text); cursor: pointer; }
.rq-fsw { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rq-fsw b { display: block; font-size: 14px; }
.rq-fsw small { display: block; font-size: 12px; color: var(--muted); line-height: 1.45; }
.rq-fbasc { flex: none; font: inherit; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 6px 12px; min-width: 64px; min-height: 34px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: var(--body); cursor: pointer; }
.rq-fbasc.on { background: var(--cyan); border-color: var(--cyan); color: #0d0a14; }

/* ── Lot 585 : la rubrique Power (Communauté › Power) ─────────────────────────
   Cinq portes : une rangée de cinq sur grand écran, sinon trois puis deux. */
@media (min-width: 901px) and (max-width: 1249px) { .cm-portes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1250px) { .cm-portes { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.cm-power .cm-visuel { background: radial-gradient(110% 90% at 50% 100%, #4a2a10 0%, #24160c 50%, #0f0b1d 100%); }
.cm-power .cm-action { color: var(--orange, #ff9b4a); }
.cm-power .cm-grand-ico { stroke: var(--orange, #ff9b4a); }
.cm-onglets .cm-o-power { --c: var(--orange, #ff9b4a); --f: rgba(255,155,74,.14); }
/* Les onglets internes : X Power, Palmarès, Anarchie Open, et le lien vers les réglages. */
.pwr { display: flex; flex-direction: column; gap: 16px; }
.pwr-onglets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pwr-o { font: inherit; font-size: .9rem; font-weight: 700; padding: .55rem 1rem; min-height: 44px; border-radius: 12px; border: 1px solid var(--panel-border); background: var(--panel); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.pwr-o[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.pwr-apparaitre { margin-left: auto; color: var(--muted); align-self: center; box-sizing: border-box; height: 44px; }
.pwr-bientot { font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; border: 1px solid rgba(255,155,74,.45); color: #ffb37a; }
.pwr-vide { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px dashed var(--panel-border); color: var(--body); font-size: .9rem; max-width: 60rem; }
.pwr-vide p { margin: 6px 0 0; }
/* Palmarès : mêmes puces que l'onglet X Power (posées ici aussi : on peut ouvrir Palmarès d'abord). */
.pwr-palm { display: flex; flex-direction: column; gap: 14px; }
.pwr-palm .pw-puces { display: flex; flex-wrap: wrap; gap: 6px; }
.pwr-palm .pw-puce { font: inherit; font-size: .82rem; font-weight: 700; padding: .42rem .8rem; min-height: 36px; border-radius: 999px; border: 1px solid var(--panel-border); background: var(--panel); color: var(--text); cursor: pointer; }
.pwr-palm .pw-puce[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.pwr-palm .pw-h { margin: 6px 0 0; font-size: 1.05rem; }
.pwr-palm .pw-pied { margin: 0; color: var(--muted); font-size: .8rem; max-width: 60rem; }
.pwr-recs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .pwr-recs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pwr-apparaitre { margin-left: 0; } }
.pwr-rec { background: var(--panel); border: 1px solid var(--panel-border); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pwr-rec b { font-size: .86rem; }
.pwr-rec-p { font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.pwr-rec-n { color: var(--body); font-size: .86rem; overflow-wrap: anywhere; }
.pwr-rec-n a { color: inherit; } .pwr-rec-n a:hover { color: var(--accent); }
/* Lot 586 : le bandeau qui annonce les badges de saison (rubrique Power). */
.pwr-bandeau { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 16px; border-radius: 16px;
  background: linear-gradient(90deg, rgba(47,106,166,.28), rgba(21,17,31,.9) 70%); border: 1px solid rgba(127,184,230,.35); }
.pwr-bandeau-b { display: flex; gap: 4px; flex: none; }
.pwr-bandeau-b .badge-power { display: block; font-family: inherit; }
.pwr-bandeau-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 280px; }
.pwr-bandeau-t b { font-size: .98rem; }
.pwr-bandeau-t span { color: var(--body); font-size: .86rem; line-height: 1.5; max-width: 60rem; }

/* Lot 589 : l'onglet Anarchie Open, le classement des bandes d'amis (public/js/power-rubrique.mjs).
   En-tête collant (règle de Dimitri pour tous les tableaux), sous la barre du site. */
.pwr-open-tete { display: flex; flex-direction: column; gap: 4px; }
.pwr-nb { font-size: .72rem; font-weight: 800; color: var(--muted); margin-left: 2px; }
.pw-puce[aria-pressed="true"] .pwr-nb { color: inherit; opacity: .7; }
.pwr-ot { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: .86rem; }
.pwr-ot thead th { position: sticky; top: var(--hauteur-nav, 65px); z-index: 1; background: var(--bg); color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pwr-ot th, .pwr-ot td { padding: .55rem .45rem; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.pwr-ot .pwr-rg { width: 2.4rem; text-align: center; font-weight: 800; color: var(--muted); }
.pwr-ot td.top1 { color: #ffd84d; } .pwr-ot td.top2 { color: #d6dbe8; } .pwr-ot td.top3 { color: #e6a167; }
.pwr-ot .pwr-bande { text-align: left; }
.pwr-ot .pwr-n { width: 5.6rem; }
.pwr-ot td.pwr-n b { color: #ff5fa2; font-weight: 800; }
.pwr-ot .pwr-c { width: 5.4rem; color: var(--body); }
.pwr-ot .pwr-d { width: 7.5rem; color: var(--body); white-space: nowrap; }
.pwr-bande-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pwr-avs { display: inline-flex; flex: none; }
.pwr-av { position: relative; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: var(--surface); border: 2px solid var(--bg);
  display: inline-flex; align-items: center; justify-content: center; font-size: .66rem; font-weight: 800; color: var(--muted); margin-left: -8px; box-sizing: border-box; }
.pwr-av:first-child { margin-left: 0; }
.pwr-av i { font-style: normal; }
.pwr-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pwr-av.ext { background: transparent; border: 2px dashed var(--panel-border); }
.pwr-bande-n { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pwr-bande-n b { font-weight: 700; overflow-wrap: anywhere; }
.pwr-bande-n a { color: var(--text); text-decoration: none; } .pwr-bande-n a:hover { color: var(--accent); }
.pwr-bande-n small { color: var(--muted); font-size: .76rem; }
.pwr-hors { color: var(--muted); font-weight: 600; }
@media (max-width: 640px) {
  .pwr-ot .pwr-large { display: none; }
  .pwr-ot .pwr-c { width: 3.6rem; }
  .pwr-ot .pwr-n { width: 4.4rem; }
}
