/* ═══ PanicScan 2050 — UI futuriste ═══ */
:root {
  --bg: #05060f;
  --panel: rgba(16, 19, 40, 0.72);
  --panel-border: rgba(0, 240, 255, 0.16);
  --text: #e8ecff;
  --muted: #8b93b8;
  --cyan: #00f0ff;
  --violet: #7c3aed;
  --amber: #ffb020;
  --red: #ff4d6d;
  --green: #2bd97c;
  --radius: 20px;
  font-size: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body { min-height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "SF Pro Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

/* ── Skip-nav ── */
.skip-nav {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  z-index: 100; padding: 12px 24px; border-radius: 0 0 14px 14px;
  background: var(--cyan); color: #05060f; font-weight: 700; font-size: .9rem;
  text-decoration: none; transition: top .2s;
}
.skip-nav:focus { top: 0; }

/* ── Décor ── */
.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,240,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-glow {
  position: fixed; z-index: -2; border-radius: 50%;
  filter: blur(110px); pointer-events: none; opacity: .5;
  animation: float 12s ease-in-out infinite alternate;
}
.bg-glow--1 { width: 420px; height: 420px; top: -140px; left: -100px; background: rgba(0,240,255,.35); }
.bg-glow--2 { width: 460px; height: 460px; bottom: -180px; right: -120px; background: rgba(124,58,237,.4); animation-delay: 4s; }
@keyframes float { from { transform: translateY(0) } to { transform: translateY(36px) } }

/* ── Header ── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  padding: calc(14px + env(safe-area-inset-top)) 18px 12px;
  background: linear-gradient(180deg, rgba(5,6,15,.92), rgba(5,6,15,.75));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--panel-border);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__icon { width: 46px; height: 46px; filter: drop-shadow(0 0 10px rgba(0,240,255,.5)); }
.brand h1 { font-size: 1.3rem; letter-spacing: .5px; font-weight: 800; }
.brand__year {
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand p { font-size: .72rem; color: var(--muted); letter-spacing: .4px; }

.tabs {
  display: flex; gap: 8px; margin-top: 12px;
  background: rgba(255,255,255,.05); border-radius: 14px; padding: 4px;
}
.tab {
  flex: 1; padding: 10px 6px; border: 0; border-radius: 11px;
  background: transparent; color: var(--muted);
  font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: all .25s;
}
.tab.is-active {
  background: linear-gradient(135deg, rgba(0,240,255,.18), rgba(124,58,237,.18));
  color: var(--text); box-shadow: inset 0 0 0 1px var(--panel-border), 0 4px 18px rgba(0,240,255,.12);
}

/* ── Layout ── */
main { max-width: 640px; margin: 0 auto; padding: 18px 16px 60px; }
.view { display: none; animation: fadeUp .35s ease; }
.view.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
  margin-bottom: 16px;
}
.card__title { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.card__sub { color: var(--muted); font-size: .85rem; line-height: 1.55; margin-bottom: 16px; }

.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.dot--violet { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.dot--amber { background: var(--amber); box-shadow: 0 0 10px var(--amber); }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 18px; border-radius: 14px; border: 1px solid var(--panel-border);
  background: rgba(255,255,255,.06); color: var(--text);
  font-size: .9rem; font-weight: 600; cursor: pointer; transition: all .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:active { transform: scale(.97); }
.btn--primary {
  background: linear-gradient(135deg, rgba(0,240,255,.25), rgba(124,58,237,.3));
  border-color: rgba(0,240,255,.4); box-shadow: 0 0 22px rgba(0,240,255,.18);
}
.btn--accent {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #05060f; border: 0; font-weight: 700;
  box-shadow: 0 6px 24px rgba(0,240,255,.3);
}
.btn--danger { border-color: rgba(255,77,109,.4); color: var(--red); background: rgba(255,77,109,.08); }
.btn--small { padding: 8px 12px; font-size: .78rem; border-radius: 10px; }

.scan-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }

/* ── Aperçu photo ── */
.preview { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--panel-border); margin-bottom: 16px; }
.preview img { display: block; width: 100%; max-height: 340px; object-fit: contain; background: #000; }
.preview__veil {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: rgba(5,6,15,.78); backdrop-filter: blur(4px); color: var(--cyan); font-size: .85rem;
}
.spinner {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid rgba(0,240,255,.15); border-top-color: var(--cyan);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg) } }

