:root {
  --fond: #070b14;
  --surface: #0f1626;
  --surface-2: #152036;
  --bord: #22304d;
  --texte: #e8eef9;
  --doux: #8a9bba;
  --orange: #ff7a1a;
  --orange-fonce: #e5620a;
  --cyan: #2ee6d6;
  --vert: #34d399;
  --rouge: #f87171;
  --jaune: #fbbf24;
  --rayon: 18px;
  --titre: "Barlow Condensed", "Arial Narrow", sans-serif;
  --corps: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --haut: env(safe-area-inset-top, 0px);
  --bas: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--fond);
  color: var(--texte);
  font: 15px/1.5 var(--corps);
  padding-bottom: calc(76px + var(--bas));
  -webkit-tap-highlight-color: transparent;
}
body.avec-barre { padding-bottom: calc(146px + var(--bas)); }
a { color: var(--cyan); }
h1, h2, h3 { font-family: var(--titre); letter-spacing: .02em; margin: 0 0 .4em; line-height: 1.1; }
h1 { font-size: 30px; text-transform: uppercase; }
h1 span { color: var(--doux); font-size: 17px; font-weight: 600; margin-left: 6px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; text-transform: uppercase; color: var(--texte); }
p { margin: 0 0 .6em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ---------- En-tête et navigation ---------- */
.entete {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + var(--haut)) 16px 10px;
  background: rgba(7, 11, 20, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bord);
}
.marque { display: flex; align-items: center; gap: 10px; }
.marque strong { font-family: var(--titre); font-size: 24px; letter-spacing: .06em; display: block; line-height: 1; }
.marque strong span { color: var(--orange); }
.marque small { color: var(--doux); font-size: 12px; }
.pastille-modele {
  border: 1px solid var(--bord); background: var(--surface); border-radius: 999px;
  padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--cyan); cursor: pointer;
}

main { max-width: 640px; margin: 0 auto; padding: 16px; outline: none; animation: apparait .25s ease; }

.onglets {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px 8px calc(6px + var(--bas));
  background: rgba(10, 15, 27, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--bord);
}
.onglets a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 0; min-height: 52px; justify-content: center;
  color: var(--doux); text-decoration: none; font-size: 12px; font-weight: 600; border-radius: 12px;
  transition: color .2s, background .2s;
}
.onglets svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.onglets a.actif { color: var(--orange); background: rgba(255, 122, 26, .1); }

/* ---------- Éléments communs ---------- */
.carte {
  background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon);
  padding: 16px; margin-bottom: 14px;
}
.carte.vide { text-align: center; color: var(--doux); padding: 28px 16px; }
.carte.attention { border-color: rgba(251, 191, 36, .4); }
.carte.attention h3 { color: var(--jaune); }
.petit, .aide { color: var(--doux); font-size: 13px; }
.aide { margin: -4px 0 12px; }
.rangee { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.rangee > .plein { flex: 1; }

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 46px; padding: 0 18px; border-radius: 14px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background .2s, border-color .2s;
}
.bouton:active { transform: scale(.97); }
.bouton.plein { width: 100%; }
.bouton.gros { min-height: 54px; font-size: 17px; margin-top: 10px; }
.bouton-orange { background: var(--orange); color: #1a0d02; }
.bouton-orange:hover { background: var(--orange-fonce); }
.bouton-orange:disabled { background: var(--surface-2); color: var(--doux); cursor: not-allowed; }
.bouton-contour { background: transparent; border-color: var(--bord); color: var(--texte); }
.bouton-contour:hover { border-color: var(--doux); }
.lien { background: none; border: 0; color: var(--cyan); font-weight: 600; cursor: pointer; padding: 8px 0; font-size: 14px; }
.chip {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--surface-2); border: 1px solid var(--bord); text-transform: uppercase; letter-spacing: .03em;
}
.chip.gagne { background: rgba(52, 211, 153, .15); border-color: var(--vert); color: var(--vert); }
.chip.perdu { background: rgba(248, 113, 113, .15); border-color: var(--rouge); color: var(--rouge); }
.badge.valeur {
  margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: .08em;
  color: #04201d; background: var(--cyan); padding: 3px 8px; border-radius: 6px;
  animation: pulse 2s ease-in-out infinite;
}
.cote {
  font-family: var(--titre); font-weight: 800; font-size: 22px; color: var(--orange);
  background: rgba(255, 122, 26, .1); border: 1px solid rgba(255, 122, 26, .35);
  border-radius: 10px; padding: 2px 10px; min-width: 64px; text-align: center;
}

