/* Ma BD (charte « Nuit et or », jetons de charte.css) : présentation, atelier (avatar, nouvelle BD, Mes BD) et éditeur des bulles. Mobile d'abord. */
.page-bd{background:var(--papier)}
.page-bd .visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Présentation ---------- */
.bd-hero{padding:clamp(2rem,6vw,4.5rem) 0 clamp(2rem,5vw,3.5rem);color:var(--texte-nuit);background:radial-gradient(120% 90% at 85% 10%,color-mix(in srgb,var(--or) 16%,transparent) 0,transparent 55%),var(--nuit)}
.bd-hero-grille{display:grid;gap:2rem;align-items:center}
.bd-hero h1{font-size:clamp(2.3rem,8vw,4rem);margin:.6rem 0 1rem}
.bd-chapeau{font-size:1.1rem;color:var(--doux-nuit);max-width:34rem}
.bd-cta{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.6rem 0 1rem}
.btn-trait-bd{background:transparent;color:inherit;border:1px solid color-mix(in srgb,currentColor 42%,transparent)}
.btn-trait-bd:hover{border-color:var(--or);background:color-mix(in srgb,var(--or) 10%,transparent)}
.bd-mention{font-size:.95rem;color:var(--doux-nuit)}
.bd-mention strong{color:var(--or)}
.bd-hero-visuel{margin:0;background:var(--surface);border-radius:var(--rayon);padding:.6rem;box-shadow:var(--ombre);border:1px solid var(--filet-nuit);transform:rotate(-1.2deg)}
.bd-hero-visuel img{border-radius:16px;width:100%;height:auto}
.bd-hero-visuel figcaption{font-size:.82rem;color:var(--doux-nuit);text-align:center;margin-top:.5rem}
.bd-note-fictif{font-size:.82rem;color:var(--doux);text-align:center;margin-top:.5rem}
.bd-trois{list-style:none;display:grid;gap:1rem}
/* Bandes alternées : héros nuit, étapes ivoire, exemples nuit, tarifs ivoire */
.bd-trois li{background:var(--blanc);border-radius:var(--rayon);padding:1.4rem 1.3rem;border:1px solid color-mix(in srgb,var(--or) 25%,transparent);box-shadow:var(--ombre-douce)}
.bd-trois h3{font-family:'Fraunces',Georgia,serif;font-weight:400;font-size:1.35rem;margin:.6rem 0 .4rem}
.bd-trois p{color:var(--doux)}
.bd-num{display:inline-grid;place-items:center;width:2.4rem;height:2.4rem;border-radius:50%;background:var(--degrade-or);color:var(--sur-or);font-weight:600}
.bd-exemples{background:var(--nuit);color:var(--texte-nuit)}
.bd-exemples .bd-note-fictif{color:var(--doux-nuit)}
.bd-galerie-exemples{display:grid;gap:1.4rem;align-items:start}
.bd-exemple{margin:0}
.bd-cadre-exemple{position:relative;border-radius:18px;overflow:hidden;box-shadow:var(--ombre);background:var(--blanc);container-type:inline-size}
.bd-cadre-exemple img{width:100%;height:auto}
.bd-exemple figcaption{text-align:center;margin-top:.7rem;color:var(--doux-nuit)}
.bd-exemple figcaption strong{color:var(--texte-nuit);font-weight:500}
.bd-offres{display:grid;gap:1rem;max-width:760px;margin:0 auto}
.bd-form [hidden]{display:none!important}
.bd-conjoint-vide p{color:var(--doux);margin:.4rem 0 1rem;max-width:62ch}
.bd-offre{background:var(--blanc);border-radius:var(--rayon);padding:1.6rem;border:1px solid color-mix(in srgb,var(--encre) 10%,transparent)}
.bd-offre.or{border:1px solid var(--or);box-shadow:0 14px 40px color-mix(in srgb,var(--or) 22%,transparent)}
.bd-offre h3{font-family:'Fraunces',Georgia,serif;font-weight:400;font-size:1.4rem}
.bd-prix{font-family:'Fraunces',Georgia,serif;font-size:2.4rem;margin:.3rem 0 .8rem;color:var(--or-texte)}
.bd-offre ul{padding-left:1.1rem;color:var(--doux);display:grid;gap:.35rem}

