

.apercu {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 16px;
  padding: 8px 16px; font-size: .84rem; background: #1d1d1f; color: #f2f2f2;
}
.apercu b { color: #ffb27d; font-weight: 600; }
.apercu .bascule { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.apercu .bascule button {
  height: 26px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent;
  color: #d8d8dc; font-size: .8rem; cursor: pointer;
}
.apercu .bascule button[aria-pressed="true"] { background: #fff; color: #1d1d1f; font-weight: 600; }

.app { display: grid; grid-template-columns: 248px 1fr; min-height: calc(100vh - 42px); }
.cote {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px;
  padding: 20px 14px; border-right: 1px solid var(--ligne); background: var(--fond);
}
.cote .marque { padding: 4px 10px 22px; }
.cote nav { display: flex; flex-direction: column; gap: 2px; }
.cote nav a, .cote-bas a {
  display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 12px;
  text-decoration: none; color: var(--doux); font-weight: 500; font-size: .95rem; transition: background-color .15s, color .15s;
}
.cote nav a svg, .cote-bas a svg { width: 19px; height: 19px; flex: none; }
.cote nav a:hover, .cote-bas a:hover { background: var(--fond-2); color: var(--texte); }
.cote nav a[aria-current="page"] { background: var(--surface); color: var(--texte); box-shadow: var(--ombre); }
.cote nav a[aria-current="page"] svg { color: var(--roux); }
.cote-bas { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--ligne); }
.solde-mini {
  margin: 10px 0 12px; padding: 14px; border-radius: 16px; background: var(--fond-2); border: 1px solid var(--ligne);
}
.solde-mini small { display: block; color: var(--doux); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.solde-mini b { display: block; margin: 2px 0 10px; font-size: 1.25rem; letter-spacing: -.02em; }
.jauge { height: 6px; border-radius: 99px; background: var(--ligne-forte); overflow: hidden; }
.jauge i { display: block; height: 100%; border-radius: inherit; background: var(--roux); }
.solde-mini a { display: inline-block; margin-top: 10px; font-size: .86rem; font-weight: 600; color: var(--roux); text-decoration: none; }

.principal { min-width: 0; padding: 28px 40px 64px; }
.haut-page { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.haut-page h1 { margin: 0; font-size: 1.9rem; letter-spacing: -.035em; line-height: 1.15; }
.haut-page p { margin: 6px 0 0; color: var(--doux); }
.vue[hidden] { display: none; }

@media (max-width: 1000px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .cote {
    position: sticky; top: 0; z-index: 40; height: auto; flex-direction: row; align-items: center; gap: 6px;
    padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--ligne); overflow-x: auto;
    background: color-mix(in srgb, var(--fond) 88%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .cote .marque { padding: 0 8px 0 2px; }
  .cote .marque b { display: none; }
  .cote nav { flex-direction: row; }
  .cote nav a { white-space: nowrap; height: 38px; }
  .solde-mini, .cote-bas { display: none; }
  .principal { padding: 22px 16px 56px; }
}

.carte {
  background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre);
}
.carte-titre { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; font-size: 1.05rem; letter-spacing: -.01em; }
.etiquette-champ { display: block; margin: 0 0 8px; font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--doux); }
.champ {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--ligne-forte);
  background: var(--surface); color: var(--texte); font: inherit; font-size: .98rem; transition: border-color .15s, box-shadow .15s;
}
.champ:focus { outline: 0; border-color: var(--roux); box-shadow: 0 0 0 4px var(--roux-voile); }
select.champ {
  appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("chevron.svg");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.aide { margin: 8px 0 0; font-size: .86rem; color: var(--doux); }

.segments { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 3px; border-radius: 13px; background: var(--fond-2); border: 1px solid var(--ligne); }
.segments button {
  min-width: 0; height: 36px; padding: 0 8px; border: 0; border-radius: 10px; background: transparent;
  color: var(--doux); font-size: .9rem; font-weight: 500; cursor: pointer; transition: background-color .15s, color .15s;
}
.segments button:hover { color: var(--texte); }
.segments button[aria-pressed="true"] { background: var(--surface); color: var(--texte); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 3px 10px -4px rgba(0, 0, 0, .16); }
.segments button:disabled { opacity: .4; cursor: not-allowed; }

.segments button { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.segments.quatre { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
@media (prefers-color-scheme: dark) { .segments button[aria-pressed="true"] { background: rgba(255, 255, 255, .13); } }

.inter { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; cursor: pointer; }
.inter span b { display: block; font-size: .95rem; font-weight: 600; }
.inter span small { display: block; margin-top: 2px; font-size: .84rem; color: var(--doux); line-height: 1.4; }
.inter input { position: absolute; opacity: 0; pointer-events: none; }
.inter i {
  position: relative; flex: none; width: 42px; height: 24px; margin-top: 2px; border-radius: 99px;
  background: var(--ligne-forte); transition: background-color .18s;
}
.inter i::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .18s;
}
.inter input:checked + i { background: var(--roux); }
.inter input:checked + i::after { transform: translateX(18px); }
.inter input:focus-visible + i { outline: 2px solid var(--roux); outline-offset: 3px; }
.inter[hidden] { display: none; }

.essais { display: grid; gap: 14px; }
.essais-titre { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--roux); }

.reglage { margin-top: 18px; }
.reglage-haut { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.reglage-haut label { font-size: .93rem; font-weight: 600; }
.reglage-haut output { font-size: .86rem; font-variant-numeric: tabular-nums; color: var(--doux); }
.reglage-haut output.change { color: var(--roux); font-weight: 600; }
.reglage small { display: block; margin-top: 2px; font-size: .82rem; color: var(--doux); }
input[type="range"] { width: 100%; margin: 10px 0 0; accent-color: var(--roux); cursor: pointer; }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 100; max-width: min(520px, calc(100% - 32px));
  padding: 14px 20px; border-radius: 16px; background: #1d1d1f; color: #f2f2f2; font-size: .93rem;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .5); transform: translate(-50%, 20px); opacity: 0;
  pointer-events: none; transition: .22s ease;
}
.toast.visible { transform: translate(-50%, 0); opacity: 1; }

.atelier { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
@media (max-width: 1240px) { .atelier { grid-template-columns: minmax(0, 1fr) 300px; } }
@media (max-width: 1000px) { .atelier { grid-template-columns: minmax(0, 1fr); } }
.atelier > *, .app > * { min-width: 0; }

.editeur { display: flex; flex-direction: column; overflow: visible; }
.editeur-barre {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 12px 14px; border-bottom: 1px solid var(--ligne);
}
.voix-choisie { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--doux); }
.voix-choisie img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.voix-choisie b { color: var(--texte); }
.bouton-balise {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 12px; border-radius: 999px;
  border: 1px solid var(--ligne-forte); background: var(--surface); font-size: .92rem; font-weight: 600; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.bouton-balise:hover, .bouton-balise[aria-expanded="true"] { border-color: var(--roux); background: var(--roux-voile); }
.bouton-balise svg { width: 18px; height: 18px; color: var(--roux); }

.zone { position: relative; flex: 1; }
.zone textarea, .zone .miroir {
  display: block; width: 100%; min-height: 360px; margin: 0; padding: 22px 24px; border: 0;
  font: inherit; font-size: 1.08rem; line-height: 1.7; letter-spacing: 0; white-space: pre-wrap; overflow-wrap: break-word;
  tab-size: 4;
  scrollbar-gutter: stable;
}
.zone .miroir { position: absolute; inset: 0; overflow: hidden; color: var(--texte); pointer-events: none; }
.zone .miroir mark {

  border-radius: 6px; background: var(--roux-voile); color: var(--roux-fonce);
  box-shadow: 0 0 0 1px rgba(243, 108, 27, .25);
}
@media (prefers-color-scheme: dark) { .zone .miroir mark { color: #ff9a5c; } }
.zone .miroir .trop { background: rgba(220, 38, 38, .14); border-radius: 3px; }
.zone textarea {
  position: relative; resize: vertical; background: transparent; color: transparent; caret-color: var(--texte);
  outline: 0; border-radius: 0;
}
.zone textarea::placeholder { color: var(--doux); opacity: .8; }
.zone textarea::selection { background: rgba(243, 108, 27, .28); color: transparent; }

.alerte { display: none; margin: 0 24px 14px; padding: 10px 14px; border-radius: 12px; font-size: .88rem; background: rgba(220, 38, 38, .08); color: #b91c1c; }
@media (prefers-color-scheme: dark) { .alerte { color: #fca5a5; background: rgba(220, 38, 38, .16); } }
.alerte.visible { display: block; }

.editeur-pied {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 14px 14px 14px 22px; border-top: 1px solid var(--ligne);
}
.compte-car { font-size: .9rem; color: var(--doux); font-variant-numeric: tabular-nums; }
.compte-car b { color: var(--texte); }
.compte-car .rouge { color: #dc2626; }
.bouton-generer { height: 48px; padding: 0 26px; }
.bouton-generer svg { width: 18px; height: 18px; }

.resultat { margin-top: 18px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.resultat .lire { flex: none; }
.resultat-infos { flex: 1; min-width: 0; }
.resultat-infos b { display: block; font-size: .96rem; }
.resultat-infos span { font-size: .86rem; color: var(--doux); }
.resultat-vide { display: flex; align-items: center; gap: 14px; color: var(--doux); font-size: .92rem; }
.resultat-vide svg { width: 34px; height: 34px; flex: none; color: var(--roux); opacity: .75; }

.panneau { padding: 20px; }
.panneau > * + * { margin-top: 22px; }
.separe { padding-top: 20px; border-top: 1px solid var(--ligne); }
.liste-voix { position: relative; }
.voix-bouton {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px 8px 8px; border-radius: 14px;
  border: 1px solid var(--ligne-forte); background: var(--surface); text-align: left; cursor: pointer; transition: border-color .15s;
}
.voix-bouton:hover, .voix-bouton[aria-expanded="true"] { border-color: var(--roux); }
.voix-bouton img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; }
.voix-bouton span { flex: 1; min-width: 0; }
.voix-bouton b { display: block; font-size: .98rem; }
.voix-bouton small { display: block; font-size: .82rem; color: var(--doux); }
.voix-bouton svg { width: 18px; height: 18px; color: var(--doux); }
.voix-menu {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); max-height: 380px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--ligne);
  border-radius: 16px; box-shadow: var(--ombre-forte);
}
.voix-menu[hidden] { display: none; }
.voix-menu li { display: flex; align-items: center; gap: 4px; border-radius: 12px; }
.voix-menu li:hover, .voix-menu li.active { background: var(--fond-2); }
.voix-menu .choisir {
  flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 7px 8px; border: 0; background: transparent;
  text-align: left; cursor: pointer; border-radius: 12px;
}
.voix-menu .choisir img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.voix-menu .choisir b { display: block; font-size: .95rem; }
.voix-menu .choisir small { display: block; font-size: .8rem; color: var(--doux); }
.voix-menu li[aria-selected="true"] .choisir b { color: var(--roux); }

.voix-menu li[hidden] { display: none; }
.pastille-style { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--fond-2); }
.pastille-style::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--teinte, var(--roux)); }
.style-menu .pastille-style { width: 36px; height: 36px; border-radius: 10px; }
.style-menu .choisir span, .style-bouton span { flex: 1; min-width: 0; }
.style-menu small, .style-bouton small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.style-narration { --teinte: #60a5fa; }
.style-dark { --teinte: #a78bfa; }
.style-kids { --teinte: #4ade80; }
.style-bedtime { --teinte: #f9a8d4; }
.style-news { --teinte: #f87171; }
.style-educational { --teinte: #fbbf24; }

.style-trailer { --teinte: #fb923c; }
.style-customer_service { --teinte: #2dd4bf; }
.style-conversational { --teinte: #a3e635; }
.style-meditation { --teinte: #818cf8; }
.style-asmr { --teinte: #e879f9; }
.ecoute {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin-right: 6px; border-radius: 50%;
  border: 1px solid var(--ligne-forte); background: var(--surface); cursor: pointer; color: var(--texte);
}
.ecoute:hover { border-color: var(--roux); color: var(--roux); }
.ecoute svg { width: 14px; height: 14px; }
.ecoute .icone-pause, .ecoute.en-cours .icone-lire { display: none; }
.ecoute.en-cours .icone-pause { display: block; }
.ecoute.en-cours { background: var(--roux); border-color: var(--roux); color: #fff; }

details.fins summary {
  display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none;
  font-weight: 600; font-size: .98rem;
}
details.fins summary::-webkit-details-marker { display: none; }
details.fins summary svg { width: 18px; height: 18px; color: var(--doux); transition: transform .2s; }
details.fins[open] summary svg { transform: rotate(180deg); }
.conseil { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--roux-voile); font-size: .85rem; line-height: 1.45; }
.lien-bouton { margin-top: 16px; padding: 0; border: 0; background: none; color: var(--roux); font-size: .88rem; font-weight: 600; cursor: pointer; }
.lien-bouton:hover { text-decoration: underline; }

.balises {
  position: absolute; z-index: 35; top: calc(100% + 8px); right: 0; width: min(400px, calc(100vw - 32px));
  padding: 8px; background: var(--surface); border: 1px solid var(--ligne); border-radius: 18px; box-shadow: var(--ombre-forte);
}
.balises[hidden] { display: none; }
.ancre-balise { position: relative; }
.balise-choix {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 12px;
  background: transparent; text-align: left; cursor: pointer;
}
.balise-choix:hover, .balise-choix:focus-visible { background: var(--fond-2); }
.balise-choix i {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--roux-voile); color: var(--roux); font-style: normal;
}
.balise-choix i svg { width: 18px; height: 18px; }
.balise-choix b { display: block; font-size: .95rem; }
.balise-choix small { display: block; font-size: .82rem; color: var(--doux); line-height: 1.35; }
.balise-choix code { margin-left: auto; font-family: var(--police-code); font-size: .76rem; color: var(--doux); }
.balise-etape { padding: 8px 8px 6px; }
.balise-etape-haut { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.balise-etape-haut button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 9px; background: var(--fond-2); cursor: pointer; }
.balise-etape-haut button svg { width: 16px; height: 16px; }
.balise-etape-haut b { font-size: 1rem; }
.balise-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.balise-grille button {
  display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 11px; border: 1px solid var(--ligne);
  background: var(--surface); font-size: .9rem; cursor: pointer; text-align: left;
}
.balise-grille button:hover { border-color: var(--roux); background: var(--roux-voile); }
.balise-grille img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.apercu-balise {
  margin: 14px 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--fond-2);
  font-family: var(--police-code); font-size: .88rem; color: var(--roux-fonce); overflow-wrap: anywhere;
}
@media (prefers-color-scheme: dark) { .apercu-balise { color: #ff9a5c; } }
.balise-etape .aide { margin-top: 0; }
.balise-etape .bouton { width: 100%; }
.pas { display: flex; align-items: center; gap: 10px; }
.pas button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--ligne-forte); background: var(--surface); font-size: 1.2rem; cursor: pointer; }
.pas output { min-width: 3.5em; text-align: center; font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .grille-3 { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .grille-2 { grid-template-columns: 1fr; } }
.bloc { padding: 24px; }
.grand-solde { margin: 4px 0 6px; font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.grand-solde small { font-size: .45em; font-weight: 600; color: var(--doux); letter-spacing: -.01em; }
.montants { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 4px 0 14px; }
.montants button {
  height: 50px; border-radius: 13px; border: 1px solid var(--ligne-forte); background: var(--surface);
  font-weight: 700; font-size: 1rem; cursor: pointer; transition: border-color .15s, background-color .15s;
}
.montants button:hover { border-color: var(--texte); }
.montants button[aria-pressed="true"] { border-color: var(--roux); background: var(--roux-voile); color: var(--roux-fonce); }
@media (max-width: 520px) { .montants { grid-template-columns: repeat(3, 1fr); } }
.recharge-ligne { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.recharge-ligne .champ { flex: 1; min-width: 140px; }

.montants[hidden], .montants button[hidden], .recharge-ligne[hidden], #payer[hidden], .bloc .aide[hidden] { display: none; }
.equivaut { margin: 14px 0 18px; font-size: .93rem; color: var(--doux); }
.equivaut b { color: var(--texte); }
.forfait { position: relative; padding: 24px; display: flex; flex-direction: column; }
.forfait h3 { margin: 0; font-size: 1.1rem; }
.forfait .badge { position: absolute; top: 20px; right: 20px; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 99px; background: var(--roux); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .02em; }
.forfait .prix { flex: none; color: var(--texte); margin: 14px 0 2px; font-size: 2rem; font-weight: 800; letter-spacing: -.035em; }
.forfait .prix small { font-size: .45em; font-weight: 600; color: var(--doux); }
.forfait p { margin: 6px 0 18px; font-size: .9rem; color: var(--doux); flex: 1; }
.forfait .bouton { align-self: flex-start; }
.section-espace { margin-top: 34px; }
.section-espace > h2 { margin: 0 0 14px; font-size: 1.2rem; letter-spacing: -.02em; }

.tableau { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tableau th { padding: 12px 18px; text-align: left; font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--doux); border-bottom: 1px solid var(--ligne); white-space: nowrap; }
.tableau td { padding: 14px 18px; border-bottom: 1px solid var(--ligne); font-variant-numeric: tabular-nums; }
.tableau tr:last-child td { border-bottom: 0; }
.tableau td.droite, .tableau th.droite { text-align: right; }
.tableau code { font-family: var(--police-code); font-size: .86rem; }
.defile-x { overflow-x: auto; }
.exemple { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: var(--fond-2); color: var(--doux); font-size: .72rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; vertical-align: middle; }
.vide { padding: 46px 24px; text-align: center; color: var(--doux); }
.vide svg { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--roux); opacity: .7; }
.vide b { display: block; margin-bottom: 4px; color: var(--texte); font-size: 1.02rem; }
.note-bas { margin: 14px 2px 0; font-size: .86rem; color: var(--doux); }
.bouton-mini { height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--ligne-forte); background: transparent; font-size: .85rem; font-weight: 600; cursor: pointer; }
.bouton-mini:hover { border-color: #dc2626; color: #dc2626; }

.ligne-compte { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 24px; border-bottom: 1px solid var(--ligne); flex-wrap: wrap; }
.ligne-compte:last-child { border-bottom: 0; }
.ligne-compte b { display: block; font-size: .96rem; }
.ligne-compte span { font-size: .88rem; color: var(--doux); }
.danger { color: #dc2626; border-color: rgba(220, 38, 38, .35); }
.danger:hover { border-color: #dc2626; }

.page-connexion { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 42px); }
.cx-gauche { display: flex; flex-direction: column; padding: 28px 40px; }
.cx-form { width: 100%; max-width: 400px; margin: auto; padding: 32px 0; }
.cx-form h1 { margin: 0 0 8px; font-size: 2rem; letter-spacing: -.035em; line-height: 1.1; }
.cx-form > p { margin: 0 0 26px; color: var(--doux); }
.onglets-cx { margin-bottom: 26px; }
.bouton-google {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 50px; border-radius: 999px;
  border: 1px solid var(--ligne-forte); background: var(--surface); font-weight: 600; font-size: .98rem; cursor: pointer;
  color: var(--texte); text-decoration: none;
}
.bouton-google:hover { border-color: var(--texte); }
.bouton-google svg { width: 20px; height: 20px; }
.note-google { margin: 10px 0 0; font-size: .8rem; color: var(--doux); text-align: center; line-height: 1.5; }
.note-google a { color: var(--texte); }
.ou { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--doux); font-size: .85rem; }
.ou::before, .ou::after { content: ""; flex: 1; height: 1px; background: var(--ligne-forte); }
.cx-form label + .champ, .cx-form .mdp { margin-bottom: 16px; }
.cx-form .bouton-principal { width: 100%; margin-top: 6px; }
.mdp { position: relative; }
.mdp .champ { padding-right: 52px; }
.mdp button { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: var(--doux); cursor: pointer; }
.mdp button svg { width: 19px; height: 19px; }
.ligne-oubli { display: flex; justify-content: space-between; align-items: center; margin: -6px 0 18px; font-size: .88rem; }
.ligne-oubli a { color: var(--roux); font-weight: 600; text-decoration: none; }
.case { display: flex; gap: 10px; align-items: flex-start; margin: 2px 0 16px; font-size: .88rem; color: var(--doux); cursor: pointer; }
.case input { margin-top: 3px; accent-color: var(--roux); width: 16px; height: 16px; flex: none; }
.case a { color: var(--texte); }
.cadeau { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--roux-voile); font-size: .9rem; }
.cadeau svg { width: 20px; height: 20px; flex: none; color: var(--roux); }
.cx-pied { font-size: .82rem; color: var(--doux); }
.cx-droite {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px;
  background: radial-gradient(circle at 80% 10%, #ff9a5c 0, transparent 46%), radial-gradient(circle at 10% 90%, #b8440a 0, transparent 50%), linear-gradient(160deg, #f36c1b, #c2510f);
  color: #fff;
}
.cx-visages { display: flex; margin-bottom: 26px; }
.cx-visages img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, .9); margin-left: -12px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.cx-visages img:first-child { margin-left: 0; }
.cx-droite blockquote { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.cx-droite p { margin: 16px 0 0; max-width: 30em; font-size: 1.02rem; opacity: .9; }
.cx-ondes { position: absolute; top: 48px; left: 48px; right: 48px; display: flex; align-items: center; gap: 5px; height: 120px; opacity: .35; }
.cx-ondes i { flex: 1; border-radius: 99px; background: #fff; }
@media (max-width: 900px) {
  .page-connexion { grid-template-columns: 1fr; }
  .cx-droite { display: none; }
  .cx-gauche { padding: 20px 16px; }
}

body.chargement .principal, body.chargement .solde-mini { visibility: hidden; }

.son-pret { margin-top: 16px; padding: 18px 20px; display: grid; gap: 12px; justify-items: start; }
.son-pret .son-titre { margin: 0; font-weight: 600; }
.son-pret audio { width: 100%; }
.son-pret .son-aide { margin: 0; }

.fenetre { width: min(440px, calc(100vw - 32px)); padding: 26px; border: 1px solid var(--ligne); border-radius: var(--rayon);
  background: var(--surface); color: var(--texte); box-shadow: var(--ombre-forte); }
.fenetre::backdrop { background: rgba(10, 10, 12, .45); }
.fenetre h2 { margin: 0 0 8px; font-size: 1.25rem; letter-spacing: -.01em; }
.fenetre p { margin: 0 0 16px; color: var(--doux); }
.fenetre .champ { margin-bottom: 16px; }
.fenetre-boutons { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.cle-complete code { display: block; padding: 12px 14px; border-radius: 12px; background: var(--fond-2); border: 1px solid var(--ligne-forte);
  font-family: var(--police-code); font-size: .9rem; color: var(--texte); word-break: break-all; user-select: all; }

.tableau tr.rate td { color: var(--doux); }
.histo-plus { margin: 14px auto 6px; display: block; }

.cx-panneau .aide { margin-top: 4px; }
.cx-panneau .bouton { margin-top: 18px; }

.page-recharge { display: flex; flex-direction: column; min-height: calc(100vh - 42px); padding: 28px 16px; }
.re-haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 560px; margin: 0 auto; flex-wrap: wrap; }
.re-retour { color: var(--roux); font-weight: 600; font-size: .9rem; text-decoration: none; }
.re-retour:hover { text-decoration: underline; }
.re-carte { width: 100%; max-width: 560px; margin: 28px auto; }
.re-carte h1 { margin: 0 0 18px; font-size: 1.8rem; letter-spacing: -.03em; line-height: 1.15; }
.re-carte .grand-solde { margin-bottom: 2px; }
.re-carte .equivaut { margin: 6px 0 4px; }
.re-changer { font-size: .88rem; color: var(--roux); font-weight: 600; text-decoration: none; }
.re-changer:hover { text-decoration: underline; }
.re-regle { margin: 22px 0 18px; padding: 16px 18px; border-radius: 14px; background: var(--roux-voile); font-size: .9rem; line-height: 1.55; }
.re-regle h2 { margin: 0 0 6px; font-size: 1rem; letter-spacing: -.01em; }
.re-regle p { margin: 0; }
.re-regle a { color: var(--texte); }
.re-carte .case { margin-bottom: 18px; color: var(--texte); }
.re-attente { margin: 0; font-size: .88rem; color: var(--doux); text-align: center; }
.re-boutons { min-height: 50px; }
.re-indispo { margin: 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--ligne-forte); font-size: .92rem; }
.re-resultat h2 { margin: 0 0 8px; font-size: 1.35rem; letter-spacing: -.02em; }
.re-resultat p { margin: 0 0 16px; color: var(--doux); }
.re-resultat.ok h2 { color: #16a34a; }
.re-pied { width: 100%; max-width: 560px; margin: 0 auto; font-size: .82rem; color: var(--doux); }

.recharges-liste .bouton-mini { border-color: var(--ligne-forte); }
.recharges-liste .bouton-mini:hover { border-color: var(--roux); color: var(--roux); }
.recharges-liste small { display: block; margin-top: 4px; color: var(--doux); font-size: .8rem; }

.resultat { display: block; transition: border-color .2s, box-shadow .2s; }
.resultat-vide[hidden], .resultat-attente[hidden], .resultat-erreur[hidden], .resultat-son[hidden],
.resultat-son [hidden] { display: none; }
.resultat-attente, .resultat-erreur { display: flex; align-items: center; gap: 16px; }
.resultat-attente { justify-content: center; min-height: 64px; }
.attente-texte { flex: 1; min-width: 0; display: grid; gap: 3px; }
.attente-texte b { font-size: .98rem; }
.attente-texte span { font-size: .86rem; color: var(--doux); }
.chrono { font-variant-numeric: tabular-nums; font-size: .9rem; font-weight: 600; color: var(--roux); min-width: 3em; text-align: right; }

.attente-onde { width: 100%; height: 72px; cursor: default; }

.resultat-son { animation: apparition .35s ease both; }
@keyframes apparition { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .resultat-son { animation: none; } }

.bouton-generer.occupe svg { display: none; }
.bouton-generer.occupe::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: tourne .8s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.bouton-generer:disabled { cursor: progress; opacity: .85; }

.resultat-erreur > svg { flex: none; width: 34px; height: 34px; color: #dc2626; }
@media (prefers-color-scheme: dark) { .resultat-erreur > svg { color: #f87171; } }

.resultat-son { display: grid; gap: 14px; }
.son-entete { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; }
.son-entete .son-titre { margin: 0; font-weight: 700; font-size: 1.02rem; }
.son-meta { font-size: .86rem; color: var(--doux); }
.son-lecteur { display: flex; align-items: center; gap: 14px; }
.son-lecteur .lire { width: 52px; height: 52px; }
.son-lecteur .lire svg { width: 20px; height: 20px; }
.son-onde { height: 56px; border-radius: 10px; }
.son-onde:focus-visible { outline: 2px solid var(--roux); outline-offset: 4px; }
.son-temps { min-width: 6.4em; }
.resultat-son .son-aide { margin: 0; }
.son-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.son-volume { display: flex; align-items: center; gap: 8px; }
.son-muet { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ligne-forte); background: transparent;
  color: var(--texte); display: grid; place-items: center; cursor: pointer; transition: border-color .15s, color .15s; }
.son-muet:hover { border-color: var(--roux); color: var(--roux); }
.son-muet svg { width: 18px; height: 18px; }
.son-muet .barre-muet { display: none; }
.son-muet[aria-pressed="true"] .barre-muet { display: inline; }
.son-muet[aria-pressed="true"] .ondes-volume { display: none; }
.son-volume input[type="range"] { --part: 100%; width: 110px; height: 4px; margin: 0; cursor: pointer; appearance: none; -webkit-appearance: none;
  border-radius: 999px; background: linear-gradient(to right, var(--roux) var(--part), var(--ligne-forte) var(--part)); }
.son-volume input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--roux); }
.son-volume input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--roux); }
.son-telecharger { gap: 8px; }
.son-telecharger svg { width: 18px; height: 18px; }

.forfait-actuel { margin-bottom: 18px; display: grid; gap: 10px; justify-items: start; }
.forfait-actuel .forfait-nom { margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.forfait-actuel .jauge { width: 100%; }
.forfait-actuel .aide { margin: 0; }
.forfait-boutons { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.forfait-boutons:empty { display: none; }
.forfait-haut { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.forfait-haut .etiquette-champ { margin: 0; }
.pastille-etat { font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--roux-voile); color: var(--roux-fonce); }
.pastille-etat.etat-arret_demande, .pastille-etat.etat-impaye { background: var(--fond-2); color: var(--doux); }
@media (max-width: 520px) {
  .son-lecteur { gap: 10px; }
  .son-temps { min-width: 0; font-size: .8rem; }
  .son-volume input[type="range"] { width: 80px; }
}

.cote nav a[hidden] { display: none; }
.cote nav a.nouveau-lien::after {
  content: attr(data-nouveau); margin-left: auto; padding: 2px 7px; border-radius: 999px; background: var(--roux); color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}

.orbe {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: #fff;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .55), transparent 45%), linear-gradient(135deg, var(--o1, #f36c1b), var(--o2, #b4235a));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.orbe[hidden] { display: none; }
.orbe svg { width: 55%; height: 55%; }
.orbe.o-b { --o1: #6d5dfc; --o2: #2bb6c9; }
.orbe.o-c { --o1: #16a34a; --o2: #0e7490; }
.orbe.o-d { --o1: #f59e0b; --o2: #db2777; }
.orbe.o-e { --o1: #334155; --o2: #7c3aed; }
.orbe.grand { width: 64px; height: 64px; border-radius: 18px; }
.orbe.mini { width: 30px; height: 30px; border-radius: 50%; }
.balise-grille .orbe.mini { width: 26px; height: 26px; }
.voix-menu .choisir .orbe { width: 36px; height: 36px; border-radius: 10px; }

.idees { display: flex; flex-wrap: wrap; gap: 8px; }
.idee {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; color: var(--texte);
  border: 1px solid var(--ligne-forte); background: var(--surface); font: inherit; font-size: .84rem; line-height: 1.25; cursor: pointer; text-align: left;
}
.idee::before { content: "+"; color: var(--roux); font-weight: 800; }
.idee:hover, .idee.choisie { border-color: var(--roux); background: var(--roux-voile); }

.case-mesure { position: relative; overflow: hidden; padding: 14px 16px; border-radius: 16px; color: #fff; background: #1d1d1f; }
.case-mesure[hidden] { display: none; }
.case-mesure::before {
  content: ""; position: absolute; right: -80px; top: -90px; width: 260px; height: 220px;
  background: radial-gradient(closest-side, rgba(243, 108, 27, .65), transparent 70%); pointer-events: none;
}
.case-mesure > * { position: relative; }
.case-mesure .nouveau { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--roux); font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.case-mesure h3 { margin: 8px 0 3px; font-size: 1rem; letter-spacing: -.01em; line-height: 1.2; }
.case-mesure p { margin: 0 0 10px; font-size: .8rem; opacity: .75; line-height: 1.4; }
.case-mesure .idees { gap: 6px; margin-bottom: 14px; }
.case-mesure .idee { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; font-size: .8rem; padding: 6px 10px; }
.case-mesure .idee::before { color: #ffb27d; }
.case-mesure .bouton { width: 100%; min-height: 36px; height: auto; padding-top: 6px; padding-bottom: 6px; font-size: .86rem; white-space: normal; line-height: 1.25; }

.voix-menu li.groupe { padding: 10px 10px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--doux); }
.voix-menu li.groupe:hover, .voix-menu li.sep:hover, .voix-menu li.creer-ligne:hover { background: none; }
.voix-menu li.sep { height: 1px; margin: 6px 4px; background: var(--ligne); }
.voix-menu .creer {
  display: flex; align-items: center; gap: 12px; width: 100%; margin: 2px 0 6px; padding: 7px 8px; border: 1px dashed var(--roux);
  border-radius: 12px; background: var(--roux-voile); text-align: left; cursor: pointer; color: var(--roux-fonce); font: inherit; font-weight: 700; font-size: .93rem;
}
.voix-menu .creer i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--roux); color: #fff; font-style: normal; font-size: 1.3rem; font-weight: 400; }
.voix-menu .creer small { display: block; font-weight: 500; color: var(--doux); font-size: .78rem; }
@media (prefers-color-scheme: dark) { .voix-menu .creer { color: #ffb27d; } }

.fenetre.fenetre-creation { width: min(600px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; }
.fenetre-creation .haut { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.fenetre-creation .haut h2 { margin: 0; }
.fenetre-creation .haut p { margin: 2px 0 0; }
.fenetre-creation textarea.champ { width: 100%; height: 96px; padding: 12px 14px; line-height: 1.5; resize: none; margin-bottom: 10px; }
.fenetre-creation .compteur { float: right; font-size: .8rem; color: var(--doux); font-weight: 500; letter-spacing: 0; text-transform: none; }
.fenetre-creation .reglages { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin: 0 0 14px; font-size: .8rem; color: var(--doux); }
.fenetre-creation .reglages b { color: var(--texte); font-weight: 600; margin-right: 4px; }
.fenetre-creation .idees { margin-bottom: 18px; }
.genre { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 3px; margin: 0 0 18px; border-radius: 13px; background: var(--fond-2); border: 1px solid var(--ligne); }
.genre button { border: 0; background: none; padding: 9px 14px; border-radius: 10px; font: inherit; font-size: .92rem; color: var(--doux); cursor: pointer; white-space: nowrap; }
.genre button[aria-checked="true"] { background: var(--surface); color: var(--texte); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 3px 10px -4px rgba(0, 0, 0, .16); }
@media (prefers-color-scheme: dark) { .genre button[aria-checked="true"] { background: rgba(255, 255, 255, .13); } }

.fenetre-creation .facultatif { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--doux); }
.fenetre-creation .aide-base { margin: -2px 0 10px; font-size: .8rem; color: var(--doux); }
.voix-base { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 6px; margin: 0 0 18px; }
.voix-base button { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 8px; border: 1px solid var(--ligne); border-radius: 12px; background: var(--surface); font: inherit; color: var(--texte); text-align: left; cursor: pointer; }
.voix-base button:hover { border-color: var(--roux); }
.voix-base button[aria-checked="true"] { border-color: var(--roux); background: var(--roux-voile); box-shadow: inset 0 0 0 1px var(--roux); }
.voix-base img { flex: none; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.voix-base span { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.voix-base b { font-size: .88rem; font-weight: 600; }
.voix-base small { font-size: .72rem; color: var(--doux); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#c-bloc-genre[hidden] { display: none; }

.base-menu { position: relative; margin: 0 0 18px; }
.base-champ {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 8px 44px 8px 12px; border: 1px solid var(--ligne-forte); border-radius: 12px;
  background: var(--surface) url("chevron.svg") no-repeat right 12px center / 18px; font: inherit; color: var(--texte); text-align: left; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.base-champ:hover, .base-champ[aria-expanded="true"] { border-color: var(--roux); }
.base-champ:focus-visible, .base-champ[aria-expanded="true"] { outline: 0; box-shadow: 0 0 0 4px var(--roux-voile); }
.base-champ.pris { padding-right: 76px; border-color: var(--roux); background-color: var(--roux-voile); }
.base-champ.pris:not([aria-expanded="true"]) { box-shadow: inset 0 0 0 1px var(--roux); }
.base-champ img, .base-champ .orbe, .base-option img, .base-option .orbe { flex: none; width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.base-vide { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1.5px dashed var(--ligne-forte); color: var(--doux); }
.base-vide svg { width: 18px; height: 18px; }
.base-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.base-txt b { font-size: .95rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.base-txt small { font-size: .78rem; color: var(--doux); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.base-retirer {
  position: absolute; top: 14px; right: 40px; display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: none; font: inherit; font-size: 1.15rem; line-height: 1; color: var(--doux); cursor: pointer;
}
.base-retirer:hover, .base-retirer:focus-visible { background: var(--surface); color: var(--texte); outline: 0; }
.base-retirer[hidden], .base-liste[hidden], .base-option[hidden], .base-groupe[hidden], .base-rien[hidden] { display: none; }
.base-liste { margin-top: 6px; padding: 6px; border: 1px solid var(--ligne); border-radius: 14px; background: var(--surface); box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .25); }
.base-cherche { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; margin: 0 0 4px; border-radius: 10px; background: var(--fond-2); color: var(--doux); }
.base-cherche:focus-within { box-shadow: inset 0 0 0 1px var(--roux); }
.base-cherche svg { flex: none; width: 17px; height: 17px; }
.base-cherche input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: .92rem; color: var(--texte); outline: 0; }
.base-defile { max-height: 292px; overflow-y: auto; }
.base-groupe { padding: 10px 10px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--doux); }
.base-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 10px; border: 0; border-radius: 10px; background: none; font: inherit; color: var(--texte); text-align: left; cursor: pointer; }
.base-option:hover, .base-option:focus-visible { background: var(--fond-2); outline: 0; }
.base-option[aria-selected="true"] b { color: var(--roux); }
.base-option[aria-selected="true"]::after { content: "\2713"; margin-left: auto; color: var(--roux); font-weight: 700; }
.base-rien { margin: 0; padding: 14px 10px; font-size: .88rem; color: var(--doux); }
.fenetre-creation .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fenetre-creation .deux .champ { width: 100%; margin-bottom: 0; }
.fenetre-creation .discret { margin: 16px 0 0; font-size: .8rem; color: var(--doux); }
.fenetre-creation .alerte { margin: 14px 0 0; }
.fenetre-creation .fenetre-boutons { margin-top: 20px; }
.fenetre-creation form[hidden] { display: none; }
.creation-attente { padding: 26px 8px 18px; text-align: center; }
.creation-attente[hidden] { display: none; }
.creation-attente b { display: block; margin-top: 22px; font-size: 1.1rem; }
.creation-attente p { margin: 6px 0 0; color: var(--doux); font-size: .9rem; }
.creation-onde { display: flex; align-items: center; justify-content: center; gap: 5px; height: 64px; }
.creation-onde i { width: 6px; height: 20%; border-radius: 99px; background: linear-gradient(180deg, #ff9a5c, #f36c1b 50%, #c084fc); animation: onde-creation 1.1s ease-in-out infinite; }
.creation-onde i:nth-child(2n) { animation-delay: -.25s; } .creation-onde i:nth-child(3n) { animation-delay: -.5s; } .creation-onde i:nth-child(5n) { animation-delay: -.8s; }
@keyframes onde-creation { 0%, 100% { height: 18%; opacity: .6; } 50% { height: 100%; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .creation-onde i { animation-duration: 3s; } }
@media (max-width: 560px) { .fenetre-creation .reglages, .fenetre-creation .deux { grid-template-columns: 1fr; } }

.haut-droite { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.compte-voix { font-size: .9rem; color: var(--doux); white-space: nowrap; }
.compte-voix b { color: var(--texte); }
.rappel { display: flex; align-items: center; gap: 18px; margin: 0 0 20px; padding: 16px 20px; border-radius: 16px; background: var(--roux-voile); border: 1px solid rgba(243, 108, 27, .28); }
.rappel > div { flex: 1; }
.rappel > div > b { display: block; margin-bottom: 4px; }
.rappel p { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--texte); }
.grille-mesure { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.carte-mesure { padding: 20px; display: flex; flex-direction: column; gap: 14px; position: relative; }

.carte-mesure .supprimer-haut {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0;
  border: 1px solid transparent; border-radius: 10px; background: none; color: var(--doux); cursor: pointer;
  transition: color .15s, border-color .15s, background-color .15s;
}
.carte-mesure .supprimer-haut svg { width: 18px; height: 18px; }
.carte-mesure .supprimer-haut:hover, .carte-mesure .supprimer-haut:focus-visible { color: #b91c1c; border-color: rgba(220, 38, 38, .3); background: rgba(220, 38, 38, .06); }
.carte-mesure .tete { padding-right: 34px; }

.fenetre.fenetre-perso { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; }
.fenetre-perso .haut { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.fenetre-perso .haut h2 { margin: 0; overflow-wrap: anywhere; }
.fenetre-perso .haut p { margin: 2px 0 0; font-size: .88rem; }
.fenetre-perso .reglage p.aide { margin: 6px 0 0; }
.fenetre-perso .aide[hidden] { display: none; }
.fenetre-perso .alerte { margin: 14px 0 0; }
.fenetre-perso .fenetre-boutons { margin-top: 20px; }
.carte-mesure .tete { display: flex; align-items: center; gap: 14px; min-width: 0; }
.carte-mesure .tete b { display: block; font-size: 1.08rem; letter-spacing: -.01em; overflow-wrap: anywhere; }
.carte-mesure .tete small { display: block; color: var(--doux); font-size: .82rem; }
.carte-mesure blockquote { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--fond-2); font-size: .9rem; line-height: 1.45; color: var(--texte); overflow-wrap: anywhere; }
.carte-mesure blockquote::before { content: "« "; color: var(--roux); font-weight: 700; }
.carte-mesure blockquote::after { content: " »"; color: var(--roux); font-weight: 700; }
.api-id { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--doux); min-width: 0; }
.api-id code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 8px; border-radius: 8px; background: var(--fond-2); color: var(--texte); font-size: .8rem; }

.carte-mesure .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: center; margin-top: auto; }
.carte-mesure .actions [data-utiliser] { grid-column: 1 / -1; }
.carte-mesure .actions .bouton { width: 100%; height: 38px; padding: 0 10px; font-size: .88rem; }
.carte-mesure .actions .petit-lien { margin-left: auto; font: inherit; font-size: .85rem; color: var(--doux); background: none; border: 0; cursor: pointer; }
.carte-mesure .actions .petit-lien:hover { color: #b91c1c; }
.carte-nouvelle { padding: 20px; border-radius: var(--rayon); border: 2px dashed var(--ligne-forte); display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.carte-nouvelle b { font-size: 1.1rem; letter-spacing: -.01em; }
.carte-nouvelle p { margin: 0; color: var(--doux); font-size: .9rem; }
.carte-nouvelle .bouton { align-self: flex-start; }
.vide-mesure { padding: 40px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.vide-mesure h2 { margin: 8px 0 0; font-size: 1.5rem; letter-spacing: -.02em; }
.vide-mesure p { margin: 0; max-width: 34em; color: var(--doux); }
.vide-mesure .idees { justify-content: center; margin: 8px 0; }
