/* Thème « Memory Club » des scores : aplats jaune / rose / cyan, contours noirs épais, ombres dures.
 * Les variables --mc-* et les polices viennent de borne-calendrier (theme-memory.css), chargé sur la page Let's dance. */
.borne-scores.bs-theme-memory {
	--bs-nuit: #000; --bs-orange: var(--mc-rose, #f545d4); --bs-orange-f: #000; --bs-creme: var(--mc-jaune-pale, #fefecd);
	--bs-texte: #000; --bs-doux: #333; --bs-bord: #000;
	max-width: var(--mc-largeur, 1100px);
	font-family: var(--mc-pixel, "Pixelify Sans", monospace);
	font-size: 17px;
}
.bs-theme-memory h2, .bs-theme-memory h3, .bs-theme-memory h4 { font-family: var(--mc-titre, "Russo One", sans-serif); font-weight: 400; text-transform: uppercase; }

.bs-theme-memory .bs-hero { background: var(--mc-jaune, #faf533); color: #000; border: 4px solid #000; border-radius: 0; box-shadow: 8px 8px 0 #000; }
.bs-theme-memory .bs-hero h2 { color: #000; font-size: 2.2em; }
.bs-theme-memory .bs-hero p { color: #000; opacity: 1; font-family: var(--bs-lisible, "Segoe UI", Roboto, Arial, sans-serif); font-weight: 600; font-size: 1.1em; }
.bs-theme-memory .bs-etat { background: #fff; color: #000; border: 3px solid #000; border-radius: 0; font-weight: 700; }
.bs-theme-memory .bs-en-ligne { background: var(--mc-cyan, #33c7ff); color: #000; }
.bs-theme-memory .bs-en-ligne::before { background: #000; box-shadow: none; }

.borne-scores.bs-theme-memory .bs-chiffres { gap: 14px; margin-top: 26px; }
.bs-theme-memory .bs-chiffres li { background: #fff; border: 4px solid #000; border-radius: 0; box-shadow: 5px 5px 0 #000; }
.bs-theme-memory .bs-chiffres li:nth-child(2) { background: var(--mc-cyan, #33c7ff); }
.bs-theme-memory .bs-chiffres li:nth-child(3) { background: var(--mc-jaune, #faf533); }
.bs-theme-memory .bs-chiffres b { font-family: var(--mc-titre, "Russo One", sans-serif); font-weight: 400; color: #000; }
.bs-theme-memory .bs-chiffres span { color: #000; }

.bs-theme-memory .bs-section h3 { display: inline-block; padding: 4px 14px; border: 3px solid #000; border-radius: 0; background: var(--mc-jaune, #faf533); box-shadow: 4px 4px 0 #000; color: #000; }

.bs-theme-memory .bs-avatar { background: #000; color: var(--mc-jaune, #faf533); border-radius: 0; }
.bs-theme-memory .bs-usb { background: var(--mc-violet, #8240d1); color: #fff; border-radius: 0; }
.bs-theme-memory .bs-diff { border-radius: 0; border: 2px solid #000; }

.bs-theme-memory .bs-recents li,
.bs-theme-memory .bs-carte,
.bs-theme-memory .bs-table-wrap { background: #fff; border: 4px solid #000; border-radius: 0; box-shadow: 6px 6px 0 #000; }
.bs-theme-memory .bs-r-score b, .bs-theme-memory .bs-pts { color: #000; font-weight: 700; }
.bs-theme-memory .bs-r-score span, .bs-theme-memory .bs-r-chanson { color: #333; }

.bs-theme-memory .bs-carte header { background: var(--mc-cyan, #33c7ff); color: #000; border-bottom: 4px solid #000; }
.bs-theme-memory .bs-carte h4 { color: #000; font-size: 1.15em; }
.bs-theme-memory .bs-carte header p { color: #000; opacity: 1; }
.bs-theme-memory .bs-carte li + li { border-top: 2px dashed #000; }
.bs-theme-memory .bs-rang { border: 2px solid #000; border-radius: 0; background: #fff; }
.bs-theme-memory .bs-rang-1 .bs-rang { background: var(--mc-jaune, #faf533); }
.bs-theme-memory .bs-rang-2 .bs-rang { background: #d9dde3; }
.bs-theme-memory .bs-rang-3 .bs-rang { background: var(--mc-rose, #f545d4); }
.bs-theme-memory .bs-rang-1 { background: var(--mc-jaune-pale, #fefecd); }
.bs-theme-memory .bs-grade { color: #000; }
.bs-theme-memory .bs-carte footer { background: var(--mc-jaune, #faf533); border-top: 4px solid #000; color: #000; }

.bs-theme-memory .bs-table th { background: #000; color: var(--mc-jaune, #faf533); font-family: var(--mc-titre, "Russo One", sans-serif); font-weight: 400; }
.bs-theme-memory .bs-table td { border-top: 2px dashed #000; }
.bs-theme-memory .bs-table tbody tr:nth-child(-n+3) td:first-child { color: var(--mc-rose, #f545d4); -webkit-text-stroke: 1px #000; }

.bs-theme-memory .bs-vide { background: #fff; border: 4px dashed #000; border-radius: 0; color: #000; }
.bs-theme-memory .bs-pied { padding: 10px 14px; background: #fff; border: 3px solid #000; color: #000; }

/* ---------- Onglets (page Let's dance) ---------- */
.mc-onglets { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 26px; }
.mc-onglets button {
	flex: 0 1 auto; padding: 10px 22px; border: 4px solid #000; border-radius: 0; background: #fff; color: #000; cursor: pointer;
	font-family: var(--mc-titre, "Russo One", sans-serif); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .03em;
	box-shadow: 5px 5px 0 #000; transition: transform .08s, box-shadow .08s;
}
.mc-onglets button:hover { background: var(--mc-jaune-pale, #fefecd); }
.mc-onglets button[aria-selected="true"] { background: var(--mc-jaune, #faf533); transform: translate(3px, 3px); box-shadow: 2px 2px 0 #000; }
.mc-onglets button:focus-visible { outline: 3px solid var(--mc-cyan, #33c7ff); outline-offset: 3px; }
html:not(.bs-js) .mc-onglets { display: none; }          /* sans JavaScript : les deux blocs restent visibles */
[data-bs-panneau][hidden] { display: none !important; }
html:not(.bs-js) [data-bs-panneau] + [data-bs-panneau] { margin-top: 2.5rem; }

@media (max-width: 720px) {
	.mc-onglets button { flex: 1 1 0; padding: 10px 8px; font-size: .95rem; }
	.bs-theme-memory .bs-hero { box-shadow: 5px 5px 0 #000; }
}

/* Chiffres lisibles : la police pixel confond « 9 » et « S » */
.bs-theme-memory .bs-pts, .bs-theme-memory .bs-r-score b, .bs-theme-memory .bs-table td,
.bs-theme-memory .bs-rang, .bs-theme-memory .bs-chiffres b { font-family: var(--mc-titre, "Russo One", sans-serif); font-weight: 400; }
.bs-theme-memory .bs-table td { font-size: .95em; }

/* ---------- Lisibilité (1.3.1) : texte et chiffres en police nette, la police pixel reste pour les accents ---------- */
.borne-scores.bs-theme-memory {
	--bs-lisible: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
	font-family: var(--bs-lisible); font-size: 17px; font-weight: 500;
}
.bs-theme-memory .bs-nom, .bs-theme-memory .bs-f-nom, .bs-theme-memory .bs-r-corps strong { font-weight: 700; }
.bs-theme-memory .bs-r-chanson, .bs-theme-memory .bs-hist span, .bs-theme-memory .bs-table td { font-weight: 500; }
/* Chiffres : Russo One (épaisse, très lisible) */
.bs-theme-memory .bs-pts, .bs-theme-memory .bs-r-score b, .bs-theme-memory .bs-table td,
.bs-theme-memory .bs-f-chiffres b, .bs-theme-memory .bs-hist b, .bs-theme-memory .bs-barres em,
.bs-theme-memory .bs-f-res, .bs-theme-memory .bs-rang, .bs-theme-memory .bs-f-rang, .bs-theme-memory .bs-carte footer {
	font-family: var(--mc-titre, "Russo One", sans-serif); font-weight: 400; letter-spacing: .02em; font-variant-numeric: normal;
}
.bs-theme-memory .bs-pts, .bs-theme-memory .bs-r-score b, .bs-theme-memory .bs-hist b { font-size: 1.2em; }
.bs-theme-memory .bs-grade, .bs-theme-memory .bs-r-score span, .bs-theme-memory .bs-hist em { font-weight: 700; color: #000; }
.bs-theme-memory .bs-usb, .bs-theme-memory .bs-diff { font-family: var(--mc-pixel, "Pixelify Sans", monospace); }

/* Sous-onglets et fiches au style Memory */
.bs-theme-memory .bs-sous { gap: 12px; margin: 22px 0 26px; }
.bs-theme-memory .bs-sous button { border: 4px solid #000; border-radius: 0; background: #fff; color: #000; font-family: var(--mc-titre, "Russo One", sans-serif); font-weight: 400; text-transform: uppercase; box-shadow: 4px 4px 0 #000; }
.bs-theme-memory .bs-sous button[aria-selected="true"] { background: var(--mc-rose, #f545d4); border-color: #000; color: #000; }
.bs-theme-memory .bs-recherche { border: 3px solid #000; border-radius: 0; background: #fff; font-family: var(--bs-lisible); }
.bs-theme-memory .bs-suite a { color: #000; text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--mc-rose, #f545d4); }
.bs-theme-memory .bs-fiche { background: #fff; border: 4px solid #000; border-radius: 0; box-shadow: 6px 6px 0 #000; }
.bs-theme-memory .bs-f-rang { color: var(--mc-rose, #f545d4); -webkit-text-stroke: 1px #000; }
.bs-theme-memory .bs-f-corps { border-top: 3px dashed #000; }
.bs-theme-memory .bs-f-corps h5 { color: #000; font-family: var(--mc-titre, "Russo One", sans-serif); font-weight: 400; }
.bs-theme-memory .bs-f-chiffres li { border: 3px solid #000; border-radius: 0; background: var(--mc-jaune-pale, #fefecd); }
.bs-theme-memory .bs-f-chiffres b { color: #000; font-size: 1.3em; }
.bs-theme-memory .bs-f-chiffres span { color: #000; }
.bs-theme-memory .bs-barres i { border: 2px solid #000; border-radius: 0; }
.bs-theme-memory .bs-hist li { border-top: 2px dashed #000; }
.bs-theme-memory .bs-anon .bs-nom { color: #333; }

/* Détail par partie (1.4.0) */
.bs-theme-memory .bs-parties li { border-top: 2px dashed #000; }
.bs-theme-memory .bs-parties b { font-family: var(--mc-titre, "Russo One", sans-serif); font-weight: 400; font-size: 1.2em; }
.bs-theme-memory .bs-parties em, .bs-theme-memory .bs-parties small, .bs-theme-memory .bs-detail-bits { color: #000; font-weight: 700; }
.bs-theme-memory .bs-carte li summary.bs-ligne:hover, .bs-theme-memory .bs-parties summary:hover { background: var(--mc-jaune-pale, #fefecd); }
.bs-theme-memory .bs-mod { border: 3px solid #000; border-radius: 0; font-weight: 700; background: var(--mc-cyan, #33c7ff); color: #000; }

/* Badges, records, rivaux (1.5.0) */
.bs-theme-memory .bs-badge { border: 3px solid #000; border-radius: 0; box-shadow: 3px 3px 0 #000; color: #000; }
.bs-theme-memory .bs-objectif, .bs-theme-memory .bs-hist small { color: #000; }
.bs-theme-memory .bs-records .bs-r-score b { color: #000; background: var(--mc-jaune, #faf533); padding: 0 6px; border: 2px solid #000; }

/* Succès (1.6.0) */
.bs-theme-memory .bs-succes li { border: 3px solid #000; border-radius: 0; }
.bs-theme-memory .bs-succes .bs-ok { background: var(--mc-jaune, #faf533); box-shadow: 3px 3px 0 #000; }
.bs-theme-memory .bs-succes small { color: #000; }
.bs-theme-memory .bs-succes .bs-ferme { background: #eee; opacity: .75; }

/* Filtre par soirée (1.7.0) */
.bs-theme-memory .bs-soiree select { border: 3px solid #000; border-radius: 0; font-family: var(--bs-lisible); }
.bs-theme-memory .bs-aide { color: #000; }

/* Téléphone (1.8.1) : l'ombre dure et la bordure restent dans la largeur */
@media (max-width: 720px) {
	.bs-theme-memory .bs-recents li, .bs-theme-memory .bs-carte, .bs-theme-memory .bs-fiche, .bs-theme-memory .bs-table-wrap { box-shadow: 4px 4px 0 #000; margin-right: 4px; }
}

/* Courbes de progression (1.9.0) */
.bs-theme-memory .bs-courbe { border: 3px solid #000; border-radius: 0; background: #fff; }
.bs-theme-memory .bs-c-grille { stroke: #000; stroke-opacity: .25; }
.bs-theme-memory .bs-c-axe { fill: #000; font-family: var(--mc-titre, "Russo One", sans-serif); font-size: 12px; }
.bs-theme-memory .bs-c-ligne { stroke: #000; stroke-width: 3.5; }
.bs-theme-memory .bs-c-point { fill: var(--mc-rose, #f545d4); stroke: #000; stroke-width: 2.5; }
.bs-theme-memory .bs-c-top { fill: var(--mc-jaune, #faf533); }
.bs-theme-memory .bs-c-titre { font-family: var(--mc-titre, "Russo One", sans-serif); font-weight: 400; text-transform: uppercase; }
.bs-theme-memory .bs-c-mus { padding: 8px; border: 3px solid #000; background: var(--mc-jaune-pale, #fefecd); }
.bs-theme-memory .bs-c-mus .bs-courbe { border-width: 2px; }
.bs-theme-memory .bs-c-haut { color: #0b6b2a; } .bs-theme-memory .bs-c-bas { color: #a3160e; }

/* Courbes par difficulté (1.10.0) */
.bs-theme-memory .bs-c-note { color: #000; }
.bs-theme-memory .bs-c-filtres button { border: 3px solid #000; border-radius: 0; font-family: var(--mc-titre, "Russo One", sans-serif); font-weight: 400; text-transform: uppercase; box-shadow: 3px 3px 0 #000; }
.bs-theme-memory .bs-c-filtres button[aria-pressed="true"] { background: var(--mc-rose, #f545d4); color: #000; }
.bs-theme-memory .bs-maj button { background: #fff; color: #000; border: 3px solid #000; border-radius: 0; text-transform: uppercase; }

/* ---------- Épuré (1.14.0) : moins de cases, une seule boîte par bloc ---------- */
.bs-theme-memory .bs-resume { margin: 8px 0 0; font-family: var(--bs-lisible); font-size: .95em; font-weight: 700; color: #000; }
.bs-theme-memory .bs-etat { border: 0; background: transparent; padding: 0; font-size: .95em; }
.bs-theme-memory .bs-etat::before { content: "●"; margin-right: 6px; color: #777; }
.bs-theme-memory .bs-en-ligne::before { content: "●"; background: transparent; color: #0b8a3a; }

/* Chiffres : un seul bandeau, séparés par un filet */
.borne-scores.bs-theme-memory .bs-chiffres { gap: 0; margin-top: 22px; background: #fff; border: 4px solid #000; box-shadow: 6px 6px 0 #000; }
.bs-theme-memory .bs-chiffres li, .bs-theme-memory .bs-chiffres li:nth-child(2), .bs-theme-memory .bs-chiffres li:nth-child(3) { background: transparent; border: 0; box-shadow: none; padding: 12px 8px; }
.bs-theme-memory .bs-chiffres li + li { border-left: 2px dashed #000; }
.bs-theme-memory .bs-chiffres b { font-size: 1.7em; }

/* Titres de section : surligneur jaune, sans cadre ni ombre */
.bs-theme-memory .bs-section h3 { padding: 0 6px; border: 0; box-shadow: none; background: linear-gradient(transparent 55%, var(--mc-jaune, #faf533) 55%); font-size: 1.3em; }

/* Barre d'onglets + recherche sur une seule ligne, onglets plus discrets */
.bs-theme-memory .bs-barre { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 22px 0 18px; }
.bs-theme-memory .bs-barre .bs-sous { margin: 0; gap: 8px; }
.bs-theme-memory .bs-sous button { box-shadow: none; padding: 7px 14px; }
.bs-theme-memory .bs-outils { margin: 0; flex: 1 1 260px; }
.bs-theme-memory .bs-pack { border: 3px solid #000; border-radius: 0; background: #fff; color: #000; opacity: 1; }
.bs-theme-memory .bs-pack[aria-pressed="true"] { background: var(--mc-jaune, #faf533); }

/* Listes : une seule boîte pour toute la liste, lignes séparées par un filet */
.bs-theme-memory .bs-recents { display: block; background: #fff; border: 4px solid #000; box-shadow: 6px 6px 0 #000; }
.bs-theme-memory .bs-recents li { border: 0; box-shadow: none; border-radius: 0; background: transparent; padding: 10px 14px; }
.bs-theme-memory .bs-recents li + li { border-top: 2px dashed #000; }
.bs-theme-memory .bs-table-wrap, .bs-theme-memory .bs-fiche, .bs-theme-memory .bs-carte { box-shadow: none; border-width: 3px; }

/* Dernière soirée / Ce soir : un seul bloc blanc, rien d'imbriqué */
.bs-theme-memory .bs-derniere { background: #fff; border: 4px solid #000; box-shadow: 6px 6px 0 #000; padding: 14px 18px 8px; }
.bs-theme-memory .bs-derniere .bs-chiffres { background: transparent; border: 0; box-shadow: none; margin: 8px 0 6px; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.bs-theme-memory .bs-derniere .bs-chiffres li, .bs-theme-memory .bs-derniere .bs-chiffres li + li { border: 0; padding: 0; display: flex; align-items: baseline; gap: 8px; text-align: left; }
.bs-theme-memory .bs-derniere .bs-chiffres b { display: inline; font-size: 1.5em; }
.bs-theme-memory .bs-derniere .bs-recents { border: 0; box-shadow: none; background: transparent; }
.bs-theme-memory .bs-derniere .bs-recents li { padding: 8px 0; }
.bs-theme-memory .bs-mini-top { font-size: 1.05em; }

/* Les soirées du sélecteur : mêmes chiffres, en ligne */
.bs-theme-memory .bs-soiree-bloc .bs-chiffres-3 { background: transparent; border: 0; box-shadow: none; display: flex; gap: 4px 28px; flex-wrap: wrap; }
.bs-theme-memory .bs-soiree-bloc .bs-chiffres-3 li, .bs-theme-memory .bs-soiree-bloc .bs-chiffres-3 li + li { border: 0; padding: 0; display: flex; align-items: baseline; gap: 8px; }
.bs-theme-memory .bs-soiree-bloc .bs-chiffres-3 b { display: inline; font-size: 1.5em; }

/* Podium : un seul cadre, trois colonnes séparées par un filet */
.bs-theme-memory .bs-podium { gap: 0; background: #fff; border: 4px solid #000; box-shadow: 6px 6px 0 #000; }
.bs-theme-memory .bs-podium li { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.bs-theme-memory .bs-podium li + li { border-left: 2px dashed #000; }
.bs-theme-memory .bs-podium-1 { background: var(--mc-jaune-pale, #fefecd); }

@media (max-width: 720px) {
	.bs-theme-memory .bs-chiffres { grid-template-columns: repeat(2, 1fr); }
	.bs-theme-memory .bs-chiffres li:nth-child(3) { border-left: 0; }
	.bs-theme-memory .bs-chiffres li:nth-child(n+3) { border-top: 2px dashed #000; }
	.bs-theme-memory .bs-podium li + li { border-left: 0; border-top: 2px dashed #000; }
}

.bs-theme-memory .bs-meilleur { margin: 6px 0 10px; font-weight: 600; }
.bs-theme-memory .bs-derniere .bs-packs { margin: 4px 0 8px; }

/* Comparer les joueurs d'une musique (1.15.0) */
.bs-theme-memory .bs-comparer { border-top: 3px dashed #000; }
.bs-theme-memory .bs-table-cmp th { font-size: .8em; }
.bs-theme-memory .bs-table-cmp .bs-cmp-top { background: var(--mc-jaune, #faf533); text-decoration: none; }
.bs-theme-memory .bs-comparer .bs-table-wrap { border-width: 2px; }

.bs-theme-memory .bs-cmp-barre { border: 3px solid #000; border-radius: 0; height: 20px; background: #fff; }
.bs-theme-memory .bs-cmp-barre i + i { border-left: 2px solid #000; }
.bs-theme-memory .bs-legende i, .bs-theme-memory .bs-cmp-nb i { border: 2px solid #000; border-radius: 0; }
