/* Recap · index · dialogue de langue */
  /* ---------- language dialog (paper card, hand-drawn tags) ---------- */
  .lang-modal { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; }
  .lang-modal[hidden] { display: none; }
  .lang-scrim { position: absolute; inset: 0; background: rgba(5, 8, 20, .5); }
  /* language dialog = same sticky-note card as "About" (tapes, tilted entrance, dashed medallion), one tappable row per language */
  .lg-globe { position: relative; width: 92px; height: 92px; margin: -40px auto 14px; display: grid; place-items: center; box-sizing: border-box; rotate: -4deg;
    border: 2.5px dashed var(--blue); border-radius: 50%; background: color-mix(in srgb, var(--blue) 13%, var(--card)); box-shadow: 3px 4px 0 color-mix(in srgb, var(--blue) 30%, transparent); }
  .lg-globe svg { width: 54px; height: 54px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .lg-globe::after { content: "Aa"; position: absolute; right: -14px; bottom: -6px; padding: 2px 9px 3px; rotate: 8deg; border-radius: 8px 3px 9px 3px;
    font-family: "Caveat", cursive; font-weight: 700; font-size: 1.15rem; line-height: 1.1; color: var(--on); background: var(--teal); box-shadow: 2px 3px 0 color-mix(in srgb, var(--teal) 35%, transparent); }
  .lg-sub { margin: 8px 6px 0; font-size: .84rem; line-height: 1.5; color: var(--muted); }
  .lg-list { margin-top: 16px; }
  .lg-opt { position: relative; width: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 11px; padding: 9px 11px; margin: 0; text-align: start; cursor: pointer; font: inherit; color: var(--text);
    border: 2px dashed color-mix(in srgb, var(--c) 45%, transparent); border-radius: 14px; background: color-mix(in srgb, var(--c) 13%, transparent);
    -webkit-tap-highlight-color: transparent; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .12s ease; }
  .lg-opt:active { transform: scale(.975); }
  .lg-opt:focus-visible { outline: 2.5px solid var(--c); outline-offset: 2px; }
  .lg-opt .ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--c) 24%, transparent);
    font-family: "Caveat", cursive; font-weight: 700; font-size: 1.35rem; line-height: 1; color: var(--c); }
  .lg-opt .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .92rem; font-weight: 800; line-height: 1.25; }
  .lg-opt .tx small { font-size: .72rem; font-weight: 600; color: var(--muted); }
  .lg-opt .ck { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--c); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
    opacity: 0; scale: .3; rotate: -30deg; transition: opacity .2s ease, scale .35s cubic-bezier(.3, 1.6, .5, 1), rotate .35s ease; }
  .lg-opt .ck circle { fill: color-mix(in srgb, var(--c) 18%, var(--card)); }
  .lg-opt.on { border-style: solid; border-color: var(--c); background: color-mix(in srgb, var(--c) 22%, var(--card)); box-shadow: 2px 3px 0 color-mix(in srgb, var(--c) 32%, transparent); }
  .lg-opt.on .ck { opacity: 1; scale: 1; rotate: 0deg; }
  @media (prefers-reduced-motion: reduce) { .lg-opt, .lg-opt .ck { transition: none; } }
