:root {
  color-scheme: light;
  --papier: #F8F4EA; --papier2: #F0E8D8; --papier3: #E9DFCB; --trait: #DBD1BC;
  --encre: #1F1C17; --encre2: #4A453C; --encre3: #6D675B;
  --graphite: #58534A; --portee: #BDB4A2;
  --or: #B8861B; --or-texte: #7C560A; --or-pale: #F3E3B5; --or-fond: #FBF3DC;
  --gris: #C8C0AE; --rouge: #A63A28;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --marge: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--papier); touch-action: manipulation; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 16px/1.4 var(--sans); }
button, input, select { font: inherit; color: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:disabled { cursor: default; opacity: .38; }
svg { display: block; }
[hidden] { display: none !important; }
a { color: var(--or-texte); }
:focus-visible { outline: 2.5px solid var(--or); outline-offset: 2px; }

#app { position: relative; max-width: 520px; margin: 0 auto; }
.vue {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  padding: env(safe-area-inset-top) var(--marge) calc(14px + env(safe-area-inset-bottom));
}

.tete { flex: none; display: flex; align-items: center; gap: 8px; min-height: 56px; }
.tete .titre { flex: 1; min-width: 0; font: italic 500 16px/1.2 var(--serif); color: var(--encre2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tete .retour { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 10px 0 0;
  color: var(--or-texte); font-weight: 600; font-size: 16px; }
.bouton-menu { flex: none; width: 44px; height: 44px; margin-left: -8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.encart { flex: none; display: block; height: 46px; min-width: 64px; padding: 3px 5px; border-radius: 11px;
  background: var(--papier2); box-shadow: inset 0 0 0 1px var(--trait); }
.encart > svg { height: 40px; width: auto; }
h1.grand { margin: 4px 0 8px; font: 700 28px/1.15 var(--sans); letter-spacing: -.01em; }
.chapeau { margin: 0 0 14px; color: var(--encre2); }

.seance { position: relative; height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
.crayon { flex: none; display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 6px 6px 6px 8px;
  border-radius: 14px; background: var(--papier2); }
.crayon .bout { flex: none; width: 104px; height: 52px; border-radius: 9px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--trait); }
.crayon .mot { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.crayon .etiquette { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--encre3); }
.crayon .etiquette.gomme { color: var(--rouge); }
.crayon .quoi { font-size: 16px; line-height: 1.25; color: var(--encre); }
.crayon .quoi .bt { vertical-align: -2px; }
.crayon .quoi small { display: block; font-size: 13px; color: var(--encre3); }

.crayon .quoi small.annule-note { display: table; margin-top: 2px; padding: 0 4px; margin-left: -4px; border-radius: 6px; color: var(--encre2); font-weight: 600; }
.bas .t-compte { transform-box: fill-box; transform-origin: center; }
.crayon.vide .quoi { font-size: 14.5px; color: var(--encre2); }
.annuler { flex: none; width: 66px; min-height: 52px; border-radius: 12px; background: var(--papier);
  box-shadow: inset 0 0 0 1.5px var(--gris); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; font-size: 13.5px; font-weight: 600; color: var(--encre2); line-height: 1.1; padding: 4px 2px; }
.annuler small { font-weight: 500; font-size: 11.5px; color: var(--encre3); text-align: center; }

.preparation { flex: none; margin: 8px 0 0; padding: 8px 10px; border-radius: 12px; border: 1.5px dashed var(--or);
  font-size: 14.5px; color: var(--encre2); }
.preparation b { color: var(--encre); }

.consigne { flex: none; margin: 10px 0 0; }
.consigne .l1 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; column-gap: 10px; }
.consigne h2 { margin: 0; font: 700 32px/1.08 var(--sans); letter-spacing: -.01em; white-space: nowrap; }
.consigne .fois { margin: 3px 0 0; font-size: 18px; color: var(--encre2); }
.consigne .fois b { font-size: 25px; color: var(--or-texte); }

.consigne .fois { display: flex; align-items: baseline; column-gap: 10px; }

.consigne .laisser { margin: 0 -4px -6px 0; display: flex; justify-content: flex-end; }
.consigne .passer-ici { flex: none; min-height: 44px; max-width: 100%; padding: 2px 4px; display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 1px; text-align: right;
  font: 600 16px/1.15 var(--sans); color: var(--or-texte); }
.consigne .passer-ici small { font: 500 13px/1.2 var(--sans); color: var(--encre3); }
.consigne .passer-ici:active { opacity: .6; }
.repere { flex: none; margin-left: auto !important; display: inline-flex; align-items: center; justify-content: flex-end; min-height: 44px; margin: -8px -4px -8px 0;
  padding: 0 4px; font-size: 15px; color: var(--or-texte); font-weight: 600; white-space: nowrap; text-align: right; }
.repere.muet { color: var(--encre3); font-weight: 500; }

.scene { position: relative; flex: 1 1 0; min-height: 116px; margin: 4px 0 0; }
.scene svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pourquoi { flex: none; display: flex; align-items: center; gap: 8px; min-height: 28px; margin: 0; }
.pourquoi p { flex: 1; margin: 0; font: italic 16px/1.3 var(--serif); color: var(--encre2); text-align: center; text-wrap: balance; }
.lampe { flex: none; width: 44px; height: 44px; display: none; }
.finir { flex: none; width: 100%; margin: 4px 0 0; }

.annuler, .encart { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.discret { flex: none; display: block; min-height: 44px; margin: 2px 0 -8px; padding: 12px 6px; line-height: 20px;
  font-size: 13.5px; color: var(--encre3); text-align: center; text-decoration: none; }
.discret b { color: var(--or-texte); font-weight: 600; }
.message { flex: none; margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: #F6E1DA; color: var(--rouge); font-size: 14.5px; }

.seance {
  --dr: 92px;
  --hs: 52px;
  --hz: 166px;
  --d: 166px;
  --off: 192.4px;
  --wb: 19.2px;
  --gm: 13px;
  --xl: max(12px, calc(50% - var(--off)));
}

.entre { flex: none; height: 58px; display: flex; flex-direction: column; justify-content: flex-end; }
.niveau { flex: none; display: flex; justify-content: flex-end; align-items: center; gap: 6px; min-height: 24px; margin: 2px 0 4px; font-size: 15px; color: var(--encre2);
  padding-right: max(var(--xl), calc((100% - var(--off) - var(--d) / 2 - var(--gm) - var(--wb)) / 2)); }

.entre.efface > * { visibility: hidden; }

.suite { position: absolute; z-index: 15; display: flex; align-items: center; gap: 10px; }
.suite.place-droite { right: var(--marge); }
.suite .continuer { position: relative; display: flex; color: #FFFFFF; text-align: center; }
.suite .mot { position: relative; font: 700 18px/1.1 var(--sans); }
.suite .vers { position: relative; font: 600 15px/1.15 var(--sans); white-space: nowrap; }
.suite .dans { position: relative; font: 500 13px/1 var(--sans); opacity: .9; }
.suite .dans:empty { display: none; }
.suite.rect .continuer { overflow: hidden; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-width: 132px; max-width: 210px; min-height: 66px; padding: 9px 18px; border-radius: 16px; background: #B8861B; box-shadow: inset 0 0 0 2.5px #EDB516; }
.suite.rect .rebours-fond { position: absolute; inset: 0; background: rgba(124, 86, 10, .5); transform-origin: left center; transform: scaleX(0); }
.suite .croix { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--gris); font: 400 24px/1 var(--sans); color: var(--encre2); }
.suite .croix[hidden] { display: none; }
.suite button:active { transform: scale(.97); }

.bas { position: relative; flex: none; height: var(--hz); -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

.rate-rond { position: absolute; left: var(--xl); top: 0; width: var(--dr); height: var(--dr); border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--gris); color: var(--encre2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.rate-rond b { font: 600 20px/1 var(--sans); }
.rate-rond small { font: 500 12.5px/1.2 var(--sans); color: var(--encre3); text-align: center; }

.su-bas { position: absolute; left: var(--xl); bottom: 0; width: var(--dr); height: var(--hs); border-radius: 14px;
  background: var(--papier2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.su-bas b { font: 600 17px/1 var(--sans); color: var(--encre); }
.su-bas small { font: 500 12px/1 var(--sans); color: var(--encre3); }

.plus-rond { position: absolute; top: 0; left: calc(var(--xl) + var(--off) - var(--d) / 2);
  width: var(--d); height: var(--d); border-radius: 50%; border: 3.5px solid #EDB516; background: var(--or-fond); color: var(--or-texte);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }

.sv-plus { position: absolute; left: -3.5px; top: -3.5px; width: calc(100% + 7px); height: calc(100% + 7px); overflow: visible; pointer-events: none; }

.bas button { transition: transform .08s ease-out; }
.bas button:active:not(:disabled) { transform: scale(.965); }

.baton { position: absolute; top: 0; left: min(calc((100% + var(--off) + var(--d) / 2 + var(--gm) - var(--wb)) / 2), calc(100% - var(--xl) - var(--wb))); width: var(--wb); height: var(--hz); pointer-events: none; }
.sv-baton { position: absolute; left: -18px; top: -18px; overflow: visible; }

.seance.fini { overflow: visible; }
.felicitations .l1 { justify-content: flex-start; align-items: center; column-gap: 6px; }
.eclat-fete { flex: none; }
.paillettes { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.paillettes span { position: absolute; display: block; }

.vol { position: absolute; z-index: 20; pointer-events: none; }
.vol svg { overflow: visible; }

@media (prefers-reduced-motion: reduce) {
  .bas button, .suite button { transition: none; }
}
.sans-anim .bas button, .sans-anim .suite button { transition: none; }

.bouton { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px;
  border-radius: 14px; font-weight: 600; font-size: 17px; padding: 6px 14px; text-align: center; line-height: 1.2; width: 100%; text-decoration: none; }
.bouton.plein { background: var(--encre); color: var(--papier); }
.bouton.or { background: var(--or-fond); box-shadow: inset 0 0 0 2px var(--or); color: var(--or-texte); }
.bouton.leger { box-shadow: inset 0 0 0 1.5px var(--gris); color: var(--encre2); background: transparent; }
.bouton small { display: block; font-weight: 500; font-size: 13px; opacity: .85; }
.pile { display: flex; flex-direction: column; gap: 10px; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.liste .ligne { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 8px 12px; border-radius: 13px;
  background: var(--papier2); text-align: left; text-decoration: none; color: var(--encre); font-size: 17px; font-weight: 600; }
.liste .ligne small { display: block; font-size: 13.5px; font-weight: 500; color: var(--encre3); margin-top: 1px; }
.liste .ligne .txt { flex: 1; min-width: 0; }
.liste .ligne .icone { flex: none; width: 28px; display: flex; justify-content: center; color: var(--encre2); }
.liste .ligne.courant { box-shadow: inset 0 0 0 2px var(--or); background: var(--or-fond); }
.liste .ligne .chevron { color: var(--encre3); font-weight: 400; }
.sous-titre { margin: 18px 0 8px; font: 600 13px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--encre3); }

.groupe { list-style: none; margin: 0 0 22px; padding: 0; border-radius: 12px; background: var(--papier2); overflow: hidden; }
.groupe li { position: relative; }
.groupe li + li::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: 0.5px solid var(--gris); }
.rang { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 10px 14px 10px 16px; text-align: left; font-size: 17px; line-height: 1.25; color: var(--encre); }
.rang .txt { flex: 1; min-width: 0; }
.rang .chevron { color: var(--encre3); font-size: 20px; font-weight: 400; }
.rang:active { background: var(--papier3); }
.rang.principal { color: var(--or-texte); font-weight: 600; }
.rang.agit { color: var(--or-texte); }
.groupe-titre { margin: 0 0 6px; padding: 0 16px; }
.petit { font-size: 13.5px; color: var(--encre3); }
.aide { margin: 6px 0 0; font-size: 14px; color: var(--encre3); line-height: 1.4; }
.aide b { color: var(--encre2); }

.champ { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.champ > label, .champ > .lbl { font-weight: 600; font-size: 16px; }
.champ input[type=text], .champ input[type=number], .champ input[inputmode] {
  min-height: 50px; border-radius: 12px; border: 1.5px solid var(--gris); background: #FFFDF7; padding: 0 14px; font-size: 18px; width: 100%; }
.champ input::placeholder { color: #A39C8D; font-weight: 400; }
.champ input:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px var(--or-pale); }
.connues { display: flex; align-items: center; gap: 10px; font-size: 17px; color: var(--encre); }
.connues input { width: 96px !important; flex: none; text-align: center; }
.choix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choix.deux-col { grid-template-columns: 1fr 1fr; }
.choix button { min-height: 52px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--gris); padding: 6px 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 600; font-size: 15.5px; line-height: 1.15; }
.choix button small { font-weight: 500; font-size: 12.5px; color: var(--encre3); }
.choix button[aria-pressed=true] { box-shadow: inset 0 0 0 2.5px var(--or); background: var(--or-fond); color: var(--or-texte); }
.pas { display: inline-flex; align-items: center; gap: 4px; }
.pas button { width: 44px; height: 44px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--gris); font-size: 22px; font-weight: 600; color: var(--encre2); }
.pas output { min-width: 34px; text-align: center; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.reglage { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 4px 0; border-bottom: 1px solid var(--trait); }
.reglage .txt { flex: 1; min-width: 0; }
.reglage .txt small { display: block; color: var(--encre3); font-size: 13.5px; }
.en-bas { flex: none; margin-top: auto; padding-top: 16px; }
.ressort { flex: 1; }

.page-mp { margin: 0 0 14px; padding: 8px 10px 4px; border-radius: 14px; background: var(--papier2); }
.page-mp .entete { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; }
.page-mp .entete b { font-size: 16px; }
.ligne-mp { display: flex; align-items: center; gap: 8px; min-height: 50px; border-top: 1px solid var(--trait); }
.ligne-mp .num { width: 64px; flex: none; font-size: 13.5px; color: var(--encre3); }
.ligne-mp .debut { flex: 1; font-size: 15px; color: var(--encre2); }
.ligne-mp .debut b { font: italic 600 19px var(--serif); color: var(--encre); }
.total-mp { margin: 4px 0 12px; font-size: 15px; color: var(--encre2); }
.total-mp.ecart { color: var(--rouge); }

.bloc { margin: 0 0 18px; }
.bloc h2 { margin: 0 0 6px; font: 600 17px/1.2 var(--sans); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.bloc h2 span { font-weight: 400; font-size: 13.5px; color: var(--encre3); text-align: right; }
.dessin { width: 100%; height: auto; }

.bascule { margin: 0 0 14px; }
.legende-mur { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; font-size: 13.5px; color: var(--encre3); }
.legende-mur span { display: inline-flex; align-items: center; gap: 6px; }
.legende-mur i { display: inline-block; width: 20px; height: 13px; border-radius: 3px; }
.legende-mur .b-fait { background: linear-gradient(#E2B54E, var(--or)); }
.legende-mur .b-ici { background: var(--or-pale); box-shadow: inset 0 0 0 2px var(--encre); }
.legende-mur .b-poser { border: 1.3px dashed var(--gris); }
.legende-mur .b-range { border: 1.3px dashed var(--or); background: var(--papier); }

.tete .milieu { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.fin-morceau { align-self: flex-end; display: inline-flex; align-items: center; gap: 5px; min-height: 44px; margin: -13px -2px -12px 0;
  padding: 0 2px 0 12px; font-size: 14px; font-weight: 600; color: var(--or-texte); white-space: nowrap; }
.fin-du-morceau h2 { margin: 0 0 8px; font: 700 20px/1.2 var(--sans); }

.interrupteur { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 6px 0; font-size: 16px; color: var(--encre); text-align: left; }
.interrupteur .txt { flex: 1; min-width: 0; }
.interrupteur .piste { flex: none; position: relative; width: 51px; height: 31px; border-radius: 16px; background: #E2DACA; transition: background .2s ease; }
.interrupteur .pouce { position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #FFFFFF;
  box-shadow: 0 2px 5px rgba(31, 28, 23, .2), 0 0 0 .5px rgba(31, 28, 23, .06); transition: transform .2s ease; }
.interrupteur[aria-checked=true] .piste { background: var(--or); }
.interrupteur[aria-checked=true] .pouce { transform: translateX(20px); }
@media (prefers-reduced-motion: reduce) { .interrupteur .piste, .interrupteur .pouce { transition: none; } }
.sans-anim .interrupteur .piste, .sans-anim .interrupteur .pouce { transition: none; }

.pied-note { margin: 14px 0 0; padding-top: 4px; border-top: 0.5px solid var(--gris); }
.pied-note .legende { margin: 0; font-size: 13px; line-height: 1.35; color: var(--encre3); }
.fin-du-morceau .bouton { margin: 4px 0 10px; }
.fin-du-morceau .ou { margin: 4px 0 8px; }

.tete .titre .coche { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.encart { position: relative; }
.coche-encart { position: absolute; top: -5px; right: -4px; display: block; line-height: 0; }
.termine { display: flex; align-items: center; gap: 8px; margin: -2px 0 14px; font-weight: 600; color: var(--or-texte); }
.liste .ligne .coche { flex: none; }
.rythme { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--papier2); display: flex; align-items: center; gap: 12px; }
.rythme p { flex: 1; margin: 0; font-size: 16px; color: var(--encre2); }
.rythme p b { color: var(--encre); }
.rythme button { flex: none; min-height: 44px; padding: 0 12px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--gris); font-size: 15px; font-weight: 600; color: var(--encre2); }
.encadre { margin: 0 0 16px; padding: 14px; border-radius: 14px; background: var(--papier2); }
.encadre p { margin: 0 0 10px; color: var(--encre2); }
.encadre p:last-child { margin-bottom: 0; }
.feuille-saisie { font: 600 22px/1 ui-monospace, Menlo, monospace !important; letter-spacing: .12em; }
.ecarts { margin: 8px 0 0; padding: 0; list-style: none; color: var(--rouge); font-size: 15px; }
.ecarts li { margin: 2px 0; }

.etapes-liste { border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.bloc h2.gros { font-size: 22px; font-weight: 700; margin: 4px 0 10px; }
.valider { margin: 12px 0 0; }
.valider .apercu-papier { margin: 0 0 10px; }
.avancee { margin: 0 0 8px; text-align: center; font-weight: 600; color: var(--encre2); }
.etapes-palier { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0; border-bottom: 1px solid var(--trait); align-items: center; }
.etapes-palier .m { width: 74px; flex: none; font-size: 13.5px; color: var(--encre3); }
.etapes-palier button { min-height: 44px; min-width: 52px; padding: 0 10px; border-radius: 11px; box-shadow: inset 0 0 0 1.5px var(--gris);
  font-weight: 600; font-size: 15.5px; color: var(--encre2); display: inline-flex; align-items: center; gap: 5px; }
.etapes-palier button.fait { color: var(--encre3); box-shadow: none; background: var(--papier2); }
.etapes-palier button.ici { box-shadow: inset 0 0 0 2.5px var(--or); background: var(--or-fond); color: var(--or-texte); }
.etapes-palier button[aria-pressed=true] { background: var(--encre); color: var(--papier); box-shadow: none; }

.voile { position: fixed; inset: 0; background: rgba(31, 28, 23, .35); display: flex; align-items: flex-end; justify-content: center; z-index: 30; }
.voile .feuillet { width: 100%; max-width: 520px; background: var(--papier); border-radius: 20px 20px 0 0; padding: 18px var(--marge) calc(18px + env(safe-area-inset-bottom)); }
.voile h3 { margin: 0 0 6px; font: 700 20px/1.25 var(--sans); }
.voile p { margin: 0 0 14px; color: var(--encre2); }

.bt { display: inline-block; vertical-align: -2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conseil { margin: 22px 0 0; padding: 10px 12px; border-left: 3px solid var(--or); background: var(--papier2); border-radius: 0 10px 10px 0; }

@media (max-height: 640px) {
  .tete { min-height: 48px; }
  .crayon { min-height: 54px; padding: 4px 5px 4px 7px; }
  .crayon .bout { width: 88px; height: 44px; }
  .annuler { min-height: 46px; }
  .consigne { margin-top: 6px; }
  .consigne h2 { font-size: 28px; }
  .consigne .fois { font-size: 16px; margin-top: 1px; }
  .consigne .fois b { font-size: 22px; }
  .scene { min-height: 76px; margin-top: 2px; }
  .pourquoi { min-height: 22px; }
  .pourquoi p { font-size: 15px; }
  .discret { margin: 0 0 -8px; padding: 10px 6px; line-height: 18px; min-height: 44px; }
}
@media (max-width: 359px) {
  .crayon .quoi { font-size: 15px; }
  .consigne h2 { font-size: 27px; }
}

@media (max-width: 374px) {
  :root { --marge: 12px; }
  .seance { --dr: 80px; --d: 140px; --off: 166.5px; }
  .rate-rond b { font-size: 18px; }
  .crayon .bout { width: 80px; height: 40px; }
  .annuler { width: 58px; }
}

.info { flex: none; margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--or-fond); box-shadow: inset 0 0 0 1px var(--or-pale); color: var(--or-texte); font-size: 14.5px; }

.pourquoi .lampe { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -8px 0; border-radius: 50%; }
.pourquoi .lampe.allumee { background: var(--or-fond); box-shadow: 0 0 0 1.5px var(--or-pale), 0 0 14px 2px rgba(255, 212, 59, .45); }
.pourquoi .lampe-place { flex: none; width: 44px; }
.lampe .icone-lampe { display: block; }

.pourquoi .lampe { position: relative; z-index: 1; }
.icone-lampe { overflow: visible; }

.pourquoi .lampe.eteinte:active { background: var(--papier2); }
.pourquoi .lampe.avec-mot { width: auto; margin-left: auto; gap: 7px; padding: 0 5px 0 15px; border-radius: 22px; }
.pourquoi .lampe .mot { font: 600 15.5px/1 var(--sans); color: var(--or-texte); white-space: nowrap; }

.pourquoi p.avec-bouton { display: flex; justify-content: center; }
.pourquoi .dechiffrer { min-height: 44px; margin: -8px 0; padding: 0 20px; border-radius: 22px; background: var(--or-fond); box-shadow: inset 0 0 0 1.5px var(--or); color: var(--or-texte); font: 600 16px/1 var(--sans); font-style: normal; }
.pourquoi .dechiffrer:active { background: var(--or-pale); }
.dechiffrer-feuillet h3 .sous { font-weight: 500; color: var(--encre3); font-size: .8em; }
.dechiffrer-feuillet .note-lente { font-style: italic; color: var(--encre2); }
.dechiffrer-feuillet .note-doigte { margin-bottom: 16px; }

.ancre-bulle { position: relative; height: 0; flex: none; }
.bulle-rate { position: absolute; z-index: 12; left: var(--xl); bottom: 12px; width: min(360px, calc(100% - 2 * var(--xl))); padding: 10px 12px 0; border-radius: 14px;
  background: var(--encre); color: #FFFFFF; box-shadow: 0 6px 20px rgba(31, 28, 23, .22); }
.bulle-rate p { margin: 0; font: 500 14.5px/1.32 var(--sans); }
.bulle-rate .actions { display: flex; justify-content: space-between; margin: 0 -6px; }
.bulle-rate .lien { min-height: 44px; padding: 0 6px; font: 500 15px/1 var(--sans); color: #E9D9AE; }
.bulle-rate .lien.fort { font-weight: 700; color: #FFFFFF; min-width: 44px; }
.bulle-rate .pointe { position: absolute; left: 39px; bottom: -6px; width: 14px; height: 14px; background: var(--encre); transform: rotate(45deg); border-radius: 2px; }

.suite .pastille { display: flex; align-items: center; gap: 7px; min-height: 52px; padding: 6px 12px 6px 9px; border-radius: 16px; background: var(--or-fond); box-shadow: inset 0 0 0 2px var(--or-pale); color: var(--or-texte); text-align: left; }
.suite .pastille.allumee { box-shadow: inset 0 0 0 2px var(--or), 0 0 16px 2px rgba(255, 212, 59, .4); }
.suite .pastille .mots { display: flex; flex-direction: column; }
.suite .pastille .l1 { font: 700 15px/1.15 var(--sans); }
.suite .pastille .l2 { font: 500 13.5px/1.15 var(--sans); }

.scene .zone-portee { position: absolute; inset: 0; z-index: 2; border-radius: 18px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.scene .zone-portee.illumine { animation: illumine 340ms ease-out both; }
@keyframes illumine {
  0% { background: rgba(255, 212, 59, 0); box-shadow: 0 0 0 0 rgba(255, 212, 59, 0); }
  35% { background: rgba(255, 212, 59, .30); box-shadow: 0 0 18px 4px rgba(255, 212, 59, .45); }
  100% { background: rgba(255, 212, 59, .14); box-shadow: 0 0 10px 2px rgba(255, 212, 59, .2); }
}
.sans-anim .scene .zone-portee.illumine { animation: none; background: rgba(255, 212, 59, .26); }
@media (prefers-reduced-motion: reduce) { .scene .zone-portee.illumine { animation: none; background: rgba(255, 212, 59, .26); } }

.scene .cave-zone { position: absolute; left: -10px; right: -10px; top: 0; bottom: 0; border-radius: 18px; background: var(--cave); opacity: 0; pointer-events: none; overflow: hidden; }
.scene.cave .cave-zone { opacity: 1; }
.scene .cave-decor { position: absolute; inset: 0; }

.crayon.reparation { gap: 8px; }
.crayon.reparation .chemin { flex: 1; min-width: 0; min-height: 52px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; position: relative; padding: 0 18px 0 0; text-align: left; }
.crayon.reparation .chemin .chevron { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); color: var(--encre3); font-size: 20px; }
.crayon .fil-court { display: block; max-width: 100%; font-size: 15.5px; line-height: 1.25; color: var(--encre); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crayon .fil-court b { font-weight: 700; }
.crayon .fil-court .ic-fissure, .crayon .etiquette .ic-fissure { display: inline-block; vertical-align: -2px; margin-left: 1px; }
.crayon .sortie { flex: none; min-width: 76px; min-height: 52px; padding: 4px 6px; border-radius: 12px; background: var(--or-fond); box-shadow: inset 0 0 0 2px var(--or); color: var(--or-texte);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1.1; }
.crayon .sortie b { font-size: 14px; font-weight: 700; }
.crayon .sortie small { font-size: 11.5px; font-weight: 500; }
.crayon .quoi .bt, .crayon .quoi svg { vertical-align: -2px; }

.preparation { display: flex; align-items: center; gap: 10px; }
.preparation p { margin: 0; flex: 1; }
.preparation .signe-double { flex: none; }

.niveau svg { vertical-align: middle; }

.fil { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 2px; margin: 0 0 12px; }
.fil .sep { color: var(--encre3); font-size: 18px; padding: 0 2px; }
.fil .maillon { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 52px; min-height: 48px; padding: 4px 9px; border-radius: 12px;
  background: var(--papier2); color: var(--encre2); font: 600 15px/1.1 var(--sans); }
.fil .maillon .nom { display: inline-flex; align-items: center; gap: 2px; }
.fil button.maillon { color: var(--or-texte); box-shadow: inset 0 0 0 1.5px var(--or-pale); }
.fil .maillon.ici { background: var(--encre); color: var(--papier); }
.fil .maillon.ici .bt path { stroke: var(--papier); }
.fil .maillon.avant { opacity: .7; }
.encarts { display: flex; align-items: center; gap: 6px; margin: 4px 0 12px; }
.encarts.seul { justify-content: center; }
.encart-moitie { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 6px 7px; border-radius: 16px; background: var(--or-fond);
  box-shadow: inset 0 0 0 2px var(--or-pale); text-align: center; }
.encart-moitie:active { box-shadow: inset 0 0 0 2.5px var(--or); }
.encart-moitie .haut { display: flex; justify-content: center; align-items: baseline; gap: 6px; font-size: 17px; color: var(--encre); }
.encart-moitie .marquee { font-size: 12px; font-weight: 600; color: var(--rouge); }
.encart-moitie .mini { width: 100%; height: auto; }
.encart-moitie .bas-encart { font-size: 13.5px; color: var(--or-texte); font-weight: 600; min-height: 16px; }
.joint-zoom { flex: none; width: 48px; min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 24px;
  background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--gris); color: var(--or-texte); font: 700 13px/1 var(--sans); }
.mesures-zoom { margin: 0 0 10px; }
.mesures-zoom .petit { margin: 0 0 6px; }
.puces { display: grid; gap: 6px; }
.puce { min-width: 44px; min-height: 44px; padding: 0 8px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--gris); font: italic 600 17px var(--serif); color: var(--encre); }
.marques-zoom { display: flex; align-items: center; gap: 6px; margin: 2px 0 10px; font-size: 15px; color: var(--encre2); }
.dessin.ici { margin: 0 0 12px; }
.zoom-vue .chapeau { margin-bottom: 10px; }

.remontee { list-style: none; margin: 4px 0 18px; padding: 0; position: relative; }
.remontee::before { content: ""; position: absolute; left: 13px; top: 22px; bottom: 22px; border-left: 2px dotted var(--gris); }
.etage { position: relative; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 10px 4px 6px; margin: 0 0 4px; border-radius: 12px; font-size: 16px; }
.etage b { min-width: 44px; font-size: 17px; }
.etage .quoi { margin-left: auto; color: var(--encre3); font-size: 14.5px; text-align: right; }
.etage .rond { flex: none; width: 15px; height: 15px; border-radius: 50%; background: var(--papier); box-shadow: inset 0 0 0 2px var(--encre3); z-index: 1; }
.etage.ici { background: var(--or-fond); box-shadow: inset 0 0 0 2px var(--or); }
.etage.ici .rond { background: var(--encre); box-shadow: none; }
.etage.ici .quoi { color: var(--or-texte); font-weight: 600; }
.etage.fait { color: var(--encre3); }
.etage .coche-etage { flex: none; width: 15px; text-align: center; color: var(--or); font-weight: 700; z-index: 1; }
.sorties .sortie-rang .txt small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--encre3); font-weight: 400; line-height: 1.3; }
.sorties .sortie-rang { padding-top: 12px; padding-bottom: 12px; }

.departs { margin: 0 0 10px; }
.departs-liste .choix-depart .txt small { display: block; font-size: 13.5px; color: var(--encre3); margin-top: 1px; }
.departs-liste .choix-depart[aria-pressed=true] { color: var(--or-texte); font-weight: 600; }
.coche-choix { flex: none; width: 22px; text-align: right; color: var(--or); font-size: 19px; font-weight: 700; }

.bascule.choix button small { font-size: 11.5px; }
.titre-vue { margin: 0 0 4px; font: 600 17px/1.2 var(--sans); }
.range-bloc .liste-range { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.range-bloc .liste-range li { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 10px; border-radius: 10px; border: 1.3px dashed var(--or); background: var(--papier); font-size: 14.5px; }
.range-bloc .liste-range .nom { font-weight: 700; }
.range-bloc .liste-range .quoi { color: var(--encre3); font-size: 13px; }

.range-bloc .sous-titre-revoir { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 4px 0 8px; font-weight: 700; font-size: 15px; color: var(--encre2); }
.range-bloc .sous-titre-revoir small { font-weight: 400; font-size: 13px; color: var(--encre3); }
.range-bloc .liste-range li .marque-passe, .range-bloc .liste-range li .marque-fissure { align-self: center; }
.range-bloc .liste-reparer { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.range-bloc .a-reparer { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 12px; border-radius: 10px; border: 1.3px solid var(--encre3); background: var(--papier); font-size: 14.5px; }
.range-bloc .a-reparer .nom { font-weight: 700; }
.range-bloc .a-reparer .quoi { color: var(--encre3); font-size: 13px; }
.range-bloc .a-reparer:active { background: var(--papier2); }
.grille-carte { display: grid; gap: 4px; }
.case { position: relative; min-height: 44px; height: 44px; border-radius: 10px; background: var(--papier2); display: flex; align-items: center; justify-content: center; }
.case .num { position: absolute; left: 5px; top: 3px; font: italic 600 12.5px/1 var(--serif); color: var(--encre2); }
.case .fiss { position: absolute; right: 4px; bottom: 4px; }
.case.niveau-1 { background: #F3EBD9; }
.case.niveau-2 { background: var(--or-fond); box-shadow: inset 0 0 0 1px var(--or-pale); }
.case.niveau-3 { background: var(--or-pale); }
.case.ici { box-shadow: inset 0 0 0 2px var(--encre); }
.carte .legende-mur svg { display: inline-block; vertical-align: -3px; }
.details .ligne-detail { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 14px 10px 16px; font-size: 16px; }
.details .ligne-detail .val { color: var(--encre2); text-align: right; }
.details .ligne-detail + .ligne-detail { border-top: 0.5px solid var(--gris); }
.fragiles .rang .txt small { display: block; font-size: 13.5px; color: var(--encre3); }

.fenetre { position: relative; display: flex; align-items: flex-start; }
.fenetre-axe { flex: none; }
.fenetre .defile { flex: 1; min-width: 0; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.fenetre .defile::-webkit-scrollbar { display: none; }
.fenetre .defile > svg { display: block; max-width: none; }
.fenetre-x .indicateur { position: absolute; left: 30px; right: 0; bottom: -7px; height: 3px; border-radius: 2px; }
.fenetre-y { display: block; }
.fenetre-y .defile { overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; padding-right: 8px; }
.fenetre-y .indicateur { position: absolute; top: 0; bottom: 0; right: 0; width: 3px; border-radius: 2px; }
.fenetre .indicateur span { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; border-radius: 2px; background: rgba(31, 28, 23, .38); }
.fenetre-x .indicateur span { width: 40px; }
.fenetre-y .indicateur span { height: 40px; }
.fenetre[data-fenetre="montagne"] .indicateur { left: 32px; }
.fenetre { margin-bottom: 10px; }

.groupe-reglage { margin: 0 0 18px; }
.groupe-reglage .groupe-titre { margin-top: 0; }
.lignes-reglage { margin: 0; }
.lignes-reglage .reglage { padding: 4px 14px 4px 16px; border-bottom: 0.5px solid var(--gris); }
.lignes-reglage .reglage:last-child { border-bottom: 0; }
.legende-groupe { margin: 6px 16px 0; font-size: 13px; }
.donnees { margin: 0 16px 22px; }

.fenetre .defile > svg.dessin { width: auto; height: auto; }
.preparation { padding: 6px 10px; }
.preparation p { font-size: 14px; line-height: 1.3; }
@media (max-height: 640px) { .preparation .signe-double { display: none; } }

@media (max-width: 374px) {
  .crayon .sortie { min-width: 64px; padding: 4px 4px; }
  .crayon .sortie b { font-size: 13px; }
  .crayon.reparation .etiquette { font-size: 11px; letter-spacing: .04em; }
  .crayon .fil-court { font-size: 14.5px; }
}

@media (max-width: 374px) {
  .suite .pastille { gap: 4px; padding: 6px 8px 6px 4px; }

  .suite .pastille { gap: 3px; padding: 5px 6px 5px 3px; }
  .suite .pastille .l1 { font-size: 14px; }
  .suite .pastille .l2 { font-size: 12.5px; }
}
.nb { white-space: nowrap; }

.ancre-rate { position: relative; height: 0; flex: none; }
.rate-compte { position: absolute; z-index: 11; left: var(--xl); width: var(--dr); bottom: 6px; display: flex; justify-content: center; align-items: baseline;
  pointer-events: none; font: 600 14px/22px var(--sans); color: var(--encre2); }
.rate-compte::before { content: ""; position: absolute; inset: 0 12px; border-radius: 11px; background: var(--papier2); box-shadow: inset 0 0 0 1px var(--gris); z-index: -1; }
.rate-compte sup { font-size: 9.5px; line-height: 0; margin-right: 3px; }

.pourquoi p.ligne-echelon { display: flex; justify-content: center; font-style: normal; }
.echelon { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; max-width: 100%; margin: -8px 0; padding: 0 12px; border-radius: 22px;
  background: var(--papier2); font: 500 15px/1 var(--sans); color: var(--encre2); white-space: nowrap; }
.echelon > span:not(.chev) { overflow: hidden; text-overflow: ellipsis; }
.echelon b { font-weight: 700; color: var(--encre); }
.echelon .chev { font-size: 13px; color: var(--encre3); margin-left: 1px; }
.echelon .petite-echelle { flex: none; }
.echelon:active { background: var(--papier3); }
@media (max-width: 359px) { .echelon { gap: 5px; padding: 0 9px; font-size: 14px; } }

.voile-clair { position: fixed; inset: 0; z-index: 24; }
.bulle-echelon { position: fixed; z-index: 25; left: var(--marge); right: var(--marge); max-width: 380px; margin: 0 auto;
  background: var(--papier); border-radius: 16px; box-shadow: 0 0 0 1px var(--trait), 0 12px 32px rgba(31, 28, 23, .22); padding: 12px 14px 0; }
.bulle-echelon .pointe { position: absolute; bottom: -7px; width: 14px; height: 14px; margin-left: -7px; background: var(--papier); transform: rotate(45deg); box-shadow: 1px 1px 0 var(--trait); }
.bulle-echelon h3 { margin: 0 0 6px; font: 700 16px/1.25 var(--sans); color: var(--encre); display: flex; justify-content: space-between; gap: 10px; }
.bulle-echelon h3 span { font-weight: 500; color: var(--encre3); white-space: nowrap; }
.defile-echelon { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.echelle-rem { display: grid; grid-template-columns: 58px 1fr; }
.echelle-rem svg { width: 58px; overflow: visible; }
.echelle-rem ol { list-style: none; margin: 0; padding: 0; }
.echelle-rem li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px; height: 40px; padding: 0 8px; border-radius: 10px; font-size: 15px; color: var(--encre2); }
.echelle-rem li b { font-weight: 700; color: var(--encre); }
.echelle-rem li em { font-style: normal; font-size: 13px; color: var(--encre3); }
.echelle-rem li.ici { background: var(--or-fond); box-shadow: inset 0 0 0 1.5px var(--or); }
.echelle-rem li.ici em { color: var(--or-texte); font-weight: 700; }
.echelle-rem li.fait { color: var(--encre3); }
.echelle-rem li.fait b { color: var(--encre3); font-weight: 600; }
.bulle-echelon .fermer { display: block; width: 100%; min-height: 44px; font: 600 16px/1 var(--sans); color: var(--or-texte); }

.bulle-note { position: fixed; z-index: 22; padding: 10px 12px 0; border-radius: 14px; background: var(--encre); color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(31, 28, 23, .22); pointer-events: none; }
.bulle-note p { margin: 0; font: 500 14.5px/1.32 var(--sans); color: #FFFFFF; font-style: normal; text-align: left; }
.bulle-note .actions { display: flex; justify-content: space-between; margin: 0 -6px; }
.bulle-note .lien { pointer-events: auto; min-height: 44px; padding: 0 6px; font: 500 15px/1 var(--sans); color: #E9D9AE; }
.bulle-note .lien.fort { font-weight: 700; color: #FFFFFF; min-width: 44px; }
.bulle-note .pointe { position: absolute; width: 14px; height: 14px; background: var(--encre); transform: rotate(45deg); border-radius: 2px; }
.bulle-note.dessous .pointe { top: -6px; }
.bulle-note.dessus .pointe { bottom: -6px; }

.voisins { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -4px 0 10px; }
.voisins .ici { font: 700 16px/1 var(--sans); color: var(--encre2); }
.voisins .voisin { min-width: 76px; min-height: 44px; padding: 0 12px; border-radius: 22px; background: var(--papier2); color: var(--or-texte); font: 600 16px/1 var(--sans); white-space: nowrap; }
.voisins .voisin:disabled { background: transparent; color: var(--gris); opacity: 1; }
.voisins .voisin:active:not(:disabled) { background: var(--or-pale); }
.bulle-note.sur .pointe { display: none; }
.bulle-note.sur { opacity: .96; }

.retour-feuillet .garde-titre { margin: 0 0 6px; font-weight: 600; color: var(--encre); }
.retour-feuillet .garde { margin: 0 0 12px; padding-left: 18px; color: var(--encre2); }
.retour-feuillet .garde li { margin: 0 0 4px; }
.retour-feuillet .garde b { color: var(--encre); }
.retour-feuillet .aide { margin: 0 0 14px; }

.groupe-titre .nom-morceau { text-transform: none; letter-spacing: 0; font: italic 500 14px/1.2 var(--serif); color: var(--encre2); }
.recommencer-feuillet .dates { margin: -2px 0 10px; font: italic 15.5px/1.35 var(--serif); color: var(--encre2); }
.recommencer-feuillet .aide { margin: 0 0 12px; }
.recommencer-feuillet .autre { margin: 14px 0 8px; }
.recommencer-feuillet .groupe { margin: 0; }
.voile .feuillet.recommencer-feuillet, .voile .feuillet.retour-feuillet, .voile .feuillet.surface-feuillet, .voile .feuillet.fait-feuillet { max-height: calc(100dvh - 16px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.liste .ligne .tours { display: flex; flex-direction: column; margin-top: 2px; }
.liste .ligne .tour { font-size: 13px; font-weight: 500; color: var(--encre3); }

.range-bloc .liste-range li { padding: 0; }
.range-bloc .element-revoir { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 10px; text-align: left; }
.range-bloc .element-revoir .nom { font-weight: 700; }
.range-bloc .element-revoir .quoi { color: var(--encre3); font-size: 13px; }
.range-bloc .element-revoir:active { background: var(--papier2); border-radius: 9px; }
.range-bloc .reprise { gap: 8px; }
.fait-feuillet .etat { display: flex; align-items: center; gap: 6px; margin: -2px 0 10px; color: var(--encre2); font-weight: 600; }

.surface-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; max-width: 100%;
  padding: 0 14px 0 11px; border-radius: 22px; background: var(--papier2); box-shadow: inset 0 0 0 1.5px var(--or-pale);
  font: 600 15px/1.1 var(--sans); color: var(--or-texte); white-space: nowrap; }
.surface-btn .court { display: none; }
@media (max-width: 359px) { .surface-btn .long { display: none; } .surface-btn .court { display: inline; } }
.surface-btn:active { background: var(--or-pale); }
.surface-feuillet .attend-titre { margin: 0 0 6px; font-weight: 600; color: var(--encre); }
.surface-feuillet .attend { margin: 0 0 10px; padding-left: 18px; color: var(--encre2); }
.surface-feuillet .attend b { color: var(--encre); }
.surface-feuillet .aide { margin: -4px 0 14px; }

.dechiffrer-vue { height: 100vh; height: 100dvh; min-height: 0; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.dechiffrer-vue .tete .lab { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--encre3); }
.dechiffrer-vue .titre-d { flex: none; margin: 2px 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dechiffrer-vue h1 { margin: 0; font: 700 32px/1.08 var(--sans); letter-spacing: -.01em; white-space: nowrap; }
.dechiffrer-vue .titre-d .ou { font-size: 15px; color: var(--encre3); white-space: nowrap; }
.dechiffrer-vue .tableau { flex: 1 1 0; min-height: 120px; position: relative; margin: 8px calc(-1 * var(--marge)) 4px; }
.dechiffrer-vue .tableau svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dechiffrer-vue .invite { flex: none; margin: 4px 0 0; font: italic 17px/1.35 var(--serif); color: var(--encre2); text-align: center; text-wrap: balance; }
.dechiffrer-vue .plis { flex: none; margin: 12px 0 0; border-radius: 14px; background: var(--papier2); overflow: hidden; }
.dechiffrer-vue .pli + .pli { border-top: 1px solid var(--trait); }
.dechiffrer-vue .pli > button { display: flex; width: 100%; min-height: 46px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px; text-align: left; font-weight: 600; font-size: 15.5px; color: var(--encre); }
.dechiffrer-vue .pli > button .chev { color: var(--encre3); transition: transform .25s ease; }
.dechiffrer-vue .pli[data-ouvert="1"] > button .chev { transform: rotate(90deg); }
.dechiffrer-vue .pli .texte { display: none; margin: -4px 0 0; padding: 0 14px 12px; font-size: 15px; line-height: 1.42; color: var(--encre2); }
.dechiffrer-vue .pli[data-ouvert="1"] .texte { display: block; }
.dechiffrer-vue .bas-d { flex: none; margin-top: 10px; }
.dechiffrer-vue .a-toi { margin: 0 0 10px; font-size: 14.5px; line-height: 1.38; color: var(--encre3); text-align: center; text-wrap: balance; }
.dechiffrer-vue .pret { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; min-height: 58px; padding: 8px 14px;
  border-radius: 16px; background: var(--or-fond); box-shadow: inset 0 0 0 2px var(--or); color: var(--or-texte); }
.dechiffrer-vue .pret b { font: 700 18px/1.15 var(--sans); }
.dechiffrer-vue .pret small { font: 500 13.5px/1.2 var(--sans); }
.dechiffrer-vue .pret:active { background: var(--or-pale); }

.dechiffrer-vue .souffle { opacity: .46; mix-blend-mode: screen; }
.dechiffrer-vue.bouge .souffle { animation: souffle 11s ease-in-out infinite; }
@keyframes souffle { 0%, 100% { opacity: .38; } 50% { opacity: .54; } }
.dechiffrer-vue .poussiere { opacity: 0; mix-blend-mode: screen; }
.dechiffrer-vue.bouge .poussiere { opacity: .85; animation: derive var(--t, 41s) ease-in-out infinite alternate; }
@keyframes derive { from { transform: translate(0, 0); } to { transform: translate(var(--dx, 6px), var(--dy, -14px)); } }
@media (prefers-reduced-motion: reduce) { .dechiffrer-vue.bouge .souffle, .dechiffrer-vue.bouge .poussiere { animation: none; } .dechiffrer-vue .poussiere { opacity: 0; } }
@media (max-height: 700px) {
  .dechiffrer-vue h1 { font-size: 28px; }
  .dechiffrer-vue .invite { font-size: 16px; }
  .dechiffrer-vue .a-toi { font-size: 13.5px; margin-bottom: 8px; }
  .dechiffrer-vue .plis { margin-top: 8px; }
}
@media (max-height: 600px) {
  .dechiffrer-vue .tableau { min-height: 96px; }
  .dechiffrer-vue .pli > button { min-height: 44px; }
  .dechiffrer-vue .invite { margin-top: 2px; font-size: 15px; }
  .dechiffrer-vue .a-toi { display: none; }
}
