/* ═══════════════════════════════════════════════════════════
   Quiz de poche — feuille de style PROPRE à l'appli
   Le socle (/shared/appli-socle.css) porte le reste : reset, barre, boutons, dock, feuilles, listes,
   message passager, clavier, visite, micro, onglets. On y redéfinit ici les jetons de couleur (la teinte
   de l'appli) et ce qui ne vaut que pour elle. Rayons et ombres : jamais de littéral
   (--r-*, --sh-* de /shared/jetons.css — controle-jetons.mjs le refuserait).
   ⚠️ Le vert et le rouge d'une réponse (--ok, --alerte) disent « juste » et « faux » : l'accent de l'appli est un orange brûlé
   précisément pour ne pas être pris pour l'un des deux. Une réponse n'est jamais dite par la couleur SEULE : le ✓ et le ✗ l'accompagnent.
   ═══════════════════════════════════════════════════════════ */

:root {
  --accent: #c0470a; --accent-fort: #8f3406; --accent-clair: #fbe9dd;
}
html[data-theme="sombre"] {
  --accent: #ee8a56; --accent-fort: #f5b08a; --accent-clair: #3b2216;
}

#ecran { padding-bottom: calc(var(--dock-h) + 28px + var(--bas)); }
#toast { bottom: calc(var(--dock-h) + var(--bas) + 16px); }

/* La pastille « 🐞 Contact » du panneau du site est posée juste sous la barre, à droite (jamais dans l'appli emballée) : sur téléphone, on lui laisse sa ligne plutôt que de la poser sur le premier élément de la page. */
@media (max-width: 480px) { html.avec-panneau-bug #ecran { padding-top: 62px; } html.avec-panneau-bug.clavier #ecran { padding-top: 18px; } }

.liste-titre { margin: 24px 0 10px; font-size: 1.05rem; font-family: var(--police-titre); }
#hero + #score, #hero:empty + #score { margin-top: 12px; }
#hero + .liste-titre, #score + .liste-titre { margin-top: 20px; }

/* ── l'écran d'accueil ───────────────────────────────────── */
#hero:empty, #score:empty { display: none; }
.hero-seance {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  min-height: 72px; padding: 14px 16px; margin-bottom: 4px;
  border-radius: var(--r-lg); background: var(--accent); color: var(--sur-accent); box-shadow: var(--sh-2);
}
.hero-seance:active { transform: translateY(1px); }
.hero-ico { font-size: 30px; line-height: 1; flex: 0 0 auto; }
.hero-txt { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.hero-txt b { font-size: 1.05rem; line-height: 1.25; }
.hero-txt small { font-size: .82rem; opacity: .92; line-height: 1.35; margin-top: 2px; }
.hero-fin { font-size: 1.4rem; flex: 0 0 auto; }
.hero-fait { padding: 16px; border-radius: var(--r-lg); background: var(--accent-clair); border: 1.5px solid var(--accent); text-align: center; }
.hero-titre { font-family: var(--police-titre); font-size: 1.15rem; font-weight: 600; }
.grille { font-size: 1.7rem; letter-spacing: .12em; margin: 6px 0; }
.hero-fait .pile { margin-top: 12px; }

/* ── le score, toujours à portée de pouce ──────────────────── */
.carte-score {
  display: block; width: 100%; text-align: left; padding: 14px 16px;
  border-radius: var(--r-lg); background: var(--panneau); border: 1.5px solid var(--trait); box-shadow: var(--sh-1);
}
.carte-score:active { border-color: var(--accent); }
.score-ligne { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.score-pct { font-family: var(--police-titre); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--accent-fort); }
.score-lib { font-size: .86rem; color: var(--doux); line-height: 1.35; }
.score-fin { margin-left: auto; font-size: .82rem; font-weight: 700; color: var(--accent-fort); white-space: nowrap; }
.carte-score .prog { margin: 10px 0 0; }
.score-puces { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: .8rem; color: var(--doux); }
.score-puces b { color: var(--encre); }

/* ── barres de progression et boîtes de révision ───────────────────── */
.prog { display: block; height: 7px; margin: 6px 0 4px; border-radius: var(--r-pill); background: var(--trait); overflow: hidden; }
.prog > i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: var(--r-pill); }
.prog.ok > i { background: var(--ok); }
.boites { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 10px 0 14px; }
.boite { padding: 10px 4px; text-align: center; border-radius: var(--r-md); background: var(--panneau-2); border: 1.5px solid var(--trait); }
.boite b { display: block; font-size: 1.3rem; line-height: 1.1; }
.boite small { display: block; font-size: .68rem; color: var(--doux); font-weight: 700; margin-top: 3px; line-height: 1.2; }
.boite.b1 { border-color: var(--alerte); }
.boite.b3 { border-color: var(--ok); }
.bilan { text-align: center; padding: 8px 0 4px; }
.bilan .gros { font-family: var(--police-titre); font-size: 2.6rem; line-height: 1.1; margin: 6px 0; }
.bilan .prog { max-width: 260px; margin: 8px auto 12px; height: 10px; }

/* Le nombre de favoris, sur l'étoile de la barre du bas. */
.dock .d-ico { position: relative; }
.d-badge {
  position: absolute; top: -6px; left: 60%; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--r-pill); background: var(--accent); color: var(--sur-accent);
  font-size: .66rem; font-weight: 800; line-height: 18px; text-align: center;
}
.item.sans-clic { pointer-events: none; }
.item.sans-clic .item-fin { display: none; }

