/* CSS minimal, mobile-first — pas de framework (tech-spec, Task 10). */

* {
  box-sizing: border-box;
}

/* Thème sombre appliqué globalement (ADR-0026) : le fond marine et le texte
   clair sont la base de TOUS les écrans, pas seulement la landing. Repris de
   l'ancien `.theme-hero` (uniforme de la mascotte, lueur blanche en haut). */
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #eaf0ff;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 55%),
    linear-gradient(165deg, #0b1533 0%, #16265f 48%, #1f3a86 100%);
  background-attachment: fixed;
  min-height: 100dvh;
  line-height: 1.5;
}

.page {
  max-width: 32rem;
  margin: 0 auto;
  padding: 1.25rem;
}

/* En-tête d'application (ADR-0026) : wordmark persistant, aligné sur la colonne
   de contenu. Absent de l'accueil et du blog (block app_header vidé). */
.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 21, 51, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.app-header-inner {
  max-width: 32rem;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}

.app-brand:hover {
  color: #dbe4ff;
}

/* Couleur de lien par défaut : le bleu navigateur est illisible sur le marine.
   Les liens à classe (.button, .dash-link, .blog-*, .app-brand) la surchargent ;
   les pages hero/blog ont leurs propres traitements. */
a {
  color: #9db4ff;
}

h1 {
  font-size: 1.25rem;
}