/* ── Saisie manuelle ── */
.manual label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
textarea, .search {
  width: 100%; background: rgba(0,0,0,.35); color: var(--text);
  border: 1px solid var(--panel-border); border-radius: 14px;
  padding: 12px 14px; font-size: .88rem; font-family: ui-monospace, "Cascadia Code", monospace;
  resize: vertical;
}
textarea:focus, .search:focus, select:focus { outline: 2px solid var(--cyan); outline-offset: 2px; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,240,255,.12); }
.manual-row { display: flex; gap: 10px; margin-top: 10px; }
select {
  flex: 1; background: rgba(0,0,0,.35); color: var(--text);
  border: 1px solid var(--panel-border); border-radius: 14px; padding: 12px; font-size: .85rem;
}

/* ── Résultats ── */
.result {
  border-radius: var(--radius); padding: 18px; margin-bottom: 14px;
  border: 1px solid var(--panel-border); background: var(--panel);
  animation: fadeUp .4s ease;
}
.result__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.result__meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.result__confidence { font-size: .75rem; font-weight: 700; letter-spacing: .3px; }
.result__hits { font-size: .72rem; color: var(--muted); font-family: ui-monospace, "Cascadia Code", monospace; }
.badge {
  padding: 4px 12px; border-radius: 999px; font-size: .7rem; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
}
.badge--critical { background: rgba(255,77,109,.15); color: var(--red); border: 1px solid rgba(255,77,109,.4); }
.badge--warning  { background: rgba(255,176,32,.15); color: var(--amber); border: 1px solid rgba(255,176,32,.4); }
.badge--info     { background: rgba(43,217,124,.13); color: var(--green); border: 1px solid rgba(43,217,124,.4); }
.result h3 { font-size: 1rem; }
.result p { color: var(--muted); font-size: .85rem; line-height: 1.55; }

.result__actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.result__actions a {
  text-decoration: none; color: var(--cyan); font-size: .78rem; font-weight: 600;
  padding: 8px 12px; border: 1px solid rgba(0,240,255,.35); border-radius: 10px;
  background: rgba(0,240,255,.06);
}

.no-match { text-align: center; color: var(--muted); padding: 26px 10px; }
.no-match strong { color: var(--amber); }

/* ── Liste des codes ── */
.search { margin-bottom: 14px; font-family: inherit; }
.codes-list { display: flex; flex-direction: column; gap: 10px; }
.code-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-radius: 14px; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  transition: all .2s;
}
.code-item:active { transform: scale(.98); }
.code-item strong { font-size: .9rem; }
.code-item small { display: block; color: var(--muted); margin-top: 3px; font-size: .74rem; }

/* ── Historique ── */
.history-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.history-empty { color: var(--muted); text-align: center; padding: 30px 0; font-size: .88rem; }