/* ── les familles et leurs thèmes ─────────────────────────────── */
.famille { margin-bottom: 10px; border: 1.5px solid var(--trait); border-radius: var(--r-lg); background: var(--panneau); overflow: hidden; }
.famille.ouverte { border-color: var(--accent); box-shadow: var(--sh-1); }
.famille-tete { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; min-height: 66px; padding: 12px 14px; background: transparent; }
.famille-ico { font-size: 28px; line-height: 1; flex: 0 0 auto; width: 36px; text-align: center; }
.famille-txt { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; }
.famille-txt b { font-family: var(--police-titre); font-size: 1.05rem; line-height: 1.25; }
.famille-txt small { font-size: .78rem; color: var(--doux); line-height: 1.35; margin-top: 2px; }
.famille-fleche { flex: 0 0 auto; color: var(--doux); font-size: 1.1rem; transition: transform .18s ease; }
.famille.ouverte .famille-fleche { transform: rotate(90deg); color: var(--accent-fort); }
.famille-corps { display: grid; gap: 8px; padding: 2px 10px 12px; }
.famille-corps[hidden] { display: none; }
.theme { align-items: flex-start; }
.theme .item-ico { margin-top: 2px; }
.theme .prog { margin: 6px 0 2px; }
.theme-meta { font-size: .76rem; color: var(--doux); line-height: 1.35; }