.titre-section { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 6px 0 8px; }
.titre-bloc { margin: 20px 0 10px; }

/* ---------- Accueil ---------- */
.accueil { position: relative; overflow: hidden; border-color: rgba(255, 122, 26, .45); }
.accueil h2 { color: var(--orange); }
.accueil-ballon {
  position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%;
  border: 3px solid rgba(255, 122, 26, .35);
  animation: tourne 14s linear infinite;
}
.accueil-ballon::before, .accueil-ballon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(255, 122, 26, .25);
  transform: scaleX(.45);
}
.accueil-ballon::after { transform: scaleY(.45); }

/* ---------- Dates ---------- */
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.dates::-webkit-scrollbar { display: none; }
.date {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--bord); color: var(--doux); font-weight: 600;
}
.date::first-letter { text-transform: uppercase; }
.date.active { background: var(--texte); color: var(--fond); border-color: var(--texte); }

/* ---------- Cartes de match ---------- */
.match {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon);
  padding: 16px 16px 14px; margin-bottom: 14px;
  animation: monte .4s ease both; animation-delay: calc(var(--i, 0) * 60ms);
}
.bande { position: absolute; top: 0; left: 0; right: 0; height: 4px; display: flex; }
.bande span { flex: 1; background: var(--c1); }
.bande span + span { background: var(--c2); }
.match-haut { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.etat { font-family: var(--titre); font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.etat.direct { color: var(--rouge); display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.etat.direct i { width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); animation: pulse 1.2s infinite; }
.etat.fini { color: var(--doux); }
.choisir {
  min-height: 34px; padding: 0 12px; border-radius: 999px; cursor: pointer; font-size: 13px; font-weight: 700;
  background: transparent; border: 1px dashed var(--bord); color: var(--doux);
}
.choisir.oui { border-style: solid; border-color: var(--cyan); color: var(--cyan); background: rgba(46, 230, 214, .08); }

.equipes { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.equipe { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-width: 0; }
.equipe b { font-family: var(--titre); font-size: 20px; letter-spacing: .03em; text-transform: uppercase; }
.equipe small { color: var(--doux); font-size: 12px; }
.logo { object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.logo-vide { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); font-weight: 800; font-size: 12px; }
.centre { display: flex; flex-direction: column; align-items: center; }
.arobase { font-family: var(--titre); font-size: 22px; color: var(--doux); }
.score, .score-predit { font-family: var(--titre); font-size: 34px; font-weight: 800; letter-spacing: .02em; }
.score em, .score-predit em { font-style: normal; color: var(--doux); margin: 0 6px; }
.centre small { color: var(--doux); font-size: 12px; }

.cotes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; margin-top: 14px; }
.cotes > div { background: var(--surface-2); border-radius: 12px; padding: 8px 10px; min-width: 0; }
.cotes small { display: block; color: var(--doux); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.cotes { grid-template-columns: 1fr 1fr 1fr; }
.cotes b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 1.35; }
.cotes b span { color: var(--doux); font-size: 12px; font-weight: 500; }
.cotes.vide { display: block; color: var(--doux); font-size: 13px; text-align: center; padding: 8px; background: var(--surface-2); border-radius: 12px; }

.squelette { height: 210px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--bord); margin-bottom: 14px; position: relative; overflow: hidden; }
.squelette.petit { height: 60px; }
.squelette::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .04); animation: clignote 1.2s ease-in-out infinite; }

/* ---------- Barre de coupon ---------- */
.barre-coupon {
  position: fixed; left: 12px; right: 12px; bottom: calc(76px + var(--bas)); z-index: 25;
  max-width: 616px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px;
  background: var(--surface-2); border: 1px solid var(--cyan); border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: monte .25s ease;
}
.barre-coupon[hidden] { display: none; }
.barre-coupon span { flex: 1; font-weight: 700; color: var(--cyan); }
.barre-coupon .bouton { min-height: 42px; }

