/* ROSA FA — site public */
:root {
  --bg: #12060d; --bg2: #1c0b16; --bg3: #26101f; --line: #3a1a2e;
  --txt: #f7eaf1; --mut: #cdaabd; --dim: #9c7488;
  --acc: #ff6fb5; --legal: #3DD68C; --illegal: #E5484D; --police: #b66bff; --ok: #3DD68C; --ko: #E8524A;
  --anton: Anton, Impact, 'Arial Narrow', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--txt); font-family: Outfit, system-ui, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.p-legal { --acc: var(--legal); } .p-illegal { --acc: var(--illegal); } .p-police { --acc: var(--police); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.anton, h1, h2, h3 { font-family: var(--anton); font-weight: 400; text-transform: uppercase; letter-spacing: .5px; }
.kicker { display: block; font-family: var(--anton); font-size: 15px; letter-spacing: 3px; text-transform: uppercase; color: var(--acc); }
.h2 { margin: 12px 0 32px; font-size: 56px; line-height: 1; }
.muted { color: var(--mut); }
.sec { padding-top: 100px; padding-bottom: 100px; }
.sec-tight { padding-top: 60px; padding-bottom: 60px; }
[hidden] { display: none !important; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.row-head .h2 { margin-bottom: 0; }
.row-head p { margin: 0; max-width: 420px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 38px; border: 0; cursor: pointer; font-family: var(--anton); font-size: 19px; letter-spacing: 2px; text-transform: uppercase; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); transition: filter .15s, transform .15s; white-space: nowrap; }
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-p { background: var(--acc); color: var(--bg); }
.btn-s { background: var(--txt); color: var(--bg); }
.btn-g { background: rgba(247,234,241, .1); color: var(--txt); }
.btn-sm { min-height: 42px; padding: 0 22px; font-size: 15px; letter-spacing: 1.5px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.lnk { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: var(--anton); font-size: 16px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--acc); border-bottom: 2px solid currentColor; padding-bottom: 3px; }
.lnk:hover { color: var(--txt); }
button.lnk { background: none; border: 0; border-bottom: 2px solid currentColor; padding: 0 0 3px; cursor: pointer; }
.il { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }

/* En-tête */
.hdr { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: 34px; padding: 20px 44px; }
.hdr .logo img { height: 42px; width: auto; }
.nav { display: flex; gap: 28px; font-family: var(--anton); font-size: 16px; letter-spacing: 1.5px; text-transform: uppercase; }
.nav a { color: var(--mut); padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--txt); }
.nav a.on { color: var(--txt); border-bottom-color: var(--acc); }
.hdr-cta { margin-left: auto; display: flex; gap: 10px; }

