:root{--jaune:#fc0;--bleu:#003da5;--bleu-clair:#e8eefb;--fond:#f4f5f7;--surface:#fff;--texte:#16181d;--discret:#646b78;--bordure:#dde0e6;--juste:#12804a;--juste-fond:#e3f5ea;--faux:#c62828;--faux-fond:#fdeaea;--rouge-fiche:#d32f2f;--touche:#fff;--touche-appui:#e3e7ee;--ombre:0 1px 2px #0000000f, 0 2px 8px #0000000d;--rayon:14px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bleu:#7da7ff;--bleu-clair:#1c2740;--fond:#0f1115;--surface:#1a1d23;--texte:#eef0f4;--discret:#9aa1ad;--bordure:#2c3038;--juste:#4cc38a;--juste-fond:#13291f;--faux:#ff6b6b;--faux-fond:#321718;--rouge-fiche:#ff7b7b;--touche:#262a32;--touche-appui:#353a44;--ombre:none}}*{box-sizing:border-box}html,body{background:var(--fond);color:var(--texte);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;overscroll-behavior-y:none;margin:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.4}button,input{font:inherit;color:inherit}a{color:inherit;text-decoration:none}h1,h2{margin:0;line-height:1.2}h2{font-size:1rem}.page{max-width:560px;min-height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);flex-direction:column;margin:0 auto;display:flex}.page.centre{text-align:center;justify-content:center;align-items:center;gap:16px;padding-left:24px;padding-right:24px}.contenu{flex-direction:column;flex:1;gap:14px;padding:8px 16px 32px;display:flex}.entete{z-index:2;background:var(--fond);align-items:center;gap:8px;padding:10px 12px;display:flex;position:sticky;top:0}.entete h1{flex:1;font-size:1.15rem}.entete-retour{min-width:44px;height:44px;color:var(--bleu);cursor:pointer;background:0 0;border:0;border-radius:12px;place-items:center;font-size:1.9rem;line-height:1;display:grid}.entete-retour.arme{background:var(--faux-fond);color:var(--faux);padding:0 10px;font-size:.9rem;font-weight:700}.discret{color:var(--discret);margin:0;font-size:.9rem}.centre-texte{text-align:center}.bloc{background:var(--surface);border-radius:var(--rayon);box-shadow:var(--ombre);flex-direction:column;gap:10px;padding:16px;display:flex}.bouton{border:1px solid var(--bordure);background:var(--surface);cursor:pointer;touch-action:manipulation;text-align:center;border-radius:12px;justify-content:center;align-items:center;min-height:48px;padding:0 18px;font-weight:600;display:inline-flex}.bouton.large{width:100%}.bouton.principal{background:var(--jaune);border-color:var(--jaune);color:#1a1a1a}.bouton.danger{color:var(--faux);background:0 0}.bouton.danger.arme{background:var(--faux);color:#fff;border-color:var(--faux)}.bouton:disabled{opacity:.45}.bouton.rond{width:48px;padding:0;font-size:1.4rem}.pile-boutons{flex-direction:column;gap:10px;display:flex}.lien-discret{color:var(--bleu);cursor:pointer;background:0 0;border:0;align-self:center;padding:10px;font-size:.95rem}.accueil-entete{align-items:center;gap:14px;padding:24px 16px 12px;display:flex}.accueil-entete h1{font-size:1.6rem}.logo{background:var(--jaune);color:#003da5;border-radius:14px;place-items:center;width:52px;height:52px;font-size:1.7rem;font-weight:800;display:grid}.carte-action{border-radius:var(--rayon);background:var(--surface);box-shadow:var(--ombre);border:1px solid var(--bordure);flex-direction:column;gap:4px;padding:18px;display:flex}.carte-action strong{font-size:1.1rem}.carte-action span{color:var(--discret);font-size:.9rem}.carte-action.principale{background:var(--jaune);border-color:var(--jaune);color:#1a1a1a;padding:24px 18px}.carte-action.principale span{color:#4a4000}.carte-action.examen{background:var(--bleu);border-color:var(--bleu);color:#fff;padding:24px 18px}.carte-action.examen span{color:#fffc}@media (prefers-color-scheme:dark){.carte-action.examen{background:#1d3c7a;border-color:#1d3c7a}}.carte-action.en-cours{border:2px solid var(--bleu)}.grille-2{grid-template-columns:1fr 1fr;gap:12px;display:grid}.choix-taille{align-items:center;gap:10px;display:flex}.choix-taille input{text-align:center;border:1px solid var(--bordure);background:var(--fond);border-radius:12px;flex:1;min-width:0;height:48px;font-size:1.4rem;font-weight:700}.ligne-repliable{cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;padding:0;display:flex}.ligne-repliable span{color:var(--discret)}.puces{flex-wrap:wrap;gap:6px;display:flex}.puce{border:1px solid var(--bordure);background:var(--fond);cursor:pointer;border-radius:999px;padding:6px 12px;font-size:.8rem}.puce.active{background:var(--bleu);border-color:var(--bleu);color:#fff}.regles{flex-direction:column;gap:6px;margin:0;padding-left:20px;display:flex}.choix-delai{grid-template-columns:1fr 1fr;gap:10px;display:grid}.choix{border:2px solid var(--bordure);background:var(--fond);cursor:pointer;border-radius:12px;flex-direction:column;align-items:center;gap:2px;padding:16px 8px;display:flex}.choix strong{font-size:1.5rem}.choix span{color:var(--discret);font-size:.85rem}.choix.actif{border-color:var(--bleu);background:var(--bleu-clair)}.page.jeu{height:100dvh;min-height:0;overflow:hidden}.jeu-entete{align-items:center;gap:10px;padding:6px 12px;display:flex}.progression{background:var(--bordure);border-radius:999px;flex:1;height:8px;overflow:hidden}.progression-barre{background:var(--jaune);height:100%;transition:width .2s}.compteur{font-variant-numeric:tabular-nums;text-align:right;min-width:56px;font-weight:600}.chrono-global{text-align:center;font-variant-numeric:tabular-nums;flex:1;font-size:1.5rem;font-weight:800}.chrono-global.urgent{color:var(--faux)}.minuteur-adresse{background:var(--bordure);border-radius:999px;height:6px;margin:0 12px;overflow:hidden}.minuteur-barre{background:var(--bleu);height:100%}.jeu-contenu{flex-direction:column;flex:1;gap:10px;min-height:0;padding:10px 12px 8px;display:flex}.carte-question{background:var(--surface);border-radius:var(--rayon);box-shadow:var(--ombre);text-align:center;flex-direction:column;flex:1;justify-content:center;gap:8px;min-height:0;padding:20px 16px;display:flex}.question-commune{color:var(--bleu);letter-spacing:.02em;font-size:.95rem;font-weight:700}.question-voie{overflow-wrap:anywhere;font-size:1.6rem;font-weight:800;line-height:1.2}.carte-adresse{background:var(--surface);border-radius:var(--rayon);box-shadow:var(--ombre);border-left:6px solid var(--jaune);overflow-wrap:anywhere;flex-direction:column;flex:1;justify-content:center;gap:4px;min-height:0;padding:18px 16px;font-size:1.3rem;font-style:normal;font-weight:700;line-height:1.25;display:flex}.carte-adresse .adresse-ville{margin-top:4px}.carte-adresse.compacte{flex:initial;box-shadow:none;border-left-width:4px;gap:0;padding:0 0 0 10px;font-size:.9rem;font-weight:600}.precedente{justify-content:space-between;min-height:1.4em;font-size:.9rem;font-weight:600;display:flex}.juste{color:var(--juste)}.faux{color:var(--faux)}.zone-reponse{justify-content:center;align-items:center;min-height:84px;display:flex}.cases-saisie{gap:10px;display:flex}.case-chiffre{border:2px solid var(--bordure);background:var(--surface);font-variant-numeric:tabular-nums;border-radius:12px;place-items:center;width:58px;height:70px;font-size:2.2rem;font-weight:800;display:grid}.case-chiffre.curseur{border-color:var(--bleu)}.retour{border-radius:var(--rayon);text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;column-gap:10px;width:100%;min-height:84px;padding:8px 12px;display:flex}.retour.juste{background:var(--juste-fond)}.retour.faux{background:var(--faux-fond)}.numero-revele{font-variant-numeric:tabular-nums;font-size:2.4rem;font-weight:800}.actions-jeu{justify-content:center;align-items:center;min-height:48px;display:flex}.pave{-webkit-user-select:none;user-select:none;grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.pave.desactive{opacity:.5}.touche{background:var(--touche);height:clamp(48px,8.5dvh,64px);box-shadow:var(--ombre);touch-action:manipulation;cursor:pointer;border:0;border-radius:12px;font-size:1.7rem;font-weight:600}.touche:active{background:var(--touche-appui)}.touche.secondaire{box-shadow:none;background:0 0}.touche.valider{background:var(--jaune);color:#1a1a1a;font-size:1.15rem;font-weight:800}.touche.valider:disabled{opacity:.4}.pret h1{font-size:2.2rem}.resultat{text-align:center;align-items:center}.score-grand{font-size:3.4rem;font-weight:800;line-height:1}.score-grand small{color:var(--discret);font-size:1.4rem}.chiffres{grid-template-columns:repeat(4,1fr);gap:4px;width:100%;margin:6px 0 0;display:grid}.chiffres dt{color:var(--discret);font-size:.75rem}.chiffres dd{margin:0;font-size:1.3rem;font-weight:800}.liste-erreurs,.liste-cas,.liste-simple,.liste-fiche,.liste-historique{margin:0;padding:0;list-style:none}.liste-erreurs li,.liste-cas li,.liste-simple li,.liste-fiche li{border-top:1px solid var(--bordure);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.liste-erreurs li:first-child,.liste-cas li:first-child,.liste-simple li:first-child,.liste-fiche li:first-child{border-top:0}.petite-commune{color:var(--bleu);font-size:.75rem;font-weight:700}.erreur-numeros{font-variant-numeric:tabular-nums;white-space:nowrap;align-items:baseline;gap:10px;display:flex}.erreur-numeros strong{color:var(--juste);font-size:1.2rem}.barre{color:var(--faux);text-decoration:line-through}.liste-historique{flex-direction:column;gap:8px;display:flex}.liste-historique a{border-radius:var(--rayon);background:var(--surface);box-shadow:var(--ombre);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.score{font-variant-numeric:tabular-nums;font-size:1.15rem;font-weight:800}.recherche{border:1px solid var(--bordure);background:var(--surface);border-radius:12px;width:100%;height:48px;padding:0 14px;font-size:1rem}.fiche h2{justify-content:space-between;gap:8px;display:flex}.defaut{background:var(--bleu-clair);border-radius:10px;margin:0;padding:8px 12px}.liste-fiche li strong{font-variant-numeric:tabular-nums}.rouge{color:var(--rouge-fiche);font-size:.85em;font-weight:600}