/* ---------- Feuille d'analyse en cours ---------- */
.feuille {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px;
  background: rgba(4, 7, 13, .88); backdrop-filter: blur(6px); animation: apparait .2s ease;
}
.feuille-boite {
  width: 100%; max-width: 440px; text-align: center;
  background: var(--surface); border: 1px solid var(--bord); border-radius: 24px; padding: 28px 20px 20px;
}
.ballon-anime { height: 96px; position: relative; margin-bottom: 8px; }
.ballon-anime span {
  position: absolute; left: 50%; width: 56px; height: 56px; margin-left: -28px; border-radius: 50%;
  background: var(--orange); animation: rebond .7s cubic-bezier(.5, 0, .5, 1) infinite alternate;
}
.ballon-anime span::before, .ballon-anime span::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1a0d02;
  clip-path: inset(0 47% 0 47%);
}
.ballon-anime span::after { clip-path: inset(47% 0 47% 0); }
.ballon-anime::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 60px; height: 8px; margin-left: -30px;
  border-radius: 50%; background: rgba(0, 0, 0, .6); animation: ombre .7s cubic-bezier(.5, 0, .5, 1) infinite alternate;
}
.etapes { list-style: none; margin: 16px 0; padding: 0; max-height: 34vh; overflow-y: auto; text-align: left; }
.etapes li {
  padding: 8px 12px; border-radius: 10px; background: var(--surface-2); margin-bottom: 6px; font-size: 13px;
  color: var(--doux); animation: monte .3s ease; overflow-wrap: anywhere;
}
.etapes li.faite { color: var(--texte); }
.etapes li.faite .loupe { filter: grayscale(0); }
.etapes li.redaction { color: var(--orange); font-weight: 600; }

/* ---------- Fiche d'analyse ---------- */
.retour { display: inline-block; margin-bottom: 12px; text-decoration: none; font-weight: 600; min-height: 32px; }
.duel { position: relative; overflow: hidden; text-align: center; }
.duel::before { content: ""; position: absolute; top: 0; left: 0; width: 50%; height: 4px; background: var(--c1); }
.duel::after { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 4px; background: var(--c2); }
.duel .petit::first-letter, .carte > .petit::first-letter { text-transform: uppercase; }
.equipes.grand .equipe b { font-size: 22px; }
.score-predit { font-size: 44px; color: var(--texte); }
.proba { margin: 16px 0 6px; }
.proba-barre { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--surface-2); gap: 2px; }
.proba-barre span { animation: remplit .9s ease both; transform-origin: left; }
.proba-barre .ext { background: var(--c1); }
.proba-barre .dom { background: var(--c2); transform-origin: right; }
.proba-legende { display: flex; justify-content: space-between; font-size: 13px; color: var(--doux); margin-top: 6px; }
.proba-legende span:first-child, .proba-legende span:last-child { font-family: var(--titre); font-size: 20px; color: var(--texte); font-weight: 700; }
.grille-infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.grille-infos > div { background: var(--surface-2); border-radius: 12px; padding: 10px 6px; text-align: center; min-width: 0; }
.grille-infos small { display: block; color: var(--doux); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.grille-infos b { font-family: var(--titre); font-size: 20px; overflow-wrap: anywhere; }

.paris { list-style: none; padding: 0; margin: 0; }
.pari {
  background: var(--surface); border: 1px solid var(--bord); border-left: 4px solid var(--vert);
  border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; animation: monte .35s ease both;
}
.pari.niveau-equilibre { border-left-color: var(--jaune); }
.pari.niveau-audacieux { border-left-color: var(--rouge); }
.pari-haut { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pari-haut small { color: var(--doux); font-size: 12px; }
.niveau-prudent .chip { color: var(--vert); border-color: rgba(52, 211, 153, .4); }
.niveau-equilibre .chip { color: var(--jaune); border-color: rgba(251, 191, 36, .4); }
.niveau-audacieux .chip { color: var(--rouge); border-color: rgba(248, 113, 113, .4); }
.pari-corps { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.pari-corps b { font-size: 16px; }
.pari-corps small { display: block; color: var(--doux); font-size: 12px; }
.pari p { font-size: 13px; color: var(--doux); margin: 0; }
.pari p strong { color: var(--texte); }
.jauge { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-bottom: 8px; }
.jauge span { display: block; height: 100%; width: var(--p); background: var(--cyan); animation: remplit .8s ease both; transform-origin: left; }

.facteurs, .absences, .sources { list-style: none; padding: 0; margin: 0; }
.facteurs li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--bord); }
.facteurs li:first-child { border-top: 0; padding-top: 0; }
.facteurs p { margin: 2px 0 0; color: var(--doux); font-size: 14px; }
.cote-avantage {
  flex: none; min-width: 66px; height: 28px; display: grid; place-items: center; border-radius: 8px;
  font-family: var(--titre); font-weight: 700; font-size: 15px; background: var(--surface-2); color: var(--doux);
}
.cote-avantage.domicile, .cote-avantage.exterieur { color: var(--cyan); }
.absences li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 8px 0; border-top: 1px solid var(--bord); }
.absences li:first-child { border-top: 0; }
.absences .chip { grid-row: span 2; align-self: center; }
.absences small { color: var(--doux); font-size: 13px; }
.impact-fort { border-color: var(--rouge); color: var(--rouge); }
.impact-moyen { border-color: var(--jaune); color: var(--jaune); }
.puces { margin: 0; padding-left: 20px; }
.puces li { margin-bottom: 6px; }
.numeros li::marker { color: var(--orange); font-weight: 700; }

