/* Maquette Tableau de bord (1er nov.) : trois zones serrees autour de l affiche, une ligne du bas, puis les jeux sous le cadre.
   Trois tailles de texte seulement : 12 (petit), 14 (courant), 18 (titres de bloc). PC seulement. */
@media (min-width: 900px) {
  html.bd-on:root #heroProgress > .hero-row { display: block !important; }
  html.bd-on:root #heroProgress > .hero-row > .hero-tete { display: none !important; }
  .bd { display: grid; grid-template-columns: 240px 500px 240px; justify-content: center; gap: 28px 32px; align-items: start; max-width: 1180px; margin: 0 auto; padding: 8px 24px 0; }
  .bd-z { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
  .bd-g { align-items: stretch; }
  .bd-d { align-items: stretch; }
  .bd-c { align-items: center; }

  /* les vrais elements deplaces : on leur retire leur placement d origine */
  html.bd-on:root:root #heroProgress .bd :is(#suivant, #pctMenu, #heroParcours, #roadto) { position: static !important; grid-area: auto !important; margin: 0 !important; transform: none !important; translate: none !important; }
  html.bd-on:root:root #heroProgress .bd #pctMenu { align-self: center !important; justify-self: auto; width: auto; align-items: center !important; text-align: center; }
  html.bd-on:root:root #heroProgress .bd #pctMenu .pct-btn { zoom: .62 !important; }
  html.bd-on:root:root #heroProgress .bd #heroParcours { align-self: center !important; }
  html.bd-on:root:root #heroProgress .bd #suivant { position: relative !important; width: 500px !important; }   /* sa largeur du site : Precedent / Prochain s y placent de chaque cote */

  .bd-etiq { margin: 0; font: 600 12px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
  .bd-epingle { text-transform: none; letter-spacing: 0; color: var(--paper); margin-left: 6px; }
  .bd-film { display: flex; align-items: center; gap: 18px; }
  .bd-voisin { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--text-dim); font: 600 12px var(--body); }
  .bd-voisin:hover { color: var(--paper); }
  .bd-mini { width: 64px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; opacity: .75; }
  .bd-voisin:hover .bd-mini { opacity: 1; }
  .bd-micro { width: 34px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; display: block; }
  .bd-info { margin: 48px 0 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; font: 400 14px var(--body); color: var(--paper); max-width: 460px; text-align: center; }
  .bd-info strong { font-weight: 600; }
  .bd-sep { color: var(--text-dim); }
  .bd-gen { color: var(--doom-soft, #6BF06B); }
  .bd-gen--non { color: var(--text-dim); }
  .bd-pastille { padding: 2px 8px; border-radius: 99px; background: var(--ink-3); font-size: 12px; }

  .bd-bloc { position: relative; padding: 12px 14px; border: 1px solid var(--ink-4); border-radius: 8px; background: var(--ink-1); display: flex; flex-direction: column; gap: 6px; }
  .bd-bloc h3 { margin: 0; font: 600 18px var(--display, var(--body)); color: var(--paper); }
  .bd-bloc p { margin: 0; font: 400 14px var(--body); color: var(--paper); }
  .bd-doux, .bd-bloc .bd-doux { font-size: 12px !important; color: var(--text-dim) !important; margin: 0; }
  .bd-bouton { align-self: flex-start; margin-top: 4px; padding: 6px 12px; border: 1px solid var(--ink-5); border-radius: 6px; background: none; color: var(--paper); font: 600 12px var(--body); cursor: pointer; }
  .bd-bouton:hover { background: var(--ink-3); }
  .bd-barre { height: 6px; border-radius: 3px; background: var(--ink-3); overflow: hidden; }
  .bd-barre i { display: block; height: 100%; background: var(--paper); border-radius: 3px; }
  .bd-puces { display: flex; flex-wrap: wrap; gap: 6px; }
  .bd-puce { padding: 3px 8px; border-radius: 99px; background: var(--ink-3); font: 500 12px var(--body); color: var(--paper); }
  .bd-puce--non { background: none; border: 1px dashed var(--ink-5); color: var(--text-dim); }
  .bd-ex { position: absolute; top: 8px; right: 10px; font: 600 10px var(--body); letter-spacing: .06em; text-transform: uppercase; color: #F2971E; opacity: .8; }
  .bd-info .bd-ex, .bd-tuile .bd-ex { position: static; }

  .bd-semaine { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
  .bd-jour { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0; border-radius: 4px; min-height: 70px; }
  .bd-jour b { font: 500 12px var(--body); color: var(--text-dim); }
  .bd-jour.is-libre { background: var(--ink-3); }
  .bd-jour.is-libre b { color: var(--paper); }
  .bd-jour small { font: 400 10px var(--body); color: var(--text-dim); text-align: center; }

  /* ligne du bas : le decompte (vrai), puis les cartes du parcours */
  .bd-bas { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; gap: 14px; padding-top: 16px; border-top: 1px solid var(--ink-4); }
  html.bd-on:root:root #heroProgress .bd .bd-bas > #roadto#roadto { grid-column: 1 / -1 !important; justify-self: center; width: auto !important; }
  .bd-carte { position: relative; flex: 0 1 300px; padding: 12px 14px; border: 1px solid var(--ink-4); border-radius: 8px; background: var(--ink-1); display: flex; flex-direction: column; gap: 8px; }
  .bd-carte-t { display: flex; align-items: center; gap: 8px; font: 600 14px var(--body); color: var(--paper); padding-right: 50px; }
  .bd-notes { display: flex; flex-wrap: wrap; gap: 8px; }
  .bd-note { font: 600 14px var(--body); color: var(--paper); }
  .bd-note--moi { color: #1E9BFF; }
  .bd-note--cache { color: var(--text-dim); font-weight: 400; font-size: 12px; }
  .bd-reac, .bd-choix, .bd-vote { display: flex; gap: 6px; flex-wrap: wrap; }
  .bd-reac button, .bd-choix button { min-width: 32px; height: 32px; border: 1px solid var(--ink-4); border-radius: 99px; background: none; color: var(--paper); font: 500 14px var(--body); cursor: pointer; }
  .bd-reac-plus { color: var(--text-dim) !important; }
  .bd-choix .is-on, .bd-vote .is-on { border-color: var(--paper) !important; background: var(--ink-3) !important; }
  .bd-vote button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--ink-4); border-radius: 6px; background: none; color: var(--text-dim); font: 500 12px var(--body); cursor: pointer; }

  /* sous le cadre : jeux et listes */
  .bd-plus { width: min(1180px, 100%); box-sizing: border-box; margin: 24px auto 8px; padding: 0 24px; align-self: center; }
  .bd-plus-titre { margin: 0 0 12px; font: 600 18px var(--display, var(--body)); color: var(--paper); }
  .bd-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
  .bd-tuile { padding: 12px 14px; border: 1px solid var(--ink-4); border-radius: 8px; background: var(--ink-1); display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
  .bd-tuile:hover { border-color: var(--ink-6); }
  .bd-tuile-t { display: flex; align-items: center; gap: 8px; font: 600 14px var(--body); color: var(--paper); }
  .bd-tuile-aff { display: flex; gap: 4px; }
}
/* les vrais Precedent / Prochain et la vraie Seance, deplaces dans la disposition */
@media (min-width: 900px) {
  html.bd-on:root:root #heroProgress .bd-se .se-zone { position: static !important; inset: auto !important; transform: none !important; translate: none !important; margin: 0 auto !important; zoom: .55; }
  .bd-bloc--se { align-items: stretch; }
}
@media (min-width: 900px) { .bd-ex--tr { color: #9B8CFF; } }
/* ecran etroit (900-1199 px) : le film en haut sur toute la largeur, Seance et progression cote a cote dessous */
@media (min-width: 900px) and (max-width: 1199px) {
  .bd { grid-template-columns: 1fr 1fr; grid-template-areas: "c c" "g d" "bas bas"; }
  .bd-c { grid-area: c; } .bd-g { grid-area: g; } .bd-d { grid-area: d; } .bd-bas { grid-area: bas; }
}
/* bandeau post-generique sur l affiche, note du dernier vu sous Precedent */
@media (min-width: 900px) {
  :has(> #suivantAffiche) { position: relative; }
  .bd-bandeau { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 4px 10px; border-radius: 4px; background: rgba(10, 10, 12, .82); color: var(--doom-soft, #6BF06B); font: 600 12px var(--body); pointer-events: none; }
  .bd-note-prec { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; width: 150px; gap: 2px 2px; margin-top: 6px; text-align: center; font: 600 12px var(--body); color: var(--text-dim); }
  .bd-note-prec button { background: none; border: 0; padding: 0 1px; color: var(--paper); font-size: 14px; cursor: pointer; }
  .bd-note-prec > span:first-child, .bd-note-prec .bd-ex { position: static; flex-basis: 100%; }
}
/* rendu final (1er nov., soir) : aucune marque de maquette, aucun cadre ; bandeau en diagonale ; planning a plusieurs films par soir */
@media (min-width: 900px) {
  .bd-ex { display: none !important; }
  .bd-bloc, .bd-carte, .bd-tuile { border: 0 !important; background: none !important; padding-left: 0; padding-right: 0; }
  .bd-bas { border-top: 0; }
  .bd-bandeau { top: 0; right: 0; padding: 0; background: none; width: 120px; height: 120px; overflow: hidden; border-radius: 0; }
  .bd-bandeau > span { position: absolute; top: 26px; right: -38px; width: 170px; transform: rotate(45deg); padding: 5px 0; text-align: center; background: var(--doom, #18C818); color: #0A0A0C; font: 700 11px var(--body); letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
  .bd-note-prec { width: auto !important; flex-wrap: nowrap; gap: 6px; }
  .bd-noter { padding: 3px 10px !important; border: 1px solid var(--ink-5) !important; border-radius: 99px; font: 600 12px var(--body) !important; color: var(--paper); }
  .bd-sur { font: 400 11px var(--body); color: var(--text-dim); }
  .bd-date { font-size: 11px !important; }
  .bd-pile { display: flex; gap: 2px; align-items: center; }
  .bd-pile .bd-micro { width: 22px; }
  .bd-jour.is-libre .bd-pile .bd-micro:only-child { width: 34px; }
  .bd-plusn { font: 600 10px var(--body); color: var(--paper); }
}
@media (min-width: 900px) { .bd-note-prec, .bd-noter { white-space: nowrap; } .bd-info { margin-top: 24px; } }
@media (min-width: 900px) { .bd-bandeau { width: 150px; height: 150px; } .bd-bandeau > span { top: 40px; right: -56px; width: 230px; font-size: 10.5px; } }
/* jeux (un logo chacun), tuiles a trier, fenetre du recap */
@media (min-width: 900px) {
  .bd-logo { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--ink-3); }
  .bd-logo svg { width: 18px; height: 18px; fill: none; stroke: var(--doom, #18C818); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .bd-plus-titre--trier { margin-top: 28px; color: var(--text-dim); }
  .bd-bas:empty { display: none; }
}
.bd-recap { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: rgba(0, 0, 0, .65); }
.bd-recap-boite { width: min(440px, calc(100% - 32px)); padding: 24px; border-radius: 12px; background: var(--ink-1); display: flex; flex-direction: column; gap: 16px; }
.bd-recap-boite h2 { margin: 0; font: 600 24px var(--display, var(--body)); color: var(--paper); }
.bd-recap-ligne { display: flex; flex-direction: column; gap: 8px; }
.bd-recap-ligne > b { font: 600 14px var(--body); color: var(--paper); }
.bd-recap-aff { display: flex; gap: 10px; }
.bd-recap-aff figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bd-recap-aff .bd-mini { width: 56px; opacity: 1; }
.bd-recap-aff figcaption { font: 600 12px var(--body); color: var(--paper); }
.bd-recap-ok { align-self: flex-end; padding: 8px 18px; border: 0; border-radius: 6px; background: var(--paper); color: var(--ink-0, #0A0A0C); font: 600 14px var(--body); cursor: pointer; }
/* tour 5 (1er nov.) : recap plus grand, bandeau dans l angle, note du precedent = vraie note, planning encadre, jeux dans le tableau */
@media (min-width: 900px) {
  .bd-bandeau > span { top: 22px; right: -40px; width: 160px; font-size: 11px; }
  .bd-info { margin: 0 0 4px; }
  .bd-note-prec { width: auto !important; }
  .bd-note-prec .lg-notes { display: flex; }
  .bd-planning .bd-semaine { padding: 10px; border: 1px solid var(--ink-4); border-radius: 8px; }
  .bd-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
  .bd-objchoix summary { cursor: pointer; font: 600 12px var(--body); color: var(--text-dim); list-style: none; }
  .bd-objchoix summary::after { content: " ▾"; }
  .bd-objchoix[open] .bd-puces { margin-top: 8px; }
  .bd-objchoix .bd-puce { border: 0; cursor: pointer; }
  .bd-objchoix .bd-puce.is-on { background: var(--paper); color: var(--ink-0, #0A0A0C); }
  .bd-jeux { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 28px; }
  .bd-jeu { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--paper); font: 600 14px var(--body); }
  .bd-jeu:hover .bd-logo { background: var(--ink-4); }
  .bd-bas { border-top: 1px solid var(--ink-4) !important; }
}
.bd-recap-boite { width: min(760px, calc(100% - 32px)); padding: 36px; gap: 24px; }
.bd-recap-boite h2 { font-size: 34px; }
.bd-recap-prog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bd-recap-chiffre { display: flex; flex-direction: column; gap: 6px; }
.bd-recap-chiffre > b { font: 700 32px var(--display, var(--body)); color: var(--doom, #18C818); }
.bd-recap-chiffre > span { font: 400 13px var(--body); color: var(--text-dim); }
.bd-recap-ligne > b { font-size: 16px; }
.bd-recap-aff { gap: 14px; }
.bd-recap-aff .bd-mini { width: 92px; }
.bd-recap-aff figcaption { font-size: 14px; }
.bd-recap-ok { padding: 10px 24px; font-size: 15px; }
/* tableau de bord elargi (1er nov.) : 1160 -> 1480 px max, colonnes laterales plus larges */
@media (min-width: 1200px) {
  html.bd-on:root:root #heroProgress > .hero-row { max-width: min(1480px, calc(100vw - 48px)) !important; width: min(1480px, calc(100vw - 48px)) !important; }
  .bd { grid-template-columns: minmax(260px, 340px) 500px minmax(260px, 340px); max-width: none; gap: 28px 56px; }
}
/* tour 6 (1er nov.) : plus grand, planning semaine / mois sans contour, jalons sur la barre d objectif*/
@media (min-width: 1200px) {
  .bd { gap: 32px 64px; }
  .bd-bloc { gap: 10px; }
  .bd-bloc h3 { font-size: 22px; }
  .bd-bloc p { font-size: 16px; }
  .bd-doux, .bd-bloc .bd-doux { font-size: 13px !important; }
  html.bd-on:root:root #heroProgress .bd-se .se-zone { zoom: .8; }
  .bd-jour { min-height: 92px; }
  .bd-pile .bd-micro, .bd-jour.is-libre .bd-pile .bd-micro:only-child { width: 40px; }
  .bd-pile .bd-micro:not(:only-child) { width: 28px; }
}
@media (min-width: 900px) {
  .bd-planning .bd-semaine { padding: 0; border: 0; }
  .bd-bascule { display: flex; gap: 2px; }
  .bd-bascule button { padding: 3px 10px; border: 0; border-radius: 99px; background: none; color: var(--text-dim); font: 600 12px var(--body); cursor: pointer; }
  .bd-bascule .is-on { background: var(--ink-3); color: var(--paper); }
  .bd-mois { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
  .bd-mois-j { font: 500 11px var(--body); color: var(--text-dim); text-align: center; padding-bottom: 4px; }
  .bd-mois-c { min-height: 44px; padding: 3px; border-radius: 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; font: 500 11px var(--body); color: var(--text-dim); }
  .bd-mois-c.is-prevu { background: var(--ink-3); color: var(--paper); }
  .bd-mois-c.is-auj { outline: 1px solid var(--doom, #18C818); color: var(--paper); }
  .bd-mois-c .bd-micro { width: 18px !important; }
  .bd-barre-jalons { position: relative; padding-bottom: 20px; }
  .bd-crans { position: absolute; inset: 0; }
  .bd-cran { position: absolute; top: -3px; transform: translateX(-50%); padding-top: 16px; font: 500 11px var(--body); color: var(--text-dim); white-space: nowrap; }
  .bd-cran::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 12px; margin-left: -1px; background: var(--ink-5); }
  .bd-cran.is-fait { color: var(--paper); }
  .bd-cran.is-fait::before { background: var(--doom, #18C818); }
  .bd-cran:last-child { transform: translateX(-100%); }
  .bd-cran:last-child::before { left: 100%; }
  .bd-note-prec { flex-direction: column; gap: 2px; }
  .bd-note-mot { font: 600 11px var(--body); color: var(--text-dim); }
  .bd-note-prec .lg-notes { zoom: 1.4; }
}
.bd-recap-depuis { margin: -12px 0 0; font: 400 16px var(--body); color: var(--text-dim); }
.bd-recap-depuis strong { color: var(--paper); font-weight: 600; }
.bd-recap-chiffre { align-items: center; text-align: center; }
.bd-recap-chiffre > b { font: 700 44px var(--display, var(--body)); color: var(--paper); }
.bd-recap-chiffre > span { font: 600 11px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
/* tour 7 (1er nov.) : planning en haut a gauche, Seance dessous ; % puis Complet / Express ; section Jeux et bonus ; mode seance */
@media (min-width: 900px) {
  html.bd-on:root:root #heroProgress .bd #heroParcours { zoom: .75; align-self: center !important; margin-top: -6px !important; }
  .bd-jeux { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 16px; }
  .bd-jeux-titre { margin: 0; font: 700 28px var(--display, var(--body)); color: var(--paper); }
  .bd-jeux-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .bd-jeu-carte { display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
  .bd-jeu-img { display: flex; height: 120px; border-radius: 8px; overflow: hidden; }
  .bd-jeu-aff { flex: 1; min-width: 0; object-fit: cover; opacity: .7; transition: opacity .2s; }
  .bd-jeu-carte:hover .bd-jeu-aff { opacity: 1; }
  .bd-jeu-nom { display: flex; align-items: center; gap: 10px; font: 600 16px var(--body); color: var(--paper); }
  .bd-prog { display: flex; flex-direction: column; gap: 20px; width: 100%; }
  .bd-prog-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
  .bd-prog-tete .bd-etiq { flex-basis: 100%; color: var(--doom, #18C818); }
  .bd-prog-tete h2 { margin: 0; font: 700 28px var(--display, var(--body)); color: var(--paper); }
  .bd-prog-fin { margin-left: auto; padding: 6px 14px; border: 1px solid var(--ink-5); border-radius: 6px; background: none; color: var(--paper); font: 600 13px var(--body); cursor: pointer; }
  .bd-prog-ligne { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .bd-prog-film { display: flex; flex-direction: column; gap: 6px; font: 400 14px var(--body); color: var(--paper); opacity: .6; }
  .bd-prog-film.is-encours { opacity: 1; }
  .bd-prog-h { font: 600 13px var(--body); color: var(--text-dim); }
  .bd-prog-film.is-encours .bd-prog-h { color: var(--doom, #18C818); }
  .bd-prog-aff { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; }
  .bd-prog-film.is-encours .bd-prog-aff { outline: 2px solid var(--doom, #18C818); outline-offset: 2px; }
  .bd-prog-total { margin: 0; font: 600 16px var(--body); color: var(--paper); text-align: center; }
}
@media (min-width: 900px) { html.bd-on:root:root .bd-d > #pctMenu { order: 1 !important; } html.bd-on:root:root .bd-d > #heroParcours { order: 2 !important; } html.bd-on:root:root .bd-d > :not(#pctMenu):not(#heroParcours) { order: 3; } }
/* tour 8 (1er nov.) : Seance sur une ligne sous l affiche, vrai mode seance, droite reorganisee, jeux en visuels, post-scene discret, decompte en ligne */
@media (min-width: 900px) {
  .bd-c .bd-se { margin-top: 56px; }
  html.bd-on:root:root #heroProgress .bd-c .bd-se .se-zone { zoom: 1 !important; }
  html.bd-on:root:root .bd-se .se-preparer { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 10px !important; padding: 0 !important; background: none !important; border: 0 !important; }
  html.bd-on:root:root .bd-se .se-logo { width: 26px !important; height: 26px !important; }
  html.bd-on:root:root .bd-se .se-logo svg { width: 26px !important; height: 26px !important; }
  html.bd-on:root:root .bd-se .se-mot { font: 600 16px var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; margin: 0 !important; }
  html.bd-seance .bd-etiq.bd-etiq, html.bd-seance .bd-info { visibility: hidden; }
  .bd-encours { position: absolute; z-index: 3; transform: translate(-50%, -100%); padding: 4px 12px 3px; border-radius: 6px 6px 0 0; background: var(--doom, #18C818); color: #0A0A0C; font: 700 12px var(--body); pointer-events: none; }
  .bd-fin-seance { margin: 4px 0 0; font: 600 15px var(--body); color: var(--paper); }
  /* droite : Complet / Express comme avant, au-dessus ; le % plus imposant */
  html.bd-on:root:root .bd-d > #heroParcours { order: 1 !important; zoom: 1 !important; margin-top: 0 !important; }
  html.bd-on:root:root .bd-d > #pctMenu { order: 2 !important; }
  html.bd-on:root:root #heroProgress .bd #pctMenu .pct-btn { zoom: 1 !important; }
  .bd-tete { align-items: center; justify-content: flex-start; }
  .bd-rythme { font: 600 13px var(--body); color: var(--paper); display: inline-flex; align-items: center; gap: 6px; }
  .bd-objchoix summary { font: 400 16px var(--body); color: var(--paper); }
  .bd-objchoix summary::after { content: " ▾"; color: var(--text-dim); }
  /* jeux : un visuel par jeu */
  .bd-jeu-img { height: 140px; padding: 12px; background: var(--ink-2, #15151A); flex-direction: column; justify-content: center; gap: 4px; }
  .bd-tl-r { display: flex; align-items: center; gap: 3px; }
  .bd-tl-r b { width: 22px; height: 24px; display: grid; place-items: center; border-radius: 3px; font: 700 12px var(--body); color: #0A0A0C; }
  .bd-tl-a { width: 16px; height: 24px; object-fit: cover; border-radius: 2px; }
  .bd-q { margin: 0 0 6px; font: 600 14px var(--body); color: var(--paper); }
  .bd-q-g { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
  .bd-q-g span { padding: 5px 8px; border-radius: 4px; background: var(--ink-3); font: 500 12px var(--body); color: var(--paper); }
  .bd-q-g .is-bon { background: var(--doom, #18C818); color: #0A0A0C; }
  .bd-jeu-img--tournoi { flex-direction: row; align-items: center; justify-content: space-around; }
  .bd-to-c { display: flex; flex-direction: column; justify-content: space-around; gap: 6px; height: 100%; }
  .bd-to-c .bd-tl-a { width: 26px; height: 38px; }
  .bd-to-f .bd-tl-a { width: 40px; height: 60px; outline: 2px solid #F2C94C; outline-offset: 2px; }
  /* post-scene : banderole sombre, discrete */
  .bd-bandeau > span { background: rgba(12, 12, 16, .78) !important; color: var(--paper) !important; font: 600 10.5px var(--body) !important; letter-spacing: .08em !important; box-shadow: 0 1px 3px rgba(0,0,0,.6) !important; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); padding: 3px 0 !important; }
  /* decompte : tout en longueur, le titre puis les chiffres */
  #roadto.maq-rt-bout .decompte { display: flex !important; flex-direction: row !important; align-items: baseline !important; gap: 12px !important; }
  #roadto.maq-rt-bout .decompte-titre { display: flex !important; gap: 6px; }
}
@media (min-width: 900px) { .bd-jeux { align-items: stretch !important; } .bd-jeux-titre { text-align: center; } .bd-to-c .bd-tl-a { width: 32px; height: 48px; } .bd-tl-a { width: 22px; height: 32px; } .bd-tl-r b { height: 32px; } .bd-jeu-img { height: 170px; } }
/* tour 9 (1er nov.) : mode seance construit, droite aeree, objectifs en cartes, jeux replies et abstraits */
@media (min-width: 900px) {
  .bd-c .bd-se { margin-top: 20px; }
  /* droite : Complet / Express au niveau du titre Planning, plus d air */
  .bd-d { gap: 28px; padding-top: 18px; }
  html.bd-on:root:root .bd-d > #pctMenu { gap: 8px; }
  /* en seance, la projection du % sur la meme ligne */
  html.bd-on.bd-seance:root:root #heroProgress .bd #pctMenu { display: grid !important; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 18px; }
  html.bd-on.bd-seance:root:root #pctMenu > * { grid-column: 1 / -1; }
  html.bd-on.bd-seance:root:root #pctMenu > .pct-btn { grid-column: 1; grid-row: 1; }
  html.bd-on.bd-seance:root:root #pctMenu > .se-gain { grid-column: 2; grid-row: 1; margin: 0 !important; }
  /* objectifs */
  .bd-objs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
  .bd-obj { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--ink-4); border-radius: 8px; background: none; text-align: left; cursor: pointer; }
  .bd-obj b { font: 600 13px var(--body); color: var(--paper); }
  .bd-obj small { font: 400 11px var(--body); color: var(--text-dim); }
  .bd-obj:hover { border-color: var(--ink-6); }
  .bd-obj.is-on { border-color: var(--doom, #18C818); }
  /* jeux : repliee, sans fond ni cadre */
  .bd-jeux { display: block !important; }
  .bd-jeux-titre { cursor: pointer; list-style: none; text-align: center; }
  .bd-jeux-titre::-webkit-details-marker { display: none; }
  .bd-jeux-titre::after { content: " ▾"; font-size: 18px; color: var(--text-dim); }
  .bd-jeux[open] .bd-jeux-titre::after { content: " ▴"; }
  .bd-jeux[open] .bd-jeux-g { margin-top: 20px; }
  .bd-jeu-img { background: none !important; padding: 0 !important; height: 130px !important; color: var(--text-dim); display: block !important; }
  .bd-jeu-img svg { width: 100%; height: 100%; }
  .bd-jeu-carte:hover .bd-jeu-img { color: var(--paper); }
  .bd-jeu-nom { justify-content: center; }
  /* mode seance */
  html.bd-seance .bd-etiq.bd-etiq, html.bd-seance .bd-info { display: none; }
  /* tour 41 : Precedent / Suivant restent visibles en seance (avant : caches, impossible d aller au film suivant) */
  html.bd-seance .bd-se .se-haut { display: none !important; }
  html.bd-seance .bd-c .bd-se { margin-top: 24px; }
  .bd-se-tete { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 12px; }
  .bd-se-tete h2 { margin: 0; font: 700 40px var(--display, var(--body)); color: var(--paper); }
  .bd-se-heures { margin: 0; font: 400 15px var(--body); color: var(--text-dim); white-space: pre; }
  .bd-se-heures b { color: var(--paper); font-weight: 600; }
  .bd-se-terminer { padding: 7px 16px; border: 1px solid var(--ink-5); border-radius: 6px; background: none; color: var(--paper); font: 600 13px var(--body); cursor: pointer; }
  .bd-se-terminer:hover { border-color: var(--paper); }
}
/* la fenetre de preparation garde sa taille de base (le cadre du tableau de bord est plus haut) */
@media (min-width: 900px) {
  html.bd-on:root:root #heroProgress > .hero-row :is(.se-prep, .se-recap) { bottom: auto !important; height: min(640px, 100%) !important; max-width: 1160px; left: 50% !important; right: auto !important; width: 100% !important; transform: translateX(-50%) !important; }
}
@media (min-width: 900px) { html.bd-seance #suivant .se-rang-suite { display: none !important; } }
/* tour 10 (1er nov.) : centre remonte, info de duree en bouton, planning cliquable, objectif sur la route, jeux dans le header */
@media (min-width: 900px) {
  html.bd-on:root:root #heroProgress > .hero-row { padding-top: 20px !important; }
  .bd { padding-top: 0; }
  .bd-c { gap: 10px; }
  .bd-etiq { display: flex; align-items: center; justify-content: center; gap: 8px; }
  .bd-info-btn { display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; background: none; color: var(--text-dim); cursor: pointer; }
  .bd-info-btn:hover, .bd-info-btn[aria-expanded="true"] { color: var(--paper); }
  .bd-info-btn svg { width: 18px; height: 18px; }
  .bd-c { position: relative; }
  .bd-info { display: none !important; }
  .bd-info.is-ouvert { display: block !important; position: absolute; top: 28px; left: 50%; transform: translateX(-50%); z-index: 5; margin: 0; padding: 8px 14px; border-radius: 8px; background: var(--ink-3); white-space: nowrap; font-size: 14px; }
  html.bd-seance .bd-info.is-ouvert { display: none !important; }
  /* Seance : une ligne, sous le planning */
  .bd-g .bd-se { margin-top: 8px; }
  html.bd-on:root:root .bd-g .bd-se .se-zone { margin: 0 !important; }
  /* Terminer : le rouge du site */
  .bd-se-terminer { padding: 0 !important; border: 0 !important; background: none !important; color: #F2555A !important; font: 700 13px var(--body) !important; letter-spacing: .14em; text-transform: uppercase; }
  .bd-se-terminer:hover { color: #FF7A7E !important; }
  /* droite : un seul ecart entre Complet / Express, le % et l objectif ; plus de « En retard » sous le compteur */
  html.bd-on:root:root .bd-d #pctMenu .pr-statut { display: none !important; }
  html.bd-on:root:root .bd-d > * { margin-top: 0 !important; margin-bottom: 0 !important; }
  .bd-d { gap: 28px !important; }
  html.bd-on:root:root .bd-d > #heroParcours { align-items: center !important; gap: 12px; }
  /* objectif sur la route */
  .bd-obj-piste { position: relative; height: 8px; margin: 34px 0 26px; border-radius: 4px; background: var(--ink-3); }
  .bd-obj-fait { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--doom, #18C818); }
  .bd-obj-moi { position: absolute; top: 14px; transform: translateX(-50%); font: 700 12px var(--body); color: var(--doom, #18C818); }
  .bd-obj-drapeau { position: absolute; bottom: 14px; transform: translateX(-50%); padding: 3px 8px; border-radius: 4px; background: var(--paper); color: #0A0A0C; font: 700 11px var(--body); white-space: nowrap; }
  .bd-obj-drapeau::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 16px; margin-left: -1px; background: var(--paper); }
  .bd-obj-cran { position: absolute; top: 14px; transform: translateX(-50%); font: 500 10px var(--body); color: var(--text-dim); }
  .bd-obj-cran::before { content: ""; position: absolute; left: 50%; top: -14px; width: 1px; height: 8px; background: var(--ink-6, #555); }
  .bd-obj-pour { margin: 0 !important; font-size: 14px !important; color: var(--text-dim) !important; }
  /* planning */
  .bd-pl-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
  .bd-pl-tj { font: 600 11px var(--body); color: var(--text-dim); text-align: center; padding-bottom: 2px; text-transform: uppercase; letter-spacing: .06em; }
  .bd-pl-c { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 54px; padding: 5px 2px; border-radius: 6px; cursor: pointer; outline: 1px solid transparent; }
  .bd-pl-c:hover { outline-color: var(--ink-5); }
  .bd-pl-n { font: 600 12px var(--body); color: var(--paper); }
  .bd-pl-j { font: 600 11px var(--body); color: var(--text-dim); text-transform: uppercase; }
  .bd-pl-c.is-prevu { background: var(--ink-2, #17171c); }
  .bd-pl-c.is-auj { outline: 2px solid var(--doom, #18C818); }
  .bd-pl-c.is-auj .bd-pl-n { color: var(--doom, #18C818); }
  .bd-pl-c.is-passe { opacity: .35; cursor: default; }
  .bd-pl-c.is-ouvert { outline: 2px solid var(--paper); }
  .bd-pl-f { padding: 0; border: 0; background: none; cursor: pointer; }
  .bd-pl-f:hover { opacity: .5; }
  .bd-pl-mois .bd-micro { width: 20px !important; }
  .bd-pl-sem .bd-pl-c { min-height: 260px; padding-top: 10px; }
  .bd-pl-sem .bd-pl-n { font-size: 18px; }
  .bd-pl-sem .bd-pile { flex-direction: column; gap: 6px; }
  .bd-pl-sem .bd-micro { width: 38px !important; }
  .bd-pl-choix { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
  .bd-pl-choix p { margin: 0; font: 600 13px var(--body); color: var(--paper); }
  .bd-pl-propose { display: flex; gap: 8px; flex-wrap: wrap; }
  .bd-pl-prop { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 46px; padding: 0; border: 0; background: none; cursor: pointer; }
  .bd-pl-prop .bd-micro { width: 46px !important; }
  .bd-pl-prop small { font: 500 10px var(--body); color: var(--text-dim); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
  .bd-pl-prop:first-child small { color: var(--doom, #18C818); }
  /* jeux : menu du header */
  .bd-jeux-menu { position: relative; display: inline-flex; }
  .bd-jeux-menu > .notifs-btn { background: none !important; }
  .bd-jeux-pop { position: absolute; top: calc(100% + 10px); right: -80px; z-index: 50; width: 560px; padding: 16px 18px; border-radius: 10px; background: var(--ink-1); box-shadow: 0 12px 32px rgba(0,0,0,.6); }
  .bd-jeux-pop .bd-etiq { justify-content: flex-start; margin-bottom: 12px; }
  .bd-jeux-pop .bd-jeux-g { grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
  .bd-jeux-pop .bd-jeu-img { height: 90px !important; }
}
@media (min-width: 900px) { .bd-obj-cran { top: 30px; } .bd-obj-cran::before { top: -30px; height: 8px; } .bd-obj-piste { margin-bottom: 40px; } }
@media (min-width: 900px) { .bd-se-tete { margin-bottom: 30px; gap: 6px; } }
/* tour 11 (1er nov.) : grille plus large, planning (oeil, fenetre, Duo / Equipe, choix sous le jour), seance avec ?, fleche suivant */
@media (min-width: 1200px) {
  .bd { grid-template-columns: minmax(320px, 1fr) 500px minmax(320px, 1fr) !important; gap: 28px 48px !important; }
}
@media (min-width: 900px) {
  .bd-planning { position: relative; }
  .bd-pl-outils { display: flex; gap: 2px; margin-left: auto; }
  .bd-pl-ico { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; color: var(--text-dim); cursor: pointer; }
  .bd-pl-ico:hover { color: var(--paper); }
  .bd-pl-ico svg { width: 18px; height: 18px; }
  .bd-planning .bd-tete { justify-content: flex-start; }
  .bd-planning.is-masque .bd-bascule { display: none; }
  .bd-pl-choix { position: absolute; z-index: 20; width: 340px; margin: 0 !important; padding: 12px 14px; border-radius: 10px; background: var(--ink-1); box-shadow: 0 10px 28px rgba(0,0,0,.7); }
  .bd-pl-prop { width: 64px !important; }
  .bd-pl-prop .bd-micro { width: 64px !important; border-radius: 4px; }
  .bd-pl-prop.is-suivant .bd-micro { outline: 2px solid var(--doom, #18C818); outline-offset: 2px; }
  .bd-pl-propose { gap: 10px !important; }
  .bd-pl-dispo { display: flex; gap: 3px; align-items: center; font: 600 10px var(--body); color: var(--text-dim); }
  .bd-pl-dispo i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-5); }
  .bd-pl-dispo i.is-libre { background: var(--doom, #18C818); }
  .bd-pl-c.is-commun .bd-pl-dispo { color: var(--doom, #18C818); }
  /* objectif */
  .bd-obj-piste { cursor: pointer; }
  .bd-obj-tenir { position: absolute; right: 0; bottom: 16px; padding: 3px 8px; border-radius: 4px; background: var(--ink-3); font: 600 11px var(--body); color: var(--paper); white-space: nowrap; }
  /* seance */
  .bd-bloc--se { flex-direction: row !important; align-items: center !important; justify-content: center; gap: 8px !important; position: relative; }
  .bd-se-aide { width: 22px; height: 22px; padding: 0; border: 1.5px solid var(--text-dim); border-radius: 50%; background: none; color: var(--text-dim); font: 700 12px var(--body); cursor: pointer; }
  .bd-se-aide:hover { color: var(--paper); border-color: var(--paper); }
  .bd-se-bulle { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 20; width: 300px; margin: 0; padding: 10px 14px; border-radius: 8px; background: var(--ink-3); font: 400 13px var(--body); color: var(--paper); text-align: left; }
  html.bd-seance .bd-se-aide { display: none; }
  html.bd-seance .bd-bloc--se { flex-direction: column !important; }
  /* fenetre du planning */
  .bd-pl-fenetre { width: min(980px, calc(100% - 32px)) !important; }
  .bd-planning--grand .bd-pl-c { min-height: 92px; }
  .bd-planning--grand .bd-pl-mois .bd-micro { width: 34px !important; }
  .bd-planning--grand .bd-pl-sem .bd-pl-c { min-height: 420px; }
  .bd-planning--grand .bd-pl-sem .bd-micro { width: 64px !important; }
}
@media (min-width: 900px) { html.bd-on:root:root .bd-d > #pctMenu { padding-top: 16px !important; } }
/* tour 11 (2 nov.) : planning mois seul, jours vus hachures, droite d un seul tenant, grande affiche plus grande */
@media (min-width: 900px) {
  .bd-pl-c.is-autre { opacity: .35; }
  /* droite : le %, l objectif juste dessous, Complet / Express en bas, discret */
  html.bd-on:root:root .bd-d > #pctMenu { order: 1 !important; }
  html.bd-on:root:root .bd-d > .bd-bloc { order: 2 !important; }
  html.bd-on:root:root .bd-d > #heroParcours { order: 3 !important; opacity: .8; }
  .bd-d { gap: 18px !important; }
}
@media (min-width: 1200px) {
  .bd { grid-template-columns: minmax(320px, 1fr) 560px minmax(320px, 1fr) !important; }
  html.bd-on:root:root #heroProgress .bd #suivant { width: 560px !important; }
  .bd-c { padding-top: 28px; }
}
/* tour 12 (2 nov.) : horloge refermable, mois au choix, hachures visibles, Complet / Express en menu, objectif explique */
@media (min-width: 900px) {
  .bd-pl-mois-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin: -4px 0 10px; }
  .bd-pl-mois-nav b { min-width: 140px; text-align: center; font: 600 14px var(--body); color: var(--paper); }
  .bd-pl-fl { width: 28px; height: 28px; border: 0; border-radius: 6px; background: none; color: var(--text-dim); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
  .bd-pl-fl:hover { color: var(--paper); background: var(--ink-3); }
  html.bd-on:root:root .bd-d > #heroParcours { display: none !important; }
  .bd-parc { order: 0 !important; position: relative; align-self: center; }
  .bd-parc summary { list-style: none; cursor: pointer; padding: 6px 14px; border: 1px solid var(--ink-5); border-radius: 6px; font: 600 14px var(--body); color: var(--paper); }
  .bd-parc summary::-webkit-details-marker { display: none; }
  .bd-parc summary::after { content: " ▾"; color: var(--text-dim); }
  .bd-parc-menu { position: absolute; z-index: 5; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); display: grid; gap: 4px; width: 230px; padding: 6px; border: 1px solid var(--ink-5); border-radius: 8px; background: var(--ink-1, #111); }
  .bd-parc-menu button { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border: 0; border-radius: 6px; background: none; text-align: left; cursor: pointer; }
  .bd-parc-menu button:hover { background: var(--ink-3); }
  .bd-parc-menu b { font: 600 13px var(--body); color: var(--paper); }
  .bd-parc-menu small { font: 400 11px var(--body); color: var(--text-dim); }
  .bd-parc-menu .is-on b { color: var(--doom, #18C818); }
  .bd-obj-voir { display: block; margin: 0; padding: 0; border: 0; background: none; color: var(--paper); font: 600 13px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .bd-obj-voir::after { content: " ▾"; text-decoration: none; display: inline-block; }
  .bd-obj-voir[aria-expanded="true"]::after { content: " ▴"; }
  .bd-obj-pour { margin: 8px 0 0; font: 400 14px/1.5 var(--body); color: var(--text-dim); }
  .bd-obj-pour b { color: var(--paper); font-weight: 600; }
}
/* tour 13 (2 nov.) : semaine en cours en lumiere ; Complet dans la ligne du %, sans cadre */
@media (min-width: 900px) {
  .bd-pl-c.is-semaine { background-color: rgba(24, 200, 24, .07); }
  .bd-pl-c.is-semaine .bd-pl-n { color: var(--paper); font-weight: 700; }
  .bd-parc { display: inline-block; vertical-align: baseline; }
  .bd-parc summary { display: inline; padding: 0; border: 0; border-radius: 0; font: inherit; color: var(--paper); }
  .bd-parc summary:hover { text-decoration: underline; text-underline-offset: 3px; }
  .bd-parc-sep { color: var(--text-dim); }
  .bd-parc-menu { font-size: 13px; text-align: left; }
}
@media (min-width: 900px) { .bd-parc-sep { margin: 0 8px; } }
/* tour 14 (2 nov.) : semaine en cours cadree de blanc, les autres jours grises ; l affiche remplit la case ; Complet sous le compte */
@media (min-width: 900px) {
  .bd-pl-c.is-semaine { background-color: transparent; border-top: 1px solid var(--paper); border-bottom: 1px solid var(--paper); border-radius: 0; }
  .bd-pl-c.is-semaine:nth-child(7n + 1) { border-left: 1px solid var(--paper); border-radius: 6px 0 0 6px; }
  .bd-pl-c.is-semaine:nth-child(7n) { border-right: 1px solid var(--paper); border-radius: 0 6px 6px 0; }
  .bd-pl-mois .bd-pl-c:not(.is-semaine):not(.is-autre) { opacity: .6; }
  .bd-pl-mois .bd-pl-c { position: relative; overflow: hidden; }
  .bd-pl-mois .bd-pile { position: absolute; inset: 0; display: flex; gap: 1px; z-index: 0; }
  .bd-pl-mois .bd-pile > *, .bd-pl-mois .bd-pile .bd-micro { flex: 1; width: auto !important; height: 100%; padding: 0; border: 0; border-radius: 0; }
  .bd-pl-mois .bd-pile .bd-micro { object-fit: cover; opacity: .75; }
  .bd-pl-mois .bd-pl-n { position: relative; z-index: 1; text-shadow: 0 1px 3px #000, 0 0 6px #000; }
  .bd-pl-mois .bd-pl-c.is-vu .bd-pile { opacity: .55; }
}
@media (min-width: 900px) {
  /* jour vu = case eteinte (affiche assombrie et desaturee), plus de hachures */
  .bd-pl-mois .bd-pl-c.is-vu .bd-pile { opacity: .4; filter: grayscale(.7); }
  .bd-parc-sep { display: none; }
  .bd-parc { display: block; margin-top: 6px; text-align: center; font-size: 14px; }
}
@media (min-width: 900px) {
  .bd-planning .bd-pl-mois { column-gap: 0; }
  .bd-pl-mois .bd-pl-c { border-radius: 0; }
  .hero-compte:has(> .bd-parc) { flex-wrap: wrap; justify-content: center; }
  .bd-parc { flex-basis: 100%; }
}
/* tour 15 (2 nov.) : aujourd hui en pastille blanche, sans cadre vert ; affiche seule = toute la case ; menu du jour */
@media (min-width: 900px) {
  .bd-pl-c.is-auj { outline: 0 !important; }
  .bd-pl-c.is-auj .bd-pl-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: var(--paper); color: #000 !important; text-shadow: none; }
  .bd-pl-mois .bd-pile .bd-micro { width: 100% !important; min-width: 0; }
  .bd-pl-choix-t { margin: 0 0 6px; font: 600 14px var(--body); color: var(--paper); }
  .bd-pl-choix-t::first-letter { text-transform: uppercase; }
  .bd-pl-prop.is-prevu { position: relative; }
  .bd-pl-retirer { position: absolute; inset: auto 0 0 0; padding: 2px 0; background: rgba(0,0,0,.75); font: 600 10px var(--body); color: var(--paper); opacity: 0; }
  .bd-pl-prop.is-prevu:hover .bd-pl-retirer, .bd-pl-prop.is-prevu:focus-visible .bd-pl-retirer { opacity: 1; }
}
@media (min-width: 900px) { .bd-pl-choix { box-sizing: border-box; } }
/* tour 16 (2 nov.) : de l air entre les affiches, jours passes lisibles, films reportes */
@media (min-width: 900px) {
  .bd-pl-mois .bd-pile { inset: 2px; gap: 2px; }
  .bd-pl-mois .bd-pile .bd-micro { border-radius: 3px !important; }
  .bd-pl-c.is-passe.is-vu { cursor: pointer; }
  .bd-pl-vus { display: grid; gap: 8px; }
  .bd-pl-vu { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; }
  .bd-pl-vu .bd-micro { width: 40px !important; }
  .bd-pl-vu span { font: 500 13px var(--body); color: var(--paper); }
  .bd-pl-vu small { font: 600 12px var(--body); color: var(--doom, #18C818); }
}
/* tour 17 (2 nov.) : le numero du jour au-dessus de l affiche, sans fond */
@media (min-width: 900px) {
  .bd-pl-mois .bd-pl-c { justify-content: flex-start; min-height: 64px; }
  .bd-pl-mois .bd-pile { position: static; inset: auto; width: 100%; height: 44px; padding: 0 2px; box-sizing: border-box; }
  .bd-pl-mois .bd-pile:empty { display: none; }
  .bd-pl-mois .bd-pl-n { text-shadow: none; }
}
@media (min-width: 900px) { .bd-pl-mois .bd-pl-c { min-height: 40px; } }
/* tour 18 (2 nov.) : sans cadre de semaine ; les jours a venir en blanc, le reste gris ; avant le compte, eteint ; le premier jour en rouge */
@media (min-width: 900px) {
  .bd-pl-c.is-semaine { border: 0 !important; border-radius: 0 !important; }
  .bd-pl-mois .bd-pl-c:not(.is-semaine):not(.is-autre) { opacity: 1; }
  .bd-pl-mois .bd-pl-c .bd-pl-n { color: var(--paper); font-weight: 600; }
  .bd-pl-mois .bd-pl-c.is-passe .bd-pl-n, .bd-pl-mois .bd-pl-c.is-autre .bd-pl-n { color: var(--text-dim); font-weight: 400; }
  .bd-pl-mois .bd-pl-c.is-avant { opacity: .3; cursor: default; }
  .bd-pl-mois .bd-pl-c.is-debut .bd-pl-n { color: #FF5A5A !important; font-weight: 700; }
}
@media (min-width: 900px) { .bd-pl-mois .bd-pl-c.is-prevu { background: none; } }
/* tour 19 (2 nov.) : jour de creation au clic ; grande fenetre du planning, affiches entieres */
@media (min-width: 900px) {
  .bd-pl-creation { margin: 0; font: 500 13px var(--body); color: #FF5A5A; }
  .bd-pl-c.is-debut { cursor: pointer; }
  .bd-pl-fenetre { width: min(1500px, calc(100% - 48px)) !important; max-height: calc(100vh - 48px); overflow: auto; padding: 28px 36px !important; }
  .bd-planning--grand .bd-pl-tete h3 { font-size: 28px; }
  .bd-planning--grand .bd-pl-mois-nav b { font-size: 18px; min-width: 200px; }
  .bd-planning--grand .bd-pl-mois { column-gap: 8px; row-gap: 10px; }
  .bd-planning--grand .bd-pl-mois .bd-pl-c { min-height: 60px; padding: 6px; border-radius: 6px; }
  .bd-planning--grand .bd-pl-mois .bd-pl-n { font-size: 15px; }
  .bd-planning--grand .bd-pl-mois .bd-pile { height: auto; gap: 6px; padding: 0; }
  .bd-planning--grand .bd-pl-mois .bd-pile .bd-micro { flex: 0 1 auto; width: auto !important; max-width: 50%; height: auto !important; aspect-ratio: 2 / 3; max-height: 150px; object-fit: contain; opacity: 1; margin: 0 auto; }
  .bd-planning--grand .bd-pl-mois .bd-pl-c.is-vu .bd-pile { opacity: .45; filter: grayscale(.7); }
  .bd-planning--grand .bd-pl-choix { width: 360px !important; }
}
@media (min-width: 900px) { .bd-planning--grand .bd-pl-mois .bd-pile .bd-micro { max-height: 128px; } .bd-planning--grand .bd-tete h3 { font-size: 28px; } }
/* tour 20 (2 nov.) : le centre suit la hauteur du planning, grande affiche plus grande */
@media (min-width: 1200px) {
  html.bd-on:root:root #heroProgress .bd #suivantAffiche { width: 236px !important; height: auto !important; aspect-ratio: 2 / 3; }
  .bd-c { padding-top: 0; }
  .bd { align-items: start; }
}
@media (min-width: 1200px) { .bd-c { padding-top: 18px; } html.bd-on:not(.is-vue-groupe):root:root .bd-c { padding-bottom: calc(18px + var(--bd-reserve, 0px)); } }   /* V799 : meme espace haut et bas, reactions comprises */
@media (min-width: 900px) and (max-width: 1199px) { html.bd-on:not(.is-vue-groupe):root:root .bd-c { padding-bottom: var(--bd-reserve, 0px); } }
/* tour 21 (2 nov.) : la droite en miroir du planning : titre sur la meme ligne, tout cale a gauche, l objectif en bas */
@media (min-width: 1000px) {
  .bd-d { align-self: stretch; display: flex !important; flex-direction: column; align-items: stretch !important; text-align: left; padding-top: 0 !important; gap: 0 !important; }
  .bd-d-titre { order: -1; margin: 0 0 18px; font: 700 22px var(--display, var(--body)); color: var(--paper); }
  .bd-planning > .bd-tete h3 { font-size: 22px; }
  html.bd-on:root:root .bd-d > #pctMenu { order: 0 !important; align-items: flex-start !important; justify-content: flex-start !important; text-align: left !important; padding-top: 0 !important; }
  html.bd-on:root:root .bd-d > #pctMenu > * { align-self: flex-start !important; text-align: left !important; justify-content: flex-start !important; margin-left: 0 !important; }
  .hero-compte:has(> .bd-parc) { justify-content: flex-start; }
  .bd-parc { text-align: left; }
  .bd-parc-menu { left: 0; transform: none; }
  html.bd-on:root:root .bd-d > .bd-bloc { order: 1 !important; margin-top: auto !important; }
  .bd-obj-voir { margin-top: 6px; }
}
@media (min-width: 1000px) {
  html.bd-on:root:root .bd-d > .bd-d-titre { order: -1 !important; }
  html.bd-on:root:root #heroProgress .bd .bd-d > #pctMenu { flex: none !important; height: auto !important; min-height: 0 !important; width: 100% !important; margin: 0 !important; justify-content: flex-start !important; align-items: flex-start !important; gap: 4px !important; }
  html.bd-on:root:root #heroProgress .bd .bd-d > #pctMenu > .pct-btn { margin: 0 !important; justify-content: flex-start !important; }
}
@media (min-width: 1000px) {
  html.bd-on:root:root #heroProgress .bd .bd-d #pctMenu > .hero-compte { margin: 0 !important; top: auto !important; left: auto !important; transform: none !important; justify-content: flex-start !important; text-align: left !important; }
  .bd-d-titre { margin-top: 12px !important; }
}
@media (min-width: 1000px) { html.bd-on:root:root #heroProgress .bd .bd-d #pctMenu > .hero-compte { align-self: flex-start !important; } }
/* V842 : de 900 a 999 px le compteur gardait le top: calc(100% + 1px) de l ancien compteur absolu (styles.css) : en relatif il tombait sur le selecteur d objectif */
@media (min-width: 900px) { html.bd-on:root:root #heroProgress .bd .bd-d #pctMenu > .hero-compte { top: auto !important; } }
@media (min-width: 1000px) {
  html.bd-on:root:root .bd-d > .bd-bloc { margin-top: 40px !important; }
  html.bd-on:root:root .bd-d > .bd-d-titre { margin: 12px 0 14px !important; }
  .bd-obj-voir { align-self: flex-start; text-align: left; margin-left: 0 !important; }
  .bd-d .bd-bloc { display: flex; flex-direction: column; align-items: stretch; }
}
/* tour 22 (3 nov.) : trop de films un meme jour : « +N » sur le tableau de bord, 1 ou 2 affiches + « +N » dans la grande fenetre */
@media (min-width: 1000px) {
  .bd-pl-mois .bd-pile > .bd-pl-plus { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); flex: none; width: auto; height: auto; z-index: 2; font: 700 11px var(--body); color: var(--paper); background: color-mix(in srgb, var(--ink-1, #000) 78%, transparent); border-radius: var(--r-pill, 99px); padding: 2px 6px; line-height: 1.2; cursor: pointer; }
  .bd-pl-mois .bd-pile > .bd-pl-plus { right: 2px; top: auto; bottom: 2px; transform: none; font-size: 10.5px; padding: 1px 4px; }
  /* la pastille pend sous le coin de l affiche (5 px libres sous l affiche + 4 px d ecart de rangee) : elle n en couvre plus que 3 px */
  .bd-planning:not(.bd-planning--grand) .bd-pl-mois .bd-pile > .bd-pl-plus { bottom: -2px; padding: 0 3px; line-height: 1.1; }
  .bd-planning--grand .bd-pl-mois .bd-pile > .bd-pl-plus { position: static; transform: none; font-size: 11px; padding: 2px 6px; align-self: center; background: color-mix(in srgb, var(--paper) 16%, transparent); }
}
/* tour 23 (3 nov.) : « En retard » sous le nom de l objectif, en ligne d etat */
@media (min-width: 1000px) {
  .bd-obj-etat { margin: 6px 0 0; font: 500 13px var(--body); color: var(--text-dim); text-align: left; }
  .bd-obj-etat b { font-weight: 700; }
}
/* tour 23 (3 nov.) : de 1200 a 1359 px la grille sortait de la page (3 colonnes mini = 1200 px + ecarts) : colonnes de cote souples, centre plus etroit */
@media (min-width: 1200px) and (max-width: 1359px) { .bd { grid-template-columns: minmax(0, 1fr) 480px minmax(0, 1fr) !important; } html.bd-on:root:root #heroProgress .bd #suivant { width: 480px !important; max-width: 100% !important; column-gap: var(--sp-1) !important; } }
/* Precedent + affiche + Prochain = 2 x (96 + 2 x 10 de marge) + 236 + 2 ecarts : avec l ecart de 28 px du site (524 px) Prochain passait a la ligne sous l affiche, sur la rangee Requis / valider */
/* statut du rythme : colore a toutes les largeurs */
.bd-obj-etat b.is-retard { color: var(--danger, #e23636); }
.bd-obj-etat b.is-avance { color: var(--ok, #4cc38a); }
.bd-obj-etat b.is-juste { color: var(--juste, #E8B04A); } /* « Bon rythme » : ambre, entre le vert (en avance) et le rouge (en retard) */
/* tour 24 (3 nov.) : les blocs du tour 21 (droite en miroir du planning) et la ligne d etat du tour 23 valent des 1000 px : a 1000 px « Progression » tombait sous l objectif */
@media (min-width: 900px) {
  /* le selecteur de route debordait de 16 px a droite (215 px pour 199) : c etait l etiquette « Equipe » du survol, posee hors du bouton ; on lui garde sa place dans la case */
  #topbar #routeSlotTete .route-switch { padding-inline: 18px; }
}
@media (min-width: 1000px) {
  /* rouge du site sur le fond sombre : 4,35:1 ; eclairci a 5,6:1 */
  .bd-obj-etat b.is-retard { color: color-mix(in srgb, var(--danger, #e23636) 80%, #fff); }
  /* « 0 % » sortait a gauche de la colonne (centre sur le debut de la barre) : il glisse de 0 a 100 % de sa largeur selon la position */
  .bd-obj-moi { transform: translateX(calc(-1 * var(--p, 50%))); }
}
/* tour 25 (3 nov.) : « Parcours » devant Complet / Express */
@media (min-width: 900px) {
  .bd-parc > summary::before { content: "Parcours "; opacity: .65; }
}
/* tour 26 (4 nov.) : « Parcours Complet » au-dessus du pourcentage, PC seulement */
@media (min-width: 900px) {
  html.bd-on:root:root .bd-d #pctMenu > .bd-parc { margin: 8px 0 0 !important; order: 99 !important; } /* tour 29 : sous le compteur (order : le compteur est range par order dans la colonne) */
}
/* tour 25 : objectif en « voie » (une case par titre), PC seulement ; le repere montre ou il faudrait en etre */
.bd-voie { display: none; }
@media (min-width: 900px) {
  .bd-obj-piste { display: none; }
  .bd-voie { display: block; margin: 14px 0 18px; }
  .bd-voie-tete { display: flex; align-items: baseline; gap: 4px; margin-bottom: 10px; font: 500 13px var(--body); color: var(--text-dim); }
  .bd-voie-tete b { font: 700 20px var(--body); color: var(--paper); }
  .bd-voie-tete em { margin-left: auto; font-style: normal; font-weight: 600; color: var(--paper); }
  .bd-voie-cases { display: grid; grid-template-columns: repeat(23, minmax(0, 1fr)); gap: 3px; }
  .bd-voie-cases i { position: relative; height: 18px; border-radius: 3px; background: var(--ink-3); }
  .bd-voie-cases i.is-fait { background: var(--doom, #18C818); }
  .bd-voie-cases i.is-suivant { box-shadow: inset 0 0 0 2px var(--paper); }
  .bd-voie-cases i.is-du { box-shadow: inset 0 0 0 2px var(--danger, #e23636); }
  .bd-voie-phases { position: relative; height: 14px; margin-top: 6px; }
  .bd-voie-phases span { position: absolute; top: 0; transform: translateX(-100%); font: 500 11px var(--body); color: var(--text-dim); }
}
/* tour 27 (4 nov.) : Parcours a droite du titre, bloc Objectif reordonne, phases en boutons, echelle de 8 px ; PC seulement */
@media (min-width: 900px) {
  html.bd-on:root:root .bd-d > .bd-d-ligne { order: -1 !important; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 12px 0 16px !important; }
  html.bd-on:root:root .bd-d-ligne > .bd-d-titre { margin: 0 !important; }
  .bd-d-ligne .bd-parc { margin: 0; text-align: right; font: 500 14px var(--body); white-space: nowrap; }
  .bd-d-ligne .bd-parc-menu { left: auto; right: 0; transform: none; max-width: calc(100vw - 32px); }
  .bd-d .bd-bloc { gap: 8px; }
  .bd-d .bd-bloc > .bd-tete { justify-content: space-between; align-items: baseline; }
  .bd-tete .bd-obj-etat { margin: 0; }
  .bd-objs { margin-top: 8px; }
  .bd-voie { margin: 8px 0 0; }
  .bd-voie-tete { margin-bottom: 8px; }
  .bd-voie-cases i { transition: opacity .15s; }
  .bd-voie-cases i.is-hors { opacity: .3; }
  .bd-voie-phases { height: 24px; margin-top: 8px; }
  .bd-voie-phases button { position: absolute; top: 0; transform: translateX(-100%); height: 24px; padding: 0 8px; border: 1px solid var(--ink-4); border-radius: 6px; background: none; font: 500 11px var(--body); color: var(--text-dim); cursor: pointer; }
  .bd-voie-phases button::after { content: ""; position: absolute; inset: -4px; }
  .bd-voie-phases button:hover, .bd-voie-phases button[aria-pressed="true"] { background: var(--ink-3); }
  .bd-voie-phases button:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
  .bd-d .bd-obj-voir { margin: 0; }
  .bd-d .bd-obj-pour { margin: 0 !important; }
}

/* tour 28 : zone cliquable des phases a 34 px (cible tactile), aspect visible inchange ; PC seulement */
@media (min-width: 900px) {
  .bd-voie-phases button::after { inset: -6px -3px; }
  .bd-d-ligne .bd-parc { align-self: baseline; } /* le align-self center de la regle 464 gagnait sur align-items */
  /* Fermer / Continuer restent visibles : la boite defile, le bouton colle en bas */
  .bd-recap-boite { max-height: calc(100vh - 48px); overflow: auto; }
  .bd-recap-boite > .bd-recap-ok { position: sticky; bottom: 12px; box-shadow: 0 0 0 8px var(--ink-1); }
  .bd-recap-boite.bd-pl-fenetre { padding-bottom: 12px !important; }

}

/* tour 29 (4 nov.) : retours de Romain sur Progression / Objectif ; PC seulement */
@media (min-width: 900px) {
  /* Parcours Complet : sous « n titres sur 61 », calé à gauche, plus sur la ligne du titre */
  html.bd-on:root:root .bd-d .bd-parc { display: block; align-self: flex-start; margin: 8px 0 0 !important; text-align: left; font: 500 14px var(--body); white-space: nowrap; }
  .bd-d .bd-parc-menu { left: 0; right: auto; transform: none; }
  /* Objectif : le statut (En retard / en avance) passe sous le mot « Objectif » */
  .bd-d .bd-bloc > .bd-tete { flex-direction: column; align-items: flex-start; gap: 4px; }
  /* Comment y arriver : plus de bouton, le texte est directement affiché (JS : det.hidden = false sur PC) */
  .bd-d .bd-obj-voir { display: none; }
  /* P1 / P2 / P3 : seulement les lettres, ni cadre ni fond, même au survol et au clic ; le nom s'affiche au clic (JS) */
  .bd-voie-phases button { border: 0; padding: 0 4px; background: none; }
  .bd-voie-phases button:hover, .bd-voie-phases button[aria-pressed="true"] { background: none; color: var(--paper); }
}

/* tour 30 (4 nov.) : Planning, Progression, Objectif = un seul style de titre (celui de Planning : 22 px, graisse 600, blanc, sans lueur) ; PC seulement */
@media (min-width: 900px) {
  html.bd-on:root:root .bd-d-titre, html.bd-on:root:root .bd-d .bd-bloc > .bd-tete h3 { font: 600 22px var(--display, var(--body)); letter-spacing: normal; color: var(--paper); text-shadow: none; filter: none; }
}
/* tour 31 (4 nov.) : mode seance centre ; PC seulement */
@media (min-width: 900px) {
  /* titre centre sur le cadre ; le X reste dans son coin */
  html.bd-on:root:root #heroProgress .se-cadre .se-entete { justify-content: center; position: relative; }
  html.bd-on:root:root #heroProgress .se-cadre .se-entete .se-fermer { position: absolute; left: 24px; right: auto; top: 50%; transform: translateY(-50%); }
  /* « Cette nuit » et les puces sur le meme axe, rangee et affiche centrees dans la colonne */
  html.bd-on:root:root #heroProgress .se-cadre .se-durees { justify-content: center; align-items: center; }
  html.bd-on:root:root #heroProgress .se-cadre .se-films { justify-content: center; }
  /* ticket : 22,5 px de chaque cote (la bordure gauche compte 1 px) */
  html.bd-on:root:root #heroProgress .se-cadre .se-ticket { padding: 16px 22.5px 16px 21.5px; }
  /* hauteur du cadre : suit son contenu, sans vide sous le bouton */
  html.bd-on:root:root #heroProgress .se-cadre { height: auto; }
  /* projection : 10 %, fleche, 11 % et +1 titre sur la meme ligne de base, ecart regulier */
  /* (la regle « .bd-d > #pctMenu > * { align-self: flex-start !important } » du tour 21 gagnait : meme poids, !important) */
  html.bd-on.bd-seance:root:root .bd-d > #pctMenu > .pct-btn, html.bd-on.bd-seance:root:root .bd-d > #pctMenu > .se-gain { align-self: baseline !important; }
  html.bd-on.bd-seance:root:root #pctMenu > .se-gain { gap: 18px; }
  /* recap d ouverture : boite de la largeur de la grille du tableau de bord */
  .bd-recap-boite { width: min(1480px, calc(100vw - 48px)); max-width: calc(100vw - 48px); }
  /* recap de fin de seance (.se-recap) : plus plafonne a 1160 px, il prend la largeur de la grille */
  html.bd-on:root:root #heroProgress .se-recap { max-width: none; }
}

/* tour 32 : recap d arrivee en bandeau horizontal (PC seulement) */
@media (min-width: 900px) {
  .bd-recap-boite.bd-recap-bandeau { width: min(1100px, calc(100vw - 48px)); max-width: calc(100vw - 48px); padding: 20px 36px; gap: 12px; }
  .bd-recap-bandeau h2 { font: 600 22px var(--display, var(--body)); color: var(--paper); text-shadow: none; }
  .bd-recap-corps { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 262px; }
  .bd-recap-g { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 36px; border-right: 1px solid var(--ink-4); }
  .bd-recap-d { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; justify-content: center; gap: 14px 18px; padding: 0 36px; }
  .bd-recap-bandeau h3 { margin: 0; font: 600 13px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
  .bd-recap-bandeau .bd-recap-depuis { margin: 0; font: 400 13px var(--body); color: var(--text-dim); }
  .bd-recap-pct { display: flex; align-items: baseline; gap: 12px; }
  .bd-recap-pct b { font: 700 64px/1 var(--display, var(--body)); color: var(--doom, #18C818); }
  .bd-recap-pct em { font: 600 18px var(--body); font-style: normal; color: var(--doom, #18C818); }
  .bd-recap-sur { margin: 0; font: 500 15px var(--body); color: var(--paper); }
  .bd-recap-pastille { padding: 4px 12px; border-radius: 999px; font: 600 13px var(--body); color: #0A0A0C; background: var(--juste, #E8B04A); }
  .bd-recap-pastille.is-retard { background: var(--danger, #e23636); color: #fff; }
  .bd-recap-pastille.is-avance { background: var(--ok, #4cc38a); }
  .bd-recap-g .bd-voie { display: block; margin: 6px 0 0; }
  .bd-recap-bandeau .bd-recap-aff .bd-mini { width: 92px; }
  .bd-recap-prep { align-self: flex-end; padding: 10px 20px; border: 1px solid var(--paper); border-radius: 6px; background: none; color: var(--paper); font: 600 14px var(--body); cursor: pointer; }
  .bd-recap-prep:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
}
/* tour 33 : hors seance, le libelle Preparer une seance vient du CSS (le mot natif Seance est masque), sans scintillement */
@media (min-width: 900px) {
  html.bd-on:root:root:not(.bd-seance) .bd-se .se-mot { font-size: 0 !important; }
  html.bd-on:root:root:not(.bd-seance) .bd-se .se-mot::after { content: "Préparer une séance"; font: 600 16px var(--body); }
}
/* tour 34 (4 nov.) : recap de fin de seance pleine grille ; la regle « :is(.se-prep, .se-recap) » gardait son plafond de 1160 px a specificite egale, ici on se place apres elle */
@media (min-width: 900px) {
  html.bd-on:root:root #heroProgress > .hero-row .se-recap { max-width: none; }
}
/* tour 35 : recap sans bouton, centre ; bas des trois colonnes sur une meme ligne */
@media (min-width: 900px) {
  .bd-recap-corps { align-items: stretch; }
  .bd-recap-g, .bd-recap-d { justify-content: center; align-items: center; align-content: center; padding: 0 24px; }
  .bd-recap-g > *:not(.bd-recap-pastille) { width: 459px; max-width: 100%; text-align: left; }
  .bd-recap-g .bd-voie-obj { margin: 6px 0 -4px; font: 600 13px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
  .bd-recap-d > .bd-recap-rien { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; margin: 0; font: 400 14px var(--body); color: var(--text-dim); }
  .bd-recap-d > h3 { text-align: center; }
  .bd-recap-g { border-right: 0; position: relative; }
  .bd-recap-g::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; border-right: 1px solid var(--ink-4); }
  .bd-recap-bandeau .bd-recap-pct { align-items: baseline; }
  .bd { align-items: stretch; }
}

/* tour 36 (4 nov.) : mini-affiches Precedent / Suivant eteintes si le titre n est pas vu ou est mis de cote (meme traitement que les jours vus du planning : assombrie et desaturee) ; la grande affiche n est jamais eteinte ; PC seulement */
@media (min-width: 900px) {
  #heroProgress .maq-fleches .maq-vignette { transition: filter .15s; }
  #heroProgress .maq-fleches .maq-vignette.is-eteint { filter: saturate(.2) brightness(.55); }
}

/* tour 37 : recap d arrivee (bandeau) a hauteur fixe de 440 px (455 sans titre vu, 424 avec un : padding 20 -> 12), bouton Continuer centre ; PC seulement */
@media (min-width: 900px) {
  .bd-recap-boite.bd-recap-bandeau { padding: 12px 36px; min-height: 440px; }
  .bd-recap-boite.bd-recap-bandeau > .bd-recap-ok { align-self: center; }
}

/* tour 38 (corrige apres mesure) : le bas de la phrase du bloc Objectif doit tomber sur le bas du carton Planning (587,8 mesure) ; avant : phrase a 609,8 avec 40 px au-dessus du bloc, donc 18 px (40 - 22). shortcut: valeur mesuree a 1900 px pour un mois de 6 lignes ; a recalculer si la hauteur du Planning change ; PC seulement */
@media (min-width: 900px) {
  html.bd-on:root:root .bd-d > .bd-bloc { margin-top: 18px !important; }
}

/* tour 39 (4 nov.) : MODE SEANCE seulement : le tableau de bord se regroupe autour du centre. Planning descend (centre dans sa colonne) ; Progression et Objectif se rapprochent (plus de grand vide entre eux) et forment un seul groupe centre ; PC seulement */
@media (min-width: 900px) {
  html.bd-on.bd-seance:root:root .bd-g { display: flex; flex-direction: column; justify-content: center; }
  html.bd-on.bd-seance:root:root .bd-d { justify-content: center; }
  html.bd-on.bd-seance:root:root .bd-d > .bd-bloc { margin-top: 20px !important; } /* 20 + 12 de padding du bloc = 32 px entre Progression et le titre Objectif (mesure : 44 px avec 32) */
}

/* tour 40 : recap = seulement les titres vus depuis la derniere visite (plus de grande affiche Ensuite) ; rangee de 4 affiches max 157 x 236, centree dans la zone, pastille +N au-dela ; PC seulement */
@media (min-width: 900px) {
  .bd-recap-bandeau .bd-recap-d { flex-wrap: nowrap; flex-direction: column; justify-content: flex-start; align-items: center; align-content: center; gap: 6px; }
  .bd-recap-bandeau .bd-recap-aff { flex: 1; display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 14px; max-width: 100%; }
  .bd-recap-bandeau .bd-recap-aff figure { flex: 0 1 157px; min-width: 0; }
  .bd-recap-bandeau .bd-recap-aff .bd-mini { width: 100%; height: auto; aspect-ratio: 157 / 236; max-height: 236px; object-fit: cover; }
  .bd-recap-plus { flex: none; padding: 2px 8px; border-radius: var(--r-pill, 99px); font: 700 12px var(--body); color: var(--paper); background: color-mix(in srgb, var(--paper) 16%, transparent); }
}

/* tour 40 (4 nov.) : recap de fin de seance en deux colonnes egales, trait au milieu ; affiches ~ 2/3 en vh (PC seulement) */
@media (min-width: 900px) {
  html.bd-on:root:root #heroProgress .se-recap { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); align-items: stretch; justify-content: stretch; }
  html.bd-on:root:root #heroProgress .se-recap > .se-bloc { align-self: center; justify-self: stretch; gap: 2vh; }
  html.bd-on:root:root #heroProgress .se-recap .se-titre { font-size: clamp(15px, 1.9vh, 20px); }
  html.bd-on:root:root #heroProgress .se-recap figure { width: clamp(120px, 21vh, 230px); gap: 6px; font-size: clamp(15px, 1.8vh, 20px); }
  html.bd-on:root:root #heroProgress .se-recap img { width: clamp(120px, 21vh, 230px); margin-bottom: 6px; }
  html.bd-on:root:root #heroProgress .se-recap .se-ligne { gap: 2.2vh; }
  html.bd-on:root:root #heroProgress .se-recap .se-ok { font-size: clamp(20px, 2.6vh, 28px); }
  html.bd-on:root:root #heroProgress .se-recap .se-note { font-size: clamp(16px, 2vh, 22px); }
  html.bd-on:root:root #heroProgress .se-recap .se-choix { gap: 6px; }
  html.bd-on:root:root #heroProgress .se-recap .se-choix button { padding: clamp(5px, .8vh, 9px) clamp(10px, 1.5vh, 16px); font-size: clamp(14px, 1.5vh, 18px); }
  html.bd-on:root:root #heroProgress .se-recap .se-bouton { padding: clamp(10px, 1.2vh, 14px) clamp(18px, 2.4vh, 26px); font-size: clamp(14px, 1.5vh, 18px); }
}

/* tour 41 : vague de la seance (PC), remplace le cadre vert des petites affiches */
@media (min-width: 900px) {
  html.bd-seance .se-mini { display: none !important; }
  html.bd-seance #heroProgress .maq-vignette, html.bd-seance #heroProgress .maq-prec { display: none !important; }
  html.bd-seance #suivantAffiche { position: relative; z-index: 1; }
  .bd-vague { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
  .bd-v { position: absolute; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; transition: transform .35s ease, opacity .35s ease; animation: bd-v-in .35s ease; }
  .bd-v img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
  .bd-v.est-vu img { filter: brightness(.55); }
  .bd-v-ok { position: absolute; bottom: 8px; left: 10px; z-index: 1; line-height: 1; pointer-events: none; font: 700 36px/1 var(--body); color: #3FCF6E; text-shadow: 0 0 3px #000; }   /* 36 x 0,62 = ~22 px apparent */
  .bd-v.est-skip .bd-v-ok { color: #F2555A; }   /* mis de cote : ✕ rouge du « Terminer », meme assombrissement que les vus */
  .bd-v.dr .bd-v-ok { left: auto; right: 10px; }   /* cote exterieur : a droite pour les titres d apres */
  .bd-v-plus { position: absolute; transform: translate(-50%, -50%); font: 600 12px var(--body); color: var(--text-dim); }
  @keyframes bd-v-in { from { opacity: 0; } }
}
/* le centre s elargit en seance pour loger 2 affiches de chaque cote ; en dessous de 1200 px une seule, le centre ne bouge pas */
@media (min-width: 1360px) { html.bd-seance .bd { grid-template-columns: minmax(0, 1fr) 620px minmax(0, 1fr) !important; } }

/* tour 41 (suite) : Suivant remplace par la vague ; recap en colonnes exactes, alignees en haut, qui tient dans le viewport */
@media (min-width: 900px) {
  html.bd-seance #heroProgress #suivant > .maq-fleches button:is(.maq-prec, .maq-prochain) { display: none !important; }   /* meme chemin que refonte.css (display: grid !important), sinon il gagne */
  html.bd-on:root:root #heroProgress > .hero-row .se-recap { column-gap: 0; padding-left: 0; padding-right: 0; height: min(640px, calc(100vh - 130px)) !important; }
  html.bd-on:root:root #heroProgress .se-recap > .se-bloc { align-self: start; padding: 0 28px; }
}
/* tour 42 : recap = exactement l interieur de la bordure de la hero-row (une seule hauteur), contenu et trait centres ; (47px + 7vh) = hauteur du bloc hors affiche (titre, gaps, Vu ?/boutons) */
@media (min-width: 1360px) {
  html.bd-on:root:root #heroProgress > .hero-row > .se-recap { top: 0 !important; bottom: 0 !important; height: auto !important; padding: 0 !important; container-type: size; grid-template-rows: minmax(0, 1fr); align-items: center;
    --af: clamp(96px, calc((100cqh - 210px) / 1.5), 240px); }
  html.bd-on:root:root #heroProgress > .hero-row > .se-recap > .se-bloc { align-self: start; margin-top: calc((100cqh - 1.5 * var(--af) - (47px + 7vh)) / 2); }
  html.bd-on:root:root #heroProgress > .hero-row > .se-recap > .se-trait { align-self: center; height: 78cqh; }
  html.bd-on:root:root #heroProgress > .hero-row > .se-recap figure, html.bd-on:root:root #heroProgress > .hero-row > .se-recap img { width: var(--af); }
  /* tour 43 : toutes les affiches de la derniere seance sur UNE rangee (plus de retour a la ligne qui sortait de la boite) ; au-dela de 2 titres la taille se reduit pour tenir dans la moitie de la boite : (50cqw - 56px de marges - 20px x (n-1)) / n */
  html.bd-on:root:root #heroProgress > .hero-row > .se-recap .se-ligne { flex-wrap: nowrap; max-width: none; gap: 20px; }
  html.bd-on:root:root #heroProgress > .hero-row > .se-recap:has(.se-ligne figure:nth-child(3)) { --af: min(clamp(96px, calc((100cqh - 210px) / 1.5), 240px), calc((50cqw - 96px) / 3)); }
  html.bd-on:root:root #heroProgress > .hero-row > .se-recap:has(.se-ligne figure:nth-child(4)) { --af: min(clamp(96px, calc((100cqh - 210px) / 1.5), 240px), calc((50cqw - 116px) / 4)); }
  html.bd-on:root:root #heroProgress > .hero-row > .se-recap:has(.se-ligne figure:nth-child(5)) { --af: min(clamp(96px, calc((100cqh - 210px) / 1.5), 240px), calc((50cqw - 136px) / 5)); }
  html.bd-on:root:root #heroProgress > .hero-row > .se-recap:has(.se-ligne figure:nth-child(6)) { --af: min(clamp(96px, calc((100cqh - 210px) / 1.5), 240px), calc((50cqw - 156px) / 6)); }
}
@media (min-width: 900px) and (max-height: 800px) {
  html.bd-on:root:root #heroProgress .se-recap figure, html.bd-on:root:root #heroProgress .se-recap img { width: clamp(96px, 17vh, 230px); }
}
/* tour 44 (4 nov.) : en seance, le pourcentage et sa projection ne passent jamais a la ligne (le signe pourcent tombait sous le chiffre) */
@media (min-width: 900px) {
  html.bd-on.bd-seance:root:root #pctMenu, html.bd-on.bd-seance:root:root #pctMenu > .pct-btn, html.bd-on.bd-seance:root:root #pctMenu > .se-gain { flex-wrap: nowrap !important; white-space: nowrap !important; }
  html.bd-on.bd-seance:root:root #pctMenu > .se-gain b, html.bd-on.bd-seance:root:root #pctMenu > .se-gain em { white-space: nowrap; }
  /* la colonne se resserre sous 1900 px : gaps reduits et chiffre a 90 % (mesure : 298 px de contenu pour 273 de colonne a 1500 px) */
  html.bd-on.bd-seance:root:root #heroProgress .bd #pctMenu { column-gap: 12px; }
  html.bd-on.bd-seance:root:root #pctMenu > .se-gain { gap: 12px; }
  html.bd-on.bd-seance:root:root #heroProgress .bd #pctMenu .pct-btn { zoom: .9 !important; }
}

/* tour 45 (4 nov.) : rangee du bas Duo resserree (le ruban est reecrit au tour 48) */
@media (min-width: 900px) {
  /* rangee du bas : environ 28 px gagnes */
  html.bd-on.route-duo #heroProgress .bd .bd-bas { padding-top: 8px; gap: 8px; }
  html.bd-on.route-duo #heroProgress .bd .bd-carte { padding-top: 6px; padding-bottom: 6px; gap: 4px; }
}

/* tour 48 (5 nov.) : le ruban Duo rentre dans le bloc central, au-dessus de l etiquette : [Romain] [synchro] [Lea], emblemes sur les pseudos, ? et ... sous la fleche. Ni cadre ni fond ni ombre */
@media (min-width: 900px) {
  html.bd-on.route-duo:root:root .bd-c #rubanDuo { display: flex !important; flex-direction: row; align-items: flex-start !important; justify-content: center !important; grid-area: auto; position: relative; z-index: 6; box-sizing: border-box; width: auto !important; height: auto !important; min-height: 0 !important; gap: 0 24px; margin: 0 0 14px !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; --ruban-emb: 56px; }
  html.bd-on.route-duo:root:root .bd-c #rubanDuo::before, html.bd-on.route-duo:root:root .bd-c #rubanDuo::after { content: none !important; display: none !important; }   /* refonte.css l.1068 / l.1875 */
  html.bd-on.route-duo:root:root .bd-c #rubanDuo > .ruban-cote ~ .ruban-cote, html.bd-on.route-duo:root:root .bd-c #rubanDuo #rubanB { margin-left: 0 !important; }
  html.bd-on.route-duo:root:root .bd-c #rubanDuo .ruban-cote { flex-direction: column; align-items: center; gap: 4px; width: 88px !important; max-width: none; position: relative; }   /* deux cotes de meme largeur : la fleche de synchro tombe pile sur l axe (Romain etait 10 px plus large que Lea, fleche a +5 px) */
  html.bd-on.route-duo:root:root .bd-c #rubanDuo :is(.ruban-nom, .ruban-sous) { overflow: visible; max-width: none; }
  html.bd-on.route-duo:root:root .bd-c #rubanDuo .ruban-nom { font-size: 19px; margin: 0; }
  html.bd-on.route-duo:root:root .bd-c #rubanDuo #rubanA .ruban-sous { margin-left: 0; }   /* crayon de ruban-sous : a mesurer, il doit rester cliquable sans chevaucher l embleme */
  html.bd-on.route-duo:root:root .bd-c #rubanDuo .ruban-bulle { width: 56px !important; height: 56px !important; }
  html.bd-on.route-duo:root:root .bd-c #rubanDuo .ruban-bulle svg { width: 46px; height: 46px; }
  html.bd-on.route-duo:root:root .bd-c #rubanDuo > .tb-sync:not([hidden]) { display: flex !important; flex-direction: column !important; align-items: center; min-width: 0; width: auto; height: auto !important; margin-top: 0; position: relative; }
  html.bd-on.route-duo:root:root .bd-c #rubanDuo .tb-fleche { height: 56px; }
  html.bd-on.route-duo:root:root .bd-c #rubanDuo .tb-fleche svg { width: 36px; height: 36px; }
  html.bd-on.route-duo:root:root .bd-c #rubanDuo .tb-etat-l { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }   /* lisible par les lecteurs d ecran, invisible */
  html.bd-on.route-duo:root:root .bd-c #rubanDuo .tb-actions { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 2px; position: relative; }
}
@media (min-width: 900px) {
  /* diode a toi cliquable : zone de 18 px sans changer la taille visuelle (6 px) */
  .bd-pl-dispo i.is-cliquable { position: relative; cursor: pointer; }
  .bd-pl-dispo i.is-cliquable::after { content: ""; position: absolute; inset: -6px; }
}

/* tour 49 : Duo, vote dans le panneau du jour, rangee du bas = une seule carte en ligne */
@media (min-width: 900px) {
  html.bd-on.route-duo #heroProgress .bd .bd-bas { grid-template-columns: 1fr; padding-top: 8px; }
  html.bd-on.route-duo #heroProgress .bd .bd-bas .bd-carte { flex-direction: row; align-items: center; flex-wrap: nowrap; flex: 1 1 auto; padding: 2px 10px; gap: 12px; }
  html.bd-on.route-duo #heroProgress .bd .bd-bas .bd-carte-t { padding-right: 0; }
  html.bd-on.route-duo #heroProgress .bd .bd-bas .bd-reac button { min-width: 26px; height: 26px; }
  html.bd-on.route-duo #heroProgress .bd .bd-album { margin: 0; padding: 0; border: 0; background: none; color: var(--text-dim); font: 600 13px var(--body); cursor: default; }
  html.bd-on.route-duo #heroProgress .bd .bd-pl-choix { max-height: 60vh; overflow-y: auto; }   /* le panneau reste dans l ecran */
  html.bd-on.route-duo #heroProgress .bd .bd-pl-choix .bd-vote { flex-wrap: nowrap; }
}

/* tour 50 : Duo seulement. A) plus de filet sur la rangee du bas ; B) carte du dernier vu sur deux lignes ; C) lien album dans la colonne ; D) synchro ? / fleche / ... en colonne ; E) panneau du jour en sections */
@media (min-width: 900px) {
  html.bd-on.route-duo:root:root .bd-bas { border-top: 0 !important; border-image: none !important; background-image: none !important; padding-top: 18px; }
  html.bd-on.route-duo:root:root #heroProgress .bd .bd-bas .bd-carte.bd-carte--duo { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 10px; align-items: center; padding: 13px 14px; border: 1px solid var(--ink-4) !important; border-radius: 8px; background: var(--ink-1) !important; }
  html.bd-on.route-duo:root:root .bd-carte--duo > .bd-micro { grid-column: 1; grid-row: 1 / span 2; width: 56px; height: auto; align-self: start; }
  html.bd-on.route-duo:root:root .bd-carte--duo .bd-carte-l1 { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; }
  html.bd-on.route-duo:root:root .bd-carte--duo > .bd-notes { grid-column: 2; grid-row: 2; }
  html.bd-on.route-duo:root:root .bd-carte--duo .bd-carte-t { flex: 1 1 auto; min-width: 0; padding-right: 0; gap: 14px; font: 700 18px var(--body); }
  html.bd-on.route-duo:root:root .bd-carte--duo .bd-carte-t .bd-micro { width: 56px; height: auto; flex: none; }
  html.bd-on.route-duo:root:root .bd-carte--duo .bd-reac { flex: none; flex-wrap: nowrap; }
  html.bd-on.route-duo:root:root .bd-carte--duo .bd-reac button { min-width: 34px; height: 34px; }
  html.bd-on.route-duo:root:root .bd-carte--duo .bd-notes { flex-wrap: nowrap; gap: 28px; align-items: baseline; }
  html.bd-on.route-duo:root:root .bd-carte--duo .bd-note { max-width: none; overflow: visible; text-overflow: clip; white-space: normal; }
  /* C : lien discret en tete de la colonne, aligne a gauche comme le pourcentage */
  html.bd-on.route-duo:root:root .bd-d > .bd-album { order: -1 !important; align-self: flex-start !important; margin: 0 0 8px !important; text-align: left !important; padding: 0; border: 0; background: none; color: var(--text-dim); font: 600 12px var(--body); text-align: left; cursor: default; }
  /* B : pseudo entier sous les affiches (refonte.css l.2038 : max-width + ellipsis ; styles.css l.5394 / l.11543 : max-width 7rem) */
  html.bd-on.route-duo:root:root #roadmap .card :is(.band-qui, .card-band.is-nomme .band-qui) { max-width: none !important; overflow: visible !important; text-overflow: clip !important; white-space: normal !important; width: max-content; overflow-wrap: anywhere; }
  /* D : fleche, etat, ... dessous (la marge haute est calee par bord.js) */
  html.bd-on.route-duo:root:root .bd-c #rubanDuo .tb-actions { display: contents; }
  html.bd-on.route-duo:root:root .bd-c #rubanDuo .tb-fleche { order: 0; }
  html.bd-on.route-duo:root:root .bd-c #rubanDuo .tb-plus { order: 1; margin-top: 4px; }
  html.bd-on.route-duo:root:root .bd-c #rubanDuo .tb-aide-txt .bd-aide-p { display: block; }
  html.bd-on.route-duo:root:root .bd-c #rubanDuo .tb-aide-txt .bd-aide-p + .bd-aide-p { margin-top: 10px; }
  /* E : sections du panneau du jour */
  html.bd-on:root:root .bd-pl-choix .bd-pl-jour { font: 700 23px var(--body); margin: 0 0 4px; }
  html.bd-on:root:root .bd-pl-choix .bd-pl-sec { margin: 14px 0 0; font: 700 12px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
}

/* tour 51 : Duo, panneau du jour compact (jour sans film <= 460 px) */
@media (min-width: 900px) {
  html.bd-on:root:root .bd-pl-choix { gap: 6px; padding: 10px 12px; }
  html.bd-on.route-duo:root:root .bd-pl-choix .bd-vote { display: flex; flex-wrap: nowrap; gap: 6px; }
  html.bd-on.route-duo:root:root .bd-pl-choix .bd-vote > button { flex: 1 1 0; min-width: 0; display: flex; flex-direction: row; align-items: center; gap: 6px; padding: 4px 6px; }
  html.bd-on.route-duo:root:root .bd-pl-choix .bd-vote .bd-micro { width: 30px !important; flex: none; }
  html.bd-on:root:root .bd-pl-choix .bd-pl-sec { margin-top: 10px; }
  html.bd-on:root:root .bd-pl-choix .bd-pl-jour { font-size: 22px; margin-bottom: 0; }
}

/* tour 53 (5 nov.) : Duo PC, notes d origine sous la ligne de boutons ; plus de Dernier vu ; filets partiels Duo et Solo */
@media (min-width: 900px) {
  html.bd-on:not(.is-vue-groupe):root:root .bd-bas { display: none !important; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d > .bd-bloc { margin-top: 18px !important; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d > .bd-bloc::before { content: ""; flex: none; align-self: flex-start; width: 40%; height: 1px; margin: 0 0 10px; background: var(--ink-4); }   /* filet partiel ; 10 + gap 8 = 18 px dessous */
  /* Duo : .lg-notes sur sa propre ligne sous Requis / coeur, centree sous l affiche (la rangee est deja centree par translate), pseudos entiers */
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes { position: absolute; top: 100%; left: 50%; translate: -50% 0; width: max-content; margin-top: 6px; padding: 0 !important; border-left: 0 !important; }
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes { align-items: flex-start !important; gap: 28px !important; }
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes .card-band { gap: 28px !important; align-items: flex-start !important; }   /* les deux notes sont enfants de .card-band, pas de .lg-notes */   /* refonte.css l.2237 impose gap: 6px !important */
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes :is(.band-mine, .band-duo) { width: max-content !important; min-width: 0 !important; }   /* la boite suit le pseudo, qui debordait de 4 a 8 px */
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes .band-value { font-size: 15px !important; }
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes .band-qui { font-size: 12px !important; font-weight: 600 !important; color: var(--paper) !important; }   /* 10 px etait sous le plancher de lisibilite (10,5) */   /* les deux notes alignees par le haut, meme disposition */
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes :is(.band-mine, .band-duo) { display: grid !important; grid-template-columns: auto auto !important; justify-content: center !important; align-items: center !important; align-content: start !important; gap: 2px 4px !important; height: auto !important; }   /* etoile + chiffre sur une ligne, pseudo dessous (Romain comme Lea) */
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes :is(.band-mine, .band-duo) .band-qui { grid-column: 1 / -1; justify-self: center; text-align: center; }
  html.bd-on.route-duo:root:root #suivant .tb-rang .band-qui { max-width: none !important; width: max-content !important; flex: none !important; overflow: visible !important; text-overflow: clip !important; white-space: nowrap !important; }
}

/* tour 54 (5 nov.) : Solo + Duo (pas Equipe). Colonnes laterales elargies, planning sans titre, Preparer une seance sous le planning, bloc droit allege */
@media (min-width: 1200px) {
  /* le cadre garde sa largeur d avant (1480 px max) ; ce sont les blocs DANS le cadre qui se rapprochent de ses bords (marge interne 20 px au lieu de 56) : le centre garde sa largeur, les cotes se partagent le reste */
  html.bd-on:not(.is-vue-groupe):root:root #heroProgress > .hero-row { max-width: min(1480px, calc(100vw - 48px)) !important; width: min(1480px, calc(100vw - 48px)) !important; padding-left: 20px !important; padding-right: 20px !important; padding-bottom: 20px !important; }   /* V799 : bas = haut (20 px) ; la place des reactions Duo est dans .bd-c (--bd-reserve, mesuree en JS) */
  html.bd-on:not(.is-vue-groupe):not(.bd-seance):root:root #heroProgress .bd { grid-template-columns: minmax(0, 1fr) 480px minmax(0, 1fr) !important; column-gap: 52px !important; padding-left: 0; padding-right: 0; }
}
@media (min-width: 1360px) {
  html.bd-on:not(.is-vue-groupe):not(.bd-seance):root:root #heroProgress .bd { grid-template-columns: minmax(0, 1fr) 560px minmax(0, 1fr) !important; }
}
@media (min-width: 900px) {
  /* A : les boutons agrandir et « i » sont a gauche de la ligne du mois (selecteur centre sur la grille) */
  html.bd-on:not(.is-vue-groupe):root:root .bd-planning .bd-pl-mois-nav { position: relative; margin: 0 0 10px; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-planning .bd-pl-mois-nav > .bd-pl-outils { position: absolute; left: 0; top: 50%; transform: translateY(-50%); margin: 0; z-index: 30; }   /* V814 - le transform fait de ce bloc un niveau d empilement : sans z-index, la fenetre d aide (z 40) restait dessous les cases du calendrier */
  /* V811 - petite fenetre d aide du calendrier : meme look que .pr-aide-pop (refonte.css) */
  .bd-pl-aide-w { position: relative; display: inline-flex; }
  .bd-pl-aide-pop { --bd-aide-l: 340px; position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; width: min(var(--bd-aide-l), calc(100vw - 16px)); overflow-y: auto; padding: 14px 22px; text-align: left; background: var(--ink-1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22), 0 24px 50px -12px rgb(0 0 0 / .8); }
  .bd-pl-aide-pop[hidden] { display: none; }
  .bd-pl-aide-pop p { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: var(--text-2); text-align: justify; hyphens: auto; }
  .bd-pl-aide-pop p:last-child { margin-bottom: 0; }
  .bd-pl-aide-pop .bd-pl-aide-t { font: 800 15px var(--body); color: var(--paper); text-align: left; }
  .bd-pl-aide-b[aria-expanded="true"] { color: var(--paper); }
  /* V826 - album : le « ? » des dates manquantes, a droite du titre ; la fenetre est bornee par la largeur de l en-tete */
  .bd-album-tete { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .bd-album-aide-pop { position: absolute; z-index: 40; top: calc(100% + 8px); right: 0; box-sizing: border-box; width: min(340px, 100%, calc(100vw - 16px)); padding: 14px 22px; font-size: 13px; line-height: 1.5; color: var(--text-2); text-align: left; background: var(--ink-1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22), 0 24px 50px -12px rgb(0 0 0 / .8); }
  .bd-album-aide-pop[hidden] { display: none; }
  .bd-album-aide-b[aria-expanded="true"] { color: var(--paper); }
  /* affiches du mois : entieres (2:3) et plus grandes, centrees dans une case plus large */
  html.bd-on:not(.is-vue-groupe):root:root .bd-planning:not(.bd-planning--grand) .bd-pl-mois .bd-pile { height: 54px; justify-content: center; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-planning:not(.bd-planning--grand) .bd-pl-mois .bd-pile .bd-micro { flex: none; width: 36px !important; height: 54px; }
  /* B : Preparer une seance, frere du planning dans la colonne gauche, colle dessous (14 de gap - 2 = 12 px), bouton sur toute la largeur */
  html.bd-on:not(.is-vue-groupe):root:root .bd-g > .bd-bloc--se { margin-top: -2px; padding-top: 0; padding-bottom: 0; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-g .bd-se { margin-top: 0; flex: 1 1 auto; min-width: 0; }
  html.bd-on:not(.is-vue-groupe):root:root #heroProgress .bd-g .bd-se .se-zone { zoom: 1 !important; width: 100%; margin: 0 !important; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-g .bd-se .se-preparer { width: 100%; box-sizing: border-box; justify-content: center !important; }   /* meme bouton qu avant (ligne 247) : ni cadre ni marge */
  /* le bouton d aide ? ne change pas la largeur utile : la bulle reste dans la colonne */
  html.bd-on:not(.is-vue-groupe):root:root .bd-g .bd-se-bulle { max-width: calc(100% - 8px); }
  /* C : l horloge de l etiquette decalait le texte de 15 px a gauche : une cale de meme taille a gauche le recentre */
  html.bd-on:not(.is-vue-groupe):not(.route-duo):root:root .bd-etiq:has(> .bd-info-btn)::before {   /* Duo : pas de cale, texte + horloge se centrent ensemble (la phrase longue paraissait decalee, l horloge collee au bord de l affiche) */ content: ""; flex: none; width: 22px; height: 22px; }
  /* D : bloc droit, une seule couleur d accent (le vert, pour le fait), 3 tailles (pourcentage, titres 16, texte 13), l espace comme seul separateur */
  html.bd-on:not(.is-vue-groupe):root:root .bd-d-titre, html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-bloc > .bd-tete h3 { font: 600 16px var(--display, var(--body)); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d > .bd-bloc { margin-top: 32px !important; gap: 14px; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-obj-etat { font-size: 13px; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-obj-etat b.is-retard { color: var(--juste, #E8B04A); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-obj-etat b.is-avance, html.bd-on:not(.is-vue-groupe):root:root .bd-obj-etat b.is-juste { color: var(--ok, #4cc38a); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d #pctMenu .hero-compte { font-size: 13px !important; color: var(--text-dim) !important; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d #pctMenu .hero-compte :is(span, b, strong, em) { font-size: inherit !important; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-parc, html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-parc summary { font-size: 13px; color: var(--text-dim); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-parc summary:hover { color: var(--paper); }
  html.bd-on.route-duo:root:root .bd-d > .bd-album { font: 400 13px var(--body); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-objchoix summary { font: 600 13px var(--body); color: var(--paper); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-obj { border: 0; padding: 8px 10px; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-obj b { font-size: 13px; color: var(--text-dim); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-obj small { font-size: 13px; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-obj.is-on { border: 0; box-shadow: inset 2px 0 0 var(--paper); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-obj.is-on b { color: var(--paper); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-voie-tete { gap: 4px; font-size: 13px; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-voie-tete b { font: 700 13px var(--body); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-voie-tete em { margin-left: 8px; font-weight: 400; color: var(--text-dim); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-voie-tete em::before { content: "· "; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-voie-cases i { background: var(--ink-4); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-voie-cases i.is-fait { background: var(--doom, #18C818); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-voie-cases i.is-du { box-shadow: inset 0 0 0 2px var(--juste, #E8B04A); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-voie-phases button, html.bd-on:not(.is-vue-groupe):root:root .bd-voie-phases span { font-size: 13px; color: var(--text-dim); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-obj-pour { font-size: 13px !important; }
  /* repere "ou tu devrais en etre" : une ligne sous la voie, hors des cases (plus de recouvrement) */
  html.bd-on:not(.is-vue-groupe):root:root .bd-du-leg { margin: 6px 0 0; font: 500 12px var(--body); color: var(--juste, #E8B04A); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-du-leg::before { content: ""; display: inline-block; width: 10px; height: 10px; box-sizing: border-box; margin-right: 6px; vertical-align: -1px; border-radius: var(--r-1); box-shadow: inset 0 0 0 2px currentColor; }
}

/* tour 57 (5 nov.) : Duo : « Preparer une seance » descendu de 12 px sous le planning ; Solo + Duo : le bloc droit descend de 12 px et grossit de 8 % (16 -> 17 px, 13 -> 14 px) pour mieux tenir avec le planning et le centre */
@media (min-width: 1200px) {
  html.bd-on.route-duo:root:root .bd-g > .bd-bloc--se { margin-top: 10px; }
  html.bd-on:not(.is-vue-groupe):not(.bd-seance):root:root #heroProgress .bd > .bd-d { zoom: 1.08; padding-top: 12px; }
}
/* tour 56b (5 nov.) : Duo, notes sous l affiche : les deux blocs ont la meme largeur (Romain 43 px, Mon duo 49 px) donc les etoiles sont symetriques autour de l axe de l affiche */
@media (min-width: 900px) {
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes :is(.band-mine, .band-duo) { min-width: 56px !important; }
}
/* tour 56 (5 nov.) : Solo : le bloc central se centre en hauteur dans la rangee (il restait colle en haut avec 175 px de vide dessous) */
@media (min-width: 1200px) {
  html.bd-on:not(.is-vue-groupe):not(.bd-seance):root:root #heroProgress .bd > .bd-c { align-self: center; }
}

/* tour 55 (5 nov.) : Equipe, meme idee que le tour 54 : les blocs se rapprochent des bords du cadre (marge interne 20 px au lieu de 56) */
@media (min-width: 1200px) {
  html.bd-on.is-vue-groupe:root:root #heroProgress > .hero-row { padding-left: 20px !important; padding-right: 20px !important; }
}

/* ===== tour 58 : album des soirees et reactions emoji (Duo, PC) ===== */
html.bd-on.route-duo:root:root .bd-d > .bd-album { cursor: pointer !important; }
html.bd-on.route-duo:root:root .bd-d > .bd-album:hover { color: var(--paper); }
.bd-album:focus-visible, .bd-rx-btn:focus-visible, .bd-rx-e:focus-visible, .bd-album-boite .bd-recap-ok:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.bd-album-boite { width: min(1100px, calc(100vw - 48px)); max-height: calc(100vh - 48px); overflow: auto; gap: 12px; padding-bottom: 12px; }
.bd-album-boite:focus { outline: none; }
.bd-album-boite > .bd-recap-ok { position: sticky; bottom: 12px; align-self: center; box-shadow: 0 0 0 8px var(--ink-1); }
.bd-album-ex { margin: 0; font: 400 12px var(--body); color: var(--text-dim); }
.bd-album-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 18px; }
.bd-album-carte { margin: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bd-album-aff { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; background: var(--ink-3, #1a1a1e); }
.bd-album-carte figcaption { font: 600 14px var(--body); color: var(--paper); }
.bd-album-carte p { margin: 0; }
.bd-album-date { font: 400 12px var(--body); color: var(--text-dim); }
.bd-album-notes { display: flex; flex-wrap: wrap; gap: 2px 10px; font: 600 12px var(--body); color: var(--paper); }
.bd-album-rx { min-height: 20px; font-size: 16px; line-height: 20px; }
.bd-album-vide { margin: 24px 0; text-align: center; font: 400 14px var(--body); color: var(--text-dim); }
/* reactions : tout est hors flux, la centration des notes ne bouge pas */
#suivant .tb-rang > .lg-notes :is(.band-mine, .band-duo) { position: relative; }
.bd-rx-btn { position: absolute; right: 100%; top: -4px; margin-right: 6px; width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border: 1px solid var(--text-dim); border-radius: 50%; background: transparent; color: var(--paper); cursor: pointer; }
.bd-rx-btn:hover, .bd-rx-btn[aria-expanded="true"] { background: color-mix(in srgb, var(--paper) 16%, transparent); }
.bd-rx-btn svg { width: 18px; height: 18px; }
.bd-rx-liste { position: absolute; top: 100%; left: 50%; translate: -50% 2px; white-space: nowrap; font-size: 16px; line-height: 20px; }
.bd-rx-pal { position: fixed; z-index: 1100; display: flex; gap: 2px; padding: 4px; border: 1px solid var(--ink-4); border-radius: 999px; background: var(--ink-1); box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.bd-rx-e { width: 36px; height: 36px; padding: 0; border: 1px solid transparent; border-radius: 50%; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; transition: background 150ms; }
.bd-rx-e:hover { background: color-mix(in srgb, var(--paper) 14%, transparent); }
.bd-rx-e[aria-pressed="true"] { border-color: var(--paper); background: color-mix(in srgb, var(--paper) 22%, transparent); }
@media (prefers-reduced-motion: reduce) { .bd-rx-e { transition: none; } }
@media (max-width: 1199px) { .bd-album-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .bd-rx-btn, .bd-rx-liste { display: none; } }

/* ===== tour 59 : bloc droit Solo + Duo (PC) : Objectif en une ligne, espacements reguliers, Parcours colore ===== */
@media (min-width: 900px) {
  /* Progression : 16 px autour du grand pourcentage, 8 px entre petites lignes (titre -> album 8 en Duo) */
  html.bd-on:not(.is-vue-groupe):root:root .bd-d { gap: 0 !important; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d > .bd-d-ligne { margin-bottom: 16px !important; }
  html.bd-on.route-duo:not(.is-vue-groupe):root:root .bd-d > .bd-d-ligne { margin-bottom: 8px !important; }
  html.bd-on.route-duo:not(.is-vue-groupe):root:root .bd-d > .bd-album { margin: 0 0 16px !important; }
  html.bd-on:not(.is-vue-groupe):root:root #heroProgress .bd .bd-d > #pctMenu { gap: 0 !important; padding: 0 !important; }
  html.bd-on:not(.is-vue-groupe):root:root #heroProgress .bd .bd-d > #pctMenu > .pct-btn { margin: 0 0 16px !important; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d #pctMenu .bd-parc, html.bd-on:not(.is-vue-groupe):root:root .bd-d > .bd-parc { margin: 8px 0 0 !important; }
  /* filet partiel : 12 (marge) + 12 (padding du bloc) = 24 au-dessus ; 16 + 8 (gap) = 24 en dessous */
  html.bd-on:not(.is-vue-groupe):root:root .bd-d > .bd-bloc { margin-top: 12px !important; gap: 8px; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d > .bd-bloc::before { margin: 0 0 16px; }
  /* Objectif : « 0 / 23 titres · 25 déc. » a gauche, statut a droite, meme ligne */
  html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-voie-tete { align-items: baseline; margin-bottom: 8px; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-voie-tete .bd-obj-etat { margin: 0 0 0 auto; font-size: 13px; white-space: nowrap; }
  /* Parcours : mot gris, choix colore (Complet blanc, Express vert) */
  html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-parc > summary::before { color: var(--text-dim); opacity: 1; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-parc > summary[data-p="Complet"] { color: var(--paper); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-parc > summary[data-p="Express"] { color: var(--doom, #18C818); }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-parc-menu button:nth-child(1) b { color: var(--paper); font-weight: 400; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-parc-menu button:nth-child(2) b { color: var(--doom, #18C818); font-weight: 400; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-parc-menu button.is-on b { font-weight: 700; }
}

/* ===== tour 60 : album = cartes sans titre, date + membres, titres passes (PC) ===== */
html.bd-on:not(.route-duo):not(.is-vue-groupe):root:root .bd-d > .bd-album { order: -1 !important; align-self: flex-start !important; margin: 0 0 16px !important; padding: 0; border: 0; background: none; color: var(--text-dim); font: 400 13px var(--body); text-align: left; cursor: pointer !important; }
html.bd-on:not(.route-duo):not(.is-vue-groupe):root:root .bd-d > .bd-album:hover { color: var(--paper); }
.bd-album-carte { align-items: center; gap: 6px; }
.bd-album-aff--passe { filter: grayscale(.8) brightness(.45); }
.bd-album-date { font: 400 13px var(--body); color: var(--text-dim); }
.bd-album-date b { font-weight: 600; color: var(--paper); }
.bd-album-ms { display: flex; justify-content: center; align-items: flex-start; gap: 24px; }
.bd-album-m { display: flex; flex-direction: column; align-items: center; gap: 2px; font: 600 13px var(--body); }
.bd-album-m--moi .bd-album-n { color: var(--star-mine); }
.bd-album-m--lui .bd-album-n { color: var(--star-duo); }
.bd-album-qui { font-size: 12px; color: var(--paper); }
.bd-album-m .bd-album-rx { min-height: 20px; font-size: 16px; line-height: 20px; }

/* ---------- tour 61 : emojis sur la note, zone de clic, fenetre de note ---------- */
/* B5-B7 : la note de l autre n a aucune action ; ma note ne s ouvre (clic, delegation sur .band-mine) que par l etoile et le chiffre */
html.bd-on #suivant .tb-rang > .lg-notes .band-duo, html.bd-on #suivant .tb-rang > .lg-notes .band-duo * { cursor: default; }
html.bd-on #suivant .tb-rang > .lg-notes .band-mine { pointer-events: none; }
html.bd-on #suivant .tb-rang > .lg-notes .band-mine :is(.band-value, .star-icon) { pointer-events: auto; cursor: pointer; }
html.bd-on #suivant .tb-rang > .lg-notes .band-mine > .bd-rx-btn { pointer-events: auto; }
html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes :is(.band-mine, .band-duo) { gap: 2px 3px !important; justify-content: center !important; }
/* A1 : le bouton devient l emoji choisi (sans cercle) */
.bd-rx-btn.a-emoji { width: auto; min-width: 28px; height: 28px; padding: 0 2px; border-color: transparent; border-radius: 6px; font-size: 17px; line-height: 28px; white-space: nowrap; }
/* A2 : emojis de l autre membre, a droite de sa note, non cliquables */
#suivant .tb-rang > .lg-notes .band-duo > .bd-rx-liste { left: 100%; top: -4px; translate: none; margin-left: 6px; font-size: 17px; line-height: 28px; cursor: default; pointer-events: none; }
/* A3 : palette 6 x 4, cellules 40 px, restee dans la fenetre */
.bd-rx-pal { display: grid; grid-template-columns: repeat(6, 40px); gap: 2px; padding: 6px; border-radius: 14px; max-width: calc(100vw - 16px); }
.bd-rx-e { width: 40px; height: 40px; }
.bd-rx-msg { grid-column: 1 / -1; min-height: 0; text-align: center; font: 600 12px var(--body); color: var(--paper); }
.bd-rx-msg:not(:empty) { min-height: 18px; padding-top: 4px; }
/* shortcut: fenetre de note agrandie de la maquette non portee, a porter en refaisant les bancs V467/V492 */

/* ---------- tour 62 : affiche du centre Solo plus grande (la grille de note est retiree au tour 64) ---------- */
/* Solo : grande affiche 236 -> 272 px ; sous 1360 px le centre fait 480 px et 272 + 2 x 116 ne tient plus */
@media (min-width: 1360px) {
  html.bd-on:not(.route-duo):not(.is-vue-groupe):not(.bd-seance):root:root #heroProgress .bd #suivantAffiche { width: 272px !important; }
  html.bd-on:not(.route-duo):not(.is-vue-groupe):not(.bd-seance):root:root #suivant .tb-rang .aff-statut::after { font-size: 14px; }
  html.bd-on:not(.route-duo):not(.is-vue-groupe):not(.bd-seance):root:root #suivant .tb-rang :is(.fav-btn, .watch-dot, .watch-skip) svg { width: 22px !important; height: 22px !important; }
  html.bd-on:not(.route-duo):not(.is-vue-groupe):not(.bd-seance):root:root #suivant .tb-rang :is(.lg-fav, .lg-vu, .watch-row, .lg-notes) { height: 26px; }
}

/* tour 63 (5 nov.) : notes etoile puis chiffre (centrees sur le pseudo), statut d objectif sous le titre, diodes bleue / rouge ; PC seulement */
@media (min-width: 900px) {
  .bd-album-m { align-items: stretch; }
  .bd-album-n { display: flex; justify-content: center; align-items: center; gap: 4px; line-height: 1; margin: 0; padding: 0; }
  .bd-album-qui { text-align: center; margin: 0; padding: 0; }
  .bd-album-n .bd-album-val { color: var(--paper); }
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes :is(.band-mine, .band-duo) { grid-template-columns: 1fr auto auto 1fr !important; column-gap: 4px !important; justify-content: stretch !important; justify-items: center; }   /* colonnes 1 et 4 absorbent la largeur du pseudo : etoile et chiffre restent a 4 px */
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes :is(.band-mine, .band-duo) .star-icon { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes :is(.band-mine, .band-duo) .band-value { grid-column: 3; grid-row: 1; justify-self: start; color: var(--paper) !important; line-height: 1; align-self: center; }
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes :is(.band-mine, .band-duo) .band-qui { grid-row: 2; }
  /* fiche de film : etoile avant la note, centres sur la meme ligne */
  html.bd-on #modal .fl .score-row { flex-direction: row-reverse; gap: 4px; align-items: center; }
  /* statut sous le titre de l objectif, a gauche */
  html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-voie-tete { flex-wrap: wrap; }
  html.bd-on:not(.is-vue-groupe):root:root .bd-d .bd-voie-tete .bd-obj-etat { flex: 0 0 100%; margin: 4px 0 0; text-align: left; }
  .bd-d .bd-bloc > .bd-tete { flex-wrap: wrap; justify-content: flex-start; }
  .bd-d .bd-bloc > .bd-tete .bd-obj-etat { flex: 0 0 100%; margin: 2px 0 0; text-align: left; }
  /* diodes du planning Duo : moi = bleu, Lea = rouge (allumees seulement) */
  .bd-pl-dispo i.is-moi.is-libre { background: var(--dio-moi, var(--star-mine)); }
  .bd-pl-dispo i.is-lea.is-libre { background: var(--dio-lea, var(--star-duo)); }   /* couleurs posees par bord.js depuis les emblemes du ruban */
  /* Equipe en pause (maquette) */
  html.bd-on .route-opt--groupe[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
}

/* tour 64 (5 nov.) : album centre et identique, reactions sous le pseudo, plus de barre dans les legendes, fenetre de note +30 % ; PC seulement */
@media (min-width: 900px) {
  .bd-album-ms { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; justify-items: center; align-items: start; gap: 24px; }
  .bd-album-m { align-items: center; min-width: 72px; }
  .bd-album-n, .bd-album-qui, .bd-album-m .bd-album-rx { align-self: center; text-align: center; }
  .bd-album-n .bd-album-etoile { color: inherit; }
  /* reactions du tableau de bord Duo : sous la note et le pseudo, centrees (Lea comme moi) */
  #suivant .tb-rang > .lg-notes :is(.band-mine, .band-duo) > .bd-rx-liste { left: 50%; top: 100%; translate: -50% 2px; margin: 0; font-size: 16px; line-height: 20px; }
  /* plus de barre verticale entre fav / vu / notes */
  html.bd-on:root:root #suivant .tb-lg.tb-rang > :is(.lg-fav, .lg-vu, .lg-notes):is(.lg-fav, .lg-vu, .lg-notes) { border-left: 0 !important; }
}

/* tour 64b : etoiles des notes en leur couleur d origine (styles.css l.5298 et 5325-5327), le chiffre reste blanc */
@media (min-width: 900px) {
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes .band-mine .star-icon { color: var(--star-mine); }
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes .band-duo .star-icon { color: var(--star-duo); }
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes .band-mine.is-rated .star-icon path { fill: var(--star-mine) !important; stroke: var(--star-mine) !important; }
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes .band-duo .star-icon path { fill: none; stroke: var(--star-duo) !important; }
  html.bd-on.route-duo:root:root #suivant .tb-rang > .lg-notes .band-duo.is-rated .star-icon path { fill: var(--star-duo) !important; }
  .bd-album-m--moi .bd-album-etoile { color: var(--star-mine); }
  .bd-album-m--lui .bd-album-etoile { color: var(--star-duo); }
}

/* tour 65 (5 nov.) : bouton / liste de reactions sous le pseudo, memes ligne et ecart pour moi et Lea ; etoile 14 px et chiffre 15 px en Solo comme en Duo ; PC seulement */
@media (min-width: 900px) {
  #suivant .tb-rang > .lg-notes :is(.band-mine, .band-duo) > :is(.bd-rx-btn, .bd-rx-liste) { position: absolute; left: 50%; right: auto; top: 100%; translate: -50% 0; margin: 4px 0 0; height: 28px; line-height: 28px; font-size: 17px; }
  #suivant .tb-rang > .lg-notes .band-mine > .bd-rx-btn:not(.a-emoji) { width: 28px; }
  html.bd-on:root:root #suivant .tb-rang :is(.aff-note, .band-note) svg { width: 14px !important; height: 14px !important; }
  html.bd-on:root:root #suivant .tb-rang :is(.aff-val, .band-value) { font-size: 15px !important; }
  .bd-album-n { font-size: 15px; }
}

/* tour 65b : Solo, note sous l affiche en ligne (etoile puis chiffre, 4 px), comme en Duo ; gagne sur refonte.css l.2028 et 2165 */
@media (min-width: 900px) {
  html.bd-on:not(.route-duo):not(.is-vue-groupe):root:root #suivant :is(.aff-note, .aff-moi, .aff-com) { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; gap: 4px !important; height: auto !important; }
  html.bd-on:not(.route-duo):not(.is-vue-groupe):root:root #suivant :is(.aff-note, .aff-moi, .aff-com) svg { order: 0 !important; width: 14px !important; height: 14px !important; flex: none; }
  html.bd-on:not(.route-duo):not(.is-vue-groupe):root:root #suivant :is(.aff-note, .aff-moi, .aff-com) .aff-val,
  html.bd-on:not(.route-duo):not(.is-vue-groupe):root:root #suivant .tb-lg.tb-rang .lg-notes .aff-ruban .aff-notes button.aff-note > span.aff-val { order: 1 !important; font-size: 15px !important; line-height: 1 !important; color: var(--paper) !important; }
}

/* tour 66 : une note vide de l autre membre ne s affiche jamais (les tours 54 / 65b la forcaient en display grid/flex !important) */
@media (min-width: 900px) {
  html.bd-on:root:root:root:root #suivant .tb-rang .lg-notes :is(.aff-com.is-vide, .band-duo:not(.is-rated), .band-grp:not(.is-rated)) { display: none !important; }
  html.bd-on:not(.route-duo):root:root #suivant .tb-rang .lg-notes.is-nonvu .aff-moi { display: none !important; }   /* V818 - Solo : ma note seulement sur un titre vu */
}

/* tour 67 : recap Duo, notes a deux sous chaque affiche */
@media (min-width: 900px) {
  .bd-recap-aff .bd-album-ms { gap: 12px; margin-top: 2px; }
  .bd-recap-aff .bd-album-m { min-width: 0; }
}
@media (min-width: 900px) {
  .bd-recap-aff { align-items: flex-start; }
  .bd-recap-aff .bd-mini { width: 72px; }
  .bd-recap-aff .bd-album-ms { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; justify-items: center; gap: 8px; }
  .bd-recap-aff .bd-album-rx { display: none; }
  .bd-recap-aff .bd-album-n { font-size: 13px; }
}
