/* backoffice.css — Nouvelle zone admin plein écran (plan back-office, phase 4, maquettes Figma validées le 22 octobre 2026).
   Couleurs et durées de la maquette : fond #0a0a0a, menu #131313, panneaux #181818, accent menthe #2fe3a0,
   rapide 120 ms, standard 200 ms, entrée 320 ms, ressort cubic-bezier(.2,.9,.3,1.2). */
body.bo-on #sidebar, body.bo-on #tabbar, body.bo-on #pocketHeader, body.bo-on #main > .coinchip, body.bo-on #mAvatar { display:none !important; }
body.bo-on #main { padding:0 !important; max-width:none !important; width:100% !important; margin:0 !important; }
body.bo-on #page-admin { padding:0 !important; max-width:none !important; width:100% !important; } /* sinon bridée à 1000 px comme les pages du jeu */
.bo-shell { display:flex; min-height:100vh; min-height:100dvh; background:#0a0a0a; color:#f2f2f2; font-family:Inter, system-ui, sans-serif; }
.bo-menu { width:240px; flex:0 0 240px; position:sticky; top:0; height:100vh; height:100dvh; overflow-y:auto; background:#131313; border-right:1px solid rgba(255,255,255,.05); padding:16px 20px 14px; display:flex; flex-direction:column; gap:1px; box-sizing:border-box; animation:boFade .2s ease-out both; }
.bo-brand { display:flex; align-items:center; gap:8px; margin-bottom:4px; }
.bo-brand span { font:600 19px/1.2 Fredoka, system-ui, sans-serif; color:#2fe3a0; white-space:nowrap; }
.bo-brand b { padding:3px 7px; border-radius:6px; background:rgba(255,211,106,.14); color:#ffd36a; font:700 9px/1 Inter, system-ui, sans-serif; letter-spacing:.08em; }
.bo-member { display:flex; align-items:center; gap:10px; padding:8px 12px; border-radius:16px; background:#181818; margin:4px 0 2px; }
.bo-avatar { width:34px; height:34px; flex:0 0 34px; border-radius:50%; display:grid; place-items:center; background:rgba(255,211,106,.16); color:#ffd36a; font:600 13px/1 Fredoka, system-ui, sans-serif; }
.bo-member-txt { display:flex; flex-direction:column; gap:4px; min-width:0; }
.bo-member-txt strong { font-size:13px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bo-member-txt small { font-size:11px; color:#93938f; }
.bo-role { display:inline-flex; align-items:center; gap:6px; align-self:flex-start; padding:4px 10px; border-radius:99px; font:700 10px/1 Inter, system-ui, sans-serif; font-style:normal; letter-spacing:.06em; text-transform:uppercase; }
.bo-role i { width:6px; height:6px; border-radius:50%; background:currentColor; }
.bo-role-mod { color:#7cc3ff; background:rgba(124,195,255,.12); border:1px solid rgba(124,195,255,.45); }
.bo-role-admin { color:#ffd36a; background:rgba(255,211,106,.12); border:1px solid rgba(255,211,106,.45); }
.bo-role-dev { color:#2fe3a0; background:rgba(47,227,160,.12); border:1px solid rgba(47,227,160,.45); }
.bo-nav { display:flex; flex-direction:column; gap:1px; }
.bo-group { margin:0; padding:9px 4px 4px; font:600 9px/1.2 Inter, system-ui, sans-serif; letter-spacing:.06em; text-transform:uppercase; color:#93938f; }
.bo-item { display:flex; align-items:center; gap:12px; width:100%; padding:8px 12px 8px 14px; border:1px solid transparent; border-radius:12px; background:transparent; color:#c9c9c4; font:500 14px/1.3 Inter, system-ui, sans-serif; text-align:left; cursor:pointer; transition:background .12s ease-out, color .12s ease-out, border-color .2s ease-out; }
.bo-item .pi { font-size:18px; color:#93938f; transition:color .2s ease-out; }
.bo-item:hover { background:rgba(255,255,255,.04); color:#f2f2f2; }
.bo-item.active { background:rgba(47,227,160,.1); border-color:rgba(47,227,160,.25); color:#f2f2f2; font-weight:700; }
.bo-item.active .pi { color:#2fe3a0; }
.bo-badge { margin-left:auto; min-width:18px; padding:2px 6px; border-radius:99px; background:#ff7a84; color:#0a0a0a; font:700 11px/1.3 Inter, system-ui, sans-serif; text-align:center; }
.bo-foot { margin-top:auto; padding-top:10px; display:flex; flex-direction:column; gap:6px; }
.bo-legacy, .bo-back { display:flex; align-items:center; gap:10px; width:100%; padding:9px 14px; border-radius:12px; border:1px solid rgba(255,255,255,.08); background:transparent; color:#93938f; font:600 13px/1.2 Inter, system-ui, sans-serif; cursor:pointer; transition:background .12s ease-out, color .12s ease-out; }
.bo-legacy:hover, .bo-back:hover { background:rgba(255,255,255,.04); color:#f2f2f2; }
.bo-flip { transform:scaleX(-1); }
.bo-main { flex:1; min-width:0; display:flex; flex-direction:column; }
.bo-top { position:sticky; top:0; z-index:5; display:flex; align-items:center; gap:16px; height:72px; padding:0 40px; background:rgba(10,10,10,.92); backdrop-filter:blur(8px); border-bottom:1px solid rgba(255,255,255,.04); box-sizing:border-box; }
.bo-burger { display:none; padding:8px; border-radius:12px; border:0; background:#181818; color:#f2f2f2; font-size:20px; cursor:pointer; }
.bo-crumb { flex:1; min-width:0; font-size:13px; color:#93938f; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.bo-search { display:flex; align-items:center; gap:10px; width:300px; height:42px; padding:0 14px; border-radius:12px; background:#181818; border:1px solid rgba(255,255,255,.08); color:#93938f; box-sizing:border-box; }
.bo-search input { flex:1; min-width:0; border:0; background:transparent; color:#f2f2f2; font:400 14px Inter, system-ui, sans-serif; outline:none; }
.bo-bell { position:relative; padding:10px; border-radius:12px; border:0; background:#181818; color:#2fe3a0; font-size:20px; cursor:pointer; }
.bo-bell b { position:absolute; top:4px; right:4px; min-width:16px; padding:1px 4px; border-radius:99px; background:#ff7a84; color:#0a0a0a; font:700 10px/1.4 Inter, system-ui, sans-serif; }
.bo-content { padding:8px 40px 40px; box-sizing:border-box; width:100%; max-width:1480px; } /* lisible sur les très grands écrans */
.bo-content.bo-enter > * { animation:boEnter .32s ease-out both; }
.bo-content.bo-enter > *:nth-child(2) { animation-delay:.04s; } .bo-content.bo-enter > *:nth-child(3) { animation-delay:.08s; }
.bo-content.bo-enter > *:nth-child(4) { animation-delay:.12s; } .bo-content.bo-enter > *:nth-child(n+5) { animation-delay:.16s; }
/* Les outils actuels prennent les couleurs de la maquette dans la nouvelle coquille. */
body.bo-on .adm-card { background:#131313; border:1px solid rgba(255,255,255,.06); border-radius:20px; }
body.bo-on .adm-card-title { font-family:Fredoka, system-ui, sans-serif; font-weight:600; }
.bo-head h1 { margin:8px 0 6px; font:600 32px/1.2 Fredoka, system-ui, sans-serif; }
.bo-head p { margin:0 0 20px; font-size:13px; color:#93938f; }
.bo-panel { background:#131313; border:1px solid rgba(255,255,255,.06); border-radius:20px; padding:14px; display:flex; flex-direction:column; gap:6px; }
.bo-member-row { display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:12px; background:#181818; }
.bo-member-row .bo-member-txt { flex:1; }
/* Phase 5 · Tableau de bord (maquette « Admin / Tableau de bord »). */
.bo-kpis { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px; margin-bottom:16px; }
.bo-tile { background:#131313; border:1px solid rgba(255,255,255,.06); border-radius:20px; padding:18px 20px; display:flex; flex-direction:column; gap:10px; min-width:0; }
.bo-tile-top { display:flex; align-items:center; gap:10px; font-size:13px; font-weight:500; color:#93938f; }
.bo-bubble { width:32px; height:32px; flex:0 0 32px; border-radius:50%; display:grid; place-items:center; background:rgba(47,227,160,.12); color:#2fe3a0; font-size:18px; }
.bo-tile b { font:600 30px/1.1 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-tile small { font-size:12px; font-weight:500; color:#93938f; } .bo-tile small.ok { color:#2fe3a0; } .bo-tile small.bad { color:#ff7a84; }
.bo-cols { display:grid; grid-template-columns:minmax(0, 1fr) 380px; gap:16px; align-items:start; }
.bo-side { display:flex; flex-direction:column; gap:16px; min-width:0; }
.bo-panel-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:2px 2px 8px; }
.bo-panel-head h2 { margin:0; font:600 20px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-link { border:0; background:none; color:#2fe3a0; font:600 13px Inter, system-ui, sans-serif; cursor:pointer; padding:4px; }
.bo-row { display:flex; align-items:center; gap:12px; width:100%; padding:12px 16px 12px 14px; border:1px solid transparent; border-radius:14px; background:#181818; color:inherit; text-align:left; cursor:pointer; transition:border-color .12s ease-out, background .12s ease-out; font:inherit; }
.bo-row:hover { border-color:rgba(47,227,160,.35); background:#1b1b1b; }
.bo-avatar-mint { background:#12523c; color:#2fe3a0; }
.bo-row-txt { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.bo-row-txt strong { font-size:14px; font-weight:600; color:#f2f2f2; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bo-row-txt small { font-size:12px; color:#93938f; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bo-row-meta { font-size:12px; color:#93938f; white-space:nowrap; }
.bo-status { display:inline-flex; align-items:center; gap:6px; padding:5px 10px; border-radius:99px; font:600 11px/1 Inter, system-ui, sans-serif; white-space:nowrap; }
.bo-status i { width:6px; height:6px; border-radius:50%; background:currentColor; }
.bo-status-new { color:#7cc3ff; background:rgba(124,195,255,.1); } .bo-status-bad { color:#ff7a84; background:rgba(255,122,132,.1); } .bo-status-warn { color:#ffd36a; background:rgba(255,211,106,.1); }
.bo-hint { display:flex; align-items:center; gap:10px; margin:8px 0 0; padding:12px 14px; border-radius:14px; background:rgba(47,227,160,.06); border:1px solid rgba(47,227,160,.25); font-size:12px; color:#f2f2f2; }
.bo-hint .pi { color:#2fe3a0; }
.bo-empty { margin:6px 2px; font-size:13px; color:#93938f; }
.bo-log { display:flex; flex-direction:column; gap:2px; padding:8px 4px; border-bottom:1px solid rgba(255,255,255,.04); font-size:13px; color:#c9c9c4; }
.bo-log:last-child { border-bottom:0; } .bo-log strong, .bo-log b { color:#f2f2f2; font-weight:600; } .bo-log small { font-size:11px; color:#93938f; }
.bo-state { display:flex; align-items:center; gap:10px; padding:6px 4px; font-size:13px; }
.bo-state i { width:8px; height:8px; border-radius:50%; background:#2fe3a0; } .bo-state i.warn { background:#ffd36a; }
.bo-state span { flex:1; font-weight:500; color:#f2f2f2; } .bo-state em { font-style:normal; font-size:12px; color:#93938f; }
@media (max-width:1180px) { .bo-kpis { grid-template-columns:repeat(2, minmax(0, 1fr)); } .bo-cols { grid-template-columns:minmax(0, 1fr); } }
@media (max-width:520px) { .bo-kpis { grid-template-columns:1fr 1fr; gap:10px; } .bo-tile { padding:14px; } .bo-tile b { font-size:24px; } .bo-row-meta { display:none; } }
@keyframes boEnter { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes boFade { from { opacity:0; } to { opacity:1; } }
@media (max-width:820px) {
  .bo-menu { position:fixed; left:0; top:0; z-index:40; width:min(300px, 86vw); transform:translateX(-100%); transition:transform .28s ease-out; box-shadow:8px 0 30px rgba(0,0,0,.5); }
  .bo-menu-open .bo-menu { transform:none; }
  .bo-menu-open::after { content:""; position:fixed; inset:0; z-index:35; background:rgba(3,0,1,.7); animation:boFade .28s ease-out both; }
  .bo-burger { display:inline-flex; }
  .bo-top { padding:0 16px; gap:10px; height:64px; }
  .bo-search { width:auto; flex:1; }
  .bo-crumb { display:none; }
  .bo-content { padding:8px 16px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .bo-menu, .bo-content.bo-enter > *, .bo-menu-open::after { animation:boFade .12s ease-out both !important; }
  .bo-menu { transition:none; }
}

/* Phase 5 · Joueurs (maquettes « Joueurs · liste », « Joueurs · en ligne », « Joueurs · fiche ») */
.bo-status-ok { color:#2fe3a0; background:rgba(47,227,160,.1); } .bo-status-team { color:#ffd36a; background:rgba(255,211,106,.1); }
.bo-pl-tools { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:12px; }
.bo-pl-search { flex:1 1 260px; max-width:360px; display:flex; align-items:center; gap:8px; height:40px; padding:0 14px; border-radius:12px; background:#131313; border:1px solid rgba(255,255,255,.08); color:#93938f; }
.bo-pl-search input { flex:1; min-width:0; background:none; border:0; outline:0; color:#f2f2f2; font-size:14px; }
.bo-pl-sort { height:40px; border-radius:12px; background:#131313; border:1px solid rgba(255,255,255,.08); color:#f2f2f2; padding:0 10px; font-size:13px; }
.bo-chips { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.bo-chip { height:36px; padding:0 14px; border-radius:99px; border:1px solid rgba(255,255,255,.1); background:#131313; color:#f2f2f2; font:600 13px/1 Inter, system-ui, sans-serif; cursor:pointer; transition:background .15s, border-color .15s; }
.bo-chip span { color:#93938f; font-weight:500; }
.bo-chip:hover { border-color:rgba(47,227,160,.4); }
.bo-chip.active { background:#1f8f63; border-color:#2fe3a0; } .bo-chip.active span { color:#e6fff4; }
.bo-pl-rename { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin:-4px 0 14px; } .bo-pl-rename[hidden] { display:none; }
.bo-ptable { padding:10px; gap:6px; }
.bo-prow { display:grid; grid-template-columns:minmax(0,2.4fr) minmax(0,.7fr) minmax(0,.8fr) minmax(0,.9fr) minmax(0,1.2fr) 150px; align-items:center; gap:12px; width:100%; padding:10px 12px; border:0; border-radius:14px; background:#181818; color:#c9c9c4; font-size:13px; text-align:left; cursor:pointer; transition:background .15s, transform .15s; }
.bo-prow:hover { background:#1f1f1f; transform:translateX(2px); }
.bo-prow-head { background:none; cursor:default; color:#93938f; font:600 10px/1 Inter, system-ui, sans-serif; letter-spacing:.06em; text-transform:uppercase; padding:8px 12px; }
.bo-prow-head:hover { background:none; transform:none; }
.bo-prow .bo-status { font-style:normal; max-width:100%; overflow:hidden; text-overflow:ellipsis; }
.bo-pl-who { display:flex; align-items:center; gap:10px; min-width:0; }
.bo-pl-who .bo-row-txt { min-width:0; } .bo-pl-who strong { display:block; color:#f2f2f2; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bo-pl-who small { color:#93938f; font-size:11px; }
.bo-pager { display:flex; justify-content:flex-end; align-items:center; gap:16px; margin-top:14px; font-size:13px; color:#93938f; }
.bo-pager [disabled] { opacity:.35; cursor:default; }
.bo-fiche-head { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; }
.bo-fiche-head .bo-link { margin-bottom:20px; }
.bo-fiche-cols { display:grid; grid-template-columns:minmax(280px,360px) 1fr; gap:16px; align-items:start; }
.bo-fiche-id { padding:20px; gap:14px; position:sticky; top:12px; }
.bo-fiche-who { display:flex; gap:14px; align-items:center; }
.bo-fiche-who h2 { margin:0 0 4px; font:600 22px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; overflow-wrap:anywhere; }
.bo-fiche-who p { margin:0 0 6px; font-size:12px; color:#93938f; }
.bo-fiche-who .bo-status { font-style:normal; }
.bo-avatar-big { width:60px; height:60px; flex:0 0 60px; font-size:20px; background:rgba(176,108,255,.16); color:#d6b4ff; border:2px solid rgba(176,108,255,.5); }
.bo-fiche-ren { align-self:flex-start; }
.bo-fiche-stats { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.bo-fiche-stats div { background:#181818; border-radius:14px; padding:12px 14px; display:flex; flex-direction:column; gap:6px; }
.bo-fiche-stats small { color:#93938f; font-size:11px; } .bo-fiche-stats b { font:600 20px/1 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-fiche-info { margin:0; display:flex; flex-direction:column; gap:8px; font-size:12px; }
.bo-fiche-info div { display:flex; justify-content:space-between; gap:12px; } .bo-fiche-info dt { color:#93938f; } .bo-fiche-info dd { margin:0; color:#f2f2f2; text-align:right; }
.bo-fiche-actions { display:flex; flex-direction:column; gap:8px; margin-top:6px; }
.bo-fiche-actions .btn, .bo-fiche-actions .bo-link { width:100%; justify-content:center; }
.btn.bo-danger { background:rgba(255,122,132,.1); border:1px solid rgba(255,122,132,.5); color:#ff9aa2; }
.bo-fiche-main { padding:16px; min-width:0; }
.bo-tabs.adm-subtabs { display:flex; gap:4px; flex-wrap:wrap; background:#181818; border-radius:14px; padding:4px; margin-bottom:14px; }
.bo-tabs.adm-subtabs button { border:0; background:none; color:#93938f; padding:9px 14px; border-radius:10px; font:600 13px/1 Inter, system-ui, sans-serif; cursor:pointer; }
.bo-tabs.adm-subtabs button.active { background:#262626; color:#f2f2f2; }
@media (max-width: 1100px){ .bo-prow { grid-template-columns:minmax(0,2.2fr) minmax(0,.8fr) minmax(0,1.2fr) 150px; } .bo-c-lvl, .bo-c-coins { display:none; } .bo-fiche-cols { grid-template-columns:minmax(0,1fr); } .bo-fiche-id { position:static; } }
@media (max-width: 560px){ .bo-prow { grid-template-columns:minmax(0,1fr) auto; } .bo-prow > span:nth-child(3), .bo-prow > span:nth-child(5) { display:none; } .bo-pl-search { max-width:none; } }

/* Phase 5 · Signalements (maquettes « Modération · signalements » et « État · confirmer une sanction ») */
.bo-seg { display:flex; gap:2px; padding:4px; border-radius:14px; background:#131313; border:1px solid rgba(255,255,255,.06); margin-bottom:20px; }
.bo-seg button { border:0; background:none; color:#93938f; padding:9px 14px; border-radius:10px; font:600 13px/1 Inter, system-ui, sans-serif; cursor:pointer; }
.bo-seg button.active { background:#262626; color:#f2f2f2; } .bo-seg button span { color:inherit; }
.bo-split { display:grid; grid-template-columns:minmax(300px,440px) minmax(0,1fr); gap:16px; align-items:start; }
.bo-rep-list { padding:16px; gap:8px; } .bo-rep-list .bo-chips { margin-bottom:6px; }
.bo-rep { border:1px solid transparent; }
.bo-rep.active { border-color:rgba(47,227,160,.5); background:#16231d; }
.bo-rep .bo-avatar .pi { font-size:15px; }
.bo-rep-detail { padding:20px; gap:14px; position:sticky; top:12px; min-width:0; }
.bo-rep-top { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.bo-rep-top h2 { margin:0; font:600 22px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-rep-people { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.bo-rep-people > * { display:flex; align-items:center; gap:10px; padding:12px; border-radius:14px; background:#181818; border:0; color:inherit; text-align:left; min-width:0; }
.bo-rep-people .bo-row-txt { display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.bo-rep-people small { color:#93938f; font-size:11px; } .bo-rep-people strong { color:#f2f2f2; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bo-rep-target { cursor:pointer; transition:background .15s; } .bo-rep-target:hover { background:#1f1f1f; } .bo-rep-target > .pi { color:#93938f; font-size:12px; }
.bo-avatar-bad { background:rgba(255,122,132,.14); color:#ff7a84; }
.bo-rep-context { background:#181818; border-radius:14px; padding:14px; display:flex; flex-direction:column; gap:10px; font-size:13px; color:#c9c9c4; }
.bo-rep-context p { margin:0; } .bo-rep-where { color:#93938f; font-size:11px; display:flex; gap:6px; align-items:center; }
.bo-rep-line { padding:10px 12px; border-radius:10px; border:1px solid rgba(255,122,132,.5); background:rgba(255,122,132,.08); overflow-wrap:anywhere; } .bo-rep-line b { color:#ff7a84; margin-right:6px; }
.bo-rep-reason span { color:#93938f; }
.bo-rep-card { width:150px; }
.bo-rep-tools { display:flex; gap:8px; flex-wrap:wrap; }
.bo-rep-decide { display:flex; flex-direction:column; gap:12px; }
.bo-rep-decide h3 { margin:0; font:600 14px/1 Inter, system-ui, sans-serif; color:#f2f2f2; } .bo-rep-decide .bo-chips { margin:0; }
.bo-rep-dur { display:flex; align-items:center; gap:8px; flex-wrap:wrap; } .bo-rep-dur > span { color:#93938f; font-size:12px; margin-right:4px; }
.bo-rep-note { display:flex; flex-direction:column; gap:6px; font-size:11px; color:#93938f; font-weight:500; }
.bo-rep-note textarea { width:100%; box-sizing:border-box; resize:vertical; min-height:60px; }
.bo-hint-warn { color:#ffd36a; background:rgba(255,211,106,.07); border-color:rgba(255,211,106,.2); }
.bo-rep-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; } .bo-rep-actions > span:empty { flex:1; }
.bo-rep-done { margin:0; padding:12px 14px; border-radius:14px; background:rgba(47,227,160,.08); color:#2fe3a0; font-size:13px; display:flex; gap:8px; align-items:center; }
.bo-rep-reply { display:flex; flex-direction:column; gap:10px; } .bo-rep-reply[hidden] { display:none; }
.bo-confirm { width:min(460px, calc(100vw - 32px)); background:#131313; border:1.5px solid rgba(255,122,132,.45); border-radius:22px; padding:22px 24px; display:flex; flex-direction:column; gap:14px; box-shadow:0 24px 60px rgba(0,0,0,.6); animation:boConfirmIn .42s cubic-bezier(.2,.9,.3,1.2) both; }
.bo-confirm-top { display:flex; align-items:center; gap:12px; } .bo-confirm h3 { margin:0; font:600 20px/1.25 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-confirm-ic { width:38px; height:38px; flex:0 0 38px; border-radius:50%; display:grid; place-items:center; background:rgba(255,122,132,.14); color:#ff7a84; }
.bo-confirm dl { margin:0; padding:12px 14px; border-radius:14px; background:#181818; display:flex; flex-direction:column; gap:8px; font-size:12px; }
.bo-confirm dl div { display:flex; justify-content:space-between; gap:14px; } .bo-confirm dt { color:#93938f; } .bo-confirm dd { margin:0; color:#f2f2f2; font-weight:500; text-align:right; overflow-wrap:anywhere; }
.bo-confirm p { margin:0; font-size:12px; line-height:1.5; color:#93938f; }
.bo-confirm-actions { display:flex; justify-content:flex-end; gap:10px; flex-wrap:wrap; }
@keyframes boConfirmIn { from { opacity:0; transform:translateY(16px) scale(.96); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .bo-confirm { animation:none; } }
@media (max-width: 900px){ .bo-split { grid-template-columns:minmax(0,1fr); } .bo-rep-detail { position:static; } }
@media (max-width: 560px){ .bo-rep-people { grid-template-columns:1fr; } .bo-rep .bo-row-meta { display:none; } }
.bo-hint-warn .pi { color:#ffd36a; }

/* Phase 5 · Multi-comptes (maquette « Modération · multi-comptes ») : l'outil actuel, habillé */
.bo-tile small.warn { color:#ffd36a; }
body.bo-on .adm-alt-controls { padding:12px 14px; border-radius:14px; background:#181818; gap:12px; }
body.bo-on .adm-alt-controls select { height:34px; border-radius:10px; background:#131313; border:1px solid rgba(255,255,255,.1); color:#f2f2f2; }
body.bo-on .adm-alt-group, body.bo-on .adm-alt-group.strong { background:#181818; border:1px solid rgba(255,255,255,.06); border-radius:16px; padding:16px; margin:12px 0; }
body.bo-on .adm-alt-head { color:#93938f; font-size:12px; gap:10px; }
body.bo-on .adm-alt-tag, body.bo-on .adm-alt-group.strong .adm-alt-tag { display:inline-flex; align-items:center; gap:6px; padding:5px 10px; font:600 11px/1 Inter, system-ui, sans-serif; }
body.bo-on .adm-alt-tag::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
body.bo-on .bo-lv-certain .adm-alt-tag { color:#ff7a84; background:rgba(255,122,132,.1); }
body.bo-on .bo-lv-probable .adm-alt-tag { color:#ffd36a; background:rgba(255,211,106,.1); }
body.bo-on .adm-alt-user { background:#131313; border:1px solid rgba(255,255,255,.06); border-radius:12px; padding:9px 12px; color:#f2f2f2; transition:border-color .15s; }
body.bo-on .adm-alt-user:hover { border-color:rgba(47,227,160,.4); }
body.bo-on .adm-alt-user span { color:#93938f; font-size:11px; }
body.bo-on .adm-alt-pairs { gap:10px; margin-top:12px; font-size:12px; color:#c9c9c4; }
body.bo-on .adm-alt-pair { padding:10px 12px; border-radius:12px; background:#131313; }
body.bo-on .adm-alt-reasons, body.bo-on .adm-alt-flow { color:#93938f; font-size:11px; }
body.bo-on .adm-alt-btn { height:34px; padding:0 14px; border-radius:12px; background:#131313; border:1px solid rgba(255,255,255,.14); color:#f2f2f2; font:600 13px/1 Inter, system-ui, sans-serif; transition:border-color .15s, background .15s; }
body.bo-on .adm-alt-btn:hover { border-color:rgba(255,255,255,.3); }
body.bo-on .adm-alt-btn[data-allow] { background:none; border-color:transparent; color:#2fe3a0; padding:0 6px; }
body.bo-on .adm-alt-btn[data-allow][data-on="0"] { color:#ffd36a; }
body.bo-on .adm-alt-warn { background:rgba(255,122,132,.08); border-color:rgba(255,122,132,.4); color:#ff9aa2; }
body.bo-on .adm-alt-st { padding:3px 8px; font-size:10px; }

/* Phase 5 · Conversations (maquette « Modération · conversations ») */
.bo-convo-tabs { margin-bottom:20px; }
.bo-convo-list { padding:16px; gap:10px; } .bo-convo-list .bo-pl-search { max-width:none; flex:0 0 auto; } .bo-convo-list .bo-chips { margin:0; }
.bo-convo-count { margin:0; font-size:11px; color:#93938f; }
.bo-convo-thread { padding:20px; gap:14px; position:sticky; top:12px; min-width:0; }
.bo-thread { display:flex; flex-direction:column; gap:10px; max-height:min(62vh, 640px); overflow-y:auto; padding:4px 2px; }
.bo-msg { align-self:flex-start; max-width:72%; padding:9px 12px; border-radius:14px; background:#181818; border:1px solid rgba(255,255,255,.04); }
.bo-msg.right { align-self:flex-end; background:#14291f; }
.bo-msg.flagged { background:rgba(255,122,132,.1); border-color:rgba(255,122,132,.55); } .bo-msg.flagged small { color:#ff7a84; }
.bo-msg small { display:block; font-size:10px; color:#93938f; margin-bottom:3px; }
.bo-msg p { margin:0; font-size:13px; color:#f2f2f2; overflow-wrap:anywhere; white-space:pre-wrap; }
.bo-rep-convo { align-self:flex-start; display:inline-flex; align-items:center; gap:6px; }
@media (max-width: 900px){ .bo-convo-thread { position:static; } .bo-msg { max-width:88%; } }

/* Phase 5 · À examiner (maquette « Modération · à examiner ») */
.bo-hint-info { margin:0 0 16px; background:rgba(124,195,255,.06); border-color:rgba(124,195,255,.25); } .bo-hint-info .pi { color:#7cc3ff; }
.bo-safety-tools { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.bo-safety-why h3 { margin:0 0 8px; font:600 13px/1.3 Inter, system-ui, sans-serif; color:#f2f2f2; }
.bo-tags { display:flex; gap:6px; flex-wrap:wrap; } .bo-tags span { padding:5px 9px; border-radius:8px; background:#181818; border:1px solid rgba(255,255,255,.06); font-size:11px; color:#c9c9c4; }

/* Phase 5 · Contenu (maquettes « Contenu · cartes / éditeur / quiz ») : l'outil actuel, habillé */
.bo-rarities { margin-bottom:16px; padding:16px 18px; gap:10px; } .bo-rarities h2 { margin:0; font:600 16px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-rar-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:10px 18px; }
.bo-rar { display:grid; grid-template-columns:1fr auto; gap:4px 8px; font-size:12px; color:#c9c9c4; } .bo-rar b { color:#f2f2f2; font-weight:600; }
.bo-rar-bar { grid-column:1 / -1; height:5px; border-radius:99px; background:#93938f; }
.bo-rar-bar.r-commun { background:#9fb5a3; } .bo-rar-bar.r-peu_commun { background:#7fd1a8; } .bo-rar-bar.r-rare { background:#4f8fe8; }
.bo-rar-bar.r-super_rare { background:#9b7cff; } .bo-rar-bar.r-ultra_rare { background:#ff7ad1; } .bo-rar-bar.r-legendaire { background:#e8a93c; }
.bo-rar-bar.r-mythique { background:#ff4f6d; } .bo-rar-bar.r-secrete { background:#c04fff; } .bo-rar-bar.r-exclusive { background:#2fe3a0; }
body.bo-on #admContent .adm-card-filters { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
body.bo-on #admContent .adm-card-filters .adm-search { flex:1 1 280px; min-width:0; height:40px; border-radius:12px; background:#131313; border:1px solid rgba(255,255,255,.08); }
body.bo-on #admContent .adm-card-filters > * { width:auto; margin:0; }
body.bo-on #admContent .adm-card-filters select { flex:0 1 210px; min-width:0; height:40px; border-radius:12px; background:#131313; border:1px solid rgba(255,255,255,.08); color:#f2f2f2; }
body.bo-on #admContent .adm-subtabs-page { display:flex; gap:8px; flex-wrap:wrap; background:none; padding:0; margin:0 0 12px; }
body.bo-on #admContent .adm-subtabs-page button { height:36px; padding:0 14px; border-radius:99px; border:1px solid rgba(255,255,255,.1); background:#131313; color:#f2f2f2; font:600 13px/1 Inter, system-ui, sans-serif; }
body.bo-on #admContent .adm-subtabs-page button.active { background:#1f8f63; border-color:#2fe3a0; }
body.bo-on #admContent .adm-card-toolbar { justify-content:flex-end; margin:-8px 0 8px; }
/* Fenêtres des outils actuels (éditeur de carte, création, quiz…) au style de la zone admin */
body.bo-on .adm-modal { background:#131313; border:1px solid rgba(255,255,255,.08); border-radius:24px; box-shadow:0 24px 60px rgba(0,0,0,.6); }
body.bo-on .adm-modal h3 { font-family:Fredoka, system-ui, sans-serif; font-weight:600; }

/* Phase 5 · Outils DEV (maquette « Système · outils DEV ») */

/* Phase 6 · Suivi des demandes (maquette « Admin / Suivi des demandes ») : discord-suggestions.js dans la page */
.bo-tracker .discord-inbox > p:first-child { margin:0 0 12px; font-size:12px; color:#93938f; }
.bo-tracker .fm-views { display:inline-flex; gap:2px; padding:4px; border-radius:14px; background:#131313; border:1px solid rgba(255,255,255,.06); }
.bo-tracker .fm-views .btn { border:0; background:none; color:#93938f; border-radius:10px; }
.bo-tracker .fm-views [aria-selected=true] { background:#262626; color:#f2f2f2; }
.bo-tracker .discord-filters { display:flex; flex-wrap:wrap; gap:10px; align-items:flex-end; margin:10px 0; }
.bo-tracker .discord-filters label { margin:0; font-size:11px; color:#93938f; flex:0 1 200px; }
.bo-tracker .discord-filters select { height:38px; border-radius:12px; background:#131313; border:1px solid rgba(255,255,255,.08); color:#f2f2f2; margin-top:4px; }
.bo-tracker [role=status] { font-size:12px; color:#93938f; margin:6px 0 12px; }
.bo-tracker .fm-board { grid-auto-columns:minmax(250px, 1fr); gap:16px; }
.bo-tracker .fm-column { background:#131313; border:1px solid rgba(255,255,255,.06); border-radius:20px; padding:14px; max-height:72vh; }
.bo-tracker .fm-column > h4 { background:#131313; font:600 16px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; padding:4px 0 10px; }
.bo-tracker .fm-column.over { outline-color:#2fe3a0; }
.bo-tracker .discord-inbox .fm-card { background:#181818; border:1px solid rgba(255,255,255,.05); border-left:3px solid rgba(255,255,255,.12); border-radius:14px; padding:12px; margin:0 0 10px; transition:border-color .15s, transform .15s; }
.bo-tracker .discord-inbox .fm-card:hover { border-color:rgba(47,227,160,.35); transform:translateY(-1px); }
.bo-tracker .discord-inbox .fm-card.p0 { border-left-color:#ff7a84; } .bo-tracker .discord-inbox .fm-card.p1 { border-left-color:#ffd36a; }
.bo-tracker .fm-card h4 { font:600 14px/1.3 Inter, system-ui, sans-serif; color:#f2f2f2; }
.bo-tracker .fm-card p { color:#93938f; font-size:11px; }
.bo-tracker .discord-tags > * { border-radius:8px; font-weight:600; }
.bo-tracker .discord-ref { background:#262626; color:#c9c9c4; font-family:ui-monospace, monospace; }
.bo-tracker .fm-editor { background:#131313; border-color:rgba(47,227,160,.4); border-radius:20px; padding:12px 16px; }
.bo-tracker .discord-inbox article { background:#181818; border-color:rgba(255,255,255,.06); border-radius:16px; }

/* Recherche globale (centralisation) */
.bo-search-wrap { position:relative; margin-left:auto; flex:0 1 360px; min-width:0; }
.bo-search-wrap .bo-search { width:100%; margin:0; }
.bo-results { position:absolute; top:calc(100% + 6px); left:0; right:0; z-index:60; max-height:70vh; overflow-y:auto; padding:8px; border-radius:16px; background:#151515; border:1px solid rgba(255,255,255,.1); box-shadow:0 18px 40px rgba(0,0,0,.55); }
.bo-results[hidden] { display:none; }
.bo-results-title { margin:6px 8px 4px; font:600 10px/1 Inter, system-ui, sans-serif; letter-spacing:.06em; text-transform:uppercase; color:#93938f; }
.bo-result { display:flex; align-items:center; gap:10px; width:100%; padding:8px 10px; border:0; border-radius:10px; background:none; color:#f2f2f2; text-align:left; cursor:pointer; font:inherit; }
.bo-result:hover { background:#222; } .bo-result .pi { color:#2fe3a0; width:16px; }
.bo-result span { display:flex; flex-direction:column; min-width:0; } .bo-result strong { font-weight:600; font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .bo-result small { color:#93938f; font-size:11px; }
.bo-results-empty { margin:8px; color:#93938f; font-size:13px; }
@media (max-width: 760px){ .bo-search-wrap { flex:1 1 auto; } }

/* Centralisation · Tickets et Communauté */
.bo-ticket-body { margin:0; padding:10px 12px; border-radius:10px; background:#131313; color:#f2f2f2; white-space:pre-wrap; overflow-wrap:anywhere; }
.bo-msg-pick { display:block; text-align:left; font:inherit; cursor:pointer; border:1px solid rgba(255,255,255,.04); }
.bo-msg-pick:hover { border-color:rgba(47,227,160,.35); }
.bo-msg.mine { border-color:rgba(47,227,160,.35); }
.bo-cm-actions { display:flex; flex-direction:column; gap:10px; } .bo-cm-actions .bo-chips { margin:0; }
.bo-cm-lock { display:flex; align-items:center; gap:10px; font-size:13px; color:#f2f2f2; } .bo-cm-lock input { width:18px; height:18px; accent-color:#2fe3a0; }

/* Refonte · animations communes (maquette « Animations de la zone admin ») */
.bo-a { animation:boA .32s ease-out both; animation-delay:var(--d, 0ms); }
.bo-a-row { animation:boARow .32s ease-out both; animation-delay:var(--d, 0ms); }
.bo-pulse { animation:boPulse .42s cubic-bezier(.2,.9,.3,1.2) 1.1s both; }
@keyframes boA { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes boARow { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@keyframes boPulse { 0%, 100% { transform:scale(1); } 40% { transform:scale(1.12); } }
@media (prefers-reduced-motion: reduce){ .bo-a, .bo-a-row { animation:boFadeOnly .12s ease-out both; animation-delay:0ms; } .bo-pulse { animation:none; } }
@keyframes boFadeOnly { from { opacity:0; } to { opacity:1; } }

/* Refonte · Multi-comptes (maquette « Modération · multi-comptes ») */
.bo-head-row { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap; }
.bo-head-row .btn { margin-top:12px; }
.bo-alts-cols { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:16px; align-items:start; margin-top:16px; }
.bo-alts-side { display:flex; flex-direction:column; gap:16px; min-width:0; }
.bo-panel h2.bo-ph { margin:0 0 6px; font:600 20px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-grp { background:#181818; border:1px solid rgba(255,255,255,.05); border-radius:16px; padding:16px; display:flex; flex-direction:column; gap:10px; }
.bo-grp + .bo-grp { margin-top:10px; }
.bo-found { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:12px 16px; background:#181818; border-radius:12px; overflow-wrap:anywhere; }
.bo-found + .bo-found { margin-top:8px; }
.bo-found small { display:block; margin-top:4px; color:#93938f; }
.bo-grp header { display:flex; align-items:center; gap:10px; justify-content:space-between; flex-wrap:wrap; }
.bo-grp-users { display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-width:0; }
.bo-grp-user { display:inline-flex; align-items:center; gap:8px; border:0; background:none; color:#f2f2f2; font:500 14px/1 Inter, system-ui, sans-serif; cursor:pointer; padding:0; }
.bo-grp-user:hover { color:#2fe3a0; }
.bo-grp-user .bo-avatar { width:28px; height:28px; flex:0 0 28px; font-size:11px; }
.bo-plus { color:#93938f; font-size:13px; }
.bo-grp-detail { margin:0; font-size:12px; color:#93938f; overflow-wrap:anywhere; }
.bo-grp-actions { display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.bo-grp-names { display:flex; gap:12px; flex-wrap:wrap; font-size:12px; } .bo-grp-names[hidden] { display:none; }
.bo-switch { position:relative; width:36px; height:22px; border-radius:99px; border:0; background:#2a2a2a; cursor:pointer; flex:0 0 36px; transition:background .12s ease-out; }
.bo-switch::after { content:''; position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:#f2f2f2; transition:transform .2s ease-out; }
.bo-switch[aria-checked=true] { background:#1f8f63; } .bo-switch[aria-checked=true]::after { transform:translateX(14px); }
.bo-kv { display:flex; justify-content:space-between; gap:12px; font-size:12px; color:#93938f; padding:6px 0; } .bo-kv b { color:#f2f2f2; font-weight:500; }
.bo-contest { background:#181818; border-radius:14px; padding:14px; display:flex; flex-direction:column; gap:10px; }
.bo-contest + .bo-contest { margin-top:10px; }
.bo-contest p { margin:0; font-size:12px; color:#93938f; overflow-wrap:anywhere; }
.bo-contest-who { display:flex; align-items:center; gap:8px; font-weight:500; color:#f2f2f2; font-size:14px; } .bo-contest-who .bo-avatar { width:24px; height:24px; flex:0 0 24px; font-size:10px; }
.bo-more { margin-top:16px; } .bo-more summary { cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; font:600 16px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-more summary::-webkit-details-marker { display:none; } .bo-more summary::after { content:'+'; color:#93938f; font-family:Inter, system-ui, sans-serif; } .bo-more[open] summary::after { content:'–'; }
.bo-more-body { margin-top:12px; display:flex; flex-direction:column; gap:8px; }
.bo-mini { display:flex; justify-content:space-between; gap:12px; align-items:center; flex-wrap:wrap; background:#181818; border-radius:12px; padding:10px 12px; font-size:12px; color:#c9c9c4; }
.bo-mini small { color:#93938f; }
body.bo-on .bo-ae { margin-top:16px; } body.bo-on .bo-ae .adm-card { background:none; border:0; padding:0; margin:0; }
@media (max-width: 1100px){ .bo-alts-cols { grid-template-columns:minmax(0,1fr); } }
.bo-banned { color:#ff7a84; font-size:10px; font-weight:600; } .bo-blocked { color:#ff7a84; }
.bo-alts .btn.ghost, .bo-contest .btn.ghost { color:#f2f2f2; border:1px solid rgba(255,255,255,.18); background:#131313; font-weight:600; }
.bo-alts .btn.ghost:hover { border-color:rgba(255,255,255,.32); }

/* Refonte · Cartes (maquette « Contenu · cartes ») */
.bo-chips-inline { margin:0; }
.bo-cards-cols { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:16px; align-items:start; }
.bo-cgrid { display:grid; grid-template-columns:repeat(auto-fill, minmax(118px, 1fr)); gap:16px 14px; margin-top:6px; }
.bo-cthumb { display:flex; flex-direction:column; gap:4px; padding:0; border:0; background:none; color:#f2f2f2; text-align:left; cursor:pointer; font:inherit; min-width:0; }
.bo-cthumb-art { display:block; aspect-ratio:3/4; border-radius:10px; overflow:hidden; border:2px solid var(--rc); background:#181818; box-shadow:0 0 14px color-mix(in srgb, var(--rc) 35%, transparent); transition:transform .12s ease-out, box-shadow .12s ease-out; }
.bo-cthumb-art span { display:grid; place-items:center; height:100%; font-size:36px; }
.bo-cthumb:hover .bo-cthumb-art { transform:translateY(-2px); box-shadow:0 0 22px color-mix(in srgb, var(--rc) 55%, transparent); }
.bo-cthumb strong { font-size:12px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bo-cthumb small { display:flex; align-items:center; gap:5px; font-size:10px; color:var(--rc); } .bo-cthumb small i { width:6px; height:6px; border-radius:50%; background:var(--rc); }
.bo-cthumb.off { opacity:.45; }
.bo-todo-chips { display:flex; flex-wrap:wrap; gap:8px; } .bo-todo-chips .bo-status { border:0; cursor:pointer; font-style:normal; }
.bo-rar { margin-top:8px; }
/* Refonte · Éditeur de carte (maquette « Contenu · éditeur de carte ») */
.bo-editor-cols { display:grid; grid-template-columns:320px minmax(0,1fr); gap:16px; align-items:start; }
.bo-editor-art { align-items:center; gap:14px; padding:20px; position:sticky; top:12px; }
.bo-editor-art .bo-seg { margin:0; align-self:center; }
.bo-editor-preview { display:flex; justify-content:center; }
.bo-editor-art .bo-grp-detail { text-align:center; }
.bo-editor-main { padding:18px 20px; min-width:0; }
.bo-alt-tag { font:600 12px/1 Inter, system-ui, sans-serif; color:#ffd36a; vertical-align:middle; }
.bo-danger-link { color:#ff7a84; }
.bo-form { display:flex; flex-direction:column; gap:14px; }
.bo-form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.bo-form .bo-rep-note input[disabled] { opacity:.6; }
.bo-stat { display:flex; flex-direction:column; gap:8px; font-size:11px; color:#93938f; font-weight:500; }
.bo-stat > span { display:flex; justify-content:space-between; align-items:center; }
.bo-stat input { width:90px; text-align:right; background:none; border:0; font:600 22px/1 Fredoka, system-ui, sans-serif; }
.bo-stat-atk input { color:#ff8a6b; } .bo-stat-def input { color:#7cc3ff; }
.bo-stat i { display:block; height:8px; border-radius:99px; background:#262626; overflow:hidden; } .bo-stat b { display:block; height:100%; border-radius:99px; transition:width .2s ease-out; }
.bo-stat-atk b { background:#ff8a6b; } .bo-stat-def b { background:#7cc3ff; }
.bo-toggle-row { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:12px 14px; border-radius:12px; background:#181818; }
.bo-toggle-row span { display:flex; flex-direction:column; gap:3px; min-width:0; } .bo-toggle-row b { font-weight:600; color:#f2f2f2; font-size:13px; } .bo-toggle-row small { color:#93938f; font-size:11px; }
.bo-savebar { display:flex; align-items:center; gap:14px; flex-wrap:wrap; padding:12px 14px; border-radius:14px; background:#181818; border:1px solid rgba(255,255,255,.06); position:sticky; bottom:12px; font-size:12px; color:#93938f; transition:border-color .2s ease-out; }
.bo-savebar > span:nth-child(2) { flex:1; }
.bo-savebar.dirty { border-color:rgba(47,227,160,.45); color:#f2f2f2; }
@media (max-width: 1100px){ .bo-cards-cols, .bo-editor-cols { grid-template-columns:minmax(0,1fr); } .bo-editor-art { position:static; } }
@media (max-width: 560px){ .bo-form-row { grid-template-columns:minmax(0,1fr); } .bo-cgrid { grid-template-columns:repeat(auto-fill, minmax(96px, 1fr)); } }

/* Refonte · Quiz (maquette « Contenu · quiz ») */
.bo-qthumb { width:34px; height:44px; flex:0 0 34px; border-radius:6px; overflow:hidden; border:1.5px solid var(--rc); background:#181818; }
.bo-qthumb span { display:grid; place-items:center; height:100%; font-size:18px; }
.bo-good { border-color:rgba(47,227,160,.6) !important; }
.bo-mini-btn { width:100%; border:0; cursor:pointer; text-align:left; font:inherit; } .bo-mini-btn:hover { background:#1f1f1f; } .bo-mini-btn .pi { color:#93938f; font-size:12px; }
.bo-quiz-find { margin-top:12px; max-width:none; }

/* Refonte · Statistiques (maquette « Pilotage · statistiques ») */
.bo-stats-top { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:16px; margin-bottom:16px; align-items:stretch; }
.bo-live { display:flex; align-items:center; gap:22px; flex-wrap:wrap; padding:22px 26px; border-radius:20px; background:linear-gradient(110deg, #0f3d2c, #0c2a20 60%, #10291f); border:1px solid rgba(47,227,160,.45); }
.bo-live-dot { width:18px; height:18px; border-radius:50%; background:#2fe3a0; box-shadow:0 0 0 6px rgba(47,227,160,.18); animation:boLive 2s ease-in-out infinite; }
@keyframes boLive { 50% { box-shadow:0 0 0 10px rgba(47,227,160,.06); } }
.bo-live-n { display:grid; grid-template-columns:auto auto; align-items:baseline; column-gap:10px; flex:1; min-width:200px; }
.bo-live-n b { font:600 46px/1 Fredoka, system-ui, sans-serif; color:#f2f2f2; } .bo-live-n span { color:#c9c9c4; font-size:15px; } .bo-live-n small { grid-column:1 / -1; color:#2fe3a0; font-size:11px; margin-top:6px; }
.bo-live-rec { display:flex; flex-direction:column; align-items:flex-end; gap:2px; } .bo-live-rec small { color:#93938f; font-size:10px; } .bo-live-rec b { color:#ffd36a; font:600 18px/1.1 Fredoka, system-ui, sans-serif; }
.bo-live .btn.ghost { color:#f2f2f2; background:#131313; border:1px solid rgba(255,255,255,.18); font-weight:600; }
.bo-gstate { display:flex; align-items:center; gap:10px; padding:9px 12px; border-radius:10px; font-size:12px; color:#f2f2f2; margin-top:6px; }
.bo-gstate i { width:7px; height:7px; border-radius:50%; background:#5d5d5a; } .bo-gstate em { margin-left:auto; font-style:normal; color:#93938f; }
.bo-gstate-warn { background:rgba(255,211,106,.08); } .bo-gstate-warn i { background:#ffd36a; } .bo-gstate-warn em { color:#ffd36a; }
.bo-gstate-new { background:rgba(124,195,255,.08); } .bo-gstate-new i { background:#7cc3ff; } .bo-gstate-new em { color:#7cc3ff; }
.bo-gstate-bad { background:rgba(255,122,132,.08); } .bo-gstate-bad i { background:#ff7a84; } .bo-gstate-bad em { color:#ff7a84; }
.bo-kpis-8 { grid-template-columns:repeat(4, minmax(0,1fr)); }
.bo-tile-btn { text-align:left; font:inherit; color:inherit; cursor:pointer; } .bo-tile-btn:not([data-go]) { cursor:default; }
.bo-tile-btn[data-go]:hover { border-color:rgba(47,227,160,.35); }
.bo-heat-panel { margin-top:16px; }
.bo-heat { display:grid; grid-template-columns:34px repeat(24, minmax(0,1fr)); gap:4px; margin-top:12px; }
.bo-heat i { height:20px; border-radius:5px; background:#1c1c1c; } .bo-heat .l1 { background:#14332a; } .bo-heat .l2 { background:#18503b; } .bo-heat .l3 { background:#1f7a57; } .bo-heat .l4 { background:#25a874; } .bo-heat .l5 { background:#2fe3a0; }
.bo-heat-h, .bo-heat-d { font-size:10px; color:#93938f; align-self:center; }
.bo-heat-legend { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-top:12px; font-size:11px; color:#93938f; }
.bo-heat-legend > i { width:22px; height:10px; border-radius:3px; } .bo-heat-legend .l1 { background:#14332a; } .bo-heat-legend .l2 { background:#18503b; } .bo-heat-legend .l3 { background:#1f7a57; } .bo-heat-legend .l4 { background:#25a874; } .bo-heat-legend .l5 { background:#2fe3a0; }
.bo-heat-legend > span:nth-of-type(3) { flex:1; } .bo-heat-legend .bo-status { font-style:normal; }
.bo-h3 { margin:14px 0 8px; font:600 12px/1.2 Inter, system-ui, sans-serif; color:#c9c9c4; }
.bo-hourbars { display:grid; grid-template-columns:repeat(24, minmax(0,1fr)); gap:6px; height:90px; align-items:end; }
.bo-hourbars div { display:flex; flex-direction:column; justify-content:flex-end; align-items:center; height:100%; gap:4px; }
.bo-hourbars i { width:100%; max-width:22px; border-radius:4px 4px 0 0; background:#4f8fe8; transform-origin:bottom; animation:boGrow .6s ease-out both; } .bo-hourbars i.top { background:#2fe3a0; }
.bo-hourbars small { font-size:9px; color:#93938f; height:10px; }
@keyframes boGrow { from { transform:scaleY(0); } to { transform:scaleY(1); } }
.bo-stats-cols { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; margin-top:16px; align-items:start; }
.bo-legend { display:flex; align-items:center; gap:6px; font-size:11px; color:#93938f; } .bo-legend i { width:9px; height:9px; border-radius:2px; } .bo-legend i.g { background:#2fe3a0; } .bo-legend i.b { background:#7cc3ff; margin-left:8px; }
.bo-bars { display:grid; grid-template-columns:repeat(7, minmax(0,1fr)); gap:10px; height:260px; align-items:end; margin-top:10px; }
.bo-bar-day { display:flex; flex-direction:column; align-items:center; gap:6px; height:100%; } .bo-bar-day small { font-size:10px; color:#93938f; }
.bo-bar-pair { flex:1; display:flex; align-items:flex-end; gap:4px; width:100%; justify-content:center; }
.bo-bar-pair i { width:40%; max-width:22px; border-radius:4px 4px 0 0; transform-origin:bottom; animation:boGrow .6s ease-out both; } .bo-bar-pair i.g { background:#2fe3a0; } .bo-bar-pair i.b { background:#7cc3ff; }
.bo-minis { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px; margin:10px 0; }
.bo-minis div { background:#181818; border-radius:12px; padding:12px; display:flex; flex-direction:column; gap:4px; } .bo-minis b { font:600 20px/1 Fredoka, system-ui, sans-serif; color:#f2f2f2; } .bo-minis b.ok { color:#2fe3a0; } .bo-minis b.warn { color:#ffd36a; } .bo-minis b.bad { color:#ff7a84; } .bo-minis small { font-size:10px; color:#93938f; }
.bo-qerr { display:flex; flex-direction:column; gap:2px; width:100%; border:0; background:none; padding:6px 0; text-align:left; color:#c9c9c4; font:inherit; font-size:11px; cursor:pointer; } .bo-qerr b { color:#2fe3a0; font-weight:600; } .bo-qerr small { color:#93938f; }
.bo-unique { background:#181818; border-radius:12px; padding:12px 14px; display:flex; flex-direction:column; gap:8px; }
.bo-unique > div { display:flex; align-items:baseline; gap:6px; } .bo-unique > div b { font:600 20px/1 Fredoka, system-ui, sans-serif; } .bo-unique > div span { color:#93938f; font-size:12px; } .bo-unique em { margin-left:auto; font-style:normal; color:#ffd36a; font-size:11px; font-weight:600; }
.bo-unique i { height:7px; border-radius:99px; background:#262626; overflow:hidden; } .bo-unique i b { display:block; height:100%; background:#2fe3a0; } .bo-unique small { color:#93938f; font-size:10px; }
.bo-topcards { display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:10px; }
.bo-topcard { display:flex; flex-direction:column; align-items:center; gap:4px; border:0; background:none; color:#f2f2f2; cursor:pointer; font:inherit; min-width:0; }
.bo-topcard .bo-cthumb-art { width:100%; max-width:64px; } .bo-topcard strong { font-size:11px; font-weight:600; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .bo-topcard small { font-size:10px; color:#93938f; }
.bo-watch { display:flex; justify-content:space-between; align-items:center; gap:12px; background:#181818; border-radius:12px; padding:12px 14px; margin-top:8px; }
.bo-watch span { display:flex; flex-direction:column; gap:3px; min-width:0; } .bo-watch b { font-weight:600; } .bo-watch small { color:#93938f; font-size:11px; }
@media (max-width: 1180px){ .bo-stats-top, .bo-stats-cols { grid-template-columns:minmax(0,1fr); } .bo-kpis-8 { grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px){ .bo-heat { grid-template-columns:26px repeat(24, minmax(8px,1fr)); gap:2px; overflow-x:auto; } .bo-heat i { height:14px; border-radius:3px; } .bo-hourbars { gap:2px; } .bo-topcards { grid-template-columns:repeat(3, minmax(0,1fr)); } }

/* Refonte · Journal (maquette « Pilotage · journal ») */
.bo-jlist { padding:16px; gap:8px; }
.bo-jday { margin:10px 4px 2px; font:600 10px/1 Inter, system-ui, sans-serif; letter-spacing:.06em; text-transform:uppercase; color:#93938f; }
.bo-jday:first-child { margin-top:2px; }
.bo-jrow { display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:12px; background:#181818; }
.bo-jicon { width:30px; height:30px; flex:0 0 30px; border-radius:50%; display:grid; place-items:center; font-size:14px; background:#262626; color:#c9c9c4; }
.bo-jicon-sanctions { background:rgba(255,122,132,.12); color:#ff7a84; } .bo-jicon-dons { background:rgba(255,211,106,.12); color:#ffd36a; } .bo-jicon-cartes { background:rgba(124,195,255,.12); color:#7cc3ff; }
.bo-jicon-codes { background:rgba(255,211,106,.12); color:#ffd36a; } .bo-jicon-reglages { background:rgba(47,227,160,.12); color:#2fe3a0; } .bo-jicon-roles { background:rgba(47,227,160,.12); color:#2fe3a0; }
.bo-jtxt { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; font-size:13px; color:#f2f2f2; }
.bo-jtxt > span { display:flex; align-items:center; gap:6px; flex-wrap:wrap; } .bo-jtxt b { font-weight:600; } .bo-jverb { color:#93938f; }
.bo-jtxt small { color:#93938f; font-size:11px; font-family:ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap:anywhere; }
.bo-jrow time { font-size:11px; color:#93938f; flex:0 0 auto; }

/* Pictogrammes Lucide des pages Codes et Événements (même principe que .pi dans index.html). */
.pi-info{ --pi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E"); }
.pi-mail{ --pi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E"); }
.pi-check{ --pi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.pi-search{ --pi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); }
.pi-x{ --pi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E"); }
.pi-plus{ --pi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E"); }
.pi-archive{ --pi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='5' x='2' y='3' rx='1'/%3E%3Cpath d='M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8'/%3E%3Cpath d='M10 12h4'/%3E%3C/svg%3E"); }

/* Refonte · Cadeaux et codes (maquette « Économie · cadeaux et codes ») */
.bo-kpis-3 { grid-template-columns:repeat(3, minmax(0,1fr)); }
.bo-codes-cols { grid-template-columns:minmax(0,1fr) 370px; }
.bo-codes-list { padding:18px 20px; }
.bo-codes-list .bo-chip .pi, .bo-ev-bonus .bo-chip .pi { width:14px; height:14px; vertical-align:-2px; }
.bo-ctable { display:flex; flex-direction:column; gap:6px; }
.bo-ctr { display:grid; grid-template-columns:minmax(120px,1.1fr) minmax(0,1.5fr) 92px 64px 96px; align-items:center; gap:12px; padding:11px 12px; }
.bo-cth { padding:4px 12px; font:600 10px/1 Inter, system-ui, sans-serif; letter-spacing:.06em; text-transform:uppercase; color:#93938f; }
.bo-crow { width:100%; border:1px solid transparent; border-radius:10px; background:#181818; color:#f2f2f2; font:500 12px/1.3 Inter, system-ui, sans-serif; text-align:left; cursor:pointer; transition:border-color .12s ease-out; }
.bo-crow:hover, .bo-crow.open { border-color:rgba(47,227,160,.35); }
.bo-crow code { font:700 12px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing:.02em; overflow:hidden; text-overflow:ellipsis; }
.bo-crow > span:nth-child(n+3) { color:#93938f; }
.bo-creward { display:flex; flex-direction:column; gap:2px; min-width:0; } .bo-creward span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .bo-creward small { color:#93938f; font-size:11px; }
.bo-status-muted { color:#a9a9a4; background:rgba(255,255,255,.07); }
.bo-cacts { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:4px 12px 10px; }
.bo-cacts small { margin-left:auto; color:#93938f; font-size:11px; }
.bo-mono { font-family:ui-monospace, SFMono-Regular, Consolas, monospace !important; font-weight:700; letter-spacing:.03em; }
.bo-form-row-wide { grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); }
.bo-fieldbtn { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; text-align:left; cursor:pointer; color:#f2f2f2; font:500 13px/1.35 Inter, system-ui, sans-serif; }
.bo-fieldbtn span { color:#93938f; } .bo-fieldbtn .pi { color:#93938f; flex:0 0 auto; }
.bo-wide { width:100%; justify-content:center; min-height:44px; }
.bo-made { display:flex; flex-direction:column; gap:8px; padding:12px 14px; border-radius:12px; background:rgba(47,227,160,.07); border:1px solid rgba(47,227,160,.3); }
.bo-made div { display:flex; justify-content:space-between; align-items:center; font-size:13px; color:#2fe3a0; }
.bo-made code { font:600 12px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; color:#f2f2f2; user-select:all; max-height:160px; overflow:auto; }
.bo-reward-dialog { width:min(560px, calc(100vw - 32px)); }
.bo-reward-dialog .bo-panel-head b { font-size:13px; color:#f2f2f2; }
.bo-rcard { display:flex; align-items:center; gap:10px; padding:8px 12px; border-radius:10px; background:#181818; font-size:13px; }
.bo-rcard span { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; } .bo-rcard b { color:#2fe3a0; }
.bo-stepper-row { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.bo-stepper { display:flex; align-items:center; gap:14px; }
.bo-stepper .btn { width:38px; height:38px; padding:0; justify-content:center; font-size:18px; }
.bo-stepper b { min-width:76px; text-align:center; font:600 26px/1 Fredoka, system-ui, sans-serif; color:#f2f2f2; }

/* Refonte · Événements (maquette « Économie · événements ») */
.bo-ev-hero { display:flex; align-items:center; gap:16px; padding:18px 20px; margin-bottom:16px; border-radius:20px; background:#131313; border:1px solid rgba(255,255,255,.08); }
.bo-ev-hero.live { background:linear-gradient(90deg, rgba(255,211,106,.14), rgba(255,211,106,.05)); border-color:rgba(255,211,106,.45); }
.bo-ev-ic { width:46px; height:46px; flex:0 0 46px; border-radius:50%; display:grid; place-items:center; background:rgba(255,211,106,.14); color:#ffd36a; font-size:22px; }
.bo-ev-txt { flex:1; min-width:0; }
.bo-ev-txt h2 { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0 0 6px; font:600 22px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-ev-txt p { margin:0; font-size:12px; color:#b9b39f; }
.bo-danger-ghost { color:#ff7a84; border:1px solid rgba(255,122,132,.45); background:rgba(255,122,132,.08); }
.bo-danger-ghost:hover { background:rgba(255,122,132,.16); }
.bo-ev-cols { grid-template-columns:minmax(0,1fr) 410px; }
.bo-ev-cols .bo-panel { padding:18px 20px; }
.bo-panel h2.bo-ph .bo-ph-ic { display:inline-grid; place-items:center; width:30px; height:30px; margin-right:10px; border-radius:50%; background:rgba(255,211,106,.12); color:#ffd36a; font-size:15px; vertical-align:middle; }
.bo-ev-cols .bo-side:last-child .bo-ph-ic { background:rgba(47,227,160,.12); color:#2fe3a0; }
.bo-ev-cols .bo-side:first-child .bo-panel + .bo-panel .bo-ph-ic { background:rgba(124,195,255,.12); color:#7cc3ff; }
.bo-form-row-4 { grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,.8fr); }
.bo-ev-bonus { margin:-6px 0 0; } .bo-ev-bonus .bo-chip[disabled] { opacity:.4; cursor:not-allowed; }
.bo-ev-switch { display:flex; align-items:center; gap:12px; font-size:12px; color:#d8d8d4; }
.bo-ev-preview { display:flex; align-items:center; gap:10px; padding:11px 14px; border-radius:10px; font-size:12px; font-weight:600; color:#7cc3ff; background:rgba(124,195,255,.08); border:1px solid rgba(124,195,255,.35); }
.bo-ev-preview.warn { color:#f5c96a; background:rgba(240,180,60,.1); border-color:rgba(240,180,60,.5); }
.bo-ev-note { display:flex; gap:10px; align-items:flex-start; margin:0; padding:11px 14px; border-radius:10px; font-size:12px; color:#f5c96a; background:rgba(240,180,60,.08); border:1px solid rgba(240,180,60,.3); }
.bo-ev-note .pi { flex:0 0 auto; margin-top:1px; }
.bo-ev-msg textarea { resize:vertical; min-height:96px; }
.bo-ev-cols .bo-rep-actions { justify-content:flex-end; }
@media (max-width: 1100px){ .bo-codes-cols, .bo-ev-cols { grid-template-columns:minmax(0,1fr); } .bo-form-row-4 { grid-template-columns:minmax(0,1fr) minmax(0,1fr); } }
@media (max-width: 760px){ .bo-kpis-3 { grid-template-columns:minmax(0,1fr); }
  .bo-ctr { grid-template-columns:minmax(0,1fr) auto; } .bo-cth { display:none; } .bo-crow > span:nth-child(3), .bo-crow > span:nth-child(4) { display:none; } .bo-crow .bo-creward { grid-column:1 / -1; grid-row:2; }
  .bo-ev-hero { flex-wrap:wrap; } .bo-ev-hero .btn { width:100%; } }
@media (max-width: 560px){ .bo-form-row-4, .bo-form-row-wide { grid-template-columns:minmax(0,1fr); } }

/* Refonte · Réglages du jeu (maquette « Système · réglages ») */
.bo-dev-only { align-self:flex-end; margin-bottom:20px; font-style:normal; }
.bo-set-cols { grid-template-columns:minmax(0,1fr) 410px; }
.bo-drop { padding:18px 20px; gap:8px; }
.bo-drop-row { display:grid; grid-template-columns:minmax(150px, 1.1fr) minmax(0, 2fr) 96px; align-items:center; gap:16px; padding:8px 10px 8px 12px; border-radius:12px; background:#181818; }
.bo-drop-l { display:flex; align-items:center; gap:10px; min-width:0; font-size:13px; color:#f2f2f2; }
.bo-drop-l > i { width:8px; height:8px; flex:0 0 8px; border-radius:50%; }
.bo-drop-l > span { display:flex; flex-direction:column; gap:2px; min-width:0; } .bo-drop-l small { font-size:10px; color:#93938f; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bo-drop-bar { height:6px; border-radius:99px; background:#262626; overflow:hidden; } .bo-drop-bar b { display:block; height:100%; border-radius:99px; transition:width .25s ease-out; }
.bo-drop-in { display:flex; align-items:center; justify-content:flex-end; gap:4px; padding:6px 10px; border-radius:8px; background:#0e0e0e; border:1px solid rgba(255,255,255,.08); }
.bo-drop-in:focus-within { border-color:rgba(47,227,160,.6); }
.bo-drop-in input { width:100%; min-width:0; border:0; background:none; color:#f2f2f2; text-align:right; font:700 12px/1 ui-monospace, SFMono-Regular, Consolas, monospace; outline:none; }
.bo-drop-in em { font-style:normal; font-size:11px; color:#93938f; }
.bo-unit { position:relative; display:block; } .bo-unit input { width:100%; padding-right:64px; } .bo-unit em { position:absolute; right:12px; top:50%; transform:translateY(-50%); font-style:normal; font-size:12px; color:#93938f; pointer-events:none; }
.bo-set-save { display:flex; flex-direction:column; gap:6px; padding:14px 16px; border-radius:16px; background:#131313; border:1px solid rgba(255,255,255,.06); position:sticky; bottom:12px; font-size:12px; color:#93938f; transition:border-color .2s ease-out, background .2s ease-out; }
.bo-set-save.dirty { background:linear-gradient(180deg, rgba(47,227,160,.07), rgba(47,227,160,.02)); border-color:rgba(47,227,160,.45); }
.bo-set-save b { font-size:13px; color:#f2f2f2; } .bo-set-save code { font:500 11px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; color:#b9b9b4; }
.bo-set-save small.bad, .bo-grp-detail.bad { color:#ff7a84; }
.bo-set-save .bo-rep-actions { margin-top:6px; }

/* Refonte · Maintenance et sauvegarde (maquette « Système · maintenance ») */
.bo-mt-hero { display:flex; align-items:center; gap:16px; padding:18px 22px; margin-bottom:16px; border-radius:20px; border:1px solid rgba(47,227,160,.45); background:linear-gradient(90deg, rgba(47,227,160,.1), rgba(47,227,160,.03)); }
.bo-mt-dot { width:12px; height:12px; flex:0 0 12px; border-radius:50%; background:#2fe3a0; box-shadow:0 0 0 0 rgba(47,227,160,.6); animation:boMtPulse 2s ease-out infinite; }
@keyframes boMtPulse { to { box-shadow:0 0 0 10px rgba(47,227,160,0); } }
.bo-mt-warn { border-color:rgba(255,211,106,.5); background:linear-gradient(90deg, rgba(255,211,106,.12), rgba(255,211,106,.03)); } .bo-mt-warn .bo-mt-dot { background:#ffd36a; animation:none; }
.bo-mt-down { border-color:rgba(255,122,132,.5); background:linear-gradient(90deg, rgba(255,122,132,.12), rgba(255,122,132,.03)); } .bo-mt-down .bo-mt-dot { background:#ff7a84; animation:none; }
.bo-mt-hero .bo-ev-txt p { color:#a9b5ae; }
.bo-mt-cols { grid-template-columns:minmax(0,1fr) 410px; }
.bo-mt-cols > .bo-panel { padding:18px 20px; }
.bo-form-row-3 { grid-template-columns:repeat(3, minmax(0,1fr)); }
.bo-mt-preview { display:flex; flex-direction:column; align-items:center; gap:8px; padding:26px 18px; border-radius:14px; background:#0a0a0a; border:1px solid rgba(255,255,255,.06); text-align:center; }
.bo-mt-preview > .pi { font-size:24px; color:#ffd36a; } .bo-mt-preview b { font:600 19px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; } .bo-mt-preview span { font-size:12px; color:#93938f; }
.bo-backups { gap:8px; }
.bo-bk { display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:10px; background:#181818; color:#f2f2f2; text-decoration:none; border:1px solid transparent; transition:border-color .12s ease-out; }
.bo-bk:hover { border-color:rgba(47,227,160,.35); }
.bo-bk > span { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; } .bo-bk code { font:700 11px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; overflow:hidden; text-overflow:ellipsis; } .bo-bk small { font-size:11px; color:#93938f; }
.bo-bk em { font-style:normal; font-size:11px; color:#93938f; } .bo-bk .pi { color:#93938f; }
/* Publier une mise à jour (règle du 25/10/2026) : maintenance obligatoire, script ou pas à pas. */
.bo-mt-guide { margin-top:16px; padding:18px 20px; }
.bo-mt-rule { display:flex; gap:12px; align-items:flex-start; padding:12px 14px; margin:4px 0 10px; border-radius:12px; border:1px solid rgba(255,122,132,.45); background:rgba(255,122,132,.08); }
.bo-mt-rule > .pi { color:#ff7a84; font-size:20px; flex:0 0 auto; margin-top:2px; } .bo-mt-rule p { margin:0; color:#d9d9d6; font-size:13px; line-height:1.5; }
.bo-mt-ways { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:14px; margin-top:6px; }
.bo-mt-way { padding:14px; border-radius:14px; background:#141414; border:1px solid rgba(255,255,255,.06); min-width:0; }
.bo-mt-way h3 { margin:0 0 6px; font:600 15px/1.3 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-mt-way code { font:600 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; color:#2fe3a0; overflow-wrap:anywhere; }
.bo-mt-cmd { display:flex; align-items:flex-start; gap:10px; margin:8px 0; padding:10px 12px; border-radius:10px; background:#0a0a0a; border:1px solid rgba(255,255,255,.08); }
.bo-mt-cmd code { flex:1; min-width:0; white-space:pre-wrap; } .bo-mt-cmd .btn { flex:0 0 auto; }
.bo-mt-steps { margin:0; padding-left:20px; color:#d9d9d6; font-size:13px; line-height:1.55; } .bo-mt-steps li { margin:4px 0; }
@media (max-width: 860px){ .bo-mt-ways { grid-template-columns:minmax(0,1fr); } .bo-mt-cmd { flex-direction:column; } }
.bo-backups .bo-wide { margin-top:auto; text-decoration:none; }
@media (max-width: 1100px){ .bo-set-cols, .bo-mt-cols { grid-template-columns:minmax(0,1fr); } }
@media (max-width: 560px){ .bo-drop-row { grid-template-columns:minmax(0,1fr) 92px; } .bo-drop-bar { grid-column:1 / -1; grid-row:2; } .bo-form-row-3 { grid-template-columns:minmax(0,1fr); } .bo-mt-hero { flex-wrap:wrap; } .bo-mt-hero .btn { width:100%; } }

/* Refonte · Rôles de l'équipe et Fiche d'un membre (maquettes « Système · rôles », « Fiche d'un membre ») */
.bo-team-cols { grid-template-columns:minmax(0,1fr) 390px; }
.bo-team-list { padding:18px 20px; gap:8px; }
.bo-ttr { display:grid; grid-template-columns:minmax(150px,1.3fr) 130px 150px 80px 70px; align-items:center; gap:12px; }
.bo-tth { padding:4px 12px; font:600 10px/1 Inter, system-ui, sans-serif; letter-spacing:.06em; text-transform:uppercase; color:#93938f; }
.bo-trow { padding:10px 12px; border-radius:12px; background:#181818; }
.bo-tmember { display:flex; align-items:center; gap:10px; min-width:0; } .bo-tmember > span:last-child { display:flex; flex-direction:column; gap:2px; min-width:0; }
.bo-tmember b { font-size:14px; font-weight:600; color:#f2f2f2; } .bo-tmember small { font-size:11px; color:#93938f; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bo-tmember small.warn, .bo-tunranked .warn { color:#ffd36a; }
.bo-tunranked { display:flex; align-items:center; gap:10px; font-size:12px; color:#93938f; }
.bo-trow .bo-link { justify-self:end; }
.bo-avatar-dev { background:#12523c; color:#2fe3a0; } .bo-avatar-admin { background:rgba(255,211,106,.16); color:#ffd36a; } .bo-avatar-mod { background:rgba(124,195,255,.14); color:#7cc3ff; } .bo-avatar-player { background:#262626; color:#d8d8d4; }
.bo-role-player { color:#d8d8d4; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.18); }
.bo-can-panel, .bo-guard { padding:18px 20px; }
.bo-can-grid { display:grid; grid-template-columns:minmax(0,1fr) 64px 56px 48px; align-items:center; gap:14px 6px; font-size:12px; color:#d8d8d4; }
.bo-can-grid > b { font:700 9px/1 Inter, system-ui, sans-serif; letter-spacing:.06em; text-transform:uppercase; text-align:center; } .bo-can-grid > b.mod { color:#7cc3ff; } .bo-can-grid > b.admin { color:#ffd36a; } .bo-can-grid > b.dev { color:#2fe3a0; }
.bo-can-c { display:grid; place-items:center; }
.bo-can { display:grid; place-items:center; width:20px; height:20px; border-radius:50%; font-style:normal; } .bo-can .pi { width:11px; height:11px; }
.bo-can-mod { background:rgba(124,195,255,.16); color:#7cc3ff; } .bo-can-admin { background:rgba(255,211,106,.16); color:#ffd36a; } .bo-can-dev { background:rgba(47,227,160,.16); color:#2fe3a0; }
.bo-can-opt { padding:3px 7px; border-radius:99px; font:600 9px/1 Inter, system-ui, sans-serif; font-style:normal; color:#ffd36a; background:rgba(255,211,106,.12); }
.bo-can-no { color:#4a4a47; }
.bo-guard ul { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; font-size:12px; color:#b9b9b4; } .bo-guard li { display:flex; gap:10px; align-items:flex-start; } .bo-guard li .pi { color:#2fe3a0; flex:0 0 auto; margin-top:1px; }
.bo-add-list { display:flex; flex-direction:column; gap:6px; max-height:340px; overflow:auto; }
.bo-member-cols { grid-template-columns:310px minmax(0,1fr); }
.bo-member-card { align-items:center; padding:22px 20px; gap:10px; text-align:center; }
.bo-member-card h2 { margin:4px 0 0; font:600 24px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-avatar-xl { width:82px; height:82px; flex:0 0 82px; font-size:28px; }
.bo-member-card dl { align-self:stretch; display:flex; flex-direction:column; gap:10px; margin:16px 0 6px; text-align:left; font-size:12px; }
.bo-member-card dl div { display:flex; justify-content:space-between; gap:10px; } .bo-member-card dt { color:#93938f; } .bo-member-card dd { margin:0; color:#f2f2f2; }
.bo-member-main { padding:20px 22px; }
.bo-member-main .bo-chip .pi { width:14px; height:14px; vertical-align:-2px; } .bo-member-main .bo-chip[disabled] { opacity:.5; cursor:not-allowed; }
.bo-perm { display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:14px; background:#181818; border:1px solid transparent; }
.bo-perm.on:not(.off) { border-color:rgba(47,227,160,.4); background:rgba(47,227,160,.05); }
.bo-perm.off { opacity:.6; }
.bo-perm-ic { width:32px; height:32px; flex:0 0 32px; border-radius:50%; display:grid; place-items:center; background:#262626; color:#93938f; } .bo-perm.on .bo-perm-ic { background:rgba(47,227,160,.14); color:#2fe3a0; }
.bo-perm-txt { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; } .bo-perm-txt b { font-size:14px; font-weight:600; color:#f2f2f2; } .bo-perm-txt small { font-size:12px; color:#93938f; } .bo-perm-txt em { font-style:normal; color:#ffd36a; }
.bo-switch[disabled] { cursor:not-allowed; }
@media (max-width: 1100px){ .bo-team-cols, .bo-member-cols { grid-template-columns:minmax(0,1fr); } }
@media (max-width: 760px){ .bo-ttr { grid-template-columns:minmax(0,1fr) auto; } .bo-tth { display:none; } .bo-trow > span:nth-child(3), .bo-trow > span:nth-child(4) { display:none; } .bo-trow > span:nth-child(2) { grid-row:1; grid-column:2; } .bo-trow .bo-link { grid-column:2; } }

/* Refonte · Outils DEV (maquette « Système · outils DEV ») */
.bo-tool-cards { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; }
.bo-tcard { display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:18px 20px; border-radius:20px; background:#131313; border:1px solid rgba(255,255,255,.06); min-width:0; }
.bo-tcard-top { align-self:stretch; display:flex; justify-content:space-between; align-items:center; gap:10px; }
.bo-tcard-ic { width:40px; height:40px; border-radius:12px; display:grid; place-items:center; font-size:19px; }
.bo-tcard-pill { display:inline-flex; align-items:center; gap:6px; padding:4px 9px; border-radius:99px; font:600 11px/1 Inter, system-ui, sans-serif; font-style:normal; white-space:nowrap; }
.bo-tcard-pill i { width:6px; height:6px; border-radius:50%; background:currentColor; }
.bo-tcard h2 { margin:4px 0 0; font:600 19px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-tcard p { margin:0 0 6px; font-size:12px; line-height:1.45; color:#93938f; flex:1; }
.bo-tint-amber { background:rgba(255,211,106,.12); color:#ffd36a; } .bo-tint-blue { background:rgba(124,195,255,.12); color:#7cc3ff; }
.bo-tint-purple { background:rgba(176,108,255,.14); color:#c9a2ff; } .bo-tint-green { background:rgba(47,227,160,.12); color:#2fe3a0; }
.bo-tint-red { background:rgba(255,122,132,.12); color:#ff7a84; } .bo-tint-grey { background:rgba(255,255,255,.06); color:#b9b9b4; }
/* Refonte · Accès refusé (maquette « État · accès refusé ») */
.bo-denied { min-height:60vh; display:grid; place-items:center; padding:20px 0; }
.bo-denied-card { width:min(520px, 100%); display:flex; flex-direction:column; align-items:center; gap:12px; padding:30px 28px; border-radius:22px; background:#131313; border:1px solid rgba(255,255,255,.08); text-align:center; }
.bo-denied-ic { width:56px; height:56px; border-radius:50%; display:grid; place-items:center; font-size:24px; color:#ffd36a; background:rgba(255,211,106,.1); border:1px solid rgba(255,211,106,.35); }
.bo-denied-card h1 { margin:6px 0 0; font:600 26px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-denied-card p { margin:0; font-size:13px; line-height:1.5; color:#93938f; }
.bo-denied-role { display:flex; align-items:center; gap:8px; font-size:12px; color:#93938f; }
.bo-denied-actions { display:flex; align-items:center; gap:18px; flex-wrap:wrap; justify-content:center; margin-top:8px; }
@media (max-width: 1100px){ .bo-tool-cards { grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){ .bo-tool-cards { grid-template-columns:minmax(0,1fr); } }

/* Refonte · Fiche joueur, inventaire (maquette « Joueurs · fiche ») */
.bo-inv { display:flex; flex-direction:column; gap:12px; }
.bo-inv-head { display:flex; justify-content:flex-end; }
.bo-inv-tools { display:flex; gap:10px; align-items:center; flex-wrap:wrap; } .bo-inv-tools .bo-pl-search { flex:0 1 220px; }
.bo-inv-grid { grid-template-columns:repeat(auto-fill, minmax(118px, 1fr)); }
.bo-inv-card { cursor:default; } .bo-inv-card small { width:100%; } .bo-inv-card small b { margin-left:auto; color:#93938f; font-weight:600; }
.bo-inv-more { grid-column:1 / -1; justify-content:center; }

/* Refonte · Mobile (maquettes « Mobile · tableau de bord » et « Mobile · menu ») */
.bo-mtitle, .bo-msearch, .bo-tabbar, .bo-menu-close { display:none; }
@media (max-width:820px) {
  .bo-mtitle { display:flex; flex-direction:column; align-items:flex-start; gap:4px; flex:1; min-width:0; }
  .bo-mtitle b { font:600 19px/1 Fredoka, system-ui, sans-serif; color:#2fe3a0; }
  .bo-mtitle .bo-role { padding:3px 8px; font-size:9px; }
  .bo-msearch { display:inline-flex; padding:8px; border-radius:12px; border:0; background:#181818; color:#f2f2f2; font-size:18px; cursor:pointer; }
  .bo-search-wrap { display:none; }
  .bo-search-open .bo-search-wrap { display:block; position:absolute; left:16px; right:16px; top:64px; z-index:6; }
  .bo-search-open .bo-search { width:100%; }
  .bo-brand { position:relative; }
  .bo-menu-close { display:grid; place-items:center; position:absolute; right:0; top:50%; transform:translateY(-50%); width:36px; height:36px; border-radius:50%; border:0; background:#262626; color:#f2f2f2; font-size:16px; cursor:pointer; }
  .bo-tabbar { display:flex; position:fixed; left:0; right:0; bottom:0; z-index:30; justify-content:space-around; gap:4px; padding:8px 8px calc(8px + env(safe-area-inset-bottom)); background:rgba(14,14,14,.96); backdrop-filter:blur(8px); border-top:1px solid rgba(255,255,255,.06); }
  .bo-tab { flex:1; display:flex; flex-direction:column; align-items:center; gap:4px; padding:8px 4px; border:0; border-radius:14px; background:none; color:#93938f; font:500 11px/1 Inter, system-ui, sans-serif; cursor:pointer; min-width:0; }
  .bo-tab .pi { font-size:20px; } .bo-tab span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; }
  .bo-tab.active { background:#12392b; color:#f2f2f2; } .bo-tab.active .pi { color:#2fe3a0; }
  .bo-content { padding-bottom:96px; }
}

/* Refonte · Tournois (maquette « Économie · tournois ») */
.bo-tn-cols { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.bo-tn-list, .bo-tn-detail { padding:18px 20px; gap:10px; }
.bo-tn-list .bo-chip .pi { width:14px; height:14px; vertical-align:-2px; }
.bo-tn-row.active { border-color:rgba(47,227,160,.45); background:rgba(47,227,160,.06); }
.bo-tn-ic { width:36px; height:36px; flex:0 0 36px; border-radius:50%; display:grid; place-items:center; font-size:17px; }
.bo-tn-new { background:rgba(124,195,255,.14); color:#7cc3ff; } .bo-tn-warn { background:rgba(255,211,106,.14); color:#ffd36a; }
.bo-tn-ok { background:rgba(47,227,160,.14); color:#2fe3a0; } .bo-tn-bad { background:rgba(255,122,132,.14); color:#ff7a84; }
.bo-tn-prizes, .bo-tn-players { display:flex; flex-wrap:wrap; gap:8px; }
.bo-tn-prize { display:inline-flex; flex-wrap:wrap; align-items:center; gap:6px; padding:8px 12px; border-radius:10px; font-size:12px; font-weight:500; }
.bo-tn-prize span { display:inline-flex; align-items:center; gap:4px; } .bo-tn-prize span + span::before { content:'+'; opacity:.6; margin-right:2px; }
.bo-tn-player { display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:99px; background:#181818; font-size:12px; font-weight:500; color:#f2f2f2; }
.bo-tn-player > i { width:7px; height:7px; border-radius:50%; background:rgba(147,147,143,.5); } .bo-tn-player > i.on { background:#2fe3a0; }
.bo-tn-player em { font-style:normal; font-size:10px; color:#93938f; } .bo-tn-player.out { color:#93938f; }
.bo-tn-x { border:0; background:none; color:#93938f; font-size:14px; line-height:1; padding:0 0 0 2px; cursor:pointer; } .bo-tn-x:hover { color:#ff7a84; }
.bo-tn-bracket .tn-panel { background:none; border:0; padding:0; margin:0; } .bo-tn-bracket .tn-panel > h2 { display:none; }
.bo-tn-bracket .tn-bracket { overflow-x:auto; }
.bo-tn-log { font-size:12px; color:#93938f; } .bo-tn-log summary { cursor:pointer; color:#b9b9b4; font-weight:600; margin-bottom:6px; }
.bo-tn-log div { padding:3px 0; border-top:1px solid rgba(255,255,255,.04); } .bo-tn-log time { color:#6f6f6b; } .bo-tn-log b { color:#d8d8d4; font-weight:600; }
.bo-tn-cancel { padding:12px 14px; border-radius:12px; background:rgba(255,122,132,.06); border:1px solid rgba(255,122,132,.3); display:flex; flex-direction:column; gap:10px; }
.bo-tn-actions { margin-top:auto; justify-content:flex-end; }
.bo-tn-form .adm-card, .bo-tn-form .tn-adm-form { background:none; border:0; padding:0; }
@media (max-width: 1100px){ .bo-tn-cols { grid-template-columns:minmax(0,1fr); } }
.bo-tn-bracket .tn-bracket { display:flex; gap:14px; align-items:flex-start; padding-bottom:4px; }
.bo-tn-bracket .tn-round { flex:1 1 0; min-width:150px; display:flex; flex-direction:column; gap:8px; }
.bo-tn-bracket .tn-round-title { font:600 11px/1 Inter, system-ui, sans-serif; color:#93938f; text-transform:none; letter-spacing:0; }
.bo-tn-bracket .tn-round-matches { display:flex; flex-direction:column; gap:8px; }
.bo-tn-bracket .tn-m { margin:0; padding:7px 10px; border-radius:10px; background:#181818; border:1px solid transparent; box-shadow:none; }
.bo-tn-bracket .tn-m.live, .bo-tn-bracket .tn-m:has(.tn-chip.ok) { border-color:rgba(255,211,106,.5); }
.bo-tn-bracket .tn-m-row { display:flex; align-items:center; gap:6px; padding:2px 0; font-size:12px; color:#b9b9b4; background:none; border:0; }
.bo-tn-bracket .tn-m-row .tn-av { display:none; } .bo-tn-bracket .tn-m-row .n { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bo-tn-bracket .tn-m-row.win { color:#f2f2f2; font-weight:600; } .bo-tn-bracket .tn-m-row.win .w { color:#2fe3a0; } .bo-tn-bracket .tn-m-row .w { font-weight:600; }
.bo-tn-bracket .tn-m-row.empty { color:#6f6f6b; }
.bo-tn-bracket .tn-m-foot { display:flex; flex-wrap:wrap; gap:4px; margin-top:6px; padding:0; border:0; background:none; }
.bo-tn-bracket .tn-m-foot .btn.small { min-height:0; padding:3px 8px; border-radius:99px; font:600 10px/1.3 Inter, system-ui, sans-serif; }
.bo-tn-bracket .tn-m-foot .tn-chip { padding:3px 7px; border-radius:99px; font:600 10px/1.3 Inter, system-ui, sans-serif; }

/* Refonte · Suivi des demandes (maquette « Admin / Suivi des demandes ») */
.bo-trk-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:16px; }
.bo-trk-bar .bo-chip .pi { width:14px; height:14px; vertical-align:-2px; }
.bo-trk-sync { display:inline-flex; align-items:center; gap:8px; font-size:12px; color:#93938f; } .bo-trk-sync .pi { color:#2fe3a0; width:14px; height:14px; }
.bo-trk-board { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; align-items:start; }
.bo-trk-col { display:flex; flex-direction:column; gap:10px; min-height:420px; padding:14px 12px; border-radius:20px; background:#131313; border:1px solid rgba(255,255,255,.06); transition:border-color .15s ease-out, background .15s ease-out; }
.bo-trk-col.over { border-color:rgba(47,227,160,.55); background:rgba(47,227,160,.04); }
.bo-trk-col > header { display:flex; align-items:center; gap:8px; padding:2px 2px 4px; }
.bo-trk-col h2 { margin:0; font:600 18px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-trk-n { padding:2px 7px; border-radius:99px; background:#262626; font:600 11px/1.3 Inter, system-ui, sans-serif; color:#93938f; }
.bo-trk-col > header .bo-status { margin-left:auto; font-style:normal; }
.bo-status-test { color:#c9a2ff; background:rgba(176,108,255,.14); }
.bo-trk-cards { display:flex; flex-direction:column; gap:10px; }
.bo-fm { display:flex; flex-direction:column; gap:9px; padding:13px 14px; border-radius:14px; background:#181818; border:1px solid rgba(255,255,255,.05); cursor:grab; transition:border-color .12s ease-out, transform .12s ease-out; }
.bo-fm:hover, .bo-fm:focus-visible { border-color:rgba(47,227,160,.35); outline:none; } .bo-fm.drag { opacity:.5; }
.bo-fm.done { opacity:.72; }
.bo-fm-top { display:flex; align-items:center; gap:8px; } .bo-fm-top code { font:600 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace; color:#93938f; }
.bo-fm-flag { font-style:normal; font-size:10px; font-weight:600; color:#ffd36a; }
.bo-fm-prio { margin-left:auto; display:inline-flex; align-items:center; gap:5px; padding:3px 7px; border-radius:6px; font:600 10px/1 Inter, system-ui, sans-serif; }
.bo-fm-prio i { display:inline-flex; align-items:flex-end; gap:1.5px; height:9px; } .bo-fm-prio i b { width:2.5px; border-radius:1px; background:currentColor; opacity:.3; }
.bo-fm-prio i b:nth-child(1) { height:4px; } .bo-fm-prio i b:nth-child(2) { height:6.5px; } .bo-fm-prio i b:nth-child(3) { height:9px; } .bo-fm-prio i b.on { opacity:1; }
.bo-prio-bad { color:#ff7a84; background:rgba(255,122,132,.12); } .bo-prio-warn { color:#ffd36a; background:rgba(255,211,106,.12); } .bo-prio-muted { color:#a9a9a4; background:rgba(255,255,255,.07); }
.bo-fm h3 { margin:0; font-size:14px; line-height:1.3; font-weight:600; color:#f2f2f2; }
.bo-fm-tags { display:flex; flex-wrap:wrap; gap:6px; } .bo-fm-tags > * { display:inline-flex; align-items:center; gap:4px; padding:3px 8px; border-radius:6px; background:#262626; font-size:11px; font-weight:500; color:#d8d8d4; text-decoration:none; }
.bo-fm-tags .pi { width:11px; height:11px; } .bo-fm-discord { color:#7cc3ff !important; background:rgba(124,195,255,.1) !important; }
.bo-fm-acts { display:flex; flex-wrap:wrap; gap:6px; } .bo-fm-acts .btn.small { padding:5px 10px; font-size:11px; }
.bo-fm-foot { display:flex; align-items:center; gap:8px; font-size:12px; color:#b9b9b4; } .bo-fm-foot .bo-avatar { width:22px; height:22px; flex:0 0 22px; font-size:9px; }
.bo-fm-foot time { margin-left:auto; display:inline-flex; align-items:center; gap:5px; color:#93938f; font-size:11px; } .bo-fm-foot time .pi { width:12px; height:12px; }
.bo-trk-add { display:flex; align-items:center; justify-content:center; gap:6px; padding:11px; border-radius:14px; border:1px dashed rgba(255,255,255,.14); background:none; color:#93938f; font:500 12px Inter, system-ui, sans-serif; cursor:pointer; }
.bo-trk-add:hover { color:#f2f2f2; border-color:rgba(47,227,160,.4); } .bo-trk-add .pi { width:13px; height:13px; }
.bo-trk-more { grid-column:1 / -1; }
.bo-trk-dialog { width:min(620px, calc(100vw - 32px)); }
.bo-trk-points { margin:0; padding-left:18px; font-size:13px; color:#d8d8d4; display:flex; flex-direction:column; gap:4px; }
.bo-trk-shot { max-width:100%; max-height:200px; border-radius:10px; border:1px solid rgba(255,255,255,.08); }
.bo-trk-how { margin:0; padding-left:20px; display:flex; flex-direction:column; gap:10px; font-size:13px; line-height:1.5; color:#d8d8d4; } .bo-trk-how b { color:#f2f2f2; }
@media (max-width: 1180px){ .bo-trk-board { grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){ .bo-trk-board { grid-template-columns:minmax(0,1fr); } .bo-trk-col { min-height:0; } }

/* Zone Com (maquettes « Zone Admin — Com (proposition 26/10) », public/bo-com.js) */
.bo-com .bo-chips { align-items:center; }
.bo-com .bo-chip .pi { width:14px; height:14px; }
.bo-chip-sm { height:32px; padding:0 12px; font-size:12px; }
.bo-com-hint { margin:0 0 0 4px; }
.bo-com .bo-cols { margin-bottom:16px; }
.bo-com-panel { padding:20px; gap:12px; }
.bo-com-g { --c:#2fe3a0; } .bo-com-y { --c:#ffd36a; } .bo-com-b { --c:#7cc3ff; } .bo-com-r { --c:#ff7a84; } .bo-com-v { --c:#b39cff; } .bo-com-n { --c:#c9c9c4; }
.bo-com-pill { display:inline-flex; align-items:center; padding:4px 10px; border-radius:99px; font:600 11px/1.2 Inter, system-ui, sans-serif; white-space:nowrap; width:max-content; color:var(--c); background:color-mix(in srgb, var(--c) 12%, transparent); }
.bo-com-track { display:block; height:10px; border-radius:6px; background:#181818; overflow:hidden; min-width:0; }
.bo-com-track i { display:block; height:100%; border-radius:6px; background:var(--c); }
.bo-com-src { display:flex; flex-direction:column; gap:12px; }
.bo-com-srow { display:grid; grid-template-columns:150px minmax(0,1fr) 44px 110px; align-items:center; gap:12px; font-size:13px; }
.bo-com-srow b { font-weight:500; }
.bo-com-srow .bo-com-num { font-weight:600; text-align:right; font-variant-numeric:tabular-nums; }
.bo-com-goal { display:flex; flex-direction:column; gap:6px; font-size:13px; }
.bo-com-goal div { display:flex; justify-content:space-between; gap:8px; }
.bo-com-goal small { color:#93938f; font-size:12px; font-variant-numeric:tabular-nums; }
.bo-com-goal .bo-com-track { height:8px; }
.bo-com-row { display:flex; align-items:center; gap:12px; padding:10px 14px; border-radius:14px; background:#181818; }
.bo-com-row > span:first-child { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.bo-com-row b { font-weight:500; font-size:14px; overflow-wrap:anywhere; }
.bo-com-row small { color:#93938f; font-size:12px; }
.bo-com-link { display:flex; align-items:center; gap:10px; padding:9px 12px; border-radius:12px; background:#181818; }
.bo-com-link code { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:500 12px/1.4 Inter, system-ui, sans-serif; color:#c9c9c4; }
.bo-com-chart { display:flex; align-items:flex-end; gap:28px; min-height:230px; padding:8px 4px 0; overflow-x:auto; }
.bo-com-chart > div { display:flex; flex-direction:column; align-items:center; gap:6px; font-size:11px; min-width:72px; }
.bo-com-chart b { color:#ffd36a; font-weight:600; }
.bo-com-chart small { color:#c9c9c4; }
.bo-com-chart span { color:#93938f; white-space:nowrap; }
.bo-com-chart i { display:block; width:72px; border-radius:8px; background:rgba(47,227,160,.85); }
.bo-com-form { display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:12px; }
.bo-com-form .bo-rep-actions, .bo-com-wide { grid-column:1 / -1; }
.bo-com-table { display:flex; flex-direction:column; gap:8px; overflow-x:auto; }
.bo-com-th, .bo-com-tr { display:grid; grid-template-columns:minmax(220px, 3fr) 1fr 1.4fr 0.8fr; gap:12px; align-items:center; min-width:620px; }
.bo-com-creators .bo-com-th, .bo-com-creators .bo-com-tr { grid-template-columns:minmax(150px, 1.6fr) 1fr 0.8fr 1.4fr 1.4fr 0.6fr 1.1fr 0.7fr; min-width:900px; }
.bo-com-th { padding:0 14px; font:600 10px/1.2 Inter, system-ui, sans-serif; letter-spacing:.06em; text-transform:uppercase; color:#93938f; }
.bo-com-tr { padding:10px 14px; border-radius:12px; background:#181818; font-size:13px; color:#c9c9c4; }
.bo-com-tr b { color:#f2f2f2; font-weight:500; overflow-wrap:anywhere; }
.bo-com-tr a { color:#2fe3a0; }
.bo-com-sel { height:30px; padding:0 8px; border-radius:99px; font:600 12px/1 Inter, system-ui, sans-serif; color:var(--c); background:color-mix(in srgb, var(--c) 12%, #131313); border:1px solid transparent; width:auto; max-width:100%; }
.bo-com-board { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; align-items:start; }
.bo-com-col { padding:14px; gap:10px; transition:border-color .15s; }
.bo-com-col.over { border-color:rgba(47,227,160,.6); }
.bo-com-colh { display:flex; align-items:center; gap:8px; margin:0 0 2px; font:600 16px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-com-colh small { color:#93938f; font:500 12px/1 Inter, system-ui, sans-serif; }
.bo-com-dot { width:8px; height:8px; border-radius:50%; background:var(--c); }
.bo-com-card { display:flex; flex-direction:column; align-items:flex-start; gap:8px; width:100%; padding:14px; border-radius:14px; background:#181818; border:1px solid transparent; color:#f2f2f2; text-align:left; cursor:grab; font:inherit; }
.bo-com-card:hover, .bo-com-card:focus-visible { border-color:rgba(255,255,255,.14); }
.bo-com-card.planned { border-color:rgba(124,195,255,.35); }
.bo-com-card.dragging { opacity:.5; }
.bo-com-card b { font-weight:500; font-size:14px; line-height:1.35; overflow-wrap:anywhere; }
.bo-com-card small { color:#93938f; font-size:12px; }
.bo-com-editor { margin-bottom:16px; }
.bo-com-add { padding:14px; border-radius:14px; background:#181818; }
.bo-com-msg { margin:0; font-size:13px; line-height:1.55; color:#c9c9c4; max-width:72ch; }
.bo-com-rules { margin:0; padding-left:18px; display:flex; flex-direction:column; gap:8px; font-size:13px; color:#c9c9c4; }
.bo-com-eyebrow { margin:0; font:600 10px/1.2 Inter, system-ui, sans-serif; letter-spacing:.08em; text-transform:uppercase; color:#93938f; }
.bo-com-h { margin:0; font:600 24px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-com-points { margin:0; padding:0; list-style:none; counter-reset:p; display:flex; flex-direction:column; gap:14px; }
.bo-com-points li { counter-increment:p; display:grid; grid-template-columns:26px minmax(0,1fr); gap:4px 12px; }
.bo-com-points li::before { content:counter(p); grid-row:span 2; width:24px; height:24px; border-radius:99px; display:grid; place-items:center; font:700 12px/1 Inter, system-ui, sans-serif; color:#2fe3a0; background:rgba(47,227,160,.12); }
.bo-com-points b { font-weight:600; font-size:14px; }
.bo-com-points span { font-size:13px; color:#c9c9c4; max-width:70ch; }
.bo-com-weeks { display:grid; grid-template-columns:repeat(auto-fit, minmax(100px, 1fr)); gap:10px; }
.bo-com-week { display:flex; flex-direction:column; gap:6px; padding:12px; border-radius:14px; border:1px solid color-mix(in srgb, var(--c) 30%, transparent); background:color-mix(in srgb, var(--c) 8%, transparent); }
.bo-com-week b { color:var(--c); font-size:13px; }
.bo-com-week span { font-size:12px; color:#c9c9c4; }
.bo-com-side { display:flex; flex-direction:column; gap:16px; min-width:0; }
.bo-com-vs { display:grid; grid-template-columns:minmax(0,1fr) 80px 90px; gap:8px; font-size:13px; }
.bo-com-vs span { color:#c9c9c4; }
.bo-com-tx-g { color:#2fe3a0; }
.bo-com-tx-r { color:#ff7a84; }
.bo-link.bo-link-bad { color:#ff7a84; }
.bo-com-known { margin:-4px 0 16px; }
.bo-com-ptitle { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.bo-com-ptitle .bo-ph { margin:0; }
.bo-com-prow { grid-template-columns:minmax(120px, 200px) minmax(0,1fr) 44px 44px; }
.bo-com-prow small { color:#93938f; font-size:12px; font-variant-numeric:tabular-nums; }
.bo-com-pact { flex-wrap:wrap; }
.bo-com-pform .bo-rep-note { display:flex; flex-direction:column; gap:6px; }
.bo-com-pick { width:100%; border:1px solid transparent; color:#f2f2f2; text-align:left; cursor:pointer; font:inherit; }
.bo-com-pick.on, .bo-com-pick:hover { border-color:rgba(47,227,160,.45); }
.bo-com-selected { margin-bottom:16px; }
.bo-com-pbody { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:28px; align-items:start; }
.bo-com-detail { display:flex; flex-direction:column; gap:6px; padding:16px; border-radius:14px; background:#181818; }
.bo-com-detail b { font-weight:500; font-size:12px; margin-top:4px; }
.bo-com-detail small { font-size:12px; color:#c9c9c4; }
.bo-com-detail .bo-com-muted { color:#93938f; font-size:11px; margin-top:4px; }
.bo-com-aud { max-width:420px; }
.bo-com-row-on { box-shadow:inset 0 0 0 1px rgba(47,227,160,.45); }
.bo-com-tx-n { color:#93938f; } .bo-com-tx-y { color:#ffd36a; }
.bo-com-row .bo-com-tx-g { color:#2fe3a0; }
@media (max-width: 1000px){ .bo-com-pbody { grid-template-columns:minmax(0,1fr); } }
.bo-com-written { display:flex; flex-direction:column; gap:6px; margin:4px 0 6px; padding:14px; border-radius:14px; background:#181818; }
.bo-com-written > b { font-weight:600; font-size:13px; margin-bottom:4px; }
.bo-com-wrow { display:flex; justify-content:space-between; gap:12px; font-size:12px; color:#c9c9c4; }
.bo-com-wrow span { min-width:0; overflow-wrap:anywhere; }
.bo-com-wrow small { color:#93938f; font-weight:600; white-space:nowrap; font-variant-numeric:tabular-nums; }
.bo-com-mode { border:0; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; min-width:0; }
.bo-com-mode legend { padding:0; margin-bottom:6px; font-size:12px; font-weight:500; color:#c9c9c4; }
.bo-com-mode small { font-size:11px; color:#93938f; }
.bo-com-seg { display:flex; flex-wrap:wrap; gap:6px; padding:4px; border-radius:12px; background:#181818; border:1px solid rgba(255,255,255,.08); width:max-content; max-width:100%; }
.bo-com-seg label { position:relative; cursor:pointer; }
.bo-com-seg input { position:absolute; opacity:0; inset:0; margin:0; cursor:pointer; }
.bo-com-seg span { display:block; padding:8px 12px; border-radius:9px; font:600 12px/1.2 Inter, system-ui, sans-serif; color:#c9c9c4; }
.bo-com-seg input:checked + span { background:#1f8f63; color:#ecfff6; }
.bo-com-seg input:focus-visible + span { outline:2px solid #2fe3a0; outline-offset:2px; }
.bo-com-check { display:flex; align-items:center; gap:8px; font-size:12px; color:#c9c9c4; cursor:pointer; }
.bo-com-srow .bo-link { text-align:left; padding:0; }
.bo-com-tpls { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:10px; }
.bo-com-tpl { display:flex; flex-direction:column; align-items:flex-start; gap:6px; padding:14px; border-radius:14px; background:#181818; min-width:0; }
.bo-com-tpl b { font-weight:600; font-size:14px; }
.bo-com-tpl small { color:#c9c9c4; font-size:12px; line-height:1.4; }
.bo-com-tpl .bo-grp-detail { margin:0; }
.bo-com-insights { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:12px; }
.bo-com-insight { display:flex; flex-direction:column; gap:8px; padding:14px; border-radius:14px; background:#181818; min-width:0; }
.bo-com-insight small { color:#93938f; font-size:11px; }
.bo-com-insight .bo-grp-detail { margin:0; }
.bo-com-irow { display:flex; justify-content:space-between; gap:8px; font-size:13px; }
.bo-com-irow b { font-weight:600; font-variant-numeric:tabular-nums; }
.bo-com-insight .bo-com-track { height:6px; }
@media (max-width: 1180px){ .bo-com-board { grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px){
  .bo-com-board { grid-template-columns:minmax(0,1fr); }
  .bo-com-srow { grid-template-columns:110px minmax(0,1fr) 36px; }
  .bo-com-srow .bo-com-pill { grid-column:2 / -1; }
}

.bo-toggle-row .bo-drop{display:flex;flex-direction:row;align-items:center;gap:10px;flex:0 0 auto}.bo-drop label{white-space:nowrap}.bo-toggle-row .bo-drop[hidden]{display:none}.bo-drop input{width:76px;min-height:36px;padding:0 8px;border:1px solid #2a2a2c;border-radius:10px;background:#0e0e0e;color:#f2f2f2;font:600 14px Inter,sans-serif}
/* Titres et votes du Hall. */
.bo-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}
.bo-work-form{display:grid;gap:.75rem}
.bo-work-form label{display:grid;gap:.35rem;min-width:0}
.bo-work-form .tag-input{width:100%;min-width:0}
.bo-work-form .tag-input,.bo-work-form button,.bo-work-toolbar .tag-input,.bo-work-toolbar button,.bo-suggestion button{font-family:inherit}
.bo-work-form button{justify-self:start}
.bo-work-form[hidden]{display:none}
.bo-work-form p:empty,.bo-work-toolbar+p:empty{display:none}
.bo-work-separated{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border,#2b2b2b)}
.bo-work-toolbar,.bo-suggestion header,.bo-suggestion-votes{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}
.bo-suggestion-list{display:grid;gap:.75rem;margin-block:.75rem}
.bo-suggestion{border:1px solid var(--border,#2b2b2b);border-radius:.85rem;padding:.8rem 1rem;min-width:0}
.bo-suggestion p{white-space:pre-wrap;overflow-wrap:anywhere}
.bo-suggestion header,.bo-suggestion small{color:var(--muted,#aaa)}
.bo-suggestion progress{display:block;width:100%;height:.55rem;accent-color:var(--accent,#2fe3a0);margin-block:.55rem .3rem}
.bo-suggestion button{display:block;margin-top:.7rem}
.cm-art-preview{display:flex;align-items:flex-start;gap:.75rem;margin:.65rem 0;overflow-wrap:anywhere}
.cm-art-preview img,.cm-art-form img{display:block;max-width:100%;width:112px;max-height:160px;object-fit:contain;border-radius:.5rem}
.cm-art-form img[hidden]{display:none}
.cm-art-form{display:grid;gap:.75rem}
.cm-art-form label{display:grid;gap:.35rem}
.cm-art-form .cm-art-consent{display:flex;align-items:flex-start}
.cm-art-form input,.cm-art-form select{min-width:0;max-width:100%;font:inherit}
.cm-art-form button{justify-self:start}
.cm-art-form p:empty{display:none}
.cm-art-open{flex:none}
@media(max-width:720px){.bo-work-grid{grid-template-columns:1fr}}
/* Panneau → Modifs des éditeurs (bo-card-edits.js). */
.bo-ce-tools { display:flex; gap:8px; flex-wrap:wrap; }
.bo-ce-tools input { flex:1 1 220px; min-width:0; }
.bo-ce-tools select { flex:0 0 auto; }
.bo-ce-filter { display:flex; align-items:center; gap:10px; margin:10px 2px 0; color:#d6d6d2; font-size:13px; flex-wrap:wrap; }
.bo-ce-list { display:flex; flex-direction:column; gap:6px; margin-top:10px; }
.bo-ce-row { display:flex; align-items:center; gap:12px; width:100%; padding:8px 12px; border:1px solid rgba(255,255,255,.06); border-radius:14px; background:#171717; color:inherit; text-align:left; cursor:pointer; font:inherit; }
.bo-ce-row:hover, .bo-ce-row:focus-visible { border-color:rgba(47,227,160,.35); background:#1b1b1b; }
.bo-ce-row.is-reverted { opacity:.6; }
.bo-ce-row > .pi-chevron-right { color:#93938f; }
.bo-ce-thumb { flex:0 0 44px; height:58px; border-radius:8px; background:#0e0e0e; display:flex; align-items:center; justify-content:center; overflow:hidden; color:#93938f; }
.bo-ce-thumb img { width:100%; height:100%; object-fit:cover; }
.bo-ce-row-txt { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.bo-ce-row-txt strong { font-size:14px; color:#f2f2f2; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bo-ce-row-txt small { font-size:12px; color:#93938f; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bo-ce-pill { flex:0 0 auto; font-size:11px; padding:3px 8px; border-radius:999px; background:#232323; color:#c9c9c4; }
.bo-ce-detail { display:flex; flex-direction:column; gap:14px; }
.bo-ce-who { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.bo-ce-who small, .bo-ce-note small { display:block; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:#93938f; }
.bo-ce-who b { color:#f2f2f2; font-size:16px; }
.bo-ce-who-actions { display:flex; gap:8px; flex-wrap:wrap; }
.bo-ce-note { margin:14px 0; padding:10px 12px; border-radius:12px; background:#171717; }
.bo-ce-note p { margin:4px 0 0; color:#e7e7e3; white-space:pre-wrap; overflow-wrap:anywhere; }
.bo-ce-states { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.bo-ce-state { display:flex; flex-direction:column; gap:6px; font-size:13px; color:#d6d6d2; min-width:0; overflow-wrap:anywhere; padding:12px; border-radius:12px; background:#171717; }
.bo-ce-state em { font-style:normal; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:#93938f; }
.bo-ce-state img { width:160px; max-width:100%; aspect-ratio:3/4; object-fit:cover; border-radius:10px; background:#0e0e0e; }
.bo-ce-state p { margin:0; }
.bo-ce-text { margin:0; display:grid; gap:2px; }
.bo-ce-text dt { font-size:11px; color:#93938f; }
.bo-ce-text dd { margin:0 0 6px; color:#f2f2f2; }
.bo-ce-none { color:#93938f; }
.bo-ce-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; margin-top:12px; }
.bo-ce-actions p, [data-ce-message-status] { margin:0; font-size:12px; color:#ff9b8a; }
.bo-ce-done { color:#93938f; font-size:12px; }
.bo-ce-messages { list-style:none; margin:10px 0; padding:0; display:flex; flex-direction:column; gap:8px; }
.bo-ce-messages li { padding:8px 12px; border-radius:12px; background:#171717; }
.bo-ce-messages small { color:#93938f; font-size:11px; }
.bo-ce-messages p { margin:3px 0 0; color:#e7e7e3; overflow-wrap:anywhere; }
.bo-ce-more { display:flex; justify-content:center; margin-top:10px; }
@media (max-width:600px){ .bo-ce-states { grid-template-columns:1fr; } }
.bo-ce-switch { flex-direction:row; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:12px; }
.bo-ce-switch > div { display:flex; flex-direction:column; gap:3px; }
.bo-ce-switch b { color:#f2f2f2; }
.bo-ce-switch small { color:#93938f; font-size:12px; }
.bo-ce-switch.is-paused { border-color:rgba(255,155,138,.45); }
.bo-ce-danger { color:#ff9b8a; }
/* Panneau → Joueurs → Rôles spéciaux (bo-special-roles.js). */
.bo-sr-grant { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.bo-sr-grant input { flex:1 1 220px; min-width:0; }
.bo-sr-grant p { margin:0; font-size:12px; color:#c9c9c4; width:100%; }
.bo-sr-list { display:flex; flex-direction:column; gap:8px; margin-top:10px; }
.bo-sr-item { border:1px solid rgba(255,255,255,.06); border-radius:14px; padding:12px 14px; background:#171717; display:flex; flex-direction:column; gap:8px; }
.bo-sr-top { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.bo-sr-top > div:first-child { display:flex; flex-direction:column; gap:2px; min-width:0; }
.bo-sr-top strong { color:#f2f2f2; font-size:15px; }
.bo-sr-top small, .bo-sr-stats { color:#93938f; font-size:12px; }
.bo-sr-stats { margin:0; }
.bo-sr-stats b { color:#ffb4a6; font-weight:600; }
.bo-sr-actions, .bo-sr-badges { display:flex; gap:6px; flex-wrap:wrap; }
.bo-ce-pill-source { background:rgba(47,227,160,.16); color:#8ff0c4; }
.bo-ce-source { border:1px solid rgba(47,227,160,.25); }
.bo-ce-source p { margin:4px 0 0; }
.bo-ce-source .btn { margin-top:8px; }
.bo-ce-sources { border-color:rgba(47,227,160,.35); }
/* Modifs des éditeurs : même présentation que l'Activité des éditeurs (classes cej-* de card-editor-role.css). */
.bo-ce-stats { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; margin-bottom:12px; }
.bo-ce-stats > div { background:#131313; border:1px solid rgba(255,255,255,.06); border-radius:16px; padding:12px 14px; display:flex; flex-direction:column; gap:2px; }
.bo-ce-stats b { font:600 22px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-ce-stats small { color:#93938f; font-size:12px; }
.bo-ce-stats .is-paused { border-color:rgba(255,155,138,.45); }
.bo-ce-stats .is-paused b { color:#ffb4a6; }
.bo-ce-pills { display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; max-width:45%; }
.bo-ce-pills .bo-ce-pill { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.bo-ce-row-note { font-size:.8rem; color:#93938f; font-style:italic; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bo-ce-head { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.bo-ce-head h1 { margin:0; }
.bo-ce-head p { margin:0; color:#93938f; }
.bo-ce-head p b { color:#f2f2f2; }
.bo-ce-nav { display:flex; justify-content:space-between; gap:8px; flex-wrap:wrap; width:100%; margin-bottom:6px; }
.bo-ce-nav span { display:flex; gap:6px; }
.bo-ce-columns { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.bo-ce-detail .cej-compare section { background:#171717; }
.bo-ce-detail .bo-ce-actions { justify-content:flex-end; }
@media (max-width:900px){ .bo-ce-stats { grid-template-columns:1fr 1fr; } .bo-ce-columns { grid-template-columns:1fr; } .bo-ce-pills { max-width:none; } }
@media (max-width:600px){ .cej-row { flex-wrap:wrap; } .bo-ce-pills { width:100%; justify-content:flex-start; order:3; } }
.bo-panel .cej-tools { background:none !important; border:0 !important; padding:0 !important; box-shadow:none !important; margin:0; display:flex !important; grid-template-columns:none !important; flex-wrap:wrap; gap:8px; }
.bo-panel .cej-tools .coll-search { flex:1 1 260px !important; min-width:0; }
.bo-panel .cej-tools select { flex:0 1 210px !important; width:auto !important; min-width:150px; }
.bo-ce-name { display:flex; gap:8px; flex-wrap:wrap; margin-top:8px; }
.bo-ce-name input { flex:1 1 200px; min-width:0; }

/* Images bloquées (bo-art-tickets.js) */
.bo-at-list { display:flex; flex-direction:column; gap:12px; }
.bo-at { display:grid; grid-template-columns:220px minmax(0,1fr); gap:16px; padding:16px; transition:opacity .25s, transform .25s; }
.bo-at.is-leaving { opacity:0; transform:translateX(24px); }
.bo-at-img { position:relative; overflow:hidden; aspect-ratio:5/7; border-radius:14px; background:#0d0d0d; display:grid; place-items:center; }
.bo-at-img img { width:100%; height:100%; object-fit:cover; transition:filter .2s; }
.bo-at-img.is-blurred img { filter:blur(28px) saturate(.4); }
.bo-at-img [data-reveal] { position:absolute; bottom:10px; left:50%; transform:translateX(-50%); white-space:nowrap; background:#131313e6; }
.bo-at-img.is-gone { color:#7c7c78; gap:6px; font-size:13px; }
.bo-at-body { display:flex; flex-direction:column; gap:10px; min-width:0; }
.bo-at-body header h2 { margin:0; font:600 20px/1.2 Fredoka, system-ui, sans-serif; color:#f2f2f2; }
.bo-at-body header small { color:#93938f; font-size:12.5px; }
.bo-at-tag { font:700 11px Inter, sans-serif; padding:2px 8px; border-radius:99px; background:#3a2a55; color:#d4b0ff; vertical-align:middle; }
.bo-at-why { margin:0; display:flex; align-items:center; gap:6px; color:#ffb067; font:600 13px Inter, sans-serif; }
.bo-at-scores { display:grid; gap:6px; max-width:420px; }
.bo-at-scores div { display:grid; grid-template-columns:120px minmax(0,1fr) 44px; align-items:center; gap:8px; font-size:12.5px; color:#b5b5b0; }
.bo-at-scores i { height:6px; border-radius:3px; background:linear-gradient(90deg,#7c7c78 var(--v),#262626 var(--v)); }
.bo-at-scores div.is-hit { color:#ffd0a0; } .bo-at-scores div.is-hit i { background:linear-gradient(90deg,#ff8a3c var(--v),#2a1d12 var(--v)); }
.bo-at-scores b { text-align:right; color:#f2f2f2; }
.bo-at-msg { margin:0; padding:10px 12px; border-left:3px solid #2fe3a0; border-radius:8px; background:#181818; color:#e6e6e2; font-size:13.5px; }
.bo-at-none, .bo-at-credit { margin:0; font-size:12.5px; color:#93938f; }
.bo-at-credit a { color:#2fe3a0; }
.bo-at-note { display:flex; flex-direction:column; gap:4px; font-size:12.5px; color:#b5b5b0; }
.bo-at-note em { font-style:normal; color:#7c7c78; }
.bo-at-note input { height:38px; padding:0 12px; border-radius:10px; border:1px solid rgba(255,255,255,.1); background:#0d0d0d; color:#f2f2f2; font:14px Inter, sans-serif; }
.bo-at-actions { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.bo-at-out { margin:0; font-size:12.5px; color:#ff8a8a; min-height:1em; }
@media (max-width:700px){ .bo-at { grid-template-columns:minmax(0,1fr); } .bo-at-img { max-width:240px; margin:0 auto; width:100%; } }
@media (prefers-reduced-motion:reduce){ .bo-at { transition:none; } }

/* Réinitialisation du mot de passe d'un joueur (fiche joueur, DEV) */
.bo-pw { display:flex; flex-direction:column; gap:10px; margin:6px 0 4px; padding:12px; border-radius:14px; background:#181818; border:1px solid rgba(255,255,255,.08); }
.bo-pw[hidden] { display:none; }
.bo-pw-intro { margin:0; font-size:12.5px; line-height:1.4; color:#a8a8a4; }
.bo-pw-mode { align-self:flex-start; }
.bo-pw-mode button[aria-pressed="true"] { background:#1f8f63; color:#fff; }
.bo-pw-check { display:flex; align-items:center; gap:8px; font-size:13px; color:#d6d6d2; cursor:pointer; }
.bo-pw-check input { width:16px; height:16px; accent-color:#1f8f63; }
.bo-pw-actions { display:flex; gap:8px; justify-content:flex-end; }
.bo-pw-result { display:flex; flex-direction:column; gap:6px; padding:10px 12px; border-radius:12px; background:#12241b; border:1px solid #1f8f63; font-size:13px; }
.bo-pw-result code { font:700 18px/1.3 ui-monospace,Consolas,monospace; letter-spacing:.06em; color:#fff; user-select:all; }
.bo-pw-result button { align-self:flex-start; }
.bo-pw-result small { color:#a8c7b5; }
.bo-pw-result.is-bad { background:#2a1414; border-color:#7a2a2a; color:#ff9a9a; }
.pi-key{ --pi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z'/%3E%3Ccircle cx='16.5' cy='7.5' r='.5' fill='black'/%3E%3C/svg%3E"); }