.history-item {
  display: flex; gap: 12px; padding: 12px; border-radius: 14px; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  position: relative;
}
.history-item img { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; border: 1px solid var(--panel-border); }
.history-item__body { flex: 1; min-width: 0; }
.history-item__body strong { font-size: .85rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-item__body small { color: var(--muted); font-size: .72rem; display: block; margin-top: 4px; }
.history-item__delete {
  position: absolute; top: 8px; right: 8px;
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,77,109,.3);
  background: rgba(255,77,109,.08); color: var(--red);
  font-size: .9rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.history-item:hover .history-item__delete, .history-item:focus-within .history-item__delete { opacity: 1; }

/* ── Share button ── */
.btn--share {
  border-color: rgba(43,217,124,.4); color: var(--green); background: rgba(43,217,124,.08);
}

/* ── Bottom sheet ── */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.6);
  backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s;
}
.sheet-backdrop.is-open { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
  max-height: 82vh; overflow-y: auto;
  background: #0b0e20; border-radius: 26px 26px 0 0;
  border-top: 1px solid var(--panel-border);
  padding: 14px 22px 34px;
  transform: translateY(100%); transition: transform .35s cubic-bezier(.2,.9,.3,1);
}
.sheet.is-open { transform: translateY(0); }
.sheet__grip { width: 44px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); margin: 0 auto 16px; }
.sheet__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08); color: var(--muted);
  font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s; z-index: 2;
}
.sheet__close:hover, .sheet__close:focus { background: rgba(255,255,255,.15); color: var(--text); }
.sheet h3 { font-size: 1.15rem; margin-bottom: 6px; }
.sheet .summary { color: var(--muted); font-size: .86rem; line-height: 1.6; margin-bottom: 16px; }
.sheet h4 {
  font-size: .75rem; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--cyan); margin: 18px 0 8px;
}
.sheet ul { list-style: none; }
.sheet li {
  position: relative; padding: 8px 0 8px 20px; color: var(--text);
  font-size: .85rem; line-height: 1.5;
}
.sheet li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
}
.sheet__links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.sheet__links a {
  flex: 1; min-width: 140px; text-align: center; text-decoration: none;
  padding: 12px; border-radius: 12px; font-size: .8rem; font-weight: 700;
}
.sheet__links a.wiki { background: rgba(0,240,255,.1); border: 1px solid rgba(0,240,255,.35); color: var(--cyan); }
.sheet__links a.ifixit { background: rgba(124,58,237,.12); border: 1px solid rgba(124,58,237,.4); color: #b79bff; }
.sheet img.log-photo { width: 100%; border-radius: 14px; border: 1px solid var(--panel-border); margin-bottom: 14px; }

/* ── Toast ── */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 60; padding: 12px 22px; border-radius: 999px;
  background: rgba(11,14,32,.95); border: 1px solid var(--panel-border);
  font-size: .82rem; box-shadow: 0 8px 30px rgba(0,0,0,.5);
  animation: fadeUp .3s ease; max-width: 90vw; text-align: center;
}