/* ── la partie : en-tête, énoncé, propositions ─────────────────── */
.avancee { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--doux); margin: 4px 0 4px; }
.avancee b { color: var(--encre); }
.jeu-prog { margin: 2px 0 10px; }
.quiz-contexte { font-size: .78rem; font-weight: 700; color: var(--accent-fort); text-transform: uppercase; letter-spacing: .05em; margin: 8px 0 2px; }
.quiz-enonce { font-family: var(--police-titre); font-size: 1.18rem; font-weight: 600; line-height: 1.45; margin: 6px 0 14px; white-space: pre-line; overflow-wrap: anywhere; }
.quiz-choix { display: grid; gap: 8px; list-style: none; }
.quiz-choix button { width: 100%; text-align: left; min-height: 56px; padding: 10px 14px; border-radius: var(--r-md); border: 2px solid var(--trait); background: var(--panneau); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; display: flex; align-items: center; gap: 12px; }
.quiz-choix .lettre { flex: 0 0 auto; width: 28px; height: 28px; border-radius: var(--r-pill); background: var(--panneau-2); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; }
.quiz-choix .choix-texte { flex: 1 1 0; min-width: 0; font-size: .96rem; }
.quiz-choix button:active { border-color: var(--accent); }
.quiz-choix button.juste { border-color: var(--ok); background: var(--panneau-2); }
.quiz-choix button.juste .lettre { background: var(--ok); color: var(--fond); }
.quiz-choix button.faux { border-color: var(--alerte); background: var(--alerte-clair); }
.quiz-choix button.faux .lettre { background: var(--alerte); color: var(--fond); }
.quiz-choix button[disabled] { opacity: 1; cursor: default; }
.quiz-choix button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Vrai / faux : deux grands boutons côte à côte. */
.quiz-choix.vf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quiz-choix.vf button { justify-content: center; text-align: center; min-height: 72px; font-size: 1.1rem; }
.quiz-suite { margin-top: 12px; }
.verdict { font-weight: 800; font-size: 1.02rem; margin: 2px 0 8px; }
.verdict.ok { color: var(--ok); }
.verdict.ko { color: var(--alerte); }
.explication { margin-top: 6px; padding: 12px 14px; border-left: 5px solid var(--accent); border-radius: var(--r-md); background: var(--accent-clair); font-size: .95rem; line-height: 1.6; display: grid; gap: 6px; overflow-wrap: anywhere; }
.explication > b { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-fort); }
.explication p { white-space: pre-line; }
.liens-suite { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
.liens-suite a { color: var(--accent-fort); font-weight: 700; font-size: .86rem; min-height: 40px; display: inline-flex; align-items: center; text-decoration: none; }
.liens-suite a:hover, .liens-suite a:focus-visible { text-decoration: underline; }
.liens-suite a.discret { font-weight: 500; color: var(--doux); font-size: .8rem; }
.a-retenir { padding: 12px 14px; border-left: 5px solid var(--alerte); border-radius: var(--r-md); background: var(--panneau-2); display: grid; gap: 4px; font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
.a-retenir > b { font-size: .95rem; white-space: pre-line; }
.a-retenir .bonne { color: var(--ok); font-weight: 700; }
.a-retenir small { color: var(--doux); font-size: .84rem; line-height: 1.5; white-space: pre-line; }
.actions-carte { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 6px; margin-top: 6px; }
.actions-carte .btn-lien { padding: 0 10px; }
.serie-sf { font-family: var(--police-titre); font-size: 1.3rem; font-weight: 700; color: var(--accent-fort); }

/* ── la fiche d'un thème ───────────────────────────────────── */
.theme-tete { text-align: center; padding: 4px 0 8px; }
.theme-tete .theme-ico { font-size: 44px; line-height: 1.1; }
.theme-tete h3 { font-family: var(--police-titre); font-size: 1.35rem; margin: 4px 0; }
.theme-tete p { font-size: .9rem; color: var(--doux); line-height: 1.45; }
.onglet-titre.espace { margin-top: 14px; }
.ligne-double { display: flex; gap: 8px; align-items: stretch; }
.ligne-double .item { flex: 1 1 auto; min-width: 0; }
.etoile { width: 52px; height: 52px; min-height: 52px; font-size: 22px; align-self: center; }
.etoile[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-clair); }
.tiroir:empty { display: none; } .tiroir { margin-top: 8px; }

/* ── l'historique et les scores par thème ─────────────────────── */
.ligne-score { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-md); background: var(--panneau-2); font-size: .88rem; }
.ligne-score .ls-ico { font-size: 20px; flex: 0 0 auto; width: 26px; text-align: center; }
.ligne-score .ls-txt { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.3; }
.ligne-score .ls-txt b { overflow-wrap: anywhere; }
.ligne-score .ls-txt small { color: var(--doux); font-size: .76rem; }
.ligne-score .ls-val { flex: 0 0 auto; font-weight: 800; }
.ligne-score .ls-val.bien { color: var(--ok); }
.ligne-score .ls-val.moyen { color: var(--accent-fort); }
.ligne-score .ls-val.bas { color: var(--alerte); }
.ligne-score.cliquable { cursor: pointer; border: 1.5px solid transparent; width: 100%; text-align: left; min-height: 52px; }
.ligne-score.cliquable:active { border-color: var(--accent); }
.ligne-score .prog { margin: 4px 0 0; }
.resume-progres { font-weight: 700; margin-bottom: 6px; }

