/* Le feedback d'Alexe, tel que l'élève le reçoit (feedback.js). Repris de la maquette du journal (maquettes/journal/).
   Partagé par /espace/journal et par le « Voir comme » de Super Site : tout est préfixé fb-. */
.fb-zone{
  --fb-encre:#1f2225; --fb-doux:#55595e; --fb-filet:#ebecee; --fb-fond:#f7f6f3;
  --fb-framboise:#A42353; --fb-framboise-f:#8a1d46; --fb-rose:#fbeff3; --fb-rose-2:#f4d9e3; --fb-rose-t:#e9a9c0;
  --fb-jaune:#FCBF10; --fb-miel:#fff4cc; --fb-miel-2:#ffe79a; --fb-miel-t:#7a5600;
  --fb-vert:#2f8a5f; --fb-verti:#e3f3ea; --fb-verti-2:#c4e7d3; --fb-verti-t:#8fd0ae;
  --fb-titre:"Martel", Georgia, serif; --fb-ui:"Figtree", system-ui, -apple-system, sans-serif;
  color:var(--fb-encre); font-family:var(--fb-ui);
}
.fb-zone .fb-ic{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fb-carte{background:#fff;border:1px solid var(--fb-filet);border-radius:22px}

/* Le mot */
.fb-mot{padding:26px 28px}
.fb-qui{display:flex;align-items:center;gap:12px}
.fb-qui img{width:48px;height:48px;border-radius:50%;object-fit:cover}
.fb-qui b{display:block;font-size:16px}
.fb-qui span{display:block;font-size:14px;color:var(--fb-doux)}
.fb-txt{margin-top:16px;font-size:16.5px;line-height:1.65}
.fb-txt p,.fb-transcr p{margin:0}
.fb-txt p + p,.fb-transcr p + p{margin-top:12px}
.fb-bas{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:20px}
.fb-bas small{font-size:14px;color:var(--fb-doux)}
.fb-merci{display:inline-flex;align-items:center;gap:7px;min-height:38px;border-radius:999px;padding:0 14px;font:700 14px/1 var(--fb-ui);border:0;background:#fff;color:var(--fb-encre);box-shadow:inset 0 0 0 1.5px #d4d6d9;cursor:pointer}
.fb-merci:hover{box-shadow:inset 0 0 0 1.5px var(--fb-encre)}
.fb-merci .fb-ic{width:16px;height:16px}
.fb-merci[aria-pressed=true]{background:var(--fb-rose);color:var(--fb-framboise);box-shadow:none;cursor:default}
.fb-merci[aria-pressed=true] .fb-ic{fill:currentColor}
.fb-lect{display:flex;align-items:center;gap:14px;margin-top:16px;padding:12px 16px;border-radius:16px;background:var(--fb-fond)}
.fb-jouer{width:46px;height:46px;border-radius:50%;border:0;background:var(--fb-framboise);color:#fff;display:grid;place-items:center;flex:none;cursor:pointer}
.fb-jouer:hover{background:var(--fb-framboise-f)}
.fb-jouer[disabled]{opacity:.6;cursor:progress}
.fb-jouer .fb-ic{fill:currentColor;width:18px;height:18px}
.fb-onde{flex:1;display:flex;align-items:center;gap:2px;height:40px;min-width:0;overflow:hidden;cursor:pointer}
.fb-onde i{flex:1;min-width:2px;max-width:4px;border-radius:2px;background:#c9cdd1}
.fb-onde i.fb-joue{background:var(--fb-framboise)}
.fb-mm{font:700 14px var(--fb-ui);color:var(--fb-doux);min-width:2.5em;text-align:right}
.fb-transcr{margin-top:12px;font-size:16px;line-height:1.65}
.fb-transcr summary{cursor:pointer;font-weight:700;color:var(--fb-framboise);font-size:15px;padding:6px 0}
.fb-transcr p:first-of-type{margin-top:8px}

/* Le texte annoté */
.fb-texte{margin-top:20px}
.fb-par{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px;align-items:start}
.fb-par.fb-seul{grid-template-columns:minmax(0,1fr)}
.fb-par + .fb-par{margin-top:16px}
.fb-p{font-size:17px;line-height:1.75;min-width:0;overflow-wrap:anywhere}
.fb-p > *{margin:0}
.fb-p > * + *{margin-top:10px}
.fb-p ul,.fb-p ol{padding-left:1.3em}
.fb-notes{display:flex;flex-direction:column;gap:10px}
.fb-orph{grid-column:1/-1}
.fb-zone mark.fb-m{background:none;color:inherit;border-radius:3px;padding:1px 0;cursor:pointer;transition:background .15s}
.fb-zone mark.fb-adore{background:var(--fb-verti);box-shadow:inset 0 -2px 0 var(--fb-verti-t)}
.fb-zone mark.fb-piste{background:var(--fb-miel);box-shadow:inset 0 -2px 0 var(--fb-jaune)}
.fb-zone mark.fb-reecriture{background:var(--fb-rose);box-shadow:inset 0 -2px 0 var(--fb-rose-t)}
.fb-zone mark.fb-m sup{font:800 11px/1 var(--fb-ui);margin-left:2px;color:var(--fb-doux)}
.fb-zone mark.fb-on.fb-adore{background:var(--fb-verti-2)}
.fb-zone mark.fb-on.fb-piste{background:var(--fb-miel-2)}
.fb-zone mark.fb-on.fb-reecriture{background:var(--fb-rose-2)}
.fb-note{border-radius:14px;padding:12px 14px;font-size:14.5px;line-height:1.5;background:#fff;box-shadow:inset 0 0 0 1px var(--fb-filet);transition:box-shadow .15s,transform .15s}
.fb-note p{margin:0}
.fb-note p + p{margin-top:6px}
.fb-k{display:flex;align-items:center;gap:6px;font:800 13.5px/1.2 var(--fb-ui);margin-bottom:5px!important}
.fb-k .fb-ic{width:15px;height:15px}
.fb-k sup{font-size:11px;color:var(--fb-doux);margin-left:auto}
.fb-note.fb-adore .fb-k{color:var(--fb-vert)}
.fb-note.fb-piste .fb-k{color:var(--fb-miel-t)}
.fb-note.fb-reecriture .fb-k{color:var(--fb-framboise)}
.fb-note.fb-on{transform:translateX(-3px)}
.fb-note.fb-on.fb-adore{box-shadow:inset 0 0 0 2px var(--fb-verti-t)}
.fb-note.fb-on.fb-piste{box-shadow:inset 0 0 0 2px var(--fb-jaune)}
.fb-note.fb-on.fb-reecriture{box-shadow:inset 0 0 0 2px var(--fb-rose-t)}
.fb-apres{display:block;margin-top:6px;padding:8px 10px;border-radius:10px;background:var(--fb-rose);color:var(--fb-encre);font-weight:600}
.fb-garder{margin-top:8px;background:none;border:0;padding:4px 0;color:var(--fb-framboise);font:700 14px var(--fb-ui);display:inline-flex;gap:5px;align-items:center;cursor:pointer}
.fb-garder .fb-ic{width:14px;height:14px}

@media (max-width:760px){
  .fb-par{grid-template-columns:minmax(0,1fr)}
  .fb-par .fb-notes{padding-left:14px;border-left:2px solid var(--fb-filet)}
  .fb-note.fb-on{transform:none}
}
@media (max-width:640px){
  .fb-mot{padding:20px}
  .fb-p{font-size:16.5px}
}