/* ── Responsive ── */
@media (max-width: 380px) { .scan-actions { grid-template-columns: 1fr; } }
@media (min-width: 480px) {
  main { padding: 22px 24px 60px; }
  .card { padding: 24px; }
}
@media (min-width: 768px) {
  main { max-width: 800px; padding: 28px 32px 70px; }
  .scan-actions { grid-template-columns: 1fr 1fr; gap: 14px; }
  .result { padding: 22px; }
  .sheet { max-height: 75vh; padding: 18px 32px 40px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .bg-glow { animation: none; }
  .view.is-active { animation: none; opacity: 1; transform: none; }
  .toast { animation: none; opacity: 1; }
}

/* ── Décodage sensor array (codes hexa iPhone 13+) ── */
.sensor-array {
  background: rgba(56, 189, 248, .07);
  border: 1px solid rgba(56, 189, 248, .28);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 14px 0;
}
.sensor-array__head {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .95rem; font-weight: 700; color: #38bdf8;
  letter-spacing: .03em; margin-bottom: 10px;
}
.sensor-array__variant {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  color: #64748b; margin: 12px 0 6px;
}
.sensor-array__parts { margin: 0; padding-left: 18px; }
.sensor-array__parts li { color: #e2e8f0; margin-bottom: 6px; line-height: 1.45; }
.sensor-array__flag {
  display: inline-block; margin-left: 8px;
  font-size: .68rem; font-weight: 600; letter-spacing: .03em;
  background: rgba(250, 190, 60, .16); color: #fabe3c;
  border: 1px solid rgba(250, 190, 60, .35);
  border-radius: 999px; padding: .1em .55em; vertical-align: middle;
}
.sensor-array__note {
  display: block; color: #94a3b8; font-size: .76rem;
  margin-top: 3px; line-height: 1.4;
}
.sensor-array__warn { color: #fabe3c; font-size: .84rem; margin: 8px 0 0; }

/* ── Récapitulatif Panic Full (.ips) ── */
.pf-summary {
  background: rgba(15, 23, 42, .55);
  border: 1px solid rgba(56, 189, 248, .22);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 14px 0;
}
.pf-summary__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 14px;
}
.pf-summary__head strong { color: #38bdf8; letter-spacing: .04em; }
.pf-format {
  font-size: .72rem; color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, .3);
  border-radius: 999px; padding: .15em .6em; white-space: nowrap;
}
.pf-grid {
  display: grid; gap: 10px 20px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 0;
}
.pf-grid dt, .pf-kexts dt {
  font-size: .7rem; text-transform: uppercase;
  letter-spacing: .06em; color: #64748b; margin-bottom: 2px;
}
.pf-grid dd, .pf-kexts dd { margin: 0; color: #e2e8f0; font-size: .92rem; }
.pf-kexts { margin-top: 14px; }
.pf-kexts code {
  display: inline-block;
  background: rgba(56, 189, 248, .1); color: #7dd3fc;
  border-radius: 5px; padding: .1em .45em;
  font-size: .78rem; margin: 2px 4px 2px 0;
}
.pf-warn { color: #fabe3c; font-size: .85rem; margin: 14px 0 0; }
.pf-raw { margin-top: 14px; }
.pf-raw summary { cursor: pointer; color: #94a3b8; font-size: .85rem; }
.pf-raw pre {
  max-height: 260px; overflow: auto;
  background: rgba(2, 6, 23, .7); border-radius: 8px;
  padding: 12px; font-size: .74rem; line-height: 1.45;
  color: #cbd5e1; margin-top: 10px;
  white-space: pre-wrap; word-break: break-word;
}

/* ── Photos de la pièce à changer ── */
.piece-photos {
  margin: 14px 0 4px;
  padding: 12px 14px;
  background: rgba(56, 189, 248, .06);
  border: 1px solid rgba(56, 189, 248, .2);
  border-radius: 12px;
}
.piece-photos__head {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  color: #38bdf8; font-weight: 700; margin-bottom: 10px;
}
.piece-photos__strip {
  display: flex; gap: 10px; overflow-x: auto;
  padding-bottom: 4px; scrollbar-width: thin;
}
.piece-photos__strip img {
  height: 132px; width: auto; flex: 0 0 auto;
  border-radius: 8px; cursor: zoom-in;
  border: 1px solid rgba(148, 163, 184, .25);
  background: #0b1220;
}
.piece-photos__strip img:hover { border-color: rgba(56, 189, 248, .6); }
.piece-photos__modele {
  display: block; margin-top: 8px;
  color: #64748b; font-size: .7rem; letter-spacing: .04em;
}
.sensor-array__parts .piece-photos { margin: 10px 0 14px; }

/* ── Procédure de contrôle par pièce ── */
.piece-titre {
  font-weight: 700; color: #e2e8f0; font-size: .96rem;
  margin-bottom: 6px; line-height: 1.4;
}
.piece-verifs {
  margin: 8px 0 0; padding-left: 18px;
  border-left: 2px solid rgba(56, 189, 248, .25);
}
.piece-verifs li {
  color: #cbd5e1; font-size: .88rem; line-height: 1.5;
  margin-bottom: 5px; list-style: none; position: relative;
}
.piece-verifs li::before {
  content: "□"; position: absolute; left: -16px; color: #38bdf8; font-size: .9rem;
}
.sensor-array__parts > li { list-style: none; margin-bottom: 18px; }

/* ── Photo distante + zone rouge en surimpression ── */
.photo-cadre {
  position: relative; flex: 0 0 auto; line-height: 0;
  border-radius: 8px; overflow: hidden; cursor: zoom-in;
  border: 1px solid rgba(148, 163, 184, .25); background: #0b1220;
}
.photo-cadre:hover { border-color: rgba(56, 189, 248, .6); }
.photo-cadre img { height: 132px; width: auto; display: block; }
.photo-zone {
  position: absolute; border: 2px solid #ef4444;
  border-radius: 2px; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(2, 6, 23, .55) inset;
}

/* ─────────────────────────────────────────────────────────
   Corrections issues de la revue en atelier (téléphone, 375 px)
   ───────────────────────────────────────────────────────── */

/* Le select héritait de min-width:auto et refusait de rétrécir : le bouton
   « Analyser » sortait de 43 px hors écran, inatteignable puisque le body
   masque le débordement horizontal. */
.manual-row select { min-width: 0; }

@media (max-width: 420px) {
  .manual-row { flex-direction: column; align-items: stretch; }
  .manual-row .btn--accent { width: 100%; padding: 15px; }
}

/* Le titre du résultat se glissait sous la barre collante après défilement. */
#results { scroll-margin-top: 140px; }

/* Cibles tactiles : 35 px de haut sur la navigation la plus utilisée,
   34 px sur le lien qui mène à la pièce. Doigt ganté : 44 px. */
.tab { padding: 15px 6px; }
.result__actions { gap: 10px; }
.result__actions a {
  padding: 12px 14px; min-height: 44px;
  display: inline-flex; align-items: center;
}

/* Sur tactile il n'y a pas de survol : la corbeille d'historique restait
   invisible mais active — 26 px de suppression fantôme sous le pouce. */
@media (hover: none) {
  .history-item__delete {
    opacity: 1; width: 44px; height: 44px; font-size: 1.1rem;
  }
}

/* Le nom du modèle sous un code hexa — l'information qui évite de commander
   la mauvaise nappe — était à 3,6:1 en 11 px sous lampe d'atelier. */
.sensor-array__variant,
.pf-grid dt, .pf-kexts dt { color: #94a3b8; font-size: .78rem; }

/* La croix de la fiche est reconstruite par openSheet : 36 px était sous la cible. */
.sheet__close { width: 48px; height: 48px; font-size: 1.6rem; }

/* Intertitres de l'onglet Codes : la liste melange desormais les codes hexa
   (SENSOR_ARRAY) et les fiches panic (PANIC_DB), il faut savoir lequel on lit. */
.codes-section {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  color: #64748b; margin: 18px 0 8px; padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, .16);
}
.codes-list > .codes-section:first-child { margin-top: 4px; border-top: 0; padding-top: 0; }

/* Barre de retour. PanicScan est du statique servi hors du routeur Next, et on
   y entre souvent par target="_blank" : historique vide, bouton Retour grise.
   En PWA installee il n'y a meme plus de barre de navigateur. Ces liens sont
   alors la SEULE sortie possible. */
.barre-retour {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 10px 16px 0; max-width: 900px; margin: 0 auto;
}
.barre-retour a {
  display: inline-block; padding: 7px 13px; border-radius: 999px;
  background: rgba(15, 23, 42, .7); border: 1px solid rgba(148, 163, 184, .28);
  color: #cbd5e1; text-decoration: none; font-size: .82rem; line-height: 1;
}
.barre-retour a:hover, .barre-retour a:focus-visible {
  border-color: rgba(56, 189, 248, .55); color: #e2e8f0;
}

/* Au doigt, 29 px de haut se ratent. Apple recommande 44 px : on n'agrandit
   que pour les pointeurs grossiers, la souris n'a pas besoin de ca. */
@media (pointer: coarse) {
  .barre-retour a {
    min-height: 44px; display: inline-flex; align-items: center;
    padding: 0 16px;
  }
}
