:root {
    --lbf-rouge: #c0392b;
    --lbf-rouge-fonce: #a93226;
    --lbf-rouge-survol: #e74c3c;
    --lbf-accent: #ff6b5b;
    --lbf-gris-fonce: #2e2e2e;
    --lbf-gris-clair: #b3b3b3;
    --lbf-blanc: #f2f2f2;
    --lbf-or: #ffd700;
    --lbf-blue: #73b1d2;
    --lbf-fond-transparent: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "Verdana", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    background-color: var(--lbf-gris-fonce);
    background-image: url('/../style/image/fourmiliere-fond.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    color: var(--lbf-blanc);
}

a {
    color: var(--lbf-blue);
    text-decoration: none;
    font-weight: bold;
    font-style: italic;
    transition: color 0.3s;
}

a:hover {
    color: var(--lbf-blanc);
    text-decoration: underline;
}

h1, h2, h3, h4 {
    color: var(--lbf-rouge);
    margin-bottom: 0.5em;
    text-align: center;
}

h1 { font-size: 1.8em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1em; }

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(26, 26, 26, 0.8);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

button,
input[type="submit"],
input[type="button"] {
    background-color: var(--lbf-rouge);
    color: var(--lbf-blanc);
    border: none;
    padding: 10px 20px;
    margin: 5px 0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: var(--lbf-blanc);
    color: #000;
}

table {
    width: 80%;
    border-collapse: collapse;
    margin: 0 auto;
    background-color: var(--lbf-gris-clair);
    color: var(--lbf-blanc);
}

th, td {
    border: 1px solid #444;
    padding: 10px;
    text-align: left;
}

th {
    background-color: var(--lbf-rouge);
}

tr:nth-child(even) {
    background-color: var(--lbf-fond-transparent);
}

.formulaire {
    max-width: 500px;
    width: 90%;
    padding: 30px;
    margin: 80px auto;
    background-color: var(--lbf-gris-fonce);
    border: 1px solid #444;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    color: var(--lbf-blanc);

    display: flex;
    flex-direction: column;
    align-items: center;
}

.formulaire h1,
.formulaire h2 {
    text-align: center;
    color: var(--lbf-blanc);
    margin-bottom: 20px;
}

.formulaire input[type="text"],
.formulaire input[type="password"],
.formulaire input[type="email"],
.formulaire input[type="number"],
.formulaire input[type="time"],
.formulaire select,
.formulaire textarea {
    width: 90%;
    max-width: 400px;
    padding: 10px;
    margin-top: 6px;
    margin-bottom: 12px;
    border: 1px solid #666;
    background-color: var(--lbf-gris-fonce);
    color: var(--lbf-blanc);
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

label {
    display: block;
    margin-top: 1em;
    color: var(--lbf-blanc);
    font-weight: bold;
    width: 90%;
    max-width: 400px;
}

.section {
    margin: 2em 0;
    padding: 1em;
    background-color: var(--lbf-fond-transparent);
    border-left: 4px solid var(--lbf-rouge);
    border-radius: 8px;
}

.alert {
    background-color: #702020;
    color: var(--lbf-blanc);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    font-size: 0.9em;
    background-color: rgba(15, 15, 15, 0.88);
    color: #ddd;
    border-top: 1px solid #333;
}

.img-centree {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border: 4px solid var(--lbf-blanc);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
    border-radius: 12px;
}

nav.menu {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    max-width: 900px;
    margin: 20px auto;
}

nav.menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav.menu li {

    display: inline-block;
}

nav.menu a {
    color: var(--lbf-blue);
    font-weight: bold;
    font-style: italic;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

nav.menu a:hover {
    color: var(--lbf-blanc);
    background-color: var(--lbf-rouge);
    text-decoration: none;
}

#menuContextuelLBF {
    position: absolute;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 6px 0;
    display: none;
    flex-direction: column;
    font-size: 13px;
    color: white;
    box-shadow: 0 0 10px #000;
}
#menuContextuelLBF div {
    padding: 4px 12px;
    cursor: pointer;
    white-space: nowrap;
}
#menuContextuelLBF div:hover {
    background-color: #444;
}

.page-wrapper {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    margin: 0 auto;
    border-radius: 12px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    color: #f0f0f0;
}

.page-wrapper form {
    max-width: 600px;
    margin: 0 auto;
}

.page-wrapper fieldset {
    border: 1px solid #444;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.page-wrapper legend {
    color: var(--lbf-blue);
    font-weight: 700;
    font-size: 1.3em;
    padding: 0 10px;
}

.page-wrapper label {
    color: var(--lbf-blue);
    display: block;
    margin: 8px 0 4px;
}

main, .lbf-page, .page-wrapper, .container {
    background: rgba(15, 15, 15, 0.88);
    color: #ececec;
    border-radius: 12px;
    padding: 20px 25px;
    margin: 20px auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}
nav.menu .page-wrapper { background: none; box-shadow: none; padding: 0; margin: 0; }

h1, h2, h3, h4 { color: var(--lbf-accent); }

.lbf-carte, details.lbf-carte {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #555 !important;
}

main table, .lbf-page table, .page-wrapper table, .container table {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    color: #ececec;
}
main th, main td, .lbf-page th, .lbf-page td, .page-wrapper th, .page-wrapper td, .container th, .container td {
    border-color: #555 !important;
}
main th, .lbf-page th, .page-wrapper th, .container th {
    background: var(--lbf-rouge-fonce) !important;
    color: #fff !important;
}
main tr:nth-child(even), .lbf-page tr:nth-child(even), .page-wrapper tr:nth-child(even), .container tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

main a, .lbf-page a, .page-wrapper a, .container a { color: #8cc8ea; }
.lbf-aide, .aide, small { color: #d4d4d4; }

main input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=submit]):not([type=button]),
main select, main textarea,
.lbf-page input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=submit]):not([type=button]),
.lbf-page select, .lbf-page textarea,
.page-wrapper input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=submit]):not([type=button]),
.page-wrapper select, .page-wrapper textarea,
.container input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=submit]):not([type=button]),
.container select, .container textarea {
    background: #1f1f1f;
    color: #f2f2f2;
    border: 1px solid #666;
    border-radius: 4px;
    padding: 5px 7px;
}