/* Héros */
.hero { position: relative; display: flex; flex-direction: column; background-color: var(--bg2); background-size: cover; background-position: center; }
.hero-home { min-height: 860px; background-image: linear-gradient(90deg, rgba(18,6,13,.72) 0%, rgba(18,6,13,.25) 55%, rgba(18,6,13,0) 100%), linear-gradient(180deg, rgba(18,6,13,.25) 0%, rgba(18,6,13,0) 40%, var(--bg) 100%), var(--hero-img, url(../images/fond-rosa.webp)); background-position: center 15%; }
.hero-home .hero-visuel { display: none; }
.hero-legal { background-image: linear-gradient(180deg, rgba(18,6,13,.55) 0%, rgba(18,6,13,.4) 40%, var(--bg) 100%), var(--hero-img, url(../images/legal.webp)); }
.hero-illegal { background-image: linear-gradient(180deg, rgba(18,6,13,.55) 0%, rgba(18,6,13,.4) 40%, var(--bg) 100%), var(--hero-img, url(../images/illegal-hero.webp)); background-position: center 35%; }
.hero-police { background-image: linear-gradient(180deg, rgba(18,6,13,.55) 0%, rgba(18,6,13,.4) 40%, var(--bg) 100%), var(--hero-img, url(../images/police-v2.webp)); background-position: center 30%; }
.hero-regles { background-image: linear-gradient(180deg, rgba(18,6,13,.7) 0%, rgba(18,6,13,.6) 40%, var(--bg) 100%), url(../images/regles.webp); background-position: center 60%; }
.hero-in { flex: 1; width: 100%; padding-top: 150px; padding-bottom: 70px; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; min-height: 600px; }
.hero-in h1 { margin: 0; font-size: 96px; line-height: .95; }
.hero-in p { margin: 0; max-width: 640px; font-size: 19px; color: #dcc4d1; }
.hero-center { align-items: center; justify-content: center; text-align: center; padding: 150px 24px 90px; gap: 22px; min-height: 860px; }
.hero-center h1 { font-size: 128px; line-height: .9; letter-spacing: 2px; }
.hero-center h1 span { color: var(--acc); }
.hero-center p { max-width: 560px; }
.tag { display: inline-block; align-self: flex-start; font-family: var(--anton); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; padding: 5px 12px; background: var(--acc); color: var(--bg); }
.btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-center .btns { justify-content: center; }

/* Statut + chrono */
.statut { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: rgba(18,6,13,.65); border: 1px solid var(--line); font-size: 15px; color: #dcc4d1; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(61,214,140,.15); }
.dot.ko { background: var(--ko); }
.chrono { display: flex; gap: 10px; justify-content: center; margin-top: 4px; }
.chrono[hidden] { display: none; }
.chrono div { min-width: 92px; padding: 14px 10px 10px; background: rgba(18,6,13,.7); border: 1px solid var(--line); border-top: 3px solid var(--acc); }
.chrono b { display: block; font-family: var(--anton); font-weight: 400; font-size: 46px; line-height: 1; }
.chrono span { display: block; margin-top: 4px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--mut); }
.chrono-titre { font-family: var(--anton); font-size: 15px; letter-spacing: 3px; text-transform: uppercase; color: var(--mut); }

/* Cartes */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-2 { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--bg2); border: 1px solid var(--line); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; }
.card .sect { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--acc); }
.card .nom { font-family: var(--anton); font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.card .desc { color: var(--mut); font-size: 15px; }
.card .num { font-family: var(--anton); font-size: 42px; line-height: 1; color: var(--acc); }
.card .ttl { font-family: var(--anton); font-size: 26px; line-height: 1.1; text-transform: uppercase; }
.card .grow { flex: 1; }
.card-step { gap: 10px; padding: 30px 28px; }
.badge { align-self: flex-start; margin-top: 6px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 9px; border: 1px solid var(--acc); color: var(--acc); }
.skel { min-height: 120px; background: linear-gradient(90deg, var(--bg2), #26101f, var(--bg2)); background-size: 200% 100%; animation: skel 1.4s infinite; border: 1px solid var(--line); }
@keyframes skel { to { background-position: -200% 0; } }
.vide { padding: 28px; border: 1px dashed var(--line); color: var(--mut); }

/* Annonces */
.annonce { border-left: 4px solid var(--acc); }
.annonce time { font-size: 13px; color: var(--dim); }

/* Agenda */
.agenda { border-top: 1px solid var(--line); }
.ev { display: flex; align-items: center; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ev .jour { font-family: var(--anton); font-size: 36px; line-height: 1; color: var(--acc); min-width: 120px; }
.ev .titre { flex: 1; min-width: 220px; font-family: var(--anton); font-size: 26px; letter-spacing: .5px; text-transform: uppercase; }
.ev .quand { color: var(--mut); }
.ev.live .quand { color: var(--ok); }

/* Ville */
.ville { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.ville .img { flex: 1 1 520px; aspect-ratio: 16 / 10; background: url(../images/ville-nuit-v2.webp) center / cover; }
.ville .txt { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; }
.ville .txt .h2 { margin: 0; }
.ville .txt p { margin: 0; color: #cfb3c3; }

/* Camps */
.camps { width: min(1176px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.camp { position: relative; min-width: 0; height: 420px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 22px; overflow: hidden; background-size: cover; background-position: center; transition: filter .2s; }
.camp:hover { filter: brightness(1.15); }
.camp .tag { position: absolute; top: 24px; left: 32px; }
.camp .nom { font-family: var(--anton); font-size: 46px; line-height: 1; text-transform: uppercase; }
.camp .res { color: #dcc4d1; }
.camp-legal { --acc: var(--legal); background-image: linear-gradient(180deg, rgba(18,6,13,.02) 0%, rgba(18,6,13,.08) 48%, rgba(18,6,13,.99) 100%), url(../images/camp-legal-banner-v2.png?v=camp-banners-20261115-4); background-size: 100% 100%, 100% auto; background-position: center, center top; background-repeat: no-repeat; }
.camp-illegal { --acc: var(--illegal); background-image: linear-gradient(180deg, rgba(18,6,13,.02) 0%, rgba(18,6,13,.08) 48%, rgba(18,6,13,.99) 100%), url(../images/camp-illegal-banner-v2.png?v=camp-banners-20261115-4); background-size: 100% 100%, 100% auto; background-position: center, center top; background-repeat: no-repeat; }
.camp-police { --acc: var(--police); background-image: linear-gradient(180deg, rgba(18,6,13,.02) 0%, rgba(18,6,13,.08) 48%, rgba(18,6,13,.99) 100%), url(../images/camp-police-banner.png?v=camp-banners-20261115-5); background-size: 100% 100%, 100% auto; background-position: center, center top; background-repeat: no-repeat; }

/* Bandeaux */
.band { background-size: cover; background-position: center; }
.band-staff { background-image: linear-gradient(180deg, rgba(18,6,13,.86), rgba(18,6,13,.95)), url(../images/ville-jour.webp); }
.band-in { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.band-in > div:first-child { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.band-in > div:first-child p { margin: 0; font-size: 18px; color: #cfb3c3; }
.band-in .h2 { margin: 0; font-size: 64px; }
.band-in .h2 span { color: var(--acc); }
.band-in .grid-2 { flex: 1 1 520px; }
.shop { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 44px 48px; background: linear-gradient(120deg, #2b1223, #1c0b16); border: 1px solid var(--line); border-left: 4px solid var(--acc); }
.shop .h2 { margin: 8px 0 8px; font-size: 44px; }
.shop p { margin: 0; color: #cfb3c3; max-width: 560px; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--anton); font-size: 24px; line-height: 1.2; text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--acc); font-size: 30px; line-height: .9; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 24px; max-width: 820px; color: var(--mut); }

/* Règlement */
.search { display: flex; gap: 0; max-width: 760px; margin-top: 8px; }
.search input { flex: 1; min-width: 0; height: 60px; padding: 0 22px; border: 1px solid var(--line); border-right: 0; background: rgba(18,6,13,.8); color: var(--txt); font: inherit; font-size: 18px; outline: none; }
.search input:focus { border-color: var(--acc); }
.res-info { margin: 0 0 18px; color: var(--mut); }
.res { display: block; padding: 20px 24px; background: var(--bg2); border: 1px solid var(--line); margin-bottom: 10px; transition: border-color .15s; }
.res:hover { border-color: var(--acc); }
.res .ou { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--acc); }
.res .txt { margin-top: 6px; }
.res mark { background: rgba(255,111,181,.25); color: var(--txt); padding: 0 2px; }
.pole { gap: 10px; }
.pole .nom { font-size: 30px; }

/* Pied de page */
.foot { border-top: 1px solid #13233A; background: #04070C; }
.foot-in { padding: 56px 40px 40px; display: flex; gap: 56px; flex-wrap: wrap; }
.foot-in > div:first-child { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.foot-in > div:first-child img { height: 40px; width: auto; align-self: flex-start; }
.foot-col { display: flex; flex-direction: column; gap: 10px; min-width: 150px; }
.foot-col .kicker { color: var(--dim); }
.foot a { color: var(--mut); }
.foot a:hover { color: var(--txt); }
.foot-bas { padding: 18px 40px 28px; border-top: 1px solid #101C2E; font-size: 13px; color: var(--dim); }

/* Copie */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 20; padding: 12px 20px; background: var(--txt); color: var(--bg); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s; }
.toast.on { opacity: 1; }

/* Mobile */
@media (max-width: 980px) {
  .hdr { flex-wrap: wrap; gap: 14px 24px; padding: 16px 20px; }
  .nav { order: 3; width: 100%; overflow-x: auto; gap: 22px; padding-bottom: 4px; }
  .hdr-cta .btn-s { display: none; }
  .wrap { padding: 0 20px; }
  .hero-in { padding-top: 170px; min-height: 520px; }
  .hero-in h1 { font-size: 60px; }
  .hero-center { padding-top: 170px; min-height: 0; }
  .hero-center h1 { font-size: 76px; }
  .h2 { font-size: 40px; }
  .band-in .h2 { font-size: 46px; }
  .sec { padding-top: 70px; padding-bottom: 70px; }
  .grid-2 { grid-template-columns: 1fr; }
  .chrono div { min-width: 70px; } .chrono b { font-size: 34px; }
  .camp { height: 380px; }
  .shop { padding: 32px 24px; }
  .foot-in, .foot-bas { padding-left: 20px; padding-right: 20px; }
}
.grid + .h2 { margin-top: 64px; }

/* En-tête centré : logo | menu | boutons */
.hdr { display: grid; grid-template-columns: 1fr auto 1fr; }
.hdr .logo { justify-self: start; }
.hdr .nav { justify-self: center; }
.hdr-cta { justify-self: end; margin-left: 0; }
.hero-court .hero-in { min-height: 460px; }
.hero-shop { background-image: linear-gradient(180deg, rgba(18,6,13,.6) 0%, rgba(18,6,13,.45) 40%, var(--bg) 100%), url(../images/ville-nuit-v2.webp); }
.hero-staff { background-image: linear-gradient(180deg, rgba(18,6,13,.65) 0%, rgba(18,6,13,.5) 40%, var(--bg) 100%), url(../images/ville-nuit2.webp); background-position: center 40%; }

/* Accueil : deux liens en bas (staff, boutique) */
.liens-bas { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 4px; }
.lien-bas { display: flex; flex-direction: column; gap: 8px; padding: 32px 30px; background: linear-gradient(120deg, #2b1223, #1c0b16); border: 1px solid var(--line); border-left: 4px solid var(--acc); color: var(--txt); transition: filter .15s; }
.lien-bas:hover { filter: brightness(1.15); }
.lien-bas .ttl { font-family: var(--anton); font-size: 32px; line-height: 1.05; text-transform: uppercase; }
.lien-bas .desc { color: var(--mut); margin-bottom: 6px; }

/* L'équipe staff */
.equipe { display: flex; flex-direction: column; gap: 44px; }
.eq-tete { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.eq-tete h3 { margin: 0; font-size: 30px; line-height: 1; color: var(--gr); }
.eq-tete span { color: var(--mut); font-size: 15px; }
.eq-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px; }
.eq-m { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 12px 18px; background: var(--bg2); border: 1px solid var(--line); border-top: 3px solid var(--gr); text-align: center; }
.eq-m img, .eq-ini { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 8px; background: var(--bg3); }
.eq-ini { display: flex; align-items: center; justify-content: center; font-family: var(--anton); font-size: 28px; color: var(--gr); border: 2px solid var(--gr); }
.eq-m b { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.eq-m span:last-child { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gr); }
.eq-grade { --gr: var(--acc); }
.g-fondateur, .g-direction { --gr: #F2B24C; }
.g-administrateur { --gr: #ff6fb5; }
.g-gerant-staff { --gr: #E8524A; }
.g-responsable { --gr: #2FD3C5; }
.g-moderateur { --gr: #F2894C; }
.g-support { --gr: #F28CC0; }

/* Règlement */
.rg { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
.rg-nav { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow: auto; display: flex; flex-direction: column; gap: 4px; padding-right: 6px; }
.rg-accueil, .rg-res, .rg-veh { grid-template-columns: minmax(0, 1fr); }
.rg-accueil .rg-nav, .rg-res .rg-nav, .rg-veh .rg-nav { display: none; }
.p-veh { --acc: #F2B24C; }
/* Dernières modifications */
.rg-journal { margin-top: 56px; }
.rg-journal h3 { margin: 4px 0 18px; font-size: 34px; line-height: 1; }
.rg-j { display: flex; gap: 16px; align-items: flex-start; padding: 14px 18px; margin-bottom: 4px; background: var(--bg2); border: 1px solid var(--line); color: var(--txt); }
a.rg-j:hover { background: var(--bg3); }
.rg-j-q { flex: none; min-width: 84px; padding: 3px 8px; text-align: center; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid currentColor; }
.q-ajout { color: var(--ok); } .q-modif { color: var(--acc); } .q-retrait { color: var(--ko); } .q-refonte { color: var(--mut); }
.rg-j-c { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rg-j .ou { font-size: 13px; color: var(--dim); }
.rg-j .txt { color: #C9D3E0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rg-j strong { color: var(--txt); font-weight: 600; }
/* Véhicules autorisés */
.veh-outils { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.veh-outils input { flex: 1 1 240px; min-height: 46px; padding: 0 16px; background: var(--bg2); border: 1px solid var(--line); color: var(--txt); font: inherit; }
.veh-outils input:focus { outline: none; border-color: var(--acc); }
.veh-filtres { display: flex; flex-wrap: wrap; gap: 4px; }
.veh-filtres button { min-height: 46px; padding: 0 16px; background: var(--bg2); border: 1px solid var(--line); cursor: pointer; font-family: var(--anton); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--mut); }
.veh-filtres button[aria-pressed="true"] { color: var(--bg); background: var(--acc); border-color: var(--acc); }
.veh-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px; }
.veh { background: var(--bg2); border: 1px solid var(--line); }
.veh img, .veh-vide { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg3); }
.veh-vide { display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--dim); }
.veh-info { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; }
.veh-info b { font-family: var(--anton); font-weight: 400; font-size: 19px; letter-spacing: .5px; text-transform: uppercase; }
.veh-info span { font-size: 13px; color: var(--dim); }
.veh-info small { font-size: 13px; color: var(--mut); }
.rg-nav .kicker { padding: 0 0 8px 17px; }
.rg-nav a { padding: 6px 14px 6px 17px; font-size: 14px; color: var(--mut); border-left: 1px solid var(--line); }
.rg-nav a span { color: var(--dim); }
.rg-nav a:hover { color: var(--txt); border-left-color: var(--acc); }
/* Une case par pôle (accueil du règlement) */
.rg-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 4px; }
.rg-carte { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; min-height: 300px; padding: 28px 26px; background: var(--bg2); border: 1px solid var(--line); border-top: 3px solid var(--acc); color: var(--txt); transition: background .15s, transform .15s; }
.rg-carte:hover { background: var(--bg3); transform: translateY(-3px); }
.rg-carte .rg-code { position: absolute; right: -4px; bottom: -26px; font-family: var(--anton); font-size: 130px; line-height: 1; color: var(--acc); opacity: .07; pointer-events: none; }
.rg-carte .nom { font-family: var(--anton); font-size: 40px; line-height: 1; text-transform: uppercase; }
.rg-carte .desc { color: var(--mut); font-size: 15px; }
.rg-carte .grow { flex: 1; }
.rg-carte .rg-stat { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); }
/* Vue d'un pôle : onglets, en-tête, sections en accordéon */
.rg-tabs { display: flex; gap: 2px; overflow-x: auto; margin-bottom: 30px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.rg-tab { flex: none; padding: 12px 18px; margin-bottom: -1px; background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer; font-family: var(--anton); font-size: 17px; letter-spacing: 1px; text-transform: uppercase; color: var(--mut); }
.rg-tab:hover { color: var(--txt); }
.rg-tab.on { color: var(--txt); border-bottom-color: var(--acc); }
.rg-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; }
.rg-tete .lnk { flex: none; }
.rg-tete .kicker { margin-bottom: 8px; }
.rg-main h2 { margin: 0 0 6px; font-size: 48px; line-height: 1; }
.rg-intro { margin: 0 0 30px; color: var(--mut); max-width: 760px; }
.rg-tete .rg-intro { margin: 0; }
.rg-sec { margin-bottom: 4px; background: var(--bg2); border: 1px solid var(--line); scroll-margin-top: 20px; }
.rg-sec summary { display: flex; align-items: center; gap: 16px; padding: 16px 20px; cursor: pointer; list-style: none; }
.rg-sec summary::-webkit-details-marker { display: none; }
.rg-sec summary .n { min-width: 26px; font-family: var(--anton); font-size: 20px; color: var(--acc); }
.rg-sec summary .t { flex: 1; font-family: var(--anton); font-size: 21px; letter-spacing: .5px; line-height: 1.15; text-transform: uppercase; }
.rg-sec summary small { font-size: 13px; color: var(--dim); white-space: nowrap; }
.rg-sec summary::after { content: '+'; width: 18px; text-align: center; font-family: var(--anton); font-size: 24px; line-height: 1; color: var(--mut); }
.rg-sec[open] summary::after { content: '−'; color: var(--acc); }
.rg-sec[open] summary { border-bottom: 1px solid var(--line); }
.rg-sec summary:hover .t { color: var(--acc); }
.rg-corps { padding: 12px 10px 16px; }
.rg-r { display: flex; gap: 14px; padding: 10px 14px; border-left: 2px solid transparent; scroll-margin-top: 20px; }
.rg-r .ref { flex: none; min-width: 44px; font-family: var(--anton); font-size: 15px; color: var(--dim); padding-top: 2px; }
.rg-r.sub { padding-left: 46px; }
.rg-r.sub .ref { min-width: 24px; }
.rg-r strong { color: var(--txt); font-weight: 600; }
.rg-r p { margin: 0; color: #C9D3E0; }
.rg-r.warn { background: rgba(232,82,74,.08); border-left-color: var(--ko); }
.rg-r.note { background: rgba(255,111,181,.07); border-left-color: var(--acc); }
.rg-r .lab { flex: none; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; padding: 3px 8px; height: fit-content; }
.rg-r.warn .lab { color: var(--ko); border: 1px solid var(--ko); }
.rg-r.note .lab { color: var(--acc); border: 1px solid var(--acc); }
.rg-sub { margin: 18px 0 6px; font-family: var(--anton); font-size: 18px; letter-spacing: 1px; text-transform: uppercase; color: var(--acc); }
.rg-r.flash { animation: flash 2s ease-out; }
@keyframes flash { from { background: rgba(255,111,181,.35); } }
.res { cursor: pointer; }

/* Boutique */
.shop-cat { margin-bottom: 64px; }
.shop-cat .h2 { margin-bottom: 8px; }
.shop-cat > p { margin: 0 0 24px; color: var(--mut); }
.shop-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.art { background: var(--bg2); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.art:hover { border-color: var(--acc); transform: translateY(-2px); }
.art .img { aspect-ratio: 16 / 10; background: #26101f center / contain no-repeat; }
.art .img img { width: 100%; height: 100%; object-fit: contain; }
.art .in { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.art .nom { font-family: var(--anton); font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.art .prix { font-family: var(--anton); font-size: 30px; color: var(--acc); }
.art .prix small { font-family: Outfit, sans-serif; font-size: 14px; color: var(--mut); }
.art ul { margin: 0; padding-left: 18px; color: var(--mut); font-size: 14px; flex: 1; }
.art li { margin: 3px 0; }
.art .btn { align-self: stretch; }
.note-shop { border-left: 4px solid var(--acc); }

/* Fiche entreprise */
.card.clic { cursor: pointer; transition: border-color .15s, transform .15s; }
.card.clic:hover { border-color: var(--acc); transform: translateY(-2px); }
.card .voir { margin-top: 8px; font-family: var(--anton); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--acc); }
.fiche { width: min(640px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--line); border-top: 4px solid var(--acc); background: var(--bg2); color: var(--txt); }
.fiche::backdrop { background: rgba(11,3,9,.75); }
.fiche-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; color: var(--mut); font-size: 30px; cursor: pointer; }
.fiche-x:hover { color: var(--txt); }
#fiche-corps { padding: 30px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
#fiche-corps h2 { margin: 0; font-size: 44px; line-height: 1; }
.fiche .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.fiche .stat { background: var(--bg); border: 1px solid var(--line); padding: 12px 14px; }
.fiche .stat b { display: block; font-family: var(--anton); font-weight: 400; font-size: 28px; color: var(--acc); }
.fiche .stat span { font-size: 13px; color: var(--mut); }
.fiche .grs { display: flex; flex-wrap: wrap; gap: 6px; }
.fiche .grs span { padding: 4px 10px; border: 1px solid var(--line); font-size: 14px; color: #C9D3E0; }
.fiche h3 { margin: 6px 0 0; font-size: 18px; letter-spacing: 1px; color: var(--mut); }

@media (max-width: 980px) {
  .hdr { display: flex; }
  .rg { grid-template-columns: minmax(0, 1fr); }
  .rg-nav { display: none; }
  .rg-main h2 { font-size: 36px; }
  .rg-tete { flex-direction: column; align-items: flex-start; }
  .rg-carte { min-height: 220px; }
  .rg-sec summary { padding: 14px 14px; gap: 12px; }
  .rg-sec summary .t { font-size: 18px; }
  .rg-sec summary small { display: none; }
}

/* Services en direct */
.svcs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.svc { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--bg2); border: 1px solid var(--line); }
.svc .n { flex: 1; font-family: var(--anton); font-size: 18px; letter-spacing: .5px; text-transform: uppercase; color: var(--mut); }
.svc b { font-family: var(--anton); font-weight: 400; font-size: 26px; color: var(--dim); }
.svc.on .n { color: var(--txt); } .svc.on b { color: var(--ok); }
.fiche .stat b.nomrp { font-size: 20px; line-height: 1.2; color: var(--txt); }
.an-img { width: 100%; max-height: 280px; object-fit: cover; margin: 4px 0; }
.an-txt { max-height: 260px; overflow: auto; line-height: 1.6; }
.an-txt .an-h { display: inline-block; font-family: Anton, sans-serif; font-weight: 400; font-size: 1.2em; letter-spacing: .02em; text-transform: uppercase; margin: 2px 0; }
.an-txt small { color: var(--dim); }
.an-txt .an-q { display: inline-block; border-left: 3px solid var(--dim); padding-left: 8px; }
#annonces { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* Mon espace */
.hero-mini .hero-in { min-height: 340px; }
.esp-porte { max-width: 640px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 36px 34px; background: var(--bg2); border: 1px solid var(--line); border-left: 4px solid var(--acc); }
.esp-porte .h2 { margin: 0; }
.esp-porte p { margin: 0; color: var(--mut); }
.esp-note { font-size: 14px; }
.esp-alerte { color: var(--ko) !important; }
.esp-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.esp-tete .h2 { margin: 0; }
.esp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 4px; margin-bottom: 36px; }
.esp-stats .stat { padding: 18px 20px; background: var(--bg2); border: 1px solid var(--line); }
.esp-stats .stat b { display: block; font-family: var(--anton); font-weight: 400; font-size: 30px; color: var(--acc); }
.esp-stats .stat span { font-size: 13px; color: var(--mut); }
.esp-h3 { margin: 30px 0 14px; font-size: 28px; }
.esp-ban { margin-bottom: 6px; padding: 18px 20px; background: var(--bg2); border: 1px solid var(--line); border-left: 4px solid var(--line); }
.esp-ban.actif { border-left-color: var(--ko); }
.esp-ban-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
.esp-ban-tete b { font-family: var(--anton); font-weight: 400; font-size: 20px; letter-spacing: .5px; text-transform: uppercase; }
.esp-badge { padding: 3px 9px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid var(--mut); color: var(--mut); }
.esp-ban.actif .esp-badge { border-color: var(--ko); color: var(--ko); }
.esp-ban dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.esp-ban dt { color: var(--dim); font-size: 14px; }
.esp-ban dd { margin: 0; color: #C9D3E0; overflow-wrap: anywhere; }
.esp-msg { margin: 12px 0 0; padding: 12px 14px; background: var(--bg); border-left: 2px solid var(--line); color: #C9D3E0; white-space: pre-wrap; overflow-wrap: anywhere; }
.esp-dem { margin-top: 12px; padding: 10px 14px; background: var(--bg); font-size: 14px; color: var(--mut); }
.esp-dem p { margin: 6px 0 0; color: #C9D3E0; }
.esp-cats { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.esp-police { border-color: #3B82F6; color: #93C5FD; }
.esp-fil { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 0; }
.esp-bulle { max-width: 88%; padding: 8px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.esp-bulle span { display: block; font-size: 12px; color: var(--mut); }
.esp-bulle p { margin: 4px 0 0; color: #C9D3E0; white-space: pre-wrap; overflow-wrap: anywhere; }
.esp-bulle.b-j { align-self: flex-start; }
.esp-bulle.b-s { align-self: flex-end; border-color: var(--acc); }
.esp-rep { margin-top: 10px; }
.esp-dem.s-acceptee b { color: var(--ok); } .esp-dem.s-refusee b { color: var(--ko); } .esp-dem.s-attente b { color: var(--acc); }
.esp-form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.esp-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--mut); }
.esp-form textarea { min-height: 96px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); color: var(--txt); font: inherit; resize: vertical; }
.esp-form textarea:focus { outline: none; border-color: var(--acc); }
.esp-form .btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 600px) { .esp-ban dl { grid-template-columns: 1fr; gap: 2px; } .esp-ban dt { margin-top: 6px; } }
/* Chargement, badges des groupes */
.charge { position: fixed; top: 0; left: 0; z-index: 99; height: 3px; width: 100%; background: linear-gradient(90deg, transparent, var(--acc), transparent); background-size: 50% 100%; background-repeat: no-repeat; opacity: 0; transition: opacity .3s; pointer-events: none; }
.charge.on { opacity: 1; animation: charge 1.1s linear infinite; }
@keyframes charge { from { background-position: -50% 0; } to { background-position: 150% 0; } }
@media (prefers-reduced-motion: reduce) { .charge.on { animation: none; background-size: 100% 100%; opacity: .6; } }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge-dc { border-color: #5865F2; color: #A8B0FF; }
.fiche .btns { display: flex; flex-wrap: wrap; gap: 8px; }
/* Règlement : raccourcis de recherche, véhicules dans les résultats */
.rg-sugg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--mut); }
.rg-sugg button { padding: 5px 12px; border: 1px solid var(--line); background: rgba(18,6,13,.6); cursor: pointer; }
.rg-sugg button:hover, .rg-sugg button:focus-visible { border-color: var(--acc); color: var(--acc); }
.res-veh { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 8px; }
/* Actus : agenda complet + mises à jour */
.actus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.ag-jour { margin-bottom: 26px; }
.ag-jour h3 { margin: 0 0 6px; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--acc); }
.ag-ev { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ag-h { font-family: var(--anton); font-size: 24px; min-width: 70px; }
.ag-t { flex: 1; min-width: 160px; font-weight: 600; font-size: 18px; }
.ag-q { color: var(--mut); font-size: 14px; }
.ag-ev.live .ag-q { color: var(--ok); }
.ag-ev .lnk { flex-basis: 100%; text-align: left; font-size: 14px; padding-left: 86px; }
.maj { padding: 22px 0; border-bottom: 1px solid var(--line); }
.maj time { display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.maj-1 time { color: var(--acc); }
.maj-txt { max-height: none; overflow: visible; }
.maj-txt.replie { max-height: 300px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.maj .lnk { margin-top: 8px; }
.esp-sanc { border-left-color: var(--dim); }
/* Page 404 */
.p404 { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 16px; }
.p404 .code { font-family: var(--anton); font-size: clamp(90px, 22vw, 200px); line-height: 1; color: var(--acc); }
.p404 .btns { justify-content: center; }
@media (max-width: 900px) { .actus { grid-template-columns: minmax(0, 1fr); gap: 20px; } .ag-ev .lnk { padding-left: 0; } }
/* Menu court : « Camps » déroulant, « Mon espace » en icône */
.nav { align-items: center; }
.nav-dd { position: relative; }
.nav-dd-b { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--mut); }
.nav-dd-b span { font-size: 11px; transition: transform .15s; }
.nav-dd-b:hover, .nav-dd.ouvert .nav-dd-b { color: var(--txt); }
.nav-dd.on .nav-dd-b { color: var(--txt); border-bottom-color: var(--acc); }
.nav-dd.ouvert .nav-dd-b span { transform: rotate(180deg); }
.nav-dd-l { position: absolute; top: calc(100% + 8px); left: -16px; z-index: 20; display: none; min-width: 170px; padding: 8px 0; background: var(--bg2); border: 1px solid var(--line); border-top: 2px solid var(--acc); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.nav-dd.ouvert .nav-dd-l { display: flex; flex-direction: column; }
.nav-dd-l a { padding: 9px 16px; border-bottom: 0; }
.nav-dd-l a:hover, .nav-dd-l a.on { color: var(--txt); background: var(--bg3); }
@media (hover: hover) and (min-width: 981px) { .nav-dd:hover .nav-dd-l, .nav-dd:focus-within .nav-dd-l { display: flex; flex-direction: column; } }
.hdr-cta { align-items: center; }
.hdr-moi { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--mut); background: rgba(18,6,13,.5); transition: color .15s, border-color .15s; }
.hdr-moi svg { width: 20px; height: 20px; }
.hdr-moi:hover, .hdr-moi:focus-visible { color: var(--txt); border-color: var(--acc); }
.hdr-moi.on { color: var(--acc); border-color: var(--acc); }
/* Mobile : pas de liste déroulante (le menu défile), les 3 camps sont affichés à la suite */
@media (max-width: 980px) {
  .nav-dd-b { display: none; }
  .nav-dd, .nav-dd-l { display: contents !important; }
  .nav-dd-l a { padding: 6px 0; border-bottom: 2px solid transparent; background: none !important; }
  .nav-dd-l a.on { border-bottom-color: var(--acc); }
}
.nav-dd-l::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
@media (max-width: 980px) { .hdr-cta { margin-left: auto; } }
@media (max-width: 600px) { .esp-porte .btn { max-width: 100%; white-space: normal; text-align: center; padding: 10px 24px; } }
/* Bandeau d'information (réglé dans /admin) */
.bandeau { --bd-fond: var(--acc); --bd-txt: var(--bg); position: relative; z-index: 30; padding: 10px 52px; background: var(--bd-fond); color: var(--bd-txt); font-weight: 600; text-align: center; }
.bandeau.b-bonne { --bd-fond: #3DD68C; }
.bandeau.b-alerte { --bd-fond: #E5484D; --bd-txt: #fff; }
.bandeau.b-event { --bd-fond: #F2B84B; }
.bandeau-l { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; }
.bandeau strong { font-weight: 800; }
.bandeau .lnk, .bandeau-plus { color: var(--bd-txt); font-size: 14px; }
.bandeau-plus { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bandeau-det { display: flex; align-items: center; justify-content: center; gap: 18px; max-width: 900px; margin: 10px auto 2px; font-weight: 400; text-align: left; }
.bandeau-det[hidden] { display: none; }
.bandeau-det img { width: 220px; max-width: 40%; height: auto; }
.bandeau-det p { margin: 0; }
.bandeau-x { position: absolute; right: 10px; top: 6px; width: 34px; height: 34px; border: 0; background: none; color: var(--bd-txt); font-size: 24px; cursor: pointer; }
@media (max-width: 600px) { .bandeau { padding: 10px 44px 10px 16px; } .bandeau-det { flex-direction: column; text-align: center; } .bandeau-det img { max-width: 100%; } }
/* Mises en avant de l'accueil */
.avants { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 14px; }
.avant { display: flex; flex-direction: column; background: var(--bg2); border: 1px solid var(--line); border-top: 3px solid var(--acc); overflow: hidden; }
.avant img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.avant-in { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.avant h3 { margin: 0; font-family: var(--anton); font-weight: 400; font-size: 28px; letter-spacing: .5px; text-transform: uppercase; line-height: 1.1; }
.avant p { margin: 0; color: var(--mut); }
/* Images des groupes */
.card.a-img { padding-top: 0; }
.card .g-img { width: calc(100% + 48px); max-width: none; margin: 0 -24px 12px; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.fiche-img { width: 100%; max-height: 240px; object-fit: cover; margin-bottom: 6px; }
/* Administration */
.esp-admin { margin-bottom: 18px; }
.adm-tabs { margin-bottom: 18px; }
.adm-bloc { background: var(--bg2); border: 1px solid var(--line); padding: 16px 20px; margin-bottom: 10px; }
.adm-bloc h3 { margin: 0; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; }
.adm-bloc > summary { cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.adm-ajout > summary { color: var(--acc); }
.adm-mini { width: 54px; height: 34px; object-fit: cover; }
.adm-bloc input:not([type=checkbox]):not([type=file]), .adm-bloc select { height: 44px; padding: 0 12px; background: var(--bg); border: 1px solid var(--line); color: var(--txt); font: inherit; width: 100%; }
.adm-bloc input:focus, .adm-bloc select:focus { outline: none; border-color: var(--acc); }
.adm-coche { flex-direction: row !important; align-items: center; gap: 10px !important; color: var(--txt) !important; }
.adm-coche input { width: 18px; height: 18px; accent-color: var(--acc); }
.adm-img { display: flex; gap: 12px; align-items: flex-start; }
.adm-img > img { width: 120px; height: 72px; object-fit: cover; border: 1px solid var(--line); flex: none; }
.adm-img > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.adm-envoi { cursor: pointer; font-size: 14px; }
.adm-img-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.adm-camps { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.adm-lbl { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--mut); }
.adm-envoi { align-self: flex-start; background: none; border: 0; padding: 0; }
.adm-note { font-size: 13px; margin: 0; }
.adm-suppr { color: var(--ko) !important; }
.adm-j { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
@media (max-width: 600px) { .adm-img { flex-direction: column; } .adm-img > img { width: 100%; height: auto; aspect-ratio: 16 / 9; } }
.hero-vide { min-height: 110px; padding: 0; }
.esp-liens { display: flex; flex-wrap: wrap; gap: 18px; } .esp-effacer { color: var(--dim) !important; }
/* Pages légales */
.leg { max-width: 900px; }
.leg-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.leg-nav a { padding: 6px 14px; border: 1px solid var(--line); color: var(--mut); font-size: 14px; }
.leg-nav a:hover, .leg-nav a.on { color: var(--txt); border-color: var(--acc); }
.leg-sec { padding: 18px 0; border-bottom: 1px solid var(--line); line-height: 1.7; color: #C9D3E0; }
.leg-sec h2 { margin: 0 0 8px; font-family: var(--anton); font-weight: 400; font-size: 24px; letter-spacing: .5px; text-transform: uppercase; color: var(--txt); }
.leg-sec p { margin: 0 0 10px; }
.leg-sec ul { margin: 0 0 10px; padding-left: 20px; }
.leg-tab { overflow-x: auto; margin: 6px 0 12px; }
.leg-tab table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.leg-tab th, .leg-tab td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.leg-tab th { background: var(--bg2); color: var(--txt); font-weight: 600; }
@media (max-width: 980px) { .hero-vide { min-height: 150px; } }
/* Mon espace : accès aux outils de l'équipe */
.esp-acces { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 10px; margin-bottom: 18px; }
.esp-acc { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--bg2); border: 1px solid var(--line); border-left: 4px solid var(--acc); }
.esp-acc b { font-family: var(--anton); font-weight: 400; font-size: 20px; letter-spacing: .5px; text-transform: uppercase; }
.esp-acc span { color: var(--mut); font-size: 14px; }
.esp-acc:hover { border-color: var(--acc); }

/* Bouton compte explicite (« Se connecter » / « Mon espace ») ; accueil : Discord et Jouer seulement dans le bandeau */
.hdr-moi { display: inline-flex; align-items: center; white-space: nowrap; width: auto; gap: 8px; padding: 0 16px 0 12px; border-radius: 999px; font-family: var(--anton); font-size: 15px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--txt); }
body[data-page="home"] .hdr-cta .btn { display: none; }
@media (max-width: 420px) { .hdr-moi { padding: 0 12px 0 10px; gap: 6px; font-size: 13px; letter-spacing: .8px; } .hdr-moi svg { width: 17px; height: 17px; } }
/* Fiches groupes : zone, lore, hiérarchie ; filtres par type sur les pages des camps */
.card .zone { font-size: 13px; color: var(--acc); }
.fiche-zone { margin: 6px 0 0; color: var(--acc); font-size: 14px; }
.fiche-lore { white-space: pre-wrap; overflow-wrap: anywhere; color: #C9D3E0; line-height: 1.6; max-height: 320px; overflow: auto; }
.fiche-hier { margin: 0; padding-left: 20px; color: #C9D3E0; }
.filtres-camp { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.filtres-camp .chip { background: none; border: 1px solid var(--line); color: var(--mut); padding: 6px 12px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 13px; }
.filtres-camp .chip.on { border-color: var(--acc); color: var(--acc); }
/* Admin > Visites */
.adm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.adm-stats .stat { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--line); background: var(--bg); }
.adm-stats .stat b { font-size: 26px; color: var(--acc); }
.adm-barres { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding-top: 8px; }
.adm-barre { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; min-width: 0; }
.adm-barre i { display: block; width: 100%; background: var(--acc); min-height: 2px; }
.adm-barre span { font-size: 10px; color: var(--mut); }
.adm-pages div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
/* Roue de la chance */
.roue-zone { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.roue-boite { max-width: 460px; width: 100%; margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(255,111,181, .18)); }
.roue-svg { width: 100%; height: auto; display: block; }
.roue-g { transform-origin: 210px 210px; transform-box: view-box; }
.roue-txt { fill: #fff; font: 700 13px Outfit, sans-serif; paint-order: stroke; stroke: rgba(26,9,20, .55); stroke-width: 3px; }
.roue-fleche { fill: #fff; stroke: #1a0914; stroke-width: 2; }
.roue-cote { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.roue-regle { color: var(--mut); margin: 0; }
.roue-go { font-size: 18px; padding: 14px 28px; }
.roue-msg { padding: 14px 16px; border: 1px solid var(--line); background: var(--bg); }
.roue-msg.gagne { border-color: var(--acc); color: #fff; }
.roue-gains, .roue-chances { width: 100%; }
.roue-chances > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.roue-chances { margin-top: 28px; }
.roue-chances > div { align-items: center; }
.roue-chances > div span:nth-child(2) { flex: 1; }
.roue-chances .pastille { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.roue-chances .rare em { font-style: normal; font-size: 12px; color: #E0B354; margin-left: 6px; }
.roue-pub { display: flex; flex-direction: column; gap: 10px; text-decoration: none; border-color: var(--acc); background: radial-gradient(circle at 85% 15%, rgba(255,111,181, .18), transparent 60%); }
.roue-pub-t { font-size: 24px; color: #fff; }
.roue-pub .btn { align-self: flex-start; }
@media (max-width: 760px) { .roue-zone { grid-template-columns: 1fr; } }
/* Fiche « dossier » d'un groupe */
.fiche { width: min(860px, calc(100% - 24px)); }
#fiche-corps { padding: 0; gap: 0; }
.dos-ban { position: relative; padding: 120px 32px 26px; display: flex; flex-direction: column; gap: 8px; background: linear-gradient(180deg, rgba(26,9,20, .15), #1a0914 92%), var(--dos-img, none) center / cover no-repeat, #2a0f20; }
.dos-ban.sans-img { padding-top: 40px; background: radial-gradient(circle at 80% 10%, rgba(255,111,181, .2), transparent 60%), #2a0f20; }
.dos-ban h2 { margin: 0; font-size: clamp(38px, 7vw, 64px); line-height: .95; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
.dos-devise { margin: 0; font-style: italic; color: #f3dfea; font-size: 17px; }
.dos-ban .badge { align-self: flex-start; }
.dos-corps { padding: 22px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.dos-acc { margin: 0; font-size: 17px; color: #C9D3E0; }
.dos-infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.dos-infos div { background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--acc); padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.dos-infos span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--mut); }
.dos-infos b { color: #fff; font-size: 16px; }
.dos-hier { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dos-hier li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: var(--bg); border: 1px solid var(--line); color: #f3dfea; }
.dos-hier li span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--acc); color: #1a0914; font-weight: 700; font-size: 13px; flex: none; }
.fiche-lore::first-letter { font-size: 2.4em; float: left; line-height: .9; margin: 4px 8px 0 0; color: var(--acc); font-family: var(--anton); }
.roue-hist div { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
@media (max-width: 600px) { .dos-ban { padding: 90px 18px 20px; } .dos-corps { padding: 18px; } }
/* Bannière « Roue de la chance » de l'accueil */
.roue-ban { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: 28px 36px; overflow: hidden; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-left: 4px solid #E0B354; background: radial-gradient(circle at 78% 50%, rgba(224, 179, 84, .16), transparent 55%), linear-gradient(120deg, #2a0f20, #1a0914); }
.roue-ban-txt { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.roue-ban-txt .h2 { margin: 0; }
.roue-ban-txt p { margin: 0; color: #C9D3E0; max-width: 46ch; }
.roue-ban-roue { width: min(260px, 100%); justify-self: center; margin: -30px 0; filter: drop-shadow(0 12px 30px rgba(224, 179, 84, .25)); }
.roue-ban-roue .roue-g { animation: roue-lente 40s linear infinite; }
.roue-ban:hover .roue-ban-roue .roue-g { animation-duration: 6s; }
@keyframes roue-lente { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .roue-ban-roue .roue-g { animation: none; } }
@media (max-width: 700px) { .roue-ban { grid-template-columns: 1fr; padding: 22px 18px; } .roue-ban-roue { width: 200px; margin: 0 auto; } }
/* Annonces : une seule annonce = toute la largeur ; barre de défilement sombre */
#annonces.une { grid-template-columns: 1fr; }
.an-txt { scrollbar-width: thin; scrollbar-color: #5a2a46 transparent; }
.an-txt::-webkit-scrollbar { width: 6px; } .an-txt::-webkit-scrollbar-thumb { background: #5a2a46; border-radius: 3px; } .an-txt::-webkit-scrollbar-track { background: transparent; }
.roue-med { fill: #EEF3FA; stroke: #fff; stroke-width: 3; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
/* Roue en bande défilante (style ouverture de caisse) */
.roue-bande { position: relative; overflow: hidden; padding: 18px 0; border: 1px solid var(--line); background: linear-gradient(180deg, #2a0f20, #1a0914);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.roue-piste { display: flex; gap: 12px; width: max-content; will-change: transform; }
.roue-tuile { position: relative; width: 120px; height: 120px; flex: none; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: #10213A; display: grid; place-items: center; }
.roue-tuile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.roue-tuile span { font-family: var(--anton); font-size: 22px; color: #f3dfea; text-transform: uppercase; }
.roue-tuile-barre { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: #ff6fb5; }
.roue-tuile-barre.c1 { background: #E0B354; } .roue-tuile-barre.c2 { background: #5FD3B5; } .roue-tuile-barre.c3 { background: #E46F6F; }
.roue-tuile-barre.c4 { background: #A78BFA; } .roue-tuile-barre.c5 { background: #F59E0B; } .roue-tuile-barre.c6 { background: #34D399; } .roue-tuile-barre.c7 { background: #F472B6; }
.roue-repere { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: #E0B354; box-shadow: 0 0 14px #E0B354; }
.roue-repere::before, .roue-repere::after { content: ''; position: absolute; left: 50%; margin-left: -9px; border: 9px solid transparent; }
.roue-repere::before { top: 0; border-top-color: #E0B354; } .roue-repere::after { bottom: 0; border-bottom-color: #E0B354; }
.roue-cote2 { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; margin-top: 22px; }
.roue-cote2 .roue-gains { text-align: left; max-width: 640px; }
/* Bannière de l'accueil : les lots défilent en continu */
.roue-defile { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.roue-defile-in { display: flex; gap: 12px; width: max-content; animation: roue-defile 40s linear infinite; }
.roue-defile .roue-tuile { width: 96px; height: 96px; }
@keyframes roue-defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .roue-defile-in { animation: none; } }
.roue-ban-roue { width: 100%; margin: 0; filter: none; }
.roue-aide { text-align: left; display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.roue-aide ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.roue-aide-img { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.roue-aide-img img { max-width: 260px; width: 100%; height: auto; border: 1px solid var(--line); }
.esp-cnx { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.esp-cnx > div { border: 1px solid var(--line); background: var(--bg); padding: 14px 16px; }
.esp-cnx > div:first-child { border-left: 3px solid #E46F6F; } .esp-cnx > div:last-child { border-left: 3px solid #5FD3B5; }
.esp-cnx h4 { margin: 0 0 8px; font-size: 15px; color: #f3dfea; }
.esp-cnx ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.esp-cnx li { display: flex; flex-direction: column; }
@media (max-width: 700px) { .esp-cnx { grid-template-columns: 1fr; } }
.cnx-jeu { font-size: 11px; font-weight: 600; padding: 1px 6px; margin-left: 6px; border: 1px solid; vertical-align: middle; }
.cnx-jeu.ok { color: #5FD3B5; border-color: #5FD3B5; } .cnx-jeu.ko { color: #E46F6F; border-color: #E46F6F; }

/* Roue : archive à copier (Mon espace, Direction) */
.esp-arch { width: 100%; font-family: ui-monospace, monospace; font-size: 13px; background: #2a0f20; color: #f3dfea; border: 1px solid var(--line); padding: 8px; resize: vertical; }
.esp-enjeu { margin: 6px 0; } .esp-idjeu { font-size: 22px; color: #E0B354; }
.roue-fil { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; } .roue-fil-m { border-left: 3px solid #ff6fb5; padding: 4px 10px; background: rgba(255,111,181, .06); } .roue-fil-m.staff { border-color: #E0B354; background: rgba(224, 179, 84, .07); } .roue-fil-m p { margin: 2px 0 0; white-space: pre-wrap; } .roue-rep { display: flex; gap: 8px; align-items: flex-end; margin: 6px 0; } .roue-rep textarea { flex: 1; background: #2a0f20; color: #f3dfea; border: 1px solid var(--line); padding: 6px; }

/* Mes gains (page Roue) : une carte par gain, fil de discussion en pleine largeur */
.roue-gains > .roue-gain { display: block; padding: 16px 18px; margin: 0 0 12px; border: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,111,181, .04); }
.roue-gain-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.roue-gain-tete b { font-size: 16px; }
.roue-gain-st { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #E0B354; }
.roue-gain-st.ok { color: #3DD68C; }
.roue-gain-meta { font-size: 13px; margin: 2px 0 0; }
.roue-gains .roue-fil { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; }
.roue-gains .roue-fil-m { display: block; padding: 10px 14px; border: 0; border-left: 3px solid #ff6fb5; background: rgba(255,111,181, .07); font-size: 14px; }
.roue-gains .roue-fil-m.staff { border-left-color: #E0B354; background: rgba(224, 179, 84, .08); }
.roue-fil-tete { display: flex; gap: 10px; align-items: baseline; font-size: 13px; }
.roue-gains .roue-fil-m p { margin: 4px 0 0; }
.roue-gains .roue-rep { display: flex; gap: 10px; align-items: stretch; margin: 12px 0 0; }
.roue-gains .roue-rep textarea { flex: 1; min-height: 44px; resize: vertical; font: inherit; font-size: 14px; }
@media (max-width: 560px) { .roue-gains .roue-rep { flex-direction: column; } }

/* Roue : au départ, la vitrine commence après le fondu du bord gauche */
.roue-piste.debut { padding-left: 13%; }

.esp-case { display: flex; gap: 8px; align-items: center; flex-direction: row; }
.esp-case input { width: auto; }
.esp-form label.esp-case { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; text-align: left; }
.esp-form label.esp-case input { width: 18px; height: 18px; margin: 0; flex: none; }

/* Direction artistique (Figma ROSA Roleplay, 28/10) */
/* Haut de l'accueil : texte, chrono et boutons à gauche (toujours sur fond sombre), visuel ROSA à droite */
.hero-da { flex-direction: row; align-items: center; justify-content: space-between; gap: 56px; max-width: 1320px; margin: 0 auto; padding: 150px 40px 90px; min-height: 860px; }
.hero-txt { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; text-align: left; }
.hero-txt h1 { margin: 0; font-size: 112px; line-height: .9; letter-spacing: 2px; }
.hero-txt h1 span { color: var(--acc); }
.hero-txt p { max-width: 520px; }
.hero-txt .btns, .hero-txt .statut, .hero-txt .chrono { justify-content: flex-start; }
.hero-visuel { flex: 0 1 620px; position: relative; transform: rotate(-2.5deg); filter: drop-shadow(0 28px 60px rgba(255,111,181, .28)); }
.hero-visuel::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid rgba(255,111,181, .55); clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); }
.hero-visuel img { position: relative; display: block; width: 100%; height: auto; clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); }
@media (max-width: 1100px) {
  .hero-da { flex-direction: column-reverse; padding: 120px 20px 60px; gap: 30px; min-height: 0; }
  .hero-visuel { flex: none; width: min(560px, 100%); }
  .hero-txt { align-items: center; text-align: center; }
  .hero-txt h1 { font-size: 72px; }
  .hero-txt .btns, .hero-txt .statut, .hero-txt .chrono { justify-content: center; }
}
/* Icônes rondes et logos de couleur des camps */
.card-step { position: relative; }
.step-ic { position: absolute; top: 24px; right: 24px; width: 56px; height: 56px; }
.camp-logo { width: 64px; height: 64px; border-radius: 14px; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.lien-bas { position: relative; }
.lien-ic { position: absolute; top: 26px; right: 26px; width: 56px; height: 56px; }

/* Roue : défilement en boucle pendant que le serveur tire le lot */
.roue-piste.roule { animation: roue-roule .9s linear infinite; }
@keyframes roue-roule { from { transform: translateX(0); } to { transform: translateX(var(--boucle)); } }

/* Roue : indicateur pendant la vérification (le joueur voit que ça travaille) */
.roue-spin { display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: roue-spin .7s linear infinite; }
@keyframes roue-spin { to { transform: rotate(360deg); } }
.roue-attente { display: flex; align-items: center; justify-content: center; gap: 4px; color: #e6cfdc; }
@media (prefers-reduced-motion: reduce) { .roue-spin { animation-duration: 2s; } }

/* Mon espace : onglets par catégorie */
.esp-onglets { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; border-bottom: 1px solid var(--line); }
.esp-onglets button { padding: 10px 16px; background: none; border: 0; border-bottom: 3px solid transparent; color: #b58fa3; font-family: var(--anton); font-size: 15px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.esp-onglets button:hover { color: #f3dfea; }
.esp-onglets button[aria-selected="true"] { color: #ff6fb5; border-bottom-color: #ff6fb5; }
.esp-panneau[hidden] { display: none; }
/* Candidature staff */
.cand-intro { padding: 18px 20px; margin: 0 0 18px; border: 1px solid var(--line); border-left: 4px solid #ff6fb5; background: rgba(255,111,181, .05); }
.cand-intro ul { margin: 8px 0 12px; padding-left: 20px; color: #e6cfdc; }
.cand-intro p { margin: 0 0 10px; }
.cand-form fieldset.cand-choix { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cand-form fieldset.cand-choix legend { width: 100%; margin-bottom: 6px; }
.cand-form .cand-ok { margin-top: 6px; }

/* Page Staff : encart recrutement */
.recrute-etapes { margin: 6px 0 18px; padding-left: 20px; color: #e6cfdc; }
.recrute-etapes li { margin: 4px 0; }
.recrute-note { margin-top: 12px; font-size: 14px; }

/* Actus : 3 catégories, le recrutement en premier */
.actus.actus-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); }
@media (max-width: 1000px) { .actus.actus-3 { grid-template-columns: 1fr; } }
.recrute-carte { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 24px; border: 1px solid var(--line); border-left: 4px solid #ff6fb5; background: linear-gradient(120deg, #2b1223, #1c0b16); }
.recrute-carte p { margin: 0; }
.recrute-carte .muted { font-size: 14px; }
.recrute-badge { padding: 3px 10px; background: #3DD68C; color: #12060d; font-family: var(--anton); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* Candidature : créneaux d'entretien */
.cand-creneaux { border: 0; padding: 0; margin: 8px 0 0; }
.cand-creneaux legend { margin-bottom: 8px; }
.cren-jours { display: flex; flex-direction: column; gap: 10px; }
.cren-jour b { display: block; margin-bottom: 6px; font-size: 14px; text-transform: capitalize; }
.cren-l { display: flex; flex-wrap: wrap; gap: 6px; }
.cren { position: relative; cursor: pointer; }
.cren input { position: absolute; opacity: 0; pointer-events: none; }
.cren span { display: inline-block; padding: 6px 10px; border: 1px solid var(--line); background: #220e1b; font-size: 13px; color: #e6cfdc; }
.cren input:checked + span { background: #ff6fb5; color: #12060d; border-color: #ff6fb5; font-weight: 600; }
.cren input:focus-visible + span { outline: 2px solid #ff6fb5; outline-offset: 2px; }
.cand-entretien p { margin: 6px 0; }
.cand-decaler { margin-top: 10px; }
.cand-decaler summary { cursor: pointer; color: #b58fa3; }
.cand-entretien-staff, .cand-convoquer { margin: 10px 0; padding: 10px 12px; border: 1px solid var(--line); background: rgba(255,111,181, .06); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cand-convoquer select { background: #220e1b; color: #f3dfea; border: 1px solid var(--line); padding: 6px; }
/* Entretien : carte en bleu (pas une alerte), boutons à leur taille, attente visible pendant l'envoi */
.esp-ban.cand-entretien { border-left-color: var(--acc); }
.esp-ban.cand-entretien .esp-badge { border-color: var(--acc); color: var(--acc); }
.esp-form > .btn { align-self: flex-start; }
.esp-form .btn:disabled, .cand-convoquer .btn:disabled, .cand-entretien-staff .btn:disabled { opacity: .55; cursor: progress; }


/* Candidatures staff : pastille rouge (à traiter), actions regroupées en bas de la fiche */
.esp-pastille { display: inline-block; min-width: 18px; margin-left: 7px; padding: 1px 6px; border-radius: 9px; background: var(--ko); color: #fff; font: 700 11px/16px 'Outfit', sans-serif; text-align: center; vertical-align: 2px; letter-spacing: 0; }
.esp-h3 .esp-pastille { font-size: 13px; line-height: 20px; min-width: 22px; vertical-align: 4px; }
.cand-actions { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); background: rgba(255,111,181, .05); display: flex; flex-direction: column; gap: 10px; }
.cand-actions .esp-form { margin-top: 4px; }
.cand-ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; }
.cand-ligne select { background: #220e1b; color: #f3dfea; border: 1px solid var(--line); padding: 6px; }
.cand-pris { margin: 0; color: var(--mut); }

/* Candidature : réponses à corriger, sanctions du candidat */
.cand-form .cand-err { outline: 2px solid var(--ko); outline-offset: 4px; }
.cand-form .cand-err input, .cand-form .cand-err textarea { border-color: var(--ko); }
.cand-err-msg { display: block; margin-top: 4px; color: var(--ko); font-size: 13px; font-weight: 600; }
.cand-sanc { margin-top: 12px; }
.cand-sanc-l { margin-top: 8px; font-size: 14px; }
.cand-sanc-l ul { margin: 4px 0 10px; padding-left: 18px; }
.cand-sanc-l li { margin: 3px 0; }
.cand-sanc-ok { color: var(--ok); margin: 4px 0; }

/* Mon espace : relier un compte banni par l'ID du ban */
.lien-ban { margin-top: 16px; padding: 16px 18px; border: 1px solid var(--line); background: var(--bg2); }
.lien-ban input { padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); color: var(--txt); font: 14px 'JetBrains Mono', monospace; max-width: 360px; }
.lien-ban .btn { align-self: flex-start; }
/* Suivi de candidature (Mon espace) : 4 étapes */
.cand-suivi { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: none; }
.cand-suivi li { position: relative; padding: 10px 10px 10px 44px; border: 1px solid var(--line); background: var(--bg2); min-height: 58px; }
.cand-suivi b { display: block; font-size: 14px; }
.cand-suivi small { display: block; color: var(--dim); font-size: 12.5px; line-height: 1.35; }
.cand-suivi-n { position: absolute; left: 10px; top: 12px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--dim); }
.cand-suivi li.ok { border-color: rgba(61, 214, 140, .35); }
.cand-suivi li.ok .cand-suivi-n { background: var(--ok); border-color: var(--ok); color: #12060d; font-weight: 700; }
.cand-suivi li.encours { border-color: var(--acc); background: rgba(255,111,181, .07); }
.cand-suivi li.encours .cand-suivi-n { border-color: var(--acc); color: var(--acc); }
.cand-suivi li.ko { border-color: rgba(232, 82, 74, .4); }
.cand-suivi li.ko .cand-suivi-n { background: var(--ko); border-color: var(--ko); color: #fff; }
.cand-suivi li.saute { opacity: .5; }
@media (max-width: 720px) { .cand-suivi { grid-template-columns: 1fr 1fr; } }
/* Téléphone : un bouton long (« Se connecter avec Discord pour tourner ») passe à la ligne au lieu de déborder de l'écran */
@media (max-width: 520px) { .btn { white-space: normal; max-width: 100%; text-align: center; line-height: 1.2; padding: 10px 24px; font-size: 16px; } .roue-go { font-size: 17px; } }
/* Onglet Roue : bandeau « la liste a changé » (au lieu de recharger la liste toute seule) */
.roue-maj { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--acc); background: rgba(255,111,181, .08); }
/* Onglet Roue : gains pris sans aucun message au gagnant → demande d'ID en un clic */
.roue-demande { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; margin: 0 0 14px; padding: 10px 14px; border: 1px dashed var(--acc); background: rgba(255,111,181, .05); }
/* Onglet Roue : groupes (pris par toi / pas encore pris / pris par un autre) */
.roue-grp { margin: 22px 0 10px; font-size: 15px; letter-spacing: .5px; color: var(--acc); text-transform: uppercase; }
/* Petits onglets (candidatures staff) */
.sous-onglets { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
.sous-onglets button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); background: var(--bg2); color: var(--mut); font: 600 14px Outfit, sans-serif; cursor: pointer; border-radius: 6px; }
.sous-onglets button span { min-width: 22px; padding: 1px 7px; border-radius: 10px; background: var(--bg3); color: var(--txt); font-size: 12px; text-align: center; }
.sous-onglets button[aria-selected="true"] { border-color: var(--acc); color: var(--txt); background: rgba(255,111,181, .1); }
.sous-onglets button[aria-selected="true"] span { background: var(--acc); color: #12060d; }
/* Candidatures : menu de recrutement (Accepter) et résumé */
.cand-recrut { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--acc); background: rgba(255,111,181, .06); }
.cand-recrut h4 { margin: 0 0 6px; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; color: var(--acc); }
.cand-recrut p { margin: 10px 0 4px; }
.cand-recrut-l { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cand-recrut-fait { margin: 10px 0; padding: 10px 12px; border: 1px solid rgba(61, 214, 140, .35); background: rgba(61, 214, 140, .06); }
.cand-recrut-fait ul { margin: 6px 0 0; padding-left: 18px; }

/* Non lu par ce staff (demandes de déban, candidatures) : étiquette et bord rouges */
.esp-nouveau { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 9px; background: var(--ko); color: #fff; font: 700 11px/16px 'Outfit', sans-serif; letter-spacing: .4px; text-transform: uppercase; }
.esp-ban.non-lu { border-color: var(--ko); box-shadow: 0 0 0 1px var(--ko) inset; }

/* Cloche des notifications (en-tête, à côté de « Mon espace ») */
.hdr-cloche-w { position: relative; display: inline-flex; }
.hdr-cloche-w[hidden] { display: none; }
.hdr-cloche { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(18,6,13,.5); color: var(--mut); cursor: pointer; transition: color .2s, border-color .2s; }
.hdr-cloche svg { width: 20px; height: 20px; fill: currentColor; }
.hdr-cloche:hover, .hdr-cloche:focus-visible { color: var(--txt); border-color: var(--acc); }
.hdr-cloche.on { color: var(--txt); border-color: var(--ko); }
.hdr-cloche .esp-pastille { position: absolute; top: -5px; right: -6px; margin: 0; }
.hdr-cloche-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 300px; max-width: calc(100vw - 32px); padding: 6px; background: var(--bg2); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(0,0,0,.5); font-family: 'Outfit', sans-serif; font-size: 14px; letter-spacing: 0; text-transform: none; }
.hdr-cloche-menu[hidden] { display: none; }
.hdr-cloche-menu a { display: flex; gap: 10px; padding: 10px 12px; color: var(--txt); text-decoration: none; line-height: 1.35; }
.hdr-cloche-menu a:hover, .hdr-cloche-menu a:focus-visible { background: rgba(255,111,181,.08); }
.hdr-cloche-menu b { color: var(--ko); }
.hdr-cloche-menu p { margin: 0; padding: 10px 12px; color: var(--dim); }
/* Roue au repos (30/10) : le repère ne pointe aucun lot (il tombait sur le Kevlar de la vitrine et faisait croire à un gain) */
.roue-piste.debut + .roue-repere { opacity: 0; }
.roue-repere { transition: opacity .3s; }
/* Mon espace → gains de la roue à donner : une ligne par gain, le reste dans « Détails » (Pora 01/11 : « c'est énorme ») */
.roue-etapes b { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; background: var(--acc); color: #12060d; font-size: 12px; margin-right: 2px; }
.roue-l { margin-bottom: 6px; padding: 10px 14px; background: var(--bg2); border: 1px solid var(--line); border-left: 4px solid var(--ko); }
.roue-l.amoi { border-left-color: var(--acc); }
.roue-l.autre { border-left-color: var(--line); opacity: .65; }
.roue-l-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.roue-l-lot { font-family: var(--anton); font-weight: 400; font-size: 19px; letter-spacing: .5px; text-transform: uppercase; }
.roue-l-qui { color: #C9D3E0; }
.roue-l-err { color: var(--ko); font-size: 13px; }
.roue-l-btn { margin-left: auto; }
.roue-l .esp-enjeu { margin: 0; font-size: 14px; color: var(--mut); }
.roue-l-plus summary { cursor: pointer; color: var(--dim); font-size: 13px; margin-top: 6px; list-style: none; }
.roue-l-plus summary::-webkit-details-marker { display: none; }
.roue-l-plus summary::before { content: '▸ '; }
.roue-l-plus[open] summary::before { content: '▾ '; }
.roue-l-plus dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 8px 0; }
.roue-l-plus dt { color: var(--dim); font-size: 13px; }
.roue-l-plus dd { margin: 0; color: #C9D3E0; overflow-wrap: anywhere; font-size: 14px; }
.roue-fil-m.envoi { opacity: .6; }
.roue-l-btn { display: flex; gap: 6px; flex-wrap: wrap; }

/* Réponses sur le site, pas au bot (02/11) */
.rep-site { margin: 10px 0 6px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,111,181,.45); background: rgba(255,111,181,.10); font-size: 14px; line-height: 1.45; }
.rep-site b { color: #cfe2ff; }

/* Demande de déban plus évidente (03/11, Pora) */
.deban-etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px; margin: 0 0 26px; padding: 0; list-style: none; counter-reset: deban; }
.deban-etapes li { counter-increment: deban; display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 28px; background: linear-gradient(120deg, #2b1223, #1c0b16); border: 1px solid var(--line); border-left: 4px solid var(--acc); }
.deban-etapes li::before { content: counter(deban); font-family: var(--anton); font-size: 38px; line-height: 1; color: var(--acc); }
.deban-etapes b { font-family: var(--anton); font-weight: 400; font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.deban-etapes span { color: var(--mut); }
.deban-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 40px; }
.deban-questions { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px 34px; }
.deban-questions b { display: block; margin-bottom: 6px; }
.deban-questions p { margin: 0; color: var(--mut); }
.esp-deban-alerte { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; padding: 18px 20px; background: rgba(232,82,74,.10); border: 1px solid rgba(232,82,74,.45); border-left: 4px solid var(--ko); }
.esp-deban-alerte b { font-family: var(--anton); font-weight: 400; font-size: 26px; line-height: 1.1; letter-spacing: .5px; text-transform: uppercase; }
.esp-deban-alerte span { color: var(--txt); }
.esp-sans-ban { margin-bottom: 14px; }
.esp-demande { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.esp-demande-t { font-family: var(--anton); font-weight: 400; font-size: 22px; letter-spacing: .5px; text-transform: uppercase; }
.esp-demande input { padding: 11px 14px; background: var(--bg); border: 1px solid var(--line); color: var(--txt); font: inherit; }
.esp-demande input:focus { outline: none; border-color: var(--acc); }
.esp-demande p { margin: 0; font-size: 14px; }
.esp-demande .btn { align-self: flex-start; }

/* Mon espace, refonte 03/11 : menu à gauche (en bas sur téléphone) + panneaux */
.esp-app { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.esp-menu { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; background: var(--bg2); border: 1px solid var(--line); }
.esp-moi { display: flex; align-items: center; gap: 12px; padding: 6px 8px 16px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.esp-moi b { display: block; font-size: 16px; line-height: 1.2; word-break: break-word; }
.esp-moi small { font-size: 12px; }
.esp-ava { flex: none; display: grid; place-items: center; width: 40px; height: 40px; background: var(--acc); color: var(--bg); font-family: var(--anton); font-size: 20px; }
.esp-ok { color: var(--ok); }
.esp-m { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; background: none; border: 0; border-left: 3px solid transparent; color: var(--mut); font: 500 15px 'Outfit', sans-serif; text-align: left; cursor: pointer; }
.esp-m:hover { color: var(--txt); background: var(--bg3); }
.esp-m[aria-selected="true"] { color: var(--txt); background: var(--bg3); border-left-color: var(--acc); }
.esp-m-i { width: 22px; text-align: center; font-size: 16px; }
.esp-m .esp-pastille { margin-left: auto; }
.esp-m-g { display: block; margin: 16px 12px 6px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--anton); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); }
.esp-m-acc { font-size: 14px; }
.esp-p-t { margin-bottom: 24px; }
.esp-p-t .h2 { margin: 8px 0 6px; font-size: 44px; }
.esp-sit { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px 28px; background: var(--bg2); border: 1px solid var(--line); border-left: 5px solid var(--acc); }
.esp-sit-t { font-family: var(--anton); font-weight: 400; font-size: 28px; letter-spacing: .5px; text-transform: uppercase; }
.esp-sit p { margin: 0 0 8px; color: var(--mut); max-width: 640px; }
.esp-sit.s-ok { border-left-color: var(--ok); } .esp-sit.s-ban { border-left-color: var(--ko); } .esp-sit.s-cours { border-left-color: #F2B24C; }
.esp-sit.s-rep, .esp-sit.s-lien { border-left-color: var(--acc); } .esp-sit.s-cand { border-left-color: #F28CC0; }
.esp-cite { display: block; padding: 10px 14px; border-left: 3px solid var(--acc); background: var(--bg3); color: var(--txt); font-style: italic; }
.esp-aussi { display: flex; flex-direction: column; gap: 6px; }
.esp-aussi-l { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: var(--bg2); border: 1px solid var(--line); color: var(--txt); font: inherit; text-align: left; cursor: pointer; }
.esp-aussi-l b { flex: 1; font-weight: 500; } .esp-aussi-l i { font-style: normal; color: var(--acc); font-weight: 600; }
.esp-aussi-l:hover, .esp-racc-l:hover, .esp-conv:hover { border-color: var(--acc); }
.esp-racc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 8px; }
.esp-racc-l { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: var(--bg2); border: 1px solid var(--line); color: var(--txt); font: inherit; text-align: left; cursor: pointer; }
.esp-racc-l span { font-size: 20px; } .esp-racc-l b { font-family: var(--anton); font-weight: 400; font-size: 19px; letter-spacing: .5px; text-transform: uppercase; margin-top: 6px; } .esp-racc-l small { color: var(--mut); font-size: 13px; }
.esp-convs { display: flex; flex-direction: column; gap: 6px; }
.esp-conv { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 14px 18px; background: var(--bg2); border: 1px solid var(--line); color: var(--txt); font: inherit; text-align: left; cursor: pointer; }
.esp-conv-h { display: flex; justify-content: space-between; gap: 12px; } .esp-conv-h small { color: var(--dim); white-space: nowrap; }
.esp-conv-m { color: var(--mut); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.esp-conv-s { font-size: 13px; color: var(--dim); } .esp-conv-s b { color: var(--acc); }
.esp-conv.nl { border-left: 4px solid var(--ko); } .esp-conv.nl .esp-conv-h b::after { content: ' • nouveau'; color: var(--ko); font-weight: 500; font-size: 13px; }
.esp-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 8px; margin-bottom: 8px; }
.esp-carte { padding: 16px 18px; background: var(--bg2); border: 1px solid var(--line); } .esp-carte p { margin: 4px 0 0; }
.esp-contenu .esp-liens { margin-top: 30px; }
@media (max-width: 860px) {
  .esp-app { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 70px; }
  .esp-menu { position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 30; flex-direction: row; gap: 0; padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); overflow-x: auto; border-width: 1px 0 0; background: rgba(11, 20, 34, .97); backdrop-filter: blur(8px); }
  .esp-moi, .esp-m-g { display: none; }
  .esp-m { position: relative; flex: 1 0 auto; flex-direction: column; gap: 2px; width: auto; min-width: 68px; padding: 7px 8px; border-left: 0; border-top: 3px solid transparent; font-size: 11px; text-align: center; white-space: nowrap; }
  .esp-m[aria-selected="true"] { border-top-color: var(--acc); }
  .esp-m-i { font-size: 19px; }
  .esp-m .esp-pastille { position: absolute; top: 2px; right: 6px; margin: 0; }
  .esp-p-t .h2 { font-size: 34px; }
  .esp-sit { padding: 20px; } .esp-sit-t { font-size: 23px; }
}

/* Mon espace plus grand (Pora, 03/11) : bandeau réduit, page plus large, textes plus gros */
.hero-esp .hero-in { min-height: 0; padding-top: 130px; padding-bottom: 26px; gap: 10px; }
.hero-esp .hero-in h1 { font-size: 54px; }
.hero-esp .hero-in p { display: none; }
.esp-wrap { max-width: 1640px; padding-top: 34px; padding-bottom: 80px; }
.esp-app { grid-template-columns: 290px minmax(0, 1fr); gap: 44px; }
.esp-m { padding: 12px 14px; font-size: 16.5px; }
.esp-m-i { font-size: 18px; }
.esp-moi b { font-size: 17px; }
.esp-ava { width: 46px; height: 46px; font-size: 23px; }
.esp-contenu { font-size: 16.5px; }
.esp-p-t .h2 { font-size: 56px; }
.esp-p-t p { font-size: 17px; }
.esp-sit { padding: 32px 36px; }
.esp-sit-t { font-size: 34px; }
.esp-sit p { font-size: 17.5px; max-width: 820px; }
.esp-racc-l { padding: 22px 24px; } .esp-racc-l b { font-size: 22px; } .esp-racc-l small { font-size: 14.5px; }
.esp-conv { padding: 18px 22px; } .esp-conv-m { font-size: 15.5px; }
@media (max-width: 860px) {
  .hero-esp .hero-in { padding-top: 110px; padding-bottom: 16px; } .hero-esp .hero-in h1 { font-size: 40px; }
  .esp-wrap { padding-top: 18px; }
  .esp-app { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .esp-m { padding: 7px 8px; font-size: 11px; } .esp-m-i { font-size: 19px; }
  .esp-p-t .h2 { font-size: 36px; } .esp-sit { padding: 22px; } .esp-sit-t { font-size: 25px; } .esp-sit p { font-size: 16px; }
}

/* Panel de gestion /admin (refonte 03/11) : même menu que Mon espace, en-têtes photo, tuiles */
.adm-app .esp-m-g.adm-g0 { margin-top: 4px; padding-top: 0; border-top: 0; }
.adm-hero { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 230px; padding: 34px 38px; margin-bottom: 22px; background: var(--bg2) center / cover no-repeat; border: 1px solid var(--line); }
.adm-hero h2 { margin: 0; font-family: var(--anton); font-weight: 400; font-size: 64px; line-height: .95; text-transform: uppercase; }
.adm-hero p { margin: 0; max-width: 640px; color: #dcc4d1; font-size: 17px; }
.adm-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px; margin-bottom: 10px; }
.adm-chiffres div { padding: 18px 20px; background: var(--bg2); border: 1px solid var(--line); }
.adm-chiffres b { display: block; font-family: var(--anton); font-weight: 400; font-size: 32px; color: var(--acc); }
.adm-chiffres span { color: var(--mut); font-size: 14px; }
.adm-tuiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 10px; }
.adm-tuile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 150px; padding: 18px 20px; background: var(--bg2) center / cover no-repeat; border: 1px solid var(--line); color: var(--txt); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, transform .15s; }
.adm-tuile:hover { border-color: var(--acc); transform: translateY(-2px); }
.adm-tuile-i { position: absolute; top: 14px; left: 16px; font-size: 22px; }
.adm-tuile b { font-family: var(--anton); font-weight: 400; font-size: 23px; letter-spacing: .5px; text-transform: uppercase; }
.adm-tuile small { color: #dcc4d1; font-size: 14px; }
.adm-tuile i { position: absolute; right: 18px; bottom: 16px; font-style: normal; color: var(--acc); font-size: 20px; }
.adm-apercu { padding: 14px 18px; text-align: center; }
.adm-apercu.off { background: var(--bg3); color: var(--dim); }
.bandeau.adm-bd { z-index: auto; padding: 12px 18px; }
.adm-bd-ap { position: sticky; top: 8px; z-index: 5; }
@media (max-width: 860px) { .adm-hero { min-height: 160px; padding: 22px; } .adm-hero h2 { font-size: 40px; } }
.esp-m-g.adm-g0 { margin-top: 4px; padding-top: 0; border-top: 0; }
.adm-tuile-n { position: absolute; top: 12px; right: 14px; min-width: 26px; padding: 2px 8px; background: var(--ko); color: #fff; font: 700 14px/20px 'Outfit', sans-serif; text-align: center; }
.esp-moi .esp-grade { display: block; color: var(--acc); font-weight: 600; }
.esp-sit .esp-aussi { width: 100%; margin-top: 6px; }
.esp-afaire-n { min-width: 34px; padding: 2px 10px; background: var(--bg3); color: var(--acc); font-family: var(--anton); font-size: 20px; text-align: center; }
.esp-rappels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 8px; }
.esp-rappels .esp-carte p { margin: 6px 0 10px; }

/* Retouches 03/11 (Pora : « plus joli et intuitif ») */
.hero-esp .hero-in { max-width: 1640px; }
.esp-menu { padding: 16px 12px; background: linear-gradient(180deg, #0C1728 0%, var(--bg2) 60%); }
.esp-ava { background: linear-gradient(135deg, var(--acc), #4F7FC0); }
.esp-m { transition: background .15s, color .15s; }
.esp-m-i { transition: transform .15s; }
.esp-m:hover .esp-m-i { transform: scale(1.15); }
.esp-m[aria-selected="true"] { background: rgba(255,111,181,.12); }
.esp-sit { --sit: var(--acc); background: linear-gradient(100deg, color-mix(in srgb, var(--sit) 15%, transparent), transparent 62%), var(--bg2); border-left-color: var(--sit); }
.esp-sit.s-ok { --sit: var(--ok); } .esp-sit.s-ban { --sit: var(--ko); } .esp-sit.s-cours { --sit: #F2B24C; } .esp-sit.s-cand { --sit: #F28CC0; }
.esp-racc { gap: 10px; }
.esp-racc-l { position: relative; justify-content: flex-end; min-height: 150px; background: var(--bg2) center / cover no-repeat; text-decoration: none; transition: border-color .15s, transform .15s; }
.esp-racc-l:hover, .esp-racc-l:focus-visible { border-color: var(--acc); transform: translateY(-2px); }
.esp-racc-l .esp-racc-i { position: absolute; top: 14px; left: 16px; font-size: 22px; }
.esp-racc-l small { color: #dcc4d1; }
.esp-racc-l i { position: absolute; right: 18px; bottom: 16px; font-style: normal; color: var(--acc); font-size: 20px; transition: transform .15s; }
.esp-racc-l:hover i, .adm-tuile:hover i { transform: translateX(4px); }
.adm-tuile i { transition: transform .15s; }
.adm-hero { min-height: 250px; }
.adm-chiffres { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 10px; margin-bottom: 6px; }
.adm-chiffres > * { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 20px 22px; background: var(--bg2); border: 1px solid var(--line); color: var(--txt); font: inherit; text-align: left; }
.adm-chiffres > button { cursor: pointer; transition: border-color .15s; }
.adm-chiffres > button:hover, .adm-chiffres > button:focus-visible { border-color: var(--acc); }
.adm-chiffres .adm-ch-i { position: absolute; top: 16px; right: 18px; font-size: 18px; }
.adm-chiffres b.adm-on { color: var(--ok); } .adm-chiffres b.adm-off { color: var(--dim); }
.adm-rub { margin-top: 34px; }
.adm-tuile { min-height: 170px; }
.adm-tuile-nb { position: absolute; top: 13px; right: 14px; padding: 3px 10px; background: rgba(18,6,13,.72); border: 1px solid var(--line); color: var(--txt); font-size: 13px; }
.hdr-admin { color: var(--acc); }
.hdr-admin:hover, .hdr-admin:focus-visible { color: var(--txt); }
.bandeau.b-ban { --bd-fond: #C9363C; }
@media (max-width: 980px) { .hero-esp .hero-in { padding-top: 175px; } }
@media (max-width: 600px) { .hero-esp .hero-in { padding-top: 210px; } }

/* Liste des comptes (Direction, 04/11) */
.cpt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 12px; }
.cpt-stats div { background: var(--bg); border: 1px solid var(--line); padding: 12px 14px; display: flex; flex-direction: column; }
.cpt-stats b { font-family: var(--anton); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--acc); }
.cpt-stats span { font-size: 13px; color: var(--mut); }
.cpt-note { font-size: 13px; margin: 0 0 12px; }
.cpt-outils { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.cpt-outils input, .cpt-outils select { min-height: 42px; padding: 0 12px; background: var(--bg2); border: 1px solid var(--line); color: var(--txt); font: inherit; font-size: 14px; }
.cpt-outils input { flex: 1 1 240px; min-width: 0; }
.cpt-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cpt-l { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line); }
.cpt-av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.cpt-av img { width: 36px; height: 36px; object-fit: cover; }
.cpt-qui, .cpt-info { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.cpt-qui b, .cpt-qui .muted { overflow-wrap: anywhere; }
.cpt-qui .muted, .cpt-info .muted { font-size: 12px; }
.cpt-info { text-align: right; }
.cpt-grade { align-self: flex-start; font-size: 11px; font-weight: 600; padding: 1px 6px; margin: 2px 0; border: 1px solid var(--acc); color: var(--acc); }
@media (max-width: 700px) { .cpt-stats { grid-template-columns: 1fr 1fr; } .cpt-l { grid-template-columns: 36px minmax(0, 1fr); } .cpt-info { grid-column: 2; text-align: left; } }

/* Mon espace affiché depuis la dernière version vue (04/11) */
.esp-maj-cache { font-size: 13px; margin: 0 0 10px; }

/* Listes staff compactes (déban, candidatures ; 04/11) : une ligne par élément, détail au clic */
.esp-dem { margin: 0 0 4px; background: var(--bg2); border: 1px solid var(--line); border-left: 3px solid var(--line); }
.esp-dem.actif { border-left-color: var(--ko); }
.esp-dem.cand-entretien { border-left-color: var(--acc); }
.esp-dem.non-lu { border-color: var(--ko); }
.esp-dem > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(110px, 1fr) minmax(0, 2fr) auto auto; align-items: center; gap: 12px; padding: 10px 14px; }
.esp-dem > summary::-webkit-details-marker { display: none; }
.esp-dem > summary:hover { background: var(--bg3); }
.esp-dem-n { font-weight: 600; color: var(--txt); min-width: 0; overflow-wrap: anywhere; }
.esp-dem-r { color: var(--mut); font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.esp-dem-d { color: var(--dim); font-size: 13px; white-space: nowrap; }
.esp-dem-fl { color: var(--dim); font-size: 18px; line-height: 1; transition: transform .15s; }
.esp-dem[open] .esp-dem-fl { transform: rotate(90deg); }
.esp-dem.actif .esp-badge { border-color: var(--ko); color: var(--ko); }
.esp-dem.cand-entretien .esp-badge { border-color: var(--acc); color: var(--acc); }
.esp-dem-c { padding: 12px 16px 16px; border-top: 1px solid var(--line); }
.esp-dem-sous { margin: 0 0 10px; font-size: 13px; }
.esp-dem dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 10px; }
.esp-dem dt { color: var(--dim); font-size: 14px; }
.esp-dem dd { margin: 0; color: #C9D3E0; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .esp-dem > summary { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 10px; }
  .esp-dem-r, .esp-dem-d { grid-column: 1 / -1; }
  .esp-dem-fl { grid-column: 3; grid-row: 1; }
  .esp-dem dl { grid-template-columns: 1fr; gap: 2px; } .esp-dem dt { margin-top: 6px; }
}

/* ── Caisses de jeu (fidélité, 05/11) ── couleur de chaque caisse dans --c (posée en JS : CSP) */
.fid-beta { background: rgba(242, 193, 78, .1); border: 1px solid rgba(242, 193, 78, .4); color: #F2C14E; padding: 10px 14px; margin-bottom: 18px; font-size: 14px; }
.fid-tete { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 6px 0 4px; }
.fid-tete p { max-width: 520px; margin: 0; }
.fid-jour { text-align: right; }
.fid-t { font-family: var(--anton); font-size: 76px; line-height: .9; letter-spacing: 1px; }
.fid-t small { font-size: 28px; color: var(--mut); margin: 0 6px 0 2px; }
.fid-l { color: var(--mut); margin-top: 6px; font-size: 15px; }
.fid-l b { color: var(--c, var(--acc)); }
.fid-on { color: var(--ok); } .fid-off { color: var(--mut); } .fid-ko { color: #ff7b7f; }
.fid-svg { display: block; overflow: visible; color: var(--c, var(--acc)); }
.fid-aouvrir { margin: 22px 0 0; background: linear-gradient(100deg, rgba(255,111,181, .1), var(--bg2) 60%); border: 1px solid rgba(255,111,181, .35); padding: 20px 22px; display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: center; }
.fid-aouvrir.vide-zone { grid-template-columns: 1fr; }
.fid-aouvrir h3 { font-size: 34px; margin: 0; }
.fid-aouvrir p { margin: 8px 0 0; font-size: 14px; }
.fid-nb { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; margin-left: 10px; border-radius: 16px; background: var(--acc); color: var(--bg); font-size: 18px; vertical-align: 6px; }
.fid-inv { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.fid-boite { position: relative; flex: 0 0 auto; width: 160px; background: var(--bg); border: 1px solid var(--line); border-bottom: 3px solid var(--c); padding: 14px 14px 16px; text-align: center; }
.fid-boite .fid-svg { width: 86px; margin: 0 auto 6px; filter: drop-shadow(0 6px 16px var(--c)); }
.fid-boite b { display: block; font-family: var(--anton); font-weight: 400; font-size: 21px; letter-spacing: .5px; text-transform: uppercase; color: var(--c); }
.fid-x { position: absolute; top: 8px; right: 8px; font-weight: 700; font-size: 12px; color: var(--bg); background: var(--c); border-radius: 10px; padding: 0 7px; }
.fid-btn { background: var(--c); color: var(--bg); margin-top: 10px; }
.fid-horsjeu { grid-column: 1 / -1; background: rgba(229, 72, 77, .12); border: 1px solid rgba(229, 72, 77, .45); padding: 10px 14px; font-size: 15px; }
.fid-etagere { margin: 30px 0 0; }
.fid-rang { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); align-items: end; gap: 6px; }
.fid-pal { appearance: none; background: none; border: 0; padding: 0 0 10px; cursor: pointer; display: flex; flex-direction: column; align-items: center; position: relative; color: var(--c); font: inherit; }
.fid-pal .fid-svg { width: calc(46% + var(--k, 0) * 5.4%); transition: transform .2s, filter .2s; filter: grayscale(1) brightness(.38); }
.fid-pal.debloq .fid-svg { filter: drop-shadow(0 8px 18px var(--c)); }
.fid-pal.prochain .fid-svg { filter: grayscale(.2) brightness(.85); }
.fid-pal:hover .fid-svg, .fid-pal.sel .fid-svg { transform: translateY(-5px); }
.fid-n { font-family: var(--anton); font-size: 16px; letter-spacing: .5px; margin-top: 8px; text-transform: uppercase; color: var(--dim); }
.fid-pal.debloq .fid-n, .fid-pal.prochain .fid-n, .fid-pal.sel .fid-n { color: var(--c); }
.fid-h { font-size: 12px; color: var(--dim); } .fid-h b { color: var(--ok); font-weight: 600; }
.fid-ok, .fid-lk { position: absolute; top: -4px; right: 6%; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.fid-ok { background: var(--c); color: var(--bg); box-shadow: 0 0 0 3px var(--bg); }
.fid-lk { background: var(--bg3); border: 1px solid var(--line); }
.fid-pal.sel::after { content: ''; position: absolute; left: 50%; bottom: -1px; border: 8px solid transparent; border-bottom-color: var(--bg2); transform: translateX(-50%); }
.fid-piste { position: relative; height: 8px; background: var(--bg3); border-radius: 4px; overflow: hidden; }
.fid-piste i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #C27D45, #C9D3E0, #F2C14E, #9FE7D9, #34D399, #FF4F8B, #5FD4F4, #FF8A3D, #E5484D, #B48CFF); transition: width .6s ease; }
.fid-sous { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; margin-top: 8px; }
.fid-panneau { background: var(--bg2); border: 1px solid var(--line); border-top: 3px solid var(--c); display: grid; grid-template-columns: 290px 1fr; margin-top: 2px; }
.fid-vitrine { padding: 26px 22px; border-right: 1px solid var(--line); text-align: center; }
.fid-vitrine .fid-svg { width: 150px; margin: 0 auto 10px; filter: drop-shadow(0 12px 26px var(--c)); }
.fid-vitrine h3 { font-size: 42px; color: var(--c); margin: 0; }
.fid-etat { margin-top: 12px; font-weight: 600; }
.fid-ex-t { font-weight: 600; margin: 22px 0 8px; text-align: left; }
.fid-ex { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: center; text-align: left; background: var(--bg); border: 1px solid var(--line); padding: 8px 10px; margin-bottom: 8px; }
.fid-ex small { display: block; color: var(--mut); font-size: 12px; }
.fid-liste { padding: 24px 24px 26px; }
.fid-cat + .fid-cat { margin-top: 22px; }
.fid-cat h4 { display: flex; align-items: center; gap: 10px; font: 600 16px Outfit, sans-serif; margin: 0 0 10px; }
.fid-cat h4::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.fid-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.fid-it { position: relative; background: var(--bg3); border: 1px solid var(--line); padding: 10px 8px 9px; text-align: center; font-size: 13px; line-height: 1.25; }
.fid-im { height: 52px; display: grid; place-items: center; font-size: 30px; }
.fid-im img { max-height: 52px; max-width: 100%; width: auto; }
.fid-ic-svg { height: 44px; width: auto; max-width: 100%; }
.fid-ic-jeton { height: 46px; }
.fid-gagne .fid-ic-svg { height: 78px; } .fid-al-h .fid-ic-svg { height: 38px; }
.fid-it .fid-im { margin-bottom: 7px; }
.fid-nm { font-weight: 600; }
.fid-rg { font-size: 12px; font-weight: 600; margin-top: 4px; }
.fid-pc { font-size: 12px; color: var(--dim); }
.fid-it.r1 { border-color: rgba(167, 139, 250, .6); box-shadow: inset 0 -3px 0 #A78BFA; }
.fid-it.r1 .fid-rg, .fid-r1, .fid-fil .r1 { color: #A78BFA; }
.fid-it.r2 { border-color: rgba(242, 193, 78, .65); box-shadow: inset 0 -3px 0 #F2C14E, 0 0 18px -6px #F2C14E; }
.fid-it.r2 .fid-rg, .fid-r2, .fid-fil .r2 { color: #F2C14E; }
.fid-r1, .fid-r2 { font-size: 13px; font-weight: 600; }
.fid-note { font-size: 13px; margin-top: 18px; }
.fid-verrou { background: var(--bg3); border: 1px solid var(--line); border-left: 3px solid var(--c); padding: 11px 14px; margin-bottom: 20px; font-size: 14px; color: var(--mut); }
.fid-verrou b { color: var(--txt); }
.fid-panneau.verrou { border-top-color: var(--line); }
.fid-panneau.verrou .fid-vitrine .fid-svg, .fid-panneau.verrou .fid-items, .fid-panneau.verrou .fid-ex { filter: grayscale(1); opacity: .45; }
.fid-panneau.verrou .fid-vitrine h3 { color: var(--dim); }
.fid-lots { display: grid; gap: 10px; }
.fid-lot { display: grid; grid-template-columns: 64px 1fr; gap: 14px; background: var(--bg2); border: 1px solid var(--line); border-left: 4px solid var(--c); padding: 12px 16px; }
.fid-lot-h { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
.fid-lot-h b { font-family: var(--anton); font-weight: 400; font-size: 22px; letter-spacing: .5px; text-transform: uppercase; }
.fid-cs { font-size: 12px; font-weight: 700; color: var(--c); border: 1px solid var(--c); padding: 0 7px; }
.fid-meta { font-size: 13px; }
.fid-st { margin-top: 6px; font-size: 15px; }
.fid-choix { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; justify-content: center; }
.fid-lot .fid-choix { justify-content: flex-start; }
.fid-choix span { width: 100%; color: var(--mut); font-size: 14px; }
.fid-lot .fid-choix span { width: auto; }
.fid-choix button { background: var(--bg3); border: 2px solid var(--line); padding: 10px 16px; cursor: pointer; min-width: 150px; color: var(--txt); font: 500 14px Outfit, sans-serif; }
.fid-choix button b { display: block; font-family: var(--anton); font-weight: 400; font-size: 22px; letter-spacing: .5px; }
.fid-propre b { color: var(--ok); } .fid-propre:hover { border-color: var(--ok); }
.fid-sale b { color: #ff7b7f; } .fid-sale:hover { border-color: #E5484D; }
.fid-rep { margin-top: 10px; }
.fid-fil { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fid-fil li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.fid-svg { display: block; height: auto; }
.fid-ouv { position: fixed; inset: 0; background: radial-gradient(circle at 50% 52%, #1A2740, #0b0309 72%); z-index: 200; overflow: hidden; }
.fid-3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform .55s ease, filter .55s ease; }
.fid-3d[hidden] { display: none; }
.fid-revele .fid-3d { transform: translateY(-24%) scale(.78); filter: brightness(.8); }
.fid-son { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(18,6,13, .7); color: var(--txt, #f7eaf1); border: 1px solid var(--line); padding: 7px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.fid-repli { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); }
.fid-repli .fid-svg { width: min(300px, 70vw); }
.fid-passer { animation: fid-pop .4s ease .6s both; }
.fid-ouv h2 { text-shadow: 0 2px 14px rgba(0, 0, 0, .95); }
.fid-rare1 { background: radial-gradient(circle at 50% 45%, #2A2152, #0b0309 72%); }
.fid-rare2 { background: radial-gradient(circle at 50% 45%, #4A3510, #0b0309 74%); animation: fid-pulse 1.6s ease-in-out 2; }
@keyframes fid-pulse { 50% { box-shadow: inset 0 0 160px rgba(255, 201, 60, .4); } }
.fid-rare2 .fid-gagne { box-shadow: 0 0 90px -14px #FFC93C; }
@media (max-height: 820px) { .fid-revele .fid-3d { transform: translateY(-21%) scale(.64); } .fid-ouv h2 { font-size: 30px; margin-bottom: 6px; } }
.fid-suivi-c { width: 150px; } .fid-suivi-c .fid-svg { width: 100%; animation: fid-flotte 3.6s ease-in-out infinite; filter: drop-shadow(0 14px 26px var(--c)); }
@keyframes fid-flotte { 50% { transform: translateY(-8px); } }
.fid-bonus { background: rgba(255, 138, 61, .13); border: 1px solid rgba(255, 138, 61, .5); color: #FFB27A; padding: 11px 14px; margin-bottom: 18px; text-align: center; }
.fid-hebdo { display: flex; align-items: center; gap: 16px; margin: 14px 0; padding: 10px 18px; border: 1px solid var(--c); background: linear-gradient(100deg, rgba(255, 138, 61, .14), transparent 70%); }
.fid-hebdo-c { flex: 0 0 62px; } .fid-hebdo-c .fid-svg { width: 100%; }
.fid-hebdo-t { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; }
.fid-hebdo h3 { margin: 0 0 2px; font-size: 19px; color: var(--c); }
.fid-hebdo p { margin: 0; font-size: 14px; grid-column: 1; }
.fid-hebdo-j { display: flex; gap: 6px; flex-wrap: wrap; grid-column: 2; grid-row: 1 / span 2; }
.fid-hebdo-j span { align-self: center; margin-right: 4px; font-size: 13px; color: var(--mut); white-space: nowrap; } .fid-hebdo-j span b { color: var(--txt); }
.fid-hebdo-j i { width: 28px; height: 28px; display: grid; place-items: center; font-style: normal; font-weight: 700; border: 1px solid var(--line); color: var(--mut); background: var(--bg); }
.fid-hebdo-j i.on { background: var(--c); border-color: var(--c); color: #12060d; }
.fid-vit { margin-top: 24px; }
.fid-vit-l { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fid-vit-i { flex: 0 1 150px; min-width: 0; }
.fid-vit-i { background: var(--bg2); border: 1px solid var(--line); border-bottom: 3px solid var(--c); padding: 12px 8px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.fid-vit-i small { color: var(--c); }
.fid-vit-c { color: var(--c); white-space: nowrap; }
.fid-armes .fid-vit-i small { color: inherit; }
.fid-fil li.sans-date { grid-template-columns: 1fr; }
.fid-armes .fid-vit-i small .fid-vit-c { font-weight: 700; }
.fid-armes .fid-vit-i small.muted { color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Coffres : aperçu pour un visiteur ou un compte non relié (06/11) */
.fid-alerte { background: rgba(229, 72, 77, .12); border: 1px solid rgba(229, 72, 77, .55); border-left: 4px solid #E5484D; padding: 16px 18px; margin-bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.fid-alerte > b { font-size: 18px; color: #fff; }
.fid-alerte p { margin: 0; }
.fid-alerte ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.fid-alerte-co { background: rgba(255,111,181, .1); border-color: rgba(255,111,181, .45); border-left-color: var(--acc); }
.fid-vit-acc .kicker { display: block; margin-bottom: 10px; }
.fid-al-grp { margin: 16px 0 6px; padding: 6px 10px; border-left: 3px solid var(--acc); background: rgba(255,111,181, .08); font-size: 14px; }
.fid-al-autres { margin-top: 6px; padding: 5px 9px; border-left: 3px solid #F2B84B; background: rgba(242, 184, 75, .12); color: #F6D58E; font-size: 13px; line-height: 1.45; }
.fid-al-autres b { color: #fff; }
.fid-sur { background: #3FB97A !important; color: #06140C !important; }
[data-fid-donne][data-attente] { opacity: .45; cursor: not-allowed; }
.fid-annul { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.fid-raison { min-width: 220px; padding: 6px 9px; border: 1px solid rgba(255,111,181, .35); border-radius: 6px; background: rgba(0, 0, 0, .25); color: var(--txt); font: inherit; font-size: 13px; }
/* Lancement des Coffres (06/11, 20 h) : la Roue disparaît du site */
.sans-roue .roue-ban, .sans-roue a[href="/roue"], .sans-roue a[href="roue.html"] { display: none !important; }
.fid-gros { margin-top: 24px; }
.fid-garantie { margin-top: 12px; }
.fid-mp { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.ca-hebdo { margin: 0 0 12px; }
.fid-cadre { position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--bg2); height: 156px; pointer-events: none; }
.fid-cadre::before, .fid-cadre::after { content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.fid-cadre::before { left: 0; background: linear-gradient(90deg, var(--bg2), transparent); }
.fid-cadre::after { right: 0; background: linear-gradient(-90deg, var(--bg2), transparent); }
.fid-repere { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--c); transform: translateX(-50%); z-index: 3; box-shadow: 0 0 14px var(--c); }
.fid-bande { display: flex; gap: 8px; padding: 12px 0; position: absolute; left: 0; top: 0; will-change: transform; }
.fid-bande .fid-it { width: 128px; flex: 0 0 128px; }
.fid-ouv-in { position: relative; z-index: 1; width: min(960px, 100%); height: 100%; margin: 0 auto; padding: 18px 16px 22px; display: flex; flex-direction: column; justify-content: space-between; text-align: center; pointer-events: none; }
.fid-ouv-in button, .fid-ouv-in .fid-gagne { pointer-events: auto; }
.fid-ouv h2 { font-size: 40px; color: var(--c); margin: 0 0 16px; }
.fid-secoue .fid-svg { width: 150px; margin: 0 auto; animation: fid-secoue .5s ease-in-out infinite; filter: drop-shadow(0 10px 30px var(--c)); }
.fid-secoue.stop .fid-svg { animation: none; filter: grayscale(.6); }
@keyframes fid-secoue { 25% { transform: rotate(-6deg) translateY(-4px); } 75% { transform: rotate(6deg) translateY(-4px); } }
.fid-res { margin-top: 22px; min-height: 220px; }
.fid-gagne { max-height: 58vh; overflow: auto; display: inline-block; background: var(--bg2); border: 1px solid var(--line); border-top: 4px solid var(--c); padding: 20px 28px; min-width: min(440px, 100%); animation: fid-pop .35s ease; }
.fid-gagne.r1 { border-top-color: #A78BFA; } .fid-gagne.r2 { border-top-color: #F2C14E; box-shadow: 0 0 60px -20px #F2C14E; }
.fid-gagne .fid-im { height: 92px; font-size: 52px; } .fid-gagne .fid-im img { max-height: 92px; }
.fid-gagne h3 { font-size: 32px; margin: 10px 0 4px; }
.fid-env { margin-top: 12px; font-weight: 600; }
.fid-fermer-l { margin-top: 16px; }
.fid-err { color: #ff9a9d; background: rgba(229, 72, 77, .12); border: 1px solid rgba(229, 72, 77, .4); padding: 12px 16px; display: inline-block; max-width: 520px; margin-bottom: 10px; }
@keyframes fid-pop { from { transform: scale(.85); opacity: 0; } }
.fid-sel { background: var(--bg2); border: 1px solid var(--line); color: var(--txt); padding: 7px 10px; font: 500 14px Outfit, sans-serif; }
.fid-al { background: var(--bg2); border: 1px solid var(--line); border-left: 4px solid var(--c); padding: 12px 16px; margin-bottom: 10px; }
.fid-al.amoi { border-color: rgba(255,111,181, .45); border-left-color: var(--c); }
.fid-al-h { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; }
.fid-al-h .fid-im { height: 46px; } .fid-al-h .fid-im img { max-height: 46px; }
.fid-al-t > div { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; }
.fid-al-lot { font-family: var(--anton); font-weight: 400; font-size: 21px; letter-spacing: .5px; text-transform: uppercase; }
.fid-al-q { font-size: 14px; margin-top: 3px; }
.fid-al-b { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.fid-don-f { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; align-items: start; margin: 14px 0; }
.fid-don-f label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--dim); }
.fid-don-f input, .fid-don-f select { width: 100%; background: var(--bg2); border: 1px solid var(--line); color: var(--txt); padding: 7px 10px; font: 500 14px Outfit, sans-serif; }
.fid-don-j { position: relative; display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--dim); }
.fid-don-j .lnk { align-self: flex-start; font-size: 12px; }
.fid-don-sug { position: absolute; top: 58px; left: 0; right: 0; z-index: 20; background: var(--bg3); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .55); max-height: 280px; overflow: auto; }
.fid-don-sug[hidden] { display: none; }
.fid-don-sug button { display: flex; width: 100%; justify-content: space-between; gap: 10px; align-items: baseline; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--txt); padding: 9px 11px; font: 500 14px Outfit, sans-serif; text-align: left; cursor: pointer; }
.fid-don-sug button:hover, .fid-don-sug button.on { background: rgba(255,111,181, .16); }
.fid-don-sug b { font-weight: 600; } .fid-don-sug small { color: var(--dim); font-size: 12px; }
.fid-don-sug p { margin: 0; padding: 10px 11px; font-size: 13px; }
.fid-don-coffres { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; border: 1px solid var(--line); margin: 0; padding: 12px; }
.fid-don-coffres legend { padding: 0 6px; font-size: 13px; color: var(--dim); }
.fid-don-f label.fid-don-c { align-items: center; text-align: center; background: var(--bg); border-bottom: 2px solid var(--c); padding: 8px; }
.fid-don-c .fid-svg { width: 74px; }
.fid-don-c b { color: var(--c); font-size: 13px; }
.fid-don-f .fid-don-c input { width: 64px; text-align: center; padding: 5px; }

.fid-don-f .btns { align-self: end; }
.fid-don-choix { margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fid-don-choix[hidden] { display: none; }
.fid-testeurs { margin: 8px 0 0; padding-left: 18px; }
.fid-tag { font-size: 12px; font-weight: 700; padding: 1px 8px; }
.fid-tag.propre { background: rgba(61, 214, 140, .15); color: var(--ok); }
.fid-tag.sale { background: rgba(229, 72, 77, .18); color: #ff7b7f; }
.fid-tag.attente { background: rgba(242, 193, 78, .15); color: #F2C14E; }
.fid-tab-w { overflow-x: auto; }
.fid-tab { width: 100%; border-collapse: collapse; font-size: 14px; }
.fid-tab th { text-align: left; color: var(--mut); font-weight: 600; font-size: 13px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.fid-tab td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.fid-tc { color: var(--c); font-weight: 700; }
.fid-barre { display: inline-block; width: 140px; height: 10px; background: var(--bg3); vertical-align: middle; }
.fid-barre i { display: block; height: 100%; background: var(--c); }
.fid-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.fid-kpis div { background: var(--bg2); border: 1px solid var(--line); padding: 14px 16px; }
.fid-kpis b { display: block; font-family: var(--anton); font-weight: 400; font-size: 32px; line-height: 1.1; }
.fid-kpis span { color: var(--mut); font-size: 13px; }
.fid-reg-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.fid-total { font-weight: 700; padding: 4px 12px; }
.fid-total.ok { color: var(--ok); background: rgba(61, 214, 140, .14); } .fid-total.ko { color: #ff7b7f; background: rgba(229, 72, 77, .18); }
.fid-reg input, .fid-reg select { background: var(--bg); border: 1px solid var(--line); color: var(--txt); padding: 6px 8px; font: 14px Outfit, sans-serif; max-width: 100%; }
.fid-reg input[data-f="n"], .fid-reg input[data-f="jeu"] { width: 220px; }
.fid-reg input[data-f="m"] { width: 120px; }
.fid-pcin { width: 82px; text-align: right; }
.fid-icin { width: 100px; }
.fid-nowrap { white-space: nowrap; }
.fid-public { margin-top: 22px; padding: 14px 16px; background: var(--bg2); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
@media (max-width: 900px) {
  .fid-panneau { grid-template-columns: 1fr; }
  .fid-vitrine { border-right: 0; border-bottom: 1px solid var(--line); }
  .fid-kpis { grid-template-columns: repeat(2, 1fr); }
  .fid-al-h { grid-template-columns: 46px 1fr; }
  .fid-al-b { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 720px) {
  .fid-tete { grid-template-columns: 1fr; }
  .fid-jour { text-align: left; }
  .fid-t { font-size: 58px; }
  .fid-aouvrir { grid-template-columns: 1fr; padding: 16px; gap: 12px; }
  .fid-boite { width: 140px; }
  .fid-etagere { overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; }
  .fid-rang, .fid-piste, .fid-sous { min-width: 620px; }
  .fid-liste, .fid-vitrine { padding: 18px 14px; }
  .fid-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fid-lot { grid-template-columns: 46px 1fr; padding: 12px; }
  .fid-ouv h2 { font-size: 28px; margin-top: 42px; }
  .fid-bande .fid-it { width: 106px; flex-basis: 106px; }
  .fid-revele .fid-3d { transform: translateY(-19%) scale(.66); }
  .fid-fil li { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { .fid-suivi-c .fid-svg, .fid-rare2 { animation: none; } .fid-secoue .fid-svg { animation: none; } .fid-piste i { transition: none; } }
/* Menu du haut regroupé (05/11) : entrées des menus déroulants = titre + une ligne d'explication */
.nav-dd-l { min-width: 250px; }
.nav-dd-l a { display: flex; flex-direction: column; gap: 2px; padding: 10px 18px; }
.nav-dd-l a b { font-weight: 400; color: var(--txt); display: flex; align-items: center; gap: 6px; }
.nav-dd-l a small { font: 500 12px/1.35 Outfit, sans-serif; letter-spacing: 0; text-transform: none; color: var(--dim); }
.nav-dd-l a:hover small, .nav-dd-l a.on small { color: var(--mut); }
.nav-dd-b .esp-pastille { margin: 0 0 0 2px; vertical-align: 1px; }
.nav-dd-l .nc { display: none; }
.nav-fid b { color: #F2C14E !important; }
.nav-fid { border-top: 1px solid var(--line); margin-top: 4px; }
@media (max-width: 980px) {
  .nav-dd-l a small { display: none; }
  .nav-dd-l .nl { display: none; } .nav-dd-l .nc { display: inline; }
  .nav-fid { border-top: 0; margin-top: 0; }
}
/* Carte « Caisses de jeu » (Accueil sous la Roue, page Roue) — même gabarit que la bannière de la Roue */
.fid-promo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 24px; margin-top: 18px; padding: 28px 36px; overflow: hidden; text-decoration: none; color: inherit;
  background: radial-gradient(90% 140% at 100% 50%, rgba(180, 140, 255, .2), transparent 60%), linear-gradient(120deg, #0E1730, #0A1222); border: 1px solid rgba(180, 140, 255, .3); transition: border-color .2s, transform .2s; }
.fid-promo:hover { border-color: rgba(180, 140, 255, .6); transform: translateY(-2px); }
.fid-promo-t { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.fid-promo-t .h2 { margin: 0; }
.fid-promo-t p { margin: 0; color: #C9D3E0; max-width: 46ch; }
.fid-promo-boites { display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.fid-promo-boites span { display: block; transition: transform .25s; }
.fid-promo-boites .fid-svg { filter: drop-shadow(0 8px 18px var(--c)); }
.fid-promo-boites .b0 .fid-svg { width: 62px; } .fid-promo-boites .b1 .fid-svg { width: 80px; } .fid-promo-boites .b2 .fid-svg { width: 100px; } .fid-promo-boites .b3 .fid-svg { width: 124px; }
.fid-promo:hover .fid-promo-boites span { transform: translateY(-4px); }
.fid-promo:hover .fid-promo-boites .b3 { transform: translateY(-8px) rotate(-3deg); }
#roue + .fid-promo, .sec-tight > .fid-promo { margin-top: 22px; }
@media (max-width: 720px) {
  .fid-promo { grid-template-columns: 1fr; padding: 22px 18px; gap: 16px; }
  .fid-promo-boites { justify-content: flex-start; order: -1; }
  .fid-promo-boites .b0 .fid-svg { width: 46px; } .fid-promo-boites .b1 .fid-svg { width: 58px; } .fid-promo-boites .b2 .fid-svg { width: 72px; } .fid-promo-boites .b3 .fid-svg { width: 88px; }
}
@media (prefers-reduced-motion: reduce) { .fid-promo, .fid-promo-boites span { transition: none; } }
/* Page Caisses de jeu (05/11) : suivi du temps de jeu, comment ça marche, bon à savoir */
.fid-suivi { display: grid; grid-template-columns: auto minmax(0, 320px) minmax(280px, 1fr); gap: 40px; align-items: center; padding: 26px 30px; background: radial-gradient(80% 140% at 0% 0%, rgba(255,111,181, .14), transparent 60%), var(--bg2); border: 1px solid var(--line); border-left: 4px solid var(--c, var(--acc)); }
.fid-suivi-k { display: block; font-family: var(--anton); letter-spacing: 2px; font-size: 14px; text-transform: uppercase; color: var(--acc); margin-bottom: 6px; }
.fid-suivi .fid-t { font-size: 84px; }
.fid-suivi .fid-l { font-size: 15px; }
.fid-rb-l { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 2px 0 10px; color: var(--mut); }
.fid-rb { font-family: var(--anton); font-weight: 400; font-size: 44px; line-height: 1.1; letter-spacing: 1.5px; font-variant-numeric: tabular-nums; color: var(--c, var(--acc)); }
.fid-rb-l.pause .fid-rb { opacity: .55; }
.fid-rz { font-variant-numeric: tabular-nums; }
.nav-rb-m { display: none; }
@media (max-width: 980px) { .nav-rb-m { display: inline; margin-left: 6px; } }
.nav-rb { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #F2C14E; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ca-bonus { margin-bottom: 14px; text-align: left; }
.fid-hebdo-auj { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 13px; color: var(--mut); white-space: nowrap; }
.fid-hebdo-auj .fid-jauge { margin: 0; flex: 1; height: 6px; }
.fid-suivi-p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; color: var(--mut); }
.fid-suivi-p b { font-family: var(--anton); font-weight: 400; font-size: 30px; letter-spacing: .5px; text-transform: uppercase; color: var(--c, var(--acc)); }
.fid-suivi-p span b { font: inherit; font-weight: 700; color: var(--txt); text-transform: none; letter-spacing: 0; }
.fid-jauge { position: relative; height: 16px; margin-top: 12px; background: var(--bg3); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.fid-jauge i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, color-mix(in srgb, var(--c, #ff6fb5) 55%, #12060d), var(--c, #ff6fb5)); border-radius: 8px; transition: width .6s ease; }
.fid-jauge-l { display: flex; justify-content: space-between; font-size: 13px; margin-top: 6px; }
.fid-reset { margin-top: 14px; font-size: 14px; }
.fid-etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: etape; }
.fid-etapes li { position: relative; background: var(--bg2); border: 1px solid var(--line); padding: 18px 18px 16px; counter-increment: etape; }
.fid-etapes li::before { content: counter(etape); position: absolute; top: 12px; right: 14px; font-family: var(--anton); font-size: 28px; color: var(--line); }
.fid-etape-i { display: block; font-size: 28px; margin-bottom: 8px; }
.fid-etapes li > b { display: block; font-size: 16px; margin-bottom: 4px; }
.fid-etapes p b { color: var(--txt); }
.fid-etapes p { margin: 0; color: var(--mut); font-size: 14px; line-height: 1.45; }
.fid-faq { display: grid; gap: 8px; }
.fid-faq details { background: var(--bg2); border: 1px solid var(--line); }
.fid-faq summary { cursor: pointer; padding: 13px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.fid-faq summary::-webkit-details-marker { display: none; }
.fid-faq summary::after { content: '+'; color: var(--acc); font-weight: 700; }
.fid-faq details[open] summary::after { content: '−'; }
.fid-faq p { margin: 0; padding: 0 16px 14px; color: var(--mut); }
.fid-aouvrir { margin-top: 18px; }
@media (max-width: 980px) { .fid-etapes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .fid-suivi { grid-template-columns: 1fr; gap: 18px; padding: 20px 16px; }
  .fid-suivi-c { width: 110px; margin: 0 auto; }
  .fid-hebdo { padding: 10px 12px; gap: 10px; } .fid-hebdo-c { flex-basis: 44px; } .fid-hebdo-t { grid-template-columns: minmax(0, 1fr); } .fid-hebdo-j { grid-column: 1; grid-row: auto; margin-top: 6px; } .fid-hebdo-j span { flex-basis: 100%; } .fid-hebdo-auj { white-space: normal; }
  .fid-suivi .fid-t { font-size: 62px; }
  .fid-etapes { grid-template-columns: 1fr; }
}
/* Accueil (06/11) : Coffres ROSA bien visibles — badge dans le haut de page + grande section sous le haut */
.coffres-badge { display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 18px; padding: 8px 14px 8px 10px; border: 1px solid rgba(180, 140, 255, .55); background: rgba(180, 140, 255, .12); color: var(--txt); font-size: 15px; text-decoration: none; border-radius: 999px; transition: background .2s, border-color .2s; }
.coffres-badge:hover { background: rgba(180, 140, 255, .22); border-color: #B48CFF; }
.coffres-badge b { font-family: var(--anton); font-weight: 400; letter-spacing: 1px; text-transform: uppercase; color: #B48CFF; font-size: 14px; }
.coffres-badge em { font-style: normal; color: #F2C14E; font-weight: 600; }
.coffres-badge i { font-style: normal; color: #B48CFF; }
.coffres-acc { position: relative; padding: 70px 0; background: radial-gradient(60% 120% at 85% 50%, rgba(180, 140, 255, .18), transparent 65%), radial-gradient(40% 80% at 10% 100%, rgba(95, 212, 244, .08), transparent 70%), linear-gradient(180deg, #150810, #0A1120 50%, #150810); border-top: 1px solid rgba(180, 140, 255, .25); border-bottom: 1px solid rgba(180, 140, 255, .25); overflow: hidden; }
.ca-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-areas: 't v' 'e e' 'p p'; gap: 34px 50px; align-items: center; }
.ca-t { grid-area: t; } .ca-v { grid-area: v; align-self: end; } .ca-escalier { grid-area: e; } .ca-piste { grid-area: p; }
.ca-t { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.ca-h { font-size: 72px; line-height: .95; margin: 0; }
.ca-h span { color: #B48CFF; }
.ca-t p { margin: 0; color: #C9D3E0; font-size: 18px; max-width: 46ch; }
.ca-etapes { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ca-etapes li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.ca-etapes li span { font-size: 18px; }
.ca-v { position: relative; }
.ca-escalier { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); align-items: end; gap: 8px; margin-top: 10px; }
.ca-escalier span { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ca-escalier .fid-svg { width: calc(44% + var(--k, 0) * 6.2%); filter: grayscale(.35) brightness(.75) drop-shadow(0 8px 18px var(--c)); transition: transform .3s; }
.ca-escalier span.on .fid-svg { filter: drop-shadow(0 8px 22px var(--c)); }
.ca-escalier b { font-family: var(--anton); font-weight: 400; font-size: 16px; letter-spacing: .5px; text-transform: uppercase; color: var(--c); margin-top: 4px; }
.ca-escalier small { font-size: 12px; color: var(--dim); }
.ca-piste { position: relative; height: 8px; margin-top: -18px; background: rgba(255, 255, 255, .06); border-radius: 4px; overflow: hidden; }
.ca-piste i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #C27D45, #C9D3E0, #F2C14E, #9FE7D9, #34D399, #FF4F8B, #5FD4F4, #FF8A3D, #E5484D, #B48CFF); }
.coffres-acc:hover .ca-escalier span:last-child .fid-svg { transform: translateY(-6px) rotate(-3deg); }
.ca-vit { margin-bottom: 14px; }
.ca-vit .kicker { display: block; margin-bottom: 8px; }
.ca-vit .fid-vit-l { justify-content: flex-start; gap: 6px; }
.ca-vit .fid-vit-i { flex: 0 1 calc(25% - 5px); padding: 8px 4px; gap: 2px; background: rgba(18,6,13, .6); font-size: 13px; }
.ca-moi { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding: 14px 18px; background: rgba(18,6,13, .6); border: 1px solid var(--line); border-left: 3px solid #B48CFF; color: var(--mut); }
.ca-moi > b { font-family: var(--anton); font-weight: 400; font-size: 30px; color: var(--txt); letter-spacing: .5px; }
.ca-moi .ca-c { color: var(--c); }
@media (max-width: 980px) { .ca-in { grid-template-columns: 1fr; grid-template-areas: 't' 'v' 'e' 'p'; gap: 24px; } .ca-h { font-size: 56px; } }
@media (max-width: 720px) {
  .coffres-acc { padding: 44px 0; }
  .ca-h { font-size: 44px; }
  .ca-t p { font-size: 16px; }
  .ca-escalier { gap: 2px; overflow: hidden; }
  .ca-escalier b { font-size: 9px; letter-spacing: 0; }
  .ca-escalier small { font-size: 9px; }
  .ca-piste { margin-top: -10px; }
  .coffres-badge { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .ca-escalier .fid-svg { transition: none; } }

/* Portail staff */
.staff-portal { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 50% 28%, rgba(191, 42, 100, .17), transparent 52%), #12060D; }
.staff-hdr { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.staff-portal-main { flex: 1; display: grid; place-items: center; padding: 48px 20px 72px; }
.staff-portal-card { position: relative; width: min(100%, 700px); padding: clamp(28px, 6vw, 58px); overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: linear-gradient(145deg, rgba(39,17,29,.96), rgba(23,9,17,.96)); box-shadow: 0 28px 100px rgba(0,0,0,.42); }
.staff-portal-icon { position: absolute; top: 28px; right: 34px; color: #ff6fb5; font-size: 42px; opacity: .7; }
.staff-portal-card h1 { margin: 8px 0 12px; font: 400 clamp(46px, 8vw, 76px)/.98 Anton, sans-serif; letter-spacing: .01em; }
.staff-portal-card h1 span { color: #ff6fb5; }
.staff-portal-lead { max-width: 470px; color: rgba(255,255,255,.74); font-size: 17px; line-height: 1.6; }
.staff-portal-tools { display: grid; gap: 10px; margin: 28px 0; }
.staff-portal-tools div { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(255,255,255,.025); }
.staff-portal-tools b { font-size: 15px; }
.staff-portal-tools span, .staff-portal-note { color: rgba(255,255,255,.59); font-size: 13px; line-height: 1.55; }
.staff-portal-login { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 20px; }
.staff-portal-note { margin: 16px 0; }
.staff-portal-card > .lnk { display: inline-block; margin-top: 4px; }
.staff-portal-foot { padding: 20px; text-align: center; color: rgba(255,255,255,.45); font-size: 12px; }
.staff-portal-foot a { color: inherit; }
@media (max-width: 620px) { .staff-hdr { width: calc(100% - 28px); } .staff-hdr .nav { gap: 12px; } .staff-portal-main { padding: 32px 14px 48px; } .staff-portal-card { border-radius: 18px; } }
.staff-console { display: flex; flex-direction: row; background: #0f0a10; color: #f8eff4; font-family: Outfit, sans-serif; }
.staff-sidebar { position: sticky; top: 0; display: flex; flex: 0 0 250px; flex-direction: column; width: 250px; height: 100vh; padding: 25px 16px; border-right: 1px solid rgba(255,255,255,.08); background: #150d14; }
.staff-brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 28px; color: #fff; font-weight: 600; line-height: 1.05; }
.staff-brand img { border-radius: 11px; }
.staff-brand b { color: #ff6fb5; }
.staff-brand small { display: block; margin-top: 5px; color: rgba(255,255,255,.48); font-size: 11px; font-weight: 400; }
.staff-side-label { padding: 12px 10px; color: rgba(255,255,255,.37); font-size: 10px; font-weight: 600; letter-spacing: .14em; }
.staff-side-link { display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 0 6px; margin: 2px 0; padding: 11px 10px; border-radius: 9px; color: rgba(255,255,255,.71); font-size: 13px; transition: background .2s,color .2s; }
.staff-side-link > span { grid-row: span 2; color: #ff79b9; font-size: 17px; }
.staff-side-link i { grid-column: 2; color: rgba(255,255,255,.39); font-size: 10px; font-style: normal; }
.staff-side-link:hover, .staff-side-link.active { background: rgba(255,92,163,.12); color: white; }
.staff-side-bottom { display: grid; gap: 15px; margin-top: auto; padding: 18px 10px 4px; border-top: 1px solid rgba(255,255,255,.07); font-size: 12px; }
.staff-side-bottom a { color: rgba(255,255,255,.55); }
.staff-console-main { min-width: 0; flex: 1; }
.staff-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; padding: 18px clamp(22px, 5vw, 66px); border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(21,13,20,.72); }
.staff-breadcrumb { color: rgba(255,255,255,.46); font-size: 11px; }
.staff-breadcrumb span { padding: 0 7px; color: #ff6fb5; }
.staff-topbar h1 { margin: 5px 0 0; font-size: 21px; font-weight: 600; }
.staff-top-actions { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.53); font-size: 11px; }
.staff-top-actions a { margin-left: 12px; color: #ff83bd; }
.staff-online-dot, .staff-live i { width: 7px; height: 7px; border-radius: 50%; background: #53d49a; box-shadow: 0 0 12px rgba(83,212,154,.55); }
.staff-content { width: min(1160px, 100%); margin: 0 auto; padding: 34px clamp(20px, 5vw, 66px) 25px; }
.staff-welcome { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 205px; padding: clamp(25px, 4vw, 46px); overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: radial-gradient(ellipse at 85% 45%, rgba(233,63,137,.22), transparent 38%), linear-gradient(120deg,#271322,#1b111b); }
.staff-welcome .kicker, .staff-section-head .kicker { color: #ff83bd; font-size: 10px; letter-spacing: .16em; }
.staff-welcome h2 { margin: 11px 0 8px; font-size: clamp(23px, 3.4vw, 34px); }
.staff-welcome p { max-width: 565px; margin: 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.6; }
.staff-welcome-mark { padding: 0 8px; color: rgba(255,111,181,.24); font-size: clamp(66px, 10vw, 110px); }
.staff-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 34px 0 16px; }
.staff-section-head h2 { margin: 5px 0 0; font-size: 20px; }
.staff-live { display: flex; align-items: center; gap: 8px; padding-bottom: 4px; color: rgba(255,255,255,.49); font-size: 11px; }
.staff-workspaces { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.staff-workspace { display: flex; min-height: 260px; flex-direction: column; padding: 20px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: #191219; transition: transform .18s,border-color .18s,background .18s; }
.staff-workspace:hover { transform: translateY(-3px); border-color: rgba(255,111,181,.4); background: #201520; }
.staff-ws-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; background: rgba(255,111,181,.12); color: #ff83bd; font-size: 20px; }
.staff-anim .staff-ws-icon { color: #b3a0ff; background: rgba(155,128,255,.13); }
.staff-recruit .staff-ws-icon { color: #6fdbb2; background: rgba(83,212,154,.12); }
.staff-ws-tag { margin-top: 20px; color: #ff83bd; font-size: 9px; font-weight: 600; letter-spacing: .14em; }
.staff-anim .staff-ws-tag { color: #b3a0ff; }
.staff-recruit .staff-ws-tag { color: #6fdbb2; }
.staff-workspace h3 { margin: 5px 0 7px; font-size: 17px; }
.staff-workspace p { margin: 0 0 20px; color: rgba(255,255,255,.56); font-size: 12px; line-height: 1.6; }
.staff-ws-action { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.82); font-size: 12px; }
.staff-ws-action b { color: #ff83bd; font-size: 16px; }
.staff-security { display: flex; align-items: flex-start; gap: 14px; margin-top: 18px; padding: 17px 19px; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(255,255,255,.025); }
.staff-security > span { font-size: 18px; }
.staff-security b { font-size: 12px; }
.staff-security p { margin: 4px 0 0; color: rgba(255,255,255,.48); font-size: 11px; line-height: 1.5; }
.staff-console-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 28px; padding: 15px 0 2px; border-top: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.35); font-size: 10px; }
.staff-console-footer span { display: flex; gap: 18px; }
.staff-console-footer a { color: inherit; }
@media (max-width: 900px) { .staff-sidebar { flex-basis: 208px; width: 208px; } .staff-workspaces { grid-template-columns: 1fr; } .staff-workspace { min-height: 220px; } }
@media (max-width: 640px) { .staff-console { display: block; } .staff-sidebar { position: sticky; z-index: 5; top: 0; width: 100%; height: auto; padding: 10px 12px 8px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); background: #150d14; } .staff-brand { padding: 0 4px 9px; } .staff-brand img { width: 32px; height: 32px; } .staff-brand small,.staff-side-label,.staff-side-bottom { display: none; } .staff-sidebar { display: block; } .staff-sidebar .staff-brand { display: inline-flex; } .staff-side-link { display: inline-flex; gap: 6px; margin: 0 1px; padding: 8px; font-size: 10px; white-space: nowrap; } .staff-side-link > span { font-size: 14px; } .staff-side-link i { display: none; } .staff-topbar { min-height: 75px; padding: 13px 18px; } .staff-top-actions { max-width: 150px; font-size: 9px; } .staff-top-actions a { display: none; } .staff-content { padding: 20px 14px; } .staff-welcome { min-height: 180px; } .staff-welcome-mark { display: none; } .staff-console-footer { flex-direction: column; } }

.staff-local-head { margin-top: 42px; }
.staff-local-badge { padding: 7px 10px; border: 1px solid rgba(255,186,84,.2); border-radius: 99px; color: #ffc56e; font-size: 10px; white-space: nowrap; }
.staff-tool-nav { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 16px 0; padding: 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: #171017; }
.staff-tool-nav button,.staff-import { padding: 9px 12px; border: 0; border-radius: 8px; background: transparent; color: rgba(255,255,255,.63); font: inherit; font-size: 11px; cursor: pointer; }
.staff-tool-nav button:hover,.staff-tool-nav button.active,.staff-import:hover { background: rgba(255,111,181,.13); color: #fff; }
.staff-tool-nav .staff-backup { margin-left: auto; color: #ff93c5; }
.staff-import { border: 1px solid rgba(255,255,255,.1); }
.staff-tool-view { min-height: 270px; padding: 20px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: #151016; }
.tool-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.tool-head h3 { margin: 0; font-size: 19px; }
.tool-head p { margin: 5px 0 0; color: rgba(255,255,255,.5); font-size: 11px; }
.tool-secondary,.tool-form-actions button,.tool-card-actions button,.tool-link { border: 1px solid rgba(255,255,255,.1); border-radius: 7px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.78); font: inherit; font-size: 10px; cursor: pointer; }
.tool-secondary { padding: 9px 12px; }
.tool-controls { display: flex; gap: 9px; margin: 13px 0; }
.tool-search { display: flex; align-items: center; gap: 8px; min-width: min(320px,100%); padding: 0 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: #ff83bd; }
.tool-search input { width: 100%; padding: 10px 0; border: 0; outline: 0; background: transparent; color: white; font: inherit; font-size: 11px; }
.tool-controls select,.tool-form input,.tool-form select,.tool-form textarea { min-width: 0; padding: 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; outline: 0; background: #1c151d; color: #f8eff4; font: inherit; font-size: 11px; }
.tool-form { margin: 13px 0 20px; padding: 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: rgba(255,255,255,.018); }
.tool-form-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.tool-form-grid label { display: grid; gap: 5px; color: rgba(255,255,255,.56); font-size: 10px; }
.tool-form-grid label:has(textarea) { grid-column: span 2; }
.tool-form input,.tool-form select,.tool-form textarea { width: 100%; box-sizing: border-box; }
.tool-form textarea { resize: vertical; }
.tool-form-actions { display: flex; gap: 7px; margin-top: 10px; }
.tool-form-actions button { padding: 8px 12px; }
.tool-form-actions .tool-primary { border-color: rgba(255,111,181,.3); background: rgba(255,111,181,.16); color: #ffadd2; }
.tool-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.tool-card { min-width: 0; padding: 15px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px 10px 0 0; background: rgba(255,255,255,.025); }
.tool-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: rgba(255,255,255,.46); font-size: 9px; }
.tool-pill { padding: 4px 7px; border-radius: 99px; background: rgba(255,111,181,.12); color: #ff9cc9; font-size: 8px; letter-spacing: .06em; }
.tool-card h4 { margin: 11px 0 5px; font-size: 14px; }
.tool-card p { margin: 0 0 10px; color: rgba(255,255,255,.56); font-size: 11px; line-height: 1.55; white-space: pre-wrap; }
.tool-card small { display: block; margin-top: 5px; color: rgba(255,255,255,.42); font-size: 9px; }
.tool-card .overdue { color: #ff8484; }
.tool-note-body { max-height: 180px; overflow: auto; }
.tool-card-actions { display: flex; gap: 6px; padding: 0 12px 12px; border: 1px solid rgba(255,255,255,.08); border-top: 0; border-radius: 0 0 10px 10px; background: rgba(255,255,255,.025); }
.tool-card-actions button { padding: 6px 8px; }
.tool-card-actions button:hover,.tool-link:hover,.tool-secondary:hover { border-color: rgba(255,111,181,.35); }
.tool-card-actions .danger { margin-left: auto; color: #ff9d9d; }
.tool-link { padding: 6px 8px; }
.tool-empty { padding: 18px; border: 1px dashed rgba(255,255,255,.11); border-radius: 9px; color: rgba(255,255,255,.45); font-size: 11px; text-align: center; }
.tool-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin-bottom: 14px; }
.tool-stats div { display: grid; gap: 5px; padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; background: rgba(255,255,255,.025); }
.tool-stats b { color: #ff83bd; font-size: 21px; }
.tool-stats span { color: rgba(255,255,255,.49); font-size: 9px; }
.tool-home-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.tool-panel { padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; }
.tool-panel .tool-head { margin-bottom: 9px; }
.tool-panel .tool-head h3 { font-size: 13px; }
.tool-panel .tool-head p { font-size: 9px; }
.tool-agenda { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.tool-agenda li { display: grid; gap: 3px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.tool-agenda b { font-size: 11px; }
.tool-agenda span,.tool-agenda time { color: rgba(255,255,255,.48); font-size: 9px; }
.tool-local-warning { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px; border: 1px solid rgba(255,186,84,.18); border-radius: 9px; background: rgba(255,186,84,.035); }
.tool-local-warning b { color: #ffc56e; font-size: 10px; white-space: nowrap; }
.tool-local-warning span { flex: 1; color: rgba(255,255,255,.48); font-size: 9px; line-height: 1.45; }
.tool-local-warning button { padding: 7px 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; background: transparent; color: rgba(255,255,255,.72); font: inherit; font-size: 9px; cursor: pointer; }
@media (max-width: 760px) { .tool-cards,.tool-home-grid { grid-template-columns: 1fr; } .tool-form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .tool-stats { grid-template-columns: repeat(2,minmax(0,1fr)); } .staff-tool-view { padding: 12px; } .staff-tool-nav .staff-backup { margin-left: 0; } }
@media (max-width: 480px) { .tool-form-grid { grid-template-columns: 1fr; } .tool-form-grid label:has(textarea) { grid-column: auto; } .tool-head { align-items: flex-start; flex-direction: column; } .tool-controls { flex-direction: column; } .tool-local-warning { align-items: flex-start; flex-direction: column; } }

/* Console staff autonome */
.staff-console-app { min-height:100vh; margin:0; color:#f6edf3; background:#100910 url('../images/fond-rosa.webp') center/cover fixed; font-family:Outfit,sans-serif; }
.staff-console-app:before { position:fixed; inset:0; z-index:0; background:linear-gradient(110deg,rgba(13,7,12,.97),rgba(22,9,17,.91) 55%,rgba(13,7,12,.88)); content:""; pointer-events:none; }
.staff-app { position:relative; z-index:1; display:grid; grid-template-columns:62px 252px minmax(0,1fr); min-height:100vh; }
.staff-rail { display:flex; flex-direction:column; align-items:center; padding:14px 0; border-right:1px solid rgba(255,255,255,.055); background:rgba(10,6,10,.72); }
.staff-mark { display:grid; justify-items:center; gap:6px; color:#fff; font-size:8px; font-weight:700; letter-spacing:.07em; }
.staff-mark img { width:30px; height:30px; border-radius:9px; }
.staff-mark b { color:#ff4c8e; }
.staff-rail-symbols { display:grid; gap:18px; margin-top:31px; color:#fb467e; font-size:15px; }
.staff-sidebar { display:flex; flex-direction:column; min-height:100vh; padding:15px 10px 12px; border-right:1px solid rgba(255,255,255,.06); background:rgba(18,10,17,.94); }
.staff-side-brand { display:flex; align-items:center; justify-content:space-between; min-height:49px; padding:0 8px 14px; }
.staff-side-brand div { display:grid; gap:2px; }
.staff-side-brand .eyebrow,.auth-kicker { color:#ff508e; font-size:9px; font-weight:700; letter-spacing:.16em; }
.staff-side-brand b { font-size:13px; }
.secure-mark { padding:5px 7px; border:1px solid rgba(255,91,148,.2); border-radius:99px; color:#ff78a8; font-size:8px; letter-spacing:.05em; }
.staff-nav-label { padding:16px 10px 8px; color:rgba(255,255,255,.37); font-size:8px; font-weight:700; letter-spacing:.15em; }
.staff-nav { display:grid; gap:4px; }
.staff-nav-link { display:grid; grid-template-columns:27px 1fr; align-items:center; gap:1px 8px; min-height:46px; padding:7px 9px; border:0; border-radius:9px; background:transparent; color:rgba(255,255,255,.7); text-align:left; font:inherit; font-size:11px; cursor:pointer; }
.staff-nav-link .nav-icon { grid-row:span 2; color:#ff528f; font-size:15px; }
.staff-nav-link small { grid-column:2; color:rgba(255,255,255,.38); font-size:8px; }
.staff-nav-link:hover,.staff-nav-link.active { background:rgba(255,71,132,.14); color:#fff; }
.staff-nav-link.active { box-shadow:inset 2px 0 #ff4d8e; }
.staff-user-card { display:flex; align-items:center; gap:8px; margin-top:auto; padding:12px 4px 2px; border-top:1px solid rgba(255,255,255,.07); }
.staff-avatar { display:grid; flex:none; width:30px; height:30px; place-items:center; border:1px solid rgba(255,111,167,.27); border-radius:50%; background:#321826; color:#ff8ab7; font-size:12px; font-weight:700; }
.staff-user-card > span:nth-child(2) { display:grid; min-width:0; gap:3px; flex:1; }
.staff-user-card b { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.staff-user-card small { color:rgba(255,255,255,.43); font-size:8px; }
.staff-user-card button { border:0; background:none; color:#ff79a9; font-size:17px; cursor:pointer; }
.staff-main { min-width:0; }
.staff-topbar { position:sticky; z-index:3; top:0; display:flex; align-items:center; justify-content:space-between; min-height:68px; padding:11px clamp(18px,3vw,42px); border-bottom:1px solid rgba(255,255,255,.07); background:rgba(17,9,16,.82); backdrop-filter:blur(18px); }
.staff-crumb { color:rgba(255,255,255,.45); font-size:8px; letter-spacing:.04em; }
.staff-crumb i { padding:0 6px; color:#ff4f8e; font-style:normal; }
.staff-topbar h1 { margin:5px 0 0; font-size:16px; font-weight:600; }
.staff-top-right { display:flex; align-items:center; gap:9px; color:rgba(255,255,255,.53); font-size:9px; }
.server-dot { width:6px; height:6px; border-radius:50%; background:#5be0a3; box-shadow:0 0 9px rgba(91,224,163,.7); }
.staff-top-right button { padding:7px 10px; border:1px solid rgba(255,255,255,.1); border-radius:7px; background:rgba(255,255,255,.03); color:#f6edf3; font:inherit; cursor:pointer; }
.staff-top-right .mobile-menu { display:none; }
.staff-content { width:min(1440px,100%); margin:auto; padding:clamp(18px,3vw,38px); }
.dash-hero { position:relative; display:flex; align-items:center; justify-content:space-between; min-height:145px; padding:26px 30px; overflow:hidden; border:1px solid rgba(255,255,255,.08); border-radius:13px; background:radial-gradient(ellipse at 85% 45%,rgba(242,44,109,.22),transparent 40%),linear-gradient(120deg,rgba(49,18,34,.92),rgba(26,12,22,.96)); }
.dash-hero h2 { margin:9px 0 5px; font-size:clamp(22px,3vw,31px); }
.dash-hero p { margin:0; color:rgba(255,255,255,.55); font-size:11px; }
.hero-star { color:rgba(255,77,142,.32); font-size:79px; }
.dash-stats { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:9px; margin:14px 0; }
.stat-card { display:grid; justify-items:start; gap:8px; min-height:93px; padding:13px; border:1px solid rgba(255,255,255,.075); border-radius:10px; background:rgba(26,16,25,.88); color:#fff; text-align:left; cursor:pointer; }
.stat-card:hover { border-color:rgba(255,79,142,.38); transform:translateY(-1px); }
.stat-card span { color:#ff528f; font-size:13px; }
.stat-card b { font-size:21px; }
.stat-card small { color:rgba(255,255,255,.52); font-size:8px; }
.dash-columns { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr); gap:12px; }
.dash-panel { min-width:0; padding:17px; border:1px solid rgba(255,255,255,.075); border-radius:11px; background:rgba(23,14,22,.9); }
.section-title,.module-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.section-title h3 { margin:5px 0 0; font-size:14px; }
.recent-list { display:grid; gap:0; margin:12px 0 0; padding:0; list-style:none; }
.recent-list li { display:flex; align-items:center; gap:10px; min-width:0; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.05); }
.recent-mark { display:grid; width:27px; height:27px; flex:none; place-items:center; border-radius:8px; background:rgba(255,70,133,.11); color:#ff6b9c; }
.recent-list li > span:nth-child(2) { display:grid; min-width:0; gap:3px; flex:1; }
.recent-list b { overflow:hidden; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
.recent-list small { color:rgba(255,255,255,.4); font-size:8px; }
.recent-list button { border:0; background:transparent; color:#ff72a4; cursor:pointer; }
.quick-links { display:grid; gap:5px; margin-top:12px; }
.quick-links button { display:flex; align-items:center; gap:10px; padding:9px; border:1px solid transparent; border-radius:7px; background:rgba(255,255,255,.025); color:#fff; text-align:left; cursor:pointer; }
.quick-links button:hover { border-color:rgba(255,75,140,.25); background:rgba(255,75,140,.08); }
.quick-links span { width:20px; color:#ff568f; text-align:center; }
.quick-links b { flex:1; font-size:9px; font-weight:500; }
.quick-links i { color:rgba(255,255,255,.4); font-style:normal; }
.server-truth { margin:14px 0 0; color:rgba(255,255,255,.38); font-size:8px; line-height:1.5; }
.module-heading { margin-bottom:20px; }
.module-heading h2 { margin:6px 0 4px; font-size:23px; }
.module-heading p { margin:0; color:rgba(255,255,255,.49); font-size:10px; }
.module-actions { display:flex; gap:7px; }
.primary-button,.outline-button { padding:9px 12px; border:1px solid rgba(255,255,255,.12); border-radius:7px; color:#fff; font:inherit; font-size:9px; cursor:pointer; }
.primary-button { border-color:rgba(255,70,135,.43); background:linear-gradient(120deg,#d92767,#a92356); box-shadow:0 5px 20px rgba(202,29,91,.14); }
.primary-button:hover { filter:brightness(1.13); }
.outline-button { background:rgba(255,255,255,.035); }
.data-toolbar { display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.data-search { display:flex; align-items:center; gap:8px; width:min(360px,100%); padding:0 11px; border:1px solid rgba(255,255,255,.1); border-radius:7px; color:#ff6499; }
.data-search input { width:100%; padding:9px 0; border:0; outline:0; background:transparent; color:#fff; font:inherit; font-size:9px; }
.data-toolbar select,.users-create input,.users-create select,.staff-dialog input,.staff-dialog textarea,.staff-dialog select { min-width:0; padding:9px; border:1px solid rgba(255,255,255,.1); border-radius:6px; outline:0; background:#1c111a; color:#fff; font:inherit; font-size:9px; }
.data-toolbar>span { margin-left:auto; color:rgba(255,255,255,.4); font-size:9px; }
.record-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.record-card { min-width:0; padding:13px; border:1px solid rgba(255,255,255,.075); border-radius:10px; background:rgba(25,15,24,.92); }
.record-top { display:flex; align-items:center; justify-content:space-between; }
.record-icon { color:#ff568f; font-size:14px; }
.record-state { padding:4px 7px; border:1px solid rgba(255,102,157,.16); border-radius:99px; background:rgba(255,83,145,.08); color:#ff9cbe; font-size:7px; }
.record-card h3 { overflow:hidden; margin:11px 0; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.record-facts { display:grid; gap:7px; min-height:48px; }
.record-facts div { display:grid; gap:2px; }
.record-facts small,.record-facts>small { color:rgba(255,255,255,.39); font-size:7px; }
.record-facts span { overflow-wrap:anywhere; color:rgba(255,255,255,.76); font-size:9px; }
.record-card footer { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:11px; padding-top:9px; border-top:1px solid rgba(255,255,255,.06); }
.record-card footer>small { color:rgba(255,255,255,.35); font-size:7px; }
.record-card footer span { display:flex; gap:3px; }
.record-card footer button { width:24px; height:23px; border:1px solid transparent; border-radius:5px; background:rgba(255,255,255,.04); color:#ff82ac; cursor:pointer; }
.record-card footer button:hover { border-color:rgba(255,82,143,.35); }
.empty-state,.panel-loading,.server-error { display:grid; justify-items:center; gap:9px; padding:50px 18px; border:1px dashed rgba(255,255,255,.11); border-radius:11px; color:rgba(255,255,255,.48); text-align:center; font-size:10px; }
.empty-state>span { color:#ff5b94; font-size:20px; }
.empty-state b { color:#fff; font-size:12px; }
.panel-error { padding:18px; border:1px solid rgba(255,85,100,.18); border-radius:9px; background:rgba(183,37,62,.1); color:#ff9ca5; font-size:10px; }
.staff-dialog { width:min(680px,calc(100% - 28px)); max-height:90vh; padding:0; overflow:auto; border:1px solid rgba(255,255,255,.12); border-radius:13px; background:#170e16; color:#fff; box-shadow:0 25px 110px rgba(0,0,0,.75); }
.staff-dialog::backdrop { background:rgba(5,3,5,.78); backdrop-filter:blur(5px); }
.dialog-form { padding:20px; }
.dialog-form header,.dialog-form footer { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.dialog-form header { margin-bottom:17px; }
.dialog-form header h2 { margin:5px 0 0; font-size:16px; }
.dialog-form header button { border:0; background:transparent; color:#fff; font-size:21px; cursor:pointer; }
.dialog-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.form-field { display:grid; gap:6px; color:rgba(255,255,255,.66); font-size:9px; }
.form-field i { color:#ff6d9d; font-style:normal; }
.form-field.wide { grid-column:span 2; }
.staff-dialog input,.staff-dialog textarea,.staff-dialog select { box-sizing:border-box; width:100%; }
.staff-dialog textarea { resize:vertical; }
.dialog-form footer { justify-content:flex-end; margin-top:20px; }
.staff-toast { position:fixed; z-index:20; right:20px; bottom:20px; max-width:min(440px,calc(100% - 40px)); padding:12px 16px; transform:translateY(15px); border:1px solid rgba(92,222,164,.3); border-radius:8px; background:#16261f; color:#a7f0ca; font-size:10px; opacity:0; pointer-events:none; transition:.2s; }
.staff-toast.show { transform:translateY(0); opacity:1; }
.staff-toast.bad { border-color:rgba(255,91,110,.3); background:#29151a; color:#ffabb3; }
.auth-layout { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(380px,.9fr); min-height:100vh; }
.auth-brand { display:flex; flex-direction:column; justify-content:center; padding:8vw; }
.auth-logo { display:flex; align-items:center; gap:9px; margin-bottom:auto; color:#fff; font-size:15px; font-weight:700; letter-spacing:.08em; }
.auth-logo img { width:36px; height:36px; border-radius:11px; }
.auth-logo b { color:#ff4e8d; }
.auth-kicker { display:inline-block; }
.auth-brand h1 { margin:14px 0; font-size:clamp(38px,6vw,70px); line-height:1.02; }
.auth-brand h1 em { color:#ff4d8d; font-style:normal; }
.auth-brand>p { max-width:430px; color:rgba(255,255,255,.57); font-size:12px; line-height:1.8; }
.auth-lines { display:flex; gap:24px; margin-top:28px; color:#ff548f; font-size:9px; }
.auth-lines span { display:grid; gap:5px; }
.auth-lines b { color:rgba(255,255,255,.64); font-weight:500; }
.auth-box { display:grid; place-items:center; padding:30px; border-left:1px solid rgba(255,255,255,.07); background:rgba(17,9,15,.83); backdrop-filter:blur(12px); }
.auth-box-inner { width:min(380px,100%); }
.auth-box h2 { margin:11px 0 6px; font-size:25px; }
.auth-box p { margin:0 0 24px; color:rgba(255,255,255,.5); font-size:10px; line-height:1.6; }
.auth-box form { display:grid; gap:13px; }
.auth-box label,.users-create label { display:grid; gap:6px; color:rgba(255,255,255,.67); font-size:9px; }
.auth-box input { width:100%; box-sizing:border-box; padding:12px; border:1px solid rgba(255,255,255,.11); border-radius:7px; outline:0; background:#1d121b; color:#fff; font:inherit; font-size:11px; }
.auth-box input:focus,.staff-dialog input:focus,.staff-dialog textarea:focus { border-color:#eb407d; box-shadow:0 0 0 3px rgba(229,47,111,.1); }
.auth-submit { display:flex; justify-content:space-between; align-items:center; margin-top:5px; padding:12px 14px; border:1px solid rgba(255,83,143,.37); border-radius:7px; background:linear-gradient(110deg,#d12b68,#9d204e); color:#fff; font:inherit; font-size:10px; cursor:pointer; }
.auth-submit:disabled { opacity:.6; }
.auth-foot { display:block; margin-top:23px; color:rgba(255,255,255,.33); font-size:8px; }
.auth-error { padding:10px; border:1px solid rgba(255,90,105,.24); border-radius:6px; background:rgba(159,31,50,.12); color:#ff9da8; font-size:9px; }
.server-error { position:relative; z-index:1; width:min(520px,calc(100% - 40px)); margin:15vh auto; padding:35px; background:rgba(20,10,18,.95); }
.server-error h1 { margin:0; color:#fff; font-size:21px; }
.server-error p { line-height:1.6; }
.server-error a { color:#ff74a4; }
.users-create,.audit-panel { margin:14px 0; padding:17px; border:1px solid rgba(255,255,255,.075); border-radius:10px; background:rgba(24,15,23,.9); }
.users-create h3,.audit-panel h3 { margin:0 0 12px; font-size:12px; }
.users-create form { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); align-items:end; gap:9px; }
.users-create input,.users-create select { width:100%; box-sizing:border-box; margin-top:5px; }
.users-create small { grid-column:1/-1; color:rgba(255,255,255,.4); font-size:8px; }
.users-list { display:grid; gap:6px; }
.user-row { display:flex; align-items:center; gap:10px; padding:10px; border:1px solid rgba(255,255,255,.07); border-radius:8px; background:rgba(24,15,23,.8); }
.user-row>span:nth-child(2) { display:grid; gap:4px; flex:1; }
.user-row b { font-size:10px; }
.user-row small { color:rgba(255,255,255,.43); font-size:8px; }
.audit-panel p { display:flex; flex-wrap:wrap; gap:7px; color:rgba(255,255,255,.58); font-size:8px; }
.audit-panel time { color:rgba(255,255,255,.38); }
.user-ident { display:grid; min-width:115px; gap:3px; }
.user-controls { display:flex; align-items:center; justify-content:flex-end; gap:5px; flex-wrap:wrap; margin-left:auto; }
.user-controls select,.user-controls input { width:118px; min-width:0; padding:7px; border:1px solid rgba(255,255,255,.1); border-radius:6px; background:#1c111a; color:#fff; font:inherit; font-size:8px; }
.user-controls input { width:135px; }
.user-controls .outline-button { padding:7px 8px; font-size:8px; }
@media(max-width:1200px){.dash-stats{grid-template-columns:repeat(3,minmax(0,1fr));}.record-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:900px){.staff-app{grid-template-columns:52px minmax(0,1fr)}.staff-sidebar{position:fixed;z-index:5;top:0;bottom:0;left:52px;width:252px;transform:translateX(-110%);transition:transform .2s;box-shadow:15px 0 40px rgba(0,0,0,.3)}.staff-app.nav-open .staff-sidebar{transform:translateX(0)}.staff-main{grid-column:2}.staff-top-right .mobile-menu{display:block}.staff-top-right>button[data-action="logout"]{display:none}.dash-columns{grid-template-columns:1fr}}
@media(max-width:600px){.auth-layout{grid-template-columns:1fr}.auth-brand{min-height:35vh;padding:28px}.auth-brand h1{font-size:39px}.auth-brand>p{font-size:10px}.auth-lines{margin-top:13px}.auth-box{padding:25px;border-left:0;border-top:1px solid rgba(255,255,255,.07)}.staff-content{padding:17px 12px}.dash-hero{min-height:125px;padding:19px}.hero-star{font-size:50px}.dash-stats{grid-template-columns:repeat(2,minmax(0,1fr));}.record-grid{grid-template-columns:1fr}.module-heading{align-items:flex-start;flex-direction:column}.module-actions{width:100%}.module-actions button{flex:1}.data-toolbar{flex-wrap:wrap}.data-search{width:100%}.dialog-fields{grid-template-columns:1fr}.form-field.wide{grid-column:auto}.users-create form{grid-template-columns:1fr 1fr}.staff-topbar{padding:10px 12px}.staff-top-right>span:not(.server-dot){display:none}.user-row{align-items:flex-start;flex-wrap:wrap}.user-controls{width:100%;margin-left:40px;justify-content:flex-start}.user-controls input{flex:1}.users-create form{grid-template-columns:1fr}}
.discord-login { display:flex; align-items:center; gap:10px; color:#fff; text-decoration:none; }
.discord-login svg { width:19px; height:19px; flex:none; }
.discord-login span { flex:1; }
.config-error { line-height:1.6; }
.config-error code { color:#ffd2e2; }
.user-row .discord-role-id { color:rgba(255,255,255,.4); font-size:8px; }
@media(max-width:780px){.user-row .discord-role-id{width:100%;margin-left:40px}.user-row>.record-state{margin-left:auto}}

/* Mouvement subtil sur l'accueil ROSA : apparition au scroll, lueur et survol. */
body[data-page="home"] .anim-entree {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.25,1);
  transition-delay: var(--anim-retard, 0ms);
}
body[data-page="home"] .anim-entree.visible { opacity: 1; transform: translateY(0); }
body[data-page="home"] .hero-home .kicker { animation: rosa-kicker-in .8s both; }
body[data-page="home"] .hero-home h1 { animation: rosa-title-in .9s .08s both; }
body[data-page="home"] .hero-home .hero-txt > p { animation: rosa-title-in .85s .18s both; }
body[data-page="home"] .hero-home .btns { animation: rosa-title-in .8s .28s both; }
body[data-page="home"] .hero-flotte { animation: rosa-float 6s ease-in-out infinite; }
body[data-page="home"] .roue-ban { transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
body[data-page="home"] .roue-ban:hover { transform: translateY(-4px); box-shadow: 0 18px 55px rgba(0,0,0,.28), 0 0 35px rgba(255,79,142,.09); }
body[data-page="home"] .roue-ban-roue img { animation: rosa-float 5s ease-in-out infinite; }
body[data-page="home"] .camp,
body[data-page="home"] .card,
body[data-page="home"] .lien-bas { transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, filter .28s ease; }
body[data-page="home"] .camp:hover,
body[data-page="home"] .card:hover,
body[data-page="home"] .lien-bas:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(0,0,0,.24); }
body[data-page="home"] .camp:hover { filter: saturate(1.12); }
body[data-page="home"] .camp-logo,
body[data-page="home"] .step-ic,
body[data-page="home"] .lien-ic { transition: transform .35s cubic-bezier(.2,.75,.25,1), filter .35s ease; }
body[data-page="home"] .camp:hover .camp-logo,
body[data-page="home"] .card:hover .step-ic,
body[data-page="home"] .lien-bas:hover .lien-ic { transform: translateY(-4px) scale(1.06); filter: drop-shadow(0 6px 12px rgba(255,79,142,.2)); }
@keyframes rosa-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes rosa-kicker-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rosa-title-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] *, body[data-page="home"] *::before, body[data-page="home"] *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  body[data-page="home"] .anim-entree { opacity: 1; transform: none; }
}

/* Arrivée sur ROSA : décor vivant et apparition progressive du message d’accueil. */
body[data-page="home"] .hero-home { isolation: isolate; animation: rosa-hero-pan 34s ease-in-out infinite alternate; }
body[data-page="home"] .hero-home::before,
body[data-page="home"] .hero-home::after { content: ""; position: absolute; inset: -3%; pointer-events: none; }
body[data-page="home"] .hero-home::before {
  z-index: 0; opacity: .52;
  background-image:
    radial-gradient(circle, transparent 0 34px, rgba(255,255,255,.17) 35px 36px, rgba(255,111,181,.2) 37px 39px, transparent 42px),
    radial-gradient(circle, transparent 0 22px, rgba(255,255,255,.15) 23px 24px, rgba(255,111,181,.2) 25px 27px, transparent 30px),
    radial-gradient(circle, transparent 0 13px, rgba(255,255,255,.15) 14px 15px, rgba(255,111,181,.2) 16px 18px, transparent 21px),
    radial-gradient(circle, transparent 0 8px, rgba(255,255,255,.18) 9px 10px, rgba(255,111,181,.2) 11px 12px, transparent 15px);
  background-size: 150px 150px, 105px 105px, 68px 68px, 46px 46px;
  background-position: 11% 24%, 87% 22%, 72% 78%, 29% 73%; background-repeat: no-repeat;
  animation: rosa-hero-bubbles 20s ease-in-out infinite alternate;
}
body[data-page="home"] .hero-home::after {
  z-index: 0; opacity: .48;
  background: radial-gradient(ellipse at 24% 48%, rgba(255,111,181,.2), transparent 36%), radial-gradient(ellipse at 78% 32%, rgba(180,140,255,.17), transparent 34%);
  transform: scale(1.08); animation: rosa-hero-glow 13s ease-in-out infinite alternate;
}
body[data-page="home"] .hero-home > :not(.hdr) { position: relative; z-index: 1; }
body[data-page="home"] .hero-home > .hdr { z-index: 5; }
body[data-page="home"] .hero-home .hero-txt { animation: rosa-hero-arrive .9s .08s both; }
body[data-page="home"] .hero-home .btns .btn:first-child { animation: rosa-hero-arrive .65s .35s both; }
body[data-page="home"] .hero-home .btns .btn:last-child { animation: rosa-hero-arrive .65s .48s both; }
body[data-page="home"] .hero-home .statut { animation: rosa-hero-arrive .65s .58s both; }
@keyframes rosa-hero-pan { from { background-position: center 12%; } to { background-position: center 42%; } }
@keyframes rosa-hero-bubbles { from { transform: translate3d(-9px, 12px, 0) rotate(-2deg); } to { transform: translate3d(10px, -22px, 0) rotate(2deg); } }
@keyframes rosa-hero-glow { from { transform: scale(1.04) translate3d(-1%, 0, 0); opacity: .28; } to { transform: scale(1.15) translate3d(2%, -1%, 0); opacity: .62; } }
@keyframes rosa-hero-arrive { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero-home, body[data-page="home"] .hero-home::before,
  body[data-page="home"] .hero-home::after, body[data-page="home"] .hero-home .hero-txt,
  body[data-page="home"] .hero-home .btns .btn, body[data-page="home"] .hero-home .statut { animation: none; }
}

/* Écran d'accueil ROSA et bulles visibles dans le décor du héros. */
.rosa-intro[hidden] { display: none !important; }
.rosa-intro:not([hidden]) { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 50% 46%, rgba(112,27,77,.62), transparent 38%), #09070b; animation: rosa-intro-out .9s 1.35s cubic-bezier(.7,0,.3,1) both; }
.rosa-intro::before,.rosa-intro::after { content: ""; position: absolute; width: min(72vw,620px); aspect-ratio: 1; border: 1px solid rgba(255,111,181,.12); border-radius: 50%; animation: rosa-intro-ring 2.2s ease-out both; }
.rosa-intro::after { width: min(92vw,820px); animation-delay: .12s; }
.rosa-intro-core { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; color: #fff; animation: rosa-intro-logo 1.4s cubic-bezier(.16,1,.3,1) both; }
.rosa-intro-core img { width: 74px; height: 74px; border-radius: 22px; box-shadow: 0 0 55px rgba(255,67,149,.42); }
.rosa-intro-core>span { margin-top: 10px; color: #ff78ae; font: 400 11px Anton, sans-serif; letter-spacing: .3em; }
.rosa-intro-core strong { font: 400 clamp(44px,8vw,76px)/.95 Anton, Impact, sans-serif; letter-spacing: .06em; }
.rosa-intro-core em { color: #ff6fb5; font-style: normal; }
.rosa-intro-core i { width: 180px; height: 3px; margin-top: 12px; overflow: hidden; background: rgba(255,255,255,.12); }
.rosa-intro-core i b { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg,#ff4b91,#ffb4d3); animation: rosa-intro-progress 1.5s .15s ease-out both; }
body[data-page="home"] .hero-orbs { position: absolute; z-index: 2; inset: 0; overflow: hidden; pointer-events: none; }
body[data-page="home"] .hero-orbs i { position: absolute; display: block; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; background: radial-gradient(circle at 32% 27%,rgba(255,255,255,.5),rgba(255,111,181,.16) 14%,rgba(255,111,181,.035) 58%,transparent 70%); box-shadow: inset -5px -7px 15px rgba(255,111,181,.1),0 0 22px rgba(255,111,181,.1); opacity: 0; animation: rosa-orb-float 8s ease-in-out infinite; }
body[data-page="home"] .hero-orbs i:nth-child(1) { width: 58px; height: 58px; left: 11%; top: 28%; animation-delay: .2s; }
body[data-page="home"] .hero-orbs i:nth-child(2) { width: 20px; height: 20px; left: 81%; top: 22%; animation-delay: 1.1s; animation-duration: 6s; }
body[data-page="home"] .hero-orbs i:nth-child(3) { width: 34px; height: 34px; left: 69%; top: 76%; animation-delay: .6s; animation-duration: 9s; }
body[data-page="home"] .hero-orbs i:nth-child(4) { width: 44px; height: 44px; right: 7%; top: 54%; animation-delay: 1.7s; animation-duration: 7.5s; }
body[data-page="home"] .hero-orbs i:nth-child(5) { width: 15px; height: 15px; left: 26%; bottom: 17%; animation-delay: 2s; animation-duration: 6.5s; }
body[data-page="home"] .hero-orbs i:nth-child(6) { width: 26px; height: 26px; right: 31%; top: 18%; animation-delay: .9s; animation-duration: 8.5s; }
@keyframes rosa-intro-logo { 0% { opacity: 0; transform: translateY(25px) scale(.82); filter: blur(8px); } 62% { opacity: 1; transform: translateY(-4px) scale(1.035); filter: blur(0); } 100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes rosa-intro-out { 0%,70% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
@keyframes rosa-intro-ring { from { transform: scale(.35); opacity: 0; } 35% { opacity: 1; } to { transform: scale(1.15); opacity: 0; } }
@keyframes rosa-intro-progress { to { transform: scaleX(1); } }
@keyframes rosa-orb-float { 0% { opacity: 0; transform: translate3d(0,25px,0) scale(.7); } 20% { opacity: .62; } 50% { opacity: .48; transform: translate3d(10px,-22px,0) scale(1); } 100% { opacity: 0; transform: translate3d(-8px,-62px,0) scale(.76); } }
@media (prefers-reduced-motion: reduce) { .rosa-intro:not([hidden]) { animation: none; opacity: 0; } body[data-page="home"] .hero-orbs i { animation: none; opacity: .22; } }
@media (max-width: 820px) { .camps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .camps { width: calc(100% - 28px); grid-template-columns: 1fr; gap: 12px; } .camp { height: 400px; padding: 18px; } }

/* Identité ROSA : formes arrondies sur les composants interactifs et les panneaux. */
.btn { clip-path: none; border-radius: 13px; }
.tag, .badge { border-radius: 999px; }
.pill, .chrono div, .card, .camp, .shop, .roue-ban, .band-staff, .lien-bas,
.fiche, .fiche-corps, .nav-dd-l, .bandeau, .skel, .vide { border-radius: 16px; }
.camp { overflow: hidden; }
.nav-dd-l { overflow: hidden; }
.nav-dd-l a:first-child { border-radius: 15px 15px 0 0; }
.nav-dd-l a:last-child { border-radius: 0 0 15px 15px; }
.nav-dd-b { border-radius: 10px; }
.hdr-cta .btn, .btns .btn, button.lnk { border-radius: 12px; }
.roue-ban, .shop, .band-staff, .lien-bas, .card, .fiche, .bandeau { border: 1px solid var(--line); }
.camp { border: 1px solid rgba(255,255,255,.08); }
.hero, .band { border-radius: 24px; overflow: hidden; }
.btn { border-radius: 14px; }
.nav-dd-b, .nav-dd-l, .nav-dd-l a, .hdr-moi, .hdr-cta .btn,
.sous-onglets button, .filtres-camp .chip, .rg-tab, .tab button { border-radius: 12px; }
.card, .camp, .shop, .roue-ban, .lien-bas, .fiche, .nav-dd-l, .pub-main,
.pub-login, .pub-row, .pub-empty, .pub-form, .pub-panel, .pub-card { border-radius: 18px; }
.camp, .card, .shop, .roue-ban, .lien-bas, .fiche, .nav-dd-l, .pub-main { overflow: hidden; }
.bandeau, .toast, .rep-site, .fiche-x { border-radius: 12px; }
.chrono div, .pill, .badge, .tag { border-radius: 999px; }
.rg-hero { margin: 0 0 34px; padding: clamp(22px, 4vw, 38px); overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(115deg, rgba(18,6,13,.89), rgba(18,6,13,.77)), url(../images/fond-rosa.webp) center 42% / cover; box-shadow: 0 18px 55px rgba(0,0,0,.2); }
.rg-hero .pub-title { margin: 8px 0 10px; }
.rg-hero .pub-lead { max-width: 700px; margin: 0 0 18px; }
.rg-hero .search input { border-radius: 13px 0 0 13px; }
.rg-hero .search .btn { border-radius: 0 13px 13px 0; }
.rg-sugg button { border-radius: 999px; }
.rg-carte, .rg-j, .rg-tab, .rg-tabs .rg-tab, .veh-filtres button { border-radius: 14px; }
.rg-carte { overflow: hidden; }
/* Ambiance vivante de la vitrine publique : bulles ROSA lentes en arrière-plan. */
body[data-page="home"], body.pub-shell:not(.staff-console-app) { isolation: isolate; }
body[data-page="home"]::before, body.pub-shell:not(.staff-console-app)::before,
body[data-page="home"]::after, body.pub-shell:not(.staff-console-app)::after {
  content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none;
  background-repeat: no-repeat; will-change: transform, opacity;
}
body[data-page="home"]::before, body.pub-shell:not(.staff-console-app)::before {
  opacity: .42;
  background-image:
    radial-gradient(circle, transparent 0 43%, rgba(255,111,181,.26) 47% 50%, rgba(255,255,255,.12) 52%, transparent 58%),
    radial-gradient(circle, transparent 0 43%, rgba(255,111,181,.20) 47% 50%, rgba(255,255,255,.10) 52%, transparent 58%),
    radial-gradient(circle, transparent 0 43%, rgba(255,111,181,.18) 47% 50%, rgba(255,255,255,.10) 52%, transparent 58%),
    radial-gradient(circle, transparent 0 43%, rgba(255,111,181,.16) 47% 50%, rgba(255,255,255,.08) 52%, transparent 58%);
  background-size: 124px 124px, 84px 84px, 58px 58px, 42px 42px;
  background-position: 8% 25%, 82% 20%, 68% 74%, 22% 82%;
  animation: rosa-bubbles-drift 22s ease-in-out infinite alternate;
}
body[data-page="home"]::after, body.pub-shell:not(.staff-console-app)::after {
  opacity: .3;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255,111,181,.17) 0 1px, rgba(255,111,181,.08) 2px, transparent 13px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.18) 0 1px, rgba(255,111,181,.08) 2px, transparent 9px),
    radial-gradient(circle at 50% 50%, rgba(255,111,181,.18) 0 1px, transparent 10px);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  background-position: center;
  animation: rosa-glow-drift 30s ease-in-out infinite alternate;
}
body.pub-shell:not(.staff-console-app) { animation: rosa-page-background 44s ease-in-out infinite alternate; }
body[data-page="home"] .hero-home { animation: rosa-home-background 38s ease-in-out infinite alternate; }
@keyframes rosa-bubbles-drift { from { transform: translate3d(-5px, 8px, 0); } to { transform: translate3d(8px, -18px, 0); } }
@keyframes rosa-glow-drift { from { transform: translate3d(0, 5px, 0); opacity: .2; } to { transform: translate3d(0, -9px, 0); opacity: .38; } }
@keyframes rosa-page-background { from { background-position: 0 0, 48% 50%; } to { background-position: 100% 100%, 52% 54%; } }
@keyframes rosa-home-background { from { background-position: center 14%, center 14%, center 14%; } to { background-position: center 17%, center 17%, center 17%; } }
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"]::before, body[data-page="home"]::after,
  body.pub-shell:not(.staff-console-app)::before, body.pub-shell:not(.staff-console-app)::after { animation: none; }
  body.pub-shell:not(.staff-console-app), body[data-page="home"] .hero-home { animation: none; }
}



/* Keep the moving light layer between the page background and readable content. */
body[data-page="home"]::before, body[data-page="home"]::after,
body.pub-shell:not(.staff-console-app)::before, body.pub-shell:not(.staff-console-app)::after { z-index: 0; }
body[data-page="home"] > :not(.rosa-intro):not(.bandeau):not(.toast) { position: relative; z-index: 1; }
body.pub-shell:not(.staff-console-app) > .pub-nav,
body.pub-shell:not(.staff-console-app) > .pub-main,
body.pub-shell:not(.staff-console-app) > .pub-footer { position: relative; z-index: 1; }
body[data-page="home"]::before, body.pub-shell:not(.staff-console-app)::before {
  opacity: .58;
  background-image:
    radial-gradient(ellipse at 20% 26%, rgba(255,76,151,.22), transparent 35%),
    radial-gradient(ellipse at 78% 68%, rgba(168,94,255,.17), transparent 32%),
    radial-gradient(circle, transparent 0 43%, rgba(255,111,181,.23) 47% 50%, rgba(255,255,255,.12) 52%, transparent 58%),
    radial-gradient(circle, transparent 0 43%, rgba(255,111,181,.18) 47% 50%, rgba(255,255,255,.1) 52%, transparent 58%),
    radial-gradient(circle, transparent 0 43%, rgba(255,111,181,.16) 47% 50%, rgba(255,255,255,.08) 52%, transparent 58%);
  background-size: 140% 140%, 135% 135%, 124px 124px, 84px 84px, 58px 58px;
  background-position: 0% 0%, 100% 100%, 8% 25%, 82% 20%, 68% 74%;
  animation: rosa-ambient-main 15s ease-in-out infinite alternate;
}
body[data-page="home"]::after, body.pub-shell:not(.staff-console-app)::after {
  opacity: .4;
  animation: rosa-ambient-sparkles 19s ease-in-out infinite alternate;
}
body[data-page="home"] .hero-home {
  background-size: 100% 100%, 100% 100%, 110% auto;
  animation: rosa-home-scene 24s ease-in-out infinite alternate;
}
body[data-page="home"] .hero-home::before { animation-duration: 11s; }
body[data-page="home"] .hero-home::after { animation-duration: 8s; }
@keyframes rosa-ambient-main {
  from { background-position: 0% 0%, 100% 100%, 8% 25%, 82% 20%, 68% 74%; transform: translate3d(-12px,8px,0) scale(1); }
  to { background-position: 100% 100%, 0% 0%, 18% 34%, 73% 35%, 60% 65%; transform: translate3d(16px,-20px,0) scale(1.04); }
}
@keyframes rosa-ambient-sparkles {
  from { transform: translate3d(-14px,12px,0); opacity: .2; }
  to { transform: translate3d(18px,-24px,0); opacity: .48; }
}
@keyframes rosa-home-scene {
  from { background-position: center 14%, center 14%, center 8%; }
  to { background-position: center 14%, center 14%, center 55%; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"]::before, body[data-page="home"]::after,
  body.pub-shell:not(.staff-console-app)::before, body.pub-shell:not(.staff-console-app)::after,
  body[data-page="home"] .hero-home { animation: none !important; }
}