.resultat { display: flex; align-items: center; gap: 8px; margin: 14px 0; flex-wrap: wrap; }
.resultat span { color: var(--doux); font-weight: 600; }
.resultat button {
  min-height: 42px; padding: 0 16px; border-radius: 12px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--bord); font-weight: 700;
}
.resultat button.actif.gagne { border-color: var(--vert); background: rgba(52, 211, 153, .15); }
.resultat button.actif.perdu { border-color: var(--rouge); background: rgba(248, 113, 113, .15); }

.pied details { margin-top: 12px; }
.pied summary { cursor: pointer; color: var(--cyan); font-weight: 600; min-height: 32px; }
.sources li { padding: 6px 0; font-size: 13px; overflow-wrap: anywhere; }
.responsable { color: var(--doux); font-size: 12px; margin: 12px 0 0; }
.exemple { color: var(--jaune); font-weight: 600; }

/* ---------- Coupons ---------- */
.titre-fiche { margin-bottom: 2px; }
.remarque { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(251, 191, 36, .08); border: 1px solid rgba(251, 191, 36, .3); font-size: 14px; }
.mise { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 600; color: var(--doux); }
.mise input, select, .champ-cle input {
  background: var(--surface-2); border: 1px solid var(--bord); color: var(--texte); border-radius: 12px;
  min-height: 44px; padding: 0 12px; font: inherit; font-size: 16px;
}
.mise input { width: 120px; font-weight: 700; color: var(--texte); }
select { width: 100%; }
.pari-soir { border-color: rgba(46, 230, 214, .45); }
.pari-soir .chip { color: var(--cyan); border-color: rgba(46, 230, 214, .4); margin-bottom: 10px; }
.pari-soir p { color: var(--doux); font-size: 14px; margin: 0; }

.ticket {
  position: relative; background: var(--surface); border: 1px solid var(--bord); border-radius: 20px;
  margin-bottom: 16px; overflow: hidden; animation: monte .4s ease both; animation-delay: calc(var(--i, 0) * 90ms);
}
.ticket header { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px; border-bottom: 2px dashed var(--bord); align-items: center; }
.ticket header .chip { justify-self: start; }
.ticket header h3 { grid-column: 1; margin: 0; }
.ticket-cote { grid-row: 1 / span 2; grid-column: 2; text-align: right; }
.ticket-cote small { display: block; color: var(--doux); font-size: 11px; text-transform: uppercase; }
.ticket-cote b { font-family: var(--titre); font-size: 38px; line-height: 1; }
.ticket.niveau-prudent .ticket-cote b { color: var(--vert); }
.ticket.niveau-equilibre .ticket-cote b { color: var(--jaune); }
.ticket.niveau-audacieux .ticket-cote b { color: var(--rouge); }
.ticket::before, .ticket::after {
  content: ""; position: absolute; top: 88px; width: 20px; height: 20px; border-radius: 50%; background: var(--fond); border: 1px solid var(--bord);
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.ticket ol { list-style: none; margin: 0; padding: 4px 16px; }
.ticket li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--bord); }
.ticket li:last-child { border-bottom: 0; }
.ticket li small { display: block; color: var(--doux); font-size: 12px; }
.ticket li p { margin: 2px 0 0; color: var(--doux); font-size: 13px; }
.ticket footer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px; }
.ticket footer > div { background: var(--surface-2); border-radius: 12px; padding: 10px; }
.ticket footer small { display: block; color: var(--doux); font-size: 11px; text-transform: uppercase; }
.ticket footer b { font-family: var(--titre); font-size: 22px; }
.ticket .gain { color: var(--cyan); }
.conseil { padding: 10px 16px 0; color: var(--doux); font-size: 14px; margin: 0; }
.ticket > .bouton { margin: 12px 16px 16px; width: calc(100% - 32px); }