.card-text {
  font-size: 1.15rem;
  padding: 1.25rem;
  /* Les notes Anki portent des listes et des sauts de ligne (<br>, <li>),
     conservés sous forme de \n par edg_seed.clean_text : sans pre-line, une
     énumération d'articles s'affiche en un seul paragraphe. */
  white-space: pre-line;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Les 4 notes alignées sur une seule ligne : leur ordre est une échelle
   (Again → Easy), qu'une grille 2×2 casse en suggérant deux paires. */
.occlusion-image-wrap {
  position: relative;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
  overflow: hidden;
  line-height: 0;
}

.occlusion-image {
  display: block;
  width: 100%;
  height: auto;
}

.occlusion-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mask-active {
  fill: #1a1a1a;
  stroke: #1a1a1a;
}

.mask-answer {
  fill: none;
  stroke: #ffe08a;
  stroke-width: 3;
}

.rating-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.rating-form button {
  padding: 0.75rem 0.25rem;
  font-size: 0.95rem;
  color: #fff; /* texte blanc sur les 4 fonds colorés de notation */
  box-shadow: none;
}

mark {
  background: #ffe08a;
  padding: 0 0.15em;
  border-radius: 0.2em;
}

/* Masquage cloze actif, avant révélation — même jaune que la réponse
   révélée (<mark>, .mask-answer) pour que l'œil relie « ce qu'il faut
   trouver » et « ce qui était attendu ». */
.cloze-mask {
  display: inline-block;
  min-width: 3.5em;
  text-align: center;
  padding: 0 0.4em;
  border-radius: 0.3em;
  border: 2px dashed #ffe08a;
  background: rgba(255, 224, 138, 0.14);
  color: #ffe08a;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

kbd {
  display: inline-block;
  font-family: inherit;
  font-size: 0.75em;
  opacity: 0.7;
  border: 1px solid currentColor;
  border-radius: 0.25em;
  padding: 0 0.35em;
  margin-left: 0.35em;
}

.skip-form {
  margin-top: 0.75rem;
}

.skip-button {
  background: transparent;
  color: rgba(234, 240, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

button,
.button {
  display: block;
  width: 100%;
  min-height: 3rem; /* zone de tap suffisante */
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  /* CTA primaire : blanc franc sur le marine, contraste maximal (repris de la
     landing). Les boutons colorés (rating, parcours) surchargent le fond. */
  background: #fff;
  color: #142354;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(9, 18, 48, 0.45);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  padding: 0.75rem;
}

button:disabled {
  opacity: 0.5;
}

.rating-again {
  background: #b3261e;
}

.rating-hard {
  background: #a15c00;
}

.rating-good {
  background: #2e6e34;
}

.rating-easy {
  background: #1f6fb2;
}

.errorlist {
  color: #ff9a90; /* rouge éclairci, lisible sur le fond sombre */
  list-style: none;
  padding: 0;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  min-height: 3rem;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  color: #eaf0ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.5rem;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: rgba(234, 240, 255, 0.5);
}

input[type="text"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: rgba(219, 228, 255, 0.7);
}

.domain-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.domain-filter a {
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  color: #eaf0ff;
}

.domain-filter a.active {
  background: #fff;
  color: #142354;
  border-color: #fff;
}

.domain-group {
  margin-bottom: 1.5rem;
}

.domain-group h3 {
  font-size: 0.9rem;
  color: rgba(234, 240, 255, 0.72);
  margin: 0.75rem 0 0.25rem;
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-list li {
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
  margin-bottom: 0.4rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Écran d'accueil (public, non connecté) — cf. docs/.../design/user/home.adoc.
   Seule page à porter une hiérarchie "hero" : les autres écrans sont des
   écrans d'app, pas des pages à convaincre. */

.home-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #555;
  text-align: center;
  margin: 0 0 1.5rem;
}

.hero {
  text-align: center;
  padding: 0.5rem 0 2rem;
}

.hero-mascot {
  display: block;
  width: 55%;
  max-width: 15rem;
  height: auto;
  margin: 0 auto 0.5rem;
}

.hero h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 0.9rem;
}

.hero-message {
  font-size: 1.1rem;
  font-style: italic;
  color: #333;
  margin: 0 0 0.5rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin: 0 0 1.5rem;
}

.hero-actions .button {
  font-size: 1.05rem;
}

.hero-secondary {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: #555;
}

.hero-secondary a {
  color: inherit;
  text-decoration: underline;
}

.hero-secondary .hero-secondary-sep {
  margin: 0 0.4rem;
  opacity: 0.6;
  text-decoration: none;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.benefit-icon {
  font-size: 1.2rem;
  line-height: 1.4;
}

/* .theme-hero ne porte plus le fond sombre — il est désormais global sur body
   (ADR-0026). Cette classe ne conserve que les traitements SPÉCIFIQUES à la
   vitrine (accueil, blog) : glassmorphism des cartes bénéfices, CTA blanc,
   hiérarchie hero. Les écrans d'app héritent du sombre sans cette classe. */
.theme-hero .home-brand {
  color: rgba(234, 240, 255, 0.65);
}

.theme-hero .hero-mascot {
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}

.theme-hero .hero h1 {
  color: #fff;
  letter-spacing: -0.01em;
}

.theme-hero .hero-message {
  color: #dbe4ff;
}

.theme-hero .hero-subtitle {
  color: rgba(234, 240, 255, 0.72);
}

/* CTA principal : blanc franc sur le marine, le contraste maximal fait
   "premium" et guide l'œil sans couleur criarde. */
.theme-hero .hero-actions .button {
  background: #fff;
  color: #142354;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(9, 18, 48, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-hero .hero-actions .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(9, 18, 48, 0.65);
}

.theme-hero .hero-secondary {
  color: rgba(234, 240, 255, 0.8);
}

/* Cartes bénéfices en glassmorphism : voile translucide + flou d'arrière-plan. */
.theme-hero .benefit-list li {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  color: #eaf0ff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Blog en thème sombre (design de la home étendu, cf. bloc .theme-hero
   plus haut) : mêmes cartes glassmorphism, même hiérarchie de couleurs. */
.theme-hero h1 {
  color: #fff;
}

.theme-hero .blog-list-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.theme-hero .blog-list-title {
  color: #fff;
}

.theme-hero .blog-list-date {
  color: rgba(234, 240, 255, 0.65);
}

.theme-hero .blog-list-summary {
  color: rgba(234, 240, 255, 0.85);
}

.theme-hero .dash-link {
  color: rgba(234, 240, 255, 0.8);
}

/* Tableau de bord (design/user/dashboard.adoc) — hub après connexion. */

h2 {
  font-size: 1rem;
  margin: 1.75rem 0 0.6rem;
}

.dash-action {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Bordure accentuée quand il y a effectivement quelque chose à faire : la
   couleur porte l'urgence, comme les boutons de notation FSRS. */
.dash-action-due {
  border-color: rgba(224, 145, 58, 0.7);
}

/* Encart secondaire redirigeant vers le parcours complet — visible juste
   après « Où j'en suis », distinct par couleur du CTA de révision (urgence)
   ci-dessus. */
.dash-action-parcours {
  border-color: rgba(157, 180, 255, 0.55);
}

.dash-action-parcours .button {
  background: #3b5bdb;
  color: #fff;
}

.dash-action-count {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.progress-bar {
  height: 0.65rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar-sm {
  height: 0.4rem;
}

.progress-bar-fill {
  display: block;
  height: 100%;
  background: #4caf72; /* vert éclairci pour contraster sur le fond sombre */
}

.progress-caption {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: rgba(234, 240, 255, 0.72);
}

.stat-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: rgba(234, 240, 255, 0.72);
}

.stat-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
  display: inline-block;
  min-width: 2.25rem;
  font-weight: 600;
  color: #fff;
}

.module-title {
  font-size: 0.95rem;
}

/* « Reprendre » — l'unique module mis en avant, cliquable en entier. */
.dash-resume-label {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9db4ff;
}

.dash-resume-card {
  display: block;
  padding: 0.85rem 0.95rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(157, 180, 255, 0.55);
  border-radius: 0.5rem;
  color: inherit;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dash-resume-card .module-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Groupes repliables « En cours » / « Terminés ». */
.dash-modules-group {
  margin-top: 1rem;
}

.dash-modules-group > summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.35rem 0;
}

.dash-modules-group[open] > summary {
  margin-bottom: 0.5rem;
}

.module-row-link a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.module-score {
  flex: none;
  font-variant-numeric: tabular-nums;
  color: rgba(234, 240, 255, 0.7);
  font-size: 0.9rem;
}

.dash-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: rgba(234, 240, 255, 0.8);
}

.dash-footnote {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: rgba(234, 240, 255, 0.6);
}

.dash-logout {
  margin-top: 1.5rem;
}

/* Blog (revision/../blog app) — écrans publics, même famille visuelle que
   les cartes de contenu existantes (.module-list, .benefit-list). */

.blog-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.blog-list-item {
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.blog-list-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.blog-list-date {
  margin: 0.2rem 0 0.4rem;
  font-size: 0.8rem;
  color: #666;
}

.blog-list-summary {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
}

/* Lecture d'article : mise en page aérée et moderne (scopée à l'article,
   n'affecte pas les écrans d'app). Largeur de lecture élargie via la classe
   body `blog-reading` posée par post_detail.html. */
.blog-reading .page {
  max-width: 38rem;
}

.blog-post h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0.5rem 0 0.6rem;
}

.blog-post .blog-list-date {
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.blog-post-body {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-top: 1rem;
}

.blog-post-body p {
  margin: 0 0 1.5rem;
}

/* Paragraphe d'accroche : plus grand, pose le ton. */
.blog-post-body > p:first-of-type {
  font-size: 1.3rem;
  line-height: 1.6;
}

.blog-post-body h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 3rem 0 1rem;
}

.blog-post-body ul {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
}

.blog-post-body li {
  margin-bottom: 0.6rem;
}

/* Citation en exergue. */
.blog-post-body blockquote {
  margin: 2.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid rgba(234, 240, 255, 0.4);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.5;
  color: #fff;
}

/* Liens de citation/référence dans le corps d'un article — le bleu par
   défaut du navigateur est illisible sur le fond marine du thème sombre. */
.blog-post-body a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(234, 240, 255, 0.45);
  text-underline-offset: 0.15em;
}

.blog-figure figcaption a {
  color: inherit;
  text-decoration: underline;
}

/* Images d'article de blog (duo d'ouverture, personnages en section, SVG). */
.blog-figure {
  margin: 1.75rem 0;
  text-align: center;
}

.blog-figure img,
.blog-figure svg {
  max-width: 100%;
  height: auto;
}

.blog-figure figcaption {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
}

.blog-duo {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}

/* Hauteur égale (pas largeur) : les deux personnages ont des ratios
   différents, les caler en largeur les déséquilibrait. */
.blog-duo img {
  height: 18rem;
  width: auto;
  max-width: 48%;
}

.blog-char-right {
  float: right;
  width: 40%;
  max-width: 175px;
  height: auto;
  margin: 0.2rem 0 0.8rem 1.25rem;
}

.blog-char-left {
  float: left;
  width: 40%;
  max-width: 175px;
  height: auto;
  margin: 0.2rem 1.25rem 0.8rem 0;
}

.blog-post-body h2 {
  clear: both;
}

.blog-curve {
  width: 100%;
  max-width: 560px;
}

.theme-hero .blog-figure figcaption {
  color: rgba(234, 240, 255, 0.6);
}

/* Mobile : les personnages flottants serrent trop le texte sur petit
   écran — on les passe en bloc centré, et on réduit le duo. */
@media (max-width: 30rem) {
  .blog-char-left,
  .blog-char-right {
    float: none;
    display: block;
    width: 70%;
    max-width: 220px;
    margin: 0.5rem auto 1rem;
  }

  .blog-duo img {
    height: 13rem;
  }
}

/* Sortie de session : volontairement discrète, à côté de « Passer » et non
   dans la rangée de notation, pour ne pas concurrencer la réponse en cours. */
.session-stop {
  margin-top: 1.25rem;
  text-align: center;
  font-size: .9rem;
}

.session-stop a {
  color: rgba(234, 240, 255, 0.7);
}

/* Widget de feedback bêta-testeur (ADR-0027). Flottant, au-dessus de
   .app-header (z-index: 10) pour rester cliquable en toutes circonstances. */
.feedback-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
}

/* Bouton déclencheur : même palette que .button (blanc sur marine) mais en
   pilule compacte — la règle générique `button, .button` (display:block,
   width:100%) est explicitement écartée ici, sans quoi le déclencheur
   occuperait toute la largeur de l'écran. */
.feedback-trigger[hidden] {
  display: none;
}

.feedback-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: auto;
  min-height: 0;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  background: #fff;
  color: #142354;
  border: none;
  box-shadow: 0 8px 24px rgba(9, 18, 48, 0.45);
}

.feedback-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(340px, calc(100vw - 2.5rem));
  background: rgba(19, 28, 58, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(4, 9, 26, 0.55);
  padding: 1.1rem;
}

.feedback-panel[hidden] {
  display: none;
}

.feedback-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 1.75rem;
  height: 1.75rem;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(234, 240, 255, 0.72);
  font-size: 1.2rem;
  box-shadow: none;
}

.feedback-title {
  margin: 0 1.5rem 0.75rem 0;
  font-size: 1.05rem;
}

.feedback-textarea {
  display: block;
  width: 100%;
  min-height: 5rem;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
  color: #eaf0ff;
  font: inherit;
  resize: vertical;
  box-sizing: border-box;
}

.feedback-pick-button {
  min-height: 2.5rem;
  margin-top: 0.65rem;
  font-size: 0.9rem;
}

.feedback-picked[hidden] {
  display: none;
}

.feedback-picked {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding: 0.5rem 0.65rem;
  background: rgba(157, 180, 255, 0.12);
  border: 1px solid rgba(157, 180, 255, 0.4);
  border-radius: 0.5rem;
  font-size: 0.85rem;
}

.feedback-picked span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feedback-picked-clear {
  width: 1.4rem;
  height: 1.4rem;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: rgba(234, 240, 255, 0.72);
  box-shadow: none;
  font-size: 1rem;
}

.feedback-send {
  margin-top: 0.75rem;
}

.feedback-response-message {
  margin: 0.25rem 0 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Bandeau flottant affiché pendant le mode « Pointer un élément » — au-dessus
   du panneau (masqué à ce moment) et du reste de la page. */
.feedback-pick-hint {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 60;
  padding: 0.55rem 1rem;
  background: rgba(19, 28, 58, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}

.feedback-pick-hint[hidden] {
  display: none;
}

.feedback-pick-hint kbd {
  padding: 0.1rem 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.3rem;
  font-family: inherit;
}

/* !important nécessaire : l'élément survolé pendant le pointage peut porter
   ses propres règles outline/cursor avec une spécificité quelconque — le
   surlignage doit rester visible quel que soit l'élément de la page visé. */
.feedback-highlight {
  outline: 2px solid #ff9f43 !important;
  outline-offset: 2px !important;
  cursor: crosshair !important;
}