/* ── les favoris ───────────────────────────────────────────── */
.fav-q { padding: 12px 14px; border-radius: var(--r-md); background: var(--panneau-2); display: grid; gap: 6px; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; }
.fav-q > b { white-space: pre-line; }
.fav-q .bonne { color: var(--ok); font-weight: 700; }
.fav-q small { color: var(--doux); white-space: pre-line; }

/* Plus : réglages, partage, signature. */
.reglage { display: grid; gap: 6px; margin-bottom: 14px; }
.reglage label { font-weight: 700; font-size: .9rem; }
.lien-partage { width: 100%; font-size: .78rem; padding: 10px 12px; min-height: 0; height: 72px; resize: none; font-family: ui-monospace, monospace; }
.signature { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin: 0 0 4px; padding: 2px 12px 8px; border-radius: var(--r-md); color: var(--doux); text-decoration: none; }
.signature:hover, .signature:focus-visible { background: var(--panneau-2); }
.signature img { flex: 0 0 auto; }
.note.note-infos { font-size: .92rem; line-height: 1.5; }
.signature-txt { display: flex; flex-direction: column; line-height: 1.3; font-size: .92rem; }
.signature-txt b { color: var(--encre); font-family: var(--police-titre); font-size: 1.05rem; }
.signature-txt small { font-size: .8rem; }
.maj-appli + .signature { margin-top: 2px; }