/* ---------- Atelier ---------- */
.bd-atelier{background:var(--papier-2)}
.bd-panneau{background:var(--blanc);border-radius:var(--rayon);padding:clamp(1.1rem,4vw,1.8rem);border:1px solid color-mix(in srgb,var(--or) 30%,transparent);box-shadow:var(--ombre-douce);margin-bottom:1.4rem}
.bd-panneau-tete{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem;margin-bottom:1rem}
.bd-panneau-tete h3,.bd-mes h3{font-family:'Fraunces',Georgia,serif;font-weight:400;font-size:1.6rem}
.bd-pastille{font-size:.85rem;background:color-mix(in srgb,var(--or) 22%,var(--blanc));color:var(--or-texte);padding:.3rem .8rem;border-radius:999px}
.bd-form{display:grid;gap:1.2rem}
.bd-form fieldset{border:0;padding:0;margin:0;min-width:0}
.bd-form legend{font-weight:500;margin-bottom:.6rem}
.requis{font-weight:400;font-size:.85rem;color:var(--doux)}
.bd-choix-sexe,.bd-puces{display:flex;flex-wrap:wrap;gap:.5rem}
.bd-puce{position:relative}
.bd-puce input{position:absolute;opacity:0;inset:0;cursor:pointer}
.bd-puce span{display:inline-flex;align-items:center;gap:.5rem;min-height:48px;padding:.6rem 1.2rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--encre) 20%,transparent);background:var(--blanc);cursor:pointer}
.bd-puce input:checked+span{background:var(--nuit);color:var(--texte-nuit);border-color:var(--or)}
.bd-puce input:focus-visible+span{outline:3px solid var(--focus);outline-offset:2px}
.bd-puce input:disabled+span{opacity:.45;cursor:not-allowed}
.bd-puce i{display:inline-block;border:2px solid currentColor;border-radius:3px}
.forme-carre{width:14px;height:14px}.forme-paysage{width:18px;height:12px}.forme-portrait{width:12px;height:18px}
.bd-styles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.bd-style,.bd-theme{position:relative;display:grid;gap:.15rem;padding:.55rem;border-radius:16px;border:1px solid color-mix(in srgb,var(--encre) 14%,transparent);background:var(--blanc);cursor:pointer}
.bd-style input,.bd-theme input{position:absolute;opacity:0;inset:0;cursor:pointer}
.bd-style img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:11px}
.bd-style .nom,.bd-theme .nom{font-weight:500;margin-top:.3rem}
.bd-style em{font-style:normal;font-size:.72rem;background:color-mix(in srgb,var(--or) 22%,var(--blanc));color:var(--or-texte);padding:.05rem .45rem;border-radius:999px;vertical-align:middle}
.bd-style small,.bd-theme small{color:var(--doux);font-size:.82rem;line-height:1.35}
.bd-style:has(input:checked),.bd-theme:has(input:checked){border-color:var(--or);box-shadow:0 0 0 2px var(--or) inset,0 8px 24px color-mix(in srgb,var(--or) 25%,transparent)}
.bd-style:has(input:focus-visible),.bd-theme:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:2px}
.bd-themes,.bd-reservoirs{display:grid;gap:.6rem}
.bd-theme{padding:.9rem 1rem}
.bd-deux,.bd-trois-choix,.bd-champs-dialogue{display:grid;gap:1rem;grid-template-columns:minmax(0,1fr)}
.bd-form .champ select,.bd-panneau-outil select{max-width:100%;min-width:0}
.bd-panneau-outil,.bd-panneau{min-width:0}
.bd-rangee{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.bd-pile{display:grid;gap:.6rem}
.bd-aide{font-size:.88rem;color:var(--doux)}
.bd-erreur,.bd-etat.erreur{color:#a3292f;font-weight:500}
.bd-accord{display:flex;gap:.6rem;align-items:flex-start;font-size:.92rem;line-height:1.45}
.bd-accord input{width:22px;height:22px;flex:none;margin-top:.1rem;accent-color:var(--or-texte)}
.bd-apercu-photo{width:120px;height:120px;object-fit:cover;border-radius:14px;border:1px solid color-mix(in srgb,var(--encre) 15%,transparent)}
.bd-avatar-grille{display:grid;gap:1.2rem}
.bd-fiche{border-radius:18px;overflow:hidden;background:var(--papier);border:1px solid color-mix(in srgb,var(--or) 30%,transparent);aspect-ratio:3/2}
.bd-fiche img{width:100%;height:100%;object-fit:contain}
.bd-fiche-attente{height:100%;display:grid;place-items:center;align-content:center;gap:.6rem;color:var(--doux);text-align:center;padding:1rem}
.bd-fiche-attente .ico{width:34px;height:34px;color:var(--or-texte)}
.bd-avatar-cote{display:grid;gap:1rem;align-content:start}
.bd-statut{display:flex;gap:.6rem;align-items:center;padding:.8rem 1rem;border-radius:14px;background:var(--papier);font-weight:500}
.bd-statut.erreur{background:#fbe9e8;color:#8a2226}
.bd-statut .ico{width:22px;height:22px;flex:none}
.bd-statut.en-cours .ico,.bd-vignette-attente .ico,.btn .ico-loader-circle{animation:bd-tourne 1.1s linear infinite}
@keyframes bd-tourne{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.bd-statut.en-cours .ico,.bd-vignette-attente .ico{animation:none}}
.bd-compteurs{list-style:none;display:flex;flex-wrap:wrap;gap:.6rem}
.bd-compteurs li{background:color-mix(in srgb,var(--or) 22%,var(--blanc));border-radius:999px;padding:.35rem .9rem;font-size:.92rem}
.bd-retouche{display:grid;gap:.6rem;padding:1rem;border-radius:16px;background:var(--papier)}
.bd-discret{padding-top:.4rem;border-top:1px solid color-mix(in srgb,var(--encre) 8%,transparent)}
.bd-mes{margin-top:.6rem}
.bd-galerie{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}
.bd-tuile{display:grid;gap:.5rem;text-decoration:none;background:var(--blanc);border-radius:18px;padding:.5rem;border:1px solid color-mix(in srgb,var(--encre) 10%,transparent);transition:transform .2s,box-shadow .2s}
.bd-tuile:hover{transform:translateY(-3px);box-shadow:var(--ombre)}
.bd-vignette{display:block;border-radius:12px;overflow:hidden;background:var(--papier-2)}
.bd-vignette img{width:100%;height:100%;object-fit:cover}
.bd-vignette-attente{display:grid;place-items:center;height:100%;min-height:90px;color:var(--or-texte)}
.bd-tuile-texte{display:grid;padding:0 .3rem .3rem}
.bd-tuile-texte small{color:var(--doux);font-size:.82rem}

/* ---------- Éditeur ---------- */
.bd-editeur-page{padding:1.2rem 0 3rem}
.bd-retour{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;text-decoration:none;color:var(--doux)}
.bd-titre-page{font-size:clamp(1.8rem,6vw,2.6rem);margin:.3rem 0 1rem}
.bd-editeur{display:grid;gap:1.4rem;grid-template-columns:minmax(0,1fr)}
.bd-scene{display:grid;gap:.5rem;align-content:start;min-width:0}
.bd-planche{position:relative;width:100%;container-type:inline-size;border-radius:16px;overflow:hidden;background:var(--papier);box-shadow:var(--ombre);touch-action:none;user-select:none;-webkit-user-select:none}
.bd-planche>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.bd-planche>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.bd-texte{position:absolute;cursor:grab;border-radius:10px}
.bd-texte:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.bd-texte[data-choisie]{outline:2px dashed var(--or);outline-offset:3px}
.bd-texte span{display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.15;white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:none}
.bd-texte.forme-titre span{text-shadow:0 0 .12em #fffaf0,0 0 .25em #fffaf0,0 0 .35em #fffaf0}
.bd-poignee{position:absolute;right:-12px;bottom:-12px;width:30px;height:30px;border-radius:50%;background:var(--or);color:var(--sur-or);display:grid;place-items:center;cursor:nwse-resize;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.bd-poignee .ico{width:16px;height:16px}
.bd-outils{display:grid;gap:1rem;align-content:start;min-width:0;grid-template-columns:minmax(0,1fr)}
.bd-panneau-outil{background:var(--blanc);border-radius:var(--rayon);padding:1.1rem;border:1px solid color-mix(in srgb,var(--or) 30%,transparent);display:grid;gap:.8rem;grid-template-columns:minmax(0,1fr)}
.bd-panneau-outil h2{font-family:'Fraunces',Georgia,serif;font-weight:400;font-size:1.3rem}
.bd-panneau-outil fieldset{border:0;padding:0;margin:0;min-width:0}
.bd-panneau-outil legend{font-weight:500;margin-bottom:.4rem}
.bd-liste-bulles{display:grid;gap:.4rem;grid-template-columns:minmax(0,1fr)}
.bd-bulle-item{display:flex;gap:.6rem;align-items:center;min-height:48px;text-align:left;padding:.5rem .8rem;border-radius:12px;border:1px solid color-mix(in srgb,var(--encre) 14%,transparent);background:var(--blanc);font:inherit;cursor:pointer}
.bd-bulle-item[aria-pressed="true"]{border-color:var(--or);box-shadow:0 0 0 2px var(--or) inset}
.bd-bulle-item .num{display:grid;place-items:center;width:1.7rem;height:1.7rem;border-radius:50%;background:color-mix(in srgb,var(--or) 22%,var(--blanc));flex:none;font-size:.85rem}
.bd-bulle-item .txt{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bd-pointes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem}
.bd-panneau-outil [aria-pressed="true"].btn{background:var(--nuit);color:var(--texte-nuit);border-color:var(--or)}
.bd-couleurs{display:flex;flex-wrap:wrap;gap:.4rem}
.bd-couleur{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;padding:.35rem .7rem;border-radius:999px;border:1px solid color-mix(in srgb,var(--encre) 15%,transparent);background:var(--blanc);font:inherit;font-size:.85rem;cursor:pointer}
.bd-couleur span{width:18px;height:18px;border-radius:50%;border:1px solid color-mix(in srgb,var(--encre) 15%,transparent)}
.bd-couleur[aria-pressed="true"]{border-color:var(--encre);box-shadow:0 0 0 1px var(--encre) inset}
.bd-couleur input{width:26px;height:26px;border:0;padding:0;background:none}
.bd-actions .btn{width:100%}
.bd-panneau-outil input[type=range]{width:100%;min-height:44px;accent-color:var(--or-texte)}

@media (min-width:560px){
  .bd-styles{grid-template-columns:repeat(4,minmax(0,1fr))}
  .bd-galerie{grid-template-columns:repeat(3,minmax(0,1fr))}
  .bd-deux{grid-template-columns:1fr 1fr}
  .bd-reservoirs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bd-pointes{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:880px){
  .bd-hero-grille{grid-template-columns:1fr 1.15fr}
  .bd-trois{grid-template-columns:repeat(3,1fr)}
  .bd-galerie-exemples{grid-template-columns:.8fr 1fr;max-width:960px;margin:0 auto}
  .bd-offres{grid-template-columns:repeat(3,1fr);max-width:1040px}
  .bd-themes{grid-template-columns:repeat(3,1fr)}
  .bd-trois-choix{grid-template-columns:repeat(3,auto);justify-content:start;gap:2rem}
  .bd-champs-dialogue{grid-template-columns:1fr 1fr}
  .bd-avatar-grille{grid-template-columns:1.4fr 1fr}
  .bd-galerie{grid-template-columns:repeat(4,minmax(0,1fr))}
  .bd-editeur{grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);align-items:start}
  .bd-scene{position:sticky;top:90px}
}

/* ---------- Avant / après (présentation et profil) ---------- */
.bd-avant-apres{background:var(--papier)}
.bd-aa-personnes{display:grid;gap:1.2rem;max-width:1040px;margin:0 auto}
.bd-aa-personne{margin:0;background:var(--blanc);border-radius:var(--rayon);padding:1rem;border:1px solid color-mix(in srgb,var(--or) 28%,transparent);box-shadow:var(--ombre-douce)}
.bd-aa-ligne{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1.6fr);gap:.6rem;align-items:center}
.bd-aa-photo{width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px}
.bd-aa-fiche{width:100%;aspect-ratio:3/2;object-fit:contain;border-radius:14px;background:var(--papier)}
.bd-aa-fleche{color:var(--or-texte);display:grid;place-items:center}
.bd-aa-attente{display:grid;place-items:center;aspect-ratio:3/2;color:var(--or-texte)}
.bd-aa-personne figcaption,.bd-aa-planche figcaption{text-align:center;margin-top:.6rem;color:var(--doux)}
.bd-aa-personne figcaption strong{color:var(--encre);font-weight:500}
.bd-aa-planche{margin:1.4rem auto 0;max-width:620px}
.bd-aa-planche img{width:100%;height:auto;border-radius:18px;box-shadow:var(--ombre)}
.bd-avant-apres-perso{margin:0;display:grid;gap:.5rem;padding:.8rem;border-radius:16px;background:var(--papier)}
.bd-avant-apres-perso .bd-aa-ligne{grid-template-columns:minmax(0,1fr) auto minmax(0,1.5fr)}
.bd-avant-apres-perso figcaption{font-size:.85rem;color:var(--doux)}
.bd-identite{display:grid;gap:.6rem;grid-template-columns:minmax(0,1fr);align-items:end;padding-top:.4rem;border-top:1px solid color-mix(in srgb,var(--encre) 8%,transparent)}
.bd-identite select{min-height:44px}

/* ---------- Objectif, relecture du scénario, mode de texte ---------- */
.bd-exemples-objectif .btn{text-align:left;white-space:normal;height:auto}
.bd-gratuit{font-size:.75rem;background:color-mix(in srgb,var(--sur-or) 12%,transparent);padding:.1rem .5rem;border-radius:999px;margin-left:.3rem}
.bd-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:.4rem;font-weight:500}
.bd-details[open] summary{margin-bottom:.6rem}
.bd-relecture{display:grid;gap:1rem;padding:clamp(1rem,3vw,1.4rem);border-radius:18px;background:var(--papier);border:1px solid color-mix(in srgb,var(--or) 35%,transparent)}
.bd-relecture h4{font-family:'Fraunces',Georgia,serif;font-weight:400;font-size:1.35rem}
.bd-cases-scenario{list-style:none;display:grid;gap:.8rem;grid-template-columns:minmax(0,1fr)}
.bd-case-scenario{display:grid;gap:.5rem;background:var(--blanc);border-radius:14px;padding:.9rem;border:1px solid color-mix(in srgb,var(--encre) 10%,transparent);min-width:0}
.bd-case-scenario h5{font-size:1rem;font-weight:600;color:var(--or-texte)}
.bd-repliques{display:grid;gap:.5rem}
.bd-replique{display:grid;gap:.4rem;grid-template-columns:minmax(0,1fr);align-items:center}
.bd-replique select,.bd-replique input,.bd-replique textarea{min-height:48px;min-width:0;width:100%;padding:.6rem .8rem;border:1px solid var(--filet-fort);border-radius:var(--rayon-s);background:#fff;font:inherit;color:inherit}
.bd-replique select:focus,.bd-replique input:focus,.bd-replique textarea:focus{outline:3px solid var(--focus);outline-offset:1px;border-color:var(--focus)}
.bd-replique select{font-weight:600}
.bd-case-scenario .champ textarea{min-height:76px}
.bd-attention-ia{display:flex;gap:.5rem;align-items:flex-start;background:#fff4dc;color:#5c4210;padding:.7rem .9rem;border-radius:12px;margin-top:.6rem}
.bd-attention-ia .ico{width:20px;height:20px;flex:none}
.bd-theme em{font-style:normal;font-size:.72rem;background:color-mix(in srgb,var(--or) 22%,var(--blanc));color:var(--or-texte);padding:.05rem .45rem;border-radius:999px;vertical-align:middle}

/* ---------- Bandes de répliques sur la planche ---------- */
.bd-bande{position:absolute;box-sizing:border-box;border-style:solid;border-color:#d4ad62;display:flex;align-items:center;overflow:hidden;pointer-events:none}
.bd-bande-texte{width:100%}
.bd-bande-texte>div{white-space:nowrap}
.bd-liste-bandes{display:grid;gap:.7rem}
.bd-bande-item{display:grid;gap:.4rem}
.bd-bande-item h3{font-size:.95rem;font-weight:600;color:var(--or-texte)}

@media (min-width:560px){
  .bd-replique{grid-template-columns:minmax(8rem,auto) minmax(0,1fr) auto}
  .bd-identite{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}
}
@media (min-width:880px){
  .bd-aa-personnes{grid-template-columns:1fr 1fr}
  .bd-cases-scenario{grid-template-columns:1fr 1fr}
}
/* Schéma de grille (carré 1 ou 2 × 2, paysage 3 × 2, portrait 2 × 3) à côté de son intitulé */
.bd-schema{display:inline-grid!important;gap:2px;padding:2px;border-radius:3px;flex:none}
.bd-schema.forme-carre{width:22px;height:22px}.bd-schema.forme-paysage{width:30px;height:20px}.bd-schema.forme-portrait{width:20px;height:30px}
.bd-schema b{background:currentColor;opacity:.55;border-radius:1px}

/* Avatars et planche d'exemple agrandis au clic (ma-bd.html, dialogue #bd-zoom) */
.bd-zoomable{cursor:zoom-in;transition:transform .25s ease,box-shadow .25s ease}
.bd-zoomable:hover{transform:scale(1.03);box-shadow:0 12px 30px rgba(0,0,0,.18)}
.bd-zoomable:focus-visible{outline:3px solid var(--or, #c9a24e);outline-offset:3px}
.bd-zoom{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:calc(58px + env(safe-area-inset-top)) 0 1rem;border:0;
  background:rgba(12,14,24,.94);color:#fff;overflow:auto}
.bd-zoom::backdrop{background:rgba(12,14,24,.7)}
.bd-zoom[open]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.8rem}
.bd-zoom img{display:block;width:100%;max-width:1600px;height:auto;max-height:calc(100dvh - 120px);object-fit:contain;background:#fff}
.bd-zoom-legende{margin:0 1rem;max-width:60ch;font-size:.9rem;text-align:center;opacity:.85}
.bd-zoom-fermer{position:fixed;top:calc(10px + env(safe-area-inset-top));right:12px;display:inline-flex;align-items:center;gap:.4rem;min-height:44px;padding:0 1rem;
  border:1px solid rgba(255,255,255,.4);border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font:inherit;font-weight:500;cursor:pointer}
.bd-zoom-fermer:focus-visible{outline:3px solid var(--or, #c9a24e);outline-offset:2px}
html.bd-zoom-ouvert{overflow:hidden}
@media (prefers-reduced-motion:reduce){.bd-zoomable{transition:none}.bd-zoomable:hover{transform:none}}

/* « Mes personnages » (v0.12) : la fiche de chaque avatar, le choix des personnages d'une BD */
.bd-persos{margin-bottom:1.4rem}
.bd-persos>.bd-aide{margin:-.6rem 0 1rem}
.bd-fiche-infos{display:grid;gap:.5rem .9rem;grid-template-columns:repeat(auto-fit,minmax(7.5rem,1fr));margin:0}
.bd-fiche-infos div{min-width:0}
.bd-fiche-infos .large{grid-column:1/-1}
.bd-fiche-infos dt{font-size:.8rem;color:var(--doux);text-transform:uppercase;letter-spacing:.04em}
.bd-fiche-infos dd{margin:0;overflow-wrap:anywhere}
.bd-identite .large{grid-column:1/-1}
.bd-identite textarea{width:100%;min-height:44px}
.bd-puce-perso small{font-size:.8rem;opacity:.75}
.bd-ajout-proche p{color:var(--doux);margin:.4rem 0 1rem;max-width:62ch}
.bd-ajout-proche p strong{color:var(--encre)}
.bd-form select{min-height:44px}