.choix-matchs { list-style: none; padding: 0; margin: 0 0 6px; }
.choix-matchs button {
  width: 100%; display: flex; align-items: center; gap: 8px; cursor: pointer; text-align: left;
  min-height: 56px; padding: 8px 14px; margin-bottom: 8px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--bord);
  transition: border-color .2s, background .2s;
}
.choix-matchs button.oui { border-color: var(--cyan); background: rgba(46, 230, 214, .06); }
.choix-matchs b { font-family: var(--titre); font-size: 19px; }
.choix-matchs em { color: var(--doux); font-style: normal; }
.choix-matchs small { margin-left: auto; color: var(--doux); }
.case { width: 24px; height: 24px; flex: none; border-radius: 7px; border: 2px solid var(--bord); display: grid; place-items: center; font-weight: 800; color: #04201d; }
.oui .case { background: var(--cyan); border-color: var(--cyan); }
.lien-carte { display: block; text-decoration: none; font-weight: 600; }

/* ---------- Suivi ---------- */
.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.tuile { background: var(--surface); border: 1px solid var(--bord); border-radius: 16px; padding: 14px; }
.tuile small { display: block; color: var(--doux); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.tuile b { font-family: var(--titre); font-size: 34px; line-height: 1.1; }
.tuile em { display: block; font-style: normal; color: var(--doux); font-size: 12px; }
.liste-historique { list-style: none; padding: 0; margin: 0; }
.liste-historique a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px; min-height: 60px;
  background: var(--surface); border: 1px solid var(--bord); border-radius: 14px; color: var(--texte); text-decoration: none;
}
.liste-historique .icone { font-size: 22px; }
.liste-historique div { flex: 1; min-width: 0; }
.liste-historique b { display: block; }
.liste-historique small { color: var(--doux); font-size: 12px; }

/* ---------- Réglages ---------- */
.champ-cle { display: flex; gap: 8px; }
.champ-cle input { flex: 1; min-width: 0; font-family: ui-monospace, Consolas, monospace; font-size: 14px; }
.options { display: grid; gap: 8px; margin-bottom: 16px; }
.option {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--bord); transition: border-color .2s;
}
.option.active { border-color: var(--orange); }
.option input { accent-color: var(--orange); width: 20px; height: 20px; flex: none; }
.option b { display: block; }
.option small { color: var(--doux); font-size: 13px; }
.ok { color: var(--vert); font-weight: 600; }
.version { margin-top: 12px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(150px + var(--bas)); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--texte); color: var(--fond); font-weight: 600; padding: 12px 18px; border-radius: 14px;
  max-width: calc(100% - 32px); text-align: center; transition: opacity .25s, transform .25s;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animations ---------- */
@keyframes apparait { from { opacity: 0; } to { opacity: 1; } }
@keyframes monte { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes clignote { 50% { opacity: 0; } }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes remplit { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rebond { from { top: 0; } to { top: 34px; } }
@keyframes ombre { from { transform: scaleX(.5); opacity: .3; } to { transform: scaleX(1); opacity: .7; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (min-width: 700px) {
  .onglets { left: 50%; right: auto; width: 520px; transform: translateX(-50%); bottom: 12px; border: 1px solid var(--bord); border-radius: 20px; padding-bottom: 6px; }
}