button, input[type="submit"], input[type="button"] { color: #fff; }

.lbf-page label { display: inline; color: #9fd0ea; width: auto; max-width: none; margin: 0 8px 0 0; }
.lbf-page form { max-width: none; }

.lbf-ok, .success { color: #6fdc6f !important; }
.lbf-erreur, .error { color: #ff7b7b !important; }
.avert { color: #ffb347 !important; }

details.lbf-q { display: inline-block; vertical-align: middle; margin-left: 6px; text-align: left; }
details.lbf-q > summary {
    list-style: none; display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%; background: var(--lbf-rouge); color: #fff;
    font: bold 14px/1 Verdana, sans-serif; font-style: normal; cursor: pointer; user-select: none;
    box-shadow: 0 0 0 2px rgba(255,255,255,.15);
}
details.lbf-q > summary::-webkit-details-marker { display: none; }
details.lbf-q > summary:hover, details.lbf-q > summary:focus-visible { background: var(--lbf-rouge-survol); outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
details.lbf-q[open] > summary::before {
    content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 2999; cursor: default;
}
.lbf-q-panneau {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3000;
    width: min(680px, 94vw); max-height: 86vh; overflow: auto; padding: 18px 22px;
    background: #1c1c1c; color: var(--lbf-blanc); border: 1px solid var(--lbf-rouge); border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.8); font: normal 14px/1.6 Verdana, sans-serif; text-align: left; cursor: auto;
}
.lbf-q-panneau h3 { text-align: left; margin: 0 30px 10px 0; font-size: 1.2em; }
.lbf-q-panneau p, .lbf-q-panneau ul, .lbf-q-panneau ol { margin: 0 0 10px; }
.lbf-q-panneau ul, .lbf-q-panneau ol { padding-left: 22px; }
.lbf-q-panneau li { margin: 4px 0; }
.lbf-q-panneau .lbf-q-note { color: #d4d4d4; font-size: .92em; border-left: 3px solid var(--lbf-rouge); padding-left: 8px; }
.lbf-q-fermer { position: absolute; top: 10px; right: 12px; background: none; border: none; color: #ccc; font-size: 18px; cursor: pointer; margin: 0; padding: 2px 6px; }
.lbf-q-fermer:hover { color: #fff; }
.lbf-favori { margin: 6px 0; }
.lbf-favori textarea { display: block; width: 100%; margin-top: 4px; font: .8em monospace; color: #ddd; background: #111; border: 1px solid #444; border-radius: 6px; padding: 4px; }

.lbf-accueil-etapes { max-width: 640px; margin: 20px auto; padding: 16px 22px; text-align: left;
    background: rgba(0,0,0,.55); border: 1px solid var(--lbf-rouge); border-left-width: 5px; border-radius: 10px; }
.lbf-accueil-etapes h3 { margin-top: 0; }
.lbf-accueil-etapes ol { padding-left: 22px; }
.lbf-accueil-etapes li { margin: 5px 0; }

.lbf-gris { color: #c4c4c4; font-style: italic; }
.lbf-avert { color: #ffc46b; }

.lbf-gain { color: #7ed98a; font-weight: bold; }
.lbf-perte { color: #ff8a8a; font-weight: bold; }
.lbf-gain:not(:empty)::before { content: '▲\00a0'; font-size: .8em; }
.lbf-perte:not(:empty)::before { content: '▼\00a0'; font-size: .8em; }
.lbf-sans-fleche::before { content: none !important; }

.lbf-nb.court { cursor: help; text-decoration: underline dotted rgba(255,255,255,.35); text-underline-offset: 3px; }

.lbf-cartes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 1em 0; }
.lbf-cartes > div, .lbf-cartes > a { background: rgba(255,255,255,.07); border: 1px solid #4a4a4a; border-radius: 8px;
    padding: 8px 14px; text-align: center; min-width: 120px; color: #ececec; font-style: normal; }
.lbf-cartes > a.actif { outline: 2px solid var(--lbf-accent); }
.lbf-cartes strong { display: block; font-size: 1.2em; }
.lbf-cartes small { display: block; color: #cfcfcf; }

.lbf-onglets { display: flex; gap: 8px; justify-content: center; margin: 1em 0; flex-wrap: wrap; }
.lbf-onglets a, .lbf-onglets button { padding: 6px 16px; margin: 0; border-radius: 8px; background: #333; color: #eee;
    border: 0; cursor: pointer; font-weight: bold; font-style: normal; }
.lbf-onglets a:hover, .lbf-onglets button:hover { background: #555; color: #fff; text-decoration: none; }
.lbf-onglets a.actif, .lbf-onglets button.actif { background: var(--lbf-rouge-fonce); color: #fff; box-shadow: inset 0 -3px 0 var(--lbf-accent); }
.lbf-onglets a.actif::before, .lbf-onglets button.actif::before { content: '● '; font-size: .7em; vertical-align: middle; }
.lbf-panneau { display: none; }
.lbf-panneau.actif { display: block; }

.lbf-filtres { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; justify-content: center; margin: 0 auto 1.5em; max-width: none !important; }
.lbf-filtres label { display: flex; flex-direction: column; font-weight: bold; font-size: .9em; color: #9fd0ea; width: auto; max-width: none; margin: 0; }

.lbf-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.lbf-tableau { border-collapse: collapse; margin: 0 auto 1em; width: 100%; font-size: .92em; }
table.lbf-tableau th, table.lbf-tableau td { border: 1px solid #555; padding: .3em .5em; text-align: center; vertical-align: top; }
table.lbf-tableau td.n { text-align: right; white-space: nowrap; }

.lbf-alerte { margin: 10px 0; padding: 8px 12px 8px 36px; border-radius: 8px; border-left: 5px solid; position: relative; text-align: left; color: #f2f2f2; }
.lbf-alerte::before { position: absolute; left: 10px; top: 8px; }
.lbf-alerte.ok     { background: rgba(46,160,67,.18);  border-color: #4caf50; }
.lbf-alerte.ok::before     { content: '✅'; }
.lbf-alerte.info   { background: rgba(93,173,226,.15); border-color: #5dade2; }
.lbf-alerte.info::before   { content: 'ℹ️'; }
.lbf-alerte.avert  { background: rgba(255,152,0,.15);  border-color: #ff9800; }
.lbf-alerte.avert::before  { content: '⚠️'; }
.lbf-alerte.erreur { background: rgba(239,83,80,.18);  border-color: #ef5350; }
.lbf-alerte.erreur::before { content: '⛔'; }

.lbf-attente { display: none; margin: 10px auto; padding: 8px 14px; max-width: 520px; text-align: center; border-radius: 8px;
    background: rgba(93,173,226,.15); border: 1px solid #5dade2; color: #f2f2f2; }
.lbf-attente.visible { display: block; }
.lbf-attente::before { content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px;
    border: 3px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: lbf-tourne .8s linear infinite; }
@keyframes lbf-tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .lbf-attente::before { animation: none; } }
button[disabled], input[type="submit"][disabled] { opacity: .6; cursor: wait; }

details.lbf-replie { margin: 1em auto; padding: 0 14px; border: 1px solid #555; border-radius: 10px; background: rgba(255,255,255,.04); }
details.lbf-replie > summary { cursor: pointer; padding: 10px 0; font-weight: bold; color: #9fd0ea; }
details.lbf-replie[open] > summary { border-bottom: 1px solid #444; margin-bottom: 10px; }

@media (max-width: 600px) {
    .lbf-cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
    .lbf-cartes > div, .lbf-cartes > a { min-width: 0; padding: 5px 6px; font-size: .85em; }
    .lbf-cartes strong { font-size: 1.05em; }
    .lbf-filtres { gap: 6px; align-items: stretch; }
    .lbf-filtres label { flex: 1 1 45%; font-size: .8em; }
    .lbf-filtres label input, .lbf-filtres label select { width: 100%; }
    .lbf-filtres button { flex: 1 1 100%; padding: 8px; }
    .lbf-onglets a, .lbf-onglets button { padding: 5px 10px; font-size: .9em; }
}

.lbf-page { max-width: 1150px; }
.lbf-page table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; }
.lbf-page th, .lbf-page td { padding: 5px 7px; vertical-align: top; }
.lbf-page td.nombre, .page-wrapper td.nombre { text-align: right; white-space: nowrap; }
.lbf-carte { border-radius: 6px; padding: 10px 15px; margin-bottom: 20px; }
.lbf-aide { font-size: .9em; opacity: .85; }
.gris { opacity: .7; }
.exclu td { opacity: .65; }
.etiquette { font-size: .8em; padding: 1px 6px; border-radius: 8px; background: rgba(255,255,255,.12); white-space: nowrap; }
.table-defile, .ma-defile, .gr-defile, .sal-defile, .matrice-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; }
form.inline { display: inline; }
input, select, textarea { max-width: 100%; }

.lbf-tableau-defile { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; margin: 6px 0 18px; }
.lbf-tableau-defile > table { margin-top: 0 !important; margin-bottom: 0 !important; }
main, .container, .lbf-page, .page-wrapper { max-width: 100%; box-sizing: border-box; }
@media (max-width: 900px) {
    main table, .container table, .lbf-page table, .page-wrapper table { font-size: .85em; }
    main th, main td, .lbf-page th, .lbf-page td, .page-wrapper th, .page-wrapper td { padding: 4px 5px !important; }
    main, .container, .lbf-page, .page-wrapper { padding-left: 8px !important; padding-right: 8px !important; margin-left: 4px !important; margin-right: 4px !important; }

    main table:not(.bp-pile), .container table:not(.bp-pile), .lbf-page table, .page-wrapper table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .adm table { display: block; }
}

nav.lbf-nav { max-width: 1440px; margin: 15px auto; padding: 6px 12px; background: rgba(15,15,15,.92); border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,.6); display: flex; flex-wrap: wrap; align-items: center; gap: 2px; position: relative; z-index: 1000; }
nav.lbf-nav .lbf-logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-style: normal; color: #f0f0f0; margin-right: 10px; font-size: 1.2em; text-decoration: none; }
nav.lbf-nav .lbf-logo img { width: 34px; height: 34px; border-radius: 7px; display: block; }
nav.lbf-nav .lbf-logo b { color: var(--lbf-accent); font-weight: 900; }
nav.lbf-nav details { position: relative; }
nav.lbf-nav summary { list-style: none; cursor: pointer; padding: 7px 9px; font-size: .93em; border-radius: 8px; color: #e8e8e8; font-weight: bold; user-select: none; white-space: nowrap; }
nav.lbf-nav summary::-webkit-details-marker { display: none; }
nav.lbf-nav summary::after { content: ' ▾'; font-size: .8em; opacity: .7; }
nav.lbf-nav summary:hover, nav.lbf-nav details[open] > summary { background: var(--lbf-rouge-fonce); color: #fff; }
nav.lbf-nav details.actif > summary { box-shadow: inset 0 -3px 0 var(--lbf-accent); }
nav.lbf-nav ul { list-style: none; margin: 0; padding: 6px 0; position: absolute; top: calc(100% + 4px); left: 0; min-width: 230px;
    background: #1c1c1c; border: 1px solid #444; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.7); }
nav.lbf-nav li a { display: block; padding: 8px 16px; color: #dfe9ef; font-style: normal; font-weight: normal; text-decoration: none; }
nav.lbf-nav li a:hover { background: var(--lbf-rouge-fonce); color: #fff; text-decoration: none; }
nav.lbf-nav li a.actif { color: #ff8b7e; font-weight: bold; }
nav.lbf-nav li.lbf-intertitre { padding: 8px 16px 2px; margin-top: 4px; border-top: 1px solid #444; color: #ffb3a8; font-size: .8em; font-weight: bold; text-transform: uppercase; letter-spacing: .05em; }
nav.lbf-nav .lbf-espace { display: none; }
nav.lbf-nav .lbf-compte { margin-left: auto; }
nav.lbf-nav .lbf-compte ul { left: auto; right: 0; }
nav.lbf-nav .lbf-lien-simple { padding: 7px 12px; color: #e8e8e8; font-style: normal; text-decoration: none; border-radius: 8px; }
nav.lbf-nav .lbf-lien-simple:hover { background: var(--lbf-rouge-fonce); color: #fff; text-decoration: none; }
nav.lbf-nav form.lbf-deconnexion { margin: 0; }
nav.lbf-nav button.lbf-lien-bouton { display: block; width: 100%; text-align: left; padding: 8px 16px; margin: 0; border-radius: 0;
    background: none; color: #dfe9ef; font: inherit; font-weight: normal; cursor: pointer; }
nav.lbf-nav button.lbf-lien-bouton:hover { background: var(--lbf-rouge-fonce); color: #fff; }
/* Menus à onglets (Gérer mon alliance, Administration) : un panneau large, une colonne par groupe */
nav.lbf-nav details.lbf-mega { position: static; }
nav.lbf-nav .lbf-mega-panneau { position: absolute; top: calc(100% + 4px); left: 12px; right: 12px; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 20px; padding: 14px 16px;
    background: #1c1c1c; border: 1px solid #444; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.7); }
nav.lbf-nav .lbf-mega-panneau ul { position: static; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none; }
nav.lbf-nav .lbf-mega-titre { display: block; padding: 6px 16px; color: #ffb3a8; font-size: .8em; font-weight: bold; font-style: normal;
    text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
nav.lbf-nav .lbf-mega-titre:hover { color: #fff; text-decoration: none; }
/* Profil */
nav.lbf-nav .lbf-compte summary { background: rgba(255,255,255,.06); }
nav.lbf-nav .lbf-profil-srv { opacity: .7; margin-right: 2px; }
nav.lbf-nav .lbf-tag { font-size: .8em; padding: 1px 8px; border-radius: 99px; background: #111; color: #f2c94c; }
nav.lbf-nav .lbf-compte ul { min-width: 290px; }
nav.lbf-nav li a.lbf-discret { opacity: .75; }
nav.lbf-nav li.lbf-separateur { border-top: 1px solid #444; margin: 6px 0; }
nav.lbf-nav .lbf-compte li.lbf-intertitre:first-child { border-top: 0; margin-top: 0; }
/* Onglets en haut des pages regroupées */
nav.lbf-onglets { max-width: 1440px; margin: -6px auto 15px; padding: 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
nav.lbf-onglets .lbf-onglets-titre { color: #ffb3a8; font-weight: bold; font-size: .85em; text-transform: uppercase; letter-spacing: .05em;
    margin-right: 4px; padding: 9px 12px; border-radius: 8px; background: rgba(15,15,15,.88); }
nav.lbf-onglets a { padding: 8px 16px; border-radius: 8px; background: rgba(15,15,15,.88); color: #e8e8e8; font-weight: bold;
    font-style: normal; text-decoration: none; }
nav.lbf-onglets a:hover { background: var(--lbf-rouge-fonce); color: #fff; text-decoration: none; }
nav.lbf-onglets a.actif { background: var(--lbf-rouge-fonce); color: #fff; box-shadow: inset 0 -3px 0 var(--lbf-accent); }
/* Bannière (accueil et connexion seulement) */
.lbf-banniere { max-width: 1200px; margin: 15px auto 0; padding: 0 12px; box-sizing: border-box; }
.lbf-banniere img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 15px rgba(0,0,0,.6); }
.lbf-pied-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; margin-bottom: 10px; font-weight: bold; }
.lbf-pied-liens a { color: #ff8b7e; font-style: normal; }
.lbf-pied a { color: #ff8b7e; }
.lbf-bandeau-simulation { position: fixed; bottom: 0; left: 0; right: 0; z-index: 2000; background: #b35900; color: #fff;
    padding: 8px 15px; display: flex; justify-content: center; align-items: center; gap: 15px; box-shadow: 0 -2px 10px rgba(0,0,0,.6); font-weight: bold; }
.lbf-bandeau-simulation form { margin: 0; }
.lbf-bandeau-simulation button { background: #fff; color: #b35900; margin: 0; padding: 6px 14px; }
body.lbf-en-simulation { padding-bottom: 55px; }
@media (max-width: 700px) {
    nav.lbf-nav ul { position: static; box-shadow: none; margin-top: 4px; }
    nav.lbf-nav details { width: 100%; }
    nav.lbf-nav .lbf-mega-panneau { position: static; grid-template-columns: 1fr; margin-top: 4px; box-shadow: none; }
}

.tb-entete { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.tb-entete h3 { margin: 0; }
.tb-entete .choix-serveur { margin: 0; }
.tb-maj { text-align: center; margin: 1em 0 1.5em; }
#tb-tout { font-size: 1.15em; padding: 12px 26px; }
.tb-resultats { text-align: left; max-width: 640px; margin: 8px auto; padding-left: 20px; }
.tb-resultats li { margin: 3px 0; }
.tb-recent { color: #7ed98a; }
.tb-moyen { color: #ffc46b; }
.tb-ancien { color: #ff8a8a; font-weight: bold; }

.barre { width: 160px; max-width: 100%; height: 10px; background: #ddd; border-radius: 5px; overflow: hidden; display: flex; }
.barre .livre { background: #2a9d2a; }
.barre .route { background: repeating-linear-gradient(45deg,#7ac77a,#7ac77a 4px,#bfe6bf 4px,#bfe6bf 8px); }
.date-depassee { color: #ff7b7b; font-weight: bold; }
.date-proche { color: #ffb347; font-weight: bold; }
textarea.import { width: 100%; min-height: 110px; }
input.qte { width: 9em; text-align: right; }

.relais { max-width: 620px; margin: 30px auto; padding: 18px 22px; background: rgba(20,20,20,.9); color: #eee;
          border-radius: 12px; text-align: center; font-size: 1.05em; }
.relais h1 { font-size: 1.4em; }
.relais .ok { color: #7ddc7d; font-weight: bold; }
.relais .erreur { color: #ff8a80; font-weight: bold; }
.relais a, .relais button { margin: 6px; }
@media (max-width: 600px) { .relais { margin: 10px; padding: 12px; } }

.adm { max-width: 1150px; margin: 20px auto; padding: 16px; background: rgba(20,20,20,.85); border-radius: 12px; }
.adm table { width: 100%; border-collapse: collapse; }
.adm th, .adm td { border: 1px solid #555; padding: 6px 8px; vertical-align: top; text-align: left; }
.adm th { background: var(--lbf-rouge-fonce); color: #fff; }
.adm small { color: #cfcfcf; }
.adm details summary { cursor: pointer; }
.adm .actions form { margin: 6px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.adm .danger { background: #7a1d14; }
.adm .rang-nouveau { color: #ffb36b; font-weight: bold; }
.adm .ok { color: #7ddc7d; font-weight: bold; } .adm .erreur { color: #ff7b6b; font-weight: bold; }
@media (max-width: 800px) {
    .adm table, .adm tbody, .adm tr, .adm td { display: block; width: 100%; box-sizing: border-box; }
    .adm thead { display: none; }
    .adm tr { border: 1px solid #555; border-radius: 8px; margin-bottom: 10px; }
    .adm td { border: none; border-bottom: 1px dashed #444; }
    .adm td::before { content: attr(data-label) " : "; font-weight: bold; opacity: .85; }
    .adm td.titre { background: rgba(169,50,38,.35); }
    .adm td.titre::before { content: none; }
}

.ja { max-width: 1300px; margin: 20px auto; padding: 16px; background: rgba(20,20,20,.85); border-radius: 12px; }
.ja table { width: 100%; border-collapse: collapse; font-size: .88em; margin-bottom: 1.2em; }
.ja th, .ja td { border: 1px solid #444; padding: 4px 6px; vertical-align: top; }
.ja th { background: rgba(169, 50, 38, .45); }
.ja td.n { text-align: right; white-space: nowrap; }
.ja-post { color: #ffb74d; }
.ja-refus { color: #ef6c6c; font-weight: bold; }
.ja-err { color: #ef9a9a; font-family: monospace; font-size: .85em; max-width: 380px; word-break: break-word; }
.ja-ligne-pb { background: rgba(239, 108, 108, .08); }
.ja-pages { display: flex; gap: 10px; justify-content: center; margin: 1em 0; }

.it-outils { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 10px 0 16px; }
.it-outils input[type=search] { min-width: 240px; }
.it-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.it-carte { border: 1px solid rgba(128,128,128,.4); border-radius: 8px; padding: 8px; background: rgba(0,0,0,.15);
    display: flex; flex-direction: column; gap: 6px; }
.it-carte img { width: 100%; height: 160px; object-fit: contain; background: rgba(0,0,0,.25); border-radius: 4px; cursor: zoom-in; }
.it-nom { font-weight: bold; word-break: break-word; }
.it-infos { font-size: .85em; opacity: .75; }
.it-code { width: 100%; box-sizing: border-box; font-family: monospace; font-size: .8em; }
.it-carte button { margin: 0; }
.it-copie { color: #4caf50; font-size: .85em; min-height: 1em; }
.it-zoom { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.88); display: none;
    align-items: center; justify-content: center; flex-direction: column; gap: 10px; padding: 20px; box-sizing: border-box; cursor: zoom-out; }
.it-zoom.ouvert { display: flex; }
.it-zoom img { max-width: 100%; max-height: calc(100% - 50px); object-fit: contain; }
.it-zoom span { color: #fff; }

.ac { max-width: 1200px; margin: 20px auto; padding: 12px 16px 16px; background: rgba(15,15,15,.88); border-radius: 12px; }
.ac-entete { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin: 0 0 .4em; }
.ac-entete p { margin: 0; }
.ac-cadre { width: 100%; border: 0; display: block; min-height: 420px; background: transparent; }
.ac-secours { text-align: right; font-size: .85em; margin: 4px 0 0; }
@media (max-width: 600px) {
    .ac { margin: 6px 2px; padding: 6px; border-radius: 8px; }
    .ac h1 { font-size: 1.3em; }
}
.rc { max-width: 1150px; margin: 20px auto; padding: 16px; background: rgba(20,20,20,.85); border-radius: 12px; }
.rc textarea { width: 100%; min-height: 180px; box-sizing: border-box; font-family: monospace; }
.rc-options { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 10px 0; align-items: flex-end; }
.rc-options label { display: flex; flex-direction: column; font-size: .9em; font-weight: bold; }
.rc-options input { width: 6em; }
.rc-carte { background: rgba(255,255,255,.05); border-radius: 10px; padding: 12px 16px; margin: 1.2em 0; }
.rc-carte h2 { text-align: left; margin-bottom: .3em; }
.rc-cotes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rc-cote { background: rgba(0,0,0,.25); border-radius: 8px; padding: 10px; }
.rc-cote h3 { text-align: left; }
.rc table { width: 100%; border-collapse: collapse; margin: 6px 0; font-size: .92em; }
.rc th, .rc td { border: 1px solid #555; padding: 4px 6px; }
.rc th { background: var(--lbf-rouge-fonce); color: #fff; text-align: left; }
.rc td.n { text-align: right; white-space: nowrap; }
.rc td.niv { font-size: 1.15em; font-weight: bold; }
.rc-gris { color: #9a9a9a; font-style: italic; }
.rc-alerte { color: #ffb74d; }
.rc details summary { cursor: pointer; }
.rc pre { white-space: pre-wrap; font-size: .85em; opacity: .8; }
.rc-situation { display: inline-block; padding: 2px 8px; border-radius: 10px; background: rgba(255,255,255,.12); font-size: .85em; margin-right: 6px; }
@media (max-width: 800px) { .rc-cotes { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    .rc { margin: 6px; padding: 8px; border-radius: 8px; }
    .rc h1 { font-size: 1.3em; } .rc-carte h2 { font-size: 1.05em; }
    .rc-carte { padding: 8px; }
    .rc table { font-size: .85em; } .rc th, .rc td { padding: 3px 4px; }
    .rc-options { flex-direction: column; align-items: stretch; } .rc-options input { width: 100%; }
    .rc textarea { min-height: 130px; }
}

.bp { max-width: 1150px; margin: 20px auto; padding: 16px; background: rgba(20,20,20,.85); border-radius: 12px; }
.bp textarea { width: 100%; min-height: 170px; box-sizing: border-box; font-family: monospace; }
.bp table { width: 100%; border-collapse: collapse; margin: 6px 0 1em; font-size: .92em; }
.bp th, .bp td { border: 1px solid #555; padding: 4px 6px; }
.bp th { background: var(--lbf-rouge-fonce); color: #fff; }
.bp td.n { text-align: right; }
.bp .bp-x, .bp .bp-y { white-space: nowrap; }
.bp .bp-y { font-size: .85em; opacity: .85; }
.bp .bp-note { color: #c4c4c4; font-style: italic; font-weight: normal; }
.bp-pile th:first-child { text-align: left; }
.bp-rc { background: rgba(255,255,255,.05); border-radius: 10px; padding: 10px 14px; margin: 1em 0; }
.bp-rc h3 { text-align: left; margin: 0 0 .3em; }
.bp-cote { background: rgba(0,0,0,.25); border-radius: 8px; padding: 8px 12px; margin: 12px 0; border-left: 5px solid #1f5fad; }
.bp-cote.def { border-left-color: var(--lbf-rouge-fonce); }
.bp-cote h4 { margin: 0 0 .4em; text-align: left; font-size: 1.1em; }
.bp-cote.att h4 { color: #8fb8ee; } .bp-cote.def h4 { color: #ff8a7a; }
.bp-cote h5 { margin: .6em 0 .2em; text-align: left; font-size: .95em; }
.bp-cote p { margin: .2em 0; text-align: left; }
.bp-situation { display: inline-block; padding: 2px 8px; border-radius: 10px; background: rgba(255,255,255,.12); font-size: .85em; margin: 2px 6px 2px 0; }
.bp .lbf-cartes strong { font-size: 1.05em; }
.bp-resume summary { cursor: pointer; font-weight: bold; }
.bp-apercu { background: #f3ecdc; color: #222; border-radius: 8px; padding: 10px 12px; text-align: left; line-height: 1.5;
             font-size: .92em; overflow-wrap: anywhere; margin: .5em 0; }
.bp-apercu .bp-joueur { font-weight: bold; text-decoration: underline dotted; }
.bp details summary { cursor: pointer; }
.bp .bp-etables input { width: 5em; margin: 0 .5em 0 .3em; }
.bp .bp-xp { background: rgba(255,255,255,.06); border-radius: 6px; padding: 6px 10px; line-height: 1.5; }

@media (max-width: 700px) {
    .bp { margin: 6px; padding: 8px; border-radius: 8px; }
    .bp-rc { padding: 8px; } .bp-cote { padding: 6px 8px; }
    .bp table.bp-pile, .bp-pile tbody, .bp-pile tr, .bp-pile td { display: block; width: auto; }
    .bp-pile thead { display: none; }
    .bp-pile tr { border: 1px solid #555; border-radius: 6px; margin: 0 0 6px; overflow: hidden; }
    .bp-pile td { border: none; padding: 3px 8px; display: flex; justify-content: space-between; align-items: baseline;
                  gap: 10px; flex-wrap: wrap; text-align: right; }
    .bp-pile td::before { content: attr(data-l); font-weight: bold; color: #ddd; text-align: left; }
    .bp-pile td.bp-nom { background: rgba(169,50,38,.85); color: #fff; font-weight: bold; text-align: left; display: block; }
    .bp-pile td.bp-nom::before { content: none; }
    .bp-pile td:empty { display: none; }
    .bp-pile td > .bp-v { margin-left: auto; text-align: right; }
    .bp-pile td.bp-nom .bp-note { color: #f3d6d2; }
    .bp .lbf-cartes > div { flex: 1 1 140px; }
    .bp-apercu { font-size: .88em; padding: 8px; }
}

.ic-onglets { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.ic-onglets a { padding: 5px 10px; border: 1px solid #777; border-radius: 6px; text-decoration: none; }
.ic-onglets a.actif { background: var(--lbf-rouge-fonce); color: #fff; border-color: var(--lbf-rouge-fonce); }
.ic-categories a { font-weight: bold; font-size: 1.05em; }
.ic-page td.nombre, .ic-page th.nombre { text-align: right; white-space: nowrap; }
.ic-page tr.mon-niveau td { background: rgba(255, 107, 91, .25); font-weight: bold; }
.ic-page tr.dans-calcul td { background: rgba(140, 200, 234, .15); }
.ic-page .req { font-size: .85em; min-width: 14em; max-width: 30em; }
.ic-page .lbf-tableau-defile > table { width: auto; margin: 0 auto; }
.sim-niveaux { display: flex; flex-wrap: wrap; gap: 12px; }
.sim-niveaux fieldset { border: 1px solid #555; border-radius: 8px; flex: 1 1 280px; }
.sim-niveaux label { display: flex; justify-content: space-between; gap: 8px; margin: 3px 0; }
.sim-niveaux input { width: 4.5em; }
.sim-modes label, .sim-rentrees label { margin-right: 14px; display: inline-block; }
#sim-resultat h3 { margin-top: 14px; }
.ic-total { display: flex; flex-wrap: wrap; gap: 18px; font-size: 1.05em; margin-top: 8px; }

.ma-resume { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 12px 0 18px; }
.ma-resume div { background: rgba(255,255,255,.06); border-radius: 8px; padding: 10px; text-align: center; }
.ma-resume strong { display: block; font-size: 1.35em; color: #ffcc80; }
.ma-resume small { display: block; opacity: .8; }
.ma-inactif td { opacity: .55; }
.lbf-page input.tdcfixe { width: 9em; text-align: right; }
@media (max-width: 700px) { .col-option { display: none; } }

.outils-liste { list-style: none; }
.outils-liste li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.outils-liste .bouton-installer { margin-left: 8px; }
.outils-liste li.votre-nav { background: rgba(80,200,120,.12); border-left: 3px solid #50c878; padding-left: 8px; }
.outils-liste .badge-nav { display: none; margin-left: 6px; font-size: .85em; color: #50c878; }
.outils-liste li.votre-nav .badge-nav { display: inline; }
.aide-groupes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.aide-groupes ul { list-style: none; }
.aide-groupes li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.aide-groupes h2 { font-size: 1.1em; text-align: left; }
#mes-donnees input[readonly] { opacity: .75; cursor: default; }
#mes-donnees input[readonly]::-webkit-inner-spin-button { display: none; }
#mes-donnees input[readonly][type=number] { -moz-appearance: textfield; appearance: textfield; }
#zone-multiflood th.triable { cursor: pointer; text-decoration: underline dotted; }
#zone-multiflood tr.npf td { opacity: .6; }
#zone-multiflood .puce { display: inline-block; margin: 2px 6px 2px 0; padding: 2px 8px; border: 1px solid #888; border-radius: 12px; }
#zone-multiflood .puce a { margin-left: 4px; }
#zone-multiflood .alerte-flood { cursor: help; }
#zone-multiflood textarea { width: 100%; min-height: 80px; }
#zone-multiflood .aide { font-size: .9em; opacity: .85; }

.cb .lbf-tableau th { background: rgba(169, 50, 38, .35) !important; }
.cb-corr ul { list-style: none; margin: 0; padding: 0; text-align: left; }
.cb-corr details { text-align: left; }
.cb-chaine { text-align: left; margin-top: 6px; padding: 6px 8px; border-left: 3px solid #5dade2; background: rgba(93,173,226,.08); border-radius: 4px; }
.cb-chaine p { margin: 4px 0; }
.cb-mouv { text-align: left; font-size: .9em; }
.cb-corr ul, .cb-corr ol { margin: 2px 0 6px; padding-left: 1.2em; text-align: left; }
.cb-corr ul { list-style: disc; }
.cb-poss { margin: 6px 0; padding: 4px 8px; border-left: 3px solid rgba(255,255,255,.2); }
.cb-poss-titre, .cb-statut { margin: 2px 0; text-align: left; }
.cb-lien { display: inline-block; font-size: .8em; padding: 0 6px; border-radius: 8px; border: 1px solid currentColor; white-space: nowrap; }
.cb-intra { color: #5dade2; } .cb-externe { color: #e59866; } .cb-incertain { color: #aaa; }
.cb-orig ul { margin: 4px 0; padding-left: 1.2em; text-align: left; } .cb-orig li { margin: 2px 0; } .cb-orig .cb-poss { text-align: left; }
.graph-cadre { --graph-fond: #161616; --graph-texte: #cfcfcf; --graph-grille: rgba(255,255,255,.12); --graph-axe: #888;
    --graph-ligne: var(--lbf-accent); --graph-hausse: #66bb6a; --graph-baisse: #ef6c6c;
    background: var(--graph-fond); border-radius: 10px; padding: 8px; margin: 1em 0; }
@media (prefers-color-scheme: light) {
    .graph-cadre { --graph-fond: #fbfbfb; --graph-texte: #333; --graph-grille: rgba(0,0,0,.1); --graph-axe: #666;
        --graph-ligne: var(--lbf-rouge); --graph-hausse: #2e7d32; --graph-baisse: #c62828; }
}
.graph-tdc { width: 100%; height: auto; display: block; }
.graph-tdc .graph-texte { fill: var(--graph-texte); font-size: 11px; font-family: Verdana, sans-serif; }
.graph-tdc .graph-grille { stroke: var(--graph-grille); stroke-width: 1; }
.graph-tdc .graph-axe { stroke: var(--graph-axe); stroke-width: 1; }
.graph-tdc .graph-ligne { fill: none; stroke: var(--graph-ligne); stroke-width: 2; }
.graph-tdc .graph-point { fill: var(--graph-ligne); }

.graph-lien { cursor: pointer; }
.graph-lien .graph-cible { fill: transparent; }
.graph-lien:hover .graph-point, .graph-lien:focus .graph-point { r: 5; stroke: var(--graph-ligne); stroke-width: 2; }
tr.cb-surligne > td { background: rgba(255, 200, 60, .22); transition: background .4s; }
.graph-tdc .graph-hausse { fill: var(--graph-hausse); }
.graph-tdc .graph-baisse { fill: var(--graph-baisse); }
.graph-tdc .graph-quotidien { fill: var(--graph-grille); }

.gr-barre-masse { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.gr-barre-masse button { margin: 0; }
.gr-danger { background: #7a1d14 !important; }
table.gr-demandes td { vertical-align: middle; }
table.gr-demandes td:first-child, table.gr-demandes td:last-child { width: 1%; text-align: center; }
table.gr-demandes .barre { width: 120px; }
tr.gr-detail > td { background: rgba(255,255,255,.04); }
.gr-ouvrir { padding: 2px 8px; margin: 0; }
.gr-joueur { background: none !important; color: #73b1d2 !important; font-weight: bold; padding: 0 !important; text-align: left; cursor: pointer; }
.gr-joueur[aria-expanded="true"] { color: #fff !important; }
table.gr-recap td, table.gr-convois td { padding: 3px 6px; vertical-align: middle; }
table.gr-convois { margin: 4px 0 8px; font-size: .92em; }
.gr-petit { padding: 1px 7px !important; margin: 0 !important; font-size: .85em; }
.gr-ajout { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0; }
.gr-ajout button { margin: 0; }
.gr-ajout-libre { margin-top: 8px; }

.sal { max-width: 1400px; margin: 20px auto; padding: 14px 16px; background: rgba(20,20,20,.88); border-radius: 12px; }
.sal h1 { margin-bottom: .1em; }
.sal .sous-titre { text-align: center; margin-bottom: .6em; }
.sal-grille { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 850px) { .sal-grille { grid-template-columns: minmax(0, 1fr); } }
.sal-bloc { background: rgba(255,255,255,.04); border: 1px solid #444; border-radius: 10px; padding: 8px 10px; }
.sal-bloc > h2 { font-size: 1.05em; text-align: left; margin: 2px 0 6px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.sal-bloc > h2 small { font-weight: normal; color: #cfcfcf; font-size: .85em; }
.sal table { width: 100%; border-collapse: collapse; margin: 0; font-size: .9em; }
.sal th, .sal td { border: 1px solid #4a4a4a; padding: 3px 6px; vertical-align: middle; }
.sal th { background: var(--lbf-rouge-fonce); color: #fff; text-align: left; white-space: nowrap; position: sticky; top: 0; }
.sal td.n { text-align: right; white-space: nowrap; }
.sal td.c { text-align: center; }
.sal tr.sal-inactif td { opacity: .6; }
.sal input.niv { width: 3.6em; text-align: right; padding: 2px 4px !important; }
.sal input.fixe { width: 8.5em; text-align: right; padding: 2px 4px !important; }
.sal input.bonus { width: 4em; text-align: right; padding: 2px 4px !important; }
.sal input::placeholder { color: #9a9a9a; }
.sal .estime { color: #ffc46b; cursor: help; }
.sal .badge { cursor: help; }
.sal-membres:not(.detail) .col-detail { display: none; }
.sal-pastille { display: inline-block; width: .7em; height: .7em; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.sal tr.sal-exp td { background: rgba(169,50,38,.22); font-weight: bold; }
.sal-boutons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 8px 0 2px; }
.sal-boutons button { margin: 0; padding: 7px 14px; }
.sal-message textarea { width: 100%; min-height: 260px; font: 12px/1.4 monospace; background: #111; color: #eee; border: 1px solid #555; border-radius: 6px; padding: 6px; }
.sal details.lbf-replie { margin: 12px 0 0; }
.sal-carte label { display: block; font-weight: bold; margin: .6em 0 .2em; color: #9fd0ea; }
.sal-carte .aide { font-size: .88em; color: #cfcfcf; }
.sal-choix label { display: inline-flex; gap: 6px; align-items: center; font-weight: normal; margin-right: 1.2em; }
.sal-avert { background: rgba(255,170,60,.12); border-left: 4px solid #ffaa3c; padding: 4px 10px; margin: 4px 0; border-radius: 4px; font-size: .92em; }
@media (max-width: 600px) { .sal th, .sal td { padding: 2px 4px; font-size: .85em; } }

.sa { max-width: 1250px; margin: 20px auto; padding: 16px; background: rgba(20,20,20,.85); border-radius: 12px; box-sizing: border-box; }
.sa table { width: 100%; border-collapse: collapse; font-size: .92em; }
.sa th, .sa td { border: 1px solid #555; padding: 5px 7px; vertical-align: middle; }
.sa th { background: var(--lbf-rouge-fonce); color: #fff; cursor: pointer; white-space: nowrap; user-select: none; }
.sa th[aria-sort]::after { content: ' ▼'; font-size: .8em; }
.sa th[aria-sort="ascending"]::after { content: ' ▲'; }
.sa td.n { text-align: right; white-space: nowrap; }
.sa td small, .sa .gris { color: #cfcfcf; font-size: .85em; }
.sa tr.total td { font-weight: bold; background: rgba(255,255,255,.06); }
.sa .aide { font-size: .9em; opacity: .85; }
main.lbf-page.sr-large { max-width: none; width: auto; margin: 12px 8px; padding: 14px 12px; }
.sr-large .sr-defile { overflow-x: auto; }
.sr-large table.sr-stats { width: 100%; font-size: .92em; margin: 8px 0 22px; }
.sr-large table.sr-stats th { white-space: normal; padding: 5px 6px; vertical-align: bottom; }
.sr-large table.sr-stats td { padding: 4px 6px; }
.sr-large table.sr-stats td.joueur small { white-space: nowrap; }
.sr-large table.sr-stats td.nombre span[title] { cursor: help; }
.sr-large .lbf-aide { max-width: 1300px; margin-left: auto; margin-right: auto; }
.lbf-page input.niv { width: 4em; text-align: right; }

.puce { display: inline-block; margin: 2px 6px 2px 0; padding: 2px 8px; border: 1px solid #888; border-radius: 12px; }
.puce button { border: none; background: none; cursor: pointer; }
input.valeurs { width: 100%; }
td.ordre { white-space: nowrap; text-align: center; }
td.ordre button { padding: 0 4px; cursor: pointer; }
.poignee { cursor: grab; font-size: 1.2em; padding: 0 6px; user-select: none; }
tr.glisse { opacity: .4; }
tr.cible-dessus td { border-top: 3px solid #4a90d9 !important; }
tr.cible-dessous td { border-bottom: 3px solid #4a90d9 !important; }
.matrice td.centre, .matrice th { text-align: center; }
.matrice td.libelle { text-align: left; min-width: 16em; }
.matrice td.libelle small { display: block; opacity: .7; }
.matrice tr.categorie td { background: rgba(169,50,38,.35) !important; font-weight: bold; text-align: left; }
.matrice th.rang-col { min-width: 7.5em; vertical-align: bottom; }
.matrice th.rang-col strong { display: block; font-size: 1.05em; }
.matrice th.rang-col small { display: block; font-weight: normal; opacity: .9; }
.modeles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.modeles label { display: block !important; border: 1px solid #666; border-radius: 6px; padding: 6px 8px; cursor: pointer; }
.modeles small { display: block; opacity: .8; }
@media (max-width: 700px) { .matrice td.libelle { min-width: 11em; font-size: .9em; } .matrice th.rang-col { min-width: 5.5em; } }

.couronne { margin-left: 5px; color: gold; font-size: 1.2em; }
.btn-refuser { background: #c00; color: #fff; border: none; cursor: pointer; }
table.niveaux td, table.niveaux th { text-align: center; font-size: .9em; }

.gr-centre, .mf-centre, .cb-centre { text-align: center; }
.gr-badge { display: inline-block; min-width: 1.4em; padding: 0 5px; border-radius: 9px; background: #e6a23c; color: #000; font-size: .85em; font-weight: bold; }
.gr-panneau { min-height: 3em; }
.gr-limite { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gr-marge { margin: 6px 0; }
.gr-en-ligne { display: inline; }
.gr-reponse { width: 12em; }
.gr-niveau { width: 5em; }
.gr-pre { white-space: pre-wrap; }
.gr-form-ordre { display: inline; margin: 0; }
.gr-form-ordre button { margin: 0; }
.gr-a-enregistrer { background: #e6a23c !important; color: #000 !important; }
.gr-exceptionnelles { border: 2px solid #e6a23c; margin: 0 0 1.5em; }
.gr-echecs { border: 2px solid #e6a23c; }
.gr-echecs ul { margin: 4px 0; padding-left: 1.2em; }
.gr-echecs li { margin-bottom: 4px; }
table.gr-liste td { vertical-align: middle; }
table.gr-liste .gr-choix { max-width: 22em; }
.gr-notes { min-width: 14em; }
.gr-actions-close { white-space: nowrap; }
tbody.gr-dem.glisse { opacity: .4; }
tbody.gr-dem.cible-dessus > tr:first-child > td { border-top: 3px solid #4a90d9 !important; }
tbody.gr-dem.cible-dessous > tr:first-child > td { border-bottom: 3px solid #4a90d9 !important; }
.mf-floods { margin-top: 25px; }
.mf-floods > details > summary { cursor: pointer; font-weight: bold; }

.mf-saisie { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: flex-start; }
.mf-saisie input[type=text] { width: 16em; }
.mf-memo { max-height: 9em; min-width: 11em; overflow: auto; border: 1px solid #666; border-radius: 6px; padding: 3px 8px; font-size: .9em; }
.mf-memo.vide { opacity: .6; font-style: italic; }
.mf-memo label { display: block; white-space: nowrap; }
.mf-memo a { text-decoration: none; margin-left: 4px; }

.mf-limites { text-align: left; max-width: 46em; margin: 8px auto 0; padding: 6px 12px; border: 1px solid #c9a227; border-radius: 6px; font-size: .92em; }
.mf-limites ul { margin: 4px 0 0; padding-left: 1.3em; }
.mf-limite-trop { color: #e07b39; font-weight: bold; }
.mf-liste-cibles { max-height: 420px; overflow: auto; margin-top: 8px; }
#mfBoutonsListes button { margin: 2px 6px 2px 0; }
#mfListesChefs input[type=text] { width: 18em; }
.cb-attente { font-style: italic; }

.cb-periode { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: flex-end; border: 1px solid #555; border-radius: 6px; padding: 6px 10px 8px; margin: 0; }
.cb-periode legend { font-weight: bold; font-size: .9em; color: #9fd0ea; padding: 0 4px; }
.lbf-filtres .cb-periode label.cb-choix { flex-direction: row; align-items: center; gap: 4px; font-weight: normal; }
.lbf-filtres .cb-periode label.cb-choix { flex: 0 1 auto; white-space: nowrap; }
.lbf-filtres .cb-periode label.cb-choix input { width: auto; margin: 0; }
.cb-groupe { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; }
.cb-groupe[hidden] { display: none; }

.cb tr[hidden], .cb [hidden] { display: none !important; }
.cb-legende { text-align: center; }
.cb-etiq { display: inline-block; font-size: .78em; padding: 0 7px; border-radius: 9px; background: rgba(255,255,255,.1); white-space: nowrap; }
.cb-probable { background: rgba(39,174,96,.25); color: #b9f0cf; }
.cb-potentiel { background: rgba(230,126,34,.22); color: #f8d3ad; }
.cb-mixte { background: rgba(241,196,15,.2); color: #f6e6a6; }
.cb-niv { font-size: .8em; color: #9fd0ea; white-space: nowrap; }
.cb-match { display: inline-block; font-size: .8em; font-weight: bold; padding: 0 7px; border-radius: 9px; white-space: nowrap; }
.cb-m-fort { background: #1e8449; color: #fff; }
.cb-m-moyen { background: #b9770e; color: #fff; }
.cb-m-faible { background: #555; color: #eee; }
.cb-palier { margin: 4px 0; padding: 3px 8px; border-left: 3px solid rgba(255,255,255,.18); text-align: left; }
.cb-palier > summary { cursor: pointer; }
.cb-palier-tete { margin-bottom: 2px; }
.cb-prises { margin: 2px 0 4px; padding-left: 1.2em; list-style: disc; text-align: left; }
.cb-fleche { background: none; border: 1px solid #666; color: #eee; border-radius: 6px; padding: 0 8px; cursor: pointer; font-size: 1em; line-height: 1.5; }
.cb-fleche[aria-expanded="true"] { background: var(--lbf-rouge-fonce); border-color: var(--lbf-rouge-fonce); }
.cb-bouton, .cb-plus { padding: 3px 12px; border-radius: 6px; border: 1px solid #777; background: #333; color: #eee; cursor: pointer; }
.cb-plus { margin: 8px auto; padding: 6px 18px; }
.cb-bouton:hover, .cb-plus:hover, .cb-fleche:hover { background: #555; }
.cb-jours td:first-child { width: 2.2em; }
.cb-jour-detail > td { background: rgba(0,0,0,.25); padding: 6px; }
.cb-sous { font-size: .92em; }
.cb-sous .cb-corr-cel { text-align: left; min-width: 260px; }
.cb-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; margin: 10px 0; }
.cb-carte { background: rgba(255,255,255,.06); border: 1px solid #4a4a4a; border-radius: 10px; padding: 8px 12px; text-align: left; }
.cb-carte-tete { margin-bottom: 4px; }
.cb-carte-pied { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.cb-montant { font-size: 1.15em; margin-right: 4px; }
.cb-heures { margin: 6px 0 0; padding-left: 1.2em; }
.cb-heures li { margin: 2px 0; }
@media (max-width: 700px) {
    .cb-liste { grid-template-columns: 1fr; }
    .cb-sous .cb-corr-cel { min-width: 200px; }
}

.cb-graphes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 1em 0; }
.cb-graphes-alliance { grid-template-columns: repeat(6, 1fr); }
.cb-graphes-alliance > :nth-child(-n+2) { grid-column: span 3; }
.cb-graphes-alliance > :nth-child(n+3) { grid-column: span 2; }
@media (max-width: 900px) {
    .cb-graphes-alliance { grid-template-columns: 1fr 1fr; }
    .cb-graphes-alliance > :nth-child(n) { grid-column: auto; }
}
@media (max-width: 560px) { .cb-graphes, .cb-graphes-alliance { grid-template-columns: 1fr; } }
.graph-cadre.cb-graphe { margin: 0; padding: 8px 10px 4px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.cb-graphe figcaption { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
    color: var(--graph-texte); font-size: .92em; margin: 0 2px 4px; }
.cb-graphe figcaption > span { font-weight: bold; letter-spacing: .02em; }
.cb-graphe figcaption strong { font-size: 1.05em; margin-left: auto; }
.cb-graphe figcaption small { margin-left: 4px; }
.cb-graphe .cb-vide { color: var(--graph-texte); opacity: .7; font-style: italic; text-align: center; margin: 3.5em 0; }
.graph-tdc.graph-compact .graph-texte { font-size: 13px; }
.graph-tdc.graph-compact .graph-ligne { stroke-width: 2.2; }
.cb-g-troph   { --graph-ligne: #f4c542; }
.cb-g-fourm   { --graph-ligne: #e59866; }
.cb-g-techno  { --graph-ligne: #5dade2; }
.cb-g-membres { --graph-ligne: #58d68d; }
@media (prefers-color-scheme: light) {
    .cb-g-troph   { --graph-ligne: #b7860b; }
    .cb-g-fourm   { --graph-ligne: #b9582a; }
    .cb-g-techno  { --graph-ligne: #1f6fa8; }
    .cb-g-membres { --graph-ligne: #1e8449; }
    .graph-cadre.cb-graphe { border-color: rgba(0,0,0,.08); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
}
.cb-cartes-stats > div { min-width: 140px; padding: 10px 16px; }
.cb-cartes-stats strong { font-size: 1.35em; margin: 2px 0; }
.cb-carte-titre { display: block; text-transform: uppercase; font-size: .72em; letter-spacing: .08em; color: #bdbdbd; }
.cb-diplo { margin: .2em 0 1em; }
.cb-egal { color: #9a9a9a; }
.cb-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.cb-deux > section { background: rgba(255,255,255,.04); border: 1px solid #444; border-radius: 10px; padding: 4px 12px 8px; min-width: 0; }
.cb-deux h3 { display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 800px) { .cb-deux { grid-template-columns: 1fr; } }
.cb-bascule { display: inline-flex; border-radius: 14px; overflow: hidden; border: 1px solid #666; font-size: .8em; }
.cb-bascule a { padding: 1px 10px; color: #ddd; text-decoration: none; }
.cb-bascule a.actif { background: var(--lbf-rouge-fonce); color: #fff; }
table.lbf-tableau.cb-petit { font-size: .9em; }
.cb-flux { list-style: none; margin: 0; padding: 0; text-align: left; }
.cb-flux li { padding: 5px 4px; border-bottom: 1px dotted #555; }
.cb-flux li:last-child { border-bottom: 0; }
.cb-arrive { color: #7ed98a; font-weight: bold; }
.cb-part { color: #ff8a8a; font-weight: bold; }
.cb-sous-onglets a { padding: 4px 14px; font-size: .92em; }
table.cb-classement td.cb-g, table.lbf-tableau td.cb-g { text-align: left; }
table.cb-classement tbody tr:nth-child(even) { background: rgba(255,255,255,.035); }
table.cb-classement tbody tr:hover { background: rgba(255,107,91,.10); }
table.cb-classement td.cb-rang { color: #bdbdbd; width: 2.5em; }
table.cb-classement tbody tr:nth-child(-n+3) td.cb-rang { color: #ffd700; font-weight: bold; }
table.cb-classement td { vertical-align: middle; }

.cb-filtres-traceur { display: block; width: calc(100% - 32px); max-width: 1200px !important; margin: 0 auto 1.5em; }
.cb-filtres-tableau { display: grid; grid-template-columns: minmax(130px, .85fr) minmax(210px, 1.45fr) minmax(160px, 1fr) minmax(440px, 3.2fr); align-items: stretch; border: 1px solid #555; border-radius: 10px; overflow: hidden; background: rgba(20,20,20,.48); }
.cb-filtres-section { display: flex; align-items: center; min-width: 0; padding: 14px; border-right: 1px solid #555; }
.cb-filtres-section:last-child { border-right: 0; }
.cb-filtres-section > label { display: flex; flex-direction: column; gap: 4px; width: 100%; min-width: 0; margin: 0; color: #9fd0ea; font-size: .9em; font-weight: bold; }
.cb-filtres-section > label select, .cb-filtres-section > label input { width: 100%; min-width: 0; box-sizing: border-box; }
.cb-filtres-vide { display: block; width: 100%; }
.cb-suggestions { list-style: none; margin: 2px 0 0; padding: 4px 0; max-height: 220px; overflow-y: auto; background: #1c1c1c; border: 1px solid #555; border-radius: 8px; font-weight: normal; }
.cb-suggestions li { padding: 10px 12px; color: #eee; cursor: pointer; }
.cb-suggestions li:hover, .cb-suggestions li[aria-selected="true"] { background: var(--lbf-rouge-fonce); color: #fff; }
.cb-filtres-periode { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; box-sizing: border-box; }
.cb-filtres-periode .cb-periode { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; }
.cb-filtres-periode .cb-periode legend { margin: 0 0 4px; padding: 0; color: #9fd0ea; font-size: .9em; font-weight: bold; }
.cb-filtres-periode .cb-periode label.cb-choix { display: flex; flex: 0 1 auto; flex-direction: row; align-items: center; gap: 4px; width: auto; white-space: nowrap; font-weight: normal; }
.cb-filtres-periode .cb-periode label.cb-choix input { width: auto; margin: 0; }
.cb-filtres-periode .cb-groupe { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.cb-filtres-periode .cb-groupe[hidden] { display: none; }
.cb-filtres-periode button { display: block; margin: 0; align-self: center; white-space: nowrap; }
.cb-mode-compact > p.lbf-aide, .cb-mode-compact > .cb-legende { display: none; }
.cb-mode-compact .cb-jours thead th:nth-child(3),
.cb-mode-compact .cb-jours thead th:nth-child(4),
.cb-mode-compact .cb-jours thead th:nth-child(6),
.cb-mode-compact .cb-jours thead th:nth-child(7),
.cb-mode-compact .cb-jours tbody tr.cb-jour > td:nth-child(3),
.cb-mode-compact .cb-jours tbody tr.cb-jour > td:nth-child(4),
.cb-mode-compact .cb-jours tbody tr.cb-jour > td:nth-child(6),
.cb-mode-compact .cb-jours tbody tr.cb-jour > td:nth-child(7),
.cb-mode-compact .cb-sous thead th:nth-child(2),
.cb-mode-compact .cb-sous thead th:nth-child(3),
.cb-mode-compact .cb-sous thead th:nth-child(4),
.cb-mode-compact .cb-sous tbody td:nth-child(2),
.cb-mode-compact .cb-sous tbody td:nth-child(3),
.cb-mode-compact .cb-sous tbody td:nth-child(4) { display: none !important; }
.cb-mode-compact .cb-jour-detail > td { padding-left: 2px; padding-right: 2px; }
.cb-mode-compact .cb-etiq.cb-probable,
.cb-mode-compact .cb-niv,
.cb-mode-compact .cb-seconde-possibilite { display: none !important; }
.cb-mode-compact .cb-match.cb-m-fort { background: #1e8449; color: #fff; }
.cb-mode-compact .cb-match.cb-m-moyen { background: #d98200; color: #fff; }
.cb-mode-compact .cb-match.cb-m-faible { background: var(--lbf-rouge-fonce); color: #fff; }
@media (max-width: 1000px) {
  .cb-filtres-periode { grid-template-columns: minmax(0, 1fr); }
  .cb-filtres-periode button { justify-self: end; }
  .cb-filtres-tableau { grid-template-columns: minmax(130px, .8fr) minmax(210px, 1.4fr); }
  .cb-filtres-section:nth-child(2) { border-right: 0; }
  .cb-filtres-section:nth-child(-n+2) { border-bottom: 1px solid #555; }
  .cb-filtres-section:nth-child(3) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .cb-filtres-traceur { width: calc(100% - 20px); }
  .cb-filtres-tableau { grid-template-columns: minmax(0, 1fr); }
  .cb-filtres-section { border-right: 0; border-bottom: 1px solid #555; }
  .cb-filtres-section:last-child { border-bottom: 0; }
}
.mm-page { max-width: 1180px; }
.mm-entete { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.mm-entete h1 { margin-bottom:4px; }
.mm-entete p, .mm-aide, .mm-pied { color:#888; }
.mm-cartes { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:10px; margin:16px 0; }
.mm-carte, .mm-panneau { background:#1c1c1c; border:1px solid #444; border-radius:10px; padding:12px; box-shadow:0 2px 7px rgba(0,0,0,.2); }
.mm-carte { display:flex; flex-direction:column; gap:7px; min-height:88px; }
.mm-carte > span { color:#aaa; font-size:.88em; }
.mm-carte strong { color:#e7d9a1; font-size:1.55em; }
.mm-carte small { color:#999; }
.mm-carte.mm-alerte { border-color:#a94442; background:#281a19; }
.mm-carte.mm-alerte strong { color:#ff8279; }
.mm-panneau { margin:14px 0; }
.mm-panneau h2 { margin:0 0 4px; font-size:1.15em; }
.mm-panneau canvas { width:100%; height:260px; display:block; color:#bbb; }
.mm-panneau h3 { margin:10px 0 2px; font-size:.95em; color:#aaa; }
.mm-direct canvas { height:170px; cursor:crosshair; touch-action:pan-y; }
.mm-reglages { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:8px 0; }
.mm-reglages #mm-periodes { display:flex; flex-wrap:wrap; gap:4px; }
.mm-reglages label { color:#aaa; font-size:.9em; }
.mm-reglages .bouton.mm-actif { outline:2px solid #e7d9a1; outline-offset:1px; }
.mm-lecture { min-height:1.3em; margin:4px 0; color:#e7d9a1; font-size:.88em; }
.mm-legende { display:flex; gap:16px; justify-content:center; color:#aaa; font-size:.85em; }
.mm-legende span { display:flex; align-items:center; gap:5px; }
.mm-legende i { width:10px; height:10px; border-radius:2px; display:inline-block; }
.mm-scripts { background:#47a8e8; }.mm-api { background:#e6a23c; }.mm-php { background:#8c78d4; }
.mm-table { width:100%; }
.mm-table td:first-child { text-align:left; overflow-wrap:anywhere; }
.mm-pied { text-align:right; font-size:.85em; }
@media (max-width:600px) { .mm-panneau { padding:9px; } .mm-panneau canvas { height:210px; } .mm-direct canvas { height:140px; } }

.se-page { max-width: 1180px; }
.se-entete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.se-direct { color: #53c556; font-size: .9em; }
.se-direct.se-coupe { color: #fbb315; }
.se-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 14px 0; }
.se-carte, .se-panneau { background: #1c1c1c; border: 1px solid #444; border-radius: 10px; padding: 12px; }
.se-carte { display: flex; flex-direction: column; gap: 5px; }
.se-carte > span { color: #9c9c9c; font-size: .88em; }
.se-carte strong { color: #efefef; font-size: 1.5em; }
.se-carte small { color: #9c9c9c; }
.se-carte.se-etat-calme { border-color: #0aac23; }
.se-carte.se-etat-surveiller { border-color: #fbb315; }
.se-carte.se-etat-alerte { border-color: #dc3c3d; background: #281a19; }
.se-panneau { margin: 14px 0; }
.se-panneau h2 { margin: 0 0 6px; font-size: 1.1em; }
.se-colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 0 14px; }
.se-legende { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #9c9c9c; font-size: .88em; margin-bottom: 6px; }
.se-legende > span { display: flex; align-items: center; gap: 6px; }
.se-legende b { color: #efefef; }
.se-pastille { width: 10px; height: 10px; border-radius: 2px; display: inline-block; flex: none; margin-right: 6px; vertical-align: middle; }
.se-legende .se-pastille { margin-right: 0; }
.se-graphique { position: relative; }
.se-graphique svg { display: block; width: 100%; height: auto; }
.se-grille { stroke: #303030; stroke-width: 1; }
.se-base { stroke: #474747; stroke-width: 1; }
.se-axe { fill: #9c9c9c; font-size: 11px; }
.se-cible { fill: transparent; outline: none; }
.se-cible:hover, .se-cible:focus { fill: rgba(255,255,255,.07); }
.se-bulle { position: absolute; top: 6px; background: #0b0b0b; border: 1px solid #474747; border-radius: 8px; padding: 8px 10px; font-size: .85em; color: #efefef; pointer-events: none; white-space: nowrap; text-align: left; z-index: 2; }
.se-bulle > div { display: flex; align-items: center; gap: 4px; }
.se-bulle b { margin-left: auto; padding-left: 12px; }
.se-bulle-total { color: #9c9c9c; margin-top: 2px; }
.se-table td.se-gauche { text-align: left; overflow-wrap: anywhere; }
.se-jauge { height: 4px; background: #303030; border-radius: 2px; margin-top: 4px; }
.se-barre { display: block; height: 4px; background: #338ced; border-radius: 2px; }
.se-nouveau td { background: rgba(251,179,21,.16); }
.se-php { text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .8em; color: #cfcfcf; background: #111; border: 1px solid #333; border-radius: 6px; padding: 8px; max-height: 260px; overflow: auto; }

.pa-apercu { --pa-couleur: #ff6b5b; border: 1px solid #444; border-radius: 12px; padding: 12px; background: rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 10px; }
.pa-apercu-banniere { display: block; width: 100%; height: auto; border-radius: 10px; }
.pa-apercu-vide { color: #9c9c9c; font-style: italic; text-align: center; margin: 0; }
.pa-apercu-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 6px 12px; background: rgba(15,15,15,.92); border-radius: 10px; }
.pa-apercu-logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.2em; color: #f0f0f0; }
.pa-apercu-logo img { border-radius: 7px; display: block; }
.pa-apercu-logo b { color: var(--pa-couleur); }
.pa-logo-alliance { height: 34px; width: auto; max-width: 68px; }
.pa-apercu-profil { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.06); }
.pa-logo-mini { height: 20px; width: auto; max-width: 40px; border-radius: 4px; }
.pa-apercu-accueil { border-left: 4px solid var(--pa-couleur); padding: 4px 12px; }
.pa-apercu-accueil h3 { color: var(--pa-couleur); margin: 0 0 4px; }
.pa-liens { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; }
.pa-liens a { color: var(--pa-couleur); }
.pa-accueil { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.pa-accueil textarea { width: 100%; }
.pa-lien { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pa-lien input[type="url"] { flex: 1; min-width: 220px; }
.pa-accueil button { align-self: flex-start; }
nav.lbf-nav .lbf-logo img.lbf-logo-alliance { width: auto; max-width: 68px; height: 34px; object-fit: contain; border-radius: 6px; }
.lbf-logo-mini { height: 18px; width: auto; max-width: 36px; object-fit: contain; vertical-align: middle; border-radius: 3px; margin: 0 2px; }
.ma-accueil { display: flex; gap: 14px; align-items: flex-start; border-left: 4px solid var(--lbf-accent); background: rgba(0,0,0,.35); border-radius: 10px; padding: 10px 14px; margin: 10px 0 16px; text-align: left; }
.ma-accueil-logo { width: 64px; height: auto; max-height: 64px; object-fit: contain; flex: none; border-radius: 8px; }
.ma-accueil-texte { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ma-accueil-texte p { margin: 0 0 6px; }
.ma-accueil-liens { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ma-accueil-liens a { color: var(--lbf-accent); font-weight: bold; }