@media (max-width: 359px) {
  .boites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz-enonce { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) { .famille-fleche { transition: none; } }

/* La croix de fermeture ne rétrécit pas quand le titre est long. */
.feuille-fermer { flex: 0 0 44px; }
.feuille-tete h2 { min-width: 0; overflow-wrap: anywhere; }

/* ═══════════════════════════════════════════════════════════
   Les couleurs (21 octobre 2026) — « de belles couleurs pour cette appli »
   Chaque famille et chaque thème a SA couleur (data.json, champ `c`, posée par gen-appli-quiz.mjs) : l'appli la pose en `--c` sur l'élément
   et c'est ce bloc qui en tire les nuances. Quatre jetons :
     --c        la teinte franche : fonds portant du texte blanc (contraste ≥ 4,9 vérifié par controle-appli-quiz.mjs)
     --c-vif    la teinte pour les barres et les filets (éclaircie sur fond sombre : sinon elle s'y perd)
     --c-fort   la teinte pour le TEXTE posé sur --c-clair
     --c-clair  un lavis de la teinte, pour les fonds
   ⚠️ Le vert et le rouge d'une réponse (--ok, --alerte) restent réservés à « juste » et « faux » : aucun thème n'est vert vif ou rouge,
   et une réponse n'est jamais dite par la couleur seule (✓ et ✗ l'accompagnent).
   ═══════════════════════════════════════════════════════════ */
:root { --c-vif: var(--accent); --c-fort: var(--accent-fort); --c-clair: var(--accent-clair); }
[style*="--c:"] {
  --c-vif: var(--c);
  --c-fort: color-mix(in srgb, var(--c) 74%, #000);
  --c-clair: color-mix(in srgb, var(--c) 11%, var(--panneau));
}
html[data-theme="sombre"] [style*="--c:"] {
  --c-vif: color-mix(in srgb, var(--c) 60%, #fff);
  --c-fort: color-mix(in srgb, var(--c) 38%, #fff);
  --c-clair: color-mix(in srgb, var(--c) 26%, var(--panneau));
}
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  [style*="--c:"] { --c-vif: var(--c); --c-fort: var(--accent-fort); --c-clair: var(--accent-clair); }
}

/* La barre du haut : un lavis qui court du rose au bleu, et une pastille dégradée pour la cible. */
.barre { background-image: linear-gradient(90deg, rgba(201, 56, 104, .11), rgba(85, 71, 217, .10) 55%, rgba(31, 111, 207, .11)); }
html[data-theme="sombre"] .barre { background-image: linear-gradient(90deg, rgba(201, 56, 104, .20), rgba(85, 71, 217, .18) 55%, rgba(31, 111, 207, .20)); }
.logo { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; font-size: 22px; border-radius: var(--r-md); background: linear-gradient(135deg, #e8641f, #c93868 55%, #5547d9); box-shadow: var(--sh-1); }

/* Le quiz du jour : la carte vedette, en dégradé. */
.hero-seance { background: linear-gradient(120deg, #c0470a 0%, #b3286b 58%, #4f3fc4 100%); }
.hero-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--r-md); background: rgba(255, 255, 255, .2); font-size: 26px; }
.hero-fait { border: 2px solid transparent; background: linear-gradient(var(--accent-clair), var(--accent-clair)) padding-box, linear-gradient(120deg, #e8641f, #c93868 55%, #5547d9) border-box; }

/* La carte de score : un filet dégradé, des pastilles de couleur. */
.carte-score { border: 2px solid transparent; background: linear-gradient(var(--panneau), var(--panneau)) padding-box, linear-gradient(120deg, #e8641f, #c93868 55%, #5547d9) border-box; }
.score-pct { background: linear-gradient(120deg, #c0470a, #b3286b 60%, #4f3fc4); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
html[data-theme="sombre"] .score-pct { background: linear-gradient(120deg, #ff9a63, #ff7aa8 60%, #9a8dff); -webkit-background-clip: text; background-clip: text; }
.prog > i { background: linear-gradient(90deg, #e8641f, #c93868 60%, #5547d9); }
.score-puces > span { padding: 3px 9px; border-radius: var(--r-pill); background: var(--panneau-2); }
.score-puces > span:nth-child(1) { background: rgba(31, 111, 207, .12); }
.score-puces > span:nth-child(2) { background: rgba(10, 125, 110, .12); }
.score-puces > span:nth-child(3) { background: rgba(138, 63, 181, .12); }
.score-puces > span:nth-child(4) { background: rgba(201, 56, 104, .12); }

/* Les familles : une pastille pleine, un tiroir qui prend la teinte à l'ouverture. */
.famille { border-color: transparent; box-shadow: var(--sh-1); }
.famille[style*="--c:"] { border-left: 6px solid var(--c-vif); }
.famille.ouverte { border-color: var(--c-vif); box-shadow: var(--sh-2); }
.famille-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; font-size: 24px; border-radius: var(--r-md); background: var(--c, var(--accent)); box-shadow: var(--sh-1); }
.famille.ouverte .famille-tete { background: var(--c-clair); }
.famille.ouverte .famille-txt b, .famille.ouverte .famille-fleche { color: var(--c-fort); }
.famille-txt small { color: var(--doux); }
.famille-corps .note { color: var(--c-fort); font-weight: 600; }

/* Les thèmes : une pastille claire à la teinte du thème, un filet à gauche, une barre de progression assortie. */
.item.theme { box-shadow: inset 5px 0 0 var(--c-vif); background: var(--c-clair); }
.item.theme .item-ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--r-md); background: var(--c, var(--accent)); font-size: 22px; margin-top: 0; }
.item.theme .prog { background: color-mix(in srgb, var(--c-vif) 22%, transparent); }
.item.theme .prog > i { background: var(--c-vif); }
.item.theme:active { border-color: var(--c-vif); }
@supports not (color: color-mix(in srgb, red 50%, blue)) { .item.theme .prog { background: var(--trait); } }
.theme-tete .theme-ico { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: var(--r-xl); background: var(--c, var(--accent)); font-size: 40px; box-shadow: var(--sh-2); }
.theme-tete h3 { color: var(--c-fort); }
.feuille-corps[style*="--c:"] .bloc { border-left: 5px solid var(--c-vif); background: var(--c-clair); }
.feuille-corps[style*="--c:"] .btn-1 { background: var(--c); color: #fff; }
.feuille-corps[style*="--c:"] .puce[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #fff; }

/* La question : tout prend la teinte de SON thème. */
.jeu-prog > i { background: var(--c-vif); }
.jeu-prog { background: color-mix(in srgb, var(--c-vif) 20%, transparent); }
@supports not (color: color-mix(in srgb, red 50%, blue)) { .jeu-prog { background: var(--trait); } }
.quiz-contexte { color: var(--c-fort); }
.quiz-contexte:not(:empty) { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); background: var(--c-clair); }
.quiz-choix button { border-color: color-mix(in srgb, var(--c-vif) 28%, var(--trait)); }
@supports not (color: color-mix(in srgb, red 50%, blue)) { .quiz-choix button { border-color: var(--trait); } }
.quiz-choix button:not([disabled]):active, .quiz-choix button:not([disabled]):hover { border-color: var(--c-vif); background: var(--c-clair); }
.quiz-choix .lettre { background: var(--c, var(--accent)); color: #fff; }
.quiz-choix button.juste { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, var(--panneau)); }
.quiz-choix button.faux { border-color: var(--alerte); background: var(--alerte-clair); }
.quiz-choix button.juste .lettre { background: var(--ok); color: #fff; }
.quiz-choix button.faux .lettre { background: var(--alerte); color: #fff; }
html[data-theme="sombre"] .quiz-choix button.juste .lettre, html[data-theme="sombre"] .quiz-choix button.faux .lettre { color: var(--fond); }
.quiz-choix.vf button { font-size: 1.15rem; }
.verdict { padding: 9px 12px; border-radius: var(--r-md); }
.verdict.ok { background: color-mix(in srgb, var(--ok) 14%, var(--panneau)); }
.verdict.ko { background: var(--alerte-clair); }
.explication { border-left-color: var(--c-vif); background: var(--c-clair); }
.explication > b { color: var(--c-fort); }
.liens-suite a { color: var(--c-fort); }
.liens-suite a.discret { color: var(--doux); }
.feuille-corps[style*="--c:"] .btn-suite { background: var(--c); color: #fff; box-shadow: var(--sh-2); }

/* Le bilan : un anneau à la couleur du résultat (vert, ambre, rose). */
.anneau { --p: 0; position: relative; width: 140px; height: 140px; margin: 8px auto 10px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c-vif, var(--accent)) calc(var(--p) * 1%), var(--trait) 0); }
.anneau::before { content: ''; position: absolute; inset: 12px; border-radius: 50%; background: var(--panneau); }
.anneau > * { position: relative; }
.anneau .gros { margin: 0; font-family: var(--police-titre); font-size: 1.7rem; font-weight: 700; line-height: 1; color: var(--c-fort); }
.bilan[style*="--c:"] .message-bilan { color: var(--c-fort); font-weight: 700; }
.bilan .gros-sf { background: linear-gradient(120deg, #c0470a, #b3286b); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@media (max-width: 359px) { .anneau { width: 120px; height: 120px; } .anneau .gros { font-size: 1.45rem; } }

/* Les boîtes de révision et les lignes de score : une couleur chacune. */
.boite { border-width: 0; border-top: 4px solid var(--trait); }
.boite:nth-child(1) { border-top-color: #1f6fcf; background: rgba(31, 111, 207, .10); }
.boite:nth-child(2) { border-top-color: #c93868; background: rgba(201, 56, 104, .10); }
.boite:nth-child(3) { border-top-color: #b4690e; background: rgba(224, 142, 24, .13); }
.boite:nth-child(4) { border-top-color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); }
.boite b { font-family: var(--police-titre); font-size: 1.45rem; }
.ligne-score[style*="--c:"] { box-shadow: inset 5px 0 0 var(--c-vif); }
.ligne-score[style*="--c:"] .ls-ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--c-clair); }
.ligne-score[style*="--c:"] .prog > i { background: var(--c-vif); }
.favoris-vide, .fav-q { border-left: 5px solid var(--accent); }
